{"version":3,"file":"PointerEvents.cjs","sources":["../../../../node_modules/.pnpm/@sanity+ui@2.10.12_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react-is@18.3._athykx2233ag3hlvvvdgr7lbda/node_modules/@sanity/ui/dist/_chunks-es/getTheme_v2.mjs","../../../../node_modules/.pnpm/@sanity+color@3.0.6/node_modules/@sanity/color/dist/index.js","../../../../node_modules/.pnpm/@sanity+ui@2.10.12_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react-is@18.3._athykx2233ag3hlvvvdgr7lbda/node_modules/@sanity/ui/dist/theme.mjs","../../../../node_modules/.pnpm/react-is@18.3.1/node_modules/react-is/index.js","../../../../node_modules/.pnpm/react-is@18.3.1/node_modules/react-is/cjs/react-is.production.min.js","../../../../node_modules/.pnpm/tslib@2.6.2/node_modules/tslib/tslib.es6.mjs","../../../../node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Enum.js","../../../../node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Utility.js","../../../../node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Tokenizer.js","../../../../node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Parser.js","../../../../node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Prefixer.js","../../../../node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Serializer.js","../../../../node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Middleware.js","../../../../node_modules/.pnpm/@emotion+unitless@0.8.1/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js","../../../../node_modules/.pnpm/@sanity+icons@3.5.5_react@18.3.1/node_modules/@sanity/icons/dist/index.js","../../../../node_modules/.pnpm/property-information@5.6.0/node_modules/property-information/lib/util/schema.js","../../../../node_modules/.pnpm/property-information@5.6.0/node_modules/property-information/lib/util/merge.js","../../../../node_modules/.pnpm/xtend@4.0.2/node_modules/xtend/immutable.js","../../../../node_modules/.pnpm/property-information@5.6.0/node_modules/property-information/normalize.js","../../../../node_modules/.pnpm/property-information@5.6.0/node_modules/property-information/lib/util/info.js","../../../../node_modules/.pnpm/property-information@5.6.0/node_modules/property-information/lib/util/types.js","../../../../node_modules/.pnpm/property-information@5.6.0/node_modules/property-information/lib/util/defined-info.js","../../../../node_modules/.pnpm/property-information@5.6.0/node_modules/property-information/lib/util/create.js","../../../../node_modules/.pnpm/property-information@5.6.0/node_modules/property-information/lib/util/case-insensitive-transform.js","../../../../node_modules/.pnpm/property-information@5.6.0/node_modules/property-information/lib/util/case-sensitive-transform.js","../../../../node_modules/.pnpm/property-information@5.6.0/node_modules/property-information/html.js","../../../../node_modules/.pnpm/property-information@5.6.0/node_modules/property-information/lib/xlink.js","../../../../node_modules/.pnpm/property-information@5.6.0/node_modules/property-information/lib/xml.js","../../../../node_modules/.pnpm/property-information@5.6.0/node_modules/property-information/lib/xmlns.js","../../../../node_modules/.pnpm/property-information@5.6.0/node_modules/property-information/lib/aria.js","../../../../node_modules/.pnpm/property-information@5.6.0/node_modules/property-information/lib/html.js","../../../../node_modules/.pnpm/property-information@5.6.0/node_modules/property-information/find.js","../../../../node_modules/.pnpm/hastscript@6.0.0/node_modules/hastscript/factory.js","../../../../node_modules/.pnpm/hast-util-parse-selector@2.2.5/node_modules/hast-util-parse-selector/index.js","../../../../node_modules/.pnpm/space-separated-tokens@1.1.5/node_modules/space-separated-tokens/index.js","../../../../node_modules/.pnpm/comma-separated-tokens@1.0.8/node_modules/comma-separated-tokens/index.js","../../../../node_modules/.pnpm/hastscript@6.0.0/node_modules/hastscript/index.js","../../../../node_modules/.pnpm/hastscript@6.0.0/node_modules/hastscript/html.js","../../../../node_modules/.pnpm/is-decimal@1.0.4/node_modules/is-decimal/index.js","../../../../node_modules/.pnpm/is-alphanumerical@1.0.4/node_modules/is-alphanumerical/index.js","../../../../node_modules/.pnpm/is-alphabetical@1.0.4/node_modules/is-alphabetical/index.js","../../../../node_modules/.pnpm/parse-entities@2.0.0/node_modules/parse-entities/index.js","../../../../node_modules/.pnpm/is-hexadecimal@1.0.4/node_modules/is-hexadecimal/index.js","../../../../node_modules/.pnpm/parse-entities@2.0.0/node_modules/parse-entities/decode-entity.js","../../../../node_modules/.pnpm/prismjs@1.27.0/node_modules/prismjs/components/prism-core.js","../../../../node_modules/.pnpm/refractor@3.6.0/node_modules/refractor/core.js","../../../../node_modules/.pnpm/refractor@3.6.0/node_modules/refractor/lang/markup.js","../../../../node_modules/.pnpm/refractor@3.6.0/node_modules/refractor/lang/css.js","../../../../node_modules/.pnpm/refractor@3.6.0/node_modules/refractor/lang/clike.js","../../../../node_modules/.pnpm/refractor@3.6.0/node_modules/refractor/lang/javascript.js","../../../../node_modules/.pnpm/react-refractor@2.2.0_react@18.3.1/node_modules/react-refractor/lib/mapChildren.js","../../../../node_modules/.pnpm/unist-util-is@4.1.0/node_modules/unist-util-is/convert.js","../../../../node_modules/.pnpm/unist-util-visit-parents@3.1.1/node_modules/unist-util-visit-parents/index.js","../../../../node_modules/.pnpm/unist-util-visit-parents@3.1.1/node_modules/unist-util-visit-parents/color.js","../../../../node_modules/.pnpm/react-refractor@2.2.0_react@18.3.1/node_modules/react-refractor/lib/addMarkers.js","../../../../node_modules/.pnpm/unist-util-filter@2.0.3/node_modules/unist-util-filter/index.js","../../../../node_modules/.pnpm/react-refractor@2.2.0_react@18.3.1/node_modules/react-refractor/lib/map.js","../../../../node_modules/.pnpm/@floating-ui+utils@0.2.8/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs","../../../../node_modules/.pnpm/react-refractor@2.2.0_react@18.3.1/node_modules/react-refractor/lib/Refractor.js","../../../../node_modules/.pnpm/@floating-ui+core@1.6.8/node_modules/@floating-ui/core/dist/floating-ui.core.mjs","../../../../node_modules/.pnpm/@floating-ui+utils@0.2.8/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs","../../../../node_modules/.pnpm/@floating-ui+dom@1.6.12/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs","../../../../node_modules/.pnpm/@floating-ui+react-dom@2.1.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/components/create-proxy.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/animation/utils/is-animation-controls.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/animation/utils/is-keyframes-target.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/utils/shallow-compare.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/utils/is-variant-label.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/utils/resolve-variants.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/utils/resolve-dynamic-variants.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/utils/variant-props.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/html/utils/transform.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/utils/time-conversion.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/animation/utils/default-transitions.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/animation/utils/get-value-transition.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/utils/GlobalConfig.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/get-final-keyframe.mjs","../../../../node_modules/.pnpm/motion-utils@11.14.3/node_modules/motion-utils/dist/es/noop.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/frameloop/batcher.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/frameloop/render-step.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/frameloop/frame.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/easing/cubic-bezier.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/easing/modifiers/mirror.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/easing/modifiers/reverse.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/easing/back.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/easing/anticipate.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/easing/circ.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/utils/is-zero-value-string.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/utils/is-numerical-string.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/dom/utils/is-css-variable.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/dom/utils/css-variables-conversion.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/utils/clamp.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/value/types/numbers/index.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/value/types/numbers/units.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/dom/utils/unit-conversion.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/dom/value-types/test.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/dom/value-types/dimensions.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/dom/value-types/type-auto.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/utils/KeyframesResolver.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/value/types/utils/sanitize.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/value/types/utils/float-regex.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/value/types/utils/single-color-regex.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/value/types/color/utils.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/value/types/utils/is-nullish.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/value/types/color/rgba.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/value/types/color/hex.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/value/types/color/hsla.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/value/types/color/index.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/value/types/utils/color-regex.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/value/types/complex/index.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/value/types/complex/filter.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/dom/value-types/number-browser.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/dom/value-types/transform.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/dom/value-types/type-int.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/dom/value-types/number.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/dom/value-types/defaults.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/dom/value-types/animatable-none.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/html/utils/make-none-animatable.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/dom/DOMKeyframesResolver.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/animation/utils/is-none.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/animation/generators/utils/is-generator.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/frameloop/sync-time.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/animation/utils/is-animatable.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/animation/animators/BaseAnimation.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/animation/animators/utils/can-animate.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/utils/progress.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/linear.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/utils/velocity-per-second.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/animation/generators/utils/velocity.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/animation/generators/spring/defaults.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/animation/generators/spring/find.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/animation/generators/utils/calc-duration.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/animation/generators/spring/index.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/animation/generators/inertia.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/easing/ease.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/easing/utils/is-bezier-definition.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/easing/utils/map.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/utils/pipe.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/utils/mix/number.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/utils/hsla-to-rgba.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/utils/mix/immediate.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/utils/mix/color.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/utils/mix/visibility.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/utils/mix/complex.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/utils/mix/index.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/utils/interpolate.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/utils/offsets/default.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/utils/offsets/fill.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/animation/generators/keyframes.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/easing/utils/is-easing-array.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/utils/offsets/time.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/animation/animators/drivers/driver-frameloop.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/animation/animators/MainThreadAnimation.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/animation/animators/utils/accelerated-values.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/utils/memo.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/supports-flags.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/memo-supports.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/supports-linear-easing.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/animation/animators/waapi/easing.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/animation/animators/waapi/index.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/attach-timeline.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/supports-waapi.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/animation/animators/AcceleratedAnimation.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/dom/scroll/supports.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/animation/GroupPlaybackControls.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/animation/interfaces/motion-value.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/animation/utils/is-transition-defined.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/utils/array.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/utils/subscription-manager.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/value/index.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/utils/setters.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/dom/utils/camel-to-dash.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/animation/optimized-appear/data-id.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/animation/optimized-appear/get-appear-id.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/value/utils/is-motion-value.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/value/use-will-change/add-will-change.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/value/use-will-change/is.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-target.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/utils/resolve-value.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-variant.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/utils/get-variant-context.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/utils/animation-state.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/animation/interfaces/visual-element.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/motion/features/Feature.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/motion/features/animation/exit.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/motion/features/animations.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/motion/features/animation/index.mjs","../../../../node_modules/.pnpm/motion-dom@11.14.3/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.mjs","../../../../node_modules/.pnpm/motion-dom@11.14.3/node_modules/motion-dom/dist/es/gestures/utils/setup.mjs","../../../../node_modules/.pnpm/motion-dom@11.14.3/node_modules/motion-dom/dist/es/utils/resolve-elements.mjs","../../../../node_modules/.pnpm/motion-dom@11.14.3/node_modules/motion-dom/dist/es/gestures/hover.mjs","../../../../node_modules/.pnpm/motion-dom@11.14.3/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.mjs","../../../../node_modules/.pnpm/motion-dom@11.14.3/node_modules/motion-dom/dist/es/gestures/press/utils/state.mjs","../../../../node_modules/.pnpm/motion-dom@11.14.3/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.mjs","../../../../node_modules/.pnpm/motion-dom@11.14.3/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.mjs","../../../../node_modules/.pnpm/motion-dom@11.14.3/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.mjs","../../../../node_modules/.pnpm/motion-dom@11.14.3/node_modules/motion-dom/dist/es/gestures/press/index.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/events/event-info.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/events/add-dom-event.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/events/add-pointer-event.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/utils/distance.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/gestures/pan/PanSession.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/utils/is-ref-object.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/projection/geometry/delta-calc.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/projection/geometry/models.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/projection/utils/each-axis.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/projection/geometry/conversion.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/projection/utils/has-transform.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/projection/geometry/delta-apply.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/projection/utils/measure.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/utils/get-context-window.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.mjs","../../../../node_modules/.pnpm/motion-dom@11.14.3/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/gestures/pan/index.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/context/PresenceContext.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/context/LayoutGroupContext.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/projection/node/state.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/projection/styles/scale-border-radius.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/projection/styles/scale-box-shadow.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/projection/styles/scale-correction.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/frameloop/microtask.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/projection/animation/mix-values.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/projection/geometry/copy.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/projection/geometry/delta-remove.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/projection/geometry/utils.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/projection/shared/stack.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/utils/compare-by-depth.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/utils/flat-tree.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/value/utils/resolve-motion-value.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/projection/node/create-projection-node.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-element.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/utils/delay.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/animation/animate/single-value.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/projection/styles/transform.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/projection/node/DocumentProjectionNode.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/projection/node/HTMLProjectionNode.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/motion/features/drag.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/gestures/drag/index.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/gestures/hover.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/gestures/press.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/motion/features/viewport/observers.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/motion/features/viewport/index.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/motion/features/gestures.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/gestures/focus.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/motion/features/layout.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/context/MotionConfigContext.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/context/MotionContext/index.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/utils/is-browser.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/context/LazyContext.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/utils/is-controlling-variants.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/context/MotionContext/create.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/context/MotionContext/utils.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/motion/features/definitions.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/motion/utils/symbol.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/motion/index.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/motion/features/load-features.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/html/utils/render.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/svg/utils/camel-case-attrs.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/svg/utils/render.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/motion/utils/is-forced-motion-value.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/html/utils/scrape-motion-values.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/svg/utils/scrape-motion-values.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/utils/use-constant.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/dom/value-types/get-as-type.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/html/utils/build-transform.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/html/utils/build-styles.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/svg/utils/transform-origin.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/svg/utils/path.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/svg/utils/build-attrs.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/svg/utils/is-svg-tag.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/svg/config-motion.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/html/config-motion.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/html/use-props.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/motion/utils/valid-prop.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/svg/use-props.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/dom/use-render.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/components/create-factory.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/utils/reduced-motion/state.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/store.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/dom/value-types/find.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/VisualElement.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/utils/reduced-motion/index.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/utils/motion-values.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/dom/DOMVisualElement.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/html/HTMLVisualElement.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/svg/SVGVisualElement.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/dom/create-visual-element.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/components/motion/proxy.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/components/motion/create.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.mjs","../../../../node_modules/.pnpm/framer-motion@11.15.0_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/components/AnimatePresence/index.mjs","../../../../node_modules/.pnpm/@sanity+ui@2.10.12_@emotion+is-prop-valid@1.2.2_react-dom@18.3.1_react@18.3.1__react-is@18.3._athykx2233ag3hlvvvdgr7lbda/node_modules/@sanity/ui/dist/index.mjs","../../../../node_modules/.pnpm/@sanity+icons@3.5.5_react@19.0.0/node_modules/@sanity/icons/dist/index.js","../../src/util/getNodeIcon.tsx","../../src/ui/PopoverPortal.tsx","../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_deburrLetter.js","../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_basePropertyOf.js","../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_root.js","../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_freeGlobal.js","../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Symbol.js","../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseGetTag.js","../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getRawTag.js","../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_objectToString.js","../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isSymbol.js","../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isObjectLike.js","../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseToString.js","../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arrayMap.js","../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArray.js","../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/toString.js","../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/words.js","../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_asciiWords.js","../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hasUnicodeWord.js","../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_unicodeWords.js","../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_createCompounder.js","../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arrayReduce.js","../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/deburr.js","../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_castSlice.js","../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseSlice.js","../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hasUnicode.js","../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stringToArray.js","../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_asciiToArray.js","../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_unicodeToArray.js","../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/upperFirst.js","../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_createCaseFirst.js","../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/startCase.js","../../../insert-menu/dist/index.js","../../src/overlay-components/components/InsertMenu.tsx","../../src/overlay-components/components/PointerEvents.tsx"],"sourcesContent":["const defaultThemeConfig = {\n  _version: 2,\n  avatar: {\n    sizes: [{\n      distance: -4,\n      size: 19\n    }, {\n      distance: -4,\n      size: 25\n    }, {\n      distance: -8,\n      size: 33\n    }, {\n      distance: -12,\n      size: 49\n    }],\n    focusRing: {\n      offset: 1,\n      width: 1\n    }\n  },\n  button: {\n    textWeight: \"medium\",\n    border: {\n      width: 1\n    },\n    focusRing: {\n      offset: -1,\n      width: 1\n    }\n  },\n  card: {\n    border: {\n      width: 1\n    },\n    focusRing: {\n      offset: -1,\n      width: 1\n    },\n    shadow: {\n      outline: 0.5\n    }\n  },\n  container: [320, 640, 960, 1280, 1600, 1920],\n  media: [360, 600, 900, 1200, 1800, 2400],\n  layer: {\n    dialog: {\n      zOffset: 600\n    },\n    popover: {\n      zOffset: 400\n    },\n    tooltip: {\n      zOffset: 200\n    }\n  },\n  radius: [0, 1, 3, 6, 9, 12, 21],\n  shadow: [null, {\n    umbra: [0, 0, 0, 0],\n    penumbra: [0, 0, 0, 0],\n    ambient: [0, 0, 0, 0]\n  }, {\n    umbra: [0, 3, 5, -2],\n    penumbra: [0, 6, 10, 0],\n    ambient: [0, 1, 18, 1]\n  }, {\n    umbra: [0, 7, 8, -4],\n    penumbra: [0, 12, 17, 2],\n    ambient: [0, 5, 22, 4]\n  }, {\n    umbra: [0, 9, 11, -5],\n    penumbra: [0, 18, 28, 2],\n    ambient: [0, 7, 34, 6]\n  }, {\n    umbra: [0, 11, 15, -7],\n    penumbra: [0, 24, 38, 3],\n    ambient: [0, 9, 46, 8]\n  }],\n  space: [0, 4, 8, 12, 20, 32, 52, 84, 136, 220],\n  input: {\n    border: {\n      width: 1\n    },\n    checkbox: {\n      size: 17,\n      focusRing: {\n        offset: -1,\n        width: 1\n      }\n    },\n    radio: {\n      size: 17,\n      markSize: 9,\n      focusRing: {\n        offset: -1,\n        width: 1\n      }\n    },\n    switch: {\n      width: 25,\n      height: 17,\n      padding: 5,\n      transitionDurationMs: 150,\n      transitionTimingFunction: \"ease-out\",\n      focusRing: {\n        offset: 1,\n        width: 1\n      }\n    },\n    select: {\n      focusRing: {\n        offset: -1,\n        width: 1\n      }\n    },\n    text: {\n      focusRing: {\n        offset: -1,\n        width: 1\n      }\n    }\n  },\n  style: {\n    button: {\n      root: {\n        transition: \"background-color 100ms,border-color 100ms,color 100ms\"\n      }\n    }\n    // card: {\n    //   root: {\n    //     transition: 'background-color 100ms,border-color 100ms,color 100ms',\n    //   },\n    // },\n  }\n}, cache$1 = /* @__PURE__ */ new WeakMap();\nfunction themeColor_v0_v2(color_v0) {\n  const cached_v2 = cache$1.get(color_v0);\n  if (cached_v2) return cached_v2;\n  const base = stateThemeColor_v0_v2(color_v0, color_v0.card.enabled), color_v2 = {\n    _blend: color_v0._blend || (color_v0.dark ? \"screen\" : \"multiply\"),\n    _dark: color_v0.dark,\n    accent: base.accent,\n    avatar: base.avatar,\n    backdrop: color_v0.base.shadow.ambient,\n    badge: base.badge,\n    bg: color_v0.base.bg,\n    border: color_v0.base.border,\n    button: {\n      default: stateTonesThemeColor_v0_v2(color_v0, color_v0.button.default),\n      ghost: stateTonesThemeColor_v0_v2(color_v0, color_v0.button.ghost),\n      bleed: stateTonesThemeColor_v0_v2(color_v0, color_v0.button.bleed)\n    },\n    code: base.code,\n    fg: color_v0.base.fg,\n    focusRing: color_v0.base.focusRing,\n    icon: base.muted.fg,\n    input: {\n      default: inputStatesThemeColor_v0_v2(color_v0.input.default),\n      invalid: inputStatesThemeColor_v0_v2(color_v0.input.invalid)\n    },\n    kbd: base.kbd,\n    link: base.link,\n    muted: {\n      ...base.muted,\n      bg: color_v0.selectable?.default.enabled.bg2 || color_v0.base.bg\n    },\n    selectable: stateTonesThemeColor_v0_v2(color_v0, color_v0.selectable || color_v0.muted),\n    shadow: color_v0.base.shadow,\n    skeleton: {\n      from: color_v0.skeleton?.from || color_v0.base.border,\n      to: color_v0.skeleton?.to || color_v0.base.border\n    },\n    syntax: color_v0.syntax\n  };\n  return cache$1.set(color_v0, color_v2), color_v2;\n}\nfunction stateTonesThemeColor_v0_v2(v0, t) {\n  return {\n    default: {\n      enabled: stateThemeColor_v0_v2(v0, t.default.enabled),\n      hovered: stateThemeColor_v0_v2(v0, t.default.hovered),\n      pressed: stateThemeColor_v0_v2(v0, t.default.pressed),\n      selected: stateThemeColor_v0_v2(v0, t.default.selected),\n      disabled: stateThemeColor_v0_v2(v0, t.default.disabled)\n    },\n    neutral: {\n      enabled: stateThemeColor_v0_v2(v0, t.default.enabled),\n      hovered: stateThemeColor_v0_v2(v0, t.default.hovered),\n      pressed: stateThemeColor_v0_v2(v0, t.default.pressed),\n      selected: stateThemeColor_v0_v2(v0, t.default.selected),\n      disabled: stateThemeColor_v0_v2(v0, t.default.disabled)\n    },\n    primary: {\n      enabled: stateThemeColor_v0_v2(v0, t.primary.enabled),\n      hovered: stateThemeColor_v0_v2(v0, t.primary.hovered),\n      pressed: stateThemeColor_v0_v2(v0, t.primary.pressed),\n      selected: stateThemeColor_v0_v2(v0, t.primary.selected),\n      disabled: stateThemeColor_v0_v2(v0, t.primary.disabled)\n    },\n    suggest: {\n      enabled: stateThemeColor_v0_v2(v0, t.primary.enabled),\n      hovered: stateThemeColor_v0_v2(v0, t.primary.hovered),\n      pressed: stateThemeColor_v0_v2(v0, t.primary.pressed),\n      selected: stateThemeColor_v0_v2(v0, t.primary.selected),\n      disabled: stateThemeColor_v0_v2(v0, t.primary.disabled)\n    },\n    positive: {\n      enabled: stateThemeColor_v0_v2(v0, t.positive.enabled),\n      hovered: stateThemeColor_v0_v2(v0, t.positive.hovered),\n      pressed: stateThemeColor_v0_v2(v0, t.positive.pressed),\n      selected: stateThemeColor_v0_v2(v0, t.positive.selected),\n      disabled: stateThemeColor_v0_v2(v0, t.positive.disabled)\n    },\n    caution: {\n      enabled: stateThemeColor_v0_v2(v0, t.caution.enabled),\n      hovered: stateThemeColor_v0_v2(v0, t.caution.hovered),\n      pressed: stateThemeColor_v0_v2(v0, t.caution.pressed),\n      selected: stateThemeColor_v0_v2(v0, t.caution.selected),\n      disabled: stateThemeColor_v0_v2(v0, t.caution.disabled)\n    },\n    critical: {\n      enabled: stateThemeColor_v0_v2(v0, t.critical.enabled),\n      hovered: stateThemeColor_v0_v2(v0, t.critical.hovered),\n      pressed: stateThemeColor_v0_v2(v0, t.critical.pressed),\n      selected: stateThemeColor_v0_v2(v0, t.critical.selected),\n      disabled: stateThemeColor_v0_v2(v0, t.critical.disabled)\n    }\n  };\n}\nfunction stateThemeColor_v0_v2(v0, state) {\n  return {\n    ...state,\n    avatar: {\n      gray: {\n        bg: v0.spot.gray,\n        fg: v0.base.bg\n      },\n      blue: {\n        bg: v0.spot.blue,\n        fg: v0.base.bg\n      },\n      purple: {\n        bg: v0.spot.purple,\n        fg: v0.base.bg\n      },\n      magenta: {\n        bg: v0.spot.magenta,\n        fg: v0.base.bg\n      },\n      red: {\n        bg: v0.spot.red,\n        fg: v0.base.bg\n      },\n      orange: {\n        bg: v0.spot.orange,\n        fg: v0.base.bg\n      },\n      yellow: {\n        bg: v0.spot.yellow,\n        fg: v0.base.bg\n      },\n      green: {\n        bg: v0.spot.green,\n        fg: v0.base.bg\n      },\n      cyan: {\n        bg: v0.spot.cyan,\n        fg: v0.base.bg\n      }\n    },\n    badge: {\n      default: {\n        bg: v0.muted.default.enabled.bg,\n        fg: v0.muted.default.enabled.fg,\n        dot: v0.muted.default.enabled.muted.fg,\n        icon: v0.muted.default.enabled.muted.fg\n      },\n      neutral: {\n        bg: v0.muted.transparent.enabled.bg,\n        fg: v0.muted.transparent.enabled.fg,\n        dot: v0.muted.transparent.enabled.muted.fg,\n        icon: v0.muted.transparent.enabled.muted.fg\n      },\n      primary: {\n        bg: v0.muted.primary.enabled.bg,\n        fg: v0.muted.primary.enabled.fg,\n        dot: v0.muted.primary.enabled.muted.fg,\n        icon: v0.muted.primary.enabled.muted.fg\n      },\n      suggest: {\n        bg: v0.muted.primary.enabled.bg,\n        fg: v0.muted.primary.enabled.fg,\n        dot: v0.muted.primary.enabled.muted.fg,\n        icon: v0.muted.primary.enabled.muted.fg\n      },\n      positive: {\n        bg: v0.muted.positive.enabled.bg,\n        fg: v0.muted.positive.enabled.fg,\n        dot: v0.muted.positive.enabled.muted.fg,\n        icon: v0.muted.positive.enabled.muted.fg\n      },\n      caution: {\n        bg: v0.muted.caution.enabled.bg,\n        fg: v0.muted.caution.enabled.fg,\n        dot: v0.muted.caution.enabled.muted.fg,\n        icon: v0.muted.caution.enabled.muted.fg\n      },\n      critical: {\n        bg: v0.muted.critical.enabled.bg,\n        fg: v0.muted.critical.enabled.fg,\n        dot: v0.muted.critical.enabled.muted.fg,\n        icon: v0.muted.critical.enabled.muted.fg\n      }\n    },\n    kbd: {\n      bg: v0.muted.default.enabled.bg,\n      fg: v0.muted.default.enabled.fg,\n      border: v0.muted.default.enabled.border\n    },\n    muted: {\n      ...v0.muted.default.enabled.muted,\n      bg: state.bg2 || state.bg\n    },\n    skeleton: {\n      from: state.skeleton?.from || state.border,\n      to: state.skeleton?.to || state.border\n    }\n  };\n}\nfunction inputStatesThemeColor_v0_v2(states) {\n  return {\n    enabled: inputStateThemeColor_v0_v2(states.enabled),\n    disabled: inputStateThemeColor_v0_v2(states.disabled),\n    readOnly: inputStateThemeColor_v0_v2(states.readOnly),\n    hovered: inputStateThemeColor_v0_v2(states.hovered)\n  };\n}\nfunction inputStateThemeColor_v0_v2(state) {\n  return {\n    bg: state.bg,\n    border: state.border,\n    fg: state.fg,\n    muted: {\n      bg: state.bg2\n    },\n    placeholder: state.placeholder\n  };\n}\nconst cache = /* @__PURE__ */ new WeakMap();\nfunction getTheme_v2(theme) {\n  if (theme.sanity.v2?._resolved) return theme.sanity.v2;\n  const cached_v2 = cache.get(theme);\n  if (cached_v2) return cached_v2;\n  const v2 = {\n    _version: 2,\n    _resolved: !0,\n    avatar: {\n      ...defaultThemeConfig.avatar,\n      ...theme.sanity.avatar\n    },\n    button: {\n      ...defaultThemeConfig.button,\n      ...theme.sanity.button\n    },\n    card: defaultThemeConfig.card,\n    color: themeColor_v0_v2(theme.sanity.color),\n    container: theme.sanity.container,\n    font: theme.sanity.fonts,\n    input: {\n      ...defaultThemeConfig.input,\n      ...theme.sanity.input,\n      checkbox: {\n        ...defaultThemeConfig.input.checkbox,\n        ...theme.sanity.input.checkbox\n      },\n      radio: {\n        ...defaultThemeConfig.input.radio,\n        ...theme.sanity.input.radio\n      },\n      switch: {\n        ...defaultThemeConfig.input.switch,\n        ...theme.sanity.input.switch\n      }\n    },\n    layer: theme.sanity.layer ?? defaultThemeConfig.layer,\n    media: theme.sanity.media,\n    radius: theme.sanity.radius,\n    shadow: theme.sanity.shadows,\n    space: theme.sanity.space,\n    style: theme.sanity.styles\n  };\n  return cache.set(theme, v2), v2;\n}\nexport {\n  defaultThemeConfig,\n  getTheme_v2,\n  themeColor_v0_v2\n};\n//# sourceMappingURL=getTheme_v2.mjs.map\n","const COLOR_HUES = [\n  \"gray\",\n  \"blue\",\n  \"purple\",\n  \"magenta\",\n  \"red\",\n  \"orange\",\n  \"yellow\",\n  \"green\",\n  \"cyan\"\n], COLOR_TINTS = [\n  \"50\",\n  \"100\",\n  \"200\",\n  \"300\",\n  \"400\",\n  \"500\",\n  \"600\",\n  \"700\",\n  \"800\",\n  \"900\",\n  \"950\"\n];\nfunction hslToRgb(hsl) {\n  const h = hsl[0], s = hsl[1] / 100, l = hsl[2] / 100, k = (n) => (n + h / 30) % 12, a = s * Math.min(l, 1 - l), f = (n) => l - a * Math.max(-1, Math.min(k(n) - 3, Math.min(9 - k(n), 1)));\n  return [255 * f(0), 255 * f(8), 255 * f(4)];\n}\nfunction rgbToHex([r, g, b]) {\n  const _r = Math.round(r), _g = Math.round(g), _b = Math.round(b);\n  return \"#\" + ((1 << 24) + (_r << 16) + (_g << 8) + _b).toString(16).slice(1);\n}\nfunction buildTints(options) {\n  const { hueKey, color: color2 } = options;\n  return COLOR_TINTS.reduce((acc, tintKey) => {\n    const tint = Number(tintKey), rgb = hslToRgb(color2.tints[tintKey].hsl), hex = rgbToHex([Math.round(rgb[0]), Math.round(rgb[1]), Math.round(rgb[2])]);\n    return acc[tintKey] = {\n      title: `${hueKey.slice(0, 1).toUpperCase()}${hueKey.slice(1)} ${tint}`,\n      hex\n    }, acc;\n  }, {});\n}\nconst black = {\n  title: \"Black\",\n  hex: \"#0d0e12\"\n}, white = {\n  title: \"White\",\n  hex: \"#ffffff\"\n}, gray = {\n  50: {\n    title: \"Gray 50\",\n    hex: \"#f6f6f8\"\n  },\n  100: {\n    title: \"Gray 100\",\n    hex: \"#eeeef1\"\n  },\n  200: {\n    title: \"Gray 200\",\n    hex: \"#e3e4e8\"\n  },\n  300: {\n    title: \"Gray 300\",\n    hex: \"#bbbdc9\"\n  },\n  400: {\n    title: \"Gray 400\",\n    hex: \"#9499ad\"\n  },\n  500: {\n    title: \"Gray 500\",\n    hex: \"#727892\"\n  },\n  600: {\n    title: \"Gray 600\",\n    hex: \"#515870\"\n  },\n  700: {\n    title: \"Gray 700\",\n    hex: \"#383d51\"\n  },\n  800: {\n    title: \"Gray 800\",\n    hex: \"#252837\"\n  },\n  900: {\n    title: \"Gray 900\",\n    hex: \"#1b1d27\"\n  },\n  950: {\n    title: \"Gray 950\",\n    hex: \"#13141b\"\n  }\n}, blue = {\n  50: {\n    title: \"Blue 50\",\n    hex: \"#f5f8ff\"\n  },\n  100: {\n    title: \"Blue 100\",\n    hex: \"#e5edff\"\n  },\n  200: {\n    title: \"Blue 200\",\n    hex: \"#dbe5ff\"\n  },\n  300: {\n    title: \"Blue 300\",\n    hex: \"#a8bfff\"\n  },\n  400: {\n    title: \"Blue 400\",\n    hex: \"#7595ff\"\n  },\n  500: {\n    title: \"Blue 500\",\n    hex: \"#556bfc\"\n  },\n  600: {\n    title: \"Blue 600\",\n    hex: \"#4043e7\"\n  },\n  700: {\n    title: \"Blue 700\",\n    hex: \"#2927aa\"\n  },\n  800: {\n    title: \"Blue 800\",\n    hex: \"#192457\"\n  },\n  900: {\n    title: \"Blue 900\",\n    hex: \"#161a41\"\n  },\n  950: {\n    title: \"Blue 950\",\n    hex: \"#101228\"\n  }\n}, purple = {\n  50: {\n    title: \"Purple 50\",\n    hex: \"#f8f5ff\"\n  },\n  100: {\n    title: \"Purple 100\",\n    hex: \"#f1ebff\"\n  },\n  200: {\n    title: \"Purple 200\",\n    hex: \"#ece1fe\"\n  },\n  300: {\n    title: \"Purple 300\",\n    hex: \"#ccb1fc\"\n  },\n  400: {\n    title: \"Purple 400\",\n    hex: \"#b087f7\"\n  },\n  500: {\n    title: \"Purple 500\",\n    hex: \"#8f57ef\"\n  },\n  600: {\n    title: \"Purple 600\",\n    hex: \"#721fe5\"\n  },\n  700: {\n    title: \"Purple 700\",\n    hex: \"#4c1a9e\"\n  },\n  800: {\n    title: \"Purple 800\",\n    hex: \"#2f1862\"\n  },\n  900: {\n    title: \"Purple 900\",\n    hex: \"#23173f\"\n  },\n  950: {\n    title: \"Purple 950\",\n    hex: \"#181128\"\n  }\n}, magenta = {\n  50: {\n    title: \"Magenta 50\",\n    hex: \"#fef6f9\"\n  },\n  100: {\n    title: \"Magenta 100\",\n    hex: \"#fde8ef\"\n  },\n  200: {\n    title: \"Magenta 200\",\n    hex: \"#fcdee9\"\n  },\n  300: {\n    title: \"Magenta 300\",\n    hex: \"#f7abc5\"\n  },\n  400: {\n    title: \"Magenta 400\",\n    hex: \"#f0709b\"\n  },\n  500: {\n    title: \"Magenta 500\",\n    hex: \"#e72767\"\n  },\n  600: {\n    title: \"Magenta 600\",\n    hex: \"#b11651\"\n  },\n  700: {\n    title: \"Magenta 700\",\n    hex: \"#7c1342\"\n  },\n  800: {\n    title: \"Magenta 800\",\n    hex: \"#4b1130\"\n  },\n  900: {\n    title: \"Magenta 900\",\n    hex: \"#341325\"\n  },\n  950: {\n    title: \"Magenta 950\",\n    hex: \"#1f0f14\"\n  }\n}, red = {\n  50: {\n    title: \"Red 50\",\n    hex: \"#fff6f5\"\n  },\n  100: {\n    title: \"Red 100\",\n    hex: \"#ffe7e5\"\n  },\n  200: {\n    title: \"Red 200\",\n    hex: \"#ffdedc\"\n  },\n  300: {\n    title: \"Red 300\",\n    hex: \"#fdada5\"\n  },\n  400: {\n    title: \"Red 400\",\n    hex: \"#f77769\"\n  },\n  500: {\n    title: \"Red 500\",\n    hex: \"#ef4434\"\n  },\n  600: {\n    title: \"Red 600\",\n    hex: \"#cc2819\"\n  },\n  700: {\n    title: \"Red 700\",\n    hex: \"#8b2018\"\n  },\n  800: {\n    title: \"Red 800\",\n    hex: \"#4d1714\"\n  },\n  900: {\n    title: \"Red 900\",\n    hex: \"#321615\"\n  },\n  950: {\n    title: \"Red 950\",\n    hex: \"#1e1011\"\n  }\n}, orange = {\n  50: {\n    title: \"Orange 50\",\n    hex: \"#fff7f0\"\n  },\n  100: {\n    title: \"Orange 100\",\n    hex: \"#ffeadb\"\n  },\n  200: {\n    title: \"Orange 200\",\n    hex: \"#ffddc7\"\n  },\n  300: {\n    title: \"Orange 300\",\n    hex: \"#ffb685\"\n  },\n  400: {\n    title: \"Orange 400\",\n    hex: \"#ff8e42\"\n  },\n  500: {\n    title: \"Orange 500\",\n    hex: \"#fa6400\"\n  },\n  600: {\n    title: \"Orange 600\",\n    hex: \"#b14802\"\n  },\n  700: {\n    title: \"Orange 700\",\n    hex: \"#7c3404\"\n  },\n  800: {\n    title: \"Orange 800\",\n    hex: \"#461e07\"\n  },\n  900: {\n    title: \"Orange 900\",\n    hex: \"#32160b\"\n  },\n  950: {\n    title: \"Orange 950\",\n    hex: \"#21120d\"\n  }\n}, yellow = {\n  50: {\n    title: \"Yellow 50\",\n    hex: \"#fefae1\"\n  },\n  100: {\n    title: \"Yellow 100\",\n    hex: \"#fcf3bb\"\n  },\n  200: {\n    title: \"Yellow 200\",\n    hex: \"#f9e994\"\n  },\n  300: {\n    title: \"Yellow 300\",\n    hex: \"#f7d455\"\n  },\n  400: {\n    title: \"Yellow 400\",\n    hex: \"#f9bc15\"\n  },\n  500: {\n    title: \"Yellow 500\",\n    hex: \"#d28a04\"\n  },\n  600: {\n    title: \"Yellow 600\",\n    hex: \"#965908\"\n  },\n  700: {\n    title: \"Yellow 700\",\n    hex: \"#653a0b\"\n  },\n  800: {\n    title: \"Yellow 800\",\n    hex: \"#3b220c\"\n  },\n  900: {\n    title: \"Yellow 900\",\n    hex: \"#271a11\"\n  },\n  950: {\n    title: \"Yellow 950\",\n    hex: \"#181410\"\n  }\n}, green = {\n  50: {\n    title: \"Green 50\",\n    hex: \"#e7fef5\"\n  },\n  100: {\n    title: \"Green 100\",\n    hex: \"#c5fce8\"\n  },\n  200: {\n    title: \"Green 200\",\n    hex: \"#a9f9dc\"\n  },\n  300: {\n    title: \"Green 300\",\n    hex: \"#59f3ba\"\n  },\n  400: {\n    title: \"Green 400\",\n    hex: \"#0ff0a1\"\n  },\n  500: {\n    title: \"Green 500\",\n    hex: \"#04b97a\"\n  },\n  600: {\n    title: \"Green 600\",\n    hex: \"#01794f\"\n  },\n  700: {\n    title: \"Green 700\",\n    hex: \"#015133\"\n  },\n  800: {\n    title: \"Green 800\",\n    hex: \"#023120\"\n  },\n  900: {\n    title: \"Green 900\",\n    hex: \"#06231a\"\n  },\n  950: {\n    title: \"Green 950\",\n    hex: \"#071715\"\n  }\n}, cyan = {\n  50: {\n    title: \"Cyan 50\",\n    hex: \"#e7fefe\"\n  },\n  100: {\n    title: \"Cyan 100\",\n    hex: \"#c5fcfc\"\n  },\n  200: {\n    title: \"Cyan 200\",\n    hex: \"#96f8f8\"\n  },\n  300: {\n    title: \"Cyan 300\",\n    hex: \"#62efef\"\n  },\n  400: {\n    title: \"Cyan 400\",\n    hex: \"#18e2e2\"\n  },\n  500: {\n    title: \"Cyan 500\",\n    hex: \"#04b8be\"\n  },\n  600: {\n    title: \"Cyan 600\",\n    hex: \"#037782\"\n  },\n  700: {\n    title: \"Cyan 700\",\n    hex: \"#024950\"\n  },\n  800: {\n    title: \"Cyan 800\",\n    hex: \"#042f34\"\n  },\n  900: {\n    title: \"Cyan 900\",\n    hex: \"#072227\"\n  },\n  950: {\n    title: \"Cyan 950\",\n    hex: \"#0d181c\"\n  }\n}, hues = { gray, blue, purple, magenta, red, orange, yellow, green, cyan }, color = { black, white, ...hues }, config = {\n  black: {\n    title: \"Black\",\n    hsl: [225, 16, 6]\n  },\n  white: {\n    title: \"White\",\n    hsl: [0, 0, 100]\n  },\n  gray: {\n    title: \"Gray\",\n    tints: {\n      50: {\n        title: \"Gray 50\",\n        hsl: [240, 12, 97]\n      },\n      100: {\n        title: \"Gray 100\",\n        hsl: [240, 10, 94]\n      },\n      200: {\n        title: \"Gray 200\",\n        hsl: [231, 10, 90]\n      },\n      300: {\n        title: \"Gray 300\",\n        hsl: [232, 11, 76]\n      },\n      400: {\n        title: \"Gray 400\",\n        hsl: [228, 13, 63]\n      },\n      500: {\n        title: \"Gray 500\",\n        hsl: [229, 13, 51]\n      },\n      600: {\n        title: \"Gray 600\",\n        hsl: [228, 16, 38]\n      },\n      700: {\n        title: \"Gray 700\",\n        hsl: [229, 18, 27]\n      },\n      800: {\n        title: \"Gray 800\",\n        hsl: [229, 19, 18]\n      },\n      900: {\n        title: \"Gray 900\",\n        hsl: [228, 19, 13]\n      },\n      950: {\n        title: \"Gray 950\",\n        hsl: [233, 17, 9]\n      }\n    }\n  },\n  blue: {\n    title: \"Blue\",\n    tints: {\n      50: {\n        title: \"Blue 50\",\n        hsl: [222, 100, 98]\n      },\n      100: {\n        title: \"Blue 100\",\n        hsl: [222, 100, 95]\n      },\n      200: {\n        title: \"Blue 200\",\n        hsl: [223, 100, 93]\n      },\n      300: {\n        title: \"Blue 300\",\n        hsl: [224, 100, 83]\n      },\n      400: {\n        title: \"Blue 400\",\n        hsl: [226, 100, 73]\n      },\n      500: {\n        title: \"Blue 500\",\n        hsl: [232, 96, 66]\n      },\n      600: {\n        title: \"Blue 600\",\n        hsl: [239, 78, 58]\n      },\n      700: {\n        title: \"Blue 700\",\n        hsl: [241, 63, 41]\n      },\n      800: {\n        title: \"Blue 800\",\n        hsl: [230, 55, 22]\n      },\n      900: {\n        title: \"Blue 900\",\n        hsl: [234, 49, 17]\n      },\n      950: {\n        title: \"Blue 950\",\n        hsl: [235, 43, 11]\n      }\n    }\n  },\n  purple: {\n    title: \"Purple\",\n    tints: {\n      50: {\n        title: \"Purple 50\",\n        hsl: [260, 95, 98]\n      },\n      100: {\n        title: \"Purple 100\",\n        hsl: [260, 98, 96]\n      },\n      200: {\n        title: \"Purple 200\",\n        hsl: [263, 96, 94]\n      },\n      300: {\n        title: \"Purple 300\",\n        hsl: [262, 92, 84]\n      },\n      400: {\n        title: \"Purple 400\",\n        hsl: [262, 88, 75]\n      },\n      500: {\n        title: \"Purple 500\",\n        hsl: [262, 83, 64]\n      },\n      600: {\n        title: \"Purple 600\",\n        hsl: [265, 79, 51]\n      },\n      700: {\n        title: \"Purple 700\",\n        hsl: [263, 72, 36]\n      },\n      800: {\n        title: \"Purple 800\",\n        hsl: [258, 60, 24]\n      },\n      900: {\n        title: \"Purple 900\",\n        hsl: [257, 46, 17]\n      },\n      950: {\n        title: \"Purple 950\",\n        hsl: [260, 41, 11]\n      }\n    }\n  },\n  magenta: {\n    title: \"Magenta\",\n    tints: {\n      50: {\n        title: \"Magenta 50\",\n        hsl: [340, 82, 98]\n      },\n      100: {\n        title: \"Magenta 100\",\n        hsl: [339, 83, 95]\n      },\n      200: {\n        title: \"Magenta 200\",\n        hsl: [339, 83, 93]\n      },\n      300: {\n        title: \"Magenta 300\",\n        hsl: [340, 82, 82]\n      },\n      400: {\n        title: \"Magenta 400\",\n        hsl: [340, 81, 69]\n      },\n      500: {\n        title: \"Magenta 500\",\n        hsl: [340, 80, 53]\n      },\n      600: {\n        title: \"Magenta 600\",\n        hsl: [337, 78, 39]\n      },\n      700: {\n        title: \"Magenta 700\",\n        hsl: [333, 73, 28]\n      },\n      800: {\n        title: \"Magenta 800\",\n        hsl: [328, 63, 18]\n      },\n      900: {\n        title: \"Magenta 900\",\n        hsl: [327, 46, 14]\n      },\n      950: {\n        title: \"Magenta 950\",\n        hsl: [341, 35, 9]\n      }\n    }\n  },\n  red: {\n    title: \"Red\",\n    tints: {\n      50: {\n        title: \"Red 50\",\n        hsl: [5, 100, 98]\n      },\n      100: {\n        title: \"Red 100\",\n        hsl: [4, 100, 95]\n      },\n      200: {\n        title: \"Red 200\",\n        hsl: [4, 98, 93]\n      },\n      300: {\n        title: \"Red 300\",\n        hsl: [5, 95, 82]\n      },\n      400: {\n        title: \"Red 400\",\n        hsl: [6, 90, 69]\n      },\n      500: {\n        title: \"Red 500\",\n        hsl: [5, 85, 57]\n      },\n      600: {\n        title: \"Red 600\",\n        hsl: [5, 78, 45]\n      },\n      700: {\n        title: \"Red 700\",\n        hsl: [4, 70, 32]\n      },\n      800: {\n        title: \"Red 800\",\n        hsl: [3, 58, 19]\n      },\n      900: {\n        title: \"Red 900\",\n        hsl: [2, 41, 14]\n      },\n      950: {\n        title: \"Red 950\",\n        hsl: [356, 30, 9]\n      }\n    }\n  },\n  orange: {\n    title: \"Orange\",\n    tints: {\n      50: {\n        title: \"Orange 50\",\n        hsl: [28, 100, 97]\n      },\n      100: {\n        title: \"Orange 100\",\n        hsl: [25, 100, 93]\n      },\n      200: {\n        title: \"Orange 200\",\n        hsl: [24, 100, 89]\n      },\n      300: {\n        title: \"Orange 300\",\n        hsl: [24, 100, 76]\n      },\n      400: {\n        title: \"Orange 400\",\n        hsl: [24, 100, 63]\n      },\n      500: {\n        title: \"Orange 500\",\n        hsl: [24, 100, 49]\n      },\n      600: {\n        title: \"Orange 600\",\n        hsl: [24, 98, 35]\n      },\n      700: {\n        title: \"Orange 700\",\n        hsl: [24, 94, 25]\n      },\n      800: {\n        title: \"Orange 800\",\n        hsl: [22, 82, 15]\n      },\n      900: {\n        title: \"Orange 900\",\n        hsl: [17, 65, 12]\n      },\n      950: {\n        title: \"Orange 950\",\n        hsl: [14, 43, 9]\n      }\n    }\n  },\n  yellow: {\n    title: \"Yellow\",\n    tints: {\n      50: {\n        title: \"Yellow 50\",\n        hsl: [51, 94, 94]\n      },\n      100: {\n        title: \"Yellow 100\",\n        hsl: [52, 91, 86]\n      },\n      200: {\n        title: \"Yellow 200\",\n        hsl: [50, 90, 78]\n      },\n      300: {\n        title: \"Yellow 300\",\n        hsl: [47, 91, 65]\n      },\n      400: {\n        title: \"Yellow 400\",\n        hsl: [44, 95, 53]\n      },\n      500: {\n        title: \"Yellow 500\",\n        hsl: [39, 96, 42]\n      },\n      600: {\n        title: \"Yellow 600\",\n        hsl: [34, 90, 31]\n      },\n      700: {\n        title: \"Yellow 700\",\n        hsl: [31, 80, 22]\n      },\n      800: {\n        title: \"Yellow 800\",\n        hsl: [28, 66, 14]\n      },\n      900: {\n        title: \"Yellow 900\",\n        hsl: [24, 40, 11]\n      },\n      950: {\n        title: \"Yellow 950\",\n        hsl: [24, 20, 8]\n      }\n    }\n  },\n  green: {\n    title: \"Green\",\n    tints: {\n      50: {\n        title: \"Green 50\",\n        hsl: [157, 89, 95]\n      },\n      100: {\n        title: \"Green 100\",\n        hsl: [158, 89, 88]\n      },\n      200: {\n        title: \"Green 200\",\n        hsl: [158, 87, 82]\n      },\n      300: {\n        title: \"Green 300\",\n        hsl: [158, 86, 65]\n      },\n      400: {\n        title: \"Green 400\",\n        hsl: [159, 88, 50]\n      },\n      500: {\n        title: \"Green 500\",\n        hsl: [159, 96, 37]\n      },\n      600: {\n        title: \"Green 600\",\n        hsl: [159, 98, 24]\n      },\n      700: {\n        title: \"Green 700\",\n        hsl: [158, 98, 16]\n      },\n      800: {\n        title: \"Green 800\",\n        hsl: [158, 91, 10]\n      },\n      900: {\n        title: \"Green 900\",\n        hsl: [162, 72, 8]\n      },\n      950: {\n        title: \"Green 950\",\n        hsl: [172, 51, 6]\n      }\n    }\n  },\n  cyan: {\n    title: \"Cyan\",\n    tints: {\n      50: {\n        title: \"Cyan 50\",\n        hsl: [180, 92, 95]\n      },\n      100: {\n        title: \"Cyan 100\",\n        hsl: [180, 91, 88]\n      },\n      200: {\n        title: \"Cyan 200\",\n        hsl: [180, 87, 78]\n      },\n      300: {\n        title: \"Cyan 300\",\n        hsl: [180, 81, 66]\n      },\n      400: {\n        title: \"Cyan 400\",\n        hsl: [180, 81, 49]\n      },\n      500: {\n        title: \"Cyan 500\",\n        hsl: [182, 96, 38]\n      },\n      600: {\n        title: \"Cyan 600\",\n        hsl: [185, 96, 26]\n      },\n      700: {\n        title: \"Cyan 700\",\n        hsl: [185, 95, 16]\n      },\n      800: {\n        title: \"Cyan 800\",\n        hsl: [187, 86, 11]\n      },\n      900: {\n        title: \"Cyan 900\",\n        hsl: [188, 68, 9]\n      },\n      950: {\n        title: \"Cyan 950\",\n        hsl: [196, 37, 8]\n      }\n    }\n  }\n};\nfunction hexToRgb(hex) {\n  const result = /^#?([a-f\\d]{2})([a-f\\d]{2})([a-f\\d]{2})$/i.exec(hex);\n  if (!result)\n    throw new Error(\"input is not valid hex\");\n  return [parseInt(result[1], 16), parseInt(result[2], 16), parseInt(result[3], 16)];\n}\nfunction rgbToHsl([r, g, b]) {\n  r /= 255, g /= 255, b /= 255;\n  const cmin = Math.min(r, g, b), cmax = Math.max(r, g, b), delta = cmax - cmin;\n  let h = 0, s = 0, l = 0;\n  return delta == 0 ? h = 0 : cmax == r ? h = (g - b) / delta % 6 : cmax == g ? h = (b - r) / delta + 2 : h = (r - g) / delta + 4, h = Math.round(h * 60), h < 0 && (h += 360), l = (cmax + cmin) / 2, s = delta == 0 ? 0 : delta / (1 - Math.abs(2 * l - 1)), s = +(s * 100).toFixed(0), l = +(l * 100).toFixed(0), [h, s, l];\n}\nfunction clamp(num) {\n  return Math.max(Math.min(num, 255), 0);\n}\nfunction darkenChannel(backdrop, source) {\n  return Math.min(backdrop, source);\n}\nfunction darken(b, s) {\n  return [\n    Math.round(clamp(darkenChannel(b[0] / 255, s[0] / 255) * 255)),\n    Math.round(clamp(darkenChannel(b[1] / 255, s[1] / 255) * 255)),\n    Math.round(clamp(darkenChannel(b[2] / 255, s[2] / 255) * 255))\n  ];\n}\nfunction interpolate(min, max, val) {\n  const size = max - min;\n  return min + size * val;\n}\nfunction limit(darkest, lightest, source) {\n  const r = Math.round(interpolate(darkest[0], lightest[0], source[0] / 255)), g = Math.round(interpolate(darkest[1], lightest[1], source[1] / 255)), b = Math.round(interpolate(darkest[2], lightest[2], source[2] / 255));\n  return [r, g, b];\n}\nfunction screenChannel(backdrop, source) {\n  return backdrop + source - backdrop * source;\n}\nfunction screen(b, s) {\n  return [\n    Math.round(clamp(screenChannel(b[0] / 255, s[0] / 255) * 255)),\n    Math.round(clamp(screenChannel(b[1] / 255, s[1] / 255) * 255)),\n    Math.round(clamp(screenChannel(b[2] / 255, s[2] / 255) * 255))\n  ];\n}\nexport {\n  COLOR_HUES,\n  COLOR_TINTS,\n  black,\n  blue,\n  buildTints,\n  color,\n  config,\n  cyan,\n  darken,\n  gray,\n  green,\n  hexToRgb,\n  hslToRgb,\n  hues,\n  limit,\n  magenta,\n  orange,\n  purple,\n  red,\n  rgbToHex,\n  rgbToHsl,\n  screen,\n  white,\n  yellow\n};\n//# sourceMappingURL=index.js.map\n","import { defaultThemeConfig, themeColor_v0_v2 } from \"./_chunks-es/getTheme_v2.mjs\";\nimport { getTheme_v2 } from \"./_chunks-es/getTheme_v2.mjs\";\nimport { COLOR_HUES, COLOR_TINTS, color } from \"@sanity/color\";\nfunction createSelectableTones(opts, base, dark, solid, muted) {\n  return {\n    default: _createSelectableStates(opts, base, dark, solid, muted, \"default\"),\n    primary: _createSelectableStates(opts, base, dark, solid, muted, \"primary\"),\n    positive: _createSelectableStates(opts, base, dark, solid, muted, \"positive\"),\n    caution: _createSelectableStates(opts, base, dark, solid, muted, \"caution\"),\n    critical: _createSelectableStates(opts, base, dark, solid, muted, \"critical\")\n  };\n}\nfunction _createSelectableStates(opts, base, dark, solid, muted, tone) {\n  return {\n    enabled: opts.selectable({\n      base,\n      dark,\n      solid,\n      muted,\n      state: \"enabled\",\n      tone\n    }),\n    hovered: opts.selectable({\n      base,\n      dark,\n      solid,\n      muted,\n      state: \"hovered\",\n      tone\n    }),\n    pressed: opts.selectable({\n      base,\n      dark,\n      solid,\n      muted,\n      state: \"pressed\",\n      tone\n    }),\n    selected: opts.selectable({\n      base,\n      dark,\n      solid,\n      muted,\n      state: \"selected\",\n      tone\n    }),\n    disabled: opts.selectable({\n      base,\n      dark,\n      solid,\n      muted,\n      state: \"disabled\",\n      tone\n    })\n  };\n}\nfunction createSolidTones(opts, base, dark, name) {\n  return {\n    default: {\n      enabled: opts.solid({\n        base,\n        dark,\n        tone: \"default\",\n        name,\n        state: \"enabled\"\n      }),\n      disabled: opts.solid({\n        base,\n        dark,\n        tone: \"default\",\n        name,\n        state: \"disabled\"\n      }),\n      hovered: opts.solid({\n        base,\n        dark,\n        tone: \"default\",\n        name,\n        state: \"hovered\"\n      }),\n      pressed: opts.solid({\n        base,\n        dark,\n        tone: \"default\",\n        name,\n        state: \"pressed\"\n      }),\n      selected: opts.solid({\n        base,\n        dark,\n        tone: \"default\",\n        name,\n        state: \"selected\"\n      })\n    },\n    transparent: {\n      enabled: opts.solid({\n        base,\n        dark,\n        tone: \"transparent\",\n        name,\n        state: \"enabled\"\n      }),\n      disabled: opts.solid({\n        base,\n        dark,\n        tone: \"transparent\",\n        name,\n        state: \"disabled\"\n      }),\n      hovered: opts.solid({\n        base,\n        dark,\n        tone: \"transparent\",\n        name,\n        state: \"hovered\"\n      }),\n      pressed: opts.solid({\n        base,\n        dark,\n        tone: \"transparent\",\n        name,\n        state: \"pressed\"\n      }),\n      selected: opts.solid({\n        base,\n        dark,\n        tone: \"transparent\",\n        name,\n        state: \"selected\"\n      })\n    },\n    primary: {\n      enabled: opts.solid({\n        base,\n        dark,\n        tone: \"primary\",\n        name,\n        state: \"enabled\"\n      }),\n      disabled: opts.solid({\n        base,\n        dark,\n        tone: \"primary\",\n        name,\n        state: \"disabled\"\n      }),\n      hovered: opts.solid({\n        base,\n        dark,\n        tone: \"primary\",\n        name,\n        state: \"hovered\"\n      }),\n      pressed: opts.solid({\n        base,\n        dark,\n        tone: \"primary\",\n        name,\n        state: \"pressed\"\n      }),\n      selected: opts.solid({\n        base,\n        dark,\n        tone: \"primary\",\n        name,\n        state: \"selected\"\n      })\n    },\n    positive: {\n      enabled: opts.solid({\n        base,\n        dark,\n        tone: \"positive\",\n        name,\n        state: \"enabled\"\n      }),\n      disabled: opts.solid({\n        base,\n        dark,\n        tone: \"positive\",\n        name,\n        state: \"disabled\"\n      }),\n      hovered: opts.solid({\n        base,\n        dark,\n        tone: \"positive\",\n        name,\n        state: \"hovered\"\n      }),\n      pressed: opts.solid({\n        base,\n        dark,\n        tone: \"positive\",\n        name,\n        state: \"pressed\"\n      }),\n      selected: opts.solid({\n        base,\n        dark,\n        tone: \"positive\",\n        name,\n        state: \"selected\"\n      })\n    },\n    caution: {\n      enabled: opts.solid({\n        base,\n        dark,\n        tone: \"caution\",\n        name,\n        state: \"enabled\"\n      }),\n      disabled: opts.solid({\n        base,\n        dark,\n        tone: \"caution\",\n        name,\n        state: \"disabled\"\n      }),\n      hovered: opts.solid({\n        base,\n        dark,\n        tone: \"caution\",\n        name,\n        state: \"hovered\"\n      }),\n      pressed: opts.solid({\n        base,\n        dark,\n        tone: \"caution\",\n        name,\n        state: \"pressed\"\n      }),\n      selected: opts.solid({\n        base,\n        dark,\n        tone: \"caution\",\n        name,\n        state: \"selected\"\n      })\n    },\n    critical: {\n      enabled: opts.solid({\n        base,\n        dark,\n        tone: \"critical\",\n        name,\n        state: \"enabled\"\n      }),\n      disabled: opts.solid({\n        base,\n        dark,\n        tone: \"critical\",\n        name,\n        state: \"disabled\"\n      }),\n      hovered: opts.solid({\n        base,\n        dark,\n        tone: \"critical\",\n        name,\n        state: \"hovered\"\n      }),\n      pressed: opts.solid({\n        base,\n        dark,\n        tone: \"critical\",\n        name,\n        state: \"pressed\"\n      }),\n      selected: opts.solid({\n        base,\n        dark,\n        tone: \"critical\",\n        name,\n        state: \"selected\"\n      })\n    }\n  };\n}\nfunction createButtonTones(opts, base, dark, solid, muted, mode) {\n  return {\n    default: opts.button({\n      base,\n      dark,\n      solid: solid.default,\n      muted: muted.default,\n      mode\n    }),\n    primary: opts.button({\n      base,\n      dark,\n      solid: solid.primary,\n      muted: muted.primary,\n      mode\n    }),\n    positive: opts.button({\n      base,\n      dark,\n      solid: solid.positive,\n      muted: muted.positive,\n      mode\n    }),\n    caution: opts.button({\n      base,\n      dark,\n      solid: solid.caution,\n      muted: muted.caution,\n      mode\n    }),\n    critical: opts.button({\n      base,\n      dark,\n      solid: solid.critical,\n      muted: muted.critical,\n      mode\n    })\n  };\n}\nfunction createButtonModes(opts, base, dark, solid, muted) {\n  return {\n    default: createButtonTones(opts, base, dark, solid, muted, \"default\"),\n    ghost: createButtonTones(opts, base, dark, solid, muted, \"ghost\"),\n    bleed: createButtonTones(opts, base, dark, solid, muted, \"bleed\")\n  };\n}\nfunction createCardStates(opts, base, dark, name, solid, muted) {\n  return {\n    enabled: opts.card({\n      base,\n      dark,\n      name,\n      state: \"enabled\",\n      solid,\n      muted\n    }),\n    disabled: opts.card({\n      base,\n      dark,\n      name,\n      state: \"disabled\",\n      solid,\n      muted\n    }),\n    hovered: opts.card({\n      base,\n      dark,\n      name,\n      state: \"hovered\",\n      solid,\n      muted\n    }),\n    pressed: opts.card({\n      base,\n      dark,\n      name,\n      state: \"pressed\",\n      solid,\n      muted\n    }),\n    selected: opts.card({\n      base,\n      dark,\n      name,\n      state: \"selected\",\n      solid,\n      muted\n    })\n  };\n}\nconst black = \"hsl(0, 0%, 0%)\", white = \"hsl(0, 0%, 100%)\", colors = {\n  default: {\n    lightest: \"hsl(0, 0%, 95%)\",\n    lighter: \"hsl(0, 0%, 70%)\",\n    light: \"hsl(0, 0%, 65%)\",\n    base: \"hsl(0, 0%, 50%)\",\n    dark: \"hsl(0, 0%, 35%)\",\n    darker: \"hsl(0, 0%, 20%)\",\n    darkest: \"hsl(0, 0%, 5%)\"\n  },\n  transparent: {\n    lightest: \"hsl(240, 100%, 95%)\",\n    lighter: \"hsl(240, 100%, 70%)\",\n    light: \"hsl(240, 100%, 65%)\",\n    base: \"hsl(240, 100%, 50%)\",\n    dark: \"hsl(240, 100%, 35%)\",\n    darker: \"hsl(240, 100%, 20%)\",\n    darkest: \"hsl(240, 100%, 5%)\"\n  },\n  primary: {\n    lightest: \"hsl(240, 100%, 95%)\",\n    lighter: \"hsl(240, 100%, 70%)\",\n    light: \"hsl(240, 100%, 65%)\",\n    base: \"hsl(240, 100%, 50%)\",\n    dark: \"hsl(240, 100%, 35%)\",\n    darker: \"hsl(240, 100%, 20%)\",\n    darkest: \"hsl(240, 100%, 5%)\"\n  },\n  positive: {\n    lightest: \"hsl(120, 100%, 95%)\",\n    lighter: \"hsl(120, 100%, 70%)\",\n    light: \"hsl(120, 100%, 65%)\",\n    base: \"hsl(120, 100%, 50%)\",\n    dark: \"hsl(120, 100%, 35%)\",\n    darker: \"hsl(120, 100%, 20%)\",\n    darkest: \"hsl(120, 100%, 5%)\"\n  },\n  caution: {\n    lightest: \"hsl(60, 100%, 95%)\",\n    lighter: \"hsl(60, 100%, 70%)\",\n    light: \"hsl(60, 100%, 65%)\",\n    base: \"hsl(60, 100%, 50%)\",\n    dark: \"hsl(60, 100%, 35%)\",\n    darker: \"hsl(60, 100%, 20%)\",\n    darkest: \"hsl(60, 100%, 5%)\"\n  },\n  critical: {\n    lightest: \"hsl(0, 100%, 95%)\",\n    lighter: \"hsl(0, 100%, 70%)\",\n    light: \"hsl(0, 100%, 65%)\",\n    base: \"hsl(0, 100%, 50%)\",\n    dark: \"hsl(0, 100%, 35%)\",\n    darker: \"hsl(0, 100%, 20%)\",\n    darkest: \"hsl(0, 100%, 5%)\"\n  }\n}, spots = {\n  gray: \"hsl(0, 0%, 50%)\",\n  red: \"hsl(0, 100%, 50%)\",\n  orange: \"hsl(30, 100%, 50%)\",\n  yellow: \"hsl(60, 100%, 50%)\",\n  green: \"hsl(120, 100%, 50%)\",\n  cyan: \"hsl(180, 100%, 50%)\",\n  blue: \"hsl(240, 100%, 50%)\",\n  purple: \"hsl(270, 100%, 50%)\",\n  magenta: \"hsl(300, 100%, 50%)\"\n}, tones = {\n  transparent: {\n    bg: [colors.transparent.darkest, colors.transparent.lightest],\n    fg: [colors.transparent.lightest, colors.transparent.darkest],\n    border: [colors.transparent.darker, colors.transparent.lighter],\n    focusRing: [colors.transparent.base, colors.transparent.base]\n  },\n  primary: {\n    bg: [colors.primary.darkest, colors.primary.lightest],\n    fg: [colors.primary.lightest, colors.primary.darkest],\n    border: [colors.primary.darker, colors.primary.lighter],\n    focusRing: [colors.primary.base, colors.primary.base]\n  },\n  positive: {\n    bg: [colors.positive.darkest, colors.positive.lightest],\n    fg: [colors.positive.lightest, colors.positive.darkest],\n    border: [colors.positive.darker, colors.positive.lighter],\n    focusRing: [colors.positive.base, colors.positive.base]\n  },\n  caution: {\n    bg: [colors.caution.darkest, colors.caution.lightest],\n    fg: [colors.caution.lightest, colors.caution.darkest],\n    border: [colors.caution.darker, colors.caution.lighter],\n    focusRing: [colors.caution.base, colors.caution.base]\n  },\n  critical: {\n    bg: [colors.critical.darkest, colors.critical.lightest],\n    fg: [colors.critical.lightest, colors.critical.darkest],\n    border: [colors.critical.darker, colors.critical.lighter],\n    focusRing: [colors.critical.base, colors.critical.base]\n  }\n}, defaultOpts = {\n  base: ({\n    dark,\n    name\n  }) => name === \"default\" ? {\n    bg: dark ? black : white,\n    fg: dark ? white : black,\n    border: dark ? colors.default.darkest : colors.default.lightest,\n    focusRing: colors.primary.base,\n    shadow: {\n      outline: black,\n      umbra: black,\n      penumbra: black,\n      ambient: black\n    },\n    skeleton: {\n      from: dark ? white : black,\n      to: dark ? white : black\n    }\n  } : {\n    bg: tones[name].bg[dark ? 0 : 1],\n    fg: tones[name].fg[dark ? 0 : 1],\n    border: tones[name].border[dark ? 0 : 1],\n    focusRing: tones[name].focusRing[dark ? 0 : 1],\n    shadow: {\n      outline: black,\n      umbra: black,\n      penumbra: black,\n      ambient: black\n    },\n    skeleton: {\n      from: dark ? white : black,\n      to: dark ? white : black\n    }\n  },\n  solid: ({\n    base,\n    dark,\n    state,\n    tone\n  }) => {\n    const color2 = colors[tone];\n    return state === \"hovered\" ? {\n      bg: dark ? color2.light : color2.dark,\n      bg2: dark ? color2.light : color2.dark,\n      border: dark ? color2.lighter : color2.darker,\n      fg: dark ? color2.darkest : color2.lightest,\n      icon: dark ? color2.darkest : color2.lightest,\n      muted: {\n        fg: black\n      },\n      accent: {\n        fg: black\n      },\n      link: {\n        fg: black\n      },\n      code: {\n        bg: black,\n        fg: black\n      },\n      skeleton: base.skeleton\n    } : {\n      bg: color2.base,\n      bg2: color2.base,\n      border: dark ? color2.light : color2.dark,\n      fg: dark ? color2.darkest : color2.lightest,\n      icon: dark ? color2.darkest : color2.lightest,\n      muted: {\n        fg: black\n      },\n      accent: {\n        fg: black\n      },\n      link: {\n        fg: black\n      },\n      code: {\n        bg: black,\n        fg: black\n      },\n      skeleton: base.skeleton\n    };\n  },\n  muted: ({\n    base,\n    dark,\n    state,\n    tone\n  }) => {\n    const color2 = colors[tone];\n    return state === \"hovered\" ? {\n      bg: dark ? color2.darker : color2.lighter,\n      bg2: dark ? color2.darker : color2.lighter,\n      border: dark ? color2.lighter : color2.darker,\n      fg: dark ? color2.lightest : color2.darkest,\n      icon: dark ? color2.lightest : color2.darkest,\n      muted: {\n        fg: black\n      },\n      accent: {\n        fg: black\n      },\n      link: {\n        fg: black\n      },\n      code: {\n        bg: black,\n        fg: black\n      },\n      skeleton: base.skeleton\n    } : {\n      bg: dark ? color2.darkest : color2.lightest,\n      bg2: dark ? color2.darkest : color2.lightest,\n      border: dark ? color2.darker : color2.lighter,\n      fg: dark ? color2.lighter : color2.darker,\n      icon: dark ? color2.lighter : color2.darker,\n      muted: {\n        fg: black\n      },\n      accent: {\n        fg: black\n      },\n      link: {\n        fg: black\n      },\n      code: {\n        bg: black,\n        fg: black\n      },\n      skeleton: base.skeleton\n    };\n  },\n  button: ({\n    base,\n    mode,\n    muted,\n    solid\n  }) => mode === \"bleed\" ? {\n    ...muted,\n    enabled: {\n      bg: \"transparent\",\n      bg2: \"transparent\",\n      fg: muted.enabled.fg,\n      icon: muted.enabled.fg,\n      border: \"transparent\",\n      muted: {\n        fg: black\n      },\n      accent: {\n        fg: black\n      },\n      link: {\n        fg: black\n      },\n      code: {\n        bg: black,\n        fg: black\n      },\n      skeleton: base.skeleton\n    },\n    hovered: {\n      bg: muted.enabled.bg,\n      bg2: muted.enabled.bg,\n      fg: muted.hovered.fg,\n      icon: muted.hovered.fg,\n      border: \"transparent\",\n      muted: {\n        fg: black\n      },\n      accent: {\n        fg: black\n      },\n      link: {\n        fg: black\n      },\n      code: {\n        bg: black,\n        fg: black\n      },\n      skeleton: base.skeleton\n    }\n  } : mode === \"ghost\" ? {\n    ...solid,\n    enabled: muted.enabled\n  } : solid,\n  card: ({\n    base\n  }) => ({\n    bg: black,\n    bg2: black,\n    fg: black,\n    icon: black,\n    border: black,\n    muted: {\n      fg: black\n    },\n    accent: {\n      fg: black\n    },\n    link: {\n      fg: black\n    },\n    code: {\n      bg: black,\n      fg: black\n    },\n    skeleton: base.skeleton\n  }),\n  input: () => ({\n    bg: black,\n    bg2: black,\n    fg: black,\n    border: black,\n    placeholder: black\n  }),\n  selectable: ({\n    muted,\n    state,\n    tone\n  }) => muted[tone][state],\n  spot: ({\n    key\n  }) => spots[key],\n  syntax: () => ({\n    atrule: black,\n    attrName: black,\n    attrValue: black,\n    attribute: black,\n    boolean: black,\n    builtin: black,\n    cdata: black,\n    char: black,\n    class: black,\n    className: black,\n    comment: black,\n    constant: black,\n    deleted: black,\n    doctype: black,\n    entity: black,\n    function: black,\n    hexcode: black,\n    id: black,\n    important: black,\n    inserted: black,\n    keyword: black,\n    number: black,\n    operator: black,\n    prolog: black,\n    property: black,\n    pseudoClass: black,\n    pseudoElement: black,\n    punctuation: black,\n    regex: black,\n    selector: black,\n    string: black,\n    symbol: black,\n    tag: black,\n    unit: black,\n    url: black,\n    variable: black\n  })\n};\nfunction createInputModes(opts, base, dark, solid, muted) {\n  return {\n    default: {\n      enabled: opts.input({\n        base,\n        dark,\n        mode: \"default\",\n        state: \"enabled\",\n        solid: solid.default,\n        muted: muted.default\n      }),\n      disabled: opts.input({\n        base,\n        dark,\n        mode: \"default\",\n        state: \"disabled\",\n        solid: solid.default,\n        muted: muted.default\n      }),\n      hovered: opts.input({\n        base,\n        dark,\n        mode: \"default\",\n        state: \"hovered\",\n        solid: solid.default,\n        muted: muted.default\n      }),\n      readOnly: opts.input({\n        base,\n        dark,\n        mode: \"default\",\n        state: \"readOnly\",\n        solid: solid.default,\n        muted: muted.default\n      })\n    },\n    invalid: {\n      enabled: opts.input({\n        base,\n        dark,\n        mode: \"invalid\",\n        state: \"enabled\",\n        solid: solid.default,\n        muted: muted.default\n      }),\n      disabled: opts.input({\n        base,\n        dark,\n        mode: \"invalid\",\n        state: \"disabled\",\n        solid: solid.default,\n        muted: muted.default\n      }),\n      hovered: opts.input({\n        base,\n        dark,\n        mode: \"invalid\",\n        state: \"hovered\",\n        solid: solid.default,\n        muted: muted.default\n      }),\n      readOnly: opts.input({\n        base,\n        dark,\n        mode: \"invalid\",\n        state: \"readOnly\",\n        solid: solid.default,\n        muted: muted.default\n      })\n    }\n  };\n}\nfunction createMutedTones(opts, base, dark, name) {\n  return {\n    default: {\n      enabled: opts.muted({\n        base,\n        dark,\n        tone: \"default\",\n        name,\n        state: \"enabled\"\n      }),\n      disabled: opts.muted({\n        base,\n        dark,\n        tone: \"default\",\n        name,\n        state: \"disabled\"\n      }),\n      hovered: opts.muted({\n        base,\n        dark,\n        tone: \"default\",\n        name,\n        state: \"hovered\"\n      }),\n      pressed: opts.muted({\n        base,\n        dark,\n        tone: \"default\",\n        name,\n        state: \"pressed\"\n      }),\n      selected: opts.muted({\n        base,\n        dark,\n        tone: \"default\",\n        name,\n        state: \"selected\"\n      })\n    },\n    transparent: {\n      enabled: opts.muted({\n        base,\n        dark,\n        tone: \"transparent\",\n        name,\n        state: \"enabled\"\n      }),\n      disabled: opts.muted({\n        base,\n        dark,\n        tone: \"transparent\",\n        name,\n        state: \"disabled\"\n      }),\n      hovered: opts.muted({\n        base,\n        dark,\n        tone: \"transparent\",\n        name,\n        state: \"hovered\"\n      }),\n      pressed: opts.muted({\n        base,\n        dark,\n        tone: \"transparent\",\n        name,\n        state: \"pressed\"\n      }),\n      selected: opts.muted({\n        base,\n        dark,\n        tone: \"transparent\",\n        name,\n        state: \"selected\"\n      })\n    },\n    primary: {\n      enabled: opts.muted({\n        base,\n        dark,\n        tone: \"primary\",\n        name,\n        state: \"enabled\"\n      }),\n      disabled: opts.muted({\n        base,\n        dark,\n        tone: \"primary\",\n        name,\n        state: \"disabled\"\n      }),\n      hovered: opts.muted({\n        base,\n        dark,\n        tone: \"primary\",\n        name,\n        state: \"hovered\"\n      }),\n      pressed: opts.muted({\n        base,\n        dark,\n        tone: \"primary\",\n        name,\n        state: \"pressed\"\n      }),\n      selected: opts.muted({\n        base,\n        dark,\n        tone: \"primary\",\n        name,\n        state: \"selected\"\n      })\n    },\n    positive: {\n      enabled: opts.muted({\n        base,\n        dark,\n        tone: \"positive\",\n        name,\n        state: \"enabled\"\n      }),\n      disabled: opts.muted({\n        base,\n        dark,\n        tone: \"positive\",\n        name,\n        state: \"disabled\"\n      }),\n      hovered: opts.muted({\n        base,\n        dark,\n        tone: \"positive\",\n        name,\n        state: \"hovered\"\n      }),\n      pressed: opts.muted({\n        base,\n        dark,\n        tone: \"positive\",\n        name,\n        state: \"pressed\"\n      }),\n      selected: opts.muted({\n        base,\n        dark,\n        tone: \"positive\",\n        name,\n        state: \"selected\"\n      })\n    },\n    caution: {\n      enabled: opts.muted({\n        base,\n        dark,\n        tone: \"caution\",\n        name,\n        state: \"enabled\"\n      }),\n      disabled: opts.muted({\n        base,\n        dark,\n        tone: \"caution\",\n        name,\n        state: \"disabled\"\n      }),\n      hovered: opts.muted({\n        base,\n        dark,\n        tone: \"caution\",\n        name,\n        state: \"hovered\"\n      }),\n      pressed: opts.muted({\n        base,\n        dark,\n        tone: \"caution\",\n        name,\n        state: \"pressed\"\n      }),\n      selected: opts.muted({\n        base,\n        dark,\n        tone: \"caution\",\n        name,\n        state: \"selected\"\n      })\n    },\n    critical: {\n      enabled: opts.muted({\n        base,\n        dark,\n        tone: \"critical\",\n        name,\n        state: \"enabled\"\n      }),\n      disabled: opts.muted({\n        base,\n        dark,\n        tone: \"critical\",\n        name,\n        state: \"disabled\"\n      }),\n      hovered: opts.muted({\n        base,\n        dark,\n        tone: \"critical\",\n        name,\n        state: \"hovered\"\n      }),\n      pressed: opts.muted({\n        base,\n        dark,\n        tone: \"critical\",\n        name,\n        state: \"pressed\"\n      }),\n      selected: opts.muted({\n        base,\n        dark,\n        tone: \"critical\",\n        name,\n        state: \"selected\"\n      })\n    }\n  };\n}\nfunction createSpot(opts, base, dark) {\n  return {\n    gray: opts.spot({\n      base,\n      dark,\n      key: \"gray\"\n    }),\n    blue: opts.spot({\n      base,\n      dark,\n      key: \"blue\"\n    }),\n    purple: opts.spot({\n      base,\n      dark,\n      key: \"purple\"\n    }),\n    magenta: opts.spot({\n      base,\n      dark,\n      key: \"magenta\"\n    }),\n    red: opts.spot({\n      base,\n      dark,\n      key: \"red\"\n    }),\n    orange: opts.spot({\n      base,\n      dark,\n      key: \"orange\"\n    }),\n    yellow: opts.spot({\n      base,\n      dark,\n      key: \"yellow\"\n    }),\n    green: opts.spot({\n      base,\n      dark,\n      key: \"green\"\n    }),\n    cyan: opts.spot({\n      base,\n      dark,\n      key: \"cyan\"\n    })\n  };\n}\nfunction createColorTheme(partialOpts = {}) {\n  const builders = {\n    ...defaultOpts,\n    ...partialOpts\n  };\n  return {\n    light: _createColorScheme(builders, !1),\n    dark: _createColorScheme(builders, !0)\n  };\n}\nfunction _createColorScheme(opts, dark) {\n  return {\n    default: _createColor(opts, dark, \"default\"),\n    transparent: _createColor(opts, dark, \"transparent\"),\n    primary: _createColor(opts, dark, \"primary\"),\n    positive: _createColor(opts, dark, \"positive\"),\n    caution: _createColor(opts, dark, \"caution\"),\n    critical: _createColor(opts, dark, \"critical\")\n  };\n}\nfunction _createColor(opts, dark, name) {\n  const base = opts.base({\n    dark,\n    name\n  }), solid = createSolidTones(opts, base, dark, name), muted = createMutedTones(opts, base, dark, name);\n  return {\n    base,\n    button: createButtonModes(opts, base, dark, solid, muted),\n    card: createCardStates(opts, base, dark, name, solid, muted),\n    dark,\n    input: createInputModes(opts, base, dark, solid, muted),\n    selectable: createSelectableTones(opts, base, dark, solid, muted),\n    spot: createSpot(opts, base, dark),\n    syntax: opts.syntax({\n      base,\n      dark\n    }),\n    solid,\n    muted\n  };\n}\nconst defaultThemeFonts = {\n  code: {\n    family: \"ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace\",\n    weights: {\n      regular: 400,\n      medium: 500,\n      semibold: 600,\n      bold: 700\n    },\n    sizes: [{\n      ascenderHeight: 4,\n      descenderHeight: 4,\n      fontSize: 10,\n      iconSize: 17,\n      lineHeight: 15,\n      letterSpacing: 0\n    }, {\n      ascenderHeight: 5,\n      descenderHeight: 5,\n      fontSize: 13,\n      iconSize: 21,\n      lineHeight: 19,\n      letterSpacing: 0\n    }, {\n      ascenderHeight: 6,\n      descenderHeight: 6,\n      fontSize: 16,\n      iconSize: 25,\n      lineHeight: 23,\n      letterSpacing: 0\n    }, {\n      ascenderHeight: 7,\n      descenderHeight: 7,\n      fontSize: 19,\n      iconSize: 29,\n      lineHeight: 27,\n      letterSpacing: 0\n    }, {\n      ascenderHeight: 8,\n      descenderHeight: 8,\n      fontSize: 22,\n      iconSize: 33,\n      lineHeight: 31,\n      letterSpacing: 0\n    }]\n  },\n  heading: {\n    family: 'Inter, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Liberation Sans\", Helvetica, Arial, system-ui, sans-serif',\n    weights: {\n      regular: 700,\n      medium: 800,\n      semibold: 900,\n      bold: 900\n    },\n    sizes: [{\n      ascenderHeight: 5,\n      descenderHeight: 5,\n      fontSize: 13,\n      iconSize: 17,\n      lineHeight: 19,\n      letterSpacing: 0\n    }, {\n      ascenderHeight: 6,\n      descenderHeight: 6,\n      fontSize: 16,\n      iconSize: 25,\n      lineHeight: 23,\n      letterSpacing: 0\n    }, {\n      ascenderHeight: 7,\n      descenderHeight: 7,\n      fontSize: 21,\n      iconSize: 33,\n      lineHeight: 29,\n      letterSpacing: 0\n    }, {\n      ascenderHeight: 8,\n      descenderHeight: 8,\n      fontSize: 27,\n      iconSize: 41,\n      lineHeight: 35,\n      letterSpacing: 0\n    }, {\n      ascenderHeight: 9.5,\n      descenderHeight: 8.5,\n      fontSize: 33,\n      iconSize: 49,\n      lineHeight: 41,\n      letterSpacing: 0\n    }, {\n      ascenderHeight: 10.5,\n      descenderHeight: 9.5,\n      fontSize: 38,\n      iconSize: 53,\n      lineHeight: 47,\n      letterSpacing: 0\n    }]\n  },\n  label: {\n    family: 'Inter, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Liberation Sans\", system-ui, sans-serif',\n    weights: {\n      regular: 600,\n      medium: 700,\n      semibold: 800,\n      bold: 900\n    },\n    sizes: [{\n      ascenderHeight: 2,\n      descenderHeight: 2,\n      fontSize: 8.1,\n      iconSize: 13,\n      lineHeight: 10,\n      letterSpacing: 0.5\n    }, {\n      ascenderHeight: 2,\n      descenderHeight: 2,\n      fontSize: 9.5,\n      iconSize: 15,\n      lineHeight: 11,\n      letterSpacing: 0.5\n    }, {\n      ascenderHeight: 2,\n      descenderHeight: 2,\n      fontSize: 10.8,\n      iconSize: 17,\n      lineHeight: 12,\n      letterSpacing: 0.5\n    }, {\n      ascenderHeight: 2,\n      descenderHeight: 2,\n      fontSize: 12.25,\n      iconSize: 19,\n      lineHeight: 13,\n      letterSpacing: 0.5\n    }, {\n      ascenderHeight: 2,\n      descenderHeight: 2,\n      fontSize: 13.6,\n      iconSize: 21,\n      lineHeight: 14,\n      letterSpacing: 0.5\n    }, {\n      ascenderHeight: 2,\n      descenderHeight: 2,\n      fontSize: 15,\n      iconSize: 23,\n      lineHeight: 15,\n      letterSpacing: 0.5\n    }]\n  },\n  text: {\n    family: 'Inter, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Liberation Sans\", Helvetica, Arial, system-ui, sans-serif',\n    weights: {\n      regular: 400,\n      medium: 500,\n      semibold: 600,\n      bold: 700\n    },\n    sizes: [{\n      ascenderHeight: 4,\n      descenderHeight: 4,\n      fontSize: 10,\n      iconSize: 17,\n      lineHeight: 15,\n      letterSpacing: 0\n    }, {\n      ascenderHeight: 5,\n      descenderHeight: 5,\n      fontSize: 13,\n      iconSize: 21,\n      lineHeight: 19,\n      letterSpacing: 0\n    }, {\n      ascenderHeight: 6,\n      descenderHeight: 6,\n      fontSize: 15,\n      iconSize: 25,\n      lineHeight: 23,\n      letterSpacing: 0\n    }, {\n      ascenderHeight: 7,\n      descenderHeight: 7,\n      fontSize: 18,\n      iconSize: 29,\n      lineHeight: 27,\n      letterSpacing: 0\n    }, {\n      ascenderHeight: 8,\n      descenderHeight: 8,\n      fontSize: 21,\n      iconSize: 33,\n      lineHeight: 31,\n      letterSpacing: 0\n    }]\n  }\n};\nfunction is_v0(themeProp) {\n  return themeProp._version === 0;\n}\nfunction is_v2(themeProp) {\n  return themeProp._version === 2;\n}\nconst cache$2 = /* @__PURE__ */ new WeakMap();\nfunction v0_v2(v0) {\n  if (v0.v2) return v0.v2;\n  const cached_v2 = cache$2.get(v0);\n  if (cached_v2) return cached_v2;\n  const {\n    avatar,\n    button,\n    color: color2,\n    container,\n    // eslint-disable-next-line @typescript-eslint/no-unused-vars\n    focusRing: _unused_focusRing,\n    fonts: font,\n    input,\n    layer,\n    media,\n    radius,\n    shadows: shadow,\n    space,\n    styles: style\n  } = v0, v2 = {\n    _version: 2,\n    avatar: {\n      ...defaultThemeConfig.avatar,\n      ...avatar\n    },\n    button: {\n      ...defaultThemeConfig.button,\n      ...button\n    },\n    card: defaultThemeConfig.card,\n    color: {\n      light: {\n        transparent: themeColor_v0_v2(color2.light.transparent),\n        default: themeColor_v0_v2(color2.light.default),\n        neutral: themeColor_v0_v2(color2.light.transparent),\n        primary: themeColor_v0_v2(color2.light.primary),\n        suggest: themeColor_v0_v2(color2.light.primary),\n        positive: themeColor_v0_v2(color2.light.positive),\n        caution: themeColor_v0_v2(color2.light.caution),\n        critical: themeColor_v0_v2(color2.light.critical)\n      },\n      dark: {\n        transparent: themeColor_v0_v2(color2.dark.transparent),\n        default: themeColor_v0_v2(color2.dark.default),\n        neutral: themeColor_v0_v2(color2.dark.transparent),\n        primary: themeColor_v0_v2(color2.dark.primary),\n        suggest: themeColor_v0_v2(color2.dark.primary),\n        positive: themeColor_v0_v2(color2.dark.positive),\n        caution: themeColor_v0_v2(color2.dark.caution),\n        critical: themeColor_v0_v2(color2.dark.critical)\n      }\n    },\n    container,\n    font,\n    input: {\n      ...defaultThemeConfig.input,\n      ...input,\n      checkbox: {\n        ...defaultThemeConfig.input.checkbox,\n        ...input.checkbox\n      },\n      radio: {\n        ...defaultThemeConfig.input.radio,\n        ...input.radio\n      },\n      switch: {\n        ...defaultThemeConfig.input.switch,\n        ...input.switch\n      }\n    },\n    layer: layer ?? defaultThemeConfig.layer,\n    media,\n    radius,\n    shadow,\n    space,\n    style\n  };\n  return cache$2.set(v0, v2), v2;\n}\nconst cache$1 = /* @__PURE__ */ new WeakMap();\nfunction v2_v0(v2) {\n  const cachedTheme = cache$1.get(v2);\n  if (cachedTheme) return cachedTheme;\n  const {\n    avatar,\n    button,\n    color: color2,\n    container,\n    font: fonts,\n    input,\n    media,\n    radius,\n    shadow: shadows,\n    space,\n    style: styles\n  } = v2;\n  return {\n    _version: 0,\n    avatar,\n    button,\n    container,\n    color: {\n      light: {\n        transparent: themeColor_v2_v0(color2.light.transparent),\n        default: themeColor_v2_v0(color2.light.default),\n        primary: themeColor_v2_v0(color2.light.primary),\n        positive: themeColor_v2_v0(color2.light.positive),\n        caution: themeColor_v2_v0(color2.light.caution),\n        critical: themeColor_v2_v0(color2.light.critical)\n      },\n      dark: {\n        transparent: themeColor_v2_v0(color2.dark.transparent),\n        default: themeColor_v2_v0(color2.dark.default),\n        primary: themeColor_v2_v0(color2.dark.primary),\n        positive: themeColor_v2_v0(color2.dark.positive),\n        caution: themeColor_v2_v0(color2.dark.caution),\n        critical: themeColor_v2_v0(color2.dark.critical)\n      }\n    },\n    focusRing: input.text.focusRing,\n    fonts,\n    input,\n    media,\n    radius,\n    shadows,\n    space,\n    styles,\n    v2\n  };\n}\nfunction themeColor_v2_v0(color_v2) {\n  return {\n    base: {\n      bg: color_v2.bg,\n      fg: color_v2.fg,\n      border: color_v2.border,\n      focusRing: color_v2.focusRing,\n      shadow: color_v2.shadow\n    },\n    button: color_v2.button,\n    card: color_v2.selectable.default,\n    dark: color_v2._dark,\n    input: {\n      default: inputStatesThemeColor_v2_v0(color_v2.input.default),\n      invalid: inputStatesThemeColor_v2_v0(color_v2.input.invalid)\n    },\n    muted: {\n      ...color_v2.button.ghost,\n      transparent: color_v2.button.ghost.default\n    },\n    solid: {\n      ...color_v2.button.default,\n      transparent: color_v2.button.default.default\n    },\n    selectable: color_v2.selectable,\n    spot: {\n      gray: color_v2.avatar.gray.bg,\n      blue: color_v2.avatar.blue.bg,\n      purple: color_v2.avatar.purple.bg,\n      magenta: color_v2.avatar.magenta.bg,\n      red: color_v2.avatar.red.bg,\n      orange: color_v2.avatar.orange.bg,\n      yellow: color_v2.avatar.yellow.bg,\n      green: color_v2.avatar.green.bg,\n      cyan: color_v2.avatar.cyan.bg\n    },\n    syntax: color_v2.syntax\n  };\n}\nfunction inputStatesThemeColor_v2_v0(t) {\n  return {\n    enabled: inputStateThemeColor_v2_v0(t.enabled),\n    disabled: inputStateThemeColor_v2_v0(t.disabled),\n    readOnly: inputStateThemeColor_v2_v0(t.readOnly),\n    hovered: inputStateThemeColor_v2_v0(t.hovered)\n  };\n}\nfunction inputStateThemeColor_v2_v0(t) {\n  return {\n    bg: t.bg,\n    bg2: t.muted.bg,\n    border: t.border,\n    fg: t.fg,\n    placeholder: t.placeholder\n  };\n}\nconst THEME_COLOR_SCHEMES = [\"light\", \"dark\"], THEME_COLOR_BLEND_MODES = [\"multiply\", \"screen\"], THEME_COLOR_CARD_TONES = [\n  \"transparent\",\n  \"default\",\n  \"neutral\",\n  \"primary\",\n  // deprecated\n  \"suggest\",\n  \"positive\",\n  \"caution\",\n  \"critical\"\n], THEME_COLOR_STATE_TONES = [\n  \"default\",\n  \"neutral\",\n  \"primary\",\n  // deprecated\n  \"suggest\",\n  \"positive\",\n  \"caution\",\n  \"critical\"\n], THEME_COLOR_STATES = [\"enabled\", \"hovered\", \"pressed\", \"selected\", \"disabled\"], THEME_COLOR_BUTTON_MODES = [\"default\", \"ghost\", \"bleed\"], THEME_COLOR_INPUT_MODES = [\"default\", \"invalid\"], THEME_COLOR_INPUT_STATES = [\"enabled\", \"hovered\", \"readOnly\", \"disabled\"], THEME_COLOR_AVATAR_COLORS = COLOR_HUES;\nfunction isColorBlendModeValue(str) {\n  return THEME_COLOR_BLEND_MODES.includes(str);\n}\nfunction isColorHueKey(str) {\n  return COLOR_HUES.includes(str);\n}\nfunction isColorTintKey(str) {\n  return COLOR_TINTS.includes(str);\n}\nfunction isColorButtonMode(str) {\n  return THEME_COLOR_BUTTON_MODES.includes(str);\n}\nconst COLOR_CONFIG_STATE_KEYS = [\"_hue\", \"bg\", \"fg\", \"border\", \"focusRing\", \"muted/fg\", \"accent/fg\", \"link/fg\", \"code/bg\", \"code/fg\", \"skeleton/from\", \"skeleton/to\", \"status/dot\", \"status/icon\"], COLOR_CONFIG_CARD_KEYS = [...COLOR_CONFIG_STATE_KEYS, \"_hue\", \"bg\", \"fg\", \"border\", \"focusRing\", \"shadow/outline\", \"shadow/umbra\", \"shadow/penumbra\", \"shadow/ambient\"], COLOR_CONFIG_BLEND_KEYS = [\"_blend\"], COLOR_CONFIG_AVATAR_COLORS = [\"*\", ...THEME_COLOR_AVATAR_COLORS], COLOR_CONFIG_CARD_TONES = [\"*\", ...THEME_COLOR_CARD_TONES], COLOR_CONFIG_STATE_TONES = [\"*\", ...THEME_COLOR_STATE_TONES], COLOR_CONFIG_STATES = [\"*\", ...THEME_COLOR_STATES], COLOR_CONFIG_INPUT_MODES = [\"*\", ...THEME_COLOR_INPUT_MODES], COLOR_CONFIG_INPUT_STATES = [\"*\", ...THEME_COLOR_INPUT_STATES];\nfunction parseTokenKey(str) {\n  const segments = str.split(\"/\"), segment0 = segments.shift() || \"\";\n  if (isColorConfigBaseTone(segment0)) {\n    const key = segments.join(\"/\");\n    if (isColorConfigBaseKey(key))\n      return {\n        type: \"base\",\n        tone: segment0,\n        key\n      };\n    if (isColorConfigBlendKey(key))\n      return {\n        type: \"base\",\n        tone: segment0,\n        key\n      };\n  }\n  if (segment0 === \"button\") {\n    const segment1 = segments.shift() || \"\";\n    if (isColorConfigStateTone(segment1)) {\n      const segment2 = segments.shift() || \"\";\n      if (isColorButtonMode(segment2)) {\n        const key = segments.join(\"/\");\n        if (isColorConfigStateKey(key))\n          return {\n            type: \"button\",\n            tone: segment1,\n            mode: segment2,\n            key\n          };\n        if (isColorConfigBlendKey(key))\n          return {\n            type: \"button\",\n            tone: segment1,\n            mode: segment2,\n            key\n          };\n      }\n    }\n  }\n}\nfunction isColorMixPercentValue(str) {\n  return /^\\d+%$/.test(str);\n}\nfunction parseTokenValue(str) {\n  const segments = str.split(\"/\");\n  let nextSegment = segments.shift() || \"\";\n  const [segment0, segment0mix] = nextSegment.split(\" \");\n  if (isColorTintKey(segment0)) {\n    const tint = segment0, segment1 = segments.shift() || \"\";\n    if (isColorMixPercentValue(segment0mix)) {\n      const mix2 = Number(segment0mix.slice(0, -1)) / 100;\n      return {\n        type: \"color\",\n        tint,\n        mix: mix2\n      };\n    }\n    if (isColorOpacityValue(segment1)) {\n      const opacity = Number(segment1);\n      return {\n        type: \"color\",\n        tint,\n        opacity\n      };\n    }\n    return {\n      type: \"color\",\n      tint\n    };\n  }\n  if (isColorValue(segment0)) {\n    const key = segment0, segment1 = segments.shift() || \"\";\n    if (isColorMixPercentValue(segment0mix)) {\n      const mix2 = Number(segment0mix.slice(0, -1)) / 100;\n      return {\n        type: \"color\",\n        key,\n        mix: mix2\n      };\n    }\n    if (isColorOpacityValue(segment1)) {\n      const opacity = Number(segment1);\n      return {\n        type: \"color\",\n        key,\n        opacity\n      };\n    }\n    return {\n      type: \"color\",\n      key\n    };\n  }\n  if (isColorHueKey(segment0)) {\n    const hue = segment0;\n    nextSegment = segments.shift() || \"\";\n    const [segment1, segment1mix] = nextSegment.split(\" \");\n    if (isColorTintKey(segment1)) {\n      const tint = segment1, segment2 = segments.shift() || \"\";\n      if (isColorMixPercentValue(segment1mix)) {\n        const mix2 = Number(segment1mix.slice(0, -1)) / 100;\n        return {\n          type: \"color\",\n          hue,\n          tint,\n          mix: mix2\n        };\n      }\n      if (isColorOpacityValue(segment2)) {\n        const opacity = Number(segment2);\n        return {\n          type: \"color\",\n          hue,\n          tint,\n          opacity\n        };\n      }\n      return {\n        type: \"color\",\n        hue,\n        tint\n      };\n    }\n    return {\n      type: \"hue\",\n      value: hue\n    };\n  }\n  if (isColorBlendModeValue(segment0))\n    return {\n      type: \"blendMode\",\n      value: segment0\n    };\n}\nfunction isColorConfigBaseTone(str) {\n  return COLOR_CONFIG_CARD_TONES.includes(str);\n}\nfunction isColorConfigBaseKey(str) {\n  return COLOR_CONFIG_CARD_KEYS.includes(str);\n}\nfunction isColorConfigStateKey(str) {\n  return COLOR_CONFIG_STATE_KEYS.includes(str);\n}\nfunction isColorConfigStateTone(str) {\n  return COLOR_CONFIG_STATE_TONES.includes(str);\n}\nfunction isColorConfigBlendKey(str) {\n  return COLOR_CONFIG_BLEND_KEYS.includes(str);\n}\nfunction isColorTokenValue(str) {\n  return parseTokenValue(str)?.type === \"color\" || parseTokenValue(str)?.type === \"hue\";\n}\nfunction isColorValue(str) {\n  return str === \"black\" || str === \"white\";\n}\nfunction isColorOpacityValue(str) {\n  return str === \"0\" || /^0\\.[0-9]+$/.test(str) || str === \"1\";\n}\nfunction compileColorTokenValue(node) {\n  let key = \"\";\n  return node.key === \"black\" || node.key === \"white\" ? key = node.key : key = `${node.hue}/${node.tint}`, node.mix !== void 0 ? `${key} ${node.mix * 100}%` : (node.opacity !== void 0 && (key += `/${node.opacity}`), key);\n}\nconst DEFAULT_COLOR_TOKEN_VALUE = [\"500\", \"500\"];\nfunction resolveColorTokenValue(context, value = DEFAULT_COLOR_TOKEN_VALUE) {\n  const {\n    hue,\n    scheme\n  } = context, node = parseTokenValue(value[scheme === \"light\" ? 0 : 1]);\n  if (!node || node.type !== \"color\")\n    throw new Error(`Invalid color token: ${value[0]}`);\n  return compileColorTokenValue({\n    ...node,\n    hue: node.hue || hue\n  });\n}\nconst defaultColorTokens = {\n  base: {\n    \"*\": {\n      _blend: [\"multiply\", \"screen\"],\n      accent: {\n        fg: [\"purple/600\", \"purple/400\"]\n      },\n      avatar: {\n        \"*\": {\n          _blend: [\"screen\", \"multiply\"],\n          bg: [\"500\", \"400\"],\n          fg: [\"white\", \"black\"]\n        }\n      },\n      backdrop: [\"gray/200/0.5\", \"black/0.5\"],\n      badge: {\n        \"*\": {\n          bg: [\"100\", \"900\"],\n          fg: [\"600\", \"400\"],\n          icon: [\"500\", \"500\"],\n          dot: [\"500\", \"500\"]\n        },\n        positive: {\n          bg: [\"200 50%\", \"900\"],\n          fg: [\"600\", \"500\"]\n        },\n        caution: {\n          bg: [\"200 50%\", \"900\"],\n          fg: [\"600\", \"500\"]\n        }\n      },\n      bg: [\"50\", \"950\"],\n      border: [\"200\", \"800\"],\n      code: {\n        bg: [\"50\", \"950\"],\n        fg: [\"600\", \"400\"]\n      },\n      fg: [\"800\", \"200\"],\n      focusRing: [\"blue/500\", \"blue/500\"],\n      icon: [\"600\", \"400\"],\n      kbd: {\n        bg: [\"white\", \"black\"],\n        fg: [\"600\", \"400\"],\n        border: [\"200\", \"800\"]\n      },\n      link: {\n        fg: [\"blue/600\", \"blue/300\"]\n      },\n      muted: {\n        bg: [\"50\", \"950\"],\n        fg: [\"700 75%\", \"300 75%\"]\n      },\n      shadow: {\n        outline: [\"500/0.3\", \"500/0.4\"],\n        umbra: [\"gray/500/0.1\", \"black/0.2\"],\n        penumbra: [\"gray/500/0.07\", \"black/0.14\"],\n        ambient: [\"gray/500/0.06\", \"black/0.12\"]\n      },\n      skeleton: {\n        from: [\"100\", \"900\"],\n        to: [\"100 50%\", \"900 50%\"]\n      }\n    },\n    transparent: {\n      bg: [\"50\", \"black\"]\n    },\n    default: {\n      bg: [\"white\", \"950\"],\n      fg: [\"800\", \"200\"],\n      muted: {\n        fg: [\"600\", \"400\"]\n      }\n    },\n    primary: {\n      _hue: \"blue\"\n    },\n    suggest: {\n      _hue: \"purple\"\n    },\n    positive: {\n      _hue: \"green\",\n      shadow: {\n        outline: [\"500/0.4\", \"500/0.4\"]\n      }\n    },\n    caution: {\n      _hue: \"yellow\",\n      shadow: {\n        outline: [\"600/0.3\", \"500/0.4\"]\n      }\n    },\n    critical: {\n      _hue: \"red\"\n    }\n  },\n  button: {\n    default: {\n      \"*\": {\n        \"*\": {\n          _blend: [\"screen\", \"multiply\"],\n          accent: {\n            fg: [\"purple/300\", \"purple/700\"]\n          },\n          avatar: {\n            \"*\": {\n              _blend: [\"screen\", \"multiply\"],\n              bg: [\"500\", \"400\"],\n              fg: [\"white\", \"black\"]\n            }\n          },\n          badge: {\n            \"*\": {\n              bg: [\"900\", \"100\"],\n              fg: [\"400\", \"600\"],\n              dot: [\"500\", \"500\"],\n              icon: [\"500\", \"500\"]\n            }\n          },\n          bg: [\"500\", \"400\"],\n          border: [\"500/0\", \"400/0\"],\n          code: {\n            bg: [\"500 20%\", \"400 20%\"],\n            fg: [\"200\", \"600\"]\n          },\n          fg: [\"white\", \"black\"],\n          icon: [\"100 70%\", \"900 70%\"],\n          kbd: {\n            bg: [\"black\", \"white\"],\n            fg: [\"200\", \"600\"],\n            border: [\"800\", \"200\"]\n          },\n          link: {\n            fg: [\"blue/200\", \"blue/600\"]\n          },\n          muted: {\n            bg: [\"950\", \"50\"],\n            fg: [\"100 70%\", \"900 70%\"]\n          },\n          skeleton: {\n            from: [\"900\", \"100\"],\n            to: [\"900 50%\", \"100 50%\"]\n          }\n        },\n        hovered: {\n          bg: [\"600\", \"300\"],\n          border: [\"700/0\", \"300/0\"]\n        },\n        pressed: {\n          bg: [\"700\", \"300\"]\n        },\n        selected: {\n          bg: [\"700\", \"300\"]\n        },\n        disabled: {\n          _hue: \"gray\",\n          accent: {\n            fg: [\"100 70%\", \"900 70%\"]\n          },\n          avatar: {\n            \"*\": {\n              _blend: [\"screen\", \"multiply\"],\n              bg: [\"gray/500\", \"gray/400\"],\n              fg: [\"white\", \"black\"]\n            }\n          },\n          badge: {\n            \"*\": {\n              bg: [\"gray/700\", \"gray/300\"],\n              fg: [\"white\", \"black\"],\n              dot: [\"white\", \"black\"],\n              icon: [\"white\", \"black\"]\n            }\n          },\n          bg: [\"300\", \"600\"],\n          code: {\n            bg: [\"950\", \"50\"],\n            fg: [\"300\", \"600\"]\n          },\n          fg: [\"300\", \"600\"],\n          muted: {\n            bg: [\"950\", \"50\"],\n            fg: [\"300\", \"600\"]\n          },\n          kbd: {\n            bg: [\"black\", \"white\"],\n            fg: [\"white\", \"black\"],\n            border: [\"700\", \"300\"]\n          },\n          link: {\n            fg: [\"100 70%\", \"900 70%\"]\n          }\n        }\n      },\n      default: {\n        \"*\": {\n          avatar: {\n            \"*\": {\n              _blend: [\"screen\", \"multiply\"],\n              bg: [\"500\", \"400\"],\n              fg: [\"white\", \"black\"]\n            }\n          },\n          bg: [\"800\", \"200\"],\n          muted: {\n            bg: [\"950\", \"50\"],\n            fg: [\"400\", \"600\"]\n          }\n        },\n        hovered: {\n          bg: [\"900\", \"100\"]\n        },\n        pressed: {\n          bg: [\"black\", \"white\"]\n        },\n        selected: {\n          bg: [\"black\", \"white\"]\n        }\n      }\n    },\n    ghost: {\n      \"*\": {\n        \"*\": {\n          _blend: [\"multiply\", \"screen\"],\n          accent: {\n            fg: [\"purple/700 60%\", \"purple/300 70%\"]\n          },\n          avatar: {\n            \"*\": {\n              _blend: [\"screen\", \"multiply\"],\n              bg: [\"500\", \"400\"],\n              fg: [\"white\", \"black\"]\n            }\n          },\n          badge: {\n            \"*\": {\n              bg: [\"100\", \"900\"],\n              fg: [\"600\", \"400\"],\n              dot: [\"500\", \"500\"],\n              icon: [\"500\", \"500\"]\n            }\n          },\n          bg: [\"50\", \"950\"],\n          border: [\"100\", \"900\"],\n          code: {\n            bg: [\"500 10%\", \"400 10%\"],\n            fg: [\"700 60%\", \"400 60%\"]\n          },\n          fg: [\"600\", \"400\"],\n          icon: [\"700 60%\", \"300 60%\"],\n          kbd: {\n            bg: [\"white\", \"black\"],\n            fg: [\"600\", \"400\"],\n            border: [\"200\", \"800\"]\n          },\n          link: {\n            fg: [\"blue/700 60%\", \"blue/300 60%\"]\n          },\n          muted: {\n            bg: [\"100\", \"950\"],\n            fg: [\"700 60%\", \"300 60%\"]\n          },\n          skeleton: {\n            from: [\"100\", \"900\"],\n            to: [\"100 50%\", \"900 50%\"]\n          }\n        },\n        hovered: {\n          bg: [\"100\", \"900\"],\n          fg: [\"700\", \"300\"]\n        },\n        pressed: {\n          bg: [\"200\", \"800\"],\n          fg: [\"800\", \"200\"]\n        },\n        selected: {\n          bg: [\"200\", \"800\"],\n          fg: [\"800\", \"200\"]\n        },\n        disabled: {\n          _hue: \"gray\",\n          accent: {\n            fg: [\"200\", \"800\"]\n          },\n          avatar: {\n            \"*\": {\n              _blend: [\"screen\", \"multiply\"],\n              bg: [\"gray/100\", \"gray/900\"],\n              fg: [\"white\", \"black\"]\n            }\n          },\n          badge: {\n            \"*\": {\n              _hue: \"gray\",\n              bg: [\"50\", \"950\"],\n              fg: [\"gray/200\", \"gray/800\"],\n              dot: [\"gray/200\", \"gray/800\"],\n              icon: [\"gray/200\", \"gray/800\"]\n            }\n          },\n          border: [\"100\", \"900\"],\n          code: {\n            bg: [\"50\", \"950\"],\n            fg: [\"200\", \"800\"]\n          },\n          fg: [\"400\", \"600\"],\n          icon: [\"300\", \"700\"],\n          muted: {\n            fg: [\"300\", \"700\"]\n          },\n          kbd: {\n            bg: [\"white\", \"black\"],\n            fg: [\"200\", \"800\"],\n            border: [\"100\", \"900\"]\n          },\n          link: {\n            fg: [\"200\", \"800\"]\n          }\n        }\n      },\n      positive: {\n        \"*\": {\n          border: [\"600 20%\", \"800\"]\n        }\n      },\n      caution: {\n        \"*\": {\n          border: [\"600 20%\", \"800\"]\n        }\n      }\n    },\n    bleed: {\n      \"*\": {\n        \"*\": {\n          _blend: [\"multiply\", \"screen\"],\n          accent: {\n            fg: [\"purple/700 70%\", \"purple/300 70%\"]\n          },\n          avatar: {\n            \"*\": {\n              _blend: [\"screen\", \"multiply\"],\n              bg: [\"500\", \"400\"],\n              fg: [\"white\", \"black\"]\n            }\n          },\n          badge: {\n            \"*\": {\n              bg: [\"100\", \"900\"],\n              fg: [\"600\", \"400\"],\n              dot: [\"500\", \"500\"],\n              icon: [\"500\", \"500\"]\n            }\n          },\n          bg: [\"white\", \"black\"],\n          border: [\"white/0\", \"black/0\"],\n          code: {\n            bg: [\"50\", \"950\"],\n            fg: [\"700 75%\", \"300 75%\"]\n          },\n          fg: [\"700\", \"300\"],\n          icon: [\"700 75%\", \"300 75%\"],\n          kbd: {\n            bg: [\"white\", \"black\"],\n            fg: [\"700\", \"300\"],\n            border: [\"200\", \"800\"]\n          },\n          link: {\n            fg: [\"blue/700 70%\", \"blue/300 70%\"]\n          },\n          muted: {\n            bg: [\"100\", \"950\"],\n            fg: [\"700 75%\", \"300 75%\"]\n          },\n          skeleton: {\n            from: [\"100\", \"900\"],\n            to: [\"100 50%\", \"900 50%\"]\n          }\n        },\n        hovered: {\n          bg: [\"50\", \"950\"],\n          fg: [\"800\", \"200\"],\n          icon: [\"800 70%\", \"300 70%\"]\n        },\n        pressed: {\n          bg: [\"100\", \"900\"],\n          fg: [\"800\", \"200\"],\n          icon: [\"800 70%\", \"200 70%\"]\n        },\n        selected: {\n          bg: [\"100\", \"900\"],\n          fg: [\"800\", \"200\"],\n          icon: [\"800 60%\", \"200 60%\"]\n        },\n        disabled: {\n          _hue: \"gray\",\n          accent: {\n            fg: [\"200\", \"800\"]\n          },\n          avatar: {\n            \"*\": {\n              _blend: [\"screen\", \"multiply\"],\n              bg: [\"gray/100\", \"gray/900\"],\n              fg: [\"white\", \"black\"]\n            }\n          },\n          badge: {\n            \"*\": {\n              _hue: \"gray\",\n              bg: [\"50\", \"950\"],\n              fg: [\"gray/200\", \"gray/800\"],\n              dot: [\"gray/200\", \"gray/800\"],\n              icon: [\"gray/200\", \"gray/800\"]\n            }\n          },\n          code: {\n            bg: [\"50\", \"950\"],\n            fg: [\"200\", \"800\"]\n          },\n          fg: [\"400\", \"600\"],\n          icon: [\"300\", \"700\"],\n          muted: {\n            fg: [\"400\", \"600\"]\n          },\n          kbd: {\n            bg: [\"white\", \"black\"],\n            fg: [\"200\", \"800\"],\n            border: [\"100\", \"900\"]\n          },\n          link: {\n            fg: [\"200\", \"800\"]\n          }\n        }\n      }\n    }\n  },\n  input: {\n    \"*\": {\n      \"*\": {\n        _blend: [\"multiply\", \"screen\"],\n        bg: [\"white\", \"black\"],\n        border: [\"200\", \"700\"],\n        fg: [\"black\", \"200\"],\n        muted: {\n          bg: [\"50\", \"950\"]\n        },\n        placeholder: [\"400\", \"600\"]\n      },\n      hovered: {\n        border: [\"300\", \"700\"]\n      },\n      readOnly: {\n        bg: [\"50\", \"950\"],\n        border: [\"200\", \"800\"],\n        fg: [\"800\", \"200\"]\n      },\n      disabled: {\n        bg: [\"50\", \"950\"],\n        fg: [\"400\", \"600\"],\n        border: [\"100\", \"900\"],\n        placeholder: [\"200\", \"800 50%\"]\n      }\n    },\n    invalid: {\n      \"*\": {\n        _hue: \"red\",\n        bg: [\"100\", \"950\"]\n      }\n    }\n  },\n  selectable: {\n    \"*\": {\n      \"*\": {\n        _blend: [\"multiply\", \"screen\"],\n        accent: {\n          fg: [\"purple/700 70%\", \"purple/300 70%\"]\n        },\n        avatar: {\n          \"*\": {\n            _blend: [\"screen\", \"multiply\"],\n            bg: [\"500\", \"400\"],\n            fg: [\"white\", \"black\"]\n          }\n        },\n        badge: {\n          \"*\": {\n            bg: [\"100\", \"900\"],\n            fg: [\"600\", \"400\"],\n            dot: [\"500\", \"500\"],\n            icon: [\"500\", \"500\"]\n          }\n        },\n        bg: [\"white\", \"black\"],\n        border: [\"200\", \"800\"],\n        code: {\n          bg: [\"50\", \"950\"],\n          fg: [\"600\", \"400\"]\n        },\n        fg: [\"700\", \"300\"],\n        icon: [\"700 75%\", \"300 75%\"],\n        kbd: {\n          bg: [\"white\", \"black\"],\n          fg: [\"600\", \"400\"],\n          border: [\"200\", \"800\"]\n        },\n        link: {\n          fg: [\"blue/700 70%\", \"blue/300 70%\"]\n        },\n        muted: {\n          bg: [\"50\", \"950\"],\n          fg: [\"700 75%\", \"300 75%\"]\n        },\n        skeleton: {\n          from: [\"100\", \"900\"],\n          to: [\"100 50%\", \"900 50%\"]\n        }\n      },\n      hovered: {\n        bg: [\"50\", \"950\"]\n      },\n      pressed: {\n        bg: [\"100\", \"900\"]\n      },\n      selected: {\n        _blend: [\"screen\", \"multiply\"],\n        accent: {\n          fg: [\"purple/300\", \"purple/700\"]\n        },\n        avatar: {\n          \"*\": {\n            _blend: [\"multiply\", \"screen\"],\n            bg: [\"white\", \"black\"],\n            fg: [\"black\", \"white\"]\n          }\n        },\n        badge: {\n          \"*\": {\n            bg: [\"900\", \"100\"],\n            fg: [\"400\", \"600\"],\n            dot: [\"500\", \"500\"],\n            icon: [\"500\", \"500\"]\n          }\n        },\n        bg: [\"500\", \"400\"],\n        border: [\"500 20%\", \"400 20%\"],\n        code: {\n          bg: [\"500 20%\", \"400 20%\"],\n          fg: [\"200\", \"600\"]\n        },\n        fg: [\"white\", \"black\"],\n        icon: [\"100 70%\", \"900 70%\"],\n        kbd: {\n          bg: [\"black\", \"white\"],\n          fg: [\"200\", \"600\"],\n          border: [\"800\", \"200\"]\n        },\n        link: {\n          fg: [\"blue/200\", \"blue/600\"]\n        },\n        muted: {\n          bg: [\"500 10%\", \"400 10%\"],\n          fg: [\"100 70%\", \"900 70%\"]\n        },\n        skeleton: {\n          from: [\"900\", \"100\"],\n          to: [\"900 50%\", \"100 50%\"]\n        }\n      },\n      disabled: {\n        _hue: \"gray\",\n        accent: {\n          fg: [\"200\", \"800\"]\n        },\n        avatar: {\n          \"*\": {\n            _blend: [\"screen\", \"multiply\"],\n            bg: [\"gray/100\", \"gray/900\"],\n            fg: [\"white\", \"black\"]\n          }\n        },\n        badge: {\n          \"*\": {\n            _hue: \"gray\",\n            bg: [\"50\", \"950\"],\n            fg: [\"gray/200\", \"gray/800\"],\n            dot: [\"gray/200\", \"gray/800\"],\n            icon: [\"gray/200\", \"gray/800\"]\n          }\n        },\n        border: [\"100\", \"900\"],\n        code: {\n          bg: [\"50\", \"950\"],\n          fg: [\"200\", \"800\"]\n        },\n        fg: [\"200\", \"800\"],\n        icon: [\"200\", \"800\"],\n        kbd: {\n          bg: [\"white\", \"black\"],\n          fg: [\"200\", \"800\"],\n          border: [\"100\", \"900\"]\n        },\n        link: {\n          fg: [\"200\", \"800\"]\n        },\n        muted: {\n          bg: [\"50 50%\", \"950 50%\"],\n          fg: [\"200\", \"800\"]\n        }\n      }\n    },\n    default: {\n      selected: {\n        _hue: \"blue\"\n      }\n    },\n    critical: {\n      disabled: {\n        bg: [\"50 50%\", \"950 50%\"]\n      }\n    }\n  },\n  syntax: {\n    atrule: [\"purple/600\", \"purple/400\"],\n    attrName: [\"green/600\", \"green/400\"],\n    attrValue: [\"yellow/600\", \"yellow/400\"],\n    attribute: [\"yellow/600\", \"yellow/400\"],\n    boolean: [\"purple/600\", \"purple/400\"],\n    builtin: [\"purple/600\", \"purple/400\"],\n    cdata: [\"yellow/600\", \"yellow/400\"],\n    char: [\"yellow/600\", \"yellow/400\"],\n    class: [\"orange/600\", \"orange/400\"],\n    className: [\"cyan/600\", \"cyan/400\"],\n    comment: [\"gray/400\", \"gray/600\"],\n    constant: [\"purple/600\", \"purple/400\"],\n    deleted: [\"red/600\", \"red/400\"],\n    entity: [\"red/600\", \"red/400\"],\n    function: [\"green/600\", \"green/400\"],\n    hexcode: [\"blue/600\", \"blue/400\"],\n    id: [\"purple/600\", \"purple/400\"],\n    important: [\"purple/600\", \"purple/400\"],\n    inserted: [\"yellow/600\", \"yellow/400\"],\n    keyword: [\"magenta/600\", \"magenta/400\"],\n    number: [\"purple/600\", \"purple/400\"],\n    operator: [\"magenta/600\", \"magenta/400\"],\n    property: [\"blue/600\", \"blue/400\"],\n    pseudoClass: [\"yellow/600\", \"yellow/400\"],\n    pseudoElement: [\"yellow/600\", \"yellow/400\"],\n    punctuation: [\"gray/600\", \"gray/400\"],\n    regex: [\"blue/600\", \"blue/400\"],\n    selector: [\"red/600\", \"red/400\"],\n    string: [\"yellow/600\", \"yellow/400\"],\n    symbol: [\"purple/600\", \"purple/400\"],\n    tag: [\"red/600\", \"red/400\"],\n    unit: [\"orange/600\", \"orange/400\"],\n    url: [\"red/600\", \"red/400\"],\n    variable: [\"red/600\", \"red/400\"]\n  }\n};\nfunction isRecord(value) {\n  return !!(value && typeof value == \"object\" && !Array.isArray(value));\n}\nfunction merge(...records) {\n  const _records = records.filter(Boolean);\n  return _records.length === 0 ? {} : _records.reduce(_merge, {});\n}\nfunction _merge(acc, source) {\n  for (const key of Object.keys(source)) {\n    const prevValue = acc[key], nextValue = source[key];\n    isRecord(prevValue) && isRecord(nextValue) ? acc[key] = merge(prevValue, nextValue) : acc[key] = nextValue;\n  }\n  return acc;\n}\nfunction resolveColorTokens(inputTokens) {\n  const tokens = merge(defaultColorTokens, inputTokens);\n  return {\n    base: resolveBaseColorTokens(tokens),\n    button: resolveButtonColorTokens(tokens),\n    input: resolveInputColorTokens(tokens),\n    selectable: resolveSelectableColorTokens(tokens),\n    syntax: tokens.syntax\n  };\n}\nfunction resolveBaseColorTokens(sparseTokens) {\n  const tokens = {};\n  for (const tone of THEME_COLOR_CARD_TONES)\n    tokens[tone] = resolveBaseColorTones(sparseTokens, tone);\n  return tokens;\n}\nfunction resolveBaseColorTones(inputTokens, tone) {\n  const spec = merge(inputTokens?.base?.[\"*\"], inputTokens?.base?.[tone]), hue = spec._hue || inputTokens?.base?.[tone]?._hue || \"gray\";\n  return {\n    ...spec,\n    _hue: hue,\n    avatar: COLOR_HUES.reduce((acc, hue2) => ({\n      ...acc,\n      [hue2]: merge({\n        _hue: hue2\n      }, spec.avatar?.[\"*\"], spec.avatar?.[hue2])\n    }), {}),\n    badge: THEME_COLOR_STATE_TONES.reduce((acc, tone2) => ({\n      ...acc,\n      [tone2]: {\n        _hue: inputTokens?.base?.[tone2]?._hue || hue,\n        ...spec.badge?.[\"*\"],\n        ...spec.badge?.[tone2]\n      }\n    }), {})\n  };\n}\nfunction resolveButtonColorTokens(inputTokens) {\n  const tokens = {};\n  for (const mode of THEME_COLOR_BUTTON_MODES)\n    tokens[mode] = resolveButtonToneColorTokens(inputTokens, mode);\n  return tokens;\n}\nfunction resolveButtonToneColorTokens(inputTokens, mode) {\n  const tokens = {};\n  for (const tone of THEME_COLOR_STATE_TONES)\n    tokens[tone] = resolveButtonModeColorTokens(inputTokens, mode, tone);\n  return tokens;\n}\nfunction resolveButtonModeColorTokens(inputTokens, mode, tone) {\n  const tokens = {};\n  for (const state of THEME_COLOR_STATES)\n    tokens[state] = resolveButtonStateColorTokens(inputTokens, tone, mode, state);\n  return tokens;\n}\nfunction resolveButtonStateColorTokens(inputTokens, tone, mode, state) {\n  const spec = merge(inputTokens?.button?.[mode]?.[\"*\"]?.[\"*\"], inputTokens?.button?.[mode]?.[tone]?.[\"*\"], inputTokens?.button?.[mode]?.[\"*\"]?.[state], inputTokens?.button?.[mode]?.[tone]?.[state]), hue = spec._hue || inputTokens?.base?.[tone]?._hue;\n  return {\n    ...spec,\n    _hue: hue,\n    avatar: COLOR_HUES.reduce((acc, hue2) => ({\n      ...acc,\n      [hue2]: merge({\n        _hue: hue2\n      }, spec.avatar?.[\"*\"], spec.avatar?.[hue2])\n    }), {}),\n    badge: THEME_COLOR_STATE_TONES.reduce((acc, tone2) => ({\n      ...acc,\n      [tone2]: {\n        _hue: inputTokens?.base?.[tone2]?._hue || hue,\n        ...spec.badge?.[\"*\"],\n        ...spec.badge?.[tone2]\n      }\n    }), {})\n  };\n}\nfunction resolveInputColorTokens(inputTokens) {\n  const tokens = {};\n  for (const mode of THEME_COLOR_INPUT_MODES)\n    tokens[mode] = resolveInputModeColorTokens(inputTokens, mode);\n  return tokens;\n}\nfunction resolveInputModeColorTokens(inputTokens, mode) {\n  const states = {};\n  for (const state of THEME_COLOR_INPUT_STATES)\n    states[state] = resolveInputStateColorTokens(inputTokens, mode, state);\n  return states;\n}\nfunction resolveInputStateColorTokens(inputTokens, mode, state) {\n  const spec = merge(inputTokens?.input?.[\"*\"]?.[\"*\"], inputTokens?.input?.[mode]?.[\"*\"], inputTokens?.input?.[\"*\"]?.[state], inputTokens?.input?.[mode]?.[state]), hue = spec._hue || inputTokens?.input?.[mode]?._hue;\n  return {\n    ...spec,\n    _hue: hue\n  };\n}\nfunction resolveSelectableColorTokens(inputTokens) {\n  const tokens = {};\n  for (const tone of THEME_COLOR_STATE_TONES)\n    tokens[tone] = resolveSelectableToneColorTokens(inputTokens, tone);\n  return tokens;\n}\nfunction resolveSelectableToneColorTokens(inputTokens, tone) {\n  const states = {\n    _hue: inputTokens?.selectable?.[tone]?._hue || inputTokens?.base?.[tone]?._hue\n  };\n  for (const state of THEME_COLOR_STATES)\n    states[state] = resolveSelectableStateColorTokens(inputTokens, tone, state);\n  return states;\n}\nfunction resolveSelectableStateColorTokens(inputTokens, tone, state) {\n  const spec = merge(inputTokens?.selectable?.[\"*\"]?.[\"*\"], inputTokens?.selectable?.[tone]?.[\"*\"], inputTokens?.selectable?.[\"*\"]?.[state], inputTokens?.selectable?.[tone]?.[state]), hue = spec._hue || inputTokens?.base?.[tone]?._hue;\n  return {\n    ...spec,\n    _hue: hue,\n    avatar: COLOR_HUES.reduce((acc, hue2) => ({\n      ...acc,\n      [hue2]: merge({\n        _hue: hue2\n      }, spec.avatar?.[\"*\"], spec.avatar?.[hue2])\n    }), {}),\n    badge: THEME_COLOR_STATE_TONES.reduce((acc, tone2) => ({\n      ...acc,\n      [tone2]: {\n        _hue: inputTokens?.base?.[tone2]?._hue || hue,\n        ...spec.badge?.[\"*\"],\n        ...spec.badge?.[tone2]\n      }\n    }), {})\n  };\n}\nfunction buildColorTheme(config) {\n  const resolvedConfig = {\n    ...config,\n    color: resolveColorTokens(config?.color)\n  };\n  return {\n    light: buildColorScheme({\n      scheme: \"light\"\n    }, resolvedConfig),\n    dark: buildColorScheme({\n      scheme: \"dark\"\n    }, resolvedConfig)\n  };\n}\nfunction buildColorScheme(options, config) {\n  const {\n    scheme\n  } = options, colorScheme = {};\n  for (const tone of THEME_COLOR_CARD_TONES)\n    colorScheme[tone] = buildCardColorTheme({\n      scheme,\n      tone\n    }, config);\n  return colorScheme;\n}\nfunction buildCardColorTheme(options, config) {\n  const {\n    scheme,\n    tone\n  } = options, tokens = config?.color?.base?.[tone], context = {\n    hue: tokens?._hue || \"gray\",\n    scheme\n  };\n  return {\n    _blend: (tokens?._blend || [\"multiply\", \"screen\"])[scheme === \"light\" ? 0 : 1],\n    _dark: scheme === \"dark\",\n    accent: {\n      fg: resolveColorTokenValue(context, tokens?.accent?.fg)\n    },\n    avatar: buildAvatarColorTheme({\n      scheme\n    }, tokens),\n    backdrop: resolveColorTokenValue(context, tokens?.backdrop),\n    badge: buildBadgeColorTheme(tokens?.badge, {\n      scheme\n    }, config),\n    bg: resolveColorTokenValue(context, tokens?.bg),\n    border: resolveColorTokenValue(context, tokens?.border),\n    button: buildButtonColorTheme({\n      scheme,\n      tone\n    }, config),\n    code: {\n      bg: resolveColorTokenValue(context, tokens?.code?.bg),\n      fg: resolveColorTokenValue(context, tokens?.code?.fg)\n    },\n    fg: resolveColorTokenValue(context, tokens?.fg),\n    focusRing: resolveColorTokenValue(context, tokens?.focusRing),\n    icon: resolveColorTokenValue(context, tokens?.icon),\n    input: buildInputColorTheme({\n      scheme,\n      tone\n    }, config),\n    kbd: {\n      bg: resolveColorTokenValue(context, tokens?.kbd?.bg),\n      fg: resolveColorTokenValue(context, tokens?.kbd?.fg),\n      border: resolveColorTokenValue(context, tokens?.kbd?.border)\n    },\n    link: {\n      fg: resolveColorTokenValue(context, tokens?.link?.fg)\n    },\n    muted: {\n      bg: resolveColorTokenValue(context, tokens?.muted?.bg),\n      fg: resolveColorTokenValue(context, tokens?.muted?.fg)\n    },\n    selectable: buildSelectableColorTheme({\n      scheme,\n      tone\n    }, config),\n    shadow: buildShadowColorTheme({\n      scheme,\n      tone\n    }, config),\n    skeleton: {\n      from: resolveColorTokenValue(context, tokens?.skeleton?.from),\n      to: resolveColorTokenValue(context, tokens?.skeleton?.to)\n    },\n    syntax: buildSyntaxColorTheme({\n      scheme\n    }, config)\n  };\n}\nfunction buildShadowColorTheme(options, config) {\n  const {\n    scheme,\n    tone\n  } = options, tokens = config?.color?.base?.[tone], context = {\n    hue: tokens?._hue || \"gray\",\n    scheme\n  };\n  return {\n    outline: resolveColorTokenValue(context, tokens?.shadow?.outline),\n    umbra: resolveColorTokenValue(context, tokens?.shadow?.umbra),\n    penumbra: resolveColorTokenValue(context, tokens?.shadow?.penumbra),\n    ambient: resolveColorTokenValue(context, tokens?.shadow?.ambient)\n  };\n}\nfunction buildAvatarColorTheme(options, stateTokens) {\n  const {\n    scheme\n  } = options;\n  return {\n    gray: _buildAvatarColorTheme({\n      color: \"gray\",\n      scheme\n    }, stateTokens),\n    blue: _buildAvatarColorTheme({\n      color: \"blue\",\n      scheme\n    }, stateTokens),\n    purple: _buildAvatarColorTheme({\n      color: \"purple\",\n      scheme\n    }, stateTokens),\n    magenta: _buildAvatarColorTheme({\n      color: \"magenta\",\n      scheme\n    }, stateTokens),\n    red: _buildAvatarColorTheme({\n      color: \"red\",\n      scheme\n    }, stateTokens),\n    orange: _buildAvatarColorTheme({\n      color: \"orange\",\n      scheme\n    }, stateTokens),\n    yellow: _buildAvatarColorTheme({\n      color: \"yellow\",\n      scheme\n    }, stateTokens),\n    green: _buildAvatarColorTheme({\n      color: \"green\",\n      scheme\n    }, stateTokens),\n    cyan: _buildAvatarColorTheme({\n      color: \"cyan\",\n      scheme\n    }, stateTokens)\n  };\n}\nfunction _buildAvatarColorTheme(options, stateTokens) {\n  const {\n    color: color2,\n    scheme\n  } = options, tokens = stateTokens?.avatar?.[color2], context = {\n    hue: tokens?._hue || \"gray\",\n    scheme\n  };\n  return {\n    _blend: (tokens?._blend || [\"screen\", \"multiply\"])[scheme === \"light\" ? 0 : 1],\n    bg: resolveColorTokenValue(context, tokens?.bg),\n    fg: resolveColorTokenValue(context, tokens?.fg)\n  };\n}\nfunction buildBadgeColorTheme(tokens, options, config) {\n  const {\n    scheme\n  } = options, colorBadge = {};\n  for (const tone of THEME_COLOR_STATE_TONES)\n    colorBadge[tone] = _buildBadgeColorTheme(tokens, {\n      scheme,\n      tone\n    }, config);\n  return colorBadge;\n}\nfunction _buildBadgeColorTheme(parentTokens, options, config) {\n  const {\n    scheme,\n    tone\n  } = options, tokens = parentTokens?.[tone], context = {\n    hue: tokens?._hue || config?.color?.base?.[tone]?._hue || \"gray\",\n    scheme\n  };\n  return {\n    bg: resolveColorTokenValue(context, tokens?.bg),\n    fg: resolveColorTokenValue(context, tokens?.fg),\n    dot: resolveColorTokenValue(context, tokens?.dot),\n    icon: resolveColorTokenValue(context, tokens?.icon)\n  };\n}\nfunction buildButtonColorTheme(options, config) {\n  const {\n    scheme,\n    tone: cardTone\n  } = options, modes = {};\n  for (const mode of THEME_COLOR_BUTTON_MODES)\n    modes[mode] = buildButtonTonesColorTheme({\n      cardTone,\n      scheme,\n      mode\n    }, config);\n  return modes;\n}\nfunction buildButtonTonesColorTheme(options, config) {\n  const {\n    cardTone,\n    mode,\n    scheme\n  } = options, tones2 = {};\n  for (const tone of THEME_COLOR_STATE_TONES)\n    tones2[tone] = buildButtonStatesColorTheme({\n      cardTone,\n      mode,\n      scheme,\n      tone\n    }, config);\n  return tones2;\n}\nfunction buildButtonStatesColorTheme(options, config) {\n  const {\n    cardTone,\n    mode,\n    scheme,\n    tone\n  } = options, states = {};\n  for (const state of THEME_COLOR_STATES)\n    states[state] = buildButtonStateColorTheme({\n      cardTone,\n      mode,\n      tone,\n      scheme,\n      state\n    }, config);\n  return states;\n}\nfunction buildButtonStateColorTheme(options, config) {\n  const {\n    cardTone,\n    mode,\n    tone,\n    scheme,\n    state\n  } = options, cardTokens = config?.color?.base?.[cardTone], tokens = config?.color?.button?.[mode]?.[tone]?.[state], hue = tokens?._hue || cardTokens?._hue || \"gray\", blendMode = tokens?._blend || [\"screen\", \"multiply\"], context = {\n    hue,\n    scheme\n  };\n  return {\n    _blend: blendMode[scheme === \"light\" ? 0 : 1],\n    accent: {\n      fg: resolveColorTokenValue(context, tokens?.accent?.fg)\n    },\n    avatar: buildAvatarColorTheme({\n      scheme\n    }, tokens),\n    badge: buildBadgeColorTheme(tokens?.badge, {\n      scheme\n    }, config),\n    bg: resolveColorTokenValue(context, tokens?.bg),\n    border: resolveColorTokenValue(context, tokens?.border),\n    code: {\n      bg: resolveColorTokenValue(context, tokens?.code?.bg),\n      fg: resolveColorTokenValue(context, tokens?.code?.fg)\n    },\n    fg: resolveColorTokenValue(context, tokens?.fg),\n    icon: resolveColorTokenValue(context, tokens?.icon),\n    muted: {\n      bg: resolveColorTokenValue(context, tokens?.muted?.bg),\n      fg: resolveColorTokenValue(context, tokens?.muted?.fg)\n    },\n    kbd: {\n      bg: resolveColorTokenValue(context, tokens?.kbd?.bg),\n      fg: resolveColorTokenValue(context, tokens?.kbd?.fg),\n      border: resolveColorTokenValue(context, tokens?.kbd?.border)\n    },\n    link: {\n      fg: resolveColorTokenValue(context, tokens?.link?.fg)\n    },\n    skeleton: {\n      from: resolveColorTokenValue(context, tokens?.skeleton?.from),\n      to: resolveColorTokenValue(context, tokens?.skeleton?.to)\n    }\n  };\n}\nfunction buildInputColorTheme(options, config) {\n  const {\n    scheme,\n    tone\n  } = options;\n  return {\n    default: buildInputStatesColorTheme({\n      mode: \"default\",\n      scheme,\n      tone\n    }, config),\n    invalid: buildInputStatesColorTheme({\n      mode: \"invalid\",\n      scheme,\n      tone\n    }, config)\n  };\n}\nfunction buildInputStatesColorTheme(options, config) {\n  const {\n    mode,\n    scheme,\n    tone\n  } = options;\n  return {\n    enabled: buildInputStateColorTheme({\n      mode,\n      scheme,\n      state: \"enabled\",\n      cardTone: tone\n    }, config),\n    hovered: buildInputStateColorTheme({\n      mode,\n      scheme,\n      state: \"hovered\",\n      cardTone: tone\n    }, config),\n    readOnly: buildInputStateColorTheme({\n      mode,\n      scheme,\n      state: \"readOnly\",\n      cardTone: tone\n    }, config),\n    disabled: buildInputStateColorTheme({\n      mode,\n      scheme,\n      state: \"disabled\",\n      cardTone: tone\n    }, config)\n  };\n}\nfunction buildInputStateColorTheme(options, config) {\n  const {\n    cardTone,\n    mode,\n    scheme,\n    state\n  } = options, cardTokens = config?.color?.base?.[cardTone], tokens = config?.color?.input?.[mode]?.[state], hue = tokens?._hue || cardTokens?._hue || \"gray\", blendMode = tokens?._blend || [\"screen\", \"multiply\"], context = {\n    hue,\n    scheme\n  };\n  return {\n    _blend: blendMode[scheme === \"light\" ? 0 : 1],\n    bg: resolveColorTokenValue(context, tokens?.bg),\n    border: resolveColorTokenValue(context, tokens?.border),\n    fg: resolveColorTokenValue(context, tokens?.fg),\n    muted: {\n      bg: resolveColorTokenValue(context, tokens?.muted?.bg)\n    },\n    placeholder: resolveColorTokenValue(context, tokens?.placeholder)\n  };\n}\nfunction buildSelectableColorTheme(options, config) {\n  const {\n    scheme,\n    tone: cardTone\n  } = options, tones2 = {};\n  for (const tone of THEME_COLOR_STATE_TONES)\n    tones2[tone] = buildSelectableStatesColorTheme({\n      cardTone,\n      scheme,\n      tone\n    }, config);\n  return tones2;\n}\nfunction buildSelectableStatesColorTheme(options, config) {\n  const {\n    cardTone,\n    scheme,\n    tone\n  } = options, states = {};\n  for (const state of THEME_COLOR_STATES)\n    states[state] = buildSelectableStateColorTheme({\n      cardTone,\n      tone,\n      scheme,\n      state\n    }, config);\n  return states;\n}\nfunction buildSelectableStateColorTheme(options, config) {\n  const {\n    cardTone,\n    scheme,\n    state,\n    tone\n  } = options, cardTokens = config?.color?.base?.[cardTone], tokens = config?.color?.selectable?.[tone]?.[state], hue = tokens?._hue || cardTokens?._hue || \"gray\", blendMode = tokens?._blend || [\"screen\", \"multiply\"], context = {\n    hue,\n    scheme\n  };\n  return {\n    _blend: blendMode[scheme === \"light\" ? 0 : 1],\n    accent: {\n      fg: resolveColorTokenValue(context, tokens?.accent?.fg)\n    },\n    avatar: buildAvatarColorTheme({\n      scheme\n    }, tokens),\n    badge: buildBadgeColorTheme(tokens?.badge, {\n      scheme\n    }, config),\n    bg: resolveColorTokenValue(context, tokens?.bg),\n    border: resolveColorTokenValue(context, tokens?.border),\n    code: {\n      bg: resolveColorTokenValue(context, tokens?.code?.bg),\n      fg: resolveColorTokenValue(context, tokens?.code?.fg)\n    },\n    fg: resolveColorTokenValue(context, tokens?.fg),\n    icon: resolveColorTokenValue(context, tokens?.icon),\n    muted: {\n      bg: resolveColorTokenValue(context, tokens?.muted?.bg),\n      fg: resolveColorTokenValue(context, tokens?.muted?.fg)\n    },\n    kbd: {\n      bg: resolveColorTokenValue(context, tokens?.kbd?.bg),\n      fg: resolveColorTokenValue(context, tokens?.kbd?.fg),\n      border: resolveColorTokenValue(context, tokens?.kbd?.border)\n    },\n    link: {\n      fg: resolveColorTokenValue(context, tokens?.link?.fg)\n    },\n    skeleton: {\n      from: resolveColorTokenValue(context, tokens?.skeleton?.from),\n      to: resolveColorTokenValue(context, tokens?.skeleton?.to)\n    }\n  };\n}\nfunction buildSyntaxColorTheme(options, config) {\n  const {\n    scheme\n  } = options, tokens = config?.color?.syntax, context = {\n    hue: \"gray\",\n    scheme\n  };\n  return {\n    atrule: resolveColorTokenValue(context, tokens?.atrule),\n    attrName: resolveColorTokenValue(context, tokens?.attrName),\n    attrValue: resolveColorTokenValue(context, tokens?.attrValue),\n    attribute: resolveColorTokenValue(context, tokens?.attribute),\n    boolean: resolveColorTokenValue(context, tokens?.boolean),\n    builtin: resolveColorTokenValue(context, tokens?.builtin),\n    cdata: resolveColorTokenValue(context, tokens?.cdata),\n    char: resolveColorTokenValue(context, tokens?.char),\n    class: resolveColorTokenValue(context, tokens?.class),\n    className: resolveColorTokenValue(context, tokens?.className),\n    comment: resolveColorTokenValue(context, tokens?.comment),\n    constant: resolveColorTokenValue(context, tokens?.constant),\n    deleted: resolveColorTokenValue(context, tokens?.deleted),\n    doctype: resolveColorTokenValue(context, tokens?.doctype),\n    entity: resolveColorTokenValue(context, tokens?.entity),\n    function: resolveColorTokenValue(context, tokens?.function),\n    hexcode: resolveColorTokenValue(context, tokens?.hexcode),\n    id: resolveColorTokenValue(context, tokens?.id),\n    important: resolveColorTokenValue(context, tokens?.important),\n    inserted: resolveColorTokenValue(context, tokens?.inserted),\n    keyword: resolveColorTokenValue(context, tokens?.keyword),\n    number: resolveColorTokenValue(context, tokens?.number),\n    operator: resolveColorTokenValue(context, tokens?.operator),\n    prolog: resolveColorTokenValue(context, tokens?.prolog),\n    property: resolveColorTokenValue(context, tokens?.property),\n    pseudoClass: resolveColorTokenValue(context, tokens?.pseudoClass),\n    pseudoElement: resolveColorTokenValue(context, tokens?.pseudoElement),\n    punctuation: resolveColorTokenValue(context, tokens?.punctuation),\n    regex: resolveColorTokenValue(context, tokens?.regex),\n    selector: resolveColorTokenValue(context, tokens?.selector),\n    string: resolveColorTokenValue(context, tokens?.string),\n    symbol: resolveColorTokenValue(context, tokens?.symbol),\n    tag: resolveColorTokenValue(context, tokens?.tag),\n    unit: resolveColorTokenValue(context, tokens?.unit),\n    url: resolveColorTokenValue(context, tokens?.url),\n    variable: resolveColorTokenValue(context, tokens?.variable)\n  };\n}\nconst defaultColorPalette = color;\nfunction mixChannel(b, s, weight) {\n  const delta = (s - b) * weight;\n  return b + delta;\n}\nfunction mix(b, s, weight) {\n  return {\n    r: mixChannel(b.r, s.r, weight),\n    g: mixChannel(b.g, s.g, weight),\n    b: mixChannel(b.b, s.b, weight)\n  };\n}\nfunction multiplyChannel(b, s) {\n  return b * s;\n}\nfunction multiply(b, s) {\n  return {\n    r: multiplyChannel(b.r / 255, s.r / 255) * 255,\n    g: multiplyChannel(b.g / 255, s.g / 255) * 255,\n    b: multiplyChannel(b.b / 255, s.b / 255) * 255\n  };\n}\nfunction screenChannel(b, s) {\n  return b + s - b * s;\n}\nfunction screen(b, s) {\n  return {\n    r: screenChannel(b.r / 255, s.r / 255) * 255,\n    g: screenChannel(b.g / 255, s.g / 255) * 255,\n    b: screenChannel(b.b / 255, s.b / 255) * 255\n  };\n}\nfunction lerp(x, y, a) {\n  return x * (1 - a) + y * a;\n}\nfunction invlerp(x, y, a) {\n  return clamp((a - x) / (y - x));\n}\nfunction clamp(a, min = 0, max = 1) {\n  return Math.min(max, Math.max(min, a));\n}\nfunction range(x1, y1, x2, y2, a) {\n  return lerp(x2, y2, invlerp(x1, y1, a));\n}\nfunction round(value) {\n  return Math.round(value);\n}\nfunction hexToRgb(hex) {\n  if (hex.length === 4) {\n    const hexR = hex.slice(1, 2), hexG = hex.slice(2, 3), hexB = hex.slice(3, 4);\n    return {\n      r: parseInt(hexR + hexR, 16),\n      g: parseInt(hexG + hexG, 16),\n      b: parseInt(hexB + hexB, 16)\n    };\n  }\n  return {\n    r: parseInt(hex.slice(1, 3), 16),\n    g: parseInt(hex.slice(3, 5), 16),\n    b: parseInt(hex.slice(5, 7), 16)\n  };\n}\nfunction rgbaToRGBA(rgba2) {\n  const values = rgba2.replace(/rgba\\(|\\)/g, \"\").split(\",\");\n  return {\n    r: parseInt(values[0]),\n    g: parseInt(values[1]),\n    b: parseInt(values[2]),\n    a: parseFloat(values[3])\n  };\n}\nfunction rgbToHex(color2) {\n  const r = round(clamp(Math.round(color2.r), 0, 255)), g = round(clamp(Math.round(color2.g), 0, 255)), b = round(clamp(Math.round(color2.b), 0, 255));\n  return \"a\" in color2 ? `rgba(${r},${g},${b},${color2.a})` : \"#\" + ((1 << 24) + (r << 16) + (g << 8) + b).toString(16).slice(1);\n}\nfunction rgbToHsl({\n  r,\n  g,\n  b\n}) {\n  r /= 255, g /= 255, b /= 255;\n  const cmin = Math.min(r, g, b), cmax = Math.max(r, g, b), delta = cmax - cmin;\n  let h = 0, s = 0, l = 0;\n  return delta == 0 ? h = 0 : cmax == r ? h = (g - b) / delta % 6 : cmax == g ? h = (b - r) / delta + 2 : h = (r - g) / delta + 4, h = Math.round(h * 60), h < 0 && (h += 360), l = (cmax + cmin) / 2, s = delta == 0 ? 0 : delta / (1 - Math.abs(2 * l - 1)), s = +(s * 100).toFixed(1), l = +(l * 100).toFixed(1), {\n    h,\n    s,\n    l\n  };\n}\nfunction hslToRgb(hsl) {\n  const s = hsl.s / 100, l = hsl.l / 100, c = (1 - Math.abs(2 * l - 1)) * s, x = c * (1 - Math.abs(hsl.h / 60 % 2 - 1)), m = l - c / 2;\n  let r = 0, g = 0, b = 0;\n  return 0 <= hsl.h && hsl.h < 60 ? (r = c, g = x, b = 0) : 60 <= hsl.h && hsl.h < 120 ? (r = x, g = c, b = 0) : 120 <= hsl.h && hsl.h < 180 ? (r = 0, g = c, b = x) : 180 <= hsl.h && hsl.h < 240 ? (r = 0, g = x, b = c) : 240 <= hsl.h && hsl.h < 300 ? (r = x, g = 0, b = c) : 300 <= hsl.h && hsl.h < 360 && (r = c, g = 0, b = x), {\n    r: Math.round((r + m) * 255),\n    g: Math.round((g + m) * 255),\n    b: Math.round((b + m) * 255)\n  };\n}\nconst HEX_CHARS = \"0123456789ABCDEFabcdef\", HSL_RE = /hsl\\(\\s*(\\d+)\\s*,\\s*((\\d+(?:\\.\\d+)?)%)\\s*,\\s*((\\d+(?:\\.\\d+)?)%)\\s*\\)/i;\nfunction isHexChars(str) {\n  for (const c of str)\n    if (HEX_CHARS.indexOf(c) === -1)\n      return !1;\n  return !0;\n}\nfunction isHex(str) {\n  return str[0] !== \"#\" || !(str.length === 4 || str.length === 7) ? !1 : isHexChars(str.slice(1));\n}\nfunction parseHsl(str) {\n  const res = HSL_RE.exec(str);\n  if (!res)\n    throw new Error(`parseHsl: string is not a HSL color: \"${str}\"`);\n  return {\n    h: parseInt(res[1]),\n    s: parseFloat(res[3]),\n    l: parseFloat(res[5])\n  };\n}\nfunction parseColor(color2) {\n  if (!color2) return {\n    r: 0,\n    g: 0,\n    b: 0\n  };\n  if (typeof color2 != \"string\")\n    throw new Error(\"parseColor: expected a string\");\n  if (isHex(color2))\n    return hexToRgb(color2);\n  if (color2.startsWith(\"hsl(\"))\n    return hslToRgb(parseHsl(color2));\n  if (color2.startsWith(\"rgba(\"))\n    return rgbaToRGBA(color2);\n  throw new Error(`parseColor: unexpected color format: \"${color2}\"`);\n}\nfunction getContrastRatio(bg, fg) {\n  const rgb1 = parseColor(bg), rgb2 = parseColor(fg), c1 = rgb_lrgb(rgb1), c2 = rgb_lrgb(rgb2), l1 = lrgb_luminance(c1), l2 = lrgb_luminance(c2);\n  return (Math.max(l1, l2) + 0.05) / (Math.min(l1, l2) + 0.05);\n}\nfunction rgb_lrgb({\n  r,\n  g,\n  b\n}) {\n  return [rgb_lrgb1(r / 255), rgb_lrgb1(g / 255), rgb_lrgb1(b / 255)];\n}\nfunction rgb_lrgb1(v) {\n  return v <= 0.04045 ? v / 12.92 : ((v + 0.055) / 1.055) ** 2.4;\n}\nfunction lrgb_luminance([r, g, b]) {\n  return 0.2126 * r + 0.7152 * g + 0.0722 * b;\n}\nfunction rgba(color2, a) {\n  const rgb = parseColor(color2);\n  return `rgba(${rgb.r},${rgb.g},${rgb.b},${a})`;\n}\nconst RGB_RANGE = [0, 255];\nfunction mixThemeColor(value, options) {\n  const {\n    blendMode\n  } = options, color2 = parseColor(value), black2 = parseColor(options.black), white2 = parseColor(options.white), bg = options.bg ? parseColor(options.bg) : blendMode === \"multiply\" ? white2 : black2, paletteRange = {\n    r: [black2.r, white2.r],\n    g: [black2.g, white2.g],\n    b: [black2.b, white2.b]\n  }, convertedBgColor = {\n    r: clamp(range(...paletteRange.r, ...RGB_RANGE, bg.r), ...RGB_RANGE),\n    g: clamp(range(...paletteRange.g, ...RGB_RANGE, bg.g), ...RGB_RANGE),\n    b: clamp(range(...paletteRange.b, ...RGB_RANGE, bg.b), ...RGB_RANGE)\n  }, convertedColor = {\n    r: clamp(range(...paletteRange.r, ...RGB_RANGE, color2.r), ...RGB_RANGE),\n    g: clamp(range(...paletteRange.g, ...RGB_RANGE, color2.g), ...RGB_RANGE),\n    b: clamp(range(...paletteRange.b, ...RGB_RANGE, color2.b), ...RGB_RANGE)\n  }, resultColor = blendMode === \"multiply\" ? multiply(convertedBgColor, convertedColor) : screen(convertedBgColor, convertedColor), v = {\n    r: clamp(range(...RGB_RANGE, ...paletteRange.r, resultColor.r), ...paletteRange.r),\n    g: clamp(range(...RGB_RANGE, ...paletteRange.g, resultColor.g), ...paletteRange.g),\n    b: clamp(range(...RGB_RANGE, ...paletteRange.b, resultColor.b), ...paletteRange.b)\n  };\n  return rgbToHex(v);\n}\nfunction renderColorValue(str, options) {\n  const {\n    bg,\n    blendMode,\n    colorPalette\n  } = options;\n  if (bg === \"white\")\n    throw new Error(\"Cannot blend with white background\");\n  const node = parseTokenValue(str);\n  if (!node || node.type !== \"color\")\n    throw new Error(`Invalid color token value: ${str}`);\n  let hex = \"\";\n  if (node.key === \"black\" && (hex = renderColorHex(colorPalette.black)), node.key === \"white\" && (hex = renderColorHex(colorPalette.white)), node.hue && node.tint && (hex = renderColorHex(colorPalette[node.hue][node.tint])), !hex)\n    throw new Error(`Invalid color token value: ${str}`);\n  const hexBeforeMix = hex, mixOptions = {\n    blendMode,\n    bg,\n    black: renderColorHex(colorPalette.black),\n    // opacity: node.opacity,\n    white: renderColorHex(colorPalette.white)\n  };\n  try {\n    if (hex = mixThemeColor(hex, mixOptions), bg && node.mix !== void 0) {\n      const from = hexToRgb(bg), to = hexToRgb(hex);\n      hex = rgbToHex(mix(from, to, node.mix));\n    }\n  } catch (err) {\n    throw console.warn(\"could not blend\", hex, mixOptions), err;\n  }\n  return hex === \"#aN\" && (console.warn(`invalid color token value: ${str}`), hex = hexBeforeMix), node.opacity !== void 0 && (hex = rgba(hex, node.opacity)), hex;\n}\nfunction renderColorHex(color2) {\n  return typeof color2 == \"string\" ? color2 : color2.hex;\n}\nfunction renderThemeColorSchemes(value, config) {\n  const colorPalette = config?.palette ?? defaultColorPalette;\n  return {\n    light: renderThemeColorScheme(colorPalette, value.light),\n    dark: renderThemeColorScheme(colorPalette, value.dark)\n  };\n}\nfunction renderThemeColorScheme(colorPalette, value) {\n  const toneEntries = Object.entries(value), [, transparentTone] = toneEntries.find(([k]) => k === \"transparent\"), [, defaultTone] = toneEntries.find(([k]) => k === \"default\"), renderedTransparentTone = renderThemeColor(transparentTone, {\n    colorPalette\n  }), renderedDefaultTone = renderThemeColor(defaultTone, {\n    colorPalette\n  }), bg = renderedDefaultTone.bg;\n  if (bg === \"white\")\n    throw new Error(\"Cannot blend with white background\");\n  return Object.fromEntries([[\"transparent\", renderedTransparentTone], [\"default\", renderedDefaultTone], ...toneEntries.filter(([k]) => k !== \"default\" && k !== \"transparent\").map(([k, v]) => [k, renderThemeColor(v, {\n    bg,\n    colorPalette\n  })])]);\n}\nfunction renderThemeColor(value, options) {\n  const {\n    colorPalette,\n    bg\n  } = options, blendMode = value._blend || \"multiply\", baseBg = renderColorValue(value.bg, {\n    colorPalette,\n    bg,\n    blendMode\n  }), colorOptions = {\n    colorPalette,\n    bg: baseBg,\n    blendMode\n  }, button = renderThemeColorButton(value.button, {\n    baseBg,\n    blendMode,\n    colorPalette\n  }), selectable = renderThemeColorSelectable(value.selectable, {\n    colorPalette,\n    baseBg,\n    blendMode\n  }), shadow = {\n    outline: renderColorValue(value.shadow.outline, colorOptions),\n    umbra: renderColorValue(value.shadow.umbra, {\n      ...colorOptions,\n      bg: void 0,\n      colorPalette: {\n        ...colorPalette,\n        black: \"#000000\"\n      }\n    }),\n    penumbra: renderColorValue(value.shadow.penumbra, {\n      ...colorOptions,\n      bg: void 0,\n      colorPalette: {\n        ...colorPalette,\n        black: \"#000000\"\n      }\n    }),\n    ambient: renderColorValue(value.shadow.ambient, {\n      ...colorOptions,\n      bg: void 0,\n      colorPalette: {\n        ...colorPalette,\n        black: \"#000000\"\n      }\n    })\n  };\n  return {\n    _blend: blendMode,\n    _dark: value._dark,\n    accent: {\n      fg: renderColorValue(value.accent.fg, colorOptions)\n    },\n    avatar: renderThemeColorAvatar(value.avatar, {\n      baseBg,\n      colorPalette,\n      blendMode\n    }),\n    backdrop: renderColorValue(value.backdrop, colorOptions),\n    badge: renderThemeColorBadge(value.badge, {\n      baseBg,\n      colorPalette,\n      blendMode\n    }),\n    bg: baseBg,\n    border: renderColorValue(value.border, colorOptions),\n    button,\n    code: {\n      bg: renderColorValue(value.code.bg, colorOptions),\n      fg: renderColorValue(value.code.fg, colorOptions)\n    },\n    fg: renderColorValue(value.fg, colorOptions),\n    focusRing: renderColorValue(value.focusRing, colorOptions),\n    icon: renderColorValue(value.icon, colorOptions),\n    input: renderThemeColorInput(value.input, {\n      baseBg,\n      colorPalette,\n      blendMode\n    }),\n    kbd: renderThemeColorKBD(value.kbd, {\n      baseBg,\n      colorPalette,\n      blendMode\n    }),\n    link: {\n      fg: renderColorValue(value.link.fg, colorOptions)\n    },\n    muted: {\n      bg: renderColorValue(value.muted.bg, colorOptions),\n      fg: renderColorValue(value.muted.fg, colorOptions)\n    },\n    shadow,\n    skeleton: {\n      from: renderColorValue(value.skeleton.from, colorOptions),\n      to: renderColorValue(value.skeleton.to, colorOptions)\n    },\n    syntax: renderSyntaxColorTheme(value.syntax, {\n      baseBg,\n      colorPalette,\n      blendMode\n    }),\n    selectable\n  };\n}\nfunction renderThemeColorKBD(value, options) {\n  const {\n    baseBg,\n    blendMode,\n    colorPalette\n  } = options, rootOptions = {\n    bg: baseBg,\n    blendMode,\n    colorPalette\n  }, bg = renderColorValue(value.bg, rootOptions), colorOptions = {\n    bg,\n    blendMode,\n    colorPalette\n  };\n  return {\n    bg,\n    fg: renderColorValue(value.fg, colorOptions),\n    border: renderColorValue(value.border, colorOptions)\n  };\n}\nfunction renderThemeColorAvatar(value, options) {\n  const colorAvatar = {};\n  for (const hue of COLOR_HUES)\n    colorAvatar[hue] = renderThemeColorAvatarColor(value[hue], options);\n  return colorAvatar;\n}\nfunction renderThemeColorAvatarColor(value, options) {\n  const {\n    baseBg,\n    blendMode: rootBlendMode,\n    colorPalette\n  } = options, blendMode = value._blend || \"multiply\", rootOptions = {\n    bg: baseBg,\n    blendMode: rootBlendMode,\n    colorPalette\n  }, bg = renderColorValue(value.bg, rootOptions), colorOptions = {\n    bg,\n    blendMode,\n    colorPalette\n  };\n  return {\n    _blend: blendMode,\n    bg,\n    fg: renderColorValue(value.fg, colorOptions)\n  };\n}\nfunction renderThemeColorBadge(value, options) {\n  const colorBadge = {};\n  for (const tone of THEME_COLOR_STATE_TONES)\n    colorBadge[tone] = renderThemeColorBadgeColor(value[tone], options);\n  return colorBadge;\n}\nfunction renderThemeColorBadgeColor(value, options) {\n  const {\n    baseBg,\n    blendMode: rootBlendMode,\n    colorPalette\n  } = options, blendMode = rootBlendMode, rootOptions = {\n    bg: baseBg,\n    blendMode: rootBlendMode,\n    colorPalette\n  }, bg = renderColorValue(value.bg, rootOptions), colorOptions = {\n    bg,\n    blendMode,\n    colorPalette\n  };\n  return {\n    bg,\n    dot: renderColorValue(value.dot, colorOptions),\n    fg: renderColorValue(value.fg, colorOptions),\n    icon: renderColorValue(value.icon, colorOptions)\n  };\n}\nfunction renderThemeColorButton(value, options) {\n  return {\n    default: renderThemeColorButtonTones(value.default, options),\n    ghost: renderThemeColorButtonTones(value.ghost, options),\n    bleed: renderThemeColorButtonTones(value.bleed, options)\n  };\n}\nfunction renderThemeColorButtonTones(value, options) {\n  const colorButtonMode = {};\n  for (const tone of THEME_COLOR_STATE_TONES)\n    colorButtonMode[tone] = renderThemeColorButtonStates(value[tone], options);\n  return colorButtonMode;\n}\nfunction renderThemeColorButtonStates(value, options) {\n  return {\n    enabled: renderThemeColorState(value.enabled, options),\n    hovered: renderThemeColorState(value.hovered, options),\n    pressed: renderThemeColorState(value.pressed, options),\n    selected: renderThemeColorState(value.selected, options),\n    disabled: renderThemeColorState(value.disabled, options)\n  };\n}\nfunction renderThemeColorState(value, options) {\n  const {\n    baseBg,\n    blendMode: rootBlendMode,\n    colorPalette\n  } = options, blendMode = value._blend || \"multiply\", rootOptions = {\n    bg: baseBg,\n    blendMode: rootBlendMode,\n    colorPalette\n  }, bg = renderColorValue(value.bg, rootOptions), colorOptions = {\n    bg,\n    blendMode,\n    colorPalette\n  };\n  return {\n    _blend: blendMode,\n    accent: {\n      fg: renderColorValue(value.accent.fg, colorOptions)\n    },\n    avatar: renderThemeColorAvatar(value.avatar, {\n      baseBg: bg,\n      colorPalette,\n      blendMode\n    }),\n    badge: renderThemeColorBadge(value.badge, {\n      baseBg: bg,\n      colorPalette,\n      blendMode\n    }),\n    bg,\n    border: renderColorValue(value.border, colorOptions),\n    code: {\n      bg: renderColorValue(value.code.bg, colorOptions),\n      fg: renderColorValue(value.code.fg, colorOptions)\n    },\n    fg: renderColorValue(value.fg, colorOptions),\n    icon: renderColorValue(value.icon, colorOptions),\n    link: {\n      fg: renderColorValue(value.link.fg, colorOptions)\n    },\n    muted: {\n      bg: renderColorValue(value.muted.bg, colorOptions),\n      fg: renderColorValue(value.muted.fg, colorOptions)\n    },\n    kbd: {\n      bg: renderColorValue(value.kbd.bg, colorOptions),\n      fg: renderColorValue(value.kbd.fg, colorOptions),\n      border: renderColorValue(value.kbd.border, colorOptions)\n    },\n    skeleton: {\n      from: renderColorValue(value.skeleton?.from, colorOptions),\n      to: renderColorValue(value.skeleton?.to, colorOptions)\n    }\n  };\n}\nfunction renderThemeColorInput(value, options) {\n  return {\n    default: renderInputStatesColorTheme(value.default, options),\n    invalid: renderInputStatesColorTheme(value.invalid, options)\n  };\n}\nfunction renderInputStatesColorTheme(value, options) {\n  return {\n    enabled: renderInputStateColorTheme(value.enabled, options),\n    hovered: renderInputStateColorTheme(value.hovered, options),\n    readOnly: renderInputStateColorTheme(value.readOnly, options),\n    disabled: renderInputStateColorTheme(value.disabled, options)\n  };\n}\nfunction renderInputStateColorTheme(value, options) {\n  const {\n    baseBg,\n    blendMode: rootBlendMode,\n    colorPalette\n  } = options, blendMode = value._blend || \"multiply\", rootOptions = {\n    colorPalette,\n    bg: baseBg,\n    blendMode: rootBlendMode\n  }, bg = renderColorValue(value.bg, rootOptions), colorOptions = {\n    colorPalette,\n    bg,\n    blendMode\n  };\n  return {\n    _blend: blendMode,\n    bg,\n    border: renderColorValue(value.border, colorOptions),\n    fg: renderColorValue(value.fg, colorOptions),\n    muted: {\n      bg: renderColorValue(value.muted.bg, colorOptions)\n    },\n    placeholder: renderColorValue(value.placeholder, colorOptions)\n  };\n}\nfunction renderThemeColorSelectable(value, options) {\n  const colorSelectable = {};\n  for (const tone of THEME_COLOR_STATE_TONES)\n    colorSelectable[tone] = renderThemeColorSelectableStates(value[tone], options);\n  return colorSelectable;\n}\nfunction renderThemeColorSelectableStates(value, options) {\n  return {\n    enabled: renderThemeColorState(value.enabled, options),\n    hovered: renderThemeColorState(value.hovered, options),\n    pressed: renderThemeColorState(value.pressed, options),\n    selected: renderThemeColorState(value.selected, options),\n    disabled: renderThemeColorState(value.disabled, options)\n  };\n}\nfunction renderSyntaxColorTheme(value, options) {\n  const {\n    colorPalette,\n    baseBg,\n    blendMode\n  } = options, colorOptions = {\n    colorPalette,\n    bg: baseBg,\n    blendMode\n  };\n  return {\n    atrule: renderColorValue(value.atrule, colorOptions),\n    attrName: renderColorValue(value.attrName, colorOptions),\n    attrValue: renderColorValue(value.attrValue, colorOptions),\n    attribute: renderColorValue(value.attribute, colorOptions),\n    boolean: renderColorValue(value.boolean, colorOptions),\n    builtin: renderColorValue(value.builtin, colorOptions),\n    cdata: renderColorValue(value.cdata, colorOptions),\n    char: renderColorValue(value.char, colorOptions),\n    class: renderColorValue(value.class, colorOptions),\n    className: renderColorValue(value.className, colorOptions),\n    comment: renderColorValue(value.comment, colorOptions),\n    constant: renderColorValue(value.constant, colorOptions),\n    deleted: renderColorValue(value.deleted, colorOptions),\n    doctype: renderColorValue(value.doctype, colorOptions),\n    entity: renderColorValue(value.entity, colorOptions),\n    function: renderColorValue(value.function, colorOptions),\n    hexcode: renderColorValue(value.hexcode, colorOptions),\n    id: renderColorValue(value.id, colorOptions),\n    important: renderColorValue(value.important, colorOptions),\n    inserted: renderColorValue(value.inserted, colorOptions),\n    keyword: renderColorValue(value.keyword, colorOptions),\n    number: renderColorValue(value.number, colorOptions),\n    operator: renderColorValue(value.operator, colorOptions),\n    prolog: renderColorValue(value.prolog, colorOptions),\n    property: renderColorValue(value.property, colorOptions),\n    pseudoClass: renderColorValue(value.pseudoClass, colorOptions),\n    pseudoElement: renderColorValue(value.pseudoElement, colorOptions),\n    punctuation: renderColorValue(value.punctuation, colorOptions),\n    regex: renderColorValue(value.regex, colorOptions),\n    selector: renderColorValue(value.selector, colorOptions),\n    string: renderColorValue(value.string, colorOptions),\n    symbol: renderColorValue(value.symbol, colorOptions),\n    tag: renderColorValue(value.tag, colorOptions),\n    unit: renderColorValue(value.unit, colorOptions),\n    url: renderColorValue(value.url, colorOptions),\n    variable: renderColorValue(value.variable, colorOptions)\n  };\n}\nfunction buildTheme(config) {\n  const colorTheme = buildColorTheme(config), v2 = {\n    _version: 2,\n    avatar: config?.avatar ?? defaultThemeConfig.avatar,\n    button: config?.button ?? defaultThemeConfig.button,\n    card: config?.card ?? defaultThemeConfig.card,\n    // How colors are generated:\n    // 1. Merge custom tokens with default tokens\n    // 2. Generate tree of color keys (gray/500, black, white, etc.)\n    // 3. Apply mixing and render to hex values\n    // render(build(mergeWithDefaults()))\n    color: renderThemeColorSchemes(colorTheme, config),\n    container: config?.container ?? defaultThemeConfig.container,\n    font: config?.font ?? defaultThemeFonts,\n    input: config?.input ?? defaultThemeConfig.input,\n    layer: config?.layer ?? defaultThemeConfig.layer,\n    media: config?.media ?? defaultThemeConfig.media,\n    radius: config?.radius ?? defaultThemeConfig.radius,\n    shadow: config?.shadow ?? defaultThemeConfig.shadow,\n    space: config?.space ?? defaultThemeConfig.space,\n    style: config?.style ?? defaultThemeConfig.style\n  };\n  return v2_v0(v2);\n}\nconst cache = /* @__PURE__ */ new Map();\nfunction getScopedTheme(themeProp, scheme, tone) {\n  const cachedTheme = _getCachedTheme(themeProp, scheme, tone);\n  if (cachedTheme) return cachedTheme;\n  const v0 = is_v2(themeProp) ? v2_v0(themeProp) : themeProp, v2 = is_v2(themeProp) ? themeProp : v0_v2(themeProp), colorScheme_v0 = v0.color[scheme] || v0.color.light, color_v0 = colorScheme_v0[tone] || colorScheme_v0.default, layer_v0 = v0.layer || defaultThemeConfig.layer, colorScheme_v2 = v2.color[scheme] || v2.color.light, color_v2 = colorScheme_v2[tone] || colorScheme_v2.default, layer_v2 = v2.layer || defaultThemeConfig.layer, theme = {\n    sanity: {\n      ...v0,\n      color: color_v0,\n      layer: layer_v0,\n      v2: {\n        ...v2,\n        _resolved: !0,\n        color: color_v2,\n        layer: layer_v2\n      }\n    }\n  };\n  return _setCachedTheme(themeProp, scheme, tone, theme), theme;\n}\nfunction _getCachedTheme(rootTheme, scheme, tone) {\n  const schemeCache = cache.get(scheme);\n  if (!schemeCache) return;\n  const toneCache = schemeCache.get(tone);\n  if (toneCache)\n    return toneCache.get(rootTheme);\n}\nfunction _setCachedTheme(rootTheme, scheme, tone, theme) {\n  cache.has(scheme) || cache.set(scheme, /* @__PURE__ */ new Map());\n  const schemeCache = cache.get(scheme);\n  schemeCache.has(tone) || schemeCache.set(tone, /* @__PURE__ */ new WeakMap()), schemeCache.get(tone).set(rootTheme, theme);\n}\nexport {\n  COLOR_CONFIG_AVATAR_COLORS,\n  COLOR_CONFIG_BLEND_KEYS,\n  COLOR_CONFIG_CARD_KEYS,\n  COLOR_CONFIG_CARD_TONES,\n  COLOR_CONFIG_INPUT_MODES,\n  COLOR_CONFIG_INPUT_STATES,\n  COLOR_CONFIG_STATES,\n  COLOR_CONFIG_STATE_KEYS,\n  COLOR_CONFIG_STATE_TONES,\n  THEME_COLOR_AVATAR_COLORS,\n  THEME_COLOR_BLEND_MODES,\n  THEME_COLOR_BUTTON_MODES,\n  THEME_COLOR_CARD_TONES,\n  THEME_COLOR_INPUT_MODES,\n  THEME_COLOR_INPUT_STATES,\n  THEME_COLOR_SCHEMES,\n  THEME_COLOR_STATES,\n  THEME_COLOR_STATE_TONES,\n  buildTheme,\n  createColorTheme,\n  getContrastRatio,\n  getScopedTheme,\n  getTheme_v2,\n  hexToRgb,\n  hslToRgb,\n  isColorBlendModeValue,\n  isColorButtonMode,\n  isColorConfigBaseKey,\n  isColorConfigBaseTone,\n  isColorConfigBlendKey,\n  isColorConfigStateKey,\n  isColorConfigStateTone,\n  isColorHueKey,\n  isColorOpacityValue,\n  isColorTintKey,\n  isColorTokenValue,\n  isColorValue,\n  is_v0,\n  is_v2,\n  mix,\n  multiply,\n  parseColor,\n  parseTokenKey,\n  parseTokenValue,\n  rgbToHex,\n  rgbToHsl,\n  rgba,\n  rgbaToRGBA,\n  screen,\n  v0_v2,\n  v2_v0\n};\n//# sourceMappingURL=theme.mjs.map\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n  module.exports = require('./cjs/react-is.production.min.js');\n} else {\n  module.exports = require('./cjs/react-is.development.js');\n}\n","/**\n * @license React\n * react-is.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its 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'use strict';var b=Symbol.for(\"react.element\"),c=Symbol.for(\"react.portal\"),d=Symbol.for(\"react.fragment\"),e=Symbol.for(\"react.strict_mode\"),f=Symbol.for(\"react.profiler\"),g=Symbol.for(\"react.provider\"),h=Symbol.for(\"react.context\"),k=Symbol.for(\"react.server_context\"),l=Symbol.for(\"react.forward_ref\"),m=Symbol.for(\"react.suspense\"),n=Symbol.for(\"react.suspense_list\"),p=Symbol.for(\"react.memo\"),q=Symbol.for(\"react.lazy\"),t=Symbol.for(\"react.offscreen\"),u;u=Symbol.for(\"react.module.reference\");\nfunction v(a){if(\"object\"===typeof a&&null!==a){var r=a.$$typeof;switch(r){case b:switch(a=a.type,a){case d:case f:case e:case m:case n:return a;default:switch(a=a&&a.$$typeof,a){case k:case h:case l:case q:case p:case g:return a;default:return r}}case c:return r}}}exports.ContextConsumer=h;exports.ContextProvider=g;exports.Element=b;exports.ForwardRef=l;exports.Fragment=d;exports.Lazy=q;exports.Memo=p;exports.Portal=c;exports.Profiler=f;exports.StrictMode=e;exports.Suspense=m;\nexports.SuspenseList=n;exports.isAsyncMode=function(){return!1};exports.isConcurrentMode=function(){return!1};exports.isContextConsumer=function(a){return v(a)===h};exports.isContextProvider=function(a){return v(a)===g};exports.isElement=function(a){return\"object\"===typeof a&&null!==a&&a.$$typeof===b};exports.isForwardRef=function(a){return v(a)===l};exports.isFragment=function(a){return v(a)===d};exports.isLazy=function(a){return v(a)===q};exports.isMemo=function(a){return v(a)===p};\nexports.isPortal=function(a){return v(a)===c};exports.isProfiler=function(a){return v(a)===f};exports.isStrictMode=function(a){return v(a)===e};exports.isSuspense=function(a){return v(a)===m};exports.isSuspenseList=function(a){return v(a)===n};\nexports.isValidElementType=function(a){return\"string\"===typeof a||\"function\"===typeof a||a===d||a===f||a===e||a===m||a===n||a===t||\"object\"===typeof a&&null!==a&&(a.$$typeof===q||a.$$typeof===p||a.$$typeof===g||a.$$typeof===h||a.$$typeof===l||a.$$typeof===u||void 0!==a.getModuleId)?!0:!1};exports.typeOf=v;\n","/******************************************************************************\nCopyright (c) Microsoft Corporation.\n\nPermission to use, copy, modify, and/or distribute this software for any\npurpose with or without fee is hereby granted.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\nPERFORMANCE OF THIS SOFTWARE.\n***************************************************************************** */\n/* global Reflect, Promise, SuppressedError, Symbol */\n\nvar extendStatics = function(d, b) {\n  extendStatics = Object.setPrototypeOf ||\n      ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n      function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n  return extendStatics(d, b);\n};\n\nexport function __extends(d, b) {\n  if (typeof b !== \"function\" && b !== null)\n      throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n  extendStatics(d, b);\n  function __() { this.constructor = d; }\n  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n}\n\nexport var __assign = function() {\n  __assign = Object.assign || function __assign(t) {\n      for (var s, i = 1, n = arguments.length; i < n; i++) {\n          s = arguments[i];\n          for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n      }\n      return t;\n  }\n  return __assign.apply(this, arguments);\n}\n\nexport function __rest(s, e) {\n  var t = {};\n  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n      t[p] = s[p];\n  if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n      for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n          if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n              t[p[i]] = s[p[i]];\n      }\n  return t;\n}\n\nexport function __decorate(decorators, target, key, desc) {\n  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n  if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n  return c > 3 && r && Object.defineProperty(target, key, r), r;\n}\n\nexport function __param(paramIndex, decorator) {\n  return function (target, key) { decorator(target, key, paramIndex); }\n}\n\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\n  function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\n  var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\n  var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\n  var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\n  var _, done = false;\n  for (var i = decorators.length - 1; i >= 0; i--) {\n      var context = {};\n      for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\n      for (var p in contextIn.access) context.access[p] = contextIn.access[p];\n      context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\n      var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\n      if (kind === \"accessor\") {\n          if (result === void 0) continue;\n          if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\n          if (_ = accept(result.get)) descriptor.get = _;\n          if (_ = accept(result.set)) descriptor.set = _;\n          if (_ = accept(result.init)) initializers.unshift(_);\n      }\n      else if (_ = accept(result)) {\n          if (kind === \"field\") initializers.unshift(_);\n          else descriptor[key] = _;\n      }\n  }\n  if (target) Object.defineProperty(target, contextIn.name, descriptor);\n  done = true;\n};\n\nexport function __runInitializers(thisArg, initializers, value) {\n  var useValue = arguments.length > 2;\n  for (var i = 0; i < initializers.length; i++) {\n      value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\n  }\n  return useValue ? value : void 0;\n};\n\nexport function __propKey(x) {\n  return typeof x === \"symbol\" ? x : \"\".concat(x);\n};\n\nexport function __setFunctionName(f, name, prefix) {\n  if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\n  return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\n};\n\nexport function __metadata(metadataKey, metadataValue) {\n  if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\n}\n\nexport function __awaiter(thisArg, _arguments, P, generator) {\n  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n  return new (P || (P = Promise))(function (resolve, reject) {\n      function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n      function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n      function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n      step((generator = generator.apply(thisArg, _arguments || [])).next());\n  });\n}\n\nexport function __generator(thisArg, body) {\n  var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n  return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n  function verb(n) { return function (v) { return step([n, v]); }; }\n  function step(op) {\n      if (f) throw new TypeError(\"Generator is already executing.\");\n      while (g && (g = 0, op[0] && (_ = 0)), _) try {\n          if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n          if (y = 0, t) op = [op[0] & 2, t.value];\n          switch (op[0]) {\n              case 0: case 1: t = op; break;\n              case 4: _.label++; return { value: op[1], done: false };\n              case 5: _.label++; y = op[1]; op = [0]; continue;\n              case 7: op = _.ops.pop(); _.trys.pop(); continue;\n              default:\n                  if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n                  if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n                  if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n                  if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n                  if (t[2]) _.ops.pop();\n                  _.trys.pop(); continue;\n          }\n          op = body.call(thisArg, _);\n      } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n      if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n  }\n}\n\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\n  if (k2 === undefined) k2 = k;\n  var desc = Object.getOwnPropertyDescriptor(m, k);\n  if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n      desc = { enumerable: true, get: function() { return m[k]; } };\n  }\n  Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n  if (k2 === undefined) k2 = k;\n  o[k2] = m[k];\n});\n\nexport function __exportStar(m, o) {\n  for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\n}\n\nexport function __values(o) {\n  var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n  if (m) return m.call(o);\n  if (o && typeof o.length === \"number\") return {\n      next: function () {\n          if (o && i >= o.length) o = void 0;\n          return { value: o && o[i++], done: !o };\n      }\n  };\n  throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n}\n\nexport function __read(o, n) {\n  var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n  if (!m) return o;\n  var i = m.call(o), r, ar = [], e;\n  try {\n      while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n  }\n  catch (error) { e = { error: error }; }\n  finally {\n      try {\n          if (r && !r.done && (m = i[\"return\"])) m.call(i);\n      }\n      finally { if (e) throw e.error; }\n  }\n  return ar;\n}\n\n/** @deprecated */\nexport function __spread() {\n  for (var ar = [], i = 0; i < arguments.length; i++)\n      ar = ar.concat(__read(arguments[i]));\n  return ar;\n}\n\n/** @deprecated */\nexport function __spreadArrays() {\n  for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\n  for (var r = Array(s), k = 0, i = 0; i < il; i++)\n      for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\n          r[k] = a[j];\n  return r;\n}\n\nexport function __spreadArray(to, from, pack) {\n  if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n      if (ar || !(i in from)) {\n          if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n          ar[i] = from[i];\n      }\n  }\n  return to.concat(ar || Array.prototype.slice.call(from));\n}\n\nexport function __await(v) {\n  return this instanceof __await ? (this.v = v, this) : new __await(v);\n}\n\nexport function __asyncGenerator(thisArg, _arguments, generator) {\n  if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n  var g = generator.apply(thisArg, _arguments || []), i, q = [];\n  return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\n  function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\n  function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\n  function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\n  function fulfill(value) { resume(\"next\", value); }\n  function reject(value) { resume(\"throw\", value); }\n  function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\n}\n\nexport function __asyncDelegator(o) {\n  var i, p;\n  return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\n  function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\n}\n\nexport function __asyncValues(o) {\n  if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n  var m = o[Symbol.asyncIterator], i;\n  return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\n  function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\n  function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\n}\n\nexport function __makeTemplateObject(cooked, raw) {\n  if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\n  return cooked;\n};\n\nvar __setModuleDefault = Object.create ? (function(o, v) {\n  Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n  o[\"default\"] = v;\n};\n\nexport function __importStar(mod) {\n  if (mod && mod.__esModule) return mod;\n  var result = {};\n  if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n  __setModuleDefault(result, mod);\n  return result;\n}\n\nexport function __importDefault(mod) {\n  return (mod && mod.__esModule) ? mod : { default: mod };\n}\n\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\n  if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n  if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n  return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n}\n\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\n  if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n  if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n  if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n  return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n}\n\nexport function __classPrivateFieldIn(state, receiver) {\n  if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\n  return typeof state === \"function\" ? receiver === state : state.has(receiver);\n}\n\nexport function __addDisposableResource(env, value, async) {\n  if (value !== null && value !== void 0) {\n    if (typeof value !== \"object\" && typeof value !== \"function\") throw new TypeError(\"Object expected.\");\n    var dispose;\n    if (async) {\n        if (!Symbol.asyncDispose) throw new TypeError(\"Symbol.asyncDispose is not defined.\");\n        dispose = value[Symbol.asyncDispose];\n    }\n    if (dispose === void 0) {\n        if (!Symbol.dispose) throw new TypeError(\"Symbol.dispose is not defined.\");\n        dispose = value[Symbol.dispose];\n    }\n    if (typeof dispose !== \"function\") throw new TypeError(\"Object not disposable.\");\n    env.stack.push({ value: value, dispose: dispose, async: async });\n  }\n  else if (async) {\n    env.stack.push({ async: true });\n  }\n  return value;\n}\n\nvar _SuppressedError = typeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\n  var e = new Error(message);\n  return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\n};\n\nexport function __disposeResources(env) {\n  function fail(e) {\n    env.error = env.hasError ? new _SuppressedError(e, env.error, \"An error was suppressed during disposal.\") : e;\n    env.hasError = true;\n  }\n  function next() {\n    while (env.stack.length) {\n      var rec = env.stack.pop();\n      try {\n        var result = rec.dispose && rec.dispose.call(rec.value);\n        if (rec.async) return Promise.resolve(result).then(next, function(e) { fail(e); return next(); });\n      }\n      catch (e) {\n          fail(e);\n      }\n    }\n    if (env.hasError) throw env.error;\n  }\n  return next();\n}\n\nexport default {\n  __extends,\n  __assign,\n  __rest,\n  __decorate,\n  __param,\n  __metadata,\n  __awaiter,\n  __generator,\n  __createBinding,\n  __exportStar,\n  __values,\n  __read,\n  __spread,\n  __spreadArrays,\n  __spreadArray,\n  __await,\n  __asyncGenerator,\n  __asyncDelegator,\n  __asyncValues,\n  __makeTemplateObject,\n  __importStar,\n  __importDefault,\n  __classPrivateFieldGet,\n  __classPrivateFieldSet,\n  __classPrivateFieldIn,\n  __addDisposableResource,\n  __disposeResources,\n};\n","export var MS = '-ms-'\nexport var MOZ = '-moz-'\nexport var WEBKIT = '-webkit-'\n\nexport var COMMENT = 'comm'\nexport var RULESET = 'rule'\nexport var DECLARATION = 'decl'\n\nexport var PAGE = '@page'\nexport var MEDIA = '@media'\nexport var IMPORT = '@import'\nexport var CHARSET = '@charset'\nexport var VIEWPORT = '@viewport'\nexport var SUPPORTS = '@supports'\nexport var DOCUMENT = '@document'\nexport var NAMESPACE = '@namespace'\nexport var KEYFRAMES = '@keyframes'\nexport var FONT_FACE = '@font-face'\nexport var COUNTER_STYLE = '@counter-style'\nexport var FONT_FEATURE_VALUES = '@font-feature-values'\nexport var LAYER = '@layer'\nexport var SCOPE = '@scope'\n","/**\n * @param {number}\n * @return {number}\n */\nexport var abs = Math.abs\n\n/**\n * @param {number}\n * @return {string}\n */\nexport var from = String.fromCharCode\n\n/**\n * @param {object}\n * @return {object}\n */\nexport var assign = Object.assign\n\n/**\n * @param {string} value\n * @param {number} length\n * @return {number}\n */\nexport function hash (value, length) {\n\treturn charat(value, 0) ^ 45 ? (((((((length << 2) ^ charat(value, 0)) << 2) ^ charat(value, 1)) << 2) ^ charat(value, 2)) << 2) ^ charat(value, 3) : 0\n}\n\n/**\n * @param {string} value\n * @return {string}\n */\nexport function trim (value) {\n\treturn value.trim()\n}\n\n/**\n * @param {string} value\n * @param {RegExp} pattern\n * @return {string?}\n */\nexport function match (value, pattern) {\n\treturn (value = pattern.exec(value)) ? value[0] : value\n}\n\n/**\n * @param {string} value\n * @param {(string|RegExp)} pattern\n * @param {string} replacement\n * @return {string}\n */\nexport function replace (value, pattern, replacement) {\n\treturn value.replace(pattern, replacement)\n}\n\n/**\n * @param {string} value\n * @param {string} search\n * @param {number} position\n * @return {number}\n */\nexport function indexof (value, search, position) {\n\treturn value.indexOf(search, position)\n}\n\n/**\n * @param {string} value\n * @param {number} index\n * @return {number}\n */\nexport function charat (value, index) {\n\treturn value.charCodeAt(index) | 0\n}\n\n/**\n * @param {string} value\n * @param {number} begin\n * @param {number} end\n * @return {string}\n */\nexport function substr (value, begin, end) {\n\treturn value.slice(begin, end)\n}\n\n/**\n * @param {string} value\n * @return {number}\n */\nexport function strlen (value) {\n\treturn value.length\n}\n\n/**\n * @param {any[]} value\n * @return {number}\n */\nexport function sizeof (value) {\n\treturn value.length\n}\n\n/**\n * @param {any} value\n * @param {any[]} array\n * @return {any}\n */\nexport function append (value, array) {\n\treturn array.push(value), value\n}\n\n/**\n * @param {string[]} array\n * @param {function} callback\n * @return {string}\n */\nexport function combine (array, callback) {\n\treturn array.map(callback).join('')\n}\n\n/**\n * @param {string[]} array\n * @param {RegExp} pattern\n * @return {string[]}\n */\nexport function filter (array, pattern) {\n\treturn array.filter(function (value) { return !match(value, pattern) })\n}\n","import {from, trim, charat, strlen, substr, append, assign} from './Utility.js'\n\nexport var line = 1\nexport var column = 1\nexport var length = 0\nexport var position = 0\nexport var character = 0\nexport var characters = ''\n\n/**\n * @param {string} value\n * @param {object | null} root\n * @param {object | null} parent\n * @param {string} type\n * @param {string[] | string} props\n * @param {object[] | string} children\n * @param {object[]} siblings\n * @param {number} length\n */\nexport function node (value, root, parent, type, props, children, length, siblings) {\n\treturn {value: value, root: root, parent: parent, type: type, props: props, children: children, line: line, column: column, length: length, return: '', siblings: siblings}\n}\n\n/**\n * @param {object} root\n * @param {object} props\n * @return {object}\n */\nexport function copy (root, props) {\n\treturn assign(node('', null, null, '', null, null, 0, root.siblings), root, {length: -root.length}, props)\n}\n\n/**\n * @param {object} root\n */\nexport function lift (root) {\n\twhile (root.root)\n\t\troot = copy(root.root, {children: [root]})\n\n\tappend(root, root.siblings)\n}\n\n/**\n * @return {number}\n */\nexport function char () {\n\treturn character\n}\n\n/**\n * @return {number}\n */\nexport function prev () {\n\tcharacter = position > 0 ? charat(characters, --position) : 0\n\n\tif (column--, character === 10)\n\t\tcolumn = 1, line--\n\n\treturn character\n}\n\n/**\n * @return {number}\n */\nexport function next () {\n\tcharacter = position < length ? charat(characters, position++) : 0\n\n\tif (column++, character === 10)\n\t\tcolumn = 1, line++\n\n\treturn character\n}\n\n/**\n * @return {number}\n */\nexport function peek () {\n\treturn charat(characters, position)\n}\n\n/**\n * @return {number}\n */\nexport function caret () {\n\treturn position\n}\n\n/**\n * @param {number} begin\n * @param {number} end\n * @return {string}\n */\nexport function slice (begin, end) {\n\treturn substr(characters, begin, end)\n}\n\n/**\n * @param {number} type\n * @return {number}\n */\nexport function token (type) {\n\tswitch (type) {\n\t\t// \\0 \\t \\n \\r \\s whitespace token\n\t\tcase 0: case 9: case 10: case 13: case 32:\n\t\t\treturn 5\n\t\t// ! + , / > @ ~ isolate token\n\t\tcase 33: case 43: case 44: case 47: case 62: case 64: case 126:\n\t\t// ; { } breakpoint token\n\t\tcase 59: case 123: case 125:\n\t\t\treturn 4\n\t\t// : accompanied token\n\t\tcase 58:\n\t\t\treturn 3\n\t\t// \" ' ( [ opening delimit token\n\t\tcase 34: case 39: case 40: case 91:\n\t\t\treturn 2\n\t\t// ) ] closing delimit token\n\t\tcase 41: case 93:\n\t\t\treturn 1\n\t}\n\n\treturn 0\n}\n\n/**\n * @param {string} value\n * @return {any[]}\n */\nexport function alloc (value) {\n\treturn line = column = 1, length = strlen(characters = value), position = 0, []\n}\n\n/**\n * @param {any} value\n * @return {any}\n */\nexport function dealloc (value) {\n\treturn characters = '', value\n}\n\n/**\n * @param {number} type\n * @return {string}\n */\nexport function delimit (type) {\n\treturn trim(slice(position - 1, delimiter(type === 91 ? type + 2 : type === 40 ? type + 1 : type)))\n}\n\n/**\n * @param {string} value\n * @return {string[]}\n */\nexport function tokenize (value) {\n\treturn dealloc(tokenizer(alloc(value)))\n}\n\n/**\n * @param {number} type\n * @return {string}\n */\nexport function whitespace (type) {\n\twhile (character = peek())\n\t\tif (character < 33)\n\t\t\tnext()\n\t\telse\n\t\t\tbreak\n\n\treturn token(type) > 2 || token(character) > 3 ? '' : ' '\n}\n\n/**\n * @param {string[]} children\n * @return {string[]}\n */\nexport function tokenizer (children) {\n\twhile (next())\n\t\tswitch (token(character)) {\n\t\t\tcase 0: append(identifier(position - 1), children)\n\t\t\t\tbreak\n\t\t\tcase 2: append(delimit(character), children)\n\t\t\t\tbreak\n\t\t\tdefault: append(from(character), children)\n\t\t}\n\n\treturn children\n}\n\n/**\n * @param {number} index\n * @param {number} count\n * @return {string}\n */\nexport function escaping (index, count) {\n\twhile (--count && next())\n\t\t// not 0-9 A-F a-f\n\t\tif (character < 48 || character > 102 || (character > 57 && character < 65) || (character > 70 && character < 97))\n\t\t\tbreak\n\n\treturn slice(index, caret() + (count < 6 && peek() == 32 && next() == 32))\n}\n\n/**\n * @param {number} type\n * @return {number}\n */\nexport function delimiter (type) {\n\twhile (next())\n\t\tswitch (character) {\n\t\t\t// ] ) \" '\n\t\t\tcase type:\n\t\t\t\treturn position\n\t\t\t// \" '\n\t\t\tcase 34: case 39:\n\t\t\t\tif (type !== 34 && type !== 39)\n\t\t\t\t\tdelimiter(character)\n\t\t\t\tbreak\n\t\t\t// (\n\t\t\tcase 40:\n\t\t\t\tif (type === 41)\n\t\t\t\t\tdelimiter(type)\n\t\t\t\tbreak\n\t\t\t// \\\n\t\t\tcase 92:\n\t\t\t\tnext()\n\t\t\t\tbreak\n\t\t}\n\n\treturn position\n}\n\n/**\n * @param {number} type\n * @param {number} index\n * @return {number}\n */\nexport function commenter (type, index) {\n\twhile (next())\n\t\t// //\n\t\tif (type + character === 47 + 10)\n\t\t\tbreak\n\t\t// /*\n\t\telse if (type + character === 42 + 42 && peek() === 47)\n\t\t\tbreak\n\n\treturn '/*' + slice(index, position - 1) + '*' + from(type === 47 ? type : next())\n}\n\n/**\n * @param {number} index\n * @return {string}\n */\nexport function identifier (index) {\n\twhile (!token(peek()))\n\t\tnext()\n\n\treturn slice(index, position)\n}\n","import {COMMENT, RULESET, DECLARATION} from './Enum.js'\nimport {abs, charat, trim, from, sizeof, strlen, substr, append, replace, indexof} from './Utility.js'\nimport {node, char, prev, next, peek, caret, alloc, dealloc, delimit, whitespace, escaping, identifier, commenter} from './Tokenizer.js'\n\n/**\n * @param {string} value\n * @return {object[]}\n */\nexport function compile (value) {\n\treturn dealloc(parse('', null, null, null, [''], value = alloc(value), 0, [0], value))\n}\n\n/**\n * @param {string} value\n * @param {object} root\n * @param {object?} parent\n * @param {string[]} rule\n * @param {string[]} rules\n * @param {string[]} rulesets\n * @param {number[]} pseudo\n * @param {number[]} points\n * @param {string[]} declarations\n * @return {object}\n */\nexport function parse (value, root, parent, rule, rules, rulesets, pseudo, points, declarations) {\n\tvar index = 0\n\tvar offset = 0\n\tvar length = pseudo\n\tvar atrule = 0\n\tvar property = 0\n\tvar previous = 0\n\tvar variable = 1\n\tvar scanning = 1\n\tvar ampersand = 1\n\tvar character = 0\n\tvar type = ''\n\tvar props = rules\n\tvar children = rulesets\n\tvar reference = rule\n\tvar characters = type\n\n\twhile (scanning)\n\t\tswitch (previous = character, character = next()) {\n\t\t\t// (\n\t\t\tcase 40:\n\t\t\t\tif (previous != 108 && charat(characters, length - 1) == 58) {\n\t\t\t\t\tif (indexof(characters += replace(delimit(character), '&', '&\\f'), '&\\f', abs(index ? points[index - 1] : 0)) != -1)\n\t\t\t\t\t\tampersand = -1\n\t\t\t\t\tbreak\n\t\t\t\t}\n\t\t\t// \" ' [\n\t\t\tcase 34: case 39: case 91:\n\t\t\t\tcharacters += delimit(character)\n\t\t\t\tbreak\n\t\t\t// \\t \\n \\r \\s\n\t\t\tcase 9: case 10: case 13: case 32:\n\t\t\t\tcharacters += whitespace(previous)\n\t\t\t\tbreak\n\t\t\t// \\\n\t\t\tcase 92:\n\t\t\t\tcharacters += escaping(caret() - 1, 7)\n\t\t\t\tcontinue\n\t\t\t// /\n\t\t\tcase 47:\n\t\t\t\tswitch (peek()) {\n\t\t\t\t\tcase 42: case 47:\n\t\t\t\t\t\tappend(comment(commenter(next(), caret()), root, parent, declarations), declarations)\n\t\t\t\t\t\tbreak\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tcharacters += '/'\n\t\t\t\t}\n\t\t\t\tbreak\n\t\t\t// {\n\t\t\tcase 123 * variable:\n\t\t\t\tpoints[index++] = strlen(characters) * ampersand\n\t\t\t// } ; \\0\n\t\t\tcase 125 * variable: case 59: case 0:\n\t\t\t\tswitch (character) {\n\t\t\t\t\t// \\0 }\n\t\t\t\t\tcase 0: case 125: scanning = 0\n\t\t\t\t\t// ;\n\t\t\t\t\tcase 59 + offset: if (ampersand == -1) characters = replace(characters, /\\f/g, '')\n\t\t\t\t\t\tif (property > 0 && (strlen(characters) - length))\n\t\t\t\t\t\t\tappend(property > 32 ? declaration(characters + ';', rule, parent, length - 1, declarations) : declaration(replace(characters, ' ', '') + ';', rule, parent, length - 2, declarations), declarations)\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// @ ;\n\t\t\t\t\tcase 59: characters += ';'\n\t\t\t\t\t// { rule/at-rule\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tappend(reference = ruleset(characters, root, parent, index, offset, rules, points, type, props = [], children = [], length, rulesets), rulesets)\n\n\t\t\t\t\t\tif (character === 123)\n\t\t\t\t\t\t\tif (offset === 0)\n\t\t\t\t\t\t\t\tparse(characters, root, reference, reference, props, rulesets, length, points, children)\n\t\t\t\t\t\t\telse\n\t\t\t\t\t\t\t\tswitch (atrule === 99 && charat(characters, 3) === 110 ? 100 : atrule) {\n\t\t\t\t\t\t\t\t\t// d l m s\n\t\t\t\t\t\t\t\t\tcase 100: case 108: case 109: case 115:\n\t\t\t\t\t\t\t\t\t\tparse(value, reference, reference, rule && append(ruleset(value, reference, reference, 0, 0, rules, points, type, rules, props = [], length, children), children), rules, children, length, points, rule ? props : children)\n\t\t\t\t\t\t\t\t\t\tbreak\n\t\t\t\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\t\t\t\tparse(characters, reference, reference, reference, [''], children, 0, points, children)\n\t\t\t\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tindex = offset = property = 0, variable = ampersand = 1, type = characters = '', length = pseudo\n\t\t\t\tbreak\n\t\t\t// :\n\t\t\tcase 58:\n\t\t\t\tlength = 1 + strlen(characters), property = previous\n\t\t\tdefault:\n\t\t\t\tif (variable < 1)\n\t\t\t\t\tif (character == 123)\n\t\t\t\t\t\t--variable\n\t\t\t\t\telse if (character == 125 && variable++ == 0 && prev() == 125)\n\t\t\t\t\t\tcontinue\n\n\t\t\t\tswitch (characters += from(character), character * variable) {\n\t\t\t\t\t// &\n\t\t\t\t\tcase 38:\n\t\t\t\t\t\tampersand = offset > 0 ? 1 : (characters += '\\f', -1)\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// ,\n\t\t\t\t\tcase 44:\n\t\t\t\t\t\tpoints[index++] = (strlen(characters) - 1) * ampersand, ampersand = 1\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// @\n\t\t\t\t\tcase 64:\n\t\t\t\t\t\t// -\n\t\t\t\t\t\tif (peek() === 45)\n\t\t\t\t\t\t\tcharacters += delimit(next())\n\n\t\t\t\t\t\tatrule = peek(), offset = length = strlen(type = characters += identifier(caret())), character++\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// -\n\t\t\t\t\tcase 45:\n\t\t\t\t\t\tif (previous === 45 && strlen(characters) == 2)\n\t\t\t\t\t\t\tvariable = 0\n\t\t\t\t}\n\t\t}\n\n\treturn rulesets\n}\n\n/**\n * @param {string} value\n * @param {object} root\n * @param {object?} parent\n * @param {number} index\n * @param {number} offset\n * @param {string[]} rules\n * @param {number[]} points\n * @param {string} type\n * @param {string[]} props\n * @param {string[]} children\n * @param {number} length\n * @param {object[]} siblings\n * @return {object}\n */\nexport function ruleset (value, root, parent, index, offset, rules, points, type, props, children, length, siblings) {\n\tvar post = offset - 1\n\tvar rule = offset === 0 ? rules : ['']\n\tvar size = sizeof(rule)\n\n\tfor (var i = 0, j = 0, k = 0; i < index; ++i)\n\t\tfor (var x = 0, y = substr(value, post + 1, post = abs(j = points[i])), z = value; x < size; ++x)\n\t\t\tif (z = trim(j > 0 ? rule[x] + ' ' + y : replace(y, /&\\f/g, rule[x])))\n\t\t\t\tprops[k++] = z\n\n\treturn node(value, root, parent, offset === 0 ? RULESET : type, props, children, length, siblings)\n}\n\n/**\n * @param {number} value\n * @param {object} root\n * @param {object?} parent\n * @param {object[]} siblings\n * @return {object}\n */\nexport function comment (value, root, parent, siblings) {\n\treturn node(value, root, parent, COMMENT, from(char()), substr(value, 2, -2), 0, siblings)\n}\n\n/**\n * @param {string} value\n * @param {object} root\n * @param {object?} parent\n * @param {number} length\n * @param {object[]} siblings\n * @return {object}\n */\nexport function declaration (value, root, parent, length, siblings) {\n\treturn node(value, root, parent, DECLARATION, substr(value, 0, length), substr(value, length + 1, -1), length, siblings)\n}\n","import {MS, MOZ, WEBKIT} from './Enum.js'\nimport {hash, charat, strlen, indexof, replace, substr, match} from './Utility.js'\n\n/**\n * @param {string} value\n * @param {number} length\n * @param {object[]} children\n * @return {string}\n */\nexport function prefix (value, length, children) {\n\tswitch (hash(value, length)) {\n\t\t// color-adjust\n\t\tcase 5103:\n\t\t\treturn WEBKIT + 'print-' + value + value\n\t\t// animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)\n\t\tcase 5737: case 4201: case 3177: case 3433: case 1641: case 4457: case 2921:\n\t\t// text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break\n\t\tcase 5572: case 6356: case 5844: case 3191: case 6645: case 3005:\n\t\t// mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite,\n\t\tcase 6391: case 5879: case 5623: case 6135: case 4599: case 4855:\n\t\t// background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width)\n\t\tcase 4215: case 6389: case 5109: case 5365: case 5621: case 3829:\n\t\t\treturn WEBKIT + value + value\n\t\t// tab-size\n\t\tcase 4789:\n\t\t\treturn MOZ + value + value\n\t\t// appearance, user-select, transform, hyphens, text-size-adjust\n\t\tcase 5349: case 4246: case 4810: case 6968: case 2756:\n\t\t\treturn WEBKIT + value + MOZ + value + MS + value + value\n\t\t// writing-mode\n\t\tcase 5936:\n\t\t\tswitch (charat(value, length + 11)) {\n\t\t\t\t// vertical-l(r)\n\t\t\t\tcase 114:\n\t\t\t\t\treturn WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, 'tb') + value\n\t\t\t\t// vertical-r(l)\n\t\t\t\tcase 108:\n\t\t\t\t\treturn WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, 'tb-rl') + value\n\t\t\t\t// horizontal(-)tb\n\t\t\t\tcase 45:\n\t\t\t\t\treturn WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, 'lr') + value\n\t\t\t\t// default: fallthrough to below\n\t\t\t}\n\t\t// flex, flex-direction, scroll-snap-type, writing-mode\n\t\tcase 6828: case 4268: case 2903:\n\t\t\treturn WEBKIT + value + MS + value + value\n\t\t// order\n\t\tcase 6165:\n\t\t\treturn WEBKIT + value + MS + 'flex-' + value + value\n\t\t// align-items\n\t\tcase 5187:\n\t\t\treturn WEBKIT + value + replace(value, /(\\w+).+(:[^]+)/, WEBKIT + 'box-$1$2' + MS + 'flex-$1$2') + value\n\t\t// align-self\n\t\tcase 5443:\n\t\t\treturn WEBKIT + value + MS + 'flex-item-' + replace(value, /flex-|-self/g, '') + (!match(value, /flex-|baseline/) ? MS + 'grid-row-' + replace(value, /flex-|-self/g, '') : '') + value\n\t\t// align-content\n\t\tcase 4675:\n\t\t\treturn WEBKIT + value + MS + 'flex-line-pack' + replace(value, /align-content|flex-|-self/g, '') + value\n\t\t// flex-shrink\n\t\tcase 5548:\n\t\t\treturn WEBKIT + value + MS + replace(value, 'shrink', 'negative') + value\n\t\t// flex-basis\n\t\tcase 5292:\n\t\t\treturn WEBKIT + value + MS + replace(value, 'basis', 'preferred-size') + value\n\t\t// flex-grow\n\t\tcase 6060:\n\t\t\treturn WEBKIT + 'box-' + replace(value, '-grow', '') + WEBKIT + value + MS + replace(value, 'grow', 'positive') + value\n\t\t// transition\n\t\tcase 4554:\n\t\t\treturn WEBKIT + replace(value, /([^-])(transform)/g, '$1' + WEBKIT + '$2') + value\n\t\t// cursor\n\t\tcase 6187:\n\t\t\treturn replace(replace(replace(value, /(zoom-|grab)/, WEBKIT + '$1'), /(image-set)/, WEBKIT + '$1'), value, '') + value\n\t\t// background, background-image\n\t\tcase 5495: case 3959:\n\t\t\treturn replace(value, /(image-set\\([^]*)/, WEBKIT + '$1' + '$`$1')\n\t\t// justify-content\n\t\tcase 4968:\n\t\t\treturn replace(replace(value, /(.+:)(flex-)?(.*)/, WEBKIT + 'box-pack:$3' + MS + 'flex-pack:$3'), /s.+-b[^;]+/, 'justify') + WEBKIT + value + value\n\t\t// justify-self\n\t\tcase 4200:\n\t\t\tif (!match(value, /flex-|baseline/)) return MS + 'grid-column-align' + substr(value, length) + value\n\t\t\tbreak\n\t\t// grid-template-(columns|rows)\n\t\tcase 2592: case 3360:\n\t\t\treturn MS + replace(value, 'template-', '') + value\n\t\t// grid-(row|column)-start\n\t\tcase 4384: case 3616:\n\t\t\tif (children && children.some(function (element, index) { return length = index, match(element.props, /grid-\\w+-end/) })) {\n\t\t\t\treturn ~indexof(value + (children = children[length].value), 'span', 0) ? value : (MS + replace(value, '-start', '') + value + MS + 'grid-row-span:' + (~indexof(children, 'span', 0) ? match(children, /\\d+/) : +match(children, /\\d+/) - +match(value, /\\d+/)) + ';')\n\t\t\t}\n\t\t\treturn MS + replace(value, '-start', '') + value\n\t\t// grid-(row|column)-end\n\t\tcase 4896: case 4128:\n\t\t\treturn (children && children.some(function (element) { return match(element.props, /grid-\\w+-start/) })) ? value : MS + replace(replace(value, '-end', '-span'), 'span ', '') + value\n\t\t// (margin|padding)-inline-(start|end)\n\t\tcase 4095: case 3583: case 4068: case 2532:\n\t\t\treturn replace(value, /(.+)-inline(.+)/, WEBKIT + '$1$2') + value\n\t\t// (min|max)?(width|height|inline-size|block-size)\n\t\tcase 8116: case 7059: case 5753: case 5535:\n\t\tcase 5445: case 5701: case 4933: case 4677:\n\t\tcase 5533: case 5789: case 5021: case 4765:\n\t\t\t// stretch, max-content, min-content, fill-available\n\t\t\tif (strlen(value) - 1 - length > 6)\n\t\t\t\tswitch (charat(value, length + 1)) {\n\t\t\t\t\t// (m)ax-content, (m)in-content\n\t\t\t\t\tcase 109:\n\t\t\t\t\t\t// -\n\t\t\t\t\t\tif (charat(value, length + 4) !== 45)\n\t\t\t\t\t\t\tbreak\n\t\t\t\t\t// (f)ill-available, (f)it-content\n\t\t\t\t\tcase 102:\n\t\t\t\t\t\treturn replace(value, /(.+:)(.+)-([^]+)/, '$1' + WEBKIT + '$2-$3' + '$1' + MOZ + (charat(value, length + 3) == 108 ? '$3' : '$2-$3')) + value\n\t\t\t\t\t// (s)tretch\n\t\t\t\t\tcase 115:\n\t\t\t\t\t\treturn ~indexof(value, 'stretch', 0) ? prefix(replace(value, 'stretch', 'fill-available'), length, children) + value : value\n\t\t\t\t}\n\t\t\tbreak\n\t\t// grid-(column|row)\n\t\tcase 5152: case 5920:\n\t\t\treturn replace(value, /(.+?):(\\d+)(\\s*\\/\\s*(span)?\\s*(\\d+))?(.*)/, function (_, a, b, c, d, e, f) { return (MS + a + ':' + b + f) + (c ? (MS + a + '-span:' + (d ? e : +e - +b)) + f : '') + value })\n\t\t// position: sticky\n\t\tcase 4949:\n\t\t\t// stick(y)?\n\t\t\tif (charat(value, length + 6) === 121)\n\t\t\t\treturn replace(value, ':', ':' + WEBKIT) + value\n\t\t\tbreak\n\t\t// display: (flex|inline-flex|grid|inline-grid)\n\t\tcase 6444:\n\t\t\tswitch (charat(value, charat(value, 14) === 45 ? 18 : 11)) {\n\t\t\t\t// (inline-)?fle(x)\n\t\t\t\tcase 120:\n\t\t\t\t\treturn replace(value, /(.+:)([^;\\s!]+)(;|(\\s+)?!.+)?/, '$1' + WEBKIT + (charat(value, 14) === 45 ? 'inline-' : '') + 'box$3' + '$1' + WEBKIT + '$2$3' + '$1' + MS + '$2box$3') + value\n\t\t\t\t// (inline-)?gri(d)\n\t\t\t\tcase 100:\n\t\t\t\t\treturn replace(value, ':', ':' + MS) + value\n\t\t\t}\n\t\t\tbreak\n\t\t// scroll-margin, scroll-margin-(top|right|bottom|left)\n\t\tcase 5719: case 2647: case 2135: case 3927: case 2391:\n\t\t\treturn replace(value, 'scroll-', 'scroll-snap-') + value\n\t}\n\n\treturn value\n}\n","import {IMPORT, LAYER, COMMENT, RULESET, DECLARATION, KEYFRAMES} from './Enum.js'\nimport {strlen} from './Utility.js'\n\n/**\n * @param {object[]} children\n * @param {function} callback\n * @return {string}\n */\nexport function serialize (children, callback) {\n\tvar output = ''\n\n\tfor (var i = 0; i < children.length; i++)\n\t\toutput += callback(children[i], i, children, callback) || ''\n\n\treturn output\n}\n\n/**\n * @param {object} element\n * @param {number} index\n * @param {object[]} children\n * @param {function} callback\n * @return {string}\n */\nexport function stringify (element, index, children, callback) {\n\tswitch (element.type) {\n\t\tcase LAYER: if (element.children.length) break\n\t\tcase IMPORT: case DECLARATION: return element.return = element.return || element.value\n\t\tcase COMMENT: return ''\n\t\tcase KEYFRAMES: return element.return = element.value + '{' + serialize(element.children, callback) + '}'\n\t\tcase RULESET: if (!strlen(element.value = element.props.join(','))) return ''\n\t}\n\n\treturn strlen(children = serialize(element.children, callback)) ? element.return = element.value + '{' + children + '}' : ''\n}\n","import {MS, MOZ, WEBKIT, RULESET, KEYFRAMES, DECLARATION} from './Enum.js'\nimport {match, charat, substr, strlen, sizeof, replace, combine, filter, assign} from './Utility.js'\nimport {copy, lift, tokenize} from './Tokenizer.js'\nimport {serialize} from './Serializer.js'\nimport {prefix} from './Prefixer.js'\n\n/**\n * @param {function[]} collection\n * @return {function}\n */\nexport function middleware (collection) {\n\tvar length = sizeof(collection)\n\n\treturn function (element, index, children, callback) {\n\t\tvar output = ''\n\n\t\tfor (var i = 0; i < length; i++)\n\t\t\toutput += collection[i](element, index, children, callback) || ''\n\n\t\treturn output\n\t}\n}\n\n/**\n * @param {function} callback\n * @return {function}\n */\nexport function rulesheet (callback) {\n\treturn function (element) {\n\t\tif (!element.root)\n\t\t\tif (element = element.return)\n\t\t\t\tcallback(element)\n\t}\n}\n\n/**\n * @param {object} element\n * @param {number} index\n * @param {object[]} children\n * @param {function} callback\n */\nexport function prefixer (element, index, children, callback) {\n\tif (element.length > -1)\n\t\tif (!element.return)\n\t\t\tswitch (element.type) {\n\t\t\t\tcase DECLARATION: element.return = prefix(element.value, element.length, children)\n\t\t\t\t\treturn\n\t\t\t\tcase KEYFRAMES:\n\t\t\t\t\treturn serialize([copy(element, {value: replace(element.value, '@', '@' + WEBKIT)})], callback)\n\t\t\t\tcase RULESET:\n\t\t\t\t\tif (element.length)\n\t\t\t\t\t\treturn combine(children = element.props, function (value) {\n\t\t\t\t\t\t\tswitch (match(value, callback = /(::plac\\w+|:read-\\w+)/)) {\n\t\t\t\t\t\t\t\t// :read-(only|write)\n\t\t\t\t\t\t\t\tcase ':read-only': case ':read-write':\n\t\t\t\t\t\t\t\t\tlift(copy(element, {props: [replace(value, /:(read-\\w+)/, ':' + MOZ + '$1')]}))\n\t\t\t\t\t\t\t\t\tlift(copy(element, {props: [value]}))\n\t\t\t\t\t\t\t\t\tassign(element, {props: filter(children, callback)})\n\t\t\t\t\t\t\t\t\tbreak\n\t\t\t\t\t\t\t\t// :placeholder\n\t\t\t\t\t\t\t\tcase '::placeholder':\n\t\t\t\t\t\t\t\t\tlift(copy(element, {props: [replace(value, /:(plac\\w+)/, ':' + WEBKIT + 'input-$1')]}))\n\t\t\t\t\t\t\t\t\tlift(copy(element, {props: [replace(value, /:(plac\\w+)/, ':' + MOZ + '$1')]}))\n\t\t\t\t\t\t\t\t\tlift(copy(element, {props: [replace(value, /:(plac\\w+)/, MS + 'input-$1')]}))\n\t\t\t\t\t\t\t\t\tlift(copy(element, {props: [value]}))\n\t\t\t\t\t\t\t\t\tassign(element, {props: filter(children, callback)})\n\t\t\t\t\t\t\t\t\tbreak\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\treturn ''\n\t\t\t\t\t\t})\n\t\t\t}\n}\n\n/**\n * @param {object} element\n * @param {number} index\n * @param {object[]} children\n */\nexport function namespace (element) {\n\tswitch (element.type) {\n\t\tcase RULESET:\n\t\t\telement.props = element.props.map(function (value) {\n\t\t\t\treturn combine(tokenize(value), function (value, index, children) {\n\t\t\t\t\tswitch (charat(value, 0)) {\n\t\t\t\t\t\t// \\f\n\t\t\t\t\t\tcase 12:\n\t\t\t\t\t\t\treturn substr(value, 1, strlen(value))\n\t\t\t\t\t\t// \\0 ( + > ~\n\t\t\t\t\t\tcase 0: case 40: case 43: case 62: case 126:\n\t\t\t\t\t\t\treturn value\n\t\t\t\t\t\t// :\n\t\t\t\t\t\tcase 58:\n\t\t\t\t\t\t\tif (children[++index] === 'global')\n\t\t\t\t\t\t\t\tchildren[index] = '', children[++index] = '\\f' + substr(children[index], index = 1, -1)\n\t\t\t\t\t\t// \\s\n\t\t\t\t\t\tcase 32:\n\t\t\t\t\t\t\treturn index === 1 ? '' : value\n\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\tswitch (index) {\n\t\t\t\t\t\t\t\tcase 0: element = value\n\t\t\t\t\t\t\t\t\treturn sizeof(children) > 1 ? '' : value\n\t\t\t\t\t\t\t\tcase index = sizeof(children) - 1: case 2:\n\t\t\t\t\t\t\t\t\treturn index === 2 ? value + element + element : value + element\n\t\t\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\t\t\treturn value\n\t\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t})\n\t}\n}\n","var unitlessKeys = {\n  animationIterationCount: 1,\n  aspectRatio: 1,\n  borderImageOutset: 1,\n  borderImageSlice: 1,\n  borderImageWidth: 1,\n  boxFlex: 1,\n  boxFlexGroup: 1,\n  boxOrdinalGroup: 1,\n  columnCount: 1,\n  columns: 1,\n  flex: 1,\n  flexGrow: 1,\n  flexPositive: 1,\n  flexShrink: 1,\n  flexNegative: 1,\n  flexOrder: 1,\n  gridRow: 1,\n  gridRowEnd: 1,\n  gridRowSpan: 1,\n  gridRowStart: 1,\n  gridColumn: 1,\n  gridColumnEnd: 1,\n  gridColumnSpan: 1,\n  gridColumnStart: 1,\n  msGridRow: 1,\n  msGridRowSpan: 1,\n  msGridColumn: 1,\n  msGridColumnSpan: 1,\n  fontWeight: 1,\n  lineHeight: 1,\n  opacity: 1,\n  order: 1,\n  orphans: 1,\n  tabSize: 1,\n  widows: 1,\n  zIndex: 1,\n  zoom: 1,\n  WebkitLineClamp: 1,\n  // SVG-related properties\n  fillOpacity: 1,\n  floodOpacity: 1,\n  stopOpacity: 1,\n  strokeDasharray: 1,\n  strokeDashoffset: 1,\n  strokeMiterlimit: 1,\n  strokeOpacity: 1,\n  strokeWidth: 1\n};\n\nexport { unitlessKeys as default };\n","import { jsx, jsxs } from \"react/jsx-runtime\";\nimport { c } from \"react-compiler-runtime\";\nimport { forwardRef } from \"react\";\nconst AccessDeniedIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M18.1568 6.84315C21.281 9.96734 21.281 15.0327 18.1568 18.1569C15.0326 21.281 9.96733 21.281 6.84313 18.1569C3.71894 15.0327 3.71894 9.96734 6.84313 6.84315C9.96733 3.71895 15.0326 3.71895 18.1568 6.84315ZM18.1568 6.84315L6.844 18.156\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"access-denied\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nAccessDeniedIcon.displayName = \"ForwardRef(AccessDeniedIcon)\";\nconst ActivityIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M21 15H19L15.5 7L11 18L8 12L6 15H4\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"activity\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nActivityIcon.displayName = \"ForwardRef(ActivityIcon)\";\nconst AddCircleIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M8 12.4H17M12.5 8V17M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"add-circle\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nAddCircleIcon.displayName = \"ForwardRef(AddCircleIcon)\";\nconst AddCommentIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M13 6.5H7.5C6.39543 6.5 5.5 7.39543 5.5 8.5V14.5C5.5 15.6046 6.39543 16.5 7.5 16.5H9.5V20.5L13.5 16.5H16.5C17.6046 16.5 18.5 15.6046 18.5 14.5V12M15 6.5H22M18.5 10V3\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"add-comment\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nAddCommentIcon.displayName = \"ForwardRef(AddCommentIcon)\";\nconst AddDocumentIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M11.5 4.5V9.5H6.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M11.5 4.5H18.5V12M11.5 4.5L6.5 9.5M11.5 4.5V9.5H6.5M6.5 9.5V19.5H11M20 17.5H16.5M16.5 17.5H13M16.5 17.5V14M16.5 17.5V21\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"add-document\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nAddDocumentIcon.displayName = \"ForwardRef(AddDocumentIcon)\";\nconst AddIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M12.5 5V20M5 12.5H20\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"add\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nAddIcon.displayName = \"ForwardRef(AddIcon)\";\nconst AddUserIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M4.17857 15.2368C3.10714 15.7632 1.5 16.8158 1.5 20.5H16.5C16.5 16.8158 15.2589 15.943 13.8214 15.2368C12.75 14.7105 10.6071 14.7105 10.6071 13.1316C10.6071 11.5526 11.6786 10.7632 11.6786 8.65789C11.6786 6.55263 10.6071 5.5 9 5.5C7.39285 5.5 6.32142 6.55263 6.32142 8.65789C6.32142 10.7632 7.39286 11.5526 7.39286 13.1316C7.39286 14.7105 5.25 14.7105 4.17857 15.2368Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M19.5 7V14M16 10.5H23\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"add-user\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nAddUserIcon.displayName = \"ForwardRef(AddUserIcon)\";\nconst ApiIcon = forwardRef(function(props, ref) {\n  const $ = c(6);\n  let t0, t1, t2;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M5.93047 13.2107L6.66782 10.3728H6.73089L7.45854 13.2107H5.93047ZM8.17164 16H9.66089L7.56041 9H5.93047L3.82999 16H5.20767L5.65396 14.2876H7.73505L8.17164 16Z\", fill: \"currentColor\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M10.5389 9V16H11.9166V13.7782H13.0323C14.541 13.7782 15.5015 12.8517 15.5015 11.3964C15.5015 9.92654 14.5701 9 13.1003 9H10.5389ZM11.9166 10.1303H12.751C13.6533 10.1303 14.1044 10.5475 14.1044 11.3867C14.1044 12.2308 13.6533 12.6431 12.751 12.6431H11.9166V10.1303Z\", fill: \"currentColor\" }), t2 = /* @__PURE__ */ jsx(\"path\", { d: \"M21.1675 16V14.8164H19.717V10.1836H21.1675V9H16.8889V10.1836H18.3393V14.8164H16.8889V16H21.1675Z\", fill: \"currentColor\" }), $[0] = t0, $[1] = t1, $[2] = t2) : (t0 = $[0], t1 = $[1], t2 = $[2]);\n  let t3;\n  return $[3] !== props || $[4] !== ref ? (t3 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"api\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1,\n    t2\n  ] }), $[3] = props, $[4] = ref, $[5] = t3) : t3 = $[5], t3;\n});\nApiIcon.displayName = \"ForwardRef(ApiIcon)\";\nconst ArchiveIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M12.5 10V17M20.5 7.5V20.5H4.5V7.5L7.5 4.5H17.5L20.5 7.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M4.5 7.5H20.5M16 14L12.5 17.5L9 14\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"archive\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nArchiveIcon.displayName = \"ForwardRef(ArchiveIcon)\";\nconst ArrowDownIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M12.5 19.5V5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M18 14L12.5 19.5L7 14\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"arrow-down\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nArrowDownIcon.displayName = \"ForwardRef(ArrowDownIcon)\";\nconst ArrowLeftIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M5.5 12.5H20\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M11 18L5.5 12.5L11 7\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"arrow-left\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nArrowLeftIcon.displayName = \"ForwardRef(ArrowLeftIcon)\";\nconst ArrowRightIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M19.5 12.5H5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M14 7L19.5 12.5L14 18\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"arrow-right\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nArrowRightIcon.displayName = \"ForwardRef(ArrowRightIcon)\";\nconst ArrowTopRightIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M16.5 8.5L7 18\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M9 8.5H16.5V16\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"arrow-top-right\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nArrowTopRightIcon.displayName = \"ForwardRef(ArrowTopRightIcon)\";\nconst ArrowUpIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M7 11L12.5 5.5L18 11\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M12.5 5.5V20\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"arrow-up\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nArrowUpIcon.displayName = \"ForwardRef(ArrowUpIcon)\";\nconst AsteriskIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M12.5 4V21M16.75 5.13879L8.25 19.8612M19.8612 8.25L5.13878 16.75M4.00002 12.5H21M5.13881 8.25L19.8612 16.75M8.25002 5.13879L16.75 19.8612\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"asterisk\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nAsteriskIcon.displayName = \"ForwardRef(AsteriskIcon)\";\nconst BarChartIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M5.5 5V19.5H20M8.5 18V13M11.5 18V9M14.5 18V11M17.5 18V7\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"bar-chart\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nBarChartIcon.displayName = \"ForwardRef(BarChartIcon)\";\nconst BasketIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M8.5 10.5H5L6.5 19.5H18.5L20 10.5H16.5M8.5 10.5L10.2721 5.18377C10.4082 4.77543 10.7903 4.5 11.2208 4.5H13.7792C14.2097 4.5 14.5918 4.77543 14.7279 5.18377L16.5 10.5M8.5 10.5H16.5M8.5 10.5L9.5 19.5M16.5 10.5L15.5 19.5M12.5 10.5V19.5M19.5 13.5H5.5M19 16.5H6\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"basket\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nBasketIcon.displayName = \"ForwardRef(BasketIcon)\";\nconst BellIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M10.5 17.5V18.5C10.5 20 11.5 20.5 12.5 20.5C13.5 20.5 14.5 20 14.5 18.5V17.5M5.5 17.5C6.5 16 6.5 15 6.5 12C6.5 8 8.5 5.5 12.5 5.5C16.5 5.5 18.5 8 18.5 12C18.5 15 18.5 16 19.5 17.5H5.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"bell\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nBellIcon.displayName = \"ForwardRef(BellIcon)\";\nconst BillIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M6.50001 5.5C8.50003 5.5 8.50003 8 8.50003 8V9.5M6.50001 5.5C4.5 5.5 4.5 8 4.5 8L4.50001 9.5H8.50003M6.50001 5.5C6.50001 5.5 15.8333 5.5 17.6667 5.5C19.5 5.5 19.5 8.5 19.5 8.5V20L17.6667 19L15.8333 20L14 19L12.1667 20L10.3334 19L8.50003 20V9.5M11 12.5H15M11 9.5H16M11 15.5H16\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"bill\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nBillIcon.displayName = \"ForwardRef(BillIcon)\";\nconst BinaryDocumentIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M11.5 4.5V9.5H6.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M9.5 12.5V17.5M11.5 4.5H18.5V20.5H6.5V9.5L11.5 4.5ZM12.5 12.5V17.5H15.5V12.5H12.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinecap: \"square\", strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"binary-document\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nBinaryDocumentIcon.displayName = \"ForwardRef(BinaryDocumentIcon)\";\nconst BlockContentIcon = forwardRef(function(props, ref) {\n  const $ = c(8);\n  let t0, t1, t2, t3, t4;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M21 7.60002L11 7.60003V6.40003L21 6.40002V7.60002Z\", fill: \"currentColor\" }), t1 = /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M21 11.2667L12.4833 11.2667V10.0667L21 10.0667V11.2667Z\", fill: \"currentColor\" }), t2 = /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M21 14.9334H13.9254V13.7334L21 13.7334V14.9334Z\", fill: \"currentColor\" }), t3 = /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M21 18.6002H4V17.4002H21V18.6002Z\", fill: \"currentColor\" }), t4 = /* @__PURE__ */ jsx(\"path\", { d: \"M9.86438 15.6H11.2L8.27623 7.60003H6.92377L4 15.6H5.29072L6.0371 13.4767H9.12362L9.86438 15.6ZM7.53546 9.05255H7.63086L8.80374 12.4344H6.35698L7.53546 9.05255Z\", fill: \"currentColor\" }), $[0] = t0, $[1] = t1, $[2] = t2, $[3] = t3, $[4] = t4) : (t0 = $[0], t1 = $[1], t2 = $[2], t3 = $[3], t4 = $[4]);\n  let t5;\n  return $[5] !== props || $[6] !== ref ? (t5 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"block-content\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1,\n    t2,\n    t3,\n    t4\n  ] }), $[5] = props, $[6] = ref, $[7] = t5) : t5 = $[7], t5;\n});\nBlockContentIcon.displayName = \"ForwardRef(BlockContentIcon)\";\nconst BlockElementIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M5 19.5H20M5 5.5H20M6.5 8.5H18.5V16.5H6.5V8.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"block-element\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nBlockElementIcon.displayName = \"ForwardRef(BlockElementIcon)\";\nconst BlockquoteIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M10 17.5H19M6 7.5H19M10 12.5H17M6.5 12V18\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"blockquote\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nBlockquoteIcon.displayName = \"ForwardRef(BlockquoteIcon)\";\nconst BoldIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M13.2087 18C15.5322 18 16.9731 16.793 16.9731 14.8844C16.9731 13.4812 15.9245 12.3949 14.4836 12.2892V12.1534C15.6001 11.9875 16.4526 10.9841 16.4526 9.82991C16.4526 8.14761 15.1927 7.11409 13.0804 7.11409H8.32019V18H13.2087ZM10.5985 8.85674H12.4995C13.5859 8.85674 14.212 9.37727 14.212 10.2448C14.212 11.1199 13.5406 11.6254 12.3109 11.6254H10.5985V8.85674ZM10.5985 16.2574V13.1643H12.575C13.9178 13.1643 14.6496 13.6924 14.6496 14.6882C14.6496 15.7066 13.9404 16.2574 12.6278 16.2574H10.5985Z\", fill: \"currentColor\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"bold\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nBoldIcon.displayName = \"ForwardRef(BoldIcon)\";\nconst BoltIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M18 11.5L9 21L11 13.5H7L16 4L14 11.5H18Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"bolt\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nBoltIcon.displayName = \"ForwardRef(BoltIcon)\";\nconst BookIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M20.5 17.5V5.5L12.5 6.5M20.5 17.5L12.5 18.5M20.5 17.5V18.5M4.5 17.5V5.5L12.5 6.5M4.5 17.5L12.5 18.5M4.5 17.5V18.5M12.5 18.5L4.5 19.5V18.5M12.5 18.5L20.5 19.5V18.5M12.5 18.5V6.5M12.5 18.5H4.5M12.5 18.5H20.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"book\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nBookIcon.displayName = \"ForwardRef(BookIcon)\";\nconst BottleIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M7.5 17.5L17.5 17.5M17.5 13C17.5 12.087 17.5 11.3518 17.5 11C17.5 8.5 14.5 9 14.5 7.37494L14.5 5.5M17.5 13C17.5 15.1229 17.5 18.7543 17.5 20.5022C17.5 21.0545 17.0523 21.5 16.5 21.5L8.5 21.5C7.94772 21.5 7.5 21.0547 7.5 20.5024C7.5 18.8157 7.5 15.3546 7.5 13M17.5 13L7.5 13M7.5 13C7.5 12.2538 7.5 11.5648 7.5 11C7.5 8.5 10.5 9 10.5 7.37494L10.5 5.5M10.5 5.5L10.5 3.99999C10.5 3.72385 10.7239 3.49999 11 3.49999L14 3.49999C14.2761 3.49999 14.5 3.72385 14.5 3.99999L14.5 5.5M10.5 5.5L14.5 5.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"bottle\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nBottleIcon.displayName = \"ForwardRef(BottleIcon)\";\nconst BugIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M8.5 9.5V8.9C8.16863 8.9 7.9 9.16863 7.9 9.5H8.5ZM16.5 9.5H17.1C17.1 9.16863 16.8314 8.9 16.5 8.9V9.5ZM8.5 10.1H9.5V8.9H8.5V10.1ZM9.5 10.1H15.5V8.9H9.5V10.1ZM15.5 10.1H16.5V8.9H15.5V10.1ZM15.9 9.5V13.5H17.1V9.5H15.9ZM15.9 13.5C15.9 14.395 15.678 15.0264 15.3758 15.4797C15.0711 15.9367 14.6605 16.2489 14.2317 16.4633C13.8005 16.6789 13.3621 16.7897 13.0264 16.8457C12.8599 16.8734 12.7226 16.887 12.6291 16.8937C12.5825 16.897 12.5472 16.8986 12.5249 16.8994C12.5138 16.8997 12.506 16.8999 12.5018 16.9C12.4997 16.9 12.4984 16.9 12.4981 16.9C12.498 16.9 12.4981 16.9 12.4984 16.9C12.4985 16.9 12.4987 16.9 12.499 16.9C12.4991 16.9 12.4994 16.9 12.4995 16.9C12.4997 16.9 12.5 16.9 12.5 17.5C12.5 18.1 12.5003 18.1 12.5006 18.1C12.5008 18.1 12.5011 18.1 12.5014 18.1C12.5019 18.1 12.5025 18.1 12.5031 18.1C12.5044 18.1 12.5059 18.1 12.5077 18.1C12.5112 18.0999 12.5157 18.0999 12.5212 18.0998C12.532 18.0996 12.5467 18.0993 12.5649 18.0987C12.6013 18.0975 12.6519 18.0951 12.7146 18.0907C12.8399 18.0817 13.0151 18.0641 13.2236 18.0293C13.6379 17.9603 14.1995 17.8211 14.7683 17.5367C15.3395 17.2511 15.9289 16.8133 16.3742 16.1453C16.822 15.4736 17.1 14.605 17.1 13.5H15.9ZM12.5 17.5C12.5 16.9 12.5003 16.9 12.5005 16.9C12.5006 16.9 12.5009 16.9 12.501 16.9C12.5013 16.9 12.5015 16.9 12.5016 16.9C12.5019 16.9 12.502 16.9 12.5019 16.9C12.5016 16.9 12.5003 16.9 12.4982 16.9C12.494 16.8999 12.4862 16.8997 12.4751 16.8994C12.4528 16.8986 12.4175 16.897 12.3709 16.8937C12.2774 16.887 12.1401 16.8734 11.9736 16.8457C11.6379 16.7897 11.1995 16.6789 10.7683 16.4633C10.3395 16.2489 9.92894 15.9367 9.62423 15.4797C9.32203 15.0264 9.1 14.395 9.1 13.5H7.9C7.9 14.605 8.17797 15.4736 8.62577 16.1453C9.07106 16.8133 9.66049 17.2511 10.2317 17.5367C10.8005 17.8211 11.3621 17.9603 11.7764 18.0293C11.9849 18.0641 12.1601 18.0817 12.2854 18.0907C12.3481 18.0951 12.3987 18.0975 12.4351 18.0987C12.4533 18.0993 12.468 18.0996 12.4788 18.0998C12.4843 18.0999 12.4888 18.0999 12.4923 18.1C12.4941 18.1 12.4956 18.1 12.4969 18.1C12.4975 18.1 12.4981 18.1 12.4986 18.1C12.4989 18.1 12.4992 18.1 12.4994 18.1C12.4997 18.1 12.5 18.1 12.5 17.5ZM9.1 13.5V9.5H7.9V13.5H9.1ZM9.5 9.5C10.1 9.5 10.1 9.50028 10.1 9.50055C10.1 9.50063 10.1 9.50089 10.1 9.50104C10.1 9.50134 10.1 9.5016 10.1 9.50182C10.1 9.50225 10.1 9.5025 10.1 9.50259C10.1 9.50276 10.1 9.50224 10.1 9.50107C10.1001 9.49872 10.1002 9.49374 10.1004 9.4863C10.1009 9.4714 10.102 9.44678 10.1043 9.41384C10.1091 9.34776 10.1188 9.24945 10.1387 9.12989C10.179 8.88793 10.2586 8.5745 10.4117 8.26833C10.5636 7.96451 10.782 7.67894 11.0984 7.46798C11.4111 7.25953 11.855 7.1 12.5 7.1V5.9C11.645 5.9 10.9639 6.11547 10.4328 6.46952C9.90549 6.82106 9.56143 7.28549 9.33834 7.73167C9.11643 8.1755 9.00846 8.61207 8.95504 8.93261C8.92809 9.0943 8.91438 9.23036 8.90738 9.32835C8.90388 9.37744 8.90203 9.41727 8.90107 9.44632C8.90058 9.46085 8.90031 9.47272 8.90017 9.48172C8.9001 9.48622 8.90005 9.49001 8.90003 9.49306C8.90002 9.49459 8.90001 9.49593 8.90001 9.49709C8.9 9.49767 8.9 9.4982 8.9 9.49869C8.9 9.49893 8.9 9.49926 8.9 9.49938C8.9 9.4997 8.9 9.5 9.5 9.5ZM12.5 7.1C13.145 7.1 13.5889 7.25953 13.9016 7.46798C14.218 7.67894 14.4364 7.96451 14.5883 8.26833C14.7414 8.5745 14.821 8.88793 14.8613 9.12989C14.8812 9.24945 14.8909 9.34776 14.8957 9.41384C14.898 9.44678 14.8991 9.4714 14.8996 9.4863C14.8998 9.49374 14.8999 9.49872 14.9 9.50107C14.9 9.50224 14.9 9.50276 14.9 9.50259C14.9 9.5025 14.9 9.50225 14.9 9.50182C14.9 9.5016 14.9 9.50134 14.9 9.50104C14.9 9.50089 14.9 9.50063 14.9 9.50055C14.9 9.50028 14.9 9.5 15.5 9.5C16.1 9.5 16.1 9.4997 16.1 9.49938C16.1 9.49926 16.1 9.49893 16.1 9.49869C16.1 9.4982 16.1 9.49767 16.1 9.49709C16.1 9.49593 16.1 9.49459 16.1 9.49306C16.0999 9.49001 16.0999 9.48622 16.0998 9.48172C16.0997 9.47272 16.0994 9.46085 16.0989 9.44632C16.098 9.41727 16.0961 9.37744 16.0926 9.32835C16.0856 9.23036 16.0719 9.0943 16.045 8.93261C15.9915 8.61207 15.8836 8.1755 15.6617 7.73167C15.4386 7.28549 15.0945 6.82106 14.5672 6.46952C14.0361 6.11547 13.355 5.9 12.5 5.9V7.1ZM11.9 9.5V17.5H13.1V9.5H11.9ZM8.5 9.9C7.71525 9.9 7.10887 9.51034 6.67426 9.07574C6.45859 8.86006 6.29547 8.64279 6.18673 8.47968C6.1327 8.39863 6.09302 8.33235 6.06782 8.28825C6.05524 8.26624 6.04634 8.24988 6.04113 8.24011C6.03853 8.23523 6.03685 8.232 6.0361 8.23055C6.03573 8.22983 6.03559 8.22955 6.03568 8.22973C6.03573 8.22982 6.03583 8.23003 6.03599 8.23035C6.03607 8.23051 6.03617 8.2307 6.03628 8.23092C6.03634 8.23103 6.03643 8.23122 6.03646 8.23127C6.03656 8.23147 6.03666 8.23167 5.5 8.5C4.96334 8.76833 4.96345 8.76855 4.96357 8.76877C4.96361 8.76886 4.96372 8.76909 4.96381 8.76926C4.96398 8.7696 4.96417 8.76998 4.96437 8.77038C4.96478 8.77119 4.96525 8.77212 4.96579 8.77317C4.96685 8.77527 4.96818 8.77786 4.96976 8.78092C4.97292 8.78704 4.9771 8.79505 4.98231 8.80481C4.99272 8.82434 5.00726 8.85094 5.02593 8.88362C5.06323 8.9489 5.1173 9.03887 5.18827 9.14532C5.32953 9.35721 5.54141 9.63994 5.82574 9.92426C6.39113 10.4897 7.28475 11.1 8.5 11.1V9.9ZM16.5 11.1C17.7153 11.1 18.6089 10.4897 19.1743 9.92426C19.4586 9.63994 19.6705 9.35721 19.8117 9.14532C19.8827 9.03887 19.9368 8.9489 19.9741 8.88362C19.9927 8.85094 20.0073 8.82434 20.0177 8.80481C20.0229 8.79505 20.0271 8.78704 20.0302 8.78092C20.0318 8.77786 20.0331 8.77527 20.0342 8.77317C20.0347 8.77212 20.0352 8.77119 20.0356 8.77038C20.0358 8.76998 20.036 8.7696 20.0362 8.76926C20.0363 8.76909 20.0364 8.76886 20.0364 8.76877C20.0365 8.76855 20.0367 8.76833 19.5 8.5C18.9633 8.23167 18.9634 8.23147 18.9635 8.23127C18.9636 8.23122 18.9637 8.23103 18.9637 8.23092C18.9638 8.2307 18.9639 8.23051 18.964 8.23035C18.9642 8.23003 18.9643 8.22982 18.9643 8.22973C18.9644 8.22955 18.9643 8.22983 18.9639 8.23055C18.9632 8.232 18.9615 8.23523 18.9589 8.24011C18.9537 8.24988 18.9448 8.26624 18.9322 8.28825C18.907 8.33235 18.8673 8.39863 18.8133 8.47968C18.7045 8.64279 18.5414 8.86006 18.3257 9.07574C17.8911 9.51034 17.2847 9.9 16.5 9.9V11.1ZM16.5 13.1H20V11.9H16.5V13.1ZM16.5 15.1C17.2847 15.1 17.8911 15.4897 18.3257 15.9243C18.5414 16.1399 18.7045 16.3572 18.8133 16.5203C18.8673 16.6014 18.907 16.6676 18.9322 16.7117C18.9448 16.7338 18.9537 16.7501 18.9589 16.7599C18.9615 16.7648 18.9632 16.768 18.9639 16.7694C18.9643 16.7702 18.9644 16.7705 18.9643 16.7703C18.9643 16.7702 18.9642 16.77 18.964 16.7697C18.9639 16.7695 18.9638 16.7693 18.9637 16.7691C18.9637 16.769 18.9636 16.7688 18.9635 16.7687C18.9634 16.7685 18.9633 16.7683 19.5 16.5C20.0367 16.2317 20.0365 16.2315 20.0364 16.2312C20.0364 16.2311 20.0363 16.2309 20.0362 16.2307C20.036 16.2304 20.0358 16.23 20.0356 16.2296C20.0352 16.2288 20.0347 16.2279 20.0342 16.2268C20.0331 16.2247 20.0318 16.2221 20.0302 16.2191C20.0271 16.213 20.0229 16.205 20.0177 16.1952C20.0073 16.1757 19.9927 16.1491 19.9741 16.1164C19.9368 16.0511 19.8827 15.9611 19.8117 15.8547C19.6705 15.6428 19.4586 15.3601 19.1743 15.0757C18.6089 14.5103 17.7153 13.9 16.5 13.9V15.1ZM8.5 13.9C7.28475 13.9 6.39113 14.5103 5.82574 15.0757C5.54141 15.3601 5.32953 15.6428 5.18827 15.8547C5.1173 15.9611 5.06323 16.0511 5.02593 16.1164C5.00726 16.1491 4.99272 16.1757 4.98231 16.1952C4.9771 16.205 4.97292 16.213 4.96976 16.2191C4.96818 16.2221 4.96685 16.2247 4.96579 16.2268C4.96525 16.2279 4.96478 16.2288 4.96437 16.2296C4.96417 16.23 4.96398 16.2304 4.96381 16.2307C4.96372 16.2309 4.96361 16.2311 4.96357 16.2312C4.96345 16.2315 4.96334 16.2317 5.5 16.5C6.03666 16.7683 6.03656 16.7685 6.03646 16.7687C6.03643 16.7688 6.03634 16.769 6.03628 16.7691C6.03617 16.7693 6.03607 16.7695 6.03599 16.7697C6.03583 16.77 6.03573 16.7702 6.03568 16.7703C6.03559 16.7705 6.03573 16.7702 6.0361 16.7694C6.03685 16.768 6.03853 16.7648 6.04113 16.7599C6.04634 16.7501 6.05524 16.7338 6.06782 16.7117C6.09302 16.6676 6.1327 16.6014 6.18673 16.5203C6.29547 16.3572 6.45859 16.1399 6.67426 15.9243C7.10887 15.4897 7.71525 15.1 8.5 15.1V13.9ZM8.5 11.9H5V13.1H8.5V11.9Z\", fill: \"currentColor\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"bug\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nBugIcon.displayName = \"ForwardRef(BugIcon)\";\nconst BulbFilledIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M16.4272 14.3368C15.8273 15.1773 15.5 16.1794 15.5 17.212V18.5C15.5 19.0523 15.0523 19.5 14.5 19.5H14V20.5C14 21.0523 13.5523 21.5 13 21.5H12C11.4477 21.5 11 21.0523 11 20.5V19.5H10.5C9.94772 19.5 9.5 19.0523 9.5 18.5V17.212C9.5 16.1794 9.17266 15.1773 8.57284 14.3368C7.60216 12.9767 7 11.94 7 10C7 7 9.5 4.5 12.5 4.5C15.5 4.5 18 7 18 10C18 11.94 17.3978 12.9767 16.4272 14.3368Z\", fill: \"currentColor\", stroke: \"currentColor\", strokeWidth: 1.2 }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"bulb-filled\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nBulbFilledIcon.displayName = \"ForwardRef(BulbFilledIcon)\";\nconst BulbOutlineIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M9.5 16.5H15.5M11 20V20.5C11 21.0523 11.4477 21.5 12 21.5H13C13.5523 21.5 14 21.0523 14 20.5V20M18 10C18 11.94 17.3978 12.9767 16.4272 14.3368C15.8273 15.1773 15.5 16.1794 15.5 17.212V18.5C15.5 19.0523 15.0523 19.5 14.5 19.5H10.5C9.94772 19.5 9.5 19.0523 9.5 18.5V17.212C9.5 16.1794 9.17266 15.1773 8.57284 14.3368C7.60216 12.9767 7 11.94 7 10C7 7 9.5 4.5 12.5 4.5C15.5 4.5 18 7 18 10Z\", stroke: \"currentColor\", strokeWidth: 1.2 }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"bulb-outline\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nBulbOutlineIcon.displayName = \"ForwardRef(BulbOutlineIcon)\";\nconst CalendarIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M5.5 18.5H19.5V6.5H5.5V18.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M16.5 8V4M8.5 8V4M8 12.5H10M8 15.5H10M11.5 12.5H13.5M11.5 15.5H13.5M15 12.5H17M15 15.5H17M12.5 8V4M5.5 9.5H19.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"calendar\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nCalendarIcon.displayName = \"ForwardRef(CalendarIcon)\";\nconst CaseIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M9 8.5122V6C9 5.44772 9.44772 5 10 5H15C15.5523 5 16 5.44772 16 6V8.5122M4.5 12V18.5C4.5 19.0523 4.94772 19.5 5.5 19.5H19.5C20.0523 19.5 20.5 19.0523 20.5 18.5V12M4.5 12V9.5122C4.5 8.95991 4.94772 8.5122 5.5 8.5122H19.5C20.0523 8.5122 20.5 8.95991 20.5 9.5122V12M4.5 12L11.7978 14.7367C12.2505 14.9064 12.7495 14.9064 13.2022 14.7367L20.5 12\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"case\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nCaseIcon.displayName = \"ForwardRef(CaseIcon)\";\nconst ChartUpwardIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M5.5 5V19.5H20M7.5 16L11.5 11.5L15.5 14L19.5 8.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"chart-upward\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nChartUpwardIcon.displayName = \"ForwardRef(ChartUpwardIcon)\";\nconst CheckmarkCircleIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M9.5 12.1316L11.7414 14.5L16 10M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"checkmark-circle\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nCheckmarkCircleIcon.displayName = \"ForwardRef(CheckmarkCircleIcon)\";\nconst CheckmarkIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M5.5 11.5L10.5 16.5L19.5 7.60001\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"checkmark\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nCheckmarkIcon.displayName = \"ForwardRef(CheckmarkIcon)\";\nconst ChevronDownIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M16 10.5L12.5 14L9 10.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"chevron-down\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nChevronDownIcon.displayName = \"ForwardRef(ChevronDownIcon)\";\nconst ChevronLeftIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M14.5 16L11 12.5L14.5 9\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"chevron-left\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nChevronLeftIcon.displayName = \"ForwardRef(ChevronLeftIcon)\";\nconst ChevronRightIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M10.5 9L14 12.5L10.5 16\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"chevron-right\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nChevronRightIcon.displayName = \"ForwardRef(ChevronRightIcon)\";\nconst ChevronUpIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M9 14.5L12.5 11L16 14.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"chevron-up\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nChevronUpIcon.displayName = \"ForwardRef(ChevronUpIcon)\";\nconst CircleIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"circle\", { cx: 12.5, cy: 12.5, r: 8, stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"circle\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nCircleIcon.displayName = \"ForwardRef(CircleIcon)\";\nconst ClipboardIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M8 5.5H6.5V19.5H18.5V5.5H17M12.5 3C11.5 3 11.5 4.5 11 4.5C10 4.5 9.5 5 9.5 6.5H15.6C15.6 5 15 4.5 14 4.5C13.5 4.5 13.5 3 12.5 3Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"clipboard\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nClipboardIcon.displayName = \"ForwardRef(ClipboardIcon)\";\nconst ClipboardImageIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M8 5.5H6.5V19.5H10.5M17 5.5H18.5V11.5M10.5 18.5L12.73 15.8983C13.1327 15.4285 13.8613 15.4335 14.2575 15.909L15.299 17.1588C15.6754 17.6105 16.3585 17.6415 16.7743 17.2257L16.9903 17.0097C17.2947 16.7053 17.7597 16.6298 18.1447 16.8223L20.5 18M10.5 11.5H20.5V21.5H10.5V11.5ZM12.5 3C11.5 3 11.5 4.5 11 4.5C10 4.5 9.5 5 9.5 6.5H15.6C15.6 5 15 4.5 14 4.5C13.5 4.5 13.5 3 12.5 3Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"clipboard-image\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nClipboardImageIcon.displayName = \"ForwardRef(ClipboardImageIcon)\";\nconst ClockIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M12.5 8V12.5L15.5 15.5M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"clock\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nClockIcon.displayName = \"ForwardRef(ClockIcon)\";\nconst CloseCircleIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M9.5 15.5L12.5 12.5M12.5 12.5L15.5 9.5M12.5 12.5L9.5 9.5M12.5 12.5L15.5 15.5M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"close-circle\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nCloseCircleIcon.displayName = \"ForwardRef(CloseCircleIcon)\";\nconst CloseIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M18 7L7 18M7 7L18 18\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"close\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nCloseIcon.displayName = \"ForwardRef(CloseIcon)\";\nconst CodeBlockIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M11 15L8.5 12.5L11 10M14 10L16.5 12.5L14 15M5.5 6.5H19.5V18.5H5.5V6.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"code-block\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nCodeBlockIcon.displayName = \"ForwardRef(CodeBlockIcon)\";\nconst CodeIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M11 16L7.5 12.5L11 9M14 9L17.5 12.5L14 16\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"code\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nCodeIcon.displayName = \"ForwardRef(CodeIcon)\";\nconst CogIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M14.0666 6.19428L13.719 5.32531C13.5196 4.82685 13.0369 4.5 12.5 4.5C11.9631 4.5 11.4804 4.82685 11.281 5.32531L10.9334 6.19428C10.7984 6.53187 10.5328 6.80068 10.1969 6.93982C9.86098 7.07896 9.48313 7.07666 9.14894 6.93343L8.2887 6.56476C7.79525 6.35328 7.22276 6.46353 6.84315 6.84315C6.46353 7.22276 6.35328 7.79525 6.56476 8.2887L6.93343 9.14894C7.07666 9.48313 7.07896 9.86098 6.93982 10.1969C6.80068 10.5328 6.53187 10.7984 6.19428 10.9334L5.32531 11.281C4.82685 11.4804 4.5 11.9631 4.5 12.5C4.5 13.0369 4.82685 13.5196 5.32531 13.719L6.19428 14.0666C6.53187 14.2016 6.80068 14.4672 6.93982 14.8031C7.07896 15.139 7.07666 15.5169 6.93343 15.8511L6.56476 16.7113C6.35328 17.2048 6.46353 17.7772 6.84315 18.1569C7.22276 18.5365 7.79525 18.6467 8.2887 18.4352L9.14894 18.0666C9.48314 17.9233 9.86099 17.921 10.1969 18.0602C10.5328 18.1993 10.7984 18.4681 10.9334 18.8057L11.281 19.6747C11.4804 20.1732 11.9631 20.5 12.5 20.5C13.0369 20.5 13.5196 20.1731 13.719 19.6747L14.0666 18.8057C14.2016 18.4681 14.4672 18.1993 14.8031 18.0602C15.139 17.921 15.5169 17.9233 15.8511 18.0666L16.7113 18.4352C17.2047 18.6467 17.7772 18.5365 18.1569 18.1569C18.5365 17.7772 18.6467 17.2047 18.4352 16.7113L18.0666 15.8511C17.9233 15.5169 17.921 15.139 18.0602 14.8031C18.1993 14.4672 18.4681 14.2016 18.8057 14.0666L19.6747 13.719C20.1731 13.5196 20.5 13.0369 20.5 12.5C20.5 11.9631 20.1731 11.4804 19.6747 11.281L18.8057 10.9334C18.4681 10.7984 18.1993 10.5328 18.0602 10.1969C17.921 9.86098 17.9233 9.48313 18.0666 9.14894L18.4352 8.2887C18.6467 7.79525 18.5365 7.22276 18.1569 6.84314C17.7772 6.46353 17.2048 6.35328 16.7113 6.56476L15.8511 6.93343C15.5169 7.07666 15.139 7.07896 14.8031 6.93982C14.4672 6.80068 14.2016 6.53187 14.0666 6.19428Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M16 12.5C16 14.433 14.433 16 12.5 16C10.567 16 9 14.433 9 12.5C9 10.567 10.567 9 12.5 9C14.433 9 16 10.567 16 12.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"cog\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nCogIcon.displayName = \"ForwardRef(CogIcon)\";\nconst CollapseIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M6 14.5L10.5 14.5V19M19 10.5H14.5L14.5 6\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M10.5 14.5L6 19M14.5 10.5L19 6\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"collapse\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nCollapseIcon.displayName = \"ForwardRef(CollapseIcon)\";\nconst ColorWheelIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M9.43853 5.10896L11.1606 9.26642M13.8394 15.7336L15.5615 19.891M15.7336 11.1606L19.891 9.43853M9.26642 13.8394L5.10896 15.5615M5.3139 9.52342L9.23359 11.147M15.7664 13.853L19.6861 15.4766M13.853 9.23359L15.4766 5.3139M9.52342 19.6861L11.147 15.7664M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5ZM16 12.5C16 14.433 14.433 16 12.5 16C10.567 16 9 14.433 9 12.5C9 10.567 10.567 9 12.5 9C14.433 9 16 10.567 16 12.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"color-wheel\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nColorWheelIcon.displayName = \"ForwardRef(ColorWheelIcon)\";\nconst CommentIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M7.5 16.5H9.5V20.5L13.5 16.5H17.5C18.6046 16.5 19.5 15.6046 19.5 14.5V8.5C19.5 7.39543 18.6046 6.5 17.5 6.5H7.5C6.39543 6.5 5.5 7.39543 5.5 8.5V14.5C5.5 15.6046 6.39543 16.5 7.5 16.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"comment\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nCommentIcon.displayName = \"ForwardRef(CommentIcon)\";\nconst ComponentIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M8.5 8.5L12.5 12.5M12.5 12.5L16.5 16.5M12.5 12.5L16.5 8.5M12.5 12.5L8.5 16.5M12.5 4L21 12.5L12.5 21L4 12.5L12.5 4Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"component\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nComponentIcon.displayName = \"ForwardRef(ComponentIcon)\";\nconst ComposeIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M17 6L19 8M14 5.5H5.5V19.5H19.5V11M9 16L9.5 13.5L19 4L21 6L11.5 15.5L9 16Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"compose\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nComposeIcon.displayName = \"ForwardRef(ComposeIcon)\";\nconst ConfettiIcon = forwardRef(function(props, ref) {\n  const $ = c(7);\n  let t0, t1, t2, t3;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M16.5 6.25C16.9142 6.25 17.25 5.91421 17.25 5.5C17.25 5.08579 16.9142 4.75 16.5 4.75C16.0858 4.75 15.75 5.08579 15.75 5.5C15.75 5.91421 16.0858 6.25 16.5 6.25Z\", fill: \"currentColor\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M19.5 16.25C19.9142 16.25 20.25 15.9142 20.25 15.5C20.25 15.0858 19.9142 14.75 19.5 14.75C19.0858 14.75 18.75 15.0858 18.75 15.5C18.75 15.9142 19.0858 16.25 19.5 16.25Z\", fill: \"currentColor\" }), t2 = /* @__PURE__ */ jsx(\"path\", { d: \"M13 4C11 6 14.5 5.5 12.5 7.5M21 12C19 14 19.5 10.5 17.5 12.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t3 = /* @__PURE__ */ jsx(\"path\", { d: \"M16.066 16.4904C15.3965 17.1598 13.1126 15.9613 10.9647 13.8135C8.81684 11.6656 7.61835 9.38165 8.28782 8.71218M16.066 16.4904C16.7355 15.8209 15.537 13.537 13.3891 11.3891C11.2412 9.2412 8.95729 8.04271 8.28782 8.71218M16.066 16.4904C15.8661 16.6902 15.6277 16.8474 15.3657 16.952L6.99288 20.296C6.26931 20.5849 5.44878 20.4193 4.9038 19.8744C4.35883 19.3294 4.19324 18.5089 4.48221 17.7853L7.82614 9.41242C7.93077 9.15042 8.08793 8.91208 8.28782 8.71218M20 5C20 14 11.5 5.32688 11.5 14.3269\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1, $[2] = t2, $[3] = t3) : (t0 = $[0], t1 = $[1], t2 = $[2], t3 = $[3]);\n  let t4;\n  return $[4] !== props || $[5] !== ref ? (t4 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"confetti\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1,\n    t2,\n    t3\n  ] }), $[4] = props, $[5] = ref, $[6] = t4) : t4 = $[6], t4;\n});\nConfettiIcon.displayName = \"ForwardRef(ConfettiIcon)\";\nconst ControlsIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M6.5 5V7.5M6.5 7.5C5.39543 7.5 4.5 8.39543 4.5 9.5C4.5 10.6046 5.39543 11.5 6.5 11.5M6.5 7.5C7.60457 7.5 8.5 8.39543 8.5 9.5C8.5 10.6046 7.60457 11.5 6.5 11.5M6.5 11.5V20M12.5 5V13.5M12.5 13.5C11.3954 13.5 10.5 14.3954 10.5 15.5C10.5 16.6046 11.3954 17.5 12.5 17.5M12.5 13.5C13.6046 13.5 14.5 14.3954 14.5 15.5C14.5 16.6046 13.6046 17.5 12.5 17.5M12.5 17.5V20M18.5 5V7.5M18.5 7.5C17.3954 7.5 16.5 8.39543 16.5 9.5C16.5 10.6046 17.3954 11.5 18.5 11.5M18.5 7.5C19.6046 7.5 20.5 8.39543 20.5 9.5C20.5 10.6046 19.6046 11.5 18.5 11.5M18.5 11.5V20\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"controls\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nControlsIcon.displayName = \"ForwardRef(ControlsIcon)\";\nconst CopyIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M8.5 8.5H5.5V20.5H16.5V16.5M19.5 4.5H8.5V16.5H19.5V4.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"copy\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nCopyIcon.displayName = \"ForwardRef(CopyIcon)\";\nconst CreditCardIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M20.5 9.5H4.5V11.5H20.5V9.5Z\", fill: \"currentColor\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M7 15.5H14M5.5 18.5H19.5C20.0523 18.5 20.5 18.0523 20.5 17.5V7.5C20.5 6.94772 20.0523 6.5 19.5 6.5H5.5C4.94772 6.5 4.5 6.94772 4.5 7.5V17.5C4.5 18.0523 4.94772 18.5 5.5 18.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"credit-card\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nCreditCardIcon.displayName = \"ForwardRef(CreditCardIcon)\";\nconst CropIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M9.5 5V15.5H20M5 9.5H15.5V20\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"crop\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nCropIcon.displayName = \"ForwardRef(CropIcon)\";\nconst CubeIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M4.5 8L12.5 3L20.5 8V17L12.5 22L4.5 17V8Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M12.5 22V13M12.5 13L4.5 8M12.5 13L20.5 8\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"cube\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nCubeIcon.displayName = \"ForwardRef(CubeIcon)\";\nconst DashboardIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M14.5 19.5V12.5M10.5 12.5V5.5M5.5 12.5H19.5M5.5 19.5H19.5V5.5H5.5V19.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"dashboard\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nDashboardIcon.displayName = \"ForwardRef(DashboardIcon)\";\nconst DatabaseIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M18.5 7V17.5C18.5 19.0594 16.0504 20.5 12.5 20.5C8.9496 20.5 6.5 19.0594 6.5 17.5V7M18.5 7C18.5 8.45543 15.8137 9.5 12.5 9.5C9.18629 9.5 6.5 8.45543 6.5 7C6.5 5.54457 9.18629 4.5 12.5 4.5C15.8137 4.5 18.5 5.54457 18.5 7Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"database\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nDatabaseIcon.displayName = \"ForwardRef(DatabaseIcon)\";\nconst DesktopIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M4.5 13.5V15.5C4.5 16.0523 4.94772 16.5 5.5 16.5H12.5M4.5 13.5V6.5C4.5 5.94772 4.94772 5.5 5.5 5.5H19.5C20.0523 5.5 20.5 5.94772 20.5 6.5V13.5M4.5 13.5H20.5M20.5 13.5V15.5C20.5 16.0523 20.0523 16.5 19.5 16.5H12.5M12.5 16.5V19.5M12.5 19.5H8M12.5 19.5H17\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"desktop\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nDesktopIcon.displayName = \"ForwardRef(DesktopIcon)\";\nconst DiamondIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M21 10.5L12.5 21M21 10.5L18 5.5H11M21 10.5H16M12.5 21L4 10.5M12.5 21L9 10.5M12.5 21L16 10.5M4 10.5L7 5.5H11M4 10.5H9M9 10.5H12.5H16M9 10.5L11 5.5M16 10.5L14.5 5.5H11\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"diamond\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nDiamondIcon.displayName = \"ForwardRef(DiamondIcon)\";\nconst DocumentIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M11.5 4.5V9.5H6.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M11.5 4.5H18.5V20.5H6.5L6.5 9.5M11.5 4.5L6.5 9.5M11.5 4.5V9.5H6.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"document\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nDocumentIcon.displayName = \"ForwardRef(DocumentIcon)\";\nconst DocumentPdfIcon = forwardRef(function(props, ref) {\n  const $ = c(6);\n  let t0, t1, t2;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M12.7127 13.8012L12.7193 13.77C12.8488 13.2366 13.0117 12.5716 12.8845 11.969C12.7997 11.4937 12.4493 11.3084 12.1503 11.295C11.7977 11.2794 11.483 11.4803 11.4049 11.7726C11.2576 12.3082 11.3893 13.0402 11.6303 13.973C11.3268 14.6961 10.8425 15.7472 10.4877 16.3721C9.8271 16.7135 8.94113 17.2402 8.80946 17.9053C8.78268 18.028 8.81392 18.1842 8.88757 18.3248C8.97014 18.481 9.10181 18.6015 9.25579 18.6596C9.32274 18.6841 9.40308 18.7042 9.49681 18.7042C9.88959 18.7042 10.5256 18.3873 11.3736 16.9322C11.5031 16.8898 11.637 16.8452 11.7664 16.8006C12.3734 16.5953 13.0028 16.381 13.5718 16.2851C14.2012 16.622 14.9175 16.8385 15.404 16.8385C15.8861 16.8385 16.0758 16.5529 16.1472 16.381C16.2722 16.0797 16.2119 15.7004 16.0088 15.4973C15.7143 15.2072 14.9979 15.1313 13.882 15.2696C13.3331 14.9349 12.9738 14.4796 12.7127 13.8012ZM10.2645 17.1911C9.95431 17.6419 9.71998 17.8673 9.59278 17.9655C9.7423 17.691 10.0346 17.4009 10.2645 17.1911ZM12.2195 11.9355C12.3355 12.1341 12.3199 12.7345 12.2306 13.038C12.1213 12.5939 12.1056 11.9645 12.1704 11.8909L12.2195 11.9355ZM12.1837 14.6247C12.4225 15.0376 12.7238 15.3924 13.0563 15.6557C12.5743 15.7651 12.1346 15.9458 11.7419 16.1065C11.6481 16.1445 11.5566 16.1824 11.4674 16.2181C11.7642 15.6803 12.0119 15.071 12.1837 14.6247ZM15.6562 16.0864L15.6428 16.1065C15.6428 16.1065 15.4375 16.2315 14.6497 15.9213C15.5558 15.8789 15.6562 16.0864 15.6562 16.0864Z\", fill: \"currentColor\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M11.5 4.5V9.5H6.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t2 = /* @__PURE__ */ jsx(\"path\", { d: \"M11.5 4.5H18.5V20.5H6.5V9.5L11.5 4.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1, $[2] = t2) : (t0 = $[0], t1 = $[1], t2 = $[2]);\n  let t3;\n  return $[3] !== props || $[4] !== ref ? (t3 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"document-pdf\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1,\n    t2\n  ] }), $[3] = props, $[4] = ref, $[5] = t3) : t3 = $[5], t3;\n});\nDocumentPdfIcon.displayName = \"ForwardRef(DocumentPdfIcon)\";\nconst DocumentRemoveIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M11.5 4.5V9.5H6.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M6.5 14V20.5H18.5V14M6.5 11V9.5L11.5 4.5H18.5V11M3 12.5H22\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"document-remove\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nDocumentRemoveIcon.displayName = \"ForwardRef(DocumentRemoveIcon)\";\nconst DocumentSheetIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M11.5 4.5V9.5H6.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M10.4 19V16.4M10.4 16.4L10.4 13.4M10.4 16.4H8M10.4 16.4H14.4M10.4 13.4V11M10.4 13.4H8M10.4 13.4H14.4M14.4 19V16.4M14.4 16.4V13.4M14.4 16.4H17M14.4 13.4V11M14.4 13.4H17M11.5 4.5H18.5V20.5H6.5V9.5L11.5 4.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"document-sheet\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nDocumentSheetIcon.displayName = \"ForwardRef(DocumentSheetIcon)\";\nconst DocumentTextIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M11.5 4.5V9.5H6.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M16 13H9M14 16H9M11.5 4.5H18.5V20.5H6.5V9.5L11.5 4.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"document-text\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nDocumentTextIcon.displayName = \"ForwardRef(DocumentTextIcon)\";\nconst DocumentVideoIcon = forwardRef(function(props, ref) {\n  const $ = c(6);\n  let t0, t1, t2;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M11.5 16.5V13.5L14 15L11.5 16.5Z\", fill: \"currentColor\", stroke: \"currentColor\", strokeWidth: 1.2 }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M11.5 4.5V9.5H6.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t2 = /* @__PURE__ */ jsx(\"path\", { d: \"M11.5 4.5H18.5V20.5H6.5V9.5L11.5 4.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1, $[2] = t2) : (t0 = $[0], t1 = $[1], t2 = $[2]);\n  let t3;\n  return $[3] !== props || $[4] !== ref ? (t3 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"document-video\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1,\n    t2\n  ] }), $[3] = props, $[4] = ref, $[5] = t3) : t3 = $[5], t3;\n});\nDocumentVideoIcon.displayName = \"ForwardRef(DocumentVideoIcon)\";\nconst DocumentWordIcon = forwardRef(function(props, ref) {\n  const $ = c(6);\n  let t0, t1, t2;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M12.4699 13.4588H12.5263L13.6328 17H14.5435L16 12H14.9952L14.0656 15.7214H14.0129L12.929 12H12.0672L10.9984 15.7214H10.9419L10.0124 12H9L10.4565 17H11.371L12.4699 13.4588Z\", fill: \"currentColor\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M11.5 4.5V9.5H6.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t2 = /* @__PURE__ */ jsx(\"path\", { d: \"M11.5 4.5H18.5V20.5H6.5V9.5L11.5 4.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1, $[2] = t2) : (t0 = $[0], t1 = $[1], t2 = $[2]);\n  let t3;\n  return $[3] !== props || $[4] !== ref ? (t3 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"document-word\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1,\n    t2\n  ] }), $[3] = props, $[4] = ref, $[5] = t3) : t3 = $[5], t3;\n});\nDocumentWordIcon.displayName = \"ForwardRef(DocumentWordIcon)\";\nconst DocumentZipIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M11.5 4.5V9.5H6.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M15 4.5L13.5 5L15.5 6L13.5 7L15.5 8L13.5 9L15.5 10L13.5 11L14.5 11.5V13M11.5 4.5H18.5V20.5H6.5V9.5L11.5 4.5ZM13.5 13H15.5L16 17H13L13.5 13Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"document-zip\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nDocumentZipIcon.displayName = \"ForwardRef(DocumentZipIcon)\";\nconst DocumentsIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M10.5 4.5V9.5H5.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M16.5 7.5H19.5V21.5H8.5V18.5M10.5 4.5H16.5V18.5H5.5V9.5L10.5 4.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"documents\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nDocumentsIcon.displayName = \"ForwardRef(DocumentsIcon)\";\nconst DotIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"circle\", { cx: 12.5, cy: 12.5, r: 2.5, fill: \"currentColor\", stroke: \"currentColor\", strokeWidth: 1.2 }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"dot\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nDotIcon.displayName = \"ForwardRef(DotIcon)\";\nconst DoubleChevronDownIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M16 8L12.5 11.5L9 8M16 13L12.5 16.5L9 13\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"double-chevron-down\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nDoubleChevronDownIcon.displayName = \"ForwardRef(DoubleChevronDownIcon)\";\nconst DoubleChevronLeftIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M12 16L8.5 12.5L12 9M17 16L13.5 12.5L17 9\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"double-chevron-left\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nDoubleChevronLeftIcon.displayName = \"ForwardRef(DoubleChevronLeftIcon)\";\nconst DoubleChevronRightIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M13 9L16.5 12.5L13 16M8 9L11.5 12.5L8 16\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"double-chevron-right\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nDoubleChevronRightIcon.displayName = \"ForwardRef(DoubleChevronRightIcon)\";\nconst DoubleChevronUpIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M9 12L12.5 8.5L16 12M9 17L12.5 13.5L16 17\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"double-chevron-up\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nDoubleChevronUpIcon.displayName = \"ForwardRef(DoubleChevronUpIcon)\";\nconst DownloadIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M19.5 17V19.5H5.5V17M12.5 16L12.5 5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M17.5 11L12.5 16L7.5 11\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"download\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nDownloadIcon.displayName = \"ForwardRef(DownloadIcon)\";\nconst DragHandleIcon = forwardRef(function(props, ref) {\n  const $ = c(9);\n  let t0, t1, t2, t3, t4, t5;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M9.5 8C10.3284 8 11 7.32843 11 6.5C11 5.67157 10.3284 5 9.5 5C8.67157 5 8 5.67157 8 6.5C8 7.32843 8.67157 8 9.5 8Z\", fill: \"currentColor\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M9.5 14C10.3284 14 11 13.3284 11 12.5C11 11.6716 10.3284 11 9.5 11C8.67157 11 8 11.6716 8 12.5C8 13.3284 8.67157 14 9.5 14Z\", fill: \"currentColor\" }), t2 = /* @__PURE__ */ jsx(\"path\", { d: \"M11 18.5C11 19.3284 10.3284 20 9.5 20C8.67157 20 8 19.3284 8 18.5C8 17.6716 8.67157 17 9.5 17C10.3284 17 11 17.6716 11 18.5Z\", fill: \"currentColor\" }), t3 = /* @__PURE__ */ jsx(\"path\", { d: \"M15.5 8C16.3284 8 17 7.32843 17 6.5C17 5.67157 16.3284 5 15.5 5C14.6716 5 14 5.67157 14 6.5C14 7.32843 14.6716 8 15.5 8Z\", fill: \"currentColor\" }), t4 = /* @__PURE__ */ jsx(\"path\", { d: \"M17 12.5C17 13.3284 16.3284 14 15.5 14C14.6716 14 14 13.3284 14 12.5C14 11.6716 14.6716 11 15.5 11C16.3284 11 17 11.6716 17 12.5Z\", fill: \"currentColor\" }), t5 = /* @__PURE__ */ jsx(\"path\", { d: \"M15.5 20C16.3284 20 17 19.3284 17 18.5C17 17.6716 16.3284 17 15.5 17C14.6716 17 14 17.6716 14 18.5C14 19.3284 14.6716 20 15.5 20Z\", fill: \"currentColor\" }), $[0] = t0, $[1] = t1, $[2] = t2, $[3] = t3, $[4] = t4, $[5] = t5) : (t0 = $[0], t1 = $[1], t2 = $[2], t3 = $[3], t4 = $[4], t5 = $[5]);\n  let t6;\n  return $[6] !== props || $[7] !== ref ? (t6 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"drag-handle\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1,\n    t2,\n    t3,\n    t4,\n    t5\n  ] }), $[6] = props, $[7] = ref, $[8] = t6) : t6 = $[8], t6;\n});\nDragHandleIcon.displayName = \"ForwardRef(DragHandleIcon)\";\nconst DropIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M18.5 14.5C18.5 18 16 20.5 12.5 20.5C9 20.5 6.5 18 6.5 14.5C6.5 11 9.5 7.50001 12.5 4.5C15.5 7.5 18.5 11 18.5 14.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"drop\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nDropIcon.displayName = \"ForwardRef(DropIcon)\";\nconst EarthAmericasIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M7 13L5.5 9L10 5H15V10L14 9H11L9.5 11L10.5 12H12V13L13 14.5H15.5L18.5 17L15.5 19.5L10.5 20V17L12.5 15L9 13L7 10.5V13Z\", fill: \"currentColor\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"circle\", { cx: 12.5, cy: 12.5, r: 8, stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"earth-americas\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nEarthAmericasIcon.displayName = \"ForwardRef(EarthAmericasIcon)\";\nconst EarthGlobeIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M20.5 12.5H4.5M12.5 20.5C12.5 20.5 9.5 17.5 9.5 12.5C9.5 7.5 12.5 4.5 12.5 4.5C12.5 4.5 15.5 7.5 15.5 12.5C15.5 17.5 12.5 20.5 12.5 20.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"earth-globe\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nEarthGlobeIcon.displayName = \"ForwardRef(EarthGlobeIcon)\";\nconst EditIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M15 7L18 10M6 19L7 15L17 5L20 8L10 18L6 19Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"edit\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nEditIcon.displayName = \"ForwardRef(EditIcon)\";\nconst EllipsisHorizontalIcon = forwardRef(function(props, ref) {\n  const $ = c(6);\n  let t0, t1, t2;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M6.5 11C7.32843 11 8 11.6716 8 12.5C8 13.3284 7.32843 14 6.5 14C5.67157 14 5 13.3284 5 12.5C5 11.6716 5.67157 11 6.5 11Z\", fill: \"currentColor\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M12.5 11C13.3284 11 14 11.6716 14 12.5C14 13.3284 13.3284 14 12.5 14C11.6716 14 11 13.3284 11 12.5C11 11.6716 11.6716 11 12.5 11Z\", fill: \"currentColor\" }), t2 = /* @__PURE__ */ jsx(\"path\", { d: \"M18.5 11C19.3284 11 20 11.6716 20 12.5C20 13.3284 19.3284 14 18.5 14C17.6716 14 17 13.3284 17 12.5C17 11.6716 17.6716 11 18.5 11Z\", fill: \"currentColor\" }), $[0] = t0, $[1] = t1, $[2] = t2) : (t0 = $[0], t1 = $[1], t2 = $[2]);\n  let t3;\n  return $[3] !== props || $[4] !== ref ? (t3 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"ellipsis-horizontal\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1,\n    t2\n  ] }), $[3] = props, $[4] = ref, $[5] = t3) : t3 = $[5], t3;\n});\nEllipsisHorizontalIcon.displayName = \"ForwardRef(EllipsisHorizontalIcon)\";\nconst EllipsisVerticalIcon = forwardRef(function(props, ref) {\n  const $ = c(6);\n  let t0, t1, t2;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M14 6.5C14 7.32843 13.3284 8 12.5 8C11.6716 8 11 7.32843 11 6.5C11 5.67157 11.6716 5 12.5 5C13.3284 5 14 5.67157 14 6.5Z\", fill: \"currentColor\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M14 12.5C14 13.3284 13.3284 14 12.5 14C11.6716 14 11 13.3284 11 12.5C11 11.6716 11.6716 11 12.5 11C13.3284 11 14 11.6716 14 12.5Z\", fill: \"currentColor\" }), t2 = /* @__PURE__ */ jsx(\"path\", { d: \"M14 18.5C14 19.3284 13.3284 20 12.5 20C11.6716 20 11 19.3284 11 18.5C11 17.6716 11.6716 17 12.5 17C13.3284 17 14 17.6716 14 18.5Z\", fill: \"currentColor\" }), $[0] = t0, $[1] = t1, $[2] = t2) : (t0 = $[0], t1 = $[1], t2 = $[2]);\n  let t3;\n  return $[3] !== props || $[4] !== ref ? (t3 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"ellipsis-vertical\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1,\n    t2\n  ] }), $[3] = props, $[4] = ref, $[5] = t3) : t3 = $[5], t3;\n});\nEllipsisVerticalIcon.displayName = \"ForwardRef(EllipsisVerticalIcon)\";\nconst EmptyIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M12.5 21V19.1111M8.25 19.8614L9.19445 18.2255M5.13878 16.7501L6.77461 15.8057M4 12.5H5.8889M5.13872 8.2499L6.77455 9.19436M8.25004 5.13876L9.19449 6.7746M12.5 5.88891V4M15.8055 6.77465L16.75 5.1388M18.2254 9.19449L19.8612 8.25004M19.1111 12.5001H21M18.2254 15.8056L19.8612 16.7501M15.8056 18.2255L16.75 19.8614\", stroke: \"currentColor\", strokeWidth: 1.2 }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"empty\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nEmptyIcon.displayName = \"ForwardRef(EmptyIcon)\";\nconst EnterIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M6 14.5H19.5V7\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M10 18.5L6 14.5L10 10.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"enter\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nEnterIcon.displayName = \"ForwardRef(EnterIcon)\";\nconst EnterRightIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M19 14.5H5.5V7\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M15 18.5L19 14.5L15 10.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"enter-right\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nEnterRightIcon.displayName = \"ForwardRef(EnterRightIcon)\";\nconst EnvelopeIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M20.5 18.5H4.5V6.5H20.5V18.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M20.5 18.5L17.75 15.5L15 12.5M4.5 18.5L10 12.5M20.5 6.5L12.5 15L4.5 6.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"envelope\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nEnvelopeIcon.displayName = \"ForwardRef(EnvelopeIcon)\";\nconst EqualIcon = forwardRef(function(props, ref) {\n  const $ = c(7);\n  let t0, t1, t2, t3;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M7.5 4.5H3.5V20.5H7.5\", stroke: \"currentColor\", strokeWidth: 1.2 }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M17.5 20.5L21.5 20.5L21.5 4.5L17.5 4.5\", stroke: \"currentColor\", strokeWidth: 1.2 }), t2 = /* @__PURE__ */ jsx(\"path\", { d: \"M9 10.5H16\", stroke: \"currentColor\", strokeWidth: 1.2 }), t3 = /* @__PURE__ */ jsx(\"path\", { d: \"M9 14.5H16\", stroke: \"currentColor\", strokeWidth: 1.2 }), $[0] = t0, $[1] = t1, $[2] = t2, $[3] = t3) : (t0 = $[0], t1 = $[1], t2 = $[2], t3 = $[3]);\n  let t4;\n  return $[4] !== props || $[5] !== ref ? (t4 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"equal\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1,\n    t2,\n    t3\n  ] }), $[4] = props, $[5] = ref, $[6] = t4) : t4 = $[6], t4;\n});\nEqualIcon.displayName = \"ForwardRef(EqualIcon)\";\nconst ErrorFilledIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M4 12.5C4 7.80558 7.80558 4 12.5 4C17.1944 4 21 7.80558 21 12.5C21 17.1944 17.1944 21 12.5 21C7.80558 21 4 17.1944 4 12.5ZM13 14.5V16H12V14.5H13ZM12 9V13H13V9H12Z\", fill: \"currentColor\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"error-filled\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nErrorFilledIcon.displayName = \"ForwardRef(ErrorFilledIcon)\";\nconst ErrorOutlineIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M12.5 16V14.5M12.5 9V13M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"error-outline\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nErrorOutlineIcon.displayName = \"ForwardRef(ErrorOutlineIcon)\";\nconst ExpandIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M14 6.5H18.5V11M11 18.5H6.5V14\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M18.5 6.5L14 11M6.5 18.5L11 14\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"expand\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nExpandIcon.displayName = \"ForwardRef(ExpandIcon)\";\nconst EyeClosedIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M7 15.5L5.5 17.5M20.5 12.5C19.8612 13.5647 19.041 14.6294 18.0008 15.501M18.0008 15.501C16.5985 16.676 14.7965 17.5 12.5 17.5M18.0008 15.501L18 15.5M18.0008 15.501L19.5 17.5M12.5 17.5C8.5 17.5 6 15 4.5 12.5M12.5 17.5V20M15.5 17L16.5 19.5M9.5 17L8.5 19.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"eye-closed\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nEyeClosedIcon.displayName = \"ForwardRef(EyeClosedIcon)\";\nconst EyeOpenIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M9.39999 12.5C9.39999 10.7879 10.7879 9.39999 12.5 9.39999C14.2121 9.39999 15.6 10.7879 15.6 12.5C15.6 14.2121 14.2121 15.6 12.5 15.6C10.7879 15.6 9.39999 14.2121 9.39999 12.5Z\", fill: \"currentColor\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M12.5 7.5C8.5 7.5 6 10 4.5 12.5C6 15 8.5 17.5 12.5 17.5C16.5 17.5 19 15 20.5 12.5C19 10 16.5 7.5 12.5 7.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"eye-open\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nEyeOpenIcon.displayName = \"ForwardRef(EyeOpenIcon)\";\nconst FilterIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M11 12L6 7V6L19 6L19 7L14 12V17L11 19V12Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinecap: \"square\", strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"filter\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nFilterIcon.displayName = \"ForwardRef(FilterIcon)\";\nconst FolderIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M11.5 8.5H19.5V18.5H5.5V5.5H10.5L11.5 8.5ZM11.5 8.5H5.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"folder\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nFolderIcon.displayName = \"ForwardRef(FolderIcon)\";\nconst GenerateIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M9 5.30423C6.33576 6.60253 4.5 9.33688 4.5 12.5C4.5 16.9183 8.08172 20.5 12.5 20.5C16.9183 20.5 20.5 16.9183 20.5 12.5C20.5 8.08172 16.9183 4.5 12.5 4.5V14.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M16 11L12.5 14.5L9 11\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"generate\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nGenerateIcon.displayName = \"ForwardRef(GenerateIcon)\";\nconst GroqIcon = forwardRef(function(props, ref) {\n  const $ = c(6);\n  let t0, t1, t2;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M13 13H21L13 21L13 13Z\", fill: \"currentColor\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M12 12V4L4 12H12Z\", fill: \"currentColor\" }), t2 = /* @__PURE__ */ jsx(\"path\", { d: \"M12 13H4L12 21V13Z\", fill: \"currentColor\" }), $[0] = t0, $[1] = t1, $[2] = t2) : (t0 = $[0], t1 = $[1], t2 = $[2]);\n  let t3;\n  return $[3] !== props || $[4] !== ref ? (t3 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"groq\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1,\n    t2\n  ] }), $[3] = props, $[4] = ref, $[5] = t3) : t3 = $[5], t3;\n});\nGroqIcon.displayName = \"ForwardRef(GroqIcon)\";\nconst HashIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M8.33894 16.1002H5.44615L5.63077 14.9002H8.52356L9.26202 10.1002H6.36923L6.55384 8.90018H9.44663L9.89281 6H11.1069L10.6608 8.90018H15.4466L15.8928 6H17.1069L16.6608 8.90018H19.5539L19.3693 10.1002H16.4761L15.7377 14.9002H18.6308L18.4462 16.1002H15.5531L15.1069 19H13.8928L14.3389 16.1002H9.55306L9.10693 19H7.89281L8.33894 16.1002ZM10.4761 10.1002L9.73767 14.9002H14.5236L15.262 10.1002H10.4761Z\", fill: \"currentColor\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"hash\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nHashIcon.displayName = \"ForwardRef(HashIcon)\";\nconst HeartFilledIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M17 16C15.8 17.3235 12.5 20.5 12.5 20.5C12.5 20.5 9.2 17.3235 8 16C5.2 12.9118 4.5 11.7059 4.5 9.5C4.5 7.29412 6.1 5.5 8.5 5.5C10.5 5.5 11.7 6.82353 12.5 8.14706C13.3 6.82353 14.5 5.5 16.5 5.5C18.9 5.5 20.5 7.29412 20.5 9.5C20.5 11.7059 19.8 12.9118 17 16Z\", fill: \"currentColor\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"heart-filled\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nHeartFilledIcon.displayName = \"ForwardRef(HeartFilledIcon)\";\nconst HeartIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M17 16C15.8 17.3235 12.5 20.5 12.5 20.5C12.5 20.5 9.2 17.3235 8 16C5.2 12.9118 4.5 11.7059 4.5 9.5C4.5 7.29412 6.1 5.5 8.5 5.5C10.5 5.5 11.7 6.82353 12.5 8.14706C13.3 6.82353 14.5 5.5 16.5 5.5C18.9 5.5 20.5 7.29412 20.5 9.5C20.5 11.7059 19.8 12.9118 17 16Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"heart\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nHeartIcon.displayName = \"ForwardRef(HeartIcon)\";\nconst HelpCircleIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M12.5 13C12.5 11 14 11.5 14 10C14 9.34375 13.5 8.5 12.5 8.5C11.5 8.5 11 9 10.5 9.5M12.5 16V14.5M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"help-circle\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nHelpCircleIcon.displayName = \"ForwardRef(HelpCircleIcon)\";\nconst HighlightIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M17.5311 13.7141L8.0245 8.22547M17.5311 13.7141L20.25 9.00478M17.5311 13.7141L16.5 15.5L13.232 16.134L12 18L11.4142 17.6485M8.0245 8.22547L10.75 3.50479M8.0245 8.22547L6.99999 9.99998L7.99998 13L6.99998 15L7.58576 15.3514M7.58576 15.3514L4.90192 20L10.0566 20L11.4142 17.6485M7.58576 15.3514L11.4142 17.6485M13 20H20\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"highlight\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nHighlightIcon.displayName = \"ForwardRef(HighlightIcon)\";\nconst HomeIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M6.5 8.75V18.5H18.5V8.75M4.5 10L12.5 5L20.5 10M14.5 18.5V11.5H10.5V18.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"home\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nHomeIcon.displayName = \"ForwardRef(HomeIcon)\";\nconst IceCreamIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M9.5 13.5L12.5 20.5L15.5 13.5M12.5 8.26389C11.9692 7.78885 11.2684 7.5 10.5 7.5C8.84315 7.5 7.5 8.84315 7.5 10.5C7.5 12.1569 8.84315 13.5 10.5 13.5C11.2684 13.5 11.9692 13.2111 12.5 12.7361M9.5 7.5C9.5 5.84315 10.8431 4.5 12.5 4.5C14.1569 4.5 15.5 5.84315 15.5 7.5M17.5 10.5C17.5 12.1569 16.1569 13.5 14.5 13.5C12.8431 13.5 11.5 12.1569 11.5 10.5C11.5 8.84315 12.8431 7.5 14.5 7.5C16.1569 7.5 17.5 8.84315 17.5 10.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"ice-cream\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nIceCreamIcon.displayName = \"ForwardRef(IceCreamIcon)\";\nconst ImageIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M5.5 15.5L8.79289 12.2071C9.18342 11.8166 9.81658 11.8166 10.2071 12.2071L12.8867 14.8867C13.2386 15.2386 13.7957 15.2782 14.1938 14.9796L15.1192 14.2856C15.3601 14.1049 15.6696 14.0424 15.9618 14.1154L19.5 15M5.5 6.5H19.5V18.5H5.5V6.5ZM15.5 10.5C15.5 11.0523 15.0523 11.5 14.5 11.5C13.9477 11.5 13.5 11.0523 13.5 10.5C13.5 9.94772 13.9477 9.5 14.5 9.5C15.0523 9.5 15.5 9.94772 15.5 10.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"image\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nImageIcon.displayName = \"ForwardRef(ImageIcon)\";\nconst ImageRemoveIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M5.5 11V6.5H19.5V11M5.5 14V18.5H19.5V14M3 12.5H22\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"image-remove\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nImageRemoveIcon.displayName = \"ForwardRef(ImageRemoveIcon)\";\nconst ImagesIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M18.5 7.5H20.5V19.5H6.5V17.5M4.5 14.5L7.79289 11.2071C8.18342 10.8166 8.81658 10.8166 9.20711 11.2071L11.8867 13.8867C12.2386 14.2386 12.7957 14.2782 13.1938 13.9796L14.1192 13.2856C14.3601 13.1049 14.6696 13.0424 14.9618 13.1154L18.5 14M4.5 5.5H18.5V17.5H4.5V5.5ZM14.5 9.5C14.5 10.0523 14.0523 10.5 13.5 10.5C12.9477 10.5 12.5 10.0523 12.5 9.5C12.5 8.94772 12.9477 8.5 13.5 8.5C14.0523 8.5 14.5 8.94772 14.5 9.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"images\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nImagesIcon.displayName = \"ForwardRef(ImagesIcon)\";\nconst InfoFilledIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M21 12.5C21 17.1944 17.1944 21 12.5 21C7.80558 21 4 17.1944 4 12.5C4 7.80558 7.80558 4 12.5 4C17.1944 4 21 7.80558 21 12.5ZM12 10.5V9H13V10.5H12ZM13 16V12H12V16H13Z\", fill: \"currentColor\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"info-filled\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nInfoFilledIcon.displayName = \"ForwardRef(InfoFilledIcon)\";\nconst InfoOutlineIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M12.5 10.5V9M12.5 12V16M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"info-outline\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nInfoOutlineIcon.displayName = \"ForwardRef(InfoOutlineIcon)\";\nconst InlineElementIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M5.5 5V20M19.5 5V20M8.5 6.5H16.5V18.5H8.5V6.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"inline-element\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nInlineElementIcon.displayName = \"ForwardRef(InlineElementIcon)\";\nconst InlineIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M12.5 6.5H19.5V18.5H12.5M12.5 6.5H5.5V18.5H12.5M12.5 6.5V18.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"inline\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nInlineIcon.displayName = \"ForwardRef(InlineIcon)\";\nconst InsertAboveIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M14.5 10.5556L10.5 10.5556M12.5 12.5L12.5 8.5M18.5 5.5L6.5 5.5M18.5 19.5L6.5 19.5L6.5 15.5L18.5 15.5L18.5 19.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinecap: \"square\", strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"insert-above\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nInsertAboveIcon.displayName = \"ForwardRef(InsertAboveIcon)\";\nconst InsertBelowIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M10.5 14.5H14.5M12.5 12.5V16.5M6.5 19.5H18.5M6.5 5.5H18.5V9.5H6.5V5.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinecap: \"square\", strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"insert-below\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nInsertBelowIcon.displayName = \"ForwardRef(InsertBelowIcon)\";\nconst ItalicIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M10.43 18H11.7276L13.4551 9.86763H12.1576L10.43 18ZM13.3043 8.29849C13.8022 8.29849 14.2095 7.89112 14.2095 7.39322C14.2095 6.89532 13.8022 6.48795 13.3043 6.48795C12.8064 6.48795 12.399 6.89532 12.399 7.39322C12.399 7.89112 12.8064 8.29849 13.3043 8.29849Z\", fill: \"currentColor\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"italic\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nItalicIcon.displayName = \"ForwardRef(ItalicIcon)\";\nconst JoystickIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M9.5 16V14.5H15.5V16M13.5 10.5V14.5M11.5 10.5V14.5M15.5 7.5C15.5 9.15685 14.1569 10.5 12.5 10.5C10.8431 10.5 9.5 9.15685 9.5 7.5C9.5 5.84315 10.8431 4.5 12.5 4.5C14.1569 4.5 15.5 5.84315 15.5 7.5ZM18.5 19.5H6.5C5.94772 19.5 5.5 19.0523 5.5 18.5V17.5C5.5 16.9477 5.94772 16.5 6.5 16.5H18.5C19.0523 16.5 19.5 16.9477 19.5 17.5V18.5C19.5 19.0523 19.0523 19.5 18.5 19.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"joystick\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nJoystickIcon.displayName = \"ForwardRef(JoystickIcon)\";\nconst JsonIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M11 5.5H9.5C8.39543 5.5 7.5 6.39543 7.5 7.5V12.5M7.5 12.5H4M7.5 12.5V17.5C7.5 18.6046 8.39543 19.5 9.5 19.5H11M14 5.5H15.5C16.6046 5.5 17.5 6.39543 17.5 7.5V12.5M17.5 12.5H21M17.5 12.5V17.5C17.5 18.6046 16.6046 19.5 15.5 19.5H14\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"json\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nJsonIcon.displayName = \"ForwardRef(JsonIcon)\";\nconst LaunchIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M12 7.5H6.5V18.5H17.5V13M19.5 5.5L10.5 14.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M14 5.5H19.5V11\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"launch\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nLaunchIcon.displayName = \"ForwardRef(LaunchIcon)\";\nconst LeaveIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M14.5 15V18.5H5.5V6.5H14.5V10M9 12.5H21.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M18 9L21.5 12.5L18 16\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"leave\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nLeaveIcon.displayName = \"ForwardRef(LeaveIcon)\";\nconst LemonIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M10.6569 10.3431L6.41422 14.5858C7.58579 15.7574 9.12132 16.3431 10.6569 16.3431M10.6569 10.3431L14.8995 6.1005C16.0711 7.27208 16.6569 8.80761 16.6569 10.3431M10.6569 10.3431L10.6569 16.3431M10.6569 10.3431L16.6569 10.3431M10.6569 10.3431L14.8995 14.5858M14.8995 14.5858C13.7279 15.7574 12.1924 16.3431 10.6569 16.3431M14.8995 14.5858C16.0711 13.4142 16.6569 11.8787 16.6569 10.3431M16.3137 4.68629C19.4379 7.81049 19.4379 12.8758 16.3137 16C13.1895 19.1242 8.12419 19.1242 5 16L16.3137 4.68629Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"lemon\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nLemonIcon.displayName = \"ForwardRef(LemonIcon)\";\nconst LinkIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M11 12.5L12.5 14C13.281 14.781 14.719 14.781 15.5 14L18.5 11C19.281 10.219 19.281 8.78105 18.5 8L18 7.5C17.2189 6.71895 15.781 6.71895 15 7.5L13 9.5M12 15.5L10 17.5C9.21895 18.281 7.78105 18.281 7 17.5L6.5 17C5.71895 16.219 5.71896 14.781 6.5 14L9.50001 11C10.2811 10.219 11.719 10.2189 12.5 11L14 12.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"link\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nLinkIcon.displayName = \"ForwardRef(LinkIcon)\";\nconst LinkRemovedIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M18.5 11C19.281 10.219 19.281 8.78108 18.5 8.00003L18 7.50003C17.2189 6.71898 15.781 6.71898 15 7.50003L13 9.50003M15.5 14C14.7189 14.7811 13.281 14.7811 12.5 14M6.5 14C5.71895 14.7811 5.71894 16.219 6.49999 17L6.99999 17.5C7.78104 18.2811 9.21894 18.2811 9.99999 17.5L12 15.5M12.5 11C11.719 10.219 10.281 10.219 9.5 11M3 12.5H22\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"link-removed\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nLinkRemovedIcon.displayName = \"ForwardRef(LinkRemovedIcon)\";\nconst ListIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M6 6.5H19M6 14.5H19M6 10.5H19M6 18.5H19\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"list\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nListIcon.displayName = \"ForwardRef(ListIcon)\";\nconst LockIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M15.5 11.5V8.5C15.5 6.5 14 5.5 12.5 5.5C11 5.5 9.5 6.5 9.5 8.5V11.5M7.5 11.5H17.5V19.5H7.5V11.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"lock\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nLockIcon.displayName = \"ForwardRef(LockIcon)\";\nconst LogoJsIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M20 5H5V20H20V5ZM12.5254 16.1572C12.5254 17.4189 11.7742 18.1536 10.4792 18.1536C9.24243 18.1536 8.49121 17.4189 8.45801 16.2942V16.261H9.67407V16.2859C9.69897 16.7466 9.9729 17.0703 10.4626 17.0703C10.9939 17.0703 11.272 16.7507 11.272 16.1489V12.011H12.5254V16.1572ZM18.2893 16.2153C18.2893 17.4023 17.3679 18.1536 15.8738 18.1536C14.4419 18.1536 13.5371 17.4688 13.4666 16.4062L13.4624 16.3398H14.6702L14.6743 16.3813C14.72 16.8296 15.2056 17.1326 15.907 17.1326C16.5752 17.1326 17.0359 16.813 17.0359 16.3523V16.3481C17.0359 15.9539 16.7412 15.7339 15.9983 15.5803L15.3674 15.4517C14.1223 15.1985 13.5869 14.6174 13.5869 13.7085V13.7043C13.5869 12.592 14.5415 11.8574 15.8696 11.8574C17.2683 11.8574 18.0901 12.5962 18.1689 13.5964L18.1731 13.6504H16.9944L16.9861 13.6006C16.9155 13.1731 16.5005 12.8743 15.8696 12.8743C15.2512 12.8784 14.8403 13.1606 14.8403 13.6089V13.613C14.8403 14.0032 15.1309 14.2356 15.8364 14.3809L16.4714 14.5095C17.7373 14.771 18.2893 15.2773 18.2893 16.2112V16.2153Z\", fill: \"currentColor\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"logo-js\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nLogoJsIcon.displayName = \"ForwardRef(LogoJsIcon)\";\nconst LogoTsIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M20 5H5V20H20V5ZM11.0769 18H9.82349V13.0444H8.02637V12.011H12.874V13.0444H11.0769V18ZM18.2893 16.2153C18.2893 17.4023 17.3679 18.1536 15.8738 18.1536C14.4419 18.1536 13.5371 17.4688 13.4666 16.4062L13.4624 16.3398H14.6702L14.6743 16.3813C14.72 16.8296 15.2056 17.1326 15.907 17.1326C16.5752 17.1326 17.0359 16.813 17.0359 16.3523V16.3481C17.0359 15.9539 16.7412 15.7339 15.9983 15.5803L15.3674 15.4517C14.1223 15.1985 13.5869 14.6174 13.5869 13.7085V13.7043C13.5869 12.592 14.5415 11.8574 15.8696 11.8574C17.2683 11.8574 18.0901 12.5962 18.1689 13.5964L18.1731 13.6504H16.9944L16.9861 13.6006C16.9155 13.1731 16.5005 12.8743 15.8696 12.8743C15.2512 12.8784 14.8403 13.1606 14.8403 13.6089V13.613C14.8403 14.0032 15.1309 14.2356 15.8364 14.3809L16.4714 14.5095C17.7373 14.771 18.2893 15.2773 18.2893 16.2112V16.2153Z\", fill: \"currentColor\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"logo-ts\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nLogoTsIcon.displayName = \"ForwardRef(LogoTsIcon)\";\nconst MarkerIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M6.5 10.5C6.5 7 9 4.5 12.5 4.5C16 4.5 18.5 7 18.5 10.5C18.5 14 15.5 17.5 12.5 20.5C9.5 17.5 6.5 14 6.5 10.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M14 10.5C14 11.3284 13.3284 12 12.5 12C11.6716 12 11 11.3284 11 10.5C11 9.67157 11.6716 9 12.5 9C13.3284 9 14 9.67157 14 10.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"marker\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nMarkerIcon.displayName = \"ForwardRef(MarkerIcon)\";\nconst MarkerRemovedIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M7.39787 14C8.51075 16.2897 10.5054 18.5054 12.5 20.5C14.4946 18.5054 16.4892 16.2897 17.6021 14M6.52009 11C6.50681 10.8334 6.5 10.6667 6.5 10.5C6.5 7 9 4.5 12.5 4.5C16 4.5 18.5 7 18.5 10.5C18.5 10.6667 18.4932 10.8334 18.4799 11M3 12.5H22\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"marker-removed\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nMarkerRemovedIcon.displayName = \"ForwardRef(MarkerRemovedIcon)\";\nconst MasterDetailIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M7 9.5H10M11.5 6.5V18.5M7 12.5H10M13 9.5H18M7 15.5H10M5.5 6.5H19.5V18.5H5.5V6.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"master-detail\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nMasterDetailIcon.displayName = \"ForwardRef(MasterDetailIcon)\";\nconst MenuIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M6 7.5H19M6 17.5H19M6 12.5H19\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"menu\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nMenuIcon.displayName = \"ForwardRef(MenuIcon)\";\nconst MobileDeviceIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M7.5 6.5C7.5 5.39543 8.39543 4.5 9.5 4.5H15.5C16.6046 4.5 17.5 5.39543 17.5 6.5V18.5C17.5 19.6046 16.6046 20.5 15.5 20.5H9.5C8.39543 20.5 7.5 19.6046 7.5 18.5V6.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M13.5 17.5C13.5 18.0523 13.0523 18.5 12.5 18.5C11.9477 18.5 11.5 18.0523 11.5 17.5C11.5 16.9477 11.9477 16.5 12.5 16.5C13.0523 16.5 13.5 16.9477 13.5 17.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"mobile-device\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nMobileDeviceIcon.displayName = \"ForwardRef(MobileDeviceIcon)\";\nconst MoonIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M19.6065 16.1775C18.9417 16.387 18.234 16.5 17.5 16.5C13.634 16.5 10.5 13.366 10.5 9.5C10.5 7.54163 11.3042 5.77109 12.6004 4.50062C12.567 4.50021 12.5335 4.5 12.5 4.5C8.08172 4.5 4.5 8.08172 4.5 12.5C4.5 16.9183 8.08172 20.5 12.5 20.5C15.5924 20.5 18.275 18.7454 19.6065 16.1775Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"moon\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nMoonIcon.displayName = \"ForwardRef(MoonIcon)\";\nconst NumberIcon = forwardRef(function(props, ref) {\n  const $ = c(7);\n  let t0, t1, t2, t3;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M21.0165 17.6336H3.83636V16.4336H21.0165V17.6336Z\", fill: \"currentColor\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M7.09808 13.3967V7.508H5.74066L3.83636 8.78241V10.091L5.65277 8.88495H5.74066V13.3967H3.84125V14.5539H8.89984V13.3967H7.09808Z\", fill: \"currentColor\" }), t2 = /* @__PURE__ */ jsx(\"path\", { d: \"M9.81781 9.63202V9.66132H11.1069V9.62714C11.1069 8.95331 11.5756 8.49432 12.2739 8.49432C12.9575 8.49432 13.4018 8.89471 13.4018 9.50507C13.4018 9.9787 13.1528 10.3498 12.1909 11.3117L9.89594 13.5822V14.5539H14.8618V13.3869H11.7807V13.299L13.1577 11.9855C14.3491 10.843 14.7543 10.1838 14.7543 9.41229C14.7543 8.19159 13.7729 7.36639 12.3178 7.36639C10.8383 7.36639 9.81781 8.28436 9.81781 9.63202Z\", fill: \"currentColor\" }), t3 = /* @__PURE__ */ jsx(\"path\", { d: \"M17.6694 11.4631H18.5092C19.3198 11.4631 19.8422 11.8683 19.8422 12.4982C19.8422 13.1183 19.3295 13.5139 18.5239 13.5139C17.767 13.5139 17.2592 13.133 17.2104 12.5324H15.9262C15.9897 13.8508 17.0248 14.6955 18.5629 14.6955C20.1401 14.6955 21.2192 13.841 21.2192 12.591C21.2192 11.6584 20.6528 11.0334 19.7006 10.9211V10.8332C20.4721 10.6769 20.9457 10.0666 20.9457 9.23651C20.9457 8.12323 19.9741 7.36639 18.5434 7.36639C17.0541 7.36639 16.1118 8.17694 16.0629 9.50018H17.2983C17.3422 8.88007 17.8061 8.48456 18.4995 8.48456C19.2075 8.48456 19.6567 8.85565 19.6567 9.44159C19.6567 10.0324 19.1977 10.4182 18.4946 10.4182H17.6694V11.4631Z\", fill: \"currentColor\" }), $[0] = t0, $[1] = t1, $[2] = t2, $[3] = t3) : (t0 = $[0], t1 = $[1], t2 = $[2], t3 = $[3]);\n  let t4;\n  return $[4] !== props || $[5] !== ref ? (t4 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"number\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1,\n    t2,\n    t3\n  ] }), $[4] = props, $[5] = ref, $[6] = t4) : t4 = $[6], t4;\n});\nNumberIcon.displayName = \"ForwardRef(NumberIcon)\";\nconst OkHandIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M15.9957 11.5C14.8197 10.912 11.9957 9 10.4957 9C8.9957 9 5.17825 11.7674 6 13C7 14.5 9.15134 11.7256 10.4957 12C11.8401 12.2744 13 13.5 13 14.5C13 15.5 11.8401 16.939 10.4957 16.5C9.15134 16.061 8.58665 14.3415 7.4957 14C6.21272 13.5984 5.05843 14.6168 5.5 15.5C5.94157 16.3832 7.10688 17.6006 8.4957 19C9.74229 20.2561 11.9957 21.5 14.9957 20C17.9957 18.5 18.5 16.2498 18.5 13C18.5 11.5 13.7332 5.36875 11.9957 4.5C10.9957 4 10 5 10.9957 6.5C11.614 7.43149 13.5 9.27705 14 10.3751M15.5 8C15.5 8 15.3707 7.5 14.9957 6C14.4957 4 15.9957 3.5 16.4957 4.5C17.1281 5.76491 18.2872 10.9147 18.4957 13\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"ok-hand\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nOkHandIcon.displayName = \"ForwardRef(OkHandIcon)\";\nconst OlistIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M10 7.5H19M10 12.5H19M10 17.5H19M5 18.5H7.5L7 17.5L7.5 16.5H5M5 6.5H6.5V8.5M5 8.5H6.5M6.5 8.5H8M8 13.5H6L7 11.5H5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"olist\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nOlistIcon.displayName = \"ForwardRef(OlistIcon)\";\nconst OverageIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M18.5 11V6.5H14\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M6.5 18.5L9 16L12 13L18.5 6.5M3 13.5H22\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"overage\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nOverageIcon.displayName = \"ForwardRef(OverageIcon)\";\nconst PackageIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M12.5 13V22M12.5 13L4.5 8M12.5 13L20.5 8M8.5 5.5L16.5 10.5M4.5 8L12.5 3L20.5 8V17L12.5 22L4.5 17V8Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"package\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nPackageIcon.displayName = \"ForwardRef(PackageIcon)\";\nconst PanelLeftIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M10.5 6.5H19.5V18.5H10.5M10.5 6.5H5.5V18.5H10.5M10.5 6.5V18.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"panel-left\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nPanelLeftIcon.displayName = \"ForwardRef(PanelLeftIcon)\";\nconst PanelRightIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M14.5 6.5H19.5V18.5H14.5M14.5 6.5H5.5V18.5H14.5M14.5 6.5V18.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"panel-right\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nPanelRightIcon.displayName = \"ForwardRef(PanelRightIcon)\";\nconst PauseIcon = forwardRef(function(props, ref) {\n  const $ = c(7);\n  let t0, t1, t2, t3;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M10.5 7.5H8.5V17.5H10.5V7.5Z\", fill: \"currentColor\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M16.5 7.5H14.5V17.5H16.5V7.5Z\", fill: \"currentColor\" }), t2 = /* @__PURE__ */ jsx(\"path\", { d: \"M10.5 7.5H8.5V17.5H10.5V7.5Z\", stroke: \"currentColor\", strokeWidth: 1.2 }), t3 = /* @__PURE__ */ jsx(\"path\", { d: \"M16.5 7.5H14.5V17.5H16.5V7.5Z\", stroke: \"currentColor\", strokeWidth: 1.2 }), $[0] = t0, $[1] = t1, $[2] = t2, $[3] = t3) : (t0 = $[0], t1 = $[1], t2 = $[2], t3 = $[3]);\n  let t4;\n  return $[4] !== props || $[5] !== ref ? (t4 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"pause\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1,\n    t2,\n    t3\n  ] }), $[4] = props, $[5] = ref, $[6] = t4) : t4 = $[6], t4;\n});\nPauseIcon.displayName = \"ForwardRef(PauseIcon)\";\nconst PinFilledIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M17 15H8V13.5C8 12 10.5 11 10.5 11V9L8.5 7V6H16.5V7L14.5 9V11C14.5 11 17 12 17 13.5V15Z\", fill: \"currentColor\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M12 15L12.5 20L13 15\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"pin-filled\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nPinFilledIcon.displayName = \"ForwardRef(PinFilledIcon)\";\nconst PinIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M12 15L12.5 20L13 15\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M17 15H8V13.5C8 12 10.5 11 10.5 11V9L8.5 7V6H16.5V7L14.5 9V11C14.5 11 17 12 17 13.5V15Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"pin\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nPinIcon.displayName = \"ForwardRef(PinIcon)\";\nconst PinRemovedIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M7.39787 14C8.51075 16.2897 10.5054 18.5054 12.5 20.5C14.4946 18.5054 16.4892 16.2897 17.6021 14M6.52009 11C6.50681 10.8334 6.5 10.6667 6.5 10.5C6.5 7 9 4.5 12.5 4.5C16 4.5 18.5 7 18.5 10.5C18.5 10.6667 18.4932 10.8334 18.4799 11M3 12.5H22\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"pin-removed\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nPinRemovedIcon.displayName = \"ForwardRef(PinRemovedIcon)\";\nconst PlayIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M7.5 18.5V6.5L17.5 12.5L7.5 18.5Z\", fill: \"currentColor\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"play\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nPlayIcon.displayName = \"ForwardRef(PlayIcon)\";\nconst PlugIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M13.25 8.5L16.75 5M16.25 11.5L19.75 8M9.25 15.5L5.25 19.5M7.75 14L9.75 12C8.25 10 8.75 9 9.75 8C10.15 7.6 11.25 6.5 11.25 6.5L18.25 13.5C18.25 13.5 17.3825 14.3675 16.75 15C15.75 16 14.75 16.5 12.75 15L10.75 17L7.75 14Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"plug\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nPlugIcon.displayName = \"ForwardRef(PlugIcon)\";\nconst PresentationIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M10.5 18H5.5V8.5H19.5V18H14.5M10.5 18L9 22M10.5 18H14.5M14.5 18L16 22M4.5 8.5H20.5V6.5H4.5V8.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"presentation\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nPresentationIcon.displayName = \"ForwardRef(PresentationIcon)\";\nconst Progress50Icon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M17 12.5C17 14.9853 14.9853 17 12.5 17V8C14.9853 8 17 10.0147 17 12.5Z\", fill: \"currentColor\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M12.5 20.5C16.9183 20.5 20.5 16.9183 20.5 12.5C20.5 8.08172 16.9183 4.5 12.5 4.5C8.08172 4.5 4.5 8.08172 4.5 12.5C4.5 16.9183 8.08172 20.5 12.5 20.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"progress-50\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nProgress50Icon.displayName = \"ForwardRef(Progress50Icon)\";\nconst Progress75Icon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M12.5 17C14.9853 17 17 14.9853 17 12.5C17 10.0147 14.9853 8 12.5 8V12.5H8C8 14.9853 10.0147 17 12.5 17Z\", fill: \"currentColor\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"progress-75\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nProgress75Icon.displayName = \"ForwardRef(Progress75Icon)\";\nconst ProjectsIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M21 17.5H14M17.5 14V21M5.5 14.5H10.5V19.5H5.5V14.5ZM14.5 5.5H19.5V10.5H14.5V5.5ZM5.5 5.5H10.5V10.5H5.5V5.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"projects\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nProjectsIcon.displayName = \"ForwardRef(ProjectsIcon)\";\nconst PublishIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M4.99997 5.50006H20M12.5 9.00005V20\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M7.5 14L12.5 9.00006L17.5 14\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"publish\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nPublishIcon.displayName = \"ForwardRef(PublishIcon)\";\nconst ReadOnlyIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M15 7L18 10M10 12L7 15L6 19L10 18L13 15M12 10L17 5L20 8L15 13M19 19L5 5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"read-only\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nReadOnlyIcon.displayName = \"ForwardRef(ReadOnlyIcon)\";\nconst RedoIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M19 9.5L10 9.5C7.51472 9.5 5.5 11.5147 5.5 14C5.5 16.4853 7.51472 18.5 10 18.5H19\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M15 13.5L19 9.5L15 5.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"redo\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nRedoIcon.displayName = \"ForwardRef(RedoIcon)\";\nconst RefreshIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M19.5 13.5C19.5 17.366 16.366 20.5 12.5 20.5C8.63401 20.5 5.5 17.366 5.5 13.5C5.5 9.63401 8.63401 6.5 12.5 6.5H15.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M11.5 10.5L15.5 6.5L11.5 2.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"refresh\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nRefreshIcon.displayName = \"ForwardRef(RefreshIcon)\";\nconst RemoveCircleIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M8 12.4H17M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"remove-circle\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nRemoveCircleIcon.displayName = \"ForwardRef(RemoveCircleIcon)\";\nconst RemoveIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M5 12.5H20\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"remove\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nRemoveIcon.displayName = \"ForwardRef(RemoveIcon)\";\nconst ResetIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M4.56189 13.5L4.14285 13.9294C4.25676 14.0406 4.41017 14.1019 4.56932 14.1C4.72847 14.098 4.88032 14.0329 4.99144 13.9189L4.56189 13.5ZM9.92427 15.9243L15.9243 9.92427L15.0757 9.07574L9.07574 15.0757L9.92427 15.9243ZM9.07574 9.92426L15.0757 15.9243L15.9243 15.0757L9.92426 9.07574L9.07574 9.92426ZM19.9 12.5C19.9 16.5869 16.5869 19.9 12.5 19.9V21.1C17.2496 21.1 21.1 17.2496 21.1 12.5H19.9ZM5.1 12.5C5.1 8.41309 8.41309 5.1 12.5 5.1V3.9C7.75035 3.9 3.9 7.75035 3.9 12.5H5.1ZM12.5 5.1C16.5869 5.1 19.9 8.41309 19.9 12.5H21.1C21.1 7.75035 17.2496 3.9 12.5 3.9V5.1ZM5.15728 13.4258C5.1195 13.1227 5.1 12.8138 5.1 12.5H3.9C3.9 12.8635 3.92259 13.2221 3.9665 13.5742L5.15728 13.4258ZM12.5 19.9C9.9571 19.9 7.71347 18.6179 6.38048 16.6621L5.38888 17.3379C6.93584 19.6076 9.54355 21.1 12.5 21.1V19.9ZM4.99144 13.9189L7.42955 11.4189L6.57045 10.5811L4.13235 13.0811L4.99144 13.9189ZM4.98094 13.0706L2.41905 10.5706L1.58095 11.4294L4.14285 13.9294L4.98094 13.0706Z\", fill: \"currentColor\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"reset\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nResetIcon.displayName = \"ForwardRef(ResetIcon)\";\nconst RestoreIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M5.88468 17C7.32466 19.1128 9.75033 20.5 12.5 20.5C16.9183 20.5 20.5 16.9183 20.5 12.5C20.5 8.08172 16.9183 4.5 12.5 4.5C8.08172 4.5 4.5 8.08172 4.5 12.5V13.5M12.5 8V12.5L15.5 15.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M7 11L4.5 13.5L2 11\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"restore\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nRestoreIcon.displayName = \"ForwardRef(RestoreIcon)\";\nconst RetrieveIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M16 14L12.5 10.5L9 14M5.5 7.5H19.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M12.5 10.5L12.5 17.5M19.5 7.5V19.5H5.5V7.5L7.5 5.5H17.5L19.5 7.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"retrieve\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nRetrieveIcon.displayName = \"ForwardRef(RetrieveIcon)\";\nconst RetryIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M19 9.5L10 9.5C7.51472 9.5 5.5 11.5147 5.5 14C5.5 16.4853 7.51472 18.5 10 18.5H19\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M15 13.5L19 9.5L15 5.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"retry\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nRetryIcon.displayName = \"ForwardRef(RetryIcon)\";\nconst RevertIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M6 9.5L15 9.5C17.4853 9.5 19.5 11.5147 19.5 14C19.5 16.4853 17.4853 18.5 15 18.5H6\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M10 13.5L6 9.5L10 5.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"revert\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nRevertIcon.displayName = \"ForwardRef(RevertIcon)\";\nconst RobotIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M12.5 15.5V17.5M12.5 8.5V6.5M12.5 6.5C13.3284 6.5 14 5.82843 14 5C14 4.17157 13.3284 3.5 12.5 3.5C11.6716 3.5 11 4.17157 11 5C11 5.82843 11.6716 6.5 12.5 6.5ZM20.5 20.5V19.5C20.5 18.3954 19.6046 17.5 18.5 17.5H6.5C5.39543 17.5 4.5 18.3954 4.5 19.5V20.5H20.5ZM11.5 12C11.5 12.5523 11.0523 13 10.5 13C9.94772 13 9.5 12.5523 9.5 12C9.5 11.4477 9.94772 11 10.5 11C11.0523 11 11.5 11.4477 11.5 12ZM15.5 12C15.5 12.5523 15.0523 13 14.5 13C13.9477 13 13.5 12.5523 13.5 12C13.5 11.4477 13.9477 11 14.5 11C15.0523 11 15.5 11.4477 15.5 12ZM8.5 15.5H16.5C17.6046 15.5 18.5 14.6046 18.5 13.5V10.5C18.5 9.39543 17.6046 8.5 16.5 8.5H8.5C7.39543 8.5 6.5 9.39543 6.5 10.5V13.5C6.5 14.6046 7.39543 15.5 8.5 15.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"robot\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nRobotIcon.displayName = \"ForwardRef(RobotIcon)\";\nconst RocketIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M12.5 20.5L15.5 14M11 9.49999L4.5 12.5M9 14C9 14 7.54688 14.9531 6.5 16C5.5 17 4.5 20.5 4.5 20.5C4.5 20.5 8 19.5 9 18.5C10 17.5 11 16 11 16M9 14C9 14 10.1 9.9 12.5 7.5C15.5 4.5 20.5 4.5 20.5 4.5C20.5 4.5 20.5 9.5 17.5 12.5C15.7492 14.2508 11 16 11 16L9 14ZM16.5 9.99999C16.5 10.8284 15.8284 11.5 15 11.5C14.1716 11.5 13.5 10.8284 13.5 9.99999C13.5 9.17157 14.1716 8.49999 15 8.49999C15.8284 8.49999 16.5 9.17157 16.5 9.99999Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"rocket\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nRocketIcon.displayName = \"ForwardRef(RocketIcon)\";\nconst SchemaIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M12.5 9.5V12.5M12.5 12.5H8.5V15.5M12.5 12.5H16.5V15.5M10.5 5.5H14.5V9.5H10.5V5.5ZM6.5 15.5H10.5V19.5H6.5V15.5ZM14.5 15.5H18.5V19.5H14.5V15.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"schema\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nSchemaIcon.displayName = \"ForwardRef(SchemaIcon)\";\nconst SearchIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M15.0355 15.0355L20 20M16.5 11.5C16.5 14.2614 14.2614 16.5 11.5 16.5C8.73858 16.5 6.5 14.2614 6.5 11.5C6.5 8.73858 8.73858 6.5 11.5 6.5C14.2614 6.5 16.5 8.73858 16.5 11.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"search\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nSearchIcon.displayName = \"ForwardRef(SearchIcon)\";\nconst SelectIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M16 15L12.5 18.5L9 15M9 10L12.5 6.5L16 10\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"select\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nSelectIcon.displayName = \"ForwardRef(SelectIcon)\";\nconst ShareIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M15 10.5H18.5V19.5H6.5L6.5 10.5H10M12.5 16V3.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M9 7L12.5 3.5L16 7\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"share\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nShareIcon.displayName = \"ForwardRef(ShareIcon)\";\nconst SortIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M8.5 18.5V6M16.5 19V6.5M12 15L8.5 18.5L5 15M13 10L16.5 6.5L20 10\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"sort\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nSortIcon.displayName = \"ForwardRef(SortIcon)\";\nconst SparkleIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M10.5 10.5C8.5 12.5 5 12.5 5 12.5C5 12.5 8.5 12.5 10.5 14.5C12.5 16.5 12.5 20 12.5 20C12.5 20 12.5 16.5 14.5 14.5C16.5 12.5 20 12.5 20 12.5C20 12.5 16.5 12.5 14.5 10.5C12.5 8.5 12.5 5 12.5 5C12.5 5 12.5 8.5 10.5 10.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"sparkle\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nSparkleIcon.displayName = \"ForwardRef(SparkleIcon)\";\nconst SparklesIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M11 3.5V5M11 5V6.5M11 5H12.5M11 5H9.5M9.5 15C9.5 15 12.2308 14.7692 13.5 13.5C14.7692 12.2308 15 9.5 15 9.5C15 9.5 15.2308 12.2308 16.5 13.5C17.7692 14.7692 20.5 15 20.5 15C20.5 15 17.7692 15.2308 16.5 16.5C15.2308 17.7692 15 20.5 15 20.5C15 20.5 14.7692 17.7692 13.5 16.5C12.2308 15.2308 9.5 15 9.5 15ZM4.5 10C4.5 10 5.72308 9.87692 6.3 9.3C6.87692 8.72308 7 7.5 7 7.5C7 7.5 7.12308 8.72308 7.7 9.3C8.27692 9.87692 9.5 10 9.5 10C9.5 10 8.27692 10.1231 7.7 10.7C7.12308 11.2769 7 12.5 7 12.5C7 12.5 6.87692 11.2769 6.3 10.7C5.72308 10.1231 4.5 10 4.5 10Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinecap: \"round\", strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"sparkles\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nSparklesIcon.displayName = \"ForwardRef(SparklesIcon)\";\nconst SpinnerIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M4.5 12.5C4.5 16.9183 8.08172 20.5 12.5 20.5C16.9183 20.5 20.5 16.9183 20.5 12.5C20.5 8.08172 16.9183 4.5 12.5 4.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"spinner\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nSpinnerIcon.displayName = \"ForwardRef(SpinnerIcon)\";\nconst SplitHorizontalIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M19.5 10.5V20.5H5.5V10.5M19.5 10.5H5.5M19.5 10.5V4.5H5.5V10.5M12.5 13V15.5M12.5 18V15.5M12.5 15.5H15M12.5 15.5H10\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"split-horizontal\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nSplitHorizontalIcon.displayName = \"ForwardRef(SplitHorizontalIcon)\";\nconst SplitVerticalIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M10.5 5.5V19.5M13 12.5H15.5M18 12.5H15.5M15.5 12.5V15M15.5 12.5V10M4.5 5.5H20.5V19.5H4.5V5.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"split-vertical\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nSplitVerticalIcon.displayName = \"ForwardRef(SplitVerticalIcon)\";\nconst SquareIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"rect\", { x: 5.5, y: 5.5, width: 14, height: 14, stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"square\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nSquareIcon.displayName = \"ForwardRef(SquareIcon)\";\nconst StackCompactIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M5.5 15.5V18.5H19.5V15.5M5.5 15.5H19.5M5.5 15.5V9.5M19.5 15.5V9.5M5.5 9.5V6.5H19.5V9.5M5.5 9.5H19.5M5.5 12.5H19.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"stack-compact\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nStackCompactIcon.displayName = \"ForwardRef(StackCompactIcon)\";\nconst StackIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M5.5 12.5H19.5M5.5 18.5H19.5V6.5H5.5V18.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"stack\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nStackIcon.displayName = \"ForwardRef(StackIcon)\";\nconst StarFilledIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M12.5 5L14.522 10.217L20.1085 10.5279L15.7716 14.063L17.2023 19.4721L12.5 16.44L7.79772 19.4721L9.22837 14.063L4.89155 10.5279L10.478 10.217L12.5 5Z\", fill: \"currentColor\", stroke: \"currentColor\", strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"star-filled\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nStarFilledIcon.displayName = \"ForwardRef(StarFilledIcon)\";\nconst StarIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M12.5 5L14.522 10.217L20.1085 10.5279L15.7716 14.063L17.2023 19.4721L12.5 16.44L7.79772 19.4721L9.22837 14.063L4.89155 10.5279L10.478 10.217L12.5 5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"star\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nStarIcon.displayName = \"ForwardRef(StarIcon)\";\nconst StopIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"rect\", { x: 7.5, y: 7.5, width: 10, height: 10, fill: \"currentColor\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"stop\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nStopIcon.displayName = \"ForwardRef(StopIcon)\";\nconst StrikethroughIcon = forwardRef(function(props, ref) {\n  const $ = c(6);\n  let t0, t1, t2;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M12.5656 7.73438C11.0656 7.73438 10.0734 8.48438 10.0734 9.625C10.0734 10.2317 10.3649 10.6613 11.0519 11H8.90358C8.71703 10.6199 8.62813 10.1801 8.62813 9.67188C8.62813 7.75781 10.2297 6.46094 12.6125 6.46094C14.7922 6.46094 16.4172 7.75781 16.5344 9.57812H15.1203C14.925 8.42188 13.9719 7.73438 12.5656 7.73438Z\", fill: \"currentColor\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M12.4875 18.2656C10.0969 18.2656 8.44844 17 8.3 15.0547H9.72188C9.89375 16.2344 11.0188 16.9844 12.6203 16.9844C14.1359 16.9844 15.2531 16.1641 15.2531 15.0469C15.2531 14.6375 15.1255 14.292 14.8589 14H16.5912C16.6638 14.266 16.6984 14.5566 16.6984 14.875C16.6984 16.9453 15.0656 18.2656 12.4875 18.2656Z\", fill: \"currentColor\" }), t2 = /* @__PURE__ */ jsx(\"path\", { d: \"M7 13.1H18V11.9H7V13.1Z\", fill: \"currentColor\" }), $[0] = t0, $[1] = t1, $[2] = t2) : (t0 = $[0], t1 = $[1], t2 = $[2]);\n  let t3;\n  return $[3] !== props || $[4] !== ref ? (t3 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"strikethrough\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1,\n    t2\n  ] }), $[3] = props, $[4] = ref, $[5] = t3) : t3 = $[5], t3;\n});\nStrikethroughIcon.displayName = \"ForwardRef(StrikethroughIcon)\";\nconst StringIcon = forwardRef(function(props, ref) {\n  const $ = c(6);\n  let t0, t1, t2;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M11.6748 15.5227H13.1855L9.87842 6.36304H8.34863L5.0415 15.5227H6.50146L7.3457 13.0916H10.8369L11.6748 15.5227ZM9.04053 8.02612H9.14844L10.4751 11.8982H7.70752L9.04053 8.02612Z\", fill: \"currentColor\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M16.8101 14.488C16.0674 14.488 15.5278 14.1262 15.5278 13.5042C15.5278 12.8948 15.9595 12.571 16.9116 12.5076L18.6001 12.3997V12.9773C18.6001 13.8342 17.8384 14.488 16.8101 14.488ZM16.4609 15.637C17.3687 15.637 18.124 15.2434 18.5366 14.5515H18.6445V15.5227H19.9585V10.8C19.9585 9.34009 18.981 8.47681 17.248 8.47681C15.6802 8.47681 14.563 9.23853 14.4233 10.4255H15.7437C15.896 9.93677 16.4229 9.65747 17.1846 9.65747C18.1177 9.65747 18.6001 10.0701 18.6001 10.8V11.3967L16.7275 11.5046C15.0835 11.6062 14.1567 12.3235 14.1567 13.5676C14.1567 14.8308 15.1279 15.637 16.4609 15.637Z\", fill: \"currentColor\" }), t2 = /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M19.9585 18.637L5.0415 18.637V17.437L19.9585 17.437V18.637Z\", fill: \"currentColor\" }), $[0] = t0, $[1] = t1, $[2] = t2) : (t0 = $[0], t1 = $[1], t2 = $[2]);\n  let t3;\n  return $[3] !== props || $[4] !== ref ? (t3 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"string\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1,\n    t2\n  ] }), $[3] = props, $[4] = ref, $[5] = t3) : t3 = $[5], t3;\n});\nStringIcon.displayName = \"ForwardRef(StringIcon)\";\nconst SunIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M19 12.5H22M3 12.5H6M12.5 6V3M12.5 22V19M17.3891 7.61091L19.5104 5.48959M5.48959 19.5104L7.61091 17.3891M7.61091 7.61091L5.48959 5.48959M19.5104 19.5104L17.3891 17.3891M16 12.5C16 14.433 14.433 16 12.5 16C10.567 16 9 14.433 9 12.5C9 10.567 10.567 9 12.5 9C14.433 9 16 10.567 16 12.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"sun\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nSunIcon.displayName = \"ForwardRef(SunIcon)\";\nconst SyncIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M13.5 4.5H12.5C8.08172 4.5 4.5 8.08172 4.5 12.5C4.5 15.6631 6.33576 18.3975 9 19.6958M11.5 20.5H12.5C16.9183 20.5 20.5 16.9183 20.5 12.5C20.5 9.33688 18.6642 6.60253 16 5.30423\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M14 17.5619L11.5 20.5L14.5 23.0619M11 7.43811L13.5 4.50001L10.5 1.93811\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"sync\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nSyncIcon.displayName = \"ForwardRef(SyncIcon)\";\nconst TabletDeviceIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M5.5 5.5C5.5 4.94772 5.94772 4.5 6.5 4.5H18.5C19.0523 4.5 19.5 4.94772 19.5 5.5V19.5C19.5 20.0523 19.0523 20.5 18.5 20.5H6.5C5.94772 20.5 5.5 20.0523 5.5 19.5V5.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M13 18C13 18.2761 12.7761 18.5 12.5 18.5C12.2239 18.5 12 18.2761 12 18C12 17.7239 12.2239 17.5 12.5 17.5C12.7761 17.5 13 17.7239 13 18Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"tablet-device\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nTabletDeviceIcon.displayName = \"ForwardRef(TabletDeviceIcon)\";\nconst TagIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M12.5 20L5 20L5 12.5L12.5 5L20 12.5L12.5 20Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M11 15.5C11 16.3284 10.3284 17 9.5 17C8.67157 17 8 16.3284 8 15.5C8 14.6716 8.67157 14 9.5 14C10.3284 14 11 14.6716 11 15.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"tag\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nTagIcon.displayName = \"ForwardRef(TagIcon)\";\nconst TagsIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M12.1562 7.93179L13.9717 6.11633L20.3553 12.5L13.9717 18.8836L10.6855 18.8836M11.0283 18.8836L17.4119 12.5L11.0283 6.11633L4.64462 12.5L4.64462 18.8836L11.0283 18.8836ZM9.75153 15.0534C9.75153 15.7585 9.17992 16.3302 8.47481 16.3302C7.76969 16.3302 7.19808 15.7585 7.19808 15.0534C7.19808 14.3483 7.76969 13.7767 8.47481 13.7767C9.17992 13.7767 9.75153 14.3483 9.75153 15.0534Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"tags\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nTagsIcon.displayName = \"ForwardRef(TagsIcon)\";\nconst TaskIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M4.88281 10.75V19.75H20.8828V10.75M4.88281 10.75V5.75H20.8828V10.75M4.88281 10.75H12.8828H20.8828M17.8828 8.25V3.25M7.88281 8.25V3.25\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M10.083 14.7358L12.083 16.7358L15.683 13.1758\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"task\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nTaskIcon.displayName = \"ForwardRef(TaskIcon)\";\nconst TerminalIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M8.5 9.5L11.5 12.5L8.5 15.5M13 15.5H17M5.5 6.5H19.5V18.5H5.5V6.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"terminal\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nTerminalIcon.displayName = \"ForwardRef(TerminalIcon)\";\nconst TextIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M7.5 9V6.5H17.5V9M12.5 18.5V6.5M10 18.5H15\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"text\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nTextIcon.displayName = \"ForwardRef(TextIcon)\";\nconst ThLargeIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M12.5 6.5V12.5M12.5 12.5V18.5M12.5 12.5H20.5M12.5 12.5H4.5M4.5 6.5H20.5V18.5H4.5V6.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"th-large\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nThLargeIcon.displayName = \"ForwardRef(ThLargeIcon)\";\nconst ThListIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M9.5 6.5V10.5M9.5 10.5V14.5M9.5 10.5H20.5M9.5 10.5H4.5M9.5 14.5V18.5M9.5 14.5H20.5M9.5 14.5H4.5M4.5 6.5H20.5V18.5H4.5V6.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"th-list\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nThListIcon.displayName = \"ForwardRef(ThListIcon)\";\nconst TiersIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M16.5 14.5L20.5 16.5L12.5 20.5L4.5 16.5L8.5 14.5M16.5 10.5L20.5 12.5L12.5 16.5L4.5 12.5L8.5 10.5M12.5 12.5L20.5 8.5L12.5 4.5L4.5 8.5L12.5 12.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"tiers\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nTiersIcon.displayName = \"ForwardRef(TiersIcon)\";\nconst TimelineIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M12.5 5V20\", stroke: \"currentColor\", strokeWidth: 1.2 }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M5 8.5H11M7 12.5H11M9 16.5H11M13 16.5H20M13 12.5H18M13 8.5H16\", stroke: \"currentColor\", strokeWidth: 1.2 }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"timeline\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nTimelineIcon.displayName = \"ForwardRef(TimelineIcon)\";\nconst ToggleArrowRightIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M10.5 16V9L16 12.5L10.5 16Z\", fill: \"currentColor\", stroke: \"currentColor\", strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"toggle-arrow-right\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nToggleArrowRightIcon.displayName = \"ForwardRef(ToggleArrowRightIcon)\";\nconst TokenIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M17.5711 12.5C17.5711 15.2614 15.3325 17.5 12.5711 17.5M7.57107 12.5C7.57107 9.73858 9.80964 7.5 12.5711 7.5M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"token\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nTokenIcon.displayName = \"ForwardRef(TokenIcon)\";\nconst TransferIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M19.5 16.5H6M5.5 8.5L19 8.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M16 13L19.5 16.5L16 20M9 12L5.5 8.5L9 5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"transfer\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nTransferIcon.displayName = \"ForwardRef(TransferIcon)\";\nconst TranslateIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M9.4 5.4H4V6.6H13.2189C13.1612 6.78478 13.0895 6.99578 13.0025 7.22211C12.7032 8.00031 12.2402 8.91125 11.5757 9.57574L10 11.1515L9.42426 10.5757C8.72102 9.8725 8.25297 9.16987 7.96199 8.64611C7.81668 8.38455 7.71617 8.16874 7.65305 8.02146C7.62151 7.94787 7.59937 7.89154 7.5857 7.85534C7.57886 7.83725 7.57415 7.8242 7.57144 7.81657L7.56886 7.80922C7.56886 7.80922 7.56921 7.81026 7 8C6.43079 8.18974 6.43091 8.19009 6.43091 8.19009L6.43133 8.19135L6.43206 8.19351L6.4341 8.19948L6.44052 8.21786C6.44587 8.23292 6.45336 8.25357 6.46313 8.27942C6.48266 8.33112 6.5113 8.40369 6.55008 8.49416C6.62758 8.67501 6.74582 8.92795 6.91301 9.22889C7.24703 9.83013 7.77898 10.6275 8.57574 11.4243L9.15147 12L4.57964 16.5718L4.57655 16.5749L4.57577 16.5757L5.4243 17.4242L5.42688 17.4216L10.0368 12.8117L12.6159 14.9609L13.3841 14.0391L10.8888 11.9597L12.4243 10.4243C13.2598 9.58875 13.7968 8.49969 14.1225 7.65289C14.2818 7.23863 14.395 6.87072 14.4696 6.6H16V5.4H10.6V4H9.4V5.4ZM17.4405 10L21.553 19.7672H20.2509L19.1279 17.1H14.8721L13.7491 19.7672H12.447L16.5595 10H17.4405ZM15.3773 15.9H18.6227L17 12.0462L15.3773 15.9Z\", fill: \"currentColor\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"translate\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nTranslateIcon.displayName = \"ForwardRef(TranslateIcon)\";\nconst TrashIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M5 6.5H20M10 6.5V4.5C10 3.94772 10.4477 3.5 11 3.5H14C14.5523 3.5 15 3.94772 15 4.5V6.5M12.5 9V17M15.5 9L15 17M9.5 9L10 17M18.5 6.5L17.571 18.5767C17.5309 19.0977 17.0965 19.5 16.574 19.5H8.42603C7.90349 19.5 7.46905 19.0977 7.42898 18.5767L6.5 6.5H18.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"trash\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nTrashIcon.displayName = \"ForwardRef(TrashIcon)\";\nconst TrendUpwardIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M4.5 18.5L11.5 10.5L13.5 14.5L20.5 6.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M20.5 11V6.5H16\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"trend-upward\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nTrendUpwardIcon.displayName = \"ForwardRef(TrendUpwardIcon)\";\nconst TriangleOutlineIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M20.5 18.5H4.5L12.5 5.5L20.5 18.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"triangle-outline\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nTriangleOutlineIcon.displayName = \"ForwardRef(TriangleOutlineIcon)\";\nconst TrolleyIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M8 17.5L5.81763 6.26772C5.71013 5.81757 5.30779 5.5 4.84498 5.5H3M8 17.5H17M8 17.5C8.82843 17.5 9.5 18.1716 9.5 19C9.5 19.8284 8.82843 20.5 8 20.5C7.17157 20.5 6.5 19.8284 6.5 19C6.5 18.1716 7.17157 17.5 8 17.5ZM17 17.5C17.8284 17.5 18.5 18.1716 18.5 19C18.5 19.8284 17.8284 20.5 17 20.5C16.1716 20.5 15.5 19.8284 15.5 19C15.5 18.1716 16.1716 17.5 17 17.5ZM7.78357 14.5H17.5L19 7.5H6\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"trolley\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nTrolleyIcon.displayName = \"ForwardRef(TrolleyIcon)\";\nconst TruncateIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M5 12.5H20M8.5 19.5L12.5 15.5L16.5 19.5M16.5 5.5L12.5 9.5L8.5 5.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"truncate\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nTruncateIcon.displayName = \"ForwardRef(TruncateIcon)\";\nconst TwitterIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M18.8738 6.65751C18.1994 5.9447 17.2445 5.5 16.1857 5.5C14.1423 5.5 12.4857 7.15655 12.4857 9.2C12.4857 9.55263 12.535 9.89374 12.6272 10.2168C7.0826 9.56422 4.55703 6.02857 4.55703 6.02857C4.55703 6.02857 4.02846 9.2 6.14274 11.3143C5.08571 11.3143 4.55703 10.7857 4.55703 10.7857C4.55703 10.7857 4.55703 13.4286 7.19989 14.4857C6.67143 15.0143 5.61417 14.4857 5.61417 14.4857C5.97533 15.9303 7.45606 16.8562 8.82133 17.1358C6.67298 19.1676 3.5 18.7143 3.5 18.7143C5.14562 19.771 7.21334 20.3 9.31429 20.3C16.1214 20.3 19.8162 15.6315 19.8848 9.37762C20.8722 8.58943 22 7.08571 22 7.08571C22 7.08571 21.277 7.45458 19.6913 7.98315C21.277 6.92601 21.4714 5.5 21.4714 5.5C21.4714 5.5 20.4135 6.55789 18.8738 6.65751Z\", fill: \"currentColor\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"twitter\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nTwitterIcon.displayName = \"ForwardRef(TwitterIcon)\";\nconst UlistIcon = forwardRef(function(props, ref) {\n  const $ = c(7);\n  let t0, t1, t2, t3;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M7.10153 17.5001C7.10153 17.8323 6.83221 18.1016 6.5 18.1016C6.16778 18.1016 5.89847 17.8323 5.89847 17.5001C5.89847 17.1678 6.16778 16.8985 6.5 16.8985C6.83221 16.8985 7.10153 17.1678 7.10153 17.5001Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M7.10153 7.5C7.10153 7.83221 6.83221 8.10153 6.5 8.10153C6.16778 8.10153 5.89847 7.83221 5.89847 7.5C5.89847 7.16778 6.16778 6.89847 6.5 6.89847C6.83221 6.89847 7.10153 7.16778 7.10153 7.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t2 = /* @__PURE__ */ jsx(\"path\", { d: \"M7.10153 12.5C7.10153 12.8322 6.83221 13.1015 6.5 13.1015C6.16778 13.1015 5.89847 12.8322 5.89847 12.5C5.89847 12.1678 6.16778 11.8985 6.5 11.8985C6.83221 11.8985 7.10153 12.1678 7.10153 12.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t3 = /* @__PURE__ */ jsx(\"path\", { d: \"M10 7.5H19M10 17.5H19M10 12.5H19\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1, $[2] = t2, $[3] = t3) : (t0 = $[0], t1 = $[1], t2 = $[2], t3 = $[3]);\n  let t4;\n  return $[4] !== props || $[5] !== ref ? (t4 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"ulist\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1,\n    t2,\n    t3\n  ] }), $[4] = props, $[5] = ref, $[6] = t4) : t4 = $[6], t4;\n});\nUlistIcon.displayName = \"ForwardRef(UlistIcon)\";\nconst UnarchiveIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M12.5 10.5V18M20.5 7.5V20.5H4.5V7.5L7.5 4.5H17.5L20.5 7.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M4.5 7.5H20.5M16 14L12.5 10.5L9 14\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"unarchive\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nUnarchiveIcon.displayName = \"ForwardRef(UnarchiveIcon)\";\nconst UnderlineIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M9.52791 7.11407H8.17V14.2582C8.17 16.5817 9.79195 18.2565 12.4927 18.2565C15.1934 18.2565 16.8154 16.5817 16.8154 14.2582V7.11407H15.4574V14.1677C15.4574 15.8122 14.3787 17.0042 12.4927 17.0042C10.6067 17.0042 9.52791 15.8122 9.52791 14.1677V7.11407Z\", fill: \"currentColor\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M7 20.5H18\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"underline\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nUnderlineIcon.displayName = \"ForwardRef(UnderlineIcon)\";\nconst UndoIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M6 9.5L15 9.5C17.4853 9.5 19.5 11.5147 19.5 14C19.5 16.4853 17.4853 18.5 15 18.5H6\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M10 13.5L6 9.5L10 5.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"undo\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nUndoIcon.displayName = \"ForwardRef(UndoIcon)\";\nconst UnknownIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M12.5 13C12.5 11 14 11.5 14 10C14 9.34375 13.5 8.5 12.5 8.5C11.5 8.5 11 9 10.5 9.5M12.5 16V14.5M5.5 5.5H19.5V19.5H5.5V5.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"unknown\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nUnknownIcon.displayName = \"ForwardRef(UnknownIcon)\";\nconst UnlinkIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M15 13.5L17.5 11C18.281 10.219 18.281 8.78105 17.5 8L17 7.5C16.2189 6.71895 14.781 6.71895 14 7.5L11.5 10M10 11.5L7.5 14C6.71896 14.781 6.71895 16.219 7.5 17L8 17.5C8.78105 18.281 10.2189 18.281 11 17.5L13.5 15M9.5 8V5M8 9.5H5M17 15.5H20M15.5 17V20\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"unlink\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nUnlinkIcon.displayName = \"ForwardRef(UnlinkIcon)\";\nconst UnlockIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M9.5 11.5V8.5C9.5 6.5 8 5.5 6.5 5.5C5 5.5 3.5 6.5 3.5 8.5V11.5M7.5 11.5H17.5V19.5H7.5V11.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"unlock\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nUnlockIcon.displayName = \"ForwardRef(UnlockIcon)\";\nconst UnpublishIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M5 19.5H20M12.5 16V5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M17.5 11L12.5 16L7.5 11\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"unpublish\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nUnpublishIcon.displayName = \"ForwardRef(UnpublishIcon)\";\nconst UploadIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M12.5 6.00003V15.5M5.5 15.5H19.5V19.5H5.5V15.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M7.5 11L12.5 6.00003L17.5 11\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"upload\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nUploadIcon.displayName = \"ForwardRef(UploadIcon)\";\nconst UserIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M8 14.5C7 15 5.5 16 5.5 19.5H19.5C19.5 16 18.3416 15.1708 17 14.5C16 14 14 14 14 12.5C14 11 15 10.25 15 8.25C15 6.25 14 5.25 12.5 5.25C11 5.25 10 6.25 10 8.25C10 10.25 11 11 11 12.5C11 14 9 14 8 14.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"user\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nUserIcon.displayName = \"ForwardRef(UserIcon)\";\nconst UsersIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M17.5 18.5H21.5C21.5 15 20.8416 14.1708 19.5 13.5C18.5 13 16.5 12.5 16.5 11C16.5 9.5 17.5 9 17.5 7C17.5 5 16.5 4 15 4C13.6628 4 12.723 4.79472 12.5347 6.38415M4.5 20.5C4.5 17 5.5 16 6.5 15.5C7.5 15 9.5 14.5 9.5 13C9.5 11.5 8.5 11 8.5 9C8.5 7 9.5 6 11 6C12.5 6 13.5 7 13.5 9C13.5 11 12.5 11.5 12.5 13C12.5 14.5 14.5 15 15.5 15.5C16.8416 16.1708 17.5 17 17.5 20.5H4.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"users\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nUsersIcon.displayName = \"ForwardRef(UsersIcon)\";\nconst WarningFilledIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M14.741 5.12637C13.7357 3.41737 11.2643 3.41737 10.259 5.12637L3.7558 16.1818C2.73624 17.915 3.98595 20.1 5.99683 20.1H19.0032C21.014 20.1 22.2637 17.915 21.2442 16.1818L14.741 5.12637ZM11.9 9V13H13.1V9H11.9ZM13.1 16V14.5H11.9V16H13.1Z\", fill: \"currentColor\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"warning-filled\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nWarningFilledIcon.displayName = \"ForwardRef(WarningFilledIcon)\";\nconst WarningOutlineIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M12.5 9V13M12.5 16V14.5M14.2239 5.43058L20.727 16.486C21.5113 17.8192 20.55 19.5 19.0032 19.5H5.99683C4.45 19.5 3.48869 17.8192 4.27297 16.486L10.7761 5.43058C11.5494 4.11596 13.4506 4.11596 14.2239 5.43058Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"warning-outline\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nWarningOutlineIcon.displayName = \"ForwardRef(WarningOutlineIcon)\";\nconst WrenchIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M17.0407 5.14624L17.4649 5.57051C17.6166 5.41887 17.6758 5.19783 17.6202 4.99071C17.5646 4.78359 17.4027 4.62189 17.1955 4.56656L17.0407 5.14624ZM14.4013 7.7856L13.9771 7.36134C13.8288 7.50959 13.7687 7.72447 13.8185 7.92813L14.4013 7.7856ZM12.8778 6.26211L12.4535 5.83784L12.8778 6.26211ZM11.8309 10.6568L12.2552 11.0811C12.4152 10.9211 12.4716 10.6847 12.401 10.4697L11.8309 10.6568ZM5.63925 16.8485L5.21498 16.4242H5.21498L5.63925 16.8485ZM5.63925 19.935L6.06351 19.5108H6.06351L5.63925 19.935ZM8.72581 19.935L9.15007 20.3593L8.72581 19.935ZM15.1184 13.5425L15.2301 12.953C15.0351 12.916 14.8344 12.9779 14.6941 13.1182L15.1184 13.5425ZM18.9718 12.3561L18.5475 11.9318L18.9718 12.3561ZM20.0877 8.19324L20.6674 8.03843C20.612 7.83124 20.4503 7.66934 20.2432 7.61375C20.0361 7.55816 19.815 7.61734 19.6634 7.76898L20.0877 8.19324ZM17.4483 10.8326L17.3058 11.4154C17.5094 11.4652 17.7243 11.4051 17.8726 11.2569L17.4483 10.8326ZM15 10.2339L14.4172 10.3764C14.4704 10.5938 14.6401 10.7635 14.8575 10.8167L15 10.2339ZM16.6164 4.72198L13.9771 7.36134L14.8256 8.20986L17.4649 5.57051L16.6164 4.72198ZM13.3021 6.68637C14.2723 5.71612 15.6467 5.39501 16.8859 5.72593L17.1955 4.56656C15.5595 4.12966 13.7389 4.55245 12.4535 5.83784L13.3021 6.68637ZM12.401 10.4697C11.9779 9.18109 12.2794 7.70907 13.3021 6.68637L12.4535 5.83784C11.0986 7.19284 10.7021 9.14217 11.2608 10.844L12.401 10.4697ZM11.4066 10.2326L5.21498 16.4242L6.06351 17.2727L12.2552 11.0811L11.4066 10.2326ZM5.21498 16.4242C4.12834 17.5109 4.12834 19.2727 5.21498 20.3593L6.06351 19.5108C5.4455 18.8928 5.4455 17.8908 6.06351 17.2727L5.21498 16.4242ZM5.21498 20.3593C6.30163 21.446 8.06343 21.446 9.15007 20.3593L8.30155 19.5108C7.68353 20.1288 6.68153 20.1288 6.06351 19.5108L5.21498 20.3593ZM9.15007 20.3593L15.5426 13.9668L14.6941 13.1182L8.30155 19.5108L9.15007 20.3593ZM18.5475 11.9318C17.6463 12.8331 16.3968 13.1742 15.2301 12.953L15.0066 14.132C16.5466 14.4239 18.2023 13.9741 19.3961 12.7804L18.5475 11.9318ZM19.508 8.34804C19.8389 9.58721 19.5178 10.9616 18.5475 11.9318L19.3961 12.7804C20.6815 11.495 21.1043 9.67445 20.6674 8.03843L19.508 8.34804ZM17.8726 11.2569L20.5119 8.6175L19.6634 7.76898L17.024 10.4083L17.8726 11.2569ZM14.8575 10.8167L17.3058 11.4154L17.5908 10.2498L15.1426 9.65106L14.8575 10.8167ZM13.8185 7.92813L14.4172 10.3764L15.5829 10.0914L14.9841 7.64307L13.8185 7.92813Z\", fill: \"currentColor\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"wrench\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nWrenchIcon.displayName = \"ForwardRef(WrenchIcon)\";\nconst icons = {\n  \"access-denied\": AccessDeniedIcon,\n  activity: ActivityIcon,\n  \"add-circle\": AddCircleIcon,\n  \"add-comment\": AddCommentIcon,\n  \"add-document\": AddDocumentIcon,\n  add: AddIcon,\n  \"add-user\": AddUserIcon,\n  api: ApiIcon,\n  archive: ArchiveIcon,\n  \"arrow-down\": ArrowDownIcon,\n  \"arrow-left\": ArrowLeftIcon,\n  \"arrow-right\": ArrowRightIcon,\n  \"arrow-top-right\": ArrowTopRightIcon,\n  \"arrow-up\": ArrowUpIcon,\n  asterisk: AsteriskIcon,\n  \"bar-chart\": BarChartIcon,\n  basket: BasketIcon,\n  bell: BellIcon,\n  bill: BillIcon,\n  \"binary-document\": BinaryDocumentIcon,\n  \"block-content\": BlockContentIcon,\n  \"block-element\": BlockElementIcon,\n  blockquote: BlockquoteIcon,\n  bold: BoldIcon,\n  bolt: BoltIcon,\n  book: BookIcon,\n  bottle: BottleIcon,\n  bug: BugIcon,\n  \"bulb-filled\": BulbFilledIcon,\n  \"bulb-outline\": BulbOutlineIcon,\n  calendar: CalendarIcon,\n  case: CaseIcon,\n  \"chart-upward\": ChartUpwardIcon,\n  \"checkmark-circle\": CheckmarkCircleIcon,\n  checkmark: CheckmarkIcon,\n  \"chevron-down\": ChevronDownIcon,\n  \"chevron-left\": ChevronLeftIcon,\n  \"chevron-right\": ChevronRightIcon,\n  \"chevron-up\": ChevronUpIcon,\n  circle: CircleIcon,\n  clipboard: ClipboardIcon,\n  \"clipboard-image\": ClipboardImageIcon,\n  clock: ClockIcon,\n  \"close-circle\": CloseCircleIcon,\n  close: CloseIcon,\n  \"code-block\": CodeBlockIcon,\n  code: CodeIcon,\n  cog: CogIcon,\n  collapse: CollapseIcon,\n  \"color-wheel\": ColorWheelIcon,\n  comment: CommentIcon,\n  component: ComponentIcon,\n  compose: ComposeIcon,\n  confetti: ConfettiIcon,\n  controls: ControlsIcon,\n  copy: CopyIcon,\n  \"credit-card\": CreditCardIcon,\n  crop: CropIcon,\n  cube: CubeIcon,\n  dashboard: DashboardIcon,\n  database: DatabaseIcon,\n  desktop: DesktopIcon,\n  diamond: DiamondIcon,\n  document: DocumentIcon,\n  \"document-pdf\": DocumentPdfIcon,\n  \"document-remove\": DocumentRemoveIcon,\n  \"document-sheet\": DocumentSheetIcon,\n  \"document-text\": DocumentTextIcon,\n  \"document-video\": DocumentVideoIcon,\n  \"document-word\": DocumentWordIcon,\n  \"document-zip\": DocumentZipIcon,\n  documents: DocumentsIcon,\n  dot: DotIcon,\n  \"double-chevron-down\": DoubleChevronDownIcon,\n  \"double-chevron-left\": DoubleChevronLeftIcon,\n  \"double-chevron-right\": DoubleChevronRightIcon,\n  \"double-chevron-up\": DoubleChevronUpIcon,\n  download: DownloadIcon,\n  \"drag-handle\": DragHandleIcon,\n  drop: DropIcon,\n  \"earth-americas\": EarthAmericasIcon,\n  \"earth-globe\": EarthGlobeIcon,\n  edit: EditIcon,\n  \"ellipsis-horizontal\": EllipsisHorizontalIcon,\n  \"ellipsis-vertical\": EllipsisVerticalIcon,\n  empty: EmptyIcon,\n  enter: EnterIcon,\n  \"enter-right\": EnterRightIcon,\n  envelope: EnvelopeIcon,\n  equal: EqualIcon,\n  \"error-filled\": ErrorFilledIcon,\n  \"error-outline\": ErrorOutlineIcon,\n  expand: ExpandIcon,\n  \"eye-closed\": EyeClosedIcon,\n  \"eye-open\": EyeOpenIcon,\n  filter: FilterIcon,\n  folder: FolderIcon,\n  generate: GenerateIcon,\n  groq: GroqIcon,\n  hash: HashIcon,\n  \"heart-filled\": HeartFilledIcon,\n  heart: HeartIcon,\n  \"help-circle\": HelpCircleIcon,\n  highlight: HighlightIcon,\n  home: HomeIcon,\n  \"ice-cream\": IceCreamIcon,\n  image: ImageIcon,\n  \"image-remove\": ImageRemoveIcon,\n  images: ImagesIcon,\n  \"info-filled\": InfoFilledIcon,\n  \"info-outline\": InfoOutlineIcon,\n  \"inline-element\": InlineElementIcon,\n  inline: InlineIcon,\n  \"insert-above\": InsertAboveIcon,\n  \"insert-below\": InsertBelowIcon,\n  italic: ItalicIcon,\n  joystick: JoystickIcon,\n  json: JsonIcon,\n  launch: LaunchIcon,\n  leave: LeaveIcon,\n  lemon: LemonIcon,\n  link: LinkIcon,\n  \"link-removed\": LinkRemovedIcon,\n  list: ListIcon,\n  lock: LockIcon,\n  \"logo-js\": LogoJsIcon,\n  \"logo-ts\": LogoTsIcon,\n  marker: MarkerIcon,\n  \"marker-removed\": MarkerRemovedIcon,\n  \"master-detail\": MasterDetailIcon,\n  menu: MenuIcon,\n  \"mobile-device\": MobileDeviceIcon,\n  moon: MoonIcon,\n  number: NumberIcon,\n  \"ok-hand\": OkHandIcon,\n  olist: OlistIcon,\n  overage: OverageIcon,\n  package: PackageIcon,\n  \"panel-left\": PanelLeftIcon,\n  \"panel-right\": PanelRightIcon,\n  pause: PauseIcon,\n  \"pin-filled\": PinFilledIcon,\n  pin: PinIcon,\n  \"pin-removed\": PinRemovedIcon,\n  play: PlayIcon,\n  plug: PlugIcon,\n  presentation: PresentationIcon,\n  \"progress-50\": Progress50Icon,\n  \"progress-75\": Progress75Icon,\n  projects: ProjectsIcon,\n  publish: PublishIcon,\n  \"read-only\": ReadOnlyIcon,\n  redo: RedoIcon,\n  refresh: RefreshIcon,\n  \"remove-circle\": RemoveCircleIcon,\n  remove: RemoveIcon,\n  reset: ResetIcon,\n  restore: RestoreIcon,\n  retrieve: RetrieveIcon,\n  retry: RetryIcon,\n  revert: RevertIcon,\n  robot: RobotIcon,\n  rocket: RocketIcon,\n  schema: SchemaIcon,\n  search: SearchIcon,\n  select: SelectIcon,\n  share: ShareIcon,\n  sort: SortIcon,\n  sparkle: SparkleIcon,\n  sparkles: SparklesIcon,\n  spinner: SpinnerIcon,\n  \"split-horizontal\": SplitHorizontalIcon,\n  \"split-vertical\": SplitVerticalIcon,\n  square: SquareIcon,\n  \"stack-compact\": StackCompactIcon,\n  stack: StackIcon,\n  \"star-filled\": StarFilledIcon,\n  star: StarIcon,\n  stop: StopIcon,\n  strikethrough: StrikethroughIcon,\n  string: StringIcon,\n  sun: SunIcon,\n  sync: SyncIcon,\n  \"tablet-device\": TabletDeviceIcon,\n  tag: TagIcon,\n  tags: TagsIcon,\n  task: TaskIcon,\n  terminal: TerminalIcon,\n  text: TextIcon,\n  \"th-large\": ThLargeIcon,\n  \"th-list\": ThListIcon,\n  tiers: TiersIcon,\n  timeline: TimelineIcon,\n  \"toggle-arrow-right\": ToggleArrowRightIcon,\n  token: TokenIcon,\n  transfer: TransferIcon,\n  translate: TranslateIcon,\n  trash: TrashIcon,\n  \"trend-upward\": TrendUpwardIcon,\n  \"triangle-outline\": TriangleOutlineIcon,\n  trolley: TrolleyIcon,\n  truncate: TruncateIcon,\n  twitter: TwitterIcon,\n  ulist: UlistIcon,\n  unarchive: UnarchiveIcon,\n  underline: UnderlineIcon,\n  undo: UndoIcon,\n  unknown: UnknownIcon,\n  unlink: UnlinkIcon,\n  unlock: UnlockIcon,\n  unpublish: UnpublishIcon,\n  upload: UploadIcon,\n  user: UserIcon,\n  users: UsersIcon,\n  \"warning-filled\": WarningFilledIcon,\n  \"warning-outline\": WarningOutlineIcon,\n  wrench: WrenchIcon\n}, Icon = forwardRef(function(props, ref) {\n  const $ = c(7);\n  let restProps, symbol;\n  $[0] !== props ? ({\n    symbol,\n    ...restProps\n  } = props, $[0] = props, $[1] = restProps, $[2] = symbol) : (restProps = $[1], symbol = $[2]);\n  const IconComponent = icons[symbol];\n  if (!IconComponent)\n    return null;\n  let t0;\n  return $[3] !== IconComponent || $[4] !== ref || $[5] !== restProps ? (t0 = /* @__PURE__ */ jsx(IconComponent, { ...restProps, ref }), $[3] = IconComponent, $[4] = ref, $[5] = restProps, $[6] = t0) : t0 = $[6], t0;\n});\nIcon.displayName = \"ForwardRef(Icon)\";\nexport {\n  AccessDeniedIcon,\n  ActivityIcon,\n  AddCircleIcon,\n  AddCommentIcon,\n  AddDocumentIcon,\n  AddIcon,\n  AddUserIcon,\n  ApiIcon,\n  ArchiveIcon,\n  ArrowDownIcon,\n  ArrowLeftIcon,\n  ArrowRightIcon,\n  ArrowTopRightIcon,\n  ArrowUpIcon,\n  AsteriskIcon,\n  BarChartIcon,\n  BasketIcon,\n  BellIcon,\n  BillIcon,\n  BinaryDocumentIcon,\n  BlockContentIcon,\n  BlockElementIcon,\n  BlockquoteIcon,\n  BoldIcon,\n  BoltIcon,\n  BookIcon,\n  BottleIcon,\n  BugIcon,\n  BulbFilledIcon,\n  BulbOutlineIcon,\n  CalendarIcon,\n  CaseIcon,\n  ChartUpwardIcon,\n  CheckmarkCircleIcon,\n  CheckmarkIcon,\n  ChevronDownIcon,\n  ChevronLeftIcon,\n  ChevronRightIcon,\n  ChevronUpIcon,\n  CircleIcon,\n  ClipboardIcon,\n  ClipboardImageIcon,\n  ClockIcon,\n  CloseCircleIcon,\n  CloseIcon,\n  CodeBlockIcon,\n  CodeIcon,\n  CogIcon,\n  CollapseIcon,\n  ColorWheelIcon,\n  CommentIcon,\n  ComponentIcon,\n  ComposeIcon,\n  ConfettiIcon,\n  ControlsIcon,\n  CopyIcon,\n  CreditCardIcon,\n  CropIcon,\n  CubeIcon,\n  DashboardIcon,\n  DatabaseIcon,\n  DesktopIcon,\n  DiamondIcon,\n  DocumentIcon,\n  DocumentPdfIcon,\n  DocumentRemoveIcon,\n  DocumentSheetIcon,\n  DocumentTextIcon,\n  DocumentVideoIcon,\n  DocumentWordIcon,\n  DocumentZipIcon,\n  DocumentsIcon,\n  DotIcon,\n  DoubleChevronDownIcon,\n  DoubleChevronLeftIcon,\n  DoubleChevronRightIcon,\n  DoubleChevronUpIcon,\n  DownloadIcon,\n  DragHandleIcon,\n  DropIcon,\n  EarthAmericasIcon,\n  EarthGlobeIcon,\n  EditIcon,\n  EllipsisHorizontalIcon,\n  EllipsisVerticalIcon,\n  EmptyIcon,\n  EnterIcon,\n  EnterRightIcon,\n  EnvelopeIcon,\n  EqualIcon,\n  ErrorFilledIcon,\n  ErrorOutlineIcon,\n  ExpandIcon,\n  EyeClosedIcon,\n  EyeOpenIcon,\n  FilterIcon,\n  FolderIcon,\n  GenerateIcon,\n  GroqIcon,\n  HashIcon,\n  HeartFilledIcon,\n  HeartIcon,\n  HelpCircleIcon,\n  HighlightIcon,\n  HomeIcon,\n  IceCreamIcon,\n  Icon,\n  ImageIcon,\n  ImageRemoveIcon,\n  ImagesIcon,\n  InfoFilledIcon,\n  InfoOutlineIcon,\n  InlineElementIcon,\n  InlineIcon,\n  InsertAboveIcon,\n  InsertBelowIcon,\n  ItalicIcon,\n  JoystickIcon,\n  JsonIcon,\n  LaunchIcon,\n  LeaveIcon,\n  LemonIcon,\n  LinkIcon,\n  LinkRemovedIcon,\n  ListIcon,\n  LockIcon,\n  LogoJsIcon,\n  LogoTsIcon,\n  MarkerIcon,\n  MarkerRemovedIcon,\n  MasterDetailIcon,\n  MenuIcon,\n  MobileDeviceIcon,\n  MoonIcon,\n  NumberIcon,\n  OkHandIcon,\n  OlistIcon,\n  OverageIcon,\n  PackageIcon,\n  PanelLeftIcon,\n  PanelRightIcon,\n  PauseIcon,\n  PinFilledIcon,\n  PinIcon,\n  PinRemovedIcon,\n  PlayIcon,\n  PlugIcon,\n  PresentationIcon,\n  Progress50Icon,\n  Progress75Icon,\n  ProjectsIcon,\n  PublishIcon,\n  ReadOnlyIcon,\n  RedoIcon,\n  RefreshIcon,\n  RemoveCircleIcon,\n  RemoveIcon,\n  ResetIcon,\n  RestoreIcon,\n  RetrieveIcon,\n  RetryIcon,\n  RevertIcon,\n  RobotIcon,\n  RocketIcon,\n  SchemaIcon,\n  SearchIcon,\n  SelectIcon,\n  ShareIcon,\n  SortIcon,\n  SparkleIcon,\n  SparklesIcon,\n  SpinnerIcon,\n  SplitHorizontalIcon,\n  SplitVerticalIcon,\n  SquareIcon,\n  StackCompactIcon,\n  StackIcon,\n  StarFilledIcon,\n  StarIcon,\n  StopIcon,\n  StrikethroughIcon,\n  StringIcon,\n  SunIcon,\n  SyncIcon,\n  TabletDeviceIcon,\n  TagIcon,\n  TagsIcon,\n  TaskIcon,\n  TerminalIcon,\n  TextIcon,\n  ThLargeIcon,\n  ThListIcon,\n  TiersIcon,\n  TimelineIcon,\n  ToggleArrowRightIcon,\n  TokenIcon,\n  TransferIcon,\n  TranslateIcon,\n  TrashIcon,\n  TrendUpwardIcon,\n  TriangleOutlineIcon,\n  TrolleyIcon,\n  TruncateIcon,\n  TwitterIcon,\n  UlistIcon,\n  UnarchiveIcon,\n  UnderlineIcon,\n  UndoIcon,\n  UnknownIcon,\n  UnlinkIcon,\n  UnlockIcon,\n  UnpublishIcon,\n  UploadIcon,\n  UserIcon,\n  UsersIcon,\n  WarningFilledIcon,\n  WarningOutlineIcon,\n  WrenchIcon,\n  icons\n};\n//# sourceMappingURL=index.js.map\n","'use strict'\n\nmodule.exports = Schema\n\nvar proto = Schema.prototype\n\nproto.space = null\nproto.normal = {}\nproto.property = {}\n\nfunction Schema(property, normal, space) {\n  this.property = property\n  this.normal = normal\n\n  if (space) {\n    this.space = space\n  }\n}\n","'use strict'\n\nvar xtend = require('xtend')\nvar Schema = require('./schema')\n\nmodule.exports = merge\n\nfunction merge(definitions) {\n  var length = definitions.length\n  var property = []\n  var normal = []\n  var index = -1\n  var info\n  var space\n\n  while (++index < length) {\n    info = definitions[index]\n    property.push(info.property)\n    normal.push(info.normal)\n    space = info.space\n  }\n\n  return new Schema(\n    xtend.apply(null, property),\n    xtend.apply(null, normal),\n    space\n  )\n}\n","module.exports = extend\n\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\nfunction extend() {\n    var target = {}\n\n    for (var i = 0; i < arguments.length; i++) {\n        var source = arguments[i]\n\n        for (var key in source) {\n            if (hasOwnProperty.call(source, key)) {\n                target[key] = source[key]\n            }\n        }\n    }\n\n    return target\n}\n","'use strict'\n\nmodule.exports = normalize\n\nfunction normalize(value) {\n  return value.toLowerCase()\n}\n","'use strict'\n\nmodule.exports = Info\n\nvar proto = Info.prototype\n\nproto.space = null\nproto.attribute = null\nproto.property = null\nproto.boolean = false\nproto.booleanish = false\nproto.overloadedBoolean = false\nproto.number = false\nproto.commaSeparated = false\nproto.spaceSeparated = false\nproto.commaOrSpaceSeparated = false\nproto.mustUseProperty = false\nproto.defined = false\n\nfunction Info(property, attribute) {\n  this.property = property\n  this.attribute = attribute\n}\n","'use strict'\n\nvar powers = 0\n\nexports.boolean = increment()\nexports.booleanish = increment()\nexports.overloadedBoolean = increment()\nexports.number = increment()\nexports.spaceSeparated = increment()\nexports.commaSeparated = increment()\nexports.commaOrSpaceSeparated = increment()\n\nfunction increment() {\n  return Math.pow(2, ++powers)\n}\n","'use strict'\n\nvar Info = require('./info')\nvar types = require('./types')\n\nmodule.exports = DefinedInfo\n\nDefinedInfo.prototype = new Info()\nDefinedInfo.prototype.defined = true\n\nvar checks = [\n  'boolean',\n  'booleanish',\n  'overloadedBoolean',\n  'number',\n  'commaSeparated',\n  'spaceSeparated',\n  'commaOrSpaceSeparated'\n]\nvar checksLength = checks.length\n\nfunction DefinedInfo(property, attribute, mask, space) {\n  var index = -1\n  var check\n\n  mark(this, 'space', space)\n\n  Info.call(this, property, attribute)\n\n  while (++index < checksLength) {\n    check = checks[index]\n    mark(this, check, (mask & types[check]) === types[check])\n  }\n}\n\nfunction mark(values, key, value) {\n  if (value) {\n    values[key] = value\n  }\n}\n","'use strict'\n\nvar normalize = require('../../normalize')\nvar Schema = require('./schema')\nvar DefinedInfo = require('./defined-info')\n\nmodule.exports = create\n\nfunction create(definition) {\n  var space = definition.space\n  var mustUseProperty = definition.mustUseProperty || []\n  var attributes = definition.attributes || {}\n  var props = definition.properties\n  var transform = definition.transform\n  var property = {}\n  var normal = {}\n  var prop\n  var info\n\n  for (prop in props) {\n    info = new DefinedInfo(\n      prop,\n      transform(attributes, prop),\n      props[prop],\n      space\n    )\n\n    if (mustUseProperty.indexOf(prop) !== -1) {\n      info.mustUseProperty = true\n    }\n\n    property[prop] = info\n\n    normal[normalize(prop)] = prop\n    normal[normalize(info.attribute)] = prop\n  }\n\n  return new Schema(property, normal, space)\n}\n","'use strict'\n\nvar caseSensitiveTransform = require('./case-sensitive-transform')\n\nmodule.exports = caseInsensitiveTransform\n\nfunction caseInsensitiveTransform(attributes, property) {\n  return caseSensitiveTransform(attributes, property.toLowerCase())\n}\n","'use strict'\n\nmodule.exports = caseSensitiveTransform\n\nfunction caseSensitiveTransform(attributes, attribute) {\n  return attribute in attributes ? attributes[attribute] : attribute\n}\n","'use strict'\n\nvar merge = require('./lib/util/merge')\nvar xlink = require('./lib/xlink')\nvar xml = require('./lib/xml')\nvar xmlns = require('./lib/xmlns')\nvar aria = require('./lib/aria')\nvar html = require('./lib/html')\n\nmodule.exports = merge([xml, xlink, xmlns, aria, html])\n","'use strict'\n\nvar create = require('./util/create')\n\nmodule.exports = create({\n  space: 'xlink',\n  transform: xlinkTransform,\n  properties: {\n    xLinkActuate: null,\n    xLinkArcRole: null,\n    xLinkHref: null,\n    xLinkRole: null,\n    xLinkShow: null,\n    xLinkTitle: null,\n    xLinkType: null\n  }\n})\n\nfunction xlinkTransform(_, prop) {\n  return 'xlink:' + prop.slice(5).toLowerCase()\n}\n","'use strict'\n\nvar create = require('./util/create')\n\nmodule.exports = create({\n  space: 'xml',\n  transform: xmlTransform,\n  properties: {\n    xmlLang: null,\n    xmlBase: null,\n    xmlSpace: null\n  }\n})\n\nfunction xmlTransform(_, prop) {\n  return 'xml:' + prop.slice(3).toLowerCase()\n}\n","'use strict'\n\nvar create = require('./util/create')\nvar caseInsensitiveTransform = require('./util/case-insensitive-transform')\n\nmodule.exports = create({\n  space: 'xmlns',\n  attributes: {\n    xmlnsxlink: 'xmlns:xlink'\n  },\n  transform: caseInsensitiveTransform,\n  properties: {\n    xmlns: null,\n    xmlnsXLink: null\n  }\n})\n","'use strict'\n\nvar types = require('./util/types')\nvar create = require('./util/create')\n\nvar booleanish = types.booleanish\nvar number = types.number\nvar spaceSeparated = types.spaceSeparated\n\nmodule.exports = create({\n  transform: ariaTransform,\n  properties: {\n    ariaActiveDescendant: null,\n    ariaAtomic: booleanish,\n    ariaAutoComplete: null,\n    ariaBusy: booleanish,\n    ariaChecked: booleanish,\n    ariaColCount: number,\n    ariaColIndex: number,\n    ariaColSpan: number,\n    ariaControls: spaceSeparated,\n    ariaCurrent: null,\n    ariaDescribedBy: spaceSeparated,\n    ariaDetails: null,\n    ariaDisabled: booleanish,\n    ariaDropEffect: spaceSeparated,\n    ariaErrorMessage: null,\n    ariaExpanded: booleanish,\n    ariaFlowTo: spaceSeparated,\n    ariaGrabbed: booleanish,\n    ariaHasPopup: null,\n    ariaHidden: booleanish,\n    ariaInvalid: null,\n    ariaKeyShortcuts: null,\n    ariaLabel: null,\n    ariaLabelledBy: spaceSeparated,\n    ariaLevel: number,\n    ariaLive: null,\n    ariaModal: booleanish,\n    ariaMultiLine: booleanish,\n    ariaMultiSelectable: booleanish,\n    ariaOrientation: null,\n    ariaOwns: spaceSeparated,\n    ariaPlaceholder: null,\n    ariaPosInSet: number,\n    ariaPressed: booleanish,\n    ariaReadOnly: booleanish,\n    ariaRelevant: null,\n    ariaRequired: booleanish,\n    ariaRoleDescription: spaceSeparated,\n    ariaRowCount: number,\n    ariaRowIndex: number,\n    ariaRowSpan: number,\n    ariaSelected: booleanish,\n    ariaSetSize: number,\n    ariaSort: null,\n    ariaValueMax: number,\n    ariaValueMin: number,\n    ariaValueNow: number,\n    ariaValueText: null,\n    role: null\n  }\n})\n\nfunction ariaTransform(_, prop) {\n  return prop === 'role' ? prop : 'aria-' + prop.slice(4).toLowerCase()\n}\n","'use strict'\n\nvar types = require('./util/types')\nvar create = require('./util/create')\nvar caseInsensitiveTransform = require('./util/case-insensitive-transform')\n\nvar boolean = types.boolean\nvar overloadedBoolean = types.overloadedBoolean\nvar booleanish = types.booleanish\nvar number = types.number\nvar spaceSeparated = types.spaceSeparated\nvar commaSeparated = types.commaSeparated\n\nmodule.exports = create({\n  space: 'html',\n  attributes: {\n    acceptcharset: 'accept-charset',\n    classname: 'class',\n    htmlfor: 'for',\n    httpequiv: 'http-equiv'\n  },\n  transform: caseInsensitiveTransform,\n  mustUseProperty: ['checked', 'multiple', 'muted', 'selected'],\n  properties: {\n    // Standard Properties.\n    abbr: null,\n    accept: commaSeparated,\n    acceptCharset: spaceSeparated,\n    accessKey: spaceSeparated,\n    action: null,\n    allow: null,\n    allowFullScreen: boolean,\n    allowPaymentRequest: boolean,\n    allowUserMedia: boolean,\n    alt: null,\n    as: null,\n    async: boolean,\n    autoCapitalize: null,\n    autoComplete: spaceSeparated,\n    autoFocus: boolean,\n    autoPlay: boolean,\n    capture: boolean,\n    charSet: null,\n    checked: boolean,\n    cite: null,\n    className: spaceSeparated,\n    cols: number,\n    colSpan: null,\n    content: null,\n    contentEditable: booleanish,\n    controls: boolean,\n    controlsList: spaceSeparated,\n    coords: number | commaSeparated,\n    crossOrigin: null,\n    data: null,\n    dateTime: null,\n    decoding: null,\n    default: boolean,\n    defer: boolean,\n    dir: null,\n    dirName: null,\n    disabled: boolean,\n    download: overloadedBoolean,\n    draggable: booleanish,\n    encType: null,\n    enterKeyHint: null,\n    form: null,\n    formAction: null,\n    formEncType: null,\n    formMethod: null,\n    formNoValidate: boolean,\n    formTarget: null,\n    headers: spaceSeparated,\n    height: number,\n    hidden: boolean,\n    high: number,\n    href: null,\n    hrefLang: null,\n    htmlFor: spaceSeparated,\n    httpEquiv: spaceSeparated,\n    id: null,\n    imageSizes: null,\n    imageSrcSet: commaSeparated,\n    inputMode: null,\n    integrity: null,\n    is: null,\n    isMap: boolean,\n    itemId: null,\n    itemProp: spaceSeparated,\n    itemRef: spaceSeparated,\n    itemScope: boolean,\n    itemType: spaceSeparated,\n    kind: null,\n    label: null,\n    lang: null,\n    language: null,\n    list: null,\n    loading: null,\n    loop: boolean,\n    low: number,\n    manifest: null,\n    max: null,\n    maxLength: number,\n    media: null,\n    method: null,\n    min: null,\n    minLength: number,\n    multiple: boolean,\n    muted: boolean,\n    name: null,\n    nonce: null,\n    noModule: boolean,\n    noValidate: boolean,\n    onAbort: null,\n    onAfterPrint: null,\n    onAuxClick: null,\n    onBeforePrint: null,\n    onBeforeUnload: null,\n    onBlur: null,\n    onCancel: null,\n    onCanPlay: null,\n    onCanPlayThrough: null,\n    onChange: null,\n    onClick: null,\n    onClose: null,\n    onContextMenu: null,\n    onCopy: null,\n    onCueChange: null,\n    onCut: null,\n    onDblClick: null,\n    onDrag: null,\n    onDragEnd: null,\n    onDragEnter: null,\n    onDragExit: null,\n    onDragLeave: null,\n    onDragOver: null,\n    onDragStart: null,\n    onDrop: null,\n    onDurationChange: null,\n    onEmptied: null,\n    onEnded: null,\n    onError: null,\n    onFocus: null,\n    onFormData: null,\n    onHashChange: null,\n    onInput: null,\n    onInvalid: null,\n    onKeyDown: null,\n    onKeyPress: null,\n    onKeyUp: null,\n    onLanguageChange: null,\n    onLoad: null,\n    onLoadedData: null,\n    onLoadedMetadata: null,\n    onLoadEnd: null,\n    onLoadStart: null,\n    onMessage: null,\n    onMessageError: null,\n    onMouseDown: null,\n    onMouseEnter: null,\n    onMouseLeave: null,\n    onMouseMove: null,\n    onMouseOut: null,\n    onMouseOver: null,\n    onMouseUp: null,\n    onOffline: null,\n    onOnline: null,\n    onPageHide: null,\n    onPageShow: null,\n    onPaste: null,\n    onPause: null,\n    onPlay: null,\n    onPlaying: null,\n    onPopState: null,\n    onProgress: null,\n    onRateChange: null,\n    onRejectionHandled: null,\n    onReset: null,\n    onResize: null,\n    onScroll: null,\n    onSecurityPolicyViolation: null,\n    onSeeked: null,\n    onSeeking: null,\n    onSelect: null,\n    onSlotChange: null,\n    onStalled: null,\n    onStorage: null,\n    onSubmit: null,\n    onSuspend: null,\n    onTimeUpdate: null,\n    onToggle: null,\n    onUnhandledRejection: null,\n    onUnload: null,\n    onVolumeChange: null,\n    onWaiting: null,\n    onWheel: null,\n    open: boolean,\n    optimum: number,\n    pattern: null,\n    ping: spaceSeparated,\n    placeholder: null,\n    playsInline: boolean,\n    poster: null,\n    preload: null,\n    readOnly: boolean,\n    referrerPolicy: null,\n    rel: spaceSeparated,\n    required: boolean,\n    reversed: boolean,\n    rows: number,\n    rowSpan: number,\n    sandbox: spaceSeparated,\n    scope: null,\n    scoped: boolean,\n    seamless: boolean,\n    selected: boolean,\n    shape: null,\n    size: number,\n    sizes: null,\n    slot: null,\n    span: number,\n    spellCheck: booleanish,\n    src: null,\n    srcDoc: null,\n    srcLang: null,\n    srcSet: commaSeparated,\n    start: number,\n    step: null,\n    style: null,\n    tabIndex: number,\n    target: null,\n    title: null,\n    translate: null,\n    type: null,\n    typeMustMatch: boolean,\n    useMap: null,\n    value: booleanish,\n    width: number,\n    wrap: null,\n\n    // Legacy.\n    // See: https://html.spec.whatwg.org/#other-elements,-attributes-and-apis\n    align: null, // Several. Use CSS `text-align` instead,\n    aLink: null, // `<body>`. Use CSS `a:active {color}` instead\n    archive: spaceSeparated, // `<object>`. List of URIs to archives\n    axis: null, // `<td>` and `<th>`. Use `scope` on `<th>`\n    background: null, // `<body>`. Use CSS `background-image` instead\n    bgColor: null, // `<body>` and table elements. Use CSS `background-color` instead\n    border: number, // `<table>`. Use CSS `border-width` instead,\n    borderColor: null, // `<table>`. Use CSS `border-color` instead,\n    bottomMargin: number, // `<body>`\n    cellPadding: null, // `<table>`\n    cellSpacing: null, // `<table>`\n    char: null, // Several table elements. When `align=char`, sets the character to align on\n    charOff: null, // Several table elements. When `char`, offsets the alignment\n    classId: null, // `<object>`\n    clear: null, // `<br>`. Use CSS `clear` instead\n    code: null, // `<object>`\n    codeBase: null, // `<object>`\n    codeType: null, // `<object>`\n    color: null, // `<font>` and `<hr>`. Use CSS instead\n    compact: boolean, // Lists. Use CSS to reduce space between items instead\n    declare: boolean, // `<object>`\n    event: null, // `<script>`\n    face: null, // `<font>`. Use CSS instead\n    frame: null, // `<table>`\n    frameBorder: null, // `<iframe>`. Use CSS `border` instead\n    hSpace: number, // `<img>` and `<object>`\n    leftMargin: number, // `<body>`\n    link: null, // `<body>`. Use CSS `a:link {color: *}` instead\n    longDesc: null, // `<frame>`, `<iframe>`, and `<img>`. Use an `<a>`\n    lowSrc: null, // `<img>`. Use a `<picture>`\n    marginHeight: number, // `<body>`\n    marginWidth: number, // `<body>`\n    noResize: boolean, // `<frame>`\n    noHref: boolean, // `<area>`. Use no href instead of an explicit `nohref`\n    noShade: boolean, // `<hr>`. Use background-color and height instead of borders\n    noWrap: boolean, // `<td>` and `<th>`\n    object: null, // `<applet>`\n    profile: null, // `<head>`\n    prompt: null, // `<isindex>`\n    rev: null, // `<link>`\n    rightMargin: number, // `<body>`\n    rules: null, // `<table>`\n    scheme: null, // `<meta>`\n    scrolling: booleanish, // `<frame>`. Use overflow in the child context\n    standby: null, // `<object>`\n    summary: null, // `<table>`\n    text: null, // `<body>`. Use CSS `color` instead\n    topMargin: number, // `<body>`\n    valueType: null, // `<param>`\n    version: null, // `<html>`. Use a doctype.\n    vAlign: null, // Several. Use CSS `vertical-align` instead\n    vLink: null, // `<body>`. Use CSS `a:visited {color}` instead\n    vSpace: number, // `<img>` and `<object>`\n\n    // Non-standard Properties.\n    allowTransparency: null,\n    autoCorrect: null,\n    autoSave: null,\n    disablePictureInPicture: boolean,\n    disableRemotePlayback: boolean,\n    prefix: null,\n    property: null,\n    results: number,\n    security: null,\n    unselectable: null\n  }\n})\n","'use strict'\n\nvar normalize = require('./normalize')\nvar DefinedInfo = require('./lib/util/defined-info')\nvar Info = require('./lib/util/info')\n\nvar data = 'data'\n\nmodule.exports = find\n\nvar valid = /^data[-\\w.:]+$/i\nvar dash = /-[a-z]/g\nvar cap = /[A-Z]/g\n\nfunction find(schema, value) {\n  var normal = normalize(value)\n  var prop = value\n  var Type = Info\n\n  if (normal in schema.normal) {\n    return schema.property[schema.normal[normal]]\n  }\n\n  if (normal.length > 4 && normal.slice(0, 4) === data && valid.test(value)) {\n    // Attribute or property.\n    if (value.charAt(4) === '-') {\n      prop = datasetToProperty(value)\n    } else {\n      value = datasetToAttribute(value)\n    }\n\n    Type = DefinedInfo\n  }\n\n  return new Type(prop, value)\n}\n\nfunction datasetToProperty(attribute) {\n  var value = attribute.slice(5).replace(dash, camelcase)\n  return data + value.charAt(0).toUpperCase() + value.slice(1)\n}\n\nfunction datasetToAttribute(property) {\n  var value = property.slice(4)\n\n  if (dash.test(value)) {\n    return property\n  }\n\n  value = value.replace(cap, kebab)\n\n  if (value.charAt(0) !== '-') {\n    value = '-' + value\n  }\n\n  return data + value\n}\n\nfunction kebab($0) {\n  return '-' + $0.toLowerCase()\n}\n\nfunction camelcase($0) {\n  return $0.charAt(1).toUpperCase()\n}\n","'use strict'\n\nvar find = require('property-information/find')\nvar normalize = require('property-information/normalize')\nvar parseSelector = require('hast-util-parse-selector')\nvar spaces = require('space-separated-tokens').parse\nvar commas = require('comma-separated-tokens').parse\n\nmodule.exports = factory\n\nvar own = {}.hasOwnProperty\n\nfunction factory(schema, defaultTagName, caseSensitive) {\n  var adjust = caseSensitive ? createAdjustMap(caseSensitive) : null\n\n  return h\n\n  // Hyperscript compatible DSL for creating virtual hast trees.\n  function h(selector, properties) {\n    var node = parseSelector(selector, defaultTagName)\n    var children = Array.prototype.slice.call(arguments, 2)\n    var name = node.tagName.toLowerCase()\n    var property\n\n    node.tagName = adjust && own.call(adjust, name) ? adjust[name] : name\n\n    if (properties && isChildren(properties, node)) {\n      children.unshift(properties)\n      properties = null\n    }\n\n    if (properties) {\n      for (property in properties) {\n        addProperty(node.properties, property, properties[property])\n      }\n    }\n\n    addChild(node.children, children)\n\n    if (node.tagName === 'template') {\n      node.content = {type: 'root', children: node.children}\n      node.children = []\n    }\n\n    return node\n  }\n\n  function addProperty(properties, key, value) {\n    var info\n    var property\n    var result\n\n    // Ignore nullish and NaN values.\n    if (value === null || value === undefined || value !== value) {\n      return\n    }\n\n    info = find(schema, key)\n    property = info.property\n    result = value\n\n    // Handle list values.\n    if (typeof result === 'string') {\n      if (info.spaceSeparated) {\n        result = spaces(result)\n      } else if (info.commaSeparated) {\n        result = commas(result)\n      } else if (info.commaOrSpaceSeparated) {\n        result = spaces(commas(result).join(' '))\n      }\n    }\n\n    // Accept `object` on style.\n    if (property === 'style' && typeof value !== 'string') {\n      result = style(result)\n    }\n\n    // Class-names (which can be added both on the `selector` and here).\n    if (property === 'className' && properties.className) {\n      result = properties.className.concat(result)\n    }\n\n    properties[property] = parsePrimitives(info, property, result)\n  }\n}\n\nfunction isChildren(value, node) {\n  return (\n    typeof value === 'string' ||\n    'length' in value ||\n    isNode(node.tagName, value)\n  )\n}\n\nfunction isNode(tagName, value) {\n  var type = value.type\n\n  if (tagName === 'input' || !type || typeof type !== 'string') {\n    return false\n  }\n\n  if (typeof value.children === 'object' && 'length' in value.children) {\n    return true\n  }\n\n  type = type.toLowerCase()\n\n  if (tagName === 'button') {\n    return (\n      type !== 'menu' &&\n      type !== 'submit' &&\n      type !== 'reset' &&\n      type !== 'button'\n    )\n  }\n\n  return 'value' in value\n}\n\nfunction addChild(nodes, value) {\n  var index\n  var length\n\n  if (typeof value === 'string' || typeof value === 'number') {\n    nodes.push({type: 'text', value: String(value)})\n    return\n  }\n\n  if (typeof value === 'object' && 'length' in value) {\n    index = -1\n    length = value.length\n\n    while (++index < length) {\n      addChild(nodes, value[index])\n    }\n\n    return\n  }\n\n  if (typeof value !== 'object' || !('type' in value)) {\n    throw new Error('Expected node, nodes, or string, got `' + value + '`')\n  }\n\n  nodes.push(value)\n}\n\n// Parse a (list of) primitives.\nfunction parsePrimitives(info, name, value) {\n  var index\n  var length\n  var result\n\n  if (typeof value !== 'object' || !('length' in value)) {\n    return parsePrimitive(info, name, value)\n  }\n\n  length = value.length\n  index = -1\n  result = []\n\n  while (++index < length) {\n    result[index] = parsePrimitive(info, name, value[index])\n  }\n\n  return result\n}\n\n// Parse a single primitives.\nfunction parsePrimitive(info, name, value) {\n  var result = value\n\n  if (info.number || info.positiveNumber) {\n    if (!isNaN(result) && result !== '') {\n      result = Number(result)\n    }\n  } else if (info.boolean || info.overloadedBoolean) {\n    // Accept `boolean` and `string`.\n    if (\n      typeof result === 'string' &&\n      (result === '' || normalize(value) === normalize(name))\n    ) {\n      result = true\n    }\n  }\n\n  return result\n}\n\nfunction style(value) {\n  var result = []\n  var key\n\n  for (key in value) {\n    result.push([key, value[key]].join(': '))\n  }\n\n  return result.join('; ')\n}\n\nfunction createAdjustMap(values) {\n  var length = values.length\n  var index = -1\n  var result = {}\n  var value\n\n  while (++index < length) {\n    value = values[index]\n    result[value.toLowerCase()] = value\n  }\n\n  return result\n}\n","'use strict'\n\nmodule.exports = parse\n\nvar search = /[#.]/g\n\n// Create a hast element from a simple CSS selector.\nfunction parse(selector, defaultTagName) {\n  var value = selector || ''\n  var name = defaultTagName || 'div'\n  var props = {}\n  var start = 0\n  var subvalue\n  var previous\n  var match\n\n  while (start < value.length) {\n    search.lastIndex = start\n    match = search.exec(value)\n    subvalue = value.slice(start, match ? match.index : value.length)\n\n    if (subvalue) {\n      if (!previous) {\n        name = subvalue\n      } else if (previous === '#') {\n        props.id = subvalue\n      } else if (props.className) {\n        props.className.push(subvalue)\n      } else {\n        props.className = [subvalue]\n      }\n\n      start += subvalue.length\n    }\n\n    if (match) {\n      previous = match[0]\n      start++\n    }\n  }\n\n  return {type: 'element', tagName: name, properties: props, children: []}\n}\n","'use strict'\n\nexports.parse = parse\nexports.stringify = stringify\n\nvar empty = ''\nvar space = ' '\nvar whiteSpace = /[ \\t\\n\\r\\f]+/g\n\nfunction parse(value) {\n  var input = String(value || empty).trim()\n  return input === empty ? [] : input.split(whiteSpace)\n}\n\nfunction stringify(values) {\n  return values.join(space).trim()\n}\n","'use strict'\n\nexports.parse = parse\nexports.stringify = stringify\n\nvar comma = ','\nvar space = ' '\nvar empty = ''\n\n// Parse comma-separated tokens to an array.\nfunction parse(value) {\n  var values = []\n  var input = String(value || empty)\n  var index = input.indexOf(comma)\n  var lastIndex = 0\n  var end = false\n  var val\n\n  while (!end) {\n    if (index === -1) {\n      index = input.length\n      end = true\n    }\n\n    val = input.slice(lastIndex, index).trim()\n\n    if (val || !end) {\n      values.push(val)\n    }\n\n    lastIndex = index + 1\n    index = input.indexOf(comma, lastIndex)\n  }\n\n  return values\n}\n\n// Compile an array to comma-separated tokens.\n// `options.padLeft` (default: `true`) pads a space left of each token, and\n// `options.padRight` (default: `false`) pads a space to the right of each token.\nfunction stringify(values, options) {\n  var settings = options || {}\n  var left = settings.padLeft === false ? empty : space\n  var right = settings.padRight ? space : empty\n\n  // Ensure the last empty entry is seen.\n  if (values[values.length - 1] === empty) {\n    values = values.concat(empty)\n  }\n\n  return values.join(right + comma + left).trim()\n}\n","'use strict'\n\nmodule.exports = require('./html')\n","'use strict'\n\nvar schema = require('property-information/html')\nvar factory = require('./factory')\n\nvar html = factory(schema, 'div')\nhtml.displayName = 'html'\n\nmodule.exports = html\n","'use strict'\n\nmodule.exports = decimal\n\n// Check if the given character code, or the character code at the first\n// character, is decimal.\nfunction decimal(character) {\n  var code = typeof character === 'string' ? character.charCodeAt(0) : character\n\n  return code >= 48 && code <= 57 /* 0-9 */\n}\n","'use strict'\n\nvar alphabetical = require('is-alphabetical')\nvar decimal = require('is-decimal')\n\nmodule.exports = alphanumerical\n\n// Check if the given character code, or the character code at the first\n// character, is alphanumerical.\nfunction alphanumerical(character) {\n  return alphabetical(character) || decimal(character)\n}\n","'use strict'\n\nmodule.exports = alphabetical\n\n// Check if the given character code, or the character code at the first\n// character, is alphabetical.\nfunction alphabetical(character) {\n  var code = typeof character === 'string' ? character.charCodeAt(0) : character\n\n  return (\n    (code >= 97 && code <= 122) /* a-z */ ||\n    (code >= 65 && code <= 90) /* A-Z */\n  )\n}\n","'use strict'\n\nvar legacy = require('character-entities-legacy')\nvar invalid = require('character-reference-invalid')\nvar decimal = require('is-decimal')\nvar hexadecimal = require('is-hexadecimal')\nvar alphanumerical = require('is-alphanumerical')\nvar decodeEntity = require('./decode-entity')\n\nmodule.exports = parseEntities\n\nvar own = {}.hasOwnProperty\nvar fromCharCode = String.fromCharCode\nvar noop = Function.prototype\n\n// Default settings.\nvar defaults = {\n  warning: null,\n  reference: null,\n  text: null,\n  warningContext: null,\n  referenceContext: null,\n  textContext: null,\n  position: {},\n  additional: null,\n  attribute: false,\n  nonTerminated: true\n}\n\n// Characters.\nvar tab = 9 // '\\t'\nvar lineFeed = 10 // '\\n'\nvar formFeed = 12 // '\\f'\nvar space = 32 // ' '\nvar ampersand = 38 // '&'\nvar semicolon = 59 // ';'\nvar lessThan = 60 // '<'\nvar equalsTo = 61 // '='\nvar numberSign = 35 // '#'\nvar uppercaseX = 88 // 'X'\nvar lowercaseX = 120 // 'x'\nvar replacementCharacter = 65533 // '�'\n\n// Reference types.\nvar name = 'named'\nvar hexa = 'hexadecimal'\nvar deci = 'decimal'\n\n// Map of bases.\nvar bases = {}\n\nbases[hexa] = 16\nbases[deci] = 10\n\n// Map of types to tests.\n// Each type of character reference accepts different characters.\n// This test is used to detect whether a reference has ended (as the semicolon\n// is not strictly needed).\nvar tests = {}\n\ntests[name] = alphanumerical\ntests[deci] = decimal\ntests[hexa] = hexadecimal\n\n// Warning types.\nvar namedNotTerminated = 1\nvar numericNotTerminated = 2\nvar namedEmpty = 3\nvar numericEmpty = 4\nvar namedUnknown = 5\nvar numericDisallowed = 6\nvar numericProhibited = 7\n\n// Warning messages.\nvar messages = {}\n\nmessages[namedNotTerminated] =\n  'Named character references must be terminated by a semicolon'\nmessages[numericNotTerminated] =\n  'Numeric character references must be terminated by a semicolon'\nmessages[namedEmpty] = 'Named character references cannot be empty'\nmessages[numericEmpty] = 'Numeric character references cannot be empty'\nmessages[namedUnknown] = 'Named character references must be known'\nmessages[numericDisallowed] =\n  'Numeric character references cannot be disallowed'\nmessages[numericProhibited] =\n  'Numeric character references cannot be outside the permissible Unicode range'\n\n// Wrap to ensure clean parameters are given to `parse`.\nfunction parseEntities(value, options) {\n  var settings = {}\n  var option\n  var key\n\n  if (!options) {\n    options = {}\n  }\n\n  for (key in defaults) {\n    option = options[key]\n    settings[key] =\n      option === null || option === undefined ? defaults[key] : option\n  }\n\n  if (settings.position.indent || settings.position.start) {\n    settings.indent = settings.position.indent || []\n    settings.position = settings.position.start\n  }\n\n  return parse(value, settings)\n}\n\n// Parse entities.\n// eslint-disable-next-line complexity\nfunction parse(value, settings) {\n  var additional = settings.additional\n  var nonTerminated = settings.nonTerminated\n  var handleText = settings.text\n  var handleReference = settings.reference\n  var handleWarning = settings.warning\n  var textContext = settings.textContext\n  var referenceContext = settings.referenceContext\n  var warningContext = settings.warningContext\n  var pos = settings.position\n  var indent = settings.indent || []\n  var length = value.length\n  var index = 0\n  var lines = -1\n  var column = pos.column || 1\n  var line = pos.line || 1\n  var queue = ''\n  var result = []\n  var entityCharacters\n  var namedEntity\n  var terminated\n  var characters\n  var character\n  var reference\n  var following\n  var warning\n  var reason\n  var output\n  var entity\n  var begin\n  var start\n  var type\n  var test\n  var prev\n  var next\n  var diff\n  var end\n\n  if (typeof additional === 'string') {\n    additional = additional.charCodeAt(0)\n  }\n\n  // Cache the current point.\n  prev = now()\n\n  // Wrap `handleWarning`.\n  warning = handleWarning ? parseError : noop\n\n  // Ensure the algorithm walks over the first character and the end\n  // (inclusive).\n  index--\n  length++\n\n  while (++index < length) {\n    // If the previous character was a newline.\n    if (character === lineFeed) {\n      column = indent[lines] || 1\n    }\n\n    character = value.charCodeAt(index)\n\n    if (character === ampersand) {\n      following = value.charCodeAt(index + 1)\n\n      // The behaviour depends on the identity of the next character.\n      if (\n        following === tab ||\n        following === lineFeed ||\n        following === formFeed ||\n        following === space ||\n        following === ampersand ||\n        following === lessThan ||\n        following !== following ||\n        (additional && following === additional)\n      ) {\n        // Not a character reference.\n        // No characters are consumed, and nothing is returned.\n        // This is not an error, either.\n        queue += fromCharCode(character)\n        column++\n\n        continue\n      }\n\n      start = index + 1\n      begin = start\n      end = start\n\n      if (following === numberSign) {\n        // Numerical entity.\n        end = ++begin\n\n        // The behaviour further depends on the next character.\n        following = value.charCodeAt(end)\n\n        if (following === uppercaseX || following === lowercaseX) {\n          // ASCII hex digits.\n          type = hexa\n          end = ++begin\n        } else {\n          // ASCII digits.\n          type = deci\n        }\n      } else {\n        // Named entity.\n        type = name\n      }\n\n      entityCharacters = ''\n      entity = ''\n      characters = ''\n      test = tests[type]\n      end--\n\n      while (++end < length) {\n        following = value.charCodeAt(end)\n\n        if (!test(following)) {\n          break\n        }\n\n        characters += fromCharCode(following)\n\n        // Check if we can match a legacy named reference.\n        // If so, we cache that as the last viable named reference.\n        // This ensures we do not need to walk backwards later.\n        if (type === name && own.call(legacy, characters)) {\n          entityCharacters = characters\n          entity = legacy[characters]\n        }\n      }\n\n      terminated = value.charCodeAt(end) === semicolon\n\n      if (terminated) {\n        end++\n\n        namedEntity = type === name ? decodeEntity(characters) : false\n\n        if (namedEntity) {\n          entityCharacters = characters\n          entity = namedEntity\n        }\n      }\n\n      diff = 1 + end - start\n\n      if (!terminated && !nonTerminated) {\n        // Empty.\n      } else if (!characters) {\n        // An empty (possible) entity is valid, unless it’s numeric (thus an\n        // ampersand followed by an octothorp).\n        if (type !== name) {\n          warning(numericEmpty, diff)\n        }\n      } else if (type === name) {\n        // An ampersand followed by anything unknown, and not terminated, is\n        // invalid.\n        if (terminated && !entity) {\n          warning(namedUnknown, 1)\n        } else {\n          // If theres something after an entity name which is not known, cap\n          // the reference.\n          if (entityCharacters !== characters) {\n            end = begin + entityCharacters.length\n            diff = 1 + end - begin\n            terminated = false\n          }\n\n          // If the reference is not terminated, warn.\n          if (!terminated) {\n            reason = entityCharacters ? namedNotTerminated : namedEmpty\n\n            if (settings.attribute) {\n              following = value.charCodeAt(end)\n\n              if (following === equalsTo) {\n                warning(reason, diff)\n                entity = null\n              } else if (alphanumerical(following)) {\n                entity = null\n              } else {\n                warning(reason, diff)\n              }\n            } else {\n              warning(reason, diff)\n            }\n          }\n        }\n\n        reference = entity\n      } else {\n        if (!terminated) {\n          // All non-terminated numeric entities are not rendered, and trigger a\n          // warning.\n          warning(numericNotTerminated, diff)\n        }\n\n        // When terminated and number, parse as either hexadecimal or decimal.\n        reference = parseInt(characters, bases[type])\n\n        // Trigger a warning when the parsed number is prohibited, and replace\n        // with replacement character.\n        if (prohibited(reference)) {\n          warning(numericProhibited, diff)\n          reference = fromCharCode(replacementCharacter)\n        } else if (reference in invalid) {\n          // Trigger a warning when the parsed number is disallowed, and replace\n          // by an alternative.\n          warning(numericDisallowed, diff)\n          reference = invalid[reference]\n        } else {\n          // Parse the number.\n          output = ''\n\n          // Trigger a warning when the parsed number should not be used.\n          if (disallowed(reference)) {\n            warning(numericDisallowed, diff)\n          }\n\n          // Stringify the number.\n          if (reference > 0xffff) {\n            reference -= 0x10000\n            output += fromCharCode((reference >>> (10 & 0x3ff)) | 0xd800)\n            reference = 0xdc00 | (reference & 0x3ff)\n          }\n\n          reference = output + fromCharCode(reference)\n        }\n      }\n\n      // Found it!\n      // First eat the queued characters as normal text, then eat an entity.\n      if (reference) {\n        flush()\n\n        prev = now()\n        index = end - 1\n        column += end - start + 1\n        result.push(reference)\n        next = now()\n        next.offset++\n\n        if (handleReference) {\n          handleReference.call(\n            referenceContext,\n            reference,\n            {start: prev, end: next},\n            value.slice(start - 1, end)\n          )\n        }\n\n        prev = next\n      } else {\n        // If we could not find a reference, queue the checked characters (as\n        // normal characters), and move the pointer to their end.\n        // This is possible because we can be certain neither newlines nor\n        // ampersands are included.\n        characters = value.slice(start - 1, end)\n        queue += characters\n        column += characters.length\n        index = end - 1\n      }\n    } else {\n      // Handle anything other than an ampersand, including newlines and EOF.\n      if (\n        character === 10 // Line feed\n      ) {\n        line++\n        lines++\n        column = 0\n      }\n\n      if (character === character) {\n        queue += fromCharCode(character)\n        column++\n      } else {\n        flush()\n      }\n    }\n  }\n\n  // Return the reduced nodes.\n  return result.join('')\n\n  // Get current position.\n  function now() {\n    return {\n      line: line,\n      column: column,\n      offset: index + (pos.offset || 0)\n    }\n  }\n\n  // “Throw” a parse-error: a warning.\n  function parseError(code, offset) {\n    var position = now()\n\n    position.column += offset\n    position.offset += offset\n\n    handleWarning.call(warningContext, messages[code], position, code)\n  }\n\n  // Flush `queue` (normal text).\n  // Macro invoked before each entity and at the end of `value`.\n  // Does nothing when `queue` is empty.\n  function flush() {\n    if (queue) {\n      result.push(queue)\n\n      if (handleText) {\n        handleText.call(textContext, queue, {start: prev, end: now()})\n      }\n\n      queue = ''\n    }\n  }\n}\n\n// Check if `character` is outside the permissible unicode range.\nfunction prohibited(code) {\n  return (code >= 0xd800 && code <= 0xdfff) || code > 0x10ffff\n}\n\n// Check if `character` is disallowed.\nfunction disallowed(code) {\n  return (\n    (code >= 0x0001 && code <= 0x0008) ||\n    code === 0x000b ||\n    (code >= 0x000d && code <= 0x001f) ||\n    (code >= 0x007f && code <= 0x009f) ||\n    (code >= 0xfdd0 && code <= 0xfdef) ||\n    (code & 0xffff) === 0xffff ||\n    (code & 0xffff) === 0xfffe\n  )\n}\n","'use strict'\n\nmodule.exports = hexadecimal\n\n// Check if the given character code, or the character code at the first\n// character, is hexadecimal.\nfunction hexadecimal(character) {\n  var code = typeof character === 'string' ? character.charCodeAt(0) : character\n\n  return (\n    (code >= 97 /* a */ && code <= 102) /* z */ ||\n    (code >= 65 /* A */ && code <= 70) /* Z */ ||\n    (code >= 48 /* A */ && code <= 57) /* Z */\n  )\n}\n","'use strict'\n\nvar characterEntities = require('character-entities')\n\nmodule.exports = decodeEntity\n\nvar own = {}.hasOwnProperty\n\nfunction decodeEntity(characters) {\n  return own.call(characterEntities, characters)\n    ? characterEntities[characters]\n    : false\n}\n","/// <reference lib=\"WebWorker\"/>\n\nvar _self = (typeof window !== 'undefined')\n\t? window   // if in browser\n\t: (\n\t\t(typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope)\n\t\t\t? self // if in worker\n\t\t\t: {}   // if in node js\n\t);\n\n/**\n * Prism: Lightweight, robust, elegant syntax highlighting\n *\n * @license MIT <https://opensource.org/licenses/MIT>\n * @author Lea Verou <https://lea.verou.me>\n * @namespace\n * @public\n */\nvar Prism = (function (_self) {\n\n\t// Private helper vars\n\tvar lang = /(?:^|\\s)lang(?:uage)?-([\\w-]+)(?=\\s|$)/i;\n\tvar uniqueId = 0;\n\n\t// The grammar object for plaintext\n\tvar plainTextGrammar = {};\n\n\n\tvar _ = {\n\t\t/**\n\t\t * By default, Prism will attempt to highlight all code elements (by calling {@link Prism.highlightAll}) on the\n\t\t * current page after the page finished loading. This might be a problem if e.g. you wanted to asynchronously load\n\t\t * additional languages or plugins yourself.\n\t\t *\n\t\t * By setting this value to `true`, Prism will not automatically highlight all code elements on the page.\n\t\t *\n\t\t * You obviously have to change this value before the automatic highlighting started. To do this, you can add an\n\t\t * empty Prism object into the global scope before loading the Prism script like this:\n\t\t *\n\t\t * ```js\n\t\t * window.Prism = window.Prism || {};\n\t\t * Prism.manual = true;\n\t\t * // add a new <script> to load Prism's script\n\t\t * ```\n\t\t *\n\t\t * @default false\n\t\t * @type {boolean}\n\t\t * @memberof Prism\n\t\t * @public\n\t\t */\n\t\tmanual: _self.Prism && _self.Prism.manual,\n\t\t/**\n\t\t * By default, if Prism is in a web worker, it assumes that it is in a worker it created itself, so it uses\n\t\t * `addEventListener` to communicate with its parent instance. However, if you're using Prism manually in your\n\t\t * own worker, you don't want it to do this.\n\t\t *\n\t\t * By setting this value to `true`, Prism will not add its own listeners to the worker.\n\t\t *\n\t\t * You obviously have to change this value before Prism executes. To do this, you can add an\n\t\t * empty Prism object into the global scope before loading the Prism script like this:\n\t\t *\n\t\t * ```js\n\t\t * window.Prism = window.Prism || {};\n\t\t * Prism.disableWorkerMessageHandler = true;\n\t\t * // Load Prism's script\n\t\t * ```\n\t\t *\n\t\t * @default false\n\t\t * @type {boolean}\n\t\t * @memberof Prism\n\t\t * @public\n\t\t */\n\t\tdisableWorkerMessageHandler: _self.Prism && _self.Prism.disableWorkerMessageHandler,\n\n\t\t/**\n\t\t * A namespace for utility methods.\n\t\t *\n\t\t * All function in this namespace that are not explicitly marked as _public_ are for __internal use only__ and may\n\t\t * change or disappear at any time.\n\t\t *\n\t\t * @namespace\n\t\t * @memberof Prism\n\t\t */\n\t\tutil: {\n\t\t\tencode: function encode(tokens) {\n\t\t\t\tif (tokens instanceof Token) {\n\t\t\t\t\treturn new Token(tokens.type, encode(tokens.content), tokens.alias);\n\t\t\t\t} else if (Array.isArray(tokens)) {\n\t\t\t\t\treturn tokens.map(encode);\n\t\t\t\t} else {\n\t\t\t\t\treturn tokens.replace(/&/g, '&amp;').replace(/</g, '&lt;').replace(/\\u00a0/g, ' ');\n\t\t\t\t}\n\t\t\t},\n\n\t\t\t/**\n\t\t\t * Returns the name of the type of the given value.\n\t\t\t *\n\t\t\t * @param {any} o\n\t\t\t * @returns {string}\n\t\t\t * @example\n\t\t\t * type(null)      === 'Null'\n\t\t\t * type(undefined) === 'Undefined'\n\t\t\t * type(123)       === 'Number'\n\t\t\t * type('foo')     === 'String'\n\t\t\t * type(true)      === 'Boolean'\n\t\t\t * type([1, 2])    === 'Array'\n\t\t\t * type({})        === 'Object'\n\t\t\t * type(String)    === 'Function'\n\t\t\t * type(/abc+/)    === 'RegExp'\n\t\t\t */\n\t\t\ttype: function (o) {\n\t\t\t\treturn Object.prototype.toString.call(o).slice(8, -1);\n\t\t\t},\n\n\t\t\t/**\n\t\t\t * Returns a unique number for the given object. Later calls will still return the same number.\n\t\t\t *\n\t\t\t * @param {Object} obj\n\t\t\t * @returns {number}\n\t\t\t */\n\t\t\tobjId: function (obj) {\n\t\t\t\tif (!obj['__id']) {\n\t\t\t\t\tObject.defineProperty(obj, '__id', { value: ++uniqueId });\n\t\t\t\t}\n\t\t\t\treturn obj['__id'];\n\t\t\t},\n\n\t\t\t/**\n\t\t\t * Creates a deep clone of the given object.\n\t\t\t *\n\t\t\t * The main intended use of this function is to clone language definitions.\n\t\t\t *\n\t\t\t * @param {T} o\n\t\t\t * @param {Record<number, any>} [visited]\n\t\t\t * @returns {T}\n\t\t\t * @template T\n\t\t\t */\n\t\t\tclone: function deepClone(o, visited) {\n\t\t\t\tvisited = visited || {};\n\n\t\t\t\tvar clone; var id;\n\t\t\t\tswitch (_.util.type(o)) {\n\t\t\t\t\tcase 'Object':\n\t\t\t\t\t\tid = _.util.objId(o);\n\t\t\t\t\t\tif (visited[id]) {\n\t\t\t\t\t\t\treturn visited[id];\n\t\t\t\t\t\t}\n\t\t\t\t\t\tclone = /** @type {Record<string, any>} */ ({});\n\t\t\t\t\t\tvisited[id] = clone;\n\n\t\t\t\t\t\tfor (var key in o) {\n\t\t\t\t\t\t\tif (o.hasOwnProperty(key)) {\n\t\t\t\t\t\t\t\tclone[key] = deepClone(o[key], visited);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\treturn /** @type {any} */ (clone);\n\n\t\t\t\t\tcase 'Array':\n\t\t\t\t\t\tid = _.util.objId(o);\n\t\t\t\t\t\tif (visited[id]) {\n\t\t\t\t\t\t\treturn visited[id];\n\t\t\t\t\t\t}\n\t\t\t\t\t\tclone = [];\n\t\t\t\t\t\tvisited[id] = clone;\n\n\t\t\t\t\t\t(/** @type {Array} */(/** @type {any} */(o))).forEach(function (v, i) {\n\t\t\t\t\t\t\tclone[i] = deepClone(v, visited);\n\t\t\t\t\t\t});\n\n\t\t\t\t\t\treturn /** @type {any} */ (clone);\n\n\t\t\t\t\tdefault:\n\t\t\t\t\t\treturn o;\n\t\t\t\t}\n\t\t\t},\n\n\t\t\t/**\n\t\t\t * Returns the Prism language of the given element set by a `language-xxxx` or `lang-xxxx` class.\n\t\t\t *\n\t\t\t * If no language is set for the element or the element is `null` or `undefined`, `none` will be returned.\n\t\t\t *\n\t\t\t * @param {Element} element\n\t\t\t * @returns {string}\n\t\t\t */\n\t\t\tgetLanguage: function (element) {\n\t\t\t\twhile (element) {\n\t\t\t\t\tvar m = lang.exec(element.className);\n\t\t\t\t\tif (m) {\n\t\t\t\t\t\treturn m[1].toLowerCase();\n\t\t\t\t\t}\n\t\t\t\t\telement = element.parentElement;\n\t\t\t\t}\n\t\t\t\treturn 'none';\n\t\t\t},\n\n\t\t\t/**\n\t\t\t * Sets the Prism `language-xxxx` class of the given element.\n\t\t\t *\n\t\t\t * @param {Element} element\n\t\t\t * @param {string} language\n\t\t\t * @returns {void}\n\t\t\t */\n\t\t\tsetLanguage: function (element, language) {\n\t\t\t\t// remove all `language-xxxx` classes\n\t\t\t\t// (this might leave behind a leading space)\n\t\t\t\telement.className = element.className.replace(RegExp(lang, 'gi'), '');\n\n\t\t\t\t// add the new `language-xxxx` class\n\t\t\t\t// (using `classList` will automatically clean up spaces for us)\n\t\t\t\telement.classList.add('language-' + language);\n\t\t\t},\n\n\t\t\t/**\n\t\t\t * Returns the script element that is currently executing.\n\t\t\t *\n\t\t\t * This does __not__ work for line script element.\n\t\t\t *\n\t\t\t * @returns {HTMLScriptElement | null}\n\t\t\t */\n\t\t\tcurrentScript: function () {\n\t\t\t\tif (typeof document === 'undefined') {\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t\tif ('currentScript' in document && 1 < 2 /* hack to trip TS' flow analysis */) {\n\t\t\t\t\treturn /** @type {any} */ (document.currentScript);\n\t\t\t\t}\n\n\t\t\t\t// IE11 workaround\n\t\t\t\t// we'll get the src of the current script by parsing IE11's error stack trace\n\t\t\t\t// this will not work for inline scripts\n\n\t\t\t\ttry {\n\t\t\t\t\tthrow new Error();\n\t\t\t\t} catch (err) {\n\t\t\t\t\t// Get file src url from stack. Specifically works with the format of stack traces in IE.\n\t\t\t\t\t// A stack will look like this:\n\t\t\t\t\t//\n\t\t\t\t\t// Error\n\t\t\t\t\t//    at _.util.currentScript (http://localhost/components/prism-core.js:119:5)\n\t\t\t\t\t//    at Global code (http://localhost/components/prism-core.js:606:1)\n\n\t\t\t\t\tvar src = (/at [^(\\r\\n]*\\((.*):[^:]+:[^:]+\\)$/i.exec(err.stack) || [])[1];\n\t\t\t\t\tif (src) {\n\t\t\t\t\t\tvar scripts = document.getElementsByTagName('script');\n\t\t\t\t\t\tfor (var i in scripts) {\n\t\t\t\t\t\t\tif (scripts[i].src == src) {\n\t\t\t\t\t\t\t\treturn scripts[i];\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t},\n\n\t\t\t/**\n\t\t\t * Returns whether a given class is active for `element`.\n\t\t\t *\n\t\t\t * The class can be activated if `element` or one of its ancestors has the given class and it can be deactivated\n\t\t\t * if `element` or one of its ancestors has the negated version of the given class. The _negated version_ of the\n\t\t\t * given class is just the given class with a `no-` prefix.\n\t\t\t *\n\t\t\t * Whether the class is active is determined by the closest ancestor of `element` (where `element` itself is\n\t\t\t * closest ancestor) that has the given class or the negated version of it. If neither `element` nor any of its\n\t\t\t * ancestors have the given class or the negated version of it, then the default activation will be returned.\n\t\t\t *\n\t\t\t * In the paradoxical situation where the closest ancestor contains __both__ the given class and the negated\n\t\t\t * version of it, the class is considered active.\n\t\t\t *\n\t\t\t * @param {Element} element\n\t\t\t * @param {string} className\n\t\t\t * @param {boolean} [defaultActivation=false]\n\t\t\t * @returns {boolean}\n\t\t\t */\n\t\t\tisActive: function (element, className, defaultActivation) {\n\t\t\t\tvar no = 'no-' + className;\n\n\t\t\t\twhile (element) {\n\t\t\t\t\tvar classList = element.classList;\n\t\t\t\t\tif (classList.contains(className)) {\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t\tif (classList.contains(no)) {\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t}\n\t\t\t\t\telement = element.parentElement;\n\t\t\t\t}\n\t\t\t\treturn !!defaultActivation;\n\t\t\t}\n\t\t},\n\n\t\t/**\n\t\t * This namespace contains all currently loaded languages and the some helper functions to create and modify languages.\n\t\t *\n\t\t * @namespace\n\t\t * @memberof Prism\n\t\t * @public\n\t\t */\n\t\tlanguages: {\n\t\t\t/**\n\t\t\t * The grammar for plain, unformatted text.\n\t\t\t */\n\t\t\tplain: plainTextGrammar,\n\t\t\tplaintext: plainTextGrammar,\n\t\t\ttext: plainTextGrammar,\n\t\t\ttxt: plainTextGrammar,\n\n\t\t\t/**\n\t\t\t * Creates a deep copy of the language with the given id and appends the given tokens.\n\t\t\t *\n\t\t\t * If a token in `redef` also appears in the copied language, then the existing token in the copied language\n\t\t\t * will be overwritten at its original position.\n\t\t\t *\n\t\t\t * ## Best practices\n\t\t\t *\n\t\t\t * Since the position of overwriting tokens (token in `redef` that overwrite tokens in the copied language)\n\t\t\t * doesn't matter, they can technically be in any order. However, this can be confusing to others that trying to\n\t\t\t * understand the language definition because, normally, the order of tokens matters in Prism grammars.\n\t\t\t *\n\t\t\t * Therefore, it is encouraged to order overwriting tokens according to the positions of the overwritten tokens.\n\t\t\t * Furthermore, all non-overwriting tokens should be placed after the overwriting ones.\n\t\t\t *\n\t\t\t * @param {string} id The id of the language to extend. This has to be a key in `Prism.languages`.\n\t\t\t * @param {Grammar} redef The new tokens to append.\n\t\t\t * @returns {Grammar} The new language created.\n\t\t\t * @public\n\t\t\t * @example\n\t\t\t * Prism.languages['css-with-colors'] = Prism.languages.extend('css', {\n\t\t\t *     // Prism.languages.css already has a 'comment' token, so this token will overwrite CSS' 'comment' token\n\t\t\t *     // at its original position\n\t\t\t *     'comment': { ... },\n\t\t\t *     // CSS doesn't have a 'color' token, so this token will be appended\n\t\t\t *     'color': /\\b(?:red|green|blue)\\b/\n\t\t\t * });\n\t\t\t */\n\t\t\textend: function (id, redef) {\n\t\t\t\tvar lang = _.util.clone(_.languages[id]);\n\n\t\t\t\tfor (var key in redef) {\n\t\t\t\t\tlang[key] = redef[key];\n\t\t\t\t}\n\n\t\t\t\treturn lang;\n\t\t\t},\n\n\t\t\t/**\n\t\t\t * Inserts tokens _before_ another token in a language definition or any other grammar.\n\t\t\t *\n\t\t\t * ## Usage\n\t\t\t *\n\t\t\t * This helper method makes it easy to modify existing languages. For example, the CSS language definition\n\t\t\t * not only defines CSS highlighting for CSS documents, but also needs to define highlighting for CSS embedded\n\t\t\t * in HTML through `<style>` elements. To do this, it needs to modify `Prism.languages.markup` and add the\n\t\t\t * appropriate tokens. However, `Prism.languages.markup` is a regular JavaScript object literal, so if you do\n\t\t\t * this:\n\t\t\t *\n\t\t\t * ```js\n\t\t\t * Prism.languages.markup.style = {\n\t\t\t *     // token\n\t\t\t * };\n\t\t\t * ```\n\t\t\t *\n\t\t\t * then the `style` token will be added (and processed) at the end. `insertBefore` allows you to insert tokens\n\t\t\t * before existing tokens. For the CSS example above, you would use it like this:\n\t\t\t *\n\t\t\t * ```js\n\t\t\t * Prism.languages.insertBefore('markup', 'cdata', {\n\t\t\t *     'style': {\n\t\t\t *         // token\n\t\t\t *     }\n\t\t\t * });\n\t\t\t * ```\n\t\t\t *\n\t\t\t * ## Special cases\n\t\t\t *\n\t\t\t * If the grammars of `inside` and `insert` have tokens with the same name, the tokens in `inside`'s grammar\n\t\t\t * will be ignored.\n\t\t\t *\n\t\t\t * This behavior can be used to insert tokens after `before`:\n\t\t\t *\n\t\t\t * ```js\n\t\t\t * Prism.languages.insertBefore('markup', 'comment', {\n\t\t\t *     'comment': Prism.languages.markup.comment,\n\t\t\t *     // tokens after 'comment'\n\t\t\t * });\n\t\t\t * ```\n\t\t\t *\n\t\t\t * ## Limitations\n\t\t\t *\n\t\t\t * The main problem `insertBefore` has to solve is iteration order. Since ES2015, the iteration order for object\n\t\t\t * properties is guaranteed to be the insertion order (except for integer keys) but some browsers behave\n\t\t\t * differently when keys are deleted and re-inserted. So `insertBefore` can't be implemented by temporarily\n\t\t\t * deleting properties which is necessary to insert at arbitrary positions.\n\t\t\t *\n\t\t\t * To solve this problem, `insertBefore` doesn't actually insert the given tokens into the target object.\n\t\t\t * Instead, it will create a new object and replace all references to the target object with the new one. This\n\t\t\t * can be done without temporarily deleting properties, so the iteration order is well-defined.\n\t\t\t *\n\t\t\t * However, only references that can be reached from `Prism.languages` or `insert` will be replaced. I.e. if\n\t\t\t * you hold the target object in a variable, then the value of the variable will not change.\n\t\t\t *\n\t\t\t * ```js\n\t\t\t * var oldMarkup = Prism.languages.markup;\n\t\t\t * var newMarkup = Prism.languages.insertBefore('markup', 'comment', { ... });\n\t\t\t *\n\t\t\t * assert(oldMarkup !== Prism.languages.markup);\n\t\t\t * assert(newMarkup === Prism.languages.markup);\n\t\t\t * ```\n\t\t\t *\n\t\t\t * @param {string} inside The property of `root` (e.g. a language id in `Prism.languages`) that contains the\n\t\t\t * object to be modified.\n\t\t\t * @param {string} before The key to insert before.\n\t\t\t * @param {Grammar} insert An object containing the key-value pairs to be inserted.\n\t\t\t * @param {Object<string, any>} [root] The object containing `inside`, i.e. the object that contains the\n\t\t\t * object to be modified.\n\t\t\t *\n\t\t\t * Defaults to `Prism.languages`.\n\t\t\t * @returns {Grammar} The new grammar object.\n\t\t\t * @public\n\t\t\t */\n\t\t\tinsertBefore: function (inside, before, insert, root) {\n\t\t\t\troot = root || /** @type {any} */ (_.languages);\n\t\t\t\tvar grammar = root[inside];\n\t\t\t\t/** @type {Grammar} */\n\t\t\t\tvar ret = {};\n\n\t\t\t\tfor (var token in grammar) {\n\t\t\t\t\tif (grammar.hasOwnProperty(token)) {\n\n\t\t\t\t\t\tif (token == before) {\n\t\t\t\t\t\t\tfor (var newToken in insert) {\n\t\t\t\t\t\t\t\tif (insert.hasOwnProperty(newToken)) {\n\t\t\t\t\t\t\t\t\tret[newToken] = insert[newToken];\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Do not insert token which also occur in insert. See #1525\n\t\t\t\t\t\tif (!insert.hasOwnProperty(token)) {\n\t\t\t\t\t\t\tret[token] = grammar[token];\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tvar old = root[inside];\n\t\t\t\troot[inside] = ret;\n\n\t\t\t\t// Update references in other language definitions\n\t\t\t\t_.languages.DFS(_.languages, function (key, value) {\n\t\t\t\t\tif (value === old && key != inside) {\n\t\t\t\t\t\tthis[key] = ret;\n\t\t\t\t\t}\n\t\t\t\t});\n\n\t\t\t\treturn ret;\n\t\t\t},\n\n\t\t\t// Traverse a language definition with Depth First Search\n\t\t\tDFS: function DFS(o, callback, type, visited) {\n\t\t\t\tvisited = visited || {};\n\n\t\t\t\tvar objId = _.util.objId;\n\n\t\t\t\tfor (var i in o) {\n\t\t\t\t\tif (o.hasOwnProperty(i)) {\n\t\t\t\t\t\tcallback.call(o, i, o[i], type || i);\n\n\t\t\t\t\t\tvar property = o[i];\n\t\t\t\t\t\tvar propertyType = _.util.type(property);\n\n\t\t\t\t\t\tif (propertyType === 'Object' && !visited[objId(property)]) {\n\t\t\t\t\t\t\tvisited[objId(property)] = true;\n\t\t\t\t\t\t\tDFS(property, callback, null, visited);\n\t\t\t\t\t\t} else if (propertyType === 'Array' && !visited[objId(property)]) {\n\t\t\t\t\t\t\tvisited[objId(property)] = true;\n\t\t\t\t\t\t\tDFS(property, callback, i, visited);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\n\t\tplugins: {},\n\n\t\t/**\n\t\t * This is the most high-level function in Prism’s API.\n\t\t * It fetches all the elements that have a `.language-xxxx` class and then calls {@link Prism.highlightElement} on\n\t\t * each one of them.\n\t\t *\n\t\t * This is equivalent to `Prism.highlightAllUnder(document, async, callback)`.\n\t\t *\n\t\t * @param {boolean} [async=false] Same as in {@link Prism.highlightAllUnder}.\n\t\t * @param {HighlightCallback} [callback] Same as in {@link Prism.highlightAllUnder}.\n\t\t * @memberof Prism\n\t\t * @public\n\t\t */\n\t\thighlightAll: function (async, callback) {\n\t\t\t_.highlightAllUnder(document, async, callback);\n\t\t},\n\n\t\t/**\n\t\t * Fetches all the descendants of `container` that have a `.language-xxxx` class and then calls\n\t\t * {@link Prism.highlightElement} on each one of them.\n\t\t *\n\t\t * The following hooks will be run:\n\t\t * 1. `before-highlightall`\n\t\t * 2. `before-all-elements-highlight`\n\t\t * 3. All hooks of {@link Prism.highlightElement} for each element.\n\t\t *\n\t\t * @param {ParentNode} container The root element, whose descendants that have a `.language-xxxx` class will be highlighted.\n\t\t * @param {boolean} [async=false] Whether each element is to be highlighted asynchronously using Web Workers.\n\t\t * @param {HighlightCallback} [callback] An optional callback to be invoked on each element after its highlighting is done.\n\t\t * @memberof Prism\n\t\t * @public\n\t\t */\n\t\thighlightAllUnder: function (container, async, callback) {\n\t\t\tvar env = {\n\t\t\t\tcallback: callback,\n\t\t\t\tcontainer: container,\n\t\t\t\tselector: 'code[class*=\"language-\"], [class*=\"language-\"] code, code[class*=\"lang-\"], [class*=\"lang-\"] code'\n\t\t\t};\n\n\t\t\t_.hooks.run('before-highlightall', env);\n\n\t\t\tenv.elements = Array.prototype.slice.apply(env.container.querySelectorAll(env.selector));\n\n\t\t\t_.hooks.run('before-all-elements-highlight', env);\n\n\t\t\tfor (var i = 0, element; (element = env.elements[i++]);) {\n\t\t\t\t_.highlightElement(element, async === true, env.callback);\n\t\t\t}\n\t\t},\n\n\t\t/**\n\t\t * Highlights the code inside a single element.\n\t\t *\n\t\t * The following hooks will be run:\n\t\t * 1. `before-sanity-check`\n\t\t * 2. `before-highlight`\n\t\t * 3. All hooks of {@link Prism.highlight}. These hooks will be run by an asynchronous worker if `async` is `true`.\n\t\t * 4. `before-insert`\n\t\t * 5. `after-highlight`\n\t\t * 6. `complete`\n\t\t *\n\t\t * Some the above hooks will be skipped if the element doesn't contain any text or there is no grammar loaded for\n\t\t * the element's language.\n\t\t *\n\t\t * @param {Element} element The element containing the code.\n\t\t * It must have a class of `language-xxxx` to be processed, where `xxxx` is a valid language identifier.\n\t\t * @param {boolean} [async=false] Whether the element is to be highlighted asynchronously using Web Workers\n\t\t * to improve performance and avoid blocking the UI when highlighting very large chunks of code. This option is\n\t\t * [disabled by default](https://prismjs.com/faq.html#why-is-asynchronous-highlighting-disabled-by-default).\n\t\t *\n\t\t * Note: All language definitions required to highlight the code must be included in the main `prism.js` file for\n\t\t * asynchronous highlighting to work. You can build your own bundle on the\n\t\t * [Download page](https://prismjs.com/download.html).\n\t\t * @param {HighlightCallback} [callback] An optional callback to be invoked after the highlighting is done.\n\t\t * Mostly useful when `async` is `true`, since in that case, the highlighting is done asynchronously.\n\t\t * @memberof Prism\n\t\t * @public\n\t\t */\n\t\thighlightElement: function (element, async, callback) {\n\t\t\t// Find language\n\t\t\tvar language = _.util.getLanguage(element);\n\t\t\tvar grammar = _.languages[language];\n\n\t\t\t// Set language on the element, if not present\n\t\t\t_.util.setLanguage(element, language);\n\n\t\t\t// Set language on the parent, for styling\n\t\t\tvar parent = element.parentElement;\n\t\t\tif (parent && parent.nodeName.toLowerCase() === 'pre') {\n\t\t\t\t_.util.setLanguage(parent, language);\n\t\t\t}\n\n\t\t\tvar code = element.textContent;\n\n\t\t\tvar env = {\n\t\t\t\telement: element,\n\t\t\t\tlanguage: language,\n\t\t\t\tgrammar: grammar,\n\t\t\t\tcode: code\n\t\t\t};\n\n\t\t\tfunction insertHighlightedCode(highlightedCode) {\n\t\t\t\tenv.highlightedCode = highlightedCode;\n\n\t\t\t\t_.hooks.run('before-insert', env);\n\n\t\t\t\tenv.element.innerHTML = env.highlightedCode;\n\n\t\t\t\t_.hooks.run('after-highlight', env);\n\t\t\t\t_.hooks.run('complete', env);\n\t\t\t\tcallback && callback.call(env.element);\n\t\t\t}\n\n\t\t\t_.hooks.run('before-sanity-check', env);\n\n\t\t\t// plugins may change/add the parent/element\n\t\t\tparent = env.element.parentElement;\n\t\t\tif (parent && parent.nodeName.toLowerCase() === 'pre' && !parent.hasAttribute('tabindex')) {\n\t\t\t\tparent.setAttribute('tabindex', '0');\n\t\t\t}\n\n\t\t\tif (!env.code) {\n\t\t\t\t_.hooks.run('complete', env);\n\t\t\t\tcallback && callback.call(env.element);\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t_.hooks.run('before-highlight', env);\n\n\t\t\tif (!env.grammar) {\n\t\t\t\tinsertHighlightedCode(_.util.encode(env.code));\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif (async && _self.Worker) {\n\t\t\t\tvar worker = new Worker(_.filename);\n\n\t\t\t\tworker.onmessage = function (evt) {\n\t\t\t\t\tinsertHighlightedCode(evt.data);\n\t\t\t\t};\n\n\t\t\t\tworker.postMessage(JSON.stringify({\n\t\t\t\t\tlanguage: env.language,\n\t\t\t\t\tcode: env.code,\n\t\t\t\t\timmediateClose: true\n\t\t\t\t}));\n\t\t\t} else {\n\t\t\t\tinsertHighlightedCode(_.highlight(env.code, env.grammar, env.language));\n\t\t\t}\n\t\t},\n\n\t\t/**\n\t\t * Low-level function, only use if you know what you’re doing. It accepts a string of text as input\n\t\t * and the language definitions to use, and returns a string with the HTML produced.\n\t\t *\n\t\t * The following hooks will be run:\n\t\t * 1. `before-tokenize`\n\t\t * 2. `after-tokenize`\n\t\t * 3. `wrap`: On each {@link Token}.\n\t\t *\n\t\t * @param {string} text A string with the code to be highlighted.\n\t\t * @param {Grammar} grammar An object containing the tokens to use.\n\t\t *\n\t\t * Usually a language definition like `Prism.languages.markup`.\n\t\t * @param {string} language The name of the language definition passed to `grammar`.\n\t\t * @returns {string} The highlighted HTML.\n\t\t * @memberof Prism\n\t\t * @public\n\t\t * @example\n\t\t * Prism.highlight('var foo = true;', Prism.languages.javascript, 'javascript');\n\t\t */\n\t\thighlight: function (text, grammar, language) {\n\t\t\tvar env = {\n\t\t\t\tcode: text,\n\t\t\t\tgrammar: grammar,\n\t\t\t\tlanguage: language\n\t\t\t};\n\t\t\t_.hooks.run('before-tokenize', env);\n\t\t\tif (!env.grammar) {\n\t\t\t\tthrow new Error('The language \"' + env.language + '\" has no grammar.');\n\t\t\t}\n\t\t\tenv.tokens = _.tokenize(env.code, env.grammar);\n\t\t\t_.hooks.run('after-tokenize', env);\n\t\t\treturn Token.stringify(_.util.encode(env.tokens), env.language);\n\t\t},\n\n\t\t/**\n\t\t * This is the heart of Prism, and the most low-level function you can use. It accepts a string of text as input\n\t\t * and the language definitions to use, and returns an array with the tokenized code.\n\t\t *\n\t\t * When the language definition includes nested tokens, the function is called recursively on each of these tokens.\n\t\t *\n\t\t * This method could be useful in other contexts as well, as a very crude parser.\n\t\t *\n\t\t * @param {string} text A string with the code to be highlighted.\n\t\t * @param {Grammar} grammar An object containing the tokens to use.\n\t\t *\n\t\t * Usually a language definition like `Prism.languages.markup`.\n\t\t * @returns {TokenStream} An array of strings and tokens, a token stream.\n\t\t * @memberof Prism\n\t\t * @public\n\t\t * @example\n\t\t * let code = `var foo = 0;`;\n\t\t * let tokens = Prism.tokenize(code, Prism.languages.javascript);\n\t\t * tokens.forEach(token => {\n\t\t *     if (token instanceof Prism.Token && token.type === 'number') {\n\t\t *         console.log(`Found numeric literal: ${token.content}`);\n\t\t *     }\n\t\t * });\n\t\t */\n\t\ttokenize: function (text, grammar) {\n\t\t\tvar rest = grammar.rest;\n\t\t\tif (rest) {\n\t\t\t\tfor (var token in rest) {\n\t\t\t\t\tgrammar[token] = rest[token];\n\t\t\t\t}\n\n\t\t\t\tdelete grammar.rest;\n\t\t\t}\n\n\t\t\tvar tokenList = new LinkedList();\n\t\t\taddAfter(tokenList, tokenList.head, text);\n\n\t\t\tmatchGrammar(text, tokenList, grammar, tokenList.head, 0);\n\n\t\t\treturn toArray(tokenList);\n\t\t},\n\n\t\t/**\n\t\t * @namespace\n\t\t * @memberof Prism\n\t\t * @public\n\t\t */\n\t\thooks: {\n\t\t\tall: {},\n\n\t\t\t/**\n\t\t\t * Adds the given callback to the list of callbacks for the given hook.\n\t\t\t *\n\t\t\t * The callback will be invoked when the hook it is registered for is run.\n\t\t\t * Hooks are usually directly run by a highlight function but you can also run hooks yourself.\n\t\t\t *\n\t\t\t * One callback function can be registered to multiple hooks and the same hook multiple times.\n\t\t\t *\n\t\t\t * @param {string} name The name of the hook.\n\t\t\t * @param {HookCallback} callback The callback function which is given environment variables.\n\t\t\t * @public\n\t\t\t */\n\t\t\tadd: function (name, callback) {\n\t\t\t\tvar hooks = _.hooks.all;\n\n\t\t\t\thooks[name] = hooks[name] || [];\n\n\t\t\t\thooks[name].push(callback);\n\t\t\t},\n\n\t\t\t/**\n\t\t\t * Runs a hook invoking all registered callbacks with the given environment variables.\n\t\t\t *\n\t\t\t * Callbacks will be invoked synchronously and in the order in which they were registered.\n\t\t\t *\n\t\t\t * @param {string} name The name of the hook.\n\t\t\t * @param {Object<string, any>} env The environment variables of the hook passed to all callbacks registered.\n\t\t\t * @public\n\t\t\t */\n\t\t\trun: function (name, env) {\n\t\t\t\tvar callbacks = _.hooks.all[name];\n\n\t\t\t\tif (!callbacks || !callbacks.length) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tfor (var i = 0, callback; (callback = callbacks[i++]);) {\n\t\t\t\t\tcallback(env);\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\n\t\tToken: Token\n\t};\n\t_self.Prism = _;\n\n\n\t// Typescript note:\n\t// The following can be used to import the Token type in JSDoc:\n\t//\n\t//   @typedef {InstanceType<import(\"./prism-core\")[\"Token\"]>} Token\n\n\t/**\n\t * Creates a new token.\n\t *\n\t * @param {string} type See {@link Token#type type}\n\t * @param {string | TokenStream} content See {@link Token#content content}\n\t * @param {string|string[]} [alias] The alias(es) of the token.\n\t * @param {string} [matchedStr=\"\"] A copy of the full string this token was created from.\n\t * @class\n\t * @global\n\t * @public\n\t */\n\tfunction Token(type, content, alias, matchedStr) {\n\t\t/**\n\t\t * The type of the token.\n\t\t *\n\t\t * This is usually the key of a pattern in a {@link Grammar}.\n\t\t *\n\t\t * @type {string}\n\t\t * @see GrammarToken\n\t\t * @public\n\t\t */\n\t\tthis.type = type;\n\t\t/**\n\t\t * The strings or tokens contained by this token.\n\t\t *\n\t\t * This will be a token stream if the pattern matched also defined an `inside` grammar.\n\t\t *\n\t\t * @type {string | TokenStream}\n\t\t * @public\n\t\t */\n\t\tthis.content = content;\n\t\t/**\n\t\t * The alias(es) of the token.\n\t\t *\n\t\t * @type {string|string[]}\n\t\t * @see GrammarToken\n\t\t * @public\n\t\t */\n\t\tthis.alias = alias;\n\t\t// Copy of the full string this token was created from\n\t\tthis.length = (matchedStr || '').length | 0;\n\t}\n\n\t/**\n\t * A token stream is an array of strings and {@link Token Token} objects.\n\t *\n\t * Token streams have to fulfill a few properties that are assumed by most functions (mostly internal ones) that process\n\t * them.\n\t *\n\t * 1. No adjacent strings.\n\t * 2. No empty strings.\n\t *\n\t *    The only exception here is the token stream that only contains the empty string and nothing else.\n\t *\n\t * @typedef {Array<string | Token>} TokenStream\n\t * @global\n\t * @public\n\t */\n\n\t/**\n\t * Converts the given token or token stream to an HTML representation.\n\t *\n\t * The following hooks will be run:\n\t * 1. `wrap`: On each {@link Token}.\n\t *\n\t * @param {string | Token | TokenStream} o The token or token stream to be converted.\n\t * @param {string} language The name of current language.\n\t * @returns {string} The HTML representation of the token or token stream.\n\t * @memberof Token\n\t * @static\n\t */\n\tToken.stringify = function stringify(o, language) {\n\t\tif (typeof o == 'string') {\n\t\t\treturn o;\n\t\t}\n\t\tif (Array.isArray(o)) {\n\t\t\tvar s = '';\n\t\t\to.forEach(function (e) {\n\t\t\t\ts += stringify(e, language);\n\t\t\t});\n\t\t\treturn s;\n\t\t}\n\n\t\tvar env = {\n\t\t\ttype: o.type,\n\t\t\tcontent: stringify(o.content, language),\n\t\t\ttag: 'span',\n\t\t\tclasses: ['token', o.type],\n\t\t\tattributes: {},\n\t\t\tlanguage: language\n\t\t};\n\n\t\tvar aliases = o.alias;\n\t\tif (aliases) {\n\t\t\tif (Array.isArray(aliases)) {\n\t\t\t\tArray.prototype.push.apply(env.classes, aliases);\n\t\t\t} else {\n\t\t\t\tenv.classes.push(aliases);\n\t\t\t}\n\t\t}\n\n\t\t_.hooks.run('wrap', env);\n\n\t\tvar attributes = '';\n\t\tfor (var name in env.attributes) {\n\t\t\tattributes += ' ' + name + '=\"' + (env.attributes[name] || '').replace(/\"/g, '&quot;') + '\"';\n\t\t}\n\n\t\treturn '<' + env.tag + ' class=\"' + env.classes.join(' ') + '\"' + attributes + '>' + env.content + '</' + env.tag + '>';\n\t};\n\n\t/**\n\t * @param {RegExp} pattern\n\t * @param {number} pos\n\t * @param {string} text\n\t * @param {boolean} lookbehind\n\t * @returns {RegExpExecArray | null}\n\t */\n\tfunction matchPattern(pattern, pos, text, lookbehind) {\n\t\tpattern.lastIndex = pos;\n\t\tvar match = pattern.exec(text);\n\t\tif (match && lookbehind && match[1]) {\n\t\t\t// change the match to remove the text matched by the Prism lookbehind group\n\t\t\tvar lookbehindLength = match[1].length;\n\t\t\tmatch.index += lookbehindLength;\n\t\t\tmatch[0] = match[0].slice(lookbehindLength);\n\t\t}\n\t\treturn match;\n\t}\n\n\t/**\n\t * @param {string} text\n\t * @param {LinkedList<string | Token>} tokenList\n\t * @param {any} grammar\n\t * @param {LinkedListNode<string | Token>} startNode\n\t * @param {number} startPos\n\t * @param {RematchOptions} [rematch]\n\t * @returns {void}\n\t * @private\n\t *\n\t * @typedef RematchOptions\n\t * @property {string} cause\n\t * @property {number} reach\n\t */\n\tfunction matchGrammar(text, tokenList, grammar, startNode, startPos, rematch) {\n\t\tfor (var token in grammar) {\n\t\t\tif (!grammar.hasOwnProperty(token) || !grammar[token]) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tvar patterns = grammar[token];\n\t\t\tpatterns = Array.isArray(patterns) ? patterns : [patterns];\n\n\t\t\tfor (var j = 0; j < patterns.length; ++j) {\n\t\t\t\tif (rematch && rematch.cause == token + ',' + j) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tvar patternObj = patterns[j];\n\t\t\t\tvar inside = patternObj.inside;\n\t\t\t\tvar lookbehind = !!patternObj.lookbehind;\n\t\t\t\tvar greedy = !!patternObj.greedy;\n\t\t\t\tvar alias = patternObj.alias;\n\n\t\t\t\tif (greedy && !patternObj.pattern.global) {\n\t\t\t\t\t// Without the global flag, lastIndex won't work\n\t\t\t\t\tvar flags = patternObj.pattern.toString().match(/[imsuy]*$/)[0];\n\t\t\t\t\tpatternObj.pattern = RegExp(patternObj.pattern.source, flags + 'g');\n\t\t\t\t}\n\n\t\t\t\t/** @type {RegExp} */\n\t\t\t\tvar pattern = patternObj.pattern || patternObj;\n\n\t\t\t\tfor ( // iterate the token list and keep track of the current token/string position\n\t\t\t\t\tvar currentNode = startNode.next, pos = startPos;\n\t\t\t\t\tcurrentNode !== tokenList.tail;\n\t\t\t\t\tpos += currentNode.value.length, currentNode = currentNode.next\n\t\t\t\t) {\n\n\t\t\t\t\tif (rematch && pos >= rematch.reach) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\n\t\t\t\t\tvar str = currentNode.value;\n\n\t\t\t\t\tif (tokenList.length > text.length) {\n\t\t\t\t\t\t// Something went terribly wrong, ABORT, ABORT!\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\tif (str instanceof Token) {\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\n\t\t\t\t\tvar removeCount = 1; // this is the to parameter of removeBetween\n\t\t\t\t\tvar match;\n\n\t\t\t\t\tif (greedy) {\n\t\t\t\t\t\tmatch = matchPattern(pattern, pos, text, lookbehind);\n\t\t\t\t\t\tif (!match || match.index >= text.length) {\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tvar from = match.index;\n\t\t\t\t\t\tvar to = match.index + match[0].length;\n\t\t\t\t\t\tvar p = pos;\n\n\t\t\t\t\t\t// find the node that contains the match\n\t\t\t\t\t\tp += currentNode.value.length;\n\t\t\t\t\t\twhile (from >= p) {\n\t\t\t\t\t\t\tcurrentNode = currentNode.next;\n\t\t\t\t\t\t\tp += currentNode.value.length;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t// adjust pos (and p)\n\t\t\t\t\t\tp -= currentNode.value.length;\n\t\t\t\t\t\tpos = p;\n\n\t\t\t\t\t\t// the current node is a Token, then the match starts inside another Token, which is invalid\n\t\t\t\t\t\tif (currentNode.value instanceof Token) {\n\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// find the last node which is affected by this match\n\t\t\t\t\t\tfor (\n\t\t\t\t\t\t\tvar k = currentNode;\n\t\t\t\t\t\t\tk !== tokenList.tail && (p < to || typeof k.value === 'string');\n\t\t\t\t\t\t\tk = k.next\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\tremoveCount++;\n\t\t\t\t\t\t\tp += k.value.length;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tremoveCount--;\n\n\t\t\t\t\t\t// replace with the new match\n\t\t\t\t\t\tstr = text.slice(pos, p);\n\t\t\t\t\t\tmatch.index -= pos;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tmatch = matchPattern(pattern, 0, str, lookbehind);\n\t\t\t\t\t\tif (!match) {\n\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t// eslint-disable-next-line no-redeclare\n\t\t\t\t\tvar from = match.index;\n\t\t\t\t\tvar matchStr = match[0];\n\t\t\t\t\tvar before = str.slice(0, from);\n\t\t\t\t\tvar after = str.slice(from + matchStr.length);\n\n\t\t\t\t\tvar reach = pos + str.length;\n\t\t\t\t\tif (rematch && reach > rematch.reach) {\n\t\t\t\t\t\trematch.reach = reach;\n\t\t\t\t\t}\n\n\t\t\t\t\tvar removeFrom = currentNode.prev;\n\n\t\t\t\t\tif (before) {\n\t\t\t\t\t\tremoveFrom = addAfter(tokenList, removeFrom, before);\n\t\t\t\t\t\tpos += before.length;\n\t\t\t\t\t}\n\n\t\t\t\t\tremoveRange(tokenList, removeFrom, removeCount);\n\n\t\t\t\t\tvar wrapped = new Token(token, inside ? _.tokenize(matchStr, inside) : matchStr, alias, matchStr);\n\t\t\t\t\tcurrentNode = addAfter(tokenList, removeFrom, wrapped);\n\n\t\t\t\t\tif (after) {\n\t\t\t\t\t\taddAfter(tokenList, currentNode, after);\n\t\t\t\t\t}\n\n\t\t\t\t\tif (removeCount > 1) {\n\t\t\t\t\t\t// at least one Token object was removed, so we have to do some rematching\n\t\t\t\t\t\t// this can only happen if the current pattern is greedy\n\n\t\t\t\t\t\t/** @type {RematchOptions} */\n\t\t\t\t\t\tvar nestedRematch = {\n\t\t\t\t\t\t\tcause: token + ',' + j,\n\t\t\t\t\t\t\treach: reach\n\t\t\t\t\t\t};\n\t\t\t\t\t\tmatchGrammar(text, tokenList, grammar, currentNode.prev, pos, nestedRematch);\n\n\t\t\t\t\t\t// the reach might have been extended because of the rematching\n\t\t\t\t\t\tif (rematch && nestedRematch.reach > rematch.reach) {\n\t\t\t\t\t\t\trematch.reach = nestedRematch.reach;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * @typedef LinkedListNode\n\t * @property {T} value\n\t * @property {LinkedListNode<T> | null} prev The previous node.\n\t * @property {LinkedListNode<T> | null} next The next node.\n\t * @template T\n\t * @private\n\t */\n\n\t/**\n\t * @template T\n\t * @private\n\t */\n\tfunction LinkedList() {\n\t\t/** @type {LinkedListNode<T>} */\n\t\tvar head = { value: null, prev: null, next: null };\n\t\t/** @type {LinkedListNode<T>} */\n\t\tvar tail = { value: null, prev: head, next: null };\n\t\thead.next = tail;\n\n\t\t/** @type {LinkedListNode<T>} */\n\t\tthis.head = head;\n\t\t/** @type {LinkedListNode<T>} */\n\t\tthis.tail = tail;\n\t\tthis.length = 0;\n\t}\n\n\t/**\n\t * Adds a new node with the given value to the list.\n\t *\n\t * @param {LinkedList<T>} list\n\t * @param {LinkedListNode<T>} node\n\t * @param {T} value\n\t * @returns {LinkedListNode<T>} The added node.\n\t * @template T\n\t */\n\tfunction addAfter(list, node, value) {\n\t\t// assumes that node != list.tail && values.length >= 0\n\t\tvar next = node.next;\n\n\t\tvar newNode = { value: value, prev: node, next: next };\n\t\tnode.next = newNode;\n\t\tnext.prev = newNode;\n\t\tlist.length++;\n\n\t\treturn newNode;\n\t}\n\t/**\n\t * Removes `count` nodes after the given node. The given node will not be removed.\n\t *\n\t * @param {LinkedList<T>} list\n\t * @param {LinkedListNode<T>} node\n\t * @param {number} count\n\t * @template T\n\t */\n\tfunction removeRange(list, node, count) {\n\t\tvar next = node.next;\n\t\tfor (var i = 0; i < count && next !== list.tail; i++) {\n\t\t\tnext = next.next;\n\t\t}\n\t\tnode.next = next;\n\t\tnext.prev = node;\n\t\tlist.length -= i;\n\t}\n\t/**\n\t * @param {LinkedList<T>} list\n\t * @returns {T[]}\n\t * @template T\n\t */\n\tfunction toArray(list) {\n\t\tvar array = [];\n\t\tvar node = list.head.next;\n\t\twhile (node !== list.tail) {\n\t\t\tarray.push(node.value);\n\t\t\tnode = node.next;\n\t\t}\n\t\treturn array;\n\t}\n\n\n\tif (!_self.document) {\n\t\tif (!_self.addEventListener) {\n\t\t\t// in Node.js\n\t\t\treturn _;\n\t\t}\n\n\t\tif (!_.disableWorkerMessageHandler) {\n\t\t\t// In worker\n\t\t\t_self.addEventListener('message', function (evt) {\n\t\t\t\tvar message = JSON.parse(evt.data);\n\t\t\t\tvar lang = message.language;\n\t\t\t\tvar code = message.code;\n\t\t\t\tvar immediateClose = message.immediateClose;\n\n\t\t\t\t_self.postMessage(_.highlight(code, _.languages[lang], lang));\n\t\t\t\tif (immediateClose) {\n\t\t\t\t\t_self.close();\n\t\t\t\t}\n\t\t\t}, false);\n\t\t}\n\n\t\treturn _;\n\t}\n\n\t// Get current script and highlight\n\tvar script = _.util.currentScript();\n\n\tif (script) {\n\t\t_.filename = script.src;\n\n\t\tif (script.hasAttribute('data-manual')) {\n\t\t\t_.manual = true;\n\t\t}\n\t}\n\n\tfunction highlightAutomaticallyCallback() {\n\t\tif (!_.manual) {\n\t\t\t_.highlightAll();\n\t\t}\n\t}\n\n\tif (!_.manual) {\n\t\t// If the document state is \"loading\", then we'll use DOMContentLoaded.\n\t\t// If the document state is \"interactive\" and the prism.js script is deferred, then we'll also use the\n\t\t// DOMContentLoaded event because there might be some plugins or languages which have also been deferred and they\n\t\t// might take longer one animation frame to execute which can create a race condition where only some plugins have\n\t\t// been loaded when Prism.highlightAll() is executed, depending on how fast resources are loaded.\n\t\t// See https://github.com/PrismJS/prism/issues/2102\n\t\tvar readyState = document.readyState;\n\t\tif (readyState === 'loading' || readyState === 'interactive' && script && script.defer) {\n\t\t\tdocument.addEventListener('DOMContentLoaded', highlightAutomaticallyCallback);\n\t\t} else {\n\t\t\tif (window.requestAnimationFrame) {\n\t\t\t\twindow.requestAnimationFrame(highlightAutomaticallyCallback);\n\t\t\t} else {\n\t\t\t\twindow.setTimeout(highlightAutomaticallyCallback, 16);\n\t\t\t}\n\t\t}\n\t}\n\n\treturn _;\n\n}(_self));\n\nif (typeof module !== 'undefined' && module.exports) {\n\tmodule.exports = Prism;\n}\n\n// hack for components to work correctly in node.js\nif (typeof global !== 'undefined') {\n\tglobal.Prism = Prism;\n}\n\n// some additional documentation/types\n\n/**\n * The expansion of a simple `RegExp` literal to support additional properties.\n *\n * @typedef GrammarToken\n * @property {RegExp} pattern The regular expression of the token.\n * @property {boolean} [lookbehind=false] If `true`, then the first capturing group of `pattern` will (effectively)\n * behave as a lookbehind group meaning that the captured text will not be part of the matched text of the new token.\n * @property {boolean} [greedy=false] Whether the token is greedy.\n * @property {string|string[]} [alias] An optional alias or list of aliases.\n * @property {Grammar} [inside] The nested grammar of this token.\n *\n * The `inside` grammar will be used to tokenize the text value of each token of this kind.\n *\n * This can be used to make nested and even recursive language definitions.\n *\n * Note: This can cause infinite recursion. Be careful when you embed different languages or even the same language into\n * each another.\n * @global\n * @public\n */\n\n/**\n * @typedef Grammar\n * @type {Object<string, RegExp | GrammarToken | Array<RegExp | GrammarToken>>}\n * @property {Grammar} [rest] An optional grammar object that will be appended to this grammar.\n * @global\n * @public\n */\n\n/**\n * A function which will invoked after an element was successfully highlighted.\n *\n * @callback HighlightCallback\n * @param {Element} element The element successfully highlighted.\n * @returns {void}\n * @global\n * @public\n */\n\n/**\n * @callback HookCallback\n * @param {Object<string, any>} env The environment variables of the hook.\n * @returns {void}\n * @global\n * @public\n */\n","'use strict'\n\n/* global window, self */\n\n// istanbul ignore next - Don't allow Prism to run on page load in browser or\n// to start messaging from workers.\nvar ctx =\n  typeof globalThis === 'object'\n    ? globalThis\n    : typeof self === 'object'\n    ? self\n    : typeof window === 'object'\n    ? window\n    : typeof global === 'object'\n    ? global\n    : {}\n\nvar restore = capture()\n\nctx.Prism = {manual: true, disableWorkerMessageHandler: true}\n\n// Load all stuff in `prism.js` itself, except for `prism-file-highlight.js`.\n// The wrapped non-leaky grammars are loaded instead of Prism’s originals.\nvar h = require('hastscript')\nvar decode = require('parse-entities')\nvar Prism = require('prismjs/components/prism-core')\nvar markup = require('./lang/markup')\nvar css = require('./lang/css')\nvar clike = require('./lang/clike')\nvar js = require('./lang/javascript')\n\nrestore()\n\nvar own = {}.hasOwnProperty\n\n// Inherit.\nfunction Refractor() {}\n\nRefractor.prototype = Prism\n\n// Construct.\nvar refract = new Refractor()\n\n// Expose.\nmodule.exports = refract\n\n// Create.\nrefract.highlight = highlight\nrefract.register = register\nrefract.alias = alias\nrefract.registered = registered\nrefract.listLanguages = listLanguages\n\n// Register bundled grammars.\nregister(markup)\nregister(css)\nregister(clike)\nregister(js)\n\nrefract.util.encode = encode\nrefract.Token.stringify = stringify\n\nfunction register(grammar) {\n  if (typeof grammar !== 'function' || !grammar.displayName) {\n    throw new Error('Expected `function` for `grammar`, got `' + grammar + '`')\n  }\n\n  // Do not duplicate registrations.\n  if (refract.languages[grammar.displayName] === undefined) {\n    grammar(refract)\n  }\n}\n\nfunction alias(name, alias) {\n  var languages = refract.languages\n  var map = name\n  var key\n  var list\n  var length\n  var index\n\n  if (alias) {\n    map = {}\n    map[name] = alias\n  }\n\n  for (key in map) {\n    list = map[key]\n    list = typeof list === 'string' ? [list] : list\n    length = list.length\n    index = -1\n\n    while (++index < length) {\n      languages[list[index]] = languages[key]\n    }\n  }\n}\n\nfunction highlight(value, name) {\n  var sup = Prism.highlight\n  var grammar\n\n  if (typeof value !== 'string') {\n    throw new Error('Expected `string` for `value`, got `' + value + '`')\n  }\n\n  // `name` is a grammar object.\n  if (refract.util.type(name) === 'Object') {\n    grammar = name\n    name = null\n  } else {\n    if (typeof name !== 'string') {\n      throw new Error('Expected `string` for `name`, got `' + name + '`')\n    }\n\n    if (own.call(refract.languages, name)) {\n      grammar = refract.languages[name]\n    } else {\n      throw new Error('Unknown language: `' + name + '` is not registered')\n    }\n  }\n\n  return sup.call(this, value, grammar, name)\n}\n\nfunction registered(language) {\n  if (typeof language !== 'string') {\n    throw new Error('Expected `string` for `language`, got `' + language + '`')\n  }\n\n  return own.call(refract.languages, language)\n}\n\nfunction listLanguages() {\n  var languages = refract.languages\n  var list = []\n  var language\n\n  for (language in languages) {\n    if (\n      own.call(languages, language) &&\n      typeof languages[language] === 'object'\n    ) {\n      list.push(language)\n    }\n  }\n\n  return list\n}\n\nfunction stringify(value, language, parent) {\n  var env\n\n  if (typeof value === 'string') {\n    return {type: 'text', value: value}\n  }\n\n  if (refract.util.type(value) === 'Array') {\n    return stringifyAll(value, language)\n  }\n\n  env = {\n    type: value.type,\n    content: refract.Token.stringify(value.content, language, parent),\n    tag: 'span',\n    classes: ['token', value.type],\n    attributes: {},\n    language: language,\n    parent: parent\n  }\n\n  if (value.alias) {\n    env.classes = env.classes.concat(value.alias)\n  }\n\n  refract.hooks.run('wrap', env)\n\n  return h(\n    env.tag + '.' + env.classes.join('.'),\n    attributes(env.attributes),\n    env.content\n  )\n}\n\nfunction stringifyAll(values, language) {\n  var result = []\n  var length = values.length\n  var index = -1\n  var value\n\n  while (++index < length) {\n    value = values[index]\n\n    if (value !== '' && value !== null && value !== undefined) {\n      result.push(value)\n    }\n  }\n\n  index = -1\n  length = result.length\n\n  while (++index < length) {\n    value = result[index]\n    result[index] = refract.Token.stringify(value, language, result)\n  }\n\n  return result\n}\n\nfunction encode(tokens) {\n  return tokens\n}\n\nfunction attributes(attrs) {\n  var key\n\n  for (key in attrs) {\n    attrs[key] = decode(attrs[key])\n  }\n\n  return attrs\n}\n\nfunction capture() {\n  var defined = 'Prism' in ctx\n  /* istanbul ignore next */\n  var current = defined ? ctx.Prism : undefined\n\n  return restore\n\n  function restore() {\n    /* istanbul ignore else - Clean leaks after Prism. */\n    if (defined) {\n      ctx.Prism = current\n    } else {\n      delete ctx.Prism\n    }\n\n    defined = undefined\n    current = undefined\n  }\n}\n","'use strict'\n\nmodule.exports = markup\nmarkup.displayName = 'markup'\nmarkup.aliases = ['html', 'mathml', 'svg', 'xml', 'ssml', 'atom', 'rss']\nfunction markup(Prism) {\n  Prism.languages.markup = {\n    comment: {\n      pattern: /<!--(?:(?!<!--)[\\s\\S])*?-->/,\n      greedy: true\n    },\n    prolog: {\n      pattern: /<\\?[\\s\\S]+?\\?>/,\n      greedy: true\n    },\n    doctype: {\n      // https://www.w3.org/TR/xml/#NT-doctypedecl\n      pattern:\n        /<!DOCTYPE(?:[^>\"'[\\]]|\"[^\"]*\"|'[^']*')+(?:\\[(?:[^<\"'\\]]|\"[^\"]*\"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\\]\\s*)?>/i,\n      greedy: true,\n      inside: {\n        'internal-subset': {\n          pattern: /(^[^\\[]*\\[)[\\s\\S]+(?=\\]>$)/,\n          lookbehind: true,\n          greedy: true,\n          inside: null // see below\n        },\n        string: {\n          pattern: /\"[^\"]*\"|'[^']*'/,\n          greedy: true\n        },\n        punctuation: /^<!|>$|[[\\]]/,\n        'doctype-tag': /^DOCTYPE/i,\n        name: /[^\\s<>'\"]+/\n      }\n    },\n    cdata: {\n      pattern: /<!\\[CDATA\\[[\\s\\S]*?\\]\\]>/i,\n      greedy: true\n    },\n    tag: {\n      pattern:\n        /<\\/?(?!\\d)[^\\s>\\/=$<%]+(?:\\s(?:\\s*[^\\s>\\/=]+(?:\\s*=\\s*(?:\"[^\"]*\"|'[^']*'|[^\\s'\">=]+(?=[\\s>]))|(?=[\\s/>])))+)?\\s*\\/?>/,\n      greedy: true,\n      inside: {\n        tag: {\n          pattern: /^<\\/?[^\\s>\\/]+/,\n          inside: {\n            punctuation: /^<\\/?/,\n            namespace: /^[^\\s>\\/:]+:/\n          }\n        },\n        'special-attr': [],\n        'attr-value': {\n          pattern: /=\\s*(?:\"[^\"]*\"|'[^']*'|[^\\s'\">=]+)/,\n          inside: {\n            punctuation: [\n              {\n                pattern: /^=/,\n                alias: 'attr-equals'\n              },\n              /\"|'/\n            ]\n          }\n        },\n        punctuation: /\\/?>/,\n        'attr-name': {\n          pattern: /[^\\s>\\/]+/,\n          inside: {\n            namespace: /^[^\\s>\\/:]+:/\n          }\n        }\n      }\n    },\n    entity: [\n      {\n        pattern: /&[\\da-z]{1,8};/i,\n        alias: 'named-entity'\n      },\n      /&#x?[\\da-f]{1,8};/i\n    ]\n  }\n  Prism.languages.markup['tag'].inside['attr-value'].inside['entity'] =\n    Prism.languages.markup['entity']\n  Prism.languages.markup['doctype'].inside['internal-subset'].inside =\n    Prism.languages.markup // Plugin to make entity title show the real entity, idea by Roman Komarov\n  Prism.hooks.add('wrap', function (env) {\n    if (env.type === 'entity') {\n      env.attributes['title'] = env.content.value.replace(/&amp;/, '&')\n    }\n  })\n  Object.defineProperty(Prism.languages.markup.tag, 'addInlined', {\n    /**\n     * Adds an inlined language to markup.\n     *\n     * An example of an inlined language is CSS with `<style>` tags.\n     *\n     * @param {string} tagName The name of the tag that contains the inlined language. This name will be treated as\n     * case insensitive.\n     * @param {string} lang The language key.\n     * @example\n     * addInlined('style', 'css');\n     */\n    value: function addInlined(tagName, lang) {\n      var includedCdataInside = {}\n      includedCdataInside['language-' + lang] = {\n        pattern: /(^<!\\[CDATA\\[)[\\s\\S]+?(?=\\]\\]>$)/i,\n        lookbehind: true,\n        inside: Prism.languages[lang]\n      }\n      includedCdataInside['cdata'] = /^<!\\[CDATA\\[|\\]\\]>$/i\n      var inside = {\n        'included-cdata': {\n          pattern: /<!\\[CDATA\\[[\\s\\S]*?\\]\\]>/i,\n          inside: includedCdataInside\n        }\n      }\n      inside['language-' + lang] = {\n        pattern: /[\\s\\S]+/,\n        inside: Prism.languages[lang]\n      }\n      var def = {}\n      def[tagName] = {\n        pattern: RegExp(\n          /(<__[^>]*>)(?:<!\\[CDATA\\[(?:[^\\]]|\\](?!\\]>))*\\]\\]>|(?!<!\\[CDATA\\[)[\\s\\S])*?(?=<\\/__>)/.source.replace(\n            /__/g,\n            function () {\n              return tagName\n            }\n          ),\n          'i'\n        ),\n        lookbehind: true,\n        greedy: true,\n        inside: inside\n      }\n      Prism.languages.insertBefore('markup', 'cdata', def)\n    }\n  })\n  Object.defineProperty(Prism.languages.markup.tag, 'addAttribute', {\n    /**\n     * Adds an pattern to highlight languages embedded in HTML attributes.\n     *\n     * An example of an inlined language is CSS with `style` attributes.\n     *\n     * @param {string} attrName The name of the tag that contains the inlined language. This name will be treated as\n     * case insensitive.\n     * @param {string} lang The language key.\n     * @example\n     * addAttribute('style', 'css');\n     */\n    value: function (attrName, lang) {\n      Prism.languages.markup.tag.inside['special-attr'].push({\n        pattern: RegExp(\n          /(^|[\"'\\s])/.source +\n            '(?:' +\n            attrName +\n            ')' +\n            /\\s*=\\s*(?:\"[^\"]*\"|'[^']*'|[^\\s'\">=]+(?=[\\s>]))/.source,\n          'i'\n        ),\n        lookbehind: true,\n        inside: {\n          'attr-name': /^[^\\s=]+/,\n          'attr-value': {\n            pattern: /=[\\s\\S]+/,\n            inside: {\n              value: {\n                pattern: /(^=\\s*([\"']|(?![\"'])))\\S[\\s\\S]*(?=\\2$)/,\n                lookbehind: true,\n                alias: [lang, 'language-' + lang],\n                inside: Prism.languages[lang]\n              },\n              punctuation: [\n                {\n                  pattern: /^=/,\n                  alias: 'attr-equals'\n                },\n                /\"|'/\n              ]\n            }\n          }\n        }\n      })\n    }\n  })\n  Prism.languages.html = Prism.languages.markup\n  Prism.languages.mathml = Prism.languages.markup\n  Prism.languages.svg = Prism.languages.markup\n  Prism.languages.xml = Prism.languages.extend('markup', {})\n  Prism.languages.ssml = Prism.languages.xml\n  Prism.languages.atom = Prism.languages.xml\n  Prism.languages.rss = Prism.languages.xml\n}\n","'use strict'\n\nmodule.exports = css\ncss.displayName = 'css'\ncss.aliases = []\nfunction css(Prism) {\n  ;(function (Prism) {\n    var string =\n      /(?:\"(?:\\\\(?:\\r\\n|[\\s\\S])|[^\"\\\\\\r\\n])*\"|'(?:\\\\(?:\\r\\n|[\\s\\S])|[^'\\\\\\r\\n])*')/\n    Prism.languages.css = {\n      comment: /\\/\\*[\\s\\S]*?\\*\\//,\n      atrule: {\n        pattern: /@[\\w-](?:[^;{\\s]|\\s+(?![\\s{]))*(?:;|(?=\\s*\\{))/,\n        inside: {\n          rule: /^@[\\w-]+/,\n          'selector-function-argument': {\n            pattern:\n              /(\\bselector\\s*\\(\\s*(?![\\s)]))(?:[^()\\s]|\\s+(?![\\s)])|\\((?:[^()]|\\([^()]*\\))*\\))+(?=\\s*\\))/,\n            lookbehind: true,\n            alias: 'selector'\n          },\n          keyword: {\n            pattern: /(^|[^\\w-])(?:and|not|only|or)(?![\\w-])/,\n            lookbehind: true\n          } // See rest below\n        }\n      },\n      url: {\n        // https://drafts.csswg.org/css-values-3/#urls\n        pattern: RegExp(\n          '\\\\burl\\\\((?:' +\n            string.source +\n            '|' +\n            /(?:[^\\\\\\r\\n()\"']|\\\\[\\s\\S])*/.source +\n            ')\\\\)',\n          'i'\n        ),\n        greedy: true,\n        inside: {\n          function: /^url/i,\n          punctuation: /^\\(|\\)$/,\n          string: {\n            pattern: RegExp('^' + string.source + '$'),\n            alias: 'url'\n          }\n        }\n      },\n      selector: {\n        pattern: RegExp(\n          '(^|[{}\\\\s])[^{}\\\\s](?:[^{};\"\\'\\\\s]|\\\\s+(?![\\\\s{])|' +\n            string.source +\n            ')*(?=\\\\s*\\\\{)'\n        ),\n        lookbehind: true\n      },\n      string: {\n        pattern: string,\n        greedy: true\n      },\n      property: {\n        pattern:\n          /(^|[^-\\w\\xA0-\\uFFFF])(?!\\s)[-_a-z\\xA0-\\uFFFF](?:(?!\\s)[-\\w\\xA0-\\uFFFF])*(?=\\s*:)/i,\n        lookbehind: true\n      },\n      important: /!important\\b/i,\n      function: {\n        pattern: /(^|[^-a-z0-9])[-a-z0-9]+(?=\\()/i,\n        lookbehind: true\n      },\n      punctuation: /[(){};:,]/\n    }\n    Prism.languages.css['atrule'].inside.rest = Prism.languages.css\n    var markup = Prism.languages.markup\n    if (markup) {\n      markup.tag.addInlined('style', 'css')\n      markup.tag.addAttribute('style', 'css')\n    }\n  })(Prism)\n}\n","'use strict'\n\nmodule.exports = clike\nclike.displayName = 'clike'\nclike.aliases = []\nfunction clike(Prism) {\n  Prism.languages.clike = {\n    comment: [\n      {\n        pattern: /(^|[^\\\\])\\/\\*[\\s\\S]*?(?:\\*\\/|$)/,\n        lookbehind: true,\n        greedy: true\n      },\n      {\n        pattern: /(^|[^\\\\:])\\/\\/.*/,\n        lookbehind: true,\n        greedy: true\n      }\n    ],\n    string: {\n      pattern: /([\"'])(?:\\\\(?:\\r\\n|[\\s\\S])|(?!\\1)[^\\\\\\r\\n])*\\1/,\n      greedy: true\n    },\n    'class-name': {\n      pattern:\n        /(\\b(?:class|extends|implements|instanceof|interface|new|trait)\\s+|\\bcatch\\s+\\()[\\w.\\\\]+/i,\n      lookbehind: true,\n      inside: {\n        punctuation: /[.\\\\]/\n      }\n    },\n    keyword:\n      /\\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\\b/,\n    boolean: /\\b(?:false|true)\\b/,\n    function: /\\b\\w+(?=\\()/,\n    number: /\\b0x[\\da-f]+\\b|(?:\\b\\d+(?:\\.\\d*)?|\\B\\.\\d+)(?:e[+-]?\\d+)?/i,\n    operator: /[<>]=?|[!=]=?=?|--?|\\+\\+?|&&?|\\|\\|?|[?*/~^%]/,\n    punctuation: /[{}[\\];(),.:]/\n  }\n}\n","'use strict'\n\nmodule.exports = javascript\njavascript.displayName = 'javascript'\njavascript.aliases = ['js']\nfunction javascript(Prism) {\n  Prism.languages.javascript = Prism.languages.extend('clike', {\n    'class-name': [\n      Prism.languages.clike['class-name'],\n      {\n        pattern:\n          /(^|[^$\\w\\xA0-\\uFFFF])(?!\\s)[_$A-Z\\xA0-\\uFFFF](?:(?!\\s)[$\\w\\xA0-\\uFFFF])*(?=\\.(?:constructor|prototype))/,\n        lookbehind: true\n      }\n    ],\n    keyword: [\n      {\n        pattern: /((?:^|\\})\\s*)catch\\b/,\n        lookbehind: true\n      },\n      {\n        pattern:\n          /(^|[^.]|\\.\\.\\.\\s*)\\b(?:as|assert(?=\\s*\\{)|async(?=\\s*(?:function\\b|\\(|[$\\w\\xA0-\\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\\s*(?:\\{|$))|for|from(?=\\s*(?:['\"]|$))|function|(?:get|set)(?=\\s*(?:[#\\[$\\w\\xA0-\\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\\b/,\n        lookbehind: true\n      }\n    ],\n    // Allow for all non-ASCII characters (See http://stackoverflow.com/a/2008444)\n    function:\n      /#?(?!\\s)[_$a-zA-Z\\xA0-\\uFFFF](?:(?!\\s)[$\\w\\xA0-\\uFFFF])*(?=\\s*(?:\\.\\s*(?:apply|bind|call)\\s*)?\\()/,\n    number: {\n      pattern: RegExp(\n        /(^|[^\\w$])/.source +\n          '(?:' + // constant\n          (/NaN|Infinity/.source +\n            '|' + // binary integer\n            /0[bB][01]+(?:_[01]+)*n?/.source +\n            '|' + // octal integer\n            /0[oO][0-7]+(?:_[0-7]+)*n?/.source +\n            '|' + // hexadecimal integer\n            /0[xX][\\dA-Fa-f]+(?:_[\\dA-Fa-f]+)*n?/.source +\n            '|' + // decimal bigint\n            /\\d+(?:_\\d+)*n/.source +\n            '|' + // decimal number (integer or float) but no bigint\n            /(?:\\d+(?:_\\d+)*(?:\\.(?:\\d+(?:_\\d+)*)?)?|\\.\\d+(?:_\\d+)*)(?:[Ee][+-]?\\d+(?:_\\d+)*)?/\n              .source) +\n          ')' +\n          /(?![\\w$])/.source\n      ),\n      lookbehind: true\n    },\n    operator:\n      /--|\\+\\+|\\*\\*=?|=>|&&=?|\\|\\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\\.{3}|\\?\\?=?|\\?\\.?|[~:]/\n  })\n  Prism.languages.javascript['class-name'][0].pattern =\n    /(\\b(?:class|extends|implements|instanceof|interface|new)\\s+)[\\w.\\\\]+/\n  Prism.languages.insertBefore('javascript', 'keyword', {\n    regex: {\n      // eslint-disable-next-line regexp/no-dupe-characters-character-class\n      pattern:\n        /((?:^|[^$\\w\\xA0-\\uFFFF.\"'\\])\\s]|\\b(?:return|yield))\\s*)\\/(?:\\[(?:[^\\]\\\\\\r\\n]|\\\\.)*\\]|\\\\.|[^/\\\\\\[\\r\\n])+\\/[dgimyus]{0,7}(?=(?:\\s|\\/\\*(?:[^*]|\\*(?!\\/))*\\*\\/)*(?:$|[\\r\\n,.;:})\\]]|\\/\\/))/,\n      lookbehind: true,\n      greedy: true,\n      inside: {\n        'regex-source': {\n          pattern: /^(\\/)[\\s\\S]+(?=\\/[a-z]*$)/,\n          lookbehind: true,\n          alias: 'language-regex',\n          inside: Prism.languages.regex\n        },\n        'regex-delimiter': /^\\/|\\/$/,\n        'regex-flags': /^[a-z]+$/\n      }\n    },\n    // This must be declared before keyword because we use \"function\" inside the look-forward\n    'function-variable': {\n      pattern:\n        /#?(?!\\s)[_$a-zA-Z\\xA0-\\uFFFF](?:(?!\\s)[$\\w\\xA0-\\uFFFF])*(?=\\s*[=:]\\s*(?:async\\s*)?(?:\\bfunction\\b|(?:\\((?:[^()]|\\([^()]*\\))*\\)|(?!\\s)[_$a-zA-Z\\xA0-\\uFFFF](?:(?!\\s)[$\\w\\xA0-\\uFFFF])*)\\s*=>))/,\n      alias: 'function'\n    },\n    parameter: [\n      {\n        pattern:\n          /(function(?:\\s+(?!\\s)[_$a-zA-Z\\xA0-\\uFFFF](?:(?!\\s)[$\\w\\xA0-\\uFFFF])*)?\\s*\\(\\s*)(?!\\s)(?:[^()\\s]|\\s+(?![\\s)])|\\([^()]*\\))+(?=\\s*\\))/,\n        lookbehind: true,\n        inside: Prism.languages.javascript\n      },\n      {\n        pattern:\n          /(^|[^$\\w\\xA0-\\uFFFF])(?!\\s)[_$a-z\\xA0-\\uFFFF](?:(?!\\s)[$\\w\\xA0-\\uFFFF])*(?=\\s*=>)/i,\n        lookbehind: true,\n        inside: Prism.languages.javascript\n      },\n      {\n        pattern:\n          /(\\(\\s*)(?!\\s)(?:[^()\\s]|\\s+(?![\\s)])|\\([^()]*\\))+(?=\\s*\\)\\s*=>)/,\n        lookbehind: true,\n        inside: Prism.languages.javascript\n      },\n      {\n        pattern:\n          /((?:\\b|\\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\\w\\xA0-\\uFFFF]))(?:(?!\\s)[_$a-zA-Z\\xA0-\\uFFFF](?:(?!\\s)[$\\w\\xA0-\\uFFFF])*\\s*)\\(\\s*|\\]\\s*\\(\\s*)(?!\\s)(?:[^()\\s]|\\s+(?![\\s)])|\\([^()]*\\))+(?=\\s*\\)\\s*\\{)/,\n        lookbehind: true,\n        inside: Prism.languages.javascript\n      }\n    ],\n    constant: /\\b[A-Z](?:[A-Z_]|\\dx?)*\\b/\n  })\n  Prism.languages.insertBefore('javascript', 'string', {\n    hashbang: {\n      pattern: /^#!.*/,\n      greedy: true,\n      alias: 'comment'\n    },\n    'template-string': {\n      pattern:\n        /`(?:\\\\[\\s\\S]|\\$\\{(?:[^{}]|\\{(?:[^{}]|\\{[^}]*\\})*\\})+\\}|(?!\\$\\{)[^\\\\`])*`/,\n      greedy: true,\n      inside: {\n        'template-punctuation': {\n          pattern: /^`|`$/,\n          alias: 'string'\n        },\n        interpolation: {\n          pattern:\n            /((?:^|[^\\\\])(?:\\\\{2})*)\\$\\{(?:[^{}]|\\{(?:[^{}]|\\{[^}]*\\})*\\})+\\}/,\n          lookbehind: true,\n          inside: {\n            'interpolation-punctuation': {\n              pattern: /^\\$\\{|\\}$/,\n              alias: 'punctuation'\n            },\n            rest: Prism.languages.javascript\n          }\n        },\n        string: /[\\s\\S]+/\n      }\n    },\n    'string-property': {\n      pattern:\n        /((?:^|[,{])[ \\t]*)([\"'])(?:\\\\(?:\\r\\n|[\\s\\S])|(?!\\2)[^\\\\\\r\\n])*\\2(?=\\s*:)/m,\n      lookbehind: true,\n      greedy: true,\n      alias: 'property'\n    }\n  })\n  Prism.languages.insertBefore('javascript', 'operator', {\n    'literal-property': {\n      pattern:\n        /((?:^|[,{])[ \\t]*)(?!\\s)[_$a-zA-Z\\xA0-\\uFFFF](?:(?!\\s)[$\\w\\xA0-\\uFFFF])*(?=\\s*:)/m,\n      lookbehind: true,\n      alias: 'property'\n    }\n  })\n  if (Prism.languages.markup) {\n    Prism.languages.markup.tag.addInlined('script', 'javascript') // add attribute support for all DOM events.\n    // https://developer.mozilla.org/en-US/docs/Web/Events#Standard_events\n    Prism.languages.markup.tag.addAttribute(\n      /on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/\n        .source,\n      'javascript'\n    )\n  }\n  Prism.languages.js = Prism.languages.javascript\n}\n","\"use strict\";\n\nvar React = require('react');\nfunction mapChild(child, i, depth) {\n  if (child.tagName) {\n    var className = child.properties && Array.isArray(child.properties.className) ? child.properties.className.join(' ') : child.properties.className;\n    return React.createElement(child.tagName, Object.assign({\n      key: \"fract-\".concat(depth, \"-\").concat(i)\n    }, child.properties, {\n      className: className\n    }), child.children && child.children.map(mapWithDepth(depth + 1)));\n  }\n  return child.value;\n}\nfunction mapWithDepth(depth) {\n  return function mapChildrenWithDepth(child, i) {\n    return mapChild(child, i, depth);\n  };\n}\nexports.depth = mapWithDepth;\n//# sourceMappingURL=mapChildren.js.map","'use strict'\n\nmodule.exports = convert\n\nfunction convert(test) {\n  if (test == null) {\n    return ok\n  }\n\n  if (typeof test === 'string') {\n    return typeFactory(test)\n  }\n\n  if (typeof test === 'object') {\n    return 'length' in test ? anyFactory(test) : allFactory(test)\n  }\n\n  if (typeof test === 'function') {\n    return test\n  }\n\n  throw new Error('Expected function, string, or object as test')\n}\n\n// Utility assert each property in `test` is represented in `node`, and each\n// values are strictly equal.\nfunction allFactory(test) {\n  return all\n\n  function all(node) {\n    var key\n\n    for (key in test) {\n      if (node[key] !== test[key]) return false\n    }\n\n    return true\n  }\n}\n\nfunction anyFactory(tests) {\n  var checks = []\n  var index = -1\n\n  while (++index < tests.length) {\n    checks[index] = convert(tests[index])\n  }\n\n  return any\n\n  function any() {\n    var index = -1\n\n    while (++index < checks.length) {\n      if (checks[index].apply(this, arguments)) {\n        return true\n      }\n    }\n\n    return false\n  }\n}\n\n// Utility to convert a string into a function which checks a given node’s type\n// for said string.\nfunction typeFactory(test) {\n  return type\n\n  function type(node) {\n    return Boolean(node && node.type === test)\n  }\n}\n\n// Utility to return true.\nfunction ok() {\n  return true\n}\n","'use strict'\n\nmodule.exports = visitParents\n\nvar convert = require('unist-util-is/convert')\nvar color = require('./color')\n\nvar CONTINUE = true\nvar SKIP = 'skip'\nvar EXIT = false\n\nvisitParents.CONTINUE = CONTINUE\nvisitParents.SKIP = SKIP\nvisitParents.EXIT = EXIT\n\nfunction visitParents(tree, test, visitor, reverse) {\n  var step\n  var is\n\n  if (typeof test === 'function' && typeof visitor !== 'function') {\n    reverse = visitor\n    visitor = test\n    test = null\n  }\n\n  is = convert(test)\n  step = reverse ? -1 : 1\n\n  factory(tree, null, [])()\n\n  function factory(node, index, parents) {\n    var value = typeof node === 'object' && node !== null ? node : {}\n    var name\n\n    if (typeof value.type === 'string') {\n      name =\n        typeof value.tagName === 'string'\n          ? value.tagName\n          : typeof value.name === 'string'\n          ? value.name\n          : undefined\n\n      visit.displayName =\n        'node (' + color(value.type + (name ? '<' + name + '>' : '')) + ')'\n    }\n\n    return visit\n\n    function visit() {\n      var grandparents = parents.concat(node)\n      var result = []\n      var subresult\n      var offset\n\n      if (!test || is(node, index, parents[parents.length - 1] || null)) {\n        result = toResult(visitor(node, parents))\n\n        if (result[0] === EXIT) {\n          return result\n        }\n      }\n\n      if (node.children && result[0] !== SKIP) {\n        offset = (reverse ? node.children.length : -1) + step\n\n        while (offset > -1 && offset < node.children.length) {\n          subresult = factory(node.children[offset], offset, grandparents)()\n\n          if (subresult[0] === EXIT) {\n            return subresult\n          }\n\n          offset =\n            typeof subresult[1] === 'number' ? subresult[1] : offset + step\n        }\n      }\n\n      return result\n    }\n  }\n}\n\nfunction toResult(value) {\n  if (value !== null && typeof value === 'object' && 'length' in value) {\n    return value\n  }\n\n  if (typeof value === 'number') {\n    return [CONTINUE, value]\n  }\n\n  return [value]\n}\n","module.exports = color\nfunction color(d) {\n  return '\\u001B[33m' + d + '\\u001B[39m'\n}\n","\"use strict\";\n\nvar filter = require('unist-util-filter');\nvar visit = require('unist-util-visit-parents');\nvar NodeMap = require('./map');\nfunction lineNumberify(ast) {\n  var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {\n    lineNumber: 1\n  };\n  return ast.reduce(function (result, node) {\n    var lineStart = context.lineNumber;\n    if (node.type === 'text') {\n      if (node.value.indexOf('\\n') === -1) {\n        node.lineStart = lineStart;\n        node.lineEnd = lineStart;\n        result.nodes.push(node);\n        return result;\n      }\n      var lines = node.value.split('\\n');\n      for (var i = 0; i < lines.length; i++) {\n        var lineNum = i === 0 ? context.lineNumber : ++context.lineNumber;\n        result.nodes.push({\n          type: 'text',\n          value: i === lines.length - 1 ? lines[i] : \"\".concat(lines[i], \"\\n\"),\n          lineStart: lineNum,\n          lineEnd: lineNum\n        });\n      }\n      result.lineNumber = context.lineNumber;\n      return result;\n    }\n    if (node.children) {\n      var processed = lineNumberify(node.children, context);\n      var firstChild = processed.nodes[0];\n      var lastChild = processed.nodes[processed.nodes.length - 1];\n      node.lineStart = firstChild ? firstChild.lineStart : lineStart;\n      node.lineEnd = lastChild ? lastChild.lineEnd : lineStart;\n      node.children = processed.nodes;\n      result.lineNumber = processed.lineNumber;\n      result.nodes.push(node);\n      return result;\n    }\n    result.nodes.push(node);\n    return result;\n  }, {\n    nodes: [],\n    lineNumber: context.lineNumber\n  });\n}\nfunction unwrapLine(markerLine, nodes) {\n  var tree = {\n    type: 'root',\n    children: nodes\n  };\n  var headMap = new NodeMap();\n  var lineMap = new NodeMap();\n  var tailMap = new NodeMap();\n  var cloned = [];\n  function addCopy(map, node, ancestors) {\n    cloned.push(node);\n    ancestors.forEach(function (ancestor) {\n      if (!map.has(ancestor)) {\n        map.set(ancestor, Object.assign({}, ancestor, {\n          children: []\n        }));\n        if (ancestor !== tree) {\n          cloned.push(ancestor);\n        }\n      }\n    });\n    var i = ancestors.length;\n    while (i--) {\n      var ancestor = map.get(ancestors[i]);\n      var child = ancestors[i + 1];\n      var leaf = map.get(child) || node;\n      if (ancestor.children.indexOf(leaf) === -1) {\n        ancestor.children.push(leaf);\n      }\n    }\n  }\n  visit(tree, function (node, ancestors) {\n    if (node.children) {\n      return;\n    }\n\n    // These nodes are on previous lines, but nested within the same structure\n    if (node.lineStart < markerLine) {\n      addCopy(headMap, node, ancestors);\n      return;\n    }\n\n    // These nodes are on the target line\n    if (node.lineStart === markerLine) {\n      addCopy(lineMap, node, ancestors);\n      return;\n    }\n\n    // If we have shared ancestors with some of the cloned elements,\n    // create another tree of the remaining nodes\n    if (node.lineEnd > markerLine && cloned.some(function (clone) {\n      return ancestors.indexOf(clone) !== -1;\n    })) {\n      addCopy(tailMap, node, ancestors);\n    }\n  });\n\n  // Get the remaining nodes - the ones who were not part of the same tree\n  var filtered = filter(tree, function (node) {\n    return cloned.indexOf(node) === -1;\n  });\n  var getChildren = function getChildren(map) {\n    var rootNode = map.get(tree);\n    if (!rootNode) {\n      return [];\n    }\n    visit(rootNode, function (leaf, ancestors) {\n      if (leaf.children) {\n        leaf.lineStart = 0;\n        leaf.lineEnd = 0;\n        return;\n      }\n      ancestors.forEach(function (ancestor) {\n        ancestor.lineStart = Math.max(ancestor.lineStart, leaf.lineStart);\n        ancestor.lineEnd = Math.max(ancestor.lineEnd, leaf.lineEnd);\n      });\n    });\n    return rootNode.children;\n  };\n  var merged = [].concat(getChildren(headMap), getChildren(lineMap), getChildren(tailMap), filtered ? filtered.children : []);\n  headMap.clear();\n  lineMap.clear();\n  tailMap.clear();\n  return merged;\n}\nfunction wrapBatch(children, marker, options) {\n  var className = marker.className || 'refractor-marker';\n  return {\n    type: 'element',\n    tagName: marker.component || 'div',\n    properties: marker.component ? Object.assign({}, options, {\n      className: className\n    }) : {\n      className: className\n    },\n    children: children,\n    lineStart: marker.line,\n    lineEnd: children[children.length - 1].lineEnd,\n    isMarker: true\n  };\n}\nfunction wrapLines(treeNodes, markers, options) {\n  if (markers.length === 0 || treeNodes.length === 0) {\n    return treeNodes;\n  }\n  var ast = markers.reduce(function (acc, marker) {\n    return unwrapLine(marker.line, acc);\n  }, treeNodes);\n\n  // Container for the new AST\n  var wrapped = [];\n\n  // Note: Markers are already sorted by line number (ascending)\n  var astIndex = 0;\n  for (var m = 0; m < markers.length; m++) {\n    var marker = markers[m];\n\n    // Start by eating all AST nodes with line numbers up to the given marker\n    for (var node = ast[astIndex]; node && node.lineEnd < marker.line; node = ast[++astIndex]) {\n      wrapped.push(node);\n    }\n\n    // Now proceed to find all _contiguous_ nodes on the same line\n    var batch = [];\n    for (var _node = ast[astIndex]; _node && _node.lineEnd === marker.line; _node = ast[++astIndex]) {\n      batch.push(_node);\n    }\n\n    // Now add that batch, if we have anything\n    if (batch.length > 0) {\n      wrapped.push(wrapBatch(batch, marker, options));\n    }\n  }\n\n  // Now add the remaining AST nodes\n  while (astIndex < ast.length) {\n    wrapped.push(ast[astIndex++]);\n  }\n  return wrapped;\n}\nfunction addMarkers(ast, options) {\n  var markers = options.markers.map(function (marker) {\n    return marker.line ? marker : {\n      line: marker\n    };\n  }).sort(function (nodeA, nodeB) {\n    return nodeA.line - nodeB.line;\n  });\n  var numbered = lineNumberify(ast).nodes;\n  return wrapLines(numbered, markers, options);\n}\nmodule.exports = addMarkers;\n//# sourceMappingURL=addMarkers.js.map","'use strict'\n\nvar convert = require('unist-util-is/convert')\n\nmodule.exports = filter\n\nvar own = {}.hasOwnProperty\n\nfunction filter(tree, options, test) {\n  var is = convert(test || options)\n  var cascade = options.cascade == null ? true : options.cascade\n\n  return preorder(tree, null, null)\n\n  function preorder(node, index, parent) {\n    var children\n    var childIndex\n    var result\n    var next\n    var key\n\n    if (!is(node, index, parent)) return null\n\n    if (node.children) {\n      children = []\n      childIndex = -1\n\n      while (++childIndex < node.children.length) {\n        result = preorder(node.children[childIndex], childIndex, node)\n\n        if (result) {\n          children.push(result)\n        }\n      }\n\n      if (cascade && node.children.length && !children.length) return null\n    }\n\n    // Create a shallow clone, using the new children.\n    next = {}\n\n    for (key in node) {\n      /* istanbul ignore else - Prototype injection. */\n      if (own.call(node, key)) {\n        next[key] = key === 'children' ? children : node[key]\n      }\n    }\n\n    return next\n  }\n}\n","\"use strict\";\n\n/**\n * Weird \"map\" polyfill, that's weak if possible\n */\nmodule.exports = typeof WeakMap === 'function' ? HappyMap : SadMap;\n\n// Happy path! Fakes a `clear()` if possible (noop)\nfunction HappyMap() {\n  this.map = new WeakMap();\n}\nHappyMap.prototype.has = function (key) {\n  return this.map.has(key);\n};\nHappyMap.prototype.set = function (key, value) {\n  this.map.set(key, value);\n  return this;\n};\nHappyMap.prototype.get = function (key) {\n  return this.map.get(key);\n};\nHappyMap.prototype.clear = function () {\n  // intentional noop, since we dont need to/cant clear\n};\n\n// Sad path! Use less stylish approach\nfunction SadMap() {\n  this.keys = [];\n  this.values = [];\n}\nSadMap.prototype.has = function (key) {\n  return this.keys.indexOf(key) !== -1;\n};\nSadMap.prototype.set = function (key, value) {\n  var index = this.keys.indexOf(key);\n  if (index === -1) {\n    this.keys.push(key);\n    this.values.push(value);\n  } else {\n    this.values[index] = value;\n  }\n  return this;\n};\nSadMap.prototype.get = function (key) {\n  var index = this.keys.indexOf(key);\n  return index === -1 ? undefined : this.values[index];\n};\nSadMap.prototype.clear = function () {\n  this.keys = [];\n  this.values = [];\n};\n//# sourceMappingURL=map.js.map","/**\n * Custom positioning reference element.\n * @see https://floating-ui.com/docs/virtual-elements\n */\n\nconst sides = ['top', 'right', 'bottom', 'left'];\nconst alignments = ['start', 'end'];\nconst placements = /*#__PURE__*/sides.reduce((acc, side) => acc.concat(side, side + \"-\" + alignments[0], side + \"-\" + alignments[1]), []);\nconst min = Math.min;\nconst max = Math.max;\nconst round = Math.round;\nconst floor = Math.floor;\nconst createCoords = v => ({\n  x: v,\n  y: v\n});\nconst oppositeSideMap = {\n  left: 'right',\n  right: 'left',\n  bottom: 'top',\n  top: 'bottom'\n};\nconst oppositeAlignmentMap = {\n  start: 'end',\n  end: 'start'\n};\nfunction clamp(start, value, end) {\n  return max(start, min(value, end));\n}\nfunction evaluate(value, param) {\n  return typeof value === 'function' ? value(param) : value;\n}\nfunction getSide(placement) {\n  return placement.split('-')[0];\n}\nfunction getAlignment(placement) {\n  return placement.split('-')[1];\n}\nfunction getOppositeAxis(axis) {\n  return axis === 'x' ? 'y' : 'x';\n}\nfunction getAxisLength(axis) {\n  return axis === 'y' ? 'height' : 'width';\n}\nfunction getSideAxis(placement) {\n  return ['top', 'bottom'].includes(getSide(placement)) ? 'y' : 'x';\n}\nfunction getAlignmentAxis(placement) {\n  return getOppositeAxis(getSideAxis(placement));\n}\nfunction getAlignmentSides(placement, rects, rtl) {\n  if (rtl === void 0) {\n    rtl = false;\n  }\n  const alignment = getAlignment(placement);\n  const alignmentAxis = getAlignmentAxis(placement);\n  const length = getAxisLength(alignmentAxis);\n  let mainAlignmentSide = alignmentAxis === 'x' ? alignment === (rtl ? 'end' : 'start') ? 'right' : 'left' : alignment === 'start' ? 'bottom' : 'top';\n  if (rects.reference[length] > rects.floating[length]) {\n    mainAlignmentSide = getOppositePlacement(mainAlignmentSide);\n  }\n  return [mainAlignmentSide, getOppositePlacement(mainAlignmentSide)];\n}\nfunction getExpandedPlacements(placement) {\n  const oppositePlacement = getOppositePlacement(placement);\n  return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];\n}\nfunction getOppositeAlignmentPlacement(placement) {\n  return placement.replace(/start|end/g, alignment => oppositeAlignmentMap[alignment]);\n}\nfunction getSideList(side, isStart, rtl) {\n  const lr = ['left', 'right'];\n  const rl = ['right', 'left'];\n  const tb = ['top', 'bottom'];\n  const bt = ['bottom', 'top'];\n  switch (side) {\n    case 'top':\n    case 'bottom':\n      if (rtl) return isStart ? rl : lr;\n      return isStart ? lr : rl;\n    case 'left':\n    case 'right':\n      return isStart ? tb : bt;\n    default:\n      return [];\n  }\n}\nfunction getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {\n  const alignment = getAlignment(placement);\n  let list = getSideList(getSide(placement), direction === 'start', rtl);\n  if (alignment) {\n    list = list.map(side => side + \"-\" + alignment);\n    if (flipAlignment) {\n      list = list.concat(list.map(getOppositeAlignmentPlacement));\n    }\n  }\n  return list;\n}\nfunction getOppositePlacement(placement) {\n  return placement.replace(/left|right|bottom|top/g, side => oppositeSideMap[side]);\n}\nfunction expandPaddingObject(padding) {\n  return {\n    top: 0,\n    right: 0,\n    bottom: 0,\n    left: 0,\n    ...padding\n  };\n}\nfunction getPaddingObject(padding) {\n  return typeof padding !== 'number' ? expandPaddingObject(padding) : {\n    top: padding,\n    right: padding,\n    bottom: padding,\n    left: padding\n  };\n}\nfunction rectToClientRect(rect) {\n  const {\n    x,\n    y,\n    width,\n    height\n  } = rect;\n  return {\n    width,\n    height,\n    top: y,\n    left: x,\n    right: x + width,\n    bottom: y + height,\n    x,\n    y\n  };\n}\n\nexport { alignments, clamp, createCoords, evaluate, expandPaddingObject, floor, getAlignment, getAlignmentAxis, getAlignmentSides, getAxisLength, getExpandedPlacements, getOppositeAlignmentPlacement, getOppositeAxis, getOppositeAxisPlacements, getOppositePlacement, getPaddingObject, getSide, getSideAxis, max, min, placements, rectToClientRect, round, sides };\n","\"use strict\";\n\nvar React = require('react');\nvar fract = require('refractor/core.js');\nvar mapChildren = require('./mapChildren');\nvar addMarkers = require('./addMarkers');\n\n// eslint-disable-next-line id-length\nvar h = React.createElement;\nfunction Refractor(props) {\n  if (process.env.NODE_ENV !== 'production') {\n    if (!fract.registered(props.language)) {\n      // eslint-disable-next-line no-console\n      console.warn(\"No language definitions for \\\"\".concat(props.language, \"\\\" seems to be registered, did you forget to call `Refractor.registerLanguage()`?\"));\n    }\n  }\n  var langClassName = \"language-\".concat(props.language);\n  var codeProps = {\n    className: langClassName\n  };\n  var preProps = {\n    className: [props.className || 'refractor', langClassName].filter(Boolean).join(' ')\n  };\n  if (props.inline) {\n    codeProps.style = {\n      display: 'inline'\n    };\n    codeProps.className = props.className || 'refractor';\n  }\n  var ast = fract.highlight(props.value, props.language);\n  if (props.markers && props.markers.length > 0) {\n    ast = addMarkers(ast, {\n      markers: props.markers\n    });\n  }\n  var value = ast.length === 0 ? props.value : ast.map(mapChildren.depth(0));\n  var code = h('code', codeProps, value);\n  return props.inline ? code : h('pre', preProps, code);\n}\nRefractor.registerLanguage = function (lang) {\n  return fract.register(lang);\n};\nRefractor.hasLanguage = function (lang) {\n  return fract.registered(lang);\n};\nmodule.exports = Refractor;\n//# sourceMappingURL=Refractor.js.map","import { getSideAxis, getAlignmentAxis, getAxisLength, getSide, getAlignment, evaluate, getPaddingObject, rectToClientRect, min, clamp, placements, getAlignmentSides, getOppositeAlignmentPlacement, getOppositePlacement, getExpandedPlacements, getOppositeAxisPlacements, sides, max, getOppositeAxis } from '@floating-ui/utils';\nexport { rectToClientRect } from '@floating-ui/utils';\n\nfunction computeCoordsFromPlacement(_ref, placement, rtl) {\n  let {\n    reference,\n    floating\n  } = _ref;\n  const sideAxis = getSideAxis(placement);\n  const alignmentAxis = getAlignmentAxis(placement);\n  const alignLength = getAxisLength(alignmentAxis);\n  const side = getSide(placement);\n  const isVertical = sideAxis === 'y';\n  const commonX = reference.x + reference.width / 2 - floating.width / 2;\n  const commonY = reference.y + reference.height / 2 - floating.height / 2;\n  const commonAlign = reference[alignLength] / 2 - floating[alignLength] / 2;\n  let coords;\n  switch (side) {\n    case 'top':\n      coords = {\n        x: commonX,\n        y: reference.y - floating.height\n      };\n      break;\n    case 'bottom':\n      coords = {\n        x: commonX,\n        y: reference.y + reference.height\n      };\n      break;\n    case 'right':\n      coords = {\n        x: reference.x + reference.width,\n        y: commonY\n      };\n      break;\n    case 'left':\n      coords = {\n        x: reference.x - floating.width,\n        y: commonY\n      };\n      break;\n    default:\n      coords = {\n        x: reference.x,\n        y: reference.y\n      };\n  }\n  switch (getAlignment(placement)) {\n    case 'start':\n      coords[alignmentAxis] -= commonAlign * (rtl && isVertical ? -1 : 1);\n      break;\n    case 'end':\n      coords[alignmentAxis] += commonAlign * (rtl && isVertical ? -1 : 1);\n      break;\n  }\n  return coords;\n}\n\n/**\n * Computes the `x` and `y` coordinates that will place the floating element\n * next to a given reference element.\n *\n * This export does not have any `platform` interface logic. You will need to\n * write one for the platform you are using Floating UI with.\n */\nconst computePosition = async (reference, floating, config) => {\n  const {\n    placement = 'bottom',\n    strategy = 'absolute',\n    middleware = [],\n    platform\n  } = config;\n  const validMiddleware = middleware.filter(Boolean);\n  const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(floating));\n  let rects = await platform.getElementRects({\n    reference,\n    floating,\n    strategy\n  });\n  let {\n    x,\n    y\n  } = computeCoordsFromPlacement(rects, placement, rtl);\n  let statefulPlacement = placement;\n  let middlewareData = {};\n  let resetCount = 0;\n  for (let i = 0; i < validMiddleware.length; i++) {\n    const {\n      name,\n      fn\n    } = validMiddleware[i];\n    const {\n      x: nextX,\n      y: nextY,\n      data,\n      reset\n    } = await fn({\n      x,\n      y,\n      initialPlacement: placement,\n      placement: statefulPlacement,\n      strategy,\n      middlewareData,\n      rects,\n      platform,\n      elements: {\n        reference,\n        floating\n      }\n    });\n    x = nextX != null ? nextX : x;\n    y = nextY != null ? nextY : y;\n    middlewareData = {\n      ...middlewareData,\n      [name]: {\n        ...middlewareData[name],\n        ...data\n      }\n    };\n    if (reset && resetCount <= 50) {\n      resetCount++;\n      if (typeof reset === 'object') {\n        if (reset.placement) {\n          statefulPlacement = reset.placement;\n        }\n        if (reset.rects) {\n          rects = reset.rects === true ? await platform.getElementRects({\n            reference,\n            floating,\n            strategy\n          }) : reset.rects;\n        }\n        ({\n          x,\n          y\n        } = computeCoordsFromPlacement(rects, statefulPlacement, rtl));\n      }\n      i = -1;\n    }\n  }\n  return {\n    x,\n    y,\n    placement: statefulPlacement,\n    strategy,\n    middlewareData\n  };\n};\n\n/**\n * Resolves with an object of overflow side offsets that determine how much the\n * element is overflowing a given clipping boundary on each side.\n * - positive = overflowing the boundary by that number of pixels\n * - negative = how many pixels left before it will overflow\n * - 0 = lies flush with the boundary\n * @see https://floating-ui.com/docs/detectOverflow\n */\nasync function detectOverflow(state, options) {\n  var _await$platform$isEle;\n  if (options === void 0) {\n    options = {};\n  }\n  const {\n    x,\n    y,\n    platform,\n    rects,\n    elements,\n    strategy\n  } = state;\n  const {\n    boundary = 'clippingAncestors',\n    rootBoundary = 'viewport',\n    elementContext = 'floating',\n    altBoundary = false,\n    padding = 0\n  } = evaluate(options, state);\n  const paddingObject = getPaddingObject(padding);\n  const altContext = elementContext === 'floating' ? 'reference' : 'floating';\n  const element = elements[altBoundary ? altContext : elementContext];\n  const clippingClientRect = rectToClientRect(await platform.getClippingRect({\n    element: ((_await$platform$isEle = await (platform.isElement == null ? void 0 : platform.isElement(element))) != null ? _await$platform$isEle : true) ? element : element.contextElement || (await (platform.getDocumentElement == null ? void 0 : platform.getDocumentElement(elements.floating))),\n    boundary,\n    rootBoundary,\n    strategy\n  }));\n  const rect = elementContext === 'floating' ? {\n    x,\n    y,\n    width: rects.floating.width,\n    height: rects.floating.height\n  } : rects.reference;\n  const offsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating));\n  const offsetScale = (await (platform.isElement == null ? void 0 : platform.isElement(offsetParent))) ? (await (platform.getScale == null ? void 0 : platform.getScale(offsetParent))) || {\n    x: 1,\n    y: 1\n  } : {\n    x: 1,\n    y: 1\n  };\n  const elementClientRect = rectToClientRect(platform.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform.convertOffsetParentRelativeRectToViewportRelativeRect({\n    elements,\n    rect,\n    offsetParent,\n    strategy\n  }) : rect);\n  return {\n    top: (clippingClientRect.top - elementClientRect.top + paddingObject.top) / offsetScale.y,\n    bottom: (elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom) / offsetScale.y,\n    left: (clippingClientRect.left - elementClientRect.left + paddingObject.left) / offsetScale.x,\n    right: (elementClientRect.right - clippingClientRect.right + paddingObject.right) / offsetScale.x\n  };\n}\n\n/**\n * Provides data to position an inner element of the floating element so that it\n * appears centered to the reference element.\n * @see https://floating-ui.com/docs/arrow\n */\nconst arrow = options => ({\n  name: 'arrow',\n  options,\n  async fn(state) {\n    const {\n      x,\n      y,\n      placement,\n      rects,\n      platform,\n      elements,\n      middlewareData\n    } = state;\n    // Since `element` is required, we don't Partial<> the type.\n    const {\n      element,\n      padding = 0\n    } = evaluate(options, state) || {};\n    if (element == null) {\n      return {};\n    }\n    const paddingObject = getPaddingObject(padding);\n    const coords = {\n      x,\n      y\n    };\n    const axis = getAlignmentAxis(placement);\n    const length = getAxisLength(axis);\n    const arrowDimensions = await platform.getDimensions(element);\n    const isYAxis = axis === 'y';\n    const minProp = isYAxis ? 'top' : 'left';\n    const maxProp = isYAxis ? 'bottom' : 'right';\n    const clientProp = isYAxis ? 'clientHeight' : 'clientWidth';\n    const endDiff = rects.reference[length] + rects.reference[axis] - coords[axis] - rects.floating[length];\n    const startDiff = coords[axis] - rects.reference[axis];\n    const arrowOffsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(element));\n    let clientSize = arrowOffsetParent ? arrowOffsetParent[clientProp] : 0;\n\n    // DOM platform can return `window` as the `offsetParent`.\n    if (!clientSize || !(await (platform.isElement == null ? void 0 : platform.isElement(arrowOffsetParent)))) {\n      clientSize = elements.floating[clientProp] || rects.floating[length];\n    }\n    const centerToReference = endDiff / 2 - startDiff / 2;\n\n    // If the padding is large enough that it causes the arrow to no longer be\n    // centered, modify the padding so that it is centered.\n    const largestPossiblePadding = clientSize / 2 - arrowDimensions[length] / 2 - 1;\n    const minPadding = min(paddingObject[minProp], largestPossiblePadding);\n    const maxPadding = min(paddingObject[maxProp], largestPossiblePadding);\n\n    // Make sure the arrow doesn't overflow the floating element if the center\n    // point is outside the floating element's bounds.\n    const min$1 = minPadding;\n    const max = clientSize - arrowDimensions[length] - maxPadding;\n    const center = clientSize / 2 - arrowDimensions[length] / 2 + centerToReference;\n    const offset = clamp(min$1, center, max);\n\n    // If the reference is small enough that the arrow's padding causes it to\n    // to point to nothing for an aligned placement, adjust the offset of the\n    // floating element itself. To ensure `shift()` continues to take action,\n    // a single reset is performed when this is true.\n    const shouldAddOffset = !middlewareData.arrow && getAlignment(placement) != null && center !== offset && rects.reference[length] / 2 - (center < min$1 ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;\n    const alignmentOffset = shouldAddOffset ? center < min$1 ? center - min$1 : center - max : 0;\n    return {\n      [axis]: coords[axis] + alignmentOffset,\n      data: {\n        [axis]: offset,\n        centerOffset: center - offset - alignmentOffset,\n        ...(shouldAddOffset && {\n          alignmentOffset\n        })\n      },\n      reset: shouldAddOffset\n    };\n  }\n});\n\nfunction getPlacementList(alignment, autoAlignment, allowedPlacements) {\n  const allowedPlacementsSortedByAlignment = alignment ? [...allowedPlacements.filter(placement => getAlignment(placement) === alignment), ...allowedPlacements.filter(placement => getAlignment(placement) !== alignment)] : allowedPlacements.filter(placement => getSide(placement) === placement);\n  return allowedPlacementsSortedByAlignment.filter(placement => {\n    if (alignment) {\n      return getAlignment(placement) === alignment || (autoAlignment ? getOppositeAlignmentPlacement(placement) !== placement : false);\n    }\n    return true;\n  });\n}\n/**\n * Optimizes the visibility of the floating element by choosing the placement\n * that has the most space available automatically, without needing to specify a\n * preferred placement. Alternative to `flip`.\n * @see https://floating-ui.com/docs/autoPlacement\n */\nconst autoPlacement = function (options) {\n  if (options === void 0) {\n    options = {};\n  }\n  return {\n    name: 'autoPlacement',\n    options,\n    async fn(state) {\n      var _middlewareData$autoP, _middlewareData$autoP2, _placementsThatFitOnE;\n      const {\n        rects,\n        middlewareData,\n        placement,\n        platform,\n        elements\n      } = state;\n      const {\n        crossAxis = false,\n        alignment,\n        allowedPlacements = placements,\n        autoAlignment = true,\n        ...detectOverflowOptions\n      } = evaluate(options, state);\n      const placements$1 = alignment !== undefined || allowedPlacements === placements ? getPlacementList(alignment || null, autoAlignment, allowedPlacements) : allowedPlacements;\n      const overflow = await detectOverflow(state, detectOverflowOptions);\n      const currentIndex = ((_middlewareData$autoP = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP.index) || 0;\n      const currentPlacement = placements$1[currentIndex];\n      if (currentPlacement == null) {\n        return {};\n      }\n      const alignmentSides = getAlignmentSides(currentPlacement, rects, await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating)));\n\n      // Make `computeCoords` start from the right place.\n      if (placement !== currentPlacement) {\n        return {\n          reset: {\n            placement: placements$1[0]\n          }\n        };\n      }\n      const currentOverflows = [overflow[getSide(currentPlacement)], overflow[alignmentSides[0]], overflow[alignmentSides[1]]];\n      const allOverflows = [...(((_middlewareData$autoP2 = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP2.overflows) || []), {\n        placement: currentPlacement,\n        overflows: currentOverflows\n      }];\n      const nextPlacement = placements$1[currentIndex + 1];\n\n      // There are more placements to check.\n      if (nextPlacement) {\n        return {\n          data: {\n            index: currentIndex + 1,\n            overflows: allOverflows\n          },\n          reset: {\n            placement: nextPlacement\n          }\n        };\n      }\n      const placementsSortedByMostSpace = allOverflows.map(d => {\n        const alignment = getAlignment(d.placement);\n        return [d.placement, alignment && crossAxis ?\n        // Check along the mainAxis and main crossAxis side.\n        d.overflows.slice(0, 2).reduce((acc, v) => acc + v, 0) :\n        // Check only the mainAxis.\n        d.overflows[0], d.overflows];\n      }).sort((a, b) => a[1] - b[1]);\n      const placementsThatFitOnEachSide = placementsSortedByMostSpace.filter(d => d[2].slice(0,\n      // Aligned placements should not check their opposite crossAxis\n      // side.\n      getAlignment(d[0]) ? 2 : 3).every(v => v <= 0));\n      const resetPlacement = ((_placementsThatFitOnE = placementsThatFitOnEachSide[0]) == null ? void 0 : _placementsThatFitOnE[0]) || placementsSortedByMostSpace[0][0];\n      if (resetPlacement !== placement) {\n        return {\n          data: {\n            index: currentIndex + 1,\n            overflows: allOverflows\n          },\n          reset: {\n            placement: resetPlacement\n          }\n        };\n      }\n      return {};\n    }\n  };\n};\n\n/**\n * Optimizes the visibility of the floating element by flipping the `placement`\n * in order to keep it in view when the preferred placement(s) will overflow the\n * clipping boundary. Alternative to `autoPlacement`.\n * @see https://floating-ui.com/docs/flip\n */\nconst flip = function (options) {\n  if (options === void 0) {\n    options = {};\n  }\n  return {\n    name: 'flip',\n    options,\n    async fn(state) {\n      var _middlewareData$arrow, _middlewareData$flip;\n      const {\n        placement,\n        middlewareData,\n        rects,\n        initialPlacement,\n        platform,\n        elements\n      } = state;\n      const {\n        mainAxis: checkMainAxis = true,\n        crossAxis: checkCrossAxis = true,\n        fallbackPlacements: specifiedFallbackPlacements,\n        fallbackStrategy = 'bestFit',\n        fallbackAxisSideDirection = 'none',\n        flipAlignment = true,\n        ...detectOverflowOptions\n      } = evaluate(options, state);\n\n      // If a reset by the arrow was caused due to an alignment offset being\n      // added, we should skip any logic now since `flip()` has already done its\n      // work.\n      // https://github.com/floating-ui/floating-ui/issues/2549#issuecomment-1719601643\n      if ((_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {\n        return {};\n      }\n      const side = getSide(placement);\n      const initialSideAxis = getSideAxis(initialPlacement);\n      const isBasePlacement = getSide(initialPlacement) === initialPlacement;\n      const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));\n      const fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [getOppositePlacement(initialPlacement)] : getExpandedPlacements(initialPlacement));\n      const hasFallbackAxisSideDirection = fallbackAxisSideDirection !== 'none';\n      if (!specifiedFallbackPlacements && hasFallbackAxisSideDirection) {\n        fallbackPlacements.push(...getOppositeAxisPlacements(initialPlacement, flipAlignment, fallbackAxisSideDirection, rtl));\n      }\n      const placements = [initialPlacement, ...fallbackPlacements];\n      const overflow = await detectOverflow(state, detectOverflowOptions);\n      const overflows = [];\n      let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? void 0 : _middlewareData$flip.overflows) || [];\n      if (checkMainAxis) {\n        overflows.push(overflow[side]);\n      }\n      if (checkCrossAxis) {\n        const sides = getAlignmentSides(placement, rects, rtl);\n        overflows.push(overflow[sides[0]], overflow[sides[1]]);\n      }\n      overflowsData = [...overflowsData, {\n        placement,\n        overflows\n      }];\n\n      // One or more sides is overflowing.\n      if (!overflows.every(side => side <= 0)) {\n        var _middlewareData$flip2, _overflowsData$filter;\n        const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;\n        const nextPlacement = placements[nextIndex];\n        if (nextPlacement) {\n          // Try next placement and re-run the lifecycle.\n          return {\n            data: {\n              index: nextIndex,\n              overflows: overflowsData\n            },\n            reset: {\n              placement: nextPlacement\n            }\n          };\n        }\n\n        // First, find the candidates that fit on the mainAxis side of overflow,\n        // then find the placement that fits the best on the main crossAxis side.\n        let resetPlacement = (_overflowsData$filter = overflowsData.filter(d => d.overflows[0] <= 0).sort((a, b) => a.overflows[1] - b.overflows[1])[0]) == null ? void 0 : _overflowsData$filter.placement;\n\n        // Otherwise fallback.\n        if (!resetPlacement) {\n          switch (fallbackStrategy) {\n            case 'bestFit':\n              {\n                var _overflowsData$filter2;\n                const placement = (_overflowsData$filter2 = overflowsData.filter(d => {\n                  if (hasFallbackAxisSideDirection) {\n                    const currentSideAxis = getSideAxis(d.placement);\n                    return currentSideAxis === initialSideAxis ||\n                    // Create a bias to the `y` side axis due to horizontal\n                    // reading directions favoring greater width.\n                    currentSideAxis === 'y';\n                  }\n                  return true;\n                }).map(d => [d.placement, d.overflows.filter(overflow => overflow > 0).reduce((acc, overflow) => acc + overflow, 0)]).sort((a, b) => a[1] - b[1])[0]) == null ? void 0 : _overflowsData$filter2[0];\n                if (placement) {\n                  resetPlacement = placement;\n                }\n                break;\n              }\n            case 'initialPlacement':\n              resetPlacement = initialPlacement;\n              break;\n          }\n        }\n        if (placement !== resetPlacement) {\n          return {\n            reset: {\n              placement: resetPlacement\n            }\n          };\n        }\n      }\n      return {};\n    }\n  };\n};\n\nfunction getSideOffsets(overflow, rect) {\n  return {\n    top: overflow.top - rect.height,\n    right: overflow.right - rect.width,\n    bottom: overflow.bottom - rect.height,\n    left: overflow.left - rect.width\n  };\n}\nfunction isAnySideFullyClipped(overflow) {\n  return sides.some(side => overflow[side] >= 0);\n}\n/**\n * Provides data to hide the floating element in applicable situations, such as\n * when it is not in the same clipping context as the reference element.\n * @see https://floating-ui.com/docs/hide\n */\nconst hide = function (options) {\n  if (options === void 0) {\n    options = {};\n  }\n  return {\n    name: 'hide',\n    options,\n    async fn(state) {\n      const {\n        rects\n      } = state;\n      const {\n        strategy = 'referenceHidden',\n        ...detectOverflowOptions\n      } = evaluate(options, state);\n      switch (strategy) {\n        case 'referenceHidden':\n          {\n            const overflow = await detectOverflow(state, {\n              ...detectOverflowOptions,\n              elementContext: 'reference'\n            });\n            const offsets = getSideOffsets(overflow, rects.reference);\n            return {\n              data: {\n                referenceHiddenOffsets: offsets,\n                referenceHidden: isAnySideFullyClipped(offsets)\n              }\n            };\n          }\n        case 'escaped':\n          {\n            const overflow = await detectOverflow(state, {\n              ...detectOverflowOptions,\n              altBoundary: true\n            });\n            const offsets = getSideOffsets(overflow, rects.floating);\n            return {\n              data: {\n                escapedOffsets: offsets,\n                escaped: isAnySideFullyClipped(offsets)\n              }\n            };\n          }\n        default:\n          {\n            return {};\n          }\n      }\n    }\n  };\n};\n\nfunction getBoundingRect(rects) {\n  const minX = min(...rects.map(rect => rect.left));\n  const minY = min(...rects.map(rect => rect.top));\n  const maxX = max(...rects.map(rect => rect.right));\n  const maxY = max(...rects.map(rect => rect.bottom));\n  return {\n    x: minX,\n    y: minY,\n    width: maxX - minX,\n    height: maxY - minY\n  };\n}\nfunction getRectsByLine(rects) {\n  const sortedRects = rects.slice().sort((a, b) => a.y - b.y);\n  const groups = [];\n  let prevRect = null;\n  for (let i = 0; i < sortedRects.length; i++) {\n    const rect = sortedRects[i];\n    if (!prevRect || rect.y - prevRect.y > prevRect.height / 2) {\n      groups.push([rect]);\n    } else {\n      groups[groups.length - 1].push(rect);\n    }\n    prevRect = rect;\n  }\n  return groups.map(rect => rectToClientRect(getBoundingRect(rect)));\n}\n/**\n * Provides improved positioning for inline reference elements that can span\n * over multiple lines, such as hyperlinks or range selections.\n * @see https://floating-ui.com/docs/inline\n */\nconst inline = function (options) {\n  if (options === void 0) {\n    options = {};\n  }\n  return {\n    name: 'inline',\n    options,\n    async fn(state) {\n      const {\n        placement,\n        elements,\n        rects,\n        platform,\n        strategy\n      } = state;\n      // A MouseEvent's client{X,Y} coords can be up to 2 pixels off a\n      // ClientRect's bounds, despite the event listener being triggered. A\n      // padding of 2 seems to handle this issue.\n      const {\n        padding = 2,\n        x,\n        y\n      } = evaluate(options, state);\n      const nativeClientRects = Array.from((await (platform.getClientRects == null ? void 0 : platform.getClientRects(elements.reference))) || []);\n      const clientRects = getRectsByLine(nativeClientRects);\n      const fallback = rectToClientRect(getBoundingRect(nativeClientRects));\n      const paddingObject = getPaddingObject(padding);\n      function getBoundingClientRect() {\n        // There are two rects and they are disjoined.\n        if (clientRects.length === 2 && clientRects[0].left > clientRects[1].right && x != null && y != null) {\n          // Find the first rect in which the point is fully inside.\n          return clientRects.find(rect => x > rect.left - paddingObject.left && x < rect.right + paddingObject.right && y > rect.top - paddingObject.top && y < rect.bottom + paddingObject.bottom) || fallback;\n        }\n\n        // There are 2 or more connected rects.\n        if (clientRects.length >= 2) {\n          if (getSideAxis(placement) === 'y') {\n            const firstRect = clientRects[0];\n            const lastRect = clientRects[clientRects.length - 1];\n            const isTop = getSide(placement) === 'top';\n            const top = firstRect.top;\n            const bottom = lastRect.bottom;\n            const left = isTop ? firstRect.left : lastRect.left;\n            const right = isTop ? firstRect.right : lastRect.right;\n            const width = right - left;\n            const height = bottom - top;\n            return {\n              top,\n              bottom,\n              left,\n              right,\n              width,\n              height,\n              x: left,\n              y: top\n            };\n          }\n          const isLeftSide = getSide(placement) === 'left';\n          const maxRight = max(...clientRects.map(rect => rect.right));\n          const minLeft = min(...clientRects.map(rect => rect.left));\n          const measureRects = clientRects.filter(rect => isLeftSide ? rect.left === minLeft : rect.right === maxRight);\n          const top = measureRects[0].top;\n          const bottom = measureRects[measureRects.length - 1].bottom;\n          const left = minLeft;\n          const right = maxRight;\n          const width = right - left;\n          const height = bottom - top;\n          return {\n            top,\n            bottom,\n            left,\n            right,\n            width,\n            height,\n            x: left,\n            y: top\n          };\n        }\n        return fallback;\n      }\n      const resetRects = await platform.getElementRects({\n        reference: {\n          getBoundingClientRect\n        },\n        floating: elements.floating,\n        strategy\n      });\n      if (rects.reference.x !== resetRects.reference.x || rects.reference.y !== resetRects.reference.y || rects.reference.width !== resetRects.reference.width || rects.reference.height !== resetRects.reference.height) {\n        return {\n          reset: {\n            rects: resetRects\n          }\n        };\n      }\n      return {};\n    }\n  };\n};\n\n// For type backwards-compatibility, the `OffsetOptions` type was also\n// Derivable.\n\nasync function convertValueToCoords(state, options) {\n  const {\n    placement,\n    platform,\n    elements\n  } = state;\n  const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));\n  const side = getSide(placement);\n  const alignment = getAlignment(placement);\n  const isVertical = getSideAxis(placement) === 'y';\n  const mainAxisMulti = ['left', 'top'].includes(side) ? -1 : 1;\n  const crossAxisMulti = rtl && isVertical ? -1 : 1;\n  const rawValue = evaluate(options, state);\n\n  // eslint-disable-next-line prefer-const\n  let {\n    mainAxis,\n    crossAxis,\n    alignmentAxis\n  } = typeof rawValue === 'number' ? {\n    mainAxis: rawValue,\n    crossAxis: 0,\n    alignmentAxis: null\n  } : {\n    mainAxis: rawValue.mainAxis || 0,\n    crossAxis: rawValue.crossAxis || 0,\n    alignmentAxis: rawValue.alignmentAxis\n  };\n  if (alignment && typeof alignmentAxis === 'number') {\n    crossAxis = alignment === 'end' ? alignmentAxis * -1 : alignmentAxis;\n  }\n  return isVertical ? {\n    x: crossAxis * crossAxisMulti,\n    y: mainAxis * mainAxisMulti\n  } : {\n    x: mainAxis * mainAxisMulti,\n    y: crossAxis * crossAxisMulti\n  };\n}\n\n/**\n * Modifies the placement by translating the floating element along the\n * specified axes.\n * A number (shorthand for `mainAxis` or distance), or an axes configuration\n * object may be passed.\n * @see https://floating-ui.com/docs/offset\n */\nconst offset = function (options) {\n  if (options === void 0) {\n    options = 0;\n  }\n  return {\n    name: 'offset',\n    options,\n    async fn(state) {\n      var _middlewareData$offse, _middlewareData$arrow;\n      const {\n        x,\n        y,\n        placement,\n        middlewareData\n      } = state;\n      const diffCoords = await convertValueToCoords(state, options);\n\n      // If the placement is the same and the arrow caused an alignment offset\n      // then we don't need to change the positioning coordinates.\n      if (placement === ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse.placement) && (_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {\n        return {};\n      }\n      return {\n        x: x + diffCoords.x,\n        y: y + diffCoords.y,\n        data: {\n          ...diffCoords,\n          placement\n        }\n      };\n    }\n  };\n};\n\n/**\n * Optimizes the visibility of the floating element by shifting it in order to\n * keep it in view when it will overflow the clipping boundary.\n * @see https://floating-ui.com/docs/shift\n */\nconst shift = function (options) {\n  if (options === void 0) {\n    options = {};\n  }\n  return {\n    name: 'shift',\n    options,\n    async fn(state) {\n      const {\n        x,\n        y,\n        placement\n      } = state;\n      const {\n        mainAxis: checkMainAxis = true,\n        crossAxis: checkCrossAxis = false,\n        limiter = {\n          fn: _ref => {\n            let {\n              x,\n              y\n            } = _ref;\n            return {\n              x,\n              y\n            };\n          }\n        },\n        ...detectOverflowOptions\n      } = evaluate(options, state);\n      const coords = {\n        x,\n        y\n      };\n      const overflow = await detectOverflow(state, detectOverflowOptions);\n      const crossAxis = getSideAxis(getSide(placement));\n      const mainAxis = getOppositeAxis(crossAxis);\n      let mainAxisCoord = coords[mainAxis];\n      let crossAxisCoord = coords[crossAxis];\n      if (checkMainAxis) {\n        const minSide = mainAxis === 'y' ? 'top' : 'left';\n        const maxSide = mainAxis === 'y' ? 'bottom' : 'right';\n        const min = mainAxisCoord + overflow[minSide];\n        const max = mainAxisCoord - overflow[maxSide];\n        mainAxisCoord = clamp(min, mainAxisCoord, max);\n      }\n      if (checkCrossAxis) {\n        const minSide = crossAxis === 'y' ? 'top' : 'left';\n        const maxSide = crossAxis === 'y' ? 'bottom' : 'right';\n        const min = crossAxisCoord + overflow[minSide];\n        const max = crossAxisCoord - overflow[maxSide];\n        crossAxisCoord = clamp(min, crossAxisCoord, max);\n      }\n      const limitedCoords = limiter.fn({\n        ...state,\n        [mainAxis]: mainAxisCoord,\n        [crossAxis]: crossAxisCoord\n      });\n      return {\n        ...limitedCoords,\n        data: {\n          x: limitedCoords.x - x,\n          y: limitedCoords.y - y,\n          enabled: {\n            [mainAxis]: checkMainAxis,\n            [crossAxis]: checkCrossAxis\n          }\n        }\n      };\n    }\n  };\n};\n/**\n * Built-in `limiter` that will stop `shift()` at a certain point.\n */\nconst limitShift = function (options) {\n  if (options === void 0) {\n    options = {};\n  }\n  return {\n    options,\n    fn(state) {\n      const {\n        x,\n        y,\n        placement,\n        rects,\n        middlewareData\n      } = state;\n      const {\n        offset = 0,\n        mainAxis: checkMainAxis = true,\n        crossAxis: checkCrossAxis = true\n      } = evaluate(options, state);\n      const coords = {\n        x,\n        y\n      };\n      const crossAxis = getSideAxis(placement);\n      const mainAxis = getOppositeAxis(crossAxis);\n      let mainAxisCoord = coords[mainAxis];\n      let crossAxisCoord = coords[crossAxis];\n      const rawOffset = evaluate(offset, state);\n      const computedOffset = typeof rawOffset === 'number' ? {\n        mainAxis: rawOffset,\n        crossAxis: 0\n      } : {\n        mainAxis: 0,\n        crossAxis: 0,\n        ...rawOffset\n      };\n      if (checkMainAxis) {\n        const len = mainAxis === 'y' ? 'height' : 'width';\n        const limitMin = rects.reference[mainAxis] - rects.floating[len] + computedOffset.mainAxis;\n        const limitMax = rects.reference[mainAxis] + rects.reference[len] - computedOffset.mainAxis;\n        if (mainAxisCoord < limitMin) {\n          mainAxisCoord = limitMin;\n        } else if (mainAxisCoord > limitMax) {\n          mainAxisCoord = limitMax;\n        }\n      }\n      if (checkCrossAxis) {\n        var _middlewareData$offse, _middlewareData$offse2;\n        const len = mainAxis === 'y' ? 'width' : 'height';\n        const isOriginSide = ['top', 'left'].includes(getSide(placement));\n        const limitMin = rects.reference[crossAxis] - rects.floating[len] + (isOriginSide ? ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse[crossAxis]) || 0 : 0) + (isOriginSide ? 0 : computedOffset.crossAxis);\n        const limitMax = rects.reference[crossAxis] + rects.reference[len] + (isOriginSide ? 0 : ((_middlewareData$offse2 = middlewareData.offset) == null ? void 0 : _middlewareData$offse2[crossAxis]) || 0) - (isOriginSide ? computedOffset.crossAxis : 0);\n        if (crossAxisCoord < limitMin) {\n          crossAxisCoord = limitMin;\n        } else if (crossAxisCoord > limitMax) {\n          crossAxisCoord = limitMax;\n        }\n      }\n      return {\n        [mainAxis]: mainAxisCoord,\n        [crossAxis]: crossAxisCoord\n      };\n    }\n  };\n};\n\n/**\n * Provides data that allows you to change the size of the floating element —\n * for instance, prevent it from overflowing the clipping boundary or match the\n * width of the reference element.\n * @see https://floating-ui.com/docs/size\n */\nconst size = function (options) {\n  if (options === void 0) {\n    options = {};\n  }\n  return {\n    name: 'size',\n    options,\n    async fn(state) {\n      var _state$middlewareData, _state$middlewareData2;\n      const {\n        placement,\n        rects,\n        platform,\n        elements\n      } = state;\n      const {\n        apply = () => {},\n        ...detectOverflowOptions\n      } = evaluate(options, state);\n      const overflow = await detectOverflow(state, detectOverflowOptions);\n      const side = getSide(placement);\n      const alignment = getAlignment(placement);\n      const isYAxis = getSideAxis(placement) === 'y';\n      const {\n        width,\n        height\n      } = rects.floating;\n      let heightSide;\n      let widthSide;\n      if (side === 'top' || side === 'bottom') {\n        heightSide = side;\n        widthSide = alignment === ((await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating))) ? 'start' : 'end') ? 'left' : 'right';\n      } else {\n        widthSide = side;\n        heightSide = alignment === 'end' ? 'top' : 'bottom';\n      }\n      const maximumClippingHeight = height - overflow.top - overflow.bottom;\n      const maximumClippingWidth = width - overflow.left - overflow.right;\n      const overflowAvailableHeight = min(height - overflow[heightSide], maximumClippingHeight);\n      const overflowAvailableWidth = min(width - overflow[widthSide], maximumClippingWidth);\n      const noShift = !state.middlewareData.shift;\n      let availableHeight = overflowAvailableHeight;\n      let availableWidth = overflowAvailableWidth;\n      if ((_state$middlewareData = state.middlewareData.shift) != null && _state$middlewareData.enabled.x) {\n        availableWidth = maximumClippingWidth;\n      }\n      if ((_state$middlewareData2 = state.middlewareData.shift) != null && _state$middlewareData2.enabled.y) {\n        availableHeight = maximumClippingHeight;\n      }\n      if (noShift && !alignment) {\n        const xMin = max(overflow.left, 0);\n        const xMax = max(overflow.right, 0);\n        const yMin = max(overflow.top, 0);\n        const yMax = max(overflow.bottom, 0);\n        if (isYAxis) {\n          availableWidth = width - 2 * (xMin !== 0 || xMax !== 0 ? xMin + xMax : max(overflow.left, overflow.right));\n        } else {\n          availableHeight = height - 2 * (yMin !== 0 || yMax !== 0 ? yMin + yMax : max(overflow.top, overflow.bottom));\n        }\n      }\n      await apply({\n        ...state,\n        availableWidth,\n        availableHeight\n      });\n      const nextDimensions = await platform.getDimensions(elements.floating);\n      if (width !== nextDimensions.width || height !== nextDimensions.height) {\n        return {\n          reset: {\n            rects: true\n          }\n        };\n      }\n      return {};\n    }\n  };\n};\n\nexport { arrow, autoPlacement, computePosition, detectOverflow, flip, hide, inline, limitShift, offset, shift, size };\n","function hasWindow() {\n  return typeof window !== 'undefined';\n}\nfunction getNodeName(node) {\n  if (isNode(node)) {\n    return (node.nodeName || '').toLowerCase();\n  }\n  // Mocked nodes in testing environments may not be instances of Node. By\n  // returning `#document` an infinite loop won't occur.\n  // https://github.com/floating-ui/floating-ui/issues/2317\n  return '#document';\n}\nfunction getWindow(node) {\n  var _node$ownerDocument;\n  return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;\n}\nfunction getDocumentElement(node) {\n  var _ref;\n  return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;\n}\nfunction isNode(value) {\n  if (!hasWindow()) {\n    return false;\n  }\n  return value instanceof Node || value instanceof getWindow(value).Node;\n}\nfunction isElement(value) {\n  if (!hasWindow()) {\n    return false;\n  }\n  return value instanceof Element || value instanceof getWindow(value).Element;\n}\nfunction isHTMLElement(value) {\n  if (!hasWindow()) {\n    return false;\n  }\n  return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;\n}\nfunction isShadowRoot(value) {\n  if (!hasWindow() || typeof ShadowRoot === 'undefined') {\n    return false;\n  }\n  return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;\n}\nfunction isOverflowElement(element) {\n  const {\n    overflow,\n    overflowX,\n    overflowY,\n    display\n  } = getComputedStyle(element);\n  return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !['inline', 'contents'].includes(display);\n}\nfunction isTableElement(element) {\n  return ['table', 'td', 'th'].includes(getNodeName(element));\n}\nfunction isTopLayer(element) {\n  return [':popover-open', ':modal'].some(selector => {\n    try {\n      return element.matches(selector);\n    } catch (e) {\n      return false;\n    }\n  });\n}\nfunction isContainingBlock(elementOrCss) {\n  const webkit = isWebKit();\n  const css = isElement(elementOrCss) ? getComputedStyle(elementOrCss) : elementOrCss;\n\n  // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\n  return css.transform !== 'none' || css.perspective !== 'none' || (css.containerType ? css.containerType !== 'normal' : false) || !webkit && (css.backdropFilter ? css.backdropFilter !== 'none' : false) || !webkit && (css.filter ? css.filter !== 'none' : false) || ['transform', 'perspective', 'filter'].some(value => (css.willChange || '').includes(value)) || ['paint', 'layout', 'strict', 'content'].some(value => (css.contain || '').includes(value));\n}\nfunction getContainingBlock(element) {\n  let currentNode = getParentNode(element);\n  while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {\n    if (isContainingBlock(currentNode)) {\n      return currentNode;\n    } else if (isTopLayer(currentNode)) {\n      return null;\n    }\n    currentNode = getParentNode(currentNode);\n  }\n  return null;\n}\nfunction isWebKit() {\n  if (typeof CSS === 'undefined' || !CSS.supports) return false;\n  return CSS.supports('-webkit-backdrop-filter', 'none');\n}\nfunction isLastTraversableNode(node) {\n  return ['html', 'body', '#document'].includes(getNodeName(node));\n}\nfunction getComputedStyle(element) {\n  return getWindow(element).getComputedStyle(element);\n}\nfunction getNodeScroll(element) {\n  if (isElement(element)) {\n    return {\n      scrollLeft: element.scrollLeft,\n      scrollTop: element.scrollTop\n    };\n  }\n  return {\n    scrollLeft: element.scrollX,\n    scrollTop: element.scrollY\n  };\n}\nfunction getParentNode(node) {\n  if (getNodeName(node) === 'html') {\n    return node;\n  }\n  const result =\n  // Step into the shadow DOM of the parent of a slotted node.\n  node.assignedSlot ||\n  // DOM Element detected.\n  node.parentNode ||\n  // ShadowRoot detected.\n  isShadowRoot(node) && node.host ||\n  // Fallback.\n  getDocumentElement(node);\n  return isShadowRoot(result) ? result.host : result;\n}\nfunction getNearestOverflowAncestor(node) {\n  const parentNode = getParentNode(node);\n  if (isLastTraversableNode(parentNode)) {\n    return node.ownerDocument ? node.ownerDocument.body : node.body;\n  }\n  if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {\n    return parentNode;\n  }\n  return getNearestOverflowAncestor(parentNode);\n}\nfunction getOverflowAncestors(node, list, traverseIframes) {\n  var _node$ownerDocument2;\n  if (list === void 0) {\n    list = [];\n  }\n  if (traverseIframes === void 0) {\n    traverseIframes = true;\n  }\n  const scrollableAncestor = getNearestOverflowAncestor(node);\n  const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);\n  const win = getWindow(scrollableAncestor);\n  if (isBody) {\n    const frameElement = getFrameElement(win);\n    return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], frameElement && traverseIframes ? getOverflowAncestors(frameElement) : []);\n  }\n  return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));\n}\nfunction getFrameElement(win) {\n  return win.parent && Object.getPrototypeOf(win.parent) ? win.frameElement : null;\n}\n\nexport { getComputedStyle, getContainingBlock, getDocumentElement, getFrameElement, getNearestOverflowAncestor, getNodeName, getNodeScroll, getOverflowAncestors, getParentNode, getWindow, isContainingBlock, isElement, isHTMLElement, isLastTraversableNode, isNode, isOverflowElement, isShadowRoot, isTableElement, isTopLayer, isWebKit };\n","import { rectToClientRect, detectOverflow as detectOverflow$1, offset as offset$1, autoPlacement as autoPlacement$1, shift as shift$1, flip as flip$1, size as size$1, hide as hide$1, arrow as arrow$1, inline as inline$1, limitShift as limitShift$1, computePosition as computePosition$1 } from '@floating-ui/core';\nimport { round, createCoords, max, min, floor } from '@floating-ui/utils';\nimport { getComputedStyle, isHTMLElement, isElement, getWindow, isWebKit, getFrameElement, getNodeScroll, getDocumentElement, isTopLayer, getNodeName, isOverflowElement, getOverflowAncestors, getParentNode, isLastTraversableNode, isContainingBlock, isTableElement, getContainingBlock } from '@floating-ui/utils/dom';\nexport { getOverflowAncestors } from '@floating-ui/utils/dom';\n\nfunction getCssDimensions(element) {\n  const css = getComputedStyle(element);\n  // In testing environments, the `width` and `height` properties are empty\n  // strings for SVG elements, returning NaN. Fallback to `0` in this case.\n  let width = parseFloat(css.width) || 0;\n  let height = parseFloat(css.height) || 0;\n  const hasOffset = isHTMLElement(element);\n  const offsetWidth = hasOffset ? element.offsetWidth : width;\n  const offsetHeight = hasOffset ? element.offsetHeight : height;\n  const shouldFallback = round(width) !== offsetWidth || round(height) !== offsetHeight;\n  if (shouldFallback) {\n    width = offsetWidth;\n    height = offsetHeight;\n  }\n  return {\n    width,\n    height,\n    $: shouldFallback\n  };\n}\n\nfunction unwrapElement(element) {\n  return !isElement(element) ? element.contextElement : element;\n}\n\nfunction getScale(element) {\n  const domElement = unwrapElement(element);\n  if (!isHTMLElement(domElement)) {\n    return createCoords(1);\n  }\n  const rect = domElement.getBoundingClientRect();\n  const {\n    width,\n    height,\n    $\n  } = getCssDimensions(domElement);\n  let x = ($ ? round(rect.width) : rect.width) / width;\n  let y = ($ ? round(rect.height) : rect.height) / height;\n\n  // 0, NaN, or Infinity should always fallback to 1.\n\n  if (!x || !Number.isFinite(x)) {\n    x = 1;\n  }\n  if (!y || !Number.isFinite(y)) {\n    y = 1;\n  }\n  return {\n    x,\n    y\n  };\n}\n\nconst noOffsets = /*#__PURE__*/createCoords(0);\nfunction getVisualOffsets(element) {\n  const win = getWindow(element);\n  if (!isWebKit() || !win.visualViewport) {\n    return noOffsets;\n  }\n  return {\n    x: win.visualViewport.offsetLeft,\n    y: win.visualViewport.offsetTop\n  };\n}\nfunction shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {\n  if (isFixed === void 0) {\n    isFixed = false;\n  }\n  if (!floatingOffsetParent || isFixed && floatingOffsetParent !== getWindow(element)) {\n    return false;\n  }\n  return isFixed;\n}\n\nfunction getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {\n  if (includeScale === void 0) {\n    includeScale = false;\n  }\n  if (isFixedStrategy === void 0) {\n    isFixedStrategy = false;\n  }\n  const clientRect = element.getBoundingClientRect();\n  const domElement = unwrapElement(element);\n  let scale = createCoords(1);\n  if (includeScale) {\n    if (offsetParent) {\n      if (isElement(offsetParent)) {\n        scale = getScale(offsetParent);\n      }\n    } else {\n      scale = getScale(element);\n    }\n  }\n  const visualOffsets = shouldAddVisualOffsets(domElement, isFixedStrategy, offsetParent) ? getVisualOffsets(domElement) : createCoords(0);\n  let x = (clientRect.left + visualOffsets.x) / scale.x;\n  let y = (clientRect.top + visualOffsets.y) / scale.y;\n  let width = clientRect.width / scale.x;\n  let height = clientRect.height / scale.y;\n  if (domElement) {\n    const win = getWindow(domElement);\n    const offsetWin = offsetParent && isElement(offsetParent) ? getWindow(offsetParent) : offsetParent;\n    let currentWin = win;\n    let currentIFrame = getFrameElement(currentWin);\n    while (currentIFrame && offsetParent && offsetWin !== currentWin) {\n      const iframeScale = getScale(currentIFrame);\n      const iframeRect = currentIFrame.getBoundingClientRect();\n      const css = getComputedStyle(currentIFrame);\n      const left = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;\n      const top = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;\n      x *= iframeScale.x;\n      y *= iframeScale.y;\n      width *= iframeScale.x;\n      height *= iframeScale.y;\n      x += left;\n      y += top;\n      currentWin = getWindow(currentIFrame);\n      currentIFrame = getFrameElement(currentWin);\n    }\n  }\n  return rectToClientRect({\n    width,\n    height,\n    x,\n    y\n  });\n}\n\n// If <html> has a CSS width greater than the viewport, then this will be\n// incorrect for RTL.\nfunction getWindowScrollBarX(element, rect) {\n  const leftScroll = getNodeScroll(element).scrollLeft;\n  if (!rect) {\n    return getBoundingClientRect(getDocumentElement(element)).left + leftScroll;\n  }\n  return rect.left + leftScroll;\n}\n\nfunction getHTMLOffset(documentElement, scroll, ignoreScrollbarX) {\n  if (ignoreScrollbarX === void 0) {\n    ignoreScrollbarX = false;\n  }\n  const htmlRect = documentElement.getBoundingClientRect();\n  const x = htmlRect.left + scroll.scrollLeft - (ignoreScrollbarX ? 0 :\n  // RTL <body> scrollbar.\n  getWindowScrollBarX(documentElement, htmlRect));\n  const y = htmlRect.top + scroll.scrollTop;\n  return {\n    x,\n    y\n  };\n}\n\nfunction convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {\n  let {\n    elements,\n    rect,\n    offsetParent,\n    strategy\n  } = _ref;\n  const isFixed = strategy === 'fixed';\n  const documentElement = getDocumentElement(offsetParent);\n  const topLayer = elements ? isTopLayer(elements.floating) : false;\n  if (offsetParent === documentElement || topLayer && isFixed) {\n    return rect;\n  }\n  let scroll = {\n    scrollLeft: 0,\n    scrollTop: 0\n  };\n  let scale = createCoords(1);\n  const offsets = createCoords(0);\n  const isOffsetParentAnElement = isHTMLElement(offsetParent);\n  if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {\n    if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {\n      scroll = getNodeScroll(offsetParent);\n    }\n    if (isHTMLElement(offsetParent)) {\n      const offsetRect = getBoundingClientRect(offsetParent);\n      scale = getScale(offsetParent);\n      offsets.x = offsetRect.x + offsetParent.clientLeft;\n      offsets.y = offsetRect.y + offsetParent.clientTop;\n    }\n  }\n  const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll, true) : createCoords(0);\n  return {\n    width: rect.width * scale.x,\n    height: rect.height * scale.y,\n    x: rect.x * scale.x - scroll.scrollLeft * scale.x + offsets.x + htmlOffset.x,\n    y: rect.y * scale.y - scroll.scrollTop * scale.y + offsets.y + htmlOffset.y\n  };\n}\n\nfunction getClientRects(element) {\n  return Array.from(element.getClientRects());\n}\n\n// Gets the entire size of the scrollable document area, even extending outside\n// of the `<html>` and `<body>` rect bounds if horizontally scrollable.\nfunction getDocumentRect(element) {\n  const html = getDocumentElement(element);\n  const scroll = getNodeScroll(element);\n  const body = element.ownerDocument.body;\n  const width = max(html.scrollWidth, html.clientWidth, body.scrollWidth, body.clientWidth);\n  const height = max(html.scrollHeight, html.clientHeight, body.scrollHeight, body.clientHeight);\n  let x = -scroll.scrollLeft + getWindowScrollBarX(element);\n  const y = -scroll.scrollTop;\n  if (getComputedStyle(body).direction === 'rtl') {\n    x += max(html.clientWidth, body.clientWidth) - width;\n  }\n  return {\n    width,\n    height,\n    x,\n    y\n  };\n}\n\nfunction getViewportRect(element, strategy) {\n  const win = getWindow(element);\n  const html = getDocumentElement(element);\n  const visualViewport = win.visualViewport;\n  let width = html.clientWidth;\n  let height = html.clientHeight;\n  let x = 0;\n  let y = 0;\n  if (visualViewport) {\n    width = visualViewport.width;\n    height = visualViewport.height;\n    const visualViewportBased = isWebKit();\n    if (!visualViewportBased || visualViewportBased && strategy === 'fixed') {\n      x = visualViewport.offsetLeft;\n      y = visualViewport.offsetTop;\n    }\n  }\n  return {\n    width,\n    height,\n    x,\n    y\n  };\n}\n\n// Returns the inner client rect, subtracting scrollbars if present.\nfunction getInnerBoundingClientRect(element, strategy) {\n  const clientRect = getBoundingClientRect(element, true, strategy === 'fixed');\n  const top = clientRect.top + element.clientTop;\n  const left = clientRect.left + element.clientLeft;\n  const scale = isHTMLElement(element) ? getScale(element) : createCoords(1);\n  const width = element.clientWidth * scale.x;\n  const height = element.clientHeight * scale.y;\n  const x = left * scale.x;\n  const y = top * scale.y;\n  return {\n    width,\n    height,\n    x,\n    y\n  };\n}\nfunction getClientRectFromClippingAncestor(element, clippingAncestor, strategy) {\n  let rect;\n  if (clippingAncestor === 'viewport') {\n    rect = getViewportRect(element, strategy);\n  } else if (clippingAncestor === 'document') {\n    rect = getDocumentRect(getDocumentElement(element));\n  } else if (isElement(clippingAncestor)) {\n    rect = getInnerBoundingClientRect(clippingAncestor, strategy);\n  } else {\n    const visualOffsets = getVisualOffsets(element);\n    rect = {\n      x: clippingAncestor.x - visualOffsets.x,\n      y: clippingAncestor.y - visualOffsets.y,\n      width: clippingAncestor.width,\n      height: clippingAncestor.height\n    };\n  }\n  return rectToClientRect(rect);\n}\nfunction hasFixedPositionAncestor(element, stopNode) {\n  const parentNode = getParentNode(element);\n  if (parentNode === stopNode || !isElement(parentNode) || isLastTraversableNode(parentNode)) {\n    return false;\n  }\n  return getComputedStyle(parentNode).position === 'fixed' || hasFixedPositionAncestor(parentNode, stopNode);\n}\n\n// A \"clipping ancestor\" is an `overflow` element with the characteristic of\n// clipping (or hiding) child elements. This returns all clipping ancestors\n// of the given element up the tree.\nfunction getClippingElementAncestors(element, cache) {\n  const cachedResult = cache.get(element);\n  if (cachedResult) {\n    return cachedResult;\n  }\n  let result = getOverflowAncestors(element, [], false).filter(el => isElement(el) && getNodeName(el) !== 'body');\n  let currentContainingBlockComputedStyle = null;\n  const elementIsFixed = getComputedStyle(element).position === 'fixed';\n  let currentNode = elementIsFixed ? getParentNode(element) : element;\n\n  // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\n  while (isElement(currentNode) && !isLastTraversableNode(currentNode)) {\n    const computedStyle = getComputedStyle(currentNode);\n    const currentNodeIsContaining = isContainingBlock(currentNode);\n    if (!currentNodeIsContaining && computedStyle.position === 'fixed') {\n      currentContainingBlockComputedStyle = null;\n    }\n    const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === 'static' && !!currentContainingBlockComputedStyle && ['absolute', 'fixed'].includes(currentContainingBlockComputedStyle.position) || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);\n    if (shouldDropCurrentNode) {\n      // Drop non-containing blocks.\n      result = result.filter(ancestor => ancestor !== currentNode);\n    } else {\n      // Record last containing block for next iteration.\n      currentContainingBlockComputedStyle = computedStyle;\n    }\n    currentNode = getParentNode(currentNode);\n  }\n  cache.set(element, result);\n  return result;\n}\n\n// Gets the maximum area that the element is visible in due to any number of\n// clipping ancestors.\nfunction getClippingRect(_ref) {\n  let {\n    element,\n    boundary,\n    rootBoundary,\n    strategy\n  } = _ref;\n  const elementClippingAncestors = boundary === 'clippingAncestors' ? isTopLayer(element) ? [] : getClippingElementAncestors(element, this._c) : [].concat(boundary);\n  const clippingAncestors = [...elementClippingAncestors, rootBoundary];\n  const firstClippingAncestor = clippingAncestors[0];\n  const clippingRect = clippingAncestors.reduce((accRect, clippingAncestor) => {\n    const rect = getClientRectFromClippingAncestor(element, clippingAncestor, strategy);\n    accRect.top = max(rect.top, accRect.top);\n    accRect.right = min(rect.right, accRect.right);\n    accRect.bottom = min(rect.bottom, accRect.bottom);\n    accRect.left = max(rect.left, accRect.left);\n    return accRect;\n  }, getClientRectFromClippingAncestor(element, firstClippingAncestor, strategy));\n  return {\n    width: clippingRect.right - clippingRect.left,\n    height: clippingRect.bottom - clippingRect.top,\n    x: clippingRect.left,\n    y: clippingRect.top\n  };\n}\n\nfunction getDimensions(element) {\n  const {\n    width,\n    height\n  } = getCssDimensions(element);\n  return {\n    width,\n    height\n  };\n}\n\nfunction getRectRelativeToOffsetParent(element, offsetParent, strategy) {\n  const isOffsetParentAnElement = isHTMLElement(offsetParent);\n  const documentElement = getDocumentElement(offsetParent);\n  const isFixed = strategy === 'fixed';\n  const rect = getBoundingClientRect(element, true, isFixed, offsetParent);\n  let scroll = {\n    scrollLeft: 0,\n    scrollTop: 0\n  };\n  const offsets = createCoords(0);\n  if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {\n    if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {\n      scroll = getNodeScroll(offsetParent);\n    }\n    if (isOffsetParentAnElement) {\n      const offsetRect = getBoundingClientRect(offsetParent, true, isFixed, offsetParent);\n      offsets.x = offsetRect.x + offsetParent.clientLeft;\n      offsets.y = offsetRect.y + offsetParent.clientTop;\n    } else if (documentElement) {\n      // If the <body> scrollbar appears on the left (e.g. RTL systems). Use\n      // Firefox with layout.scrollbar.side = 3 in about:config to test this.\n      offsets.x = getWindowScrollBarX(documentElement);\n    }\n  }\n  const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);\n  const x = rect.left + scroll.scrollLeft - offsets.x - htmlOffset.x;\n  const y = rect.top + scroll.scrollTop - offsets.y - htmlOffset.y;\n  return {\n    x,\n    y,\n    width: rect.width,\n    height: rect.height\n  };\n}\n\nfunction isStaticPositioned(element) {\n  return getComputedStyle(element).position === 'static';\n}\n\nfunction getTrueOffsetParent(element, polyfill) {\n  if (!isHTMLElement(element) || getComputedStyle(element).position === 'fixed') {\n    return null;\n  }\n  if (polyfill) {\n    return polyfill(element);\n  }\n  let rawOffsetParent = element.offsetParent;\n\n  // Firefox returns the <html> element as the offsetParent if it's non-static,\n  // while Chrome and Safari return the <body> element. The <body> element must\n  // be used to perform the correct calculations even if the <html> element is\n  // non-static.\n  if (getDocumentElement(element) === rawOffsetParent) {\n    rawOffsetParent = rawOffsetParent.ownerDocument.body;\n  }\n  return rawOffsetParent;\n}\n\n// Gets the closest ancestor positioned element. Handles some edge cases,\n// such as table ancestors and cross browser bugs.\nfunction getOffsetParent(element, polyfill) {\n  const win = getWindow(element);\n  if (isTopLayer(element)) {\n    return win;\n  }\n  if (!isHTMLElement(element)) {\n    let svgOffsetParent = getParentNode(element);\n    while (svgOffsetParent && !isLastTraversableNode(svgOffsetParent)) {\n      if (isElement(svgOffsetParent) && !isStaticPositioned(svgOffsetParent)) {\n        return svgOffsetParent;\n      }\n      svgOffsetParent = getParentNode(svgOffsetParent);\n    }\n    return win;\n  }\n  let offsetParent = getTrueOffsetParent(element, polyfill);\n  while (offsetParent && isTableElement(offsetParent) && isStaticPositioned(offsetParent)) {\n    offsetParent = getTrueOffsetParent(offsetParent, polyfill);\n  }\n  if (offsetParent && isLastTraversableNode(offsetParent) && isStaticPositioned(offsetParent) && !isContainingBlock(offsetParent)) {\n    return win;\n  }\n  return offsetParent || getContainingBlock(element) || win;\n}\n\nconst getElementRects = async function (data) {\n  const getOffsetParentFn = this.getOffsetParent || getOffsetParent;\n  const getDimensionsFn = this.getDimensions;\n  const floatingDimensions = await getDimensionsFn(data.floating);\n  return {\n    reference: getRectRelativeToOffsetParent(data.reference, await getOffsetParentFn(data.floating), data.strategy),\n    floating: {\n      x: 0,\n      y: 0,\n      width: floatingDimensions.width,\n      height: floatingDimensions.height\n    }\n  };\n};\n\nfunction isRTL(element) {\n  return getComputedStyle(element).direction === 'rtl';\n}\n\nconst platform = {\n  convertOffsetParentRelativeRectToViewportRelativeRect,\n  getDocumentElement,\n  getClippingRect,\n  getOffsetParent,\n  getElementRects,\n  getClientRects,\n  getDimensions,\n  getScale,\n  isElement,\n  isRTL\n};\n\n// https://samthor.au/2021/observing-dom/\nfunction observeMove(element, onMove) {\n  let io = null;\n  let timeoutId;\n  const root = getDocumentElement(element);\n  function cleanup() {\n    var _io;\n    clearTimeout(timeoutId);\n    (_io = io) == null || _io.disconnect();\n    io = null;\n  }\n  function refresh(skip, threshold) {\n    if (skip === void 0) {\n      skip = false;\n    }\n    if (threshold === void 0) {\n      threshold = 1;\n    }\n    cleanup();\n    const {\n      left,\n      top,\n      width,\n      height\n    } = element.getBoundingClientRect();\n    if (!skip) {\n      onMove();\n    }\n    if (!width || !height) {\n      return;\n    }\n    const insetTop = floor(top);\n    const insetRight = floor(root.clientWidth - (left + width));\n    const insetBottom = floor(root.clientHeight - (top + height));\n    const insetLeft = floor(left);\n    const rootMargin = -insetTop + \"px \" + -insetRight + \"px \" + -insetBottom + \"px \" + -insetLeft + \"px\";\n    const options = {\n      rootMargin,\n      threshold: max(0, min(1, threshold)) || 1\n    };\n    let isFirstUpdate = true;\n    function handleObserve(entries) {\n      const ratio = entries[0].intersectionRatio;\n      if (ratio !== threshold) {\n        if (!isFirstUpdate) {\n          return refresh();\n        }\n        if (!ratio) {\n          // If the reference is clipped, the ratio is 0. Throttle the refresh\n          // to prevent an infinite loop of updates.\n          timeoutId = setTimeout(() => {\n            refresh(false, 1e-7);\n          }, 1000);\n        } else {\n          refresh(false, ratio);\n        }\n      }\n      isFirstUpdate = false;\n    }\n\n    // Older browsers don't support a `document` as the root and will throw an\n    // error.\n    try {\n      io = new IntersectionObserver(handleObserve, {\n        ...options,\n        // Handle <iframe>s\n        root: root.ownerDocument\n      });\n    } catch (e) {\n      io = new IntersectionObserver(handleObserve, options);\n    }\n    io.observe(element);\n  }\n  refresh(true);\n  return cleanup;\n}\n\n/**\n * Automatically updates the position of the floating element when necessary.\n * Should only be called when the floating element is mounted on the DOM or\n * visible on the screen.\n * @returns cleanup function that should be invoked when the floating element is\n * removed from the DOM or hidden from the screen.\n * @see https://floating-ui.com/docs/autoUpdate\n */\nfunction autoUpdate(reference, floating, update, options) {\n  if (options === void 0) {\n    options = {};\n  }\n  const {\n    ancestorScroll = true,\n    ancestorResize = true,\n    elementResize = typeof ResizeObserver === 'function',\n    layoutShift = typeof IntersectionObserver === 'function',\n    animationFrame = false\n  } = options;\n  const referenceEl = unwrapElement(reference);\n  const ancestors = ancestorScroll || ancestorResize ? [...(referenceEl ? getOverflowAncestors(referenceEl) : []), ...getOverflowAncestors(floating)] : [];\n  ancestors.forEach(ancestor => {\n    ancestorScroll && ancestor.addEventListener('scroll', update, {\n      passive: true\n    });\n    ancestorResize && ancestor.addEventListener('resize', update);\n  });\n  const cleanupIo = referenceEl && layoutShift ? observeMove(referenceEl, update) : null;\n  let reobserveFrame = -1;\n  let resizeObserver = null;\n  if (elementResize) {\n    resizeObserver = new ResizeObserver(_ref => {\n      let [firstEntry] = _ref;\n      if (firstEntry && firstEntry.target === referenceEl && resizeObserver) {\n        // Prevent update loops when using the `size` middleware.\n        // https://github.com/floating-ui/floating-ui/issues/1740\n        resizeObserver.unobserve(floating);\n        cancelAnimationFrame(reobserveFrame);\n        reobserveFrame = requestAnimationFrame(() => {\n          var _resizeObserver;\n          (_resizeObserver = resizeObserver) == null || _resizeObserver.observe(floating);\n        });\n      }\n      update();\n    });\n    if (referenceEl && !animationFrame) {\n      resizeObserver.observe(referenceEl);\n    }\n    resizeObserver.observe(floating);\n  }\n  let frameId;\n  let prevRefRect = animationFrame ? getBoundingClientRect(reference) : null;\n  if (animationFrame) {\n    frameLoop();\n  }\n  function frameLoop() {\n    const nextRefRect = getBoundingClientRect(reference);\n    if (prevRefRect && (nextRefRect.x !== prevRefRect.x || nextRefRect.y !== prevRefRect.y || nextRefRect.width !== prevRefRect.width || nextRefRect.height !== prevRefRect.height)) {\n      update();\n    }\n    prevRefRect = nextRefRect;\n    frameId = requestAnimationFrame(frameLoop);\n  }\n  update();\n  return () => {\n    var _resizeObserver2;\n    ancestors.forEach(ancestor => {\n      ancestorScroll && ancestor.removeEventListener('scroll', update);\n      ancestorResize && ancestor.removeEventListener('resize', update);\n    });\n    cleanupIo == null || cleanupIo();\n    (_resizeObserver2 = resizeObserver) == null || _resizeObserver2.disconnect();\n    resizeObserver = null;\n    if (animationFrame) {\n      cancelAnimationFrame(frameId);\n    }\n  };\n}\n\n/**\n * Resolves with an object of overflow side offsets that determine how much the\n * element is overflowing a given clipping boundary on each side.\n * - positive = overflowing the boundary by that number of pixels\n * - negative = how many pixels left before it will overflow\n * - 0 = lies flush with the boundary\n * @see https://floating-ui.com/docs/detectOverflow\n */\nconst detectOverflow = detectOverflow$1;\n\n/**\n * Modifies the placement by translating the floating element along the\n * specified axes.\n * A number (shorthand for `mainAxis` or distance), or an axes configuration\n * object may be passed.\n * @see https://floating-ui.com/docs/offset\n */\nconst offset = offset$1;\n\n/**\n * Optimizes the visibility of the floating element by choosing the placement\n * that has the most space available automatically, without needing to specify a\n * preferred placement. Alternative to `flip`.\n * @see https://floating-ui.com/docs/autoPlacement\n */\nconst autoPlacement = autoPlacement$1;\n\n/**\n * Optimizes the visibility of the floating element by shifting it in order to\n * keep it in view when it will overflow the clipping boundary.\n * @see https://floating-ui.com/docs/shift\n */\nconst shift = shift$1;\n\n/**\n * Optimizes the visibility of the floating element by flipping the `placement`\n * in order to keep it in view when the preferred placement(s) will overflow the\n * clipping boundary. Alternative to `autoPlacement`.\n * @see https://floating-ui.com/docs/flip\n */\nconst flip = flip$1;\n\n/**\n * Provides data that allows you to change the size of the floating element —\n * for instance, prevent it from overflowing the clipping boundary or match the\n * width of the reference element.\n * @see https://floating-ui.com/docs/size\n */\nconst size = size$1;\n\n/**\n * Provides data to hide the floating element in applicable situations, such as\n * when it is not in the same clipping context as the reference element.\n * @see https://floating-ui.com/docs/hide\n */\nconst hide = hide$1;\n\n/**\n * Provides data to position an inner element of the floating element so that it\n * appears centered to the reference element.\n * @see https://floating-ui.com/docs/arrow\n */\nconst arrow = arrow$1;\n\n/**\n * Provides improved positioning for inline reference elements that can span\n * over multiple lines, such as hyperlinks or range selections.\n * @see https://floating-ui.com/docs/inline\n */\nconst inline = inline$1;\n\n/**\n * Built-in `limiter` that will stop `shift()` at a certain point.\n */\nconst limitShift = limitShift$1;\n\n/**\n * Computes the `x` and `y` coordinates that will place the floating element\n * next to a given reference element.\n */\nconst computePosition = (reference, floating, options) => {\n  // This caches the expensive `getClippingElementAncestors` function so that\n  // multiple lifecycle resets re-use the same result. It only lives for a\n  // single call. If other functions become expensive, we can add them as well.\n  const cache = new Map();\n  const mergedOptions = {\n    platform,\n    ...options\n  };\n  const platformWithCache = {\n    ...mergedOptions.platform,\n    _c: cache\n  };\n  return computePosition$1(reference, floating, {\n    ...mergedOptions,\n    platform: platformWithCache\n  });\n};\n\nexport { arrow, autoPlacement, autoUpdate, computePosition, detectOverflow, flip, hide, inline, limitShift, offset, platform, shift, size };\n","import { computePosition, arrow as arrow$2, offset as offset$1, shift as shift$1, limitShift as limitShift$1, flip as flip$1, size as size$1, autoPlacement as autoPlacement$1, hide as hide$1, inline as inline$1 } from '@floating-ui/dom';\nexport { autoUpdate, computePosition, detectOverflow, getOverflowAncestors, platform } from '@floating-ui/dom';\nimport * as React from 'react';\nimport { useLayoutEffect, useEffect } from 'react';\nimport * as ReactDOM from 'react-dom';\n\nvar index = typeof document !== 'undefined' ? useLayoutEffect : useEffect;\n\n// Fork of `fast-deep-equal` that only does the comparisons we need and compares\n// functions\nfunction deepEqual(a, b) {\n  if (a === b) {\n    return true;\n  }\n  if (typeof a !== typeof b) {\n    return false;\n  }\n  if (typeof a === 'function' && a.toString() === b.toString()) {\n    return true;\n  }\n  let length;\n  let i;\n  let keys;\n  if (a && b && typeof a === 'object') {\n    if (Array.isArray(a)) {\n      length = a.length;\n      if (length !== b.length) return false;\n      for (i = length; i-- !== 0;) {\n        if (!deepEqual(a[i], b[i])) {\n          return false;\n        }\n      }\n      return true;\n    }\n    keys = Object.keys(a);\n    length = keys.length;\n    if (length !== Object.keys(b).length) {\n      return false;\n    }\n    for (i = length; i-- !== 0;) {\n      if (!{}.hasOwnProperty.call(b, keys[i])) {\n        return false;\n      }\n    }\n    for (i = length; i-- !== 0;) {\n      const key = keys[i];\n      if (key === '_owner' && a.$$typeof) {\n        continue;\n      }\n      if (!deepEqual(a[key], b[key])) {\n        return false;\n      }\n    }\n    return true;\n  }\n  return a !== a && b !== b;\n}\n\nfunction getDPR(element) {\n  if (typeof window === 'undefined') {\n    return 1;\n  }\n  const win = element.ownerDocument.defaultView || window;\n  return win.devicePixelRatio || 1;\n}\n\nfunction roundByDPR(element, value) {\n  const dpr = getDPR(element);\n  return Math.round(value * dpr) / dpr;\n}\n\nfunction useLatestRef(value) {\n  const ref = React.useRef(value);\n  index(() => {\n    ref.current = value;\n  });\n  return ref;\n}\n\n/**\n * Provides data to position a floating element.\n * @see https://floating-ui.com/docs/useFloating\n */\nfunction useFloating(options) {\n  if (options === void 0) {\n    options = {};\n  }\n  const {\n    placement = 'bottom',\n    strategy = 'absolute',\n    middleware = [],\n    platform,\n    elements: {\n      reference: externalReference,\n      floating: externalFloating\n    } = {},\n    transform = true,\n    whileElementsMounted,\n    open\n  } = options;\n  const [data, setData] = React.useState({\n    x: 0,\n    y: 0,\n    strategy,\n    placement,\n    middlewareData: {},\n    isPositioned: false\n  });\n  const [latestMiddleware, setLatestMiddleware] = React.useState(middleware);\n  if (!deepEqual(latestMiddleware, middleware)) {\n    setLatestMiddleware(middleware);\n  }\n  const [_reference, _setReference] = React.useState(null);\n  const [_floating, _setFloating] = React.useState(null);\n  const setReference = React.useCallback(node => {\n    if (node !== referenceRef.current) {\n      referenceRef.current = node;\n      _setReference(node);\n    }\n  }, []);\n  const setFloating = React.useCallback(node => {\n    if (node !== floatingRef.current) {\n      floatingRef.current = node;\n      _setFloating(node);\n    }\n  }, []);\n  const referenceEl = externalReference || _reference;\n  const floatingEl = externalFloating || _floating;\n  const referenceRef = React.useRef(null);\n  const floatingRef = React.useRef(null);\n  const dataRef = React.useRef(data);\n  const hasWhileElementsMounted = whileElementsMounted != null;\n  const whileElementsMountedRef = useLatestRef(whileElementsMounted);\n  const platformRef = useLatestRef(platform);\n  const openRef = useLatestRef(open);\n  const update = React.useCallback(() => {\n    if (!referenceRef.current || !floatingRef.current) {\n      return;\n    }\n    const config = {\n      placement,\n      strategy,\n      middleware: latestMiddleware\n    };\n    if (platformRef.current) {\n      config.platform = platformRef.current;\n    }\n    computePosition(referenceRef.current, floatingRef.current, config).then(data => {\n      const fullData = {\n        ...data,\n        // The floating element's position may be recomputed while it's closed\n        // but still mounted (such as when transitioning out). To ensure\n        // `isPositioned` will be `false` initially on the next open, avoid\n        // setting it to `true` when `open === false` (must be specified).\n        isPositioned: openRef.current !== false\n      };\n      if (isMountedRef.current && !deepEqual(dataRef.current, fullData)) {\n        dataRef.current = fullData;\n        ReactDOM.flushSync(() => {\n          setData(fullData);\n        });\n      }\n    });\n  }, [latestMiddleware, placement, strategy, platformRef, openRef]);\n  index(() => {\n    if (open === false && dataRef.current.isPositioned) {\n      dataRef.current.isPositioned = false;\n      setData(data => ({\n        ...data,\n        isPositioned: false\n      }));\n    }\n  }, [open]);\n  const isMountedRef = React.useRef(false);\n  index(() => {\n    isMountedRef.current = true;\n    return () => {\n      isMountedRef.current = false;\n    };\n  }, []);\n  index(() => {\n    if (referenceEl) referenceRef.current = referenceEl;\n    if (floatingEl) floatingRef.current = floatingEl;\n    if (referenceEl && floatingEl) {\n      if (whileElementsMountedRef.current) {\n        return whileElementsMountedRef.current(referenceEl, floatingEl, update);\n      }\n      update();\n    }\n  }, [referenceEl, floatingEl, update, whileElementsMountedRef, hasWhileElementsMounted]);\n  const refs = React.useMemo(() => ({\n    reference: referenceRef,\n    floating: floatingRef,\n    setReference,\n    setFloating\n  }), [setReference, setFloating]);\n  const elements = React.useMemo(() => ({\n    reference: referenceEl,\n    floating: floatingEl\n  }), [referenceEl, floatingEl]);\n  const floatingStyles = React.useMemo(() => {\n    const initialStyles = {\n      position: strategy,\n      left: 0,\n      top: 0\n    };\n    if (!elements.floating) {\n      return initialStyles;\n    }\n    const x = roundByDPR(elements.floating, data.x);\n    const y = roundByDPR(elements.floating, data.y);\n    if (transform) {\n      return {\n        ...initialStyles,\n        transform: \"translate(\" + x + \"px, \" + y + \"px)\",\n        ...(getDPR(elements.floating) >= 1.5 && {\n          willChange: 'transform'\n        })\n      };\n    }\n    return {\n      position: strategy,\n      left: x,\n      top: y\n    };\n  }, [strategy, transform, elements.floating, data.x, data.y]);\n  return React.useMemo(() => ({\n    ...data,\n    update,\n    refs,\n    elements,\n    floatingStyles\n  }), [data, update, refs, elements, floatingStyles]);\n}\n\n/**\n * Provides data to position an inner element of the floating element so that it\n * appears centered to the reference element.\n * This wraps the core `arrow` middleware to allow React refs as the element.\n * @see https://floating-ui.com/docs/arrow\n */\nconst arrow$1 = options => {\n  function isRef(value) {\n    return {}.hasOwnProperty.call(value, 'current');\n  }\n  return {\n    name: 'arrow',\n    options,\n    fn(state) {\n      const {\n        element,\n        padding\n      } = typeof options === 'function' ? options(state) : options;\n      if (element && isRef(element)) {\n        if (element.current != null) {\n          return arrow$2({\n            element: element.current,\n            padding\n          }).fn(state);\n        }\n        return {};\n      }\n      if (element) {\n        return arrow$2({\n          element,\n          padding\n        }).fn(state);\n      }\n      return {};\n    }\n  };\n};\n\n/**\n * Modifies the placement by translating the floating element along the\n * specified axes.\n * A number (shorthand for `mainAxis` or distance), or an axes configuration\n * object may be passed.\n * @see https://floating-ui.com/docs/offset\n */\nconst offset = (options, deps) => ({\n  ...offset$1(options),\n  options: [options, deps]\n});\n\n/**\n * Optimizes the visibility of the floating element by shifting it in order to\n * keep it in view when it will overflow the clipping boundary.\n * @see https://floating-ui.com/docs/shift\n */\nconst shift = (options, deps) => ({\n  ...shift$1(options),\n  options: [options, deps]\n});\n\n/**\n * Built-in `limiter` that will stop `shift()` at a certain point.\n */\nconst limitShift = (options, deps) => ({\n  ...limitShift$1(options),\n  options: [options, deps]\n});\n\n/**\n * Optimizes the visibility of the floating element by flipping the `placement`\n * in order to keep it in view when the preferred placement(s) will overflow the\n * clipping boundary. Alternative to `autoPlacement`.\n * @see https://floating-ui.com/docs/flip\n */\nconst flip = (options, deps) => ({\n  ...flip$1(options),\n  options: [options, deps]\n});\n\n/**\n * Provides data that allows you to change the size of the floating element —\n * for instance, prevent it from overflowing the clipping boundary or match the\n * width of the reference element.\n * @see https://floating-ui.com/docs/size\n */\nconst size = (options, deps) => ({\n  ...size$1(options),\n  options: [options, deps]\n});\n\n/**\n * Optimizes the visibility of the floating element by choosing the placement\n * that has the most space available automatically, without needing to specify a\n * preferred placement. Alternative to `flip`.\n * @see https://floating-ui.com/docs/autoPlacement\n */\nconst autoPlacement = (options, deps) => ({\n  ...autoPlacement$1(options),\n  options: [options, deps]\n});\n\n/**\n * Provides data to hide the floating element in applicable situations, such as\n * when it is not in the same clipping context as the reference element.\n * @see https://floating-ui.com/docs/hide\n */\nconst hide = (options, deps) => ({\n  ...hide$1(options),\n  options: [options, deps]\n});\n\n/**\n * Provides improved positioning for inline reference elements that can span\n * over multiple lines, such as hyperlinks or range selections.\n * @see https://floating-ui.com/docs/inline\n */\nconst inline = (options, deps) => ({\n  ...inline$1(options),\n  options: [options, deps]\n});\n\n/**\n * Provides data to position an inner element of the floating element so that it\n * appears centered to the reference element.\n * This wraps the core `arrow` middleware to allow React refs as the element.\n * @see https://floating-ui.com/docs/arrow\n */\nconst arrow = (options, deps) => ({\n  ...arrow$1(options),\n  options: [options, deps]\n});\n\nexport { arrow, autoPlacement, flip, hide, inline, limitShift, offset, shift, size, useFloating };\n","import { warnOnce } from '../../utils/warn-once.mjs';\n\nfunction createDOMMotionComponentProxy(componentFactory) {\n    if (typeof Proxy === \"undefined\") {\n        return componentFactory;\n    }\n    /**\n     * A cache of generated `motion` components, e.g `motion.div`, `motion.input` etc.\n     * Rather than generating them anew every render.\n     */\n    const componentCache = new Map();\n    const deprecatedFactoryFunction = (...args) => {\n        if (process.env.NODE_ENV !== \"production\") {\n            warnOnce(false, \"motion() is deprecated. Use motion.create() instead.\");\n        }\n        return componentFactory(...args);\n    };\n    return new Proxy(deprecatedFactoryFunction, {\n        /**\n         * Called when `motion` is referenced with a prop: `motion.div`, `motion.input` etc.\n         * The prop name is passed through as `key` and we can use that to generate a `motion`\n         * DOM component with that name.\n         */\n        get: (_target, key) => {\n            if (key === \"create\")\n                return componentFactory;\n            /**\n             * If this element doesn't exist in the component cache, create it and cache.\n             */\n            if (!componentCache.has(key)) {\n                componentCache.set(key, componentFactory(key));\n            }\n            return componentCache.get(key);\n        },\n    });\n}\n\nexport { createDOMMotionComponentProxy };\n","function isAnimationControls(v) {\n    return (v !== null &&\n        typeof v === \"object\" &&\n        typeof v.start === \"function\");\n}\n\nexport { isAnimationControls };\n","const isKeyframesTarget = (v) => {\n    return Array.isArray(v);\n};\n\nexport { isKeyframesTarget };\n","function shallowCompare(next, prev) {\n    if (!Array.isArray(prev))\n        return false;\n    const prevLength = prev.length;\n    if (prevLength !== next.length)\n        return false;\n    for (let i = 0; i < prevLength; i++) {\n        if (prev[i] !== next[i])\n            return false;\n    }\n    return true;\n}\n\nexport { shallowCompare };\n","/**\n * Decides if the supplied variable is variant label\n */\nfunction isVariantLabel(v) {\n    return typeof v === \"string\" || Array.isArray(v);\n}\n\nexport { isVariantLabel };\n","function getValueState(visualElement) {\n    const state = [{}, {}];\n    visualElement === null || visualElement === void 0 ? void 0 : visualElement.values.forEach((value, key) => {\n        state[0][key] = value.get();\n        state[1][key] = value.getVelocity();\n    });\n    return state;\n}\nfunction resolveVariantFromProps(props, definition, custom, visualElement) {\n    /**\n     * If the variant definition is a function, resolve.\n     */\n    if (typeof definition === \"function\") {\n        const [current, velocity] = getValueState(visualElement);\n        definition = definition(custom !== undefined ? custom : props.custom, current, velocity);\n    }\n    /**\n     * If the variant definition is a variant label, or\n     * the function returned a variant label, resolve.\n     */\n    if (typeof definition === \"string\") {\n        definition = props.variants && props.variants[definition];\n    }\n    /**\n     * At this point we've resolved both functions and variant labels,\n     * but the resolved variant label might itself have been a function.\n     * If so, resolve. This can only have returned a valid target object.\n     */\n    if (typeof definition === \"function\") {\n        const [current, velocity] = getValueState(visualElement);\n        definition = definition(custom !== undefined ? custom : props.custom, current, velocity);\n    }\n    return definition;\n}\n\nexport { resolveVariantFromProps };\n","import { resolveVariantFromProps } from './resolve-variants.mjs';\n\nfunction resolveVariant(visualElement, definition, custom) {\n    const props = visualElement.getProps();\n    return resolveVariantFromProps(props, definition, custom !== undefined ? custom : props.custom, visualElement);\n}\n\nexport { resolveVariant };\n","const variantPriorityOrder = [\n    \"animate\",\n    \"whileInView\",\n    \"whileFocus\",\n    \"whileHover\",\n    \"whileTap\",\n    \"whileDrag\",\n    \"exit\",\n];\nconst variantProps = [\"initial\", ...variantPriorityOrder];\n\nexport { variantPriorityOrder, variantProps };\n","/**\n * Generate a list of every possible transform key.\n */\nconst transformPropOrder = [\n    \"transformPerspective\",\n    \"x\",\n    \"y\",\n    \"z\",\n    \"translateX\",\n    \"translateY\",\n    \"translateZ\",\n    \"scale\",\n    \"scaleX\",\n    \"scaleY\",\n    \"rotate\",\n    \"rotateX\",\n    \"rotateY\",\n    \"rotateZ\",\n    \"skew\",\n    \"skewX\",\n    \"skewY\",\n];\n/**\n * A quick lookup for transform props.\n */\nconst transformProps = new Set(transformPropOrder);\n\nexport { transformPropOrder, transformProps };\n","/**\n * Converts seconds to milliseconds\n *\n * @param seconds - Time in seconds.\n * @return milliseconds - Converted time in milliseconds.\n */\nconst secondsToMilliseconds = (seconds) => seconds * 1000;\nconst millisecondsToSeconds = (milliseconds) => milliseconds / 1000;\n\nexport { millisecondsToSeconds, secondsToMilliseconds };\n","import { transformProps } from '../../render/html/utils/transform.mjs';\n\nconst underDampedSpring = {\n    type: \"spring\",\n    stiffness: 500,\n    damping: 25,\n    restSpeed: 10,\n};\nconst criticallyDampedSpring = (target) => ({\n    type: \"spring\",\n    stiffness: 550,\n    damping: target === 0 ? 2 * Math.sqrt(550) : 30,\n    restSpeed: 10,\n});\nconst keyframesTransition = {\n    type: \"keyframes\",\n    duration: 0.8,\n};\n/**\n * Default easing curve is a slightly shallower version of\n * the default browser easing curve.\n */\nconst ease = {\n    type: \"keyframes\",\n    ease: [0.25, 0.1, 0.35, 1],\n    duration: 0.3,\n};\nconst getDefaultTransition = (valueKey, { keyframes }) => {\n    if (keyframes.length > 2) {\n        return keyframesTransition;\n    }\n    else if (transformProps.has(valueKey)) {\n        return valueKey.startsWith(\"scale\")\n            ? criticallyDampedSpring(keyframes[1])\n            : underDampedSpring;\n    }\n    return ease;\n};\n\nexport { getDefaultTransition };\n","function getValueTransition(transition, key) {\n    return transition\n        ? transition[key] ||\n            transition[\"default\"] ||\n            transition\n        : undefined;\n}\n\nexport { getValueTransition };\n","const MotionGlobalConfig = {\n    skipAnimations: false,\n    useManualTiming: false,\n};\n\nexport { MotionGlobalConfig };\n","const isNotNull = (value) => value !== null;\nfunction getFinalKeyframe(keyframes, { repeat, repeatType = \"loop\" }, finalKeyframe) {\n    const resolvedKeyframes = keyframes.filter(isNotNull);\n    const index = repeat && repeatType !== \"loop\" && repeat % 2 === 1\n        ? 0\n        : resolvedKeyframes.length - 1;\n    return !index || finalKeyframe === undefined\n        ? resolvedKeyframes[index]\n        : finalKeyframe;\n}\n\nexport { getFinalKeyframe };\n","const noop = (any) => any;\n\nexport { noop };\n","import { MotionGlobalConfig } from '../utils/GlobalConfig.mjs';\nimport { createRenderStep } from './render-step.mjs';\n\nconst stepsOrder = [\n    \"read\", // Read\n    \"resolveKeyframes\", // Write/Read/Write/Read\n    \"update\", // Compute\n    \"preRender\", // Compute\n    \"render\", // Write\n    \"postRender\", // Compute\n];\nconst maxElapsed = 40;\nfunction createRenderBatcher(scheduleNextBatch, allowKeepAlive) {\n    let runNextFrame = false;\n    let useDefaultElapsed = true;\n    const state = {\n        delta: 0.0,\n        timestamp: 0.0,\n        isProcessing: false,\n    };\n    const flagRunNextFrame = () => (runNextFrame = true);\n    const steps = stepsOrder.reduce((acc, key) => {\n        acc[key] = createRenderStep(flagRunNextFrame);\n        return acc;\n    }, {});\n    const { read, resolveKeyframes, update, preRender, render, postRender } = steps;\n    const processBatch = () => {\n        const timestamp = MotionGlobalConfig.useManualTiming\n            ? state.timestamp\n            : performance.now();\n        runNextFrame = false;\n        state.delta = useDefaultElapsed\n            ? 1000 / 60\n            : Math.max(Math.min(timestamp - state.timestamp, maxElapsed), 1);\n        state.timestamp = timestamp;\n        state.isProcessing = true;\n        // Unrolled render loop for better per-frame performance\n        read.process(state);\n        resolveKeyframes.process(state);\n        update.process(state);\n        preRender.process(state);\n        render.process(state);\n        postRender.process(state);\n        state.isProcessing = false;\n        if (runNextFrame && allowKeepAlive) {\n            useDefaultElapsed = false;\n            scheduleNextBatch(processBatch);\n        }\n    };\n    const wake = () => {\n        runNextFrame = true;\n        useDefaultElapsed = true;\n        if (!state.isProcessing) {\n            scheduleNextBatch(processBatch);\n        }\n    };\n    const schedule = stepsOrder.reduce((acc, key) => {\n        const step = steps[key];\n        acc[key] = (process, keepAlive = false, immediate = false) => {\n            if (!runNextFrame)\n                wake();\n            return step.schedule(process, keepAlive, immediate);\n        };\n        return acc;\n    }, {});\n    const cancel = (process) => {\n        for (let i = 0; i < stepsOrder.length; i++) {\n            steps[stepsOrder[i]].cancel(process);\n        }\n    };\n    return { schedule, cancel, state, steps };\n}\n\nexport { createRenderBatcher, stepsOrder };\n","function createRenderStep(runNextFrame) {\n    /**\n     * We create and reuse two queues, one to queue jobs for the current frame\n     * and one for the next. We reuse to avoid triggering GC after x frames.\n     */\n    let thisFrame = new Set();\n    let nextFrame = new Set();\n    /**\n     * Track whether we're currently processing jobs in this step. This way\n     * we can decide whether to schedule new jobs for this frame or next.\n     */\n    let isProcessing = false;\n    let flushNextFrame = false;\n    /**\n     * A set of processes which were marked keepAlive when scheduled.\n     */\n    const toKeepAlive = new WeakSet();\n    let latestFrameData = {\n        delta: 0.0,\n        timestamp: 0.0,\n        isProcessing: false,\n    };\n    function triggerCallback(callback) {\n        if (toKeepAlive.has(callback)) {\n            step.schedule(callback);\n            runNextFrame();\n        }\n        callback(latestFrameData);\n    }\n    const step = {\n        /**\n         * Schedule a process to run on the next frame.\n         */\n        schedule: (callback, keepAlive = false, immediate = false) => {\n            const addToCurrentFrame = immediate && isProcessing;\n            const queue = addToCurrentFrame ? thisFrame : nextFrame;\n            if (keepAlive)\n                toKeepAlive.add(callback);\n            if (!queue.has(callback))\n                queue.add(callback);\n            return callback;\n        },\n        /**\n         * Cancel the provided callback from running on the next frame.\n         */\n        cancel: (callback) => {\n            nextFrame.delete(callback);\n            toKeepAlive.delete(callback);\n        },\n        /**\n         * Execute all schedule callbacks.\n         */\n        process: (frameData) => {\n            latestFrameData = frameData;\n            /**\n             * If we're already processing we've probably been triggered by a flushSync\n             * inside an existing process. Instead of executing, mark flushNextFrame\n             * as true and ensure we flush the following frame at the end of this one.\n             */\n            if (isProcessing) {\n                flushNextFrame = true;\n                return;\n            }\n            isProcessing = true;\n            [thisFrame, nextFrame] = [nextFrame, thisFrame];\n            // Execute this frame\n            thisFrame.forEach(triggerCallback);\n            // Clear the frame so no callbacks remain. This is to avoid\n            // memory leaks should this render step not run for a while.\n            thisFrame.clear();\n            isProcessing = false;\n            if (flushNextFrame) {\n                flushNextFrame = false;\n                step.process(frameData);\n            }\n        },\n    };\n    return step;\n}\n\nexport { createRenderStep };\n","import { noop } from 'motion-utils';\nimport { createRenderBatcher } from './batcher.mjs';\n\nconst { schedule: frame, cancel: cancelFrame, state: frameData, steps: frameSteps, } = createRenderBatcher(typeof requestAnimationFrame !== \"undefined\" ? requestAnimationFrame : noop, true);\n\nexport { cancelFrame, frame, frameData, frameSteps };\n","import { noop } from 'motion-utils';\n\n/*\n  Bezier function generator\n  This has been modified from Gaëtan Renaudeau's BezierEasing\n  https://github.com/gre/bezier-easing/blob/master/src/index.js\n  https://github.com/gre/bezier-easing/blob/master/LICENSE\n  \n  I've removed the newtonRaphsonIterate algo because in benchmarking it\n  wasn't noticiably faster than binarySubdivision, indeed removing it\n  usually improved times, depending on the curve.\n  I also removed the lookup table, as for the added bundle size and loop we're\n  only cutting ~4 or so subdivision iterations. I bumped the max iterations up\n  to 12 to compensate and this still tended to be faster for no perceivable\n  loss in accuracy.\n  Usage\n    const easeOut = cubicBezier(.17,.67,.83,.67);\n    const x = easeOut(0.5); // returns 0.627...\n*/\n// Returns x(t) given t, x1, and x2, or y(t) given t, y1, and y2.\nconst calcBezier = (t, a1, a2) => (((1.0 - 3.0 * a2 + 3.0 * a1) * t + (3.0 * a2 - 6.0 * a1)) * t + 3.0 * a1) *\n    t;\nconst subdivisionPrecision = 0.0000001;\nconst subdivisionMaxIterations = 12;\nfunction binarySubdivide(x, lowerBound, upperBound, mX1, mX2) {\n    let currentX;\n    let currentT;\n    let i = 0;\n    do {\n        currentT = lowerBound + (upperBound - lowerBound) / 2.0;\n        currentX = calcBezier(currentT, mX1, mX2) - x;\n        if (currentX > 0.0) {\n            upperBound = currentT;\n        }\n        else {\n            lowerBound = currentT;\n        }\n    } while (Math.abs(currentX) > subdivisionPrecision &&\n        ++i < subdivisionMaxIterations);\n    return currentT;\n}\nfunction cubicBezier(mX1, mY1, mX2, mY2) {\n    // If this is a linear gradient, return linear easing\n    if (mX1 === mY1 && mX2 === mY2)\n        return noop;\n    const getTForX = (aX) => binarySubdivide(aX, 0, 1, mX1, mX2);\n    // If animation is at start/end, return t without easing\n    return (t) => t === 0 || t === 1 ? t : calcBezier(getTForX(t), mY1, mY2);\n}\n\nexport { cubicBezier };\n","// Accepts an easing function and returns a new one that outputs mirrored values for\n// the second half of the animation. Turns easeIn into easeInOut.\nconst mirrorEasing = (easing) => (p) => p <= 0.5 ? easing(2 * p) / 2 : (2 - easing(2 * (1 - p))) / 2;\n\nexport { mirrorEasing };\n","// Accepts an easing function and returns a new one that outputs reversed values.\n// Turns easeIn into easeOut.\nconst reverseEasing = (easing) => (p) => 1 - easing(1 - p);\n\nexport { reverseEasing };\n","import { cubicBezier } from './cubic-bezier.mjs';\nimport { mirrorEasing } from './modifiers/mirror.mjs';\nimport { reverseEasing } from './modifiers/reverse.mjs';\n\nconst backOut = /*@__PURE__*/ cubicBezier(0.33, 1.53, 0.69, 0.99);\nconst backIn = /*@__PURE__*/ reverseEasing(backOut);\nconst backInOut = /*@__PURE__*/ mirrorEasing(backIn);\n\nexport { backIn, backInOut, backOut };\n","import { backIn } from './back.mjs';\n\nconst anticipate = (p) => (p *= 2) < 1 ? 0.5 * backIn(p) : 0.5 * (2 - Math.pow(2, -10 * (p - 1)));\n\nexport { anticipate };\n","import { mirrorEasing } from './modifiers/mirror.mjs';\nimport { reverseEasing } from './modifiers/reverse.mjs';\n\nconst circIn = (p) => 1 - Math.sin(Math.acos(p));\nconst circOut = reverseEasing(circIn);\nconst circInOut = mirrorEasing(circIn);\n\nexport { circIn, circInOut, circOut };\n","/**\n * Check if the value is a zero value string like \"0px\" or \"0%\"\n */\nconst isZeroValueString = (v) => /^0[^.\\s]+$/u.test(v);\n\nexport { isZeroValueString };\n","/**\n * Check if value is a numerical string, ie a string that is purely a number eg \"100\" or \"-100.1\"\n */\nconst isNumericalString = (v) => /^-?(?:\\d+(?:\\.\\d+)?|\\.\\d+)$/u.test(v);\n\nexport { isNumericalString };\n","const checkStringStartsWith = (token) => (key) => typeof key === \"string\" && key.startsWith(token);\nconst isCSSVariableName = \n/*@__PURE__*/ checkStringStartsWith(\"--\");\nconst startsAsVariableToken = \n/*@__PURE__*/ checkStringStartsWith(\"var(--\");\nconst isCSSVariableToken = (value) => {\n    const startsWithToken = startsAsVariableToken(value);\n    if (!startsWithToken)\n        return false;\n    // Ensure any comments are stripped from the value as this can harm performance of the regex.\n    return singleCssVariableRegex.test(value.split(\"/*\")[0].trim());\n};\nconst singleCssVariableRegex = /var\\(--(?:[\\w-]+\\s*|[\\w-]+\\s*,(?:\\s*[^)(\\s]|\\s*\\((?:[^)(]|\\([^)(]*\\))*\\))+\\s*)\\)$/iu;\n\nexport { isCSSVariableName, isCSSVariableToken };\n","import { invariant } from 'motion-utils';\nimport { isNumericalString } from '../../../utils/is-numerical-string.mjs';\nimport { isCSSVariableToken } from './is-css-variable.mjs';\n\n/**\n * Parse Framer's special CSS variable format into a CSS token and a fallback.\n *\n * ```\n * `var(--foo, #fff)` => [`--foo`, '#fff']\n * ```\n *\n * @param current\n */\nconst splitCSSVariableRegex = \n// eslint-disable-next-line redos-detector/no-unsafe-regex -- false positive, as it can match a lot of words\n/^var\\(--(?:([\\w-]+)|([\\w-]+), ?([a-zA-Z\\d ()%#.,-]+))\\)/u;\nfunction parseCSSVariable(current) {\n    const match = splitCSSVariableRegex.exec(current);\n    if (!match)\n        return [,];\n    const [, token1, token2, fallback] = match;\n    return [`--${token1 !== null && token1 !== void 0 ? token1 : token2}`, fallback];\n}\nconst maxDepth = 4;\nfunction getVariableValue(current, element, depth = 1) {\n    invariant(depth <= maxDepth, `Max CSS variable fallback depth detected in property \"${current}\". This may indicate a circular fallback dependency.`);\n    const [token, fallback] = parseCSSVariable(current);\n    // No CSS variable detected\n    if (!token)\n        return;\n    // Attempt to read this CSS variable off the element\n    const resolved = window.getComputedStyle(element).getPropertyValue(token);\n    if (resolved) {\n        const trimmed = resolved.trim();\n        return isNumericalString(trimmed) ? parseFloat(trimmed) : trimmed;\n    }\n    return isCSSVariableToken(fallback)\n        ? getVariableValue(fallback, element, depth + 1)\n        : fallback;\n}\n\nexport { getVariableValue, parseCSSVariable };\n","const clamp = (min, max, v) => {\n    if (v > max)\n        return max;\n    if (v < min)\n        return min;\n    return v;\n};\n\nexport { clamp };\n","import { clamp } from '../../../utils/clamp.mjs';\n\nconst number = {\n    test: (v) => typeof v === \"number\",\n    parse: parseFloat,\n    transform: (v) => v,\n};\nconst alpha = {\n    ...number,\n    transform: (v) => clamp(0, 1, v),\n};\nconst scale = {\n    ...number,\n    default: 1,\n};\n\nexport { alpha, number, scale };\n","const createUnitType = (unit) => ({\n    test: (v) => typeof v === \"string\" && v.endsWith(unit) && v.split(\" \").length === 1,\n    parse: parseFloat,\n    transform: (v) => `${v}${unit}`,\n});\nconst degrees = /*@__PURE__*/ createUnitType(\"deg\");\nconst percent = /*@__PURE__*/ createUnitType(\"%\");\nconst px = /*@__PURE__*/ createUnitType(\"px\");\nconst vh = /*@__PURE__*/ createUnitType(\"vh\");\nconst vw = /*@__PURE__*/ createUnitType(\"vw\");\nconst progressPercentage = {\n    ...percent,\n    parse: (v) => percent.parse(v) / 100,\n    transform: (v) => percent.transform(v * 100),\n};\n\nexport { degrees, percent, progressPercentage, px, vh, vw };\n","import { transformPropOrder } from '../../html/utils/transform.mjs';\nimport { number } from '../../../value/types/numbers/index.mjs';\nimport { px } from '../../../value/types/numbers/units.mjs';\n\nconst positionalKeys = new Set([\n    \"width\",\n    \"height\",\n    \"top\",\n    \"left\",\n    \"right\",\n    \"bottom\",\n    \"x\",\n    \"y\",\n    \"translateX\",\n    \"translateY\",\n]);\nconst isNumOrPxType = (v) => v === number || v === px;\nconst getPosFromMatrix = (matrix, pos) => parseFloat(matrix.split(\", \")[pos]);\nconst getTranslateFromMatrix = (pos2, pos3) => (_bbox, { transform }) => {\n    if (transform === \"none\" || !transform)\n        return 0;\n    const matrix3d = transform.match(/^matrix3d\\((.+)\\)$/u);\n    if (matrix3d) {\n        return getPosFromMatrix(matrix3d[1], pos3);\n    }\n    else {\n        const matrix = transform.match(/^matrix\\((.+)\\)$/u);\n        if (matrix) {\n            return getPosFromMatrix(matrix[1], pos2);\n        }\n        else {\n            return 0;\n        }\n    }\n};\nconst transformKeys = new Set([\"x\", \"y\", \"z\"]);\nconst nonTranslationalTransformKeys = transformPropOrder.filter((key) => !transformKeys.has(key));\nfunction removeNonTranslationalTransform(visualElement) {\n    const removedTransforms = [];\n    nonTranslationalTransformKeys.forEach((key) => {\n        const value = visualElement.getValue(key);\n        if (value !== undefined) {\n            removedTransforms.push([key, value.get()]);\n            value.set(key.startsWith(\"scale\") ? 1 : 0);\n        }\n    });\n    return removedTransforms;\n}\nconst positionalValues = {\n    // Dimensions\n    width: ({ x }, { paddingLeft = \"0\", paddingRight = \"0\" }) => x.max - x.min - parseFloat(paddingLeft) - parseFloat(paddingRight),\n    height: ({ y }, { paddingTop = \"0\", paddingBottom = \"0\" }) => y.max - y.min - parseFloat(paddingTop) - parseFloat(paddingBottom),\n    top: (_bbox, { top }) => parseFloat(top),\n    left: (_bbox, { left }) => parseFloat(left),\n    bottom: ({ y }, { top }) => parseFloat(top) + (y.max - y.min),\n    right: ({ x }, { left }) => parseFloat(left) + (x.max - x.min),\n    // Transform\n    x: getTranslateFromMatrix(4, 13),\n    y: getTranslateFromMatrix(5, 14),\n};\n// Alias translate longform names\npositionalValues.translateX = positionalValues.x;\npositionalValues.translateY = positionalValues.y;\n\nexport { isNumOrPxType, positionalKeys, positionalValues, removeNonTranslationalTransform };\n","/**\n * Tests a provided value against a ValueType\n */\nconst testValueType = (v) => (type) => type.test(v);\n\nexport { testValueType };\n","import { number } from '../../../value/types/numbers/index.mjs';\nimport { px, percent, degrees, vw, vh } from '../../../value/types/numbers/units.mjs';\nimport { testValueType } from './test.mjs';\nimport { auto } from './type-auto.mjs';\n\n/**\n * A list of value types commonly used for dimensions\n */\nconst dimensionValueTypes = [number, px, percent, degrees, vw, vh, auto];\n/**\n * Tests a dimensional value against the list of dimension ValueTypes\n */\nconst findDimensionValueType = (v) => dimensionValueTypes.find(testValueType(v));\n\nexport { dimensionValueTypes, findDimensionValueType };\n","/**\n * ValueType for \"auto\"\n */\nconst auto = {\n    test: (v) => v === \"auto\",\n    parse: (v) => v,\n};\n\nexport { auto };\n","import { removeNonTranslationalTransform } from '../dom/utils/unit-conversion.mjs';\nimport { frame } from '../../frameloop/frame.mjs';\n\nconst toResolve = new Set();\nlet isScheduled = false;\nlet anyNeedsMeasurement = false;\nfunction measureAllKeyframes() {\n    if (anyNeedsMeasurement) {\n        const resolversToMeasure = Array.from(toResolve).filter((resolver) => resolver.needsMeasurement);\n        const elementsToMeasure = new Set(resolversToMeasure.map((resolver) => resolver.element));\n        const transformsToRestore = new Map();\n        /**\n         * Write pass\n         * If we're measuring elements we want to remove bounding box-changing transforms.\n         */\n        elementsToMeasure.forEach((element) => {\n            const removedTransforms = removeNonTranslationalTransform(element);\n            if (!removedTransforms.length)\n                return;\n            transformsToRestore.set(element, removedTransforms);\n            element.render();\n        });\n        // Read\n        resolversToMeasure.forEach((resolver) => resolver.measureInitialState());\n        // Write\n        elementsToMeasure.forEach((element) => {\n            element.render();\n            const restore = transformsToRestore.get(element);\n            if (restore) {\n                restore.forEach(([key, value]) => {\n                    var _a;\n                    (_a = element.getValue(key)) === null || _a === void 0 ? void 0 : _a.set(value);\n                });\n            }\n        });\n        // Read\n        resolversToMeasure.forEach((resolver) => resolver.measureEndState());\n        // Write\n        resolversToMeasure.forEach((resolver) => {\n            if (resolver.suspendedScrollY !== undefined) {\n                window.scrollTo(0, resolver.suspendedScrollY);\n            }\n        });\n    }\n    anyNeedsMeasurement = false;\n    isScheduled = false;\n    toResolve.forEach((resolver) => resolver.complete());\n    toResolve.clear();\n}\nfunction readAllKeyframes() {\n    toResolve.forEach((resolver) => {\n        resolver.readKeyframes();\n        if (resolver.needsMeasurement) {\n            anyNeedsMeasurement = true;\n        }\n    });\n}\nfunction flushKeyframeResolvers() {\n    readAllKeyframes();\n    measureAllKeyframes();\n}\nclass KeyframeResolver {\n    constructor(unresolvedKeyframes, onComplete, name, motionValue, element, isAsync = false) {\n        /**\n         * Track whether this resolver has completed. Once complete, it never\n         * needs to attempt keyframe resolution again.\n         */\n        this.isComplete = false;\n        /**\n         * Track whether this resolver is async. If it is, it'll be added to the\n         * resolver queue and flushed in the next frame. Resolvers that aren't going\n         * to trigger read/write thrashing don't need to be async.\n         */\n        this.isAsync = false;\n        /**\n         * Track whether this resolver needs to perform a measurement\n         * to resolve its keyframes.\n         */\n        this.needsMeasurement = false;\n        /**\n         * Track whether this resolver is currently scheduled to resolve\n         * to allow it to be cancelled and resumed externally.\n         */\n        this.isScheduled = false;\n        this.unresolvedKeyframes = [...unresolvedKeyframes];\n        this.onComplete = onComplete;\n        this.name = name;\n        this.motionValue = motionValue;\n        this.element = element;\n        this.isAsync = isAsync;\n    }\n    scheduleResolve() {\n        this.isScheduled = true;\n        if (this.isAsync) {\n            toResolve.add(this);\n            if (!isScheduled) {\n                isScheduled = true;\n                frame.read(readAllKeyframes);\n                frame.resolveKeyframes(measureAllKeyframes);\n            }\n        }\n        else {\n            this.readKeyframes();\n            this.complete();\n        }\n    }\n    readKeyframes() {\n        const { unresolvedKeyframes, name, element, motionValue } = this;\n        /**\n         * If a keyframe is null, we hydrate it either by reading it from\n         * the instance, or propagating from previous keyframes.\n         */\n        for (let i = 0; i < unresolvedKeyframes.length; i++) {\n            if (unresolvedKeyframes[i] === null) {\n                /**\n                 * If the first keyframe is null, we need to find its value by sampling the element\n                 */\n                if (i === 0) {\n                    const currentValue = motionValue === null || motionValue === void 0 ? void 0 : motionValue.get();\n                    const finalKeyframe = unresolvedKeyframes[unresolvedKeyframes.length - 1];\n                    if (currentValue !== undefined) {\n                        unresolvedKeyframes[0] = currentValue;\n                    }\n                    else if (element && name) {\n                        const valueAsRead = element.readValue(name, finalKeyframe);\n                        if (valueAsRead !== undefined && valueAsRead !== null) {\n                            unresolvedKeyframes[0] = valueAsRead;\n                        }\n                    }\n                    if (unresolvedKeyframes[0] === undefined) {\n                        unresolvedKeyframes[0] = finalKeyframe;\n                    }\n                    if (motionValue && currentValue === undefined) {\n                        motionValue.set(unresolvedKeyframes[0]);\n                    }\n                }\n                else {\n                    unresolvedKeyframes[i] = unresolvedKeyframes[i - 1];\n                }\n            }\n        }\n    }\n    setFinalKeyframe() { }\n    measureInitialState() { }\n    renderEndStyles() { }\n    measureEndState() { }\n    complete() {\n        this.isComplete = true;\n        this.onComplete(this.unresolvedKeyframes, this.finalKeyframe);\n        toResolve.delete(this);\n    }\n    cancel() {\n        if (!this.isComplete) {\n            this.isScheduled = false;\n            toResolve.delete(this);\n        }\n    }\n    resume() {\n        if (!this.isComplete)\n            this.scheduleResolve();\n    }\n}\n\nexport { KeyframeResolver, flushKeyframeResolvers };\n","// If this number is a decimal, make it just five decimal places\n// to avoid exponents\nconst sanitize = (v) => Math.round(v * 100000) / 100000;\n\nexport { sanitize };\n","const floatRegex = /-?(?:\\d+(?:\\.\\d+)?|\\.\\d+)/gu;\n\nexport { floatRegex };\n","const singleColorRegex = /^(?:#[\\da-f]{3,8}|(?:rgb|hsl)a?\\((?:-?[\\d.]+%?[,\\s]+){2}-?[\\d.]+%?\\s*(?:[,/]\\s*)?(?:\\b\\d+(?:\\.\\d+)?|\\.\\d+)?%?\\))$/iu;\n\nexport { singleColorRegex };\n","import { floatRegex } from '../utils/float-regex.mjs';\nimport { isNullish } from '../utils/is-nullish.mjs';\nimport { singleColorRegex } from '../utils/single-color-regex.mjs';\n\n/**\n * Returns true if the provided string is a color, ie rgba(0,0,0,0) or #000,\n * but false if a number or multiple colors\n */\nconst isColorString = (type, testProp) => (v) => {\n    return Boolean((typeof v === \"string\" &&\n        singleColorRegex.test(v) &&\n        v.startsWith(type)) ||\n        (testProp &&\n            !isNullish(v) &&\n            Object.prototype.hasOwnProperty.call(v, testProp)));\n};\nconst splitColor = (aName, bName, cName) => (v) => {\n    if (typeof v !== \"string\")\n        return v;\n    const [a, b, c, alpha] = v.match(floatRegex);\n    return {\n        [aName]: parseFloat(a),\n        [bName]: parseFloat(b),\n        [cName]: parseFloat(c),\n        alpha: alpha !== undefined ? parseFloat(alpha) : 1,\n    };\n};\n\nexport { isColorString, splitColor };\n","function isNullish(v) {\n    return v == null;\n}\n\nexport { isNullish };\n","import { clamp } from '../../../utils/clamp.mjs';\nimport { alpha, number } from '../numbers/index.mjs';\nimport { sanitize } from '../utils/sanitize.mjs';\nimport { isColorString, splitColor } from './utils.mjs';\n\nconst clampRgbUnit = (v) => clamp(0, 255, v);\nconst rgbUnit = {\n    ...number,\n    transform: (v) => Math.round(clampRgbUnit(v)),\n};\nconst rgba = {\n    test: /*@__PURE__*/ isColorString(\"rgb\", \"red\"),\n    parse: /*@__PURE__*/ splitColor(\"red\", \"green\", \"blue\"),\n    transform: ({ red, green, blue, alpha: alpha$1 = 1 }) => \"rgba(\" +\n        rgbUnit.transform(red) +\n        \", \" +\n        rgbUnit.transform(green) +\n        \", \" +\n        rgbUnit.transform(blue) +\n        \", \" +\n        sanitize(alpha.transform(alpha$1)) +\n        \")\",\n};\n\nexport { rgbUnit, rgba };\n","import { rgba } from './rgba.mjs';\nimport { isColorString } from './utils.mjs';\n\nfunction parseHex(v) {\n    let r = \"\";\n    let g = \"\";\n    let b = \"\";\n    let a = \"\";\n    // If we have 6 characters, ie #FF0000\n    if (v.length > 5) {\n        r = v.substring(1, 3);\n        g = v.substring(3, 5);\n        b = v.substring(5, 7);\n        a = v.substring(7, 9);\n        // Or we have 3 characters, ie #F00\n    }\n    else {\n        r = v.substring(1, 2);\n        g = v.substring(2, 3);\n        b = v.substring(3, 4);\n        a = v.substring(4, 5);\n        r += r;\n        g += g;\n        b += b;\n        a += a;\n    }\n    return {\n        red: parseInt(r, 16),\n        green: parseInt(g, 16),\n        blue: parseInt(b, 16),\n        alpha: a ? parseInt(a, 16) / 255 : 1,\n    };\n}\nconst hex = {\n    test: /*@__PURE__*/ isColorString(\"#\"),\n    parse: parseHex,\n    transform: rgba.transform,\n};\n\nexport { hex };\n","import { alpha } from '../numbers/index.mjs';\nimport { percent } from '../numbers/units.mjs';\nimport { sanitize } from '../utils/sanitize.mjs';\nimport { isColorString, splitColor } from './utils.mjs';\n\nconst hsla = {\n    test: /*@__PURE__*/ isColorString(\"hsl\", \"hue\"),\n    parse: /*@__PURE__*/ splitColor(\"hue\", \"saturation\", \"lightness\"),\n    transform: ({ hue, saturation, lightness, alpha: alpha$1 = 1 }) => {\n        return (\"hsla(\" +\n            Math.round(hue) +\n            \", \" +\n            percent.transform(sanitize(saturation)) +\n            \", \" +\n            percent.transform(sanitize(lightness)) +\n            \", \" +\n            sanitize(alpha.transform(alpha$1)) +\n            \")\");\n    },\n};\n\nexport { hsla };\n","import { hex } from './hex.mjs';\nimport { hsla } from './hsla.mjs';\nimport { rgba } from './rgba.mjs';\n\nconst color = {\n    test: (v) => rgba.test(v) || hex.test(v) || hsla.test(v),\n    parse: (v) => {\n        if (rgba.test(v)) {\n            return rgba.parse(v);\n        }\n        else if (hsla.test(v)) {\n            return hsla.parse(v);\n        }\n        else {\n            return hex.parse(v);\n        }\n    },\n    transform: (v) => {\n        return typeof v === \"string\"\n            ? v\n            : v.hasOwnProperty(\"red\")\n                ? rgba.transform(v)\n                : hsla.transform(v);\n    },\n};\n\nexport { color };\n","const colorRegex = /(?:#[\\da-f]{3,8}|(?:rgb|hsl)a?\\((?:-?[\\d.]+%?[,\\s]+){2}-?[\\d.]+%?\\s*(?:[,/]\\s*)?(?:\\b\\d+(?:\\.\\d+)?|\\.\\d+)?%?\\))/giu;\n\nexport { colorRegex };\n","import { color } from '../color/index.mjs';\nimport { colorRegex } from '../utils/color-regex.mjs';\nimport { floatRegex } from '../utils/float-regex.mjs';\nimport { sanitize } from '../utils/sanitize.mjs';\n\nfunction test(v) {\n    var _a, _b;\n    return (isNaN(v) &&\n        typeof v === \"string\" &&\n        (((_a = v.match(floatRegex)) === null || _a === void 0 ? void 0 : _a.length) || 0) +\n            (((_b = v.match(colorRegex)) === null || _b === void 0 ? void 0 : _b.length) || 0) >\n            0);\n}\nconst NUMBER_TOKEN = \"number\";\nconst COLOR_TOKEN = \"color\";\nconst VAR_TOKEN = \"var\";\nconst VAR_FUNCTION_TOKEN = \"var(\";\nconst SPLIT_TOKEN = \"${}\";\n// this regex consists of the `singleCssVariableRegex|rgbHSLValueRegex|digitRegex`\nconst complexRegex = /var\\s*\\(\\s*--(?:[\\w-]+\\s*|[\\w-]+\\s*,(?:\\s*[^)(\\s]|\\s*\\((?:[^)(]|\\([^)(]*\\))*\\))+\\s*)\\)|#[\\da-f]{3,8}|(?:rgb|hsl)a?\\((?:-?[\\d.]+%?[,\\s]+){2}-?[\\d.]+%?\\s*(?:[,/]\\s*)?(?:\\b\\d+(?:\\.\\d+)?|\\.\\d+)?%?\\)|-?(?:\\d+(?:\\.\\d+)?|\\.\\d+)/giu;\nfunction analyseComplexValue(value) {\n    const originalValue = value.toString();\n    const values = [];\n    const indexes = {\n        color: [],\n        number: [],\n        var: [],\n    };\n    const types = [];\n    let i = 0;\n    const tokenised = originalValue.replace(complexRegex, (parsedValue) => {\n        if (color.test(parsedValue)) {\n            indexes.color.push(i);\n            types.push(COLOR_TOKEN);\n            values.push(color.parse(parsedValue));\n        }\n        else if (parsedValue.startsWith(VAR_FUNCTION_TOKEN)) {\n            indexes.var.push(i);\n            types.push(VAR_TOKEN);\n            values.push(parsedValue);\n        }\n        else {\n            indexes.number.push(i);\n            types.push(NUMBER_TOKEN);\n            values.push(parseFloat(parsedValue));\n        }\n        ++i;\n        return SPLIT_TOKEN;\n    });\n    const split = tokenised.split(SPLIT_TOKEN);\n    return { values, split, indexes, types };\n}\nfunction parseComplexValue(v) {\n    return analyseComplexValue(v).values;\n}\nfunction createTransformer(source) {\n    const { split, types } = analyseComplexValue(source);\n    const numSections = split.length;\n    return (v) => {\n        let output = \"\";\n        for (let i = 0; i < numSections; i++) {\n            output += split[i];\n            if (v[i] !== undefined) {\n                const type = types[i];\n                if (type === NUMBER_TOKEN) {\n                    output += sanitize(v[i]);\n                }\n                else if (type === COLOR_TOKEN) {\n                    output += color.transform(v[i]);\n                }\n                else {\n                    output += v[i];\n                }\n            }\n        }\n        return output;\n    };\n}\nconst convertNumbersToZero = (v) => typeof v === \"number\" ? 0 : v;\nfunction getAnimatableNone(v) {\n    const parsed = parseComplexValue(v);\n    const transformer = createTransformer(v);\n    return transformer(parsed.map(convertNumbersToZero));\n}\nconst complex = {\n    test,\n    parse: parseComplexValue,\n    createTransformer,\n    getAnimatableNone,\n};\n\nexport { analyseComplexValue, complex };\n","import { complex } from './index.mjs';\nimport { floatRegex } from '../utils/float-regex.mjs';\n\n/**\n * Properties that should default to 1 or 100%\n */\nconst maxDefaults = new Set([\"brightness\", \"contrast\", \"saturate\", \"opacity\"]);\nfunction applyDefaultFilter(v) {\n    const [name, value] = v.slice(0, -1).split(\"(\");\n    if (name === \"drop-shadow\")\n        return v;\n    const [number] = value.match(floatRegex) || [];\n    if (!number)\n        return v;\n    const unit = value.replace(number, \"\");\n    let defaultValue = maxDefaults.has(name) ? 1 : 0;\n    if (number !== value)\n        defaultValue *= 100;\n    return name + \"(\" + defaultValue + unit + \")\";\n}\nconst functionRegex = /\\b([a-z-]*)\\(.*?\\)/gu;\nconst filter = {\n    ...complex,\n    getAnimatableNone: (v) => {\n        const functions = v.match(functionRegex);\n        return functions ? functions.map(applyDefaultFilter).join(\" \") : v;\n    },\n};\n\nexport { filter };\n","import { px } from '../../../value/types/numbers/units.mjs';\n\nconst browserNumberValueTypes = {\n    // Border props\n    borderWidth: px,\n    borderTopWidth: px,\n    borderRightWidth: px,\n    borderBottomWidth: px,\n    borderLeftWidth: px,\n    borderRadius: px,\n    radius: px,\n    borderTopLeftRadius: px,\n    borderTopRightRadius: px,\n    borderBottomRightRadius: px,\n    borderBottomLeftRadius: px,\n    // Positioning props\n    width: px,\n    maxWidth: px,\n    height: px,\n    maxHeight: px,\n    top: px,\n    right: px,\n    bottom: px,\n    left: px,\n    // Spacing props\n    padding: px,\n    paddingTop: px,\n    paddingRight: px,\n    paddingBottom: px,\n    paddingLeft: px,\n    margin: px,\n    marginTop: px,\n    marginRight: px,\n    marginBottom: px,\n    marginLeft: px,\n    // Misc\n    backgroundPositionX: px,\n    backgroundPositionY: px,\n};\n\nexport { browserNumberValueTypes };\n","import { scale, alpha } from '../../../value/types/numbers/index.mjs';\nimport { degrees, px, progressPercentage } from '../../../value/types/numbers/units.mjs';\n\nconst transformValueTypes = {\n    rotate: degrees,\n    rotateX: degrees,\n    rotateY: degrees,\n    rotateZ: degrees,\n    scale,\n    scaleX: scale,\n    scaleY: scale,\n    scaleZ: scale,\n    skew: degrees,\n    skewX: degrees,\n    skewY: degrees,\n    distance: px,\n    translateX: px,\n    translateY: px,\n    translateZ: px,\n    x: px,\n    y: px,\n    z: px,\n    perspective: px,\n    transformPerspective: px,\n    opacity: alpha,\n    originX: progressPercentage,\n    originY: progressPercentage,\n    originZ: px,\n};\n\nexport { transformValueTypes };\n","import { number } from '../../../value/types/numbers/index.mjs';\n\nconst int = {\n    ...number,\n    transform: Math.round,\n};\n\nexport { int };\n","import { alpha } from '../../../value/types/numbers/index.mjs';\nimport { px } from '../../../value/types/numbers/units.mjs';\nimport { browserNumberValueTypes } from './number-browser.mjs';\nimport { transformValueTypes } from './transform.mjs';\nimport { int } from './type-int.mjs';\n\nconst numberValueTypes = {\n    ...browserNumberValueTypes,\n    ...transformValueTypes,\n    zIndex: int,\n    size: px,\n    // SVG\n    fillOpacity: alpha,\n    strokeOpacity: alpha,\n    numOctaves: int,\n};\n\nexport { numberValueTypes };\n","import { color } from '../../../value/types/color/index.mjs';\nimport { filter } from '../../../value/types/complex/filter.mjs';\nimport { numberValueTypes } from './number.mjs';\n\n/**\n * A map of default value types for common values\n */\nconst defaultValueTypes = {\n    ...numberValueTypes,\n    // Color props\n    color,\n    backgroundColor: color,\n    outlineColor: color,\n    fill: color,\n    stroke: color,\n    // Border props\n    borderColor: color,\n    borderTopColor: color,\n    borderRightColor: color,\n    borderBottomColor: color,\n    borderLeftColor: color,\n    filter,\n    WebkitFilter: filter,\n};\n/**\n * Gets the default ValueType for the provided value key\n */\nconst getDefaultValueType = (key) => defaultValueTypes[key];\n\nexport { defaultValueTypes, getDefaultValueType };\n","import { complex } from '../../../value/types/complex/index.mjs';\nimport { filter } from '../../../value/types/complex/filter.mjs';\nimport { getDefaultValueType } from './defaults.mjs';\n\nfunction getAnimatableNone(key, value) {\n    let defaultValueType = getDefaultValueType(key);\n    if (defaultValueType !== filter)\n        defaultValueType = complex;\n    // If value is not recognised as animatable, ie \"none\", create an animatable version origin based on the target\n    return defaultValueType.getAnimatableNone\n        ? defaultValueType.getAnimatableNone(value)\n        : undefined;\n}\n\nexport { getAnimatableNone };\n","import { analyseComplexValue } from '../../../value/types/complex/index.mjs';\nimport { getAnimatableNone } from '../../dom/value-types/animatable-none.mjs';\n\n/**\n * If we encounter keyframes like \"none\" or \"0\" and we also have keyframes like\n * \"#fff\" or \"200px 200px\" we want to find a keyframe to serve as a template for\n * the \"none\" keyframes. In this case \"#fff\" or \"200px 200px\" - then these get turned into\n * zero equivalents, i.e. \"#fff0\" or \"0px 0px\".\n */\nconst invalidTemplates = new Set([\"auto\", \"none\", \"0\"]);\nfunction makeNoneKeyframesAnimatable(unresolvedKeyframes, noneKeyframeIndexes, name) {\n    let i = 0;\n    let animatableTemplate = undefined;\n    while (i < unresolvedKeyframes.length && !animatableTemplate) {\n        const keyframe = unresolvedKeyframes[i];\n        if (typeof keyframe === \"string\" &&\n            !invalidTemplates.has(keyframe) &&\n            analyseComplexValue(keyframe).values.length) {\n            animatableTemplate = unresolvedKeyframes[i];\n        }\n        i++;\n    }\n    if (animatableTemplate && name) {\n        for (const noneIndex of noneKeyframeIndexes) {\n            unresolvedKeyframes[noneIndex] = getAnimatableNone(name, animatableTemplate);\n        }\n    }\n}\n\nexport { makeNoneKeyframesAnimatable };\n","import { isNone } from '../../animation/utils/is-none.mjs';\nimport { getVariableValue } from './utils/css-variables-conversion.mjs';\nimport { isCSSVariableToken } from './utils/is-css-variable.mjs';\nimport { positionalKeys, isNumOrPxType, positionalValues } from './utils/unit-conversion.mjs';\nimport { findDimensionValueType } from './value-types/dimensions.mjs';\nimport { KeyframeResolver } from '../utils/KeyframesResolver.mjs';\nimport { makeNoneKeyframesAnimatable } from '../html/utils/make-none-animatable.mjs';\n\nclass DOMKeyframesResolver extends KeyframeResolver {\n    constructor(unresolvedKeyframes, onComplete, name, motionValue, element) {\n        super(unresolvedKeyframes, onComplete, name, motionValue, element, true);\n    }\n    readKeyframes() {\n        const { unresolvedKeyframes, element, name } = this;\n        if (!element || !element.current)\n            return;\n        super.readKeyframes();\n        /**\n         * If any keyframe is a CSS variable, we need to find its value by sampling the element\n         */\n        for (let i = 0; i < unresolvedKeyframes.length; i++) {\n            let keyframe = unresolvedKeyframes[i];\n            if (typeof keyframe === \"string\") {\n                keyframe = keyframe.trim();\n                if (isCSSVariableToken(keyframe)) {\n                    const resolved = getVariableValue(keyframe, element.current);\n                    if (resolved !== undefined) {\n                        unresolvedKeyframes[i] = resolved;\n                    }\n                    if (i === unresolvedKeyframes.length - 1) {\n                        this.finalKeyframe = keyframe;\n                    }\n                }\n            }\n        }\n        /**\n         * Resolve \"none\" values. We do this potentially twice - once before and once after measuring keyframes.\n         * This could be seen as inefficient but it's a trade-off to avoid measurements in more situations, which\n         * have a far bigger performance impact.\n         */\n        this.resolveNoneKeyframes();\n        /**\n         * Check to see if unit type has changed. If so schedule jobs that will\n         * temporarily set styles to the destination keyframes.\n         * Skip if we have more than two keyframes or this isn't a positional value.\n         * TODO: We can throw if there are multiple keyframes and the value type changes.\n         */\n        if (!positionalKeys.has(name) || unresolvedKeyframes.length !== 2) {\n            return;\n        }\n        const [origin, target] = unresolvedKeyframes;\n        const originType = findDimensionValueType(origin);\n        const targetType = findDimensionValueType(target);\n        /**\n         * Either we don't recognise these value types or we can animate between them.\n         */\n        if (originType === targetType)\n            return;\n        /**\n         * If both values are numbers or pixels, we can animate between them by\n         * converting them to numbers.\n         */\n        if (isNumOrPxType(originType) && isNumOrPxType(targetType)) {\n            for (let i = 0; i < unresolvedKeyframes.length; i++) {\n                const value = unresolvedKeyframes[i];\n                if (typeof value === \"string\") {\n                    unresolvedKeyframes[i] = parseFloat(value);\n                }\n            }\n        }\n        else {\n            /**\n             * Else, the only way to resolve this is by measuring the element.\n             */\n            this.needsMeasurement = true;\n        }\n    }\n    resolveNoneKeyframes() {\n        const { unresolvedKeyframes, name } = this;\n        const noneKeyframeIndexes = [];\n        for (let i = 0; i < unresolvedKeyframes.length; i++) {\n            if (isNone(unresolvedKeyframes[i])) {\n                noneKeyframeIndexes.push(i);\n            }\n        }\n        if (noneKeyframeIndexes.length) {\n            makeNoneKeyframesAnimatable(unresolvedKeyframes, noneKeyframeIndexes, name);\n        }\n    }\n    measureInitialState() {\n        const { element, unresolvedKeyframes, name } = this;\n        if (!element || !element.current)\n            return;\n        if (name === \"height\") {\n            this.suspendedScrollY = window.pageYOffset;\n        }\n        this.measuredOrigin = positionalValues[name](element.measureViewportBox(), window.getComputedStyle(element.current));\n        unresolvedKeyframes[0] = this.measuredOrigin;\n        // Set final key frame to measure after next render\n        const measureKeyframe = unresolvedKeyframes[unresolvedKeyframes.length - 1];\n        if (measureKeyframe !== undefined) {\n            element.getValue(name, measureKeyframe).jump(measureKeyframe, false);\n        }\n    }\n    measureEndState() {\n        var _a;\n        const { element, name, unresolvedKeyframes } = this;\n        if (!element || !element.current)\n            return;\n        const value = element.getValue(name);\n        value && value.jump(this.measuredOrigin, false);\n        const finalKeyframeIndex = unresolvedKeyframes.length - 1;\n        const finalKeyframe = unresolvedKeyframes[finalKeyframeIndex];\n        unresolvedKeyframes[finalKeyframeIndex] = positionalValues[name](element.measureViewportBox(), window.getComputedStyle(element.current));\n        if (finalKeyframe !== null && this.finalKeyframe === undefined) {\n            this.finalKeyframe = finalKeyframe;\n        }\n        // If we removed transform values, reapply them before the next render\n        if ((_a = this.removedTransforms) === null || _a === void 0 ? void 0 : _a.length) {\n            this.removedTransforms.forEach(([unsetTransformName, unsetTransformValue]) => {\n                element\n                    .getValue(unsetTransformName)\n                    .set(unsetTransformValue);\n            });\n        }\n        this.resolveNoneKeyframes();\n    }\n}\n\nexport { DOMKeyframesResolver };\n","import { isZeroValueString } from '../../utils/is-zero-value-string.mjs';\n\nfunction isNone(value) {\n    if (typeof value === \"number\") {\n        return value === 0;\n    }\n    else if (value !== null) {\n        return value === \"none\" || value === \"0\" || isZeroValueString(value);\n    }\n    else {\n        return true;\n    }\n}\n\nexport { isNone };\n","function isGenerator(type) {\n    return typeof type === \"function\";\n}\n\nexport { isGenerator };\n","import { MotionGlobalConfig } from '../utils/GlobalConfig.mjs';\nimport { frameData } from './frame.mjs';\n\nlet now;\nfunction clearTime() {\n    now = undefined;\n}\n/**\n * An eventloop-synchronous alternative to performance.now().\n *\n * Ensures that time measurements remain consistent within a synchronous context.\n * Usually calling performance.now() twice within the same synchronous context\n * will return different values which isn't useful for animations when we're usually\n * trying to sync animations to the same frame.\n */\nconst time = {\n    now: () => {\n        if (now === undefined) {\n            time.set(frameData.isProcessing || MotionGlobalConfig.useManualTiming\n                ? frameData.timestamp\n                : performance.now());\n        }\n        return now;\n    },\n    set: (newTime) => {\n        now = newTime;\n        queueMicrotask(clearTime);\n    },\n};\n\nexport { time };\n","import { complex } from '../../value/types/complex/index.mjs';\n\n/**\n * Check if a value is animatable. Examples:\n *\n * ✅: 100, \"100px\", \"#fff\"\n * ❌: \"block\", \"url(2.jpg)\"\n * @param value\n *\n * @internal\n */\nconst isAnimatable = (value, name) => {\n    // If the list of keys tat might be non-animatable grows, replace with Set\n    if (name === \"zIndex\")\n        return false;\n    // If it's a number or a keyframes array, we can animate it. We might at some point\n    // need to do a deep isAnimatable check of keyframes, or let Popmotion handle this,\n    // but for now lets leave it like this for performance reasons\n    if (typeof value === \"number\" || Array.isArray(value))\n        return true;\n    if (typeof value === \"string\" && // It's animatable if we have a string\n        (complex.test(value) || value === \"0\") && // And it contains numbers and/or colors\n        !value.startsWith(\"url(\") // Unless it starts with \"url(\"\n    ) {\n        return true;\n    }\n    return false;\n};\n\nexport { isAnimatable };\n","import { time } from '../../frameloop/sync-time.mjs';\nimport { flushKeyframeResolvers } from '../../render/utils/KeyframesResolver.mjs';\nimport { instantAnimationState } from '../../utils/use-instant-transition-state.mjs';\nimport { canAnimate } from './utils/can-animate.mjs';\nimport { getFinalKeyframe } from './waapi/utils/get-final-keyframe.mjs';\n\n/**\n * Maximum time allowed between an animation being created and it being\n * resolved for us to use the latter as the start time.\n *\n * This is to ensure that while we prefer to \"start\" an animation as soon\n * as it's triggered, we also want to avoid a visual jump if there's a big delay\n * between these two moments.\n */\nconst MAX_RESOLVE_DELAY = 40;\nclass BaseAnimation {\n    constructor({ autoplay = true, delay = 0, type = \"keyframes\", repeat = 0, repeatDelay = 0, repeatType = \"loop\", ...options }) {\n        // Track whether the animation has been stopped. Stopped animations won't restart.\n        this.isStopped = false;\n        this.hasAttemptedResolve = false;\n        this.createdAt = time.now();\n        this.options = {\n            autoplay,\n            delay,\n            type,\n            repeat,\n            repeatDelay,\n            repeatType,\n            ...options,\n        };\n        this.updateFinishedPromise();\n    }\n    /**\n     * This method uses the createdAt and resolvedAt to calculate the\n     * animation startTime. *Ideally*, we would use the createdAt time as t=0\n     * as the following frame would then be the first frame of the animation in\n     * progress, which would feel snappier.\n     *\n     * However, if there's a delay (main thread work) between the creation of\n     * the animation and the first commited frame, we prefer to use resolvedAt\n     * to avoid a sudden jump into the animation.\n     */\n    calcStartTime() {\n        if (!this.resolvedAt)\n            return this.createdAt;\n        return this.resolvedAt - this.createdAt > MAX_RESOLVE_DELAY\n            ? this.resolvedAt\n            : this.createdAt;\n    }\n    /**\n     * A getter for resolved data. If keyframes are not yet resolved, accessing\n     * this.resolved will synchronously flush all pending keyframe resolvers.\n     * This is a deoptimisation, but at its worst still batches read/writes.\n     */\n    get resolved() {\n        if (!this._resolved && !this.hasAttemptedResolve) {\n            flushKeyframeResolvers();\n        }\n        return this._resolved;\n    }\n    /**\n     * A method to be called when the keyframes resolver completes. This method\n     * will check if its possible to run the animation and, if not, skip it.\n     * Otherwise, it will call initPlayback on the implementing class.\n     */\n    onKeyframesResolved(keyframes, finalKeyframe) {\n        this.resolvedAt = time.now();\n        this.hasAttemptedResolve = true;\n        const { name, type, velocity, delay, onComplete, onUpdate, isGenerator, } = this.options;\n        /**\n         * If we can't animate this value with the resolved keyframes\n         * then we should complete it immediately.\n         */\n        if (!isGenerator && !canAnimate(keyframes, name, type, velocity)) {\n            // Finish immediately\n            if (instantAnimationState.current || !delay) {\n                onUpdate === null || onUpdate === void 0 ? void 0 : onUpdate(getFinalKeyframe(keyframes, this.options, finalKeyframe));\n                onComplete === null || onComplete === void 0 ? void 0 : onComplete();\n                this.resolveFinishedPromise();\n                return;\n            }\n            // Finish after a delay\n            else {\n                this.options.duration = 0;\n            }\n        }\n        const resolvedAnimation = this.initPlayback(keyframes, finalKeyframe);\n        if (resolvedAnimation === false)\n            return;\n        this._resolved = {\n            keyframes,\n            finalKeyframe,\n            ...resolvedAnimation,\n        };\n        this.onPostResolved();\n    }\n    onPostResolved() { }\n    /**\n     * Allows the returned animation to be awaited or promise-chained. Currently\n     * resolves when the animation finishes at all but in a future update could/should\n     * reject if its cancels.\n     */\n    then(resolve, reject) {\n        return this.currentFinishedPromise.then(resolve, reject);\n    }\n    flatten() {\n        this.options.type = \"keyframes\";\n        this.options.ease = \"linear\";\n    }\n    updateFinishedPromise() {\n        this.currentFinishedPromise = new Promise((resolve) => {\n            this.resolveFinishedPromise = resolve;\n        });\n    }\n}\n\nexport { BaseAnimation };\n","import { warning } from 'motion-utils';\nimport { isGenerator } from '../../generators/utils/is-generator.mjs';\nimport { isAnimatable } from '../../utils/is-animatable.mjs';\n\nfunction hasKeyframesChanged(keyframes) {\n    const current = keyframes[0];\n    if (keyframes.length === 1)\n        return true;\n    for (let i = 0; i < keyframes.length; i++) {\n        if (keyframes[i] !== current)\n            return true;\n    }\n}\nfunction canAnimate(keyframes, name, type, velocity) {\n    /**\n     * Check if we're able to animate between the start and end keyframes,\n     * and throw a warning if we're attempting to animate between one that's\n     * animatable and another that isn't.\n     */\n    const originKeyframe = keyframes[0];\n    if (originKeyframe === null)\n        return false;\n    /**\n     * These aren't traditionally animatable but we do support them.\n     * In future we could look into making this more generic or replacing\n     * this function with mix() === mixImmediate\n     */\n    if (name === \"display\" || name === \"visibility\")\n        return true;\n    const targetKeyframe = keyframes[keyframes.length - 1];\n    const isOriginAnimatable = isAnimatable(originKeyframe, name);\n    const isTargetAnimatable = isAnimatable(targetKeyframe, name);\n    warning(isOriginAnimatable === isTargetAnimatable, `You are trying to animate ${name} from \"${originKeyframe}\" to \"${targetKeyframe}\". ${originKeyframe} is not an animatable value - to enable this animation set ${originKeyframe} to a value animatable to ${targetKeyframe} via the \\`style\\` property.`);\n    // Always skip if any of these are true\n    if (!isOriginAnimatable || !isTargetAnimatable) {\n        return false;\n    }\n    return (hasKeyframesChanged(keyframes) ||\n        ((type === \"spring\" || isGenerator(type)) && velocity));\n}\n\nexport { canAnimate };\n","/*\n  Progress within given range\n\n  Given a lower limit and an upper limit, we return the progress\n  (expressed as a number 0-1) represented by the given value, and\n  limit that progress to within 0-1.\n\n  @param [number]: Lower limit\n  @param [number]: Upper limit\n  @param [number]: Value to find progress within given range\n  @return [number]: Progress of value within range as expressed 0-1\n*/\nconst progress = (from, to, value) => {\n    const toFromDifference = to - from;\n    return toFromDifference === 0 ? 1 : (value - from) / toFromDifference;\n};\n\nexport { progress };\n","import { progress } from '../../../../utils/progress.mjs';\n\nconst generateLinearEasing = (easing, duration, // as milliseconds\nresolution = 10 // as milliseconds\n) => {\n    let points = \"\";\n    const numPoints = Math.max(Math.round(duration / resolution), 2);\n    for (let i = 0; i < numPoints; i++) {\n        points += easing(progress(0, numPoints - 1, i)) + \", \";\n    }\n    return `linear(${points.substring(0, points.length - 2)})`;\n};\n\nexport { generateLinearEasing };\n","/*\n  Convert velocity into velocity per second\n\n  @param [number]: Unit per frame\n  @param [number]: Frame duration in ms\n*/\nfunction velocityPerSecond(velocity, frameDuration) {\n    return frameDuration ? velocity * (1000 / frameDuration) : 0;\n}\n\nexport { velocityPerSecond };\n","import { velocityPerSecond } from '../../../utils/velocity-per-second.mjs';\n\nconst velocitySampleDuration = 5; // ms\nfunction calcGeneratorVelocity(resolveValue, t, current) {\n    const prevT = Math.max(t - velocitySampleDuration, 0);\n    return velocityPerSecond(current - resolveValue(prevT), t - prevT);\n}\n\nexport { calcGeneratorVelocity };\n","const springDefaults = {\n    // Default spring physics\n    stiffness: 100,\n    damping: 10,\n    mass: 1.0,\n    velocity: 0.0,\n    // Default duration/bounce-based options\n    duration: 800, // in ms\n    bounce: 0.3,\n    visualDuration: 0.3, // in seconds\n    // Rest thresholds\n    restSpeed: {\n        granular: 0.01,\n        default: 2,\n    },\n    restDelta: {\n        granular: 0.005,\n        default: 0.5,\n    },\n    // Limits\n    minDuration: 0.01, // in seconds\n    maxDuration: 10.0, // in seconds\n    minDamping: 0.05,\n    maxDamping: 1,\n};\n\nexport { springDefaults };\n","import { warning } from 'motion-utils';\nimport { clamp } from '../../../utils/clamp.mjs';\nimport { secondsToMilliseconds, millisecondsToSeconds } from '../../../utils/time-conversion.mjs';\nimport { springDefaults } from './defaults.mjs';\n\nconst safeMin = 0.001;\nfunction findSpring({ duration = springDefaults.duration, bounce = springDefaults.bounce, velocity = springDefaults.velocity, mass = springDefaults.mass, }) {\n    let envelope;\n    let derivative;\n    warning(duration <= secondsToMilliseconds(springDefaults.maxDuration), \"Spring duration must be 10 seconds or less\");\n    let dampingRatio = 1 - bounce;\n    /**\n     * Restrict dampingRatio and duration to within acceptable ranges.\n     */\n    dampingRatio = clamp(springDefaults.minDamping, springDefaults.maxDamping, dampingRatio);\n    duration = clamp(springDefaults.minDuration, springDefaults.maxDuration, millisecondsToSeconds(duration));\n    if (dampingRatio < 1) {\n        /**\n         * Underdamped spring\n         */\n        envelope = (undampedFreq) => {\n            const exponentialDecay = undampedFreq * dampingRatio;\n            const delta = exponentialDecay * duration;\n            const a = exponentialDecay - velocity;\n            const b = calcAngularFreq(undampedFreq, dampingRatio);\n            const c = Math.exp(-delta);\n            return safeMin - (a / b) * c;\n        };\n        derivative = (undampedFreq) => {\n            const exponentialDecay = undampedFreq * dampingRatio;\n            const delta = exponentialDecay * duration;\n            const d = delta * velocity + velocity;\n            const e = Math.pow(dampingRatio, 2) * Math.pow(undampedFreq, 2) * duration;\n            const f = Math.exp(-delta);\n            const g = calcAngularFreq(Math.pow(undampedFreq, 2), dampingRatio);\n            const factor = -envelope(undampedFreq) + safeMin > 0 ? -1 : 1;\n            return (factor * ((d - e) * f)) / g;\n        };\n    }\n    else {\n        /**\n         * Critically-damped spring\n         */\n        envelope = (undampedFreq) => {\n            const a = Math.exp(-undampedFreq * duration);\n            const b = (undampedFreq - velocity) * duration + 1;\n            return -safeMin + a * b;\n        };\n        derivative = (undampedFreq) => {\n            const a = Math.exp(-undampedFreq * duration);\n            const b = (velocity - undampedFreq) * (duration * duration);\n            return a * b;\n        };\n    }\n    const initialGuess = 5 / duration;\n    const undampedFreq = approximateRoot(envelope, derivative, initialGuess);\n    duration = secondsToMilliseconds(duration);\n    if (isNaN(undampedFreq)) {\n        return {\n            stiffness: springDefaults.stiffness,\n            damping: springDefaults.damping,\n            duration,\n        };\n    }\n    else {\n        const stiffness = Math.pow(undampedFreq, 2) * mass;\n        return {\n            stiffness,\n            damping: dampingRatio * 2 * Math.sqrt(mass * stiffness),\n            duration,\n        };\n    }\n}\nconst rootIterations = 12;\nfunction approximateRoot(envelope, derivative, initialGuess) {\n    let result = initialGuess;\n    for (let i = 1; i < rootIterations; i++) {\n        result = result - envelope(result) / derivative(result);\n    }\n    return result;\n}\nfunction calcAngularFreq(undampedFreq, dampingRatio) {\n    return undampedFreq * Math.sqrt(1 - dampingRatio * dampingRatio);\n}\n\nexport { calcAngularFreq, findSpring };\n","/**\n * Implement a practical max duration for keyframe generation\n * to prevent infinite loops\n */\nconst maxGeneratorDuration = 20000;\nfunction calcGeneratorDuration(generator) {\n    let duration = 0;\n    const timeStep = 50;\n    let state = generator.next(duration);\n    while (!state.done && duration < maxGeneratorDuration) {\n        duration += timeStep;\n        state = generator.next(duration);\n    }\n    return duration >= maxGeneratorDuration ? Infinity : duration;\n}\n\nexport { calcGeneratorDuration, maxGeneratorDuration };\n","import { generateLinearEasing } from '../../animators/waapi/utils/linear.mjs';\nimport { millisecondsToSeconds, secondsToMilliseconds } from '../../../utils/time-conversion.mjs';\nimport { calcGeneratorVelocity } from '../utils/velocity.mjs';\nimport { findSpring, calcAngularFreq } from './find.mjs';\nimport { calcGeneratorDuration, maxGeneratorDuration } from '../utils/calc-duration.mjs';\nimport { clamp } from '../../../utils/clamp.mjs';\nimport { springDefaults } from './defaults.mjs';\n\nconst durationKeys = [\"duration\", \"bounce\"];\nconst physicsKeys = [\"stiffness\", \"damping\", \"mass\"];\nfunction isSpringType(options, keys) {\n    return keys.some((key) => options[key] !== undefined);\n}\nfunction getSpringOptions(options) {\n    let springOptions = {\n        velocity: springDefaults.velocity,\n        stiffness: springDefaults.stiffness,\n        damping: springDefaults.damping,\n        mass: springDefaults.mass,\n        isResolvedFromDuration: false,\n        ...options,\n    };\n    // stiffness/damping/mass overrides duration/bounce\n    if (!isSpringType(options, physicsKeys) &&\n        isSpringType(options, durationKeys)) {\n        if (options.visualDuration) {\n            const visualDuration = options.visualDuration;\n            const root = (2 * Math.PI) / (visualDuration * 1.2);\n            const stiffness = root * root;\n            const damping = 2 * clamp(0.05, 1, 1 - options.bounce) * Math.sqrt(stiffness);\n            springOptions = {\n                ...springOptions,\n                mass: springDefaults.mass,\n                stiffness,\n                damping,\n            };\n        }\n        else {\n            const derived = findSpring(options);\n            springOptions = {\n                ...springOptions,\n                ...derived,\n                mass: springDefaults.mass,\n            };\n            springOptions.isResolvedFromDuration = true;\n        }\n    }\n    return springOptions;\n}\nfunction spring(optionsOrVisualDuration = springDefaults.visualDuration, bounce = springDefaults.bounce) {\n    const options = typeof optionsOrVisualDuration !== \"object\"\n        ? {\n            visualDuration: optionsOrVisualDuration,\n            keyframes: [0, 1],\n            bounce,\n        }\n        : optionsOrVisualDuration;\n    let { restSpeed, restDelta } = options;\n    const origin = options.keyframes[0];\n    const target = options.keyframes[options.keyframes.length - 1];\n    /**\n     * This is the Iterator-spec return value. We ensure it's mutable rather than using a generator\n     * to reduce GC during animation.\n     */\n    const state = { done: false, value: origin };\n    const { stiffness, damping, mass, duration, velocity, isResolvedFromDuration, } = getSpringOptions({\n        ...options,\n        velocity: -millisecondsToSeconds(options.velocity || 0),\n    });\n    const initialVelocity = velocity || 0.0;\n    const dampingRatio = damping / (2 * Math.sqrt(stiffness * mass));\n    const initialDelta = target - origin;\n    const undampedAngularFreq = millisecondsToSeconds(Math.sqrt(stiffness / mass));\n    /**\n     * If we're working on a granular scale, use smaller defaults for determining\n     * when the spring is finished.\n     *\n     * These defaults have been selected emprically based on what strikes a good\n     * ratio between feeling good and finishing as soon as changes are imperceptible.\n     */\n    const isGranularScale = Math.abs(initialDelta) < 5;\n    restSpeed || (restSpeed = isGranularScale\n        ? springDefaults.restSpeed.granular\n        : springDefaults.restSpeed.default);\n    restDelta || (restDelta = isGranularScale\n        ? springDefaults.restDelta.granular\n        : springDefaults.restDelta.default);\n    let resolveSpring;\n    if (dampingRatio < 1) {\n        const angularFreq = calcAngularFreq(undampedAngularFreq, dampingRatio);\n        // Underdamped spring\n        resolveSpring = (t) => {\n            const envelope = Math.exp(-dampingRatio * undampedAngularFreq * t);\n            return (target -\n                envelope *\n                    (((initialVelocity +\n                        dampingRatio * undampedAngularFreq * initialDelta) /\n                        angularFreq) *\n                        Math.sin(angularFreq * t) +\n                        initialDelta * Math.cos(angularFreq * t)));\n        };\n    }\n    else if (dampingRatio === 1) {\n        // Critically damped spring\n        resolveSpring = (t) => target -\n            Math.exp(-undampedAngularFreq * t) *\n                (initialDelta +\n                    (initialVelocity + undampedAngularFreq * initialDelta) * t);\n    }\n    else {\n        // Overdamped spring\n        const dampedAngularFreq = undampedAngularFreq * Math.sqrt(dampingRatio * dampingRatio - 1);\n        resolveSpring = (t) => {\n            const envelope = Math.exp(-dampingRatio * undampedAngularFreq * t);\n            // When performing sinh or cosh values can hit Infinity so we cap them here\n            const freqForT = Math.min(dampedAngularFreq * t, 300);\n            return (target -\n                (envelope *\n                    ((initialVelocity +\n                        dampingRatio * undampedAngularFreq * initialDelta) *\n                        Math.sinh(freqForT) +\n                        dampedAngularFreq *\n                            initialDelta *\n                            Math.cosh(freqForT))) /\n                    dampedAngularFreq);\n        };\n    }\n    const generator = {\n        calculatedDuration: isResolvedFromDuration ? duration || null : null,\n        next: (t) => {\n            const current = resolveSpring(t);\n            if (!isResolvedFromDuration) {\n                let currentVelocity = 0.0;\n                /**\n                 * We only need to calculate velocity for under-damped springs\n                 * as over- and critically-damped springs can't overshoot, so\n                 * checking only for displacement is enough.\n                 */\n                if (dampingRatio < 1) {\n                    currentVelocity =\n                        t === 0\n                            ? secondsToMilliseconds(initialVelocity)\n                            : calcGeneratorVelocity(resolveSpring, t, current);\n                }\n                const isBelowVelocityThreshold = Math.abs(currentVelocity) <= restSpeed;\n                const isBelowDisplacementThreshold = Math.abs(target - current) <= restDelta;\n                state.done =\n                    isBelowVelocityThreshold && isBelowDisplacementThreshold;\n            }\n            else {\n                state.done = t >= duration;\n            }\n            state.value = state.done ? target : current;\n            return state;\n        },\n        toString: () => {\n            const calculatedDuration = Math.min(calcGeneratorDuration(generator), maxGeneratorDuration);\n            const easing = generateLinearEasing((progress) => generator.next(calculatedDuration * progress).value, calculatedDuration, 30);\n            return calculatedDuration + \"ms \" + easing;\n        },\n    };\n    return generator;\n}\n\nexport { spring };\n","import { spring } from './spring/index.mjs';\nimport { calcGeneratorVelocity } from './utils/velocity.mjs';\n\nfunction inertia({ keyframes, velocity = 0.0, power = 0.8, timeConstant = 325, bounceDamping = 10, bounceStiffness = 500, modifyTarget, min, max, restDelta = 0.5, restSpeed, }) {\n    const origin = keyframes[0];\n    const state = {\n        done: false,\n        value: origin,\n    };\n    const isOutOfBounds = (v) => (min !== undefined && v < min) || (max !== undefined && v > max);\n    const nearestBoundary = (v) => {\n        if (min === undefined)\n            return max;\n        if (max === undefined)\n            return min;\n        return Math.abs(min - v) < Math.abs(max - v) ? min : max;\n    };\n    let amplitude = power * velocity;\n    const ideal = origin + amplitude;\n    const target = modifyTarget === undefined ? ideal : modifyTarget(ideal);\n    /**\n     * If the target has changed we need to re-calculate the amplitude, otherwise\n     * the animation will start from the wrong position.\n     */\n    if (target !== ideal)\n        amplitude = target - origin;\n    const calcDelta = (t) => -amplitude * Math.exp(-t / timeConstant);\n    const calcLatest = (t) => target + calcDelta(t);\n    const applyFriction = (t) => {\n        const delta = calcDelta(t);\n        const latest = calcLatest(t);\n        state.done = Math.abs(delta) <= restDelta;\n        state.value = state.done ? target : latest;\n    };\n    /**\n     * Ideally this would resolve for t in a stateless way, we could\n     * do that by always precalculating the animation but as we know\n     * this will be done anyway we can assume that spring will\n     * be discovered during that.\n     */\n    let timeReachedBoundary;\n    let spring$1;\n    const checkCatchBoundary = (t) => {\n        if (!isOutOfBounds(state.value))\n            return;\n        timeReachedBoundary = t;\n        spring$1 = spring({\n            keyframes: [state.value, nearestBoundary(state.value)],\n            velocity: calcGeneratorVelocity(calcLatest, t, state.value), // TODO: This should be passing * 1000\n            damping: bounceDamping,\n            stiffness: bounceStiffness,\n            restDelta,\n            restSpeed,\n        });\n    };\n    checkCatchBoundary(0);\n    return {\n        calculatedDuration: null,\n        next: (t) => {\n            /**\n             * We need to resolve the friction to figure out if we need a\n             * spring but we don't want to do this twice per frame. So here\n             * we flag if we updated for this frame and later if we did\n             * we can skip doing it again.\n             */\n            let hasUpdatedFrame = false;\n            if (!spring$1 && timeReachedBoundary === undefined) {\n                hasUpdatedFrame = true;\n                applyFriction(t);\n                checkCatchBoundary(t);\n            }\n            /**\n             * If we have a spring and the provided t is beyond the moment the friction\n             * animation crossed the min/max boundary, use the spring.\n             */\n            if (timeReachedBoundary !== undefined && t >= timeReachedBoundary) {\n                return spring$1.next(t - timeReachedBoundary);\n            }\n            else {\n                !hasUpdatedFrame && applyFriction(t);\n                return state;\n            }\n        },\n    };\n}\n\nexport { inertia };\n","import { cubicBezier } from './cubic-bezier.mjs';\n\nconst easeIn = /*@__PURE__*/ cubicBezier(0.42, 0, 1, 1);\nconst easeOut = /*@__PURE__*/ cubicBezier(0, 0, 0.58, 1);\nconst easeInOut = /*@__PURE__*/ cubicBezier(0.42, 0, 0.58, 1);\n\nexport { easeIn, easeInOut, easeOut };\n","const isBezierDefinition = (easing) => Array.isArray(easing) && typeof easing[0] === \"number\";\n\nexport { isBezierDefinition };\n","import { invariant, noop } from 'motion-utils';\nimport { cubicBezier } from '../cubic-bezier.mjs';\nimport { easeIn, easeInOut, easeOut } from '../ease.mjs';\nimport { circIn, circInOut, circOut } from '../circ.mjs';\nimport { backIn, backInOut, backOut } from '../back.mjs';\nimport { anticipate } from '../anticipate.mjs';\nimport { isBezierDefinition } from './is-bezier-definition.mjs';\n\nconst easingLookup = {\n    linear: noop,\n    easeIn,\n    easeInOut,\n    easeOut,\n    circIn,\n    circInOut,\n    circOut,\n    backIn,\n    backInOut,\n    backOut,\n    anticipate,\n};\nconst easingDefinitionToFunction = (definition) => {\n    if (isBezierDefinition(definition)) {\n        // If cubic bezier definition, create bezier curve\n        invariant(definition.length === 4, `Cubic bezier arrays must contain four numerical values.`);\n        const [x1, y1, x2, y2] = definition;\n        return cubicBezier(x1, y1, x2, y2);\n    }\n    else if (typeof definition === \"string\") {\n        // Else lookup from table\n        invariant(easingLookup[definition] !== undefined, `Invalid easing type '${definition}'`);\n        return easingLookup[definition];\n    }\n    return definition;\n};\n\nexport { easingDefinitionToFunction };\n","/**\n * Pipe\n * Compose other transformers to run linearily\n * pipe(min(20), max(40))\n * @param  {...functions} transformers\n * @return {function}\n */\nconst combineFunctions = (a, b) => (v) => b(a(v));\nconst pipe = (...transformers) => transformers.reduce(combineFunctions);\n\nexport { pipe };\n","/*\n  Value in range from progress\n\n  Given a lower limit and an upper limit, we return the value within\n  that range as expressed by progress (usually a number from 0 to 1)\n\n  So progress = 0.5 would change\n\n  from -------- to\n\n  to\n\n  from ---- to\n\n  E.g. from = 10, to = 20, progress = 0.5 => 15\n\n  @param [number]: Lower limit of range\n  @param [number]: Upper limit of range\n  @param [number]: The progress between lower and upper limits expressed 0-1\n  @return [number]: Value as calculated from progress within range (not limited within range)\n*/\nconst mixNumber = (from, to, progress) => {\n    return from + (to - from) * progress;\n};\n\nexport { mixNumber };\n","// Adapted from https://gist.github.com/mjackson/5311256\nfunction hueToRgb(p, q, t) {\n    if (t < 0)\n        t += 1;\n    if (t > 1)\n        t -= 1;\n    if (t < 1 / 6)\n        return p + (q - p) * 6 * t;\n    if (t < 1 / 2)\n        return q;\n    if (t < 2 / 3)\n        return p + (q - p) * (2 / 3 - t) * 6;\n    return p;\n}\nfunction hslaToRgba({ hue, saturation, lightness, alpha }) {\n    hue /= 360;\n    saturation /= 100;\n    lightness /= 100;\n    let red = 0;\n    let green = 0;\n    let blue = 0;\n    if (!saturation) {\n        red = green = blue = lightness;\n    }\n    else {\n        const q = lightness < 0.5\n            ? lightness * (1 + saturation)\n            : lightness + saturation - lightness * saturation;\n        const p = 2 * lightness - q;\n        red = hueToRgb(p, q, hue + 1 / 3);\n        green = hueToRgb(p, q, hue);\n        blue = hueToRgb(p, q, hue - 1 / 3);\n    }\n    return {\n        red: Math.round(red * 255),\n        green: Math.round(green * 255),\n        blue: Math.round(blue * 255),\n        alpha,\n    };\n}\n\nexport { hslaToRgba };\n","function mixImmediate(a, b) {\n    return (p) => (p > 0 ? b : a);\n}\n\nexport { mixImmediate };\n","import { mixNumber } from './number.mjs';\nimport { warning } from 'motion-utils';\nimport { hslaToRgba } from '../hsla-to-rgba.mjs';\nimport { hex } from '../../value/types/color/hex.mjs';\nimport { rgba } from '../../value/types/color/rgba.mjs';\nimport { hsla } from '../../value/types/color/hsla.mjs';\nimport { mixImmediate } from './immediate.mjs';\n\n// Linear color space blending\n// Explained https://www.youtube.com/watch?v=LKnqECcg6Gw\n// Demonstrated http://codepen.io/osublake/pen/xGVVaN\nconst mixLinearColor = (from, to, v) => {\n    const fromExpo = from * from;\n    const expo = v * (to * to - fromExpo) + fromExpo;\n    return expo < 0 ? 0 : Math.sqrt(expo);\n};\nconst colorTypes = [hex, rgba, hsla];\nconst getColorType = (v) => colorTypes.find((type) => type.test(v));\nfunction asRGBA(color) {\n    const type = getColorType(color);\n    warning(Boolean(type), `'${color}' is not an animatable color. Use the equivalent color code instead.`);\n    if (!Boolean(type))\n        return false;\n    let model = type.parse(color);\n    if (type === hsla) {\n        // TODO Remove this cast - needed since Motion's stricter typing\n        model = hslaToRgba(model);\n    }\n    return model;\n}\nconst mixColor = (from, to) => {\n    const fromRGBA = asRGBA(from);\n    const toRGBA = asRGBA(to);\n    if (!fromRGBA || !toRGBA) {\n        return mixImmediate(from, to);\n    }\n    const blended = { ...fromRGBA };\n    return (v) => {\n        blended.red = mixLinearColor(fromRGBA.red, toRGBA.red, v);\n        blended.green = mixLinearColor(fromRGBA.green, toRGBA.green, v);\n        blended.blue = mixLinearColor(fromRGBA.blue, toRGBA.blue, v);\n        blended.alpha = mixNumber(fromRGBA.alpha, toRGBA.alpha, v);\n        return rgba.transform(blended);\n    };\n};\n\nexport { mixColor, mixLinearColor };\n","const invisibleValues = new Set([\"none\", \"hidden\"]);\n/**\n * Returns a function that, when provided a progress value between 0 and 1,\n * will return the \"none\" or \"hidden\" string only when the progress is that of\n * the origin or target.\n */\nfunction mixVisibility(origin, target) {\n    if (invisibleValues.has(origin)) {\n        return (p) => (p <= 0 ? origin : target);\n    }\n    else {\n        return (p) => (p >= 1 ? target : origin);\n    }\n}\n\nexport { invisibleValues, mixVisibility };\n","import { mixNumber as mixNumber$1 } from './number.mjs';\nimport { mixColor } from './color.mjs';\nimport { pipe } from '../pipe.mjs';\nimport { warning } from 'motion-utils';\nimport { color } from '../../value/types/color/index.mjs';\nimport { complex, analyseComplexValue } from '../../value/types/complex/index.mjs';\nimport { isCSSVariableToken } from '../../render/dom/utils/is-css-variable.mjs';\nimport { invisibleValues, mixVisibility } from './visibility.mjs';\nimport { mixImmediate } from './immediate.mjs';\n\nfunction mixNumber(a, b) {\n    return (p) => mixNumber$1(a, b, p);\n}\nfunction getMixer(a) {\n    if (typeof a === \"number\") {\n        return mixNumber;\n    }\n    else if (typeof a === \"string\") {\n        return isCSSVariableToken(a)\n            ? mixImmediate\n            : color.test(a)\n                ? mixColor\n                : mixComplex;\n    }\n    else if (Array.isArray(a)) {\n        return mixArray;\n    }\n    else if (typeof a === \"object\") {\n        return color.test(a) ? mixColor : mixObject;\n    }\n    return mixImmediate;\n}\nfunction mixArray(a, b) {\n    const output = [...a];\n    const numValues = output.length;\n    const blendValue = a.map((v, i) => getMixer(v)(v, b[i]));\n    return (p) => {\n        for (let i = 0; i < numValues; i++) {\n            output[i] = blendValue[i](p);\n        }\n        return output;\n    };\n}\nfunction mixObject(a, b) {\n    const output = { ...a, ...b };\n    const blendValue = {};\n    for (const key in output) {\n        if (a[key] !== undefined && b[key] !== undefined) {\n            blendValue[key] = getMixer(a[key])(a[key], b[key]);\n        }\n    }\n    return (v) => {\n        for (const key in blendValue) {\n            output[key] = blendValue[key](v);\n        }\n        return output;\n    };\n}\nfunction matchOrder(origin, target) {\n    var _a;\n    const orderedOrigin = [];\n    const pointers = { color: 0, var: 0, number: 0 };\n    for (let i = 0; i < target.values.length; i++) {\n        const type = target.types[i];\n        const originIndex = origin.indexes[type][pointers[type]];\n        const originValue = (_a = origin.values[originIndex]) !== null && _a !== void 0 ? _a : 0;\n        orderedOrigin[i] = originValue;\n        pointers[type]++;\n    }\n    return orderedOrigin;\n}\nconst mixComplex = (origin, target) => {\n    const template = complex.createTransformer(target);\n    const originStats = analyseComplexValue(origin);\n    const targetStats = analyseComplexValue(target);\n    const canInterpolate = originStats.indexes.var.length === targetStats.indexes.var.length &&\n        originStats.indexes.color.length === targetStats.indexes.color.length &&\n        originStats.indexes.number.length >= targetStats.indexes.number.length;\n    if (canInterpolate) {\n        if ((invisibleValues.has(origin) &&\n            !targetStats.values.length) ||\n            (invisibleValues.has(target) &&\n                !originStats.values.length)) {\n            return mixVisibility(origin, target);\n        }\n        return pipe(mixArray(matchOrder(originStats, targetStats), targetStats.values), template);\n    }\n    else {\n        warning(true, `Complex values '${origin}' and '${target}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`);\n        return mixImmediate(origin, target);\n    }\n};\n\nexport { getMixer, mixArray, mixComplex, mixObject };\n","import { getMixer } from './complex.mjs';\nimport { mixNumber } from './number.mjs';\n\nfunction mix(from, to, p) {\n    if (typeof from === \"number\" &&\n        typeof to === \"number\" &&\n        typeof p === \"number\") {\n        return mixNumber(from, to, p);\n    }\n    const mixer = getMixer(from);\n    return mixer(from, to);\n}\n\nexport { mix };\n","import { clamp } from './clamp.mjs';\nimport { pipe } from './pipe.mjs';\nimport { progress } from './progress.mjs';\nimport { invariant, noop } from 'motion-utils';\nimport { mix } from './mix/index.mjs';\n\nfunction createMixers(output, ease, customMixer) {\n    const mixers = [];\n    const mixerFactory = customMixer || mix;\n    const numMixers = output.length - 1;\n    for (let i = 0; i < numMixers; i++) {\n        let mixer = mixerFactory(output[i], output[i + 1]);\n        if (ease) {\n            const easingFunction = Array.isArray(ease) ? ease[i] || noop : ease;\n            mixer = pipe(easingFunction, mixer);\n        }\n        mixers.push(mixer);\n    }\n    return mixers;\n}\n/**\n * Create a function that maps from a numerical input array to a generic output array.\n *\n * Accepts:\n *   - Numbers\n *   - Colors (hex, hsl, hsla, rgb, rgba)\n *   - Complex (combinations of one or more numbers or strings)\n *\n * ```jsx\n * const mixColor = interpolate([0, 1], ['#fff', '#000'])\n *\n * mixColor(0.5) // 'rgba(128, 128, 128, 1)'\n * ```\n *\n * TODO Revist this approach once we've moved to data models for values,\n * probably not needed to pregenerate mixer functions.\n *\n * @public\n */\nfunction interpolate(input, output, { clamp: isClamp = true, ease, mixer } = {}) {\n    const inputLength = input.length;\n    invariant(inputLength === output.length, \"Both input and output ranges must be the same length\");\n    /**\n     * If we're only provided a single input, we can just make a function\n     * that returns the output.\n     */\n    if (inputLength === 1)\n        return () => output[0];\n    if (inputLength === 2 && input[0] === input[1])\n        return () => output[1];\n    // If input runs highest -> lowest, reverse both arrays\n    if (input[0] > input[inputLength - 1]) {\n        input = [...input].reverse();\n        output = [...output].reverse();\n    }\n    const mixers = createMixers(output, ease, mixer);\n    const numMixers = mixers.length;\n    const interpolator = (v) => {\n        let i = 0;\n        if (numMixers > 1) {\n            for (; i < input.length - 2; i++) {\n                if (v < input[i + 1])\n                    break;\n            }\n        }\n        const progressInRange = progress(input[i], input[i + 1], v);\n        return mixers[i](progressInRange);\n    };\n    return isClamp\n        ? (v) => interpolator(clamp(input[0], input[inputLength - 1], v))\n        : interpolator;\n}\n\nexport { interpolate };\n","import { fillOffset } from './fill.mjs';\n\nfunction defaultOffset(arr) {\n    const offset = [0];\n    fillOffset(offset, arr.length - 1);\n    return offset;\n}\n\nexport { defaultOffset };\n","import { mixNumber } from '../mix/number.mjs';\nimport { progress } from '../progress.mjs';\n\nfunction fillOffset(offset, remaining) {\n    const min = offset[offset.length - 1];\n    for (let i = 1; i <= remaining; i++) {\n        const offsetProgress = progress(0, remaining, i);\n        offset.push(mixNumber(min, 1, offsetProgress));\n    }\n}\n\nexport { fillOffset };\n","import { easeInOut } from '../../easing/ease.mjs';\nimport { isEasingArray } from '../../easing/utils/is-easing-array.mjs';\nimport { easingDefinitionToFunction } from '../../easing/utils/map.mjs';\nimport { interpolate } from '../../utils/interpolate.mjs';\nimport { defaultOffset } from '../../utils/offsets/default.mjs';\nimport { convertOffsetToTimes } from '../../utils/offsets/time.mjs';\n\nfunction defaultEasing(values, easing) {\n    return values.map(() => easing || easeInOut).splice(0, values.length - 1);\n}\nfunction keyframes({ duration = 300, keyframes: keyframeValues, times, ease = \"easeInOut\", }) {\n    /**\n     * Easing functions can be externally defined as strings. Here we convert them\n     * into actual functions.\n     */\n    const easingFunctions = isEasingArray(ease)\n        ? ease.map(easingDefinitionToFunction)\n        : easingDefinitionToFunction(ease);\n    /**\n     * This is the Iterator-spec return value. We ensure it's mutable rather than using a generator\n     * to reduce GC during animation.\n     */\n    const state = {\n        done: false,\n        value: keyframeValues[0],\n    };\n    /**\n     * Create a times array based on the provided 0-1 offsets\n     */\n    const absoluteTimes = convertOffsetToTimes(\n    // Only use the provided offsets if they're the correct length\n    // TODO Maybe we should warn here if there's a length mismatch\n    times && times.length === keyframeValues.length\n        ? times\n        : defaultOffset(keyframeValues), duration);\n    const mapTimeToKeyframe = interpolate(absoluteTimes, keyframeValues, {\n        ease: Array.isArray(easingFunctions)\n            ? easingFunctions\n            : defaultEasing(keyframeValues, easingFunctions),\n    });\n    return {\n        calculatedDuration: duration,\n        next: (t) => {\n            state.value = mapTimeToKeyframe(t);\n            state.done = t >= duration;\n            return state;\n        },\n    };\n}\n\nexport { defaultEasing, keyframes };\n","const isEasingArray = (ease) => {\n    return Array.isArray(ease) && typeof ease[0] !== \"number\";\n};\n\nexport { isEasingArray };\n","function convertOffsetToTimes(offset, duration) {\n    return offset.map((o) => o * duration);\n}\n\nexport { convertOffsetToTimes };\n","import { time } from '../../../frameloop/sync-time.mjs';\nimport { frame, cancelFrame, frameData } from '../../../frameloop/frame.mjs';\n\nconst frameloopDriver = (update) => {\n    const passTimestamp = ({ timestamp }) => update(timestamp);\n    return {\n        start: () => frame.update(passTimestamp, true),\n        stop: () => cancelFrame(passTimestamp),\n        /**\n         * If we're processing this frame we can use the\n         * framelocked timestamp to keep things in sync.\n         */\n        now: () => (frameData.isProcessing ? frameData.timestamp : time.now()),\n    };\n};\n\nexport { frameloopDriver };\n","import { KeyframeResolver } from '../../render/utils/KeyframesResolver.mjs';\nimport { spring } from '../generators/spring/index.mjs';\nimport { inertia } from '../generators/inertia.mjs';\nimport { keyframes } from '../generators/keyframes.mjs';\nimport { BaseAnimation } from './BaseAnimation.mjs';\nimport { pipe } from '../../utils/pipe.mjs';\nimport { mix } from '../../utils/mix/index.mjs';\nimport { calcGeneratorDuration } from '../generators/utils/calc-duration.mjs';\nimport { millisecondsToSeconds, secondsToMilliseconds } from '../../utils/time-conversion.mjs';\nimport { clamp } from '../../utils/clamp.mjs';\nimport { invariant } from 'motion-utils';\nimport { frameloopDriver } from './drivers/driver-frameloop.mjs';\nimport { getFinalKeyframe } from './waapi/utils/get-final-keyframe.mjs';\nimport { isGenerator } from '../generators/utils/is-generator.mjs';\n\nconst generators = {\n    decay: inertia,\n    inertia,\n    tween: keyframes,\n    keyframes: keyframes,\n    spring,\n};\nconst percentToProgress = (percent) => percent / 100;\n/**\n * Animation that runs on the main thread. Designed to be WAAPI-spec in the subset of\n * features we expose publically. Mostly the compatibility is to ensure visual identity\n * between both WAAPI and main thread animations.\n */\nclass MainThreadAnimation extends BaseAnimation {\n    constructor(options) {\n        super(options);\n        /**\n         * The time at which the animation was paused.\n         */\n        this.holdTime = null;\n        /**\n         * The time at which the animation was cancelled.\n         */\n        this.cancelTime = null;\n        /**\n         * The current time of the animation.\n         */\n        this.currentTime = 0;\n        /**\n         * Playback speed as a factor. 0 would be stopped, -1 reverse and 2 double speed.\n         */\n        this.playbackSpeed = 1;\n        /**\n         * The state of the animation to apply when the animation is resolved. This\n         * allows calls to the public API to control the animation before it is resolved,\n         * without us having to resolve it first.\n         */\n        this.pendingPlayState = \"running\";\n        /**\n         * The time at which the animation was started.\n         */\n        this.startTime = null;\n        this.state = \"idle\";\n        /**\n         * This method is bound to the instance to fix a pattern where\n         * animation.stop is returned as a reference from a useEffect.\n         */\n        this.stop = () => {\n            this.resolver.cancel();\n            this.isStopped = true;\n            if (this.state === \"idle\")\n                return;\n            this.teardown();\n            const { onStop } = this.options;\n            onStop && onStop();\n        };\n        const { name, motionValue, element, keyframes } = this.options;\n        const KeyframeResolver$1 = (element === null || element === void 0 ? void 0 : element.KeyframeResolver) || KeyframeResolver;\n        const onResolved = (resolvedKeyframes, finalKeyframe) => this.onKeyframesResolved(resolvedKeyframes, finalKeyframe);\n        this.resolver = new KeyframeResolver$1(keyframes, onResolved, name, motionValue, element);\n        this.resolver.scheduleResolve();\n    }\n    flatten() {\n        super.flatten();\n        // If we've already resolved the animation, re-initialise it\n        if (this._resolved) {\n            Object.assign(this._resolved, this.initPlayback(this._resolved.keyframes));\n        }\n    }\n    initPlayback(keyframes$1) {\n        const { type = \"keyframes\", repeat = 0, repeatDelay = 0, repeatType, velocity = 0, } = this.options;\n        const generatorFactory = isGenerator(type)\n            ? type\n            : generators[type] || keyframes;\n        /**\n         * If our generator doesn't support mixing numbers, we need to replace keyframes with\n         * [0, 100] and then make a function that maps that to the actual keyframes.\n         *\n         * 100 is chosen instead of 1 as it works nicer with spring animations.\n         */\n        let mapPercentToKeyframes;\n        let mirroredGenerator;\n        if (generatorFactory !== keyframes &&\n            typeof keyframes$1[0] !== \"number\") {\n            if (process.env.NODE_ENV !== \"production\") {\n                invariant(keyframes$1.length === 2, `Only two keyframes currently supported with spring and inertia animations. Trying to animate ${keyframes$1}`);\n            }\n            mapPercentToKeyframes = pipe(percentToProgress, mix(keyframes$1[0], keyframes$1[1]));\n            keyframes$1 = [0, 100];\n        }\n        const generator = generatorFactory({ ...this.options, keyframes: keyframes$1 });\n        /**\n         * If we have a mirror repeat type we need to create a second generator that outputs the\n         * mirrored (not reversed) animation and later ping pong between the two generators.\n         */\n        if (repeatType === \"mirror\") {\n            mirroredGenerator = generatorFactory({\n                ...this.options,\n                keyframes: [...keyframes$1].reverse(),\n                velocity: -velocity,\n            });\n        }\n        /**\n         * If duration is undefined and we have repeat options,\n         * we need to calculate a duration from the generator.\n         *\n         * We set it to the generator itself to cache the duration.\n         * Any timeline resolver will need to have already precalculated\n         * the duration by this step.\n         */\n        if (generator.calculatedDuration === null) {\n            generator.calculatedDuration = calcGeneratorDuration(generator);\n        }\n        const { calculatedDuration } = generator;\n        const resolvedDuration = calculatedDuration + repeatDelay;\n        const totalDuration = resolvedDuration * (repeat + 1) - repeatDelay;\n        return {\n            generator,\n            mirroredGenerator,\n            mapPercentToKeyframes,\n            calculatedDuration,\n            resolvedDuration,\n            totalDuration,\n        };\n    }\n    onPostResolved() {\n        const { autoplay = true } = this.options;\n        this.play();\n        if (this.pendingPlayState === \"paused\" || !autoplay) {\n            this.pause();\n        }\n        else {\n            this.state = this.pendingPlayState;\n        }\n    }\n    tick(timestamp, sample = false) {\n        const { resolved } = this;\n        // If the animations has failed to resolve, return the final keyframe.\n        if (!resolved) {\n            const { keyframes } = this.options;\n            return { done: true, value: keyframes[keyframes.length - 1] };\n        }\n        const { finalKeyframe, generator, mirroredGenerator, mapPercentToKeyframes, keyframes, calculatedDuration, totalDuration, resolvedDuration, } = resolved;\n        if (this.startTime === null)\n            return generator.next(0);\n        const { delay, repeat, repeatType, repeatDelay, onUpdate } = this.options;\n        /**\n         * requestAnimationFrame timestamps can come through as lower than\n         * the startTime as set by performance.now(). Here we prevent this,\n         * though in the future it could be possible to make setting startTime\n         * a pending operation that gets resolved here.\n         */\n        if (this.speed > 0) {\n            this.startTime = Math.min(this.startTime, timestamp);\n        }\n        else if (this.speed < 0) {\n            this.startTime = Math.min(timestamp - totalDuration / this.speed, this.startTime);\n        }\n        // Update currentTime\n        if (sample) {\n            this.currentTime = timestamp;\n        }\n        else if (this.holdTime !== null) {\n            this.currentTime = this.holdTime;\n        }\n        else {\n            // Rounding the time because floating point arithmetic is not always accurate, e.g. 3000.367 - 1000.367 =\n            // 2000.0000000000002. This is a problem when we are comparing the currentTime with the duration, for\n            // example.\n            this.currentTime =\n                Math.round(timestamp - this.startTime) * this.speed;\n        }\n        // Rebase on delay\n        const timeWithoutDelay = this.currentTime - delay * (this.speed >= 0 ? 1 : -1);\n        const isInDelayPhase = this.speed >= 0\n            ? timeWithoutDelay < 0\n            : timeWithoutDelay > totalDuration;\n        this.currentTime = Math.max(timeWithoutDelay, 0);\n        // If this animation has finished, set the current time  to the total duration.\n        if (this.state === \"finished\" && this.holdTime === null) {\n            this.currentTime = totalDuration;\n        }\n        let elapsed = this.currentTime;\n        let frameGenerator = generator;\n        if (repeat) {\n            /**\n             * Get the current progress (0-1) of the animation. If t is >\n             * than duration we'll get values like 2.5 (midway through the\n             * third iteration)\n             */\n            const progress = Math.min(this.currentTime, totalDuration) / resolvedDuration;\n            /**\n             * Get the current iteration (0 indexed). For instance the floor of\n             * 2.5 is 2.\n             */\n            let currentIteration = Math.floor(progress);\n            /**\n             * Get the current progress of the iteration by taking the remainder\n             * so 2.5 is 0.5 through iteration 2\n             */\n            let iterationProgress = progress % 1.0;\n            /**\n             * If iteration progress is 1 we count that as the end\n             * of the previous iteration.\n             */\n            if (!iterationProgress && progress >= 1) {\n                iterationProgress = 1;\n            }\n            iterationProgress === 1 && currentIteration--;\n            currentIteration = Math.min(currentIteration, repeat + 1);\n            /**\n             * Reverse progress if we're not running in \"normal\" direction\n             */\n            const isOddIteration = Boolean(currentIteration % 2);\n            if (isOddIteration) {\n                if (repeatType === \"reverse\") {\n                    iterationProgress = 1 - iterationProgress;\n                    if (repeatDelay) {\n                        iterationProgress -= repeatDelay / resolvedDuration;\n                    }\n                }\n                else if (repeatType === \"mirror\") {\n                    frameGenerator = mirroredGenerator;\n                }\n            }\n            elapsed = clamp(0, 1, iterationProgress) * resolvedDuration;\n        }\n        /**\n         * If we're in negative time, set state as the initial keyframe.\n         * This prevents delay: x, duration: 0 animations from finishing\n         * instantly.\n         */\n        const state = isInDelayPhase\n            ? { done: false, value: keyframes[0] }\n            : frameGenerator.next(elapsed);\n        if (mapPercentToKeyframes) {\n            state.value = mapPercentToKeyframes(state.value);\n        }\n        let { done } = state;\n        if (!isInDelayPhase && calculatedDuration !== null) {\n            done =\n                this.speed >= 0\n                    ? this.currentTime >= totalDuration\n                    : this.currentTime <= 0;\n        }\n        const isAnimationFinished = this.holdTime === null &&\n            (this.state === \"finished\" || (this.state === \"running\" && done));\n        if (isAnimationFinished && finalKeyframe !== undefined) {\n            state.value = getFinalKeyframe(keyframes, this.options, finalKeyframe);\n        }\n        if (onUpdate) {\n            onUpdate(state.value);\n        }\n        if (isAnimationFinished) {\n            this.finish();\n        }\n        return state;\n    }\n    get duration() {\n        const { resolved } = this;\n        return resolved ? millisecondsToSeconds(resolved.calculatedDuration) : 0;\n    }\n    get time() {\n        return millisecondsToSeconds(this.currentTime);\n    }\n    set time(newTime) {\n        newTime = secondsToMilliseconds(newTime);\n        this.currentTime = newTime;\n        if (this.holdTime !== null || this.speed === 0) {\n            this.holdTime = newTime;\n        }\n        else if (this.driver) {\n            this.startTime = this.driver.now() - newTime / this.speed;\n        }\n    }\n    get speed() {\n        return this.playbackSpeed;\n    }\n    set speed(newSpeed) {\n        const hasChanged = this.playbackSpeed !== newSpeed;\n        this.playbackSpeed = newSpeed;\n        if (hasChanged) {\n            this.time = millisecondsToSeconds(this.currentTime);\n        }\n    }\n    play() {\n        if (!this.resolver.isScheduled) {\n            this.resolver.resume();\n        }\n        if (!this._resolved) {\n            this.pendingPlayState = \"running\";\n            return;\n        }\n        if (this.isStopped)\n            return;\n        const { driver = frameloopDriver, onPlay, startTime } = this.options;\n        if (!this.driver) {\n            this.driver = driver((timestamp) => this.tick(timestamp));\n        }\n        onPlay && onPlay();\n        const now = this.driver.now();\n        if (this.holdTime !== null) {\n            this.startTime = now - this.holdTime;\n        }\n        else if (!this.startTime) {\n            this.startTime = startTime !== null && startTime !== void 0 ? startTime : this.calcStartTime();\n        }\n        else if (this.state === \"finished\") {\n            this.startTime = now;\n        }\n        if (this.state === \"finished\") {\n            this.updateFinishedPromise();\n        }\n        this.cancelTime = this.startTime;\n        this.holdTime = null;\n        /**\n         * Set playState to running only after we've used it in\n         * the previous logic.\n         */\n        this.state = \"running\";\n        this.driver.start();\n    }\n    pause() {\n        var _a;\n        if (!this._resolved) {\n            this.pendingPlayState = \"paused\";\n            return;\n        }\n        this.state = \"paused\";\n        this.holdTime = (_a = this.currentTime) !== null && _a !== void 0 ? _a : 0;\n    }\n    complete() {\n        if (this.state !== \"running\") {\n            this.play();\n        }\n        this.pendingPlayState = this.state = \"finished\";\n        this.holdTime = null;\n    }\n    finish() {\n        this.teardown();\n        this.state = \"finished\";\n        const { onComplete } = this.options;\n        onComplete && onComplete();\n    }\n    cancel() {\n        if (this.cancelTime !== null) {\n            this.tick(this.cancelTime);\n        }\n        this.teardown();\n        this.updateFinishedPromise();\n    }\n    teardown() {\n        this.state = \"idle\";\n        this.stopDriver();\n        this.resolveFinishedPromise();\n        this.updateFinishedPromise();\n        this.startTime = this.cancelTime = null;\n        this.resolver.cancel();\n    }\n    stopDriver() {\n        if (!this.driver)\n            return;\n        this.driver.stop();\n        this.driver = undefined;\n    }\n    sample(time) {\n        this.startTime = 0;\n        return this.tick(time, true);\n    }\n}\n// Legacy interface\nfunction animateValue(options) {\n    return new MainThreadAnimation(options);\n}\n\nexport { MainThreadAnimation, animateValue };\n","/**\n * A list of values that can be hardware-accelerated.\n */\nconst acceleratedValues = new Set([\n    \"opacity\",\n    \"clipPath\",\n    \"filter\",\n    \"transform\",\n    // TODO: Can be accelerated but currently disabled until https://issues.chromium.org/issues/41491098 is resolved\n    // or until we implement support for linear() easing.\n    // \"background-color\"\n]);\n\nexport { acceleratedValues };\n","function memo(callback) {\n    let result;\n    return () => {\n        if (result === undefined)\n            result = callback();\n        return result;\n    };\n}\n\nexport { memo };\n","/**\n * Add the ability for test suites to manually set support flags\n * to better test more environments.\n */\nconst supportsFlags = {\n    linearEasing: undefined,\n};\n\nexport { supportsFlags };\n","import { memo } from '../../../../utils/memo.mjs';\nimport { supportsFlags } from './supports-flags.mjs';\n\nfunction memoSupports(callback, supportsFlag) {\n    const memoized = memo(callback);\n    return () => { var _a; return (_a = supportsFlags[supportsFlag]) !== null && _a !== void 0 ? _a : memoized(); };\n}\n\nexport { memoSupports };\n","import { memoSupports } from './memo-supports.mjs';\n\nconst supportsLinearEasing = /*@__PURE__*/ memoSupports(() => {\n    try {\n        document\n            .createElement(\"div\")\n            .animate({ opacity: 0 }, { easing: \"linear(0, 1)\" });\n    }\n    catch (e) {\n        return false;\n    }\n    return true;\n}, \"linearEasing\");\n\nexport { supportsLinearEasing };\n","import { isBezierDefinition } from '../../../easing/utils/is-bezier-definition.mjs';\nimport { generateLinearEasing } from './utils/linear.mjs';\nimport { supportsLinearEasing } from './utils/supports-linear-easing.mjs';\n\nfunction isWaapiSupportedEasing(easing) {\n    return Boolean((typeof easing === \"function\" && supportsLinearEasing()) ||\n        !easing ||\n        (typeof easing === \"string\" &&\n            (easing in supportedWaapiEasing || supportsLinearEasing())) ||\n        isBezierDefinition(easing) ||\n        (Array.isArray(easing) && easing.every(isWaapiSupportedEasing)));\n}\nconst cubicBezierAsString = ([a, b, c, d]) => `cubic-bezier(${a}, ${b}, ${c}, ${d})`;\nconst supportedWaapiEasing = {\n    linear: \"linear\",\n    ease: \"ease\",\n    easeIn: \"ease-in\",\n    easeOut: \"ease-out\",\n    easeInOut: \"ease-in-out\",\n    circIn: /*@__PURE__*/ cubicBezierAsString([0, 0.65, 0.55, 1]),\n    circOut: /*@__PURE__*/ cubicBezierAsString([0.55, 0, 1, 0.45]),\n    backIn: /*@__PURE__*/ cubicBezierAsString([0.31, 0.01, 0.66, -0.59]),\n    backOut: /*@__PURE__*/ cubicBezierAsString([0.33, 1.53, 0.69, 0.99]),\n};\nfunction mapEasingToNativeEasing(easing, duration) {\n    if (!easing) {\n        return undefined;\n    }\n    else if (typeof easing === \"function\" && supportsLinearEasing()) {\n        return generateLinearEasing(easing, duration);\n    }\n    else if (isBezierDefinition(easing)) {\n        return cubicBezierAsString(easing);\n    }\n    else if (Array.isArray(easing)) {\n        return easing.map((segmentEasing) => mapEasingToNativeEasing(segmentEasing, duration) ||\n            supportedWaapiEasing.easeOut);\n    }\n    else {\n        return supportedWaapiEasing[easing];\n    }\n}\n\nexport { cubicBezierAsString, isWaapiSupportedEasing, mapEasingToNativeEasing, supportedWaapiEasing };\n","import { mapEasingToNativeEasing } from './easing.mjs';\n\nfunction startWaapiAnimation(element, valueName, keyframes, { delay = 0, duration = 300, repeat = 0, repeatType = \"loop\", ease = \"easeInOut\", times, } = {}) {\n    const keyframeOptions = { [valueName]: keyframes };\n    if (times)\n        keyframeOptions.offset = times;\n    const easing = mapEasingToNativeEasing(ease, duration);\n    /**\n     * If this is an easing array, apply to keyframes, not animation as a whole\n     */\n    if (Array.isArray(easing))\n        keyframeOptions.easing = easing;\n    return element.animate(keyframeOptions, {\n        delay,\n        duration,\n        easing: !Array.isArray(easing) ? easing : \"linear\",\n        fill: \"both\",\n        iterations: repeat + 1,\n        direction: repeatType === \"reverse\" ? \"alternate\" : \"normal\",\n    });\n}\n\nexport { startWaapiAnimation };\n","function attachTimeline(animation, timeline) {\n    animation.timeline = timeline;\n    animation.onfinish = null;\n}\n\nexport { attachTimeline };\n","import { memo } from '../../../../utils/memo.mjs';\n\nconst supportsWaapi = /*@__PURE__*/ memo(() => Object.hasOwnProperty.call(Element.prototype, \"animate\"));\n\nexport { supportsWaapi };\n","import { anticipate } from '../../easing/anticipate.mjs';\nimport { backInOut } from '../../easing/back.mjs';\nimport { circInOut } from '../../easing/circ.mjs';\nimport { DOMKeyframesResolver } from '../../render/dom/DOMKeyframesResolver.mjs';\nimport { noop } from 'motion-utils';\nimport { millisecondsToSeconds, secondsToMilliseconds } from '../../utils/time-conversion.mjs';\nimport { isGenerator } from '../generators/utils/is-generator.mjs';\nimport { BaseAnimation } from './BaseAnimation.mjs';\nimport { MainThreadAnimation } from './MainThreadAnimation.mjs';\nimport { acceleratedValues } from './utils/accelerated-values.mjs';\nimport { startWaapiAnimation } from './waapi/index.mjs';\nimport { isWaapiSupportedEasing } from './waapi/easing.mjs';\nimport { attachTimeline } from './waapi/utils/attach-timeline.mjs';\nimport { getFinalKeyframe } from './waapi/utils/get-final-keyframe.mjs';\nimport { supportsLinearEasing } from './waapi/utils/supports-linear-easing.mjs';\nimport { supportsWaapi } from './waapi/utils/supports-waapi.mjs';\n\n/**\n * 10ms is chosen here as it strikes a balance between smooth\n * results (more than one keyframe per frame at 60fps) and\n * keyframe quantity.\n */\nconst sampleDelta = 10; //ms\n/**\n * Implement a practical max duration for keyframe generation\n * to prevent infinite loops\n */\nconst maxDuration = 20000;\n/**\n * Check if an animation can run natively via WAAPI or requires pregenerated keyframes.\n * WAAPI doesn't support spring or function easings so we run these as JS animation before\n * handing off.\n */\nfunction requiresPregeneratedKeyframes(options) {\n    return (isGenerator(options.type) ||\n        options.type === \"spring\" ||\n        !isWaapiSupportedEasing(options.ease));\n}\nfunction pregenerateKeyframes(keyframes, options) {\n    /**\n     * Create a main-thread animation to pregenerate keyframes.\n     * We sample this at regular intervals to generate keyframes that we then\n     * linearly interpolate between.\n     */\n    const sampleAnimation = new MainThreadAnimation({\n        ...options,\n        keyframes,\n        repeat: 0,\n        delay: 0,\n        isGenerator: true,\n    });\n    let state = { done: false, value: keyframes[0] };\n    const pregeneratedKeyframes = [];\n    /**\n     * Bail after 20 seconds of pre-generated keyframes as it's likely\n     * we're heading for an infinite loop.\n     */\n    let t = 0;\n    while (!state.done && t < maxDuration) {\n        state = sampleAnimation.sample(t);\n        pregeneratedKeyframes.push(state.value);\n        t += sampleDelta;\n    }\n    return {\n        times: undefined,\n        keyframes: pregeneratedKeyframes,\n        duration: t - sampleDelta,\n        ease: \"linear\",\n    };\n}\nconst unsupportedEasingFunctions = {\n    anticipate,\n    backInOut,\n    circInOut,\n};\nfunction isUnsupportedEase(key) {\n    return key in unsupportedEasingFunctions;\n}\nclass AcceleratedAnimation extends BaseAnimation {\n    constructor(options) {\n        super(options);\n        const { name, motionValue, element, keyframes } = this.options;\n        this.resolver = new DOMKeyframesResolver(keyframes, (resolvedKeyframes, finalKeyframe) => this.onKeyframesResolved(resolvedKeyframes, finalKeyframe), name, motionValue, element);\n        this.resolver.scheduleResolve();\n    }\n    initPlayback(keyframes, finalKeyframe) {\n        var _a;\n        let { duration = 300, times, ease, type, motionValue, name, startTime, } = this.options;\n        /**\n         * If element has since been unmounted, return false to indicate\n         * the animation failed to initialised.\n         */\n        if (!((_a = motionValue.owner) === null || _a === void 0 ? void 0 : _a.current)) {\n            return false;\n        }\n        /**\n         * If the user has provided an easing function name that isn't supported\n         * by WAAPI (like \"anticipate\"), we need to provide the corressponding\n         * function. This will later get converted to a linear() easing function.\n         */\n        if (typeof ease === \"string\" &&\n            supportsLinearEasing() &&\n            isUnsupportedEase(ease)) {\n            ease = unsupportedEasingFunctions[ease];\n        }\n        /**\n         * If this animation needs pre-generated keyframes then generate.\n         */\n        if (requiresPregeneratedKeyframes(this.options)) {\n            const { onComplete, onUpdate, motionValue, element, ...options } = this.options;\n            const pregeneratedAnimation = pregenerateKeyframes(keyframes, options);\n            keyframes = pregeneratedAnimation.keyframes;\n            // If this is a very short animation, ensure we have\n            // at least two keyframes to animate between as older browsers\n            // can't animate between a single keyframe.\n            if (keyframes.length === 1) {\n                keyframes[1] = keyframes[0];\n            }\n            duration = pregeneratedAnimation.duration;\n            times = pregeneratedAnimation.times;\n            ease = pregeneratedAnimation.ease;\n            type = \"keyframes\";\n        }\n        const animation = startWaapiAnimation(motionValue.owner.current, name, keyframes, { ...this.options, duration, times, ease });\n        // Override the browser calculated startTime with one synchronised to other JS\n        // and WAAPI animations starting this event loop.\n        animation.startTime = startTime !== null && startTime !== void 0 ? startTime : this.calcStartTime();\n        if (this.pendingTimeline) {\n            attachTimeline(animation, this.pendingTimeline);\n            this.pendingTimeline = undefined;\n        }\n        else {\n            /**\n             * Prefer the `onfinish` prop as it's more widely supported than\n             * the `finished` promise.\n             *\n             * Here, we synchronously set the provided MotionValue to the end\n             * keyframe. If we didn't, when the WAAPI animation is finished it would\n             * be removed from the element which would then revert to its old styles.\n             */\n            animation.onfinish = () => {\n                const { onComplete } = this.options;\n                motionValue.set(getFinalKeyframe(keyframes, this.options, finalKeyframe));\n                onComplete && onComplete();\n                this.cancel();\n                this.resolveFinishedPromise();\n            };\n        }\n        return {\n            animation,\n            duration,\n            times,\n            type,\n            ease,\n            keyframes: keyframes,\n        };\n    }\n    get duration() {\n        const { resolved } = this;\n        if (!resolved)\n            return 0;\n        const { duration } = resolved;\n        return millisecondsToSeconds(duration);\n    }\n    get time() {\n        const { resolved } = this;\n        if (!resolved)\n            return 0;\n        const { animation } = resolved;\n        return millisecondsToSeconds(animation.currentTime || 0);\n    }\n    set time(newTime) {\n        const { resolved } = this;\n        if (!resolved)\n            return;\n        const { animation } = resolved;\n        animation.currentTime = secondsToMilliseconds(newTime);\n    }\n    get speed() {\n        const { resolved } = this;\n        if (!resolved)\n            return 1;\n        const { animation } = resolved;\n        return animation.playbackRate;\n    }\n    set speed(newSpeed) {\n        const { resolved } = this;\n        if (!resolved)\n            return;\n        const { animation } = resolved;\n        animation.playbackRate = newSpeed;\n    }\n    get state() {\n        const { resolved } = this;\n        if (!resolved)\n            return \"idle\";\n        const { animation } = resolved;\n        return animation.playState;\n    }\n    get startTime() {\n        const { resolved } = this;\n        if (!resolved)\n            return null;\n        const { animation } = resolved;\n        // Coerce to number as TypeScript incorrectly types this\n        // as CSSNumberish\n        return animation.startTime;\n    }\n    /**\n     * Replace the default DocumentTimeline with another AnimationTimeline.\n     * Currently used for scroll animations.\n     */\n    attachTimeline(timeline) {\n        if (!this._resolved) {\n            this.pendingTimeline = timeline;\n        }\n        else {\n            const { resolved } = this;\n            if (!resolved)\n                return noop;\n            const { animation } = resolved;\n            attachTimeline(animation, timeline);\n        }\n        return noop;\n    }\n    play() {\n        if (this.isStopped)\n            return;\n        const { resolved } = this;\n        if (!resolved)\n            return;\n        const { animation } = resolved;\n        if (animation.playState === \"finished\") {\n            this.updateFinishedPromise();\n        }\n        animation.play();\n    }\n    pause() {\n        const { resolved } = this;\n        if (!resolved)\n            return;\n        const { animation } = resolved;\n        animation.pause();\n    }\n    stop() {\n        this.resolver.cancel();\n        this.isStopped = true;\n        if (this.state === \"idle\")\n            return;\n        this.resolveFinishedPromise();\n        this.updateFinishedPromise();\n        const { resolved } = this;\n        if (!resolved)\n            return;\n        const { animation, keyframes, duration, type, ease, times } = resolved;\n        if (animation.playState === \"idle\" ||\n            animation.playState === \"finished\") {\n            return;\n        }\n        /**\n         * WAAPI doesn't natively have any interruption capabilities.\n         *\n         * Rather than read commited styles back out of the DOM, we can\n         * create a renderless JS animation and sample it twice to calculate\n         * its current value, \"previous\" value, and therefore allow\n         * Motion to calculate velocity for any subsequent animation.\n         */\n        if (this.time) {\n            const { motionValue, onUpdate, onComplete, element, ...options } = this.options;\n            const sampleAnimation = new MainThreadAnimation({\n                ...options,\n                keyframes,\n                duration,\n                type,\n                ease,\n                times,\n                isGenerator: true,\n            });\n            const sampleTime = secondsToMilliseconds(this.time);\n            motionValue.setWithVelocity(sampleAnimation.sample(sampleTime - sampleDelta).value, sampleAnimation.sample(sampleTime).value, sampleDelta);\n        }\n        const { onStop } = this.options;\n        onStop && onStop();\n        this.cancel();\n    }\n    complete() {\n        const { resolved } = this;\n        if (!resolved)\n            return;\n        resolved.animation.finish();\n    }\n    cancel() {\n        const { resolved } = this;\n        if (!resolved)\n            return;\n        resolved.animation.cancel();\n    }\n    static supports(options) {\n        const { motionValue, name, repeatDelay, repeatType, damping, type } = options;\n        return (supportsWaapi() &&\n            name &&\n            acceleratedValues.has(name) &&\n            motionValue &&\n            motionValue.owner &&\n            motionValue.owner.current instanceof HTMLElement &&\n            /**\n             * If we're outputting values to onUpdate then we can't use WAAPI as there's\n             * no way to read the value from WAAPI every frame.\n             */\n            !motionValue.owner.getProps().onUpdate &&\n            !repeatDelay &&\n            repeatType !== \"mirror\" &&\n            damping !== 0 &&\n            type !== \"inertia\");\n    }\n}\n\nexport { AcceleratedAnimation };\n","import { memo } from '../../../utils/memo.mjs';\n\nconst supportsScrollTimeline = memo(() => window.ScrollTimeline !== undefined);\n\nexport { supportsScrollTimeline };\n","import { supportsScrollTimeline } from '../render/dom/scroll/supports.mjs';\n\nclass GroupPlaybackControls {\n    constructor(animations) {\n        // Bound to accomodate common `return animation.stop` pattern\n        this.stop = () => this.runAll(\"stop\");\n        this.animations = animations.filter(Boolean);\n    }\n    then(onResolve, onReject) {\n        return Promise.all(this.animations).then(onResolve).catch(onReject);\n    }\n    /**\n     * TODO: Filter out cancelled or stopped animations before returning\n     */\n    getAll(propName) {\n        return this.animations[0][propName];\n    }\n    setAll(propName, newValue) {\n        for (let i = 0; i < this.animations.length; i++) {\n            this.animations[i][propName] = newValue;\n        }\n    }\n    attachTimeline(timeline, fallback) {\n        const subscriptions = this.animations.map((animation) => {\n            if (supportsScrollTimeline() && animation.attachTimeline) {\n                return animation.attachTimeline(timeline);\n            }\n            else {\n                return fallback(animation);\n            }\n        });\n        return () => {\n            subscriptions.forEach((cancel, i) => {\n                cancel && cancel();\n                this.animations[i].stop();\n            });\n        };\n    }\n    get time() {\n        return this.getAll(\"time\");\n    }\n    set time(time) {\n        this.setAll(\"time\", time);\n    }\n    get speed() {\n        return this.getAll(\"speed\");\n    }\n    set speed(speed) {\n        this.setAll(\"speed\", speed);\n    }\n    get startTime() {\n        return this.getAll(\"startTime\");\n    }\n    get duration() {\n        let max = 0;\n        for (let i = 0; i < this.animations.length; i++) {\n            max = Math.max(max, this.animations[i].duration);\n        }\n        return max;\n    }\n    runAll(methodName) {\n        this.animations.forEach((controls) => controls[methodName]());\n    }\n    flatten() {\n        this.runAll(\"flatten\");\n    }\n    play() {\n        this.runAll(\"play\");\n    }\n    pause() {\n        this.runAll(\"pause\");\n    }\n    cancel() {\n        this.runAll(\"cancel\");\n    }\n    complete() {\n        this.runAll(\"complete\");\n    }\n}\n\nexport { GroupPlaybackControls };\n","import { secondsToMilliseconds } from '../../utils/time-conversion.mjs';\nimport { getDefaultTransition } from '../utils/default-transitions.mjs';\nimport { getValueTransition } from '../utils/get-value-transition.mjs';\nimport { MotionGlobalConfig } from '../../utils/GlobalConfig.mjs';\nimport { instantAnimationState } from '../../utils/use-instant-transition-state.mjs';\nimport { getFinalKeyframe } from '../animators/waapi/utils/get-final-keyframe.mjs';\nimport { frame } from '../../frameloop/frame.mjs';\nimport { AcceleratedAnimation } from '../animators/AcceleratedAnimation.mjs';\nimport { MainThreadAnimation } from '../animators/MainThreadAnimation.mjs';\nimport { GroupPlaybackControls } from '../GroupPlaybackControls.mjs';\nimport { isTransitionDefined } from '../utils/is-transition-defined.mjs';\n\nconst animateMotionValue = (name, value, target, transition = {}, element, isHandoff) => (onComplete) => {\n    const valueTransition = getValueTransition(transition, name) || {};\n    /**\n     * Most transition values are currently completely overwritten by value-specific\n     * transitions. In the future it'd be nicer to blend these transitions. But for now\n     * delay actually does inherit from the root transition if not value-specific.\n     */\n    const delay = valueTransition.delay || transition.delay || 0;\n    /**\n     * Elapsed isn't a public transition option but can be passed through from\n     * optimized appear effects in milliseconds.\n     */\n    let { elapsed = 0 } = transition;\n    elapsed = elapsed - secondsToMilliseconds(delay);\n    let options = {\n        keyframes: Array.isArray(target) ? target : [null, target],\n        ease: \"easeOut\",\n        velocity: value.getVelocity(),\n        ...valueTransition,\n        delay: -elapsed,\n        onUpdate: (v) => {\n            value.set(v);\n            valueTransition.onUpdate && valueTransition.onUpdate(v);\n        },\n        onComplete: () => {\n            onComplete();\n            valueTransition.onComplete && valueTransition.onComplete();\n        },\n        name,\n        motionValue: value,\n        element: isHandoff ? undefined : element,\n    };\n    /**\n     * If there's no transition defined for this value, we can generate\n     * unqiue transition settings for this value.\n     */\n    if (!isTransitionDefined(valueTransition)) {\n        options = {\n            ...options,\n            ...getDefaultTransition(name, options),\n        };\n    }\n    /**\n     * Both WAAPI and our internal animation functions use durations\n     * as defined by milliseconds, while our external API defines them\n     * as seconds.\n     */\n    if (options.duration) {\n        options.duration = secondsToMilliseconds(options.duration);\n    }\n    if (options.repeatDelay) {\n        options.repeatDelay = secondsToMilliseconds(options.repeatDelay);\n    }\n    if (options.from !== undefined) {\n        options.keyframes[0] = options.from;\n    }\n    let shouldSkip = false;\n    if (options.type === false ||\n        (options.duration === 0 && !options.repeatDelay)) {\n        options.duration = 0;\n        if (options.delay === 0) {\n            shouldSkip = true;\n        }\n    }\n    if (instantAnimationState.current ||\n        MotionGlobalConfig.skipAnimations) {\n        shouldSkip = true;\n        options.duration = 0;\n        options.delay = 0;\n    }\n    /**\n     * If we can or must skip creating the animation, and apply only\n     * the final keyframe, do so. We also check once keyframes are resolved but\n     * this early check prevents the need to create an animation at all.\n     */\n    if (shouldSkip && !isHandoff && value.get() !== undefined) {\n        const finalKeyframe = getFinalKeyframe(options.keyframes, valueTransition);\n        if (finalKeyframe !== undefined) {\n            frame.update(() => {\n                options.onUpdate(finalKeyframe);\n                options.onComplete();\n            });\n            // We still want to return some animation controls here rather\n            // than returning undefined\n            return new GroupPlaybackControls([]);\n        }\n    }\n    /**\n     * Animate via WAAPI if possible. If this is a handoff animation, the optimised animation will be running via\n     * WAAPI. Therefore, this animation must be JS to ensure it runs \"under\" the\n     * optimised animation.\n     */\n    if (!isHandoff && AcceleratedAnimation.supports(options)) {\n        return new AcceleratedAnimation(options);\n    }\n    else {\n        return new MainThreadAnimation(options);\n    }\n};\n\nexport { animateMotionValue };\n","/**\n * Decide whether a transition is defined on a given Transition.\n * This filters out orchestration options and returns true\n * if any options are left.\n */\nfunction isTransitionDefined({ when, delay: _delay, delayChildren, staggerChildren, staggerDirection, repeat, repeatType, repeatDelay, from, elapsed, ...transition }) {\n    return !!Object.keys(transition).length;\n}\n\nexport { isTransitionDefined };\n","function addUniqueItem(arr, item) {\n    if (arr.indexOf(item) === -1)\n        arr.push(item);\n}\nfunction removeItem(arr, item) {\n    const index = arr.indexOf(item);\n    if (index > -1)\n        arr.splice(index, 1);\n}\n// Adapted from array-move\nfunction moveItem([...arr], fromIndex, toIndex) {\n    const startIndex = fromIndex < 0 ? arr.length + fromIndex : fromIndex;\n    if (startIndex >= 0 && startIndex < arr.length) {\n        const endIndex = toIndex < 0 ? arr.length + toIndex : toIndex;\n        const [item] = arr.splice(fromIndex, 1);\n        arr.splice(endIndex, 0, item);\n    }\n    return arr;\n}\n\nexport { addUniqueItem, moveItem, removeItem };\n","import { addUniqueItem, removeItem } from './array.mjs';\n\nclass SubscriptionManager {\n    constructor() {\n        this.subscriptions = [];\n    }\n    add(handler) {\n        addUniqueItem(this.subscriptions, handler);\n        return () => removeItem(this.subscriptions, handler);\n    }\n    notify(a, b, c) {\n        const numSubscriptions = this.subscriptions.length;\n        if (!numSubscriptions)\n            return;\n        if (numSubscriptions === 1) {\n            /**\n             * If there's only a single handler we can just call it without invoking a loop.\n             */\n            this.subscriptions[0](a, b, c);\n        }\n        else {\n            for (let i = 0; i < numSubscriptions; i++) {\n                /**\n                 * Check whether the handler exists before firing as it's possible\n                 * the subscriptions were modified during this loop running.\n                 */\n                const handler = this.subscriptions[i];\n                handler && handler(a, b, c);\n            }\n        }\n    }\n    getSize() {\n        return this.subscriptions.length;\n    }\n    clear() {\n        this.subscriptions.length = 0;\n    }\n}\n\nexport { SubscriptionManager };\n","import { SubscriptionManager } from '../utils/subscription-manager.mjs';\nimport { velocityPerSecond } from '../utils/velocity-per-second.mjs';\nimport { warnOnce } from '../utils/warn-once.mjs';\nimport { time } from '../frameloop/sync-time.mjs';\nimport { frame } from '../frameloop/frame.mjs';\n\n/**\n * Maximum time between the value of two frames, beyond which we\n * assume the velocity has since been 0.\n */\nconst MAX_VELOCITY_DELTA = 30;\nconst isFloat = (value) => {\n    return !isNaN(parseFloat(value));\n};\nconst collectMotionValues = {\n    current: undefined,\n};\n/**\n * `MotionValue` is used to track the state and velocity of motion values.\n *\n * @public\n */\nclass MotionValue {\n    /**\n     * @param init - The initiating value\n     * @param config - Optional configuration options\n     *\n     * -  `transformer`: A function to transform incoming values with.\n     *\n     * @internal\n     */\n    constructor(init, options = {}) {\n        /**\n         * This will be replaced by the build step with the latest version number.\n         * When MotionValues are provided to motion components, warn if versions are mixed.\n         */\n        this.version = \"11.15.0\";\n        /**\n         * Tracks whether this value can output a velocity. Currently this is only true\n         * if the value is numerical, but we might be able to widen the scope here and support\n         * other value types.\n         *\n         * @internal\n         */\n        this.canTrackVelocity = null;\n        /**\n         * An object containing a SubscriptionManager for each active event.\n         */\n        this.events = {};\n        this.updateAndNotify = (v, render = true) => {\n            const currentTime = time.now();\n            /**\n             * If we're updating the value during another frame or eventloop\n             * than the previous frame, then the we set the previous frame value\n             * to current.\n             */\n            if (this.updatedAt !== currentTime) {\n                this.setPrevFrameValue();\n            }\n            this.prev = this.current;\n            this.setCurrent(v);\n            // Update update subscribers\n            if (this.current !== this.prev && this.events.change) {\n                this.events.change.notify(this.current);\n            }\n            // Update render subscribers\n            if (render && this.events.renderRequest) {\n                this.events.renderRequest.notify(this.current);\n            }\n        };\n        this.hasAnimated = false;\n        this.setCurrent(init);\n        this.owner = options.owner;\n    }\n    setCurrent(current) {\n        this.current = current;\n        this.updatedAt = time.now();\n        if (this.canTrackVelocity === null && current !== undefined) {\n            this.canTrackVelocity = isFloat(this.current);\n        }\n    }\n    setPrevFrameValue(prevFrameValue = this.current) {\n        this.prevFrameValue = prevFrameValue;\n        this.prevUpdatedAt = this.updatedAt;\n    }\n    /**\n     * Adds a function that will be notified when the `MotionValue` is updated.\n     *\n     * It returns a function that, when called, will cancel the subscription.\n     *\n     * When calling `onChange` inside a React component, it should be wrapped with the\n     * `useEffect` hook. As it returns an unsubscribe function, this should be returned\n     * from the `useEffect` function to ensure you don't add duplicate subscribers..\n     *\n     * ```jsx\n     * export const MyComponent = () => {\n     *   const x = useMotionValue(0)\n     *   const y = useMotionValue(0)\n     *   const opacity = useMotionValue(1)\n     *\n     *   useEffect(() => {\n     *     function updateOpacity() {\n     *       const maxXY = Math.max(x.get(), y.get())\n     *       const newOpacity = transform(maxXY, [0, 100], [1, 0])\n     *       opacity.set(newOpacity)\n     *     }\n     *\n     *     const unsubscribeX = x.on(\"change\", updateOpacity)\n     *     const unsubscribeY = y.on(\"change\", updateOpacity)\n     *\n     *     return () => {\n     *       unsubscribeX()\n     *       unsubscribeY()\n     *     }\n     *   }, [])\n     *\n     *   return <motion.div style={{ x }} />\n     * }\n     * ```\n     *\n     * @param subscriber - A function that receives the latest value.\n     * @returns A function that, when called, will cancel this subscription.\n     *\n     * @deprecated\n     */\n    onChange(subscription) {\n        if (process.env.NODE_ENV !== \"production\") {\n            warnOnce(false, `value.onChange(callback) is deprecated. Switch to value.on(\"change\", callback).`);\n        }\n        return this.on(\"change\", subscription);\n    }\n    on(eventName, callback) {\n        if (!this.events[eventName]) {\n            this.events[eventName] = new SubscriptionManager();\n        }\n        const unsubscribe = this.events[eventName].add(callback);\n        if (eventName === \"change\") {\n            return () => {\n                unsubscribe();\n                /**\n                 * If we have no more change listeners by the start\n                 * of the next frame, stop active animations.\n                 */\n                frame.read(() => {\n                    if (!this.events.change.getSize()) {\n                        this.stop();\n                    }\n                });\n            };\n        }\n        return unsubscribe;\n    }\n    clearListeners() {\n        for (const eventManagers in this.events) {\n            this.events[eventManagers].clear();\n        }\n    }\n    /**\n     * Attaches a passive effect to the `MotionValue`.\n     *\n     * @internal\n     */\n    attach(passiveEffect, stopPassiveEffect) {\n        this.passiveEffect = passiveEffect;\n        this.stopPassiveEffect = stopPassiveEffect;\n    }\n    /**\n     * Sets the state of the `MotionValue`.\n     *\n     * @remarks\n     *\n     * ```jsx\n     * const x = useMotionValue(0)\n     * x.set(10)\n     * ```\n     *\n     * @param latest - Latest value to set.\n     * @param render - Whether to notify render subscribers. Defaults to `true`\n     *\n     * @public\n     */\n    set(v, render = true) {\n        if (!render || !this.passiveEffect) {\n            this.updateAndNotify(v, render);\n        }\n        else {\n            this.passiveEffect(v, this.updateAndNotify);\n        }\n    }\n    setWithVelocity(prev, current, delta) {\n        this.set(current);\n        this.prev = undefined;\n        this.prevFrameValue = prev;\n        this.prevUpdatedAt = this.updatedAt - delta;\n    }\n    /**\n     * Set the state of the `MotionValue`, stopping any active animations,\n     * effects, and resets velocity to `0`.\n     */\n    jump(v, endAnimation = true) {\n        this.updateAndNotify(v);\n        this.prev = v;\n        this.prevUpdatedAt = this.prevFrameValue = undefined;\n        endAnimation && this.stop();\n        if (this.stopPassiveEffect)\n            this.stopPassiveEffect();\n    }\n    /**\n     * Returns the latest state of `MotionValue`\n     *\n     * @returns - The latest state of `MotionValue`\n     *\n     * @public\n     */\n    get() {\n        if (collectMotionValues.current) {\n            collectMotionValues.current.push(this);\n        }\n        return this.current;\n    }\n    /**\n     * @public\n     */\n    getPrevious() {\n        return this.prev;\n    }\n    /**\n     * Returns the latest velocity of `MotionValue`\n     *\n     * @returns - The latest velocity of `MotionValue`. Returns `0` if the state is non-numerical.\n     *\n     * @public\n     */\n    getVelocity() {\n        const currentTime = time.now();\n        if (!this.canTrackVelocity ||\n            this.prevFrameValue === undefined ||\n            currentTime - this.updatedAt > MAX_VELOCITY_DELTA) {\n            return 0;\n        }\n        const delta = Math.min(this.updatedAt - this.prevUpdatedAt, MAX_VELOCITY_DELTA);\n        // Casts because of parseFloat's poor typing\n        return velocityPerSecond(parseFloat(this.current) -\n            parseFloat(this.prevFrameValue), delta);\n    }\n    /**\n     * Registers a new animation to control this `MotionValue`. Only one\n     * animation can drive a `MotionValue` at one time.\n     *\n     * ```jsx\n     * value.start()\n     * ```\n     *\n     * @param animation - A function that starts the provided animation\n     *\n     * @internal\n     */\n    start(startAnimation) {\n        this.stop();\n        return new Promise((resolve) => {\n            this.hasAnimated = true;\n            this.animation = startAnimation(resolve);\n            if (this.events.animationStart) {\n                this.events.animationStart.notify();\n            }\n        }).then(() => {\n            if (this.events.animationComplete) {\n                this.events.animationComplete.notify();\n            }\n            this.clearAnimation();\n        });\n    }\n    /**\n     * Stop the currently active animation.\n     *\n     * @public\n     */\n    stop() {\n        if (this.animation) {\n            this.animation.stop();\n            if (this.events.animationCancel) {\n                this.events.animationCancel.notify();\n            }\n        }\n        this.clearAnimation();\n    }\n    /**\n     * Returns `true` if this value is currently animating.\n     *\n     * @public\n     */\n    isAnimating() {\n        return !!this.animation;\n    }\n    clearAnimation() {\n        delete this.animation;\n    }\n    /**\n     * Destroy and clean up subscribers to this `MotionValue`.\n     *\n     * The `MotionValue` hooks like `useMotionValue` and `useTransform` automatically\n     * handle the lifecycle of the returned `MotionValue`, so this method is only necessary if you've manually\n     * created a `MotionValue` via the `motionValue` function.\n     *\n     * @public\n     */\n    destroy() {\n        this.clearListeners();\n        this.stop();\n        if (this.stopPassiveEffect) {\n            this.stopPassiveEffect();\n        }\n    }\n}\nfunction motionValue(init, options) {\n    return new MotionValue(init, options);\n}\n\nexport { MotionValue, collectMotionValues, motionValue };\n","import { resolveFinalValueInKeyframes } from '../../utils/resolve-value.mjs';\nimport { motionValue } from '../../value/index.mjs';\nimport { resolveVariant } from './resolve-dynamic-variants.mjs';\n\n/**\n * Set VisualElement's MotionValue, creating a new MotionValue for it if\n * it doesn't exist.\n */\nfunction setMotionValue(visualElement, key, value) {\n    if (visualElement.hasValue(key)) {\n        visualElement.getValue(key).set(value);\n    }\n    else {\n        visualElement.addValue(key, motionValue(value));\n    }\n}\nfunction setTarget(visualElement, definition) {\n    const resolved = resolveVariant(visualElement, definition);\n    let { transitionEnd = {}, transition = {}, ...target } = resolved || {};\n    target = { ...target, ...transitionEnd };\n    for (const key in target) {\n        const value = resolveFinalValueInKeyframes(target[key]);\n        setMotionValue(visualElement, key, value);\n    }\n}\n\nexport { setTarget };\n","/**\n * Convert camelCase to dash-case properties.\n */\nconst camelToDash = (str) => str.replace(/([a-z])([A-Z])/gu, \"$1-$2\").toLowerCase();\n\nexport { camelToDash };\n","import { camelToDash } from '../../render/dom/utils/camel-to-dash.mjs';\n\nconst optimizedAppearDataId = \"framerAppearId\";\nconst optimizedAppearDataAttribute = \"data-\" + camelToDash(optimizedAppearDataId);\n\nexport { optimizedAppearDataAttribute, optimizedAppearDataId };\n","import { optimizedAppearDataAttribute } from './data-id.mjs';\n\nfunction getOptimisedAppearId(visualElement) {\n    return visualElement.props[optimizedAppearDataAttribute];\n}\n\nexport { getOptimisedAppearId };\n","const isMotionValue = (value) => Boolean(value && value.getVelocity);\n\nexport { isMotionValue };\n","import { isWillChangeMotionValue } from './is.mjs';\n\nfunction addValueToWillChange(visualElement, key) {\n    const willChange = visualElement.getValue(\"willChange\");\n    /**\n     * It could be that a user has set willChange to a regular MotionValue,\n     * in which case we can't add the value to it.\n     */\n    if (isWillChangeMotionValue(willChange)) {\n        return willChange.add(key);\n    }\n}\n\nexport { addValueToWillChange };\n","import { isMotionValue } from '../utils/is-motion-value.mjs';\n\nfunction isWillChangeMotionValue(value) {\n    return Boolean(isMotionValue(value) && value.add);\n}\n\nexport { isWillChangeMotionValue };\n","import { transformProps } from '../../render/html/utils/transform.mjs';\nimport { animateMotionValue } from './motion-value.mjs';\nimport { setTarget } from '../../render/utils/setters.mjs';\nimport { getValueTransition } from '../utils/get-value-transition.mjs';\nimport { getOptimisedAppearId } from '../optimized-appear/get-appear-id.mjs';\nimport { addValueToWillChange } from '../../value/use-will-change/add-will-change.mjs';\nimport { frame } from '../../frameloop/frame.mjs';\n\n/**\n * Decide whether we should block this animation. Previously, we achieved this\n * just by checking whether the key was listed in protectedKeys, but this\n * posed problems if an animation was triggered by afterChildren and protectedKeys\n * had been set to true in the meantime.\n */\nfunction shouldBlockAnimation({ protectedKeys, needsAnimating }, key) {\n    const shouldBlock = protectedKeys.hasOwnProperty(key) && needsAnimating[key] !== true;\n    needsAnimating[key] = false;\n    return shouldBlock;\n}\nfunction animateTarget(visualElement, targetAndTransition, { delay = 0, transitionOverride, type } = {}) {\n    var _a;\n    let { transition = visualElement.getDefaultTransition(), transitionEnd, ...target } = targetAndTransition;\n    if (transitionOverride)\n        transition = transitionOverride;\n    const animations = [];\n    const animationTypeState = type &&\n        visualElement.animationState &&\n        visualElement.animationState.getState()[type];\n    for (const key in target) {\n        const value = visualElement.getValue(key, (_a = visualElement.latestValues[key]) !== null && _a !== void 0 ? _a : null);\n        const valueTarget = target[key];\n        if (valueTarget === undefined ||\n            (animationTypeState &&\n                shouldBlockAnimation(animationTypeState, key))) {\n            continue;\n        }\n        const valueTransition = {\n            delay,\n            ...getValueTransition(transition || {}, key),\n        };\n        /**\n         * If this is the first time a value is being animated, check\n         * to see if we're handling off from an existing animation.\n         */\n        let isHandoff = false;\n        if (window.MotionHandoffAnimation) {\n            const appearId = getOptimisedAppearId(visualElement);\n            if (appearId) {\n                const startTime = window.MotionHandoffAnimation(appearId, key, frame);\n                if (startTime !== null) {\n                    valueTransition.startTime = startTime;\n                    isHandoff = true;\n                }\n            }\n        }\n        addValueToWillChange(visualElement, key);\n        value.start(animateMotionValue(key, value, valueTarget, visualElement.shouldReduceMotion && transformProps.has(key)\n            ? { type: false }\n            : valueTransition, visualElement, isHandoff));\n        const animation = value.animation;\n        if (animation) {\n            animations.push(animation);\n        }\n    }\n    if (transitionEnd) {\n        Promise.all(animations).then(() => {\n            frame.update(() => {\n                transitionEnd && setTarget(visualElement, transitionEnd);\n            });\n        });\n    }\n    return animations;\n}\n\nexport { animateTarget };\n","import { isKeyframesTarget } from '../animation/utils/is-keyframes-target.mjs';\n\nconst isCustomValue = (v) => {\n    return Boolean(v && typeof v === \"object\" && v.mix && v.toValue);\n};\nconst resolveFinalValueInKeyframes = (v) => {\n    // TODO maybe throw if v.length - 1 is placeholder token?\n    return isKeyframesTarget(v) ? v[v.length - 1] || 0 : v;\n};\n\nexport { isCustomValue, resolveFinalValueInKeyframes };\n","import { resolveVariant } from '../../render/utils/resolve-dynamic-variants.mjs';\nimport { animateTarget } from './visual-element-target.mjs';\n\nfunction animateVariant(visualElement, variant, options = {}) {\n    var _a;\n    const resolved = resolveVariant(visualElement, variant, options.type === \"exit\"\n        ? (_a = visualElement.presenceContext) === null || _a === void 0 ? void 0 : _a.custom\n        : undefined);\n    let { transition = visualElement.getDefaultTransition() || {} } = resolved || {};\n    if (options.transitionOverride) {\n        transition = options.transitionOverride;\n    }\n    /**\n     * If we have a variant, create a callback that runs it as an animation.\n     * Otherwise, we resolve a Promise immediately for a composable no-op.\n     */\n    const getAnimation = resolved\n        ? () => Promise.all(animateTarget(visualElement, resolved, options))\n        : () => Promise.resolve();\n    /**\n     * If we have children, create a callback that runs all their animations.\n     * Otherwise, we resolve a Promise immediately for a composable no-op.\n     */\n    const getChildAnimations = visualElement.variantChildren && visualElement.variantChildren.size\n        ? (forwardDelay = 0) => {\n            const { delayChildren = 0, staggerChildren, staggerDirection, } = transition;\n            return animateChildren(visualElement, variant, delayChildren + forwardDelay, staggerChildren, staggerDirection, options);\n        }\n        : () => Promise.resolve();\n    /**\n     * If the transition explicitly defines a \"when\" option, we need to resolve either\n     * this animation or all children animations before playing the other.\n     */\n    const { when } = transition;\n    if (when) {\n        const [first, last] = when === \"beforeChildren\"\n            ? [getAnimation, getChildAnimations]\n            : [getChildAnimations, getAnimation];\n        return first().then(() => last());\n    }\n    else {\n        return Promise.all([getAnimation(), getChildAnimations(options.delay)]);\n    }\n}\nfunction animateChildren(visualElement, variant, delayChildren = 0, staggerChildren = 0, staggerDirection = 1, options) {\n    const animations = [];\n    const maxStaggerDuration = (visualElement.variantChildren.size - 1) * staggerChildren;\n    const generateStaggerDuration = staggerDirection === 1\n        ? (i = 0) => i * staggerChildren\n        : (i = 0) => maxStaggerDuration - i * staggerChildren;\n    Array.from(visualElement.variantChildren)\n        .sort(sortByTreeOrder)\n        .forEach((child, i) => {\n        child.notify(\"AnimationStart\", variant);\n        animations.push(animateVariant(child, variant, {\n            ...options,\n            delay: delayChildren + generateStaggerDuration(i),\n        }).then(() => child.notify(\"AnimationComplete\", variant)));\n    });\n    return Promise.all(animations);\n}\nfunction sortByTreeOrder(a, b) {\n    return a.sortNodePosition(b);\n}\n\nexport { animateVariant, sortByTreeOrder };\n","import { isVariantLabel } from './is-variant-label.mjs';\nimport { variantProps } from './variant-props.mjs';\n\nconst numVariantProps = variantProps.length;\nfunction getVariantContext(visualElement) {\n    if (!visualElement)\n        return undefined;\n    if (!visualElement.isControllingVariants) {\n        const context = visualElement.parent\n            ? getVariantContext(visualElement.parent) || {}\n            : {};\n        if (visualElement.props.initial !== undefined) {\n            context.initial = visualElement.props.initial;\n        }\n        return context;\n    }\n    const context = {};\n    for (let i = 0; i < numVariantProps; i++) {\n        const name = variantProps[i];\n        const prop = visualElement.props[name];\n        if (isVariantLabel(prop) || prop === false) {\n            context[name] = prop;\n        }\n    }\n    return context;\n}\n\nexport { getVariantContext };\n","import { isAnimationControls } from '../../animation/utils/is-animation-controls.mjs';\nimport { isKeyframesTarget } from '../../animation/utils/is-keyframes-target.mjs';\nimport { shallowCompare } from '../../utils/shallow-compare.mjs';\nimport { isVariantLabel } from './is-variant-label.mjs';\nimport { resolveVariant } from './resolve-dynamic-variants.mjs';\nimport { variantPriorityOrder } from './variant-props.mjs';\nimport { animateVisualElement } from '../../animation/interfaces/visual-element.mjs';\nimport { getVariantContext } from './get-variant-context.mjs';\n\nconst reversePriorityOrder = [...variantPriorityOrder].reverse();\nconst numAnimationTypes = variantPriorityOrder.length;\nfunction animateList(visualElement) {\n    return (animations) => Promise.all(animations.map(({ animation, options }) => animateVisualElement(visualElement, animation, options)));\n}\nfunction createAnimationState(visualElement) {\n    let animate = animateList(visualElement);\n    let state = createState();\n    let isInitialRender = true;\n    /**\n     * This function will be used to reduce the animation definitions for\n     * each active animation type into an object of resolved values for it.\n     */\n    const buildResolvedTypeValues = (type) => (acc, definition) => {\n        var _a;\n        const resolved = resolveVariant(visualElement, definition, type === \"exit\"\n            ? (_a = visualElement.presenceContext) === null || _a === void 0 ? void 0 : _a.custom\n            : undefined);\n        if (resolved) {\n            const { transition, transitionEnd, ...target } = resolved;\n            acc = { ...acc, ...target, ...transitionEnd };\n        }\n        return acc;\n    };\n    /**\n     * This just allows us to inject mocked animation functions\n     * @internal\n     */\n    function setAnimateFunction(makeAnimator) {\n        animate = makeAnimator(visualElement);\n    }\n    /**\n     * When we receive new props, we need to:\n     * 1. Create a list of protected keys for each type. This is a directory of\n     *    value keys that are currently being \"handled\" by types of a higher priority\n     *    so that whenever an animation is played of a given type, these values are\n     *    protected from being animated.\n     * 2. Determine if an animation type needs animating.\n     * 3. Determine if any values have been removed from a type and figure out\n     *    what to animate those to.\n     */\n    function animateChanges(changedActiveType) {\n        const { props } = visualElement;\n        const context = getVariantContext(visualElement.parent) || {};\n        /**\n         * A list of animations that we'll build into as we iterate through the animation\n         * types. This will get executed at the end of the function.\n         */\n        const animations = [];\n        /**\n         * Keep track of which values have been removed. Then, as we hit lower priority\n         * animation types, we can check if they contain removed values and animate to that.\n         */\n        const removedKeys = new Set();\n        /**\n         * A dictionary of all encountered keys. This is an object to let us build into and\n         * copy it without iteration. Each time we hit an animation type we set its protected\n         * keys - the keys its not allowed to animate - to the latest version of this object.\n         */\n        let encounteredKeys = {};\n        /**\n         * If a variant has been removed at a given index, and this component is controlling\n         * variant animations, we want to ensure lower-priority variants are forced to animate.\n         */\n        let removedVariantIndex = Infinity;\n        /**\n         * Iterate through all animation types in reverse priority order. For each, we want to\n         * detect which values it's handling and whether or not they've changed (and therefore\n         * need to be animated). If any values have been removed, we want to detect those in\n         * lower priority props and flag for animation.\n         */\n        for (let i = 0; i < numAnimationTypes; i++) {\n            const type = reversePriorityOrder[i];\n            const typeState = state[type];\n            const prop = props[type] !== undefined\n                ? props[type]\n                : context[type];\n            const propIsVariant = isVariantLabel(prop);\n            /**\n             * If this type has *just* changed isActive status, set activeDelta\n             * to that status. Otherwise set to null.\n             */\n            const activeDelta = type === changedActiveType ? typeState.isActive : null;\n            if (activeDelta === false)\n                removedVariantIndex = i;\n            /**\n             * If this prop is an inherited variant, rather than been set directly on the\n             * component itself, we want to make sure we allow the parent to trigger animations.\n             *\n             * TODO: Can probably change this to a !isControllingVariants check\n             */\n            let isInherited = prop === context[type] &&\n                prop !== props[type] &&\n                propIsVariant;\n            /**\n             *\n             */\n            if (isInherited &&\n                isInitialRender &&\n                visualElement.manuallyAnimateOnMount) {\n                isInherited = false;\n            }\n            /**\n             * Set all encountered keys so far as the protected keys for this type. This will\n             * be any key that has been animated or otherwise handled by active, higher-priortiy types.\n             */\n            typeState.protectedKeys = { ...encounteredKeys };\n            // Check if we can skip analysing this prop early\n            if (\n            // If it isn't active and hasn't *just* been set as inactive\n            (!typeState.isActive && activeDelta === null) ||\n                // If we didn't and don't have any defined prop for this animation type\n                (!prop && !typeState.prevProp) ||\n                // Or if the prop doesn't define an animation\n                isAnimationControls(prop) ||\n                typeof prop === \"boolean\") {\n                continue;\n            }\n            /**\n             * As we go look through the values defined on this type, if we detect\n             * a changed value or a value that was removed in a higher priority, we set\n             * this to true and add this prop to the animation list.\n             */\n            const variantDidChange = checkVariantsDidChange(typeState.prevProp, prop);\n            let shouldAnimateType = variantDidChange ||\n                // If we're making this variant active, we want to always make it active\n                (type === changedActiveType &&\n                    typeState.isActive &&\n                    !isInherited &&\n                    propIsVariant) ||\n                // If we removed a higher-priority variant (i is in reverse order)\n                (i > removedVariantIndex && propIsVariant);\n            let handledRemovedValues = false;\n            /**\n             * As animations can be set as variant lists, variants or target objects, we\n             * coerce everything to an array if it isn't one already\n             */\n            const definitionList = Array.isArray(prop) ? prop : [prop];\n            /**\n             * Build an object of all the resolved values. We'll use this in the subsequent\n             * animateChanges calls to determine whether a value has changed.\n             */\n            let resolvedValues = definitionList.reduce(buildResolvedTypeValues(type), {});\n            if (activeDelta === false)\n                resolvedValues = {};\n            /**\n             * Now we need to loop through all the keys in the prev prop and this prop,\n             * and decide:\n             * 1. If the value has changed, and needs animating\n             * 2. If it has been removed, and needs adding to the removedKeys set\n             * 3. If it has been removed in a higher priority type and needs animating\n             * 4. If it hasn't been removed in a higher priority but hasn't changed, and\n             *    needs adding to the type's protectedKeys list.\n             */\n            const { prevResolvedValues = {} } = typeState;\n            const allKeys = {\n                ...prevResolvedValues,\n                ...resolvedValues,\n            };\n            const markToAnimate = (key) => {\n                shouldAnimateType = true;\n                if (removedKeys.has(key)) {\n                    handledRemovedValues = true;\n                    removedKeys.delete(key);\n                }\n                typeState.needsAnimating[key] = true;\n                const motionValue = visualElement.getValue(key);\n                if (motionValue)\n                    motionValue.liveStyle = false;\n            };\n            for (const key in allKeys) {\n                const next = resolvedValues[key];\n                const prev = prevResolvedValues[key];\n                // If we've already handled this we can just skip ahead\n                if (encounteredKeys.hasOwnProperty(key))\n                    continue;\n                /**\n                 * If the value has changed, we probably want to animate it.\n                 */\n                let valueHasChanged = false;\n                if (isKeyframesTarget(next) && isKeyframesTarget(prev)) {\n                    valueHasChanged = !shallowCompare(next, prev);\n                }\n                else {\n                    valueHasChanged = next !== prev;\n                }\n                if (valueHasChanged) {\n                    if (next !== undefined && next !== null) {\n                        // If next is defined and doesn't equal prev, it needs animating\n                        markToAnimate(key);\n                    }\n                    else {\n                        // If it's undefined, it's been removed.\n                        removedKeys.add(key);\n                    }\n                }\n                else if (next !== undefined && removedKeys.has(key)) {\n                    /**\n                     * If next hasn't changed and it isn't undefined, we want to check if it's\n                     * been removed by a higher priority\n                     */\n                    markToAnimate(key);\n                }\n                else {\n                    /**\n                     * If it hasn't changed, we add it to the list of protected values\n                     * to ensure it doesn't get animated.\n                     */\n                    typeState.protectedKeys[key] = true;\n                }\n            }\n            /**\n             * Update the typeState so next time animateChanges is called we can compare the\n             * latest prop and resolvedValues to these.\n             */\n            typeState.prevProp = prop;\n            typeState.prevResolvedValues = resolvedValues;\n            /**\n             *\n             */\n            if (typeState.isActive) {\n                encounteredKeys = { ...encounteredKeys, ...resolvedValues };\n            }\n            if (isInitialRender && visualElement.blockInitialAnimation) {\n                shouldAnimateType = false;\n            }\n            /**\n             * If this is an inherited prop we want to skip this animation\n             * unless the inherited variants haven't changed on this render.\n             */\n            const willAnimateViaParent = isInherited && variantDidChange;\n            const needsAnimating = !willAnimateViaParent || handledRemovedValues;\n            if (shouldAnimateType && needsAnimating) {\n                animations.push(...definitionList.map((animation) => ({\n                    animation: animation,\n                    options: { type },\n                })));\n            }\n        }\n        /**\n         * If there are some removed value that haven't been dealt with,\n         * we need to create a new animation that falls back either to the value\n         * defined in the style prop, or the last read value.\n         */\n        if (removedKeys.size) {\n            const fallbackAnimation = {};\n            removedKeys.forEach((key) => {\n                const fallbackTarget = visualElement.getBaseTarget(key);\n                const motionValue = visualElement.getValue(key);\n                if (motionValue)\n                    motionValue.liveStyle = true;\n                // @ts-expect-error - @mattgperry to figure if we should do something here\n                fallbackAnimation[key] = fallbackTarget !== null && fallbackTarget !== void 0 ? fallbackTarget : null;\n            });\n            animations.push({ animation: fallbackAnimation });\n        }\n        let shouldAnimate = Boolean(animations.length);\n        if (isInitialRender &&\n            (props.initial === false || props.initial === props.animate) &&\n            !visualElement.manuallyAnimateOnMount) {\n            shouldAnimate = false;\n        }\n        isInitialRender = false;\n        return shouldAnimate ? animate(animations) : Promise.resolve();\n    }\n    /**\n     * Change whether a certain animation type is active.\n     */\n    function setActive(type, isActive) {\n        var _a;\n        // If the active state hasn't changed, we can safely do nothing here\n        if (state[type].isActive === isActive)\n            return Promise.resolve();\n        // Propagate active change to children\n        (_a = visualElement.variantChildren) === null || _a === void 0 ? void 0 : _a.forEach((child) => { var _a; return (_a = child.animationState) === null || _a === void 0 ? void 0 : _a.setActive(type, isActive); });\n        state[type].isActive = isActive;\n        const animations = animateChanges(type);\n        for (const key in state) {\n            state[key].protectedKeys = {};\n        }\n        return animations;\n    }\n    return {\n        animateChanges,\n        setActive,\n        setAnimateFunction,\n        getState: () => state,\n        reset: () => {\n            state = createState();\n            isInitialRender = true;\n        },\n    };\n}\nfunction checkVariantsDidChange(prev, next) {\n    if (typeof next === \"string\") {\n        return next !== prev;\n    }\n    else if (Array.isArray(next)) {\n        return !shallowCompare(next, prev);\n    }\n    return false;\n}\nfunction createTypeState(isActive = false) {\n    return {\n        isActive,\n        protectedKeys: {},\n        needsAnimating: {},\n        prevResolvedValues: {},\n    };\n}\nfunction createState() {\n    return {\n        animate: createTypeState(true),\n        whileInView: createTypeState(),\n        whileHover: createTypeState(),\n        whileTap: createTypeState(),\n        whileDrag: createTypeState(),\n        whileFocus: createTypeState(),\n        exit: createTypeState(),\n    };\n}\n\nexport { checkVariantsDidChange, createAnimationState };\n","import { resolveVariant } from '../../render/utils/resolve-dynamic-variants.mjs';\nimport { animateTarget } from './visual-element-target.mjs';\nimport { animateVariant } from './visual-element-variant.mjs';\n\nfunction animateVisualElement(visualElement, definition, options = {}) {\n    visualElement.notify(\"AnimationStart\", definition);\n    let animation;\n    if (Array.isArray(definition)) {\n        const animations = definition.map((variant) => animateVariant(visualElement, variant, options));\n        animation = Promise.all(animations);\n    }\n    else if (typeof definition === \"string\") {\n        animation = animateVariant(visualElement, definition, options);\n    }\n    else {\n        const resolvedDefinition = typeof definition === \"function\"\n            ? resolveVariant(visualElement, definition, options.custom)\n            : definition;\n        animation = Promise.all(animateTarget(visualElement, resolvedDefinition, options));\n    }\n    return animation.then(() => {\n        visualElement.notify(\"AnimationComplete\", definition);\n    });\n}\n\nexport { animateVisualElement };\n","class Feature {\n    constructor(node) {\n        this.isMounted = false;\n        this.node = node;\n    }\n    update() { }\n}\n\nexport { Feature };\n","import { Feature } from '../Feature.mjs';\n\nlet id = 0;\nclass ExitAnimationFeature extends Feature {\n    constructor() {\n        super(...arguments);\n        this.id = id++;\n    }\n    update() {\n        if (!this.node.presenceContext)\n            return;\n        const { isPresent, onExitComplete } = this.node.presenceContext;\n        const { isPresent: prevIsPresent } = this.node.prevPresenceContext || {};\n        if (!this.node.animationState || isPresent === prevIsPresent) {\n            return;\n        }\n        const exitAnimation = this.node.animationState.setActive(\"exit\", !isPresent);\n        if (onExitComplete && !isPresent) {\n            exitAnimation.then(() => onExitComplete(this.id));\n        }\n    }\n    mount() {\n        const { register } = this.node.presenceContext || {};\n        if (register) {\n            this.unmount = register(this.id);\n        }\n    }\n    unmount() { }\n}\n\nexport { ExitAnimationFeature };\n","import { AnimationFeature } from './animation/index.mjs';\nimport { ExitAnimationFeature } from './animation/exit.mjs';\n\nconst animations = {\n    animation: {\n        Feature: AnimationFeature,\n    },\n    exit: {\n        Feature: ExitAnimationFeature,\n    },\n};\n\nexport { animations };\n","import { isAnimationControls } from '../../../animation/utils/is-animation-controls.mjs';\nimport { createAnimationState } from '../../../render/utils/animation-state.mjs';\nimport { Feature } from '../Feature.mjs';\n\nclass AnimationFeature extends Feature {\n    /**\n     * We dynamically generate the AnimationState manager as it contains a reference\n     * to the underlying animation library. We only want to load that if we load this,\n     * so people can optionally code split it out using the `m` component.\n     */\n    constructor(node) {\n        super(node);\n        node.animationState || (node.animationState = createAnimationState(node));\n    }\n    updateAnimationControlsSubscription() {\n        const { animate } = this.node.getProps();\n        if (isAnimationControls(animate)) {\n            this.unmountControls = animate.subscribe(this.node);\n        }\n    }\n    /**\n     * Subscribe any provided AnimationControls to the component's VisualElement\n     */\n    mount() {\n        this.updateAnimationControlsSubscription();\n    }\n    update() {\n        const { animate } = this.node.getProps();\n        const { animate: prevAnimate } = this.node.prevProps || {};\n        if (animate !== prevAnimate) {\n            this.updateAnimationControlsSubscription();\n        }\n    }\n    unmount() {\n        var _a;\n        this.node.animationState.reset();\n        (_a = this.unmountControls) === null || _a === void 0 ? void 0 : _a.call(this);\n    }\n}\n\nexport { AnimationFeature };\n","const isDragging = {\n    x: false,\n    y: false,\n};\nfunction isDragActive() {\n    return isDragging.x || isDragging.y;\n}\n\nexport { isDragActive, isDragging };\n","import { resolveElements } from '../../utils/resolve-elements.mjs';\n\nfunction setupGesture(elementOrSelector, options) {\n    const elements = resolveElements(elementOrSelector);\n    const gestureAbortController = new AbortController();\n    const eventOptions = {\n        passive: true,\n        ...options,\n        signal: gestureAbortController.signal,\n    };\n    const cancel = () => gestureAbortController.abort();\n    return [elements, eventOptions, cancel];\n}\n\nexport { setupGesture };\n","function resolveElements(elementOrSelector, scope, selectorCache) {\n    var _a;\n    if (elementOrSelector instanceof Element) {\n        return [elementOrSelector];\n    }\n    else if (typeof elementOrSelector === \"string\") {\n        let root = document;\n        if (scope) {\n            // TODO: Refactor to utils package\n            // invariant(\n            //     Boolean(scope.current),\n            //     \"Scope provided, but no element detected.\"\n            // )\n            root = scope.current;\n        }\n        const elements = (_a = selectorCache === null || selectorCache === void 0 ? void 0 : selectorCache[elementOrSelector]) !== null && _a !== void 0 ? _a : root.querySelectorAll(elementOrSelector);\n        return elements ? Array.from(elements) : [];\n    }\n    return Array.from(elementOrSelector);\n}\n\nexport { resolveElements };\n","import { isDragActive } from './drag/state/is-active.mjs';\nimport { setupGesture } from './utils/setup.mjs';\n\n/**\n * Filter out events that are not pointer events, or are triggering\n * while a Motion gesture is active.\n */\nfunction filterEvents(callback) {\n    return (event) => {\n        if (event.pointerType === \"touch\" || isDragActive())\n            return;\n        callback(event);\n    };\n}\n/**\n * Create a hover gesture. hover() is different to .addEventListener(\"pointerenter\")\n * in that it has an easier syntax, filters out polyfilled touch events, interoperates\n * with drag gestures, and automatically removes the \"pointerennd\" event listener when the hover ends.\n *\n * @public\n */\nfunction hover(elementOrSelector, onHoverStart, options = {}) {\n    const [elements, eventOptions, cancel] = setupGesture(elementOrSelector, options);\n    const onPointerEnter = filterEvents((enterEvent) => {\n        const { target } = enterEvent;\n        const onHoverEnd = onHoverStart(enterEvent);\n        if (!onHoverEnd || !target)\n            return;\n        const onPointerLeave = filterEvents((leaveEvent) => {\n            onHoverEnd(leaveEvent);\n            target.removeEventListener(\"pointerleave\", onPointerLeave);\n        });\n        target.addEventListener(\"pointerleave\", onPointerLeave, eventOptions);\n    });\n    elements.forEach((element) => {\n        element.addEventListener(\"pointerenter\", onPointerEnter, eventOptions);\n    });\n    return cancel;\n}\n\nexport { hover };\n","const isPrimaryPointer = (event) => {\n    if (event.pointerType === \"mouse\") {\n        return typeof event.button !== \"number\" || event.button <= 0;\n    }\n    else {\n        /**\n         * isPrimary is true for all mice buttons, whereas every touch point\n         * is regarded as its own input. So subsequent concurrent touch points\n         * will be false.\n         *\n         * Specifically match against false here as incomplete versions of\n         * PointerEvents in very old browser might have it set as undefined.\n         */\n        return event.isPrimary !== false;\n    }\n};\n\nexport { isPrimaryPointer };\n","const isPressing = new WeakSet();\n\nexport { isPressing };\n","import { isPressing } from './state.mjs';\n\n/**\n * Filter out events that are not \"Enter\" keys.\n */\nfunction filterEvents(callback) {\n    return (event) => {\n        if (event.key !== \"Enter\")\n            return;\n        callback(event);\n    };\n}\nfunction firePointerEvent(target, type) {\n    target.dispatchEvent(new PointerEvent(\"pointer\" + type, { isPrimary: true, bubbles: true }));\n}\nconst enableKeyboardPress = (focusEvent, eventOptions) => {\n    const element = focusEvent.currentTarget;\n    if (!element)\n        return;\n    const handleKeydown = filterEvents(() => {\n        if (isPressing.has(element))\n            return;\n        firePointerEvent(element, \"down\");\n        const handleKeyup = filterEvents(() => {\n            firePointerEvent(element, \"up\");\n        });\n        const handleBlur = () => firePointerEvent(element, \"cancel\");\n        element.addEventListener(\"keyup\", handleKeyup, eventOptions);\n        element.addEventListener(\"blur\", handleBlur, eventOptions);\n    });\n    element.addEventListener(\"keydown\", handleKeydown, eventOptions);\n    /**\n     * Add an event listener that fires on blur to remove the keydown events.\n     */\n    element.addEventListener(\"blur\", () => element.removeEventListener(\"keydown\", handleKeydown), eventOptions);\n};\n\nexport { enableKeyboardPress };\n","const focusableElements = new Set([\n    \"BUTTON\",\n    \"INPUT\",\n    \"SELECT\",\n    \"TEXTAREA\",\n    \"A\",\n]);\nfunction isElementKeyboardAccessible(element) {\n    return focusableElements.has(element.tagName) || element.tabIndex !== -1;\n}\n\nexport { isElementKeyboardAccessible };\n","/**\n * Recursively traverse up the tree to check whether the provided child node\n * is the parent or a descendant of it.\n *\n * @param parent - Element to find\n * @param child - Element to test against parent\n */\nconst isNodeOrChild = (parent, child) => {\n    if (!child) {\n        return false;\n    }\n    else if (parent === child) {\n        return true;\n    }\n    else {\n        return isNodeOrChild(parent, child.parentElement);\n    }\n};\n\nexport { isNodeOrChild };\n","import { isDragActive } from '../drag/state/is-active.mjs';\nimport { isPrimaryPointer } from '../utils/is-primary-pointer.mjs';\nimport { setupGesture } from '../utils/setup.mjs';\nimport { enableKeyboardPress } from './utils/keyboard.mjs';\nimport { isElementKeyboardAccessible } from './utils/is-keyboard-accessible.mjs';\nimport { isNodeOrChild } from '../utils/is-node-or-child.mjs';\nimport { isPressing } from './utils/state.mjs';\n\n/**\n * Filter out events that are not primary pointer events, or are triggering\n * while a Motion gesture is active.\n */\nfunction isValidPressEvent(event) {\n    return isPrimaryPointer(event) && !isDragActive();\n}\n/**\n * Create a press gesture.\n *\n * Press is different to `\"pointerdown\"`, `\"pointerup\"` in that it\n * automatically filters out secondary pointer events like right\n * click and multitouch.\n *\n * It also adds accessibility support for keyboards, where\n * an element with a press gesture will receive focus and\n *  trigger on Enter `\"keydown\"` and `\"keyup\"` events.\n *\n * This is different to a browser's `\"click\"` event, which does\n * respond to keyboards but only for the `\"click\"` itself, rather\n * than the press start and end/cancel. The element also needs\n * to be focusable for this to work, whereas a press gesture will\n * make an element focusable by default.\n *\n * @public\n */\nfunction press(elementOrSelector, onPressStart, options = {}) {\n    const [elements, eventOptions, cancelEvents] = setupGesture(elementOrSelector, options);\n    const startPress = (startEvent) => {\n        const element = startEvent.currentTarget;\n        if (!isValidPressEvent(startEvent) || isPressing.has(element))\n            return;\n        isPressing.add(element);\n        const onPressEnd = onPressStart(startEvent);\n        const onPointerEnd = (endEvent, success) => {\n            window.removeEventListener(\"pointerup\", onPointerUp);\n            window.removeEventListener(\"pointercancel\", onPointerCancel);\n            if (!isValidPressEvent(endEvent) || !isPressing.has(element)) {\n                return;\n            }\n            isPressing.delete(element);\n            if (onPressEnd) {\n                onPressEnd(endEvent, { success });\n            }\n        };\n        const onPointerUp = (upEvent) => {\n            onPointerEnd(upEvent, options.useGlobalTarget ||\n                isNodeOrChild(element, upEvent.target));\n        };\n        const onPointerCancel = (cancelEvent) => {\n            onPointerEnd(cancelEvent, false);\n        };\n        window.addEventListener(\"pointerup\", onPointerUp, eventOptions);\n        window.addEventListener(\"pointercancel\", onPointerCancel, eventOptions);\n    };\n    elements.forEach((element) => {\n        if (!isElementKeyboardAccessible(element)) {\n            element.tabIndex = 0;\n        }\n        const target = options.useGlobalTarget ? window : element;\n        target.addEventListener(\"pointerdown\", startPress, eventOptions);\n        element.addEventListener(\"focus\", (event) => enableKeyboardPress(event, eventOptions), eventOptions);\n    });\n    return cancelEvents;\n}\n\nexport { press };\n","import { isPrimaryPointer } from 'motion-dom';\n\nfunction extractEventInfo(event) {\n    return {\n        point: {\n            x: event.pageX,\n            y: event.pageY,\n        },\n    };\n}\nconst addPointerInfo = (handler) => {\n    return (event) => isPrimaryPointer(event) && handler(event, extractEventInfo(event));\n};\n\nexport { addPointerInfo, extractEventInfo };\n","function addDomEvent(target, eventName, handler, options = { passive: true }) {\n    target.addEventListener(eventName, handler, options);\n    return () => target.removeEventListener(eventName, handler);\n}\n\nexport { addDomEvent };\n","import { addDomEvent } from './add-dom-event.mjs';\nimport { addPointerInfo } from './event-info.mjs';\n\nfunction addPointerEvent(target, eventName, handler, options) {\n    return addDomEvent(target, eventName, addPointerInfo(handler), options);\n}\n\nexport { addPointerEvent };\n","const distance = (a, b) => Math.abs(a - b);\nfunction distance2D(a, b) {\n    // Multi-dimensional\n    const xDelta = distance(a.x, b.x);\n    const yDelta = distance(a.y, b.y);\n    return Math.sqrt(xDelta ** 2 + yDelta ** 2);\n}\n\nexport { distance, distance2D };\n","import { extractEventInfo } from '../../events/event-info.mjs';\nimport { secondsToMilliseconds, millisecondsToSeconds } from '../../utils/time-conversion.mjs';\nimport { addPointerEvent } from '../../events/add-pointer-event.mjs';\nimport { pipe } from '../../utils/pipe.mjs';\nimport { distance2D } from '../../utils/distance.mjs';\nimport { isPrimaryPointer } from 'motion-dom';\nimport { frame, cancelFrame, frameData } from '../../frameloop/frame.mjs';\n\n/**\n * @internal\n */\nclass PanSession {\n    constructor(event, handlers, { transformPagePoint, contextWindow, dragSnapToOrigin = false, } = {}) {\n        /**\n         * @internal\n         */\n        this.startEvent = null;\n        /**\n         * @internal\n         */\n        this.lastMoveEvent = null;\n        /**\n         * @internal\n         */\n        this.lastMoveEventInfo = null;\n        /**\n         * @internal\n         */\n        this.handlers = {};\n        /**\n         * @internal\n         */\n        this.contextWindow = window;\n        this.updatePoint = () => {\n            if (!(this.lastMoveEvent && this.lastMoveEventInfo))\n                return;\n            const info = getPanInfo(this.lastMoveEventInfo, this.history);\n            const isPanStarted = this.startEvent !== null;\n            // Only start panning if the offset is larger than 3 pixels. If we make it\n            // any larger than this we'll want to reset the pointer history\n            // on the first update to avoid visual snapping to the cursoe.\n            const isDistancePastThreshold = distance2D(info.offset, { x: 0, y: 0 }) >= 3;\n            if (!isPanStarted && !isDistancePastThreshold)\n                return;\n            const { point } = info;\n            const { timestamp } = frameData;\n            this.history.push({ ...point, timestamp });\n            const { onStart, onMove } = this.handlers;\n            if (!isPanStarted) {\n                onStart && onStart(this.lastMoveEvent, info);\n                this.startEvent = this.lastMoveEvent;\n            }\n            onMove && onMove(this.lastMoveEvent, info);\n        };\n        this.handlePointerMove = (event, info) => {\n            this.lastMoveEvent = event;\n            this.lastMoveEventInfo = transformPoint(info, this.transformPagePoint);\n            // Throttle mouse move event to once per frame\n            frame.update(this.updatePoint, true);\n        };\n        this.handlePointerUp = (event, info) => {\n            this.end();\n            const { onEnd, onSessionEnd, resumeAnimation } = this.handlers;\n            if (this.dragSnapToOrigin)\n                resumeAnimation && resumeAnimation();\n            if (!(this.lastMoveEvent && this.lastMoveEventInfo))\n                return;\n            const panInfo = getPanInfo(event.type === \"pointercancel\"\n                ? this.lastMoveEventInfo\n                : transformPoint(info, this.transformPagePoint), this.history);\n            if (this.startEvent && onEnd) {\n                onEnd(event, panInfo);\n            }\n            onSessionEnd && onSessionEnd(event, panInfo);\n        };\n        // If we have more than one touch, don't start detecting this gesture\n        if (!isPrimaryPointer(event))\n            return;\n        this.dragSnapToOrigin = dragSnapToOrigin;\n        this.handlers = handlers;\n        this.transformPagePoint = transformPagePoint;\n        this.contextWindow = contextWindow || window;\n        const info = extractEventInfo(event);\n        const initialInfo = transformPoint(info, this.transformPagePoint);\n        const { point } = initialInfo;\n        const { timestamp } = frameData;\n        this.history = [{ ...point, timestamp }];\n        const { onSessionStart } = handlers;\n        onSessionStart &&\n            onSessionStart(event, getPanInfo(initialInfo, this.history));\n        this.removeListeners = pipe(addPointerEvent(this.contextWindow, \"pointermove\", this.handlePointerMove), addPointerEvent(this.contextWindow, \"pointerup\", this.handlePointerUp), addPointerEvent(this.contextWindow, \"pointercancel\", this.handlePointerUp));\n    }\n    updateHandlers(handlers) {\n        this.handlers = handlers;\n    }\n    end() {\n        this.removeListeners && this.removeListeners();\n        cancelFrame(this.updatePoint);\n    }\n}\nfunction transformPoint(info, transformPagePoint) {\n    return transformPagePoint ? { point: transformPagePoint(info.point) } : info;\n}\nfunction subtractPoint(a, b) {\n    return { x: a.x - b.x, y: a.y - b.y };\n}\nfunction getPanInfo({ point }, history) {\n    return {\n        point,\n        delta: subtractPoint(point, lastDevicePoint(history)),\n        offset: subtractPoint(point, startDevicePoint(history)),\n        velocity: getVelocity(history, 0.1),\n    };\n}\nfunction startDevicePoint(history) {\n    return history[0];\n}\nfunction lastDevicePoint(history) {\n    return history[history.length - 1];\n}\nfunction getVelocity(history, timeDelta) {\n    if (history.length < 2) {\n        return { x: 0, y: 0 };\n    }\n    let i = history.length - 1;\n    let timestampedPoint = null;\n    const lastPoint = lastDevicePoint(history);\n    while (i >= 0) {\n        timestampedPoint = history[i];\n        if (lastPoint.timestamp - timestampedPoint.timestamp >\n            secondsToMilliseconds(timeDelta)) {\n            break;\n        }\n        i--;\n    }\n    if (!timestampedPoint) {\n        return { x: 0, y: 0 };\n    }\n    const time = millisecondsToSeconds(lastPoint.timestamp - timestampedPoint.timestamp);\n    if (time === 0) {\n        return { x: 0, y: 0 };\n    }\n    const currentVelocity = {\n        x: (lastPoint.x - timestampedPoint.x) / time,\n        y: (lastPoint.y - timestampedPoint.y) / time,\n    };\n    if (currentVelocity.x === Infinity) {\n        currentVelocity.x = 0;\n    }\n    if (currentVelocity.y === Infinity) {\n        currentVelocity.y = 0;\n    }\n    return currentVelocity;\n}\n\nexport { PanSession };\n","function isRefObject(ref) {\n    return (ref &&\n        typeof ref === \"object\" &&\n        Object.prototype.hasOwnProperty.call(ref, \"current\"));\n}\n\nexport { isRefObject };\n","import { mixNumber } from '../../utils/mix/number.mjs';\n\nconst SCALE_PRECISION = 0.0001;\nconst SCALE_MIN = 1 - SCALE_PRECISION;\nconst SCALE_MAX = 1 + SCALE_PRECISION;\nconst TRANSLATE_PRECISION = 0.01;\nconst TRANSLATE_MIN = 0 - TRANSLATE_PRECISION;\nconst TRANSLATE_MAX = 0 + TRANSLATE_PRECISION;\nfunction calcLength(axis) {\n    return axis.max - axis.min;\n}\nfunction isNear(value, target, maxDistance) {\n    return Math.abs(value - target) <= maxDistance;\n}\nfunction calcAxisDelta(delta, source, target, origin = 0.5) {\n    delta.origin = origin;\n    delta.originPoint = mixNumber(source.min, source.max, delta.origin);\n    delta.scale = calcLength(target) / calcLength(source);\n    delta.translate =\n        mixNumber(target.min, target.max, delta.origin) - delta.originPoint;\n    if ((delta.scale >= SCALE_MIN && delta.scale <= SCALE_MAX) ||\n        isNaN(delta.scale)) {\n        delta.scale = 1.0;\n    }\n    if ((delta.translate >= TRANSLATE_MIN &&\n        delta.translate <= TRANSLATE_MAX) ||\n        isNaN(delta.translate)) {\n        delta.translate = 0.0;\n    }\n}\nfunction calcBoxDelta(delta, source, target, origin) {\n    calcAxisDelta(delta.x, source.x, target.x, origin ? origin.originX : undefined);\n    calcAxisDelta(delta.y, source.y, target.y, origin ? origin.originY : undefined);\n}\nfunction calcRelativeAxis(target, relative, parent) {\n    target.min = parent.min + relative.min;\n    target.max = target.min + calcLength(relative);\n}\nfunction calcRelativeBox(target, relative, parent) {\n    calcRelativeAxis(target.x, relative.x, parent.x);\n    calcRelativeAxis(target.y, relative.y, parent.y);\n}\nfunction calcRelativeAxisPosition(target, layout, parent) {\n    target.min = layout.min - parent.min;\n    target.max = target.min + calcLength(layout);\n}\nfunction calcRelativePosition(target, layout, parent) {\n    calcRelativeAxisPosition(target.x, layout.x, parent.x);\n    calcRelativeAxisPosition(target.y, layout.y, parent.y);\n}\n\nexport { calcAxisDelta, calcBoxDelta, calcLength, calcRelativeAxis, calcRelativeAxisPosition, calcRelativeBox, calcRelativePosition, isNear };\n","import { progress } from '../../../utils/progress.mjs';\nimport { calcLength } from '../../../projection/geometry/delta-calc.mjs';\nimport { clamp } from '../../../utils/clamp.mjs';\nimport { mixNumber } from '../../../utils/mix/number.mjs';\n\n/**\n * Apply constraints to a point. These constraints are both physical along an\n * axis, and an elastic factor that determines how much to constrain the point\n * by if it does lie outside the defined parameters.\n */\nfunction applyConstraints(point, { min, max }, elastic) {\n    if (min !== undefined && point < min) {\n        // If we have a min point defined, and this is outside of that, constrain\n        point = elastic\n            ? mixNumber(min, point, elastic.min)\n            : Math.max(point, min);\n    }\n    else if (max !== undefined && point > max) {\n        // If we have a max point defined, and this is outside of that, constrain\n        point = elastic\n            ? mixNumber(max, point, elastic.max)\n            : Math.min(point, max);\n    }\n    return point;\n}\n/**\n * Calculate constraints in terms of the viewport when defined relatively to the\n * measured axis. This is measured from the nearest edge, so a max constraint of 200\n * on an axis with a max value of 300 would return a constraint of 500 - axis length\n */\nfunction calcRelativeAxisConstraints(axis, min, max) {\n    return {\n        min: min !== undefined ? axis.min + min : undefined,\n        max: max !== undefined\n            ? axis.max + max - (axis.max - axis.min)\n            : undefined,\n    };\n}\n/**\n * Calculate constraints in terms of the viewport when\n * defined relatively to the measured bounding box.\n */\nfunction calcRelativeConstraints(layoutBox, { top, left, bottom, right }) {\n    return {\n        x: calcRelativeAxisConstraints(layoutBox.x, left, right),\n        y: calcRelativeAxisConstraints(layoutBox.y, top, bottom),\n    };\n}\n/**\n * Calculate viewport constraints when defined as another viewport-relative axis\n */\nfunction calcViewportAxisConstraints(layoutAxis, constraintsAxis) {\n    let min = constraintsAxis.min - layoutAxis.min;\n    let max = constraintsAxis.max - layoutAxis.max;\n    // If the constraints axis is actually smaller than the layout axis then we can\n    // flip the constraints\n    if (constraintsAxis.max - constraintsAxis.min <\n        layoutAxis.max - layoutAxis.min) {\n        [min, max] = [max, min];\n    }\n    return { min, max };\n}\n/**\n * Calculate viewport constraints when defined as another viewport-relative box\n */\nfunction calcViewportConstraints(layoutBox, constraintsBox) {\n    return {\n        x: calcViewportAxisConstraints(layoutBox.x, constraintsBox.x),\n        y: calcViewportAxisConstraints(layoutBox.y, constraintsBox.y),\n    };\n}\n/**\n * Calculate a transform origin relative to the source axis, between 0-1, that results\n * in an asthetically pleasing scale/transform needed to project from source to target.\n */\nfunction calcOrigin(source, target) {\n    let origin = 0.5;\n    const sourceLength = calcLength(source);\n    const targetLength = calcLength(target);\n    if (targetLength > sourceLength) {\n        origin = progress(target.min, target.max - sourceLength, source.min);\n    }\n    else if (sourceLength > targetLength) {\n        origin = progress(source.min, source.max - targetLength, target.min);\n    }\n    return clamp(0, 1, origin);\n}\n/**\n * Rebase the calculated viewport constraints relative to the layout.min point.\n */\nfunction rebaseAxisConstraints(layout, constraints) {\n    const relativeConstraints = {};\n    if (constraints.min !== undefined) {\n        relativeConstraints.min = constraints.min - layout.min;\n    }\n    if (constraints.max !== undefined) {\n        relativeConstraints.max = constraints.max - layout.min;\n    }\n    return relativeConstraints;\n}\nconst defaultElastic = 0.35;\n/**\n * Accepts a dragElastic prop and returns resolved elastic values for each axis.\n */\nfunction resolveDragElastic(dragElastic = defaultElastic) {\n    if (dragElastic === false) {\n        dragElastic = 0;\n    }\n    else if (dragElastic === true) {\n        dragElastic = defaultElastic;\n    }\n    return {\n        x: resolveAxisElastic(dragElastic, \"left\", \"right\"),\n        y: resolveAxisElastic(dragElastic, \"top\", \"bottom\"),\n    };\n}\nfunction resolveAxisElastic(dragElastic, minLabel, maxLabel) {\n    return {\n        min: resolvePointElastic(dragElastic, minLabel),\n        max: resolvePointElastic(dragElastic, maxLabel),\n    };\n}\nfunction resolvePointElastic(dragElastic, label) {\n    return typeof dragElastic === \"number\"\n        ? dragElastic\n        : dragElastic[label] || 0;\n}\n\nexport { applyConstraints, calcOrigin, calcRelativeAxisConstraints, calcRelativeConstraints, calcViewportAxisConstraints, calcViewportConstraints, defaultElastic, rebaseAxisConstraints, resolveAxisElastic, resolveDragElastic, resolvePointElastic };\n","const createAxisDelta = () => ({\n    translate: 0,\n    scale: 1,\n    origin: 0,\n    originPoint: 0,\n});\nconst createDelta = () => ({\n    x: createAxisDelta(),\n    y: createAxisDelta(),\n});\nconst createAxis = () => ({ min: 0, max: 0 });\nconst createBox = () => ({\n    x: createAxis(),\n    y: createAxis(),\n});\n\nexport { createAxis, createAxisDelta, createBox, createDelta };\n","function eachAxis(callback) {\n    return [callback(\"x\"), callback(\"y\")];\n}\n\nexport { eachAxis };\n","/**\n * Bounding boxes tend to be defined as top, left, right, bottom. For various operations\n * it's easier to consider each axis individually. This function returns a bounding box\n * as a map of single-axis min/max values.\n */\nfunction convertBoundingBoxToBox({ top, left, right, bottom, }) {\n    return {\n        x: { min: left, max: right },\n        y: { min: top, max: bottom },\n    };\n}\nfunction convertBoxToBoundingBox({ x, y }) {\n    return { top: y.min, right: x.max, bottom: y.max, left: x.min };\n}\n/**\n * Applies a TransformPoint function to a bounding box. TransformPoint is usually a function\n * provided by Framer to allow measured points to be corrected for device scaling. This is used\n * when measuring DOM elements and DOM event points.\n */\nfunction transformBoxPoints(point, transformPoint) {\n    if (!transformPoint)\n        return point;\n    const topLeft = transformPoint({ x: point.left, y: point.top });\n    const bottomRight = transformPoint({ x: point.right, y: point.bottom });\n    return {\n        top: topLeft.y,\n        left: topLeft.x,\n        bottom: bottomRight.y,\n        right: bottomRight.x,\n    };\n}\n\nexport { convertBoundingBoxToBox, convertBoxToBoundingBox, transformBoxPoints };\n","function isIdentityScale(scale) {\n    return scale === undefined || scale === 1;\n}\nfunction hasScale({ scale, scaleX, scaleY }) {\n    return (!isIdentityScale(scale) ||\n        !isIdentityScale(scaleX) ||\n        !isIdentityScale(scaleY));\n}\nfunction hasTransform(values) {\n    return (hasScale(values) ||\n        has2DTranslate(values) ||\n        values.z ||\n        values.rotate ||\n        values.rotateX ||\n        values.rotateY ||\n        values.skewX ||\n        values.skewY);\n}\nfunction has2DTranslate(values) {\n    return is2DTranslate(values.x) || is2DTranslate(values.y);\n}\nfunction is2DTranslate(value) {\n    return value && value !== \"0%\";\n}\n\nexport { has2DTranslate, hasScale, hasTransform };\n","import { mixNumber } from '../../utils/mix/number.mjs';\nimport { hasTransform } from '../utils/has-transform.mjs';\n\n/**\n * Scales a point based on a factor and an originPoint\n */\nfunction scalePoint(point, scale, originPoint) {\n    const distanceFromOrigin = point - originPoint;\n    const scaled = scale * distanceFromOrigin;\n    return originPoint + scaled;\n}\n/**\n * Applies a translate/scale delta to a point\n */\nfunction applyPointDelta(point, translate, scale, originPoint, boxScale) {\n    if (boxScale !== undefined) {\n        point = scalePoint(point, boxScale, originPoint);\n    }\n    return scalePoint(point, scale, originPoint) + translate;\n}\n/**\n * Applies a translate/scale delta to an axis\n */\nfunction applyAxisDelta(axis, translate = 0, scale = 1, originPoint, boxScale) {\n    axis.min = applyPointDelta(axis.min, translate, scale, originPoint, boxScale);\n    axis.max = applyPointDelta(axis.max, translate, scale, originPoint, boxScale);\n}\n/**\n * Applies a translate/scale delta to a box\n */\nfunction applyBoxDelta(box, { x, y }) {\n    applyAxisDelta(box.x, x.translate, x.scale, x.originPoint);\n    applyAxisDelta(box.y, y.translate, y.scale, y.originPoint);\n}\nconst TREE_SCALE_SNAP_MIN = 0.999999999999;\nconst TREE_SCALE_SNAP_MAX = 1.0000000000001;\n/**\n * Apply a tree of deltas to a box. We do this to calculate the effect of all the transforms\n * in a tree upon our box before then calculating how to project it into our desired viewport-relative box\n *\n * This is the final nested loop within updateLayoutDelta for future refactoring\n */\nfunction applyTreeDeltas(box, treeScale, treePath, isSharedTransition = false) {\n    const treeLength = treePath.length;\n    if (!treeLength)\n        return;\n    // Reset the treeScale\n    treeScale.x = treeScale.y = 1;\n    let node;\n    let delta;\n    for (let i = 0; i < treeLength; i++) {\n        node = treePath[i];\n        delta = node.projectionDelta;\n        /**\n         * TODO: Prefer to remove this, but currently we have motion components with\n         * display: contents in Framer.\n         */\n        const { visualElement } = node.options;\n        if (visualElement &&\n            visualElement.props.style &&\n            visualElement.props.style.display === \"contents\") {\n            continue;\n        }\n        if (isSharedTransition &&\n            node.options.layoutScroll &&\n            node.scroll &&\n            node !== node.root) {\n            transformBox(box, {\n                x: -node.scroll.offset.x,\n                y: -node.scroll.offset.y,\n            });\n        }\n        if (delta) {\n            // Incoporate each ancestor's scale into a culmulative treeScale for this component\n            treeScale.x *= delta.x.scale;\n            treeScale.y *= delta.y.scale;\n            // Apply each ancestor's calculated delta into this component's recorded layout box\n            applyBoxDelta(box, delta);\n        }\n        if (isSharedTransition && hasTransform(node.latestValues)) {\n            transformBox(box, node.latestValues);\n        }\n    }\n    /**\n     * Snap tree scale back to 1 if it's within a non-perceivable threshold.\n     * This will help reduce useless scales getting rendered.\n     */\n    if (treeScale.x < TREE_SCALE_SNAP_MAX &&\n        treeScale.x > TREE_SCALE_SNAP_MIN) {\n        treeScale.x = 1.0;\n    }\n    if (treeScale.y < TREE_SCALE_SNAP_MAX &&\n        treeScale.y > TREE_SCALE_SNAP_MIN) {\n        treeScale.y = 1.0;\n    }\n}\nfunction translateAxis(axis, distance) {\n    axis.min = axis.min + distance;\n    axis.max = axis.max + distance;\n}\n/**\n * Apply a transform to an axis from the latest resolved motion values.\n * This function basically acts as a bridge between a flat motion value map\n * and applyAxisDelta\n */\nfunction transformAxis(axis, axisTranslate, axisScale, boxScale, axisOrigin = 0.5) {\n    const originPoint = mixNumber(axis.min, axis.max, axisOrigin);\n    // Apply the axis delta to the final axis\n    applyAxisDelta(axis, axisTranslate, axisScale, originPoint, boxScale);\n}\n/**\n * Apply a transform to a box from the latest resolved motion values.\n */\nfunction transformBox(box, transform) {\n    transformAxis(box.x, transform.x, transform.scaleX, transform.scale, transform.originX);\n    transformAxis(box.y, transform.y, transform.scaleY, transform.scale, transform.originY);\n}\n\nexport { applyAxisDelta, applyBoxDelta, applyPointDelta, applyTreeDeltas, scalePoint, transformAxis, transformBox, translateAxis };\n","import { convertBoundingBoxToBox, transformBoxPoints } from '../geometry/conversion.mjs';\nimport { translateAxis } from '../geometry/delta-apply.mjs';\n\nfunction measureViewportBox(instance, transformPoint) {\n    return convertBoundingBoxToBox(transformBoxPoints(instance.getBoundingClientRect(), transformPoint));\n}\nfunction measurePageBox(element, rootProjectionNode, transformPagePoint) {\n    const viewportBox = measureViewportBox(element, transformPagePoint);\n    const { scroll } = rootProjectionNode;\n    if (scroll) {\n        translateAxis(viewportBox.x, scroll.offset.x);\n        translateAxis(viewportBox.y, scroll.offset.y);\n    }\n    return viewportBox;\n}\n\nexport { measurePageBox, measureViewportBox };\n","// Fixes https://github.com/motiondivision/motion/issues/2270\nconst getContextWindow = ({ current }) => {\n    return current ? current.ownerDocument.defaultView : null;\n};\n\nexport { getContextWindow };\n","import { invariant } from 'motion-utils';\nimport { setDragLock } from 'motion-dom';\nimport { PanSession } from '../pan/PanSession.mjs';\nimport { isRefObject } from '../../utils/is-ref-object.mjs';\nimport { addPointerEvent } from '../../events/add-pointer-event.mjs';\nimport { applyConstraints, calcRelativeConstraints, resolveDragElastic, rebaseAxisConstraints, calcViewportConstraints, calcOrigin, defaultElastic } from './utils/constraints.mjs';\nimport { createBox } from '../../projection/geometry/models.mjs';\nimport { eachAxis } from '../../projection/utils/each-axis.mjs';\nimport { measurePageBox } from '../../projection/utils/measure.mjs';\nimport { extractEventInfo } from '../../events/event-info.mjs';\nimport { convertBoxToBoundingBox, convertBoundingBoxToBox } from '../../projection/geometry/conversion.mjs';\nimport { addDomEvent } from '../../events/add-dom-event.mjs';\nimport { calcLength } from '../../projection/geometry/delta-calc.mjs';\nimport { mixNumber } from '../../utils/mix/number.mjs';\nimport { percent } from '../../value/types/numbers/units.mjs';\nimport { animateMotionValue } from '../../animation/interfaces/motion-value.mjs';\nimport { getContextWindow } from '../../utils/get-context-window.mjs';\nimport { addValueToWillChange } from '../../value/use-will-change/add-will-change.mjs';\nimport { frame } from '../../frameloop/frame.mjs';\n\nconst elementDragControls = new WeakMap();\n/**\n *\n */\n// let latestPointerEvent: PointerEvent\nclass VisualElementDragControls {\n    constructor(visualElement) {\n        this.openDragLock = null;\n        this.isDragging = false;\n        this.currentDirection = null;\n        this.originPoint = { x: 0, y: 0 };\n        /**\n         * The permitted boundaries of travel, in pixels.\n         */\n        this.constraints = false;\n        this.hasMutatedConstraints = false;\n        /**\n         * The per-axis resolved elastic values.\n         */\n        this.elastic = createBox();\n        this.visualElement = visualElement;\n    }\n    start(originEvent, { snapToCursor = false } = {}) {\n        /**\n         * Don't start dragging if this component is exiting\n         */\n        const { presenceContext } = this.visualElement;\n        if (presenceContext && presenceContext.isPresent === false)\n            return;\n        const onSessionStart = (event) => {\n            const { dragSnapToOrigin } = this.getProps();\n            // Stop or pause any animations on both axis values immediately. This allows the user to throw and catch\n            // the component.\n            dragSnapToOrigin ? this.pauseAnimation() : this.stopAnimation();\n            if (snapToCursor) {\n                this.snapToCursor(extractEventInfo(event).point);\n            }\n        };\n        const onStart = (event, info) => {\n            // Attempt to grab the global drag gesture lock - maybe make this part of PanSession\n            const { drag, dragPropagation, onDragStart } = this.getProps();\n            if (drag && !dragPropagation) {\n                if (this.openDragLock)\n                    this.openDragLock();\n                this.openDragLock = setDragLock(drag);\n                // If we don 't have the lock, don't start dragging\n                if (!this.openDragLock)\n                    return;\n            }\n            this.isDragging = true;\n            this.currentDirection = null;\n            this.resolveConstraints();\n            if (this.visualElement.projection) {\n                this.visualElement.projection.isAnimationBlocked = true;\n                this.visualElement.projection.target = undefined;\n            }\n            /**\n             * Record gesture origin\n             */\n            eachAxis((axis) => {\n                let current = this.getAxisMotionValue(axis).get() || 0;\n                /**\n                 * If the MotionValue is a percentage value convert to px\n                 */\n                if (percent.test(current)) {\n                    const { projection } = this.visualElement;\n                    if (projection && projection.layout) {\n                        const measuredAxis = projection.layout.layoutBox[axis];\n                        if (measuredAxis) {\n                            const length = calcLength(measuredAxis);\n                            current = length * (parseFloat(current) / 100);\n                        }\n                    }\n                }\n                this.originPoint[axis] = current;\n            });\n            // Fire onDragStart event\n            if (onDragStart) {\n                frame.postRender(() => onDragStart(event, info));\n            }\n            addValueToWillChange(this.visualElement, \"transform\");\n            const { animationState } = this.visualElement;\n            animationState && animationState.setActive(\"whileDrag\", true);\n        };\n        const onMove = (event, info) => {\n            // latestPointerEvent = event\n            const { dragPropagation, dragDirectionLock, onDirectionLock, onDrag, } = this.getProps();\n            // If we didn't successfully receive the gesture lock, early return.\n            if (!dragPropagation && !this.openDragLock)\n                return;\n            const { offset } = info;\n            // Attempt to detect drag direction if directionLock is true\n            if (dragDirectionLock && this.currentDirection === null) {\n                this.currentDirection = getCurrentDirection(offset);\n                // If we've successfully set a direction, notify listener\n                if (this.currentDirection !== null) {\n                    onDirectionLock && onDirectionLock(this.currentDirection);\n                }\n                return;\n            }\n            // Update each point with the latest position\n            this.updateAxis(\"x\", info.point, offset);\n            this.updateAxis(\"y\", info.point, offset);\n            /**\n             * Ideally we would leave the renderer to fire naturally at the end of\n             * this frame but if the element is about to change layout as the result\n             * of a re-render we want to ensure the browser can read the latest\n             * bounding box to ensure the pointer and element don't fall out of sync.\n             */\n            this.visualElement.render();\n            /**\n             * This must fire after the render call as it might trigger a state\n             * change which itself might trigger a layout update.\n             */\n            onDrag && onDrag(event, info);\n        };\n        const onSessionEnd = (event, info) => this.stop(event, info);\n        const resumeAnimation = () => eachAxis((axis) => {\n            var _a;\n            return this.getAnimationState(axis) === \"paused\" &&\n                ((_a = this.getAxisMotionValue(axis).animation) === null || _a === void 0 ? void 0 : _a.play());\n        });\n        const { dragSnapToOrigin } = this.getProps();\n        this.panSession = new PanSession(originEvent, {\n            onSessionStart,\n            onStart,\n            onMove,\n            onSessionEnd,\n            resumeAnimation,\n        }, {\n            transformPagePoint: this.visualElement.getTransformPagePoint(),\n            dragSnapToOrigin,\n            contextWindow: getContextWindow(this.visualElement),\n        });\n    }\n    stop(event, info) {\n        const isDragging = this.isDragging;\n        this.cancel();\n        if (!isDragging)\n            return;\n        const { velocity } = info;\n        this.startAnimation(velocity);\n        const { onDragEnd } = this.getProps();\n        if (onDragEnd) {\n            frame.postRender(() => onDragEnd(event, info));\n        }\n    }\n    cancel() {\n        this.isDragging = false;\n        const { projection, animationState } = this.visualElement;\n        if (projection) {\n            projection.isAnimationBlocked = false;\n        }\n        this.panSession && this.panSession.end();\n        this.panSession = undefined;\n        const { dragPropagation } = this.getProps();\n        if (!dragPropagation && this.openDragLock) {\n            this.openDragLock();\n            this.openDragLock = null;\n        }\n        animationState && animationState.setActive(\"whileDrag\", false);\n    }\n    updateAxis(axis, _point, offset) {\n        const { drag } = this.getProps();\n        // If we're not dragging this axis, do an early return.\n        if (!offset || !shouldDrag(axis, drag, this.currentDirection))\n            return;\n        const axisValue = this.getAxisMotionValue(axis);\n        let next = this.originPoint[axis] + offset[axis];\n        // Apply constraints\n        if (this.constraints && this.constraints[axis]) {\n            next = applyConstraints(next, this.constraints[axis], this.elastic[axis]);\n        }\n        axisValue.set(next);\n    }\n    resolveConstraints() {\n        var _a;\n        const { dragConstraints, dragElastic } = this.getProps();\n        const layout = this.visualElement.projection &&\n            !this.visualElement.projection.layout\n            ? this.visualElement.projection.measure(false)\n            : (_a = this.visualElement.projection) === null || _a === void 0 ? void 0 : _a.layout;\n        const prevConstraints = this.constraints;\n        if (dragConstraints && isRefObject(dragConstraints)) {\n            if (!this.constraints) {\n                this.constraints = this.resolveRefConstraints();\n            }\n        }\n        else {\n            if (dragConstraints && layout) {\n                this.constraints = calcRelativeConstraints(layout.layoutBox, dragConstraints);\n            }\n            else {\n                this.constraints = false;\n            }\n        }\n        this.elastic = resolveDragElastic(dragElastic);\n        /**\n         * If we're outputting to external MotionValues, we want to rebase the measured constraints\n         * from viewport-relative to component-relative.\n         */\n        if (prevConstraints !== this.constraints &&\n            layout &&\n            this.constraints &&\n            !this.hasMutatedConstraints) {\n            eachAxis((axis) => {\n                if (this.constraints !== false &&\n                    this.getAxisMotionValue(axis)) {\n                    this.constraints[axis] = rebaseAxisConstraints(layout.layoutBox[axis], this.constraints[axis]);\n                }\n            });\n        }\n    }\n    resolveRefConstraints() {\n        const { dragConstraints: constraints, onMeasureDragConstraints } = this.getProps();\n        if (!constraints || !isRefObject(constraints))\n            return false;\n        const constraintsElement = constraints.current;\n        invariant(constraintsElement !== null, \"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.\");\n        const { projection } = this.visualElement;\n        // TODO\n        if (!projection || !projection.layout)\n            return false;\n        const constraintsBox = measurePageBox(constraintsElement, projection.root, this.visualElement.getTransformPagePoint());\n        let measuredConstraints = calcViewportConstraints(projection.layout.layoutBox, constraintsBox);\n        /**\n         * If there's an onMeasureDragConstraints listener we call it and\n         * if different constraints are returned, set constraints to that\n         */\n        if (onMeasureDragConstraints) {\n            const userConstraints = onMeasureDragConstraints(convertBoxToBoundingBox(measuredConstraints));\n            this.hasMutatedConstraints = !!userConstraints;\n            if (userConstraints) {\n                measuredConstraints = convertBoundingBoxToBox(userConstraints);\n            }\n        }\n        return measuredConstraints;\n    }\n    startAnimation(velocity) {\n        const { drag, dragMomentum, dragElastic, dragTransition, dragSnapToOrigin, onDragTransitionEnd, } = this.getProps();\n        const constraints = this.constraints || {};\n        const momentumAnimations = eachAxis((axis) => {\n            if (!shouldDrag(axis, drag, this.currentDirection)) {\n                return;\n            }\n            let transition = (constraints && constraints[axis]) || {};\n            if (dragSnapToOrigin)\n                transition = { min: 0, max: 0 };\n            /**\n             * Overdamp the boundary spring if `dragElastic` is disabled. There's still a frame\n             * of spring animations so we should look into adding a disable spring option to `inertia`.\n             * We could do something here where we affect the `bounceStiffness` and `bounceDamping`\n             * using the value of `dragElastic`.\n             */\n            const bounceStiffness = dragElastic ? 200 : 1000000;\n            const bounceDamping = dragElastic ? 40 : 10000000;\n            const inertia = {\n                type: \"inertia\",\n                velocity: dragMomentum ? velocity[axis] : 0,\n                bounceStiffness,\n                bounceDamping,\n                timeConstant: 750,\n                restDelta: 1,\n                restSpeed: 10,\n                ...dragTransition,\n                ...transition,\n            };\n            // If we're not animating on an externally-provided `MotionValue` we can use the\n            // component's animation controls which will handle interactions with whileHover (etc),\n            // otherwise we just have to animate the `MotionValue` itself.\n            return this.startAxisValueAnimation(axis, inertia);\n        });\n        // Run all animations and then resolve the new drag constraints.\n        return Promise.all(momentumAnimations).then(onDragTransitionEnd);\n    }\n    startAxisValueAnimation(axis, transition) {\n        const axisValue = this.getAxisMotionValue(axis);\n        addValueToWillChange(this.visualElement, axis);\n        return axisValue.start(animateMotionValue(axis, axisValue, 0, transition, this.visualElement, false));\n    }\n    stopAnimation() {\n        eachAxis((axis) => this.getAxisMotionValue(axis).stop());\n    }\n    pauseAnimation() {\n        eachAxis((axis) => { var _a; return (_a = this.getAxisMotionValue(axis).animation) === null || _a === void 0 ? void 0 : _a.pause(); });\n    }\n    getAnimationState(axis) {\n        var _a;\n        return (_a = this.getAxisMotionValue(axis).animation) === null || _a === void 0 ? void 0 : _a.state;\n    }\n    /**\n     * Drag works differently depending on which props are provided.\n     *\n     * - If _dragX and _dragY are provided, we output the gesture delta directly to those motion values.\n     * - Otherwise, we apply the delta to the x/y motion values.\n     */\n    getAxisMotionValue(axis) {\n        const dragKey = `_drag${axis.toUpperCase()}`;\n        const props = this.visualElement.getProps();\n        const externalMotionValue = props[dragKey];\n        return externalMotionValue\n            ? externalMotionValue\n            : this.visualElement.getValue(axis, (props.initial\n                ? props.initial[axis]\n                : undefined) || 0);\n    }\n    snapToCursor(point) {\n        eachAxis((axis) => {\n            const { drag } = this.getProps();\n            // If we're not dragging this axis, do an early return.\n            if (!shouldDrag(axis, drag, this.currentDirection))\n                return;\n            const { projection } = this.visualElement;\n            const axisValue = this.getAxisMotionValue(axis);\n            if (projection && projection.layout) {\n                const { min, max } = projection.layout.layoutBox[axis];\n                axisValue.set(point[axis] - mixNumber(min, max, 0.5));\n            }\n        });\n    }\n    /**\n     * When the viewport resizes we want to check if the measured constraints\n     * have changed and, if so, reposition the element within those new constraints\n     * relative to where it was before the resize.\n     */\n    scalePositionWithinConstraints() {\n        if (!this.visualElement.current)\n            return;\n        const { drag, dragConstraints } = this.getProps();\n        const { projection } = this.visualElement;\n        if (!isRefObject(dragConstraints) || !projection || !this.constraints)\n            return;\n        /**\n         * Stop current animations as there can be visual glitching if we try to do\n         * this mid-animation\n         */\n        this.stopAnimation();\n        /**\n         * Record the relative position of the dragged element relative to the\n         * constraints box and save as a progress value.\n         */\n        const boxProgress = { x: 0, y: 0 };\n        eachAxis((axis) => {\n            const axisValue = this.getAxisMotionValue(axis);\n            if (axisValue && this.constraints !== false) {\n                const latest = axisValue.get();\n                boxProgress[axis] = calcOrigin({ min: latest, max: latest }, this.constraints[axis]);\n            }\n        });\n        /**\n         * Update the layout of this element and resolve the latest drag constraints\n         */\n        const { transformTemplate } = this.visualElement.getProps();\n        this.visualElement.current.style.transform = transformTemplate\n            ? transformTemplate({}, \"\")\n            : \"none\";\n        projection.root && projection.root.updateScroll();\n        projection.updateLayout();\n        this.resolveConstraints();\n        /**\n         * For each axis, calculate the current progress of the layout axis\n         * within the new constraints.\n         */\n        eachAxis((axis) => {\n            if (!shouldDrag(axis, drag, null))\n                return;\n            /**\n             * Calculate a new transform based on the previous box progress\n             */\n            const axisValue = this.getAxisMotionValue(axis);\n            const { min, max } = this.constraints[axis];\n            axisValue.set(mixNumber(min, max, boxProgress[axis]));\n        });\n    }\n    addListeners() {\n        if (!this.visualElement.current)\n            return;\n        elementDragControls.set(this.visualElement, this);\n        const element = this.visualElement.current;\n        /**\n         * Attach a pointerdown event listener on this DOM element to initiate drag tracking.\n         */\n        const stopPointerListener = addPointerEvent(element, \"pointerdown\", (event) => {\n            const { drag, dragListener = true } = this.getProps();\n            drag && dragListener && this.start(event);\n        });\n        const measureDragConstraints = () => {\n            const { dragConstraints } = this.getProps();\n            if (isRefObject(dragConstraints) && dragConstraints.current) {\n                this.constraints = this.resolveRefConstraints();\n            }\n        };\n        const { projection } = this.visualElement;\n        const stopMeasureLayoutListener = projection.addEventListener(\"measure\", measureDragConstraints);\n        if (projection && !projection.layout) {\n            projection.root && projection.root.updateScroll();\n            projection.updateLayout();\n        }\n        frame.read(measureDragConstraints);\n        /**\n         * Attach a window resize listener to scale the draggable target within its defined\n         * constraints as the window resizes.\n         */\n        const stopResizeListener = addDomEvent(window, \"resize\", () => this.scalePositionWithinConstraints());\n        /**\n         * If the element's layout changes, calculate the delta and apply that to\n         * the drag gesture's origin point.\n         */\n        const stopLayoutUpdateListener = projection.addEventListener(\"didUpdate\", (({ delta, hasLayoutChanged }) => {\n            if (this.isDragging && hasLayoutChanged) {\n                eachAxis((axis) => {\n                    const motionValue = this.getAxisMotionValue(axis);\n                    if (!motionValue)\n                        return;\n                    this.originPoint[axis] += delta[axis].translate;\n                    motionValue.set(motionValue.get() + delta[axis].translate);\n                });\n                this.visualElement.render();\n            }\n        }));\n        return () => {\n            stopResizeListener();\n            stopPointerListener();\n            stopMeasureLayoutListener();\n            stopLayoutUpdateListener && stopLayoutUpdateListener();\n        };\n    }\n    getProps() {\n        const props = this.visualElement.getProps();\n        const { drag = false, dragDirectionLock = false, dragPropagation = false, dragConstraints = false, dragElastic = defaultElastic, dragMomentum = true, } = props;\n        return {\n            ...props,\n            drag,\n            dragDirectionLock,\n            dragPropagation,\n            dragConstraints,\n            dragElastic,\n            dragMomentum,\n        };\n    }\n}\nfunction shouldDrag(direction, drag, currentDirection) {\n    return ((drag === true || drag === direction) &&\n        (currentDirection === null || currentDirection === direction));\n}\n/**\n * Based on an x/y offset determine the current drag direction. If both axis' offsets are lower\n * than the provided threshold, return `null`.\n *\n * @param offset - The x/y offset from origin.\n * @param lockThreshold - (Optional) - the minimum absolute offset before we can determine a drag direction.\n */\nfunction getCurrentDirection(offset, lockThreshold = 10) {\n    let direction = null;\n    if (Math.abs(offset.y) > lockThreshold) {\n        direction = \"y\";\n    }\n    else if (Math.abs(offset.x) > lockThreshold) {\n        direction = \"x\";\n    }\n    return direction;\n}\n\nexport { VisualElementDragControls, elementDragControls };\n","import { isDragging } from './is-active.mjs';\n\nfunction setDragLock(axis) {\n    if (axis === \"x\" || axis === \"y\") {\n        if (isDragging[axis]) {\n            return null;\n        }\n        else {\n            isDragging[axis] = true;\n            return () => {\n                isDragging[axis] = false;\n            };\n        }\n    }\n    else {\n        if (isDragging.x || isDragging.y) {\n            return null;\n        }\n        else {\n            isDragging.x = isDragging.y = true;\n            return () => {\n                isDragging.x = isDragging.y = false;\n            };\n        }\n    }\n}\n\nexport { setDragLock };\n","import { PanSession } from './PanSession.mjs';\nimport { addPointerEvent } from '../../events/add-pointer-event.mjs';\nimport { Feature } from '../../motion/features/Feature.mjs';\nimport { noop } from 'motion-utils';\nimport { getContextWindow } from '../../utils/get-context-window.mjs';\nimport { frame } from '../../frameloop/frame.mjs';\n\nconst asyncHandler = (handler) => (event, info) => {\n    if (handler) {\n        frame.postRender(() => handler(event, info));\n    }\n};\nclass PanGesture extends Feature {\n    constructor() {\n        super(...arguments);\n        this.removePointerDownListener = noop;\n    }\n    onPointerDown(pointerDownEvent) {\n        this.session = new PanSession(pointerDownEvent, this.createPanHandlers(), {\n            transformPagePoint: this.node.getTransformPagePoint(),\n            contextWindow: getContextWindow(this.node),\n        });\n    }\n    createPanHandlers() {\n        const { onPanSessionStart, onPanStart, onPan, onPanEnd } = this.node.getProps();\n        return {\n            onSessionStart: asyncHandler(onPanSessionStart),\n            onStart: asyncHandler(onPanStart),\n            onMove: onPan,\n            onEnd: (event, info) => {\n                delete this.session;\n                if (onPanEnd) {\n                    frame.postRender(() => onPanEnd(event, info));\n                }\n            },\n        };\n    }\n    mount() {\n        this.removePointerDownListener = addPointerEvent(this.node.current, \"pointerdown\", (event) => this.onPointerDown(event));\n    }\n    update() {\n        this.session && this.session.updateHandlers(this.createPanHandlers());\n    }\n    unmount() {\n        this.removePointerDownListener();\n        this.session && this.session.end();\n    }\n}\n\nexport { PanGesture };\n","\"use client\";\nimport { createContext } from 'react';\n\n/**\n * @public\n */\nconst PresenceContext = createContext(null);\n\nexport { PresenceContext };\n","\"use client\";\nimport { createContext } from 'react';\n\nconst LayoutGroupContext = createContext({});\n\nexport { LayoutGroupContext };\n","\"use client\";\nimport { createContext } from 'react';\n\n/**\n * Internal, exported only for usage in Framer\n */\nconst SwitchLayoutGroupContext = createContext({});\n\nexport { SwitchLayoutGroupContext };\n","/**\n * This should only ever be modified on the client otherwise it'll\n * persist through server requests. If we need instanced states we\n * could lazy-init via root.\n */\nconst globalProjectionState = {\n    /**\n     * Global flag as to whether the tree has animated since the last time\n     * we resized the window\n     */\n    hasAnimatedSinceResize: true,\n    /**\n     * We set this to true once, on the first update. Any nodes added to the tree beyond that\n     * update will be given a `data-projection-id` attribute.\n     */\n    hasEverUpdated: false,\n};\n\nexport { globalProjectionState };\n","import { px } from '../../value/types/numbers/units.mjs';\n\nfunction pixelsToPercent(pixels, axis) {\n    if (axis.max === axis.min)\n        return 0;\n    return (pixels / (axis.max - axis.min)) * 100;\n}\n/**\n * We always correct borderRadius as a percentage rather than pixels to reduce paints.\n * For example, if you are projecting a box that is 100px wide with a 10px borderRadius\n * into a box that is 200px wide with a 20px borderRadius, that is actually a 10%\n * borderRadius in both states. If we animate between the two in pixels that will trigger\n * a paint each time. If we animate between the two in percentage we'll avoid a paint.\n */\nconst correctBorderRadius = {\n    correct: (latest, node) => {\n        if (!node.target)\n            return latest;\n        /**\n         * If latest is a string, if it's a percentage we can return immediately as it's\n         * going to be stretched appropriately. Otherwise, if it's a pixel, convert it to a number.\n         */\n        if (typeof latest === \"string\") {\n            if (px.test(latest)) {\n                latest = parseFloat(latest);\n            }\n            else {\n                return latest;\n            }\n        }\n        /**\n         * If latest is a number, it's a pixel value. We use the current viewportBox to calculate that\n         * pixel value as a percentage of each axis\n         */\n        const x = pixelsToPercent(latest, node.target.x);\n        const y = pixelsToPercent(latest, node.target.y);\n        return `${x}% ${y}%`;\n    },\n};\n\nexport { correctBorderRadius, pixelsToPercent };\n","import { mixNumber } from '../../utils/mix/number.mjs';\nimport { complex } from '../../value/types/complex/index.mjs';\n\nconst correctBoxShadow = {\n    correct: (latest, { treeScale, projectionDelta }) => {\n        const original = latest;\n        const shadow = complex.parse(latest);\n        // TODO: Doesn't support multiple shadows\n        if (shadow.length > 5)\n            return original;\n        const template = complex.createTransformer(latest);\n        const offset = typeof shadow[0] !== \"number\" ? 1 : 0;\n        // Calculate the overall context scale\n        const xScale = projectionDelta.x.scale * treeScale.x;\n        const yScale = projectionDelta.y.scale * treeScale.y;\n        shadow[0 + offset] /= xScale;\n        shadow[1 + offset] /= yScale;\n        /**\n         * Ideally we'd correct x and y scales individually, but because blur and\n         * spread apply to both we have to take a scale average and apply that instead.\n         * We could potentially improve the outcome of this by incorporating the ratio between\n         * the two scales.\n         */\n        const averageScale = mixNumber(xScale, yScale, 0.5);\n        // Blur\n        if (typeof shadow[2 + offset] === \"number\")\n            shadow[2 + offset] /= averageScale;\n        // Spread\n        if (typeof shadow[3 + offset] === \"number\")\n            shadow[3 + offset] /= averageScale;\n        return template(shadow);\n    },\n};\n\nexport { correctBoxShadow };\n","const scaleCorrectors = {};\nfunction addScaleCorrector(correctors) {\n    Object.assign(scaleCorrectors, correctors);\n}\n\nexport { addScaleCorrector, scaleCorrectors };\n","import { createRenderBatcher } from './batcher.mjs';\n\nconst { schedule: microtask, cancel: cancelMicrotask } = createRenderBatcher(queueMicrotask, false);\n\nexport { cancelMicrotask, microtask };\n","\"use client\";\nimport { jsx } from 'react/jsx-runtime';\nimport { useContext, Component } from 'react';\nimport { usePresence } from '../../../components/AnimatePresence/use-presence.mjs';\nimport { LayoutGroupContext } from '../../../context/LayoutGroupContext.mjs';\nimport { SwitchLayoutGroupContext } from '../../../context/SwitchLayoutGroupContext.mjs';\nimport { globalProjectionState } from '../../../projection/node/state.mjs';\nimport { correctBorderRadius } from '../../../projection/styles/scale-border-radius.mjs';\nimport { correctBoxShadow } from '../../../projection/styles/scale-box-shadow.mjs';\nimport { addScaleCorrector } from '../../../projection/styles/scale-correction.mjs';\nimport { microtask } from '../../../frameloop/microtask.mjs';\nimport { frame } from '../../../frameloop/frame.mjs';\n\nclass MeasureLayoutWithContext extends Component {\n    /**\n     * This only mounts projection nodes for components that\n     * need measuring, we might want to do it for all components\n     * in order to incorporate transforms\n     */\n    componentDidMount() {\n        const { visualElement, layoutGroup, switchLayoutGroup, layoutId } = this.props;\n        const { projection } = visualElement;\n        addScaleCorrector(defaultScaleCorrectors);\n        if (projection) {\n            if (layoutGroup.group)\n                layoutGroup.group.add(projection);\n            if (switchLayoutGroup && switchLayoutGroup.register && layoutId) {\n                switchLayoutGroup.register(projection);\n            }\n            projection.root.didUpdate();\n            projection.addEventListener(\"animationComplete\", () => {\n                this.safeToRemove();\n            });\n            projection.setOptions({\n                ...projection.options,\n                onExitComplete: () => this.safeToRemove(),\n            });\n        }\n        globalProjectionState.hasEverUpdated = true;\n    }\n    getSnapshotBeforeUpdate(prevProps) {\n        const { layoutDependency, visualElement, drag, isPresent } = this.props;\n        const projection = visualElement.projection;\n        if (!projection)\n            return null;\n        /**\n         * TODO: We use this data in relegate to determine whether to\n         * promote a previous element. There's no guarantee its presence data\n         * will have updated by this point - if a bug like this arises it will\n         * have to be that we markForRelegation and then find a new lead some other way,\n         * perhaps in didUpdate\n         */\n        projection.isPresent = isPresent;\n        if (drag ||\n            prevProps.layoutDependency !== layoutDependency ||\n            layoutDependency === undefined) {\n            projection.willUpdate();\n        }\n        else {\n            this.safeToRemove();\n        }\n        if (prevProps.isPresent !== isPresent) {\n            if (isPresent) {\n                projection.promote();\n            }\n            else if (!projection.relegate()) {\n                /**\n                 * If there's another stack member taking over from this one,\n                 * it's in charge of the exit animation and therefore should\n                 * be in charge of the safe to remove. Otherwise we call it here.\n                 */\n                frame.postRender(() => {\n                    const stack = projection.getStack();\n                    if (!stack || !stack.members.length) {\n                        this.safeToRemove();\n                    }\n                });\n            }\n        }\n        return null;\n    }\n    componentDidUpdate() {\n        const { projection } = this.props.visualElement;\n        if (projection) {\n            projection.root.didUpdate();\n            microtask.postRender(() => {\n                if (!projection.currentAnimation && projection.isLead()) {\n                    this.safeToRemove();\n                }\n            });\n        }\n    }\n    componentWillUnmount() {\n        const { visualElement, layoutGroup, switchLayoutGroup: promoteContext, } = this.props;\n        const { projection } = visualElement;\n        if (projection) {\n            projection.scheduleCheckAfterUnmount();\n            if (layoutGroup && layoutGroup.group)\n                layoutGroup.group.remove(projection);\n            if (promoteContext && promoteContext.deregister)\n                promoteContext.deregister(projection);\n        }\n    }\n    safeToRemove() {\n        const { safeToRemove } = this.props;\n        safeToRemove && safeToRemove();\n    }\n    render() {\n        return null;\n    }\n}\nfunction MeasureLayout(props) {\n    const [isPresent, safeToRemove] = usePresence();\n    const layoutGroup = useContext(LayoutGroupContext);\n    return (jsx(MeasureLayoutWithContext, { ...props, layoutGroup: layoutGroup, switchLayoutGroup: useContext(SwitchLayoutGroupContext), isPresent: isPresent, safeToRemove: safeToRemove }));\n}\nconst defaultScaleCorrectors = {\n    borderRadius: {\n        ...correctBorderRadius,\n        applyTo: [\n            \"borderTopLeftRadius\",\n            \"borderTopRightRadius\",\n            \"borderBottomLeftRadius\",\n            \"borderBottomRightRadius\",\n        ],\n    },\n    borderTopLeftRadius: correctBorderRadius,\n    borderTopRightRadius: correctBorderRadius,\n    borderBottomLeftRadius: correctBorderRadius,\n    borderBottomRightRadius: correctBorderRadius,\n    boxShadow: correctBoxShadow,\n};\n\nexport { MeasureLayout };\n","import { useContext, useId, useEffect, useCallback } from 'react';\nimport { PresenceContext } from '../../context/PresenceContext.mjs';\n\n/**\n * When a component is the child of `AnimatePresence`, it can use `usePresence`\n * to access information about whether it's still present in the React tree.\n *\n * ```jsx\n * import { usePresence } from \"framer-motion\"\n *\n * export const Component = () => {\n *   const [isPresent, safeToRemove] = usePresence()\n *\n *   useEffect(() => {\n *     !isPresent && setTimeout(safeToRemove, 1000)\n *   }, [isPresent])\n *\n *   return <div />\n * }\n * ```\n *\n * If `isPresent` is `false`, it means that a component has been removed the tree, but\n * `AnimatePresence` won't really remove it until `safeToRemove` has been called.\n *\n * @public\n */\nfunction usePresence() {\n    const context = useContext(PresenceContext);\n    if (context === null)\n        return [true, null];\n    const { isPresent, onExitComplete, register } = context;\n    // It's safe to call the following hooks conditionally (after an early return) because the context will always\n    // either be null or non-null for the lifespan of the component.\n    const id = useId();\n    useEffect(() => register(id), []);\n    const safeToRemove = useCallback(() => onExitComplete && onExitComplete(id), [id, onExitComplete]);\n    return !isPresent && onExitComplete ? [false, safeToRemove] : [true];\n}\n/**\n * Similar to `usePresence`, except `useIsPresent` simply returns whether or not the component is present.\n * There is no `safeToRemove` function.\n *\n * ```jsx\n * import { useIsPresent } from \"framer-motion\"\n *\n * export const Component = () => {\n *   const isPresent = useIsPresent()\n *\n *   useEffect(() => {\n *     !isPresent && console.log(\"I've been removed!\")\n *   }, [isPresent])\n *\n *   return <div />\n * }\n * ```\n *\n * @public\n */\nfunction useIsPresent() {\n    return isPresent(useContext(PresenceContext));\n}\nfunction isPresent(context) {\n    return context === null ? true : context.isPresent;\n}\n\nexport { isPresent, useIsPresent, usePresence };\n","import { circOut } from '../../easing/circ.mjs';\nimport { progress } from '../../utils/progress.mjs';\nimport { mixNumber } from '../../utils/mix/number.mjs';\nimport { noop } from 'motion-utils';\nimport { percent, px } from '../../value/types/numbers/units.mjs';\n\nconst borders = [\"TopLeft\", \"TopRight\", \"BottomLeft\", \"BottomRight\"];\nconst numBorders = borders.length;\nconst asNumber = (value) => typeof value === \"string\" ? parseFloat(value) : value;\nconst isPx = (value) => typeof value === \"number\" || px.test(value);\nfunction mixValues(target, follow, lead, progress, shouldCrossfadeOpacity, isOnlyMember) {\n    if (shouldCrossfadeOpacity) {\n        target.opacity = mixNumber(0, \n        // TODO Reinstate this if only child\n        lead.opacity !== undefined ? lead.opacity : 1, easeCrossfadeIn(progress));\n        target.opacityExit = mixNumber(follow.opacity !== undefined ? follow.opacity : 1, 0, easeCrossfadeOut(progress));\n    }\n    else if (isOnlyMember) {\n        target.opacity = mixNumber(follow.opacity !== undefined ? follow.opacity : 1, lead.opacity !== undefined ? lead.opacity : 1, progress);\n    }\n    /**\n     * Mix border radius\n     */\n    for (let i = 0; i < numBorders; i++) {\n        const borderLabel = `border${borders[i]}Radius`;\n        let followRadius = getRadius(follow, borderLabel);\n        let leadRadius = getRadius(lead, borderLabel);\n        if (followRadius === undefined && leadRadius === undefined)\n            continue;\n        followRadius || (followRadius = 0);\n        leadRadius || (leadRadius = 0);\n        const canMix = followRadius === 0 ||\n            leadRadius === 0 ||\n            isPx(followRadius) === isPx(leadRadius);\n        if (canMix) {\n            target[borderLabel] = Math.max(mixNumber(asNumber(followRadius), asNumber(leadRadius), progress), 0);\n            if (percent.test(leadRadius) || percent.test(followRadius)) {\n                target[borderLabel] += \"%\";\n            }\n        }\n        else {\n            target[borderLabel] = leadRadius;\n        }\n    }\n    /**\n     * Mix rotation\n     */\n    if (follow.rotate || lead.rotate) {\n        target.rotate = mixNumber(follow.rotate || 0, lead.rotate || 0, progress);\n    }\n}\nfunction getRadius(values, radiusName) {\n    return values[radiusName] !== undefined\n        ? values[radiusName]\n        : values.borderRadius;\n}\n// /**\n//  * We only want to mix the background color if there's a follow element\n//  * that we're not crossfading opacity between. For instance with switch\n//  * AnimateSharedLayout animations, this helps the illusion of a continuous\n//  * element being animated but also cuts down on the number of paints triggered\n//  * for elements where opacity is doing that work for us.\n//  */\n// if (\n//     !hasFollowElement &&\n//     latestLeadValues.backgroundColor &&\n//     latestFollowValues.backgroundColor\n// ) {\n//     /**\n//      * This isn't ideal performance-wise as mixColor is creating a new function every frame.\n//      * We could probably create a mixer that runs at the start of the animation but\n//      * the idea behind the crossfader is that it runs dynamically between two potentially\n//      * changing targets (ie opacity or borderRadius may be animating independently via variants)\n//      */\n//     leadState.backgroundColor = followState.backgroundColor = mixColor(\n//         latestFollowValues.backgroundColor as string,\n//         latestLeadValues.backgroundColor as string\n//     )(p)\n// }\nconst easeCrossfadeIn = /*@__PURE__*/ compress(0, 0.5, circOut);\nconst easeCrossfadeOut = /*@__PURE__*/ compress(0.5, 0.95, noop);\nfunction compress(min, max, easing) {\n    return (p) => {\n        // Could replace ifs with clamp\n        if (p < min)\n            return 0;\n        if (p > max)\n            return 1;\n        return easing(progress(min, max, p));\n    };\n}\n\nexport { mixValues };\n","/**\n * Reset an axis to the provided origin box.\n *\n * This is a mutative operation.\n */\nfunction copyAxisInto(axis, originAxis) {\n    axis.min = originAxis.min;\n    axis.max = originAxis.max;\n}\n/**\n * Reset a box to the provided origin box.\n *\n * This is a mutative operation.\n */\nfunction copyBoxInto(box, originBox) {\n    copyAxisInto(box.x, originBox.x);\n    copyAxisInto(box.y, originBox.y);\n}\n/**\n * Reset a delta to the provided origin box.\n *\n * This is a mutative operation.\n */\nfunction copyAxisDeltaInto(delta, originDelta) {\n    delta.translate = originDelta.translate;\n    delta.scale = originDelta.scale;\n    delta.originPoint = originDelta.originPoint;\n    delta.origin = originDelta.origin;\n}\n\nexport { copyAxisDeltaInto, copyAxisInto, copyBoxInto };\n","import { mixNumber } from '../../utils/mix/number.mjs';\nimport { percent } from '../../value/types/numbers/units.mjs';\nimport { scalePoint } from './delta-apply.mjs';\n\n/**\n * Remove a delta from a point. This is essentially the steps of applyPointDelta in reverse\n */\nfunction removePointDelta(point, translate, scale, originPoint, boxScale) {\n    point -= translate;\n    point = scalePoint(point, 1 / scale, originPoint);\n    if (boxScale !== undefined) {\n        point = scalePoint(point, 1 / boxScale, originPoint);\n    }\n    return point;\n}\n/**\n * Remove a delta from an axis. This is essentially the steps of applyAxisDelta in reverse\n */\nfunction removeAxisDelta(axis, translate = 0, scale = 1, origin = 0.5, boxScale, originAxis = axis, sourceAxis = axis) {\n    if (percent.test(translate)) {\n        translate = parseFloat(translate);\n        const relativeProgress = mixNumber(sourceAxis.min, sourceAxis.max, translate / 100);\n        translate = relativeProgress - sourceAxis.min;\n    }\n    if (typeof translate !== \"number\")\n        return;\n    let originPoint = mixNumber(originAxis.min, originAxis.max, origin);\n    if (axis === originAxis)\n        originPoint -= translate;\n    axis.min = removePointDelta(axis.min, translate, scale, originPoint, boxScale);\n    axis.max = removePointDelta(axis.max, translate, scale, originPoint, boxScale);\n}\n/**\n * Remove a transforms from an axis. This is essentially the steps of applyAxisTransforms in reverse\n * and acts as a bridge between motion values and removeAxisDelta\n */\nfunction removeAxisTransforms(axis, transforms, [key, scaleKey, originKey], origin, sourceAxis) {\n    removeAxisDelta(axis, transforms[key], transforms[scaleKey], transforms[originKey], transforms.scale, origin, sourceAxis);\n}\n/**\n * The names of the motion values we want to apply as translation, scale and origin.\n */\nconst xKeys = [\"x\", \"scaleX\", \"originX\"];\nconst yKeys = [\"y\", \"scaleY\", \"originY\"];\n/**\n * Remove a transforms from an box. This is essentially the steps of applyAxisBox in reverse\n * and acts as a bridge between motion values and removeAxisDelta\n */\nfunction removeBoxTransforms(box, transforms, originBox, sourceBox) {\n    removeAxisTransforms(box.x, transforms, xKeys, originBox ? originBox.x : undefined, sourceBox ? sourceBox.x : undefined);\n    removeAxisTransforms(box.y, transforms, yKeys, originBox ? originBox.y : undefined, sourceBox ? sourceBox.y : undefined);\n}\n\nexport { removeAxisDelta, removeAxisTransforms, removeBoxTransforms, removePointDelta };\n","import { calcLength } from './delta-calc.mjs';\n\nfunction isAxisDeltaZero(delta) {\n    return delta.translate === 0 && delta.scale === 1;\n}\nfunction isDeltaZero(delta) {\n    return isAxisDeltaZero(delta.x) && isAxisDeltaZero(delta.y);\n}\nfunction axisEquals(a, b) {\n    return a.min === b.min && a.max === b.max;\n}\nfunction boxEquals(a, b) {\n    return axisEquals(a.x, b.x) && axisEquals(a.y, b.y);\n}\nfunction axisEqualsRounded(a, b) {\n    return (Math.round(a.min) === Math.round(b.min) &&\n        Math.round(a.max) === Math.round(b.max));\n}\nfunction boxEqualsRounded(a, b) {\n    return axisEqualsRounded(a.x, b.x) && axisEqualsRounded(a.y, b.y);\n}\nfunction aspectRatio(box) {\n    return calcLength(box.x) / calcLength(box.y);\n}\nfunction axisDeltaEquals(a, b) {\n    return (a.translate === b.translate &&\n        a.scale === b.scale &&\n        a.originPoint === b.originPoint);\n}\n\nexport { aspectRatio, axisDeltaEquals, axisEquals, axisEqualsRounded, boxEquals, boxEqualsRounded, isDeltaZero };\n","import { addUniqueItem, removeItem } from '../../utils/array.mjs';\n\nclass NodeStack {\n    constructor() {\n        this.members = [];\n    }\n    add(node) {\n        addUniqueItem(this.members, node);\n        node.scheduleRender();\n    }\n    remove(node) {\n        removeItem(this.members, node);\n        if (node === this.prevLead) {\n            this.prevLead = undefined;\n        }\n        if (node === this.lead) {\n            const prevLead = this.members[this.members.length - 1];\n            if (prevLead) {\n                this.promote(prevLead);\n            }\n        }\n    }\n    relegate(node) {\n        const indexOfNode = this.members.findIndex((member) => node === member);\n        if (indexOfNode === 0)\n            return false;\n        /**\n         * Find the next projection node that is present\n         */\n        let prevLead;\n        for (let i = indexOfNode; i >= 0; i--) {\n            const member = this.members[i];\n            if (member.isPresent !== false) {\n                prevLead = member;\n                break;\n            }\n        }\n        if (prevLead) {\n            this.promote(prevLead);\n            return true;\n        }\n        else {\n            return false;\n        }\n    }\n    promote(node, preserveFollowOpacity) {\n        const prevLead = this.lead;\n        if (node === prevLead)\n            return;\n        this.prevLead = prevLead;\n        this.lead = node;\n        node.show();\n        if (prevLead) {\n            prevLead.instance && prevLead.scheduleRender();\n            node.scheduleRender();\n            node.resumeFrom = prevLead;\n            if (preserveFollowOpacity) {\n                node.resumeFrom.preserveOpacity = true;\n            }\n            if (prevLead.snapshot) {\n                node.snapshot = prevLead.snapshot;\n                node.snapshot.latestValues =\n                    prevLead.animationValues || prevLead.latestValues;\n            }\n            if (node.root && node.root.isUpdating) {\n                node.isLayoutDirty = true;\n            }\n            const { crossfade } = node.options;\n            if (crossfade === false) {\n                prevLead.hide();\n            }\n            /**\n             * TODO:\n             *   - Test border radius when previous node was deleted\n             *   - boxShadow mixing\n             *   - Shared between element A in scrolled container and element B (scroll stays the same or changes)\n             *   - Shared between element A in transformed container and element B (transform stays the same or changes)\n             *   - Shared between element A in scrolled page and element B (scroll stays the same or changes)\n             * ---\n             *   - Crossfade opacity of root nodes\n             *   - layoutId changes after animation\n             *   - layoutId changes mid animation\n             */\n        }\n    }\n    exitAnimationComplete() {\n        this.members.forEach((node) => {\n            const { options, resumingFrom } = node;\n            options.onExitComplete && options.onExitComplete();\n            if (resumingFrom) {\n                resumingFrom.options.onExitComplete &&\n                    resumingFrom.options.onExitComplete();\n            }\n        });\n    }\n    scheduleRender() {\n        this.members.forEach((node) => {\n            node.instance && node.scheduleRender(false);\n        });\n    }\n    /**\n     * Clear any leads that have been removed this render to prevent them from being\n     * used in future animations and to prevent memory leaks\n     */\n    removeLeadSnapshot() {\n        if (this.lead && this.lead.snapshot) {\n            this.lead.snapshot = undefined;\n        }\n    }\n}\n\nexport { NodeStack };\n","const compareByDepth = (a, b) => a.depth - b.depth;\n\nexport { compareByDepth };\n","import { addUniqueItem, removeItem } from '../../utils/array.mjs';\nimport { compareByDepth } from './compare-by-depth.mjs';\n\nclass FlatTree {\n    constructor() {\n        this.children = [];\n        this.isDirty = false;\n    }\n    add(child) {\n        addUniqueItem(this.children, child);\n        this.isDirty = true;\n    }\n    remove(child) {\n        removeItem(this.children, child);\n        this.isDirty = true;\n    }\n    forEach(callback) {\n        this.isDirty && this.children.sort(compareByDepth);\n        this.isDirty = false;\n        this.children.forEach(callback);\n    }\n}\n\nexport { FlatTree };\n","import { isCustomValue } from '../../utils/resolve-value.mjs';\nimport { isMotionValue } from './is-motion-value.mjs';\n\n/**\n * If the provided value is a MotionValue, this returns the actual value, otherwise just the value itself\n *\n * TODO: Remove and move to library\n */\nfunction resolveMotionValue(value) {\n    const unwrappedValue = isMotionValue(value) ? value.get() : value;\n    return isCustomValue(unwrappedValue)\n        ? unwrappedValue.toValue()\n        : unwrappedValue;\n}\n\nexport { resolveMotionValue };\n","import { SubscriptionManager } from '../../utils/subscription-manager.mjs';\nimport { mixValues } from '../animation/mix-values.mjs';\nimport { copyBoxInto, copyAxisDeltaInto } from '../geometry/copy.mjs';\nimport { translateAxis, transformBox, applyBoxDelta, applyTreeDeltas } from '../geometry/delta-apply.mjs';\nimport { calcRelativePosition, calcRelativeBox, calcBoxDelta, calcLength, isNear } from '../geometry/delta-calc.mjs';\nimport { removeBoxTransforms } from '../geometry/delta-remove.mjs';\nimport { getValueTransition } from '../../animation/utils/get-value-transition.mjs';\nimport { boxEqualsRounded, isDeltaZero, axisDeltaEquals, aspectRatio, boxEquals } from '../geometry/utils.mjs';\nimport { NodeStack } from '../shared/stack.mjs';\nimport { scaleCorrectors } from '../styles/scale-correction.mjs';\nimport { buildProjectionTransform } from '../styles/transform.mjs';\nimport { eachAxis } from '../utils/each-axis.mjs';\nimport { hasTransform, hasScale, has2DTranslate } from '../utils/has-transform.mjs';\nimport { FlatTree } from '../../render/utils/flat-tree.mjs';\nimport { resolveMotionValue } from '../../value/utils/resolve-motion-value.mjs';\nimport { globalProjectionState } from './state.mjs';\nimport { delay } from '../../utils/delay.mjs';\nimport { mixNumber } from '../../utils/mix/number.mjs';\nimport { isSVGElement } from '../../render/dom/utils/is-svg-element.mjs';\nimport { animateSingleValue } from '../../animation/animate/single-value.mjs';\nimport { clamp } from '../../utils/clamp.mjs';\nimport { cancelFrame, frameData, frameSteps, frame } from '../../frameloop/frame.mjs';\nimport { noop } from 'motion-utils';\nimport { time } from '../../frameloop/sync-time.mjs';\nimport { microtask } from '../../frameloop/microtask.mjs';\nimport { getOptimisedAppearId } from '../../animation/optimized-appear/get-appear-id.mjs';\nimport { createBox, createDelta } from '../geometry/models.mjs';\n\nconst metrics = {\n    type: \"projectionFrame\",\n    totalNodes: 0,\n    resolvedTargetDeltas: 0,\n    recalculatedProjection: 0,\n};\nconst isDebug = typeof window !== \"undefined\" && window.MotionDebug !== undefined;\nconst transformAxes = [\"\", \"X\", \"Y\", \"Z\"];\nconst hiddenVisibility = { visibility: \"hidden\" };\n/**\n * We use 1000 as the animation target as 0-1000 maps better to pixels than 0-1\n * which has a noticeable difference in spring animations\n */\nconst animationTarget = 1000;\nlet id = 0;\nfunction resetDistortingTransform(key, visualElement, values, sharedAnimationValues) {\n    const { latestValues } = visualElement;\n    // Record the distorting transform and then temporarily set it to 0\n    if (latestValues[key]) {\n        values[key] = latestValues[key];\n        visualElement.setStaticValue(key, 0);\n        if (sharedAnimationValues) {\n            sharedAnimationValues[key] = 0;\n        }\n    }\n}\nfunction cancelTreeOptimisedTransformAnimations(projectionNode) {\n    projectionNode.hasCheckedOptimisedAppear = true;\n    if (projectionNode.root === projectionNode)\n        return;\n    const { visualElement } = projectionNode.options;\n    if (!visualElement)\n        return;\n    const appearId = getOptimisedAppearId(visualElement);\n    if (window.MotionHasOptimisedAnimation(appearId, \"transform\")) {\n        const { layout, layoutId } = projectionNode.options;\n        window.MotionCancelOptimisedAnimation(appearId, \"transform\", frame, !(layout || layoutId));\n    }\n    const { parent } = projectionNode;\n    if (parent && !parent.hasCheckedOptimisedAppear) {\n        cancelTreeOptimisedTransformAnimations(parent);\n    }\n}\nfunction createProjectionNode({ attachResizeListener, defaultParent, measureScroll, checkIsScrollRoot, resetTransform, }) {\n    return class ProjectionNode {\n        constructor(latestValues = {}, parent = defaultParent === null || defaultParent === void 0 ? void 0 : defaultParent()) {\n            /**\n             * A unique ID generated for every projection node.\n             */\n            this.id = id++;\n            /**\n             * An id that represents a unique session instigated by startUpdate.\n             */\n            this.animationId = 0;\n            /**\n             * A Set containing all this component's children. This is used to iterate\n             * through the children.\n             *\n             * TODO: This could be faster to iterate as a flat array stored on the root node.\n             */\n            this.children = new Set();\n            /**\n             * Options for the node. We use this to configure what kind of layout animations\n             * we should perform (if any).\n             */\n            this.options = {};\n            /**\n             * We use this to detect when its safe to shut down part of a projection tree.\n             * We have to keep projecting children for scale correction and relative projection\n             * until all their parents stop performing layout animations.\n             */\n            this.isTreeAnimating = false;\n            this.isAnimationBlocked = false;\n            /**\n             * Flag to true if we think this layout has been changed. We can't always know this,\n             * currently we set it to true every time a component renders, or if it has a layoutDependency\n             * if that has changed between renders. Additionally, components can be grouped by LayoutGroup\n             * and if one node is dirtied, they all are.\n             */\n            this.isLayoutDirty = false;\n            /**\n             * Flag to true if we think the projection calculations for this node needs\n             * recalculating as a result of an updated transform or layout animation.\n             */\n            this.isProjectionDirty = false;\n            /**\n             * Flag to true if the layout *or* transform has changed. This then gets propagated\n             * throughout the projection tree, forcing any element below to recalculate on the next frame.\n             */\n            this.isSharedProjectionDirty = false;\n            /**\n             * Flag transform dirty. This gets propagated throughout the whole tree but is only\n             * respected by shared nodes.\n             */\n            this.isTransformDirty = false;\n            /**\n             * Block layout updates for instant layout transitions throughout the tree.\n             */\n            this.updateManuallyBlocked = false;\n            this.updateBlockedByResize = false;\n            /**\n             * Set to true between the start of the first `willUpdate` call and the end of the `didUpdate`\n             * call.\n             */\n            this.isUpdating = false;\n            /**\n             * If this is an SVG element we currently disable projection transforms\n             */\n            this.isSVG = false;\n            /**\n             * Flag to true (during promotion) if a node doing an instant layout transition needs to reset\n             * its projection styles.\n             */\n            this.needsReset = false;\n            /**\n             * Flags whether this node should have its transform reset prior to measuring.\n             */\n            this.shouldResetTransform = false;\n            /**\n             * Store whether this node has been checked for optimised appear animations. As\n             * effects fire bottom-up, and we want to look up the tree for appear animations,\n             * this makes sure we only check each path once, stopping at nodes that\n             * have already been checked.\n             */\n            this.hasCheckedOptimisedAppear = false;\n            /**\n             * An object representing the calculated contextual/accumulated/tree scale.\n             * This will be used to scale calculcated projection transforms, as these are\n             * calculated in screen-space but need to be scaled for elements to layoutly\n             * make it to their calculated destinations.\n             *\n             * TODO: Lazy-init\n             */\n            this.treeScale = { x: 1, y: 1 };\n            /**\n             *\n             */\n            this.eventHandlers = new Map();\n            this.hasTreeAnimated = false;\n            // Note: Currently only running on root node\n            this.updateScheduled = false;\n            this.scheduleUpdate = () => this.update();\n            this.projectionUpdateScheduled = false;\n            this.checkUpdateFailed = () => {\n                if (this.isUpdating) {\n                    this.isUpdating = false;\n                    this.clearAllSnapshots();\n                }\n            };\n            /**\n             * This is a multi-step process as shared nodes might be of different depths. Nodes\n             * are sorted by depth order, so we need to resolve the entire tree before moving to\n             * the next step.\n             */\n            this.updateProjection = () => {\n                this.projectionUpdateScheduled = false;\n                /**\n                 * Reset debug counts. Manually resetting rather than creating a new\n                 * object each frame.\n                 */\n                if (isDebug) {\n                    metrics.totalNodes =\n                        metrics.resolvedTargetDeltas =\n                            metrics.recalculatedProjection =\n                                0;\n                }\n                this.nodes.forEach(propagateDirtyNodes);\n                this.nodes.forEach(resolveTargetDelta);\n                this.nodes.forEach(calcProjection);\n                this.nodes.forEach(cleanDirtyNodes);\n                if (isDebug) {\n                    window.MotionDebug.record(metrics);\n                }\n            };\n            /**\n             * Frame calculations\n             */\n            this.resolvedRelativeTargetAt = 0.0;\n            this.hasProjected = false;\n            this.isVisible = true;\n            this.animationProgress = 0;\n            /**\n             * Shared layout\n             */\n            // TODO Only running on root node\n            this.sharedNodes = new Map();\n            this.latestValues = latestValues;\n            this.root = parent ? parent.root || parent : this;\n            this.path = parent ? [...parent.path, parent] : [];\n            this.parent = parent;\n            this.depth = parent ? parent.depth + 1 : 0;\n            for (let i = 0; i < this.path.length; i++) {\n                this.path[i].shouldResetTransform = true;\n            }\n            if (this.root === this)\n                this.nodes = new FlatTree();\n        }\n        addEventListener(name, handler) {\n            if (!this.eventHandlers.has(name)) {\n                this.eventHandlers.set(name, new SubscriptionManager());\n            }\n            return this.eventHandlers.get(name).add(handler);\n        }\n        notifyListeners(name, ...args) {\n            const subscriptionManager = this.eventHandlers.get(name);\n            subscriptionManager && subscriptionManager.notify(...args);\n        }\n        hasListeners(name) {\n            return this.eventHandlers.has(name);\n        }\n        /**\n         * Lifecycles\n         */\n        mount(instance, isLayoutDirty = this.root.hasTreeAnimated) {\n            if (this.instance)\n                return;\n            this.isSVG = isSVGElement(instance);\n            this.instance = instance;\n            const { layoutId, layout, visualElement } = this.options;\n            if (visualElement && !visualElement.current) {\n                visualElement.mount(instance);\n            }\n            this.root.nodes.add(this);\n            this.parent && this.parent.children.add(this);\n            if (isLayoutDirty && (layout || layoutId)) {\n                this.isLayoutDirty = true;\n            }\n            if (attachResizeListener) {\n                let cancelDelay;\n                const resizeUnblockUpdate = () => (this.root.updateBlockedByResize = false);\n                attachResizeListener(instance, () => {\n                    this.root.updateBlockedByResize = true;\n                    cancelDelay && cancelDelay();\n                    cancelDelay = delay(resizeUnblockUpdate, 250);\n                    if (globalProjectionState.hasAnimatedSinceResize) {\n                        globalProjectionState.hasAnimatedSinceResize = false;\n                        this.nodes.forEach(finishAnimation);\n                    }\n                });\n            }\n            if (layoutId) {\n                this.root.registerSharedNode(layoutId, this);\n            }\n            // Only register the handler if it requires layout animation\n            if (this.options.animate !== false &&\n                visualElement &&\n                (layoutId || layout)) {\n                this.addEventListener(\"didUpdate\", ({ delta, hasLayoutChanged, hasRelativeTargetChanged, layout: newLayout, }) => {\n                    if (this.isTreeAnimationBlocked()) {\n                        this.target = undefined;\n                        this.relativeTarget = undefined;\n                        return;\n                    }\n                    // TODO: Check here if an animation exists\n                    const layoutTransition = this.options.transition ||\n                        visualElement.getDefaultTransition() ||\n                        defaultLayoutTransition;\n                    const { onLayoutAnimationStart, onLayoutAnimationComplete, } = visualElement.getProps();\n                    /**\n                     * The target layout of the element might stay the same,\n                     * but its position relative to its parent has changed.\n                     */\n                    const targetChanged = !this.targetLayout ||\n                        !boxEqualsRounded(this.targetLayout, newLayout) ||\n                        hasRelativeTargetChanged;\n                    /**\n                     * If the layout hasn't seemed to have changed, it might be that the\n                     * element is visually in the same place in the document but its position\n                     * relative to its parent has indeed changed. So here we check for that.\n                     */\n                    const hasOnlyRelativeTargetChanged = !hasLayoutChanged && hasRelativeTargetChanged;\n                    if (this.options.layoutRoot ||\n                        (this.resumeFrom && this.resumeFrom.instance) ||\n                        hasOnlyRelativeTargetChanged ||\n                        (hasLayoutChanged &&\n                            (targetChanged || !this.currentAnimation))) {\n                        if (this.resumeFrom) {\n                            this.resumingFrom = this.resumeFrom;\n                            this.resumingFrom.resumingFrom = undefined;\n                        }\n                        this.setAnimationOrigin(delta, hasOnlyRelativeTargetChanged);\n                        const animationOptions = {\n                            ...getValueTransition(layoutTransition, \"layout\"),\n                            onPlay: onLayoutAnimationStart,\n                            onComplete: onLayoutAnimationComplete,\n                        };\n                        if (visualElement.shouldReduceMotion ||\n                            this.options.layoutRoot) {\n                            animationOptions.delay = 0;\n                            animationOptions.type = false;\n                        }\n                        this.startAnimation(animationOptions);\n                    }\n                    else {\n                        /**\n                         * If the layout hasn't changed and we have an animation that hasn't started yet,\n                         * finish it immediately. Otherwise it will be animating from a location\n                         * that was probably never commited to screen and look like a jumpy box.\n                         */\n                        if (!hasLayoutChanged) {\n                            finishAnimation(this);\n                        }\n                        if (this.isLead() && this.options.onExitComplete) {\n                            this.options.onExitComplete();\n                        }\n                    }\n                    this.targetLayout = newLayout;\n                });\n            }\n        }\n        unmount() {\n            this.options.layoutId && this.willUpdate();\n            this.root.nodes.remove(this);\n            const stack = this.getStack();\n            stack && stack.remove(this);\n            this.parent && this.parent.children.delete(this);\n            this.instance = undefined;\n            cancelFrame(this.updateProjection);\n        }\n        // only on the root\n        blockUpdate() {\n            this.updateManuallyBlocked = true;\n        }\n        unblockUpdate() {\n            this.updateManuallyBlocked = false;\n        }\n        isUpdateBlocked() {\n            return this.updateManuallyBlocked || this.updateBlockedByResize;\n        }\n        isTreeAnimationBlocked() {\n            return (this.isAnimationBlocked ||\n                (this.parent && this.parent.isTreeAnimationBlocked()) ||\n                false);\n        }\n        // Note: currently only running on root node\n        startUpdate() {\n            if (this.isUpdateBlocked())\n                return;\n            this.isUpdating = true;\n            this.nodes && this.nodes.forEach(resetSkewAndRotation);\n            this.animationId++;\n        }\n        getTransformTemplate() {\n            const { visualElement } = this.options;\n            return visualElement && visualElement.getProps().transformTemplate;\n        }\n        willUpdate(shouldNotifyListeners = true) {\n            this.root.hasTreeAnimated = true;\n            if (this.root.isUpdateBlocked()) {\n                this.options.onExitComplete && this.options.onExitComplete();\n                return;\n            }\n            /**\n             * If we're running optimised appear animations then these must be\n             * cancelled before measuring the DOM. This is so we can measure\n             * the true layout of the element rather than the WAAPI animation\n             * which will be unaffected by the resetSkewAndRotate step.\n             *\n             * Note: This is a DOM write. Worst case scenario is this is sandwiched\n             * between other snapshot reads which will cause unnecessary style recalculations.\n             * This has to happen here though, as we don't yet know which nodes will need\n             * snapshots in startUpdate(), but we only want to cancel optimised animations\n             * if a layout animation measurement is actually going to be affected by them.\n             */\n            if (window.MotionCancelOptimisedAnimation &&\n                !this.hasCheckedOptimisedAppear) {\n                cancelTreeOptimisedTransformAnimations(this);\n            }\n            !this.root.isUpdating && this.root.startUpdate();\n            if (this.isLayoutDirty)\n                return;\n            this.isLayoutDirty = true;\n            for (let i = 0; i < this.path.length; i++) {\n                const node = this.path[i];\n                node.shouldResetTransform = true;\n                node.updateScroll(\"snapshot\");\n                if (node.options.layoutRoot) {\n                    node.willUpdate(false);\n                }\n            }\n            const { layoutId, layout } = this.options;\n            if (layoutId === undefined && !layout)\n                return;\n            const transformTemplate = this.getTransformTemplate();\n            this.prevTransformTemplateValue = transformTemplate\n                ? transformTemplate(this.latestValues, \"\")\n                : undefined;\n            this.updateSnapshot();\n            shouldNotifyListeners && this.notifyListeners(\"willUpdate\");\n        }\n        update() {\n            this.updateScheduled = false;\n            const updateWasBlocked = this.isUpdateBlocked();\n            // When doing an instant transition, we skip the layout update,\n            // but should still clean up the measurements so that the next\n            // snapshot could be taken correctly.\n            if (updateWasBlocked) {\n                this.unblockUpdate();\n                this.clearAllSnapshots();\n                this.nodes.forEach(clearMeasurements);\n                return;\n            }\n            if (!this.isUpdating) {\n                this.nodes.forEach(clearIsLayoutDirty);\n            }\n            this.isUpdating = false;\n            /**\n             * Write\n             */\n            this.nodes.forEach(resetTransformStyle);\n            /**\n             * Read ==================\n             */\n            // Update layout measurements of updated children\n            this.nodes.forEach(updateLayout);\n            /**\n             * Write\n             */\n            // Notify listeners that the layout is updated\n            this.nodes.forEach(notifyLayoutUpdate);\n            this.clearAllSnapshots();\n            /**\n             * Manually flush any pending updates. Ideally\n             * we could leave this to the following requestAnimationFrame but this seems\n             * to leave a flash of incorrectly styled content.\n             */\n            const now = time.now();\n            frameData.delta = clamp(0, 1000 / 60, now - frameData.timestamp);\n            frameData.timestamp = now;\n            frameData.isProcessing = true;\n            frameSteps.update.process(frameData);\n            frameSteps.preRender.process(frameData);\n            frameSteps.render.process(frameData);\n            frameData.isProcessing = false;\n        }\n        didUpdate() {\n            if (!this.updateScheduled) {\n                this.updateScheduled = true;\n                microtask.read(this.scheduleUpdate);\n            }\n        }\n        clearAllSnapshots() {\n            this.nodes.forEach(clearSnapshot);\n            this.sharedNodes.forEach(removeLeadSnapshots);\n        }\n        scheduleUpdateProjection() {\n            if (!this.projectionUpdateScheduled) {\n                this.projectionUpdateScheduled = true;\n                frame.preRender(this.updateProjection, false, true);\n            }\n        }\n        scheduleCheckAfterUnmount() {\n            /**\n             * If the unmounting node is in a layoutGroup and did trigger a willUpdate,\n             * we manually call didUpdate to give a chance to the siblings to animate.\n             * Otherwise, cleanup all snapshots to prevents future nodes from reusing them.\n             */\n            frame.postRender(() => {\n                if (this.isLayoutDirty) {\n                    this.root.didUpdate();\n                }\n                else {\n                    this.root.checkUpdateFailed();\n                }\n            });\n        }\n        /**\n         * Update measurements\n         */\n        updateSnapshot() {\n            if (this.snapshot || !this.instance)\n                return;\n            this.snapshot = this.measure();\n        }\n        updateLayout() {\n            if (!this.instance)\n                return;\n            // TODO: Incorporate into a forwarded scroll offset\n            this.updateScroll();\n            if (!(this.options.alwaysMeasureLayout && this.isLead()) &&\n                !this.isLayoutDirty) {\n                return;\n            }\n            /**\n             * When a node is mounted, it simply resumes from the prevLead's\n             * snapshot instead of taking a new one, but the ancestors scroll\n             * might have updated while the prevLead is unmounted. We need to\n             * update the scroll again to make sure the layout we measure is\n             * up to date.\n             */\n            if (this.resumeFrom && !this.resumeFrom.instance) {\n                for (let i = 0; i < this.path.length; i++) {\n                    const node = this.path[i];\n                    node.updateScroll();\n                }\n            }\n            const prevLayout = this.layout;\n            this.layout = this.measure(false);\n            this.layoutCorrected = createBox();\n            this.isLayoutDirty = false;\n            this.projectionDelta = undefined;\n            this.notifyListeners(\"measure\", this.layout.layoutBox);\n            const { visualElement } = this.options;\n            visualElement &&\n                visualElement.notify(\"LayoutMeasure\", this.layout.layoutBox, prevLayout ? prevLayout.layoutBox : undefined);\n        }\n        updateScroll(phase = \"measure\") {\n            let needsMeasurement = Boolean(this.options.layoutScroll && this.instance);\n            if (this.scroll &&\n                this.scroll.animationId === this.root.animationId &&\n                this.scroll.phase === phase) {\n                needsMeasurement = false;\n            }\n            if (needsMeasurement) {\n                const isRoot = checkIsScrollRoot(this.instance);\n                this.scroll = {\n                    animationId: this.root.animationId,\n                    phase,\n                    isRoot,\n                    offset: measureScroll(this.instance),\n                    wasRoot: this.scroll ? this.scroll.isRoot : isRoot,\n                };\n            }\n        }\n        resetTransform() {\n            if (!resetTransform)\n                return;\n            const isResetRequested = this.isLayoutDirty ||\n                this.shouldResetTransform ||\n                this.options.alwaysMeasureLayout;\n            const hasProjection = this.projectionDelta && !isDeltaZero(this.projectionDelta);\n            const transformTemplate = this.getTransformTemplate();\n            const transformTemplateValue = transformTemplate\n                ? transformTemplate(this.latestValues, \"\")\n                : undefined;\n            const transformTemplateHasChanged = transformTemplateValue !== this.prevTransformTemplateValue;\n            if (isResetRequested &&\n                (hasProjection ||\n                    hasTransform(this.latestValues) ||\n                    transformTemplateHasChanged)) {\n                resetTransform(this.instance, transformTemplateValue);\n                this.shouldResetTransform = false;\n                this.scheduleRender();\n            }\n        }\n        measure(removeTransform = true) {\n            const pageBox = this.measurePageBox();\n            let layoutBox = this.removeElementScroll(pageBox);\n            /**\n             * Measurements taken during the pre-render stage\n             * still have transforms applied so we remove them\n             * via calculation.\n             */\n            if (removeTransform) {\n                layoutBox = this.removeTransform(layoutBox);\n            }\n            roundBox(layoutBox);\n            return {\n                animationId: this.root.animationId,\n                measuredBox: pageBox,\n                layoutBox,\n                latestValues: {},\n                source: this.id,\n            };\n        }\n        measurePageBox() {\n            var _a;\n            const { visualElement } = this.options;\n            if (!visualElement)\n                return createBox();\n            const box = visualElement.measureViewportBox();\n            const wasInScrollRoot = ((_a = this.scroll) === null || _a === void 0 ? void 0 : _a.wasRoot) || this.path.some(checkNodeWasScrollRoot);\n            if (!wasInScrollRoot) {\n                // Remove viewport scroll to give page-relative coordinates\n                const { scroll } = this.root;\n                if (scroll) {\n                    translateAxis(box.x, scroll.offset.x);\n                    translateAxis(box.y, scroll.offset.y);\n                }\n            }\n            return box;\n        }\n        removeElementScroll(box) {\n            var _a;\n            const boxWithoutScroll = createBox();\n            copyBoxInto(boxWithoutScroll, box);\n            if ((_a = this.scroll) === null || _a === void 0 ? void 0 : _a.wasRoot) {\n                return boxWithoutScroll;\n            }\n            /**\n             * Performance TODO: Keep a cumulative scroll offset down the tree\n             * rather than loop back up the path.\n             */\n            for (let i = 0; i < this.path.length; i++) {\n                const node = this.path[i];\n                const { scroll, options } = node;\n                if (node !== this.root && scroll && options.layoutScroll) {\n                    /**\n                     * If this is a new scroll root, we want to remove all previous scrolls\n                     * from the viewport box.\n                     */\n                    if (scroll.wasRoot) {\n                        copyBoxInto(boxWithoutScroll, box);\n                    }\n                    translateAxis(boxWithoutScroll.x, scroll.offset.x);\n                    translateAxis(boxWithoutScroll.y, scroll.offset.y);\n                }\n            }\n            return boxWithoutScroll;\n        }\n        applyTransform(box, transformOnly = false) {\n            const withTransforms = createBox();\n            copyBoxInto(withTransforms, box);\n            for (let i = 0; i < this.path.length; i++) {\n                const node = this.path[i];\n                if (!transformOnly &&\n                    node.options.layoutScroll &&\n                    node.scroll &&\n                    node !== node.root) {\n                    transformBox(withTransforms, {\n                        x: -node.scroll.offset.x,\n                        y: -node.scroll.offset.y,\n                    });\n                }\n                if (!hasTransform(node.latestValues))\n                    continue;\n                transformBox(withTransforms, node.latestValues);\n            }\n            if (hasTransform(this.latestValues)) {\n                transformBox(withTransforms, this.latestValues);\n            }\n            return withTransforms;\n        }\n        removeTransform(box) {\n            const boxWithoutTransform = createBox();\n            copyBoxInto(boxWithoutTransform, box);\n            for (let i = 0; i < this.path.length; i++) {\n                const node = this.path[i];\n                if (!node.instance)\n                    continue;\n                if (!hasTransform(node.latestValues))\n                    continue;\n                hasScale(node.latestValues) && node.updateSnapshot();\n                const sourceBox = createBox();\n                const nodeBox = node.measurePageBox();\n                copyBoxInto(sourceBox, nodeBox);\n                removeBoxTransforms(boxWithoutTransform, node.latestValues, node.snapshot ? node.snapshot.layoutBox : undefined, sourceBox);\n            }\n            if (hasTransform(this.latestValues)) {\n                removeBoxTransforms(boxWithoutTransform, this.latestValues);\n            }\n            return boxWithoutTransform;\n        }\n        setTargetDelta(delta) {\n            this.targetDelta = delta;\n            this.root.scheduleUpdateProjection();\n            this.isProjectionDirty = true;\n        }\n        setOptions(options) {\n            this.options = {\n                ...this.options,\n                ...options,\n                crossfade: options.crossfade !== undefined ? options.crossfade : true,\n            };\n        }\n        clearMeasurements() {\n            this.scroll = undefined;\n            this.layout = undefined;\n            this.snapshot = undefined;\n            this.prevTransformTemplateValue = undefined;\n            this.targetDelta = undefined;\n            this.target = undefined;\n            this.isLayoutDirty = false;\n        }\n        forceRelativeParentToResolveTarget() {\n            if (!this.relativeParent)\n                return;\n            /**\n             * If the parent target isn't up-to-date, force it to update.\n             * This is an unfortunate de-optimisation as it means any updating relative\n             * projection will cause all the relative parents to recalculate back\n             * up the tree.\n             */\n            if (this.relativeParent.resolvedRelativeTargetAt !==\n                frameData.timestamp) {\n                this.relativeParent.resolveTargetDelta(true);\n            }\n        }\n        resolveTargetDelta(forceRecalculation = false) {\n            var _a;\n            /**\n             * Once the dirty status of nodes has been spread through the tree, we also\n             * need to check if we have a shared node of a different depth that has itself\n             * been dirtied.\n             */\n            const lead = this.getLead();\n            this.isProjectionDirty || (this.isProjectionDirty = lead.isProjectionDirty);\n            this.isTransformDirty || (this.isTransformDirty = lead.isTransformDirty);\n            this.isSharedProjectionDirty || (this.isSharedProjectionDirty = lead.isSharedProjectionDirty);\n            const isShared = Boolean(this.resumingFrom) || this !== lead;\n            /**\n             * We don't use transform for this step of processing so we don't\n             * need to check whether any nodes have changed transform.\n             */\n            const canSkip = !(forceRecalculation ||\n                (isShared && this.isSharedProjectionDirty) ||\n                this.isProjectionDirty ||\n                ((_a = this.parent) === null || _a === void 0 ? void 0 : _a.isProjectionDirty) ||\n                this.attemptToResolveRelativeTarget ||\n                this.root.updateBlockedByResize);\n            if (canSkip)\n                return;\n            const { layout, layoutId } = this.options;\n            /**\n             * If we have no layout, we can't perform projection, so early return\n             */\n            if (!this.layout || !(layout || layoutId))\n                return;\n            this.resolvedRelativeTargetAt = frameData.timestamp;\n            /**\n             * If we don't have a targetDelta but do have a layout, we can attempt to resolve\n             * a relativeParent. This will allow a component to perform scale correction\n             * even if no animation has started.\n             */\n            if (!this.targetDelta && !this.relativeTarget) {\n                const relativeParent = this.getClosestProjectingParent();\n                if (relativeParent &&\n                    relativeParent.layout &&\n                    this.animationProgress !== 1) {\n                    this.relativeParent = relativeParent;\n                    this.forceRelativeParentToResolveTarget();\n                    this.relativeTarget = createBox();\n                    this.relativeTargetOrigin = createBox();\n                    calcRelativePosition(this.relativeTargetOrigin, this.layout.layoutBox, relativeParent.layout.layoutBox);\n                    copyBoxInto(this.relativeTarget, this.relativeTargetOrigin);\n                }\n                else {\n                    this.relativeParent = this.relativeTarget = undefined;\n                }\n            }\n            /**\n             * If we have no relative target or no target delta our target isn't valid\n             * for this frame.\n             */\n            if (!this.relativeTarget && !this.targetDelta)\n                return;\n            /**\n             * Lazy-init target data structure\n             */\n            if (!this.target) {\n                this.target = createBox();\n                this.targetWithTransforms = createBox();\n            }\n            /**\n             * If we've got a relative box for this component, resolve it into a target relative to the parent.\n             */\n            if (this.relativeTarget &&\n                this.relativeTargetOrigin &&\n                this.relativeParent &&\n                this.relativeParent.target) {\n                this.forceRelativeParentToResolveTarget();\n                calcRelativeBox(this.target, this.relativeTarget, this.relativeParent.target);\n                /**\n                 * If we've only got a targetDelta, resolve it into a target\n                 */\n            }\n            else if (this.targetDelta) {\n                if (Boolean(this.resumingFrom)) {\n                    // TODO: This is creating a new object every frame\n                    this.target = this.applyTransform(this.layout.layoutBox);\n                }\n                else {\n                    copyBoxInto(this.target, this.layout.layoutBox);\n                }\n                applyBoxDelta(this.target, this.targetDelta);\n            }\n            else {\n                /**\n                 * If no target, use own layout as target\n                 */\n                copyBoxInto(this.target, this.layout.layoutBox);\n            }\n            /**\n             * If we've been told to attempt to resolve a relative target, do so.\n             */\n            if (this.attemptToResolveRelativeTarget) {\n                this.attemptToResolveRelativeTarget = false;\n                const relativeParent = this.getClosestProjectingParent();\n                if (relativeParent &&\n                    Boolean(relativeParent.resumingFrom) ===\n                        Boolean(this.resumingFrom) &&\n                    !relativeParent.options.layoutScroll &&\n                    relativeParent.target &&\n                    this.animationProgress !== 1) {\n                    this.relativeParent = relativeParent;\n                    this.forceRelativeParentToResolveTarget();\n                    this.relativeTarget = createBox();\n                    this.relativeTargetOrigin = createBox();\n                    calcRelativePosition(this.relativeTargetOrigin, this.target, relativeParent.target);\n                    copyBoxInto(this.relativeTarget, this.relativeTargetOrigin);\n                }\n                else {\n                    this.relativeParent = this.relativeTarget = undefined;\n                }\n            }\n            /**\n             * Increase debug counter for resolved target deltas\n             */\n            if (isDebug) {\n                metrics.resolvedTargetDeltas++;\n            }\n        }\n        getClosestProjectingParent() {\n            if (!this.parent ||\n                hasScale(this.parent.latestValues) ||\n                has2DTranslate(this.parent.latestValues)) {\n                return undefined;\n            }\n            if (this.parent.isProjecting()) {\n                return this.parent;\n            }\n            else {\n                return this.parent.getClosestProjectingParent();\n            }\n        }\n        isProjecting() {\n            return Boolean((this.relativeTarget ||\n                this.targetDelta ||\n                this.options.layoutRoot) &&\n                this.layout);\n        }\n        calcProjection() {\n            var _a;\n            const lead = this.getLead();\n            const isShared = Boolean(this.resumingFrom) || this !== lead;\n            let canSkip = true;\n            /**\n             * If this is a normal layout animation and neither this node nor its nearest projecting\n             * is dirty then we can't skip.\n             */\n            if (this.isProjectionDirty || ((_a = this.parent) === null || _a === void 0 ? void 0 : _a.isProjectionDirty)) {\n                canSkip = false;\n            }\n            /**\n             * If this is a shared layout animation and this node's shared projection is dirty then\n             * we can't skip.\n             */\n            if (isShared &&\n                (this.isSharedProjectionDirty || this.isTransformDirty)) {\n                canSkip = false;\n            }\n            /**\n             * If we have resolved the target this frame we must recalculate the\n             * projection to ensure it visually represents the internal calculations.\n             */\n            if (this.resolvedRelativeTargetAt === frameData.timestamp) {\n                canSkip = false;\n            }\n            if (canSkip)\n                return;\n            const { layout, layoutId } = this.options;\n            /**\n             * If this section of the tree isn't animating we can\n             * delete our target sources for the following frame.\n             */\n            this.isTreeAnimating = Boolean((this.parent && this.parent.isTreeAnimating) ||\n                this.currentAnimation ||\n                this.pendingAnimation);\n            if (!this.isTreeAnimating) {\n                this.targetDelta = this.relativeTarget = undefined;\n            }\n            if (!this.layout || !(layout || layoutId))\n                return;\n            /**\n             * Reset the corrected box with the latest values from box, as we're then going\n             * to perform mutative operations on it.\n             */\n            copyBoxInto(this.layoutCorrected, this.layout.layoutBox);\n            /**\n             * Record previous tree scales before updating.\n             */\n            const prevTreeScaleX = this.treeScale.x;\n            const prevTreeScaleY = this.treeScale.y;\n            /**\n             * Apply all the parent deltas to this box to produce the corrected box. This\n             * is the layout box, as it will appear on screen as a result of the transforms of its parents.\n             */\n            applyTreeDeltas(this.layoutCorrected, this.treeScale, this.path, isShared);\n            /**\n             * If this layer needs to perform scale correction but doesn't have a target,\n             * use the layout as the target.\n             */\n            if (lead.layout &&\n                !lead.target &&\n                (this.treeScale.x !== 1 || this.treeScale.y !== 1)) {\n                lead.target = lead.layout.layoutBox;\n                lead.targetWithTransforms = createBox();\n            }\n            const { target } = lead;\n            if (!target) {\n                /**\n                 * If we don't have a target to project into, but we were previously\n                 * projecting, we want to remove the stored transform and schedule\n                 * a render to ensure the elements reflect the removed transform.\n                 */\n                if (this.prevProjectionDelta) {\n                    this.createProjectionDeltas();\n                    this.scheduleRender();\n                }\n                return;\n            }\n            if (!this.projectionDelta || !this.prevProjectionDelta) {\n                this.createProjectionDeltas();\n            }\n            else {\n                copyAxisDeltaInto(this.prevProjectionDelta.x, this.projectionDelta.x);\n                copyAxisDeltaInto(this.prevProjectionDelta.y, this.projectionDelta.y);\n            }\n            /**\n             * Update the delta between the corrected box and the target box before user-set transforms were applied.\n             * This will allow us to calculate the corrected borderRadius and boxShadow to compensate\n             * for our layout reprojection, but still allow them to be scaled correctly by the user.\n             * It might be that to simplify this we may want to accept that user-set scale is also corrected\n             * and we wouldn't have to keep and calc both deltas, OR we could support a user setting\n             * to allow people to choose whether these styles are corrected based on just the\n             * layout reprojection or the final bounding box.\n             */\n            calcBoxDelta(this.projectionDelta, this.layoutCorrected, target, this.latestValues);\n            if (this.treeScale.x !== prevTreeScaleX ||\n                this.treeScale.y !== prevTreeScaleY ||\n                !axisDeltaEquals(this.projectionDelta.x, this.prevProjectionDelta.x) ||\n                !axisDeltaEquals(this.projectionDelta.y, this.prevProjectionDelta.y)) {\n                this.hasProjected = true;\n                this.scheduleRender();\n                this.notifyListeners(\"projectionUpdate\", target);\n            }\n            /**\n             * Increase debug counter for recalculated projections\n             */\n            if (isDebug) {\n                metrics.recalculatedProjection++;\n            }\n        }\n        hide() {\n            this.isVisible = false;\n            // TODO: Schedule render\n        }\n        show() {\n            this.isVisible = true;\n            // TODO: Schedule render\n        }\n        scheduleRender(notifyAll = true) {\n            var _a;\n            (_a = this.options.visualElement) === null || _a === void 0 ? void 0 : _a.scheduleRender();\n            if (notifyAll) {\n                const stack = this.getStack();\n                stack && stack.scheduleRender();\n            }\n            if (this.resumingFrom && !this.resumingFrom.instance) {\n                this.resumingFrom = undefined;\n            }\n        }\n        createProjectionDeltas() {\n            this.prevProjectionDelta = createDelta();\n            this.projectionDelta = createDelta();\n            this.projectionDeltaWithTransform = createDelta();\n        }\n        setAnimationOrigin(delta, hasOnlyRelativeTargetChanged = false) {\n            const snapshot = this.snapshot;\n            const snapshotLatestValues = snapshot\n                ? snapshot.latestValues\n                : {};\n            const mixedValues = { ...this.latestValues };\n            const targetDelta = createDelta();\n            if (!this.relativeParent ||\n                !this.relativeParent.options.layoutRoot) {\n                this.relativeTarget = this.relativeTargetOrigin = undefined;\n            }\n            this.attemptToResolveRelativeTarget = !hasOnlyRelativeTargetChanged;\n            const relativeLayout = createBox();\n            const snapshotSource = snapshot ? snapshot.source : undefined;\n            const layoutSource = this.layout ? this.layout.source : undefined;\n            const isSharedLayoutAnimation = snapshotSource !== layoutSource;\n            const stack = this.getStack();\n            const isOnlyMember = !stack || stack.members.length <= 1;\n            const shouldCrossfadeOpacity = Boolean(isSharedLayoutAnimation &&\n                !isOnlyMember &&\n                this.options.crossfade === true &&\n                !this.path.some(hasOpacityCrossfade));\n            this.animationProgress = 0;\n            let prevRelativeTarget;\n            this.mixTargetDelta = (latest) => {\n                const progress = latest / 1000;\n                mixAxisDelta(targetDelta.x, delta.x, progress);\n                mixAxisDelta(targetDelta.y, delta.y, progress);\n                this.setTargetDelta(targetDelta);\n                if (this.relativeTarget &&\n                    this.relativeTargetOrigin &&\n                    this.layout &&\n                    this.relativeParent &&\n                    this.relativeParent.layout) {\n                    calcRelativePosition(relativeLayout, this.layout.layoutBox, this.relativeParent.layout.layoutBox);\n                    mixBox(this.relativeTarget, this.relativeTargetOrigin, relativeLayout, progress);\n                    /**\n                     * If this is an unchanged relative target we can consider the\n                     * projection not dirty.\n                     */\n                    if (prevRelativeTarget &&\n                        boxEquals(this.relativeTarget, prevRelativeTarget)) {\n                        this.isProjectionDirty = false;\n                    }\n                    if (!prevRelativeTarget)\n                        prevRelativeTarget = createBox();\n                    copyBoxInto(prevRelativeTarget, this.relativeTarget);\n                }\n                if (isSharedLayoutAnimation) {\n                    this.animationValues = mixedValues;\n                    mixValues(mixedValues, snapshotLatestValues, this.latestValues, progress, shouldCrossfadeOpacity, isOnlyMember);\n                }\n                this.root.scheduleUpdateProjection();\n                this.scheduleRender();\n                this.animationProgress = progress;\n            };\n            this.mixTargetDelta(this.options.layoutRoot ? 1000 : 0);\n        }\n        startAnimation(options) {\n            this.notifyListeners(\"animationStart\");\n            this.currentAnimation && this.currentAnimation.stop();\n            if (this.resumingFrom && this.resumingFrom.currentAnimation) {\n                this.resumingFrom.currentAnimation.stop();\n            }\n            if (this.pendingAnimation) {\n                cancelFrame(this.pendingAnimation);\n                this.pendingAnimation = undefined;\n            }\n            /**\n             * Start the animation in the next frame to have a frame with progress 0,\n             * where the target is the same as when the animation started, so we can\n             * calculate the relative positions correctly for instant transitions.\n             */\n            this.pendingAnimation = frame.update(() => {\n                globalProjectionState.hasAnimatedSinceResize = true;\n                this.currentAnimation = animateSingleValue(0, animationTarget, {\n                    ...options,\n                    onUpdate: (latest) => {\n                        this.mixTargetDelta(latest);\n                        options.onUpdate && options.onUpdate(latest);\n                    },\n                    onComplete: () => {\n                        options.onComplete && options.onComplete();\n                        this.completeAnimation();\n                    },\n                });\n                if (this.resumingFrom) {\n                    this.resumingFrom.currentAnimation = this.currentAnimation;\n                }\n                this.pendingAnimation = undefined;\n            });\n        }\n        completeAnimation() {\n            if (this.resumingFrom) {\n                this.resumingFrom.currentAnimation = undefined;\n                this.resumingFrom.preserveOpacity = undefined;\n            }\n            const stack = this.getStack();\n            stack && stack.exitAnimationComplete();\n            this.resumingFrom =\n                this.currentAnimation =\n                    this.animationValues =\n                        undefined;\n            this.notifyListeners(\"animationComplete\");\n        }\n        finishAnimation() {\n            if (this.currentAnimation) {\n                this.mixTargetDelta && this.mixTargetDelta(animationTarget);\n                this.currentAnimation.stop();\n            }\n            this.completeAnimation();\n        }\n        applyTransformsToTarget() {\n            const lead = this.getLead();\n            let { targetWithTransforms, target, layout, latestValues } = lead;\n            if (!targetWithTransforms || !target || !layout)\n                return;\n            /**\n             * If we're only animating position, and this element isn't the lead element,\n             * then instead of projecting into the lead box we instead want to calculate\n             * a new target that aligns the two boxes but maintains the layout shape.\n             */\n            if (this !== lead &&\n                this.layout &&\n                layout &&\n                shouldAnimatePositionOnly(this.options.animationType, this.layout.layoutBox, layout.layoutBox)) {\n                target = this.target || createBox();\n                const xLength = calcLength(this.layout.layoutBox.x);\n                target.x.min = lead.target.x.min;\n                target.x.max = target.x.min + xLength;\n                const yLength = calcLength(this.layout.layoutBox.y);\n                target.y.min = lead.target.y.min;\n                target.y.max = target.y.min + yLength;\n            }\n            copyBoxInto(targetWithTransforms, target);\n            /**\n             * Apply the latest user-set transforms to the targetBox to produce the targetBoxFinal.\n             * This is the final box that we will then project into by calculating a transform delta and\n             * applying it to the corrected box.\n             */\n            transformBox(targetWithTransforms, latestValues);\n            /**\n             * Update the delta between the corrected box and the final target box, after\n             * user-set transforms are applied to it. This will be used by the renderer to\n             * create a transform style that will reproject the element from its layout layout\n             * into the desired bounding box.\n             */\n            calcBoxDelta(this.projectionDeltaWithTransform, this.layoutCorrected, targetWithTransforms, latestValues);\n        }\n        registerSharedNode(layoutId, node) {\n            if (!this.sharedNodes.has(layoutId)) {\n                this.sharedNodes.set(layoutId, new NodeStack());\n            }\n            const stack = this.sharedNodes.get(layoutId);\n            stack.add(node);\n            const config = node.options.initialPromotionConfig;\n            node.promote({\n                transition: config ? config.transition : undefined,\n                preserveFollowOpacity: config && config.shouldPreserveFollowOpacity\n                    ? config.shouldPreserveFollowOpacity(node)\n                    : undefined,\n            });\n        }\n        isLead() {\n            const stack = this.getStack();\n            return stack ? stack.lead === this : true;\n        }\n        getLead() {\n            var _a;\n            const { layoutId } = this.options;\n            return layoutId ? ((_a = this.getStack()) === null || _a === void 0 ? void 0 : _a.lead) || this : this;\n        }\n        getPrevLead() {\n            var _a;\n            const { layoutId } = this.options;\n            return layoutId ? (_a = this.getStack()) === null || _a === void 0 ? void 0 : _a.prevLead : undefined;\n        }\n        getStack() {\n            const { layoutId } = this.options;\n            if (layoutId)\n                return this.root.sharedNodes.get(layoutId);\n        }\n        promote({ needsReset, transition, preserveFollowOpacity, } = {}) {\n            const stack = this.getStack();\n            if (stack)\n                stack.promote(this, preserveFollowOpacity);\n            if (needsReset) {\n                this.projectionDelta = undefined;\n                this.needsReset = true;\n            }\n            if (transition)\n                this.setOptions({ transition });\n        }\n        relegate() {\n            const stack = this.getStack();\n            if (stack) {\n                return stack.relegate(this);\n            }\n            else {\n                return false;\n            }\n        }\n        resetSkewAndRotation() {\n            const { visualElement } = this.options;\n            if (!visualElement)\n                return;\n            // If there's no detected skew or rotation values, we can early return without a forced render.\n            let hasDistortingTransform = false;\n            /**\n             * An unrolled check for rotation values. Most elements don't have any rotation and\n             * skipping the nested loop and new object creation is 50% faster.\n             */\n            const { latestValues } = visualElement;\n            if (latestValues.z ||\n                latestValues.rotate ||\n                latestValues.rotateX ||\n                latestValues.rotateY ||\n                latestValues.rotateZ ||\n                latestValues.skewX ||\n                latestValues.skewY) {\n                hasDistortingTransform = true;\n            }\n            // If there's no distorting values, we don't need to do any more.\n            if (!hasDistortingTransform)\n                return;\n            const resetValues = {};\n            if (latestValues.z) {\n                resetDistortingTransform(\"z\", visualElement, resetValues, this.animationValues);\n            }\n            // Check the skew and rotate value of all axes and reset to 0\n            for (let i = 0; i < transformAxes.length; i++) {\n                resetDistortingTransform(`rotate${transformAxes[i]}`, visualElement, resetValues, this.animationValues);\n                resetDistortingTransform(`skew${transformAxes[i]}`, visualElement, resetValues, this.animationValues);\n            }\n            // Force a render of this element to apply the transform with all skews and rotations\n            // set to 0.\n            visualElement.render();\n            // Put back all the values we reset\n            for (const key in resetValues) {\n                visualElement.setStaticValue(key, resetValues[key]);\n                if (this.animationValues) {\n                    this.animationValues[key] = resetValues[key];\n                }\n            }\n            // Schedule a render for the next frame. This ensures we won't visually\n            // see the element with the reset rotate value applied.\n            visualElement.scheduleRender();\n        }\n        getProjectionStyles(styleProp) {\n            var _a, _b;\n            if (!this.instance || this.isSVG)\n                return undefined;\n            if (!this.isVisible) {\n                return hiddenVisibility;\n            }\n            const styles = {\n                visibility: \"\",\n            };\n            const transformTemplate = this.getTransformTemplate();\n            if (this.needsReset) {\n                this.needsReset = false;\n                styles.opacity = \"\";\n                styles.pointerEvents =\n                    resolveMotionValue(styleProp === null || styleProp === void 0 ? void 0 : styleProp.pointerEvents) || \"\";\n                styles.transform = transformTemplate\n                    ? transformTemplate(this.latestValues, \"\")\n                    : \"none\";\n                return styles;\n            }\n            const lead = this.getLead();\n            if (!this.projectionDelta || !this.layout || !lead.target) {\n                const emptyStyles = {};\n                if (this.options.layoutId) {\n                    emptyStyles.opacity =\n                        this.latestValues.opacity !== undefined\n                            ? this.latestValues.opacity\n                            : 1;\n                    emptyStyles.pointerEvents =\n                        resolveMotionValue(styleProp === null || styleProp === void 0 ? void 0 : styleProp.pointerEvents) || \"\";\n                }\n                if (this.hasProjected && !hasTransform(this.latestValues)) {\n                    emptyStyles.transform = transformTemplate\n                        ? transformTemplate({}, \"\")\n                        : \"none\";\n                    this.hasProjected = false;\n                }\n                return emptyStyles;\n            }\n            const valuesToRender = lead.animationValues || lead.latestValues;\n            this.applyTransformsToTarget();\n            styles.transform = buildProjectionTransform(this.projectionDeltaWithTransform, this.treeScale, valuesToRender);\n            if (transformTemplate) {\n                styles.transform = transformTemplate(valuesToRender, styles.transform);\n            }\n            const { x, y } = this.projectionDelta;\n            styles.transformOrigin = `${x.origin * 100}% ${y.origin * 100}% 0`;\n            if (lead.animationValues) {\n                /**\n                 * If the lead component is animating, assign this either the entering/leaving\n                 * opacity\n                 */\n                styles.opacity =\n                    lead === this\n                        ? (_b = (_a = valuesToRender.opacity) !== null && _a !== void 0 ? _a : this.latestValues.opacity) !== null && _b !== void 0 ? _b : 1\n                        : this.preserveOpacity\n                            ? this.latestValues.opacity\n                            : valuesToRender.opacityExit;\n            }\n            else {\n                /**\n                 * Or we're not animating at all, set the lead component to its layout\n                 * opacity and other components to hidden.\n                 */\n                styles.opacity =\n                    lead === this\n                        ? valuesToRender.opacity !== undefined\n                            ? valuesToRender.opacity\n                            : \"\"\n                        : valuesToRender.opacityExit !== undefined\n                            ? valuesToRender.opacityExit\n                            : 0;\n            }\n            /**\n             * Apply scale correction\n             */\n            for (const key in scaleCorrectors) {\n                if (valuesToRender[key] === undefined)\n                    continue;\n                const { correct, applyTo } = scaleCorrectors[key];\n                /**\n                 * Only apply scale correction to the value if we have an\n                 * active projection transform. Otherwise these values become\n                 * vulnerable to distortion if the element changes size without\n                 * a corresponding layout animation.\n                 */\n                const corrected = styles.transform === \"none\"\n                    ? valuesToRender[key]\n                    : correct(valuesToRender[key], lead);\n                if (applyTo) {\n                    const num = applyTo.length;\n                    for (let i = 0; i < num; i++) {\n                        styles[applyTo[i]] = corrected;\n                    }\n                }\n                else {\n                    styles[key] = corrected;\n                }\n            }\n            /**\n             * Disable pointer events on follow components. This is to ensure\n             * that if a follow component covers a lead component it doesn't block\n             * pointer events on the lead.\n             */\n            if (this.options.layoutId) {\n                styles.pointerEvents =\n                    lead === this\n                        ? resolveMotionValue(styleProp === null || styleProp === void 0 ? void 0 : styleProp.pointerEvents) || \"\"\n                        : \"none\";\n            }\n            return styles;\n        }\n        clearSnapshot() {\n            this.resumeFrom = this.snapshot = undefined;\n        }\n        // Only run on root\n        resetTree() {\n            this.root.nodes.forEach((node) => { var _a; return (_a = node.currentAnimation) === null || _a === void 0 ? void 0 : _a.stop(); });\n            this.root.nodes.forEach(clearMeasurements);\n            this.root.sharedNodes.clear();\n        }\n    };\n}\nfunction updateLayout(node) {\n    node.updateLayout();\n}\nfunction notifyLayoutUpdate(node) {\n    var _a;\n    const snapshot = ((_a = node.resumeFrom) === null || _a === void 0 ? void 0 : _a.snapshot) || node.snapshot;\n    if (node.isLead() &&\n        node.layout &&\n        snapshot &&\n        node.hasListeners(\"didUpdate\")) {\n        const { layoutBox: layout, measuredBox: measuredLayout } = node.layout;\n        const { animationType } = node.options;\n        const isShared = snapshot.source !== node.layout.source;\n        // TODO Maybe we want to also resize the layout snapshot so we don't trigger\n        // animations for instance if layout=\"size\" and an element has only changed position\n        if (animationType === \"size\") {\n            eachAxis((axis) => {\n                const axisSnapshot = isShared\n                    ? snapshot.measuredBox[axis]\n                    : snapshot.layoutBox[axis];\n                const length = calcLength(axisSnapshot);\n                axisSnapshot.min = layout[axis].min;\n                axisSnapshot.max = axisSnapshot.min + length;\n            });\n        }\n        else if (shouldAnimatePositionOnly(animationType, snapshot.layoutBox, layout)) {\n            eachAxis((axis) => {\n                const axisSnapshot = isShared\n                    ? snapshot.measuredBox[axis]\n                    : snapshot.layoutBox[axis];\n                const length = calcLength(layout[axis]);\n                axisSnapshot.max = axisSnapshot.min + length;\n                /**\n                 * Ensure relative target gets resized and rerendererd\n                 */\n                if (node.relativeTarget && !node.currentAnimation) {\n                    node.isProjectionDirty = true;\n                    node.relativeTarget[axis].max =\n                        node.relativeTarget[axis].min + length;\n                }\n            });\n        }\n        const layoutDelta = createDelta();\n        calcBoxDelta(layoutDelta, layout, snapshot.layoutBox);\n        const visualDelta = createDelta();\n        if (isShared) {\n            calcBoxDelta(visualDelta, node.applyTransform(measuredLayout, true), snapshot.measuredBox);\n        }\n        else {\n            calcBoxDelta(visualDelta, layout, snapshot.layoutBox);\n        }\n        const hasLayoutChanged = !isDeltaZero(layoutDelta);\n        let hasRelativeTargetChanged = false;\n        if (!node.resumeFrom) {\n            const relativeParent = node.getClosestProjectingParent();\n            /**\n             * If the relativeParent is itself resuming from a different element then\n             * the relative snapshot is not relavent\n             */\n            if (relativeParent && !relativeParent.resumeFrom) {\n                const { snapshot: parentSnapshot, layout: parentLayout } = relativeParent;\n                if (parentSnapshot && parentLayout) {\n                    const relativeSnapshot = createBox();\n                    calcRelativePosition(relativeSnapshot, snapshot.layoutBox, parentSnapshot.layoutBox);\n                    const relativeLayout = createBox();\n                    calcRelativePosition(relativeLayout, layout, parentLayout.layoutBox);\n                    if (!boxEqualsRounded(relativeSnapshot, relativeLayout)) {\n                        hasRelativeTargetChanged = true;\n                    }\n                    if (relativeParent.options.layoutRoot) {\n                        node.relativeTarget = relativeLayout;\n                        node.relativeTargetOrigin = relativeSnapshot;\n                        node.relativeParent = relativeParent;\n                    }\n                }\n            }\n        }\n        node.notifyListeners(\"didUpdate\", {\n            layout,\n            snapshot,\n            delta: visualDelta,\n            layoutDelta,\n            hasLayoutChanged,\n            hasRelativeTargetChanged,\n        });\n    }\n    else if (node.isLead()) {\n        const { onExitComplete } = node.options;\n        onExitComplete && onExitComplete();\n    }\n    /**\n     * Clearing transition\n     * TODO: Investigate why this transition is being passed in as {type: false } from Framer\n     * and why we need it at all\n     */\n    node.options.transition = undefined;\n}\nfunction propagateDirtyNodes(node) {\n    /**\n     * Increase debug counter for nodes encountered this frame\n     */\n    if (isDebug) {\n        metrics.totalNodes++;\n    }\n    if (!node.parent)\n        return;\n    /**\n     * If this node isn't projecting, propagate isProjectionDirty. It will have\n     * no performance impact but it will allow the next child that *is* projecting\n     * but *isn't* dirty to just check its parent to see if *any* ancestor needs\n     * correcting.\n     */\n    if (!node.isProjecting()) {\n        node.isProjectionDirty = node.parent.isProjectionDirty;\n    }\n    /**\n     * Propagate isSharedProjectionDirty and isTransformDirty\n     * throughout the whole tree. A future revision can take another look at\n     * this but for safety we still recalcualte shared nodes.\n     */\n    node.isSharedProjectionDirty || (node.isSharedProjectionDirty = Boolean(node.isProjectionDirty ||\n        node.parent.isProjectionDirty ||\n        node.parent.isSharedProjectionDirty));\n    node.isTransformDirty || (node.isTransformDirty = node.parent.isTransformDirty);\n}\nfunction cleanDirtyNodes(node) {\n    node.isProjectionDirty =\n        node.isSharedProjectionDirty =\n            node.isTransformDirty =\n                false;\n}\nfunction clearSnapshot(node) {\n    node.clearSnapshot();\n}\nfunction clearMeasurements(node) {\n    node.clearMeasurements();\n}\nfunction clearIsLayoutDirty(node) {\n    node.isLayoutDirty = false;\n}\nfunction resetTransformStyle(node) {\n    const { visualElement } = node.options;\n    if (visualElement && visualElement.getProps().onBeforeLayoutMeasure) {\n        visualElement.notify(\"BeforeLayoutMeasure\");\n    }\n    node.resetTransform();\n}\nfunction finishAnimation(node) {\n    node.finishAnimation();\n    node.targetDelta = node.relativeTarget = node.target = undefined;\n    node.isProjectionDirty = true;\n}\nfunction resolveTargetDelta(node) {\n    node.resolveTargetDelta();\n}\nfunction calcProjection(node) {\n    node.calcProjection();\n}\nfunction resetSkewAndRotation(node) {\n    node.resetSkewAndRotation();\n}\nfunction removeLeadSnapshots(stack) {\n    stack.removeLeadSnapshot();\n}\nfunction mixAxisDelta(output, delta, p) {\n    output.translate = mixNumber(delta.translate, 0, p);\n    output.scale = mixNumber(delta.scale, 1, p);\n    output.origin = delta.origin;\n    output.originPoint = delta.originPoint;\n}\nfunction mixAxis(output, from, to, p) {\n    output.min = mixNumber(from.min, to.min, p);\n    output.max = mixNumber(from.max, to.max, p);\n}\nfunction mixBox(output, from, to, p) {\n    mixAxis(output.x, from.x, to.x, p);\n    mixAxis(output.y, from.y, to.y, p);\n}\nfunction hasOpacityCrossfade(node) {\n    return (node.animationValues && node.animationValues.opacityExit !== undefined);\n}\nconst defaultLayoutTransition = {\n    duration: 0.45,\n    ease: [0.4, 0, 0.1, 1],\n};\nconst userAgentContains = (string) => typeof navigator !== \"undefined\" &&\n    navigator.userAgent &&\n    navigator.userAgent.toLowerCase().includes(string);\n/**\n * Measured bounding boxes must be rounded in Safari and\n * left untouched in Chrome, otherwise non-integer layouts within scaled-up elements\n * can appear to jump.\n */\nconst roundPoint = userAgentContains(\"applewebkit/\") && !userAgentContains(\"chrome/\")\n    ? Math.round\n    : noop;\nfunction roundAxis(axis) {\n    // Round to the nearest .5 pixels to support subpixel layouts\n    axis.min = roundPoint(axis.min);\n    axis.max = roundPoint(axis.max);\n}\nfunction roundBox(box) {\n    roundAxis(box.x);\n    roundAxis(box.y);\n}\nfunction shouldAnimatePositionOnly(animationType, snapshot, layout) {\n    return (animationType === \"position\" ||\n        (animationType === \"preserve-aspect\" &&\n            !isNear(aspectRatio(snapshot), aspectRatio(layout), 0.2)));\n}\nfunction checkNodeWasScrollRoot(node) {\n    var _a;\n    return node !== node.root && ((_a = node.scroll) === null || _a === void 0 ? void 0 : _a.wasRoot);\n}\n\nexport { cleanDirtyNodes, createProjectionNode, mixAxis, mixAxisDelta, mixBox, propagateDirtyNodes };\n","function isSVGElement(element) {\n    return element instanceof SVGElement && element.tagName !== \"svg\";\n}\n\nexport { isSVGElement };\n","import { time } from '../frameloop/sync-time.mjs';\nimport { secondsToMilliseconds } from './time-conversion.mjs';\nimport { frame, cancelFrame } from '../frameloop/frame.mjs';\n\n/**\n * Timeout defined in ms\n */\nfunction delay(callback, timeout) {\n    const start = time.now();\n    const checkElapsed = ({ timestamp }) => {\n        const elapsed = timestamp - start;\n        if (elapsed >= timeout) {\n            cancelFrame(checkElapsed);\n            callback(elapsed - timeout);\n        }\n    };\n    frame.read(checkElapsed, true);\n    return () => cancelFrame(checkElapsed);\n}\nfunction delayInSeconds(callback, timeout) {\n    return delay(callback, secondsToMilliseconds(timeout));\n}\n\nexport { delay, delayInSeconds };\n","import { animateMotionValue } from '../interfaces/motion-value.mjs';\nimport { motionValue } from '../../value/index.mjs';\nimport { isMotionValue } from '../../value/utils/is-motion-value.mjs';\n\nfunction animateSingleValue(value, keyframes, options) {\n    const motionValue$1 = isMotionValue(value) ? value : motionValue(value);\n    motionValue$1.start(animateMotionValue(\"\", motionValue$1, keyframes, options));\n    return motionValue$1.animation;\n}\n\nexport { animateSingleValue };\n","function buildProjectionTransform(delta, treeScale, latestTransform) {\n    let transform = \"\";\n    /**\n     * The translations we use to calculate are always relative to the viewport coordinate space.\n     * But when we apply scales, we also scale the coordinate space of an element and its children.\n     * For instance if we have a treeScale (the culmination of all parent scales) of 0.5 and we need\n     * to move an element 100 pixels, we actually need to move it 200 in within that scaled space.\n     */\n    const xTranslate = delta.x.translate / treeScale.x;\n    const yTranslate = delta.y.translate / treeScale.y;\n    const zTranslate = (latestTransform === null || latestTransform === void 0 ? void 0 : latestTransform.z) || 0;\n    if (xTranslate || yTranslate || zTranslate) {\n        transform = `translate3d(${xTranslate}px, ${yTranslate}px, ${zTranslate}px) `;\n    }\n    /**\n     * Apply scale correction for the tree transform.\n     * This will apply scale to the screen-orientated axes.\n     */\n    if (treeScale.x !== 1 || treeScale.y !== 1) {\n        transform += `scale(${1 / treeScale.x}, ${1 / treeScale.y}) `;\n    }\n    if (latestTransform) {\n        const { transformPerspective, rotate, rotateX, rotateY, skewX, skewY } = latestTransform;\n        if (transformPerspective)\n            transform = `perspective(${transformPerspective}px) ${transform}`;\n        if (rotate)\n            transform += `rotate(${rotate}deg) `;\n        if (rotateX)\n            transform += `rotateX(${rotateX}deg) `;\n        if (rotateY)\n            transform += `rotateY(${rotateY}deg) `;\n        if (skewX)\n            transform += `skewX(${skewX}deg) `;\n        if (skewY)\n            transform += `skewY(${skewY}deg) `;\n    }\n    /**\n     * Apply scale to match the size of the element to the size we want it.\n     * This will apply scale to the element-orientated axes.\n     */\n    const elementScaleX = delta.x.scale * treeScale.x;\n    const elementScaleY = delta.y.scale * treeScale.y;\n    if (elementScaleX !== 1 || elementScaleY !== 1) {\n        transform += `scale(${elementScaleX}, ${elementScaleY})`;\n    }\n    return transform || \"none\";\n}\n\nexport { buildProjectionTransform };\n","import { createProjectionNode } from './create-projection-node.mjs';\nimport { addDomEvent } from '../../events/add-dom-event.mjs';\n\nconst DocumentProjectionNode = createProjectionNode({\n    attachResizeListener: (ref, notify) => addDomEvent(ref, \"resize\", notify),\n    measureScroll: () => ({\n        x: document.documentElement.scrollLeft || document.body.scrollLeft,\n        y: document.documentElement.scrollTop || document.body.scrollTop,\n    }),\n    checkIsScrollRoot: () => true,\n});\n\nexport { DocumentProjectionNode };\n","import { createProjectionNode } from './create-projection-node.mjs';\nimport { DocumentProjectionNode } from './DocumentProjectionNode.mjs';\n\nconst rootProjectionNode = {\n    current: undefined,\n};\nconst HTMLProjectionNode = createProjectionNode({\n    measureScroll: (instance) => ({\n        x: instance.scrollLeft,\n        y: instance.scrollTop,\n    }),\n    defaultParent: () => {\n        if (!rootProjectionNode.current) {\n            const documentNode = new DocumentProjectionNode({});\n            documentNode.mount(window);\n            documentNode.setOptions({ layoutScroll: true });\n            rootProjectionNode.current = documentNode;\n        }\n        return rootProjectionNode.current;\n    },\n    resetTransform: (instance, value) => {\n        instance.style.transform = value !== undefined ? value : \"none\";\n    },\n    checkIsScrollRoot: (instance) => Boolean(window.getComputedStyle(instance).position === \"fixed\"),\n});\n\nexport { HTMLProjectionNode, rootProjectionNode };\n","import { DragGesture } from '../../gestures/drag/index.mjs';\nimport { PanGesture } from '../../gestures/pan/index.mjs';\nimport { MeasureLayout } from './layout/MeasureLayout.mjs';\nimport { HTMLProjectionNode } from '../../projection/node/HTMLProjectionNode.mjs';\n\nconst drag = {\n    pan: {\n        Feature: PanGesture,\n    },\n    drag: {\n        Feature: DragGesture,\n        ProjectionNode: HTMLProjectionNode,\n        MeasureLayout,\n    },\n};\n\nexport { drag };\n","import { Feature } from '../../motion/features/Feature.mjs';\nimport { noop } from 'motion-utils';\nimport { VisualElementDragControls } from './VisualElementDragControls.mjs';\n\nclass DragGesture extends Feature {\n    constructor(node) {\n        super(node);\n        this.removeGroupControls = noop;\n        this.removeListeners = noop;\n        this.controls = new VisualElementDragControls(node);\n    }\n    mount() {\n        // If we've been provided a DragControls for manual control over the drag gesture,\n        // subscribe this component to it on mount.\n        const { dragControls } = this.node.getProps();\n        if (dragControls) {\n            this.removeGroupControls = dragControls.subscribe(this.controls);\n        }\n        this.removeListeners = this.controls.addListeners() || noop;\n    }\n    unmount() {\n        this.removeGroupControls();\n        this.removeListeners();\n    }\n}\n\nexport { DragGesture };\n","import { Feature } from '../motion/features/Feature.mjs';\nimport { hover } from 'motion-dom';\nimport { extractEventInfo } from '../events/event-info.mjs';\nimport { frame } from '../frameloop/frame.mjs';\n\nfunction handleHoverEvent(node, event, lifecycle) {\n    const { props } = node;\n    if (node.animationState && props.whileHover) {\n        node.animationState.setActive(\"whileHover\", lifecycle === \"Start\");\n    }\n    const eventName = (\"onHover\" + lifecycle);\n    const callback = props[eventName];\n    if (callback) {\n        frame.postRender(() => callback(event, extractEventInfo(event)));\n    }\n}\nclass HoverGesture extends Feature {\n    mount() {\n        const { current } = this.node;\n        if (!current)\n            return;\n        this.unmount = hover(current, (startEvent) => {\n            handleHoverEvent(this.node, startEvent, \"Start\");\n            return (endEvent) => handleHoverEvent(this.node, endEvent, \"End\");\n        });\n    }\n    unmount() { }\n}\n\nexport { HoverGesture };\n","import { Feature } from '../motion/features/Feature.mjs';\nimport { press } from 'motion-dom';\nimport { extractEventInfo } from '../events/event-info.mjs';\nimport { frame } from '../frameloop/frame.mjs';\n\nfunction handlePressEvent(node, event, lifecycle) {\n    const { props } = node;\n    if (node.animationState && props.whileTap) {\n        node.animationState.setActive(\"whileTap\", lifecycle === \"Start\");\n    }\n    const eventName = (\"onTap\" + (lifecycle === \"End\" ? \"\" : lifecycle));\n    const callback = props[eventName];\n    if (callback) {\n        frame.postRender(() => callback(event, extractEventInfo(event)));\n    }\n}\nclass PressGesture extends Feature {\n    mount() {\n        const { current } = this.node;\n        if (!current)\n            return;\n        this.unmount = press(current, (startEvent) => {\n            handlePressEvent(this.node, startEvent, \"Start\");\n            return (endEvent, { success }) => handlePressEvent(this.node, endEvent, success ? \"End\" : \"Cancel\");\n        }, { useGlobalTarget: this.node.props.globalTapTarget });\n    }\n    unmount() { }\n}\n\nexport { PressGesture };\n","/**\n * Map an IntersectionHandler callback to an element. We only ever make one handler for one\n * element, so even though these handlers might all be triggered by different\n * observers, we can keep them in the same map.\n */\nconst observerCallbacks = new WeakMap();\n/**\n * Multiple observers can be created for multiple element/document roots. Each with\n * different settings. So here we store dictionaries of observers to each root,\n * using serialised settings (threshold/margin) as lookup keys.\n */\nconst observers = new WeakMap();\nconst fireObserverCallback = (entry) => {\n    const callback = observerCallbacks.get(entry.target);\n    callback && callback(entry);\n};\nconst fireAllObserverCallbacks = (entries) => {\n    entries.forEach(fireObserverCallback);\n};\nfunction initIntersectionObserver({ root, ...options }) {\n    const lookupRoot = root || document;\n    /**\n     * If we don't have an observer lookup map for this root, create one.\n     */\n    if (!observers.has(lookupRoot)) {\n        observers.set(lookupRoot, {});\n    }\n    const rootObservers = observers.get(lookupRoot);\n    const key = JSON.stringify(options);\n    /**\n     * If we don't have an observer for this combination of root and settings,\n     * create one.\n     */\n    if (!rootObservers[key]) {\n        rootObservers[key] = new IntersectionObserver(fireAllObserverCallbacks, { root, ...options });\n    }\n    return rootObservers[key];\n}\nfunction observeIntersection(element, options, callback) {\n    const rootInteresectionObserver = initIntersectionObserver(options);\n    observerCallbacks.set(element, callback);\n    rootInteresectionObserver.observe(element);\n    return () => {\n        observerCallbacks.delete(element);\n        rootInteresectionObserver.unobserve(element);\n    };\n}\n\nexport { observeIntersection };\n","import { Feature } from '../Feature.mjs';\nimport { observeIntersection } from './observers.mjs';\n\nconst thresholdNames = {\n    some: 0,\n    all: 1,\n};\nclass InViewFeature extends Feature {\n    constructor() {\n        super(...arguments);\n        this.hasEnteredView = false;\n        this.isInView = false;\n    }\n    startObserver() {\n        this.unmount();\n        const { viewport = {} } = this.node.getProps();\n        const { root, margin: rootMargin, amount = \"some\", once } = viewport;\n        const options = {\n            root: root ? root.current : undefined,\n            rootMargin,\n            threshold: typeof amount === \"number\" ? amount : thresholdNames[amount],\n        };\n        const onIntersectionUpdate = (entry) => {\n            const { isIntersecting } = entry;\n            /**\n             * If there's been no change in the viewport state, early return.\n             */\n            if (this.isInView === isIntersecting)\n                return;\n            this.isInView = isIntersecting;\n            /**\n             * Handle hasEnteredView. If this is only meant to run once, and\n             * element isn't visible, early return. Otherwise set hasEnteredView to true.\n             */\n            if (once && !isIntersecting && this.hasEnteredView) {\n                return;\n            }\n            else if (isIntersecting) {\n                this.hasEnteredView = true;\n            }\n            if (this.node.animationState) {\n                this.node.animationState.setActive(\"whileInView\", isIntersecting);\n            }\n            /**\n             * Use the latest committed props rather than the ones in scope\n             * when this observer is created\n             */\n            const { onViewportEnter, onViewportLeave } = this.node.getProps();\n            const callback = isIntersecting ? onViewportEnter : onViewportLeave;\n            callback && callback(entry);\n        };\n        return observeIntersection(this.node.current, options, onIntersectionUpdate);\n    }\n    mount() {\n        this.startObserver();\n    }\n    update() {\n        if (typeof IntersectionObserver === \"undefined\")\n            return;\n        const { props, prevProps } = this.node;\n        const hasOptionsChanged = [\"amount\", \"margin\", \"root\"].some(hasViewportOptionChanged(props, prevProps));\n        if (hasOptionsChanged) {\n            this.startObserver();\n        }\n    }\n    unmount() { }\n}\nfunction hasViewportOptionChanged({ viewport = {} }, { viewport: prevViewport = {} } = {}) {\n    return (name) => viewport[name] !== prevViewport[name];\n}\n\nexport { InViewFeature };\n","import { HoverGesture } from '../../gestures/hover.mjs';\nimport { FocusGesture } from '../../gestures/focus.mjs';\nimport { PressGesture } from '../../gestures/press.mjs';\nimport { InViewFeature } from './viewport/index.mjs';\n\nconst gestureAnimations = {\n    inView: {\n        Feature: InViewFeature,\n    },\n    tap: {\n        Feature: PressGesture,\n    },\n    focus: {\n        Feature: FocusGesture,\n    },\n    hover: {\n        Feature: HoverGesture,\n    },\n};\n\nexport { gestureAnimations };\n","import { addDomEvent } from '../events/add-dom-event.mjs';\nimport { Feature } from '../motion/features/Feature.mjs';\nimport { pipe } from '../utils/pipe.mjs';\n\nclass FocusGesture extends Feature {\n    constructor() {\n        super(...arguments);\n        this.isActive = false;\n    }\n    onFocus() {\n        let isFocusVisible = false;\n        /**\n         * If this element doesn't match focus-visible then don't\n         * apply whileHover. But, if matches throws that focus-visible\n         * is not a valid selector then in that browser outline styles will be applied\n         * to the element by default and we want to match that behaviour with whileFocus.\n         */\n        try {\n            isFocusVisible = this.node.current.matches(\":focus-visible\");\n        }\n        catch (e) {\n            isFocusVisible = true;\n        }\n        if (!isFocusVisible || !this.node.animationState)\n            return;\n        this.node.animationState.setActive(\"whileFocus\", true);\n        this.isActive = true;\n    }\n    onBlur() {\n        if (!this.isActive || !this.node.animationState)\n            return;\n        this.node.animationState.setActive(\"whileFocus\", false);\n        this.isActive = false;\n    }\n    mount() {\n        this.unmount = pipe(addDomEvent(this.node.current, \"focus\", () => this.onFocus()), addDomEvent(this.node.current, \"blur\", () => this.onBlur()));\n    }\n    unmount() { }\n}\n\nexport { FocusGesture };\n","import { HTMLProjectionNode } from '../../projection/node/HTMLProjectionNode.mjs';\nimport { MeasureLayout } from './layout/MeasureLayout.mjs';\n\nconst layout = {\n    layout: {\n        ProjectionNode: HTMLProjectionNode,\n        MeasureLayout,\n    },\n};\n\nexport { layout };\n","\"use client\";\nimport { createContext } from 'react';\n\n/**\n * @public\n */\nconst MotionConfigContext = createContext({\n    transformPagePoint: (p) => p,\n    isStatic: false,\n    reducedMotion: \"never\",\n});\n\nexport { MotionConfigContext };\n","\"use client\";\nimport { createContext } from 'react';\n\nconst MotionContext = createContext({});\n\nexport { MotionContext };\n","const isBrowser = typeof window !== \"undefined\";\n\nexport { isBrowser };\n","import { useLayoutEffect, useEffect } from 'react';\nimport { isBrowser } from './is-browser.mjs';\n\nconst useIsomorphicLayoutEffect = isBrowser ? useLayoutEffect : useEffect;\n\nexport { useIsomorphicLayoutEffect };\n","\"use client\";\nimport { createContext } from 'react';\n\nconst LazyContext = createContext({ strict: false });\n\nexport { LazyContext };\n","import { useContext, useRef, useInsertionEffect, useEffect } from 'react';\nimport { PresenceContext } from '../../context/PresenceContext.mjs';\nimport { MotionContext } from '../../context/MotionContext/index.mjs';\nimport { useIsomorphicLayoutEffect } from '../../utils/use-isomorphic-effect.mjs';\nimport { LazyContext } from '../../context/LazyContext.mjs';\nimport { MotionConfigContext } from '../../context/MotionConfigContext.mjs';\nimport { optimizedAppearDataAttribute } from '../../animation/optimized-appear/data-id.mjs';\nimport { microtask } from '../../frameloop/microtask.mjs';\nimport { isRefObject } from '../../utils/is-ref-object.mjs';\nimport { SwitchLayoutGroupContext } from '../../context/SwitchLayoutGroupContext.mjs';\n\nfunction useVisualElement(Component, visualState, props, createVisualElement, ProjectionNodeConstructor) {\n    var _a, _b;\n    const { visualElement: parent } = useContext(MotionContext);\n    const lazyContext = useContext(LazyContext);\n    const presenceContext = useContext(PresenceContext);\n    const reducedMotionConfig = useContext(MotionConfigContext).reducedMotion;\n    const visualElementRef = useRef(null);\n    /**\n     * If we haven't preloaded a renderer, check to see if we have one lazy-loaded\n     */\n    createVisualElement = createVisualElement || lazyContext.renderer;\n    if (!visualElementRef.current && createVisualElement) {\n        visualElementRef.current = createVisualElement(Component, {\n            visualState,\n            parent,\n            props,\n            presenceContext,\n            blockInitialAnimation: presenceContext\n                ? presenceContext.initial === false\n                : false,\n            reducedMotionConfig,\n        });\n    }\n    const visualElement = visualElementRef.current;\n    /**\n     * Load Motion gesture and animation features. These are rendered as renderless\n     * components so each feature can optionally make use of React lifecycle methods.\n     */\n    const initialLayoutGroupConfig = useContext(SwitchLayoutGroupContext);\n    if (visualElement &&\n        !visualElement.projection &&\n        ProjectionNodeConstructor &&\n        (visualElement.type === \"html\" || visualElement.type === \"svg\")) {\n        createProjectionNode(visualElementRef.current, props, ProjectionNodeConstructor, initialLayoutGroupConfig);\n    }\n    const isMounted = useRef(false);\n    useInsertionEffect(() => {\n        /**\n         * Check the component has already mounted before calling\n         * `update` unnecessarily. This ensures we skip the initial update.\n         */\n        if (visualElement && isMounted.current) {\n            visualElement.update(props, presenceContext);\n        }\n    });\n    /**\n     * Cache this value as we want to know whether HandoffAppearAnimations\n     * was present on initial render - it will be deleted after this.\n     */\n    const optimisedAppearId = props[optimizedAppearDataAttribute];\n    const wantsHandoff = useRef(Boolean(optimisedAppearId) &&\n        !((_a = window.MotionHandoffIsComplete) === null || _a === void 0 ? void 0 : _a.call(window, optimisedAppearId)) &&\n        ((_b = window.MotionHasOptimisedAnimation) === null || _b === void 0 ? void 0 : _b.call(window, optimisedAppearId)));\n    useIsomorphicLayoutEffect(() => {\n        if (!visualElement)\n            return;\n        isMounted.current = true;\n        window.MotionIsMounted = true;\n        visualElement.updateFeatures();\n        microtask.render(visualElement.render);\n        /**\n         * Ideally this function would always run in a useEffect.\n         *\n         * However, if we have optimised appear animations to handoff from,\n         * it needs to happen synchronously to ensure there's no flash of\n         * incorrect styles in the event of a hydration error.\n         *\n         * So if we detect a situtation where optimised appear animations\n         * are running, we use useLayoutEffect to trigger animations.\n         */\n        if (wantsHandoff.current && visualElement.animationState) {\n            visualElement.animationState.animateChanges();\n        }\n    });\n    useEffect(() => {\n        if (!visualElement)\n            return;\n        if (!wantsHandoff.current && visualElement.animationState) {\n            visualElement.animationState.animateChanges();\n        }\n        if (wantsHandoff.current) {\n            // This ensures all future calls to animateChanges() in this component will run in useEffect\n            queueMicrotask(() => {\n                var _a;\n                (_a = window.MotionHandoffMarkAsComplete) === null || _a === void 0 ? void 0 : _a.call(window, optimisedAppearId);\n            });\n            wantsHandoff.current = false;\n        }\n    });\n    return visualElement;\n}\nfunction createProjectionNode(visualElement, props, ProjectionNodeConstructor, initialPromotionConfig) {\n    const { layoutId, layout, drag, dragConstraints, layoutScroll, layoutRoot, } = props;\n    visualElement.projection = new ProjectionNodeConstructor(visualElement.latestValues, props[\"data-framer-portal-id\"]\n        ? undefined\n        : getClosestProjectingNode(visualElement.parent));\n    visualElement.projection.setOptions({\n        layoutId,\n        layout,\n        alwaysMeasureLayout: Boolean(drag) || (dragConstraints && isRefObject(dragConstraints)),\n        visualElement,\n        /**\n         * TODO: Update options in an effect. This could be tricky as it'll be too late\n         * to update by the time layout animations run.\n         * We also need to fix this safeToRemove by linking it up to the one returned by usePresence,\n         * ensuring it gets called if there's no potential layout animations.\n         *\n         */\n        animationType: typeof layout === \"string\" ? layout : \"both\",\n        initialPromotionConfig,\n        layoutScroll,\n        layoutRoot,\n    });\n}\nfunction getClosestProjectingNode(visualElement) {\n    if (!visualElement)\n        return undefined;\n    return visualElement.options.allowProjection !== false\n        ? visualElement.projection\n        : getClosestProjectingNode(visualElement.parent);\n}\n\nexport { useVisualElement };\n","import { useCallback } from 'react';\nimport { isRefObject } from '../../utils/is-ref-object.mjs';\n\n/**\n * Creates a ref function that, when called, hydrates the provided\n * external ref and VisualElement.\n */\nfunction useMotionRef(visualState, visualElement, externalRef) {\n    return useCallback((instance) => {\n        instance && visualState.mount && visualState.mount(instance);\n        if (visualElement) {\n            if (instance) {\n                visualElement.mount(instance);\n            }\n            else {\n                visualElement.unmount();\n            }\n        }\n        if (externalRef) {\n            if (typeof externalRef === \"function\") {\n                externalRef(instance);\n            }\n            else if (isRefObject(externalRef)) {\n                externalRef.current = instance;\n            }\n        }\n    }, \n    /**\n     * Only pass a new ref callback to React if we've received a visual element\n     * factory. Otherwise we'll be mounting/remounting every time externalRef\n     * or other dependencies change.\n     */\n    [visualElement]);\n}\n\nexport { useMotionRef };\n","import { isAnimationControls } from '../../animation/utils/is-animation-controls.mjs';\nimport { isVariantLabel } from './is-variant-label.mjs';\nimport { variantProps } from './variant-props.mjs';\n\nfunction isControllingVariants(props) {\n    return (isAnimationControls(props.animate) ||\n        variantProps.some((name) => isVariantLabel(props[name])));\n}\nfunction isVariantNode(props) {\n    return Boolean(isControllingVariants(props) || props.variants);\n}\n\nexport { isControllingVariants, isVariantNode };\n","import { useContext, useMemo } from 'react';\nimport { MotionContext } from './index.mjs';\nimport { getCurrentTreeVariants } from './utils.mjs';\n\nfunction useCreateMotionContext(props) {\n    const { initial, animate } = getCurrentTreeVariants(props, useContext(MotionContext));\n    return useMemo(() => ({ initial, animate }), [variantLabelsAsDependency(initial), variantLabelsAsDependency(animate)]);\n}\nfunction variantLabelsAsDependency(prop) {\n    return Array.isArray(prop) ? prop.join(\" \") : prop;\n}\n\nexport { useCreateMotionContext };\n","import { isVariantLabel } from '../../render/utils/is-variant-label.mjs';\nimport { isControllingVariants } from '../../render/utils/is-controlling-variants.mjs';\n\nfunction getCurrentTreeVariants(props, context) {\n    if (isControllingVariants(props)) {\n        const { initial, animate } = props;\n        return {\n            initial: initial === false || isVariantLabel(initial)\n                ? initial\n                : undefined,\n            animate: isVariantLabel(animate) ? animate : undefined,\n        };\n    }\n    return props.inherit !== false ? context : {};\n}\n\nexport { getCurrentTreeVariants };\n","const featureProps = {\n    animation: [\n        \"animate\",\n        \"variants\",\n        \"whileHover\",\n        \"whileTap\",\n        \"exit\",\n        \"whileInView\",\n        \"whileFocus\",\n        \"whileDrag\",\n    ],\n    exit: [\"exit\"],\n    drag: [\"drag\", \"dragControls\"],\n    focus: [\"whileFocus\"],\n    hover: [\"whileHover\", \"onHoverStart\", \"onHoverEnd\"],\n    tap: [\"whileTap\", \"onTap\", \"onTapStart\", \"onTapCancel\"],\n    pan: [\"onPan\", \"onPanStart\", \"onPanSessionStart\", \"onPanEnd\"],\n    inView: [\"whileInView\", \"onViewportEnter\", \"onViewportLeave\"],\n    layout: [\"layout\", \"layoutId\"],\n};\nconst featureDefinitions = {};\nfor (const key in featureProps) {\n    featureDefinitions[key] = {\n        isEnabled: (props) => featureProps[key].some((name) => !!props[name]),\n    };\n}\n\nexport { featureDefinitions };\n","const motionComponentSymbol = Symbol.for(\"motionComponentSymbol\");\n\nexport { motionComponentSymbol };\n","\"use client\";\nimport { jsxs, jsx } from 'react/jsx-runtime';\nimport { forwardRef, useContext } from 'react';\nimport { MotionConfigContext } from '../context/MotionConfigContext.mjs';\nimport { MotionContext } from '../context/MotionContext/index.mjs';\nimport { useVisualElement } from './utils/use-visual-element.mjs';\nimport { useMotionRef } from './utils/use-motion-ref.mjs';\nimport { useCreateMotionContext } from '../context/MotionContext/create.mjs';\nimport { loadFeatures } from './features/load-features.mjs';\nimport { isBrowser } from '../utils/is-browser.mjs';\nimport { LayoutGroupContext } from '../context/LayoutGroupContext.mjs';\nimport { LazyContext } from '../context/LazyContext.mjs';\nimport { motionComponentSymbol } from './utils/symbol.mjs';\nimport { warning, invariant } from 'motion-utils';\nimport { featureDefinitions } from './features/definitions.mjs';\n\n/**\n * Create a `motion` component.\n *\n * This function accepts a Component argument, which can be either a string (ie \"div\"\n * for `motion.div`), or an actual React component.\n *\n * Alongside this is a config option which provides a way of rendering the provided\n * component \"offline\", or outside the React render cycle.\n */\nfunction createRendererMotionComponent({ preloadedFeatures, createVisualElement, useRender, useVisualState, Component, }) {\n    preloadedFeatures && loadFeatures(preloadedFeatures);\n    function MotionComponent(props, externalRef) {\n        /**\n         * If we need to measure the element we load this functionality in a\n         * separate class component in order to gain access to getSnapshotBeforeUpdate.\n         */\n        let MeasureLayout;\n        const configAndProps = {\n            ...useContext(MotionConfigContext),\n            ...props,\n            layoutId: useLayoutId(props),\n        };\n        const { isStatic } = configAndProps;\n        const context = useCreateMotionContext(props);\n        const visualState = useVisualState(props, isStatic);\n        if (!isStatic && isBrowser) {\n            useStrictMode(configAndProps, preloadedFeatures);\n            const layoutProjection = getProjectionFunctionality(configAndProps);\n            MeasureLayout = layoutProjection.MeasureLayout;\n            /**\n             * Create a VisualElement for this component. A VisualElement provides a common\n             * interface to renderer-specific APIs (ie DOM/Three.js etc) as well as\n             * providing a way of rendering to these APIs outside of the React render loop\n             * for more performant animations and interactions\n             */\n            context.visualElement = useVisualElement(Component, visualState, configAndProps, createVisualElement, layoutProjection.ProjectionNode);\n        }\n        /**\n         * The mount order and hierarchy is specific to ensure our element ref\n         * is hydrated by the time features fire their effects.\n         */\n        return (jsxs(MotionContext.Provider, { value: context, children: [MeasureLayout && context.visualElement ? (jsx(MeasureLayout, { visualElement: context.visualElement, ...configAndProps })) : null, useRender(Component, props, useMotionRef(visualState, context.visualElement, externalRef), visualState, isStatic, context.visualElement)] }));\n    }\n    const ForwardRefMotionComponent = forwardRef(MotionComponent);\n    ForwardRefMotionComponent[motionComponentSymbol] = Component;\n    return ForwardRefMotionComponent;\n}\nfunction useLayoutId({ layoutId }) {\n    const layoutGroupId = useContext(LayoutGroupContext).id;\n    return layoutGroupId && layoutId !== undefined\n        ? layoutGroupId + \"-\" + layoutId\n        : layoutId;\n}\nfunction useStrictMode(configAndProps, preloadedFeatures) {\n    const isStrict = useContext(LazyContext).strict;\n    /**\n     * If we're in development mode, check to make sure we're not rendering a motion component\n     * as a child of LazyMotion, as this will break the file-size benefits of using it.\n     */\n    if (process.env.NODE_ENV !== \"production\" &&\n        preloadedFeatures &&\n        isStrict) {\n        const strictMessage = \"You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.\";\n        configAndProps.ignoreStrict\n            ? warning(false, strictMessage)\n            : invariant(false, strictMessage);\n    }\n}\nfunction getProjectionFunctionality(props) {\n    const { drag, layout } = featureDefinitions;\n    if (!drag && !layout)\n        return {};\n    const combined = { ...drag, ...layout };\n    return {\n        MeasureLayout: (drag === null || drag === void 0 ? void 0 : drag.isEnabled(props)) || (layout === null || layout === void 0 ? void 0 : layout.isEnabled(props))\n            ? combined.MeasureLayout\n            : undefined,\n        ProjectionNode: combined.ProjectionNode,\n    };\n}\n\nexport { createRendererMotionComponent };\n","import { featureDefinitions } from './definitions.mjs';\n\nfunction loadFeatures(features) {\n    for (const key in features) {\n        featureDefinitions[key] = {\n            ...featureDefinitions[key],\n            ...features[key],\n        };\n    }\n}\n\nexport { loadFeatures };\n","/**\n * We keep these listed separately as we use the lowercase tag names as part\n * of the runtime bundle to detect SVG components\n */\nconst lowercaseSVGElements = [\n    \"animate\",\n    \"circle\",\n    \"defs\",\n    \"desc\",\n    \"ellipse\",\n    \"g\",\n    \"image\",\n    \"line\",\n    \"filter\",\n    \"marker\",\n    \"mask\",\n    \"metadata\",\n    \"path\",\n    \"pattern\",\n    \"polygon\",\n    \"polyline\",\n    \"rect\",\n    \"stop\",\n    \"switch\",\n    \"symbol\",\n    \"svg\",\n    \"text\",\n    \"tspan\",\n    \"use\",\n    \"view\",\n];\n\nexport { lowercaseSVGElements };\n","import { lowercaseSVGElements } from '../../svg/lowercase-elements.mjs';\n\nfunction isSVGComponent(Component) {\n    if (\n    /**\n     * If it's not a string, it's a custom React component. Currently we only support\n     * HTML custom React components.\n     */\n    typeof Component !== \"string\" ||\n        /**\n         * If it contains a dash, the element is a custom HTML webcomponent.\n         */\n        Component.includes(\"-\")) {\n        return false;\n    }\n    else if (\n    /**\n     * If it's in our list of lowercase SVG tags, it's an SVG component\n     */\n    lowercaseSVGElements.indexOf(Component) > -1 ||\n        /**\n         * If it contains a capital letter, it's an SVG component\n         */\n        /[A-Z]/u.test(Component)) {\n        return true;\n    }\n    return false;\n}\n\nexport { isSVGComponent };\n","function renderHTML(element, { style, vars }, styleProp, projection) {\n    Object.assign(element.style, style, projection && projection.getProjectionStyles(styleProp));\n    // Loop over any CSS variables and assign those.\n    for (const key in vars) {\n        element.style.setProperty(key, vars[key]);\n    }\n}\n\nexport { renderHTML };\n","/**\n * A set of attribute names that are always read/written as camel case.\n */\nconst camelCaseAttributes = new Set([\n    \"baseFrequency\",\n    \"diffuseConstant\",\n    \"kernelMatrix\",\n    \"kernelUnitLength\",\n    \"keySplines\",\n    \"keyTimes\",\n    \"limitingConeAngle\",\n    \"markerHeight\",\n    \"markerWidth\",\n    \"numOctaves\",\n    \"targetX\",\n    \"targetY\",\n    \"surfaceScale\",\n    \"specularConstant\",\n    \"specularExponent\",\n    \"stdDeviation\",\n    \"tableValues\",\n    \"viewBox\",\n    \"gradientTransform\",\n    \"pathLength\",\n    \"startOffset\",\n    \"textLength\",\n    \"lengthAdjust\",\n]);\n\nexport { camelCaseAttributes };\n","import { camelToDash } from '../../dom/utils/camel-to-dash.mjs';\nimport { renderHTML } from '../../html/utils/render.mjs';\nimport { camelCaseAttributes } from './camel-case-attrs.mjs';\n\nfunction renderSVG(element, renderState, _styleProp, projection) {\n    renderHTML(element, renderState, undefined, projection);\n    for (const key in renderState.attrs) {\n        element.setAttribute(!camelCaseAttributes.has(key) ? camelToDash(key) : key, renderState.attrs[key]);\n    }\n}\n\nexport { renderSVG };\n","import { scaleCorrectors } from '../../projection/styles/scale-correction.mjs';\nimport { transformProps } from '../../render/html/utils/transform.mjs';\n\nfunction isForcedMotionValue(key, { layout, layoutId }) {\n    return (transformProps.has(key) ||\n        key.startsWith(\"origin\") ||\n        ((layout || layoutId !== undefined) &&\n            (!!scaleCorrectors[key] || key === \"opacity\")));\n}\n\nexport { isForcedMotionValue };\n","import { isForcedMotionValue } from '../../../motion/utils/is-forced-motion-value.mjs';\nimport { isMotionValue } from '../../../value/utils/is-motion-value.mjs';\n\nfunction scrapeMotionValuesFromProps(props, prevProps, visualElement) {\n    var _a;\n    const { style } = props;\n    const newValues = {};\n    for (const key in style) {\n        if (isMotionValue(style[key]) ||\n            (prevProps.style &&\n                isMotionValue(prevProps.style[key])) ||\n            isForcedMotionValue(key, props) ||\n            ((_a = visualElement === null || visualElement === void 0 ? void 0 : visualElement.getValue(key)) === null || _a === void 0 ? void 0 : _a.liveStyle) !== undefined) {\n            newValues[key] = style[key];\n        }\n    }\n    return newValues;\n}\n\nexport { scrapeMotionValuesFromProps };\n","import { isMotionValue } from '../../../value/utils/is-motion-value.mjs';\nimport { scrapeMotionValuesFromProps as scrapeMotionValuesFromProps$1 } from '../../html/utils/scrape-motion-values.mjs';\nimport { transformPropOrder } from '../../html/utils/transform.mjs';\n\nfunction scrapeMotionValuesFromProps(props, prevProps, visualElement) {\n    const newValues = scrapeMotionValuesFromProps$1(props, prevProps, visualElement);\n    for (const key in props) {\n        if (isMotionValue(props[key]) ||\n            isMotionValue(prevProps[key])) {\n            const targetKey = transformPropOrder.indexOf(key) !== -1\n                ? \"attr\" + key.charAt(0).toUpperCase() + key.substring(1)\n                : key;\n            newValues[targetKey] = props[key];\n        }\n    }\n    return newValues;\n}\n\nexport { scrapeMotionValuesFromProps };\n","import { useRef } from 'react';\n\n/**\n * Creates a constant value over the lifecycle of a component.\n *\n * Even if `useMemo` is provided an empty array as its final argument, it doesn't offer\n * a guarantee that it won't re-run for performance reasons later on. By using `useConstant`\n * you can ensure that initialisers don't execute twice or more.\n */\nfunction useConstant(init) {\n    const ref = useRef(null);\n    if (ref.current === null) {\n        ref.current = init();\n    }\n    return ref.current;\n}\n\nexport { useConstant };\n","import { useContext } from 'react';\nimport { isAnimationControls } from '../../animation/utils/is-animation-controls.mjs';\nimport { PresenceContext } from '../../context/PresenceContext.mjs';\nimport { resolveVariantFromProps } from '../../render/utils/resolve-variants.mjs';\nimport { useConstant } from '../../utils/use-constant.mjs';\nimport { resolveMotionValue } from '../../value/utils/resolve-motion-value.mjs';\nimport { MotionContext } from '../../context/MotionContext/index.mjs';\nimport { isControllingVariants, isVariantNode } from '../../render/utils/is-controlling-variants.mjs';\n\nfunction makeState({ scrapeMotionValuesFromProps, createRenderState, onMount, }, props, context, presenceContext) {\n    const state = {\n        latestValues: makeLatestValues(props, context, presenceContext, scrapeMotionValuesFromProps),\n        renderState: createRenderState(),\n    };\n    if (onMount) {\n        state.mount = (instance) => onMount(props, instance, state);\n    }\n    return state;\n}\nconst makeUseVisualState = (config) => (props, isStatic) => {\n    const context = useContext(MotionContext);\n    const presenceContext = useContext(PresenceContext);\n    const make = () => makeState(config, props, context, presenceContext);\n    return isStatic ? make() : useConstant(make);\n};\nfunction makeLatestValues(props, context, presenceContext, scrapeMotionValues) {\n    const values = {};\n    const motionValues = scrapeMotionValues(props, {});\n    for (const key in motionValues) {\n        values[key] = resolveMotionValue(motionValues[key]);\n    }\n    let { initial, animate } = props;\n    const isControllingVariants$1 = isControllingVariants(props);\n    const isVariantNode$1 = isVariantNode(props);\n    if (context &&\n        isVariantNode$1 &&\n        !isControllingVariants$1 &&\n        props.inherit !== false) {\n        if (initial === undefined)\n            initial = context.initial;\n        if (animate === undefined)\n            animate = context.animate;\n    }\n    let isInitialAnimationBlocked = presenceContext\n        ? presenceContext.initial === false\n        : false;\n    isInitialAnimationBlocked = isInitialAnimationBlocked || initial === false;\n    const variantToSet = isInitialAnimationBlocked ? animate : initial;\n    if (variantToSet &&\n        typeof variantToSet !== \"boolean\" &&\n        !isAnimationControls(variantToSet)) {\n        const list = Array.isArray(variantToSet) ? variantToSet : [variantToSet];\n        for (let i = 0; i < list.length; i++) {\n            const resolved = resolveVariantFromProps(props, list[i]);\n            if (resolved) {\n                const { transitionEnd, transition, ...target } = resolved;\n                for (const key in target) {\n                    let valueTarget = target[key];\n                    if (Array.isArray(valueTarget)) {\n                        /**\n                         * Take final keyframe if the initial animation is blocked because\n                         * we want to initialise at the end of that blocked animation.\n                         */\n                        const index = isInitialAnimationBlocked\n                            ? valueTarget.length - 1\n                            : 0;\n                        valueTarget = valueTarget[index];\n                    }\n                    if (valueTarget !== null) {\n                        values[key] = valueTarget;\n                    }\n                }\n                for (const key in transitionEnd) {\n                    values[key] = transitionEnd[key];\n                }\n            }\n        }\n    }\n    return values;\n}\n\nexport { makeUseVisualState };\n","const createHtmlRenderState = () => ({\n    style: {},\n    transform: {},\n    transformOrigin: {},\n    vars: {},\n});\n\nexport { createHtmlRenderState };\n","import { createHtmlRenderState } from '../../html/utils/create-render-state.mjs';\n\nconst createSvgRenderState = () => ({\n    ...createHtmlRenderState(),\n    attrs: {},\n});\n\nexport { createSvgRenderState };\n","/**\n * Provided a value and a ValueType, returns the value as that value type.\n */\nconst getValueAsType = (value, type) => {\n    return type && typeof value === \"number\"\n        ? type.transform(value)\n        : value;\n};\n\nexport { getValueAsType };\n","import { transformPropOrder } from './transform.mjs';\nimport { getValueAsType } from '../../dom/value-types/get-as-type.mjs';\nimport { numberValueTypes } from '../../dom/value-types/number.mjs';\n\nconst translateAlias = {\n    x: \"translateX\",\n    y: \"translateY\",\n    z: \"translateZ\",\n    transformPerspective: \"perspective\",\n};\nconst numTransforms = transformPropOrder.length;\n/**\n * Build a CSS transform style from individual x/y/scale etc properties.\n *\n * This outputs with a default order of transforms/scales/rotations, this can be customised by\n * providing a transformTemplate function.\n */\nfunction buildTransform(latestValues, transform, transformTemplate) {\n    // The transform string we're going to build into.\n    let transformString = \"\";\n    let transformIsDefault = true;\n    /**\n     * Loop over all possible transforms in order, adding the ones that\n     * are present to the transform string.\n     */\n    for (let i = 0; i < numTransforms; i++) {\n        const key = transformPropOrder[i];\n        const value = latestValues[key];\n        if (value === undefined)\n            continue;\n        let valueIsDefault = true;\n        if (typeof value === \"number\") {\n            valueIsDefault = value === (key.startsWith(\"scale\") ? 1 : 0);\n        }\n        else {\n            valueIsDefault = parseFloat(value) === 0;\n        }\n        if (!valueIsDefault || transformTemplate) {\n            const valueAsType = getValueAsType(value, numberValueTypes[key]);\n            if (!valueIsDefault) {\n                transformIsDefault = false;\n                const transformName = translateAlias[key] || key;\n                transformString += `${transformName}(${valueAsType}) `;\n            }\n            if (transformTemplate) {\n                transform[key] = valueAsType;\n            }\n        }\n    }\n    transformString = transformString.trim();\n    // If we have a custom `transform` template, pass our transform values and\n    // generated transformString to that before returning\n    if (transformTemplate) {\n        transformString = transformTemplate(transform, transformIsDefault ? \"\" : transformString);\n    }\n    else if (transformIsDefault) {\n        transformString = \"none\";\n    }\n    return transformString;\n}\n\nexport { buildTransform };\n","import { buildTransform } from './build-transform.mjs';\nimport { isCSSVariableName } from '../../dom/utils/is-css-variable.mjs';\nimport { transformProps } from './transform.mjs';\nimport { getValueAsType } from '../../dom/value-types/get-as-type.mjs';\nimport { numberValueTypes } from '../../dom/value-types/number.mjs';\n\nfunction buildHTMLStyles(state, latestValues, transformTemplate) {\n    const { style, vars, transformOrigin } = state;\n    // Track whether we encounter any transform or transformOrigin values.\n    let hasTransform = false;\n    let hasTransformOrigin = false;\n    /**\n     * Loop over all our latest animated values and decide whether to handle them\n     * as a style or CSS variable.\n     *\n     * Transforms and transform origins are kept separately for further processing.\n     */\n    for (const key in latestValues) {\n        const value = latestValues[key];\n        if (transformProps.has(key)) {\n            // If this is a transform, flag to enable further transform processing\n            hasTransform = true;\n            continue;\n        }\n        else if (isCSSVariableName(key)) {\n            vars[key] = value;\n            continue;\n        }\n        else {\n            // Convert the value to its default value type, ie 0 -> \"0px\"\n            const valueAsType = getValueAsType(value, numberValueTypes[key]);\n            if (key.startsWith(\"origin\")) {\n                // If this is a transform origin, flag and enable further transform-origin processing\n                hasTransformOrigin = true;\n                transformOrigin[key] =\n                    valueAsType;\n            }\n            else {\n                style[key] = valueAsType;\n            }\n        }\n    }\n    if (!latestValues.transform) {\n        if (hasTransform || transformTemplate) {\n            style.transform = buildTransform(latestValues, state.transform, transformTemplate);\n        }\n        else if (style.transform) {\n            /**\n             * If we have previously created a transform but currently don't have any,\n             * reset transform style to none.\n             */\n            style.transform = \"none\";\n        }\n    }\n    /**\n     * Build a transformOrigin style. Uses the same defaults as the browser for\n     * undefined origins.\n     */\n    if (hasTransformOrigin) {\n        const { originX = \"50%\", originY = \"50%\", originZ = 0, } = transformOrigin;\n        style.transformOrigin = `${originX} ${originY} ${originZ}`;\n    }\n}\n\nexport { buildHTMLStyles };\n","import { px } from '../../../value/types/numbers/units.mjs';\n\nfunction calcOrigin(origin, offset, size) {\n    return typeof origin === \"string\"\n        ? origin\n        : px.transform(offset + size * origin);\n}\n/**\n * The SVG transform origin defaults are different to CSS and is less intuitive,\n * so we use the measured dimensions of the SVG to reconcile these.\n */\nfunction calcSVGTransformOrigin(dimensions, originX, originY) {\n    const pxOriginX = calcOrigin(originX, dimensions.x, dimensions.width);\n    const pxOriginY = calcOrigin(originY, dimensions.y, dimensions.height);\n    return `${pxOriginX} ${pxOriginY}`;\n}\n\nexport { calcSVGTransformOrigin };\n","import { px } from '../../../value/types/numbers/units.mjs';\n\nconst dashKeys = {\n    offset: \"stroke-dashoffset\",\n    array: \"stroke-dasharray\",\n};\nconst camelKeys = {\n    offset: \"strokeDashoffset\",\n    array: \"strokeDasharray\",\n};\n/**\n * Build SVG path properties. Uses the path's measured length to convert\n * our custom pathLength, pathSpacing and pathOffset into stroke-dashoffset\n * and stroke-dasharray attributes.\n *\n * This function is mutative to reduce per-frame GC.\n */\nfunction buildSVGPath(attrs, length, spacing = 1, offset = 0, useDashCase = true) {\n    // Normalise path length by setting SVG attribute pathLength to 1\n    attrs.pathLength = 1;\n    // We use dash case when setting attributes directly to the DOM node and camel case\n    // when defining props on a React component.\n    const keys = useDashCase ? dashKeys : camelKeys;\n    // Build the dash offset\n    attrs[keys.offset] = px.transform(-offset);\n    // Build the dash array\n    const pathLength = px.transform(length);\n    const pathSpacing = px.transform(spacing);\n    attrs[keys.array] = `${pathLength} ${pathSpacing}`;\n}\n\nexport { buildSVGPath };\n","import { buildHTMLStyles } from '../../html/utils/build-styles.mjs';\nimport { calcSVGTransformOrigin } from './transform-origin.mjs';\nimport { buildSVGPath } from './path.mjs';\n\n/**\n * Build SVG visual attrbutes, like cx and style.transform\n */\nfunction buildSVGAttrs(state, { attrX, attrY, attrScale, originX, originY, pathLength, pathSpacing = 1, pathOffset = 0, \n// This is object creation, which we try to avoid per-frame.\n...latest }, isSVGTag, transformTemplate) {\n    buildHTMLStyles(state, latest, transformTemplate);\n    /**\n     * For svg tags we just want to make sure viewBox is animatable and treat all the styles\n     * as normal HTML tags.\n     */\n    if (isSVGTag) {\n        if (state.style.viewBox) {\n            state.attrs.viewBox = state.style.viewBox;\n        }\n        return;\n    }\n    state.attrs = state.style;\n    state.style = {};\n    const { attrs, style, dimensions } = state;\n    /**\n     * However, we apply transforms as CSS transforms. So if we detect a transform we take it from attrs\n     * and copy it into style.\n     */\n    if (attrs.transform) {\n        if (dimensions)\n            style.transform = attrs.transform;\n        delete attrs.transform;\n    }\n    // Parse transformOrigin\n    if (dimensions &&\n        (originX !== undefined || originY !== undefined || style.transform)) {\n        style.transformOrigin = calcSVGTransformOrigin(dimensions, originX !== undefined ? originX : 0.5, originY !== undefined ? originY : 0.5);\n    }\n    // Render attrX/attrY/attrScale as attributes\n    if (attrX !== undefined)\n        attrs.x = attrX;\n    if (attrY !== undefined)\n        attrs.y = attrY;\n    if (attrScale !== undefined)\n        attrs.scale = attrScale;\n    // Build SVG path if one has been defined\n    if (pathLength !== undefined) {\n        buildSVGPath(attrs, pathLength, pathSpacing, pathOffset, false);\n    }\n}\n\nexport { buildSVGAttrs };\n","const isSVGTag = (tag) => typeof tag === \"string\" && tag.toLowerCase() === \"svg\";\n\nexport { isSVGTag };\n","import { renderSVG } from './utils/render.mjs';\nimport { scrapeMotionValuesFromProps } from './utils/scrape-motion-values.mjs';\nimport { makeUseVisualState } from '../../motion/utils/use-visual-state.mjs';\nimport { createSvgRenderState } from './utils/create-render-state.mjs';\nimport { buildSVGAttrs } from './utils/build-attrs.mjs';\nimport { isSVGTag } from './utils/is-svg-tag.mjs';\nimport { frame } from '../../frameloop/frame.mjs';\n\nconst svgMotionConfig = {\n    useVisualState: makeUseVisualState({\n        scrapeMotionValuesFromProps: scrapeMotionValuesFromProps,\n        createRenderState: createSvgRenderState,\n        onMount: (props, instance, { renderState, latestValues }) => {\n            frame.read(() => {\n                try {\n                    renderState.dimensions =\n                        typeof instance.getBBox ===\n                            \"function\"\n                            ? instance.getBBox()\n                            : instance.getBoundingClientRect();\n                }\n                catch (e) {\n                    // Most likely trying to measure an unrendered element under Firefox\n                    renderState.dimensions = {\n                        x: 0,\n                        y: 0,\n                        width: 0,\n                        height: 0,\n                    };\n                }\n            });\n            frame.render(() => {\n                buildSVGAttrs(renderState, latestValues, isSVGTag(instance.tagName), props.transformTemplate);\n                renderSVG(instance, renderState);\n            });\n        },\n    }),\n};\n\nexport { svgMotionConfig };\n","import { makeUseVisualState } from '../../motion/utils/use-visual-state.mjs';\nimport { scrapeMotionValuesFromProps } from './utils/scrape-motion-values.mjs';\nimport { createHtmlRenderState } from './utils/create-render-state.mjs';\n\nconst htmlMotionConfig = {\n    useVisualState: makeUseVisualState({\n        scrapeMotionValuesFromProps,\n        createRenderState: createHtmlRenderState,\n    }),\n};\n\nexport { htmlMotionConfig };\n","import { useMemo } from 'react';\nimport { isForcedMotionValue } from '../../motion/utils/is-forced-motion-value.mjs';\nimport { isMotionValue } from '../../value/utils/is-motion-value.mjs';\nimport { buildHTMLStyles } from './utils/build-styles.mjs';\nimport { createHtmlRenderState } from './utils/create-render-state.mjs';\n\nfunction copyRawValuesOnly(target, source, props) {\n    for (const key in source) {\n        if (!isMotionValue(source[key]) && !isForcedMotionValue(key, props)) {\n            target[key] = source[key];\n        }\n    }\n}\nfunction useInitialMotionValues({ transformTemplate }, visualState) {\n    return useMemo(() => {\n        const state = createHtmlRenderState();\n        buildHTMLStyles(state, visualState, transformTemplate);\n        return Object.assign({}, state.vars, state.style);\n    }, [visualState]);\n}\nfunction useStyle(props, visualState) {\n    const styleProp = props.style || {};\n    const style = {};\n    /**\n     * Copy non-Motion Values straight into style\n     */\n    copyRawValuesOnly(style, styleProp, props);\n    Object.assign(style, useInitialMotionValues(props, visualState));\n    return style;\n}\nfunction useHTMLProps(props, visualState) {\n    // The `any` isn't ideal but it is the type of createElement props argument\n    const htmlProps = {};\n    const style = useStyle(props, visualState);\n    if (props.drag && props.dragListener !== false) {\n        // Disable the ghost element when a user drags\n        htmlProps.draggable = false;\n        // Disable text selection\n        style.userSelect =\n            style.WebkitUserSelect =\n                style.WebkitTouchCallout =\n                    \"none\";\n        // Disable scrolling on the draggable direction\n        style.touchAction =\n            props.drag === true\n                ? \"none\"\n                : `pan-${props.drag === \"x\" ? \"y\" : \"x\"}`;\n    }\n    if (props.tabIndex === undefined &&\n        (props.onTap || props.onTapStart || props.whileTap)) {\n        htmlProps.tabIndex = 0;\n    }\n    htmlProps.style = style;\n    return htmlProps;\n}\n\nexport { copyRawValuesOnly, useHTMLProps };\n","/**\n * A list of all valid MotionProps.\n *\n * @privateRemarks\n * This doesn't throw if a `MotionProp` name is missing - it should.\n */\nconst validMotionProps = new Set([\n    \"animate\",\n    \"exit\",\n    \"variants\",\n    \"initial\",\n    \"style\",\n    \"values\",\n    \"variants\",\n    \"transition\",\n    \"transformTemplate\",\n    \"custom\",\n    \"inherit\",\n    \"onBeforeLayoutMeasure\",\n    \"onAnimationStart\",\n    \"onAnimationComplete\",\n    \"onUpdate\",\n    \"onDragStart\",\n    \"onDrag\",\n    \"onDragEnd\",\n    \"onMeasureDragConstraints\",\n    \"onDirectionLock\",\n    \"onDragTransitionEnd\",\n    \"_dragX\",\n    \"_dragY\",\n    \"onHoverStart\",\n    \"onHoverEnd\",\n    \"onViewportEnter\",\n    \"onViewportLeave\",\n    \"globalTapTarget\",\n    \"ignoreStrict\",\n    \"viewport\",\n]);\n/**\n * Check whether a prop name is a valid `MotionProp` key.\n *\n * @param key - Name of the property to check\n * @returns `true` is key is a valid `MotionProp`.\n *\n * @public\n */\nfunction isValidMotionProp(key) {\n    return (key.startsWith(\"while\") ||\n        (key.startsWith(\"drag\") && key !== \"draggable\") ||\n        key.startsWith(\"layout\") ||\n        key.startsWith(\"onTap\") ||\n        key.startsWith(\"onPan\") ||\n        key.startsWith(\"onLayout\") ||\n        validMotionProps.has(key));\n}\n\nexport { isValidMotionProp };\n","import { isValidMotionProp } from '../../../motion/utils/valid-prop.mjs';\n\nlet shouldForward = (key) => !isValidMotionProp(key);\nfunction loadExternalIsValidProp(isValidProp) {\n    if (!isValidProp)\n        return;\n    // Explicitly filter our events\n    shouldForward = (key) => key.startsWith(\"on\") ? !isValidMotionProp(key) : isValidProp(key);\n}\n/**\n * Emotion and Styled Components both allow users to pass through arbitrary props to their components\n * to dynamically generate CSS. They both use the `@emotion/is-prop-valid` package to determine which\n * of these should be passed to the underlying DOM node.\n *\n * However, when styling a Motion component `styled(motion.div)`, both packages pass through *all* props\n * as it's seen as an arbitrary component rather than a DOM node. Motion only allows arbitrary props\n * passed through the `custom` prop so it doesn't *need* the payload or computational overhead of\n * `@emotion/is-prop-valid`, however to fix this problem we need to use it.\n *\n * By making it an optionalDependency we can offer this functionality only in the situations where it's\n * actually required.\n */\ntry {\n    /**\n     * We attempt to import this package but require won't be defined in esm environments, in that case\n     * isPropValid will have to be provided via `MotionContext`. In a 6.0.0 this should probably be removed\n     * in favour of explicit injection.\n     */\n    loadExternalIsValidProp(require(\"@emotion/is-prop-valid\").default);\n}\ncatch (_a) {\n    // We don't need to actually do anything here - the fallback is the existing `isPropValid`.\n}\nfunction filterProps(props, isDom, forwardMotionProps) {\n    const filteredProps = {};\n    for (const key in props) {\n        /**\n         * values is considered a valid prop by Emotion, so if it's present\n         * this will be rendered out to the DOM unless explicitly filtered.\n         *\n         * We check the type as it could be used with the `feColorMatrix`\n         * element, which we support.\n         */\n        if (key === \"values\" && typeof props.values === \"object\")\n            continue;\n        if (shouldForward(key) ||\n            (forwardMotionProps === true && isValidMotionProp(key)) ||\n            (!isDom && !isValidMotionProp(key)) ||\n            // If trying to use native HTML drag events, forward drag listeners\n            (props[\"draggable\"] &&\n                key.startsWith(\"onDrag\"))) {\n            filteredProps[key] =\n                props[key];\n        }\n    }\n    return filteredProps;\n}\n\nexport { filterProps, loadExternalIsValidProp };\n","import { useMemo } from 'react';\nimport { copyRawValuesOnly } from '../html/use-props.mjs';\nimport { buildSVGAttrs } from './utils/build-attrs.mjs';\nimport { createSvgRenderState } from './utils/create-render-state.mjs';\nimport { isSVGTag } from './utils/is-svg-tag.mjs';\n\nfunction useSVGProps(props, visualState, _isStatic, Component) {\n    const visualProps = useMemo(() => {\n        const state = createSvgRenderState();\n        buildSVGAttrs(state, visualState, isSVGTag(Component), props.transformTemplate);\n        return {\n            ...state.attrs,\n            style: { ...state.style },\n        };\n    }, [visualState]);\n    if (props.style) {\n        const rawStyles = {};\n        copyRawValuesOnly(rawStyles, props.style, props);\n        visualProps.style = { ...rawStyles, ...visualProps.style };\n    }\n    return visualProps;\n}\n\nexport { useSVGProps };\n","import { Fragment, useMemo, createElement } from 'react';\nimport { useHTMLProps } from '../html/use-props.mjs';\nimport { filterProps } from './utils/filter-props.mjs';\nimport { isSVGComponent } from './utils/is-svg-component.mjs';\nimport { useSVGProps } from '../svg/use-props.mjs';\nimport { isMotionValue } from '../../value/utils/is-motion-value.mjs';\n\nfunction createUseRender(forwardMotionProps = false) {\n    const useRender = (Component, props, ref, { latestValues }, isStatic) => {\n        const useVisualProps = isSVGComponent(Component)\n            ? useSVGProps\n            : useHTMLProps;\n        const visualProps = useVisualProps(props, latestValues, isStatic, Component);\n        const filteredProps = filterProps(props, typeof Component === \"string\", forwardMotionProps);\n        const elementProps = Component !== Fragment\n            ? { ...filteredProps, ...visualProps, ref }\n            : {};\n        /**\n         * If component has been handed a motion value as its child,\n         * memoise its initial value and render that. Subsequent updates\n         * will be handled by the onChange handler\n         */\n        const { children } = props;\n        const renderedChildren = useMemo(() => (isMotionValue(children) ? children.get() : children), [children]);\n        return createElement(Component, {\n            ...elementProps,\n            children: renderedChildren,\n        });\n    };\n    return useRender;\n}\n\nexport { createUseRender };\n","import { createRendererMotionComponent } from '../../motion/index.mjs';\nimport { isSVGComponent } from '../dom/utils/is-svg-component.mjs';\nimport { svgMotionConfig } from '../svg/config-motion.mjs';\nimport { htmlMotionConfig } from '../html/config-motion.mjs';\nimport { createUseRender } from '../dom/use-render.mjs';\n\nfunction createMotionComponentFactory(preloadedFeatures, createVisualElement) {\n    return function createMotionComponent(Component, { forwardMotionProps } = { forwardMotionProps: false }) {\n        const baseConfig = isSVGComponent(Component)\n            ? svgMotionConfig\n            : htmlMotionConfig;\n        const config = {\n            ...baseConfig,\n            preloadedFeatures,\n            useRender: createUseRender(forwardMotionProps),\n            createVisualElement,\n            Component,\n        };\n        return createRendererMotionComponent(config);\n    };\n}\n\nexport { createMotionComponentFactory };\n","// Does this device prefer reduced motion? Returns `null` server-side.\nconst prefersReducedMotion = { current: null };\nconst hasReducedMotionListener = { current: false };\n\nexport { hasReducedMotionListener, prefersReducedMotion };\n","const visualElementStore = new WeakMap();\n\nexport { visualElementStore };\n","import { color } from '../../../value/types/color/index.mjs';\nimport { complex } from '../../../value/types/complex/index.mjs';\nimport { dimensionValueTypes } from './dimensions.mjs';\nimport { testValueType } from './test.mjs';\n\n/**\n * A list of all ValueTypes\n */\nconst valueTypes = [...dimensionValueTypes, color, complex];\n/**\n * Tests a value against the list of ValueTypes\n */\nconst findValueType = (v) => valueTypes.find(testValueType(v));\n\nexport { findValueType };\n","import { initPrefersReducedMotion } from '../utils/reduced-motion/index.mjs';\nimport { hasReducedMotionListener, prefersReducedMotion } from '../utils/reduced-motion/state.mjs';\nimport { SubscriptionManager } from '../utils/subscription-manager.mjs';\nimport { motionValue } from '../value/index.mjs';\nimport { isMotionValue } from '../value/utils/is-motion-value.mjs';\nimport { transformProps } from './html/utils/transform.mjs';\nimport { isControllingVariants, isVariantNode } from './utils/is-controlling-variants.mjs';\nimport { updateMotionValuesFromProps } from './utils/motion-values.mjs';\nimport { resolveVariantFromProps } from './utils/resolve-variants.mjs';\nimport { warnOnce } from '../utils/warn-once.mjs';\nimport { featureDefinitions } from '../motion/features/definitions.mjs';\nimport { visualElementStore } from './store.mjs';\nimport { KeyframeResolver } from './utils/KeyframesResolver.mjs';\nimport { isNumericalString } from '../utils/is-numerical-string.mjs';\nimport { isZeroValueString } from '../utils/is-zero-value-string.mjs';\nimport { findValueType } from './dom/value-types/find.mjs';\nimport { complex } from '../value/types/complex/index.mjs';\nimport { getAnimatableNone } from './dom/value-types/animatable-none.mjs';\nimport { createBox } from '../projection/geometry/models.mjs';\nimport { time } from '../frameloop/sync-time.mjs';\nimport { frame, cancelFrame } from '../frameloop/frame.mjs';\n\nconst propEventHandlers = [\n    \"AnimationStart\",\n    \"AnimationComplete\",\n    \"Update\",\n    \"BeforeLayoutMeasure\",\n    \"LayoutMeasure\",\n    \"LayoutAnimationStart\",\n    \"LayoutAnimationComplete\",\n];\n/**\n * A VisualElement is an imperative abstraction around UI elements such as\n * HTMLElement, SVGElement, Three.Object3D etc.\n */\nclass VisualElement {\n    /**\n     * This method takes React props and returns found MotionValues. For example, HTML\n     * MotionValues will be found within the style prop, whereas for Three.js within attribute arrays.\n     *\n     * This isn't an abstract method as it needs calling in the constructor, but it is\n     * intended to be one.\n     */\n    scrapeMotionValuesFromProps(_props, _prevProps, _visualElement) {\n        return {};\n    }\n    constructor({ parent, props, presenceContext, reducedMotionConfig, blockInitialAnimation, visualState, }, options = {}) {\n        /**\n         * A reference to the current underlying Instance, e.g. a HTMLElement\n         * or Three.Mesh etc.\n         */\n        this.current = null;\n        /**\n         * A set containing references to this VisualElement's children.\n         */\n        this.children = new Set();\n        /**\n         * Determine what role this visual element should take in the variant tree.\n         */\n        this.isVariantNode = false;\n        this.isControllingVariants = false;\n        /**\n         * Decides whether this VisualElement should animate in reduced motion\n         * mode.\n         *\n         * TODO: This is currently set on every individual VisualElement but feels\n         * like it could be set globally.\n         */\n        this.shouldReduceMotion = null;\n        /**\n         * A map of all motion values attached to this visual element. Motion\n         * values are source of truth for any given animated value. A motion\n         * value might be provided externally by the component via props.\n         */\n        this.values = new Map();\n        this.KeyframeResolver = KeyframeResolver;\n        /**\n         * Cleanup functions for active features (hover/tap/exit etc)\n         */\n        this.features = {};\n        /**\n         * A map of every subscription that binds the provided or generated\n         * motion values onChange listeners to this visual element.\n         */\n        this.valueSubscriptions = new Map();\n        /**\n         * A reference to the previously-provided motion values as returned\n         * from scrapeMotionValuesFromProps. We use the keys in here to determine\n         * if any motion values need to be removed after props are updated.\n         */\n        this.prevMotionValues = {};\n        /**\n         * An object containing a SubscriptionManager for each active event.\n         */\n        this.events = {};\n        /**\n         * An object containing an unsubscribe function for each prop event subscription.\n         * For example, every \"Update\" event can have multiple subscribers via\n         * VisualElement.on(), but only one of those can be defined via the onUpdate prop.\n         */\n        this.propEventSubscriptions = {};\n        this.notifyUpdate = () => this.notify(\"Update\", this.latestValues);\n        this.render = () => {\n            if (!this.current)\n                return;\n            this.triggerBuild();\n            this.renderInstance(this.current, this.renderState, this.props.style, this.projection);\n        };\n        this.renderScheduledAt = 0.0;\n        this.scheduleRender = () => {\n            const now = time.now();\n            if (this.renderScheduledAt < now) {\n                this.renderScheduledAt = now;\n                frame.render(this.render, false, true);\n            }\n        };\n        const { latestValues, renderState } = visualState;\n        this.latestValues = latestValues;\n        this.baseTarget = { ...latestValues };\n        this.initialValues = props.initial ? { ...latestValues } : {};\n        this.renderState = renderState;\n        this.parent = parent;\n        this.props = props;\n        this.presenceContext = presenceContext;\n        this.depth = parent ? parent.depth + 1 : 0;\n        this.reducedMotionConfig = reducedMotionConfig;\n        this.options = options;\n        this.blockInitialAnimation = Boolean(blockInitialAnimation);\n        this.isControllingVariants = isControllingVariants(props);\n        this.isVariantNode = isVariantNode(props);\n        if (this.isVariantNode) {\n            this.variantChildren = new Set();\n        }\n        this.manuallyAnimateOnMount = Boolean(parent && parent.current);\n        /**\n         * Any motion values that are provided to the element when created\n         * aren't yet bound to the element, as this would technically be impure.\n         * However, we iterate through the motion values and set them to the\n         * initial values for this component.\n         *\n         * TODO: This is impure and we should look at changing this to run on mount.\n         * Doing so will break some tests but this isn't necessarily a breaking change,\n         * more a reflection of the test.\n         */\n        const { willChange, ...initialMotionValues } = this.scrapeMotionValuesFromProps(props, {}, this);\n        for (const key in initialMotionValues) {\n            const value = initialMotionValues[key];\n            if (latestValues[key] !== undefined && isMotionValue(value)) {\n                value.set(latestValues[key], false);\n            }\n        }\n    }\n    mount(instance) {\n        this.current = instance;\n        visualElementStore.set(instance, this);\n        if (this.projection && !this.projection.instance) {\n            this.projection.mount(instance);\n        }\n        if (this.parent && this.isVariantNode && !this.isControllingVariants) {\n            this.removeFromVariantTree = this.parent.addVariantChild(this);\n        }\n        this.values.forEach((value, key) => this.bindToMotionValue(key, value));\n        if (!hasReducedMotionListener.current) {\n            initPrefersReducedMotion();\n        }\n        this.shouldReduceMotion =\n            this.reducedMotionConfig === \"never\"\n                ? false\n                : this.reducedMotionConfig === \"always\"\n                    ? true\n                    : prefersReducedMotion.current;\n        if (process.env.NODE_ENV !== \"production\") {\n            warnOnce(this.shouldReduceMotion !== true, \"You have Reduced Motion enabled on your device. Animations may not appear as expected.\");\n        }\n        if (this.parent)\n            this.parent.children.add(this);\n        this.update(this.props, this.presenceContext);\n    }\n    unmount() {\n        visualElementStore.delete(this.current);\n        this.projection && this.projection.unmount();\n        cancelFrame(this.notifyUpdate);\n        cancelFrame(this.render);\n        this.valueSubscriptions.forEach((remove) => remove());\n        this.valueSubscriptions.clear();\n        this.removeFromVariantTree && this.removeFromVariantTree();\n        this.parent && this.parent.children.delete(this);\n        for (const key in this.events) {\n            this.events[key].clear();\n        }\n        for (const key in this.features) {\n            const feature = this.features[key];\n            if (feature) {\n                feature.unmount();\n                feature.isMounted = false;\n            }\n        }\n        this.current = null;\n    }\n    bindToMotionValue(key, value) {\n        if (this.valueSubscriptions.has(key)) {\n            this.valueSubscriptions.get(key)();\n        }\n        const valueIsTransform = transformProps.has(key);\n        const removeOnChange = value.on(\"change\", (latestValue) => {\n            this.latestValues[key] = latestValue;\n            this.props.onUpdate && frame.preRender(this.notifyUpdate);\n            if (valueIsTransform && this.projection) {\n                this.projection.isTransformDirty = true;\n            }\n        });\n        const removeOnRenderRequest = value.on(\"renderRequest\", this.scheduleRender);\n        let removeSyncCheck;\n        if (window.MotionCheckAppearSync) {\n            removeSyncCheck = window.MotionCheckAppearSync(this, key, value);\n        }\n        this.valueSubscriptions.set(key, () => {\n            removeOnChange();\n            removeOnRenderRequest();\n            if (removeSyncCheck)\n                removeSyncCheck();\n            if (value.owner)\n                value.stop();\n        });\n    }\n    sortNodePosition(other) {\n        /**\n         * If these nodes aren't even of the same type we can't compare their depth.\n         */\n        if (!this.current ||\n            !this.sortInstanceNodePosition ||\n            this.type !== other.type) {\n            return 0;\n        }\n        return this.sortInstanceNodePosition(this.current, other.current);\n    }\n    updateFeatures() {\n        let key = \"animation\";\n        for (key in featureDefinitions) {\n            const featureDefinition = featureDefinitions[key];\n            if (!featureDefinition)\n                continue;\n            const { isEnabled, Feature: FeatureConstructor } = featureDefinition;\n            /**\n             * If this feature is enabled but not active, make a new instance.\n             */\n            if (!this.features[key] &&\n                FeatureConstructor &&\n                isEnabled(this.props)) {\n                this.features[key] = new FeatureConstructor(this);\n            }\n            /**\n             * If we have a feature, mount or update it.\n             */\n            if (this.features[key]) {\n                const feature = this.features[key];\n                if (feature.isMounted) {\n                    feature.update();\n                }\n                else {\n                    feature.mount();\n                    feature.isMounted = true;\n                }\n            }\n        }\n    }\n    triggerBuild() {\n        this.build(this.renderState, this.latestValues, this.props);\n    }\n    /**\n     * Measure the current viewport box with or without transforms.\n     * Only measures axis-aligned boxes, rotate and skew must be manually\n     * removed with a re-render to work.\n     */\n    measureViewportBox() {\n        return this.current\n            ? this.measureInstanceViewportBox(this.current, this.props)\n            : createBox();\n    }\n    getStaticValue(key) {\n        return this.latestValues[key];\n    }\n    setStaticValue(key, value) {\n        this.latestValues[key] = value;\n    }\n    /**\n     * Update the provided props. Ensure any newly-added motion values are\n     * added to our map, old ones removed, and listeners updated.\n     */\n    update(props, presenceContext) {\n        if (props.transformTemplate || this.props.transformTemplate) {\n            this.scheduleRender();\n        }\n        this.prevProps = this.props;\n        this.props = props;\n        this.prevPresenceContext = this.presenceContext;\n        this.presenceContext = presenceContext;\n        /**\n         * Update prop event handlers ie onAnimationStart, onAnimationComplete\n         */\n        for (let i = 0; i < propEventHandlers.length; i++) {\n            const key = propEventHandlers[i];\n            if (this.propEventSubscriptions[key]) {\n                this.propEventSubscriptions[key]();\n                delete this.propEventSubscriptions[key];\n            }\n            const listenerName = (\"on\" + key);\n            const listener = props[listenerName];\n            if (listener) {\n                this.propEventSubscriptions[key] = this.on(key, listener);\n            }\n        }\n        this.prevMotionValues = updateMotionValuesFromProps(this, this.scrapeMotionValuesFromProps(props, this.prevProps, this), this.prevMotionValues);\n        if (this.handleChildMotionValue) {\n            this.handleChildMotionValue();\n        }\n    }\n    getProps() {\n        return this.props;\n    }\n    /**\n     * Returns the variant definition with a given name.\n     */\n    getVariant(name) {\n        return this.props.variants ? this.props.variants[name] : undefined;\n    }\n    /**\n     * Returns the defined default transition on this component.\n     */\n    getDefaultTransition() {\n        return this.props.transition;\n    }\n    getTransformPagePoint() {\n        return this.props.transformPagePoint;\n    }\n    getClosestVariantNode() {\n        return this.isVariantNode\n            ? this\n            : this.parent\n                ? this.parent.getClosestVariantNode()\n                : undefined;\n    }\n    /**\n     * Add a child visual element to our set of children.\n     */\n    addVariantChild(child) {\n        const closestVariantNode = this.getClosestVariantNode();\n        if (closestVariantNode) {\n            closestVariantNode.variantChildren &&\n                closestVariantNode.variantChildren.add(child);\n            return () => closestVariantNode.variantChildren.delete(child);\n        }\n    }\n    /**\n     * Add a motion value and bind it to this visual element.\n     */\n    addValue(key, value) {\n        // Remove existing value if it exists\n        const existingValue = this.values.get(key);\n        if (value !== existingValue) {\n            if (existingValue)\n                this.removeValue(key);\n            this.bindToMotionValue(key, value);\n            this.values.set(key, value);\n            this.latestValues[key] = value.get();\n        }\n    }\n    /**\n     * Remove a motion value and unbind any active subscriptions.\n     */\n    removeValue(key) {\n        this.values.delete(key);\n        const unsubscribe = this.valueSubscriptions.get(key);\n        if (unsubscribe) {\n            unsubscribe();\n            this.valueSubscriptions.delete(key);\n        }\n        delete this.latestValues[key];\n        this.removeValueFromRenderState(key, this.renderState);\n    }\n    /**\n     * Check whether we have a motion value for this key\n     */\n    hasValue(key) {\n        return this.values.has(key);\n    }\n    getValue(key, defaultValue) {\n        if (this.props.values && this.props.values[key]) {\n            return this.props.values[key];\n        }\n        let value = this.values.get(key);\n        if (value === undefined && defaultValue !== undefined) {\n            value = motionValue(defaultValue === null ? undefined : defaultValue, { owner: this });\n            this.addValue(key, value);\n        }\n        return value;\n    }\n    /**\n     * If we're trying to animate to a previously unencountered value,\n     * we need to check for it in our state and as a last resort read it\n     * directly from the instance (which might have performance implications).\n     */\n    readValue(key, target) {\n        var _a;\n        let value = this.latestValues[key] !== undefined || !this.current\n            ? this.latestValues[key]\n            : (_a = this.getBaseTargetFromProps(this.props, key)) !== null && _a !== void 0 ? _a : this.readValueFromInstance(this.current, key, this.options);\n        if (value !== undefined && value !== null) {\n            if (typeof value === \"string\" &&\n                (isNumericalString(value) || isZeroValueString(value))) {\n                // If this is a number read as a string, ie \"0\" or \"200\", convert it to a number\n                value = parseFloat(value);\n            }\n            else if (!findValueType(value) && complex.test(target)) {\n                value = getAnimatableNone(key, target);\n            }\n            this.setBaseTarget(key, isMotionValue(value) ? value.get() : value);\n        }\n        return isMotionValue(value) ? value.get() : value;\n    }\n    /**\n     * Set the base target to later animate back to. This is currently\n     * only hydrated on creation and when we first read a value.\n     */\n    setBaseTarget(key, value) {\n        this.baseTarget[key] = value;\n    }\n    /**\n     * Find the base target for a value thats been removed from all animation\n     * props.\n     */\n    getBaseTarget(key) {\n        var _a;\n        const { initial } = this.props;\n        let valueFromInitial;\n        if (typeof initial === \"string\" || typeof initial === \"object\") {\n            const variant = resolveVariantFromProps(this.props, initial, (_a = this.presenceContext) === null || _a === void 0 ? void 0 : _a.custom);\n            if (variant) {\n                valueFromInitial = variant[key];\n            }\n        }\n        /**\n         * If this value still exists in the current initial variant, read that.\n         */\n        if (initial && valueFromInitial !== undefined) {\n            return valueFromInitial;\n        }\n        /**\n         * Alternatively, if this VisualElement config has defined a getBaseTarget\n         * so we can read the value from an alternative source, try that.\n         */\n        const target = this.getBaseTargetFromProps(this.props, key);\n        if (target !== undefined && !isMotionValue(target))\n            return target;\n        /**\n         * If the value was initially defined on initial, but it doesn't any more,\n         * return undefined. Otherwise return the value as initially read from the DOM.\n         */\n        return this.initialValues[key] !== undefined &&\n            valueFromInitial === undefined\n            ? undefined\n            : this.baseTarget[key];\n    }\n    on(eventName, callback) {\n        if (!this.events[eventName]) {\n            this.events[eventName] = new SubscriptionManager();\n        }\n        return this.events[eventName].add(callback);\n    }\n    notify(eventName, ...args) {\n        if (this.events[eventName]) {\n            this.events[eventName].notify(...args);\n        }\n    }\n}\n\nexport { VisualElement };\n","import { isBrowser } from '../is-browser.mjs';\nimport { hasReducedMotionListener, prefersReducedMotion } from './state.mjs';\n\nfunction initPrefersReducedMotion() {\n    hasReducedMotionListener.current = true;\n    if (!isBrowser)\n        return;\n    if (window.matchMedia) {\n        const motionMediaQuery = window.matchMedia(\"(prefers-reduced-motion)\");\n        const setReducedMotionPreferences = () => (prefersReducedMotion.current = motionMediaQuery.matches);\n        motionMediaQuery.addListener(setReducedMotionPreferences);\n        setReducedMotionPreferences();\n    }\n    else {\n        prefersReducedMotion.current = false;\n    }\n}\n\nexport { initPrefersReducedMotion };\n","import { warnOnce } from '../../utils/warn-once.mjs';\nimport { motionValue } from '../../value/index.mjs';\nimport { isMotionValue } from '../../value/utils/is-motion-value.mjs';\n\nfunction updateMotionValuesFromProps(element, next, prev) {\n    for (const key in next) {\n        const nextValue = next[key];\n        const prevValue = prev[key];\n        if (isMotionValue(nextValue)) {\n            /**\n             * If this is a motion value found in props or style, we want to add it\n             * to our visual element's motion value map.\n             */\n            element.addValue(key, nextValue);\n            /**\n             * Check the version of the incoming motion value with this version\n             * and warn against mismatches.\n             */\n            if (process.env.NODE_ENV === \"development\") {\n                warnOnce(nextValue.version === \"11.15.0\", `Attempting to mix Motion versions ${nextValue.version} with 11.15.0 may not work as expected.`);\n            }\n        }\n        else if (isMotionValue(prevValue)) {\n            /**\n             * If we're swapping from a motion value to a static value,\n             * create a new motion value from that\n             */\n            element.addValue(key, motionValue(nextValue, { owner: element }));\n        }\n        else if (prevValue !== nextValue) {\n            /**\n             * If this is a flat value that has changed, update the motion value\n             * or create one if it doesn't exist. We only want to do this if we're\n             * not handling the value with our animation state.\n             */\n            if (element.hasValue(key)) {\n                const existingValue = element.getValue(key);\n                if (existingValue.liveStyle === true) {\n                    existingValue.jump(nextValue);\n                }\n                else if (!existingValue.hasAnimated) {\n                    existingValue.set(nextValue);\n                }\n            }\n            else {\n                const latestValue = element.getStaticValue(key);\n                element.addValue(key, motionValue(latestValue !== undefined ? latestValue : nextValue, { owner: element }));\n            }\n        }\n    }\n    // Handle removed values\n    for (const key in prev) {\n        if (next[key] === undefined)\n            element.removeValue(key);\n    }\n    return next;\n}\n\nexport { updateMotionValuesFromProps };\n","import { VisualElement } from '../VisualElement.mjs';\nimport { DOMKeyframesResolver } from './DOMKeyframesResolver.mjs';\nimport { isMotionValue } from '../../value/utils/is-motion-value.mjs';\n\nclass DOMVisualElement extends VisualElement {\n    constructor() {\n        super(...arguments);\n        this.KeyframeResolver = DOMKeyframesResolver;\n    }\n    sortInstanceNodePosition(a, b) {\n        /**\n         * compareDocumentPosition returns a bitmask, by using the bitwise &\n         * we're returning true if 2 in that bitmask is set to true. 2 is set\n         * to true if b preceeds a.\n         */\n        return a.compareDocumentPosition(b) & 2 ? 1 : -1;\n    }\n    getBaseTargetFromProps(props, key) {\n        return props.style\n            ? props.style[key]\n            : undefined;\n    }\n    removeValueFromRenderState(key, { vars, style }) {\n        delete vars[key];\n        delete style[key];\n    }\n    handleChildMotionValue() {\n        if (this.childSubscription) {\n            this.childSubscription();\n            delete this.childSubscription;\n        }\n        const { children } = this.props;\n        if (isMotionValue(children)) {\n            this.childSubscription = children.on(\"change\", (latest) => {\n                if (this.current) {\n                    this.current.textContent = `${latest}`;\n                }\n            });\n        }\n    }\n}\n\nexport { DOMVisualElement };\n","import { buildHTMLStyles } from './utils/build-styles.mjs';\nimport { isCSSVariableName } from '../dom/utils/is-css-variable.mjs';\nimport { transformProps } from './utils/transform.mjs';\nimport { scrapeMotionValuesFromProps } from './utils/scrape-motion-values.mjs';\nimport { renderHTML } from './utils/render.mjs';\nimport { getDefaultValueType } from '../dom/value-types/defaults.mjs';\nimport { measureViewportBox } from '../../projection/utils/measure.mjs';\nimport { DOMVisualElement } from '../dom/DOMVisualElement.mjs';\n\nfunction getComputedStyle(element) {\n    return window.getComputedStyle(element);\n}\nclass HTMLVisualElement extends DOMVisualElement {\n    constructor() {\n        super(...arguments);\n        this.type = \"html\";\n        this.renderInstance = renderHTML;\n    }\n    readValueFromInstance(instance, key) {\n        if (transformProps.has(key)) {\n            const defaultType = getDefaultValueType(key);\n            return defaultType ? defaultType.default || 0 : 0;\n        }\n        else {\n            const computedStyle = getComputedStyle(instance);\n            const value = (isCSSVariableName(key)\n                ? computedStyle.getPropertyValue(key)\n                : computedStyle[key]) || 0;\n            return typeof value === \"string\" ? value.trim() : value;\n        }\n    }\n    measureInstanceViewportBox(instance, { transformPagePoint }) {\n        return measureViewportBox(instance, transformPagePoint);\n    }\n    build(renderState, latestValues, props) {\n        buildHTMLStyles(renderState, latestValues, props.transformTemplate);\n    }\n    scrapeMotionValuesFromProps(props, prevProps, visualElement) {\n        return scrapeMotionValuesFromProps(props, prevProps, visualElement);\n    }\n}\n\nexport { HTMLVisualElement, getComputedStyle };\n","import { scrapeMotionValuesFromProps } from './utils/scrape-motion-values.mjs';\nimport { DOMVisualElement } from '../dom/DOMVisualElement.mjs';\nimport { buildSVGAttrs } from './utils/build-attrs.mjs';\nimport { camelToDash } from '../dom/utils/camel-to-dash.mjs';\nimport { camelCaseAttributes } from './utils/camel-case-attrs.mjs';\nimport { transformProps } from '../html/utils/transform.mjs';\nimport { renderSVG } from './utils/render.mjs';\nimport { getDefaultValueType } from '../dom/value-types/defaults.mjs';\nimport { createBox } from '../../projection/geometry/models.mjs';\nimport { isSVGTag } from './utils/is-svg-tag.mjs';\n\nclass SVGVisualElement extends DOMVisualElement {\n    constructor() {\n        super(...arguments);\n        this.type = \"svg\";\n        this.isSVGTag = false;\n        this.measureInstanceViewportBox = createBox;\n    }\n    getBaseTargetFromProps(props, key) {\n        return props[key];\n    }\n    readValueFromInstance(instance, key) {\n        if (transformProps.has(key)) {\n            const defaultType = getDefaultValueType(key);\n            return defaultType ? defaultType.default || 0 : 0;\n        }\n        key = !camelCaseAttributes.has(key) ? camelToDash(key) : key;\n        return instance.getAttribute(key);\n    }\n    scrapeMotionValuesFromProps(props, prevProps, visualElement) {\n        return scrapeMotionValuesFromProps(props, prevProps, visualElement);\n    }\n    build(renderState, latestValues, props) {\n        buildSVGAttrs(renderState, latestValues, this.isSVGTag, props.transformTemplate);\n    }\n    renderInstance(instance, renderState, styleProp, projection) {\n        renderSVG(instance, renderState, styleProp, projection);\n    }\n    mount(instance) {\n        this.isSVGTag = isSVGTag(instance.tagName);\n        super.mount(instance);\n    }\n}\n\nexport { SVGVisualElement };\n","import { Fragment } from 'react';\nimport { HTMLVisualElement } from '../html/HTMLVisualElement.mjs';\nimport { SVGVisualElement } from '../svg/SVGVisualElement.mjs';\nimport { isSVGComponent } from './utils/is-svg-component.mjs';\n\nconst createDomVisualElement = (Component, options) => {\n    return isSVGComponent(Component)\n        ? new SVGVisualElement(options)\n        : new HTMLVisualElement(options, {\n            allowProjection: Component !== Fragment,\n        });\n};\n\nexport { createDomVisualElement };\n","import { createDOMMotionComponentProxy } from '../create-proxy.mjs';\nimport { createMotionComponent } from './create.mjs';\n\nconst motion = /*@__PURE__*/ createDOMMotionComponentProxy(createMotionComponent);\n\nexport { motion };\n","import { animations } from '../../../motion/features/animations.mjs';\nimport { drag } from '../../../motion/features/drag.mjs';\nimport { gestureAnimations } from '../../../motion/features/gestures.mjs';\nimport { layout } from '../../../motion/features/layout.mjs';\nimport { createMotionComponentFactory } from '../create-factory.mjs';\nimport { createDomVisualElement } from '../../dom/create-visual-element.mjs';\n\nconst createMotionComponent = /*@__PURE__*/ createMotionComponentFactory({\n    ...animations,\n    ...gestureAnimations,\n    ...drag,\n    ...layout,\n}, createDomVisualElement);\n\nexport { createMotionComponent };\n","\"use client\";\nimport { jsx } from 'react/jsx-runtime';\nimport * as React from 'react';\nimport { useId, useRef, useContext, useInsertionEffect } from 'react';\nimport { MotionConfigContext } from '../../context/MotionConfigContext.mjs';\n\n/**\n * Measurement functionality has to be within a separate component\n * to leverage snapshot lifecycle.\n */\nclass PopChildMeasure extends React.Component {\n    getSnapshotBeforeUpdate(prevProps) {\n        const element = this.props.childRef.current;\n        if (element && prevProps.isPresent && !this.props.isPresent) {\n            const size = this.props.sizeRef.current;\n            size.height = element.offsetHeight || 0;\n            size.width = element.offsetWidth || 0;\n            size.top = element.offsetTop;\n            size.left = element.offsetLeft;\n        }\n        return null;\n    }\n    /**\n     * Required with getSnapshotBeforeUpdate to stop React complaining.\n     */\n    componentDidUpdate() { }\n    render() {\n        return this.props.children;\n    }\n}\nfunction PopChild({ children, isPresent }) {\n    const id = useId();\n    const ref = useRef(null);\n    const size = useRef({\n        width: 0,\n        height: 0,\n        top: 0,\n        left: 0,\n    });\n    const { nonce } = useContext(MotionConfigContext);\n    /**\n     * We create and inject a style block so we can apply this explicit\n     * sizing in a non-destructive manner by just deleting the style block.\n     *\n     * We can't apply size via render as the measurement happens\n     * in getSnapshotBeforeUpdate (post-render), likewise if we apply the\n     * styles directly on the DOM node, we might be overwriting\n     * styles set via the style prop.\n     */\n    useInsertionEffect(() => {\n        const { width, height, top, left } = size.current;\n        if (isPresent || !ref.current || !width || !height)\n            return;\n        ref.current.dataset.motionPopId = id;\n        const style = document.createElement(\"style\");\n        if (nonce)\n            style.nonce = nonce;\n        document.head.appendChild(style);\n        if (style.sheet) {\n            style.sheet.insertRule(`\n          [data-motion-pop-id=\"${id}\"] {\n            position: absolute !important;\n            width: ${width}px !important;\n            height: ${height}px !important;\n            top: ${top}px !important;\n            left: ${left}px !important;\n          }\n        `);\n        }\n        return () => {\n            document.head.removeChild(style);\n        };\n    }, [isPresent]);\n    return (jsx(PopChildMeasure, { isPresent: isPresent, childRef: ref, sizeRef: size, children: React.cloneElement(children, { ref }) }));\n}\n\nexport { PopChild };\n","\"use client\";\nimport { jsx } from 'react/jsx-runtime';\nimport * as React from 'react';\nimport { useId, useCallback, useMemo } from 'react';\nimport { PresenceContext } from '../../context/PresenceContext.mjs';\nimport { useConstant } from '../../utils/use-constant.mjs';\nimport { PopChild } from './PopChild.mjs';\n\nconst PresenceChild = ({ children, initial, isPresent, onExitComplete, custom, presenceAffectsLayout, mode, }) => {\n    const presenceChildren = useConstant(newChildrenMap);\n    const id = useId();\n    const memoizedOnExitComplete = useCallback((childId) => {\n        presenceChildren.set(childId, true);\n        for (const isComplete of presenceChildren.values()) {\n            if (!isComplete)\n                return; // can stop searching when any is incomplete\n        }\n        onExitComplete && onExitComplete();\n    }, [presenceChildren, onExitComplete]);\n    const context = useMemo(() => ({\n        id,\n        initial,\n        isPresent,\n        custom,\n        onExitComplete: memoizedOnExitComplete,\n        register: (childId) => {\n            presenceChildren.set(childId, false);\n            return () => presenceChildren.delete(childId);\n        },\n    }), \n    /**\n     * If the presence of a child affects the layout of the components around it,\n     * we want to make a new context value to ensure they get re-rendered\n     * so they can detect that layout change.\n     */\n    presenceAffectsLayout\n        ? [Math.random(), memoizedOnExitComplete]\n        : [isPresent, memoizedOnExitComplete]);\n    useMemo(() => {\n        presenceChildren.forEach((_, key) => presenceChildren.set(key, false));\n    }, [isPresent]);\n    /**\n     * If there's no `motion` components to fire exit animations, we want to remove this\n     * component immediately.\n     */\n    React.useEffect(() => {\n        !isPresent &&\n            !presenceChildren.size &&\n            onExitComplete &&\n            onExitComplete();\n    }, [isPresent]);\n    if (mode === \"popLayout\") {\n        children = jsx(PopChild, { isPresent: isPresent, children: children });\n    }\n    return (jsx(PresenceContext.Provider, { value: context, children: children }));\n};\nfunction newChildrenMap() {\n    return new Map();\n}\n\nexport { PresenceChild };\n","import { Children, isValidElement } from 'react';\n\nconst getChildKey = (child) => child.key || \"\";\nfunction onlyElements(children) {\n    const filtered = [];\n    // We use forEach here instead of map as map mutates the component key by preprending `.$`\n    Children.forEach(children, (child) => {\n        if (isValidElement(child))\n            filtered.push(child);\n    });\n    return filtered;\n}\n\nexport { getChildKey, onlyElements };\n","\"use client\";\nimport { jsx, Fragment } from 'react/jsx-runtime';\nimport { useMemo, useRef, useState, useContext } from 'react';\nimport { PresenceChild } from './PresenceChild.mjs';\nimport { LayoutGroupContext } from '../../context/LayoutGroupContext.mjs';\nimport { invariant } from 'motion-utils';\nimport { useConstant } from '../../utils/use-constant.mjs';\nimport { onlyElements, getChildKey } from './utils.mjs';\nimport { useIsomorphicLayoutEffect } from '../../utils/use-isomorphic-effect.mjs';\n\n/**\n * `AnimatePresence` enables the animation of components that have been removed from the tree.\n *\n * When adding/removing more than a single child, every child **must** be given a unique `key` prop.\n *\n * Any `motion` components that have an `exit` property defined will animate out when removed from\n * the tree.\n *\n * ```jsx\n * import { motion, AnimatePresence } from 'framer-motion'\n *\n * export const Items = ({ items }) => (\n *   <AnimatePresence>\n *     {items.map(item => (\n *       <motion.div\n *         key={item.id}\n *         initial={{ opacity: 0 }}\n *         animate={{ opacity: 1 }}\n *         exit={{ opacity: 0 }}\n *       />\n *     ))}\n *   </AnimatePresence>\n * )\n * ```\n *\n * You can sequence exit animations throughout a tree using variants.\n *\n * If a child contains multiple `motion` components with `exit` props, it will only unmount the child\n * once all `motion` components have finished animating out. Likewise, any components using\n * `usePresence` all need to call `safeToRemove`.\n *\n * @public\n */\nconst AnimatePresence = ({ children, exitBeforeEnter, custom, initial = true, onExitComplete, presenceAffectsLayout = true, mode = \"sync\", }) => {\n    invariant(!exitBeforeEnter, \"Replace exitBeforeEnter with mode='wait'\");\n    /**\n     * Filter any children that aren't ReactElements. We can only track components\n     * between renders with a props.key.\n     */\n    const presentChildren = useMemo(() => onlyElements(children), [children]);\n    /**\n     * Track the keys of the currently rendered children. This is used to\n     * determine which children are exiting.\n     */\n    const presentKeys = presentChildren.map(getChildKey);\n    /**\n     * If `initial={false}` we only want to pass this to components in the first render.\n     */\n    const isInitialRender = useRef(true);\n    /**\n     * A ref containing the currently present children. When all exit animations\n     * are complete, we use this to re-render the component with the latest children\n     * *committed* rather than the latest children *rendered*.\n     */\n    const pendingPresentChildren = useRef(presentChildren);\n    /**\n     * Track which exiting children have finished animating out.\n     */\n    const exitComplete = useConstant(() => new Map());\n    /**\n     * Save children to render as React state. To ensure this component is concurrent-safe,\n     * we check for exiting children via an effect.\n     */\n    const [diffedChildren, setDiffedChildren] = useState(presentChildren);\n    const [renderedChildren, setRenderedChildren] = useState(presentChildren);\n    useIsomorphicLayoutEffect(() => {\n        isInitialRender.current = false;\n        pendingPresentChildren.current = presentChildren;\n        /**\n         * Update complete status of exiting children.\n         */\n        for (let i = 0; i < renderedChildren.length; i++) {\n            const key = getChildKey(renderedChildren[i]);\n            if (!presentKeys.includes(key)) {\n                if (exitComplete.get(key) !== true) {\n                    exitComplete.set(key, false);\n                }\n            }\n            else {\n                exitComplete.delete(key);\n            }\n        }\n    }, [renderedChildren, presentKeys.length, presentKeys.join(\"-\")]);\n    const exitingChildren = [];\n    if (presentChildren !== diffedChildren) {\n        let nextChildren = [...presentChildren];\n        /**\n         * Loop through all the currently rendered components and decide which\n         * are exiting.\n         */\n        for (let i = 0; i < renderedChildren.length; i++) {\n            const child = renderedChildren[i];\n            const key = getChildKey(child);\n            if (!presentKeys.includes(key)) {\n                nextChildren.splice(i, 0, child);\n                exitingChildren.push(child);\n            }\n        }\n        /**\n         * If we're in \"wait\" mode, and we have exiting children, we want to\n         * only render these until they've all exited.\n         */\n        if (mode === \"wait\" && exitingChildren.length) {\n            nextChildren = exitingChildren;\n        }\n        setRenderedChildren(onlyElements(nextChildren));\n        setDiffedChildren(presentChildren);\n        /**\n         * Early return to ensure once we've set state with the latest diffed\n         * children, we can immediately re-render.\n         */\n        return;\n    }\n    if (process.env.NODE_ENV !== \"production\" &&\n        mode === \"wait\" &&\n        renderedChildren.length > 1) {\n        console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to \"wait\". This will lead to odd visual behaviour.`);\n    }\n    /**\n     * If we've been provided a forceRender function by the LayoutGroupContext,\n     * we can use it to force a re-render amongst all surrounding components once\n     * all components have finished animating out.\n     */\n    const { forceRender } = useContext(LayoutGroupContext);\n    return (jsx(Fragment, { children: renderedChildren.map((child) => {\n            const key = getChildKey(child);\n            const isPresent = presentChildren === renderedChildren ||\n                presentKeys.includes(key);\n            const onExit = () => {\n                if (exitComplete.has(key)) {\n                    exitComplete.set(key, true);\n                }\n                else {\n                    return;\n                }\n                let isEveryExitComplete = true;\n                exitComplete.forEach((isExitComplete) => {\n                    if (!isExitComplete)\n                        isEveryExitComplete = false;\n                });\n                if (isEveryExitComplete) {\n                    forceRender === null || forceRender === void 0 ? void 0 : forceRender();\n                    setRenderedChildren(pendingPresentChildren.current);\n                    onExitComplete && onExitComplete();\n                }\n            };\n            return (jsx(PresenceChild, { isPresent: isPresent, initial: !isInitialRender.current || initial\n                    ? undefined\n                    : false, custom: isPresent ? undefined : custom, presenceAffectsLayout: presenceAffectsLayout, mode: mode, onExitComplete: isPresent ? undefined : onExit, children: child }, key));\n        }) }));\n};\n\nexport { AnimatePresence };\n","import { buildTheme, createColorTheme as createColorTheme$1, hexToRgb as hexToRgb$1, hslToRgb as hslToRgb$1, multiply as multiply$1, parseColor as parseColor$1, rgbToHex as rgbToHex$1, rgbToHsl as rgbToHsl$1, rgba as rgba$1, screen as screen$1, getTheme_v2, getScopedTheme } from \"@sanity/ui/theme\";\nimport { jsx, jsxs, Fragment } from \"react/jsx-runtime\";\nimport { c } from \"react-compiler-runtime\";\nimport { useState, useRef, useEffect, useDebugValue, useImperativeHandle, useMemo, useSyncExternalStore, createContext, useContext, forwardRef, useId, Children, isValidElement, cloneElement, Component, memo, useCallback, useLayoutEffect, useReducer, Fragment as Fragment$1, startTransition } from \"react\";\nimport ReactIs, { isValidElementType } from \"react-is\";\nimport { ThemeProvider as ThemeProvider$1, useTheme as useTheme$1, css, styled, keyframes } from \"styled-components\";\nimport { SpinnerIcon, CheckmarkIcon, RemoveIcon, ChevronDownIcon, CloseIcon, ChevronRightIcon, ToggleArrowRightIcon } from \"@sanity/icons\";\nimport Refractor from \"react-refractor\";\nimport { detectOverflow, flip, offset, shift, arrow, hide, useFloating, autoUpdate } from \"@floating-ui/react-dom\";\nimport { motion, AnimatePresence } from \"framer-motion\";\nimport { createPortal } from \"react-dom\";\nimport { useEffectEvent } from \"use-effect-event\";\nimport { getTheme_v2 as getTheme_v2$1 } from \"./_chunks-es/getTheme_v2.mjs\";\nconst createColorTheme = createColorTheme$1, hexToRgb = hexToRgb$1, hslToRgb = hslToRgb$1, multiply = multiply$1, parseColor = parseColor$1, rgbToHex = rgbToHex$1, rgbToHsl = rgbToHsl$1, rgba = rgba$1, screen = screen$1, studioTheme = buildTheme(), EMPTY_ARRAY = [], EMPTY_RECORD = {}, POPOVER_MOTION_CONTENT_OPACITY_PROPERTY = \"--motion-content-opacity\", POPOVER_MOTION_PROPS = {\n  initial: {\n    opacity: 0.5,\n    [POPOVER_MOTION_CONTENT_OPACITY_PROPERTY]: 0,\n    scale: 0.97,\n    willChange: \"transform\"\n  },\n  animate: {\n    opacity: [null, 1, 1],\n    [POPOVER_MOTION_CONTENT_OPACITY_PROPERTY]: [null, null, 1],\n    scale: 1\n  },\n  exit: {\n    // @ts-expect-error -- passing null a second time is valid: https://github.com/framer/motion/blob/b9ce4c42914c3916ea523609c5b032dfc72718bb/packages/framer-motion/src/animation/utils/keyframes.ts#L34C22-L34C22\n    opacity: [null, null, 0],\n    [POPOVER_MOTION_CONTENT_OPACITY_PROPERTY]: [null, 0, 0],\n    scale: 0.97\n  },\n  transition: {\n    duration: 0.4,\n    type: \"spring\"\n  }\n};\nfunction _fillCSSObject(keys, value) {\n  return keys.reduce((style, key2) => (style[key2] = value, style), {});\n}\nfunction rem(pixelValue) {\n  return pixelValue === 0 ? 0 : `${pixelValue / 16}rem`;\n}\nfunction _responsive(media, values, callback) {\n  return (values?.map(callback) || []).map((statement, mediaIndex) => mediaIndex === 0 ? statement : {\n    [`@media screen and (min-width: ${media[mediaIndex - 1]}px)`]: statement\n  });\n}\nfunction _getArrayProp(val, defaultVal) {\n  return val === void 0 ? defaultVal || EMPTY_ARRAY : Array.isArray(val) ? val : [val];\n}\nfunction _getResponsiveSpace(theme, props, spaceIndexes = EMPTY_ARRAY) {\n  if (!Array.isArray(spaceIndexes))\n    throw new Error(\"the property must be array of numbers\");\n  if (spaceIndexes.length === 0)\n    return null;\n  const {\n    media,\n    space\n  } = getTheme_v2(theme);\n  return _responsive(media, spaceIndexes, (spaceIndex) => _fillCSSObject(props, rem(space[spaceIndex])));\n}\nfunction responsiveFont(fontKey, props) {\n  const {\n    $size,\n    $weight\n  } = props, {\n    font,\n    media\n  } = getTheme_v2(props.theme), {\n    family,\n    sizes,\n    weights\n  } = font[fontKey], fontWeight = $weight && weights[$weight] || weights.regular, defaultSize = sizes[2], base = {\n    position: \"relative\",\n    fontFamily: family,\n    fontWeight,\n    padding: \"1px 0\",\n    margin: 0,\n    \"&:before\": {\n      content: '\"\"',\n      display: \"block\",\n      height: 0\n    },\n    \"&:after\": {\n      content: '\"\"',\n      display: \"block\",\n      height: 0\n    },\n    \"& > code, & > span\": {\n      display: \"block\"\n    },\n    \"&:not([hidden])\": {\n      display: \"block\"\n    }\n  };\n  if (!$size)\n    return responsiveFont.warned || (console.warn(\"No size specified for responsive font\", {\n      fontKey,\n      $size,\n      props,\n      base\n    }), responsiveFont.warned = !0), [base];\n  const resp = _responsive(media, $size, (sizeIndex) => fontSize(sizes[sizeIndex] || defaultSize));\n  return [base, ...resp];\n}\nfunction fontSize(size2) {\n  const {\n    ascenderHeight,\n    descenderHeight,\n    fontSize: fontSize2,\n    iconSize,\n    letterSpacing,\n    lineHeight\n  } = size2, negHeight = ascenderHeight + descenderHeight, capHeight = lineHeight - negHeight, iconOffset = (capHeight - iconSize) / 2, customIconSize = Math.floor(fontSize2 * 1.125 / 2) * 2 + 1, customIconOffset = (capHeight - customIconSize) / 2;\n  return {\n    fontSize: rem(fontSize2),\n    lineHeight: `calc(${lineHeight} / ${fontSize2})`,\n    letterSpacing: rem(letterSpacing),\n    transform: `translateY(${rem(descenderHeight)})`,\n    \"&:before\": {\n      marginTop: `calc(${rem(0 - negHeight)} - 1px)`\n    },\n    \"&:after\": {\n      marginBottom: \"-1px\"\n    },\n    \"& svg:not([data-sanity-icon])\": {\n      fontSize: `calc(${customIconSize} / 16 * 1rem)`,\n      margin: rem(customIconOffset)\n    },\n    \"& [data-sanity-icon]\": {\n      fontSize: `calc(${iconSize} / 16 * 1rem)`,\n      margin: rem(iconOffset)\n    }\n  };\n}\nfunction responsiveCodeFontStyle(props) {\n  return responsiveFont(\"code\", props);\n}\nfunction responsiveHeadingFont(props) {\n  return responsiveFont(\"heading\", props);\n}\nfunction responsiveLabelFont(props) {\n  return responsiveFont(\"label\", props);\n}\nfunction responsiveTextAlignStyle(props) {\n  const {\n    media\n  } = getTheme_v2(props.theme);\n  return _responsive(media, props.$align, (textAlign) => ({\n    textAlign\n  }));\n}\nfunction responsiveTextFont(props) {\n  return responsiveFont(\"text\", props);\n}\nfunction useArrayProp(val, defaultVal) {\n  const $ = c(3);\n  let t0;\n  $[0] !== defaultVal || $[1] !== val ? (t0 = () => [_getArrayProp(val, defaultVal), JSON.stringify(val ?? defaultVal)], $[0] = defaultVal, $[1] = val, $[2] = t0) : t0 = $[2];\n  const [t1, setCache] = useState(t0), [cachedVal, cachedHash] = t1, hash = JSON.stringify(val ?? defaultVal);\n  return hash !== cachedHash && setCache([_getArrayProp(val, defaultVal), hash]), cachedVal;\n}\nfunction _getElements(element, elementsArg) {\n  const ret = [element];\n  for (const el of elementsArg)\n    Array.isArray(el) ? ret.push(...el) : ret.push(el);\n  return ret.filter(Boolean);\n}\nfunction useClickOutside(listener, t0, boundaryElement) {\n  const $ = c(12), elementsArg = t0 === void 0 ? EMPTY_ARRAY : t0, [element, setElement] = useState(null);\n  let t1;\n  $[0] !== element || $[1] !== elementsArg ? (t1 = () => _getElements(element, elementsArg), $[0] = element, $[1] = elementsArg, $[2] = t1) : t1 = $[2];\n  const [elements, setElements] = useState(t1), elementsRef = useRef(elements);\n  let t2, t3;\n  $[3] !== element || $[4] !== elementsArg ? (t2 = () => {\n    const prevElements = elementsRef.current, nextElements = _getElements(element, elementsArg);\n    if (prevElements.length !== nextElements.length) {\n      setElements(nextElements), elementsRef.current = nextElements;\n      return;\n    }\n    for (const el of prevElements)\n      if (!nextElements.includes(el)) {\n        setElements(nextElements), elementsRef.current = nextElements;\n        return;\n      }\n    for (const el_0 of nextElements)\n      if (!prevElements.includes(el_0)) {\n        setElements(nextElements), elementsRef.current = nextElements;\n        return;\n      }\n  }, t3 = [element, elementsArg], $[3] = element, $[4] = elementsArg, $[5] = t2, $[6] = t3) : (t2 = $[5], t3 = $[6]), useEffect(t2, t3);\n  let t4, t5;\n  return $[7] !== boundaryElement || $[8] !== elements || $[9] !== listener ? (t4 = () => {\n    if (!listener)\n      return;\n    const handleWindowMouseDown = (evt) => {\n      const target = evt.target;\n      if (target instanceof Node && !(boundaryElement && !boundaryElement.contains(target))) {\n        for (const el_1 of elements)\n          if (target === el_1 || el_1.contains(target))\n            return;\n        listener(evt);\n      }\n    };\n    return window.addEventListener(\"mousedown\", handleWindowMouseDown), () => {\n      window.removeEventListener(\"mousedown\", handleWindowMouseDown);\n    };\n  }, t5 = [boundaryElement, listener, elements], $[7] = boundaryElement, $[8] = elements, $[9] = listener, $[10] = t4, $[11] = t5) : (t4 = $[10], t5 = $[11]), useEffect(t4, t5), setElement;\n}\nfunction useClickOutsideEvent(listener, t0, boundaryElement) {\n  const $ = c(8), elementsArg = t0 === void 0 ? _temp$b : t0;\n  let t1;\n  $[0] !== boundaryElement || $[1] !== elementsArg || $[2] !== listener ? (t1 = (evt) => {\n    if (!listener)\n      return;\n    const target = evt.target;\n    if (!(target instanceof Node))\n      return;\n    const resolvedBoundaryElement = boundaryElement?.();\n    if (resolvedBoundaryElement && !resolvedBoundaryElement.contains(target))\n      return;\n    const elements = elementsArg().flat();\n    for (const el of elements)\n      if (el && (target === el || el.contains(target)))\n        return;\n    listener(evt);\n  }, $[0] = boundaryElement, $[1] = elementsArg, $[2] = listener, $[3] = t1) : t1 = $[3];\n  const onEvent = useEffectEvent(t1), hasListener = !!listener;\n  let t2, t3;\n  $[4] !== hasListener || $[5] !== onEvent ? (t2 = () => {\n    if (!hasListener)\n      return;\n    const handleEvent = (evt_0) => onEvent(evt_0);\n    return document.addEventListener(\"mousedown\", handleEvent), () => {\n      document.removeEventListener(\"mousedown\", handleEvent);\n    };\n  }, t3 = [hasListener, onEvent], $[4] = hasListener, $[5] = onEvent, $[6] = t2, $[7] = t3) : (t2 = $[6], t3 = $[7]), useEffect(t2, t3), useDebugValue(listener ? \"MouseDown On\" : \"MouseDown Off\");\n}\nfunction _temp$b() {\n  return EMPTY_ARRAY;\n}\nfunction useCustomValidity(ref, customValidity) {\n  const $ = c(6);\n  let t0;\n  $[0] !== customValidity || $[1] !== ref.current ? (t0 = () => {\n    ref.current?.setCustomValidity(customValidity || \"\");\n  }, $[0] = customValidity, $[1] = ref.current, $[2] = t0) : t0 = $[2];\n  let t1;\n  $[3] !== customValidity || $[4] !== ref ? (t1 = [customValidity, ref], $[3] = customValidity, $[4] = ref, $[5] = t1) : t1 = $[5], useEffect(t0, t1);\n}\nvar resizeObservers = [], hasActiveObservations = function() {\n  return resizeObservers.some(function(ro) {\n    return ro.activeTargets.length > 0;\n  });\n}, hasSkippedObservations = function() {\n  return resizeObservers.some(function(ro) {\n    return ro.skippedTargets.length > 0;\n  });\n}, msg = \"ResizeObserver loop completed with undelivered notifications.\", deliverResizeLoopError = function() {\n  var event;\n  typeof ErrorEvent == \"function\" ? event = new ErrorEvent(\"error\", {\n    message: msg\n  }) : (event = document.createEvent(\"Event\"), event.initEvent(\"error\", !1, !1), event.message = msg), window.dispatchEvent(event);\n}, ResizeObserverBoxOptions;\n(function(ResizeObserverBoxOptions2) {\n  ResizeObserverBoxOptions2.BORDER_BOX = \"border-box\", ResizeObserverBoxOptions2.CONTENT_BOX = \"content-box\", ResizeObserverBoxOptions2.DEVICE_PIXEL_CONTENT_BOX = \"device-pixel-content-box\";\n})(ResizeObserverBoxOptions || (ResizeObserverBoxOptions = {}));\nvar freeze = function(obj) {\n  return Object.freeze(obj);\n}, ResizeObserverSize = /* @__PURE__ */ function() {\n  function ResizeObserverSize2(inlineSize, blockSize) {\n    this.inlineSize = inlineSize, this.blockSize = blockSize, freeze(this);\n  }\n  return ResizeObserverSize2;\n}(), DOMRectReadOnly = function() {\n  function DOMRectReadOnly2(x, y, width, height) {\n    return this.x = x, this.y = y, this.width = width, this.height = height, this.top = this.y, this.left = this.x, this.bottom = this.top + this.height, this.right = this.left + this.width, freeze(this);\n  }\n  return DOMRectReadOnly2.prototype.toJSON = function() {\n    var _a = this, x = _a.x, y = _a.y, top = _a.top, right = _a.right, bottom = _a.bottom, left = _a.left, width = _a.width, height = _a.height;\n    return {\n      x,\n      y,\n      top,\n      right,\n      bottom,\n      left,\n      width,\n      height\n    };\n  }, DOMRectReadOnly2.fromRect = function(rectangle) {\n    return new DOMRectReadOnly2(rectangle.x, rectangle.y, rectangle.width, rectangle.height);\n  }, DOMRectReadOnly2;\n}(), isSVG = function(target) {\n  return target instanceof SVGElement && \"getBBox\" in target;\n}, isHidden = function(target) {\n  if (isSVG(target)) {\n    var _a = target.getBBox(), width = _a.width, height = _a.height;\n    return !width && !height;\n  }\n  var _b = target, offsetWidth = _b.offsetWidth, offsetHeight = _b.offsetHeight;\n  return !(offsetWidth || offsetHeight || target.getClientRects().length);\n}, isElement = function(obj) {\n  var _a;\n  if (obj instanceof Element)\n    return !0;\n  var scope = (_a = obj?.ownerDocument) === null || _a === void 0 ? void 0 : _a.defaultView;\n  return !!(scope && obj instanceof scope.Element);\n}, isReplacedElement = function(target) {\n  switch (target.tagName) {\n    case \"INPUT\":\n      if (target.type !== \"image\")\n        break;\n    case \"VIDEO\":\n    case \"AUDIO\":\n    case \"EMBED\":\n    case \"OBJECT\":\n    case \"CANVAS\":\n    case \"IFRAME\":\n    case \"IMG\":\n      return !0;\n  }\n  return !1;\n}, global$1 = typeof window < \"u\" ? window : {}, cache = /* @__PURE__ */ new WeakMap(), scrollRegexp = /auto|scroll/, verticalRegexp = /^tb|vertical/, IE = /msie|trident/i.test(global$1.navigator && global$1.navigator.userAgent), parseDimension = function(pixel) {\n  return parseFloat(pixel || \"0\");\n}, size$1 = function(inlineSize, blockSize, switchSizes) {\n  return inlineSize === void 0 && (inlineSize = 0), blockSize === void 0 && (blockSize = 0), switchSizes === void 0 && (switchSizes = !1), new ResizeObserverSize((switchSizes ? blockSize : inlineSize) || 0, (switchSizes ? inlineSize : blockSize) || 0);\n}, zeroBoxes = freeze({\n  devicePixelContentBoxSize: size$1(),\n  borderBoxSize: size$1(),\n  contentBoxSize: size$1(),\n  contentRect: new DOMRectReadOnly(0, 0, 0, 0)\n}), calculateBoxSizes = function(target, forceRecalculation) {\n  if (forceRecalculation === void 0 && (forceRecalculation = !1), cache.has(target) && !forceRecalculation)\n    return cache.get(target);\n  if (isHidden(target))\n    return cache.set(target, zeroBoxes), zeroBoxes;\n  var cs = getComputedStyle(target), svg = isSVG(target) && target.ownerSVGElement && target.getBBox(), removePadding = !IE && cs.boxSizing === \"border-box\", switchSizes = verticalRegexp.test(cs.writingMode || \"\"), canScrollVertically = !svg && scrollRegexp.test(cs.overflowY || \"\"), canScrollHorizontally = !svg && scrollRegexp.test(cs.overflowX || \"\"), paddingTop = svg ? 0 : parseDimension(cs.paddingTop), paddingRight = svg ? 0 : parseDimension(cs.paddingRight), paddingBottom = svg ? 0 : parseDimension(cs.paddingBottom), paddingLeft = svg ? 0 : parseDimension(cs.paddingLeft), borderTop2 = svg ? 0 : parseDimension(cs.borderTopWidth), borderRight2 = svg ? 0 : parseDimension(cs.borderRightWidth), borderBottom2 = svg ? 0 : parseDimension(cs.borderBottomWidth), borderLeft2 = svg ? 0 : parseDimension(cs.borderLeftWidth), horizontalPadding = paddingLeft + paddingRight, verticalPadding = paddingTop + paddingBottom, horizontalBorderArea = borderLeft2 + borderRight2, verticalBorderArea = borderTop2 + borderBottom2, horizontalScrollbarThickness = canScrollHorizontally ? target.offsetHeight - verticalBorderArea - target.clientHeight : 0, verticalScrollbarThickness = canScrollVertically ? target.offsetWidth - horizontalBorderArea - target.clientWidth : 0, widthReduction = removePadding ? horizontalPadding + horizontalBorderArea : 0, heightReduction = removePadding ? verticalPadding + verticalBorderArea : 0, contentWidth = svg ? svg.width : parseDimension(cs.width) - widthReduction - verticalScrollbarThickness, contentHeight = svg ? svg.height : parseDimension(cs.height) - heightReduction - horizontalScrollbarThickness, borderBoxWidth = contentWidth + horizontalPadding + verticalScrollbarThickness + horizontalBorderArea, borderBoxHeight = contentHeight + verticalPadding + horizontalScrollbarThickness + verticalBorderArea, boxes = freeze({\n    devicePixelContentBoxSize: size$1(Math.round(contentWidth * devicePixelRatio), Math.round(contentHeight * devicePixelRatio), switchSizes),\n    borderBoxSize: size$1(borderBoxWidth, borderBoxHeight, switchSizes),\n    contentBoxSize: size$1(contentWidth, contentHeight, switchSizes),\n    contentRect: new DOMRectReadOnly(paddingLeft, paddingTop, contentWidth, contentHeight)\n  });\n  return cache.set(target, boxes), boxes;\n}, calculateBoxSize = function(target, observedBox, forceRecalculation) {\n  var _a = calculateBoxSizes(target, forceRecalculation), borderBoxSize = _a.borderBoxSize, contentBoxSize = _a.contentBoxSize, devicePixelContentBoxSize = _a.devicePixelContentBoxSize;\n  switch (observedBox) {\n    case ResizeObserverBoxOptions.DEVICE_PIXEL_CONTENT_BOX:\n      return devicePixelContentBoxSize;\n    case ResizeObserverBoxOptions.BORDER_BOX:\n      return borderBoxSize;\n    default:\n      return contentBoxSize;\n  }\n}, ResizeObserverEntry = /* @__PURE__ */ function() {\n  function ResizeObserverEntry2(target) {\n    var boxes = calculateBoxSizes(target);\n    this.target = target, this.contentRect = boxes.contentRect, this.borderBoxSize = freeze([boxes.borderBoxSize]), this.contentBoxSize = freeze([boxes.contentBoxSize]), this.devicePixelContentBoxSize = freeze([boxes.devicePixelContentBoxSize]);\n  }\n  return ResizeObserverEntry2;\n}(), calculateDepthForNode = function(node) {\n  if (isHidden(node))\n    return 1 / 0;\n  for (var depth = 0, parent = node.parentNode; parent; )\n    depth += 1, parent = parent.parentNode;\n  return depth;\n}, broadcastActiveObservations = function() {\n  var shallowestDepth = 1 / 0, callbacks2 = [];\n  resizeObservers.forEach(function(ro) {\n    if (ro.activeTargets.length !== 0) {\n      var entries = [];\n      ro.activeTargets.forEach(function(ot) {\n        var entry = new ResizeObserverEntry(ot.target), targetDepth = calculateDepthForNode(ot.target);\n        entries.push(entry), ot.lastReportedSize = calculateBoxSize(ot.target, ot.observedBox), targetDepth < shallowestDepth && (shallowestDepth = targetDepth);\n      }), callbacks2.push(function() {\n        ro.callback.call(ro.observer, entries, ro.observer);\n      }), ro.activeTargets.splice(0, ro.activeTargets.length);\n    }\n  });\n  for (var _i = 0, callbacks_1 = callbacks2; _i < callbacks_1.length; _i++) {\n    var callback = callbacks_1[_i];\n    callback();\n  }\n  return shallowestDepth;\n}, gatherActiveObservationsAtDepth = function(depth) {\n  resizeObservers.forEach(function(ro) {\n    ro.activeTargets.splice(0, ro.activeTargets.length), ro.skippedTargets.splice(0, ro.skippedTargets.length), ro.observationTargets.forEach(function(ot) {\n      ot.isActive() && (calculateDepthForNode(ot.target) > depth ? ro.activeTargets.push(ot) : ro.skippedTargets.push(ot));\n    });\n  });\n}, process = function() {\n  var depth = 0;\n  for (gatherActiveObservationsAtDepth(depth); hasActiveObservations(); )\n    depth = broadcastActiveObservations(), gatherActiveObservationsAtDepth(depth);\n  return hasSkippedObservations() && deliverResizeLoopError(), depth > 0;\n}, trigger, callbacks = [], notify = function() {\n  return callbacks.splice(0).forEach(function(cb) {\n    return cb();\n  });\n}, queueMicroTask = function(callback) {\n  if (!trigger) {\n    var toggle_1 = 0, el_1 = document.createTextNode(\"\"), config = {\n      characterData: !0\n    };\n    new MutationObserver(function() {\n      return notify();\n    }).observe(el_1, config), trigger = function() {\n      el_1.textContent = \"\".concat(toggle_1 ? toggle_1-- : toggle_1++);\n    };\n  }\n  callbacks.push(callback), trigger();\n}, queueResizeObserver = function(cb) {\n  queueMicroTask(function() {\n    requestAnimationFrame(cb);\n  });\n}, watching = 0, isWatching = function() {\n  return !!watching;\n}, CATCH_PERIOD = 250, observerConfig = {\n  attributes: !0,\n  characterData: !0,\n  childList: !0,\n  subtree: !0\n}, events = [\"resize\", \"load\", \"transitionend\", \"animationend\", \"animationstart\", \"animationiteration\", \"keyup\", \"keydown\", \"mouseup\", \"mousedown\", \"mouseover\", \"mouseout\", \"blur\", \"focus\"], time = function(timeout) {\n  return timeout === void 0 && (timeout = 0), Date.now() + timeout;\n}, scheduled = !1, Scheduler = function() {\n  function Scheduler2() {\n    var _this = this;\n    this.stopped = !0, this.listener = function() {\n      return _this.schedule();\n    };\n  }\n  return Scheduler2.prototype.run = function(timeout) {\n    var _this = this;\n    if (timeout === void 0 && (timeout = CATCH_PERIOD), !scheduled) {\n      scheduled = !0;\n      var until = time(timeout);\n      queueResizeObserver(function() {\n        var elementsHaveResized = !1;\n        try {\n          elementsHaveResized = process();\n        } finally {\n          if (scheduled = !1, timeout = until - time(), !isWatching())\n            return;\n          elementsHaveResized ? _this.run(1e3) : timeout > 0 ? _this.run(timeout) : _this.start();\n        }\n      });\n    }\n  }, Scheduler2.prototype.schedule = function() {\n    this.stop(), this.run();\n  }, Scheduler2.prototype.observe = function() {\n    var _this = this, cb = function() {\n      return _this.observer && _this.observer.observe(document.body, observerConfig);\n    };\n    document.body ? cb() : global$1.addEventListener(\"DOMContentLoaded\", cb);\n  }, Scheduler2.prototype.start = function() {\n    var _this = this;\n    this.stopped && (this.stopped = !1, this.observer = new MutationObserver(this.listener), this.observe(), events.forEach(function(name) {\n      return global$1.addEventListener(name, _this.listener, !0);\n    }));\n  }, Scheduler2.prototype.stop = function() {\n    var _this = this;\n    this.stopped || (this.observer && this.observer.disconnect(), events.forEach(function(name) {\n      return global$1.removeEventListener(name, _this.listener, !0);\n    }), this.stopped = !0);\n  }, Scheduler2;\n}(), scheduler = new Scheduler(), updateCount = function(n) {\n  !watching && n > 0 && scheduler.start(), watching += n, !watching && scheduler.stop();\n}, skipNotifyOnElement = function(target) {\n  return !isSVG(target) && !isReplacedElement(target) && getComputedStyle(target).display === \"inline\";\n}, ResizeObservation = function() {\n  function ResizeObservation2(target, observedBox) {\n    this.target = target, this.observedBox = observedBox || ResizeObserverBoxOptions.CONTENT_BOX, this.lastReportedSize = {\n      inlineSize: 0,\n      blockSize: 0\n    };\n  }\n  return ResizeObservation2.prototype.isActive = function() {\n    var size2 = calculateBoxSize(this.target, this.observedBox, !0);\n    return skipNotifyOnElement(this.target) && (this.lastReportedSize = size2), this.lastReportedSize.inlineSize !== size2.inlineSize || this.lastReportedSize.blockSize !== size2.blockSize;\n  }, ResizeObservation2;\n}(), ResizeObserverDetail = /* @__PURE__ */ function() {\n  function ResizeObserverDetail2(resizeObserver, callback) {\n    this.activeTargets = [], this.skippedTargets = [], this.observationTargets = [], this.observer = resizeObserver, this.callback = callback;\n  }\n  return ResizeObserverDetail2;\n}(), observerMap = /* @__PURE__ */ new WeakMap(), getObservationIndex = function(observationTargets, target) {\n  for (var i = 0; i < observationTargets.length; i += 1)\n    if (observationTargets[i].target === target)\n      return i;\n  return -1;\n}, ResizeObserverController = function() {\n  function ResizeObserverController2() {\n  }\n  return ResizeObserverController2.connect = function(resizeObserver, callback) {\n    var detail = new ResizeObserverDetail(resizeObserver, callback);\n    observerMap.set(resizeObserver, detail);\n  }, ResizeObserverController2.observe = function(resizeObserver, target, options) {\n    var detail = observerMap.get(resizeObserver), firstObservation = detail.observationTargets.length === 0;\n    getObservationIndex(detail.observationTargets, target) < 0 && (firstObservation && resizeObservers.push(detail), detail.observationTargets.push(new ResizeObservation(target, options && options.box)), updateCount(1), scheduler.schedule());\n  }, ResizeObserverController2.unobserve = function(resizeObserver, target) {\n    var detail = observerMap.get(resizeObserver), index = getObservationIndex(detail.observationTargets, target), lastObservation = detail.observationTargets.length === 1;\n    index >= 0 && (lastObservation && resizeObservers.splice(resizeObservers.indexOf(detail), 1), detail.observationTargets.splice(index, 1), updateCount(-1));\n  }, ResizeObserverController2.disconnect = function(resizeObserver) {\n    var _this = this, detail = observerMap.get(resizeObserver);\n    detail.observationTargets.slice().forEach(function(ot) {\n      return _this.unobserve(resizeObserver, ot.target);\n    }), detail.activeTargets.splice(0, detail.activeTargets.length);\n  }, ResizeObserverController2;\n}(), ResizeObserver = function() {\n  function ResizeObserver2(callback) {\n    if (arguments.length === 0)\n      throw new TypeError(\"Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.\");\n    if (typeof callback != \"function\")\n      throw new TypeError(\"Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.\");\n    ResizeObserverController.connect(this, callback);\n  }\n  return ResizeObserver2.prototype.observe = function(target, options) {\n    if (arguments.length === 0)\n      throw new TypeError(\"Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.\");\n    if (!isElement(target))\n      throw new TypeError(\"Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element\");\n    ResizeObserverController.observe(this, target, options);\n  }, ResizeObserver2.prototype.unobserve = function(target) {\n    if (arguments.length === 0)\n      throw new TypeError(\"Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.\");\n    if (!isElement(target))\n      throw new TypeError(\"Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element\");\n    ResizeObserverController.unobserve(this, target);\n  }, ResizeObserver2.prototype.disconnect = function() {\n    ResizeObserverController.disconnect(this);\n  }, ResizeObserver2.toString = function() {\n    return \"function ResizeObserver () { [polyfill code] }\";\n  }, ResizeObserver2;\n}();\nconst _ResizeObserver = typeof document < \"u\" && typeof window < \"u\" && window.ResizeObserver ? window.ResizeObserver : ResizeObserver, _elementSizeObserver = _createElementSizeObserver();\nfunction _createElementRectValueListener() {\n  return {\n    subscribe(element, subscriber) {\n      const resizeObserver = new _ResizeObserver(([entry]) => {\n        subscriber({\n          _contentRect: entry.contentRect,\n          border: {\n            width: entry.borderBoxSize[0].inlineSize,\n            height: entry.borderBoxSize[0].blockSize\n          },\n          content: {\n            width: entry.contentRect.width,\n            height: entry.contentRect.height\n          }\n        });\n      });\n      return resizeObserver.observe(element), () => {\n        resizeObserver.unobserve(element), resizeObserver.disconnect();\n      };\n    }\n  };\n}\nfunction _createElementSizeObserver() {\n  const disposeCache = /* @__PURE__ */ new WeakMap(), subscribersCache = /* @__PURE__ */ new WeakMap();\n  return {\n    subscribe(element, subscriber) {\n      const subscribers = subscribersCache.get(element) || [];\n      let dispose = disposeCache.get(element);\n      return subscribersCache.has(element) || (subscribersCache.set(element, subscribers), dispose = _createElementRectValueListener().subscribe(element, (elementRect) => {\n        for (const sub of subscribers)\n          sub(elementRect);\n      })), subscribers.push(subscriber), () => {\n        const idx = subscribers.indexOf(subscriber);\n        idx > -1 && subscribers.splice(idx, 1), subscribers.length === 0 && dispose && dispose();\n      };\n    }\n  };\n}\nfunction useElementSize(element) {\n  const $ = c(3), [size2, setSize] = useState(null);\n  let t0, t1;\n  return $[0] !== element ? (t0 = () => {\n    if (element)\n      return _elementSizeObserver.subscribe(element, setSize);\n  }, t1 = [element], $[0] = element, $[1] = t0, $[2] = t1) : (t0 = $[1], t1 = $[2]), useEffect(t0, t1), size2;\n}\nfunction useElementRect(element) {\n  return useElementSize(element)?._contentRect || null;\n}\nfunction useForwardedRef(ref) {\n  const $ = c(1), innerRef = useRef(null);\n  let t0;\n  return $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = () => innerRef.current, $[0] = t0) : t0 = $[0], useImperativeHandle(ref, t0), innerRef;\n}\nfunction useGlobalKeyDown(onKeyDown) {\n  const $ = c(5);\n  let t0;\n  $[0] !== onKeyDown ? (t0 = (event) => onKeyDown(event), $[0] = onKeyDown, $[1] = t0) : t0 = $[1];\n  const handleKeyDown = useEffectEvent(t0);\n  let t1, t2;\n  $[2] !== handleKeyDown ? (t1 = () => {\n    const handler = (event_0) => handleKeyDown(event_0);\n    return window.addEventListener(\"keydown\", handler), () => window.removeEventListener(\"keydown\", handler);\n  }, t2 = [handleKeyDown], $[2] = handleKeyDown, $[3] = t1, $[4] = t2) : (t1 = $[3], t2 = $[4]), useEffect(t1, t2);\n}\nfunction useMatchMedia(mediaQueryString, getServerSnapshot2) {\n  const {\n    subscribe: subscribe2,\n    getSnapshot\n  } = useMemo(() => {\n    let MEDIA_QUERY_CACHE;\n    const getMatchMedia = () => (MEDIA_QUERY_CACHE || (MEDIA_QUERY_CACHE = window.matchMedia(mediaQueryString)), MEDIA_QUERY_CACHE);\n    return {\n      subscribe: (onStoreChange) => {\n        const matchMedia = getMatchMedia();\n        return matchMedia.addEventListener(\"change\", onStoreChange), () => matchMedia.removeEventListener(\"change\", onStoreChange);\n      },\n      getSnapshot: () => getMatchMedia().matches\n    };\n  }, [mediaQueryString]);\n  return useDebugValue(mediaQueryString), useSyncExternalStore(subscribe2, getSnapshot, getServerSnapshot2);\n}\nfunction getGlobalScope() {\n  if (typeof globalThis < \"u\") return globalThis;\n  if (typeof window < \"u\") return window;\n  if (typeof self < \"u\") return self;\n  if (typeof global < \"u\") return global;\n  throw new Error(\"@sanity/ui: could not locate global scope\");\n}\nconst globalScope = getGlobalScope();\nfunction createGlobalScopedContext(key2, defaultValue) {\n  const symbol = Symbol.for(key2);\n  return typeof document > \"u\" ? createContext(defaultValue) : (globalScope[symbol] = globalScope[symbol] || createContext(defaultValue), globalScope[symbol]);\n}\nconst ThemeContext = createGlobalScopedContext(\"@sanity/ui/context/theme\", null);\nfunction ThemeProvider(props) {\n  const $ = c(15), parentTheme = useContext(ThemeContext), {\n    children\n  } = props, scheme = props.scheme ?? (parentTheme?.scheme || \"light\"), rootTheme = props.theme ?? (parentTheme?.theme || null), tone = props.tone ?? (parentTheme?.tone || \"default\");\n  let t0;\n  bb0: {\n    if (!rootTheme) {\n      t0 = null;\n      break bb0;\n    }\n    let t12;\n    $[0] !== rootTheme || $[1] !== scheme || $[2] !== tone ? (t12 = {\n      version: 0,\n      theme: rootTheme,\n      scheme,\n      tone\n    }, $[0] = rootTheme, $[1] = scheme, $[2] = tone, $[3] = t12) : t12 = $[3], t0 = t12;\n  }\n  const themeContext = t0;\n  let t1;\n  bb1: {\n    if (!rootTheme) {\n      t1 = null;\n      break bb1;\n    }\n    let t22;\n    $[4] !== rootTheme || $[5] !== scheme || $[6] !== tone ? (t22 = getScopedTheme(rootTheme, scheme, tone), $[4] = rootTheme, $[5] = scheme, $[6] = tone, $[7] = t22) : t22 = $[7], t1 = t22;\n  }\n  const theme = t1;\n  if (!theme) {\n    let t22;\n    return $[8] === Symbol.for(\"react.memo_cache_sentinel\") ? (t22 = /* @__PURE__ */ jsx(\"pre\", { children: 'ThemeProvider: no \"theme\" property provided' }), $[8] = t22) : t22 = $[8], t22;\n  }\n  let t2;\n  $[9] !== children || $[10] !== theme ? (t2 = /* @__PURE__ */ jsx(ThemeProvider$1, { theme, children }), $[9] = children, $[10] = theme, $[11] = t2) : t2 = $[11];\n  let t3;\n  return $[12] !== t2 || $[13] !== themeContext ? (t3 = /* @__PURE__ */ jsx(ThemeContext.Provider, { value: themeContext, children: t2 }), $[12] = t2, $[13] = themeContext, $[14] = t3) : t3 = $[14], t3;\n}\nThemeProvider.displayName = \"ThemeProvider\";\nfunction useRootTheme() {\n  const value = useContext(ThemeContext);\n  if (!value)\n    throw new Error(\"useRootTheme(): missing context value\");\n  return value;\n}\nfunction ThemeColorProvider(props) {\n  const $ = c(5), {\n    children,\n    scheme,\n    tone\n  } = props, root = useRootTheme(), t0 = scheme || root.scheme;\n  let t1;\n  return $[0] !== children || $[1] !== root.theme || $[2] !== t0 || $[3] !== tone ? (t1 = /* @__PURE__ */ jsx(ThemeProvider, { scheme: t0, theme: root.theme, tone, children }), $[0] = children, $[1] = root.theme, $[2] = t0, $[3] = tone, $[4] = t1) : t1 = $[4], t1;\n}\nThemeColorProvider.displayName = \"ThemeColorProvider\";\nfunction useTheme() {\n  return useTheme$1();\n}\nfunction useTheme_v2() {\n  const $ = c(2), t0 = useTheme$1();\n  let t1;\n  return $[0] !== t0 ? (t1 = getTheme_v2(t0), $[0] = t0, $[1] = t1) : t1 = $[1], t1;\n}\nfunction _getMediaQuery(media, index) {\n  return index === 0 ? `screen and (max-width: ${media[index] - 1}px)` : index === media.length ? `screen and (min-width: ${media[index - 1]}px)` : `screen and (min-width: ${media[index - 1]}px) and (max-width: ${media[index] - 1}px)`;\n}\nfunction _createMediaStore(media) {\n  const mediaLen = media.length;\n  let sizes;\n  const getSizes = () => {\n    if (!sizes) {\n      sizes = [];\n      for (let index = mediaLen; index > -1; index -= 1) {\n        const mediaQuery = _getMediaQuery(media, index);\n        sizes.push({\n          index,\n          mq: window.matchMedia(mediaQuery)\n        });\n      }\n    }\n    return sizes;\n  };\n  return {\n    getSnapshot: () => {\n      for (const {\n        index,\n        mq\n      } of getSizes())\n        if (mq.matches) return index;\n      return 0;\n    },\n    subscribe: (onStoreChange) => {\n      const disposeFns = [];\n      for (const {\n        mq\n      } of getSizes()) {\n        const handleChange = () => {\n          mq.matches && onStoreChange();\n        };\n        mq.addEventListener(\"change\", handleChange), disposeFns.push(() => mq.removeEventListener(\"change\", handleChange));\n      }\n      return () => {\n        for (const disposeFn of disposeFns)\n          disposeFn();\n      };\n    }\n  };\n}\nfunction getServerSnapshot() {\n  return 0;\n}\nfunction useMediaIndex() {\n  const $ = c(2), {\n    media\n  } = useTheme_v2();\n  let t0, t1;\n  $[0] !== media ? (t1 = _createMediaStore(media), $[0] = media, $[1] = t1) : t1 = $[1], t0 = t1;\n  const store = t0;\n  return useSyncExternalStore(store.subscribe, store.getSnapshot, getServerSnapshot);\n}\nfunction usePrefersDark(t0) {\n  return useMatchMedia(\"(prefers-color-scheme: dark)\", t0 === void 0 ? _temp$a : t0);\n}\nfunction _temp$a() {\n  return !1;\n}\nfunction usePrefersReducedMotion(t0) {\n  return useMatchMedia(\"(prefers-reduced-motion: reduce)\", t0 === void 0 ? _temp$9 : t0);\n}\nfunction _temp$9() {\n  return !1;\n}\nfunction responsiveBorderStyle() {\n  return [border, borderTop, borderRight, borderBottom, borderLeft];\n}\nfunction border(props) {\n  const {\n    card,\n    media\n  } = getTheme_v2(props.theme), borderStyle = `${card.border?.width ?? 1}px solid var(--card-border-color)`;\n  return _responsive(media, props.$border, (value) => value ? {\n    \"&&\": {\n      border: borderStyle\n    }\n  } : {\n    \"&&\": {\n      border: 0\n    }\n  });\n}\nfunction borderTop(props) {\n  const {\n    card,\n    media\n  } = getTheme_v2(props.theme), borderStyle = `${card.border?.width ?? 1}px solid var(--card-border-color)`;\n  return _responsive(media, props.$borderTop, (value) => value ? {\n    \"&&\": {\n      borderTop: borderStyle\n    }\n  } : {\n    \"&&\": {\n      borderTop: 0\n    }\n  });\n}\nfunction borderRight(props) {\n  const {\n    card,\n    media\n  } = getTheme_v2(props.theme), borderStyle = `${card.border?.width ?? 1}px solid var(--card-border-color)`;\n  return _responsive(media, props.$borderRight, (value) => value ? {\n    \"&&\": {\n      borderRight: borderStyle\n    }\n  } : {\n    \"&&\": {\n      borderRight: 0\n    }\n  });\n}\nfunction borderBottom(props) {\n  const {\n    card,\n    media\n  } = getTheme_v2(props.theme), borderStyle = `${card.border?.width ?? 1}px solid var(--card-border-color)`;\n  return _responsive(media, props.$borderBottom, (value) => value ? {\n    \"&&\": {\n      borderBottom: borderStyle\n    }\n  } : {\n    \"&&\": {\n      borderBottom: 0\n    }\n  });\n}\nfunction borderLeft(props) {\n  const {\n    card,\n    media\n  } = getTheme_v2(props.theme), borderStyle = `${card.border?.width ?? 1}px solid var(--card-border-color)`;\n  return _responsive(media, props.$borderLeft, (value) => value ? {\n    \"&&\": {\n      borderLeft: borderStyle\n    }\n  } : {\n    \"&&\": {\n      borderLeft: 0\n    }\n  });\n}\nconst BASE_STYLE$4 = {\n  '&[data-as=\"ul\"],&[data-as=\"ol\"]': {\n    listStyle: \"none\"\n  }\n}, BOX_SIZING = {\n  content: \"content-box\",\n  border: \"border-box\"\n}, BOX_HEIGHT = {\n  stretch: \"stretch\",\n  fill: \"100%\"\n};\nfunction boxStyle() {\n  return BASE_STYLE$4;\n}\nfunction responsiveBoxStyle() {\n  return [responsiveBoxSizingStyle, responsiveBoxHeightStyle, responsiveBoxOverflowStyle, responsiveBoxDisplayStyle];\n}\nfunction responsiveBoxDisplayStyle(props) {\n  const {\n    media\n  } = getTheme_v2(props.theme);\n  return _responsive(media, props.$display, (display) => ({\n    \"&:not([hidden])\": {\n      display\n    }\n  }));\n}\nfunction responsiveBoxSizingStyle(props) {\n  const {\n    media\n  } = getTheme_v2(props.theme);\n  return _responsive(media, props.$sizing, (sizing) => ({\n    boxSizing: BOX_SIZING[sizing]\n  }));\n}\nfunction responsiveBoxHeightStyle(props) {\n  const {\n    media\n  } = getTheme_v2(props.theme);\n  return _responsive(media, props.$height, (height) => ({\n    height: BOX_HEIGHT[height]\n  }));\n}\nfunction responsiveBoxOverflowStyle(props) {\n  const {\n    media\n  } = getTheme_v2(props.theme);\n  return _responsive(media, props.$overflow, (overflow) => ({\n    overflow\n  }));\n}\nconst BASE_STYLE$3 = {\n  \"&&:not([hidden])\": {\n    display: \"flex\"\n  }\n};\nfunction responsiveFlexStyle() {\n  return [BASE_STYLE$3, responsiveFlexAlignStyle, responsiveFlexGapStyle, responsiveFlexWrapStyle, responsiveFlexJustifyStyle, responsiveFlexDirectionStyle];\n}\nfunction responsiveFlexAlignStyle(props) {\n  const {\n    media\n  } = getTheme_v2(props.theme);\n  return _responsive(media, props.$align, (align) => ({\n    alignItems: align\n  }));\n}\nfunction responsiveFlexGapStyle(props) {\n  const {\n    media,\n    space\n  } = getTheme_v2(props.theme);\n  return _responsive(media, props.$gap, (gap) => ({\n    gap: gap ? rem(space[gap]) : void 0\n  }));\n}\nfunction responsiveFlexWrapStyle(props) {\n  const {\n    media\n  } = getTheme_v2(props.theme);\n  return _responsive(media, props.$wrap, (wrap) => ({\n    flexWrap: wrap\n  }));\n}\nfunction responsiveFlexJustifyStyle(props) {\n  const {\n    media\n  } = getTheme_v2(props.theme);\n  return _responsive(media, props.$justify, (justify) => ({\n    justifyContent: justify\n  }));\n}\nfunction responsiveFlexDirectionStyle(props) {\n  const {\n    media\n  } = getTheme_v2(props.theme);\n  return _responsive(media, props.$direction, (direction) => ({\n    flexDirection: direction\n  }));\n}\nconst BASE_STYLE$2 = {\n  minWidth: 0,\n  minHeight: 0\n};\nfunction flexItemStyle() {\n  return [BASE_STYLE$2, responsiveFlexItemStyle];\n}\nfunction responsiveFlexItemStyle(props) {\n  const {\n    media\n  } = getTheme_v2(props.theme);\n  return props.$flex ? _responsive(media, props.$flex, (flex) => ({\n    flex\n  })) : EMPTY_ARRAY;\n}\nfunction focusRingBorderStyle(border2) {\n  return `inset 0 0 0 ${border2.width}px ${border2.color}`;\n}\nfunction focusRingStyle(opts) {\n  const {\n    base,\n    border: border2,\n    focusRing\n  } = opts, focusRingOutsetWidth = focusRing.offset + focusRing.width, focusRingInsetWidth = 0 - focusRing.offset, bgColor = base ? base.bg : \"var(--card-bg-color)\";\n  return [focusRingInsetWidth > 0 && `inset 0 0 0 ${focusRingInsetWidth}px var(--card-focus-ring-color)`, border2 && focusRingBorderStyle(border2), focusRingInsetWidth < 0 && `0 0 0 ${0 - focusRingInsetWidth}px ${bgColor}`, focusRingOutsetWidth > 0 && `0 0 0 ${focusRingOutsetWidth}px var(--card-focus-ring-color)`].filter(Boolean).join(\",\");\n}\nconst GRID_CSS = {\n  \"&&:not([hidden])\": {\n    display: \"grid\"\n  },\n  '&[data-as=\"ul\"],&[data-as=\"ol\"]': {\n    listStyle: \"none\"\n  }\n}, GRID_AUTO_COLUMS = {\n  auto: \"auto\",\n  min: \"min-content\",\n  max: \"max-content\",\n  fr: \"minmax(0, 1fr)\"\n}, GRID_AUTO_ROWS = {\n  auto: \"auto\",\n  min: \"min-content\",\n  max: \"max-content\",\n  fr: \"minmax(0, 1fr)\"\n};\nfunction responsiveGridStyle() {\n  return [GRID_CSS, responsiveGridAutoFlowStyle, responsiveGridAutoRowsStyle, responsiveGridAutoColsStyle, responsiveGridColumnsStyle, responsiveGridRowsStyle, responsiveGridGapStyle, responsiveGridGapXStyle, responsiveGridGapYStyle];\n}\nfunction responsiveGridAutoFlowStyle(props) {\n  const {\n    media\n  } = getTheme_v2(props.theme);\n  return _responsive(media, props.$autoFlow, (autoFlow) => ({\n    gridAutoFlow: autoFlow\n  }));\n}\nfunction responsiveGridAutoRowsStyle(props) {\n  const {\n    media\n  } = getTheme_v2(props.theme);\n  return _responsive(media, props.$autoRows, (autoRows) => ({\n    gridAutoRows: autoRows && GRID_AUTO_ROWS[autoRows]\n  }));\n}\nfunction responsiveGridAutoColsStyle(props) {\n  const {\n    media\n  } = getTheme_v2(props.theme);\n  return _responsive(media, props.$autoCols, (autoCols) => ({\n    gridAutoColumns: autoCols && GRID_AUTO_COLUMS[autoCols]\n  }));\n}\nfunction responsiveGridColumnsStyle(props) {\n  const {\n    media\n  } = getTheme_v2(props.theme);\n  return _responsive(media, props.$columns, (columns) => ({\n    gridTemplateColumns: columns && `repeat(${columns},minmax(0,1fr));`\n  }));\n}\nfunction responsiveGridRowsStyle(props) {\n  const {\n    media\n  } = getTheme_v2(props.theme);\n  return _responsive(media, props.$rows, (rows) => ({\n    gridTemplateRows: rows && `repeat(${rows},minmax(0,1fr));`\n  }));\n}\nfunction responsiveGridGapStyle(props) {\n  const {\n    media,\n    space\n  } = getTheme_v2(props.theme);\n  return _responsive(media, props.$gap, (gap) => ({\n    gridGap: gap ? rem(space[gap]) : void 0\n  }));\n}\nfunction responsiveGridGapXStyle(props) {\n  const {\n    media,\n    space\n  } = getTheme_v2(props.theme);\n  return _responsive(media, props.$gapX, (gapX) => ({\n    columnGap: gapX ? rem(space[gapX]) : void 0\n  }));\n}\nfunction responsiveGridGapYStyle(props) {\n  const {\n    media,\n    space\n  } = getTheme_v2(props.theme);\n  return _responsive(media, props.$gapY, (gapY) => ({\n    rowGap: gapY ? rem(space[gapY]) : void 0\n  }));\n}\nfunction responsiveGridItemStyle() {\n  return [responsiveGridItemRowStyle, responsiveGridItemRowStartStyle, responsiveGridItemRowEndStyle, responsiveGridItemColumnStyle, responsiveGridItemColumnStartStyle, responsiveGridItemColumnEndStyle];\n}\nconst GRID_ITEM_ROW = {\n  auto: \"auto\",\n  full: \"1 / -1\"\n}, GRID_ITEM_COLUMN = {\n  auto: \"auto\",\n  full: \"1 / -1\"\n};\nfunction responsiveGridItemRowStyle(props) {\n  const {\n    media\n  } = getTheme_v2(props.theme);\n  return _responsive(media, props.$row, (row) => typeof row == \"number\" ? {\n    gridRow: `span ${row} / span ${row}`\n  } : {\n    gridRow: GRID_ITEM_ROW[row]\n  });\n}\nfunction responsiveGridItemRowStartStyle(props) {\n  const {\n    media\n  } = getTheme_v2(props.theme);\n  return _responsive(media, props.$rowStart, (rowStart) => ({\n    gridRowStart: rowStart\n  }));\n}\nfunction responsiveGridItemRowEndStyle(props) {\n  const {\n    media\n  } = getTheme_v2(props.theme);\n  return _responsive(media, props.$rowEnd, (rowEnd) => ({\n    gridRowEnd: rowEnd\n  }));\n}\nfunction responsiveGridItemColumnStyle(props) {\n  const {\n    media\n  } = getTheme_v2(props.theme);\n  return _responsive(media, props.$column, (column) => typeof column == \"number\" ? {\n    gridColumn: `span ${column} / span ${column}`\n  } : {\n    gridColumn: GRID_ITEM_COLUMN[column]\n  });\n}\nfunction responsiveGridItemColumnStartStyle(props) {\n  const {\n    media\n  } = getTheme_v2(props.theme);\n  return _responsive(media, props.$columnStart, (columnStart) => ({\n    gridColumnStart: columnStart\n  }));\n}\nfunction responsiveGridItemColumnEndStyle(props) {\n  const {\n    media\n  } = getTheme_v2(props.theme);\n  return _responsive(media, props.$columnEnd, (columnEnd) => ({\n    gridColumnEnd: columnEnd\n  }));\n}\nfunction responsiveInputPaddingStyle(props) {\n  const {\n    $fontSize,\n    $iconLeft,\n    $iconRight,\n    $padding,\n    $space\n  } = props, {\n    font,\n    media,\n    space\n  } = getTheme_v2(props.theme), len = Math.max($padding.length, $space.length, $fontSize.length), _padding = [], _space = [], _fontSize = [];\n  for (let i = 0; i < len; i += 1)\n    _fontSize[i] = $fontSize[i] === void 0 ? _fontSize[i - 1] : $fontSize[i], _padding[i] = $padding[i] === void 0 ? _padding[i - 1] : $padding[i], _space[i] = $space[i] === void 0 ? _space[i - 1] : $space[i];\n  return _responsive(media, _padding, (_, i) => {\n    const size2 = font.text.sizes[_fontSize[i]] || font.text.sizes[2], emSize = size2.lineHeight - size2.ascenderHeight - size2.descenderHeight, p = space[_padding[i]], s = space[_space[i]], styles = {\n      paddingTop: rem(p - size2.ascenderHeight),\n      paddingRight: rem(p),\n      paddingBottom: rem(p - size2.descenderHeight),\n      paddingLeft: rem(p)\n    };\n    return $iconRight && (styles.paddingRight = rem(p + emSize + s)), $iconLeft && (styles.paddingLeft = rem(p + emSize + s)), styles;\n  });\n}\nfunction responsiveInputPaddingIconRightStyle(props) {\n  return responsiveInputPaddingStyle({\n    ...props,\n    $iconRight: !0\n  });\n}\nconst ROOT_STYLE = css`\n  &:not([hidden]) {\n    display: flex;\n  }\n\n  align-items: center;\n`;\nfunction textInputRootStyle() {\n  return ROOT_STYLE;\n}\nfunction textInputBaseStyle(props) {\n  const {\n    $scheme,\n    $tone,\n    $weight\n  } = props, {\n    color,\n    font\n  } = getTheme_v2(props.theme);\n  return css`\n    appearance: none;\n    background: none;\n    border: 0;\n    border-radius: 0;\n    outline: none;\n    width: 100%;\n    box-sizing: border-box;\n    font-family: ${font.text.family};\n    font-weight: ${$weight && font.text.weights[$weight] || font.text.weights.regular};\n    margin: 0;\n    position: relative;\n    z-index: 1;\n    display: block;\n\n    /* NOTE: This is a hack to disable Chrome’s autofill styles */\n    &:-webkit-autofill,\n    &:-webkit-autofill:hover,\n    &:-webkit-autofill:focus,\n    &:-webkit-autofill:active {\n      -webkit-text-fill-color: var(--input-fg-color) !important;\n      transition: background-color 5000s;\n      transition-delay: 86400s /* 24h */;\n    }\n\n    /* &:is(textarea) */\n    &[data-as='textarea'] {\n      resize: none;\n    }\n\n    color: var(--input-fg-color);\n\n    &::placeholder {\n      color: var(--input-placeholder-color);\n    }\n\n    &[data-scheme='${$scheme}'][data-tone='${$tone}'] {\n      --input-fg-color: ${color.input.default.enabled.fg};\n      --input-placeholder-color: ${color.input.default.enabled.placeholder};\n\n      /* enabled */\n      &:not(:invalid):not(:disabled):not(:read-only) {\n        --input-fg-color: ${color.input.default.enabled.fg};\n        --input-placeholder-color: ${color.input.default.enabled.placeholder};\n      }\n\n      /* disabled */\n      &:not(:invalid):disabled {\n        --input-fg-color: ${color.input.default.disabled.fg};\n        --input-placeholder-color: ${color.input.default.disabled.placeholder};\n      }\n\n      /* invalid */\n      &:invalid {\n        --input-fg-color: ${color.input.invalid.enabled.fg};\n        --input-placeholder-color: ${color.input.invalid.enabled.placeholder};\n      }\n\n      /* readOnly */\n      &:read-only {\n        --input-fg-color: ${color.input.default.readOnly.fg};\n        --input-placeholder-color: ${color.input.default.readOnly.placeholder};\n      }\n    }\n  `;\n}\nfunction textInputFontSizeStyle(props) {\n  const {\n    font,\n    media\n  } = getTheme_v2(props.theme);\n  return _responsive(media, props.$fontSize, (sizeIndex) => {\n    const size2 = font.text.sizes[sizeIndex] || font.text.sizes[2];\n    return {\n      fontSize: rem(size2.fontSize),\n      lineHeight: size2.lineHeight / size2.fontSize\n    };\n  });\n}\nfunction textInputRepresentationStyle(props) {\n  const {\n    $hasPrefix,\n    $hasSuffix,\n    $scheme,\n    $tone,\n    $unstableDisableFocusRing\n  } = props, {\n    color,\n    input\n  } = getTheme_v2(props.theme);\n  return css`\n    --input-box-shadow: none;\n\n    position: absolute;\n    top: 0;\n    left: 0;\n    right: 0;\n    bottom: 0;\n    display: block;\n    pointer-events: none;\n    z-index: 0;\n\n    background-color: var(--card-bg-color);\n    box-shadow: var(--input-box-shadow);\n\n    border-top-left-radius: ${$hasPrefix ? 0 : void 0};\n    border-bottom-left-radius: ${$hasPrefix ? 0 : void 0};\n    border-top-right-radius: ${$hasSuffix ? 0 : void 0};\n    border-bottom-right-radius: ${$hasSuffix ? 0 : void 0};\n\n    &[data-scheme='${$scheme}'][data-tone='${$tone}'] {\n      --card-bg-color: ${color.input.default.enabled.bg};\n      --card-fg-color: ${color.input.default.enabled.fg};\n\n      /* enabled */\n      *:not(:disabled) + &[data-border] {\n        --input-box-shadow: ${focusRingBorderStyle({\n    color: color.input.default.enabled.border,\n    width: input.border.width\n  })};\n      }\n\n      /* invalid */\n      *:not(:disabled):invalid + & {\n        --card-bg-color: ${color.input.invalid.enabled.bg};\n        --card-fg-color: ${color.input.invalid.enabled.fg};\n\n        &[data-border] {\n          --input-box-shadow: ${focusRingBorderStyle({\n    color: color.input.invalid.enabled.border,\n    width: input.border.width\n  })};\n        }\n      }\n\n      /* focused */\n      *:not(:disabled):focus + & {\n        &[data-border] {\n          --input-box-shadow: ${$unstableDisableFocusRing ? void 0 : focusRingStyle({\n    border: {\n      color: color.input.default.enabled.border,\n      width: input.border.width\n    },\n    focusRing: input.text.focusRing\n  })};\n        }\n\n        &:not([data-border]) {\n          --input-box-shadow: ${$unstableDisableFocusRing ? void 0 : focusRingStyle({\n    focusRing: input.text.focusRing\n  })};\n        }\n      }\n\n      /* disabled */\n      *:not(:invalid):disabled + & {\n        --card-bg-color: ${color.input.default.disabled.bg} !important;\n        --card-fg-color: ${color.input.default.disabled.fg} !important;\n        --card-icon-color: ${color.input.default.disabled.fg} !important;\n\n        &[data-border] {\n          --input-box-shadow: ${focusRingBorderStyle({\n    color: color.input.default.disabled.border,\n    width: input.border.width\n  })};\n        }\n      }\n\n      *:invalid:disabled + & {\n        --card-bg-color: ${color.input.invalid.disabled.bg} !important;\n        --card-fg-color: ${color.input.invalid.disabled.fg} !important;\n        --card-icon-color: ${color.input.invalid.disabled.fg} !important;\n\n        &[data-border] {\n          --input-box-shadow: ${focusRingBorderStyle({\n    color: color.input.invalid.disabled.border,\n    width: input.border.width\n  })};\n        }\n      }\n\n      /* readOnly */\n      *:not(:invalid):read-only + & {\n        --card-bg-color: ${color.input.default.readOnly.bg} !important;\n        --card-fg-color: ${color.input.default.readOnly.fg} !important;\n      }\n\n      *:invalid:read-only + & {\n        --card-bg-color: ${color.input.invalid.readOnly.bg} !important;\n        --card-fg-color: ${color.input.invalid.readOnly.fg} !important;\n      }\n\n      /* hovered */\n      @media (hover: hover) {\n        *:not(:disabled):not(:read-only):not(:invalid):hover + & {\n          --card-bg-color: ${color.input.default.hovered.bg};\n          --card-fg-color: ${color.input.default.hovered.fg};\n        }\n\n        *:invalid:not(:disabled):not(:read-only):hover + & {\n          --card-bg-color: ${color.input.invalid.hovered.bg};\n          --card-fg-color: ${color.input.invalid.hovered.fg};\n        }\n\n        *:not(:disabled):not(:read-only):not(:invalid):not(:focus):hover + &[data-border] {\n          --input-box-shadow: ${focusRingBorderStyle({\n    color: color.input.default.hovered.border,\n    width: input.border.width\n  })};\n        }\n\n        *:invalid:not(:disabled):not(:read-only):not(:focus):hover + &[data-border] {\n          --input-box-shadow: ${focusRingBorderStyle({\n    color: color.input.invalid.hovered.border,\n    width: input.border.width\n  })};\n        }\n      }\n    }\n  `;\n}\nfunction responsiveMarginStyle(props) {\n  const {\n    theme\n  } = props;\n  return [_getResponsiveSpace(theme, [\"margin\"], props.$margin), _getResponsiveSpace(theme, [\"marginLeft\", \"marginRight\"], props.$marginX), _getResponsiveSpace(theme, [\"marginTop\", \"marginBottom\"], props.$marginY), _getResponsiveSpace(theme, [\"marginTop\"], props.$marginTop), _getResponsiveSpace(theme, [\"marginRight\"], props.$marginRight), _getResponsiveSpace(theme, [\"marginBottom\"], props.$marginBottom), _getResponsiveSpace(theme, [\"marginLeft\"], props.$marginLeft)].filter(Boolean);\n}\nfunction responsivePaddingStyle(props) {\n  const {\n    theme\n  } = props;\n  return [_getResponsiveSpace(theme, [\"padding\"], props.$padding), _getResponsiveSpace(theme, [\"paddingLeft\", \"paddingRight\"], props.$paddingX), _getResponsiveSpace(theme, [\"paddingTop\", \"paddingBottom\"], props.$paddingY), _getResponsiveSpace(theme, [\"paddingTop\"], props.$paddingTop), _getResponsiveSpace(theme, [\"paddingRight\"], props.$paddingRight), _getResponsiveSpace(theme, [\"paddingBottom\"], props.$paddingBottom), _getResponsiveSpace(theme, [\"paddingLeft\"], props.$paddingLeft)].filter(Boolean);\n}\nfunction responsiveRadiusStyle(props) {\n  const {\n    media,\n    radius\n  } = getTheme_v2(props.theme);\n  return _responsive(media, props.$radius, (value) => {\n    let borderRadius = 0;\n    return typeof value == \"number\" && (borderRadius = rem(radius[value])), value === \"full\" && (borderRadius = \"9999px\"), {\n      borderRadius\n    };\n  });\n}\nfunction toBoxShadow(shadow, color) {\n  return `${shadow.map(rem).join(\" \")} ${color}`;\n}\nfunction shadowStyle(shadow, outlineWidth = 1) {\n  if (!shadow) return EMPTY_RECORD;\n  const outline = `0 0 0 ${rem(outlineWidth)} var(--card-shadow-outline-color)`, umbra = toBoxShadow(shadow.umbra, \"var(--card-shadow-umbra-color)\"), penumbra = toBoxShadow(shadow.penumbra, \"var(--card-shadow-penumbra-color)\"), ambient = toBoxShadow(shadow.ambient, \"var(--card-shadow-ambient-color)\");\n  return {\n    boxShadow: `${outline}, ${umbra}, ${penumbra}, ${ambient}`\n  };\n}\nfunction responsiveShadowStyle(props) {\n  const {\n    card,\n    media,\n    shadow\n  } = getTheme_v2(props.theme);\n  return _responsive(media, props.$shadow, (index) => shadowStyle(shadow[index], card.shadow.outline));\n}\nfunction labelBaseStyle(props) {\n  const {\n    $accent,\n    $muted\n  } = props, {\n    font\n  } = getTheme_v2(props.theme);\n  return css`\n    text-transform: uppercase;\n\n    ${$accent && css`\n      color: var(--card-accent-fg-color);\n    `}\n\n    ${$muted && css`\n      color: var(--card-muted-fg-color);\n    `}\n\n    & code {\n      font-family: ${font.code.family};\n      border-radius: 1px;\n    }\n\n    & a {\n      text-decoration: none;\n      border-radius: 1px;\n    }\n\n    & svg {\n      /* Certain popular CSS libraries changes the defaults for SVG display */\n      /* Make sure SVGs are rendered as inline elements */\n      display: inline;\n    }\n\n    & [data-sanity-icon] {\n      vertical-align: baseline;\n    }\n  `;\n}\nconst Root$C = styled.div(responsiveLabelFont, responsiveTextAlignStyle, labelBaseStyle), SpanWithTextOverflow$2 = styled.span`\n  display: block;\n  white-space: nowrap;\n  text-overflow: ellipsis;\n  overflow: hidden;\n  overflow: clip;\n`, Label = forwardRef(function(props, ref) {\n  const $ = c(22);\n  let accent, align, childrenProp, restProps, t0, t1, textOverflow, weight;\n  $[0] !== props ? ({\n    accent,\n    align,\n    children: childrenProp,\n    muted: t0,\n    size: t1,\n    textOverflow,\n    weight,\n    ...restProps\n  } = props, $[0] = props, $[1] = accent, $[2] = align, $[3] = childrenProp, $[4] = restProps, $[5] = t0, $[6] = t1, $[7] = textOverflow, $[8] = weight) : (accent = $[1], align = $[2], childrenProp = $[3], restProps = $[4], t0 = $[5], t1 = $[6], textOverflow = $[7], weight = $[8]);\n  const muted = t0 === void 0 ? !1 : t0, size2 = t1 === void 0 ? 2 : t1;\n  let children = childrenProp;\n  if (textOverflow === \"ellipsis\") {\n    let t22;\n    $[9] !== children ? (t22 = /* @__PURE__ */ jsx(SpanWithTextOverflow$2, { children }), $[9] = children, $[10] = t22) : t22 = $[10], children = t22;\n  } else {\n    let t22;\n    $[11] !== children ? (t22 = /* @__PURE__ */ jsx(\"span\", { children }), $[11] = children, $[12] = t22) : t22 = $[12], children = t22;\n  }\n  const t2 = useArrayProp(align), t3 = useArrayProp(size2);\n  let t4;\n  return $[13] !== accent || $[14] !== children || $[15] !== muted || $[16] !== ref || $[17] !== restProps || $[18] !== t2 || $[19] !== t3 || $[20] !== weight ? (t4 = /* @__PURE__ */ jsx(Root$C, { \"data-ui\": \"Label\", ...restProps, $accent: accent, $align: t2, $muted: muted, $size: t3, $weight: weight, ref, children }), $[13] = accent, $[14] = children, $[15] = muted, $[16] = ref, $[17] = restProps, $[18] = t2, $[19] = t3, $[20] = weight, $[21] = t4) : t4 = $[21], t4;\n});\nLabel.displayName = \"ForwardRef(Label)\";\nconst avatarStyle = {\n  root: avatarRootStyle,\n  arrow: avatarArrowStyle,\n  bgStroke: avatarBgStrokeStyle,\n  stroke: avatarStrokeStyle,\n  initials: avatarInitialsStyle,\n  image: avatarImageStyle\n};\nfunction avatarArrowStyle() {\n  return {\n    position: \"absolute\",\n    boxSizing: \"border-box\",\n    zIndex: 0,\n    opacity: 0,\n    transition: \"all 0.2s linear\",\n    transform: \"rotate(-90deg) translate3d(0, 6px, 0)\",\n    left: 0,\n    right: 0,\n    top: 0,\n    bottom: 0,\n    \"& > svg\": {\n      width: \"11px\",\n      height: \"7px\",\n      position: \"absolute\",\n      top: \"-5px\",\n      left: \"50%\",\n      transform: \"translateX(-6px)\",\n      \"&:not([hidden])\": {\n        display: \"block\"\n      }\n    },\n    \"[data-arrow-position='inside'] > &\": {\n      transform: \"rotate(-90deg) translate3d(0, 6px, 0)\",\n      opacity: 0\n    },\n    \"[data-arrow-position='top'] > &\": {\n      opacity: 1,\n      transform: \"rotate(0deg)\"\n    },\n    \"[data-arrow-position='bottom'] > &\": {\n      opacity: 1,\n      transform: \"rotate(-180deg)\"\n    }\n  };\n}\nfunction avatarRootStyle(props) {\n  const {\n    $color\n  } = props, {\n    avatar\n  } = getTheme_v2(props.theme);\n  return {\n    \"--avatar-bg-color\": `var(--card-avatar-${$color}-bg-color)`,\n    \"--avatar-fg-color\": `var(--card-avatar-${$color}-fg-color)`,\n    backgroundColor: \"var(--avatar-bg-color)\",\n    position: \"relative\",\n    boxSizing: \"border-box\",\n    userSelect: \"none\",\n    boxShadow: \"0 0 0 1px var(--card-bg-color)\",\n    '&[data-status=\"inactive\"]': {\n      opacity: 0.5\n    },\n    \"&>svg\": {\n      \"&:not([hidden])\": {\n        display: \"block\"\n      }\n    },\n    /* &:is(button) */\n    '&[data-as=\"button\"]': {\n      WebkitFontSmoothing: \"inherit\",\n      appearance: \"none\",\n      margin: 0,\n      padding: 0,\n      border: 0,\n      font: \"inherit\",\n      color: \"inherit\",\n      outline: \"none\",\n      \"&:focus\": {\n        boxShadow: focusRingStyle({\n          focusRing: avatar.focusRing\n        })\n      },\n      \"&:focus:not(:focus-visible)\": {\n        boxShadow: \"none\"\n      }\n    }\n  };\n}\nfunction responsiveAvatarSizeStyle(props) {\n  const {\n    avatar,\n    media\n  } = getTheme_v2(props.theme);\n  return _responsive(media, props.$size, (size2) => {\n    const avatarSize = avatar.sizes[size2] || avatar.sizes[0];\n    return {\n      width: rem(avatarSize.size),\n      height: rem(avatarSize.size),\n      borderRadius: rem(avatarSize.size / 2),\n      \"&>svg\": {\n        width: rem(avatarSize.size),\n        height: rem(avatarSize.size),\n        borderRadius: rem(avatarSize.size / 2)\n      }\n    };\n  });\n}\nfunction avatarImageStyle() {\n  return {\n    position: \"relative\"\n  };\n}\nfunction avatarInitialsStyle() {\n  return {\n    width: \"100%\",\n    height: \"100%\",\n    color: \"var(--avatar-fg-color)\",\n    alignItems: \"center\",\n    justifyContent: \"center\",\n    textTransform: \"uppercase\",\n    textAlign: \"center\",\n    borderRadius: \"50%\",\n    \"&:not([hidden])\": {\n      display: \"flex\"\n    }\n  };\n}\nfunction avatarBgStrokeStyle() {\n  return {\n    strokeWidth: \"4px\",\n    stroke: \"var(--card-bg-color)\"\n  };\n}\nfunction avatarStrokeStyle() {\n  return {\n    strokeWidth: \"2px\",\n    stroke: \"var(--avatar-bg-color)\",\n    '[data-status=\"editing\"] &': {\n      strokeDasharray: \"2 4\",\n      strokeLinecap: \"round\"\n    }\n  };\n}\nconst Root$B = styled.div(responsiveAvatarSizeStyle, avatarStyle.root), Arrow$1 = styled.div(avatarStyle.arrow), BgStroke = styled.ellipse(avatarStyle.bgStroke), Stroke = styled.ellipse(avatarStyle.stroke), Initials = styled.div(avatarStyle.initials), InitialsLabel = styled(Label)({\n  color: \"inherit\"\n}), Image = styled.svg(avatarStyle.image), Avatar = forwardRef(function(props, ref) {\n  const $ = c(52);\n  let __unstable_hideInnerStroke, animateArrowFrom, arrowPositionProp, asProp, initials, onImageLoadError, restProps, src, t0, t1, t2, title;\n  $[0] !== props ? ({\n    __unstable_hideInnerStroke,\n    as: asProp,\n    color: t0,\n    src,\n    title,\n    initials,\n    onImageLoadError,\n    arrowPosition: arrowPositionProp,\n    animateArrowFrom,\n    status: t1,\n    size: t2,\n    ...restProps\n  } = props, $[0] = props, $[1] = __unstable_hideInnerStroke, $[2] = animateArrowFrom, $[3] = arrowPositionProp, $[4] = asProp, $[5] = initials, $[6] = onImageLoadError, $[7] = restProps, $[8] = src, $[9] = t0, $[10] = t1, $[11] = t2, $[12] = title) : (__unstable_hideInnerStroke = $[1], animateArrowFrom = $[2], arrowPositionProp = $[3], asProp = $[4], initials = $[5], onImageLoadError = $[6], restProps = $[7], src = $[8], t0 = $[9], t1 = $[10], t2 = $[11], title = $[12]);\n  const color = t0 === void 0 ? \"gray\" : t0, status = t1 === void 0 ? \"online\" : t1, sizeProp = t2 === void 0 ? 1 : t2, {\n    avatar\n  } = useTheme_v2(), as = ReactIs.isValidElementType(asProp) ? asProp : \"div\", size2 = useArrayProp(sizeProp), _sizeRem = (avatar.sizes[size2[0]] || avatar.sizes[0]).size, _radius = _sizeRem / 2, elementId = useId(), [arrowPosition, setArrowPosition] = useState(animateArrowFrom || arrowPositionProp || \"inside\"), [imageFailed, setImageFailed] = useState(!1), imageId = `avatar-image-${elementId}`;\n  let t3, t4;\n  $[13] !== arrowPosition || $[14] !== arrowPositionProp ? (t3 = () => {\n    if (arrowPosition === arrowPositionProp)\n      return;\n    const raf = requestAnimationFrame(() => setArrowPosition(arrowPositionProp));\n    return () => cancelAnimationFrame(raf);\n  }, t4 = [arrowPosition, arrowPositionProp], $[13] = arrowPosition, $[14] = arrowPositionProp, $[15] = t3, $[16] = t4) : (t3 = $[15], t4 = $[16]), useEffect(t3, t4);\n  let t5, t6;\n  $[17] !== src ? (t5 = () => {\n    src && setImageFailed(!1);\n  }, t6 = [src], $[17] = src, $[18] = t5, $[19] = t6) : (t5 = $[18], t6 = $[19]), useEffect(t5, t6);\n  let t7;\n  $[20] !== onImageLoadError ? (t7 = () => {\n    setImageFailed(!0), onImageLoadError && onImageLoadError(new Error(\"Avatar: the image failed to load\"));\n  }, $[20] = onImageLoadError, $[21] = t7) : t7 = $[21];\n  const handleImageError = t7;\n  let t8, t9;\n  $[22] !== size2 ? (t9 = size2.map(_temp$8), $[22] = size2, $[23] = t9) : t9 = $[23], t8 = t9;\n  const initialsSize = t8, t10 = typeof as == \"string\" ? as : void 0;\n  let t11;\n  $[24] !== color ? (t11 = /* @__PURE__ */ jsx(Arrow$1, { children: /* @__PURE__ */ jsx(\"svg\", { width: \"11\", height: \"7\", viewBox: \"0 0 11 7\", fill: \"none\", children: /* @__PURE__ */ jsx(\"path\", { d: \"M6.67948 1.50115L11 7L0 7L4.32052 1.50115C4.92109 0.736796 6.07891 0.736795 6.67948 1.50115Z\", fill: color }) }) }), $[24] = color, $[25] = t11) : t11 = $[25];\n  let t12;\n  $[26] !== __unstable_hideInnerStroke || $[27] !== _radius || $[28] !== _sizeRem || $[29] !== handleImageError || $[30] !== imageFailed || $[31] !== imageId || $[32] !== src ? (t12 = !imageFailed && src && /* @__PURE__ */ jsxs(Image, { viewBox: `0 0 ${_sizeRem} ${_sizeRem}`, fill: \"none\", children: [\n    /* @__PURE__ */ jsx(\"defs\", { children: /* @__PURE__ */ jsx(\"pattern\", { id: imageId, patternContentUnits: \"objectBoundingBox\", width: \"1\", height: \"1\", children: /* @__PURE__ */ jsx(\"image\", { href: src, width: \"1\", height: \"1\", onError: handleImageError }) }) }),\n    /* @__PURE__ */ jsx(\"circle\", { cx: _radius, cy: _radius, r: _radius, fill: `url(#${imageId})` }),\n    !__unstable_hideInnerStroke && /* @__PURE__ */ jsx(BgStroke, { cx: _radius, cy: _radius, rx: _radius, ry: _radius, vectorEffect: \"non-scaling-stroke\" }),\n    /* @__PURE__ */ jsx(Stroke, { cx: _radius, cy: _radius, rx: _radius, ry: _radius, vectorEffect: \"non-scaling-stroke\" })\n  ] }), $[26] = __unstable_hideInnerStroke, $[27] = _radius, $[28] = _sizeRem, $[29] = handleImageError, $[30] = imageFailed, $[31] = imageId, $[32] = src, $[33] = t12) : t12 = $[33];\n  let t13;\n  $[34] !== imageFailed || $[35] !== initials || $[36] !== initialsSize || $[37] !== src ? (t13 = (imageFailed || !src) && initials && /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx(Initials, { children: /* @__PURE__ */ jsx(InitialsLabel, { forwardedAs: \"span\", size: initialsSize, weight: \"medium\", children: initials }) }) }), $[34] = imageFailed, $[35] = initials, $[36] = initialsSize, $[37] = src, $[38] = t13) : t13 = $[38];\n  let t14;\n  return $[39] !== arrowPosition || $[40] !== as || $[41] !== color || $[42] !== ref || $[43] !== restProps || $[44] !== size2 || $[45] !== status || $[46] !== t10 || $[47] !== t11 || $[48] !== t12 || $[49] !== t13 || $[50] !== title ? (t14 = /* @__PURE__ */ jsxs(Root$B, { as, \"data-as\": t10, \"data-ui\": \"Avatar\", ...restProps, $color: color, $size: size2, \"aria-label\": title, \"data-arrow-position\": arrowPosition, \"data-status\": status, ref, title, children: [\n    t11,\n    t12,\n    t13\n  ] }), $[39] = arrowPosition, $[40] = as, $[41] = color, $[42] = ref, $[43] = restProps, $[44] = size2, $[45] = status, $[46] = t10, $[47] = t11, $[48] = t12, $[49] = t13, $[50] = title, $[51] = t14) : t14 = $[51], t14;\n});\nAvatar.displayName = \"ForwardRef(Avatar)\";\nfunction _temp$8(s) {\n  return s === 1 ? 1 : s === 2 ? 3 : s === 3 ? 5 : 0;\n}\nfunction _responsiveAvatarCounterSizeStyle(props) {\n  const {\n    avatar,\n    media\n  } = getTheme_v2(props.theme);\n  return _responsive(media, props.$size, (size2) => {\n    const avatarSize = avatar.sizes[size2];\n    return avatarSize ? {\n      borderRadius: rem(avatarSize.size / 2),\n      minWidth: rem(avatarSize.size),\n      height: rem(avatarSize.size)\n    } : EMPTY_RECORD;\n  });\n}\nfunction _avatarCounterBaseStyle(props) {\n  const {\n    space\n  } = getTheme_v2(props.theme);\n  return css`\n    align-items: center;\n    justify-content: center;\n    box-sizing: border-box;\n    user-select: none;\n    color: inherit;\n    color: var(--card-fg-color);\n    background: var(--card-bg-color);\n    box-shadow:\n      0 0 0 1px var(--card-bg-color),\n      inset 0 0 0 1px var(--card-hairline-hard-color);\n    padding: 0 ${rem(space[2])};\n\n    &:not([hidden]) {\n      display: flex;\n    }\n  `;\n}\nconst Root$A = styled.div(_responsiveAvatarCounterSizeStyle, _avatarCounterBaseStyle), AvatarCounter = forwardRef(function(props, ref) {\n  const $ = c(9), {\n    count,\n    size: t0\n  } = props, size2 = useArrayProp(t0 === void 0 ? 1 : t0);\n  let t1, t2;\n  $[0] !== size2 ? (t2 = size2.map(_temp$7), $[0] = size2, $[1] = t2) : t2 = $[1], t1 = t2;\n  const fontSize2 = t1;\n  let t3;\n  $[2] !== count || $[3] !== fontSize2 ? (t3 = /* @__PURE__ */ jsx(Label, { as: \"span\", size: fontSize2, weight: \"medium\", children: count }), $[2] = count, $[3] = fontSize2, $[4] = t3) : t3 = $[4];\n  let t4;\n  return $[5] !== ref || $[6] !== size2 || $[7] !== t3 ? (t4 = /* @__PURE__ */ jsx(Root$A, { $size: size2, \"data-ui\": \"AvatarCounter\", ref, children: t3 }), $[5] = ref, $[6] = size2, $[7] = t3, $[8] = t4) : t4 = $[8], t4;\n});\nAvatarCounter.displayName = \"ForwardRef(AvatarCounter)\";\nfunction _temp$7(s) {\n  return s === 1 ? 1 : s === 2 ? 3 : s === 3 ? 5 : 0;\n}\nconst BASE_STYLES = css`\n  white-space: nowrap;\n\n  & > div {\n    vertical-align: top;\n\n    &:not([hidden]) {\n      display: inline-block;\n    }\n  }\n`;\nfunction avatarStackStyle() {\n  return BASE_STYLES;\n}\nfunction responsiveAvatarStackSizeStyle(props) {\n  const {\n    avatar,\n    media\n  } = getTheme_v2(props.theme);\n  return _responsive(media, props.$size, (size2) => {\n    const avatarSize = avatar.sizes[size2];\n    return avatarSize ? {\n      \"& > div + div\": {\n        marginLeft: rem(avatarSize.distance)\n      }\n    } : EMPTY_RECORD;\n  });\n}\nconst Root$z = styled.div(responsiveAvatarStackSizeStyle, avatarStackStyle), AvatarStack = forwardRef(function(props, ref) {\n  const $ = c(15);\n  let childrenProp, restProps, t0, t1;\n  $[0] !== props ? ({\n    children: childrenProp,\n    maxLength: t0,\n    size: t1,\n    ...restProps\n  } = props, $[0] = props, $[1] = childrenProp, $[2] = restProps, $[3] = t0, $[4] = t1) : (childrenProp = $[1], restProps = $[2], t0 = $[3], t1 = $[4]);\n  const maxLengthProp = t0 === void 0 ? 4 : t0, sizeProp = t1 === void 0 ? 1 : t1, children = Children.toArray(childrenProp).filter(isValidElement), maxLength = Math.max(maxLengthProp, 0), size2 = useArrayProp(sizeProp), len = children.length, visibleCount = maxLength - 1, extraCount = len - visibleCount, visibleChildren = extraCount > 1 ? children.slice(extraCount, len) : children, T0 = Root$z, t2 = \"AvatarStack\", t3 = len === 0 && /* @__PURE__ */ jsx(\"div\", { children: /* @__PURE__ */ jsx(AvatarCounter, { count: len, size: size2 }) }), t4 = len !== 0 && extraCount > 1 && /* @__PURE__ */ jsx(\"div\", { children: /* @__PURE__ */ jsx(AvatarCounter, { count: extraCount, size: size2 }) });\n  let t5;\n  $[5] !== size2 ? (t5 = (child, childIndex) => /* @__PURE__ */ jsx(\"div\", { children: cloneElement(child, {\n    size: size2\n  }) }, String(childIndex)), $[5] = size2, $[6] = t5) : t5 = $[6];\n  const t6 = visibleChildren.map(t5);\n  let t7;\n  return $[7] !== T0 || $[8] !== ref || $[9] !== restProps || $[10] !== size2 || $[11] !== t3 || $[12] !== t4 || $[13] !== t6 ? (t7 = /* @__PURE__ */ jsxs(T0, { \"data-ui\": t2, ...restProps, ref, $size: size2, children: [\n    t3,\n    t4,\n    t6\n  ] }), $[7] = T0, $[8] = ref, $[9] = restProps, $[10] = size2, $[11] = t3, $[12] = t4, $[13] = t6, $[14] = t7) : t7 = $[14], t7;\n});\nAvatarStack.displayName = \"ForwardRef(AvatarStack)\";\nconst Root$y = styled.div(boxStyle, flexItemStyle, responsiveBoxStyle, responsiveGridItemStyle, responsiveMarginStyle, responsivePaddingStyle), Box = forwardRef(function(props, ref) {\n  const $ = c(59);\n  let column, columnEnd, columnStart, flex, height, marginBottom, marginLeft, marginRight, marginTop, marginX, marginY, overflow, paddingBottom, paddingLeft, paddingRight, paddingTop, paddingX, paddingY, restProps, row, rowEnd, rowStart, sizing, t0, t1, t2, t3;\n  $[0] !== props ? ({\n    as: t0,\n    column,\n    columnStart,\n    columnEnd,\n    display: t1,\n    flex,\n    height,\n    margin: t2,\n    marginX,\n    marginY,\n    marginTop,\n    marginRight,\n    marginBottom,\n    marginLeft,\n    overflow,\n    padding: t3,\n    paddingX,\n    paddingY,\n    paddingTop,\n    paddingRight,\n    paddingBottom,\n    paddingLeft,\n    row,\n    rowStart,\n    rowEnd,\n    sizing,\n    ...restProps\n  } = props, $[0] = props, $[1] = column, $[2] = columnEnd, $[3] = columnStart, $[4] = flex, $[5] = height, $[6] = marginBottom, $[7] = marginLeft, $[8] = marginRight, $[9] = marginTop, $[10] = marginX, $[11] = marginY, $[12] = overflow, $[13] = paddingBottom, $[14] = paddingLeft, $[15] = paddingRight, $[16] = paddingTop, $[17] = paddingX, $[18] = paddingY, $[19] = restProps, $[20] = row, $[21] = rowEnd, $[22] = rowStart, $[23] = sizing, $[24] = t0, $[25] = t1, $[26] = t2, $[27] = t3) : (column = $[1], columnEnd = $[2], columnStart = $[3], flex = $[4], height = $[5], marginBottom = $[6], marginLeft = $[7], marginRight = $[8], marginTop = $[9], marginX = $[10], marginY = $[11], overflow = $[12], paddingBottom = $[13], paddingLeft = $[14], paddingRight = $[15], paddingTop = $[16], paddingX = $[17], paddingY = $[18], restProps = $[19], row = $[20], rowEnd = $[21], rowStart = $[22], sizing = $[23], t0 = $[24], t1 = $[25], t2 = $[26], t3 = $[27]);\n  const asProp = t0 === void 0 ? \"div\" : t0, display = t1 === void 0 ? \"block\" : t1, margin = t2 === void 0 ? 0 : t2, padding = t3 === void 0 ? 0 : t3, t4 = typeof asProp == \"string\" ? asProp : void 0, t5 = useArrayProp(column), t6 = useArrayProp(columnStart), t7 = useArrayProp(columnEnd), t8 = useArrayProp(display), t9 = useArrayProp(flex), t10 = useArrayProp(height), t11 = useArrayProp(margin), t12 = useArrayProp(marginX), t13 = useArrayProp(marginY), t14 = useArrayProp(marginTop), t15 = useArrayProp(marginRight), t16 = useArrayProp(marginBottom), t17 = useArrayProp(marginLeft), t18 = useArrayProp(overflow), t19 = useArrayProp(padding), t20 = useArrayProp(paddingX), t21 = useArrayProp(paddingY), t22 = useArrayProp(paddingTop), t23 = useArrayProp(paddingRight), t24 = useArrayProp(paddingBottom), t25 = useArrayProp(paddingLeft), t26 = useArrayProp(row), t27 = useArrayProp(rowStart), t28 = useArrayProp(rowEnd), t29 = useArrayProp(sizing);\n  let t30;\n  return $[28] !== asProp || $[29] !== props.children || $[30] !== ref || $[31] !== restProps || $[32] !== t10 || $[33] !== t11 || $[34] !== t12 || $[35] !== t13 || $[36] !== t14 || $[37] !== t15 || $[38] !== t16 || $[39] !== t17 || $[40] !== t18 || $[41] !== t19 || $[42] !== t20 || $[43] !== t21 || $[44] !== t22 || $[45] !== t23 || $[46] !== t24 || $[47] !== t25 || $[48] !== t26 || $[49] !== t27 || $[50] !== t28 || $[51] !== t29 || $[52] !== t4 || $[53] !== t5 || $[54] !== t6 || $[55] !== t7 || $[56] !== t8 || $[57] !== t9 ? (t30 = /* @__PURE__ */ jsx(Root$y, { \"data-as\": t4, \"data-ui\": \"Box\", ...restProps, $column: t5, $columnStart: t6, $columnEnd: t7, $display: t8, $flex: t9, $height: t10, $margin: t11, $marginX: t12, $marginY: t13, $marginTop: t14, $marginRight: t15, $marginBottom: t16, $marginLeft: t17, $overflow: t18, $padding: t19, $paddingX: t20, $paddingY: t21, $paddingTop: t22, $paddingRight: t23, $paddingBottom: t24, $paddingLeft: t25, $row: t26, $rowStart: t27, $rowEnd: t28, $sizing: t29, as: asProp, ref, children: props.children }), $[28] = asProp, $[29] = props.children, $[30] = ref, $[31] = restProps, $[32] = t10, $[33] = t11, $[34] = t12, $[35] = t13, $[36] = t14, $[37] = t15, $[38] = t16, $[39] = t17, $[40] = t18, $[41] = t19, $[42] = t20, $[43] = t21, $[44] = t22, $[45] = t23, $[46] = t24, $[47] = t25, $[48] = t26, $[49] = t27, $[50] = t28, $[51] = t29, $[52] = t4, $[53] = t5, $[54] = t6, $[55] = t7, $[56] = t8, $[57] = t9, $[58] = t30) : t30 = $[58], t30;\n});\nBox.displayName = \"ForwardRef(Box)\";\nfunction textBaseStyle(props) {\n  const {\n    $accent,\n    $muted\n  } = props, {\n    font\n  } = getTheme_v2(props.theme);\n  return css`\n    color: var(--card-fg-color);\n\n    ${$accent && css`\n      color: var(--card-accent-fg-color);\n    `}\n\n    ${$muted && css`\n      color: var(--card-muted-fg-color);\n    `}\n\n    & code {\n      font-family: ${font.code.family};\n      border-radius: 1px;\n      background-color: var(--card-code-bg-color);\n      color: var(--card-code-fg-color);\n    }\n\n    & a {\n      text-decoration: none;\n      border-radius: 1px;\n      color: var(--card-link-color);\n      outline: none;\n\n      @media (hover: hover) {\n        &:hover {\n          text-decoration: underline;\n        }\n      }\n\n      &:focus {\n        box-shadow:\n          0 0 0 1px var(--card-bg-color),\n          0 0 0 3px var(--card-focus-ring-color);\n      }\n\n      &:focus:not(:focus-visible) {\n        box-shadow: none;\n      }\n    }\n\n    & strong {\n      font-weight: ${font.text.weights.bold};\n    }\n\n    & svg {\n      /* Certain popular CSS libraries changes the defaults for SVG display */\n      /* Make sure SVGs are rendered as inline elements */\n      display: inline;\n    }\n\n    & [data-sanity-icon] {\n      vertical-align: baseline;\n      color: var(--card-icon-color);\n\n      & path {\n        vector-effect: non-scaling-stroke !important;\n      }\n    }\n  `;\n}\nconst Root$x = styled.div(responsiveTextFont, responsiveTextAlignStyle, textBaseStyle), SpanWithTextOverflow$1 = styled.span`\n  display: block;\n  white-space: nowrap;\n  text-overflow: ellipsis;\n  overflow: hidden;\n  overflow: clip;\n`, Text = forwardRef(function(props, ref) {\n  const $ = c(22);\n  let align, childrenProp, restProps, t0, t1, t2, textOverflow, weight;\n  $[0] !== props ? ({\n    accent: t0,\n    align,\n    children: childrenProp,\n    muted: t1,\n    size: t2,\n    textOverflow,\n    weight,\n    ...restProps\n  } = props, $[0] = props, $[1] = align, $[2] = childrenProp, $[3] = restProps, $[4] = t0, $[5] = t1, $[6] = t2, $[7] = textOverflow, $[8] = weight) : (align = $[1], childrenProp = $[2], restProps = $[3], t0 = $[4], t1 = $[5], t2 = $[6], textOverflow = $[7], weight = $[8]);\n  const accent = t0 === void 0 ? !1 : t0, muted = t1 === void 0 ? !1 : t1, size2 = t2 === void 0 ? 2 : t2;\n  let children = childrenProp;\n  if (textOverflow === \"ellipsis\") {\n    let t32;\n    $[9] !== children ? (t32 = /* @__PURE__ */ jsx(SpanWithTextOverflow$1, { children }), $[9] = children, $[10] = t32) : t32 = $[10], children = t32;\n  }\n  const t3 = useArrayProp(align), t4 = useArrayProp(size2);\n  let t5;\n  $[11] !== children ? (t5 = /* @__PURE__ */ jsx(\"span\", { children }), $[11] = children, $[12] = t5) : t5 = $[12];\n  let t6;\n  return $[13] !== accent || $[14] !== muted || $[15] !== ref || $[16] !== restProps || $[17] !== t3 || $[18] !== t4 || $[19] !== t5 || $[20] !== weight ? (t6 = /* @__PURE__ */ jsx(Root$x, { \"data-ui\": \"Text\", ...restProps, $accent: accent, $align: t3, $muted: muted, ref, $size: t4, $weight: weight, children: t5 }), $[13] = accent, $[14] = muted, $[15] = ref, $[16] = restProps, $[17] = t3, $[18] = t4, $[19] = t5, $[20] = weight, $[21] = t6) : t6 = $[21], t6;\n});\nText.displayName = \"ForwardRef(Text)\";\nfunction badgeStyle(props) {\n  const {\n    $tone\n  } = props;\n  return {\n    \"--card-bg-color\": `var(--card-badge-${$tone}-bg-color)`,\n    \"--card-fg-color\": `var(--card-badge-${$tone}-fg-color)`,\n    backgroundColor: \"var(--card-bg-color)\",\n    cursor: \"default\",\n    \"&:not([hidden])\": {\n      display: \"inline-block\",\n      verticalAlign: \"top\"\n    }\n  };\n}\nconst Root$w = styled(Box)(responsiveRadiusStyle, badgeStyle), Badge = forwardRef(function(props, ref) {\n  const $ = c(17);\n  let children, restProps, t0, t1, t2, t3;\n  if ($[0] !== props) {\n    const {\n      children: t42,\n      fontSize: t52,\n      mode: _deprecated_mode,\n      padding: t62,\n      radius: t72,\n      tone: t8,\n      ...t9\n    } = props;\n    children = t42, t0 = t52, t1 = t62, t2 = t72, t3 = t8, restProps = t9, $[0] = props, $[1] = children, $[2] = restProps, $[3] = t0, $[4] = t1, $[5] = t2, $[6] = t3;\n  } else\n    children = $[1], restProps = $[2], t0 = $[3], t1 = $[4], t2 = $[5], t3 = $[6];\n  const fontSize2 = t0 === void 0 ? 1 : t0, padding = t1 === void 0 ? 1 : t1, radius = t2 === void 0 ? \"full\" : t2, tone = t3 === void 0 ? \"default\" : t3, t4 = useArrayProp(radius), t5 = useArrayProp(padding);\n  let t6;\n  $[7] !== children || $[8] !== fontSize2 ? (t6 = /* @__PURE__ */ jsx(Text, { size: fontSize2, children }), $[7] = children, $[8] = fontSize2, $[9] = t6) : t6 = $[9];\n  let t7;\n  return $[10] !== ref || $[11] !== restProps || $[12] !== t4 || $[13] !== t5 || $[14] !== t6 || $[15] !== tone ? (t7 = /* @__PURE__ */ jsx(Root$w, { \"data-ui\": \"Badge\", ...restProps, $tone: tone, $radius: t4, padding: t5, ref, children: t6 }), $[10] = ref, $[11] = restProps, $[12] = t4, $[13] = t5, $[14] = t6, $[15] = tone, $[16] = t7) : t7 = $[16], t7;\n});\nBadge.displayName = \"ForwardRef(Badge)\";\nconst Root$v = styled(Box)(flexItemStyle, responsiveFlexStyle), Flex = forwardRef(function(props, ref) {\n  const $ = c(17);\n  let align, as, gap, justify, restProps, t0, wrap;\n  $[0] !== props ? ({\n    align,\n    as,\n    direction: t0,\n    gap,\n    justify,\n    wrap,\n    ...restProps\n  } = props, $[0] = props, $[1] = align, $[2] = as, $[3] = gap, $[4] = justify, $[5] = restProps, $[6] = t0, $[7] = wrap) : (align = $[1], as = $[2], gap = $[3], justify = $[4], restProps = $[5], t0 = $[6], wrap = $[7]);\n  const direction = t0 === void 0 ? \"row\" : t0, t1 = useArrayProp(align), t2 = useArrayProp(direction), t3 = useArrayProp(gap), t4 = useArrayProp(justify), t5 = useArrayProp(wrap);\n  let t6;\n  return $[8] !== as || $[9] !== ref || $[10] !== restProps || $[11] !== t1 || $[12] !== t2 || $[13] !== t3 || $[14] !== t4 || $[15] !== t5 ? (t6 = /* @__PURE__ */ jsx(Root$v, { \"data-ui\": \"Flex\", ...restProps, $align: t1, $direction: t2, $gap: t3, $justify: t4, $wrap: t5, forwardedAs: as, ref }), $[8] = as, $[9] = ref, $[10] = restProps, $[11] = t1, $[12] = t2, $[13] = t3, $[14] = t4, $[15] = t5, $[16] = t6) : t6 = $[16], t6;\n});\nFlex.displayName = \"ForwardRef(Flex)\";\nconst rotate$1 = keyframes`\n  from {\n    transform: rotate(0deg);\n  }\n\n  to {\n    transform: rotate(360deg);\n  }\n`, Root$u = styled(Text)`\n  & > span > svg {\n    animation: ${rotate$1} 500ms linear infinite;\n  }\n`, Spinner = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(SpinnerIcon, {}), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(Root$u, { \"data-ui\": \"Spinner\", ...props, ref, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nSpinner.displayName = \"ForwardRef(Spinner)\";\nfunction _cardColorStyle(base, color, checkered = !1) {\n  return {\n    // from base\n    \"--card-backdrop-color\": base.backdrop,\n    \"--card-focus-ring-color\": base.focusRing,\n    \"--card-shadow-outline-color\": base.shadow.outline,\n    \"--card-shadow-umbra-color\": base.shadow.umbra,\n    \"--card-shadow-penumbra-color\": base.shadow.penumbra,\n    \"--card-shadow-ambient-color\": base.shadow.ambient,\n    // from state\n    \"--card-accent-fg-color\": color.accent.fg,\n    \"--card-avatar-gray-bg-color\": color.avatar.gray.bg,\n    \"--card-avatar-gray-fg-color\": color.avatar.gray.fg,\n    \"--card-avatar-blue-bg-color\": color.avatar.blue.bg,\n    \"--card-avatar-blue-fg-color\": color.avatar.blue.fg,\n    \"--card-avatar-purple-bg-color\": color.avatar.purple.bg,\n    \"--card-avatar-purple-fg-color\": color.avatar.purple.fg,\n    \"--card-avatar-magenta-bg-color\": color.avatar.magenta.bg,\n    \"--card-avatar-magenta-fg-color\": color.avatar.magenta.fg,\n    \"--card-avatar-red-bg-color\": color.avatar.red.bg,\n    \"--card-avatar-red-fg-color\": color.avatar.red.fg,\n    \"--card-avatar-orange-bg-color\": color.avatar.orange.bg,\n    \"--card-avatar-orange-fg-color\": color.avatar.orange.fg,\n    \"--card-avatar-yellow-bg-color\": color.avatar.yellow.bg,\n    \"--card-avatar-yellow-fg-color\": color.avatar.yellow.fg,\n    \"--card-avatar-green-bg-color\": color.avatar.green.bg,\n    \"--card-avatar-green-fg-color\": color.avatar.green.fg,\n    \"--card-avatar-cyan-bg-color\": color.avatar.cyan.bg,\n    \"--card-avatar-cyan-fg-color\": color.avatar.cyan.fg,\n    \"--card-bg-color\": color.bg,\n    \"--card-bg-image\": checkered ? `repeating-conic-gradient(${color.bg} 0% 25%, ${color.muted.bg} 0% 50%)` : void 0,\n    \"--card-border-color\": color.border,\n    \"--card-badge-default-bg-color\": color.badge.default.bg,\n    \"--card-badge-default-dot-color\": color.badge.default.dot,\n    \"--card-badge-default-fg-color\": color.badge.default.fg,\n    \"--card-badge-default-icon-color\": color.badge.default.icon,\n    \"--card-badge-neutral-bg-color\": color.badge.neutral?.bg,\n    \"--card-badge-neutral-dot-color\": color.badge.neutral?.dot,\n    \"--card-badge-neutral-fg-color\": color.badge.neutral?.fg,\n    \"--card-badge-neutral-icon-color\": color.badge.neutral?.icon,\n    \"--card-badge-primary-bg-color\": color.badge.primary.bg,\n    \"--card-badge-primary-dot-color\": color.badge.primary.dot,\n    \"--card-badge-primary-fg-color\": color.badge.primary.fg,\n    \"--card-badge-primary-icon-color\": color.badge.primary.icon,\n    \"--card-badge-suggest-bg-color\": color.badge.suggest?.bg,\n    \"--card-badge-suggest-dot-color\": color.badge.suggest?.dot,\n    \"--card-badge-suggest-fg-color\": color.badge.suggest?.fg,\n    \"--card-badge-suggest-icon-color\": color.badge.suggest?.icon,\n    \"--card-badge-positive-bg-color\": color.badge.positive.bg,\n    \"--card-badge-positive-dot-color\": color.badge.positive.dot,\n    \"--card-badge-positive-fg-color\": color.badge.positive.fg,\n    \"--card-badge-positive-icon-color\": color.badge.positive.icon,\n    \"--card-badge-caution-bg-color\": color.badge.caution.bg,\n    \"--card-badge-caution-dot-color\": color.badge.caution.dot,\n    \"--card-badge-caution-fg-color\": color.badge.caution.fg,\n    \"--card-badge-caution-icon-color\": color.badge.caution.icon,\n    \"--card-badge-critical-bg-color\": color.badge.critical.bg,\n    \"--card-badge-critical-dot-color\": color.badge.critical.dot,\n    \"--card-badge-critical-fg-color\": color.badge.critical.fg,\n    \"--card-badge-critical-icon-color\": color.badge.critical.icon,\n    \"--card-code-bg-color\": color.code.bg,\n    \"--card-code-fg-color\": color.code.fg,\n    \"--card-fg-color\": color.fg,\n    \"--card-icon-color\": color.icon,\n    \"--card-kbd-bg-color\": color.kbd.bg,\n    \"--card-kbd-border-color\": color.kbd.border,\n    \"--card-kbd-fg-color\": color.kbd.fg,\n    \"--card-link-fg-color\": color.link.fg,\n    \"--card-muted-bg-color\": color.muted.bg,\n    \"--card-muted-fg-color\": color.muted.fg,\n    \"--card-skeleton-color-from\": color.skeleton.from,\n    \"--card-skeleton-color-to\": color.skeleton.to,\n    // deprecated variables (kept for legacy)\n    \"--card-bg2-color\": color.muted.bg,\n    \"--card-link-color\": color.link.fg,\n    \"--card-hairline-soft-color\": color.border,\n    \"--card-hairline-hard-color\": color.border\n  };\n}\nfunction buttonBaseStyles(props) {\n  const {\n    $width\n  } = props, {\n    style\n  } = getTheme_v2(props.theme);\n  return css`\n    ${style?.button};\n\n    -webkit-font-smoothing: inherit;\n    appearance: none;\n    display: inline-flex;\n    align-items: center;\n    font: inherit;\n    border: 0;\n    outline: none;\n    user-select: none;\n    text-decoration: none;\n    border: 0;\n    box-sizing: border-box;\n    padding: 0;\n    margin: 0;\n    white-space: nowrap;\n    text-align: left;\n    position: relative;\n    vertical-align: top;\n\n    ${$width === \"fill\" && css`\n      width: -moz-available;\n      width: -webkit-fill-available;\n      width: stretch;\n    `}\n\n    & > span {\n      display: block;\n      flex: 1;\n      min-width: 0;\n      border-radius: inherit;\n    }\n\n    &::-moz-focus-inner {\n      border: 0;\n      padding: 0;\n    }\n  `;\n}\nfunction combineBoxShadow(...boxShadows) {\n  return boxShadows.filter(Boolean).join(\",\");\n}\nfunction buttonColorStyles(props) {\n  const {\n    $mode\n  } = props, {\n    button,\n    color: baseColor,\n    style\n  } = getTheme_v2(props.theme), shadow = props.$mode === \"ghost\", mode = baseColor.button[$mode] || baseColor.button.default, color = mode[props.$tone] || mode.default, border2 = {\n    width: button.border.width,\n    color: \"var(--card-border-color)\"\n  }, defaultBoxShadow = void 0;\n  return [_cardColorStyle(baseColor, color.enabled), {\n    backgroundColor: \"var(--card-bg-color)\",\n    color: \"var(--card-fg-color)\",\n    boxShadow: focusRingBorderStyle(border2),\n    '&:disabled, &[data-disabled=\"true\"]': _cardColorStyle(baseColor, color.disabled),\n    \"&:not([data-disabled='true'])\": {\n      boxShadow: combineBoxShadow(focusRingBorderStyle(border2), shadow ? defaultBoxShadow : void 0),\n      \"&:focus\": {\n        boxShadow: focusRingStyle({\n          base: baseColor,\n          border: {\n            width: 2,\n            color: baseColor.bg\n          },\n          focusRing: button.focusRing\n        })\n      },\n      \"&:focus:not(:focus-visible)\": {\n        boxShadow: combineBoxShadow(focusRingBorderStyle(border2), shadow ? defaultBoxShadow : void 0)\n      },\n      \"@media (hover: hover)\": {\n        \"&:hover\": _cardColorStyle(baseColor, color.hovered),\n        \"&:active\": _cardColorStyle(baseColor, color.pressed),\n        \"&[data-hovered]\": _cardColorStyle(baseColor, color.hovered)\n      },\n      \"&[data-selected]\": _cardColorStyle(baseColor, color.pressed)\n    }\n  }, style?.button?.root].filter(Boolean);\n}\nconst Root$t = styled.button(responsiveRadiusStyle, buttonBaseStyles, buttonColorStyles), LoadingBox = styled.div`\n  position: absolute;\n  top: 0;\n  left: 0;\n  right: 0;\n  bottom: 0;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  background-color: var(--card-bg-color);\n  border-radius: inherit;\n  z-index: 1;\n  box-shadow: inherit;\n`, Button = forwardRef(function(props, ref) {\n  const $ = c(64);\n  let IconComponent, IconRightComponent, children, disabled, loading, paddingBottomProp, paddingLeftProp, paddingRightProp, paddingTopProp, paddingXProp, paddingYProp, restProps, selected, t0, t1, t2, t3, t4, t5, t6, t7, t8, text, textAlign, width;\n  $[0] !== props ? ({\n    children,\n    disabled,\n    fontSize: t0,\n    icon: IconComponent,\n    iconRight: IconRightComponent,\n    justify: t1,\n    loading,\n    mode: t2,\n    padding: t3,\n    paddingX: paddingXProp,\n    paddingY: paddingYProp,\n    paddingTop: paddingTopProp,\n    paddingBottom: paddingBottomProp,\n    paddingLeft: paddingLeftProp,\n    paddingRight: paddingRightProp,\n    radius: t4,\n    selected,\n    space: t5,\n    text,\n    textAlign,\n    tone: t6,\n    type: t7,\n    muted: t8,\n    width,\n    ...restProps\n  } = props, $[0] = props, $[1] = IconComponent, $[2] = IconRightComponent, $[3] = children, $[4] = disabled, $[5] = loading, $[6] = paddingBottomProp, $[7] = paddingLeftProp, $[8] = paddingRightProp, $[9] = paddingTopProp, $[10] = paddingXProp, $[11] = paddingYProp, $[12] = restProps, $[13] = selected, $[14] = t0, $[15] = t1, $[16] = t2, $[17] = t3, $[18] = t4, $[19] = t5, $[20] = t6, $[21] = t7, $[22] = t8, $[23] = text, $[24] = textAlign, $[25] = width) : (IconComponent = $[1], IconRightComponent = $[2], children = $[3], disabled = $[4], loading = $[5], paddingBottomProp = $[6], paddingLeftProp = $[7], paddingRightProp = $[8], paddingTopProp = $[9], paddingXProp = $[10], paddingYProp = $[11], restProps = $[12], selected = $[13], t0 = $[14], t1 = $[15], t2 = $[16], t3 = $[17], t4 = $[18], t5 = $[19], t6 = $[20], t7 = $[21], t8 = $[22], text = $[23], textAlign = $[24], width = $[25]);\n  const fontSize2 = t0 === void 0 ? 1 : t0, justifyProp = t1 === void 0 ? \"center\" : t1, mode = t2 === void 0 ? \"default\" : t2, paddingProp = t3 === void 0 ? 3 : t3, radiusProp = t4 === void 0 ? 2 : t4, spaceProp = t5 === void 0 ? 3 : t5, tone = t6 === void 0 ? \"default\" : t6, type = t7 === void 0 ? \"button\" : t7, muted = t8 === void 0 ? !1 : t8, {\n    button\n  } = useTheme_v2(), justify = useArrayProp(justifyProp), padding = useArrayProp(paddingProp), paddingX = useArrayProp(paddingXProp), paddingY = useArrayProp(paddingYProp), paddingTop = useArrayProp(paddingTopProp), paddingBottom = useArrayProp(paddingBottomProp), paddingLeft = useArrayProp(paddingLeftProp), paddingRight = useArrayProp(paddingRightProp), radius = useArrayProp(radiusProp), space = useArrayProp(spaceProp);\n  let t9, t10;\n  $[26] !== padding || $[27] !== paddingBottom || $[28] !== paddingLeft || $[29] !== paddingRight || $[30] !== paddingTop || $[31] !== paddingX || $[32] !== paddingY ? (t10 = {\n    padding,\n    paddingX,\n    paddingY,\n    paddingTop,\n    paddingBottom,\n    paddingLeft,\n    paddingRight\n  }, $[26] = padding, $[27] = paddingBottom, $[28] = paddingLeft, $[29] = paddingRight, $[30] = paddingTop, $[31] = paddingX, $[32] = paddingY, $[33] = t10) : t10 = $[33], t9 = t10;\n  const boxProps = t9, t11 = !!(loading || disabled), t12 = selected ? \"\" : void 0, t13 = !!(loading || disabled);\n  let t14;\n  $[34] !== loading ? (t14 = !!loading && /* @__PURE__ */ jsx(LoadingBox, { children: /* @__PURE__ */ jsx(Spinner, {}) }), $[34] = loading, $[35] = t14) : t14 = $[35];\n  let t15;\n  $[36] !== IconComponent || $[37] !== IconRightComponent || $[38] !== boxProps || $[39] !== button || $[40] !== fontSize2 || $[41] !== justify || $[42] !== muted || $[43] !== space || $[44] !== text || $[45] !== textAlign ? (t15 = (IconComponent || text || IconRightComponent) && /* @__PURE__ */ jsx(Box, { as: \"span\", ...boxProps, children: /* @__PURE__ */ jsxs(Flex, { as: \"span\", justify, gap: space, children: [\n    IconComponent && /* @__PURE__ */ jsxs(Text, { size: fontSize2, children: [\n      isValidElement(IconComponent) && IconComponent,\n      isValidElementType(IconComponent) && /* @__PURE__ */ jsx(IconComponent, {})\n    ] }),\n    text && /* @__PURE__ */ jsx(Box, { children: /* @__PURE__ */ jsx(Text, { muted, align: textAlign, size: fontSize2, textOverflow: \"ellipsis\", weight: button.textWeight, children: text }) }),\n    IconRightComponent && /* @__PURE__ */ jsxs(Text, { size: fontSize2, children: [\n      isValidElement(IconRightComponent) && IconRightComponent,\n      isValidElementType(IconRightComponent) && /* @__PURE__ */ jsx(IconRightComponent, {})\n    ] })\n  ] }) }), $[36] = IconComponent, $[37] = IconRightComponent, $[38] = boxProps, $[39] = button, $[40] = fontSize2, $[41] = justify, $[42] = muted, $[43] = space, $[44] = text, $[45] = textAlign, $[46] = t15) : t15 = $[46];\n  let t16;\n  $[47] !== boxProps || $[48] !== children ? (t16 = children && /* @__PURE__ */ jsx(Box, { as: \"span\", ...boxProps, children }), $[47] = boxProps, $[48] = children, $[49] = t16) : t16 = $[49];\n  let t17;\n  return $[50] !== mode || $[51] !== radius || $[52] !== ref || $[53] !== restProps || $[54] !== t11 || $[55] !== t12 || $[56] !== t13 || $[57] !== t14 || $[58] !== t15 || $[59] !== t16 || $[60] !== tone || $[61] !== type || $[62] !== width ? (t17 = /* @__PURE__ */ jsxs(Root$t, { \"data-ui\": \"Button\", ...restProps, $mode: mode, $radius: radius, $tone: tone, \"data-disabled\": t11, \"data-selected\": t12, disabled: t13, ref, type, $width: width, children: [\n    t14,\n    t15,\n    t16\n  ] }), $[50] = mode, $[51] = radius, $[52] = ref, $[53] = restProps, $[54] = t11, $[55] = t12, $[56] = t13, $[57] = t14, $[58] = t15, $[59] = t16, $[60] = tone, $[61] = type, $[62] = width, $[63] = t17) : t17 = $[63], t17;\n});\nButton.displayName = \"ForwardRef(Button)\";\nfunction cardStyle(props) {\n  return [cardBaseStyle(props), cardColorStyle(props)];\n}\nfunction cardBaseStyle(props) {\n  const {\n    $checkered\n  } = props, {\n    space\n  } = getTheme_v2(props.theme);\n  return css`\n    ${$checkered && css`\n      background-size: ${space[3]}px ${space[3]}px;\n      background-position: 50% 50%;\n      background-image: var(--card-bg-image);\n    `}\n\n    &[data-as='button'] {\n      -webkit-font-smoothing: inherit;\n      appearance: none;\n      outline: none;\n      font: inherit;\n      text-align: inherit;\n      border: 0;\n      width: -moz-available;\n      width: -webkit-fill-available;\n      width: stretch;\n    }\n\n    /* &:is(a) */\n    &[data-as='a'] {\n      outline: none;\n      text-decoration: none;\n    }\n\n    /* &:is(pre) */\n    &[data-as='pre'] {\n      font: inherit;\n    }\n  `;\n}\nfunction cardColorStyle(props) {\n  const {\n    $checkered,\n    $focusRing,\n    $muted\n  } = props, {\n    card,\n    color,\n    style\n  } = getTheme_v2(props.theme), border2 = {\n    width: card.border.width,\n    color: \"var(--card-border-color)\"\n  };\n  return css`\n    color-scheme: ${color._dark ? \"dark\" : \"light\"};\n\n    ${_cardColorStyle(color, color, $checkered)}\n\n    background-color: ${$muted ? \"var(--card-muted-bg-color)\" : \"var(--card-bg-color)\"};\n    color: var(--card-fg-color);\n\n    /* &:is(button) */\n    &[data-as='button'] {\n      --card-focus-ring-box-shadow: none;\n\n      cursor: default;\n      box-shadow: var(--card-focus-ring-box-shadow);\n\n      &:disabled {\n        ${_cardColorStyle(color, color.selectable.default.disabled, $checkered)}\n      }\n\n      &:not(:disabled) {\n        &[data-pressed] {\n          ${_cardColorStyle(color, color.selectable.default.pressed, $checkered)}\n        }\n\n        &[data-selected] {\n          ${_cardColorStyle(color, color.selectable.default.selected, $checkered)}\n        }\n\n        @media (hover: hover) {\n          &:not([data-pressed]):not([data-selected]) {\n            &[data-hovered],\n            &:hover {\n              ${_cardColorStyle(color, color.selectable.default.hovered, $checkered)}\n            }\n\n            &:active {\n              ${_cardColorStyle(color, color.selectable.default.pressed, $checkered)}\n            }\n          }\n        }\n\n        &:focus-visible {\n          --card-focus-ring-box-shadow: ${$focusRing ? focusRingStyle({\n    base: color,\n    border: border2,\n    focusRing: card.focusRing\n  }) : void 0};\n        }\n      }\n    }\n\n    /* &:is(a) */\n    &[data-as='a'] {\n      cursor: pointer;\n      box-shadow: var(--card-focus-ring-box-shadow);\n\n      &[data-disabled] {\n        ${_cardColorStyle(color, color.selectable.default.disabled, $checkered)}\n      }\n\n      &:not([data-disabled]) {\n        &[data-pressed] {\n          ${_cardColorStyle(color, color.selectable.default.pressed, $checkered)}\n        }\n\n        &[data-selected] {\n          ${_cardColorStyle(color, color.selectable.default.selected, $checkered)}\n        }\n\n        @media (hover: hover) {\n          &:not([data-pressed]):not([data-selected]) {\n            &[data-hovered],\n            &:hover {\n              ${_cardColorStyle(color, color.selectable.default.hovered, $checkered)}\n            }\n\n            &:active {\n              ${_cardColorStyle(color, color.selectable.default.pressed, $checkered)}\n            }\n          }\n        }\n\n        &:focus-visible {\n          --card-focus-ring-box-shadow: ${$focusRing ? focusRingStyle({\n    base: color,\n    border: border2,\n    focusRing: card.focusRing\n  }) : void 0};\n        }\n      }\n    }\n\n    ${style?.card?.root}\n  `;\n}\nconst Root$s = styled(Box)(responsiveBorderStyle, responsiveRadiusStyle, responsiveShadowStyle, cardStyle), Card = forwardRef(function(props, ref) {\n  const $ = c(42);\n  let asProp, border2, borderBottom2, borderLeft2, borderRight2, borderTop2, muted, pressed, restProps, scheme, selected, shadow, t0, t1, t2, t3;\n  $[0] !== props ? ({\n    __unstable_checkered: t0,\n    __unstable_focusRing: t1,\n    as: asProp,\n    border: border2,\n    borderTop: borderTop2,\n    borderRight: borderRight2,\n    borderBottom: borderBottom2,\n    borderLeft: borderLeft2,\n    muted,\n    pressed,\n    radius: t2,\n    scheme,\n    selected,\n    shadow,\n    tone: t3,\n    ...restProps\n  } = props, $[0] = props, $[1] = asProp, $[2] = border2, $[3] = borderBottom2, $[4] = borderLeft2, $[5] = borderRight2, $[6] = borderTop2, $[7] = muted, $[8] = pressed, $[9] = restProps, $[10] = scheme, $[11] = selected, $[12] = shadow, $[13] = t0, $[14] = t1, $[15] = t2, $[16] = t3) : (asProp = $[1], border2 = $[2], borderBottom2 = $[3], borderLeft2 = $[4], borderRight2 = $[5], borderTop2 = $[6], muted = $[7], pressed = $[8], restProps = $[9], scheme = $[10], selected = $[11], shadow = $[12], t0 = $[13], t1 = $[14], t2 = $[15], t3 = $[16]);\n  const checkered = t0 === void 0 ? !1 : t0, focusRing = t1 === void 0 ? !1 : t1, radius = t2 === void 0 ? 0 : t2, toneProp = t3 === void 0 ? \"default\" : t3, as = isValidElementType(asProp) ? asProp : \"div\", rootTheme = useRootTheme(), tone = toneProp === \"inherit\" ? rootTheme.tone : toneProp, t4 = typeof as == \"string\" ? as : void 0, t5 = rootTheme.scheme, t6 = useArrayProp(border2), t7 = useArrayProp(borderTop2), t8 = useArrayProp(borderRight2), t9 = useArrayProp(borderBottom2), t10 = useArrayProp(borderLeft2), t11 = useArrayProp(radius), t12 = useArrayProp(shadow), t13 = checkered ? \"\" : void 0, t14 = pressed ? \"\" : void 0, t15 = selected ? \"\" : void 0;\n  let t16;\n  $[17] !== as || $[18] !== checkered || $[19] !== focusRing || $[20] !== muted || $[21] !== ref || $[22] !== restProps || $[23] !== rootTheme.scheme || $[24] !== selected || $[25] !== t10 || $[26] !== t11 || $[27] !== t12 || $[28] !== t13 || $[29] !== t14 || $[30] !== t15 || $[31] !== t4 || $[32] !== t6 || $[33] !== t7 || $[34] !== t8 || $[35] !== t9 || $[36] !== tone ? (t16 = /* @__PURE__ */ jsx(Root$s, { \"data-as\": t4, \"data-scheme\": t5, \"data-ui\": \"Card\", \"data-tone\": tone, ...restProps, $border: t6, $borderTop: t7, $borderRight: t8, $borderBottom: t9, $borderLeft: t10, $checkered: checkered, $focusRing: focusRing, $muted: muted, $radius: t11, $shadow: t12, $tone: tone, \"data-checkered\": t13, \"data-pressed\": t14, \"data-selected\": t15, forwardedAs: as, ref, selected }), $[17] = as, $[18] = checkered, $[19] = focusRing, $[20] = muted, $[21] = ref, $[22] = restProps, $[23] = rootTheme.scheme, $[24] = selected, $[25] = t10, $[26] = t11, $[27] = t12, $[28] = t13, $[29] = t14, $[30] = t15, $[31] = t4, $[32] = t6, $[33] = t7, $[34] = t8, $[35] = t9, $[36] = tone, $[37] = t16) : t16 = $[37];\n  let t17;\n  return $[38] !== scheme || $[39] !== t16 || $[40] !== tone ? (t17 = /* @__PURE__ */ jsx(ThemeColorProvider, { scheme, tone, children: t16 }), $[38] = scheme, $[39] = t16, $[40] = tone, $[41] = t17) : t17 = $[41], t17;\n});\nCard.displayName = \"ForwardRef(Card)\";\nfunction checkboxBaseStyles() {\n  return css`\n    position: relative;\n    display: inline-block;\n  `;\n}\nfunction inputElementStyles(props) {\n  const {\n    color,\n    input,\n    radius\n  } = getTheme_v2(props.theme), {\n    focusRing\n  } = input.checkbox;\n  return css`\n    position: absolute;\n    top: 0;\n    left: 0;\n    width: 100%;\n    height: 100%;\n    outline: none;\n    opacity: 0;\n    z-index: 1;\n    padding: 0;\n    margin: 0;\n\n    & + span {\n      position: relative;\n      display: block;\n      height: ${rem(input.checkbox.size)};\n      width: ${rem(input.checkbox.size)};\n      box-sizing: border-box;\n      box-shadow: ${focusRingBorderStyle({\n    color: color.input.default.enabled.border,\n    width: input.border.width\n  })};\n      border-radius: ${rem(radius[2])};\n      line-height: 1;\n      background-color: ${color.input.default.enabled.bg};\n\n      & > svg {\n        display: block;\n        position: absolute;\n        opacity: 0;\n        height: 100%;\n        width: 100%;\n\n        & > path {\n          vector-effect: non-scaling-stroke;\n          stroke-width: 1.5px !important;\n        }\n      }\n    }\n\n    &:checked + span {\n      background: ${color.input.default.enabled.fg};\n      box-shadow: ${focusRingBorderStyle({\n    color: color.input.default.enabled.fg,\n    width: input.border.width\n  })};\n      color: ${color.input.default.enabled.bg};\n    }\n\n    /* focus */\n    &:not(:disabled):focus:focus-visible + span {\n      box-shadow: ${focusRingStyle({\n    focusRing\n  })};\n    }\n\n    /* focus when checked - uses a different offset */\n    &:not(:disabled):focus:focus-visible&:checked + span {\n      box-shadow: ${focusRingStyle({\n    focusRing: {\n      width: 1,\n      offset: 1\n    }\n  })};\n    }\n\n    &[data-error] + span {\n      background-color: ${color.input.invalid.enabled.border};\n      box-shadow: ${focusRingBorderStyle({\n    width: input.border.width,\n    color: color.input.invalid.enabled.muted.bg\n  })};\n      color: ${color.input.default.disabled.fg};\n    }\n    &[data-error]&:checked + span {\n      background-color: ${color.input.invalid.enabled.muted.bg};\n      color: ${color.input.default.enabled.bg};\n    }\n    &[data-error]&:checked&:not(:disabled):focus:focus-visible + span {\n      box-shadow: ${focusRingStyle({\n    border: {\n      width: input.border.width,\n      color: color.input.invalid.readOnly.muted.bg\n    },\n    focusRing: {\n      width: 1,\n      offset: 1\n    }\n  })};\n    }\n\n    &:disabled + span {\n      background-color: ${color.input.default.disabled.bg};\n      box-shadow: ${focusRingBorderStyle({\n    width: input.border.width,\n    color: color.input.default.disabled.border\n  })};\n      color: ${color.input.default.disabled.fg};\n    }\n    &:disabled&:checked + span {\n      background-color: ${color.input.default.disabled.muted.bg};\n    }\n\n    &[data-read-only] + span {\n      background-color: ${color.input.default.readOnly.bg};\n      box-shadow: ${focusRingBorderStyle({\n    width: input.border.width,\n    color: color.input.default.readOnly.border\n  })};\n      color: ${color.input.default.readOnly.fg};\n    }\n\n    &[data-read-only]&:checked + span {\n      background-color: ${color.input.default.readOnly.muted.bg};\n    }\n\n    &:checked + span > svg:first-child {\n      opacity: 1;\n    }\n    &:indeterminate + span > svg:last-child {\n      opacity: 1;\n    }\n  `;\n}\nconst Root$r = styled.div(checkboxBaseStyles), Input$5 = styled.input(inputElementStyles), Checkbox = forwardRef(function(props, forwardedRef) {\n  const $ = c(25);\n  let checked, className, customValidity, disabled, indeterminate, readOnly, restProps, style;\n  $[0] !== props ? ({\n    checked,\n    className,\n    disabled,\n    indeterminate,\n    customValidity,\n    readOnly,\n    style,\n    ...restProps\n  } = props, $[0] = props, $[1] = checked, $[2] = className, $[3] = customValidity, $[4] = disabled, $[5] = indeterminate, $[6] = readOnly, $[7] = restProps, $[8] = style) : (checked = $[1], className = $[2], customValidity = $[3], disabled = $[4], indeterminate = $[5], readOnly = $[6], restProps = $[7], style = $[8]);\n  const ref = useRef(null);\n  let t0;\n  $[9] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = () => ref.current, $[9] = t0) : t0 = $[9], useImperativeHandle(forwardedRef, t0);\n  let t1, t2;\n  $[10] !== indeterminate ? (t1 = () => {\n    ref.current && (ref.current.indeterminate = indeterminate || !1);\n  }, t2 = [indeterminate], $[10] = indeterminate, $[11] = t1, $[12] = t2) : (t1 = $[11], t2 = $[12]), useEffect(t1, t2), useCustomValidity(ref, customValidity);\n  const t3 = !disabled && readOnly ? \"\" : void 0, t4 = customValidity ? \"\" : void 0, t5 = disabled || readOnly;\n  let t6;\n  $[13] !== checked || $[14] !== readOnly || $[15] !== restProps || $[16] !== t3 || $[17] !== t4 || $[18] !== t5 ? (t6 = /* @__PURE__ */ jsx(Input$5, { \"data-read-only\": t3, \"data-error\": t4, ...restProps, checked, disabled: t5, type: \"checkbox\", readOnly, ref }), $[13] = checked, $[14] = readOnly, $[15] = restProps, $[16] = t3, $[17] = t4, $[18] = t5, $[19] = t6) : t6 = $[19];\n  let t7;\n  $[20] === Symbol.for(\"react.memo_cache_sentinel\") ? (t7 = /* @__PURE__ */ jsxs(\"span\", { children: [\n    /* @__PURE__ */ jsx(CheckmarkIcon, {}),\n    /* @__PURE__ */ jsx(RemoveIcon, {})\n  ] }), $[20] = t7) : t7 = $[20];\n  let t8;\n  return $[21] !== className || $[22] !== style || $[23] !== t6 ? (t8 = /* @__PURE__ */ jsxs(Root$r, { className, \"data-ui\": \"Checkbox\", style, children: [\n    t6,\n    t7\n  ] }), $[21] = className, $[22] = style, $[23] = t6, $[24] = t8) : t8 = $[24], t8;\n});\nCheckbox.displayName = \"ForwardRef(Checkbox)\";\nfunction codeSyntaxHighlightingStyle({\n  theme\n}) {\n  const {\n    color: {\n      syntax: color\n    }\n  } = getTheme_v2(theme);\n  return {\n    \"&.atrule\": {\n      color: color.atrule\n    },\n    \"&.attr-name\": {\n      color: color.attrName\n    },\n    \"&.attr-value\": {\n      color: color.attrValue\n    },\n    \"&.attribute\": {\n      color: color.attribute\n    },\n    \"&.boolean\": {\n      color: color.boolean\n    },\n    \"&.builtin\": {\n      color: color.builtin\n    },\n    \"&.cdata\": {\n      color: color.cdata\n    },\n    \"&.char\": {\n      color: color.char\n    },\n    \"&.class\": {\n      color: color.class\n    },\n    \"&.class-name\": {\n      color: color.className\n    },\n    \"&.comment\": {\n      color: color.comment\n    },\n    \"&.constant\": {\n      color: color.constant\n    },\n    \"&.deleted\": {\n      color: color.deleted\n    },\n    \"&.doctype\": {\n      color: color.doctype\n    },\n    \"&.entity\": {\n      color: color.entity\n    },\n    \"&.function\": {\n      color: color.function\n    },\n    \"&.hexcode\": {\n      color: color.hexcode\n    },\n    \"&.id\": {\n      color: color.id\n    },\n    \"&.important\": {\n      color: color.important\n    },\n    \"&.inserted\": {\n      color: color.inserted\n    },\n    \"&.keyword\": {\n      color: color.keyword\n    },\n    \"&.number\": {\n      color: color.number\n    },\n    \"&.operator\": {\n      color: color.operator\n    },\n    \"&.prolog\": {\n      color: color.prolog\n    },\n    \"&.property\": {\n      color: color.property\n    },\n    \"&.pseudo-class\": {\n      color: color.pseudoClass\n    },\n    \"&.pseudo-element\": {\n      color: color.pseudoElement\n    },\n    \"&.punctuation\": {\n      color: color.punctuation\n    },\n    \"&.regex\": {\n      color: color.regex\n    },\n    \"&.selector\": {\n      color: color.selector\n    },\n    \"&.string\": {\n      color: color.string\n    },\n    \"&.symbol\": {\n      color: color.symbol\n    },\n    \"&.tag\": {\n      color: color.tag\n    },\n    \"&.unit\": {\n      color: color.unit\n    },\n    \"&.url\": {\n      color: color.url\n    },\n    \"&.variable\": {\n      color: color.variable\n    }\n  };\n}\nfunction codeBaseStyle() {\n  return css`\n    color: var(--card-code-fg-color);\n\n    & code {\n      font-family: inherit;\n\n      &.refractor .token {\n        ${codeSyntaxHighlightingStyle}\n      }\n    }\n\n    & a {\n      color: inherit;\n      text-decoration: underline;\n      border-radius: 1px;\n    }\n\n    & svg {\n      /* Certain popular CSS libraries changes the defaults for SVG display */\n      /* Make sure SVGs are rendered as inline elements */\n      display: inline;\n    }\n\n    & [data-sanity-icon] {\n      vertical-align: baseline;\n    }\n  `;\n}\nconst Root$q = styled.pre(codeBaseStyle, responsiveCodeFontStyle), Code = forwardRef(function(props, ref) {\n  const $ = c(23);\n  let children, languageProp, restProps, t0, weight;\n  $[0] !== props ? ({\n    children,\n    language: languageProp,\n    size: t0,\n    weight,\n    ...restProps\n  } = props, $[0] = props, $[1] = children, $[2] = languageProp, $[3] = restProps, $[4] = t0, $[5] = weight) : (children = $[1], languageProp = $[2], restProps = $[3], t0 = $[4], weight = $[5]);\n  const size2 = t0 === void 0 ? 2 : t0, language = typeof languageProp == \"string\" ? languageProp : void 0;\n  let t1;\n  $[6] !== language ? (t1 = language ? Refractor.hasLanguage(language) : !1, $[6] = language, $[7] = t1) : t1 = $[7];\n  const registered = t1, t2 = useArrayProp(size2);\n  let t3;\n  $[8] !== children || $[9] !== language || $[10] !== registered ? (t3 = !(language && registered) && /* @__PURE__ */ jsx(\"code\", { children }), $[8] = children, $[9] = language, $[10] = registered, $[11] = t3) : t3 = $[11];\n  let t4;\n  $[12] !== children || $[13] !== language || $[14] !== registered ? (t4 = language && registered && /* @__PURE__ */ jsx(Refractor, { inline: !0, language, value: String(children) }), $[12] = children, $[13] = language, $[14] = registered, $[15] = t4) : t4 = $[15];\n  let t5;\n  return $[16] !== ref || $[17] !== restProps || $[18] !== t2 || $[19] !== t3 || $[20] !== t4 || $[21] !== weight ? (t5 = /* @__PURE__ */ jsxs(Root$q, { \"data-ui\": \"Code\", ...restProps, $size: t2, $weight: weight, ref, children: [\n    t3,\n    t4\n  ] }), $[16] = ref, $[17] = restProps, $[18] = t2, $[19] = t3, $[20] = t4, $[21] = weight, $[22] = t5) : t5 = $[22], t5;\n});\nCode.displayName = \"ForwardRef(Code)\";\nconst BASE_STYLE$1 = {\n  width: \"100%\",\n  margin: \"0 auto\"\n};\nfunction containerBaseStyle() {\n  return BASE_STYLE$1;\n}\nfunction responsiveContainerWidthStyle(props) {\n  const {\n    container,\n    media\n  } = getTheme_v2(props.theme);\n  return _responsive(media, props.$width, (val) => ({\n    maxWidth: val === \"auto\" ? \"none\" : rem(container[val])\n  }));\n}\nconst Root$p = styled(Box)(containerBaseStyle, responsiveContainerWidthStyle), Container = forwardRef(function(props, ref) {\n  const $ = c(9);\n  let as, restProps, t0;\n  $[0] !== props ? ({\n    as,\n    width: t0,\n    ...restProps\n  } = props, $[0] = props, $[1] = as, $[2] = restProps, $[3] = t0) : (as = $[1], restProps = $[2], t0 = $[3]);\n  const t1 = useArrayProp(t0 === void 0 ? 2 : t0);\n  let t2;\n  return $[4] !== as || $[5] !== ref || $[6] !== restProps || $[7] !== t1 ? (t2 = /* @__PURE__ */ jsx(Root$p, { \"data-ui\": \"Container\", ...restProps, $width: t1, forwardedAs: as, ref }), $[4] = as, $[5] = ref, $[6] = restProps, $[7] = t1, $[8] = t2) : t2 = $[8], t2;\n});\nContainer.displayName = \"ForwardRef(Container)\";\nconst Root$o = styled(Box)(responsiveGridStyle), Grid = forwardRef(function(props, ref) {\n  const $ = c(26);\n  let as, autoCols, autoFlow, autoRows, children, columns, gap, gapX, gapY, restProps, rows;\n  $[0] !== props ? ({\n    as,\n    autoRows,\n    autoCols,\n    autoFlow,\n    columns,\n    gap,\n    gapX,\n    gapY,\n    rows,\n    children,\n    ...restProps\n  } = props, $[0] = props, $[1] = as, $[2] = autoCols, $[3] = autoFlow, $[4] = autoRows, $[5] = children, $[6] = columns, $[7] = gap, $[8] = gapX, $[9] = gapY, $[10] = restProps, $[11] = rows) : (as = $[1], autoCols = $[2], autoFlow = $[3], autoRows = $[4], children = $[5], columns = $[6], gap = $[7], gapX = $[8], gapY = $[9], restProps = $[10], rows = $[11]);\n  const t0 = typeof as == \"string\" ? as : void 0, t1 = useArrayProp(autoRows), t2 = useArrayProp(autoCols), t3 = useArrayProp(autoFlow), t4 = useArrayProp(columns), t5 = useArrayProp(gap), t6 = useArrayProp(gapX), t7 = useArrayProp(gapY), t8 = useArrayProp(rows);\n  let t9;\n  return $[12] !== as || $[13] !== children || $[14] !== ref || $[15] !== restProps || $[16] !== t0 || $[17] !== t1 || $[18] !== t2 || $[19] !== t3 || $[20] !== t4 || $[21] !== t5 || $[22] !== t6 || $[23] !== t7 || $[24] !== t8 ? (t9 = /* @__PURE__ */ jsx(Root$o, { \"data-as\": t0, \"data-ui\": \"Grid\", ...restProps, $autoRows: t1, $autoCols: t2, $autoFlow: t3, $columns: t4, $gap: t5, $gapX: t6, $gapY: t7, $rows: t8, forwardedAs: as, ref, children }), $[12] = as, $[13] = children, $[14] = ref, $[15] = restProps, $[16] = t0, $[17] = t1, $[18] = t2, $[19] = t3, $[20] = t4, $[21] = t5, $[22] = t6, $[23] = t7, $[24] = t8, $[25] = t9) : t9 = $[25], t9;\n});\nGrid.displayName = \"ForwardRef(Grid)\";\nfunction headingBaseStyle(props) {\n  const {\n    $accent,\n    $muted\n  } = props, {\n    font\n  } = getTheme_v2(props.theme);\n  return css`\n    ${$accent && css`\n      color: var(--card-accent-fg-color);\n    `}\n\n    ${$muted && css`\n      color: var(--card-muted-fg-color);\n    `}\n\n    & code {\n      font-family: ${font.code.family};\n      border-radius: 1px;\n    }\n\n    & a {\n      text-decoration: none;\n      border-radius: 1px;\n      color: var(--card-link-color);\n      outline: none;\n\n      @media (hover: hover) {\n        &:hover {\n          text-decoration: underline;\n        }\n      }\n\n      &:focus {\n        box-shadow:\n          0 0 0 1px var(--card-bg-color),\n          0 0 0 3px var(--card-focus-ring-color);\n      }\n\n      &:focus:not(:focus-visible) {\n        box-shadow: none;\n      }\n    }\n\n    & strong {\n      font-weight: ${font.heading.weights.bold};\n    }\n\n    & svg {\n      /* Certain popular CSS libraries changes the defaults for SVG display */\n      /* Make sure SVGs are rendered as inline elements */\n      display: inline;\n    }\n\n    & [data-sanity-icon] {\n      vertical-align: baseline;\n    }\n  `;\n}\nconst Root$n = styled.div(headingBaseStyle, responsiveTextAlignStyle, responsiveHeadingFont), SpanWithTextOverflow = styled.span`\n  display: block;\n  white-space: nowrap;\n  text-overflow: ellipsis;\n  overflow: hidden;\n  overflow: clip;\n`, Heading = forwardRef(function(props, ref) {\n  const $ = c(22);\n  let align, childrenProp, restProps, t0, t1, t2, textOverflow, weight;\n  $[0] !== props ? ({\n    accent: t0,\n    align,\n    children: childrenProp,\n    muted: t1,\n    size: t2,\n    textOverflow,\n    weight,\n    ...restProps\n  } = props, $[0] = props, $[1] = align, $[2] = childrenProp, $[3] = restProps, $[4] = t0, $[5] = t1, $[6] = t2, $[7] = textOverflow, $[8] = weight) : (align = $[1], childrenProp = $[2], restProps = $[3], t0 = $[4], t1 = $[5], t2 = $[6], textOverflow = $[7], weight = $[8]);\n  const accent = t0 === void 0 ? !1 : t0, muted = t1 === void 0 ? !1 : t1, size2 = t2 === void 0 ? 2 : t2;\n  let children = childrenProp;\n  if (textOverflow === \"ellipsis\") {\n    let t32;\n    $[9] !== children ? (t32 = /* @__PURE__ */ jsx(SpanWithTextOverflow, { children }), $[9] = children, $[10] = t32) : t32 = $[10], children = t32;\n  }\n  const t3 = useArrayProp(align), t4 = useArrayProp(size2);\n  let t5;\n  $[11] !== children ? (t5 = /* @__PURE__ */ jsx(\"span\", { children }), $[11] = children, $[12] = t5) : t5 = $[12];\n  let t6;\n  return $[13] !== accent || $[14] !== muted || $[15] !== ref || $[16] !== restProps || $[17] !== t3 || $[18] !== t4 || $[19] !== t5 || $[20] !== weight ? (t6 = /* @__PURE__ */ jsx(Root$n, { \"data-ui\": \"Heading\", ...restProps, $accent: accent, $align: t3, $muted: muted, $size: t4, $weight: weight, ref, children: t5 }), $[13] = accent, $[14] = muted, $[15] = ref, $[16] = restProps, $[17] = t3, $[18] = t4, $[19] = t5, $[20] = weight, $[21] = t6) : t6 = $[21], t6;\n});\nHeading.displayName = \"ForwardRef(Heading)\";\nfunction inlineBaseStyle() {\n  return {\n    lineHeight: 0,\n    \"&&:not([hidden])\": {\n      display: \"block\"\n    },\n    \"& > div\": {\n      display: \"inline-block\",\n      verticalAlign: \"middle\"\n    }\n  };\n}\nfunction inlineSpaceStyle(props) {\n  const {\n    media,\n    space\n  } = getTheme_v2(props.theme);\n  return _responsive(media, props.$space, (spaceIndex) => {\n    const _space = rem(spaceIndex === 0.5 ? space[1] / 2 : space[spaceIndex]);\n    return {\n      margin: `-${_space} 0 0 -${_space}`,\n      \"& > div\": {\n        padding: `${_space} 0 0 ${_space}`\n      }\n    };\n  });\n}\nconst Root$m = styled(Box)(inlineBaseStyle, inlineSpaceStyle), Inline = forwardRef(function(props, ref) {\n  const $ = c(12);\n  let as, childrenProp, restProps, space;\n  $[0] !== props ? ({\n    as,\n    children: childrenProp,\n    space,\n    ...restProps\n  } = props, $[0] = props, $[1] = as, $[2] = childrenProp, $[3] = restProps, $[4] = space) : (as = $[1], childrenProp = $[2], restProps = $[3], space = $[4]);\n  let t0, t1;\n  $[5] !== childrenProp ? (t1 = Children.map(childrenProp, _temp$6), $[5] = childrenProp, $[6] = t1) : t1 = $[6], t0 = t1;\n  const children = t0, t2 = useArrayProp(space);\n  let t3;\n  return $[7] !== as || $[8] !== children || $[9] !== restProps || $[10] !== t2 ? (t3 = /* @__PURE__ */ jsx(Root$m, { \"data-ui\": \"Inline\", ...restProps, $space: t2, forwardedAs: as, ref, children }), $[7] = as, $[8] = children, $[9] = restProps, $[10] = t2, $[11] = t3) : t3 = $[11], t3;\n});\nInline.displayName = \"ForwardRef(Inline)\";\nfunction _temp$6(child) {\n  return child && /* @__PURE__ */ jsx(\"div\", { children: child });\n}\nfunction kbdStyle() {\n  return css`\n    --card-bg-color: var(--card-kbd-bg-color);\n    --card-border-color: var(--card-kbd-border-color);\n    --card-fg-color: var(--card-kbd-fg-color);\n\n    box-shadow: inset 0 0 0 1px var(--card-border-color);\n    background: var(--card-bg-color);\n    font: inherit;\n\n    vertical-align: top;\n\n    &:not([hidden]) {\n      display: inline-block;\n    }\n  `;\n}\nconst Root$l = styled.kbd(responsiveRadiusStyle, kbdStyle), KBD = forwardRef(function(props, ref) {\n  const $ = c(17);\n  let children, restProps, t0, t1, t2;\n  $[0] !== props ? ({\n    children,\n    fontSize: t0,\n    padding: t1,\n    radius: t2,\n    ...restProps\n  } = props, $[0] = props, $[1] = children, $[2] = restProps, $[3] = t0, $[4] = t1, $[5] = t2) : (children = $[1], restProps = $[2], t0 = $[3], t1 = $[4], t2 = $[5]);\n  const fontSize2 = t0 === void 0 ? 0 : t0, padding = t1 === void 0 ? 1 : t1, t3 = useArrayProp(t2 === void 0 ? 2 : t2);\n  let t4;\n  $[6] !== children || $[7] !== fontSize2 ? (t4 = /* @__PURE__ */ jsx(Text, { as: \"span\", size: fontSize2, weight: \"semibold\", children }), $[6] = children, $[7] = fontSize2, $[8] = t4) : t4 = $[8];\n  let t5;\n  $[9] !== padding || $[10] !== t4 ? (t5 = /* @__PURE__ */ jsx(Box, { as: \"span\", padding, children: t4 }), $[9] = padding, $[10] = t4, $[11] = t5) : t5 = $[11];\n  let t6;\n  return $[12] !== ref || $[13] !== restProps || $[14] !== t3 || $[15] !== t5 ? (t6 = /* @__PURE__ */ jsx(Root$l, { \"data-ui\": \"KBD\", ...restProps, $radius: t3, ref, children: t5 }), $[12] = ref, $[13] = restProps, $[14] = t3, $[15] = t5, $[16] = t6) : t6 = $[16], t6;\n});\nKBD.displayName = \"ForwardRef(KBD)\";\nconst origin = {\n  name: \"@sanity/ui/origin\",\n  fn({\n    middlewareData,\n    placement,\n    rects\n  }) {\n    const [side] = placement.split(\"-\"), floatingWidth = rects.floating.width, floatingHeight = rects.floating.height, shiftX = middlewareData.shift?.x || 0, shiftY = middlewareData.shift?.y || 0;\n    if (floatingWidth <= 0 || floatingHeight <= 0)\n      return {};\n    const isVerticalPlacement = [\"bottom\", \"top\"].includes(side), {\n      originX,\n      originY\n    } = isVerticalPlacement ? {\n      originX: clamp(0.5 - shiftX / floatingWidth, 0, 1),\n      originY: side === \"bottom\" ? 0 : 1\n    } : {\n      originX: side === \"left\" ? 1 : 0,\n      originY: clamp(0.5 - shiftY / floatingHeight, 0, 1)\n    };\n    return {\n      data: {\n        originX,\n        originY\n      }\n    };\n  }\n};\nfunction clamp(num, min, max) {\n  return Math.min(Math.max(num, min), max);\n}\nfunction moveTowardsLength(movingPoint, targetPoint, amount) {\n  const width = targetPoint.x - movingPoint.x, height = targetPoint.y - movingPoint.y, distance = Math.sqrt(width * width + height * height);\n  return moveTowardsFractional(movingPoint, targetPoint, Math.min(1, amount / distance));\n}\nfunction moveTowardsFractional(movingPoint, targetPoint, fraction) {\n  return {\n    x: movingPoint.x + (targetPoint.x - movingPoint.x) * fraction,\n    y: movingPoint.y + (targetPoint.y - movingPoint.y) * fraction\n  };\n}\nfunction getRoundedCommands(points) {\n  const len = points.length, cmds = [];\n  for (let i = 0; i < len; i += 1) {\n    const point = points[i], prevPoint = points[i - 1], nextPoint = points[i + 1];\n    if (prevPoint && point.radius) {\n      const curveStart = moveTowardsLength(point, prevPoint, point.radius), curveEnd = moveTowardsLength(point, nextPoint, point.radius), startControl = moveTowardsFractional(curveStart, point, 0.5), endControl = moveTowardsFractional(point, curveEnd, 0.5);\n      cmds.push({\n        type: \"point\",\n        ...curveStart\n      }), cmds.push({\n        type: \"curve\",\n        curveEnd,\n        startControl,\n        endControl\n      });\n    } else\n      cmds.push({\n        type: \"point\",\n        ...point\n      });\n  }\n  return cmds;\n}\nfunction compileCommands(cmds) {\n  return cmds.map((n, idx) => n.type === \"point\" ? `${idx === 0 ? \"M\" : \"L\"} ${n.x} ${n.y}` : n.type === \"curve\" ? `C ${n.startControl.x} ${n.startControl.y} ${n.endControl.x} ${n.endControl.y} ${n.curveEnd.x} ${n.curveEnd.y}` : \"\").join(\" \");\n}\nconst Root$k = styled.div(({\n  $w: w\n}) => css`\n    position: absolute;\n    width: ${w}px;\n    height: ${w}px;\n\n    :empty + & {\n      display: none;\n    }\n\n    & > svg {\n      display: block;\n      line-height: 0;\n      transform-origin: ${w / 2}px ${w / 2}px;\n    }\n\n    [data-placement^='top'] > & {\n      bottom: -${w}px;\n\n      & > svg {\n        transform: rotate(0);\n      }\n    }\n\n    [data-placement^='right'] > & {\n      left: -${w}px;\n\n      & > svg {\n        transform: rotate(90deg);\n      }\n    }\n\n    [data-placement^='left'] > & {\n      right: -${w}px;\n\n      & > svg {\n        transform: rotate(-90deg);\n      }\n    }\n\n    [data-placement^='bottom'] > & {\n      top: -${w}px;\n\n      & > svg {\n        transform: rotate(180deg);\n      }\n    }\n  `), StrokePath = styled.path`\n  stroke: var(--card-shadow-outline-color);\n`, ShapePath = styled.path`\n  fill: var(--card-bg-color);\n`, Arrow = forwardRef(function(props, ref) {\n  const $ = c(24);\n  let h, restProps, t0, w;\n  $[0] !== props ? ({\n    width: w,\n    height: h,\n    radius: t0,\n    ...restProps\n  } = props, $[0] = props, $[1] = h, $[2] = restProps, $[3] = t0, $[4] = w) : (h = $[1], restProps = $[2], t0 = $[3], w = $[4]);\n  const radius = t0 === void 0 ? 0 : t0, {\n    card\n  } = useTheme_v2(), strokeWidth = card.shadow.outline, center = w / 2, points = [{\n    x: 0,\n    y: 0\n  }, {\n    x: radius,\n    y: 0,\n    radius\n  }, {\n    x: center,\n    y: h - 1,\n    radius\n  }, {\n    x: w - radius,\n    y: 0,\n    radius\n  }, {\n    x: w,\n    y: 0\n  }], cmds = getRoundedCommands(points), path = compileCommands(cmds), strokePath = `${path}`, fillPath = `${path} M ${w} -1 M 0 -1 Z`, t1 = `0 0 ${w} ${w}`;\n  let t2;\n  $[5] !== strokeWidth || $[6] !== w ? (t2 = /* @__PURE__ */ jsx(\"mask\", { id: \"stroke-mask\", children: /* @__PURE__ */ jsx(\"rect\", { x: 0, y: strokeWidth, width: w, height: w, fill: \"white\" }) }), $[5] = strokeWidth, $[6] = w, $[7] = t2) : t2 = $[7];\n  const t3 = strokeWidth * 2;\n  let t4;\n  $[8] !== strokePath || $[9] !== t3 ? (t4 = /* @__PURE__ */ jsx(StrokePath, { d: strokePath, mask: \"url(#stroke-mask)\", strokeWidth: t3 }), $[8] = strokePath, $[9] = t3, $[10] = t4) : t4 = $[10];\n  let t5;\n  $[11] !== fillPath ? (t5 = /* @__PURE__ */ jsx(ShapePath, { d: fillPath }), $[11] = fillPath, $[12] = t5) : t5 = $[12];\n  let t6;\n  $[13] !== t1 || $[14] !== t2 || $[15] !== t4 || $[16] !== t5 || $[17] !== w ? (t6 = /* @__PURE__ */ jsxs(\"svg\", { width: w, height: w, viewBox: t1, children: [\n    t2,\n    t4,\n    t5\n  ] }), $[13] = t1, $[14] = t2, $[15] = t4, $[16] = t5, $[17] = w, $[18] = t6) : t6 = $[18];\n  let t7;\n  return $[19] !== ref || $[20] !== restProps || $[21] !== t6 || $[22] !== w ? (t7 = /* @__PURE__ */ jsx(Root$k, { ...restProps, $w: w, ref, children: t6 }), $[19] = ref, $[20] = restProps, $[21] = t6, $[22] = w, $[23] = t7) : t7 = $[23], t7;\n});\nArrow.displayName = \"ForwardRef(Arrow)\";\nconst BoundaryElementContext = createGlobalScopedContext(\"@sanity/ui/context/boundaryElement\", null);\nfunction BoundaryElementProvider(props) {\n  const $ = c(5), {\n    children,\n    element\n  } = props;\n  let t0, t1;\n  $[0] !== element ? (t1 = {\n    version: 0,\n    element\n  }, $[0] = element, $[1] = t1) : t1 = $[1], t0 = t1;\n  const value = t0;\n  let t2;\n  return $[2] !== children || $[3] !== value ? (t2 = /* @__PURE__ */ jsx(BoundaryElementContext.Provider, { value, children }), $[2] = children, $[3] = value, $[4] = t2) : t2 = $[4], t2;\n}\nBoundaryElementProvider.displayName = \"BoundaryElementProvider\";\nfunction isRecord(value) {\n  return !!(value && typeof value == \"object\" && !Array.isArray(value));\n}\nconst DEFAULT_VALUE = {\n  version: 0,\n  element: null\n};\nfunction useBoundaryElement() {\n  const value = useContext(BoundaryElementContext);\n  if (value && (!isRecord(value) || value.version !== 0))\n    throw new Error(\"useBoundaryElement(): the context value is not compatible\");\n  return value || DEFAULT_VALUE;\n}\nfunction ConditionalWrapper({\n  children,\n  condition,\n  wrapper\n}) {\n  return condition ? wrapper(children) : children;\n}\nConditionalWrapper.displayName = \"ConditionalWrapper\";\nfunction findMaxBreakpoints(media, width) {\n  const ret = [];\n  for (let i = 0; i < media.length; i += 1)\n    media[i] > width && ret.push(i);\n  return ret;\n}\nfunction findMinBreakpoints(media, width) {\n  const ret = [];\n  for (let i = 0; i < media.length; i += 1)\n    media[i] <= width && ret.push(i);\n  return ret;\n}\nconst ElementQuery = forwardRef(function(props, forwardedRef) {\n  const $ = c(18), theme = useTheme_v2();\n  let _media, children, restProps;\n  $[0] !== props ? ({\n    children,\n    media: _media,\n    ...restProps\n  } = props, $[0] = props, $[1] = _media, $[2] = children, $[3] = restProps) : (_media = $[1], children = $[2], restProps = $[3]);\n  const media = _media ?? theme.media, [element, setElement] = useState(null), elementSize = useElementSize(element);\n  let t0;\n  t0 = elementSize?.border.width ?? window.innerWidth;\n  const width = t0;\n  let t1, t2;\n  if ($[4] !== media || $[5] !== width) {\n    const eq = findMaxBreakpoints(media, width);\n    t2 = eq.length ? eq.join(\" \") : void 0, $[4] = media, $[5] = width, $[6] = t2;\n  } else\n    t2 = $[6];\n  t1 = t2;\n  const max = t1;\n  let t3, t4;\n  if ($[7] !== media || $[8] !== width) {\n    const eq_0 = findMinBreakpoints(media, width);\n    t4 = eq_0.length ? eq_0.join(\" \") : void 0, $[7] = media, $[8] = width, $[9] = t4;\n  } else\n    t4 = $[9];\n  t3 = t4;\n  const min = t3;\n  let t5, t6;\n  $[10] !== element ? (t5 = () => element, t6 = [element], $[10] = element, $[11] = t5, $[12] = t6) : (t5 = $[11], t6 = $[12]), useImperativeHandle(forwardedRef, t5, t6);\n  let t7;\n  return $[13] !== children || $[14] !== max || $[15] !== min || $[16] !== restProps ? (t7 = /* @__PURE__ */ jsx(\"div\", { \"data-ui\": \"ElementQuery\", ...restProps, \"data-eq-max\": max, \"data-eq-min\": min, ref: setElement, children }), $[13] = children, $[14] = max, $[15] = min, $[16] = restProps, $[17] = t7) : t7 = $[17], t7;\n});\nElementQuery.displayName = \"ForwardRef(ElementQuery)\";\nclass ErrorBoundary extends Component {\n  state = {\n    error: null\n  };\n  static getDerivedStateFromError(error) {\n    return {\n      error\n    };\n  }\n  componentDidCatch(error, info) {\n    this.props.onCatch({\n      error,\n      info\n    });\n  }\n  render() {\n    const {\n      error\n    } = this.state;\n    if (error) {\n      const message = typeof error?.message == \"string\" ? error.message : \"Error\";\n      return /* @__PURE__ */ jsx(Code, { children: message });\n    }\n    return this.props.children;\n  }\n}\nfunction getLayerContext(contextValue) {\n  if (!isRecord(contextValue) || contextValue.version !== 0)\n    throw new Error(\"the context value is not compatible\");\n  if (!contextValue)\n    throw new Error(\"components using `useLayer()` should be wrapped in a <LayerProvider>.\");\n  if (contextValue.version === 0)\n    return contextValue;\n  throw new Error(\"could not get layer context\");\n}\nconst LayerContext = createGlobalScopedContext(\"@sanity/ui/context/layer\", null);\nfunction useLayer() {\n  const $ = c(2), value = useContext(LayerContext);\n  if (!value)\n    throw new Error(\"useLayer(): missing context value\");\n  try {\n    let t1;\n    return $[0] !== value ? (t1 = getLayerContext(value), $[0] = value, $[1] = t1) : t1 = $[1], t1;\n  } catch (t0) {\n    const err = t0;\n    throw err instanceof Error ? new Error(`useLayer(): ${err.message}`) : new Error(`useLayer(): ${err}`);\n  }\n}\nfunction _raf(fn) {\n  const frameId = requestAnimationFrame(fn);\n  return () => {\n    cancelAnimationFrame(frameId);\n  };\n}\nfunction _raf2(fn) {\n  let innerDispose = null;\n  const outerDispose = _raf(() => {\n    innerDispose = _raf(fn);\n  });\n  return () => {\n    innerDispose && innerDispose(), outerDispose();\n  };\n}\nfunction _isEnterToClickElement(element) {\n  return isHTMLAnchorElement(element) || isHTMLButtonElement(element);\n}\nfunction isHTMLElement(node) {\n  return node instanceof Node && node.nodeType === Node.ELEMENT_NODE;\n}\nfunction isHTMLAnchorElement(element) {\n  return isHTMLElement(element) && element.nodeName === \"A\";\n}\nfunction isHTMLInputElement(element) {\n  return isHTMLElement(element) && element.nodeName === \"INPUT\";\n}\nfunction isHTMLButtonElement(element) {\n  return isHTMLElement(element) && element.nodeName === \"BUTTON\";\n}\nfunction isHTMLSelectElement(element) {\n  return isHTMLElement(element) && element.nodeName === \"SELECT\";\n}\nfunction isHTMLTextAreaElement(element) {\n  return isHTMLElement(element) && element.nodeName === \"TEXTAREA\";\n}\nfunction containsOrEqualsElement(element, node) {\n  return element.contains(node) || element === node;\n}\nfunction _hasFocus(element) {\n  return !!document.activeElement && element.contains(document.activeElement);\n}\nfunction isFocusable(element) {\n  return element.tabIndex > 0 || element.tabIndex === 0 && element.getAttribute(\"tabIndex\") !== null ? !0 : isHTMLAnchorElement(element) ? !!element.href && element.rel !== \"ignore\" : isHTMLInputElement(element) ? element.type !== \"hidden\" && element.type !== \"file\" && !element.disabled : isHTMLButtonElement(element) || isHTMLSelectElement(element) || isHTMLTextAreaElement(element) ? !element.disabled : !1;\n}\nfunction attemptFocus(element) {\n  if (!isFocusable(element))\n    return !1;\n  try {\n    element.focus();\n  } catch {\n  }\n  return document.activeElement === element;\n}\nfunction focusFirstDescendant(element) {\n  for (let i = 0; i < element.childNodes.length; i++) {\n    const child = element.childNodes[i];\n    if (isHTMLElement(child) && (attemptFocus(child) || focusFirstDescendant(child)))\n      return !0;\n  }\n  return !1;\n}\nfunction focusLastDescendant(element) {\n  for (let i = element.childNodes.length - 1; i >= 0; i--) {\n    const child = element.childNodes[i];\n    if (isHTMLElement(child) && (attemptFocus(child) || focusLastDescendant(child)))\n      return !0;\n  }\n  return !1;\n}\nfunction _isScrollable(el) {\n  if (!(el instanceof Element)) return !1;\n  const style = window.getComputedStyle(el);\n  return style.overflowX.includes(\"auto\") || style.overflowX.includes(\"scroll\") || style.overflowY.includes(\"auto\") || style.overflowY.includes(\"scroll\");\n}\nfunction LayerProvider(props) {\n  const $ = c(19), {\n    children,\n    zOffset: t0\n  } = props, zOffsetProp = t0 === void 0 ? 0 : t0, parentContextValue = useContext(LayerContext);\n  let t1;\n  $[0] !== parentContextValue ? (t1 = parentContextValue && getLayerContext(parentContextValue), $[0] = parentContextValue, $[1] = t1) : t1 = $[1];\n  const parent = t1, parentRegisterChild = parent?.registerChild, level = (parent?.level ?? 0) + 1, zOffset = useArrayProp(zOffsetProp), maxMediaIndex = zOffset.length - 1, mediaIndex = Math.min(useMediaIndex(), maxMediaIndex), zIndex = parent ? parent.zIndex + zOffset[mediaIndex] : zOffset[mediaIndex];\n  let t2;\n  $[2] === Symbol.for(\"react.memo_cache_sentinel\") ? (t2 = {}, $[2] = t2) : t2 = $[2];\n  const [, setChildLayers] = useState(t2), [size2, setSize] = useState(0), isTopLayer = size2 === 0;\n  let t3;\n  $[3] !== parentRegisterChild || $[4] !== setChildLayers ? (t3 = (childLevel) => {\n    const parentDispose = parentRegisterChild?.(childLevel);\n    return childLevel !== void 0 ? setChildLayers((state) => {\n      const prevLen = state[childLevel] ?? 0, nextState = {\n        ...state,\n        [childLevel]: prevLen + 1\n      };\n      return setSize(Object.keys(nextState).length), nextState;\n    }) : setSize(_temp$5), () => {\n      childLevel !== void 0 ? setChildLayers((state_0) => {\n        const nextState_0 = {\n          ...state_0\n        };\n        return nextState_0[childLevel] === 1 ? (delete nextState_0[childLevel], setSize(Object.keys(nextState_0).length)) : nextState_0[childLevel] = nextState_0[childLevel] - 1, nextState_0;\n      }) : setSize(_temp2$3), parentDispose?.();\n    };\n  }, $[3] = parentRegisterChild, $[4] = setChildLayers, $[5] = t3) : t3 = $[5];\n  const registerChild = t3;\n  let t4, t5;\n  $[6] !== level || $[7] !== parentRegisterChild ? (t4 = () => parentRegisterChild?.(level), t5 = [level, parentRegisterChild], $[6] = level, $[7] = parentRegisterChild, $[8] = t4, $[9] = t5) : (t4 = $[8], t5 = $[9]), useEffect(t4, t5);\n  let t6, t7;\n  $[10] !== isTopLayer || $[11] !== level || $[12] !== registerChild || $[13] !== size2 || $[14] !== zIndex ? (t7 = {\n    version: 0,\n    isTopLayer,\n    level,\n    registerChild,\n    size: size2,\n    zIndex\n  }, $[10] = isTopLayer, $[11] = level, $[12] = registerChild, $[13] = size2, $[14] = zIndex, $[15] = t7) : t7 = $[15], t6 = t7;\n  const value = t6;\n  let t8;\n  return $[16] !== children || $[17] !== value ? (t8 = /* @__PURE__ */ jsx(LayerContext.Provider, { value, children }), $[16] = children, $[17] = value, $[18] = t8) : t8 = $[18], t8;\n}\nfunction _temp2$3(v_0) {\n  return v_0 - 1;\n}\nfunction _temp$5(v) {\n  return v + 1;\n}\nLayerProvider.displayName = \"LayerProvider\";\nconst Root$j = styled.div({\n  position: \"relative\"\n}), LayerChildren = forwardRef(function(props, forwardedRef) {\n  const $ = c(22);\n  let children, onActivate, onFocus, restProps, t0;\n  $[0] !== props ? ({\n    children,\n    onActivate,\n    onFocus,\n    style: t0,\n    ...restProps\n  } = props, $[0] = props, $[1] = children, $[2] = onActivate, $[3] = onFocus, $[4] = restProps, $[5] = t0) : (children = $[1], onActivate = $[2], onFocus = $[3], restProps = $[4], t0 = $[5]);\n  const style = t0 === void 0 ? EMPTY_RECORD : t0, {\n    zIndex,\n    isTopLayer\n  } = useLayer(), lastFocusedRef = useRef(null), ref = useRef(null), isTopLayerRef = useRef(isTopLayer);\n  let t1;\n  $[6] === Symbol.for(\"react.memo_cache_sentinel\") ? (t1 = () => ref.current, $[6] = t1) : t1 = $[6], useImperativeHandle(forwardedRef, t1);\n  let t2, t3;\n  $[7] !== isTopLayer || $[8] !== onActivate ? (t2 = () => {\n    isTopLayerRef.current !== isTopLayer && isTopLayer && onActivate?.({\n      activeElement: lastFocusedRef.current\n    }), isTopLayerRef.current = isTopLayer;\n  }, t3 = [isTopLayer, onActivate], $[7] = isTopLayer, $[8] = onActivate, $[9] = t2, $[10] = t3) : (t2 = $[9], t3 = $[10]), useEffect(t2, t3);\n  let t4;\n  $[11] !== isTopLayer || $[12] !== onFocus ? (t4 = (event) => {\n    onFocus?.(event);\n    const rootElement = ref.current, target = document.activeElement;\n    !isTopLayer || !rootElement || !target || isHTMLElement(target) && containsOrEqualsElement(rootElement, target) && (lastFocusedRef.current = target);\n  }, $[11] = isTopLayer, $[12] = onFocus, $[13] = t4) : t4 = $[13];\n  const handleFocus = t4;\n  let t5;\n  $[14] !== style || $[15] !== zIndex ? (t5 = {\n    ...style,\n    zIndex\n  }, $[14] = style, $[15] = zIndex, $[16] = t5) : t5 = $[16];\n  let t6;\n  return $[17] !== children || $[18] !== handleFocus || $[19] !== restProps || $[20] !== t5 ? (t6 = /* @__PURE__ */ jsx(Root$j, { ...restProps, \"data-ui\": \"Layer\", onFocus: handleFocus, ref, style: t5, children }), $[17] = children, $[18] = handleFocus, $[19] = restProps, $[20] = t5, $[21] = t6) : t6 = $[21], t6;\n}), Layer = forwardRef(function(props, ref) {\n  const $ = c(11);\n  let children, restProps, t0;\n  $[0] !== props ? ({\n    children,\n    zOffset: t0,\n    ...restProps\n  } = props, $[0] = props, $[1] = children, $[2] = restProps, $[3] = t0) : (children = $[1], restProps = $[2], t0 = $[3]);\n  const zOffset = t0 === void 0 ? 1 : t0;\n  let t1;\n  $[4] !== children || $[5] !== ref || $[6] !== restProps ? (t1 = /* @__PURE__ */ jsx(LayerChildren, { ...restProps, ref, children }), $[4] = children, $[5] = ref, $[6] = restProps, $[7] = t1) : t1 = $[7];\n  let t2;\n  return $[8] !== t1 || $[9] !== zOffset ? (t2 = /* @__PURE__ */ jsx(LayerProvider, { zOffset, children: t1 }), $[8] = t1, $[9] = zOffset, $[10] = t2) : t2 = $[10], t2;\n});\nLayer.displayName = \"ForwardRef(Layer)\";\nconst key = \"@sanity/ui/context/portal\", elementKey = Symbol.for(`${key}/element`);\nglobalScope[elementKey] = null;\nconst defaultContextValue = {\n  version: 0,\n  boundaryElement: null,\n  get element() {\n    return typeof document > \"u\" ? null : (globalScope[elementKey] || (globalScope[elementKey] = document.createElement(\"div\"), globalScope[elementKey].setAttribute(\"data-portal\", \"\"), document.body.appendChild(globalScope[elementKey])), globalScope[elementKey]);\n  }\n}, PortalContext = createGlobalScopedContext(key, defaultContextValue);\nfunction usePortal() {\n  const value = useContext(PortalContext);\n  if (!value)\n    throw new Error(\"usePortal(): missing context value\");\n  if (!isRecord(value) || value.version !== 0)\n    throw new Error(\"usePortal(): the context value is not compatible\");\n  return value;\n}\nfunction Portal(props) {\n  const $ = c(3), {\n    children,\n    __unstable_name: name\n  } = props, portal = usePortal(), portalElement = (name ? portal.elements && portal.elements[name] : portal.element) || portal.elements?.default;\n  if (!portalElement)\n    return null;\n  let t0;\n  return $[0] !== children || $[1] !== portalElement ? (t0 = createPortal(children, portalElement), $[0] = children, $[1] = portalElement, $[2] = t0) : t0 = $[2], t0;\n}\nPortal.displayName = \"Portal\";\nfunction PortalProvider(props) {\n  const $ = c(7), {\n    boundaryElement,\n    children,\n    element,\n    __unstable_elements: elementsProp\n  } = props, elements = useUnique(elementsProp), fallbackElement = useSyncExternalStore(emptySubscribe, _temp$4, _temp2$2);\n  let t0;\n  const t1 = boundaryElement || null, t2 = element || fallbackElement;\n  let t3;\n  $[0] !== elements || $[1] !== t1 || $[2] !== t2 ? (t3 = {\n    version: 0,\n    boundaryElement: t1,\n    element: t2,\n    elements\n  }, $[0] = elements, $[1] = t1, $[2] = t2, $[3] = t3) : t3 = $[3], t0 = t3;\n  const value = t0;\n  let t4;\n  return $[4] !== children || $[5] !== value ? (t4 = /* @__PURE__ */ jsx(PortalContext.Provider, { value, children }), $[4] = children, $[5] = value, $[6] = t4) : t4 = $[6], t4;\n}\nfunction _temp2$2() {\n  return null;\n}\nfunction _temp$4() {\n  return document.body;\n}\nPortalProvider.displayName = \"PortalProvider\";\nconst emptySubscribe = () => () => {\n};\nfunction useUnique(value) {\n  const valueRef = useRef(value);\n  return _isEqual(valueRef.current, value) || (valueRef.current = value), valueRef.current;\n}\nfunction _isEqual(objA, objB) {\n  if (!objA || !objB)\n    return objA === objB;\n  const keysA = Object.keys(objA), keysB = Object.keys(objB);\n  return keysA.length !== keysB.length ? !1 : keysA.every((key2) => objA[key2] === objB[key2]);\n}\nconst Root$i = styled.div`\n  display: block;\n  width: 0;\n  height: 0;\n  position: absolute;\n  overflow: hidden;\n  overflow: clip;\n`, SrOnly = forwardRef(function(props, ref) {\n  const $ = c(4), {\n    as,\n    children\n  } = props;\n  let t0;\n  return $[0] !== as || $[1] !== children || $[2] !== ref ? (t0 = /* @__PURE__ */ jsx(Root$i, { \"aria-hidden\": !0, as, \"data-ui\": \"SrOnly\", ref, children }), $[0] = as, $[1] = children, $[2] = ref, $[3] = t0) : t0 = $[3], t0;\n});\nSrOnly.displayName = \"ForwardRef(SrOnly)\";\nconst Root$h = styled.div`\n  position: relative;\n`, ItemWrapper = styled.div`\n  position: absolute;\n  left: 0;\n  right: 0;\n`, VirtualList = forwardRef(function(props, forwardedRef) {\n  const $ = c(56);\n  let getItemKey, onChange, renderItem, restProps, t0, t1, t2;\n  $[0] !== props ? ({\n    as: t0,\n    gap: t1,\n    getItemKey,\n    items: t2,\n    onChange,\n    renderItem,\n    ...restProps\n  } = props, $[0] = props, $[1] = getItemKey, $[2] = onChange, $[3] = renderItem, $[4] = restProps, $[5] = t0, $[6] = t1, $[7] = t2) : (getItemKey = $[1], onChange = $[2], renderItem = $[3], restProps = $[4], t0 = $[5], t1 = $[6], t2 = $[7]);\n  const as = t0 === void 0 ? \"div\" : t0, gap = t1 === void 0 ? 0 : t1;\n  let t3;\n  $[8] !== t2 ? (t3 = t2 === void 0 ? [] : t2, $[8] = t2, $[9] = t3) : t3 = $[9];\n  const items = t3, {\n    space\n  } = useTheme_v2(), ref = useRef(null), wrapperRef = useRef(null), [scrollTop, setScrollTop] = useState(0), [scrollHeight, setScrollHeight] = useState(0), [itemHeight, setItemHeight] = useState(-1);\n  let t4;\n  $[10] === Symbol.for(\"react.memo_cache_sentinel\") ? (t4 = () => ref.current, $[10] = t4) : t4 = $[10], useImperativeHandle(forwardedRef, t4);\n  let t5;\n  $[11] === Symbol.for(\"react.memo_cache_sentinel\") ? (t5 = () => {\n    if (!wrapperRef.current)\n      return;\n    const firstElement = wrapperRef.current.firstChild;\n    firstElement instanceof HTMLElement && setItemHeight(firstElement.offsetHeight);\n  }, $[11] = t5) : t5 = $[11];\n  let t6;\n  $[12] !== renderItem ? (t6 = [renderItem], $[12] = renderItem, $[13] = t6) : t6 = $[13], useEffect(t5, t6);\n  let t7, t8;\n  $[14] === Symbol.for(\"react.memo_cache_sentinel\") ? (t7 = () => {\n    if (!ref.current)\n      return;\n    let _scrollEl = ref.current.parentNode;\n    for (; _scrollEl && !_isScrollable(_scrollEl); )\n      _scrollEl = _scrollEl.parentNode;\n    if (_scrollEl) {\n      const scrollEl = _scrollEl;\n      if (!(scrollEl instanceof HTMLElement))\n        return;\n      const handleScroll = () => {\n        setScrollTop(scrollEl.scrollTop);\n      };\n      scrollEl.addEventListener(\"scroll\", handleScroll, {\n        passive: !0\n      });\n      const ro = new _ResizeObserver((entries) => {\n        setScrollHeight(entries[0].contentRect.height);\n      });\n      return ro.observe(scrollEl), handleScroll(), () => {\n        scrollEl.removeEventListener(\"scroll\", handleScroll), ro.unobserve(scrollEl), ro.disconnect();\n      };\n    }\n    const handleScroll_0 = () => {\n      setScrollTop(window.scrollY);\n    }, handleResize = () => {\n      setScrollHeight(window.innerHeight);\n    };\n    return window.addEventListener(\"scroll\", handleScroll_0, {\n      passive: !0\n    }), window.addEventListener(\"resize\", handleResize), setScrollHeight(window.innerHeight), handleScroll_0(), () => {\n      window.removeEventListener(\"scroll\", handleScroll_0), window.removeEventListener(\"resize\", handleResize);\n    };\n  }, t8 = [], $[14] = t7, $[15] = t8) : (t7 = $[14], t8 = $[15]), useEffect(t7, t8);\n  const len = items.length, height = itemHeight ? len * (itemHeight + space[gap]) - space[gap] : 0, fromIndex = height ? Math.max(Math.floor(scrollTop / height * len) - 2, 0) : 0, toIndex = height ? Math.ceil((scrollTop + scrollHeight) / height * len) + 1 : 0;\n  let t10, t9;\n  $[16] !== fromIndex || $[17] !== gap || $[18] !== itemHeight || $[19] !== onChange || $[20] !== scrollHeight || $[21] !== scrollTop || $[22] !== space || $[23] !== toIndex ? (t9 = () => {\n    onChange && onChange({\n      fromIndex,\n      gap: space[gap],\n      itemHeight,\n      scrollHeight,\n      scrollTop,\n      toIndex\n    });\n  }, t10 = [fromIndex, gap, itemHeight, onChange, scrollHeight, scrollTop, space, toIndex], $[16] = fromIndex, $[17] = gap, $[18] = itemHeight, $[19] = onChange, $[20] = scrollHeight, $[21] = scrollTop, $[22] = space, $[23] = toIndex, $[24] = t10, $[25] = t9) : (t10 = $[24], t9 = $[25]), useEffect(t9, t10);\n  let t11;\n  bb0: {\n    if (!renderItem || items.length === 0) {\n      t11 = null;\n      break bb0;\n    }\n    if (itemHeight === -1) {\n      const t123 = items[0];\n      let t132;\n      $[26] !== renderItem || $[27] !== t123 ? (t132 = renderItem(t123), $[26] = renderItem, $[27] = t123, $[28] = t132) : t132 = $[28];\n      let t142;\n      $[29] !== t132 ? (t142 = [/* @__PURE__ */ jsx(ItemWrapper, { children: t132 }, 0)], $[29] = t132, $[30] = t142) : t142 = $[30], t11 = t142;\n      break bb0;\n    }\n    let t122;\n    if ($[31] !== fromIndex || $[32] !== gap || $[33] !== getItemKey || $[34] !== itemHeight || $[35] !== items || $[36] !== renderItem || $[37] !== space || $[38] !== toIndex) {\n      let t132;\n      $[40] !== fromIndex || $[41] !== gap || $[42] !== getItemKey || $[43] !== itemHeight || $[44] !== renderItem || $[45] !== space ? (t132 = (item, _itemIndex) => {\n        const itemIndex = fromIndex + _itemIndex, node = renderItem(item), key2 = getItemKey ? getItemKey(item, itemIndex) : itemIndex;\n        return /* @__PURE__ */ jsx(ItemWrapper, { style: {\n          top: itemIndex * (itemHeight + space[gap])\n        }, children: node }, key2);\n      }, $[40] = fromIndex, $[41] = gap, $[42] = getItemKey, $[43] = itemHeight, $[44] = renderItem, $[45] = space, $[46] = t132) : t132 = $[46], t122 = items.slice(fromIndex, toIndex).map(t132), $[31] = fromIndex, $[32] = gap, $[33] = getItemKey, $[34] = itemHeight, $[35] = items, $[36] = renderItem, $[37] = space, $[38] = toIndex, $[39] = t122;\n    } else\n      t122 = $[39];\n    t11 = t122;\n  }\n  const children = t11;\n  let t12, t13;\n  $[47] !== height ? (t13 = {\n    height\n  }, $[47] = height, $[48] = t13) : t13 = $[48], t12 = t13;\n  const wrapperStyle = t12;\n  let t14;\n  $[49] !== children || $[50] !== wrapperStyle ? (t14 = /* @__PURE__ */ jsx(\"div\", { ref: wrapperRef, style: wrapperStyle, children }), $[49] = children, $[50] = wrapperStyle, $[51] = t14) : t14 = $[51];\n  let t15;\n  return $[52] !== as || $[53] !== restProps || $[54] !== t14 ? (t15 = /* @__PURE__ */ jsx(Root$h, { as, \"data-ui\": \"VirtualList\", ...restProps, ref, children: t14 }), $[52] = as, $[53] = restProps, $[54] = t14, $[55] = t15) : t15 = $[55], t15;\n});\nVirtualList.displayName = \"ForwardRef(VirtualList)\";\nconst DEFAULT_POPOVER_DISTANCE = 4, DEFAULT_POPOVER_PADDING = 4, DEFAULT_POPOVER_ARROW_WIDTH = 19, DEFAULT_POPOVER_ARROW_HEIGHT = 8, DEFAULT_POPOVER_ARROW_RADIUS = 2, DEFAULT_POPOVER_MARGINS = [0, 0, 0, 0], DEFAULT_FALLBACK_PLACEMENTS$1 = {\n  top: [\"bottom\", \"left\", \"right\"],\n  \"top-start\": [\"bottom-start\", \"left-start\", \"right-start\"],\n  \"top-end\": [\"bottom-end\", \"left-end\", \"right-end\"],\n  bottom: [\"top\", \"left\", \"right\"],\n  \"bottom-start\": [\"top-start\", \"left-start\", \"right-start\"],\n  \"bottom-end\": [\"top-end\", \"left-end\", \"right-end\"],\n  left: [\"right\", \"top\", \"bottom\"],\n  \"left-start\": [\"right-start\", \"top-start\", \"bottom-start\"],\n  \"left-end\": [\"right-end\", \"top-end\", \"bottom-end\"],\n  right: [\"left\", \"top\", \"bottom\"],\n  \"right-start\": [\"left-start\", \"top-start\", \"bottom-start\"],\n  \"right-end\": [\"left-end\", \"top-end\", \"bottom-end\"]\n};\nfunction size(options) {\n  const {\n    apply,\n    margins,\n    padding = 0\n  } = options;\n  return {\n    name: \"@sanity/ui/size\",\n    async fn(args) {\n      const {\n        elements,\n        placement,\n        platform,\n        rects\n      } = args, {\n        floating,\n        reference\n      } = rects, overflow = await detectOverflow(args, {\n        altBoundary: !0,\n        boundary: options.boundaryElement || void 0,\n        elementContext: \"floating\",\n        padding,\n        rootBoundary: \"viewport\"\n      });\n      let maxWidth = 1 / 0, maxHeight = 1 / 0;\n      const floatingW = floating.width, floatingH = floating.height;\n      placement.includes(\"top\") && (maxWidth = floatingW - (overflow.left + overflow.right), maxHeight = floatingH - overflow.top), placement.includes(\"right\") && (maxWidth = floatingW - overflow.right, maxHeight = floatingH - (overflow.top + overflow.bottom)), placement.includes(\"bottom\") && (maxWidth = floatingW - (overflow.left + overflow.right), maxHeight = floatingH - overflow.bottom), placement.includes(\"left\") && (maxWidth = floatingW - overflow.left, maxHeight = floatingH - (overflow.top + overflow.bottom)), apply({\n        availableWidth: maxWidth - margins[1] - margins[3],\n        availableHeight: maxHeight - margins[0] - margins[2],\n        elements,\n        referenceWidth: reference.width - margins[1] - margins[3]\n      });\n      const nextDimensions = await platform.getDimensions(elements.floating), targetH = nextDimensions.height, targetW = nextDimensions.width;\n      return floatingW !== targetW || floatingH !== targetH ? {\n        reset: {\n          rects: !0\n        }\n      } : {};\n    }\n  };\n}\nfunction calcCurrentWidth(params) {\n  const {\n    container,\n    mediaIndex,\n    width\n  } = params, w = width[mediaIndex], currentWidth = w === void 0 ? width[width.length - 1] : w;\n  return typeof currentWidth == \"number\" ? container[currentWidth] : void 0;\n}\nfunction calcMaxWidth(params) {\n  const {\n    boundaryWidth,\n    currentWidth\n  } = params;\n  if (!(currentWidth === void 0 && boundaryWidth === void 0))\n    return Math.min(currentWidth ?? 1 / 0, (boundaryWidth || 1 / 0) - DEFAULT_POPOVER_PADDING * 2);\n}\nconst MotionCard$1 = styled(motion.create(Card))`\n  &:not([hidden]) {\n    display: flex;\n  }\n  flex-direction: column;\n  width: max-content;\n  min-width: min-content;\n  & > * {\n    opacity: var(${POPOVER_MOTION_CONTENT_OPACITY_PROPERTY}, 1);\n    will-change: opacity;\n  }\n`, PopoverCard = memo(forwardRef(function(props, ref) {\n  const $ = c(60);\n  let animate, arrow2, arrowRef, arrowX, arrowY, children, marginsProp, originX, originY, overflow, padding, placement, radius, restProps, scheme, shadow, strategy, style, tone, width, xProp, yProp;\n  $[0] !== props ? ({\n    __unstable_margins: marginsProp,\n    animate,\n    arrow: arrow2,\n    arrowRef,\n    arrowX,\n    arrowY,\n    children,\n    padding,\n    placement,\n    originX,\n    originY,\n    overflow,\n    radius,\n    scheme,\n    shadow,\n    strategy,\n    style,\n    tone,\n    width,\n    x: xProp,\n    y: yProp,\n    ...restProps\n  } = props, $[0] = props, $[1] = animate, $[2] = arrow2, $[3] = arrowRef, $[4] = arrowX, $[5] = arrowY, $[6] = children, $[7] = marginsProp, $[8] = originX, $[9] = originY, $[10] = overflow, $[11] = padding, $[12] = placement, $[13] = radius, $[14] = restProps, $[15] = scheme, $[16] = shadow, $[17] = strategy, $[18] = style, $[19] = tone, $[20] = width, $[21] = xProp, $[22] = yProp) : (animate = $[1], arrow2 = $[2], arrowRef = $[3], arrowX = $[4], arrowY = $[5], children = $[6], marginsProp = $[7], originX = $[8], originY = $[9], overflow = $[10], padding = $[11], placement = $[12], radius = $[13], restProps = $[14], scheme = $[15], shadow = $[16], strategy = $[17], style = $[18], tone = $[19], width = $[20], xProp = $[21], yProp = $[22]);\n  const {\n    zIndex\n  } = useLayer();\n  let t0;\n  t0 = marginsProp || DEFAULT_POPOVER_MARGINS;\n  const margins = t0, x = (xProp ?? 0) + margins[3], y = (yProp ?? 0) + margins[0];\n  let t1;\n  const t2 = animate ? \"transform\" : void 0;\n  let t3;\n  $[23] !== originX || $[24] !== originY || $[25] !== strategy || $[26] !== style || $[27] !== t2 || $[28] !== width || $[29] !== x || $[30] !== y || $[31] !== zIndex ? (t3 = {\n    left: x,\n    originX,\n    originY,\n    position: strategy,\n    top: y,\n    width,\n    zIndex,\n    willChange: t2,\n    ...style\n  }, $[23] = originX, $[24] = originY, $[25] = strategy, $[26] = style, $[27] = t2, $[28] = width, $[29] = x, $[30] = y, $[31] = zIndex, $[32] = t3) : t3 = $[32], t1 = t3;\n  const rootStyle2 = t1;\n  let t4;\n  const t5 = arrowX !== null ? arrowX : void 0, t6 = arrowY !== null ? arrowY : void 0;\n  let t7;\n  $[33] !== t5 || $[34] !== t6 ? (t7 = {\n    left: t5,\n    top: t6,\n    right: void 0,\n    bottom: void 0\n  }, $[33] = t5, $[34] = t6, $[35] = t7) : t7 = $[35], t4 = t7;\n  const arrowStyle = t4, t8 = restProps;\n  let t9;\n  $[36] !== animate ? (t9 = animate ? POPOVER_MOTION_PROPS : {}, $[36] = animate, $[37] = t9) : t9 = $[37];\n  let t10;\n  $[38] !== children || $[39] !== padding ? (t10 = /* @__PURE__ */ jsx(Flex, { direction: \"column\", flex: 1, padding, children }), $[38] = children, $[39] = padding, $[40] = t10) : t10 = $[40];\n  let t11;\n  $[41] !== overflow || $[42] !== t10 ? (t11 = /* @__PURE__ */ jsx(Flex, { \"data-ui\": \"Popover__wrapper\", direction: \"column\", flex: 1, overflow, children: t10 }), $[41] = overflow, $[42] = t10, $[43] = t11) : t11 = $[43];\n  let t12;\n  $[44] !== arrow2 || $[45] !== arrowRef || $[46] !== arrowStyle ? (t12 = arrow2 && /* @__PURE__ */ jsx(Arrow, { ref: arrowRef, style: arrowStyle, width: DEFAULT_POPOVER_ARROW_WIDTH, height: DEFAULT_POPOVER_ARROW_HEIGHT, radius: DEFAULT_POPOVER_ARROW_RADIUS }), $[44] = arrow2, $[45] = arrowRef, $[46] = arrowStyle, $[47] = t12) : t12 = $[47];\n  let t13;\n  return $[48] !== placement || $[49] !== radius || $[50] !== ref || $[51] !== rootStyle2 || $[52] !== scheme || $[53] !== shadow || $[54] !== t11 || $[55] !== t12 || $[56] !== t8 || $[57] !== t9 || $[58] !== tone ? (t13 = /* @__PURE__ */ jsxs(MotionCard$1, { \"data-ui\": \"Popover\", ...t8, \"data-placement\": placement, radius, ref, scheme, shadow, sizing: \"border\", style: rootStyle2, tone, ...t9, children: [\n    t11,\n    t12\n  ] }), $[48] = placement, $[49] = radius, $[50] = ref, $[51] = rootStyle2, $[52] = scheme, $[53] = shadow, $[54] = t11, $[55] = t12, $[56] = t8, $[57] = t9, $[58] = tone, $[59] = t13) : t13 = $[59], t13;\n}));\nPopoverCard.displayName = \"Memo(ForwardRef(PopoverCard))\";\nconst Popover = memo(forwardRef(function(props, forwardedRef) {\n  const {\n    container,\n    layer\n  } = useTheme_v2(), boundaryElementContext = useBoundaryElement(), {\n    __unstable_margins: margins = DEFAULT_POPOVER_MARGINS,\n    animate: _animate = !1,\n    arrow: arrowProp = !1,\n    boundaryElement = boundaryElementContext.element,\n    children: childProp,\n    constrainSize = !1,\n    content,\n    disabled,\n    fallbackPlacements = props.fallbackPlacements ?? DEFAULT_FALLBACK_PLACEMENTS$1[props.placement ?? \"bottom\"],\n    matchReferenceWidth,\n    floatingBoundary = props.boundaryElement ?? boundaryElementContext.element,\n    // eslint-disable-next-line @typescript-eslint/no-unused-vars\n    onActivate,\n    open,\n    overflow = \"hidden\",\n    padding: paddingProp,\n    placement: placementProp = \"bottom\",\n    portal,\n    preventOverflow = !0,\n    radius: radiusProp = 3,\n    referenceBoundary = props.boundaryElement ?? boundaryElementContext.element,\n    referenceElement,\n    scheme,\n    shadow: shadowProp = 3,\n    tone = \"inherit\",\n    width: widthProp = \"auto\",\n    zOffset: zOffsetProp = layer.popover.zOffset,\n    updateRef,\n    ...restProps\n  } = props, animate = usePrefersReducedMotion() ? !1 : _animate, boundarySize = useElementSize(boundaryElement)?.border, padding = useArrayProp(paddingProp), radius = useArrayProp(radiusProp), shadow = useArrayProp(shadowProp), widthArrayProp = useArrayProp(widthProp), zOffset = useArrayProp(zOffsetProp), ref = useRef(null), arrowRef = useRef(null), rootBoundary = \"viewport\";\n  useImperativeHandle(forwardedRef, () => ref.current);\n  const mediaIndex = useMediaIndex(), boundaryWidth = constrainSize || preventOverflow ? boundarySize?.width : void 0, width = calcCurrentWidth({\n    container,\n    mediaIndex,\n    width: widthArrayProp\n  }), widthRef = useRef(width);\n  useEffect(() => {\n    widthRef.current = width;\n  }, [width]);\n  const maxWidth = calcMaxWidth({\n    boundaryWidth,\n    currentWidth: width\n  }), maxWidthRef = useRef(maxWidth);\n  useEffect(() => {\n    maxWidthRef.current = maxWidth;\n  }, [maxWidth]);\n  const referenceWidthRef = useRef(void 0);\n  useEffect(() => {\n    const floatingElement = ref.current;\n    if (!open || !floatingElement) return;\n    const referenceWidth = referenceWidthRef.current;\n    matchReferenceWidth ? referenceWidth !== void 0 && (floatingElement.style.width = `${referenceWidth}px`) : width !== void 0 && (floatingElement.style.width = `${width}px`), typeof maxWidth == \"number\" && (floatingElement.style.maxWidth = `${maxWidth}px`);\n  }, [width, matchReferenceWidth, maxWidth, open]);\n  const middleware = useMemo(() => {\n    const ret = [];\n    return (constrainSize || preventOverflow) && ret.push(flip({\n      boundary: floatingBoundary || void 0,\n      fallbackPlacements,\n      padding: DEFAULT_POPOVER_PADDING,\n      rootBoundary\n    })), ret.push(offset({\n      mainAxis: DEFAULT_POPOVER_DISTANCE\n    })), (constrainSize || matchReferenceWidth) && ret.push(size({\n      apply({\n        availableWidth,\n        availableHeight,\n        elements,\n        referenceWidth: referenceWidth_0\n      }) {\n        referenceWidthRef.current = referenceWidth_0;\n        const _currentWidth = widthRef.current, _maxWidth = maxWidthRef.current;\n        matchReferenceWidth ? elements.floating.style.width = `${referenceWidth_0}px` : _currentWidth !== void 0 && (elements.floating.style.width = `${_currentWidth}px`), constrainSize && (elements.floating.style.maxWidth = `${Math.min(availableWidth, _maxWidth ?? 1 / 0)}px`, elements.floating.style.maxHeight = `${availableHeight}px`);\n      },\n      boundaryElement: floatingBoundary || void 0,\n      constrainSize,\n      margins,\n      matchReferenceWidth,\n      padding: DEFAULT_POPOVER_PADDING\n    })), preventOverflow && ret.push(shift({\n      boundary: floatingBoundary || void 0,\n      rootBoundary,\n      padding: DEFAULT_POPOVER_PADDING\n    })), arrowProp && ret.push(arrow({\n      element: arrowRef,\n      padding: DEFAULT_POPOVER_PADDING\n    })), animate && ret.push(origin), ret.push(hide({\n      boundary: referenceBoundary || void 0,\n      padding: DEFAULT_POPOVER_PADDING,\n      strategy: \"referenceHidden\"\n    })), ret;\n  }, [animate, arrowProp, constrainSize, fallbackPlacements, floatingBoundary, margins, matchReferenceWidth, preventOverflow, referenceBoundary]), {\n    x,\n    y,\n    middlewareData,\n    placement,\n    refs,\n    strategy,\n    update\n  } = useFloating({\n    middleware,\n    placement: placementProp,\n    whileElementsMounted: autoUpdate,\n    elements: referenceElement ? {\n      reference: referenceElement\n    } : void 0\n  }), referenceHidden = middlewareData.hide?.referenceHidden, arrowX = middlewareData.arrow?.x, arrowY = middlewareData.arrow?.y, originX = middlewareData[\"@sanity/ui/origin\"]?.originX, originY = middlewareData[\"@sanity/ui/origin\"]?.originY, setArrow = useCallback((arrowEl) => {\n    arrowRef.current = arrowEl;\n  }, []), setFloating = useCallback((node) => {\n    ref.current = node, refs.setFloating(node);\n  }, [refs]), setReference = useCallback((node_0) => {\n    refs.setReference(node_0);\n    const childRef = getElementRef(childProp);\n    typeof childRef == \"function\" ? childRef(node_0) : childRef && (childRef.current = node_0);\n  }, [childProp, refs]), child = useMemo(() => referenceElement ? childProp : childProp ? cloneElement(childProp, {\n    ref: setReference\n  }) : null, [childProp, referenceElement, setReference]);\n  if (useEffect(() => {\n    updateRef && (typeof updateRef == \"function\" ? updateRef(update) : updateRef && (updateRef.current = update));\n  }, [update, updateRef]), disabled)\n    return childProp || /* @__PURE__ */ jsx(Fragment, {});\n  const popover = /* @__PURE__ */ jsx(LayerProvider, { zOffset, children: /* @__PURE__ */ jsx(PopoverCard, { ...restProps, __unstable_margins: margins, animate, arrow: arrowProp, arrowRef: setArrow, arrowX, arrowY, hidden: referenceHidden, overflow, padding, placement, radius, ref: setFloating, scheme, shadow, originX, originY, strategy, tone, width: matchReferenceWidth ? referenceWidthRef.current : width, x, y, children: content }) }), children = open && (portal ? /* @__PURE__ */ jsx(Portal, { __unstable_name: typeof portal == \"string\" ? portal : void 0, children: popover }) : popover);\n  return /* @__PURE__ */ jsxs(Fragment, { children: [\n    animate ? /* @__PURE__ */ jsx(AnimatePresence, { children }) : children,\n    child\n  ] });\n}));\nPopover.displayName = \"Memo(ForwardRef(Popover))\";\nfunction getElementRef(element) {\n  let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get, mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n  return mayWarn ? element.ref : (getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get, mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning, mayWarn ? element.props.ref : element.props.ref || element.ref);\n}\nfunction radioBaseStyle() {\n  return css`\n    position: relative;\n\n    &:not([hidden]) {\n      display: inline-block;\n    }\n\n    &[data-read-only] {\n      outline: 1px solid red;\n    }\n  `;\n}\nfunction inputElementStyle(props) {\n  const {\n    color,\n    input\n  } = getTheme_v2(props.theme), dist = (input.radio.size - input.radio.markSize) / 2;\n  return css`\n    appearance: none;\n    position: absolute;\n    top: 0;\n    left: 0;\n    opacity: 0;\n    height: 100%;\n    width: 100%;\n    outline: none;\n    z-index: 1;\n    padding: 0;\n    margin: 0;\n    border-radius: ${rem(input.radio.size / 2)};\n    border: none;\n\n    /* enabled */\n    & + span {\n      display: block;\n      position: relative;\n      height: ${rem(input.radio.size)};\n      width: ${rem(input.radio.size)};\n      border-radius: ${rem(input.radio.size / 2)};\n      background: ${color.input.default.enabled.bg};\n      box-shadow: ${focusRingBorderStyle({\n    color: color.input.default.enabled.border,\n    width: input.border.width\n  })};\n\n      &::after {\n        content: '';\n        position: absolute;\n        top: ${rem(dist)};\n        left: ${rem(dist)};\n        height: ${rem(input.radio.markSize)};\n        width: ${rem(input.radio.markSize)};\n        border-radius: ${rem(input.radio.markSize / 2)};\n        background: ${color.input.default.enabled.fg};\n        opacity: 0;\n      }\n    }\n\n    /* focused */\n    &:not(:disabled):focus + span {\n      box-shadow: ${focusRingStyle({\n    border: {\n      width: input.border.width,\n      color: color.input.default.enabled.border\n    },\n    focusRing: input.radio.focusRing\n  })};\n    }\n\n    &:not(:disabled):focus:not(:focus-visible) + span {\n      box-shadow: ${focusRingBorderStyle({\n    color: color.input.default.enabled.border,\n    width: input.border.width\n  })};\n    }\n\n    &:checked + span::after {\n      opacity: 1;\n    }\n\n    /* customValidity */\n    &[data-error] + span {\n      background-color: ${color.input.invalid.enabled.border};\n      box-shadow: ${focusRingBorderStyle({\n    width: input.border.width,\n    color: color.input.invalid.enabled.muted.bg\n  })};\n      &::after {\n        background: ${color.input.invalid.enabled.muted.bg};\n      }\n    }\n\n    /* read only */\n    &[data-read-only] + span {\n      box-shadow: 0 0 0 1px ${color.input.default.readOnly.border};\n      background: ${color.input.default.readOnly.bg};\n\n      &::after {\n        background: ${color.input.default.readOnly.border};\n      }\n    }\n\n    /* disabled */\n    &:not([data-read-only]):disabled + span {\n      box-shadow: 0 0 0 1px ${color.input.default.disabled.border};\n      background: ${color.input.default.disabled.bg};\n\n      &::after {\n        background: ${color.input.default.disabled.border};\n      }\n    }\n  `;\n}\nconst Root$g = styled.div(radioBaseStyle), Input$4 = styled.input(inputElementStyle), Radio = forwardRef(function(props, forwardedRef) {\n  const $ = c(19);\n  let className, customValidity, disabled, readOnly, restProps, style;\n  $[0] !== props ? ({\n    className,\n    disabled,\n    style,\n    customValidity,\n    readOnly,\n    ...restProps\n  } = props, $[0] = props, $[1] = className, $[2] = customValidity, $[3] = disabled, $[4] = readOnly, $[5] = restProps, $[6] = style) : (className = $[1], customValidity = $[2], disabled = $[3], readOnly = $[4], restProps = $[5], style = $[6]);\n  const ref = useRef(null);\n  let t0;\n  $[7] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = () => ref.current, $[7] = t0) : t0 = $[7], useImperativeHandle(forwardedRef, t0), useCustomValidity(ref, customValidity);\n  const t1 = !disabled && readOnly ? \"\" : void 0, t2 = customValidity ? \"\" : void 0, t3 = disabled || readOnly;\n  let t4;\n  $[8] !== readOnly || $[9] !== restProps || $[10] !== t1 || $[11] !== t2 || $[12] !== t3 ? (t4 = /* @__PURE__ */ jsx(Input$4, { \"data-read-only\": t1, \"data-error\": t2, ...restProps, disabled: t3, readOnly, ref, type: \"radio\" }), $[8] = readOnly, $[9] = restProps, $[10] = t1, $[11] = t2, $[12] = t3, $[13] = t4) : t4 = $[13];\n  let t5;\n  $[14] === Symbol.for(\"react.memo_cache_sentinel\") ? (t5 = /* @__PURE__ */ jsx(\"span\", {}), $[14] = t5) : t5 = $[14];\n  let t6;\n  return $[15] !== className || $[16] !== style || $[17] !== t4 ? (t6 = /* @__PURE__ */ jsxs(Root$g, { className, \"data-ui\": \"Radio\", style, children: [\n    t4,\n    t5\n  ] }), $[15] = className, $[16] = style, $[17] = t4, $[18] = t6) : t6 = $[18], t6;\n});\nRadio.displayName = \"ForwardRef(Radio)\";\nfunction rootStyle() {\n  return css`\n    position: relative;\n    width: -moz-available;\n    width: -webkit-fill-available;\n    width: stretch;\n\n    &:not([hidden]) {\n      display: inline-block;\n    }\n  `;\n}\nfunction inputBaseStyle(props) {\n  const {\n    font\n  } = getTheme_v2(props.theme);\n  return css`\n    -webkit-font-smoothing: antialiased;\n    appearance: none;\n    border: 0;\n    font-family: ${font.text.family};\n    color: inherit;\n    width: 100%;\n    outline: none;\n    margin: 0;\n\n    &:disabled {\n      opacity: 1;\n    }\n  `;\n}\nfunction inputColorStyle(props) {\n  const {\n    color,\n    input\n  } = getTheme_v2(props.theme);\n  return css`\n    /* enabled */\n    background-color: ${color.input.default.enabled.bg};\n    color: ${color.input.default.enabled.fg};\n    box-shadow: ${focusRingBorderStyle({\n    color: color.input.default.enabled.border,\n    width: input.border.width\n  })};\n\n    /* hovered */\n    @media (hover: hover) {\n      &:not(:disabled):hover {\n        background-color: ${color.input.default.hovered.bg};\n        color: ${color.input.default.hovered.fg};\n        box-shadow: ${focusRingBorderStyle({\n    color: color.input.default.hovered.border,\n    width: input.border.width\n  })};\n      }\n    }\n\n    /* focused */\n    &:not(:disabled):focus {\n      box-shadow: ${focusRingStyle({\n    border: {\n      width: input.border.width,\n      color: color.input.default.enabled.border\n    },\n    focusRing: input.select.focusRing\n  })};\n    }\n\n    /* read-only */\n    &[data-read-only] {\n      background-color: ${color.input.default.readOnly.bg};\n      color: ${color.input.default.readOnly.fg};\n      box-shadow: ${focusRingBorderStyle({\n    color: color.input.default.readOnly.border,\n    width: input.border.width\n  })};\n    }\n\n    /* disabled */\n    &:not([data-read-only]):disabled {\n      background-color: ${color.input.default.disabled.bg};\n      color: ${color.input.default.disabled.fg};\n      box-shadow: ${focusRingBorderStyle({\n    color: color.input.default.disabled.border,\n    width: input.border.width\n  })};\n    }\n  `;\n}\nfunction textSize(size2) {\n  return {\n    fontSize: rem(size2.fontSize),\n    lineHeight: rem(size2.lineHeight)\n  };\n}\nfunction inputTextSizeStyle(props) {\n  const {\n    $fontSize\n  } = props, {\n    font,\n    media\n  } = getTheme_v2(props.theme);\n  return _responsive(media, $fontSize, (sizeIndex) => textSize(font.text.sizes[sizeIndex] || font.text.sizes[2]));\n}\nfunction inputStyle() {\n  return [responsiveRadiusStyle, inputBaseStyle, inputColorStyle, inputTextSizeStyle, responsiveInputPaddingIconRightStyle];\n}\nfunction iconBoxStyle(props) {\n  const {\n    color\n  } = getTheme_v2(props.theme);\n  return css`\n    pointer-events: none;\n    position: absolute;\n    top: 0;\n    right: 0;\n\n    /* enabled */\n    --card-fg-color: ${color.input.default.enabled.fg};\n\n    /* hover */\n    @media (hover: hover) {\n      select:not(disabled):not(:read-only):hover + && {\n        --card-fg-color: ${color.input.default.hovered.fg};\n      }\n    }\n\n    /* disabled */\n    select:disabled + && {\n      --card-fg-color: ${color.input.default.disabled.fg};\n    }\n\n    /* read-only */\n    select[data-read-only] + && {\n      --card-fg-color: ${color.input.default.readOnly.fg};\n    }\n  `;\n}\nconst selectStyle = {\n  root: rootStyle,\n  input: inputStyle,\n  iconBox: iconBoxStyle\n}, Root$f = styled.div(selectStyle.root), Input$3 = styled.select(selectStyle.input), IconBox = styled(Box)(selectStyle.iconBox), Select = forwardRef(function(props, forwardedRef) {\n  const $ = c(29);\n  let children, customValidity, disabled, readOnly, restProps, t0, t1, t2, t3;\n  $[0] !== props ? ({\n    children,\n    customValidity,\n    disabled,\n    fontSize: t0,\n    padding: t1,\n    radius: t2,\n    readOnly,\n    space: t3,\n    ...restProps\n  } = props, $[0] = props, $[1] = children, $[2] = customValidity, $[3] = disabled, $[4] = readOnly, $[5] = restProps, $[6] = t0, $[7] = t1, $[8] = t2, $[9] = t3) : (children = $[1], customValidity = $[2], disabled = $[3], readOnly = $[4], restProps = $[5], t0 = $[6], t1 = $[7], t2 = $[8], t3 = $[9]);\n  const fontSize2 = t0 === void 0 ? 2 : t0, padding = t1 === void 0 ? 3 : t1, radius = t2 === void 0 ? 2 : t2, space = t3 === void 0 ? 3 : t3, ref = useRef(null);\n  let t4;\n  $[10] === Symbol.for(\"react.memo_cache_sentinel\") ? (t4 = () => ref.current, $[10] = t4) : t4 = $[10], useImperativeHandle(forwardedRef, t4), useCustomValidity(ref, customValidity);\n  const t5 = !disabled && readOnly ? \"\" : void 0, t6 = useArrayProp(fontSize2), t7 = useArrayProp(padding), t8 = useArrayProp(radius), t9 = useArrayProp(space), t10 = disabled || readOnly;\n  let t11;\n  $[11] !== children || $[12] !== restProps || $[13] !== t10 || $[14] !== t5 || $[15] !== t6 || $[16] !== t7 || $[17] !== t8 || $[18] !== t9 ? (t11 = /* @__PURE__ */ jsx(Input$3, { \"data-read-only\": t5, \"data-ui\": \"Select\", ...restProps, $fontSize: t6, $padding: t7, $radius: t8, $space: t9, disabled: t10, ref, children }), $[11] = children, $[12] = restProps, $[13] = t10, $[14] = t5, $[15] = t6, $[16] = t7, $[17] = t8, $[18] = t9, $[19] = t11) : t11 = $[19];\n  let t12;\n  $[20] === Symbol.for(\"react.memo_cache_sentinel\") ? (t12 = /* @__PURE__ */ jsx(ChevronDownIcon, {}), $[20] = t12) : t12 = $[20];\n  let t13;\n  $[21] !== fontSize2 ? (t13 = /* @__PURE__ */ jsx(Text, { size: fontSize2, children: t12 }), $[21] = fontSize2, $[22] = t13) : t13 = $[22];\n  let t14;\n  $[23] !== padding || $[24] !== t13 ? (t14 = /* @__PURE__ */ jsx(IconBox, { padding, children: t13 }), $[23] = padding, $[24] = t13, $[25] = t14) : t14 = $[25];\n  let t15;\n  return $[26] !== t11 || $[27] !== t14 ? (t15 = /* @__PURE__ */ jsxs(Root$f, { \"data-ui\": \"Select\", children: [\n    t11,\n    t14\n  ] }), $[26] = t11, $[27] = t14, $[28] = t15) : t15 = $[28], t15;\n});\nSelect.displayName = \"ForwardRef(Select)\";\nconst BASE_STYLE = {\n  \"&&:not([hidden])\": {\n    display: \"grid\"\n  },\n  '&[data-as=\"ul\"],&[data-as=\"ol\"]': {\n    listStyle: \"none\"\n  },\n  gridTemplateColumns: \"minmax(0, 1fr)\",\n  gridAutoRows: \"min-content\"\n};\nfunction stackBaseStyle() {\n  return BASE_STYLE;\n}\nfunction responsiveStackSpaceStyle(props) {\n  const {\n    media,\n    space\n  } = getTheme_v2(props.theme);\n  return _responsive(media, props.$space, (spaceIndex) => ({\n    gridGap: rem(space[spaceIndex])\n  }));\n}\nconst Root$e = styled(Box)(stackBaseStyle, responsiveStackSpaceStyle), Stack = forwardRef(function(props, ref) {\n  const $ = c(10);\n  let as, restProps, space;\n  $[0] !== props ? ({\n    as,\n    space,\n    ...restProps\n  } = props, $[0] = props, $[1] = as, $[2] = restProps, $[3] = space) : (as = $[1], restProps = $[2], space = $[3]);\n  const t0 = typeof as == \"string\" ? as : void 0, t1 = useArrayProp(space);\n  let t2;\n  return $[4] !== as || $[5] !== ref || $[6] !== restProps || $[7] !== t0 || $[8] !== t1 ? (t2 = /* @__PURE__ */ jsx(Root$e, { \"data-as\": t0, \"data-ui\": \"Stack\", ...restProps, $space: t1, forwardedAs: as, ref }), $[4] = as, $[5] = ref, $[6] = restProps, $[7] = t0, $[8] = t1, $[9] = t2) : t2 = $[9], t2;\n});\nStack.displayName = \"ForwardRef(Stack)\";\nfunction switchBaseStyles() {\n  return css`\n    position: relative;\n    &:not([hidden]) {\n      display: inline-block;\n    }\n  `;\n}\nfunction switchInputStyles() {\n  return css`\n    position: absolute;\n    top: 0;\n    right: 0;\n    bottom: 0;\n    left: 0;\n    opacity: 0;\n    height: 100%;\n    width: 100%;\n    outline: none;\n    padding: 0;\n    margin: 0;\n\n    /* Place the input element above the representation element */\n    z-index: 1;\n  `;\n}\nfunction switchRepresentationStyles(props) {\n  const {\n    color,\n    input\n  } = getTheme_v2(props.theme);\n  return css`\n    --switch-bg-color: ${color.input.default.enabled.border};\n    --switch-fg-color: ${color.input.default.enabled.bg};\n    --switch-box-shadow: none;\n\n    &:not([hidden]) {\n      display: block;\n    }\n    position: relative;\n    width: ${rem(input.switch.width)};\n    height: ${rem(input.switch.height)};\n    border-radius: ${rem(input.switch.height / 2)};\n\n    /* Make sure it’s not possible to interact with the wrapper element */\n    pointer-events: none;\n\n    &:after {\n      content: '';\n      display: block;\n      position: absolute;\n      top: 0;\n      left: 0;\n      right: 0;\n      bottom: 0;\n      z-index: 1;\n      box-shadow: var(--switch-box-shadow);\n      border-radius: inherit;\n    }\n\n    /* Focus styles */\n    input:focus + && {\n      --switch-box-shadow: ${focusRingStyle({\n    focusRing: input.switch.focusRing\n  })};\n    }\n\n    input:focus:not(:focus-visible) + && {\n      --switch-box-shadow: none;\n    }\n\n    input:checked + && {\n      --switch-bg-color: ${color.input.default.enabled.fg};\n      --switch-fg-color: ${color.input.default.enabled.bg};\n    }\n\n    @media (hover: hover) {\n      input:not(:disabled):hover + && {\n        --switch-bg-color: ${color.input.default.hovered.border};\n        --switch-fg-color: ${color.input.default.hovered.bg};\n      }\n\n      input:not(:disabled):checked:hover + && {\n        --switch-bg-color: ${color.input.default.enabled.fg};\n        --switch-fg-color: ${color.input.default.enabled.bg};\n      }\n    }\n\n    input:not([data-read-only]):disabled + && {\n      --switch-bg-color: ${color.input.default.disabled.border};\n      --switch-fg-color: ${color.input.default.disabled.bg};\n    }\n\n    input[data-read-only]:disabled + && {\n      --switch-bg-color: ${color.input.default.readOnly.border};\n      --switch-fg-color: ${color.input.default.readOnly.bg};\n    }\n\n    input:checked[data-read-only]:disabled + && {\n      --switch-bg-color: ${color.input.default.readOnly.fg};\n      --switch-fg-color: ${color.input.default.readOnly.bg};\n    }\n  `;\n}\nfunction switchTrackStyles(props) {\n  const {\n    input\n  } = getTheme_v2(props.theme);\n  return css`\n    &:not([hidden]) {\n      display: block;\n    }\n    background-color: var(--switch-bg-color);\n    position: absolute;\n    left: 0;\n    top: 0;\n    width: ${rem(input.switch.width)};\n    height: ${rem(input.switch.height)};\n    border-radius: ${rem(input.switch.height / 2)};\n  `;\n}\nfunction switchThumbStyles(props) {\n  const {\n    $indeterminate\n  } = props, {\n    input\n  } = getTheme_v2(props.theme), trackWidth = input.switch.width, trackHeight = input.switch.height, trackPadding = input.switch.padding, size2 = trackHeight - input.switch.padding * 2, checkedOffset = trackWidth - trackPadding * 2 - size2, indeterminateOffset = trackWidth / 2 - size2 / 2 - trackPadding, checked = $indeterminate !== !0 && props.$checked === !0;\n  return css`\n    &:not([hidden]) {\n      display: block;\n    }\n    position: absolute;\n    left: ${rem(trackPadding)};\n    top: ${rem(trackPadding)};\n    height: ${rem(size2)};\n    width: ${rem(size2)};\n    border-radius: ${rem(size2 / 2)};\n    transition-property: transform;\n    transition-duration: ${input.switch.transitionDurationMs}ms;\n    transition-timing-function: ${input.switch.transitionTimingFunction};\n    background: var(--switch-fg-color);\n    transform: translate3d(0, 0, 0);\n    box-shadow: 0px 1px 0px 0px rgba(0, 0, 0, 0.05);\n\n    ${checked && css`\n      transform: translate3d(${checkedOffset}px, 0, 0);\n    `}\n\n    ${$indeterminate && css`\n      transform: translate3d(${indeterminateOffset}px, 0, 0);\n    `}\n  `;\n}\nconst Root$d = styled.span(switchBaseStyles), Input$2 = styled.input(switchInputStyles), Representation = styled.span(switchRepresentationStyles), Track = styled.span(switchTrackStyles), Thumb = styled.span(switchThumbStyles), Switch = forwardRef(function(props, forwardedRef) {\n  const $ = c(26);\n  let checked, className, disabled, indeterminate, readOnly, restProps, style;\n  $[0] !== props ? ({\n    checked,\n    className,\n    disabled,\n    indeterminate,\n    readOnly,\n    style,\n    ...restProps\n  } = props, $[0] = props, $[1] = checked, $[2] = className, $[3] = disabled, $[4] = indeterminate, $[5] = readOnly, $[6] = restProps, $[7] = style) : (checked = $[1], className = $[2], disabled = $[3], indeterminate = $[4], readOnly = $[5], restProps = $[6], style = $[7]);\n  const ref = useRef(null);\n  let t0;\n  $[8] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = () => ref.current, $[8] = t0) : t0 = $[8], useImperativeHandle(forwardedRef, t0);\n  let t1, t2;\n  $[9] !== indeterminate ? (t1 = () => {\n    ref.current && (ref.current.indeterminate = indeterminate || !1);\n  }, t2 = [indeterminate], $[9] = indeterminate, $[10] = t1, $[11] = t2) : (t1 = $[10], t2 = $[11]), useEffect(t1, t2);\n  const t3 = !disabled && readOnly ? \"\" : void 0, t4 = indeterminate !== !0 && checked, t5 = disabled || readOnly;\n  let t6;\n  $[12] !== restProps || $[13] !== t3 || $[14] !== t4 || $[15] !== t5 ? (t6 = /* @__PURE__ */ jsx(Input$2, { \"data-read-only\": t3, ...restProps, checked: t4, disabled: t5, type: \"checkbox\", ref }), $[12] = restProps, $[13] = t3, $[14] = t4, $[15] = t5, $[16] = t6) : t6 = $[16];\n  let t7;\n  $[17] === Symbol.for(\"react.memo_cache_sentinel\") ? (t7 = /* @__PURE__ */ jsx(Track, {}), $[17] = t7) : t7 = $[17];\n  let t8;\n  $[18] !== checked || $[19] !== indeterminate ? (t8 = /* @__PURE__ */ jsxs(Representation, { \"aria-hidden\": !0, \"data-name\": \"representation\", children: [\n    t7,\n    /* @__PURE__ */ jsx(Thumb, { $checked: checked, $indeterminate: indeterminate })\n  ] }), $[18] = checked, $[19] = indeterminate, $[20] = t8) : t8 = $[20];\n  let t9;\n  return $[21] !== className || $[22] !== style || $[23] !== t6 || $[24] !== t8 ? (t9 = /* @__PURE__ */ jsxs(Root$d, { className, \"data-ui\": \"Switch\", style, children: [\n    t6,\n    t8\n  ] }), $[21] = className, $[22] = style, $[23] = t6, $[24] = t8, $[25] = t9) : t9 = $[25], t9;\n});\nSwitch.displayName = \"ForwardRef(Switch)\";\nconst Root$c = styled.span(textInputRootStyle), InputRoot$1 = styled.span`\n  flex: 1;\n  min-width: 0;\n  display: block;\n  position: relative;\n`, Input$1 = styled.textarea(responsiveInputPaddingStyle, textInputBaseStyle, textInputFontSizeStyle), Presentation$1 = styled.div(responsiveRadiusStyle, textInputRepresentationStyle), TextArea = forwardRef(function(props, forwardedRef) {\n  const $ = c(29);\n  let __unstable_disableFocusRing, customValidity, restProps, t0, t1, t2, t3, t4, weight;\n  $[0] !== props ? ({\n    border: t0,\n    customValidity,\n    disabled: t1,\n    fontSize: t2,\n    padding: t3,\n    radius: t4,\n    weight,\n    __unstable_disableFocusRing,\n    ...restProps\n  } = props, $[0] = props, $[1] = __unstable_disableFocusRing, $[2] = customValidity, $[3] = restProps, $[4] = t0, $[5] = t1, $[6] = t2, $[7] = t3, $[8] = t4, $[9] = weight) : (__unstable_disableFocusRing = $[1], customValidity = $[2], restProps = $[3], t0 = $[4], t1 = $[5], t2 = $[6], t3 = $[7], t4 = $[8], weight = $[9]);\n  const border2 = t0 === void 0 ? !0 : t0, disabled = t1 === void 0 ? !1 : t1, fontSize2 = t2 === void 0 ? 2 : t2, padding = t3 === void 0 ? 3 : t3, radius = t4 === void 0 ? 2 : t4, ref = useRef(null), rootTheme = useRootTheme();\n  let t5;\n  $[10] === Symbol.for(\"react.memo_cache_sentinel\") ? (t5 = () => ref.current, $[10] = t5) : t5 = $[10], useImperativeHandle(forwardedRef, t5), useCustomValidity(ref, customValidity);\n  const t6 = rootTheme.scheme, t7 = rootTheme.tone, t8 = useArrayProp(fontSize2), t9 = useArrayProp(padding), t10 = rootTheme.scheme, t11 = useArrayProp(0);\n  let t12;\n  $[11] !== disabled || $[12] !== restProps || $[13] !== rootTheme.scheme || $[14] !== rootTheme.tone || $[15] !== t11 || $[16] !== t8 || $[17] !== t9 || $[18] !== weight ? (t12 = /* @__PURE__ */ jsx(Input$1, { \"data-as\": \"textarea\", \"data-scheme\": t6, \"data-tone\": t7, ...restProps, $fontSize: t8, $padding: t9, $scheme: t10, $space: t11, $tone: rootTheme.tone, $weight: weight, disabled, ref }), $[11] = disabled, $[12] = restProps, $[13] = rootTheme.scheme, $[14] = rootTheme.tone, $[15] = t11, $[16] = t8, $[17] = t9, $[18] = weight, $[19] = t12) : t12 = $[19];\n  const t13 = useArrayProp(radius), t14 = border2 ? \"\" : void 0;\n  let t15;\n  $[20] !== __unstable_disableFocusRing || $[21] !== rootTheme.scheme || $[22] !== rootTheme.tone || $[23] !== t13 || $[24] !== t14 ? (t15 = /* @__PURE__ */ jsx(Presentation$1, { $radius: t13, $unstableDisableFocusRing: __unstable_disableFocusRing, $scheme: rootTheme.scheme, $tone: rootTheme.tone, \"data-border\": t14, \"data-scheme\": rootTheme.scheme, \"data-tone\": rootTheme.tone }), $[20] = __unstable_disableFocusRing, $[21] = rootTheme.scheme, $[22] = rootTheme.tone, $[23] = t13, $[24] = t14, $[25] = t15) : t15 = $[25];\n  let t16;\n  return $[26] !== t12 || $[27] !== t15 ? (t16 = /* @__PURE__ */ jsx(Root$c, { \"data-ui\": \"TextArea\", children: /* @__PURE__ */ jsxs(InputRoot$1, { children: [\n    t12,\n    t15\n  ] }) }), $[26] = t12, $[27] = t15, $[28] = t16) : t16 = $[28], t16;\n});\nTextArea.displayName = \"ForwardRef(TextArea)\";\nconst CLEAR_BUTTON_BOX_STYLE = {\n  zIndex: 2\n}, Root$b = styled(Card).attrs({\n  forwardedAs: \"span\"\n})(textInputRootStyle), InputRoot = styled.span`\n  flex: 1;\n  min-width: 0;\n  display: block;\n  position: relative;\n`, Prefix = styled(Card).attrs({\n  forwardedAs: \"span\"\n})`\n  border-top-right-radius: 0;\n  border-bottom-right-radius: 0;\n\n  & > span {\n    display: block;\n    margin: -1px;\n  }\n`, Suffix = styled(Card).attrs({\n  forwardedAs: \"span\"\n})`\n  border-top-left-radius: 0;\n  border-bottom-left-radius: 0;\n\n  & > span {\n    display: block;\n    margin: -1px;\n  }\n`, Input = styled.input(responsiveInputPaddingStyle, textInputBaseStyle, textInputFontSizeStyle), Presentation = styled.span(responsiveRadiusStyle, textInputRepresentationStyle), LeftBox = styled(Box)`\n  position: absolute;\n  top: 0;\n  left: 0;\n`, RightBox = styled(Box)`\n  position: absolute;\n  top: 0;\n  right: 0;\n`, RightCard = styled(Card)`\n  background-color: transparent;\n  position: absolute;\n  top: 0;\n  right: 0;\n`, TextInputClearButton = styled(Button)({\n  \"&:not([hidden])\": {\n    display: \"block\"\n  }\n}), TextInput = forwardRef(function(props, forwardedRef) {\n  const $ = c(84);\n  let IconComponent, IconRightComponent, __unstable_disableFocusRing, clearButton, customValidity, onClear, prefix, readOnly, restProps, suffix, t0, t1, t2, t3, t4, t5, t6, weight;\n  $[0] !== props ? ({\n    __unstable_disableFocusRing,\n    border: t0,\n    clearButton,\n    disabled: t1,\n    fontSize: t2,\n    icon: IconComponent,\n    iconRight: IconRightComponent,\n    onClear,\n    padding: t3,\n    prefix,\n    radius: t4,\n    readOnly,\n    space: t5,\n    suffix,\n    customValidity,\n    type: t6,\n    weight,\n    ...restProps\n  } = props, $[0] = props, $[1] = IconComponent, $[2] = IconRightComponent, $[3] = __unstable_disableFocusRing, $[4] = clearButton, $[5] = customValidity, $[6] = onClear, $[7] = prefix, $[8] = readOnly, $[9] = restProps, $[10] = suffix, $[11] = t0, $[12] = t1, $[13] = t2, $[14] = t3, $[15] = t4, $[16] = t5, $[17] = t6, $[18] = weight) : (IconComponent = $[1], IconRightComponent = $[2], __unstable_disableFocusRing = $[3], clearButton = $[4], customValidity = $[5], onClear = $[6], prefix = $[7], readOnly = $[8], restProps = $[9], suffix = $[10], t0 = $[11], t1 = $[12], t2 = $[13], t3 = $[14], t4 = $[15], t5 = $[16], t6 = $[17], weight = $[18]);\n  const border2 = t0 === void 0 ? !0 : t0, disabled = t1 === void 0 ? !1 : t1, fontSizeProp = t2 === void 0 ? 2 : t2, paddingProp = t3 === void 0 ? 3 : t3, radiusProp = t4 === void 0 ? 2 : t4, spaceProp = t5 === void 0 ? 3 : t5, type = t6 === void 0 ? \"text\" : t6, ref = useRef(null), rootTheme = useRootTheme(), fontSize2 = useArrayProp(fontSizeProp), padding = useArrayProp(paddingProp), radius = useArrayProp(radiusProp), space = useArrayProp(spaceProp), $hasClearButton = !!clearButton, $hasIcon = !!IconComponent, $hasIconRight = !!IconRightComponent, $hasSuffix = !!suffix, $hasPrefix = !!prefix;\n  let t7;\n  $[19] === Symbol.for(\"react.memo_cache_sentinel\") ? (t7 = () => ref.current, $[19] = t7) : t7 = $[19], useImperativeHandle(forwardedRef, t7), useCustomValidity(ref, customValidity);\n  const handleClearMouseDown = _temp$3;\n  let t8;\n  $[20] !== onClear ? (t8 = (event_0) => {\n    event_0.preventDefault(), event_0.stopPropagation(), onClear && onClear(), ref.current?.focus();\n  }, $[20] = onClear, $[21] = t8) : t8 = $[21];\n  const handleClearClick = t8;\n  let t9, t10;\n  $[22] !== prefix || $[23] !== radius ? (t10 = prefix && /* @__PURE__ */ jsx(Prefix, { borderTop: !0, borderLeft: !0, borderBottom: !0, radius, sizing: \"border\", tone: \"inherit\", children: /* @__PURE__ */ jsx(\"span\", { children: prefix }) }), $[22] = prefix, $[23] = radius, $[24] = t10) : t10 = $[24], t9 = t10;\n  const prefixNode = t9;\n  let t11;\n  const t12 = border2 ? \"\" : void 0;\n  let t13;\n  $[25] !== IconComponent || $[26] !== fontSize2 || $[27] !== padding ? (t13 = IconComponent && /* @__PURE__ */ jsx(LeftBox, { padding, children: /* @__PURE__ */ jsxs(Text, { size: fontSize2, children: [\n    isValidElement(IconComponent) && IconComponent,\n    isValidElementType(IconComponent) && /* @__PURE__ */ jsx(IconComponent, {})\n  ] }) }), $[25] = IconComponent, $[26] = fontSize2, $[27] = padding, $[28] = t13) : t13 = $[28];\n  let t14;\n  $[29] !== $hasClearButton || $[30] !== IconRightComponent || $[31] !== fontSize2 || $[32] !== padding ? (t14 = !$hasClearButton && IconRightComponent && /* @__PURE__ */ jsx(RightBox, { padding, children: /* @__PURE__ */ jsxs(Text, { size: fontSize2, children: [\n    isValidElement(IconRightComponent) && IconRightComponent,\n    isValidElementType(IconRightComponent) && /* @__PURE__ */ jsx(IconRightComponent, {})\n  ] }) }), $[29] = $hasClearButton, $[30] = IconRightComponent, $[31] = fontSize2, $[32] = padding, $[33] = t14) : t14 = $[33];\n  let t15;\n  $[34] !== $hasPrefix || $[35] !== $hasSuffix || $[36] !== __unstable_disableFocusRing || $[37] !== radius || $[38] !== rootTheme.scheme || $[39] !== rootTheme.tone || $[40] !== t12 || $[41] !== t13 || $[42] !== t14 ? (t15 = /* @__PURE__ */ jsxs(Presentation, { $hasPrefix, $unstableDisableFocusRing: __unstable_disableFocusRing, $hasSuffix, $radius: radius, $scheme: rootTheme.scheme, $tone: rootTheme.tone, \"data-border\": t12, \"data-scheme\": rootTheme.scheme, \"data-tone\": rootTheme.tone, children: [\n    t13,\n    t14\n  ] }), $[34] = $hasPrefix, $[35] = $hasSuffix, $[36] = __unstable_disableFocusRing, $[37] = radius, $[38] = rootTheme.scheme, $[39] = rootTheme.tone, $[40] = t12, $[41] = t13, $[42] = t14, $[43] = t15) : t15 = $[43], t11 = t15;\n  const presentationNode = t11;\n  let t16, t17;\n  $[44] !== padding ? (t17 = padding.map(_temp2$1), $[44] = padding, $[45] = t17) : t17 = $[45], t16 = t17;\n  const clearButtonBoxPadding = t16;\n  let t18, t19;\n  $[46] !== padding ? (t19 = padding.map(_temp3), $[46] = padding, $[47] = t19) : t19 = $[47], t18 = t19;\n  const clearButtonPadding = t18;\n  let t20;\n  t20 = typeof clearButton == \"object\" ? clearButton : EMPTY_RECORD;\n  const clearButtonProps = t20;\n  let t21, t22;\n  $[48] !== clearButton || $[49] !== clearButtonBoxPadding || $[50] !== clearButtonPadding || $[51] !== clearButtonProps || $[52] !== customValidity || $[53] !== disabled || $[54] !== fontSize2 || $[55] !== handleClearClick || $[56] !== radius || $[57] !== readOnly ? (t22 = !disabled && !readOnly && clearButton && /* @__PURE__ */ jsx(RightCard, { forwardedAs: \"span\", padding: clearButtonBoxPadding, style: CLEAR_BUTTON_BOX_STYLE, tone: customValidity ? \"critical\" : \"inherit\", children: /* @__PURE__ */ jsx(TextInputClearButton, { \"aria-label\": \"Clear\", \"data-qa\": \"clear-button\", fontSize: fontSize2, icon: CloseIcon, mode: \"bleed\", padding: clearButtonPadding, radius, ...clearButtonProps, onClick: handleClearClick, onMouseDown: handleClearMouseDown }) }), $[48] = clearButton, $[49] = clearButtonBoxPadding, $[50] = clearButtonPadding, $[51] = clearButtonProps, $[52] = customValidity, $[53] = disabled, $[54] = fontSize2, $[55] = handleClearClick, $[56] = radius, $[57] = readOnly, $[58] = t22) : t22 = $[58], t21 = t22;\n  const clearButtonNode = t21;\n  let t23, t24;\n  $[59] !== radius || $[60] !== suffix ? (t24 = suffix && /* @__PURE__ */ jsx(Suffix, { borderTop: !0, borderRight: !0, borderBottom: !0, radius, sizing: \"border\", tone: \"inherit\", children: /* @__PURE__ */ jsx(\"span\", { children: suffix }) }), $[59] = radius, $[60] = suffix, $[61] = t24) : t24 = $[61], t23 = t24;\n  const suffixNode = t23, t25 = $hasIconRight || $hasClearButton;\n  let t26;\n  $[62] !== $hasIcon || $[63] !== disabled || $[64] !== fontSize2 || $[65] !== padding || $[66] !== readOnly || $[67] !== restProps || $[68] !== rootTheme.scheme || $[69] !== rootTheme.tone || $[70] !== space || $[71] !== t25 || $[72] !== type || $[73] !== weight ? (t26 = /* @__PURE__ */ jsx(Input, { \"data-as\": \"input\", \"data-scheme\": rootTheme.scheme, \"data-tone\": rootTheme.tone, ...restProps, $fontSize: fontSize2, $iconLeft: $hasIcon, $iconRight: t25, $padding: padding, $scheme: rootTheme.scheme, $space: space, $tone: rootTheme.tone, $weight: weight, disabled, readOnly, ref, type }), $[62] = $hasIcon, $[63] = disabled, $[64] = fontSize2, $[65] = padding, $[66] = readOnly, $[67] = restProps, $[68] = rootTheme.scheme, $[69] = rootTheme.tone, $[70] = space, $[71] = t25, $[72] = type, $[73] = weight, $[74] = t26) : t26 = $[74];\n  let t27;\n  $[75] !== clearButtonNode || $[76] !== presentationNode || $[77] !== t26 ? (t27 = /* @__PURE__ */ jsxs(InputRoot, { children: [\n    t26,\n    presentationNode,\n    clearButtonNode\n  ] }), $[75] = clearButtonNode, $[76] = presentationNode, $[77] = t26, $[78] = t27) : t27 = $[78];\n  let t28;\n  return $[79] !== prefixNode || $[80] !== rootTheme.tone || $[81] !== suffixNode || $[82] !== t27 ? (t28 = /* @__PURE__ */ jsxs(Root$b, { \"data-ui\": \"TextInput\", tone: rootTheme.tone, children: [\n    prefixNode,\n    t27,\n    suffixNode\n  ] }), $[79] = prefixNode, $[80] = rootTheme.tone, $[81] = suffixNode, $[82] = t27, $[83] = t28) : t28 = $[83], t28;\n});\nTextInput.displayName = \"ForwardRef(TextInput)\";\nfunction _temp$3(event) {\n  event.preventDefault(), event.stopPropagation();\n}\nfunction _temp2$1(v) {\n  return v === 0 ? 0 : v === 1 || v === 2 ? 1 : v - 2;\n}\nfunction _temp3(v_0) {\n  return v_0 === 0 || v_0 === 1 ? 0 : v_0 === 2 ? 1 : v_0 - 1;\n}\nfunction useDelayedState(initialState) {\n  const $ = c(3), [state, setState] = useState(initialState), delayedAction = useRef(void 0);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = (nextState, delay) => {\n    const action = () => {\n      setState(nextState);\n    };\n    if (delayedAction.current && (clearTimeout(delayedAction.current), delayedAction.current = void 0), !delay)\n      return action();\n    delayedAction.current = setTimeout(action, delay);\n  }, $[0] = t0) : t0 = $[0];\n  const onStateChange = t0;\n  let t1;\n  return $[1] !== state ? (t1 = [state, onStateChange], $[1] = state, $[2] = t1) : t1 = $[2], t1;\n}\nconst DEFAULT_TOOLTIP_ARROW_WIDTH = 15, DEFAULT_TOOLTIP_ARROW_HEIGHT = 6, DEFAULT_TOOLTIP_ARROW_RADIUS = 2, DEFAULT_TOOLTIP_DISTANCE = 4, DEFAULT_TOOLTIP_PADDING = 4, DEFAULT_FALLBACK_PLACEMENTS = {\n  top: [\"top-end\", \"top-start\", \"bottom\", \"left\", \"right\"],\n  \"top-start\": [\"top\", \"top-end\", \"bottom-start\", \"left-start\", \"right-start\"],\n  \"top-end\": [\"top\", \"top-start\", \"bottom-end\", \"left-end\", \"right-end\"],\n  bottom: [\"bottom-end\", \"bottom-start\", \"top\", \"left\", \"right\"],\n  \"bottom-start\": [\"bottom\", \"bottom-end\", \"top-start\", \"left-start\", \"right-start\"],\n  \"bottom-end\": [\"bottom\", \"bottom-start\", \"top-end\", \"left-end\", \"right-end\"],\n  left: [\"left-end\", \"left-start\", \"right\", \"top\", \"bottom\"],\n  \"left-start\": [\"left\", \"left-end\", \"right-start\", \"top-start\", \"bottom-start\"],\n  \"left-end\": [\"left\", \"left-start\", \"right-end\", \"top-end\", \"bottom-end\"],\n  right: [\"right-end\", \"right-start\", \"left\", \"top\", \"bottom\"],\n  \"right-start\": [\"right\", \"right-end\", \"left-start\", \"top-start\", \"bottom-start\"],\n  \"right-end\": [\"right\", \"right-start\", \"left-end\", \"top-end\", \"bottom-end\"]\n}, MotionCard = styled(motion.create(Card))`\n  & > * {\n    opacity: var(${POPOVER_MOTION_CONTENT_OPACITY_PROPERTY}, 1);\n    will-change: opacity;\n  }\n`, TooltipCard = memo(forwardRef(function(props, ref) {\n  const $ = c(42);\n  let animate, arrow2, arrowRef, arrowX, arrowY, children, originX, originY, padding, placement, radius, restProps, scheme, shadow, style;\n  $[0] !== props ? ({\n    animate,\n    arrow: arrow2,\n    arrowRef,\n    arrowX,\n    arrowY,\n    children,\n    originX,\n    originY,\n    padding,\n    placement,\n    radius,\n    scheme,\n    shadow,\n    style,\n    ...restProps\n  } = props, $[0] = props, $[1] = animate, $[2] = arrow2, $[3] = arrowRef, $[4] = arrowX, $[5] = arrowY, $[6] = children, $[7] = originX, $[8] = originY, $[9] = padding, $[10] = placement, $[11] = radius, $[12] = restProps, $[13] = scheme, $[14] = shadow, $[15] = style) : (animate = $[1], arrow2 = $[2], arrowRef = $[3], arrowX = $[4], arrowY = $[5], children = $[6], originX = $[7], originY = $[8], padding = $[9], placement = $[10], radius = $[11], restProps = $[12], scheme = $[13], shadow = $[14], style = $[15]);\n  let t0;\n  const t1 = animate ? \"transform\" : void 0;\n  let t2;\n  $[16] !== originX || $[17] !== originY || $[18] !== style || $[19] !== t1 ? (t2 = {\n    originX,\n    originY,\n    willChange: t1,\n    ...style\n  }, $[16] = originX, $[17] = originY, $[18] = style, $[19] = t1, $[20] = t2) : t2 = $[20], t0 = t2;\n  const rootStyle2 = t0;\n  let t3;\n  const t4 = arrowX !== null ? arrowX : void 0, t5 = arrowY !== null ? arrowY : void 0;\n  let t6;\n  $[21] !== t4 || $[22] !== t5 ? (t6 = {\n    left: t4,\n    top: t5,\n    right: void 0,\n    bottom: void 0\n  }, $[21] = t4, $[22] = t5, $[23] = t6) : t6 = $[23], t3 = t6;\n  const arrowStyle = t3, t7 = restProps;\n  let t8;\n  $[24] !== animate ? (t8 = animate ? POPOVER_MOTION_PROPS : {}, $[24] = animate, $[25] = t8) : t8 = $[25];\n  let t9;\n  $[26] !== arrow2 || $[27] !== arrowRef || $[28] !== arrowStyle ? (t9 = arrow2 && /* @__PURE__ */ jsx(Arrow, { ref: arrowRef, style: arrowStyle, width: DEFAULT_TOOLTIP_ARROW_WIDTH, height: DEFAULT_TOOLTIP_ARROW_HEIGHT, radius: DEFAULT_TOOLTIP_ARROW_RADIUS }), $[26] = arrow2, $[27] = arrowRef, $[28] = arrowStyle, $[29] = t9) : t9 = $[29];\n  let t10;\n  return $[30] !== children || $[31] !== padding || $[32] !== placement || $[33] !== radius || $[34] !== ref || $[35] !== rootStyle2 || $[36] !== scheme || $[37] !== shadow || $[38] !== t7 || $[39] !== t8 || $[40] !== t9 ? (t10 = /* @__PURE__ */ jsxs(MotionCard, { \"data-ui\": \"Tooltip__card\", ...t7, \"data-placement\": placement, padding, radius, ref, scheme, shadow, style: rootStyle2, ...t8, children: [\n    children,\n    t9\n  ] }), $[30] = children, $[31] = padding, $[32] = placement, $[33] = radius, $[34] = ref, $[35] = rootStyle2, $[36] = scheme, $[37] = shadow, $[38] = t7, $[39] = t8, $[40] = t9, $[41] = t10) : t10 = $[41], t10;\n}));\nTooltipCard.displayName = \"Memo(ForwardRef(TooltipCard))\";\nconst TooltipDelayGroupContext = createGlobalScopedContext(\"@sanity/ui/context/tooltipDelayGroup\", null);\nfunction useTooltipDelayGroup() {\n  return useContext(TooltipDelayGroupContext);\n}\nfunction TooltipDelayGroupProvider(props) {\n  const $ = c(10), {\n    children,\n    delay\n  } = props, [isGroupActive, setIsGroupActive] = useDelayedState(!1), [openTooltipId, setOpenTooltipId] = useDelayedState(null), openDelay = typeof delay == \"number\" ? delay : delay?.open || 0, closeDelay = typeof delay == \"number\" ? delay : delay?.close || 0;\n  let t0;\n  const t1 = isGroupActive ? 1 : openDelay;\n  let t2;\n  $[0] !== closeDelay || $[1] !== isGroupActive || $[2] !== openTooltipId || $[3] !== setIsGroupActive || $[4] !== setOpenTooltipId || $[5] !== t1 ? (t2 = {\n    isGroupActive,\n    setIsGroupActive,\n    openTooltipId,\n    setOpenTooltipId,\n    openDelay: t1,\n    closeDelay\n  }, $[0] = closeDelay, $[1] = isGroupActive, $[2] = openTooltipId, $[3] = setIsGroupActive, $[4] = setOpenTooltipId, $[5] = t1, $[6] = t2) : t2 = $[6], t0 = t2;\n  const value = t0;\n  let t3;\n  return $[7] !== children || $[8] !== value ? (t3 = /* @__PURE__ */ jsx(TooltipDelayGroupContext.Provider, { value, children }), $[7] = children, $[8] = value, $[9] = t3) : t3 = $[9], t3;\n}\nTooltipDelayGroupProvider.displayName = \"TooltipDelayGroupProvider\";\nconst Root$a = styled(Layer)`\n  pointer-events: none;\n`, Tooltip = forwardRef(function(props, forwardedRef) {\n  const boundaryElementContext = useBoundaryElement(), {\n    layer\n  } = useTheme_v2(), {\n    animate: _animate = !1,\n    arrow: arrowProp = !1,\n    boundaryElement = boundaryElementContext?.element,\n    children: childProp,\n    content,\n    disabled,\n    fallbackPlacements: fallbackPlacementsProp = props.fallbackPlacements ?? DEFAULT_FALLBACK_PLACEMENTS[props.placement ?? \"bottom\"],\n    padding = 2,\n    placement: placementProp = \"bottom\",\n    portal: portalProp,\n    radius = 2,\n    scheme,\n    shadow = 2,\n    zOffset = layer.tooltip.zOffset,\n    delay,\n    ...restProps\n  } = props, animate = usePrefersReducedMotion() ? !1 : _animate, fallbackPlacements = useArrayProp(fallbackPlacementsProp), ref = useRef(null), [referenceElement, setReferenceElement] = useState(null), arrowRef = useRef(null), rootBoundary = \"viewport\", [tooltipMaxWidth, setTooltipMaxWidth] = useState(0);\n  useImperativeHandle(forwardedRef, () => ref.current);\n  const portal = usePortal(), portalElement = typeof portalProp == \"string\" ? portal.elements?.[portalProp] || null : portal.element, middleware = useMemo(() => {\n    const ret = [];\n    return ret.push(flip({\n      boundary: boundaryElement || void 0,\n      fallbackPlacements,\n      padding: DEFAULT_TOOLTIP_PADDING,\n      rootBoundary\n    })), ret.push(offset({\n      mainAxis: DEFAULT_TOOLTIP_DISTANCE\n    })), ret.push(shift({\n      boundary: boundaryElement || void 0,\n      rootBoundary,\n      padding: DEFAULT_TOOLTIP_PADDING\n    })), arrowProp && ret.push(arrow({\n      element: arrowRef,\n      padding: DEFAULT_TOOLTIP_PADDING\n    })), animate && ret.push(origin), ret;\n  }, [animate, arrowProp, boundaryElement, fallbackPlacements]), {\n    floatingStyles,\n    placement,\n    middlewareData,\n    refs,\n    update\n  } = useFloating({\n    middleware,\n    placement: placementProp,\n    whileElementsMounted: autoUpdate,\n    elements: {\n      reference: referenceElement\n    }\n  }), arrowX = middlewareData.arrow?.x, arrowY = middlewareData.arrow?.y, originX = middlewareData[\"@sanity/ui/origin\"]?.originX, originY = middlewareData[\"@sanity/ui/origin\"]?.originY, tooltipId = useId(), [isOpen, setIsOpen] = useDelayedState(!1), delayGroupContext = useTooltipDelayGroup(), showTooltip = isOpen || delayGroupContext?.openTooltipId === tooltipId, isInsideGroup = delayGroupContext !== null, openDelayProp = typeof delay == \"number\" ? delay : delay?.open || 0, closeDelayProp = typeof delay == \"number\" ? delay : delay?.close || 0, openDelay = isInsideGroup ? delayGroupContext.openDelay : openDelayProp, closeDelay = isInsideGroup ? delayGroupContext.closeDelay : closeDelayProp, handleIsOpenChange = useCallback((open, immediate) => {\n    if (isInsideGroup)\n      if (open) {\n        const groupedOpenDelay = immediate ? 0 : openDelay;\n        delayGroupContext.setIsGroupActive(open, groupedOpenDelay), delayGroupContext.setOpenTooltipId(tooltipId, groupedOpenDelay);\n      } else {\n        const groupDeactivateDelay = closeDelay > 200 ? closeDelay : 200;\n        delayGroupContext.setIsGroupActive(open, groupDeactivateDelay), delayGroupContext.setOpenTooltipId(null, immediate ? 0 : closeDelay);\n      }\n    else\n      setIsOpen(open, immediate ? 0 : open ? openDelay : closeDelay);\n  }, [isInsideGroup, delayGroupContext, openDelay, tooltipId, closeDelay, setIsOpen]), handleBlur = useCallback((e) => {\n    handleIsOpenChange(!1), childProp?.props?.onBlur?.(e);\n  }, [childProp?.props, handleIsOpenChange]), handleClick = useCallback((e_0) => {\n    handleIsOpenChange(!1, !0), childProp?.props.onClick?.(e_0);\n  }, [childProp?.props, handleIsOpenChange]), handleContextMenu = useCallback((e_1) => {\n    handleIsOpenChange(!1, !0), childProp?.props.onContextMenu?.(e_1);\n  }, [childProp?.props, handleIsOpenChange]), handleFocus = useCallback((e_2) => {\n    handleIsOpenChange(!0), childProp?.props?.onFocus?.(e_2);\n  }, [childProp?.props, handleIsOpenChange]), handleMouseEnter = useCallback((e_3) => {\n    handleIsOpenChange(!0), childProp?.props?.onMouseEnter?.(e_3);\n  }, [childProp?.props, handleIsOpenChange]), handleMouseLeave = useCallback((e_4) => {\n    handleIsOpenChange(!1), childProp?.props?.onMouseLeave?.(e_4);\n  }, [childProp?.props, handleIsOpenChange]);\n  useCloseOnMouseLeave({\n    handleIsOpenChange,\n    referenceElement,\n    showTooltip\n  }), useEffect(() => {\n    disabled && showTooltip && handleIsOpenChange(!1);\n  }, [disabled, handleIsOpenChange, showTooltip]), useEffect(() => {\n    !content && showTooltip && handleIsOpenChange(!1);\n  }, [content, handleIsOpenChange, showTooltip]), useEffect(() => {\n    if (!showTooltip) return;\n    function handleWindowKeyDown(event) {\n      event.key === \"Escape\" && handleIsOpenChange(!1, !0);\n    }\n    return window.addEventListener(\"keydown\", handleWindowKeyDown), () => {\n      window.removeEventListener(\"keydown\", handleWindowKeyDown);\n    };\n  }, [handleIsOpenChange, showTooltip]), useLayoutEffect(() => {\n    const availableWidths = [...boundaryElement ? [boundaryElement.offsetWidth] : [], portalElement?.offsetWidth || document.body.offsetWidth];\n    setTooltipMaxWidth(Math.min(...availableWidths) - DEFAULT_TOOLTIP_PADDING * 2);\n  }, [boundaryElement, portalElement]);\n  const setArrow = useCallback((arrowEl) => {\n    arrowRef.current = arrowEl, update();\n  }, [update]), setFloating = useCallback((node) => {\n    ref.current = node, refs.setFloating(node);\n  }, [refs]), childRef = useRef(null);\n  useImperativeHandle(childProp?.ref, () => childRef.current);\n  const child = useMemo(() => childProp ? cloneElement(childProp, {\n    onBlur: handleBlur,\n    onFocus: handleFocus,\n    onMouseEnter: handleMouseEnter,\n    onMouseLeave: handleMouseLeave,\n    onClick: handleClick,\n    onContextMenu: handleContextMenu,\n    ref: childRef\n  }) : null, [childProp, handleBlur, handleClick, handleContextMenu, handleFocus, handleMouseEnter, handleMouseLeave]);\n  if (useEffect(() => {\n    if (child)\n      return setReferenceElement(childRef.current), () => setReferenceElement(null);\n  }, [child]), !child) return /* @__PURE__ */ jsx(Fragment, {});\n  if (disabled) return child;\n  const tooltip = /* @__PURE__ */ jsx(Root$a, { \"data-ui\": \"Tooltip\", ...restProps, ref: setFloating, style: {\n    ...floatingStyles,\n    maxWidth: tooltipMaxWidth > 0 ? `${tooltipMaxWidth}px` : void 0\n  }, zOffset, children: /* @__PURE__ */ jsx(TooltipCard, { ...restProps, animate, arrow: arrowProp, arrowRef: setArrow, arrowX, arrowY, originX, originY, padding, placement, radius, ref: setFloating, scheme, shadow, children: content }) }), children = showTooltip && (portalProp ? /* @__PURE__ */ jsx(Portal, { __unstable_name: typeof portalProp == \"string\" ? portalProp : void 0, children: tooltip }) : tooltip);\n  return /* @__PURE__ */ jsxs(Fragment, { children: [\n    animate ? /* @__PURE__ */ jsx(AnimatePresence, { children }) : children,\n    child\n  ] });\n});\nTooltip.displayName = \"ForwardRef(Tooltip)\";\nfunction useCloseOnMouseLeave(t0) {\n  const $ = c(7), {\n    handleIsOpenChange,\n    referenceElement,\n    showTooltip\n  } = t0;\n  let t1;\n  $[0] !== handleIsOpenChange || $[1] !== referenceElement ? (t1 = (target, teardown) => {\n    referenceElement && (referenceElement === target || target instanceof Node && referenceElement.contains(target) || (handleIsOpenChange(!1), teardown()));\n  }, $[0] = handleIsOpenChange, $[1] = referenceElement, $[2] = t1) : t1 = $[2];\n  const onMouseMove = useEffectEvent(t1);\n  let t2, t3;\n  $[3] !== onMouseMove || $[4] !== showTooltip ? (t2 = () => {\n    if (!showTooltip)\n      return;\n    const handleMouseMove = (event) => {\n      onMouseMove(event.target, () => window.removeEventListener(\"mousemove\", handleMouseMove));\n    };\n    return window.addEventListener(\"mousemove\", handleMouseMove), () => window.removeEventListener(\"mousemove\", handleMouseMove);\n  }, t3 = [onMouseMove, showTooltip], $[3] = onMouseMove, $[4] = showTooltip, $[5] = t2, $[6] = t3) : (t2 = $[5], t3 = $[6]), useEffect(t2, t3);\n}\nconst Root$9 = styled.div`\n  line-height: 0;\n`, ListBox = styled(Box)`\n  & > ul {\n    list-style: none;\n    padding: 0;\n    margin: 0;\n  }\n`, rotate = keyframes`\n  from {\n    transform: rotate(0deg);\n  }\n\n  to {\n    transform: rotate(360deg);\n  }\n`, AnimatedSpinnerIcon = styled(SpinnerIcon)`\n  animation: ${rotate} 500ms linear infinite;\n`;\nfunction AutocompleteOption(props) {\n  const $ = c(11), {\n    children,\n    id,\n    onSelect,\n    selected,\n    value\n  } = props;\n  let t0;\n  $[0] !== onSelect || $[1] !== value ? (t0 = () => {\n    setTimeout(() => {\n      onSelect(value);\n    }, 0);\n  }, $[0] = onSelect, $[1] = value, $[2] = t0) : t0 = $[2];\n  const handleClick = t0;\n  let t1;\n  $[3] !== handleClick ? (t1 = (event) => {\n    event.key === \"Enter\" && !_isEnterToClickElement(event.currentTarget) && handleClick();\n  }, $[3] = handleClick, $[4] = t1) : t1 = $[4];\n  const handleKeyDown = t1;\n  let t2;\n  return $[5] !== children || $[6] !== handleClick || $[7] !== handleKeyDown || $[8] !== id || $[9] !== selected ? (t2 = /* @__PURE__ */ jsx(\"li\", { \"aria-selected\": selected, \"data-ui\": \"AutocompleteOption\", id, role: \"option\", onClick: handleClick, onKeyDown: handleKeyDown, children }), $[5] = children, $[6] = handleClick, $[7] = handleKeyDown, $[8] = id, $[9] = selected, $[10] = t2) : t2 = $[10], t2;\n}\nfunction autocompleteReducer(state, msg2) {\n  return msg2.type === \"input/change\" ? {\n    ...state,\n    activeValue: null,\n    focused: !0,\n    query: msg2.query\n  } : msg2.type === \"input/focus\" ? {\n    ...state,\n    focused: !0\n  } : msg2.type === \"root/blur\" ? {\n    ...state,\n    focused: !1,\n    query: null\n  } : msg2.type === \"root/clear\" ? {\n    ...state,\n    activeValue: null,\n    query: null,\n    value: null\n  } : msg2.type === \"root/escape\" ? {\n    ...state,\n    focused: !1,\n    query: null\n  } : msg2.type === \"root/open\" ? {\n    ...state,\n    query: state.query || msg2.query\n  } : msg2.type === \"root/setActiveValue\" ? {\n    ...state,\n    activeValue: msg2.value,\n    listFocused: msg2.listFocused || state.listFocused\n  } : msg2.type === \"root/setListFocused\" ? {\n    ...state,\n    listFocused: msg2.listFocused\n  } : msg2.type === \"value/change\" ? {\n    ...state,\n    activeValue: msg2.value,\n    query: null,\n    value: msg2.value\n  } : state;\n}\nconst AUTOCOMPLETE_LISTBOX_IGNORE_KEYS = [\"Control\", \"Shift\", \"Alt\", \"Enter\", \"Home\", \"End\", \"PageUp\", \"PageDown\", \"Meta\", \"Tab\", \"CapsLock\"], AUTOCOMPLETE_POPOVER_PLACEMENT = \"bottom-start\", AUTOCOMPLETE_POPOVER_FALLBACK_PLACEMENTS = [\"bottom-start\", \"top-start\"], DEFAULT_RENDER_VALUE = (value, option) => option ? option.value : value, DEFAULT_FILTER_OPTION = (query, option) => option.value.toLowerCase().indexOf(query.toLowerCase()) > -1, InnerAutocomplete = forwardRef(function(props, forwardedRef) {\n  const {\n    border: border2 = !0,\n    customValidity,\n    disabled,\n    filterOption: filterOptionProp,\n    fontSize: fontSize2 = 2,\n    icon,\n    id,\n    listBox = EMPTY_RECORD,\n    loading,\n    onBlur,\n    onChange,\n    onFocus,\n    onQueryChange,\n    onSelect,\n    openButton,\n    openOnFocus,\n    options: optionsProp,\n    padding: paddingProp = 3,\n    popover = EMPTY_RECORD,\n    prefix,\n    radius = 2,\n    readOnly,\n    relatedElements,\n    renderOption: renderOptionProp,\n    renderPopover,\n    renderValue = DEFAULT_RENDER_VALUE,\n    suffix,\n    value: valueProp,\n    ...restProps\n  } = props, [state, dispatch] = useReducer(autocompleteReducer, {\n    activeValue: valueProp || null,\n    focused: !1,\n    listFocused: !1,\n    query: null,\n    value: valueProp || null\n  }), {\n    activeValue,\n    focused,\n    listFocused,\n    query,\n    value\n  } = state, defaultRenderOption = useCallback(({\n    value: value_0\n  }) => /* @__PURE__ */ jsx(Card, { \"data-as\": \"button\", padding: paddingProp, radius: 2, tone: \"inherit\", children: /* @__PURE__ */ jsx(Text, { size: fontSize2, textOverflow: \"ellipsis\", children: value_0 }) }), [fontSize2, paddingProp]), renderOption = typeof renderOptionProp == \"function\" ? renderOptionProp : defaultRenderOption, filterOption = typeof filterOptionProp == \"function\" ? filterOptionProp : DEFAULT_FILTER_OPTION, rootElementRef = useRef(null), resultsPopoverElementRef = useRef(null), inputElementRef = useRef(null), listBoxElementRef = useRef(null), listFocusedRef = useRef(!1), valueRef = useRef(value), valuePropRef = useRef(valueProp), popoverMouseWithinRef = useRef(!1);\n  useImperativeHandle(forwardedRef, () => inputElementRef.current);\n  const listBoxId = `${id}-listbox`, options = Array.isArray(optionsProp) ? optionsProp : EMPTY_ARRAY, padding = useArrayProp(paddingProp), currentOption = useMemo(() => value !== null ? options.find((o) => o.value === value) : void 0, [options, value]), filteredOptions = useMemo(() => options.filter((option) => query ? filterOption(query, option) : !0), [filterOption, options, query]), filteredOptionsLen = filteredOptions.length, activeItemId = activeValue ? `${id}-option-${activeValue}` : void 0, expanded = query !== null && loading || focused && query !== null, handleRootBlur = useCallback((event) => {\n    setTimeout(() => {\n      if (popoverMouseWithinRef.current)\n        return;\n      const elements = (relatedElements || []).concat(rootElementRef.current ? [rootElementRef.current] : [], resultsPopoverElementRef.current ? [resultsPopoverElementRef.current] : []);\n      let focusInside = !1;\n      if (document.activeElement) {\n        for (const e of elements)\n          if (e === document.activeElement || e.contains(document.activeElement)) {\n            focusInside = !0;\n            break;\n          }\n      }\n      focusInside === !1 && (dispatch({\n        type: \"root/blur\"\n      }), popoverMouseWithinRef.current = !1, onQueryChange && onQueryChange(null), onBlur && onBlur(event));\n    }, 0);\n  }, [onBlur, onQueryChange, relatedElements]), handleRootFocus = useCallback((event_0) => {\n    const listBoxElement = listBoxElementRef.current, focusedElement = event_0.target instanceof HTMLElement ? event_0.target : null, listFocused_0 = listBoxElement?.contains(focusedElement) || !1;\n    listFocused_0 !== listFocusedRef.current && (listFocusedRef.current = listFocused_0, dispatch({\n      type: \"root/setListFocused\",\n      listFocused: listFocused_0\n    }));\n  }, []), handleOptionSelect = useCallback((v) => {\n    dispatch({\n      type: \"value/change\",\n      value: v\n    }), popoverMouseWithinRef.current = !1, onSelect && onSelect(v), valueRef.current = v, onChange && onChange(v), onQueryChange && onQueryChange(null), inputElementRef.current?.focus();\n  }, [onChange, onSelect, onQueryChange]), handleRootKeyDown = useCallback((event_1) => {\n    if (event_1.key === \"ArrowDown\") {\n      if (event_1.preventDefault(), !filteredOptionsLen) return;\n      const activeOption = filteredOptions.find((o_0) => o_0.value === activeValue), activeIndex = activeOption ? filteredOptions.indexOf(activeOption) : -1, nextActiveOption = filteredOptions[(activeIndex + 1) % filteredOptionsLen];\n      nextActiveOption && dispatch({\n        type: \"root/setActiveValue\",\n        value: nextActiveOption.value,\n        listFocused: !0\n      });\n      return;\n    }\n    if (event_1.key === \"ArrowUp\") {\n      if (event_1.preventDefault(), !filteredOptionsLen) return;\n      const activeOption_0 = filteredOptions.find((o_1) => o_1.value === activeValue), activeIndex_0 = activeOption_0 ? filteredOptions.indexOf(activeOption_0) : -1, nextActiveOption_0 = filteredOptions[activeIndex_0 === -1 ? filteredOptionsLen - 1 : (filteredOptionsLen + activeIndex_0 - 1) % filteredOptionsLen];\n      nextActiveOption_0 && dispatch({\n        type: \"root/setActiveValue\",\n        value: nextActiveOption_0.value,\n        listFocused: !0\n      });\n      return;\n    }\n    if (event_1.key === \"Escape\") {\n      dispatch({\n        type: \"root/escape\"\n      }), popoverMouseWithinRef.current = !1, onQueryChange && onQueryChange(null), inputElementRef.current?.focus();\n      return;\n    }\n    const target = event_1.target, listEl = listBoxElementRef.current;\n    if ((listEl === target || listEl?.contains(target)) && !AUTOCOMPLETE_LISTBOX_IGNORE_KEYS.includes(event_1.key)) {\n      inputElementRef.current?.focus();\n      return;\n    }\n  }, [activeValue, filteredOptions, filteredOptionsLen, onQueryChange]), handleInputChange = useCallback((event_2) => {\n    const nextQuery = event_2.currentTarget.value;\n    dispatch({\n      type: \"input/change\",\n      query: nextQuery\n    }), onQueryChange && onQueryChange(nextQuery);\n  }, [onQueryChange]), dispatchOpen = useCallback(() => {\n    dispatch({\n      type: \"root/open\",\n      query: value ? renderValue(value, currentOption) : \"\"\n    });\n  }, [currentOption, renderValue, value]), handleInputFocus = useCallback((event_3) => {\n    focused || (dispatch({\n      type: \"input/focus\"\n    }), onFocus && onFocus(event_3), openOnFocus && dispatchOpen());\n  }, [focused, onFocus, openOnFocus, dispatchOpen]), handlePopoverMouseEnter = useCallback(() => {\n    popoverMouseWithinRef.current = !0;\n  }, []), handlePopoverMouseLeave = useCallback(() => {\n    popoverMouseWithinRef.current = !1;\n  }, []), handleClearButtonClick = useCallback(() => {\n    dispatch({\n      type: \"root/clear\"\n    }), valueRef.current = \"\", onChange && onChange(\"\"), onQueryChange && onQueryChange(null), inputElementRef.current?.focus();\n  }, [onChange, onQueryChange]), handleClearButtonFocus = useCallback(() => {\n    dispatch({\n      type: \"input/focus\"\n    });\n  }, []);\n  useEffect(() => {\n    if (valueProp !== valuePropRef.current) {\n      valuePropRef.current = valueProp, valueProp !== void 0 && (dispatch({\n        type: \"value/change\",\n        value: valueProp\n      }), valueRef.current = valueProp);\n      return;\n    }\n    valueProp !== valueRef.current && (valueRef.current = valueProp || null, dispatch({\n      type: \"value/change\",\n      value: valueProp || null\n    }));\n  }, [valueProp]), useEffect(() => {\n    !focused && valueRef.current && dispatch({\n      type: \"root/setActiveValue\",\n      value: valueRef.current\n    });\n  }, [focused]), useEffect(() => {\n    const listElement = listBoxElementRef.current;\n    if (!listElement) return;\n    const activeOption_1 = filteredOptions.find((o_2) => o_2.value === activeValue);\n    if (activeOption_1) {\n      const activeIndex_1 = filteredOptions.indexOf(activeOption_1), activeItemElement = listElement.childNodes[activeIndex_1];\n      if (activeItemElement) {\n        if (_hasFocus(activeItemElement))\n          return;\n        focusFirstDescendant(activeItemElement);\n      }\n    }\n  }, [activeValue, filteredOptions]);\n  const clearButton = useMemo(() => {\n    if (!loading && !disabled && value)\n      return {\n        \"aria-label\": \"Clear\",\n        onFocus: handleClearButtonFocus\n      };\n  }, [disabled, handleClearButtonFocus, loading, value]), openButtonBoxPadding = useMemo(() => padding.map((v_0) => v_0 === 0 ? 0 : v_0 === 1 || v_0 === 2 ? 1 : v_0 - 2), [padding]), openButtonPadding = useMemo(() => padding.map((v_1) => Math.max(v_1 - 1, 0)), [padding]), openButtonProps = useMemo(() => typeof openButton == \"object\" ? openButton : EMPTY_RECORD, [openButton]), handleOpenClick = useCallback((event_4) => {\n    dispatchOpen(), openButtonProps.onClick && openButtonProps.onClick(event_4), _raf(() => inputElementRef.current?.focus());\n  }, [openButtonProps, dispatchOpen]), openButtonNode = useMemo(() => !disabled && !readOnly && openButton ? /* @__PURE__ */ jsx(Box, { \"aria-hidden\": expanded, padding: openButtonBoxPadding, children: /* @__PURE__ */ jsx(Button, { \"aria-label\": \"Open\", disabled: expanded, fontSize: fontSize2, icon: ChevronDownIcon, mode: \"bleed\", padding: openButtonPadding, ...openButtonProps, onClick: handleOpenClick }) }) : void 0, [disabled, expanded, fontSize2, handleOpenClick, openButton, openButtonBoxPadding, openButtonPadding, openButtonProps, readOnly]), inputValue = useMemo(() => query === null ? value !== null ? renderValue(value, currentOption) : \"\" : query, [currentOption, query, renderValue, value]), input = /* @__PURE__ */ jsx(TextInput, { ...restProps, \"aria-activedescendant\": activeItemId, \"aria-autocomplete\": \"list\", \"aria-expanded\": expanded, \"aria-owns\": listBoxId, autoCapitalize: \"off\", autoComplete: \"off\", autoCorrect: \"off\", border: border2, clearButton, customValidity, disabled, fontSize: fontSize2, icon, iconRight: loading && AnimatedSpinnerIcon, id, inputMode: \"search\", onChange: handleInputChange, onClear: handleClearButtonClick, onFocus: handleInputFocus, padding, prefix, radius, readOnly, ref: inputElementRef, role: \"combobox\", spellCheck: !1, suffix: suffix || openButtonNode, value: inputValue }), handleListBoxKeyDown = useCallback((event_5) => {\n    event_5.key === \"Tab\" && listFocused && inputElementRef.current?.focus();\n  }, [listFocused]), content = useMemo(() => filteredOptions.length === 0 ? null : /* @__PURE__ */ jsx(ListBox, { \"data-ui\": \"AutoComplete__results\", onKeyDown: handleListBoxKeyDown, padding: 1, ...listBox, tabIndex: -1, children: /* @__PURE__ */ jsx(Stack, { as: \"ul\", \"aria-multiselectable\": !1, \"data-ui\": \"AutoComplete__resultsList\", id: listBoxId, ref: listBoxElementRef, role: \"listbox\", space: 1, children: filteredOptions.map((option_0) => {\n    const active = activeValue !== null ? option_0.value === activeValue : currentOption === option_0;\n    return /* @__PURE__ */ jsx(AutocompleteOption, { id: `${id}-option-${option_0.value}`, onSelect: handleOptionSelect, selected: active, value: option_0.value, children: cloneElement(renderOption(option_0), {\n      disabled: loading,\n      selected: active,\n      tabIndex: listFocused && active ? 0 : -1\n    }) }, option_0.value);\n  }) }) }), [activeValue, currentOption, filteredOptions, handleOptionSelect, handleListBoxKeyDown, id, listBox, listBoxId, listFocused, loading, renderOption]), results = useMemo(() => renderPopover ? renderPopover({\n    content,\n    hidden: !expanded,\n    inputElement: inputElementRef.current,\n    onMouseEnter: handlePopoverMouseEnter,\n    onMouseLeave: handlePopoverMouseLeave\n  }, resultsPopoverElementRef) : filteredOptionsLen === 0 ? null : /* @__PURE__ */ jsx(\n    Popover,\n    {\n      arrow: !1,\n      constrainSize: !0,\n      content,\n      fallbackPlacements: AUTOCOMPLETE_POPOVER_FALLBACK_PLACEMENTS,\n      matchReferenceWidth: !0,\n      onMouseEnter: handlePopoverMouseEnter,\n      onMouseLeave: handlePopoverMouseLeave,\n      open: expanded,\n      overflow: \"auto\",\n      placement: AUTOCOMPLETE_POPOVER_PLACEMENT,\n      portal: !0,\n      radius,\n      ref: resultsPopoverElementRef,\n      referenceElement: inputElementRef.current,\n      ...popover\n    }\n  ), [content, expanded, filteredOptionsLen, handlePopoverMouseEnter, handlePopoverMouseLeave, popover, radius, renderPopover]);\n  return /* @__PURE__ */ jsxs(Root$9, { \"data-ui\": \"Autocomplete\", onBlur: handleRootBlur, onFocus: handleRootFocus, onKeyDown: handleRootKeyDown, ref: rootElementRef, children: [\n    input,\n    results\n  ] });\n});\nInnerAutocomplete.displayName = \"ForwardRef(Autocomplete)\";\nconst Autocomplete = InnerAutocomplete, Root$8 = styled.ol`\n  margin: 0;\n  padding: 0;\n  display: flex;\n  list-style: none;\n  align-items: center;\n  white-space: nowrap;\n  line-height: 0;\n`, ExpandButton = styled(Button)`\n  appearance: none;\n  margin: -4px;\n`, Breadcrumbs = forwardRef(function(props, ref) {\n  const {\n    children,\n    maxLength,\n    separator,\n    space: spaceRaw = 2,\n    ...restProps\n  } = props, space = useArrayProp(spaceRaw), [open, setOpen] = useState(!1), expandElementRef = useRef(null), popoverElementRef = useRef(null), collapse = useCallback(() => setOpen(!1), []), expand = useCallback(() => setOpen(!0), []);\n  useClickOutsideEvent(collapse, () => [expandElementRef.current, popoverElementRef.current]);\n  const rawItems = useMemo(() => Children.toArray(children).filter(isValidElement), [children]), items = useMemo(() => {\n    const len = rawItems.length;\n    if (maxLength && len > maxLength) {\n      const beforeLength = Math.ceil(maxLength / 2), afterLength = Math.floor(maxLength / 2);\n      return [...rawItems.slice(0, beforeLength - 1), /* @__PURE__ */ jsx(Popover, { constrainSize: !0, content: /* @__PURE__ */ jsx(Stack, { as: \"ol\", overflow: \"auto\", padding: space, space, children: rawItems.slice(beforeLength - 1, len - afterLength) }), open, placement: \"top\", portal: !0, ref: popoverElementRef, children: /* @__PURE__ */ jsx(ExpandButton, { fontSize: 1, mode: \"bleed\", onClick: open ? collapse : expand, padding: 1, ref: expandElementRef, selected: open, text: \"\\u2026\" }) }, \"button\"), ...rawItems.slice(len - afterLength)];\n    }\n    return rawItems;\n  }, [collapse, expand, maxLength, open, rawItems, space]);\n  return /* @__PURE__ */ jsx(Root$8, { \"data-ui\": \"Breadcrumbs\", ...restProps, ref, children: items.map((item, itemIndex) => /* @__PURE__ */ jsxs(Fragment$1, { children: [\n    itemIndex > 0 && /* @__PURE__ */ jsx(Box, { \"aria-hidden\": !0, as: \"li\", paddingX: space, children: separator || /* @__PURE__ */ jsx(Text, { muted: !0, children: \"/\" }) }),\n    /* @__PURE__ */ jsx(Box, { as: \"li\", children: item })\n  ] }, itemIndex)) });\n});\nBreadcrumbs.displayName = \"ForwardRef(Breadcrumbs)\";\nfunction dialogStyle({\n  theme\n}) {\n  const {\n    color\n  } = getTheme_v2(theme);\n  return {\n    \"&:not([hidden])\": {\n      display: \"flex\"\n    },\n    top: 0,\n    left: 0,\n    right: 0,\n    bottom: 0,\n    alignItems: \"center\",\n    justifyContent: \"center\",\n    outline: \"none\",\n    background: color.backdrop\n  };\n}\nfunction responsiveDialogPositionStyle(props) {\n  const {\n    media\n  } = getTheme_v2(props.theme);\n  return _responsive(media, props.$position, (position) => ({\n    \"&&\": {\n      position\n    }\n  }));\n}\nfunction animationDialogStyle(props) {\n  return props.$animate ? css`\n    @keyframes zoomIn {\n      from {\n        opacity: 0;\n        transform: scale(0.95);\n      }\n      to {\n        opacity: 1;\n        transform: scale(1);\n      }\n    }\n    @keyframes fadeIn {\n      from {\n        opacity: 0;\n      }\n      to {\n        opacity: 1;\n      }\n    }\n\n    animation: fadeIn 200ms ease-out;\n    // Animates the dialog card.\n    & > [data-ui='DialogCard'] {\n      animation: zoomIn 200ms ease-out;\n    }\n  ` : css``;\n}\nconst DialogContext = createGlobalScopedContext(\"@sanity/ui/context/dialog\", {\n  version: 0\n});\nfunction useDialog() {\n  return useContext(DialogContext);\n}\nfunction isTargetWithinScope(boundaryElement, portalElement, target) {\n  return !boundaryElement || !portalElement ? !0 : containsOrEqualsElement(boundaryElement, target) || containsOrEqualsElement(portalElement, target);\n}\nconst Root$7 = styled(Layer)(responsivePaddingStyle, dialogStyle, responsiveDialogPositionStyle, animationDialogStyle), DialogContainer = styled(Container)`\n  &:not([hidden]) {\n    display: flex;\n  }\n  width: 100%;\n  height: 100%;\n  flex-direction: column;\n  align-items: center;\n  justify-content: center;\n`, DialogCardRoot = styled(Card)`\n  &:not([hidden]) {\n    display: flex;\n  }\n  width: 100%;\n  min-height: 0;\n  max-height: 100%;\n  overflow: hidden;\n  overflow: clip;\n`, DialogLayout = styled(Flex)`\n  flex: 1;\n  min-height: 0;\n  width: 100%;\n`, DialogHeader = styled(Box)`\n  position: relative;\n  z-index: 2;\n`, DialogContent = styled(Box)`\n  position: relative;\n  z-index: 1;\n  overflow: auto;\n  outline: none;\n`, DialogFooter = styled(Box)`\n  position: relative;\n  z-index: 3;\n`, DialogCard = forwardRef(function(props, forwardedRef) {\n  const $ = c(38), {\n    __unstable_autoFocus: autoFocus,\n    __unstable_hideCloseButton: hideCloseButton,\n    children,\n    contentRef: forwardedContentRef,\n    footer,\n    header,\n    id,\n    onClickOutside,\n    onClose,\n    portal: portalProp,\n    radius: radiusProp,\n    scheme,\n    shadow: shadowProp,\n    width: widthProp\n  } = props, portal = usePortal(), portalElement = portalProp ? portal.elements?.[portalProp] || null : portal.element, boundaryElement = useBoundaryElement().element, radius = useArrayProp(radiusProp), shadow = useArrayProp(shadowProp), width = useArrayProp(widthProp), ref = useRef(null), contentRef = useRef(null), layer = useLayer(), {\n    isTopLayer\n  } = layer, labelId = `${id}_label`, showCloseButton = !!onClose && hideCloseButton === !1, showHeader = !!header || showCloseButton;\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = () => ref.current, $[0] = t0) : t0 = $[0], useImperativeHandle(forwardedRef, t0);\n  let t1;\n  $[1] === Symbol.for(\"react.memo_cache_sentinel\") ? (t1 = () => contentRef.current, $[1] = t1) : t1 = $[1], useImperativeHandle(forwardedContentRef, t1);\n  let t2, t3;\n  $[2] !== autoFocus ? (t2 = () => {\n    autoFocus && ref.current && focusFirstDescendant(ref.current);\n  }, t3 = [autoFocus, ref], $[2] = autoFocus, $[3] = t2, $[4] = t3) : (t2 = $[3], t3 = $[4]), useEffect(t2, t3);\n  let t4;\n  $[5] !== boundaryElement || $[6] !== isTopLayer || $[7] !== onClose || $[8] !== portalElement ? (t4 = (event) => {\n    if (!isTopLayer || !onClose)\n      return;\n    const target = document.activeElement;\n    target && !isTargetWithinScope(boundaryElement, portalElement, target) || event.key === \"Escape\" && (event.preventDefault(), event.stopPropagation(), onClose());\n  }, $[5] = boundaryElement, $[6] = isTopLayer, $[7] = onClose, $[8] = portalElement, $[9] = t4) : t4 = $[9], useGlobalKeyDown(t4);\n  let t5;\n  $[10] !== boundaryElement || $[11] !== isTopLayer || $[12] !== onClickOutside || $[13] !== portalElement ? (t5 = isTopLayer && onClickOutside && ((event_0) => {\n    const target_0 = event_0.target;\n    target_0 && !isTargetWithinScope(boundaryElement, portalElement, target_0) || onClickOutside();\n  }), $[10] = boundaryElement, $[11] = isTopLayer, $[12] = onClickOutside, $[13] = portalElement, $[14] = t5) : t5 = $[14];\n  let t6;\n  $[15] === Symbol.for(\"react.memo_cache_sentinel\") ? (t6 = () => [ref.current], $[15] = t6) : t6 = $[15], useClickOutsideEvent(t5, t6);\n  let t7;\n  $[16] !== header || $[17] !== labelId || $[18] !== onClose || $[19] !== showCloseButton || $[20] !== showHeader ? (t7 = showHeader && /* @__PURE__ */ jsx(DialogHeader, { children: /* @__PURE__ */ jsxs(Flex, { align: \"flex-start\", padding: 3, children: [\n    /* @__PURE__ */ jsx(Box, { flex: 1, padding: 2, children: header && /* @__PURE__ */ jsx(Text, { id: labelId, size: 1, weight: \"semibold\", children: header }) }),\n    showCloseButton && /* @__PURE__ */ jsx(Box, { flex: \"none\", children: /* @__PURE__ */ jsx(Button, { \"aria-label\": \"Close dialog\", disabled: !onClose, icon: CloseIcon, mode: \"bleed\", onClick: onClose, padding: 2 }) })\n  ] }) }), $[16] = header, $[17] = labelId, $[18] = onClose, $[19] = showCloseButton, $[20] = showHeader, $[21] = t7) : t7 = $[21];\n  let t8;\n  $[22] !== children ? (t8 = /* @__PURE__ */ jsx(DialogContent, { flex: 1, ref: contentRef, tabIndex: -1, children }), $[22] = children, $[23] = t8) : t8 = $[23];\n  let t9;\n  $[24] !== footer ? (t9 = footer && /* @__PURE__ */ jsx(DialogFooter, { children: footer }), $[24] = footer, $[25] = t9) : t9 = $[25];\n  let t10;\n  $[26] !== t7 || $[27] !== t8 || $[28] !== t9 ? (t10 = /* @__PURE__ */ jsxs(DialogLayout, { direction: \"column\", children: [\n    t7,\n    t8,\n    t9\n  ] }), $[26] = t7, $[27] = t8, $[28] = t9, $[29] = t10) : t10 = $[29];\n  let t11;\n  $[30] !== radius || $[31] !== scheme || $[32] !== shadow || $[33] !== t10 ? (t11 = /* @__PURE__ */ jsx(DialogCardRoot, { radius, ref, scheme, shadow, children: t10 }), $[30] = radius, $[31] = scheme, $[32] = shadow, $[33] = t10, $[34] = t11) : t11 = $[34];\n  let t12;\n  return $[35] !== t11 || $[36] !== width ? (t12 = /* @__PURE__ */ jsx(DialogContainer, { \"data-ui\": \"DialogCard\", width, children: t11 }), $[35] = t11, $[36] = width, $[37] = t12) : t12 = $[37], t12;\n});\nDialogCard.displayName = \"ForwardRef(DialogCard)\";\nconst Dialog = forwardRef(function(props, ref) {\n  const $ = c(60), dialog = useDialog(), {\n    layer\n  } = useTheme_v2();\n  let _positionProp, _zOffsetProp, children, contentRef, footer, header, id, onActivate, onClickOutside, onClose, onFocus, portalProp, restProps, scheme, t0, t1, t2, t3, t4, t5, t6;\n  $[0] !== props ? ({\n    __unstable_autoFocus: t0,\n    __unstable_hideCloseButton: t1,\n    cardRadius: t2,\n    cardShadow: t3,\n    children,\n    contentRef,\n    footer,\n    header,\n    id,\n    onActivate,\n    onClickOutside,\n    onClose,\n    onFocus,\n    padding: t4,\n    portal: portalProp,\n    position: _positionProp,\n    scheme,\n    width: t5,\n    zOffset: _zOffsetProp,\n    animate: t6,\n    ...restProps\n  } = props, $[0] = props, $[1] = _positionProp, $[2] = _zOffsetProp, $[3] = children, $[4] = contentRef, $[5] = footer, $[6] = header, $[7] = id, $[8] = onActivate, $[9] = onClickOutside, $[10] = onClose, $[11] = onFocus, $[12] = portalProp, $[13] = restProps, $[14] = scheme, $[15] = t0, $[16] = t1, $[17] = t2, $[18] = t3, $[19] = t4, $[20] = t5, $[21] = t6) : (_positionProp = $[1], _zOffsetProp = $[2], children = $[3], contentRef = $[4], footer = $[5], header = $[6], id = $[7], onActivate = $[8], onClickOutside = $[9], onClose = $[10], onFocus = $[11], portalProp = $[12], restProps = $[13], scheme = $[14], t0 = $[15], t1 = $[16], t2 = $[17], t3 = $[18], t4 = $[19], t5 = $[20], t6 = $[21]);\n  const autoFocus = t0 === void 0 ? !0 : t0, hideCloseButton = t1 === void 0 ? !1 : t1, cardRadiusProp = t2 === void 0 ? 4 : t2, cardShadow = t3 === void 0 ? 3 : t3, paddingProp = t4 === void 0 ? 3 : t4, widthProp = t5 === void 0 ? 0 : t5, _animate = t6 === void 0 ? !1 : t6, positionProp = _positionProp ?? (dialog.position || \"fixed\"), zOffsetProp = _zOffsetProp ?? (dialog.zOffset || layer.dialog.zOffset), animate = usePrefersReducedMotion() ? !1 : _animate, portal = usePortal(), portalElement = portalProp ? portal.elements?.[portalProp] || null : portal.element, boundaryElement = useBoundaryElement().element, cardRadius = useArrayProp(cardRadiusProp), padding = useArrayProp(paddingProp), position = useArrayProp(positionProp), width = useArrayProp(widthProp), zOffset = useArrayProp(zOffsetProp), preDivRef = useRef(null), postDivRef = useRef(null), cardRef = useRef(null), focusedElementRef = useRef(null);\n  let t7;\n  $[22] !== onFocus ? (t7 = (event) => {\n    onFocus?.(event);\n    const target = event.target, cardElement = cardRef.current;\n    if (cardElement && target === preDivRef.current) {\n      focusLastDescendant(cardElement);\n      return;\n    }\n    if (cardElement && target === postDivRef.current) {\n      focusFirstDescendant(cardElement);\n      return;\n    }\n    isHTMLElement(event.target) && (focusedElementRef.current = event.target);\n  }, $[22] = onFocus, $[23] = t7) : t7 = $[23];\n  const handleFocus = t7, labelId = `${id}_label`, rootClickTimeoutRef = useRef(void 0);\n  let t8;\n  $[24] !== boundaryElement || $[25] !== portalElement ? (t8 = () => {\n    rootClickTimeoutRef.current && clearTimeout(rootClickTimeoutRef.current), rootClickTimeoutRef.current = setTimeout(() => {\n      const activeElement = document.activeElement;\n      if (activeElement && !isTargetWithinScope(boundaryElement, portalElement, activeElement)) {\n        const target_0 = focusedElementRef.current;\n        if (!target_0 || !document.body.contains(target_0)) {\n          const cardElement_0 = cardRef.current;\n          cardElement_0 && focusFirstDescendant(cardElement_0);\n          return;\n        }\n        target_0.focus();\n      }\n    }, 0);\n  }, $[24] = boundaryElement, $[25] = portalElement, $[26] = t8) : t8 = $[26];\n  const handleRootClick = t8;\n  let t9;\n  $[27] === Symbol.for(\"react.memo_cache_sentinel\") ? (t9 = /* @__PURE__ */ jsx(\"div\", { ref: preDivRef, tabIndex: 0 }), $[27] = t9) : t9 = $[27];\n  let t10;\n  $[28] !== autoFocus || $[29] !== cardRadius || $[30] !== cardShadow || $[31] !== children || $[32] !== contentRef || $[33] !== footer || $[34] !== header || $[35] !== hideCloseButton || $[36] !== id || $[37] !== onClickOutside || $[38] !== onClose || $[39] !== portalProp || $[40] !== scheme || $[41] !== width ? (t10 = /* @__PURE__ */ jsx(DialogCard, { __unstable_autoFocus: autoFocus, __unstable_hideCloseButton: hideCloseButton, contentRef, footer, header, id, onClickOutside, onClose, portal: portalProp, radius: cardRadius, ref: cardRef, scheme, shadow: cardShadow, width, children }), $[28] = autoFocus, $[29] = cardRadius, $[30] = cardShadow, $[31] = children, $[32] = contentRef, $[33] = footer, $[34] = header, $[35] = hideCloseButton, $[36] = id, $[37] = onClickOutside, $[38] = onClose, $[39] = portalProp, $[40] = scheme, $[41] = width, $[42] = t10) : t10 = $[42];\n  let t11;\n  $[43] === Symbol.for(\"react.memo_cache_sentinel\") ? (t11 = /* @__PURE__ */ jsx(\"div\", { ref: postDivRef, tabIndex: 0 }), $[43] = t11) : t11 = $[43];\n  let t12;\n  $[44] !== animate || $[45] !== handleFocus || $[46] !== handleRootClick || $[47] !== id || $[48] !== labelId || $[49] !== onActivate || $[50] !== padding || $[51] !== position || $[52] !== ref || $[53] !== restProps || $[54] !== t10 || $[55] !== zOffset ? (t12 = /* @__PURE__ */ jsxs(Root$7, { ...restProps, $animate: animate, $padding: padding, $position: position, \"aria-labelledby\": labelId, \"aria-modal\": !0, \"data-ui\": \"Dialog\", id, onActivate, onClick: handleRootClick, onFocus: handleFocus, ref, role: \"dialog\", zOffset, children: [\n    t9,\n    t10,\n    t11\n  ] }), $[44] = animate, $[45] = handleFocus, $[46] = handleRootClick, $[47] = id, $[48] = labelId, $[49] = onActivate, $[50] = padding, $[51] = position, $[52] = ref, $[53] = restProps, $[54] = t10, $[55] = zOffset, $[56] = t12) : t12 = $[56];\n  let t13;\n  return $[57] !== portalProp || $[58] !== t12 ? (t13 = /* @__PURE__ */ jsx(Portal, { __unstable_name: portalProp, children: t12 }), $[57] = portalProp, $[58] = t12, $[59] = t13) : t13 = $[59], t13;\n});\nDialog.displayName = \"ForwardRef(Dialog)\";\nfunction DialogProvider(props) {\n  const $ = c(6), {\n    children,\n    position,\n    zOffset\n  } = props;\n  let t0, t1;\n  $[0] !== position || $[1] !== zOffset ? (t1 = {\n    version: 0,\n    position,\n    zOffset\n  }, $[0] = position, $[1] = zOffset, $[2] = t1) : t1 = $[2], t0 = t1;\n  const contextValue = t0;\n  let t2;\n  return $[3] !== children || $[4] !== contextValue ? (t2 = /* @__PURE__ */ jsx(DialogContext.Provider, { value: contextValue, children }), $[3] = children, $[4] = contextValue, $[5] = t2) : t2 = $[5], t2;\n}\nDialogProvider.displayName = \"DialogProvider\";\nconst Root$6 = styled.kbd`\n  font: inherit;\n  padding: 1px;\n\n  &:not([hidden]) {\n    display: block;\n  }\n`, Key = styled(KBD)`\n  &:not([hidden]) {\n    display: block;\n  }\n`, Hotkeys = forwardRef(function(props, ref) {\n  const $ = c(24);\n  let fontSize2, keys, padding, radius, restProps, t0;\n  $[0] !== props ? ({\n    fontSize: fontSize2,\n    keys,\n    padding,\n    radius,\n    space: t0,\n    ...restProps\n  } = props, $[0] = props, $[1] = fontSize2, $[2] = keys, $[3] = padding, $[4] = radius, $[5] = restProps, $[6] = t0) : (fontSize2 = $[1], keys = $[2], padding = $[3], radius = $[4], restProps = $[5], t0 = $[6]);\n  const space = useArrayProp(t0 === void 0 ? 0.5 : t0);\n  if (!keys || keys.length === 0) {\n    let t12;\n    return $[7] === Symbol.for(\"react.memo_cache_sentinel\") ? (t12 = /* @__PURE__ */ jsx(Fragment, {}), $[7] = t12) : t12 = $[7], t12;\n  }\n  let t1;\n  if ($[8] !== fontSize2 || $[9] !== keys || $[10] !== padding || $[11] !== radius) {\n    let t22;\n    $[13] !== fontSize2 || $[14] !== padding || $[15] !== radius ? (t22 = (key2, i) => /* @__PURE__ */ jsx(Key, { fontSize: fontSize2, padding, radius, children: key2 }, i), $[13] = fontSize2, $[14] = padding, $[15] = radius, $[16] = t22) : t22 = $[16], t1 = keys.map(t22), $[8] = fontSize2, $[9] = keys, $[10] = padding, $[11] = radius, $[12] = t1;\n  } else\n    t1 = $[12];\n  let t2;\n  $[17] !== space || $[18] !== t1 ? (t2 = /* @__PURE__ */ jsx(Inline, { as: \"span\", space, children: t1 }), $[17] = space, $[18] = t1, $[19] = t2) : t2 = $[19];\n  let t3;\n  return $[20] !== ref || $[21] !== restProps || $[22] !== t2 ? (t3 = /* @__PURE__ */ jsx(Root$6, { \"data-ui\": \"Hotkeys\", ...restProps, ref, children: t2 }), $[20] = ref, $[21] = restProps, $[22] = t2, $[23] = t3) : t3 = $[23], t3;\n});\nHotkeys.displayName = \"ForwardRef(Hotkeys)\";\nconst MenuContext = createGlobalScopedContext(\"@sanity/ui/context/menu\", null);\nfunction _isFocusable(element) {\n  return isHTMLAnchorElement(element) && element.getAttribute(\"data-disabled\") !== \"true\" || isHTMLButtonElement(element) && !element.disabled;\n}\nfunction _getFocusableElements(elements) {\n  return elements.filter(_isFocusable);\n}\nfunction _getDOMPath(rootElement, el) {\n  const path = [];\n  let e = el;\n  for (; e !== rootElement; ) {\n    const parentElement = e.parentElement;\n    if (!parentElement) return path;\n    const index = Array.from(parentElement.childNodes).indexOf(e);\n    if (path.unshift(index), parentElement === rootElement)\n      return path;\n    e = parentElement;\n  }\n  return path;\n}\nconst EMPTY_PATH = [];\nfunction _sortElements(rootElement, elements) {\n  if (!rootElement) return;\n  const map = /* @__PURE__ */ new WeakMap();\n  for (const el of elements)\n    map.set(el, _getDOMPath(rootElement, el));\n  const _sort = (a, b) => {\n    const _a = map.get(a) || EMPTY_PATH, _b = map.get(b) || EMPTY_PATH, len = Math.max(_a.length, _b.length);\n    for (let i = 0; i < len; i += 1) {\n      const aIndex = _a[i] || -1, bIndex = _b[i] || -1;\n      if (aIndex !== bIndex)\n        return aIndex - bIndex;\n    }\n    return 0;\n  };\n  elements.sort(_sort);\n}\nfunction useMenuController(props) {\n  const {\n    onKeyDown,\n    originElement,\n    shouldFocus,\n    rootElementRef\n  } = props, elementsRef = useRef([]), [activeIndex, _setActiveIndex] = useState(-1), activeIndexRef = useRef(activeIndex), activeElement = useMemo(() => elementsRef.current[activeIndex] || null, [activeIndex]), mounted = !!rootElementRef.current, setActiveIndex = useCallback((nextActiveIndex) => {\n    _setActiveIndex(nextActiveIndex), activeIndexRef.current = nextActiveIndex;\n  }, []), mount = useCallback((element, selected) => {\n    if (!element) return () => {\n    };\n    if (elementsRef.current.indexOf(element) === -1 && (elementsRef.current.push(element), _sortElements(rootElementRef.current, elementsRef.current)), selected) {\n      const selectedIndex = elementsRef.current.indexOf(element);\n      setActiveIndex(selectedIndex);\n    }\n    return () => {\n      const idx = elementsRef.current.indexOf(element);\n      idx > -1 && elementsRef.current.splice(idx, 1);\n    };\n  }, [rootElementRef, setActiveIndex]), handleKeyDown = useCallback((event) => {\n    if (event.key === \"Tab\") {\n      originElement && originElement.focus();\n      return;\n    }\n    if (event.key === \"Home\") {\n      event.preventDefault(), event.stopPropagation();\n      const el = _getFocusableElements(elementsRef.current)[0];\n      if (!el) return;\n      const currentIndex = elementsRef.current.indexOf(el);\n      setActiveIndex(currentIndex);\n      return;\n    }\n    if (event.key === \"End\") {\n      event.preventDefault(), event.stopPropagation();\n      const focusableElements_0 = _getFocusableElements(elementsRef.current), el_0 = focusableElements_0[focusableElements_0.length - 1];\n      if (!el_0) return;\n      const currentIndex_0 = elementsRef.current.indexOf(el_0);\n      setActiveIndex(currentIndex_0);\n      return;\n    }\n    if (event.key === \"ArrowUp\") {\n      event.preventDefault(), event.stopPropagation();\n      const focusableElements_1 = _getFocusableElements(elementsRef.current), focusableLen = focusableElements_1.length;\n      if (focusableLen === 0) return;\n      const focusedElement = elementsRef.current[activeIndexRef.current];\n      let focusedIndex = focusableElements_1.indexOf(focusedElement);\n      focusedIndex = (focusedIndex - 1 + focusableLen) % focusableLen;\n      const el_1 = focusableElements_1[focusedIndex], currentIndex_1 = elementsRef.current.indexOf(el_1);\n      setActiveIndex(currentIndex_1);\n      return;\n    }\n    if (event.key === \"ArrowDown\") {\n      event.preventDefault(), event.stopPropagation();\n      const focusableElements_2 = _getFocusableElements(elementsRef.current), focusableLen_0 = focusableElements_2.length;\n      if (focusableLen_0 === 0) return;\n      const focusedElement_0 = elementsRef.current[activeIndexRef.current];\n      let focusedIndex_0 = focusableElements_2.indexOf(focusedElement_0);\n      focusedIndex_0 = (focusedIndex_0 + 1) % focusableLen_0;\n      const el_2 = focusableElements_2[focusedIndex_0], currentIndex_2 = elementsRef.current.indexOf(el_2);\n      setActiveIndex(currentIndex_2);\n      return;\n    }\n    onKeyDown && onKeyDown(event);\n  }, [onKeyDown, originElement, setActiveIndex]), handleItemMouseEnter = useCallback((event_0) => {\n    const element_0 = event_0.currentTarget, currentIndex_3 = elementsRef.current.indexOf(element_0);\n    setActiveIndex(currentIndex_3);\n  }, [setActiveIndex]), handleItemMouseLeave = useCallback(() => {\n    setActiveIndex(-2), rootElementRef.current?.focus();\n  }, [rootElementRef, setActiveIndex]);\n  return useEffect(() => {\n    if (!mounted) return;\n    const rafId = requestAnimationFrame(() => {\n      if (activeIndex === -1) {\n        if (shouldFocus === \"first\") {\n          const el_3 = _getFocusableElements(elementsRef.current)[0];\n          if (el_3) {\n            const currentIndex_4 = elementsRef.current.indexOf(el_3);\n            setActiveIndex(currentIndex_4);\n          }\n        }\n        if (shouldFocus === \"last\") {\n          const focusableElements_4 = _getFocusableElements(elementsRef.current), el_4 = focusableElements_4[focusableElements_4.length - 1];\n          if (el_4) {\n            const currentIndex_5 = elementsRef.current.indexOf(el_4);\n            setActiveIndex(currentIndex_5);\n          }\n        }\n        return;\n      }\n      (elementsRef.current[activeIndex] || null)?.focus();\n    });\n    return () => cancelAnimationFrame(rafId);\n  }, [activeIndex, mounted, setActiveIndex, shouldFocus]), {\n    activeElement,\n    activeIndex,\n    handleItemMouseEnter,\n    handleItemMouseLeave,\n    handleKeyDown,\n    mount\n  };\n}\nconst Root$5 = styled(Box)`\n  outline: none;\n  overflow: auto;\n`, Menu = forwardRef(function(props, forwardedRef) {\n  const $ = c(50);\n  let _shouldFocus, children, onClickOutside, onEscape, onItemClick, onItemSelect, onKeyDown, originElement, registerElement, restProps, t0, t1;\n  if ($[0] !== props) {\n    const {\n      children: t22,\n      focusFirst,\n      focusLast,\n      onClickOutside: t32,\n      onEscape: t42,\n      onItemClick: t52,\n      onItemSelect: t62,\n      onKeyDown: t72,\n      originElement: t82,\n      padding: t92,\n      registerElement: t102,\n      shouldFocus: t112,\n      space: t122,\n      ...t132\n    } = props;\n    children = t22, onClickOutside = t32, onEscape = t42, onItemClick = t52, onItemSelect = t62, onKeyDown = t72, originElement = t82, t0 = t92, registerElement = t102, _shouldFocus = t112, t1 = t122, restProps = t132, $[0] = props, $[1] = _shouldFocus, $[2] = children, $[3] = onClickOutside, $[4] = onEscape, $[5] = onItemClick, $[6] = onItemSelect, $[7] = onKeyDown, $[8] = originElement, $[9] = registerElement, $[10] = restProps, $[11] = t0, $[12] = t1;\n  } else\n    _shouldFocus = $[1], children = $[2], onClickOutside = $[3], onEscape = $[4], onItemClick = $[5], onItemSelect = $[6], onKeyDown = $[7], originElement = $[8], registerElement = $[9], restProps = $[10], t0 = $[11], t1 = $[12];\n  const padding = t0 === void 0 ? 1 : t0, space = t1 === void 0 ? 1 : t1, shouldFocus = _shouldFocus ?? (props.focusFirst && \"first\" || props.focusLast && \"last\" || null), ref = useRef(null);\n  let t2;\n  $[13] === Symbol.for(\"react.memo_cache_sentinel\") ? (t2 = () => ref.current, $[13] = t2) : t2 = $[13], useImperativeHandle(forwardedRef, t2);\n  const {\n    isTopLayer\n  } = useLayer();\n  let t3;\n  $[14] !== onKeyDown || $[15] !== originElement || $[16] !== shouldFocus ? (t3 = {\n    onKeyDown,\n    originElement,\n    shouldFocus,\n    rootElementRef: ref\n  }, $[14] = onKeyDown, $[15] = originElement, $[16] = shouldFocus, $[17] = t3) : t3 = $[17];\n  const {\n    activeElement,\n    activeIndex,\n    handleItemMouseEnter,\n    handleItemMouseLeave,\n    handleKeyDown,\n    mount\n  } = useMenuController(t3), unregisterElementRef = useRef(null);\n  let t4;\n  $[18] !== registerElement ? (t4 = (el) => {\n    unregisterElementRef.current && (unregisterElementRef.current(), unregisterElementRef.current = null), ref.current = el, ref.current && registerElement && (unregisterElementRef.current = registerElement(ref.current));\n  }, $[18] = registerElement, $[19] = t4) : t4 = $[19];\n  const handleRefChange = t4;\n  let t5, t6;\n  $[20] !== activeIndex || $[21] !== onItemSelect ? (t5 = () => {\n    onItemSelect && onItemSelect(activeIndex);\n  }, t6 = [activeIndex, onItemSelect], $[20] = activeIndex, $[21] = onItemSelect, $[22] = t5, $[23] = t6) : (t5 = $[22], t6 = $[23]), useEffect(t5, t6);\n  let t7;\n  $[24] === Symbol.for(\"react.memo_cache_sentinel\") ? (t7 = () => [ref.current], $[24] = t7) : t7 = $[24], useClickOutsideEvent(isTopLayer && onClickOutside, t7);\n  let t8;\n  $[25] !== isTopLayer || $[26] !== onEscape ? (t8 = (event) => {\n    isTopLayer && event.key === \"Escape\" && (event.stopPropagation(), onEscape && onEscape());\n  }, $[25] = isTopLayer, $[26] = onEscape, $[27] = t8) : t8 = $[27], useGlobalKeyDown(t8);\n  let t9, t10;\n  $[28] !== activeElement || $[29] !== activeIndex || $[30] !== handleItemMouseEnter || $[31] !== handleItemMouseLeave || $[32] !== mount || $[33] !== onClickOutside || $[34] !== onEscape || $[35] !== onItemClick || $[36] !== registerElement ? (t10 = {\n    version: 0,\n    activeElement,\n    activeIndex,\n    mount,\n    onClickOutside,\n    onEscape,\n    onItemClick,\n    onItemMouseEnter: handleItemMouseEnter,\n    onItemMouseLeave: handleItemMouseLeave,\n    registerElement,\n    onMouseEnter: handleItemMouseEnter,\n    onMouseLeave: handleItemMouseLeave\n  }, $[28] = activeElement, $[29] = activeIndex, $[30] = handleItemMouseEnter, $[31] = handleItemMouseLeave, $[32] = mount, $[33] = onClickOutside, $[34] = onEscape, $[35] = onItemClick, $[36] = registerElement, $[37] = t10) : t10 = $[37], t9 = t10;\n  const value = t9;\n  let t11;\n  $[38] !== children || $[39] !== space ? (t11 = /* @__PURE__ */ jsx(Stack, { space, children }), $[38] = children, $[39] = space, $[40] = t11) : t11 = $[40];\n  let t12;\n  $[41] !== handleKeyDown || $[42] !== handleRefChange || $[43] !== padding || $[44] !== restProps || $[45] !== t11 ? (t12 = /* @__PURE__ */ jsx(Root$5, { \"data-ui\": \"Menu\", ...restProps, onKeyDown: handleKeyDown, padding, ref: handleRefChange, role: \"menu\", tabIndex: -1, children: t11 }), $[41] = handleKeyDown, $[42] = handleRefChange, $[43] = padding, $[44] = restProps, $[45] = t11, $[46] = t12) : t12 = $[46];\n  let t13;\n  return $[47] !== t12 || $[48] !== value ? (t13 = /* @__PURE__ */ jsx(MenuContext.Provider, { value, children: t12 }), $[47] = t12, $[48] = value, $[49] = t13) : t13 = $[49], t13;\n});\nMenu.displayName = \"ForwardRef(Menu)\";\nconst MenuButton = forwardRef(function(props, forwardedRef) {\n  const $ = c(62), {\n    __unstable_disableRestoreFocusOnClose: t0,\n    boundaryElement: deprecated_boundaryElement,\n    button: buttonProp,\n    id,\n    menu: menuProp,\n    onClose,\n    onOpen,\n    placement: deprecated_placement,\n    popoverScheme: deprecated_popoverScheme,\n    portal: t1,\n    popover,\n    popoverRadius: deprecated_popoverRadius,\n    preventOverflow: deprecated_preventOverflow\n  } = props, disableRestoreFocusOnClose = t0 === void 0 ? !1 : t0, deprecated_portal = t1 === void 0 ? !0 : t1, [open, setOpen] = useState(!1), [shouldFocus, setShouldFocus] = useState(null), [buttonElement, setButtonElement] = useState(null);\n  let t2;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t2 = [], $[0] = t2) : t2 = $[0];\n  const [menuElements, setChildMenuElements] = useState(t2), openRef = useRef(open);\n  let t3, t4;\n  $[1] !== onOpen || $[2] !== open ? (t3 = () => {\n    onOpen && open && !openRef.current && onOpen();\n  }, t4 = [onOpen, open], $[1] = onOpen, $[2] = open, $[3] = t3, $[4] = t4) : (t3 = $[3], t4 = $[4]), useEffect(t3, t4);\n  let t5, t6;\n  $[5] !== onClose || $[6] !== open ? (t5 = () => {\n    onClose && !open && openRef.current && onClose();\n  }, t6 = [onClose, open], $[5] = onClose, $[6] = open, $[7] = t5, $[8] = t6) : (t5 = $[7], t6 = $[8]), useEffect(t5, t6);\n  let t7, t8;\n  $[9] !== open ? (t7 = () => {\n    openRef.current = open;\n  }, t8 = [open], $[9] = open, $[10] = t7, $[11] = t8) : (t7 = $[10], t8 = $[11]), useEffect(t7, t8);\n  let t9;\n  $[12] === Symbol.for(\"react.memo_cache_sentinel\") ? (t9 = () => {\n    setOpen(_temp$2), setShouldFocus(null);\n  }, $[12] = t9) : t9 = $[12];\n  const handleButtonClick = t9;\n  let t10;\n  $[13] !== open ? (t10 = (event) => {\n    open && event.preventDefault();\n  }, $[13] = open, $[14] = t10) : t10 = $[14];\n  const handleMouseDown = t10;\n  let t11;\n  $[15] === Symbol.for(\"react.memo_cache_sentinel\") ? (t11 = (event_0) => {\n    if (event_0.key === \"ArrowDown\" || event_0.key === \"Enter\" || event_0.key === \" \") {\n      event_0.preventDefault(), setOpen(!0), setShouldFocus(\"first\");\n      return;\n    }\n    if (event_0.key === \"ArrowUp\") {\n      event_0.preventDefault(), setOpen(!0), setShouldFocus(\"last\");\n      return;\n    }\n  }, $[15] = t11) : t11 = $[15];\n  const handleButtonKeyDown = t11;\n  let t12;\n  $[16] !== buttonElement || $[17] !== menuElements ? (t12 = (event_1) => {\n    const target = event_1.target;\n    if (target instanceof Node && !(buttonElement && (target === buttonElement || buttonElement.contains(target)))) {\n      for (const el of menuElements)\n        if (target === el || el.contains(target))\n          return;\n      setOpen(!1);\n    }\n  }, $[16] = buttonElement, $[17] = menuElements, $[18] = t12) : t12 = $[18];\n  const handleMenuClickOutside = t12;\n  let t13;\n  $[19] !== buttonElement || $[20] !== disableRestoreFocusOnClose ? (t13 = () => {\n    setOpen(!1), !disableRestoreFocusOnClose && buttonElement && buttonElement.focus();\n  }, $[19] = buttonElement, $[20] = disableRestoreFocusOnClose, $[21] = t13) : t13 = $[21];\n  const handleMenuEscape = t13;\n  let t14;\n  $[22] !== menuElements ? (t14 = (event_2) => {\n    const target_0 = event_2.relatedTarget;\n    if (target_0 instanceof Node) {\n      for (const el_0 of menuElements)\n        if (el_0 === target_0 || el_0.contains(target_0))\n          return;\n      setOpen(!1);\n    }\n  }, $[22] = menuElements, $[23] = t14) : t14 = $[23];\n  const handleBlur = t14;\n  let t15;\n  $[24] !== buttonElement || $[25] !== disableRestoreFocusOnClose ? (t15 = () => {\n    setOpen(!1), !disableRestoreFocusOnClose && buttonElement && buttonElement.focus();\n  }, $[24] = buttonElement, $[25] = disableRestoreFocusOnClose, $[26] = t15) : t15 = $[26];\n  const handleItemClick = t15;\n  let t16;\n  $[27] === Symbol.for(\"react.memo_cache_sentinel\") ? (t16 = (el_1) => (setChildMenuElements((els) => els.concat([el_1])), () => setChildMenuElements((els_0) => els_0.filter((_el) => _el !== el_1))), $[27] = t16) : t16 = $[27];\n  const registerElement = t16;\n  let t17;\n  $[28] !== buttonElement || $[29] !== handleBlur || $[30] !== handleItemClick || $[31] !== handleMenuClickOutside || $[32] !== handleMenuEscape || $[33] !== id || $[34] !== menuProp || $[35] !== shouldFocus ? (t17 = menuProp && cloneElement(menuProp, {\n    \"aria-labelledby\": id,\n    onBlurCapture: handleBlur,\n    onClickOutside: handleMenuClickOutside,\n    onEscape: handleMenuEscape,\n    onItemClick: handleItemClick,\n    originElement: buttonElement,\n    registerElement,\n    shouldFocus\n  }), $[28] = buttonElement, $[29] = handleBlur, $[30] = handleItemClick, $[31] = handleMenuClickOutside, $[32] = handleMenuEscape, $[33] = id, $[34] = menuProp, $[35] = shouldFocus, $[36] = t17) : t17 = $[36];\n  const menu = t17;\n  let t18, t19;\n  $[37] !== buttonProp || $[38] !== handleMouseDown || $[39] !== id || $[40] !== open ? (t19 = buttonProp && cloneElement(buttonProp, {\n    \"data-ui\": \"MenuButton\",\n    id,\n    onClick: handleButtonClick,\n    onKeyDown: handleButtonKeyDown,\n    onMouseDown: handleMouseDown,\n    \"aria-haspopup\": !0,\n    \"aria-expanded\": open,\n    ref: setButtonElement,\n    selected: buttonProp.props.selected ?? open\n  }), $[37] = buttonProp, $[38] = handleMouseDown, $[39] = id, $[40] = open, $[41] = t19) : t19 = $[41], t18 = t19;\n  const button = t18;\n  let t20, t21;\n  $[42] !== buttonElement ? (t20 = () => buttonElement, t21 = [buttonElement], $[42] = buttonElement, $[43] = t20, $[44] = t21) : (t20 = $[43], t21 = $[44]), useImperativeHandle(forwardedRef, t20, t21);\n  let t22, t23;\n  $[45] !== popover ? (t23 = popover || {}, $[45] = popover, $[46] = t23) : t23 = $[46];\n  let t24;\n  $[47] !== deprecated_boundaryElement || $[48] !== deprecated_placement || $[49] !== deprecated_popoverRadius || $[50] !== deprecated_popoverScheme || $[51] !== deprecated_portal || $[52] !== deprecated_preventOverflow || $[53] !== t23 ? (t24 = {\n    boundaryElement: deprecated_boundaryElement,\n    overflow: \"auto\",\n    placement: deprecated_placement,\n    portal: deprecated_portal,\n    preventOverflow: deprecated_preventOverflow,\n    radius: deprecated_popoverRadius,\n    scheme: deprecated_popoverScheme,\n    ...t23\n  }, $[47] = deprecated_boundaryElement, $[48] = deprecated_placement, $[49] = deprecated_popoverRadius, $[50] = deprecated_popoverScheme, $[51] = deprecated_portal, $[52] = deprecated_preventOverflow, $[53] = t23, $[54] = t24) : t24 = $[54], t22 = t24;\n  const popoverProps = t22;\n  let t25;\n  $[55] !== button ? (t25 = button || /* @__PURE__ */ jsx(Fragment, {}), $[55] = button, $[56] = t25) : t25 = $[56];\n  let t26;\n  return $[57] !== menu || $[58] !== open || $[59] !== popoverProps || $[60] !== t25 ? (t26 = /* @__PURE__ */ jsx(Popover, { \"data-ui\": \"MenuButton__popover\", ...popoverProps, content: menu, open, children: t25 }), $[57] = menu, $[58] = open, $[59] = popoverProps, $[60] = t25, $[61] = t26) : t26 = $[61], t26;\n});\nMenuButton.displayName = \"ForwardRef(MenuButton)\";\nfunction _temp$2(v) {\n  return !v;\n}\nconst MenuDivider = styled.hr`\n  height: 1px;\n  border: 0;\n  background: var(--card-hairline-soft-color);\n  margin: 0;\n`;\nMenuDivider.displayName = \"MenuDivider\";\nfunction selectableBaseStyle() {\n  return css`\n    background-color: inherit;\n    color: inherit;\n\n    &[data-as='button'] {\n      -webkit-font-smoothing: inherit;\n      appearance: none;\n      outline: none;\n      font: inherit;\n      text-align: inherit;\n      border: 0;\n      width: -moz-available;\n      width: -webkit-fill-available;\n      width: stretch;\n    }\n\n    /* &:is(a) */\n    &[data-as='a'] {\n      text-decoration: none;\n    }\n  `;\n}\nfunction selectableColorStyle(props) {\n  const {\n    $tone\n  } = props, {\n    color,\n    style\n  } = getTheme_v2(props.theme), tone = color.selectable[$tone];\n  return css`\n    ${_cardColorStyle(color, tone.enabled)}\n\n    background-color: var(--card-bg-color);\n    color: var(--card-fg-color);\n    outline: none;\n\n    /* &:is(button) */\n    &[data-as='button'] {\n      &:disabled {\n        ${_cardColorStyle(color, tone.disabled)}\n      }\n\n      &:not(:disabled) {\n        &[aria-pressed='true'] {\n          ${_cardColorStyle(color, tone.pressed)}\n        }\n\n        &[data-selected],\n        &[aria-selected='true'] > & {\n          ${_cardColorStyle(color, tone.selected)}\n        }\n\n        @media (hover: hover) {\n          &:not([data-selected]) {\n            &[data-hovered],\n            &:hover {\n              ${_cardColorStyle(color, tone.hovered)}\n            }\n\n            &:active {\n              ${_cardColorStyle(color, tone.pressed)}\n            }\n          }\n        }\n      }\n    }\n\n    /* &:is(a) */\n    &[data-as='a'] {\n      &[data-disabled] {\n        ${_cardColorStyle(color, tone.disabled)}\n      }\n\n      &:not([data-disabled]) {\n        &[data-pressed] {\n          ${_cardColorStyle(color, tone.pressed)}\n        }\n\n        &[data-selected] {\n          ${_cardColorStyle(color, tone.selected)}\n        }\n\n        @media (hover: hover) {\n          &:not([data-selected]) {\n            &[data-hovered],\n            &:hover {\n              ${_cardColorStyle(color, tone.hovered)}\n            }\n            &:active {\n              ${_cardColorStyle(color, tone.pressed)}\n            }\n          }\n        }\n      }\n    }\n\n    ${style?.card?.root}\n  `;\n}\nconst Selectable = styled(Box)(responsiveRadiusStyle, selectableBaseStyle, selectableColorStyle);\nSelectable.displayName = \"Selectable\";\nfunction useMenu() {\n  const value = useContext(MenuContext);\n  if (!value)\n    throw new Error(\"useMenu(): missing context value\");\n  if (!isRecord(value) || value.version !== 0)\n    throw new Error(\"useMenu(): the context value is not compatible\");\n  return value;\n}\nfunction MenuGroup(props) {\n  const $ = c(77);\n  let IconComponent, children, onClick, popover, restProps, t0, t1, t2, t3, t4, t5, text;\n  $[0] !== props ? ({\n    as: t0,\n    children,\n    fontSize: t1,\n    icon: IconComponent,\n    onClick,\n    padding: t2,\n    popover,\n    radius: t3,\n    space: t4,\n    text,\n    tone: t5,\n    ...restProps\n  } = props, $[0] = props, $[1] = IconComponent, $[2] = children, $[3] = onClick, $[4] = popover, $[5] = restProps, $[6] = t0, $[7] = t1, $[8] = t2, $[9] = t3, $[10] = t4, $[11] = t5, $[12] = text) : (IconComponent = $[1], children = $[2], onClick = $[3], popover = $[4], restProps = $[5], t0 = $[6], t1 = $[7], t2 = $[8], t3 = $[9], t4 = $[10], t5 = $[11], text = $[12]);\n  const as = t0 === void 0 ? \"button\" : t0, fontSize2 = t1 === void 0 ? 1 : t1, padding = t2 === void 0 ? 3 : t2, radius = t3 === void 0 ? 2 : t3, space = t4 === void 0 ? 3 : t4, tone = t5 === void 0 ? \"default\" : t5, menu = useMenu(), {\n    scheme\n  } = useRootTheme(), {\n    activeElement,\n    mount,\n    onClickOutside,\n    onEscape,\n    onItemClick,\n    onItemMouseEnter: _onItemMouseEnter,\n    registerElement\n  } = menu, onItemMouseEnter = _onItemMouseEnter ?? menu.onMouseEnter, [rootElement, setRootElement] = useState(null), [open, setOpen] = useState(!1), [shouldFocus, setShouldFocus] = useState(null), active = !!activeElement && activeElement === rootElement, [withinMenu, setWithinMenu] = useState(!1);\n  let t6;\n  $[13] !== onItemMouseEnter ? (t6 = (event) => {\n    setWithinMenu(!1), onItemMouseEnter(event), setOpen(!0);\n  }, $[13] = onItemMouseEnter, $[14] = t6) : t6 = $[14];\n  const handleMouseEnter = t6;\n  let t7;\n  $[15] !== rootElement ? (t7 = (event_0) => {\n    event_0.key === \"ArrowLeft\" && (event_0.stopPropagation(), setOpen(!1), requestAnimationFrame(() => {\n      rootElement?.focus();\n    }));\n  }, $[15] = rootElement, $[16] = t7) : t7 = $[16];\n  const handleMenuKeyDown = t7;\n  let t8;\n  $[17] !== onClick ? (t8 = (event_1) => {\n    onClick?.(event_1), setShouldFocus(\"first\"), setOpen(!0);\n  }, $[17] = onClick, $[18] = t8) : t8 = $[18];\n  const handleClick = t8;\n  let t9;\n  $[19] !== onItemClick ? (t9 = () => {\n    setOpen(!1), onItemClick?.();\n  }, $[19] = onItemClick, $[20] = t9) : t9 = $[20];\n  const handleChildItemClick = t9;\n  let t10;\n  $[21] === Symbol.for(\"react.memo_cache_sentinel\") ? (t10 = () => setWithinMenu(!0), $[21] = t10) : t10 = $[21];\n  const handleMenuMouseEnter = t10;\n  let t11, t12;\n  $[22] !== mount || $[23] !== rootElement ? (t11 = () => mount(rootElement), t12 = [mount, rootElement], $[22] = mount, $[23] = rootElement, $[24] = t11, $[25] = t12) : (t11 = $[24], t12 = $[25]), useEffect(t11, t12);\n  let t13, t14;\n  $[26] !== active ? (t13 = () => {\n    active || setOpen(!1);\n  }, t14 = [active], $[26] = active, $[27] = t13, $[28] = t14) : (t13 = $[27], t14 = $[28]), useEffect(t13, t14);\n  let t15, t16;\n  $[29] !== open ? (t15 = () => {\n    open || setWithinMenu(!1);\n  }, t16 = [open], $[29] = open, $[30] = t15, $[31] = t16) : (t15 = $[30], t16 = $[31]), useEffect(t15, t16);\n  let t17, t18;\n  $[32] !== shouldFocus ? (t17 = () => {\n    if (!shouldFocus)\n      return;\n    const rafId = requestAnimationFrame(() => setShouldFocus(null));\n    return () => cancelAnimationFrame(rafId);\n  }, t18 = [shouldFocus], $[32] = shouldFocus, $[33] = t17, $[34] = t18) : (t17 = $[33], t18 = $[34]), useEffect(t17, t18);\n  let t19;\n  $[35] !== children || $[36] !== handleChildItemClick || $[37] !== handleMenuKeyDown || $[38] !== onClickOutside || $[39] !== onEscape || $[40] !== registerElement || $[41] !== shouldFocus ? (t19 = /* @__PURE__ */ jsx(Menu, { onClickOutside, onEscape, onItemClick: handleChildItemClick, onKeyDown: handleMenuKeyDown, onMouseEnter: handleMenuMouseEnter, registerElement, shouldFocus, children }), $[35] = children, $[36] = handleChildItemClick, $[37] = handleMenuKeyDown, $[38] = onClickOutside, $[39] = onEscape, $[40] = registerElement, $[41] = shouldFocus, $[42] = t19) : t19 = $[42];\n  const childMenu = t19;\n  let t20;\n  $[43] === Symbol.for(\"react.memo_cache_sentinel\") ? (t20 = (event_2) => {\n    const target = event_2.currentTarget;\n    if (document.activeElement === target && event_2.key === \"ArrowRight\") {\n      setShouldFocus(\"first\"), setOpen(!0), setWithinMenu(!0);\n      return;\n    }\n  }, $[43] = t20) : t20 = $[43];\n  const handleKeyDown = t20, t21 = as === \"button\" ? withinMenu : void 0, t22 = as !== \"button\" ? withinMenu : void 0, t23 = !withinMenu && active ? \"\" : void 0, t24 = useArrayProp(radius), t25 = as === \"button\" ? \"button\" : void 0;\n  let t26;\n  $[44] !== IconComponent || $[45] !== fontSize2 ? (t26 = IconComponent && /* @__PURE__ */ jsxs(Text, { size: fontSize2, children: [\n    isValidElement(IconComponent) && IconComponent,\n    isValidElementType(IconComponent) && /* @__PURE__ */ jsx(IconComponent, {})\n  ] }), $[44] = IconComponent, $[45] = fontSize2, $[46] = t26) : t26 = $[46];\n  let t27;\n  $[47] !== fontSize2 || $[48] !== text ? (t27 = /* @__PURE__ */ jsx(Box, { flex: 1, children: /* @__PURE__ */ jsx(Text, { size: fontSize2, textOverflow: \"ellipsis\", weight: \"medium\", children: text }) }), $[47] = fontSize2, $[48] = text, $[49] = t27) : t27 = $[49];\n  let t28;\n  $[50] === Symbol.for(\"react.memo_cache_sentinel\") ? (t28 = /* @__PURE__ */ jsx(ChevronRightIcon, {}), $[50] = t28) : t28 = $[50];\n  let t29;\n  $[51] !== fontSize2 ? (t29 = /* @__PURE__ */ jsx(Text, { size: fontSize2, children: t28 }), $[51] = fontSize2, $[52] = t29) : t29 = $[52];\n  let t30;\n  $[53] !== padding || $[54] !== space || $[55] !== t26 || $[56] !== t27 || $[57] !== t29 ? (t30 = /* @__PURE__ */ jsxs(Flex, { gap: space, padding, children: [\n    t26,\n    t27,\n    t29\n  ] }), $[53] = padding, $[54] = space, $[55] = t26, $[56] = t27, $[57] = t29, $[58] = t30) : t30 = $[58];\n  let t31;\n  $[59] !== as || $[60] !== handleClick || $[61] !== handleMouseEnter || $[62] !== restProps || $[63] !== scheme || $[64] !== t21 || $[65] !== t22 || $[66] !== t23 || $[67] !== t24 || $[68] !== t25 || $[69] !== t30 || $[70] !== tone ? (t31 = /* @__PURE__ */ jsx(Selectable, { \"data-as\": as, \"data-ui\": \"MenuGroup\", forwardedAs: as, ...restProps, \"aria-pressed\": t21, \"data-pressed\": t22, \"data-selected\": t23, $radius: t24, $tone: tone, $scheme: scheme, onClick: handleClick, onKeyDown: handleKeyDown, onMouseEnter: handleMouseEnter, ref: setRootElement, tabIndex: -1, type: t25, children: t30 }), $[59] = as, $[60] = handleClick, $[61] = handleMouseEnter, $[62] = restProps, $[63] = scheme, $[64] = t21, $[65] = t22, $[66] = t23, $[67] = t24, $[68] = t25, $[69] = t30, $[70] = tone, $[71] = t31) : t31 = $[71];\n  let t32;\n  return $[72] !== childMenu || $[73] !== open || $[74] !== popover || $[75] !== t31 ? (t32 = /* @__PURE__ */ jsx(Popover, { ...popover, content: childMenu, \"data-ui\": \"MenuGroup__popover\", open, children: t31 }), $[72] = childMenu, $[73] = open, $[74] = popover, $[75] = t31, $[76] = t32) : t32 = $[76], t32;\n}\nMenuGroup.displayName = \"MenuGroup\";\nconst MenuItem = forwardRef(function(props, forwardedRef) {\n  const $ = c(74);\n  let IconComponent, IconRightComponent, children, disabled, hotkeys, onClick, paddingBottom, paddingLeft, paddingRight, paddingTop, paddingX, paddingY, pressed, restProps, selectedProp, t0, t1, t2, t3, t4, t5, text;\n  $[0] !== props ? ({\n    as: t0,\n    children,\n    disabled,\n    fontSize: t1,\n    hotkeys,\n    icon: IconComponent,\n    iconRight: IconRightComponent,\n    onClick,\n    padding: t2,\n    paddingX,\n    paddingY,\n    paddingTop,\n    paddingRight,\n    paddingBottom,\n    paddingLeft,\n    pressed,\n    radius: t3,\n    selected: selectedProp,\n    space: t4,\n    text,\n    tone: t5,\n    ...restProps\n  } = props, $[0] = props, $[1] = IconComponent, $[2] = IconRightComponent, $[3] = children, $[4] = disabled, $[5] = hotkeys, $[6] = onClick, $[7] = paddingBottom, $[8] = paddingLeft, $[9] = paddingRight, $[10] = paddingTop, $[11] = paddingX, $[12] = paddingY, $[13] = pressed, $[14] = restProps, $[15] = selectedProp, $[16] = t0, $[17] = t1, $[18] = t2, $[19] = t3, $[20] = t4, $[21] = t5, $[22] = text) : (IconComponent = $[1], IconRightComponent = $[2], children = $[3], disabled = $[4], hotkeys = $[5], onClick = $[6], paddingBottom = $[7], paddingLeft = $[8], paddingRight = $[9], paddingTop = $[10], paddingX = $[11], paddingY = $[12], pressed = $[13], restProps = $[14], selectedProp = $[15], t0 = $[16], t1 = $[17], t2 = $[18], t3 = $[19], t4 = $[20], t5 = $[21], text = $[22]);\n  const as = t0 === void 0 ? \"button\" : t0, fontSize2 = t1 === void 0 ? 1 : t1, padding = t2 === void 0 ? 3 : t2, radius = t3 === void 0 ? 2 : t3, space = t4 === void 0 ? 3 : t4, tone = t5 === void 0 ? \"default\" : t5, {\n    scheme\n  } = useRootTheme(), menu = useMenu(), {\n    activeElement,\n    mount,\n    onItemClick,\n    onItemMouseEnter: _onItemMouseEnter,\n    onItemMouseLeave: _onItemMouseLeave\n  } = menu, onItemMouseEnter = _onItemMouseEnter ?? menu.onMouseEnter, onItemMouseLeave = _onItemMouseLeave ?? menu.onMouseLeave, [rootElement, setRootElement] = useState(null), active = !!activeElement && activeElement === rootElement, ref = useRef(null);\n  let t6;\n  $[23] === Symbol.for(\"react.memo_cache_sentinel\") ? (t6 = () => ref.current, $[23] = t6) : t6 = $[23], useImperativeHandle(forwardedRef, t6);\n  let t7, t8;\n  $[24] !== mount || $[25] !== rootElement || $[26] !== selectedProp ? (t7 = () => mount(rootElement, selectedProp), t8 = [mount, rootElement, selectedProp], $[24] = mount, $[25] = rootElement, $[26] = selectedProp, $[27] = t7, $[28] = t8) : (t7 = $[27], t8 = $[28]), useEffect(t7, t8);\n  let t9;\n  $[29] !== disabled || $[30] !== onClick || $[31] !== onItemClick ? (t9 = (event) => {\n    disabled || (onClick && onClick(event), onItemClick && onItemClick());\n  }, $[29] = disabled, $[30] = onClick, $[31] = onItemClick, $[32] = t9) : t9 = $[32];\n  const handleClick = t9;\n  let t10, t11;\n  $[33] !== padding || $[34] !== paddingBottom || $[35] !== paddingLeft || $[36] !== paddingRight || $[37] !== paddingTop || $[38] !== paddingX || $[39] !== paddingY ? (t11 = {\n    padding,\n    paddingX,\n    paddingY,\n    paddingTop,\n    paddingRight,\n    paddingBottom,\n    paddingLeft\n  }, $[33] = padding, $[34] = paddingBottom, $[35] = paddingLeft, $[36] = paddingRight, $[37] = paddingTop, $[38] = paddingX, $[39] = paddingY, $[40] = t11) : t11 = $[40], t10 = t11;\n  const paddingProps = t10, t12 = useArrayProp(fontSize2);\n  let t13;\n  $[41] !== t12 ? (t13 = t12.map(_temp$1), $[41] = t12, $[42] = t13) : t13 = $[42];\n  const hotkeysFontSize = t13;\n  let t14;\n  $[43] === Symbol.for(\"react.memo_cache_sentinel\") ? (t14 = (el) => {\n    ref.current = el, setRootElement(el);\n  }, $[43] = t14) : t14 = $[43];\n  const setRef = t14, t15 = as === \"button\" && pressed, t16 = as !== \"button\" && pressed ? \"\" : void 0, t17 = active ? \"\" : void 0, t18 = disabled ? \"\" : void 0, t19 = useArrayProp(radius), t20 = useArrayProp(0), t21 = disabled ? \"default\" : tone, t22 = as === \"button\" ? \"button\" : void 0;\n  let t23;\n  $[44] !== IconComponent || $[45] !== IconRightComponent || $[46] !== fontSize2 || $[47] !== hotkeys || $[48] !== hotkeysFontSize || $[49] !== paddingProps || $[50] !== space || $[51] !== text ? (t23 = (IconComponent || text || IconRightComponent) && /* @__PURE__ */ jsxs(Flex, { as: \"span\", gap: space, align: \"center\", ...paddingProps, children: [\n    IconComponent && /* @__PURE__ */ jsxs(Text, { size: fontSize2, children: [\n      isValidElement(IconComponent) && IconComponent,\n      isValidElementType(IconComponent) && /* @__PURE__ */ jsx(IconComponent, {})\n    ] }),\n    text && /* @__PURE__ */ jsx(Box, { flex: 1, children: /* @__PURE__ */ jsx(Text, { size: fontSize2, textOverflow: \"ellipsis\", weight: \"medium\", children: text }) }),\n    hotkeys && /* @__PURE__ */ jsx(Hotkeys, { fontSize: hotkeysFontSize, keys: hotkeys, style: {\n      marginTop: -4,\n      marginBottom: -4\n    } }),\n    IconRightComponent && /* @__PURE__ */ jsxs(Text, { size: fontSize2, children: [\n      isValidElement(IconRightComponent) && IconRightComponent,\n      isValidElementType(IconRightComponent) && /* @__PURE__ */ jsx(IconRightComponent, {})\n    ] })\n  ] }), $[44] = IconComponent, $[45] = IconRightComponent, $[46] = fontSize2, $[47] = hotkeys, $[48] = hotkeysFontSize, $[49] = paddingProps, $[50] = space, $[51] = text, $[52] = t23) : t23 = $[52];\n  let t24;\n  $[53] !== children || $[54] !== paddingProps ? (t24 = children && /* @__PURE__ */ jsx(Box, { as: \"span\", ...paddingProps, children }), $[53] = children, $[54] = paddingProps, $[55] = t24) : t24 = $[55];\n  let t25;\n  return $[56] !== as || $[57] !== disabled || $[58] !== handleClick || $[59] !== onItemMouseEnter || $[60] !== onItemMouseLeave || $[61] !== restProps || $[62] !== scheme || $[63] !== t15 || $[64] !== t16 || $[65] !== t17 || $[66] !== t18 || $[67] !== t19 || $[68] !== t20 || $[69] !== t21 || $[70] !== t22 || $[71] !== t23 || $[72] !== t24 ? (t25 = /* @__PURE__ */ jsxs(Selectable, { \"data-ui\": \"MenuItem\", role: \"menuitem\", ...restProps, \"aria-pressed\": t15, \"data-pressed\": t16, \"data-selected\": t17, \"data-disabled\": t18, forwardedAs: as, $radius: t19, $padding: t20, $tone: t21, $scheme: scheme, disabled, onClick: handleClick, onMouseEnter: onItemMouseEnter, onMouseLeave: onItemMouseLeave, ref: setRef, tabIndex: -1, type: t22, children: [\n    t23,\n    t24\n  ] }), $[56] = as, $[57] = disabled, $[58] = handleClick, $[59] = onItemMouseEnter, $[60] = onItemMouseLeave, $[61] = restProps, $[62] = scheme, $[63] = t15, $[64] = t16, $[65] = t17, $[66] = t18, $[67] = t19, $[68] = t20, $[69] = t21, $[70] = t22, $[71] = t23, $[72] = t24, $[73] = t25) : t25 = $[73], t25;\n});\nMenuItem.displayName = \"ForwardRef(MenuItem)\";\nfunction _temp$1(s) {\n  return s - 1;\n}\nconst keyframe = keyframes`\n  0% {\n    background-position: 100%;\n  }\n  100% {\n    background-position: -100%;\n  }\n`, animation = css`\n  background-image: linear-gradient(\n    to right,\n    var(--card-skeleton-color-from),\n    var(--card-skeleton-color-to),\n    var(--card-skeleton-color-from),\n    var(--card-skeleton-color-from),\n    var(--card-skeleton-color-from)\n  );\n  background-position: 100%;\n  background-size: 200% 100%;\n  background-attachment: fixed;\n  animation-name: ${keyframe};\n  animation-timing-function: ease-in-out;\n  animation-iteration-count: infinite;\n  animation-duration: 2000ms;\n`, skeletonStyle = css`\n  opacity: ${({\n  $visible\n}) => $visible ? 1 : 0};\n  transition: opacity 200ms ease-in;\n\n  @media screen and (prefers-reduced-motion: no-preference) {\n    ${({\n  $animated\n}) => $animated ? animation : css`\n            background-color: var(--card-skeleton-color-from);\n          `}\n  }\n\n  @media screen and (prefers-reduced-motion: reduce) {\n    background-color: var(--card-skeleton-color-from);\n  }\n`, Root$4 = styled(Box)(responsiveRadiusStyle, skeletonStyle), Skeleton = forwardRef(function(props, ref) {\n  const $ = c(14);\n  let delay, radius, restProps, t0;\n  $[0] !== props ? ({\n    animated: t0,\n    delay,\n    radius,\n    ...restProps\n  } = props, $[0] = props, $[1] = delay, $[2] = radius, $[3] = restProps, $[4] = t0) : (delay = $[1], radius = $[2], restProps = $[3], t0 = $[4]);\n  const animated = t0 === void 0 ? !1 : t0, [visible, setVisible] = useState(!delay);\n  let t1, t2;\n  $[5] !== delay ? (t1 = () => {\n    if (!delay)\n      return setVisible(!0);\n    const timeout = setTimeout(() => {\n      setVisible(!0);\n    }, delay);\n    return () => {\n      clearTimeout(timeout);\n    };\n  }, t2 = [delay], $[5] = delay, $[6] = t1, $[7] = t2) : (t1 = $[6], t2 = $[7]), useEffect(t1, t2);\n  const t3 = useArrayProp(radius);\n  let t4;\n  return $[8] !== animated || $[9] !== ref || $[10] !== restProps || $[11] !== t3 || $[12] !== visible ? (t4 = /* @__PURE__ */ jsx(Root$4, { ...restProps, $animated: animated, $radius: t3, $visible: visible, ref }), $[8] = animated, $[9] = ref, $[10] = restProps, $[11] = t3, $[12] = visible, $[13] = t4) : t4 = $[13], t4;\n});\nSkeleton.displayName = \"ForwardRef(Skeleton)\";\nconst Root$3 = styled(Skeleton)((props) => {\n  const {\n    $size,\n    $style\n  } = props, {\n    font,\n    media\n  } = getTheme_v2(props.theme), fontStyle = font[$style];\n  return _responsive(media, $size, (sizeIndex) => {\n    const fontSize2 = fontStyle.sizes[sizeIndex];\n    return {\n      height: fontSize2.lineHeight - fontSize2.ascenderHeight - fontSize2.descenderHeight\n    };\n  });\n}), TextSkeleton = forwardRef(function(props, ref) {\n  const $ = c(7);\n  let restProps, t0;\n  $[0] !== props ? ({\n    size: t0,\n    ...restProps\n  } = props, $[0] = props, $[1] = restProps, $[2] = t0) : (restProps = $[1], t0 = $[2]);\n  const $size = useArrayProp(t0 === void 0 ? 2 : t0);\n  let t1;\n  return $[3] !== $size || $[4] !== ref || $[5] !== restProps ? (t1 = /* @__PURE__ */ jsx(Root$3, { ...restProps, $size, ref, $style: \"text\" }), $[3] = $size, $[4] = ref, $[5] = restProps, $[6] = t1) : t1 = $[6], t1;\n});\nTextSkeleton.displayName = \"ForwardRef(TextSkeleton)\";\nconst LabelSkeleton = forwardRef(function(props, ref) {\n  const $ = c(7);\n  let restProps, t0;\n  $[0] !== props ? ({\n    size: t0,\n    ...restProps\n  } = props, $[0] = props, $[1] = restProps, $[2] = t0) : (restProps = $[1], t0 = $[2]);\n  const $size = useArrayProp(t0 === void 0 ? 2 : t0);\n  let t1;\n  return $[3] !== $size || $[4] !== ref || $[5] !== restProps ? (t1 = /* @__PURE__ */ jsx(Root$3, { ...restProps, $size, ref, $style: \"label\" }), $[3] = $size, $[4] = ref, $[5] = restProps, $[6] = t1) : t1 = $[6], t1;\n});\nLabelSkeleton.displayName = \"ForwardRef(LabelSkeleton)\";\nconst HeadingSkeleton = forwardRef(function(props, ref) {\n  const $ = c(7);\n  let restProps, t0;\n  $[0] !== props ? ({\n    size: t0,\n    ...restProps\n  } = props, $[0] = props, $[1] = restProps, $[2] = t0) : (restProps = $[1], t0 = $[2]);\n  const $size = useArrayProp(t0 === void 0 ? 2 : t0);\n  let t1;\n  return $[3] !== $size || $[4] !== ref || $[5] !== restProps ? (t1 = /* @__PURE__ */ jsx(Root$3, { ...restProps, $size, ref, $style: \"heading\" }), $[3] = $size, $[4] = ref, $[5] = restProps, $[6] = t1) : t1 = $[6], t1;\n});\nHeadingSkeleton.displayName = \"ForwardRef(HeadingSkeleton)\";\nconst CodeSkeleton = forwardRef(function(props, ref) {\n  const $ = c(7);\n  let restProps, t0;\n  $[0] !== props ? ({\n    size: t0,\n    ...restProps\n  } = props, $[0] = props, $[1] = restProps, $[2] = t0) : (restProps = $[1], t0 = $[2]);\n  const $size = useArrayProp(t0 === void 0 ? 2 : t0);\n  let t1;\n  return $[3] !== $size || $[4] !== ref || $[5] !== restProps ? (t1 = /* @__PURE__ */ jsx(Root$3, { ...restProps, $size, ref, $style: \"code\" }), $[3] = $size, $[4] = ref, $[5] = restProps, $[6] = t1) : t1 = $[6], t1;\n});\nCodeSkeleton.displayName = \"ForwardRef(CodeSkeleton)\";\nconst CustomButton = styled(Button)`\n  max-width: 100%;\n`, Tab = forwardRef(function(props, forwardedRef) {\n  const $ = c(30);\n  let focused, icon, id, label, onClick, onFocus, restProps, selected, t0, t1;\n  $[0] !== props ? ({\n    icon,\n    id,\n    focused,\n    fontSize: t0,\n    label,\n    onClick,\n    onFocus,\n    padding: t1,\n    selected,\n    ...restProps\n  } = props, $[0] = props, $[1] = focused, $[2] = icon, $[3] = id, $[4] = label, $[5] = onClick, $[6] = onFocus, $[7] = restProps, $[8] = selected, $[9] = t0, $[10] = t1) : (focused = $[1], icon = $[2], id = $[3], label = $[4], onClick = $[5], onFocus = $[6], restProps = $[7], selected = $[8], t0 = $[9], t1 = $[10]);\n  const fontSize2 = t0 === void 0 ? 1 : t0, padding = t1 === void 0 ? 2 : t1, ref = useRef(null), focusedRef = useRef(!1);\n  let t2;\n  $[11] === Symbol.for(\"react.memo_cache_sentinel\") ? (t2 = () => ref.current, $[11] = t2) : t2 = $[11], useImperativeHandle(forwardedRef, t2);\n  let t3;\n  $[12] === Symbol.for(\"react.memo_cache_sentinel\") ? (t3 = () => {\n    focusedRef.current = !1;\n  }, $[12] = t3) : t3 = $[12];\n  const handleBlur = t3;\n  let t4;\n  $[13] !== onFocus ? (t4 = (event) => {\n    focusedRef.current = !0, onFocus && onFocus(event);\n  }, $[13] = onFocus, $[14] = t4) : t4 = $[14];\n  const handleFocus = t4;\n  let t5, t6;\n  $[15] !== focused ? (t5 = () => {\n    focused && !focusedRef.current && (ref.current && ref.current.focus(), focusedRef.current = !0);\n  }, t6 = [focused], $[15] = focused, $[16] = t5, $[17] = t6) : (t5 = $[16], t6 = $[17]), useEffect(t5, t6);\n  const t7 = selected ? \"true\" : \"false\", t8 = selected ? 0 : -1;\n  let t9;\n  return $[18] !== fontSize2 || $[19] !== handleFocus || $[20] !== icon || $[21] !== id || $[22] !== label || $[23] !== onClick || $[24] !== padding || $[25] !== restProps || $[26] !== selected || $[27] !== t7 || $[28] !== t8 ? (t9 = /* @__PURE__ */ jsx(CustomButton, { \"data-ui\": \"Tab\", ...restProps, \"aria-selected\": t7, fontSize: fontSize2, icon, id, mode: \"bleed\", onClick, onBlur: handleBlur, onFocus: handleFocus, padding, ref, role: \"tab\", selected, tabIndex: t8, text: label, type: \"button\" }), $[18] = fontSize2, $[19] = handleFocus, $[20] = icon, $[21] = id, $[22] = label, $[23] = onClick, $[24] = padding, $[25] = restProps, $[26] = selected, $[27] = t7, $[28] = t8, $[29] = t9) : t9 = $[29], t9;\n});\nTab.displayName = \"ForwardRef(Tab)\";\nconst CustomInline = styled(Inline)`\n  & > div {\n    display: inline-block;\n    vertical-align: middle;\n    max-width: 100%;\n    box-sizing: border-box;\n  }\n`, TabList = forwardRef(function(props, ref) {\n  const $ = c(15);\n  let childrenProp, restProps;\n  $[0] !== props ? ({\n    children: childrenProp,\n    ...restProps\n  } = props, $[0] = props, $[1] = childrenProp, $[2] = restProps) : (childrenProp = $[1], restProps = $[2]);\n  const [focusedIndex, setFocusedIndex] = useState(-1);\n  let t0;\n  if ($[3] !== childrenProp || $[4] !== focusedIndex) {\n    const children = Children.toArray(childrenProp).filter(isValidElement);\n    let t12;\n    $[6] !== focusedIndex ? (t12 = (child, childIndex) => cloneElement(child, {\n      focused: focusedIndex === childIndex,\n      key: childIndex,\n      onFocus: () => setFocusedIndex(childIndex)\n    }), $[6] = focusedIndex, $[7] = t12) : t12 = $[7], t0 = children.map(t12), $[3] = childrenProp, $[4] = focusedIndex, $[5] = t0;\n  } else\n    t0 = $[5];\n  const tabs = t0, numTabs = tabs.length;\n  let t1;\n  $[8] !== numTabs ? (t1 = (event) => {\n    event.key === \"ArrowLeft\" && setFocusedIndex((prevIndex) => (prevIndex + numTabs - 1) % numTabs), event.key === \"ArrowRight\" && setFocusedIndex((prevIndex_0) => (prevIndex_0 + 1) % numTabs);\n  }, $[8] = numTabs, $[9] = t1) : t1 = $[9];\n  const handleKeyDown = t1;\n  let t2;\n  return $[10] !== handleKeyDown || $[11] !== ref || $[12] !== restProps || $[13] !== tabs ? (t2 = /* @__PURE__ */ jsx(CustomInline, { \"data-ui\": \"TabList\", ...restProps, onKeyDown: handleKeyDown, ref, role: \"tablist\", children: tabs }), $[10] = handleKeyDown, $[11] = ref, $[12] = restProps, $[13] = tabs, $[14] = t2) : t2 = $[14], t2;\n});\nTabList.displayName = \"ForwardRef(TabList)\";\nconst TabPanel = forwardRef(function(props, ref) {\n  const $ = c(9);\n  let flex, restProps;\n  $[0] !== props ? ({\n    flex,\n    ...restProps\n  } = props, $[0] = props, $[1] = flex, $[2] = restProps) : (flex = $[1], restProps = $[2]);\n  const t0 = props.tabIndex === void 0 ? 0 : props.tabIndex;\n  let t1;\n  return $[3] !== flex || $[4] !== props.children || $[5] !== ref || $[6] !== restProps || $[7] !== t0 ? (t1 = /* @__PURE__ */ jsx(Box, { \"data-ui\": \"TabPanel\", ...restProps, flex, ref, role: \"tabpanel\", tabIndex: t0, children: props.children }), $[3] = flex, $[4] = props.children, $[5] = ref, $[6] = restProps, $[7] = t0, $[8] = t1) : t1 = $[8], t1;\n});\nTabPanel.displayName = \"ForwardRef(TabPanel)\";\nconst TextBox = styled(Flex)`\n  overflow-x: auto;\n`, loadingAnimation = keyframes`\n  0% {\n    width: 0;\n  }\n  100% {\n    width: 100%;\n  }\n`, LOADING_BAR_HEIGHT = 2;\nfunction rootStyles(props) {\n  const {\n    color\n  } = getTheme_v2$1(props.theme), loadingBarColor = color.button.default[props.tone].enabled.bg;\n  return props.$duration ? css`\n    pointer-events: all;\n    width: 100%;\n    position: relative;\n    overflow: hidden;\n    overflow: clip;\n    padding-bottom: ${LOADING_BAR_HEIGHT}px;\n    &::before {\n      content: '';\n      position: absolute;\n      bottom: 0px;\n      height: ${LOADING_BAR_HEIGHT}px;\n      background: ${loadingBarColor};\n      animation-name: ${loadingAnimation};\n      animation-duration: ${props.$duration}ms;\n      animation-fill-mode: both;\n    }\n\n    & > * {\n      opacity: var(${POPOVER_MOTION_CONTENT_OPACITY_PROPERTY}, 1);\n      will-change: opacity;\n    }\n  ` : css`\n      pointer-events: all;\n      & > * {\n        opacity: var(${POPOVER_MOTION_CONTENT_OPACITY_PROPERTY}, 1);\n        will-change: opacity;\n      }\n    `;\n}\nconst STATUS_CARD_TONE = {\n  error: \"critical\",\n  warning: \"caution\",\n  success: \"positive\",\n  info: \"neutral\"\n}, BUTTON_TONE = {\n  error: \"critical\",\n  warning: \"caution\",\n  success: \"positive\",\n  info: \"neutral\"\n}, ROLES = {\n  error: \"alert\",\n  warning: \"alert\",\n  success: \"alert\",\n  info: \"alert\"\n}, Root$2 = styled(Card)(rootStyles);\nfunction Toast(props) {\n  const $ = c(30);\n  let closable, description, duration, onClose, restProps, status, t0, title;\n  $[0] !== props ? ({\n    closable,\n    description,\n    duration,\n    onClose,\n    radius: t0,\n    title,\n    status,\n    ...restProps\n  } = props, $[0] = props, $[1] = closable, $[2] = description, $[3] = duration, $[4] = onClose, $[5] = restProps, $[6] = status, $[7] = t0, $[8] = title) : (closable = $[1], description = $[2], duration = $[3], onClose = $[4], restProps = $[5], status = $[6], t0 = $[7], title = $[8]);\n  const radius = t0 === void 0 ? 3 : t0, cardTone = status ? STATUS_CARD_TONE[status] : \"default\", buttonTone = status ? BUTTON_TONE[status] : \"default\", role = status ? ROLES[status] : \"status\";\n  let t1;\n  $[9] !== title ? (t1 = title && /* @__PURE__ */ jsx(Text, { size: 1, weight: \"medium\", children: title }), $[9] = title, $[10] = t1) : t1 = $[10];\n  let t2;\n  $[11] !== description ? (t2 = description && /* @__PURE__ */ jsx(Text, { muted: !0, size: 1, children: description }), $[11] = description, $[12] = t2) : t2 = $[12];\n  let t3;\n  $[13] !== t1 || $[14] !== t2 ? (t3 = /* @__PURE__ */ jsx(TextBox, { flex: 1, padding: 3, children: /* @__PURE__ */ jsxs(Stack, { space: 3, children: [\n    t1,\n    t2\n  ] }) }), $[13] = t1, $[14] = t2, $[15] = t3) : t3 = $[15];\n  let t4;\n  $[16] !== buttonTone || $[17] !== closable || $[18] !== onClose ? (t4 = closable && /* @__PURE__ */ jsx(Box, { padding: 1, children: /* @__PURE__ */ jsx(Button, { as: \"button\", icon: CloseIcon, mode: \"bleed\", padding: 2, tone: buttonTone, onClick: onClose, style: {\n    verticalAlign: \"top\"\n  } }) }), $[16] = buttonTone, $[17] = closable, $[18] = onClose, $[19] = t4) : t4 = $[19];\n  let t5;\n  $[20] !== t3 || $[21] !== t4 ? (t5 = /* @__PURE__ */ jsxs(Flex, { align: \"flex-start\", children: [\n    t3,\n    t4\n  ] }), $[20] = t3, $[21] = t4, $[22] = t5) : t5 = $[22];\n  let t6;\n  return $[23] !== cardTone || $[24] !== duration || $[25] !== radius || $[26] !== restProps || $[27] !== role || $[28] !== t5 ? (t6 = /* @__PURE__ */ jsx(Root$2, { \"data-ui\": \"Toast\", role, ...restProps, marginTop: 3, radius, shadow: 2, tone: cardTone, $duration: duration, children: t5 }), $[23] = cardTone, $[24] = duration, $[25] = radius, $[26] = restProps, $[27] = role, $[28] = t5, $[29] = t6) : t6 = $[29], t6;\n}\nToast.displayName = \"Toast\";\nfunction useMounted() {\n  return useSyncExternalStore(subscribe, _temp, _temp2);\n}\nfunction _temp2() {\n  return !1;\n}\nfunction _temp() {\n  return !0;\n}\nconst subscribe = () => () => {\n}, ToastContext = createGlobalScopedContext(\"@sanity/ui/context/toast\", null);\nlet toastId = 0;\nfunction generateToastId() {\n  return String(toastId++);\n}\nconst Root$1 = styled(Layer)`\n  position: fixed;\n  top: 0;\n  left: 0;\n  right: 0;\n  bottom: 0;\n  pointer-events: none;\n`, ToastContainer = styled.div`\n  box-sizing: border-box;\n  position: absolute;\n  right: 0;\n  bottom: 0;\n  max-width: 420px;\n  width: 100%;\n`;\nfunction ToastProvider(props) {\n  const $ = c(24), {\n    children,\n    padding: t0,\n    paddingX,\n    paddingY,\n    zOffset\n  } = props, padding = t0 === void 0 ? 4 : t0;\n  let t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t1 = [], $[0] = t1) : t1 = $[0];\n  const [state, _setState] = useState(t1);\n  let t2;\n  $[1] === Symbol.for(\"react.memo_cache_sentinel\") ? (t2 = {}, $[1] = t2) : t2 = $[1];\n  const toastsRef = useRef(t2), mounted = useMounted(), prefersReducedMotion = usePrefersReducedMotion();\n  let t3, t4, t5;\n  $[2] === Symbol.for(\"react.memo_cache_sentinel\") ? (t4 = {\n    opacity: 0,\n    [POPOVER_MOTION_CONTENT_OPACITY_PROPERTY]: 0,\n    y: 32,\n    scale: 0.25,\n    willChange: \"transform\"\n  }, t5 = [0, 1, 1], $[2] = t4, $[3] = t5) : (t4 = $[2], t5 = $[3]);\n  let t6, t7;\n  $[4] === Symbol.for(\"react.memo_cache_sentinel\") ? (t6 = {\n    opacity: t5,\n    [POPOVER_MOTION_CONTENT_OPACITY_PROPERTY]: [0, 0, 1],\n    y: 0,\n    scale: 1\n  }, t7 = [1, 1, 0], $[4] = t6, $[5] = t7) : (t6 = $[4], t7 = $[5]);\n  let t8;\n  $[6] === Symbol.for(\"react.memo_cache_sentinel\") ? (t8 = [1, 0, 0], $[6] = t8) : t8 = $[6];\n  const t9 = prefersReducedMotion ? 0 : 0.2;\n  let t10;\n  $[7] !== t9 ? (t10 = {\n    initial: t4,\n    animate: t6,\n    exit: {\n      opacity: t7,\n      [POPOVER_MOTION_CONTENT_OPACITY_PROPERTY]: t8,\n      scale: 0.5,\n      transition: {\n        duration: t9\n      }\n    }\n  }, $[7] = t9, $[8] = t10) : t10 = $[8], t3 = t10;\n  const variants = t3;\n  let t11, t12;\n  $[9] === Symbol.for(\"react.memo_cache_sentinel\") ? (t12 = {\n    version: 0,\n    push: (params) => {\n      const setState = (state_0) => startTransition(() => _setState(state_0)), id = params.id || generateToastId(), duration = params.duration || 5e3, dismiss = () => {\n        const timeoutId = toastsRef.current[id]?.timeoutId;\n        setState((prevState) => {\n          const idx = prevState.findIndex((t) => t.id === id);\n          if (idx > -1) {\n            const toasts = prevState.slice(0);\n            return toasts.splice(idx, 1), toasts;\n          }\n          return prevState;\n        }), timeoutId !== void 0 && (clearTimeout(timeoutId), delete toastsRef.current[id]);\n      };\n      return setState((prevState_0) => prevState_0.filter((t_0) => t_0.id !== id).concat([{\n        dismiss,\n        id,\n        params: {\n          ...params,\n          duration\n        }\n      }])), toastsRef.current[id] && (clearTimeout(toastsRef.current[id].timeoutId), delete toastsRef.current[id]), toastsRef.current[id] = {\n        timeoutId: setTimeout(dismiss, duration)\n      }, id;\n    }\n  }, $[9] = t12) : t12 = $[9], t11 = t12;\n  const value = t11;\n  let t13, t14;\n  $[10] === Symbol.for(\"react.memo_cache_sentinel\") ? (t13 = () => () => {\n    for (const {\n      timeoutId: timeoutId_0\n    } of Object.values(toastsRef.current))\n      clearTimeout(timeoutId_0);\n    toastsRef.current = {};\n  }, t14 = [], $[10] = t13, $[11] = t14) : (t13 = $[10], t14 = $[11]), useEffect(t13, t14);\n  let t15;\n  $[12] !== mounted || $[13] !== padding || $[14] !== paddingX || $[15] !== paddingY || $[16] !== prefersReducedMotion || $[17] !== state || $[18] !== variants || $[19] !== zOffset ? (t15 = mounted && /* @__PURE__ */ jsx(Root$1, { \"data-ui\": \"ToastProvider\", zOffset, children: /* @__PURE__ */ jsx(ToastContainer, { children: /* @__PURE__ */ jsx(Box, { padding, paddingX, paddingY, children: /* @__PURE__ */ jsx(AnimatePresence, { initial: !1, children: state.map((t162) => {\n    const {\n      dismiss: dismiss_0,\n      id: id_0,\n      params: params_0\n    } = t162;\n    return /* @__PURE__ */ jsx(motion.div, { layout: \"position\", initial: \"initial\", animate: \"animate\", exit: \"exit\", variants, transition: prefersReducedMotion ? {\n      duration: 0\n    } : {\n      type: \"spring\",\n      damping: 30,\n      stiffness: 400\n    }, children: /* @__PURE__ */ jsx(Toast, { closable: params_0.closable, description: params_0.description, onClose: dismiss_0, status: params_0.status, title: params_0.title, duration: params_0.duration }) }, id_0);\n  }) }) }) }) }), $[12] = mounted, $[13] = padding, $[14] = paddingX, $[15] = paddingY, $[16] = prefersReducedMotion, $[17] = state, $[18] = variants, $[19] = zOffset, $[20] = t15) : t15 = $[20];\n  let t16;\n  return $[21] !== children || $[22] !== t15 ? (t16 = /* @__PURE__ */ jsxs(ToastContext.Provider, { value, children: [\n    children,\n    t15\n  ] }), $[21] = children, $[22] = t15, $[23] = t16) : t16 = $[23], t16;\n}\nToastProvider.displayName = \"ToastProvider\";\nfunction useToast() {\n  const value = useContext(ToastContext);\n  if (!value)\n    throw new Error(\"useToast(): missing context value\");\n  if (!isRecord(value) || value.version !== 0)\n    throw new Error(\"useToast(): the context value is not compatible\");\n  return value;\n}\nfunction _findPrevItemElement(state, itemElements, focusedElement) {\n  const idx = itemElements.indexOf(focusedElement), els = itemElements.slice(0, idx), len = els.length;\n  for (let i = len - 1; i >= 0; i -= 1) {\n    const itemKey = els[i].getAttribute(\"data-tree-key\");\n    if (!itemKey)\n      continue;\n    const segments = itemKey.split(\"/\");\n    segments.pop();\n    const p = [];\n    let expanded = !0;\n    for (let j = 0; j < segments.length; j += 1) {\n      p.push(segments[j]);\n      const k = p.join(\"/\");\n      if (!state[k]?.expanded) {\n        expanded = !1;\n        break;\n      }\n    }\n    if (expanded)\n      return els[i];\n  }\n  return null;\n}\nfunction _findNextItemElement(state, itemElements, focusedElement) {\n  const idx = itemElements.indexOf(focusedElement), els = itemElements.slice(idx), len = itemElements.length;\n  for (let i = 1; i < len; i += 1) {\n    if (!els[i])\n      continue;\n    const itemKey = els[i].getAttribute(\"data-tree-key\");\n    if (!itemKey)\n      continue;\n    const segments = itemKey.split(\"/\");\n    segments.pop();\n    const p = [];\n    let expanded = !0;\n    for (let j = 0; j < segments.length; j += 1) {\n      p.push(segments[j]);\n      const k = p.join(\"/\");\n      if (!state[k]?.expanded) {\n        expanded = !1;\n        break;\n      }\n    }\n    if (expanded)\n      return els[i];\n  }\n  return null;\n}\nfunction _focusItemElement(el) {\n  if (el.getAttribute(\"role\") === \"treeitem\" && el.focus(), el.getAttribute(\"role\") === \"none\") {\n    const firstChild = el.firstChild;\n    firstChild && firstChild instanceof HTMLElement && firstChild.focus();\n  }\n}\nconst TreeContext = createGlobalScopedContext(\"@sanity/ui/context/tree\", null), Tree = memo(forwardRef(function(props, forwardedRef) {\n  const $ = c(37);\n  let children, onFocus, restProps, t0;\n  $[0] !== props ? ({\n    children,\n    space: t0,\n    onFocus,\n    ...restProps\n  } = props, $[0] = props, $[1] = children, $[2] = onFocus, $[3] = restProps, $[4] = t0) : (children = $[1], onFocus = $[2], restProps = $[3], t0 = $[4]);\n  const space = t0 === void 0 ? 1 : t0, ref = useRef(null), [focusedElement, setFocusedElement] = useState(null), focusedElementRef = useRef(focusedElement);\n  let t1, t2;\n  $[5] === Symbol.for(\"react.memo_cache_sentinel\") ? (t2 = [], $[5] = t2) : t2 = $[5], t1 = t2;\n  const path = t1;\n  let t3;\n  $[6] === Symbol.for(\"react.memo_cache_sentinel\") ? (t3 = [], $[6] = t3) : t3 = $[6];\n  const [itemElements, setItemElements] = useState(t3);\n  let t4;\n  $[7] === Symbol.for(\"react.memo_cache_sentinel\") ? (t4 = {}, $[7] = t4) : t4 = $[7];\n  const [state, setState] = useState(t4), stateRef = useRef(state);\n  let t5;\n  $[8] === Symbol.for(\"react.memo_cache_sentinel\") ? (t5 = () => ref.current, $[8] = t5) : t5 = $[8], useImperativeHandle(forwardedRef, t5);\n  let t6, t7;\n  $[9] !== focusedElement ? (t6 = () => {\n    focusedElementRef.current = focusedElement;\n  }, t7 = [focusedElement], $[9] = focusedElement, $[10] = t6, $[11] = t7) : (t6 = $[10], t7 = $[11]), useEffect(t6, t7);\n  let t8, t9;\n  $[12] !== state ? (t8 = () => {\n    stateRef.current = state;\n  }, t9 = [state], $[12] = state, $[13] = t8, $[14] = t9) : (t8 = $[13], t9 = $[14]), useEffect(t8, t9);\n  let t10;\n  $[15] === Symbol.for(\"react.memo_cache_sentinel\") ? (t10 = (element, path_0, expanded, selected) => (setState((s) => ({\n    ...s,\n    [path_0]: {\n      element,\n      expanded\n    }\n  })), selected && setFocusedElement(element), () => {\n    setState((s_0) => {\n      const newState = {\n        ...s_0\n      };\n      return delete newState[path_0], newState;\n    });\n  }), $[15] = t10) : t10 = $[15];\n  const registerItem = t10;\n  let t11;\n  $[16] === Symbol.for(\"react.memo_cache_sentinel\") ? (t11 = (path_1, expanded_0) => {\n    setState((s_1) => {\n      const itemState = s_1[path_1];\n      return itemState ? {\n        ...s_1,\n        [path_1]: {\n          ...itemState,\n          expanded: expanded_0\n        }\n      } : s_1;\n    });\n  }, $[16] = t11) : t11 = $[16];\n  const setExpanded = t11;\n  let t12;\n  const t13 = focusedElement || itemElements[0] || null;\n  let t14;\n  $[17] !== space || $[18] !== state || $[19] !== t13 ? (t14 = {\n    version: 0,\n    focusedElement: t13,\n    level: 0,\n    path,\n    registerItem,\n    setExpanded,\n    setFocusedElement,\n    space,\n    state\n  }, $[17] = space, $[18] = state, $[19] = t13, $[20] = t14) : t14 = $[20], t12 = t14;\n  const contextValue = t12;\n  let t15;\n  $[21] !== itemElements ? (t15 = (event) => {\n    if (focusedElementRef.current) {\n      if (event.key === \"ArrowDown\") {\n        event.preventDefault();\n        const nextEl = _findNextItemElement(stateRef.current, itemElements, focusedElementRef.current);\n        nextEl && (_focusItemElement(nextEl), setFocusedElement(nextEl));\n        return;\n      }\n      if (event.key === \"ArrowUp\") {\n        event.preventDefault();\n        const prevEl = _findPrevItemElement(stateRef.current, itemElements, focusedElementRef.current);\n        prevEl && (_focusItemElement(prevEl), setFocusedElement(prevEl));\n        return;\n      }\n      if (event.key === \"ArrowLeft\") {\n        event.preventDefault();\n        const itemKey = focusedElementRef.current.getAttribute(\"data-tree-key\");\n        if (!itemKey)\n          return;\n        const itemState_0 = stateRef.current[itemKey];\n        if (!itemState_0)\n          return;\n        if (itemState_0.expanded)\n          setState((s_2) => {\n            const itemState_1 = s_2[itemKey];\n            return itemState_1 ? {\n              ...s_2,\n              [itemKey]: {\n                ...itemState_1,\n                expanded: !1\n              }\n            } : s_2;\n          });\n        else {\n          const itemPath = itemKey.split(\"/\");\n          itemPath.pop();\n          const parentKey = itemPath.join(\"/\"), parentState = parentKey && stateRef.current[parentKey];\n          parentState && (parentState.element.focus(), setFocusedElement(parentState.element));\n        }\n        return;\n      }\n      if (event.key === \"ArrowRight\") {\n        event.preventDefault();\n        const focusedKey = focusedElementRef.current.getAttribute(\"data-tree-key\");\n        if (!focusedKey)\n          return;\n        stateRef.current[focusedKey]?.expanded || setState((s_3) => {\n          const itemState_2 = s_3[focusedKey];\n          return itemState_2 ? {\n            ...s_3,\n            [focusedKey]: {\n              ...itemState_2,\n              expanded: !0\n            }\n          } : s_3;\n        });\n        return;\n      }\n    }\n  }, $[21] = itemElements, $[22] = t15) : t15 = $[22];\n  const handleKeyDown = t15;\n  let t16;\n  $[23] !== onFocus ? (t16 = (event_0) => {\n    setFocusedElement(event_0.target), onFocus?.(event_0);\n  }, $[23] = onFocus, $[24] = t16) : t16 = $[24];\n  const handleFocus = t16;\n  let t17;\n  $[25] === Symbol.for(\"react.memo_cache_sentinel\") ? (t17 = () => {\n    if (!ref.current)\n      return;\n    const _itemElements = Array.from(ref.current.querySelectorAll('[data-ui=\"TreeItem\"]'));\n    setItemElements(_itemElements);\n  }, $[25] = t17) : t17 = $[25];\n  let t18;\n  $[26] !== children ? (t18 = [children], $[26] = children, $[27] = t18) : t18 = $[27], useEffect(t17, t18);\n  let t19;\n  $[28] !== children || $[29] !== handleFocus || $[30] !== handleKeyDown || $[31] !== restProps || $[32] !== space ? (t19 = /* @__PURE__ */ jsx(Stack, { as: \"ul\", \"data-ui\": \"Tree\", ...restProps, onFocus: handleFocus, onKeyDown: handleKeyDown, ref, role: \"tree\", space, children }), $[28] = children, $[29] = handleFocus, $[30] = handleKeyDown, $[31] = restProps, $[32] = space, $[33] = t19) : t19 = $[33];\n  let t20;\n  return $[34] !== contextValue || $[35] !== t19 ? (t20 = /* @__PURE__ */ jsx(TreeContext.Provider, { value: contextValue, children: t19 }), $[34] = contextValue, $[35] = t19, $[36] = t20) : t20 = $[36], t20;\n}));\nTree.displayName = \"Memo(ForwardRef(Tree))\";\nfunction treeItemRootStyle() {\n  return css`\n    &[role='none'] > [role='treeitem'] {\n      outline: none;\n      cursor: default;\n      border-radius: 3px;\n\n      background-color: var(--card-bg-color);\n      color: var(--treeitem-fg-color);\n\n      &:focus {\n        position: relative;\n      }\n    }\n\n    &[role='treeitem'] {\n      outline: none;\n\n      & > div {\n        cursor: default;\n        border-radius: 3px;\n\n        background-color: var(--card-bg-color);\n        color: var(--treeitem-fg-color);\n      }\n\n      &:focus > div {\n        position: relative;\n      }\n    }\n  `;\n}\nfunction treeItemRootColorStyle(props) {\n  const $tone = \"default\", {\n    color\n  } = getTheme_v2(props.theme), tone = color.selectable[$tone];\n  return css`\n    &[role='none'] {\n      & > [role='treeitem'] {\n        ${_cardColorStyle(color, tone.enabled)}\n      }\n\n      &[data-selected] > [role='treeitem'] {\n        ${_cardColorStyle(color, tone.pressed)}\n      }\n\n      @media (hover: hover) {\n        &:not([data-selected]) > [role='treeitem']:not(:focus):hover {\n          ${_cardColorStyle(color, tone.hovered)}\n        }\n\n        & > [role='treeitem']:focus {\n          ${_cardColorStyle(color, tone.selected)}\n        }\n      }\n    }\n\n    &[role='treeitem'] {\n      & > [data-ui='TreeItem__box'] {\n        ${_cardColorStyle(color, tone.enabled)}\n      }\n\n      &[data-selected] > [data-ui='TreeItem__box'] {\n        ${_cardColorStyle(color, tone.pressed)}\n      }\n\n      @media (hover: hover) {\n        &:not([data-selected]):not(:focus) > [data-ui='TreeItem__box']:hover {\n          ${_cardColorStyle(color, tone.hovered)}\n        }\n\n        &:focus > [data-ui='TreeItem__box'] {\n          ${_cardColorStyle(color, tone.selected)}\n        }\n      }\n    }\n  `;\n}\nfunction treeItemBoxStyle(props) {\n  const {\n    $level\n  } = props, {\n    space\n  } = getTheme_v2(props.theme);\n  return css`\n    padding-left: ${rem(space[2] * $level)};\n\n    &[data-as='a'] {\n      text-decoration: none;\n    }\n  `;\n}\nfunction useTree() {\n  const tree = useContext(TreeContext);\n  if (!tree)\n    throw new Error(\"Tree: missing context value\");\n  return tree;\n}\nconst TreeGroup = memo(function(props) {\n  const $ = c(9);\n  let children, restProps, t0;\n  $[0] !== props ? ({\n    children,\n    expanded: t0,\n    ...restProps\n  } = props, $[0] = props, $[1] = children, $[2] = restProps, $[3] = t0) : (children = $[1], restProps = $[2], t0 = $[3]);\n  const expanded = t0 === void 0 ? !1 : t0, tree = useTree(), t1 = !expanded;\n  let t2;\n  return $[4] !== children || $[5] !== restProps || $[6] !== t1 || $[7] !== tree.space ? (t2 = /* @__PURE__ */ jsx(Stack, { as: \"ul\", \"data-ui\": \"TreeGroup\", ...restProps, hidden: t1, marginTop: tree.space, role: \"group\", space: tree.space, children }), $[4] = children, $[5] = restProps, $[6] = t1, $[7] = tree.space, $[8] = t2) : t2 = $[8], t2;\n}), Root = memo(styled.li(treeItemRootStyle, treeItemRootColorStyle)), TreeItemBox = styled(Box).attrs({\n  forwardedAs: \"a\"\n})(treeItemBoxStyle), ToggleArrowText = styled(Text)`\n  & > svg {\n    transition: transform 100ms;\n  }\n`, TreeItem = memo(function(props) {\n  const {\n    children,\n    expanded: expandedProp = !1,\n    fontSize: fontSize2 = 1,\n    href,\n    icon: IconComponent,\n    id: idProp,\n    linkAs,\n    muted,\n    onClick,\n    padding = 2,\n    selected = !1,\n    space = 2,\n    text,\n    weight,\n    ...restProps\n  } = props, rootRef = useRef(null), treeitemRef = useRef(null), tree = useTree(), {\n    path,\n    registerItem,\n    setExpanded,\n    setFocusedElement\n  } = tree, _id = useId(), id = idProp || _id, itemPath = useMemo(() => path.concat([id || \"\"]), [id, path]), itemKey = itemPath.join(\"/\"), itemState = tree.state[itemKey], focused = tree.focusedElement === rootRef.current, expanded = itemState?.expanded === void 0 ? expandedProp : itemState?.expanded || !1, tabIndex = tree.focusedElement && tree.focusedElement === rootRef.current ? 0 : -1, contextValue = useMemo(() => ({\n    ...tree,\n    level: tree.level + 1,\n    path: itemPath\n  }), [itemPath, tree]), handleClick = useCallback((event) => {\n    onClick && onClick(event);\n    const target = event.target;\n    target instanceof HTMLElement && (target.getAttribute(\"data-ui\") === \"TreeItem\" || target.closest('[data-ui=\"TreeItem__box\"]')) && (event.stopPropagation(), setExpanded(itemKey, !expanded), setFocusedElement(rootRef.current));\n  }, [expanded, itemKey, onClick, setExpanded, setFocusedElement]), handleKeyDown = useCallback((event_0) => {\n    focused && event_0.key === \"Enter\" && (treeitemRef.current || rootRef.current)?.click();\n  }, [focused]);\n  useEffect(() => {\n    if (rootRef.current)\n      return registerItem(rootRef.current, itemPath.join(\"/\"), expanded, selected);\n  }, [expanded, itemPath, registerItem, selected]);\n  const content = /* @__PURE__ */ jsxs(Flex, { padding, children: [\n    /* @__PURE__ */ jsxs(Box, { marginRight: space, style: {\n      visibility: IconComponent || children ? \"visible\" : \"hidden\",\n      pointerEvents: \"none\"\n    }, children: [\n      IconComponent && /* @__PURE__ */ jsx(Text, { muted, size: fontSize2, weight, children: /* @__PURE__ */ jsx(IconComponent, {}) }),\n      !IconComponent && /* @__PURE__ */ jsx(ToggleArrowText, { muted, size: fontSize2, weight, children: /* @__PURE__ */ jsx(ToggleArrowRightIcon, { style: {\n        transform: expanded ? \"rotate(90deg)\" : void 0\n      } }) })\n    ] }),\n    /* @__PURE__ */ jsx(Box, { flex: 1, children: /* @__PURE__ */ jsx(Text, { muted, size: fontSize2, textOverflow: \"ellipsis\", weight, children: text }) })\n  ] });\n  return href ? /* @__PURE__ */ jsxs(Root, { \"data-selected\": selected ? \"\" : void 0, \"data-tree-id\": id, \"data-tree-key\": itemKey, \"data-ui\": \"TreeItem\", ...restProps, onClick: handleClick, ref: rootRef, role: \"none\", children: [\n    /* @__PURE__ */ jsx(TreeItemBox, { $level: tree.level, \"aria-expanded\": expanded, as: linkAs, \"data-ui\": \"TreeItem__box\", href, ref: treeitemRef, role: \"treeitem\", tabIndex, children: content }),\n    /* @__PURE__ */ jsx(TreeContext.Provider, { value: contextValue, children: children && /* @__PURE__ */ jsx(TreeGroup, { hidden: !expanded, children }) })\n  ] }) : /* @__PURE__ */ jsxs(Root, { \"data-selected\": selected ? \"\" : void 0, \"data-ui\": \"TreeItem\", \"data-tree-id\": id, \"data-tree-key\": itemKey, ...restProps, \"aria-expanded\": expanded, onClick: handleClick, onKeyDown: handleKeyDown, ref: rootRef, role: \"treeitem\", tabIndex, children: [\n    /* @__PURE__ */ jsx(TreeItemBox, { $level: tree.level, as: \"div\", \"data-ui\": \"TreeItem__box\", children: content }),\n    /* @__PURE__ */ jsx(TreeContext.Provider, { value: contextValue, children: children && /* @__PURE__ */ jsx(TreeGroup, { expanded, children }) })\n  ] });\n});\nTreeItem.displayName = \"Memo(TreeItem)\";\nexport {\n  Arrow,\n  Autocomplete,\n  Avatar,\n  AvatarCounter,\n  AvatarStack,\n  Badge,\n  BoundaryElementProvider,\n  Box,\n  Breadcrumbs,\n  Button,\n  Card,\n  Checkbox,\n  Code,\n  CodeSkeleton,\n  ConditionalWrapper,\n  Container,\n  Dialog,\n  DialogContext,\n  DialogProvider,\n  ElementQuery,\n  ErrorBoundary,\n  Flex,\n  Grid,\n  Heading,\n  HeadingSkeleton,\n  Hotkeys,\n  Inline,\n  KBD,\n  Label,\n  LabelSkeleton,\n  Layer,\n  LayerProvider,\n  Menu,\n  MenuButton,\n  MenuDivider,\n  MenuGroup,\n  MenuItem,\n  Popover,\n  Portal,\n  PortalProvider,\n  Radio,\n  Select,\n  Skeleton,\n  Spinner,\n  SrOnly,\n  Stack,\n  Switch,\n  Tab,\n  TabList,\n  TabPanel,\n  Text,\n  TextArea,\n  TextInput,\n  TextSkeleton,\n  ThemeColorProvider,\n  ThemeProvider,\n  Toast,\n  ToastProvider,\n  Tooltip,\n  TooltipDelayGroupContext,\n  TooltipDelayGroupProvider,\n  Tree,\n  TreeItem,\n  VirtualList,\n  _ResizeObserver,\n  _elementSizeObserver,\n  _fillCSSObject,\n  _getArrayProp,\n  _getResponsiveSpace,\n  _hasFocus,\n  _isEnterToClickElement,\n  _isScrollable,\n  _raf,\n  _raf2,\n  _responsive,\n  attemptFocus,\n  containsOrEqualsElement,\n  createColorTheme,\n  focusFirstDescendant,\n  focusLastDescendant,\n  hexToRgb,\n  hslToRgb,\n  isFocusable,\n  isHTMLAnchorElement,\n  isHTMLButtonElement,\n  isHTMLElement,\n  isHTMLInputElement,\n  isHTMLSelectElement,\n  isHTMLTextAreaElement,\n  multiply,\n  parseColor,\n  rem,\n  responsiveCodeFontStyle,\n  responsiveHeadingFont,\n  responsiveLabelFont,\n  responsiveTextAlignStyle,\n  responsiveTextFont,\n  rgbToHex,\n  rgbToHsl,\n  rgba,\n  screen,\n  studioTheme,\n  useArrayProp,\n  useBoundaryElement,\n  useClickOutside,\n  useClickOutsideEvent,\n  useCustomValidity,\n  useDialog,\n  useElementRect,\n  useElementSize,\n  useForwardedRef,\n  useGlobalKeyDown,\n  useLayer,\n  useMatchMedia,\n  useMediaIndex,\n  usePortal,\n  usePrefersDark,\n  usePrefersReducedMotion,\n  useRootTheme,\n  useTheme,\n  useTheme_v2,\n  useToast,\n  useTooltipDelayGroup,\n  useTree\n};\n//# sourceMappingURL=index.mjs.map\n","import { jsx, jsxs } from \"react/jsx-runtime\";\nimport { c } from \"react-compiler-runtime\";\nimport { forwardRef } from \"react\";\nconst AccessDeniedIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M18.1568 6.84315C21.281 9.96734 21.281 15.0327 18.1568 18.1569C15.0326 21.281 9.96733 21.281 6.84313 18.1569C3.71894 15.0327 3.71894 9.96734 6.84313 6.84315C9.96733 3.71895 15.0326 3.71895 18.1568 6.84315ZM18.1568 6.84315L6.844 18.156\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"access-denied\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nAccessDeniedIcon.displayName = \"ForwardRef(AccessDeniedIcon)\";\nconst ActivityIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M21 15H19L15.5 7L11 18L8 12L6 15H4\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"activity\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nActivityIcon.displayName = \"ForwardRef(ActivityIcon)\";\nconst AddCircleIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M8 12.4H17M12.5 8V17M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"add-circle\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nAddCircleIcon.displayName = \"ForwardRef(AddCircleIcon)\";\nconst AddCommentIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M13 6.5H7.5C6.39543 6.5 5.5 7.39543 5.5 8.5V14.5C5.5 15.6046 6.39543 16.5 7.5 16.5H9.5V20.5L13.5 16.5H16.5C17.6046 16.5 18.5 15.6046 18.5 14.5V12M15 6.5H22M18.5 10V3\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"add-comment\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nAddCommentIcon.displayName = \"ForwardRef(AddCommentIcon)\";\nconst AddDocumentIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M11.5 4.5V9.5H6.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M11.5 4.5H18.5V12M11.5 4.5L6.5 9.5M11.5 4.5V9.5H6.5M6.5 9.5V19.5H11M20 17.5H16.5M16.5 17.5H13M16.5 17.5V14M16.5 17.5V21\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"add-document\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nAddDocumentIcon.displayName = \"ForwardRef(AddDocumentIcon)\";\nconst AddIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M12.5 5V20M5 12.5H20\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"add\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nAddIcon.displayName = \"ForwardRef(AddIcon)\";\nconst AddUserIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M4.17857 15.2368C3.10714 15.7632 1.5 16.8158 1.5 20.5H16.5C16.5 16.8158 15.2589 15.943 13.8214 15.2368C12.75 14.7105 10.6071 14.7105 10.6071 13.1316C10.6071 11.5526 11.6786 10.7632 11.6786 8.65789C11.6786 6.55263 10.6071 5.5 9 5.5C7.39285 5.5 6.32142 6.55263 6.32142 8.65789C6.32142 10.7632 7.39286 11.5526 7.39286 13.1316C7.39286 14.7105 5.25 14.7105 4.17857 15.2368Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M19.5 7V14M16 10.5H23\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"add-user\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nAddUserIcon.displayName = \"ForwardRef(AddUserIcon)\";\nconst ApiIcon = forwardRef(function(props, ref) {\n  const $ = c(6);\n  let t0, t1, t2;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M5.93047 13.2107L6.66782 10.3728H6.73089L7.45854 13.2107H5.93047ZM8.17164 16H9.66089L7.56041 9H5.93047L3.82999 16H5.20767L5.65396 14.2876H7.73505L8.17164 16Z\", fill: \"currentColor\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M10.5389 9V16H11.9166V13.7782H13.0323C14.541 13.7782 15.5015 12.8517 15.5015 11.3964C15.5015 9.92654 14.5701 9 13.1003 9H10.5389ZM11.9166 10.1303H12.751C13.6533 10.1303 14.1044 10.5475 14.1044 11.3867C14.1044 12.2308 13.6533 12.6431 12.751 12.6431H11.9166V10.1303Z\", fill: \"currentColor\" }), t2 = /* @__PURE__ */ jsx(\"path\", { d: \"M21.1675 16V14.8164H19.717V10.1836H21.1675V9H16.8889V10.1836H18.3393V14.8164H16.8889V16H21.1675Z\", fill: \"currentColor\" }), $[0] = t0, $[1] = t1, $[2] = t2) : (t0 = $[0], t1 = $[1], t2 = $[2]);\n  let t3;\n  return $[3] !== props || $[4] !== ref ? (t3 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"api\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1,\n    t2\n  ] }), $[3] = props, $[4] = ref, $[5] = t3) : t3 = $[5], t3;\n});\nApiIcon.displayName = \"ForwardRef(ApiIcon)\";\nconst ArchiveIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M12.5 10V17M20.5 7.5V20.5H4.5V7.5L7.5 4.5H17.5L20.5 7.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M4.5 7.5H20.5M16 14L12.5 17.5L9 14\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"archive\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nArchiveIcon.displayName = \"ForwardRef(ArchiveIcon)\";\nconst ArrowDownIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M12.5 19.5V5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M18 14L12.5 19.5L7 14\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"arrow-down\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nArrowDownIcon.displayName = \"ForwardRef(ArrowDownIcon)\";\nconst ArrowLeftIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M5.5 12.5H20\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M11 18L5.5 12.5L11 7\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"arrow-left\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nArrowLeftIcon.displayName = \"ForwardRef(ArrowLeftIcon)\";\nconst ArrowRightIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M19.5 12.5H5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M14 7L19.5 12.5L14 18\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"arrow-right\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nArrowRightIcon.displayName = \"ForwardRef(ArrowRightIcon)\";\nconst ArrowTopRightIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M16.5 8.5L7 18\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M9 8.5H16.5V16\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"arrow-top-right\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nArrowTopRightIcon.displayName = \"ForwardRef(ArrowTopRightIcon)\";\nconst ArrowUpIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M7 11L12.5 5.5L18 11\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M12.5 5.5V20\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"arrow-up\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nArrowUpIcon.displayName = \"ForwardRef(ArrowUpIcon)\";\nconst AsteriskIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M12.5 4V21M16.75 5.13879L8.25 19.8612M19.8612 8.25L5.13878 16.75M4.00002 12.5H21M5.13881 8.25L19.8612 16.75M8.25002 5.13879L16.75 19.8612\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"asterisk\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nAsteriskIcon.displayName = \"ForwardRef(AsteriskIcon)\";\nconst BarChartIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M5.5 5V19.5H20M8.5 18V13M11.5 18V9M14.5 18V11M17.5 18V7\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"bar-chart\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nBarChartIcon.displayName = \"ForwardRef(BarChartIcon)\";\nconst BasketIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M8.5 10.5H5L6.5 19.5H18.5L20 10.5H16.5M8.5 10.5L10.2721 5.18377C10.4082 4.77543 10.7903 4.5 11.2208 4.5H13.7792C14.2097 4.5 14.5918 4.77543 14.7279 5.18377L16.5 10.5M8.5 10.5H16.5M8.5 10.5L9.5 19.5M16.5 10.5L15.5 19.5M12.5 10.5V19.5M19.5 13.5H5.5M19 16.5H6\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"basket\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nBasketIcon.displayName = \"ForwardRef(BasketIcon)\";\nconst BellIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M10.5 17.5V18.5C10.5 20 11.5 20.5 12.5 20.5C13.5 20.5 14.5 20 14.5 18.5V17.5M5.5 17.5C6.5 16 6.5 15 6.5 12C6.5 8 8.5 5.5 12.5 5.5C16.5 5.5 18.5 8 18.5 12C18.5 15 18.5 16 19.5 17.5H5.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"bell\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nBellIcon.displayName = \"ForwardRef(BellIcon)\";\nconst BillIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M6.50001 5.5C8.50003 5.5 8.50003 8 8.50003 8V9.5M6.50001 5.5C4.5 5.5 4.5 8 4.5 8L4.50001 9.5H8.50003M6.50001 5.5C6.50001 5.5 15.8333 5.5 17.6667 5.5C19.5 5.5 19.5 8.5 19.5 8.5V20L17.6667 19L15.8333 20L14 19L12.1667 20L10.3334 19L8.50003 20V9.5M11 12.5H15M11 9.5H16M11 15.5H16\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"bill\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nBillIcon.displayName = \"ForwardRef(BillIcon)\";\nconst BinaryDocumentIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M11.5 4.5V9.5H6.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M9.5 12.5V17.5M11.5 4.5H18.5V20.5H6.5V9.5L11.5 4.5ZM12.5 12.5V17.5H15.5V12.5H12.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinecap: \"square\", strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"binary-document\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nBinaryDocumentIcon.displayName = \"ForwardRef(BinaryDocumentIcon)\";\nconst BlockContentIcon = forwardRef(function(props, ref) {\n  const $ = c(8);\n  let t0, t1, t2, t3, t4;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M21 7.60002L11 7.60003V6.40003L21 6.40002V7.60002Z\", fill: \"currentColor\" }), t1 = /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M21 11.2667L12.4833 11.2667V10.0667L21 10.0667V11.2667Z\", fill: \"currentColor\" }), t2 = /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M21 14.9334H13.9254V13.7334L21 13.7334V14.9334Z\", fill: \"currentColor\" }), t3 = /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M21 18.6002H4V17.4002H21V18.6002Z\", fill: \"currentColor\" }), t4 = /* @__PURE__ */ jsx(\"path\", { d: \"M9.86438 15.6H11.2L8.27623 7.60003H6.92377L4 15.6H5.29072L6.0371 13.4767H9.12362L9.86438 15.6ZM7.53546 9.05255H7.63086L8.80374 12.4344H6.35698L7.53546 9.05255Z\", fill: \"currentColor\" }), $[0] = t0, $[1] = t1, $[2] = t2, $[3] = t3, $[4] = t4) : (t0 = $[0], t1 = $[1], t2 = $[2], t3 = $[3], t4 = $[4]);\n  let t5;\n  return $[5] !== props || $[6] !== ref ? (t5 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"block-content\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1,\n    t2,\n    t3,\n    t4\n  ] }), $[5] = props, $[6] = ref, $[7] = t5) : t5 = $[7], t5;\n});\nBlockContentIcon.displayName = \"ForwardRef(BlockContentIcon)\";\nconst BlockElementIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M5 19.5H20M5 5.5H20M6.5 8.5H18.5V16.5H6.5V8.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"block-element\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nBlockElementIcon.displayName = \"ForwardRef(BlockElementIcon)\";\nconst BlockquoteIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M10 17.5H19M6 7.5H19M10 12.5H17M6.5 12V18\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"blockquote\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nBlockquoteIcon.displayName = \"ForwardRef(BlockquoteIcon)\";\nconst BoldIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M13.2087 18C15.5322 18 16.9731 16.793 16.9731 14.8844C16.9731 13.4812 15.9245 12.3949 14.4836 12.2892V12.1534C15.6001 11.9875 16.4526 10.9841 16.4526 9.82991C16.4526 8.14761 15.1927 7.11409 13.0804 7.11409H8.32019V18H13.2087ZM10.5985 8.85674H12.4995C13.5859 8.85674 14.212 9.37727 14.212 10.2448C14.212 11.1199 13.5406 11.6254 12.3109 11.6254H10.5985V8.85674ZM10.5985 16.2574V13.1643H12.575C13.9178 13.1643 14.6496 13.6924 14.6496 14.6882C14.6496 15.7066 13.9404 16.2574 12.6278 16.2574H10.5985Z\", fill: \"currentColor\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"bold\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nBoldIcon.displayName = \"ForwardRef(BoldIcon)\";\nconst BoltIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M18 11.5L9 21L11 13.5H7L16 4L14 11.5H18Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"bolt\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nBoltIcon.displayName = \"ForwardRef(BoltIcon)\";\nconst BookIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M20.5 17.5V5.5L12.5 6.5M20.5 17.5L12.5 18.5M20.5 17.5V18.5M4.5 17.5V5.5L12.5 6.5M4.5 17.5L12.5 18.5M4.5 17.5V18.5M12.5 18.5L4.5 19.5V18.5M12.5 18.5L20.5 19.5V18.5M12.5 18.5V6.5M12.5 18.5H4.5M12.5 18.5H20.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"book\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nBookIcon.displayName = \"ForwardRef(BookIcon)\";\nconst BottleIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M7.5 17.5L17.5 17.5M17.5 13C17.5 12.087 17.5 11.3518 17.5 11C17.5 8.5 14.5 9 14.5 7.37494L14.5 5.5M17.5 13C17.5 15.1229 17.5 18.7543 17.5 20.5022C17.5 21.0545 17.0523 21.5 16.5 21.5L8.5 21.5C7.94772 21.5 7.5 21.0547 7.5 20.5024C7.5 18.8157 7.5 15.3546 7.5 13M17.5 13L7.5 13M7.5 13C7.5 12.2538 7.5 11.5648 7.5 11C7.5 8.5 10.5 9 10.5 7.37494L10.5 5.5M10.5 5.5L10.5 3.99999C10.5 3.72385 10.7239 3.49999 11 3.49999L14 3.49999C14.2761 3.49999 14.5 3.72385 14.5 3.99999L14.5 5.5M10.5 5.5L14.5 5.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"bottle\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nBottleIcon.displayName = \"ForwardRef(BottleIcon)\";\nconst BugIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M8.5 9.5V8.9C8.16863 8.9 7.9 9.16863 7.9 9.5H8.5ZM16.5 9.5H17.1C17.1 9.16863 16.8314 8.9 16.5 8.9V9.5ZM8.5 10.1H9.5V8.9H8.5V10.1ZM9.5 10.1H15.5V8.9H9.5V10.1ZM15.5 10.1H16.5V8.9H15.5V10.1ZM15.9 9.5V13.5H17.1V9.5H15.9ZM15.9 13.5C15.9 14.395 15.678 15.0264 15.3758 15.4797C15.0711 15.9367 14.6605 16.2489 14.2317 16.4633C13.8005 16.6789 13.3621 16.7897 13.0264 16.8457C12.8599 16.8734 12.7226 16.887 12.6291 16.8937C12.5825 16.897 12.5472 16.8986 12.5249 16.8994C12.5138 16.8997 12.506 16.8999 12.5018 16.9C12.4997 16.9 12.4984 16.9 12.4981 16.9C12.498 16.9 12.4981 16.9 12.4984 16.9C12.4985 16.9 12.4987 16.9 12.499 16.9C12.4991 16.9 12.4994 16.9 12.4995 16.9C12.4997 16.9 12.5 16.9 12.5 17.5C12.5 18.1 12.5003 18.1 12.5006 18.1C12.5008 18.1 12.5011 18.1 12.5014 18.1C12.5019 18.1 12.5025 18.1 12.5031 18.1C12.5044 18.1 12.5059 18.1 12.5077 18.1C12.5112 18.0999 12.5157 18.0999 12.5212 18.0998C12.532 18.0996 12.5467 18.0993 12.5649 18.0987C12.6013 18.0975 12.6519 18.0951 12.7146 18.0907C12.8399 18.0817 13.0151 18.0641 13.2236 18.0293C13.6379 17.9603 14.1995 17.8211 14.7683 17.5367C15.3395 17.2511 15.9289 16.8133 16.3742 16.1453C16.822 15.4736 17.1 14.605 17.1 13.5H15.9ZM12.5 17.5C12.5 16.9 12.5003 16.9 12.5005 16.9C12.5006 16.9 12.5009 16.9 12.501 16.9C12.5013 16.9 12.5015 16.9 12.5016 16.9C12.5019 16.9 12.502 16.9 12.5019 16.9C12.5016 16.9 12.5003 16.9 12.4982 16.9C12.494 16.8999 12.4862 16.8997 12.4751 16.8994C12.4528 16.8986 12.4175 16.897 12.3709 16.8937C12.2774 16.887 12.1401 16.8734 11.9736 16.8457C11.6379 16.7897 11.1995 16.6789 10.7683 16.4633C10.3395 16.2489 9.92894 15.9367 9.62423 15.4797C9.32203 15.0264 9.1 14.395 9.1 13.5H7.9C7.9 14.605 8.17797 15.4736 8.62577 16.1453C9.07106 16.8133 9.66049 17.2511 10.2317 17.5367C10.8005 17.8211 11.3621 17.9603 11.7764 18.0293C11.9849 18.0641 12.1601 18.0817 12.2854 18.0907C12.3481 18.0951 12.3987 18.0975 12.4351 18.0987C12.4533 18.0993 12.468 18.0996 12.4788 18.0998C12.4843 18.0999 12.4888 18.0999 12.4923 18.1C12.4941 18.1 12.4956 18.1 12.4969 18.1C12.4975 18.1 12.4981 18.1 12.4986 18.1C12.4989 18.1 12.4992 18.1 12.4994 18.1C12.4997 18.1 12.5 18.1 12.5 17.5ZM9.1 13.5V9.5H7.9V13.5H9.1ZM9.5 9.5C10.1 9.5 10.1 9.50028 10.1 9.50055C10.1 9.50063 10.1 9.50089 10.1 9.50104C10.1 9.50134 10.1 9.5016 10.1 9.50182C10.1 9.50225 10.1 9.5025 10.1 9.50259C10.1 9.50276 10.1 9.50224 10.1 9.50107C10.1001 9.49872 10.1002 9.49374 10.1004 9.4863C10.1009 9.4714 10.102 9.44678 10.1043 9.41384C10.1091 9.34776 10.1188 9.24945 10.1387 9.12989C10.179 8.88793 10.2586 8.5745 10.4117 8.26833C10.5636 7.96451 10.782 7.67894 11.0984 7.46798C11.4111 7.25953 11.855 7.1 12.5 7.1V5.9C11.645 5.9 10.9639 6.11547 10.4328 6.46952C9.90549 6.82106 9.56143 7.28549 9.33834 7.73167C9.11643 8.1755 9.00846 8.61207 8.95504 8.93261C8.92809 9.0943 8.91438 9.23036 8.90738 9.32835C8.90388 9.37744 8.90203 9.41727 8.90107 9.44632C8.90058 9.46085 8.90031 9.47272 8.90017 9.48172C8.9001 9.48622 8.90005 9.49001 8.90003 9.49306C8.90002 9.49459 8.90001 9.49593 8.90001 9.49709C8.9 9.49767 8.9 9.4982 8.9 9.49869C8.9 9.49893 8.9 9.49926 8.9 9.49938C8.9 9.4997 8.9 9.5 9.5 9.5ZM12.5 7.1C13.145 7.1 13.5889 7.25953 13.9016 7.46798C14.218 7.67894 14.4364 7.96451 14.5883 8.26833C14.7414 8.5745 14.821 8.88793 14.8613 9.12989C14.8812 9.24945 14.8909 9.34776 14.8957 9.41384C14.898 9.44678 14.8991 9.4714 14.8996 9.4863C14.8998 9.49374 14.8999 9.49872 14.9 9.50107C14.9 9.50224 14.9 9.50276 14.9 9.50259C14.9 9.5025 14.9 9.50225 14.9 9.50182C14.9 9.5016 14.9 9.50134 14.9 9.50104C14.9 9.50089 14.9 9.50063 14.9 9.50055C14.9 9.50028 14.9 9.5 15.5 9.5C16.1 9.5 16.1 9.4997 16.1 9.49938C16.1 9.49926 16.1 9.49893 16.1 9.49869C16.1 9.4982 16.1 9.49767 16.1 9.49709C16.1 9.49593 16.1 9.49459 16.1 9.49306C16.0999 9.49001 16.0999 9.48622 16.0998 9.48172C16.0997 9.47272 16.0994 9.46085 16.0989 9.44632C16.098 9.41727 16.0961 9.37744 16.0926 9.32835C16.0856 9.23036 16.0719 9.0943 16.045 8.93261C15.9915 8.61207 15.8836 8.1755 15.6617 7.73167C15.4386 7.28549 15.0945 6.82106 14.5672 6.46952C14.0361 6.11547 13.355 5.9 12.5 5.9V7.1ZM11.9 9.5V17.5H13.1V9.5H11.9ZM8.5 9.9C7.71525 9.9 7.10887 9.51034 6.67426 9.07574C6.45859 8.86006 6.29547 8.64279 6.18673 8.47968C6.1327 8.39863 6.09302 8.33235 6.06782 8.28825C6.05524 8.26624 6.04634 8.24988 6.04113 8.24011C6.03853 8.23523 6.03685 8.232 6.0361 8.23055C6.03573 8.22983 6.03559 8.22955 6.03568 8.22973C6.03573 8.22982 6.03583 8.23003 6.03599 8.23035C6.03607 8.23051 6.03617 8.2307 6.03628 8.23092C6.03634 8.23103 6.03643 8.23122 6.03646 8.23127C6.03656 8.23147 6.03666 8.23167 5.5 8.5C4.96334 8.76833 4.96345 8.76855 4.96357 8.76877C4.96361 8.76886 4.96372 8.76909 4.96381 8.76926C4.96398 8.7696 4.96417 8.76998 4.96437 8.77038C4.96478 8.77119 4.96525 8.77212 4.96579 8.77317C4.96685 8.77527 4.96818 8.77786 4.96976 8.78092C4.97292 8.78704 4.9771 8.79505 4.98231 8.80481C4.99272 8.82434 5.00726 8.85094 5.02593 8.88362C5.06323 8.9489 5.1173 9.03887 5.18827 9.14532C5.32953 9.35721 5.54141 9.63994 5.82574 9.92426C6.39113 10.4897 7.28475 11.1 8.5 11.1V9.9ZM16.5 11.1C17.7153 11.1 18.6089 10.4897 19.1743 9.92426C19.4586 9.63994 19.6705 9.35721 19.8117 9.14532C19.8827 9.03887 19.9368 8.9489 19.9741 8.88362C19.9927 8.85094 20.0073 8.82434 20.0177 8.80481C20.0229 8.79505 20.0271 8.78704 20.0302 8.78092C20.0318 8.77786 20.0331 8.77527 20.0342 8.77317C20.0347 8.77212 20.0352 8.77119 20.0356 8.77038C20.0358 8.76998 20.036 8.7696 20.0362 8.76926C20.0363 8.76909 20.0364 8.76886 20.0364 8.76877C20.0365 8.76855 20.0367 8.76833 19.5 8.5C18.9633 8.23167 18.9634 8.23147 18.9635 8.23127C18.9636 8.23122 18.9637 8.23103 18.9637 8.23092C18.9638 8.2307 18.9639 8.23051 18.964 8.23035C18.9642 8.23003 18.9643 8.22982 18.9643 8.22973C18.9644 8.22955 18.9643 8.22983 18.9639 8.23055C18.9632 8.232 18.9615 8.23523 18.9589 8.24011C18.9537 8.24988 18.9448 8.26624 18.9322 8.28825C18.907 8.33235 18.8673 8.39863 18.8133 8.47968C18.7045 8.64279 18.5414 8.86006 18.3257 9.07574C17.8911 9.51034 17.2847 9.9 16.5 9.9V11.1ZM16.5 13.1H20V11.9H16.5V13.1ZM16.5 15.1C17.2847 15.1 17.8911 15.4897 18.3257 15.9243C18.5414 16.1399 18.7045 16.3572 18.8133 16.5203C18.8673 16.6014 18.907 16.6676 18.9322 16.7117C18.9448 16.7338 18.9537 16.7501 18.9589 16.7599C18.9615 16.7648 18.9632 16.768 18.9639 16.7694C18.9643 16.7702 18.9644 16.7705 18.9643 16.7703C18.9643 16.7702 18.9642 16.77 18.964 16.7697C18.9639 16.7695 18.9638 16.7693 18.9637 16.7691C18.9637 16.769 18.9636 16.7688 18.9635 16.7687C18.9634 16.7685 18.9633 16.7683 19.5 16.5C20.0367 16.2317 20.0365 16.2315 20.0364 16.2312C20.0364 16.2311 20.0363 16.2309 20.0362 16.2307C20.036 16.2304 20.0358 16.23 20.0356 16.2296C20.0352 16.2288 20.0347 16.2279 20.0342 16.2268C20.0331 16.2247 20.0318 16.2221 20.0302 16.2191C20.0271 16.213 20.0229 16.205 20.0177 16.1952C20.0073 16.1757 19.9927 16.1491 19.9741 16.1164C19.9368 16.0511 19.8827 15.9611 19.8117 15.8547C19.6705 15.6428 19.4586 15.3601 19.1743 15.0757C18.6089 14.5103 17.7153 13.9 16.5 13.9V15.1ZM8.5 13.9C7.28475 13.9 6.39113 14.5103 5.82574 15.0757C5.54141 15.3601 5.32953 15.6428 5.18827 15.8547C5.1173 15.9611 5.06323 16.0511 5.02593 16.1164C5.00726 16.1491 4.99272 16.1757 4.98231 16.1952C4.9771 16.205 4.97292 16.213 4.96976 16.2191C4.96818 16.2221 4.96685 16.2247 4.96579 16.2268C4.96525 16.2279 4.96478 16.2288 4.96437 16.2296C4.96417 16.23 4.96398 16.2304 4.96381 16.2307C4.96372 16.2309 4.96361 16.2311 4.96357 16.2312C4.96345 16.2315 4.96334 16.2317 5.5 16.5C6.03666 16.7683 6.03656 16.7685 6.03646 16.7687C6.03643 16.7688 6.03634 16.769 6.03628 16.7691C6.03617 16.7693 6.03607 16.7695 6.03599 16.7697C6.03583 16.77 6.03573 16.7702 6.03568 16.7703C6.03559 16.7705 6.03573 16.7702 6.0361 16.7694C6.03685 16.768 6.03853 16.7648 6.04113 16.7599C6.04634 16.7501 6.05524 16.7338 6.06782 16.7117C6.09302 16.6676 6.1327 16.6014 6.18673 16.5203C6.29547 16.3572 6.45859 16.1399 6.67426 15.9243C7.10887 15.4897 7.71525 15.1 8.5 15.1V13.9ZM8.5 11.9H5V13.1H8.5V11.9Z\", fill: \"currentColor\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"bug\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nBugIcon.displayName = \"ForwardRef(BugIcon)\";\nconst BulbFilledIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M16.4272 14.3368C15.8273 15.1773 15.5 16.1794 15.5 17.212V18.5C15.5 19.0523 15.0523 19.5 14.5 19.5H14V20.5C14 21.0523 13.5523 21.5 13 21.5H12C11.4477 21.5 11 21.0523 11 20.5V19.5H10.5C9.94772 19.5 9.5 19.0523 9.5 18.5V17.212C9.5 16.1794 9.17266 15.1773 8.57284 14.3368C7.60216 12.9767 7 11.94 7 10C7 7 9.5 4.5 12.5 4.5C15.5 4.5 18 7 18 10C18 11.94 17.3978 12.9767 16.4272 14.3368Z\", fill: \"currentColor\", stroke: \"currentColor\", strokeWidth: 1.2 }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"bulb-filled\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nBulbFilledIcon.displayName = \"ForwardRef(BulbFilledIcon)\";\nconst BulbOutlineIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M9.5 16.5H15.5M11 20V20.5C11 21.0523 11.4477 21.5 12 21.5H13C13.5523 21.5 14 21.0523 14 20.5V20M18 10C18 11.94 17.3978 12.9767 16.4272 14.3368C15.8273 15.1773 15.5 16.1794 15.5 17.212V18.5C15.5 19.0523 15.0523 19.5 14.5 19.5H10.5C9.94772 19.5 9.5 19.0523 9.5 18.5V17.212C9.5 16.1794 9.17266 15.1773 8.57284 14.3368C7.60216 12.9767 7 11.94 7 10C7 7 9.5 4.5 12.5 4.5C15.5 4.5 18 7 18 10Z\", stroke: \"currentColor\", strokeWidth: 1.2 }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"bulb-outline\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nBulbOutlineIcon.displayName = \"ForwardRef(BulbOutlineIcon)\";\nconst CalendarIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M5.5 18.5H19.5V6.5H5.5V18.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M16.5 8V4M8.5 8V4M8 12.5H10M8 15.5H10M11.5 12.5H13.5M11.5 15.5H13.5M15 12.5H17M15 15.5H17M12.5 8V4M5.5 9.5H19.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"calendar\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nCalendarIcon.displayName = \"ForwardRef(CalendarIcon)\";\nconst CaseIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M9 8.5122V6C9 5.44772 9.44772 5 10 5H15C15.5523 5 16 5.44772 16 6V8.5122M4.5 12V18.5C4.5 19.0523 4.94772 19.5 5.5 19.5H19.5C20.0523 19.5 20.5 19.0523 20.5 18.5V12M4.5 12V9.5122C4.5 8.95991 4.94772 8.5122 5.5 8.5122H19.5C20.0523 8.5122 20.5 8.95991 20.5 9.5122V12M4.5 12L11.7978 14.7367C12.2505 14.9064 12.7495 14.9064 13.2022 14.7367L20.5 12\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"case\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nCaseIcon.displayName = \"ForwardRef(CaseIcon)\";\nconst ChartUpwardIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M5.5 5V19.5H20M7.5 16L11.5 11.5L15.5 14L19.5 8.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"chart-upward\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nChartUpwardIcon.displayName = \"ForwardRef(ChartUpwardIcon)\";\nconst CheckmarkCircleIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M9.5 12.1316L11.7414 14.5L16 10M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"checkmark-circle\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nCheckmarkCircleIcon.displayName = \"ForwardRef(CheckmarkCircleIcon)\";\nconst CheckmarkIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M5.5 11.5L10.5 16.5L19.5 7.60001\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"checkmark\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nCheckmarkIcon.displayName = \"ForwardRef(CheckmarkIcon)\";\nconst ChevronDownIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M16 10.5L12.5 14L9 10.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"chevron-down\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nChevronDownIcon.displayName = \"ForwardRef(ChevronDownIcon)\";\nconst ChevronLeftIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M14.5 16L11 12.5L14.5 9\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"chevron-left\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nChevronLeftIcon.displayName = \"ForwardRef(ChevronLeftIcon)\";\nconst ChevronRightIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M10.5 9L14 12.5L10.5 16\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"chevron-right\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nChevronRightIcon.displayName = \"ForwardRef(ChevronRightIcon)\";\nconst ChevronUpIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M9 14.5L12.5 11L16 14.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"chevron-up\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nChevronUpIcon.displayName = \"ForwardRef(ChevronUpIcon)\";\nconst CircleIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"circle\", { cx: 12.5, cy: 12.5, r: 8, stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"circle\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nCircleIcon.displayName = \"ForwardRef(CircleIcon)\";\nconst ClipboardIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M8 5.5H6.5V19.5H18.5V5.5H17M12.5 3C11.5 3 11.5 4.5 11 4.5C10 4.5 9.5 5 9.5 6.5H15.6C15.6 5 15 4.5 14 4.5C13.5 4.5 13.5 3 12.5 3Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"clipboard\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nClipboardIcon.displayName = \"ForwardRef(ClipboardIcon)\";\nconst ClipboardImageIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M8 5.5H6.5V19.5H10.5M17 5.5H18.5V11.5M10.5 18.5L12.73 15.8983C13.1327 15.4285 13.8613 15.4335 14.2575 15.909L15.299 17.1588C15.6754 17.6105 16.3585 17.6415 16.7743 17.2257L16.9903 17.0097C17.2947 16.7053 17.7597 16.6298 18.1447 16.8223L20.5 18M10.5 11.5H20.5V21.5H10.5V11.5ZM12.5 3C11.5 3 11.5 4.5 11 4.5C10 4.5 9.5 5 9.5 6.5H15.6C15.6 5 15 4.5 14 4.5C13.5 4.5 13.5 3 12.5 3Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"clipboard-image\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nClipboardImageIcon.displayName = \"ForwardRef(ClipboardImageIcon)\";\nconst ClockIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M12.5 8V12.5L15.5 15.5M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"clock\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nClockIcon.displayName = \"ForwardRef(ClockIcon)\";\nconst CloseCircleIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M9.5 15.5L12.5 12.5M12.5 12.5L15.5 9.5M12.5 12.5L9.5 9.5M12.5 12.5L15.5 15.5M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"close-circle\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nCloseCircleIcon.displayName = \"ForwardRef(CloseCircleIcon)\";\nconst CloseIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M18 7L7 18M7 7L18 18\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"close\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nCloseIcon.displayName = \"ForwardRef(CloseIcon)\";\nconst CodeBlockIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M11 15L8.5 12.5L11 10M14 10L16.5 12.5L14 15M5.5 6.5H19.5V18.5H5.5V6.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"code-block\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nCodeBlockIcon.displayName = \"ForwardRef(CodeBlockIcon)\";\nconst CodeIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M11 16L7.5 12.5L11 9M14 9L17.5 12.5L14 16\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"code\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nCodeIcon.displayName = \"ForwardRef(CodeIcon)\";\nconst CogIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M14.0666 6.19428L13.719 5.32531C13.5196 4.82685 13.0369 4.5 12.5 4.5C11.9631 4.5 11.4804 4.82685 11.281 5.32531L10.9334 6.19428C10.7984 6.53187 10.5328 6.80068 10.1969 6.93982C9.86098 7.07896 9.48313 7.07666 9.14894 6.93343L8.2887 6.56476C7.79525 6.35328 7.22276 6.46353 6.84315 6.84315C6.46353 7.22276 6.35328 7.79525 6.56476 8.2887L6.93343 9.14894C7.07666 9.48313 7.07896 9.86098 6.93982 10.1969C6.80068 10.5328 6.53187 10.7984 6.19428 10.9334L5.32531 11.281C4.82685 11.4804 4.5 11.9631 4.5 12.5C4.5 13.0369 4.82685 13.5196 5.32531 13.719L6.19428 14.0666C6.53187 14.2016 6.80068 14.4672 6.93982 14.8031C7.07896 15.139 7.07666 15.5169 6.93343 15.8511L6.56476 16.7113C6.35328 17.2048 6.46353 17.7772 6.84315 18.1569C7.22276 18.5365 7.79525 18.6467 8.2887 18.4352L9.14894 18.0666C9.48314 17.9233 9.86099 17.921 10.1969 18.0602C10.5328 18.1993 10.7984 18.4681 10.9334 18.8057L11.281 19.6747C11.4804 20.1732 11.9631 20.5 12.5 20.5C13.0369 20.5 13.5196 20.1731 13.719 19.6747L14.0666 18.8057C14.2016 18.4681 14.4672 18.1993 14.8031 18.0602C15.139 17.921 15.5169 17.9233 15.8511 18.0666L16.7113 18.4352C17.2047 18.6467 17.7772 18.5365 18.1569 18.1569C18.5365 17.7772 18.6467 17.2047 18.4352 16.7113L18.0666 15.8511C17.9233 15.5169 17.921 15.139 18.0602 14.8031C18.1993 14.4672 18.4681 14.2016 18.8057 14.0666L19.6747 13.719C20.1731 13.5196 20.5 13.0369 20.5 12.5C20.5 11.9631 20.1731 11.4804 19.6747 11.281L18.8057 10.9334C18.4681 10.7984 18.1993 10.5328 18.0602 10.1969C17.921 9.86098 17.9233 9.48313 18.0666 9.14894L18.4352 8.2887C18.6467 7.79525 18.5365 7.22276 18.1569 6.84314C17.7772 6.46353 17.2048 6.35328 16.7113 6.56476L15.8511 6.93343C15.5169 7.07666 15.139 7.07896 14.8031 6.93982C14.4672 6.80068 14.2016 6.53187 14.0666 6.19428Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M16 12.5C16 14.433 14.433 16 12.5 16C10.567 16 9 14.433 9 12.5C9 10.567 10.567 9 12.5 9C14.433 9 16 10.567 16 12.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"cog\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nCogIcon.displayName = \"ForwardRef(CogIcon)\";\nconst CollapseIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M6 14.5L10.5 14.5V19M19 10.5H14.5L14.5 6\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M10.5 14.5L6 19M14.5 10.5L19 6\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"collapse\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nCollapseIcon.displayName = \"ForwardRef(CollapseIcon)\";\nconst ColorWheelIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M9.43853 5.10896L11.1606 9.26642M13.8394 15.7336L15.5615 19.891M15.7336 11.1606L19.891 9.43853M9.26642 13.8394L5.10896 15.5615M5.3139 9.52342L9.23359 11.147M15.7664 13.853L19.6861 15.4766M13.853 9.23359L15.4766 5.3139M9.52342 19.6861L11.147 15.7664M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5ZM16 12.5C16 14.433 14.433 16 12.5 16C10.567 16 9 14.433 9 12.5C9 10.567 10.567 9 12.5 9C14.433 9 16 10.567 16 12.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"color-wheel\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nColorWheelIcon.displayName = \"ForwardRef(ColorWheelIcon)\";\nconst CommentIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M7.5 16.5H9.5V20.5L13.5 16.5H17.5C18.6046 16.5 19.5 15.6046 19.5 14.5V8.5C19.5 7.39543 18.6046 6.5 17.5 6.5H7.5C6.39543 6.5 5.5 7.39543 5.5 8.5V14.5C5.5 15.6046 6.39543 16.5 7.5 16.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"comment\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nCommentIcon.displayName = \"ForwardRef(CommentIcon)\";\nconst ComponentIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M8.5 8.5L12.5 12.5M12.5 12.5L16.5 16.5M12.5 12.5L16.5 8.5M12.5 12.5L8.5 16.5M12.5 4L21 12.5L12.5 21L4 12.5L12.5 4Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"component\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nComponentIcon.displayName = \"ForwardRef(ComponentIcon)\";\nconst ComposeIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M17 6L19 8M14 5.5H5.5V19.5H19.5V11M9 16L9.5 13.5L19 4L21 6L11.5 15.5L9 16Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"compose\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nComposeIcon.displayName = \"ForwardRef(ComposeIcon)\";\nconst ConfettiIcon = forwardRef(function(props, ref) {\n  const $ = c(7);\n  let t0, t1, t2, t3;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M16.5 6.25C16.9142 6.25 17.25 5.91421 17.25 5.5C17.25 5.08579 16.9142 4.75 16.5 4.75C16.0858 4.75 15.75 5.08579 15.75 5.5C15.75 5.91421 16.0858 6.25 16.5 6.25Z\", fill: \"currentColor\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M19.5 16.25C19.9142 16.25 20.25 15.9142 20.25 15.5C20.25 15.0858 19.9142 14.75 19.5 14.75C19.0858 14.75 18.75 15.0858 18.75 15.5C18.75 15.9142 19.0858 16.25 19.5 16.25Z\", fill: \"currentColor\" }), t2 = /* @__PURE__ */ jsx(\"path\", { d: \"M13 4C11 6 14.5 5.5 12.5 7.5M21 12C19 14 19.5 10.5 17.5 12.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t3 = /* @__PURE__ */ jsx(\"path\", { d: \"M16.066 16.4904C15.3965 17.1598 13.1126 15.9613 10.9647 13.8135C8.81684 11.6656 7.61835 9.38165 8.28782 8.71218M16.066 16.4904C16.7355 15.8209 15.537 13.537 13.3891 11.3891C11.2412 9.2412 8.95729 8.04271 8.28782 8.71218M16.066 16.4904C15.8661 16.6902 15.6277 16.8474 15.3657 16.952L6.99288 20.296C6.26931 20.5849 5.44878 20.4193 4.9038 19.8744C4.35883 19.3294 4.19324 18.5089 4.48221 17.7853L7.82614 9.41242C7.93077 9.15042 8.08793 8.91208 8.28782 8.71218M20 5C20 14 11.5 5.32688 11.5 14.3269\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1, $[2] = t2, $[3] = t3) : (t0 = $[0], t1 = $[1], t2 = $[2], t3 = $[3]);\n  let t4;\n  return $[4] !== props || $[5] !== ref ? (t4 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"confetti\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1,\n    t2,\n    t3\n  ] }), $[4] = props, $[5] = ref, $[6] = t4) : t4 = $[6], t4;\n});\nConfettiIcon.displayName = \"ForwardRef(ConfettiIcon)\";\nconst ControlsIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M6.5 5V7.5M6.5 7.5C5.39543 7.5 4.5 8.39543 4.5 9.5C4.5 10.6046 5.39543 11.5 6.5 11.5M6.5 7.5C7.60457 7.5 8.5 8.39543 8.5 9.5C8.5 10.6046 7.60457 11.5 6.5 11.5M6.5 11.5V20M12.5 5V13.5M12.5 13.5C11.3954 13.5 10.5 14.3954 10.5 15.5C10.5 16.6046 11.3954 17.5 12.5 17.5M12.5 13.5C13.6046 13.5 14.5 14.3954 14.5 15.5C14.5 16.6046 13.6046 17.5 12.5 17.5M12.5 17.5V20M18.5 5V7.5M18.5 7.5C17.3954 7.5 16.5 8.39543 16.5 9.5C16.5 10.6046 17.3954 11.5 18.5 11.5M18.5 7.5C19.6046 7.5 20.5 8.39543 20.5 9.5C20.5 10.6046 19.6046 11.5 18.5 11.5M18.5 11.5V20\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"controls\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nControlsIcon.displayName = \"ForwardRef(ControlsIcon)\";\nconst CopyIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M8.5 8.5H5.5V20.5H16.5V16.5M19.5 4.5H8.5V16.5H19.5V4.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"copy\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nCopyIcon.displayName = \"ForwardRef(CopyIcon)\";\nconst CreditCardIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M20.5 9.5H4.5V11.5H20.5V9.5Z\", fill: \"currentColor\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M7 15.5H14M5.5 18.5H19.5C20.0523 18.5 20.5 18.0523 20.5 17.5V7.5C20.5 6.94772 20.0523 6.5 19.5 6.5H5.5C4.94772 6.5 4.5 6.94772 4.5 7.5V17.5C4.5 18.0523 4.94772 18.5 5.5 18.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"credit-card\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nCreditCardIcon.displayName = \"ForwardRef(CreditCardIcon)\";\nconst CropIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M9.5 5V15.5H20M5 9.5H15.5V20\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"crop\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nCropIcon.displayName = \"ForwardRef(CropIcon)\";\nconst CubeIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M4.5 8L12.5 3L20.5 8V17L12.5 22L4.5 17V8Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M12.5 22V13M12.5 13L4.5 8M12.5 13L20.5 8\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"cube\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nCubeIcon.displayName = \"ForwardRef(CubeIcon)\";\nconst DashboardIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M14.5 19.5V12.5M10.5 12.5V5.5M5.5 12.5H19.5M5.5 19.5H19.5V5.5H5.5V19.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"dashboard\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nDashboardIcon.displayName = \"ForwardRef(DashboardIcon)\";\nconst DatabaseIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M18.5 7V17.5C18.5 19.0594 16.0504 20.5 12.5 20.5C8.9496 20.5 6.5 19.0594 6.5 17.5V7M18.5 7C18.5 8.45543 15.8137 9.5 12.5 9.5C9.18629 9.5 6.5 8.45543 6.5 7C6.5 5.54457 9.18629 4.5 12.5 4.5C15.8137 4.5 18.5 5.54457 18.5 7Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"database\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nDatabaseIcon.displayName = \"ForwardRef(DatabaseIcon)\";\nconst DesktopIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M4.5 13.5V15.5C4.5 16.0523 4.94772 16.5 5.5 16.5H12.5M4.5 13.5V6.5C4.5 5.94772 4.94772 5.5 5.5 5.5H19.5C20.0523 5.5 20.5 5.94772 20.5 6.5V13.5M4.5 13.5H20.5M20.5 13.5V15.5C20.5 16.0523 20.0523 16.5 19.5 16.5H12.5M12.5 16.5V19.5M12.5 19.5H8M12.5 19.5H17\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"desktop\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nDesktopIcon.displayName = \"ForwardRef(DesktopIcon)\";\nconst DiamondIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M21 10.5L12.5 21M21 10.5L18 5.5H11M21 10.5H16M12.5 21L4 10.5M12.5 21L9 10.5M12.5 21L16 10.5M4 10.5L7 5.5H11M4 10.5H9M9 10.5H12.5H16M9 10.5L11 5.5M16 10.5L14.5 5.5H11\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"diamond\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nDiamondIcon.displayName = \"ForwardRef(DiamondIcon)\";\nconst DocumentIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M11.5 4.5V9.5H6.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M11.5 4.5H18.5V20.5H6.5L6.5 9.5M11.5 4.5L6.5 9.5M11.5 4.5V9.5H6.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"document\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nDocumentIcon.displayName = \"ForwardRef(DocumentIcon)\";\nconst DocumentPdfIcon = forwardRef(function(props, ref) {\n  const $ = c(6);\n  let t0, t1, t2;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M12.7127 13.8012L12.7193 13.77C12.8488 13.2366 13.0117 12.5716 12.8845 11.969C12.7997 11.4937 12.4493 11.3084 12.1503 11.295C11.7977 11.2794 11.483 11.4803 11.4049 11.7726C11.2576 12.3082 11.3893 13.0402 11.6303 13.973C11.3268 14.6961 10.8425 15.7472 10.4877 16.3721C9.8271 16.7135 8.94113 17.2402 8.80946 17.9053C8.78268 18.028 8.81392 18.1842 8.88757 18.3248C8.97014 18.481 9.10181 18.6015 9.25579 18.6596C9.32274 18.6841 9.40308 18.7042 9.49681 18.7042C9.88959 18.7042 10.5256 18.3873 11.3736 16.9322C11.5031 16.8898 11.637 16.8452 11.7664 16.8006C12.3734 16.5953 13.0028 16.381 13.5718 16.2851C14.2012 16.622 14.9175 16.8385 15.404 16.8385C15.8861 16.8385 16.0758 16.5529 16.1472 16.381C16.2722 16.0797 16.2119 15.7004 16.0088 15.4973C15.7143 15.2072 14.9979 15.1313 13.882 15.2696C13.3331 14.9349 12.9738 14.4796 12.7127 13.8012ZM10.2645 17.1911C9.95431 17.6419 9.71998 17.8673 9.59278 17.9655C9.7423 17.691 10.0346 17.4009 10.2645 17.1911ZM12.2195 11.9355C12.3355 12.1341 12.3199 12.7345 12.2306 13.038C12.1213 12.5939 12.1056 11.9645 12.1704 11.8909L12.2195 11.9355ZM12.1837 14.6247C12.4225 15.0376 12.7238 15.3924 13.0563 15.6557C12.5743 15.7651 12.1346 15.9458 11.7419 16.1065C11.6481 16.1445 11.5566 16.1824 11.4674 16.2181C11.7642 15.6803 12.0119 15.071 12.1837 14.6247ZM15.6562 16.0864L15.6428 16.1065C15.6428 16.1065 15.4375 16.2315 14.6497 15.9213C15.5558 15.8789 15.6562 16.0864 15.6562 16.0864Z\", fill: \"currentColor\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M11.5 4.5V9.5H6.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t2 = /* @__PURE__ */ jsx(\"path\", { d: \"M11.5 4.5H18.5V20.5H6.5V9.5L11.5 4.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1, $[2] = t2) : (t0 = $[0], t1 = $[1], t2 = $[2]);\n  let t3;\n  return $[3] !== props || $[4] !== ref ? (t3 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"document-pdf\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1,\n    t2\n  ] }), $[3] = props, $[4] = ref, $[5] = t3) : t3 = $[5], t3;\n});\nDocumentPdfIcon.displayName = \"ForwardRef(DocumentPdfIcon)\";\nconst DocumentRemoveIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M11.5 4.5V9.5H6.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M6.5 14V20.5H18.5V14M6.5 11V9.5L11.5 4.5H18.5V11M3 12.5H22\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"document-remove\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nDocumentRemoveIcon.displayName = \"ForwardRef(DocumentRemoveIcon)\";\nconst DocumentSheetIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M11.5 4.5V9.5H6.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M10.4 19V16.4M10.4 16.4L10.4 13.4M10.4 16.4H8M10.4 16.4H14.4M10.4 13.4V11M10.4 13.4H8M10.4 13.4H14.4M14.4 19V16.4M14.4 16.4V13.4M14.4 16.4H17M14.4 13.4V11M14.4 13.4H17M11.5 4.5H18.5V20.5H6.5V9.5L11.5 4.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"document-sheet\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nDocumentSheetIcon.displayName = \"ForwardRef(DocumentSheetIcon)\";\nconst DocumentTextIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M11.5 4.5V9.5H6.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M16 13H9M14 16H9M11.5 4.5H18.5V20.5H6.5V9.5L11.5 4.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"document-text\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nDocumentTextIcon.displayName = \"ForwardRef(DocumentTextIcon)\";\nconst DocumentVideoIcon = forwardRef(function(props, ref) {\n  const $ = c(6);\n  let t0, t1, t2;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M11.5 16.5V13.5L14 15L11.5 16.5Z\", fill: \"currentColor\", stroke: \"currentColor\", strokeWidth: 1.2 }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M11.5 4.5V9.5H6.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t2 = /* @__PURE__ */ jsx(\"path\", { d: \"M11.5 4.5H18.5V20.5H6.5V9.5L11.5 4.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1, $[2] = t2) : (t0 = $[0], t1 = $[1], t2 = $[2]);\n  let t3;\n  return $[3] !== props || $[4] !== ref ? (t3 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"document-video\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1,\n    t2\n  ] }), $[3] = props, $[4] = ref, $[5] = t3) : t3 = $[5], t3;\n});\nDocumentVideoIcon.displayName = \"ForwardRef(DocumentVideoIcon)\";\nconst DocumentWordIcon = forwardRef(function(props, ref) {\n  const $ = c(6);\n  let t0, t1, t2;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M12.4699 13.4588H12.5263L13.6328 17H14.5435L16 12H14.9952L14.0656 15.7214H14.0129L12.929 12H12.0672L10.9984 15.7214H10.9419L10.0124 12H9L10.4565 17H11.371L12.4699 13.4588Z\", fill: \"currentColor\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M11.5 4.5V9.5H6.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t2 = /* @__PURE__ */ jsx(\"path\", { d: \"M11.5 4.5H18.5V20.5H6.5V9.5L11.5 4.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1, $[2] = t2) : (t0 = $[0], t1 = $[1], t2 = $[2]);\n  let t3;\n  return $[3] !== props || $[4] !== ref ? (t3 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"document-word\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1,\n    t2\n  ] }), $[3] = props, $[4] = ref, $[5] = t3) : t3 = $[5], t3;\n});\nDocumentWordIcon.displayName = \"ForwardRef(DocumentWordIcon)\";\nconst DocumentZipIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M11.5 4.5V9.5H6.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M15 4.5L13.5 5L15.5 6L13.5 7L15.5 8L13.5 9L15.5 10L13.5 11L14.5 11.5V13M11.5 4.5H18.5V20.5H6.5V9.5L11.5 4.5ZM13.5 13H15.5L16 17H13L13.5 13Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"document-zip\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nDocumentZipIcon.displayName = \"ForwardRef(DocumentZipIcon)\";\nconst DocumentsIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M10.5 4.5V9.5H5.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M16.5 7.5H19.5V21.5H8.5V18.5M10.5 4.5H16.5V18.5H5.5V9.5L10.5 4.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"documents\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nDocumentsIcon.displayName = \"ForwardRef(DocumentsIcon)\";\nconst DotIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"circle\", { cx: 12.5, cy: 12.5, r: 2.5, fill: \"currentColor\", stroke: \"currentColor\", strokeWidth: 1.2 }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"dot\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nDotIcon.displayName = \"ForwardRef(DotIcon)\";\nconst DoubleChevronDownIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M16 8L12.5 11.5L9 8M16 13L12.5 16.5L9 13\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"double-chevron-down\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nDoubleChevronDownIcon.displayName = \"ForwardRef(DoubleChevronDownIcon)\";\nconst DoubleChevronLeftIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M12 16L8.5 12.5L12 9M17 16L13.5 12.5L17 9\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"double-chevron-left\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nDoubleChevronLeftIcon.displayName = \"ForwardRef(DoubleChevronLeftIcon)\";\nconst DoubleChevronRightIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M13 9L16.5 12.5L13 16M8 9L11.5 12.5L8 16\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"double-chevron-right\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nDoubleChevronRightIcon.displayName = \"ForwardRef(DoubleChevronRightIcon)\";\nconst DoubleChevronUpIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M9 12L12.5 8.5L16 12M9 17L12.5 13.5L16 17\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"double-chevron-up\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nDoubleChevronUpIcon.displayName = \"ForwardRef(DoubleChevronUpIcon)\";\nconst DownloadIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M19.5 17V19.5H5.5V17M12.5 16L12.5 5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M17.5 11L12.5 16L7.5 11\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"download\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nDownloadIcon.displayName = \"ForwardRef(DownloadIcon)\";\nconst DragHandleIcon = forwardRef(function(props, ref) {\n  const $ = c(9);\n  let t0, t1, t2, t3, t4, t5;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M9.5 8C10.3284 8 11 7.32843 11 6.5C11 5.67157 10.3284 5 9.5 5C8.67157 5 8 5.67157 8 6.5C8 7.32843 8.67157 8 9.5 8Z\", fill: \"currentColor\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M9.5 14C10.3284 14 11 13.3284 11 12.5C11 11.6716 10.3284 11 9.5 11C8.67157 11 8 11.6716 8 12.5C8 13.3284 8.67157 14 9.5 14Z\", fill: \"currentColor\" }), t2 = /* @__PURE__ */ jsx(\"path\", { d: \"M11 18.5C11 19.3284 10.3284 20 9.5 20C8.67157 20 8 19.3284 8 18.5C8 17.6716 8.67157 17 9.5 17C10.3284 17 11 17.6716 11 18.5Z\", fill: \"currentColor\" }), t3 = /* @__PURE__ */ jsx(\"path\", { d: \"M15.5 8C16.3284 8 17 7.32843 17 6.5C17 5.67157 16.3284 5 15.5 5C14.6716 5 14 5.67157 14 6.5C14 7.32843 14.6716 8 15.5 8Z\", fill: \"currentColor\" }), t4 = /* @__PURE__ */ jsx(\"path\", { d: \"M17 12.5C17 13.3284 16.3284 14 15.5 14C14.6716 14 14 13.3284 14 12.5C14 11.6716 14.6716 11 15.5 11C16.3284 11 17 11.6716 17 12.5Z\", fill: \"currentColor\" }), t5 = /* @__PURE__ */ jsx(\"path\", { d: \"M15.5 20C16.3284 20 17 19.3284 17 18.5C17 17.6716 16.3284 17 15.5 17C14.6716 17 14 17.6716 14 18.5C14 19.3284 14.6716 20 15.5 20Z\", fill: \"currentColor\" }), $[0] = t0, $[1] = t1, $[2] = t2, $[3] = t3, $[4] = t4, $[5] = t5) : (t0 = $[0], t1 = $[1], t2 = $[2], t3 = $[3], t4 = $[4], t5 = $[5]);\n  let t6;\n  return $[6] !== props || $[7] !== ref ? (t6 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"drag-handle\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1,\n    t2,\n    t3,\n    t4,\n    t5\n  ] }), $[6] = props, $[7] = ref, $[8] = t6) : t6 = $[8], t6;\n});\nDragHandleIcon.displayName = \"ForwardRef(DragHandleIcon)\";\nconst DropIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M18.5 14.5C18.5 18 16 20.5 12.5 20.5C9 20.5 6.5 18 6.5 14.5C6.5 11 9.5 7.50001 12.5 4.5C15.5 7.5 18.5 11 18.5 14.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"drop\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nDropIcon.displayName = \"ForwardRef(DropIcon)\";\nconst EarthAmericasIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M7 13L5.5 9L10 5H15V10L14 9H11L9.5 11L10.5 12H12V13L13 14.5H15.5L18.5 17L15.5 19.5L10.5 20V17L12.5 15L9 13L7 10.5V13Z\", fill: \"currentColor\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"circle\", { cx: 12.5, cy: 12.5, r: 8, stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"earth-americas\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nEarthAmericasIcon.displayName = \"ForwardRef(EarthAmericasIcon)\";\nconst EarthGlobeIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M20.5 12.5H4.5M12.5 20.5C12.5 20.5 9.5 17.5 9.5 12.5C9.5 7.5 12.5 4.5 12.5 4.5C12.5 4.5 15.5 7.5 15.5 12.5C15.5 17.5 12.5 20.5 12.5 20.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"earth-globe\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nEarthGlobeIcon.displayName = \"ForwardRef(EarthGlobeIcon)\";\nconst EditIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M15 7L18 10M6 19L7 15L17 5L20 8L10 18L6 19Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"edit\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nEditIcon.displayName = \"ForwardRef(EditIcon)\";\nconst EllipsisHorizontalIcon = forwardRef(function(props, ref) {\n  const $ = c(6);\n  let t0, t1, t2;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M6.5 11C7.32843 11 8 11.6716 8 12.5C8 13.3284 7.32843 14 6.5 14C5.67157 14 5 13.3284 5 12.5C5 11.6716 5.67157 11 6.5 11Z\", fill: \"currentColor\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M12.5 11C13.3284 11 14 11.6716 14 12.5C14 13.3284 13.3284 14 12.5 14C11.6716 14 11 13.3284 11 12.5C11 11.6716 11.6716 11 12.5 11Z\", fill: \"currentColor\" }), t2 = /* @__PURE__ */ jsx(\"path\", { d: \"M18.5 11C19.3284 11 20 11.6716 20 12.5C20 13.3284 19.3284 14 18.5 14C17.6716 14 17 13.3284 17 12.5C17 11.6716 17.6716 11 18.5 11Z\", fill: \"currentColor\" }), $[0] = t0, $[1] = t1, $[2] = t2) : (t0 = $[0], t1 = $[1], t2 = $[2]);\n  let t3;\n  return $[3] !== props || $[4] !== ref ? (t3 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"ellipsis-horizontal\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1,\n    t2\n  ] }), $[3] = props, $[4] = ref, $[5] = t3) : t3 = $[5], t3;\n});\nEllipsisHorizontalIcon.displayName = \"ForwardRef(EllipsisHorizontalIcon)\";\nconst EllipsisVerticalIcon = forwardRef(function(props, ref) {\n  const $ = c(6);\n  let t0, t1, t2;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M14 6.5C14 7.32843 13.3284 8 12.5 8C11.6716 8 11 7.32843 11 6.5C11 5.67157 11.6716 5 12.5 5C13.3284 5 14 5.67157 14 6.5Z\", fill: \"currentColor\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M14 12.5C14 13.3284 13.3284 14 12.5 14C11.6716 14 11 13.3284 11 12.5C11 11.6716 11.6716 11 12.5 11C13.3284 11 14 11.6716 14 12.5Z\", fill: \"currentColor\" }), t2 = /* @__PURE__ */ jsx(\"path\", { d: \"M14 18.5C14 19.3284 13.3284 20 12.5 20C11.6716 20 11 19.3284 11 18.5C11 17.6716 11.6716 17 12.5 17C13.3284 17 14 17.6716 14 18.5Z\", fill: \"currentColor\" }), $[0] = t0, $[1] = t1, $[2] = t2) : (t0 = $[0], t1 = $[1], t2 = $[2]);\n  let t3;\n  return $[3] !== props || $[4] !== ref ? (t3 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"ellipsis-vertical\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1,\n    t2\n  ] }), $[3] = props, $[4] = ref, $[5] = t3) : t3 = $[5], t3;\n});\nEllipsisVerticalIcon.displayName = \"ForwardRef(EllipsisVerticalIcon)\";\nconst EmptyIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M12.5 21V19.1111M8.25 19.8614L9.19445 18.2255M5.13878 16.7501L6.77461 15.8057M4 12.5H5.8889M5.13872 8.2499L6.77455 9.19436M8.25004 5.13876L9.19449 6.7746M12.5 5.88891V4M15.8055 6.77465L16.75 5.1388M18.2254 9.19449L19.8612 8.25004M19.1111 12.5001H21M18.2254 15.8056L19.8612 16.7501M15.8056 18.2255L16.75 19.8614\", stroke: \"currentColor\", strokeWidth: 1.2 }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"empty\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nEmptyIcon.displayName = \"ForwardRef(EmptyIcon)\";\nconst EnterIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M6 14.5H19.5V7\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M10 18.5L6 14.5L10 10.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"enter\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nEnterIcon.displayName = \"ForwardRef(EnterIcon)\";\nconst EnterRightIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M19 14.5H5.5V7\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M15 18.5L19 14.5L15 10.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"enter-right\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nEnterRightIcon.displayName = \"ForwardRef(EnterRightIcon)\";\nconst EnvelopeIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M20.5 18.5H4.5V6.5H20.5V18.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M20.5 18.5L17.75 15.5L15 12.5M4.5 18.5L10 12.5M20.5 6.5L12.5 15L4.5 6.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"envelope\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nEnvelopeIcon.displayName = \"ForwardRef(EnvelopeIcon)\";\nconst EqualIcon = forwardRef(function(props, ref) {\n  const $ = c(7);\n  let t0, t1, t2, t3;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M7.5 4.5H3.5V20.5H7.5\", stroke: \"currentColor\", strokeWidth: 1.2 }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M17.5 20.5L21.5 20.5L21.5 4.5L17.5 4.5\", stroke: \"currentColor\", strokeWidth: 1.2 }), t2 = /* @__PURE__ */ jsx(\"path\", { d: \"M9 10.5H16\", stroke: \"currentColor\", strokeWidth: 1.2 }), t3 = /* @__PURE__ */ jsx(\"path\", { d: \"M9 14.5H16\", stroke: \"currentColor\", strokeWidth: 1.2 }), $[0] = t0, $[1] = t1, $[2] = t2, $[3] = t3) : (t0 = $[0], t1 = $[1], t2 = $[2], t3 = $[3]);\n  let t4;\n  return $[4] !== props || $[5] !== ref ? (t4 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"equal\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1,\n    t2,\n    t3\n  ] }), $[4] = props, $[5] = ref, $[6] = t4) : t4 = $[6], t4;\n});\nEqualIcon.displayName = \"ForwardRef(EqualIcon)\";\nconst ErrorFilledIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M4 12.5C4 7.80558 7.80558 4 12.5 4C17.1944 4 21 7.80558 21 12.5C21 17.1944 17.1944 21 12.5 21C7.80558 21 4 17.1944 4 12.5ZM13 14.5V16H12V14.5H13ZM12 9V13H13V9H12Z\", fill: \"currentColor\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"error-filled\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nErrorFilledIcon.displayName = \"ForwardRef(ErrorFilledIcon)\";\nconst ErrorOutlineIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M12.5 16V14.5M12.5 9V13M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"error-outline\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nErrorOutlineIcon.displayName = \"ForwardRef(ErrorOutlineIcon)\";\nconst ExpandIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M14 6.5H18.5V11M11 18.5H6.5V14\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M18.5 6.5L14 11M6.5 18.5L11 14\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"expand\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nExpandIcon.displayName = \"ForwardRef(ExpandIcon)\";\nconst EyeClosedIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M7 15.5L5.5 17.5M20.5 12.5C19.8612 13.5647 19.041 14.6294 18.0008 15.501M18.0008 15.501C16.5985 16.676 14.7965 17.5 12.5 17.5M18.0008 15.501L18 15.5M18.0008 15.501L19.5 17.5M12.5 17.5C8.5 17.5 6 15 4.5 12.5M12.5 17.5V20M15.5 17L16.5 19.5M9.5 17L8.5 19.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"eye-closed\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nEyeClosedIcon.displayName = \"ForwardRef(EyeClosedIcon)\";\nconst EyeOpenIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M9.39999 12.5C9.39999 10.7879 10.7879 9.39999 12.5 9.39999C14.2121 9.39999 15.6 10.7879 15.6 12.5C15.6 14.2121 14.2121 15.6 12.5 15.6C10.7879 15.6 9.39999 14.2121 9.39999 12.5Z\", fill: \"currentColor\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M12.5 7.5C8.5 7.5 6 10 4.5 12.5C6 15 8.5 17.5 12.5 17.5C16.5 17.5 19 15 20.5 12.5C19 10 16.5 7.5 12.5 7.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"eye-open\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nEyeOpenIcon.displayName = \"ForwardRef(EyeOpenIcon)\";\nconst FilterIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M11 12L6 7V6L19 6L19 7L14 12V17L11 19V12Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinecap: \"square\", strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"filter\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nFilterIcon.displayName = \"ForwardRef(FilterIcon)\";\nconst FolderIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M11.5 8.5H19.5V18.5H5.5V5.5H10.5L11.5 8.5ZM11.5 8.5H5.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"folder\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nFolderIcon.displayName = \"ForwardRef(FolderIcon)\";\nconst GenerateIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M9 5.30423C6.33576 6.60253 4.5 9.33688 4.5 12.5C4.5 16.9183 8.08172 20.5 12.5 20.5C16.9183 20.5 20.5 16.9183 20.5 12.5C20.5 8.08172 16.9183 4.5 12.5 4.5V14.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M16 11L12.5 14.5L9 11\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"generate\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nGenerateIcon.displayName = \"ForwardRef(GenerateIcon)\";\nconst GroqIcon = forwardRef(function(props, ref) {\n  const $ = c(6);\n  let t0, t1, t2;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M13 13H21L13 21L13 13Z\", fill: \"currentColor\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M12 12V4L4 12H12Z\", fill: \"currentColor\" }), t2 = /* @__PURE__ */ jsx(\"path\", { d: \"M12 13H4L12 21V13Z\", fill: \"currentColor\" }), $[0] = t0, $[1] = t1, $[2] = t2) : (t0 = $[0], t1 = $[1], t2 = $[2]);\n  let t3;\n  return $[3] !== props || $[4] !== ref ? (t3 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"groq\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1,\n    t2\n  ] }), $[3] = props, $[4] = ref, $[5] = t3) : t3 = $[5], t3;\n});\nGroqIcon.displayName = \"ForwardRef(GroqIcon)\";\nconst HashIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M8.33894 16.1002H5.44615L5.63077 14.9002H8.52356L9.26202 10.1002H6.36923L6.55384 8.90018H9.44663L9.89281 6H11.1069L10.6608 8.90018H15.4466L15.8928 6H17.1069L16.6608 8.90018H19.5539L19.3693 10.1002H16.4761L15.7377 14.9002H18.6308L18.4462 16.1002H15.5531L15.1069 19H13.8928L14.3389 16.1002H9.55306L9.10693 19H7.89281L8.33894 16.1002ZM10.4761 10.1002L9.73767 14.9002H14.5236L15.262 10.1002H10.4761Z\", fill: \"currentColor\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"hash\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nHashIcon.displayName = \"ForwardRef(HashIcon)\";\nconst HeartFilledIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M17 16C15.8 17.3235 12.5 20.5 12.5 20.5C12.5 20.5 9.2 17.3235 8 16C5.2 12.9118 4.5 11.7059 4.5 9.5C4.5 7.29412 6.1 5.5 8.5 5.5C10.5 5.5 11.7 6.82353 12.5 8.14706C13.3 6.82353 14.5 5.5 16.5 5.5C18.9 5.5 20.5 7.29412 20.5 9.5C20.5 11.7059 19.8 12.9118 17 16Z\", fill: \"currentColor\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"heart-filled\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nHeartFilledIcon.displayName = \"ForwardRef(HeartFilledIcon)\";\nconst HeartIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M17 16C15.8 17.3235 12.5 20.5 12.5 20.5C12.5 20.5 9.2 17.3235 8 16C5.2 12.9118 4.5 11.7059 4.5 9.5C4.5 7.29412 6.1 5.5 8.5 5.5C10.5 5.5 11.7 6.82353 12.5 8.14706C13.3 6.82353 14.5 5.5 16.5 5.5C18.9 5.5 20.5 7.29412 20.5 9.5C20.5 11.7059 19.8 12.9118 17 16Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"heart\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nHeartIcon.displayName = \"ForwardRef(HeartIcon)\";\nconst HelpCircleIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M12.5 13C12.5 11 14 11.5 14 10C14 9.34375 13.5 8.5 12.5 8.5C11.5 8.5 11 9 10.5 9.5M12.5 16V14.5M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"help-circle\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nHelpCircleIcon.displayName = \"ForwardRef(HelpCircleIcon)\";\nconst HighlightIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M17.5311 13.7141L8.0245 8.22547M17.5311 13.7141L20.25 9.00478M17.5311 13.7141L16.5 15.5L13.232 16.134L12 18L11.4142 17.6485M8.0245 8.22547L10.75 3.50479M8.0245 8.22547L6.99999 9.99998L7.99998 13L6.99998 15L7.58576 15.3514M7.58576 15.3514L4.90192 20L10.0566 20L11.4142 17.6485M7.58576 15.3514L11.4142 17.6485M13 20H20\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"highlight\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nHighlightIcon.displayName = \"ForwardRef(HighlightIcon)\";\nconst HomeIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M6.5 8.75V18.5H18.5V8.75M4.5 10L12.5 5L20.5 10M14.5 18.5V11.5H10.5V18.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"home\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nHomeIcon.displayName = \"ForwardRef(HomeIcon)\";\nconst IceCreamIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M9.5 13.5L12.5 20.5L15.5 13.5M12.5 8.26389C11.9692 7.78885 11.2684 7.5 10.5 7.5C8.84315 7.5 7.5 8.84315 7.5 10.5C7.5 12.1569 8.84315 13.5 10.5 13.5C11.2684 13.5 11.9692 13.2111 12.5 12.7361M9.5 7.5C9.5 5.84315 10.8431 4.5 12.5 4.5C14.1569 4.5 15.5 5.84315 15.5 7.5M17.5 10.5C17.5 12.1569 16.1569 13.5 14.5 13.5C12.8431 13.5 11.5 12.1569 11.5 10.5C11.5 8.84315 12.8431 7.5 14.5 7.5C16.1569 7.5 17.5 8.84315 17.5 10.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"ice-cream\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nIceCreamIcon.displayName = \"ForwardRef(IceCreamIcon)\";\nconst ImageIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M5.5 15.5L8.79289 12.2071C9.18342 11.8166 9.81658 11.8166 10.2071 12.2071L12.8867 14.8867C13.2386 15.2386 13.7957 15.2782 14.1938 14.9796L15.1192 14.2856C15.3601 14.1049 15.6696 14.0424 15.9618 14.1154L19.5 15M5.5 6.5H19.5V18.5H5.5V6.5ZM15.5 10.5C15.5 11.0523 15.0523 11.5 14.5 11.5C13.9477 11.5 13.5 11.0523 13.5 10.5C13.5 9.94772 13.9477 9.5 14.5 9.5C15.0523 9.5 15.5 9.94772 15.5 10.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"image\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nImageIcon.displayName = \"ForwardRef(ImageIcon)\";\nconst ImageRemoveIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M5.5 11V6.5H19.5V11M5.5 14V18.5H19.5V14M3 12.5H22\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"image-remove\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nImageRemoveIcon.displayName = \"ForwardRef(ImageRemoveIcon)\";\nconst ImagesIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M18.5 7.5H20.5V19.5H6.5V17.5M4.5 14.5L7.79289 11.2071C8.18342 10.8166 8.81658 10.8166 9.20711 11.2071L11.8867 13.8867C12.2386 14.2386 12.7957 14.2782 13.1938 13.9796L14.1192 13.2856C14.3601 13.1049 14.6696 13.0424 14.9618 13.1154L18.5 14M4.5 5.5H18.5V17.5H4.5V5.5ZM14.5 9.5C14.5 10.0523 14.0523 10.5 13.5 10.5C12.9477 10.5 12.5 10.0523 12.5 9.5C12.5 8.94772 12.9477 8.5 13.5 8.5C14.0523 8.5 14.5 8.94772 14.5 9.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"images\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nImagesIcon.displayName = \"ForwardRef(ImagesIcon)\";\nconst InfoFilledIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M21 12.5C21 17.1944 17.1944 21 12.5 21C7.80558 21 4 17.1944 4 12.5C4 7.80558 7.80558 4 12.5 4C17.1944 4 21 7.80558 21 12.5ZM12 10.5V9H13V10.5H12ZM13 16V12H12V16H13Z\", fill: \"currentColor\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"info-filled\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nInfoFilledIcon.displayName = \"ForwardRef(InfoFilledIcon)\";\nconst InfoOutlineIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M12.5 10.5V9M12.5 12V16M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"info-outline\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nInfoOutlineIcon.displayName = \"ForwardRef(InfoOutlineIcon)\";\nconst InlineElementIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M5.5 5V20M19.5 5V20M8.5 6.5H16.5V18.5H8.5V6.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"inline-element\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nInlineElementIcon.displayName = \"ForwardRef(InlineElementIcon)\";\nconst InlineIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M12.5 6.5H19.5V18.5H12.5M12.5 6.5H5.5V18.5H12.5M12.5 6.5V18.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"inline\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nInlineIcon.displayName = \"ForwardRef(InlineIcon)\";\nconst InsertAboveIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M14.5 10.5556L10.5 10.5556M12.5 12.5L12.5 8.5M18.5 5.5L6.5 5.5M18.5 19.5L6.5 19.5L6.5 15.5L18.5 15.5L18.5 19.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinecap: \"square\", strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"insert-above\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nInsertAboveIcon.displayName = \"ForwardRef(InsertAboveIcon)\";\nconst InsertBelowIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M10.5 14.5H14.5M12.5 12.5V16.5M6.5 19.5H18.5M6.5 5.5H18.5V9.5H6.5V5.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinecap: \"square\", strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"insert-below\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nInsertBelowIcon.displayName = \"ForwardRef(InsertBelowIcon)\";\nconst ItalicIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M10.43 18H11.7276L13.4551 9.86763H12.1576L10.43 18ZM13.3043 8.29849C13.8022 8.29849 14.2095 7.89112 14.2095 7.39322C14.2095 6.89532 13.8022 6.48795 13.3043 6.48795C12.8064 6.48795 12.399 6.89532 12.399 7.39322C12.399 7.89112 12.8064 8.29849 13.3043 8.29849Z\", fill: \"currentColor\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"italic\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nItalicIcon.displayName = \"ForwardRef(ItalicIcon)\";\nconst JoystickIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M9.5 16V14.5H15.5V16M13.5 10.5V14.5M11.5 10.5V14.5M15.5 7.5C15.5 9.15685 14.1569 10.5 12.5 10.5C10.8431 10.5 9.5 9.15685 9.5 7.5C9.5 5.84315 10.8431 4.5 12.5 4.5C14.1569 4.5 15.5 5.84315 15.5 7.5ZM18.5 19.5H6.5C5.94772 19.5 5.5 19.0523 5.5 18.5V17.5C5.5 16.9477 5.94772 16.5 6.5 16.5H18.5C19.0523 16.5 19.5 16.9477 19.5 17.5V18.5C19.5 19.0523 19.0523 19.5 18.5 19.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"joystick\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nJoystickIcon.displayName = \"ForwardRef(JoystickIcon)\";\nconst JsonIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M11 5.5H9.5C8.39543 5.5 7.5 6.39543 7.5 7.5V12.5M7.5 12.5H4M7.5 12.5V17.5C7.5 18.6046 8.39543 19.5 9.5 19.5H11M14 5.5H15.5C16.6046 5.5 17.5 6.39543 17.5 7.5V12.5M17.5 12.5H21M17.5 12.5V17.5C17.5 18.6046 16.6046 19.5 15.5 19.5H14\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"json\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nJsonIcon.displayName = \"ForwardRef(JsonIcon)\";\nconst LaunchIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M12 7.5H6.5V18.5H17.5V13M19.5 5.5L10.5 14.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M14 5.5H19.5V11\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"launch\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nLaunchIcon.displayName = \"ForwardRef(LaunchIcon)\";\nconst LeaveIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M14.5 15V18.5H5.5V6.5H14.5V10M9 12.5H21.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M18 9L21.5 12.5L18 16\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"leave\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nLeaveIcon.displayName = \"ForwardRef(LeaveIcon)\";\nconst LemonIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M10.6569 10.3431L6.41422 14.5858C7.58579 15.7574 9.12132 16.3431 10.6569 16.3431M10.6569 10.3431L14.8995 6.1005C16.0711 7.27208 16.6569 8.80761 16.6569 10.3431M10.6569 10.3431L10.6569 16.3431M10.6569 10.3431L16.6569 10.3431M10.6569 10.3431L14.8995 14.5858M14.8995 14.5858C13.7279 15.7574 12.1924 16.3431 10.6569 16.3431M14.8995 14.5858C16.0711 13.4142 16.6569 11.8787 16.6569 10.3431M16.3137 4.68629C19.4379 7.81049 19.4379 12.8758 16.3137 16C13.1895 19.1242 8.12419 19.1242 5 16L16.3137 4.68629Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"lemon\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nLemonIcon.displayName = \"ForwardRef(LemonIcon)\";\nconst LinkIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M11 12.5L12.5 14C13.281 14.781 14.719 14.781 15.5 14L18.5 11C19.281 10.219 19.281 8.78105 18.5 8L18 7.5C17.2189 6.71895 15.781 6.71895 15 7.5L13 9.5M12 15.5L10 17.5C9.21895 18.281 7.78105 18.281 7 17.5L6.5 17C5.71895 16.219 5.71896 14.781 6.5 14L9.50001 11C10.2811 10.219 11.719 10.2189 12.5 11L14 12.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"link\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nLinkIcon.displayName = \"ForwardRef(LinkIcon)\";\nconst LinkRemovedIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M18.5 11C19.281 10.219 19.281 8.78108 18.5 8.00003L18 7.50003C17.2189 6.71898 15.781 6.71898 15 7.50003L13 9.50003M15.5 14C14.7189 14.7811 13.281 14.7811 12.5 14M6.5 14C5.71895 14.7811 5.71894 16.219 6.49999 17L6.99999 17.5C7.78104 18.2811 9.21894 18.2811 9.99999 17.5L12 15.5M12.5 11C11.719 10.219 10.281 10.219 9.5 11M3 12.5H22\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"link-removed\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nLinkRemovedIcon.displayName = \"ForwardRef(LinkRemovedIcon)\";\nconst ListIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M6 6.5H19M6 14.5H19M6 10.5H19M6 18.5H19\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"list\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nListIcon.displayName = \"ForwardRef(ListIcon)\";\nconst LockIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M15.5 11.5V8.5C15.5 6.5 14 5.5 12.5 5.5C11 5.5 9.5 6.5 9.5 8.5V11.5M7.5 11.5H17.5V19.5H7.5V11.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"lock\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nLockIcon.displayName = \"ForwardRef(LockIcon)\";\nconst LogoJsIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M20 5H5V20H20V5ZM12.5254 16.1572C12.5254 17.4189 11.7742 18.1536 10.4792 18.1536C9.24243 18.1536 8.49121 17.4189 8.45801 16.2942V16.261H9.67407V16.2859C9.69897 16.7466 9.9729 17.0703 10.4626 17.0703C10.9939 17.0703 11.272 16.7507 11.272 16.1489V12.011H12.5254V16.1572ZM18.2893 16.2153C18.2893 17.4023 17.3679 18.1536 15.8738 18.1536C14.4419 18.1536 13.5371 17.4688 13.4666 16.4062L13.4624 16.3398H14.6702L14.6743 16.3813C14.72 16.8296 15.2056 17.1326 15.907 17.1326C16.5752 17.1326 17.0359 16.813 17.0359 16.3523V16.3481C17.0359 15.9539 16.7412 15.7339 15.9983 15.5803L15.3674 15.4517C14.1223 15.1985 13.5869 14.6174 13.5869 13.7085V13.7043C13.5869 12.592 14.5415 11.8574 15.8696 11.8574C17.2683 11.8574 18.0901 12.5962 18.1689 13.5964L18.1731 13.6504H16.9944L16.9861 13.6006C16.9155 13.1731 16.5005 12.8743 15.8696 12.8743C15.2512 12.8784 14.8403 13.1606 14.8403 13.6089V13.613C14.8403 14.0032 15.1309 14.2356 15.8364 14.3809L16.4714 14.5095C17.7373 14.771 18.2893 15.2773 18.2893 16.2112V16.2153Z\", fill: \"currentColor\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"logo-js\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nLogoJsIcon.displayName = \"ForwardRef(LogoJsIcon)\";\nconst LogoTsIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M20 5H5V20H20V5ZM11.0769 18H9.82349V13.0444H8.02637V12.011H12.874V13.0444H11.0769V18ZM18.2893 16.2153C18.2893 17.4023 17.3679 18.1536 15.8738 18.1536C14.4419 18.1536 13.5371 17.4688 13.4666 16.4062L13.4624 16.3398H14.6702L14.6743 16.3813C14.72 16.8296 15.2056 17.1326 15.907 17.1326C16.5752 17.1326 17.0359 16.813 17.0359 16.3523V16.3481C17.0359 15.9539 16.7412 15.7339 15.9983 15.5803L15.3674 15.4517C14.1223 15.1985 13.5869 14.6174 13.5869 13.7085V13.7043C13.5869 12.592 14.5415 11.8574 15.8696 11.8574C17.2683 11.8574 18.0901 12.5962 18.1689 13.5964L18.1731 13.6504H16.9944L16.9861 13.6006C16.9155 13.1731 16.5005 12.8743 15.8696 12.8743C15.2512 12.8784 14.8403 13.1606 14.8403 13.6089V13.613C14.8403 14.0032 15.1309 14.2356 15.8364 14.3809L16.4714 14.5095C17.7373 14.771 18.2893 15.2773 18.2893 16.2112V16.2153Z\", fill: \"currentColor\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"logo-ts\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nLogoTsIcon.displayName = \"ForwardRef(LogoTsIcon)\";\nconst MarkerIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M6.5 10.5C6.5 7 9 4.5 12.5 4.5C16 4.5 18.5 7 18.5 10.5C18.5 14 15.5 17.5 12.5 20.5C9.5 17.5 6.5 14 6.5 10.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M14 10.5C14 11.3284 13.3284 12 12.5 12C11.6716 12 11 11.3284 11 10.5C11 9.67157 11.6716 9 12.5 9C13.3284 9 14 9.67157 14 10.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"marker\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nMarkerIcon.displayName = \"ForwardRef(MarkerIcon)\";\nconst MarkerRemovedIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M7.39787 14C8.51075 16.2897 10.5054 18.5054 12.5 20.5C14.4946 18.5054 16.4892 16.2897 17.6021 14M6.52009 11C6.50681 10.8334 6.5 10.6667 6.5 10.5C6.5 7 9 4.5 12.5 4.5C16 4.5 18.5 7 18.5 10.5C18.5 10.6667 18.4932 10.8334 18.4799 11M3 12.5H22\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"marker-removed\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nMarkerRemovedIcon.displayName = \"ForwardRef(MarkerRemovedIcon)\";\nconst MasterDetailIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M7 9.5H10M11.5 6.5V18.5M7 12.5H10M13 9.5H18M7 15.5H10M5.5 6.5H19.5V18.5H5.5V6.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"master-detail\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nMasterDetailIcon.displayName = \"ForwardRef(MasterDetailIcon)\";\nconst MenuIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M6 7.5H19M6 17.5H19M6 12.5H19\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"menu\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nMenuIcon.displayName = \"ForwardRef(MenuIcon)\";\nconst MobileDeviceIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M7.5 6.5C7.5 5.39543 8.39543 4.5 9.5 4.5H15.5C16.6046 4.5 17.5 5.39543 17.5 6.5V18.5C17.5 19.6046 16.6046 20.5 15.5 20.5H9.5C8.39543 20.5 7.5 19.6046 7.5 18.5V6.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M13.5 17.5C13.5 18.0523 13.0523 18.5 12.5 18.5C11.9477 18.5 11.5 18.0523 11.5 17.5C11.5 16.9477 11.9477 16.5 12.5 16.5C13.0523 16.5 13.5 16.9477 13.5 17.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"mobile-device\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nMobileDeviceIcon.displayName = \"ForwardRef(MobileDeviceIcon)\";\nconst MoonIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M19.6065 16.1775C18.9417 16.387 18.234 16.5 17.5 16.5C13.634 16.5 10.5 13.366 10.5 9.5C10.5 7.54163 11.3042 5.77109 12.6004 4.50062C12.567 4.50021 12.5335 4.5 12.5 4.5C8.08172 4.5 4.5 8.08172 4.5 12.5C4.5 16.9183 8.08172 20.5 12.5 20.5C15.5924 20.5 18.275 18.7454 19.6065 16.1775Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"moon\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nMoonIcon.displayName = \"ForwardRef(MoonIcon)\";\nconst NumberIcon = forwardRef(function(props, ref) {\n  const $ = c(7);\n  let t0, t1, t2, t3;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M21.0165 17.6336H3.83636V16.4336H21.0165V17.6336Z\", fill: \"currentColor\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M7.09808 13.3967V7.508H5.74066L3.83636 8.78241V10.091L5.65277 8.88495H5.74066V13.3967H3.84125V14.5539H8.89984V13.3967H7.09808Z\", fill: \"currentColor\" }), t2 = /* @__PURE__ */ jsx(\"path\", { d: \"M9.81781 9.63202V9.66132H11.1069V9.62714C11.1069 8.95331 11.5756 8.49432 12.2739 8.49432C12.9575 8.49432 13.4018 8.89471 13.4018 9.50507C13.4018 9.9787 13.1528 10.3498 12.1909 11.3117L9.89594 13.5822V14.5539H14.8618V13.3869H11.7807V13.299L13.1577 11.9855C14.3491 10.843 14.7543 10.1838 14.7543 9.41229C14.7543 8.19159 13.7729 7.36639 12.3178 7.36639C10.8383 7.36639 9.81781 8.28436 9.81781 9.63202Z\", fill: \"currentColor\" }), t3 = /* @__PURE__ */ jsx(\"path\", { d: \"M17.6694 11.4631H18.5092C19.3198 11.4631 19.8422 11.8683 19.8422 12.4982C19.8422 13.1183 19.3295 13.5139 18.5239 13.5139C17.767 13.5139 17.2592 13.133 17.2104 12.5324H15.9262C15.9897 13.8508 17.0248 14.6955 18.5629 14.6955C20.1401 14.6955 21.2192 13.841 21.2192 12.591C21.2192 11.6584 20.6528 11.0334 19.7006 10.9211V10.8332C20.4721 10.6769 20.9457 10.0666 20.9457 9.23651C20.9457 8.12323 19.9741 7.36639 18.5434 7.36639C17.0541 7.36639 16.1118 8.17694 16.0629 9.50018H17.2983C17.3422 8.88007 17.8061 8.48456 18.4995 8.48456C19.2075 8.48456 19.6567 8.85565 19.6567 9.44159C19.6567 10.0324 19.1977 10.4182 18.4946 10.4182H17.6694V11.4631Z\", fill: \"currentColor\" }), $[0] = t0, $[1] = t1, $[2] = t2, $[3] = t3) : (t0 = $[0], t1 = $[1], t2 = $[2], t3 = $[3]);\n  let t4;\n  return $[4] !== props || $[5] !== ref ? (t4 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"number\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1,\n    t2,\n    t3\n  ] }), $[4] = props, $[5] = ref, $[6] = t4) : t4 = $[6], t4;\n});\nNumberIcon.displayName = \"ForwardRef(NumberIcon)\";\nconst OkHandIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M15.9957 11.5C14.8197 10.912 11.9957 9 10.4957 9C8.9957 9 5.17825 11.7674 6 13C7 14.5 9.15134 11.7256 10.4957 12C11.8401 12.2744 13 13.5 13 14.5C13 15.5 11.8401 16.939 10.4957 16.5C9.15134 16.061 8.58665 14.3415 7.4957 14C6.21272 13.5984 5.05843 14.6168 5.5 15.5C5.94157 16.3832 7.10688 17.6006 8.4957 19C9.74229 20.2561 11.9957 21.5 14.9957 20C17.9957 18.5 18.5 16.2498 18.5 13C18.5 11.5 13.7332 5.36875 11.9957 4.5C10.9957 4 10 5 10.9957 6.5C11.614 7.43149 13.5 9.27705 14 10.3751M15.5 8C15.5 8 15.3707 7.5 14.9957 6C14.4957 4 15.9957 3.5 16.4957 4.5C17.1281 5.76491 18.2872 10.9147 18.4957 13\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"ok-hand\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nOkHandIcon.displayName = \"ForwardRef(OkHandIcon)\";\nconst OlistIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M10 7.5H19M10 12.5H19M10 17.5H19M5 18.5H7.5L7 17.5L7.5 16.5H5M5 6.5H6.5V8.5M5 8.5H6.5M6.5 8.5H8M8 13.5H6L7 11.5H5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"olist\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nOlistIcon.displayName = \"ForwardRef(OlistIcon)\";\nconst OverageIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M18.5 11V6.5H14\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M6.5 18.5L9 16L12 13L18.5 6.5M3 13.5H22\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"overage\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nOverageIcon.displayName = \"ForwardRef(OverageIcon)\";\nconst PackageIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M12.5 13V22M12.5 13L4.5 8M12.5 13L20.5 8M8.5 5.5L16.5 10.5M4.5 8L12.5 3L20.5 8V17L12.5 22L4.5 17V8Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"package\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nPackageIcon.displayName = \"ForwardRef(PackageIcon)\";\nconst PanelLeftIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M10.5 6.5H19.5V18.5H10.5M10.5 6.5H5.5V18.5H10.5M10.5 6.5V18.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"panel-left\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nPanelLeftIcon.displayName = \"ForwardRef(PanelLeftIcon)\";\nconst PanelRightIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M14.5 6.5H19.5V18.5H14.5M14.5 6.5H5.5V18.5H14.5M14.5 6.5V18.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"panel-right\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nPanelRightIcon.displayName = \"ForwardRef(PanelRightIcon)\";\nconst PauseIcon = forwardRef(function(props, ref) {\n  const $ = c(7);\n  let t0, t1, t2, t3;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M10.5 7.5H8.5V17.5H10.5V7.5Z\", fill: \"currentColor\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M16.5 7.5H14.5V17.5H16.5V7.5Z\", fill: \"currentColor\" }), t2 = /* @__PURE__ */ jsx(\"path\", { d: \"M10.5 7.5H8.5V17.5H10.5V7.5Z\", stroke: \"currentColor\", strokeWidth: 1.2 }), t3 = /* @__PURE__ */ jsx(\"path\", { d: \"M16.5 7.5H14.5V17.5H16.5V7.5Z\", stroke: \"currentColor\", strokeWidth: 1.2 }), $[0] = t0, $[1] = t1, $[2] = t2, $[3] = t3) : (t0 = $[0], t1 = $[1], t2 = $[2], t3 = $[3]);\n  let t4;\n  return $[4] !== props || $[5] !== ref ? (t4 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"pause\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1,\n    t2,\n    t3\n  ] }), $[4] = props, $[5] = ref, $[6] = t4) : t4 = $[6], t4;\n});\nPauseIcon.displayName = \"ForwardRef(PauseIcon)\";\nconst PinFilledIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M17 15H8V13.5C8 12 10.5 11 10.5 11V9L8.5 7V6H16.5V7L14.5 9V11C14.5 11 17 12 17 13.5V15Z\", fill: \"currentColor\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M12 15L12.5 20L13 15\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"pin-filled\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nPinFilledIcon.displayName = \"ForwardRef(PinFilledIcon)\";\nconst PinIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M12 15L12.5 20L13 15\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M17 15H8V13.5C8 12 10.5 11 10.5 11V9L8.5 7V6H16.5V7L14.5 9V11C14.5 11 17 12 17 13.5V15Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"pin\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nPinIcon.displayName = \"ForwardRef(PinIcon)\";\nconst PinRemovedIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M7.39787 14C8.51075 16.2897 10.5054 18.5054 12.5 20.5C14.4946 18.5054 16.4892 16.2897 17.6021 14M6.52009 11C6.50681 10.8334 6.5 10.6667 6.5 10.5C6.5 7 9 4.5 12.5 4.5C16 4.5 18.5 7 18.5 10.5C18.5 10.6667 18.4932 10.8334 18.4799 11M3 12.5H22\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"pin-removed\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nPinRemovedIcon.displayName = \"ForwardRef(PinRemovedIcon)\";\nconst PlayIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M7.5 18.5V6.5L17.5 12.5L7.5 18.5Z\", fill: \"currentColor\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"play\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nPlayIcon.displayName = \"ForwardRef(PlayIcon)\";\nconst PlugIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M13.25 8.5L16.75 5M16.25 11.5L19.75 8M9.25 15.5L5.25 19.5M7.75 14L9.75 12C8.25 10 8.75 9 9.75 8C10.15 7.6 11.25 6.5 11.25 6.5L18.25 13.5C18.25 13.5 17.3825 14.3675 16.75 15C15.75 16 14.75 16.5 12.75 15L10.75 17L7.75 14Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"plug\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nPlugIcon.displayName = \"ForwardRef(PlugIcon)\";\nconst PresentationIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M10.5 18H5.5V8.5H19.5V18H14.5M10.5 18L9 22M10.5 18H14.5M14.5 18L16 22M4.5 8.5H20.5V6.5H4.5V8.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"presentation\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nPresentationIcon.displayName = \"ForwardRef(PresentationIcon)\";\nconst Progress50Icon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M17 12.5C17 14.9853 14.9853 17 12.5 17V8C14.9853 8 17 10.0147 17 12.5Z\", fill: \"currentColor\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M12.5 20.5C16.9183 20.5 20.5 16.9183 20.5 12.5C20.5 8.08172 16.9183 4.5 12.5 4.5C8.08172 4.5 4.5 8.08172 4.5 12.5C4.5 16.9183 8.08172 20.5 12.5 20.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"progress-50\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nProgress50Icon.displayName = \"ForwardRef(Progress50Icon)\";\nconst Progress75Icon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M12.5 17C14.9853 17 17 14.9853 17 12.5C17 10.0147 14.9853 8 12.5 8V12.5H8C8 14.9853 10.0147 17 12.5 17Z\", fill: \"currentColor\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"progress-75\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nProgress75Icon.displayName = \"ForwardRef(Progress75Icon)\";\nconst ProjectsIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M21 17.5H14M17.5 14V21M5.5 14.5H10.5V19.5H5.5V14.5ZM14.5 5.5H19.5V10.5H14.5V5.5ZM5.5 5.5H10.5V10.5H5.5V5.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"projects\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nProjectsIcon.displayName = \"ForwardRef(ProjectsIcon)\";\nconst PublishIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M4.99997 5.50006H20M12.5 9.00005V20\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M7.5 14L12.5 9.00006L17.5 14\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"publish\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nPublishIcon.displayName = \"ForwardRef(PublishIcon)\";\nconst ReadOnlyIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M15 7L18 10M10 12L7 15L6 19L10 18L13 15M12 10L17 5L20 8L15 13M19 19L5 5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"read-only\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nReadOnlyIcon.displayName = \"ForwardRef(ReadOnlyIcon)\";\nconst RedoIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M19 9.5L10 9.5C7.51472 9.5 5.5 11.5147 5.5 14C5.5 16.4853 7.51472 18.5 10 18.5H19\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M15 13.5L19 9.5L15 5.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"redo\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nRedoIcon.displayName = \"ForwardRef(RedoIcon)\";\nconst RefreshIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M19.5 13.5C19.5 17.366 16.366 20.5 12.5 20.5C8.63401 20.5 5.5 17.366 5.5 13.5C5.5 9.63401 8.63401 6.5 12.5 6.5H15.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M11.5 10.5L15.5 6.5L11.5 2.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"refresh\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nRefreshIcon.displayName = \"ForwardRef(RefreshIcon)\";\nconst RemoveCircleIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M8 12.4H17M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"remove-circle\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nRemoveCircleIcon.displayName = \"ForwardRef(RemoveCircleIcon)\";\nconst RemoveIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M5 12.5H20\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"remove\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nRemoveIcon.displayName = \"ForwardRef(RemoveIcon)\";\nconst ResetIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M4.56189 13.5L4.14285 13.9294C4.25676 14.0406 4.41017 14.1019 4.56932 14.1C4.72847 14.098 4.88032 14.0329 4.99144 13.9189L4.56189 13.5ZM9.92427 15.9243L15.9243 9.92427L15.0757 9.07574L9.07574 15.0757L9.92427 15.9243ZM9.07574 9.92426L15.0757 15.9243L15.9243 15.0757L9.92426 9.07574L9.07574 9.92426ZM19.9 12.5C19.9 16.5869 16.5869 19.9 12.5 19.9V21.1C17.2496 21.1 21.1 17.2496 21.1 12.5H19.9ZM5.1 12.5C5.1 8.41309 8.41309 5.1 12.5 5.1V3.9C7.75035 3.9 3.9 7.75035 3.9 12.5H5.1ZM12.5 5.1C16.5869 5.1 19.9 8.41309 19.9 12.5H21.1C21.1 7.75035 17.2496 3.9 12.5 3.9V5.1ZM5.15728 13.4258C5.1195 13.1227 5.1 12.8138 5.1 12.5H3.9C3.9 12.8635 3.92259 13.2221 3.9665 13.5742L5.15728 13.4258ZM12.5 19.9C9.9571 19.9 7.71347 18.6179 6.38048 16.6621L5.38888 17.3379C6.93584 19.6076 9.54355 21.1 12.5 21.1V19.9ZM4.99144 13.9189L7.42955 11.4189L6.57045 10.5811L4.13235 13.0811L4.99144 13.9189ZM4.98094 13.0706L2.41905 10.5706L1.58095 11.4294L4.14285 13.9294L4.98094 13.0706Z\", fill: \"currentColor\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"reset\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nResetIcon.displayName = \"ForwardRef(ResetIcon)\";\nconst RestoreIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M5.88468 17C7.32466 19.1128 9.75033 20.5 12.5 20.5C16.9183 20.5 20.5 16.9183 20.5 12.5C20.5 8.08172 16.9183 4.5 12.5 4.5C8.08172 4.5 4.5 8.08172 4.5 12.5V13.5M12.5 8V12.5L15.5 15.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M7 11L4.5 13.5L2 11\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"restore\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nRestoreIcon.displayName = \"ForwardRef(RestoreIcon)\";\nconst RetrieveIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M16 14L12.5 10.5L9 14M5.5 7.5H19.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M12.5 10.5L12.5 17.5M19.5 7.5V19.5H5.5V7.5L7.5 5.5H17.5L19.5 7.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"retrieve\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nRetrieveIcon.displayName = \"ForwardRef(RetrieveIcon)\";\nconst RetryIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M19 9.5L10 9.5C7.51472 9.5 5.5 11.5147 5.5 14C5.5 16.4853 7.51472 18.5 10 18.5H19\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M15 13.5L19 9.5L15 5.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"retry\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nRetryIcon.displayName = \"ForwardRef(RetryIcon)\";\nconst RevertIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M6 9.5L15 9.5C17.4853 9.5 19.5 11.5147 19.5 14C19.5 16.4853 17.4853 18.5 15 18.5H6\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M10 13.5L6 9.5L10 5.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"revert\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nRevertIcon.displayName = \"ForwardRef(RevertIcon)\";\nconst RobotIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M12.5 15.5V17.5M12.5 8.5V6.5M12.5 6.5C13.3284 6.5 14 5.82843 14 5C14 4.17157 13.3284 3.5 12.5 3.5C11.6716 3.5 11 4.17157 11 5C11 5.82843 11.6716 6.5 12.5 6.5ZM20.5 20.5V19.5C20.5 18.3954 19.6046 17.5 18.5 17.5H6.5C5.39543 17.5 4.5 18.3954 4.5 19.5V20.5H20.5ZM11.5 12C11.5 12.5523 11.0523 13 10.5 13C9.94772 13 9.5 12.5523 9.5 12C9.5 11.4477 9.94772 11 10.5 11C11.0523 11 11.5 11.4477 11.5 12ZM15.5 12C15.5 12.5523 15.0523 13 14.5 13C13.9477 13 13.5 12.5523 13.5 12C13.5 11.4477 13.9477 11 14.5 11C15.0523 11 15.5 11.4477 15.5 12ZM8.5 15.5H16.5C17.6046 15.5 18.5 14.6046 18.5 13.5V10.5C18.5 9.39543 17.6046 8.5 16.5 8.5H8.5C7.39543 8.5 6.5 9.39543 6.5 10.5V13.5C6.5 14.6046 7.39543 15.5 8.5 15.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"robot\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nRobotIcon.displayName = \"ForwardRef(RobotIcon)\";\nconst RocketIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M12.5 20.5L15.5 14M11 9.49999L4.5 12.5M9 14C9 14 7.54688 14.9531 6.5 16C5.5 17 4.5 20.5 4.5 20.5C4.5 20.5 8 19.5 9 18.5C10 17.5 11 16 11 16M9 14C9 14 10.1 9.9 12.5 7.5C15.5 4.5 20.5 4.5 20.5 4.5C20.5 4.5 20.5 9.5 17.5 12.5C15.7492 14.2508 11 16 11 16L9 14ZM16.5 9.99999C16.5 10.8284 15.8284 11.5 15 11.5C14.1716 11.5 13.5 10.8284 13.5 9.99999C13.5 9.17157 14.1716 8.49999 15 8.49999C15.8284 8.49999 16.5 9.17157 16.5 9.99999Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"rocket\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nRocketIcon.displayName = \"ForwardRef(RocketIcon)\";\nconst SchemaIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M12.5 9.5V12.5M12.5 12.5H8.5V15.5M12.5 12.5H16.5V15.5M10.5 5.5H14.5V9.5H10.5V5.5ZM6.5 15.5H10.5V19.5H6.5V15.5ZM14.5 15.5H18.5V19.5H14.5V15.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"schema\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nSchemaIcon.displayName = \"ForwardRef(SchemaIcon)\";\nconst SearchIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M15.0355 15.0355L20 20M16.5 11.5C16.5 14.2614 14.2614 16.5 11.5 16.5C8.73858 16.5 6.5 14.2614 6.5 11.5C6.5 8.73858 8.73858 6.5 11.5 6.5C14.2614 6.5 16.5 8.73858 16.5 11.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"search\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nSearchIcon.displayName = \"ForwardRef(SearchIcon)\";\nconst SelectIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M16 15L12.5 18.5L9 15M9 10L12.5 6.5L16 10\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"select\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nSelectIcon.displayName = \"ForwardRef(SelectIcon)\";\nconst ShareIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M15 10.5H18.5V19.5H6.5L6.5 10.5H10M12.5 16V3.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M9 7L12.5 3.5L16 7\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"share\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nShareIcon.displayName = \"ForwardRef(ShareIcon)\";\nconst SortIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M8.5 18.5V6M16.5 19V6.5M12 15L8.5 18.5L5 15M13 10L16.5 6.5L20 10\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"sort\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nSortIcon.displayName = \"ForwardRef(SortIcon)\";\nconst SparkleIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M10.5 10.5C8.5 12.5 5 12.5 5 12.5C5 12.5 8.5 12.5 10.5 14.5C12.5 16.5 12.5 20 12.5 20C12.5 20 12.5 16.5 14.5 14.5C16.5 12.5 20 12.5 20 12.5C20 12.5 16.5 12.5 14.5 10.5C12.5 8.5 12.5 5 12.5 5C12.5 5 12.5 8.5 10.5 10.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"sparkle\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nSparkleIcon.displayName = \"ForwardRef(SparkleIcon)\";\nconst SparklesIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M11 3.5V5M11 5V6.5M11 5H12.5M11 5H9.5M9.5 15C9.5 15 12.2308 14.7692 13.5 13.5C14.7692 12.2308 15 9.5 15 9.5C15 9.5 15.2308 12.2308 16.5 13.5C17.7692 14.7692 20.5 15 20.5 15C20.5 15 17.7692 15.2308 16.5 16.5C15.2308 17.7692 15 20.5 15 20.5C15 20.5 14.7692 17.7692 13.5 16.5C12.2308 15.2308 9.5 15 9.5 15ZM4.5 10C4.5 10 5.72308 9.87692 6.3 9.3C6.87692 8.72308 7 7.5 7 7.5C7 7.5 7.12308 8.72308 7.7 9.3C8.27692 9.87692 9.5 10 9.5 10C9.5 10 8.27692 10.1231 7.7 10.7C7.12308 11.2769 7 12.5 7 12.5C7 12.5 6.87692 11.2769 6.3 10.7C5.72308 10.1231 4.5 10 4.5 10Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinecap: \"round\", strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"sparkles\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nSparklesIcon.displayName = \"ForwardRef(SparklesIcon)\";\nconst SpinnerIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M4.5 12.5C4.5 16.9183 8.08172 20.5 12.5 20.5C16.9183 20.5 20.5 16.9183 20.5 12.5C20.5 8.08172 16.9183 4.5 12.5 4.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"spinner\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nSpinnerIcon.displayName = \"ForwardRef(SpinnerIcon)\";\nconst SplitHorizontalIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M19.5 10.5V20.5H5.5V10.5M19.5 10.5H5.5M19.5 10.5V4.5H5.5V10.5M12.5 13V15.5M12.5 18V15.5M12.5 15.5H15M12.5 15.5H10\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"split-horizontal\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nSplitHorizontalIcon.displayName = \"ForwardRef(SplitHorizontalIcon)\";\nconst SplitVerticalIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M10.5 5.5V19.5M13 12.5H15.5M18 12.5H15.5M15.5 12.5V15M15.5 12.5V10M4.5 5.5H20.5V19.5H4.5V5.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"split-vertical\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nSplitVerticalIcon.displayName = \"ForwardRef(SplitVerticalIcon)\";\nconst SquareIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"rect\", { x: 5.5, y: 5.5, width: 14, height: 14, stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"square\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nSquareIcon.displayName = \"ForwardRef(SquareIcon)\";\nconst StackCompactIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M5.5 15.5V18.5H19.5V15.5M5.5 15.5H19.5M5.5 15.5V9.5M19.5 15.5V9.5M5.5 9.5V6.5H19.5V9.5M5.5 9.5H19.5M5.5 12.5H19.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"stack-compact\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nStackCompactIcon.displayName = \"ForwardRef(StackCompactIcon)\";\nconst StackIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M5.5 12.5H19.5M5.5 18.5H19.5V6.5H5.5V18.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"stack\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nStackIcon.displayName = \"ForwardRef(StackIcon)\";\nconst StarFilledIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M12.5 5L14.522 10.217L20.1085 10.5279L15.7716 14.063L17.2023 19.4721L12.5 16.44L7.79772 19.4721L9.22837 14.063L4.89155 10.5279L10.478 10.217L12.5 5Z\", fill: \"currentColor\", stroke: \"currentColor\", strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"star-filled\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nStarFilledIcon.displayName = \"ForwardRef(StarFilledIcon)\";\nconst StarIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M12.5 5L14.522 10.217L20.1085 10.5279L15.7716 14.063L17.2023 19.4721L12.5 16.44L7.79772 19.4721L9.22837 14.063L4.89155 10.5279L10.478 10.217L12.5 5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"star\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nStarIcon.displayName = \"ForwardRef(StarIcon)\";\nconst StopIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"rect\", { x: 7.5, y: 7.5, width: 10, height: 10, fill: \"currentColor\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"stop\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nStopIcon.displayName = \"ForwardRef(StopIcon)\";\nconst StrikethroughIcon = forwardRef(function(props, ref) {\n  const $ = c(6);\n  let t0, t1, t2;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M12.5656 7.73438C11.0656 7.73438 10.0734 8.48438 10.0734 9.625C10.0734 10.2317 10.3649 10.6613 11.0519 11H8.90358C8.71703 10.6199 8.62813 10.1801 8.62813 9.67188C8.62813 7.75781 10.2297 6.46094 12.6125 6.46094C14.7922 6.46094 16.4172 7.75781 16.5344 9.57812H15.1203C14.925 8.42188 13.9719 7.73438 12.5656 7.73438Z\", fill: \"currentColor\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M12.4875 18.2656C10.0969 18.2656 8.44844 17 8.3 15.0547H9.72188C9.89375 16.2344 11.0188 16.9844 12.6203 16.9844C14.1359 16.9844 15.2531 16.1641 15.2531 15.0469C15.2531 14.6375 15.1255 14.292 14.8589 14H16.5912C16.6638 14.266 16.6984 14.5566 16.6984 14.875C16.6984 16.9453 15.0656 18.2656 12.4875 18.2656Z\", fill: \"currentColor\" }), t2 = /* @__PURE__ */ jsx(\"path\", { d: \"M7 13.1H18V11.9H7V13.1Z\", fill: \"currentColor\" }), $[0] = t0, $[1] = t1, $[2] = t2) : (t0 = $[0], t1 = $[1], t2 = $[2]);\n  let t3;\n  return $[3] !== props || $[4] !== ref ? (t3 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"strikethrough\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1,\n    t2\n  ] }), $[3] = props, $[4] = ref, $[5] = t3) : t3 = $[5], t3;\n});\nStrikethroughIcon.displayName = \"ForwardRef(StrikethroughIcon)\";\nconst StringIcon = forwardRef(function(props, ref) {\n  const $ = c(6);\n  let t0, t1, t2;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M11.6748 15.5227H13.1855L9.87842 6.36304H8.34863L5.0415 15.5227H6.50146L7.3457 13.0916H10.8369L11.6748 15.5227ZM9.04053 8.02612H9.14844L10.4751 11.8982H7.70752L9.04053 8.02612Z\", fill: \"currentColor\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M16.8101 14.488C16.0674 14.488 15.5278 14.1262 15.5278 13.5042C15.5278 12.8948 15.9595 12.571 16.9116 12.5076L18.6001 12.3997V12.9773C18.6001 13.8342 17.8384 14.488 16.8101 14.488ZM16.4609 15.637C17.3687 15.637 18.124 15.2434 18.5366 14.5515H18.6445V15.5227H19.9585V10.8C19.9585 9.34009 18.981 8.47681 17.248 8.47681C15.6802 8.47681 14.563 9.23853 14.4233 10.4255H15.7437C15.896 9.93677 16.4229 9.65747 17.1846 9.65747C18.1177 9.65747 18.6001 10.0701 18.6001 10.8V11.3967L16.7275 11.5046C15.0835 11.6062 14.1567 12.3235 14.1567 13.5676C14.1567 14.8308 15.1279 15.637 16.4609 15.637Z\", fill: \"currentColor\" }), t2 = /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M19.9585 18.637L5.0415 18.637V17.437L19.9585 17.437V18.637Z\", fill: \"currentColor\" }), $[0] = t0, $[1] = t1, $[2] = t2) : (t0 = $[0], t1 = $[1], t2 = $[2]);\n  let t3;\n  return $[3] !== props || $[4] !== ref ? (t3 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"string\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1,\n    t2\n  ] }), $[3] = props, $[4] = ref, $[5] = t3) : t3 = $[5], t3;\n});\nStringIcon.displayName = \"ForwardRef(StringIcon)\";\nconst SunIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M19 12.5H22M3 12.5H6M12.5 6V3M12.5 22V19M17.3891 7.61091L19.5104 5.48959M5.48959 19.5104L7.61091 17.3891M7.61091 7.61091L5.48959 5.48959M19.5104 19.5104L17.3891 17.3891M16 12.5C16 14.433 14.433 16 12.5 16C10.567 16 9 14.433 9 12.5C9 10.567 10.567 9 12.5 9C14.433 9 16 10.567 16 12.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"sun\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nSunIcon.displayName = \"ForwardRef(SunIcon)\";\nconst SyncIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M13.5 4.5H12.5C8.08172 4.5 4.5 8.08172 4.5 12.5C4.5 15.6631 6.33576 18.3975 9 19.6958M11.5 20.5H12.5C16.9183 20.5 20.5 16.9183 20.5 12.5C20.5 9.33688 18.6642 6.60253 16 5.30423\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M14 17.5619L11.5 20.5L14.5 23.0619M11 7.43811L13.5 4.50001L10.5 1.93811\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"sync\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nSyncIcon.displayName = \"ForwardRef(SyncIcon)\";\nconst TabletDeviceIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M5.5 5.5C5.5 4.94772 5.94772 4.5 6.5 4.5H18.5C19.0523 4.5 19.5 4.94772 19.5 5.5V19.5C19.5 20.0523 19.0523 20.5 18.5 20.5H6.5C5.94772 20.5 5.5 20.0523 5.5 19.5V5.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M13 18C13 18.2761 12.7761 18.5 12.5 18.5C12.2239 18.5 12 18.2761 12 18C12 17.7239 12.2239 17.5 12.5 17.5C12.7761 17.5 13 17.7239 13 18Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"tablet-device\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nTabletDeviceIcon.displayName = \"ForwardRef(TabletDeviceIcon)\";\nconst TagIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M12.5 20L5 20L5 12.5L12.5 5L20 12.5L12.5 20Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M11 15.5C11 16.3284 10.3284 17 9.5 17C8.67157 17 8 16.3284 8 15.5C8 14.6716 8.67157 14 9.5 14C10.3284 14 11 14.6716 11 15.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"tag\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nTagIcon.displayName = \"ForwardRef(TagIcon)\";\nconst TagsIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M12.1562 7.93179L13.9717 6.11633L20.3553 12.5L13.9717 18.8836L10.6855 18.8836M11.0283 18.8836L17.4119 12.5L11.0283 6.11633L4.64462 12.5L4.64462 18.8836L11.0283 18.8836ZM9.75153 15.0534C9.75153 15.7585 9.17992 16.3302 8.47481 16.3302C7.76969 16.3302 7.19808 15.7585 7.19808 15.0534C7.19808 14.3483 7.76969 13.7767 8.47481 13.7767C9.17992 13.7767 9.75153 14.3483 9.75153 15.0534Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"tags\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nTagsIcon.displayName = \"ForwardRef(TagsIcon)\";\nconst TaskIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M4.88281 10.75V19.75H20.8828V10.75M4.88281 10.75V5.75H20.8828V10.75M4.88281 10.75H12.8828H20.8828M17.8828 8.25V3.25M7.88281 8.25V3.25\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M10.083 14.7358L12.083 16.7358L15.683 13.1758\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"task\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nTaskIcon.displayName = \"ForwardRef(TaskIcon)\";\nconst TerminalIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M8.5 9.5L11.5 12.5L8.5 15.5M13 15.5H17M5.5 6.5H19.5V18.5H5.5V6.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"terminal\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nTerminalIcon.displayName = \"ForwardRef(TerminalIcon)\";\nconst TextIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M7.5 9V6.5H17.5V9M12.5 18.5V6.5M10 18.5H15\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"text\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nTextIcon.displayName = \"ForwardRef(TextIcon)\";\nconst ThLargeIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M12.5 6.5V12.5M12.5 12.5V18.5M12.5 12.5H20.5M12.5 12.5H4.5M4.5 6.5H20.5V18.5H4.5V6.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"th-large\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nThLargeIcon.displayName = \"ForwardRef(ThLargeIcon)\";\nconst ThListIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M9.5 6.5V10.5M9.5 10.5V14.5M9.5 10.5H20.5M9.5 10.5H4.5M9.5 14.5V18.5M9.5 14.5H20.5M9.5 14.5H4.5M4.5 6.5H20.5V18.5H4.5V6.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"th-list\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nThListIcon.displayName = \"ForwardRef(ThListIcon)\";\nconst TiersIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M16.5 14.5L20.5 16.5L12.5 20.5L4.5 16.5L8.5 14.5M16.5 10.5L20.5 12.5L12.5 16.5L4.5 12.5L8.5 10.5M12.5 12.5L20.5 8.5L12.5 4.5L4.5 8.5L12.5 12.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"tiers\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nTiersIcon.displayName = \"ForwardRef(TiersIcon)\";\nconst TimelineIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M12.5 5V20\", stroke: \"currentColor\", strokeWidth: 1.2 }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M5 8.5H11M7 12.5H11M9 16.5H11M13 16.5H20M13 12.5H18M13 8.5H16\", stroke: \"currentColor\", strokeWidth: 1.2 }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"timeline\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nTimelineIcon.displayName = \"ForwardRef(TimelineIcon)\";\nconst ToggleArrowRightIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M10.5 16V9L16 12.5L10.5 16Z\", fill: \"currentColor\", stroke: \"currentColor\", strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"toggle-arrow-right\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nToggleArrowRightIcon.displayName = \"ForwardRef(ToggleArrowRightIcon)\";\nconst TokenIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M17.5711 12.5C17.5711 15.2614 15.3325 17.5 12.5711 17.5M7.57107 12.5C7.57107 9.73858 9.80964 7.5 12.5711 7.5M20.5 12.5C20.5 16.9183 16.9183 20.5 12.5 20.5C8.08172 20.5 4.5 16.9183 4.5 12.5C4.5 8.08172 8.08172 4.5 12.5 4.5C16.9183 4.5 20.5 8.08172 20.5 12.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"token\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nTokenIcon.displayName = \"ForwardRef(TokenIcon)\";\nconst TransferIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M19.5 16.5H6M5.5 8.5L19 8.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M16 13L19.5 16.5L16 20M9 12L5.5 8.5L9 5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"transfer\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nTransferIcon.displayName = \"ForwardRef(TransferIcon)\";\nconst TranslateIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M9.4 5.4H4V6.6H13.2189C13.1612 6.78478 13.0895 6.99578 13.0025 7.22211C12.7032 8.00031 12.2402 8.91125 11.5757 9.57574L10 11.1515L9.42426 10.5757C8.72102 9.8725 8.25297 9.16987 7.96199 8.64611C7.81668 8.38455 7.71617 8.16874 7.65305 8.02146C7.62151 7.94787 7.59937 7.89154 7.5857 7.85534C7.57886 7.83725 7.57415 7.8242 7.57144 7.81657L7.56886 7.80922C7.56886 7.80922 7.56921 7.81026 7 8C6.43079 8.18974 6.43091 8.19009 6.43091 8.19009L6.43133 8.19135L6.43206 8.19351L6.4341 8.19948L6.44052 8.21786C6.44587 8.23292 6.45336 8.25357 6.46313 8.27942C6.48266 8.33112 6.5113 8.40369 6.55008 8.49416C6.62758 8.67501 6.74582 8.92795 6.91301 9.22889C7.24703 9.83013 7.77898 10.6275 8.57574 11.4243L9.15147 12L4.57964 16.5718L4.57655 16.5749L4.57577 16.5757L5.4243 17.4242L5.42688 17.4216L10.0368 12.8117L12.6159 14.9609L13.3841 14.0391L10.8888 11.9597L12.4243 10.4243C13.2598 9.58875 13.7968 8.49969 14.1225 7.65289C14.2818 7.23863 14.395 6.87072 14.4696 6.6H16V5.4H10.6V4H9.4V5.4ZM17.4405 10L21.553 19.7672H20.2509L19.1279 17.1H14.8721L13.7491 19.7672H12.447L16.5595 10H17.4405ZM15.3773 15.9H18.6227L17 12.0462L15.3773 15.9Z\", fill: \"currentColor\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"translate\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nTranslateIcon.displayName = \"ForwardRef(TranslateIcon)\";\nconst TrashIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M5 6.5H20M10 6.5V4.5C10 3.94772 10.4477 3.5 11 3.5H14C14.5523 3.5 15 3.94772 15 4.5V6.5M12.5 9V17M15.5 9L15 17M9.5 9L10 17M18.5 6.5L17.571 18.5767C17.5309 19.0977 17.0965 19.5 16.574 19.5H8.42603C7.90349 19.5 7.46905 19.0977 7.42898 18.5767L6.5 6.5H18.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"trash\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nTrashIcon.displayName = \"ForwardRef(TrashIcon)\";\nconst TrendUpwardIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M4.5 18.5L11.5 10.5L13.5 14.5L20.5 6.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M20.5 11V6.5H16\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"trend-upward\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nTrendUpwardIcon.displayName = \"ForwardRef(TrendUpwardIcon)\";\nconst TriangleOutlineIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M20.5 18.5H4.5L12.5 5.5L20.5 18.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"triangle-outline\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nTriangleOutlineIcon.displayName = \"ForwardRef(TriangleOutlineIcon)\";\nconst TrolleyIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M8 17.5L5.81763 6.26772C5.71013 5.81757 5.30779 5.5 4.84498 5.5H3M8 17.5H17M8 17.5C8.82843 17.5 9.5 18.1716 9.5 19C9.5 19.8284 8.82843 20.5 8 20.5C7.17157 20.5 6.5 19.8284 6.5 19C6.5 18.1716 7.17157 17.5 8 17.5ZM17 17.5C17.8284 17.5 18.5 18.1716 18.5 19C18.5 19.8284 17.8284 20.5 17 20.5C16.1716 20.5 15.5 19.8284 15.5 19C15.5 18.1716 16.1716 17.5 17 17.5ZM7.78357 14.5H17.5L19 7.5H6\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"trolley\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nTrolleyIcon.displayName = \"ForwardRef(TrolleyIcon)\";\nconst TruncateIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M5 12.5H20M8.5 19.5L12.5 15.5L16.5 19.5M16.5 5.5L12.5 9.5L8.5 5.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"truncate\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nTruncateIcon.displayName = \"ForwardRef(TruncateIcon)\";\nconst TwitterIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M18.8738 6.65751C18.1994 5.9447 17.2445 5.5 16.1857 5.5C14.1423 5.5 12.4857 7.15655 12.4857 9.2C12.4857 9.55263 12.535 9.89374 12.6272 10.2168C7.0826 9.56422 4.55703 6.02857 4.55703 6.02857C4.55703 6.02857 4.02846 9.2 6.14274 11.3143C5.08571 11.3143 4.55703 10.7857 4.55703 10.7857C4.55703 10.7857 4.55703 13.4286 7.19989 14.4857C6.67143 15.0143 5.61417 14.4857 5.61417 14.4857C5.97533 15.9303 7.45606 16.8562 8.82133 17.1358C6.67298 19.1676 3.5 18.7143 3.5 18.7143C5.14562 19.771 7.21334 20.3 9.31429 20.3C16.1214 20.3 19.8162 15.6315 19.8848 9.37762C20.8722 8.58943 22 7.08571 22 7.08571C22 7.08571 21.277 7.45458 19.6913 7.98315C21.277 6.92601 21.4714 5.5 21.4714 5.5C21.4714 5.5 20.4135 6.55789 18.8738 6.65751Z\", fill: \"currentColor\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"twitter\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nTwitterIcon.displayName = \"ForwardRef(TwitterIcon)\";\nconst UlistIcon = forwardRef(function(props, ref) {\n  const $ = c(7);\n  let t0, t1, t2, t3;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M7.10153 17.5001C7.10153 17.8323 6.83221 18.1016 6.5 18.1016C6.16778 18.1016 5.89847 17.8323 5.89847 17.5001C5.89847 17.1678 6.16778 16.8985 6.5 16.8985C6.83221 16.8985 7.10153 17.1678 7.10153 17.5001Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M7.10153 7.5C7.10153 7.83221 6.83221 8.10153 6.5 8.10153C6.16778 8.10153 5.89847 7.83221 5.89847 7.5C5.89847 7.16778 6.16778 6.89847 6.5 6.89847C6.83221 6.89847 7.10153 7.16778 7.10153 7.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t2 = /* @__PURE__ */ jsx(\"path\", { d: \"M7.10153 12.5C7.10153 12.8322 6.83221 13.1015 6.5 13.1015C6.16778 13.1015 5.89847 12.8322 5.89847 12.5C5.89847 12.1678 6.16778 11.8985 6.5 11.8985C6.83221 11.8985 7.10153 12.1678 7.10153 12.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t3 = /* @__PURE__ */ jsx(\"path\", { d: \"M10 7.5H19M10 17.5H19M10 12.5H19\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1, $[2] = t2, $[3] = t3) : (t0 = $[0], t1 = $[1], t2 = $[2], t3 = $[3]);\n  let t4;\n  return $[4] !== props || $[5] !== ref ? (t4 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"ulist\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1,\n    t2,\n    t3\n  ] }), $[4] = props, $[5] = ref, $[6] = t4) : t4 = $[6], t4;\n});\nUlistIcon.displayName = \"ForwardRef(UlistIcon)\";\nconst UnarchiveIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M12.5 10.5V18M20.5 7.5V20.5H4.5V7.5L7.5 4.5H17.5L20.5 7.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M4.5 7.5H20.5M16 14L12.5 10.5L9 14\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"unarchive\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nUnarchiveIcon.displayName = \"ForwardRef(UnarchiveIcon)\";\nconst UnderlineIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M9.52791 7.11407H8.17V14.2582C8.17 16.5817 9.79195 18.2565 12.4927 18.2565C15.1934 18.2565 16.8154 16.5817 16.8154 14.2582V7.11407H15.4574V14.1677C15.4574 15.8122 14.3787 17.0042 12.4927 17.0042C10.6067 17.0042 9.52791 15.8122 9.52791 14.1677V7.11407Z\", fill: \"currentColor\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M7 20.5H18\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"underline\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nUnderlineIcon.displayName = \"ForwardRef(UnderlineIcon)\";\nconst UndoIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M6 9.5L15 9.5C17.4853 9.5 19.5 11.5147 19.5 14C19.5 16.4853 17.4853 18.5 15 18.5H6\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M10 13.5L6 9.5L10 5.5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"undo\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nUndoIcon.displayName = \"ForwardRef(UndoIcon)\";\nconst UnknownIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M12.5 13C12.5 11 14 11.5 14 10C14 9.34375 13.5 8.5 12.5 8.5C11.5 8.5 11 9 10.5 9.5M12.5 16V14.5M5.5 5.5H19.5V19.5H5.5V5.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"unknown\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nUnknownIcon.displayName = \"ForwardRef(UnknownIcon)\";\nconst UnlinkIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M15 13.5L17.5 11C18.281 10.219 18.281 8.78105 17.5 8L17 7.5C16.2189 6.71895 14.781 6.71895 14 7.5L11.5 10M10 11.5L7.5 14C6.71896 14.781 6.71895 16.219 7.5 17L8 17.5C8.78105 18.281 10.2189 18.281 11 17.5L13.5 15M9.5 8V5M8 9.5H5M17 15.5H20M15.5 17V20\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"unlink\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nUnlinkIcon.displayName = \"ForwardRef(UnlinkIcon)\";\nconst UnlockIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M9.5 11.5V8.5C9.5 6.5 8 5.5 6.5 5.5C5 5.5 3.5 6.5 3.5 8.5V11.5M7.5 11.5H17.5V19.5H7.5V11.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"unlock\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nUnlockIcon.displayName = \"ForwardRef(UnlockIcon)\";\nconst UnpublishIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M5 19.5H20M12.5 16V5\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M17.5 11L12.5 16L7.5 11\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"unpublish\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nUnpublishIcon.displayName = \"ForwardRef(UnpublishIcon)\";\nconst UploadIcon = forwardRef(function(props, ref) {\n  const $ = c(5);\n  let t0, t1;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M12.5 6.00003V15.5M5.5 15.5H19.5V19.5H5.5V15.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), t1 = /* @__PURE__ */ jsx(\"path\", { d: \"M7.5 11L12.5 6.00003L17.5 11\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);\n  let t2;\n  return $[2] !== props || $[3] !== ref ? (t2 = /* @__PURE__ */ jsxs(\"svg\", { \"data-sanity-icon\": \"upload\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: [\n    t0,\n    t1\n  ] }), $[2] = props, $[3] = ref, $[4] = t2) : t2 = $[4], t2;\n});\nUploadIcon.displayName = \"ForwardRef(UploadIcon)\";\nconst UserIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M8 14.5C7 15 5.5 16 5.5 19.5H19.5C19.5 16 18.3416 15.1708 17 14.5C16 14 14 14 14 12.5C14 11 15 10.25 15 8.25C15 6.25 14 5.25 12.5 5.25C11 5.25 10 6.25 10 8.25C10 10.25 11 11 11 12.5C11 14 9 14 8 14.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"user\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nUserIcon.displayName = \"ForwardRef(UserIcon)\";\nconst UsersIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M17.5 18.5H21.5C21.5 15 20.8416 14.1708 19.5 13.5C18.5 13 16.5 12.5 16.5 11C16.5 9.5 17.5 9 17.5 7C17.5 5 16.5 4 15 4C13.6628 4 12.723 4.79472 12.5347 6.38415M4.5 20.5C4.5 17 5.5 16 6.5 15.5C7.5 15 9.5 14.5 9.5 13C9.5 11.5 8.5 11 8.5 9C8.5 7 9.5 6 11 6C12.5 6 13.5 7 13.5 9C13.5 11 12.5 11.5 12.5 13C12.5 14.5 14.5 15 15.5 15.5C16.8416 16.1708 17.5 17 17.5 20.5H4.5Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"users\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nUsersIcon.displayName = \"ForwardRef(UsersIcon)\";\nconst WarningFilledIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M14.741 5.12637C13.7357 3.41737 11.2643 3.41737 10.259 5.12637L3.7558 16.1818C2.73624 17.915 3.98595 20.1 5.99683 20.1H19.0032C21.014 20.1 22.2637 17.915 21.2442 16.1818L14.741 5.12637ZM11.9 9V13H13.1V9H11.9ZM13.1 16V14.5H11.9V16H13.1Z\", fill: \"currentColor\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"warning-filled\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nWarningFilledIcon.displayName = \"ForwardRef(WarningFilledIcon)\";\nconst WarningOutlineIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M12.5 9V13M12.5 16V14.5M14.2239 5.43058L20.727 16.486C21.5113 17.8192 20.55 19.5 19.0032 19.5H5.99683C4.45 19.5 3.48869 17.8192 4.27297 16.486L10.7761 5.43058C11.5494 4.11596 13.4506 4.11596 14.2239 5.43058Z\", stroke: \"currentColor\", strokeWidth: 1.2, strokeLinejoin: \"round\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"warning-outline\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nWarningOutlineIcon.displayName = \"ForwardRef(WarningOutlineIcon)\";\nconst WrenchIcon = forwardRef(function(props, ref) {\n  const $ = c(4);\n  let t0;\n  $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(\"path\", { d: \"M17.0407 5.14624L17.4649 5.57051C17.6166 5.41887 17.6758 5.19783 17.6202 4.99071C17.5646 4.78359 17.4027 4.62189 17.1955 4.56656L17.0407 5.14624ZM14.4013 7.7856L13.9771 7.36134C13.8288 7.50959 13.7687 7.72447 13.8185 7.92813L14.4013 7.7856ZM12.8778 6.26211L12.4535 5.83784L12.8778 6.26211ZM11.8309 10.6568L12.2552 11.0811C12.4152 10.9211 12.4716 10.6847 12.401 10.4697L11.8309 10.6568ZM5.63925 16.8485L5.21498 16.4242H5.21498L5.63925 16.8485ZM5.63925 19.935L6.06351 19.5108H6.06351L5.63925 19.935ZM8.72581 19.935L9.15007 20.3593L8.72581 19.935ZM15.1184 13.5425L15.2301 12.953C15.0351 12.916 14.8344 12.9779 14.6941 13.1182L15.1184 13.5425ZM18.9718 12.3561L18.5475 11.9318L18.9718 12.3561ZM20.0877 8.19324L20.6674 8.03843C20.612 7.83124 20.4503 7.66934 20.2432 7.61375C20.0361 7.55816 19.815 7.61734 19.6634 7.76898L20.0877 8.19324ZM17.4483 10.8326L17.3058 11.4154C17.5094 11.4652 17.7243 11.4051 17.8726 11.2569L17.4483 10.8326ZM15 10.2339L14.4172 10.3764C14.4704 10.5938 14.6401 10.7635 14.8575 10.8167L15 10.2339ZM16.6164 4.72198L13.9771 7.36134L14.8256 8.20986L17.4649 5.57051L16.6164 4.72198ZM13.3021 6.68637C14.2723 5.71612 15.6467 5.39501 16.8859 5.72593L17.1955 4.56656C15.5595 4.12966 13.7389 4.55245 12.4535 5.83784L13.3021 6.68637ZM12.401 10.4697C11.9779 9.18109 12.2794 7.70907 13.3021 6.68637L12.4535 5.83784C11.0986 7.19284 10.7021 9.14217 11.2608 10.844L12.401 10.4697ZM11.4066 10.2326L5.21498 16.4242L6.06351 17.2727L12.2552 11.0811L11.4066 10.2326ZM5.21498 16.4242C4.12834 17.5109 4.12834 19.2727 5.21498 20.3593L6.06351 19.5108C5.4455 18.8928 5.4455 17.8908 6.06351 17.2727L5.21498 16.4242ZM5.21498 20.3593C6.30163 21.446 8.06343 21.446 9.15007 20.3593L8.30155 19.5108C7.68353 20.1288 6.68153 20.1288 6.06351 19.5108L5.21498 20.3593ZM9.15007 20.3593L15.5426 13.9668L14.6941 13.1182L8.30155 19.5108L9.15007 20.3593ZM18.5475 11.9318C17.6463 12.8331 16.3968 13.1742 15.2301 12.953L15.0066 14.132C16.5466 14.4239 18.2023 13.9741 19.3961 12.7804L18.5475 11.9318ZM19.508 8.34804C19.8389 9.58721 19.5178 10.9616 18.5475 11.9318L19.3961 12.7804C20.6815 11.495 21.1043 9.67445 20.6674 8.03843L19.508 8.34804ZM17.8726 11.2569L20.5119 8.6175L19.6634 7.76898L17.024 10.4083L17.8726 11.2569ZM14.8575 10.8167L17.3058 11.4154L17.5908 10.2498L15.1426 9.65106L14.8575 10.8167ZM13.8185 7.92813L14.4172 10.3764L15.5829 10.0914L14.9841 7.64307L13.8185 7.92813Z\", fill: \"currentColor\" }), $[0] = t0) : t0 = $[0];\n  let t1;\n  return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(\"svg\", { \"data-sanity-icon\": \"wrench\", width: \"1em\", height: \"1em\", viewBox: \"0 0 25 25\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ref, ...props, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;\n});\nWrenchIcon.displayName = \"ForwardRef(WrenchIcon)\";\nconst icons = {\n  \"access-denied\": AccessDeniedIcon,\n  activity: ActivityIcon,\n  \"add-circle\": AddCircleIcon,\n  \"add-comment\": AddCommentIcon,\n  \"add-document\": AddDocumentIcon,\n  add: AddIcon,\n  \"add-user\": AddUserIcon,\n  api: ApiIcon,\n  archive: ArchiveIcon,\n  \"arrow-down\": ArrowDownIcon,\n  \"arrow-left\": ArrowLeftIcon,\n  \"arrow-right\": ArrowRightIcon,\n  \"arrow-top-right\": ArrowTopRightIcon,\n  \"arrow-up\": ArrowUpIcon,\n  asterisk: AsteriskIcon,\n  \"bar-chart\": BarChartIcon,\n  basket: BasketIcon,\n  bell: BellIcon,\n  bill: BillIcon,\n  \"binary-document\": BinaryDocumentIcon,\n  \"block-content\": BlockContentIcon,\n  \"block-element\": BlockElementIcon,\n  blockquote: BlockquoteIcon,\n  bold: BoldIcon,\n  bolt: BoltIcon,\n  book: BookIcon,\n  bottle: BottleIcon,\n  bug: BugIcon,\n  \"bulb-filled\": BulbFilledIcon,\n  \"bulb-outline\": BulbOutlineIcon,\n  calendar: CalendarIcon,\n  case: CaseIcon,\n  \"chart-upward\": ChartUpwardIcon,\n  \"checkmark-circle\": CheckmarkCircleIcon,\n  checkmark: CheckmarkIcon,\n  \"chevron-down\": ChevronDownIcon,\n  \"chevron-left\": ChevronLeftIcon,\n  \"chevron-right\": ChevronRightIcon,\n  \"chevron-up\": ChevronUpIcon,\n  circle: CircleIcon,\n  clipboard: ClipboardIcon,\n  \"clipboard-image\": ClipboardImageIcon,\n  clock: ClockIcon,\n  \"close-circle\": CloseCircleIcon,\n  close: CloseIcon,\n  \"code-block\": CodeBlockIcon,\n  code: CodeIcon,\n  cog: CogIcon,\n  collapse: CollapseIcon,\n  \"color-wheel\": ColorWheelIcon,\n  comment: CommentIcon,\n  component: ComponentIcon,\n  compose: ComposeIcon,\n  confetti: ConfettiIcon,\n  controls: ControlsIcon,\n  copy: CopyIcon,\n  \"credit-card\": CreditCardIcon,\n  crop: CropIcon,\n  cube: CubeIcon,\n  dashboard: DashboardIcon,\n  database: DatabaseIcon,\n  desktop: DesktopIcon,\n  diamond: DiamondIcon,\n  document: DocumentIcon,\n  \"document-pdf\": DocumentPdfIcon,\n  \"document-remove\": DocumentRemoveIcon,\n  \"document-sheet\": DocumentSheetIcon,\n  \"document-text\": DocumentTextIcon,\n  \"document-video\": DocumentVideoIcon,\n  \"document-word\": DocumentWordIcon,\n  \"document-zip\": DocumentZipIcon,\n  documents: DocumentsIcon,\n  dot: DotIcon,\n  \"double-chevron-down\": DoubleChevronDownIcon,\n  \"double-chevron-left\": DoubleChevronLeftIcon,\n  \"double-chevron-right\": DoubleChevronRightIcon,\n  \"double-chevron-up\": DoubleChevronUpIcon,\n  download: DownloadIcon,\n  \"drag-handle\": DragHandleIcon,\n  drop: DropIcon,\n  \"earth-americas\": EarthAmericasIcon,\n  \"earth-globe\": EarthGlobeIcon,\n  edit: EditIcon,\n  \"ellipsis-horizontal\": EllipsisHorizontalIcon,\n  \"ellipsis-vertical\": EllipsisVerticalIcon,\n  empty: EmptyIcon,\n  enter: EnterIcon,\n  \"enter-right\": EnterRightIcon,\n  envelope: EnvelopeIcon,\n  equal: EqualIcon,\n  \"error-filled\": ErrorFilledIcon,\n  \"error-outline\": ErrorOutlineIcon,\n  expand: ExpandIcon,\n  \"eye-closed\": EyeClosedIcon,\n  \"eye-open\": EyeOpenIcon,\n  filter: FilterIcon,\n  folder: FolderIcon,\n  generate: GenerateIcon,\n  groq: GroqIcon,\n  hash: HashIcon,\n  \"heart-filled\": HeartFilledIcon,\n  heart: HeartIcon,\n  \"help-circle\": HelpCircleIcon,\n  highlight: HighlightIcon,\n  home: HomeIcon,\n  \"ice-cream\": IceCreamIcon,\n  image: ImageIcon,\n  \"image-remove\": ImageRemoveIcon,\n  images: ImagesIcon,\n  \"info-filled\": InfoFilledIcon,\n  \"info-outline\": InfoOutlineIcon,\n  \"inline-element\": InlineElementIcon,\n  inline: InlineIcon,\n  \"insert-above\": InsertAboveIcon,\n  \"insert-below\": InsertBelowIcon,\n  italic: ItalicIcon,\n  joystick: JoystickIcon,\n  json: JsonIcon,\n  launch: LaunchIcon,\n  leave: LeaveIcon,\n  lemon: LemonIcon,\n  link: LinkIcon,\n  \"link-removed\": LinkRemovedIcon,\n  list: ListIcon,\n  lock: LockIcon,\n  \"logo-js\": LogoJsIcon,\n  \"logo-ts\": LogoTsIcon,\n  marker: MarkerIcon,\n  \"marker-removed\": MarkerRemovedIcon,\n  \"master-detail\": MasterDetailIcon,\n  menu: MenuIcon,\n  \"mobile-device\": MobileDeviceIcon,\n  moon: MoonIcon,\n  number: NumberIcon,\n  \"ok-hand\": OkHandIcon,\n  olist: OlistIcon,\n  overage: OverageIcon,\n  package: PackageIcon,\n  \"panel-left\": PanelLeftIcon,\n  \"panel-right\": PanelRightIcon,\n  pause: PauseIcon,\n  \"pin-filled\": PinFilledIcon,\n  pin: PinIcon,\n  \"pin-removed\": PinRemovedIcon,\n  play: PlayIcon,\n  plug: PlugIcon,\n  presentation: PresentationIcon,\n  \"progress-50\": Progress50Icon,\n  \"progress-75\": Progress75Icon,\n  projects: ProjectsIcon,\n  publish: PublishIcon,\n  \"read-only\": ReadOnlyIcon,\n  redo: RedoIcon,\n  refresh: RefreshIcon,\n  \"remove-circle\": RemoveCircleIcon,\n  remove: RemoveIcon,\n  reset: ResetIcon,\n  restore: RestoreIcon,\n  retrieve: RetrieveIcon,\n  retry: RetryIcon,\n  revert: RevertIcon,\n  robot: RobotIcon,\n  rocket: RocketIcon,\n  schema: SchemaIcon,\n  search: SearchIcon,\n  select: SelectIcon,\n  share: ShareIcon,\n  sort: SortIcon,\n  sparkle: SparkleIcon,\n  sparkles: SparklesIcon,\n  spinner: SpinnerIcon,\n  \"split-horizontal\": SplitHorizontalIcon,\n  \"split-vertical\": SplitVerticalIcon,\n  square: SquareIcon,\n  \"stack-compact\": StackCompactIcon,\n  stack: StackIcon,\n  \"star-filled\": StarFilledIcon,\n  star: StarIcon,\n  stop: StopIcon,\n  strikethrough: StrikethroughIcon,\n  string: StringIcon,\n  sun: SunIcon,\n  sync: SyncIcon,\n  \"tablet-device\": TabletDeviceIcon,\n  tag: TagIcon,\n  tags: TagsIcon,\n  task: TaskIcon,\n  terminal: TerminalIcon,\n  text: TextIcon,\n  \"th-large\": ThLargeIcon,\n  \"th-list\": ThListIcon,\n  tiers: TiersIcon,\n  timeline: TimelineIcon,\n  \"toggle-arrow-right\": ToggleArrowRightIcon,\n  token: TokenIcon,\n  transfer: TransferIcon,\n  translate: TranslateIcon,\n  trash: TrashIcon,\n  \"trend-upward\": TrendUpwardIcon,\n  \"triangle-outline\": TriangleOutlineIcon,\n  trolley: TrolleyIcon,\n  truncate: TruncateIcon,\n  twitter: TwitterIcon,\n  ulist: UlistIcon,\n  unarchive: UnarchiveIcon,\n  underline: UnderlineIcon,\n  undo: UndoIcon,\n  unknown: UnknownIcon,\n  unlink: UnlinkIcon,\n  unlock: UnlockIcon,\n  unpublish: UnpublishIcon,\n  upload: UploadIcon,\n  user: UserIcon,\n  users: UsersIcon,\n  \"warning-filled\": WarningFilledIcon,\n  \"warning-outline\": WarningOutlineIcon,\n  wrench: WrenchIcon\n}, Icon = forwardRef(function(props, ref) {\n  const $ = c(7);\n  let restProps, symbol;\n  $[0] !== props ? ({\n    symbol,\n    ...restProps\n  } = props, $[0] = props, $[1] = restProps, $[2] = symbol) : (restProps = $[1], symbol = $[2]);\n  const IconComponent = icons[symbol];\n  if (!IconComponent)\n    return null;\n  let t0;\n  return $[3] !== IconComponent || $[4] !== ref || $[5] !== restProps ? (t0 = /* @__PURE__ */ jsx(IconComponent, { ...restProps, ref }), $[3] = IconComponent, $[4] = ref, $[5] = restProps, $[6] = t0) : t0 = $[6], t0;\n});\nIcon.displayName = \"ForwardRef(Icon)\";\nexport {\n  AccessDeniedIcon,\n  ActivityIcon,\n  AddCircleIcon,\n  AddCommentIcon,\n  AddDocumentIcon,\n  AddIcon,\n  AddUserIcon,\n  ApiIcon,\n  ArchiveIcon,\n  ArrowDownIcon,\n  ArrowLeftIcon,\n  ArrowRightIcon,\n  ArrowTopRightIcon,\n  ArrowUpIcon,\n  AsteriskIcon,\n  BarChartIcon,\n  BasketIcon,\n  BellIcon,\n  BillIcon,\n  BinaryDocumentIcon,\n  BlockContentIcon,\n  BlockElementIcon,\n  BlockquoteIcon,\n  BoldIcon,\n  BoltIcon,\n  BookIcon,\n  BottleIcon,\n  BugIcon,\n  BulbFilledIcon,\n  BulbOutlineIcon,\n  CalendarIcon,\n  CaseIcon,\n  ChartUpwardIcon,\n  CheckmarkCircleIcon,\n  CheckmarkIcon,\n  ChevronDownIcon,\n  ChevronLeftIcon,\n  ChevronRightIcon,\n  ChevronUpIcon,\n  CircleIcon,\n  ClipboardIcon,\n  ClipboardImageIcon,\n  ClockIcon,\n  CloseCircleIcon,\n  CloseIcon,\n  CodeBlockIcon,\n  CodeIcon,\n  CogIcon,\n  CollapseIcon,\n  ColorWheelIcon,\n  CommentIcon,\n  ComponentIcon,\n  ComposeIcon,\n  ConfettiIcon,\n  ControlsIcon,\n  CopyIcon,\n  CreditCardIcon,\n  CropIcon,\n  CubeIcon,\n  DashboardIcon,\n  DatabaseIcon,\n  DesktopIcon,\n  DiamondIcon,\n  DocumentIcon,\n  DocumentPdfIcon,\n  DocumentRemoveIcon,\n  DocumentSheetIcon,\n  DocumentTextIcon,\n  DocumentVideoIcon,\n  DocumentWordIcon,\n  DocumentZipIcon,\n  DocumentsIcon,\n  DotIcon,\n  DoubleChevronDownIcon,\n  DoubleChevronLeftIcon,\n  DoubleChevronRightIcon,\n  DoubleChevronUpIcon,\n  DownloadIcon,\n  DragHandleIcon,\n  DropIcon,\n  EarthAmericasIcon,\n  EarthGlobeIcon,\n  EditIcon,\n  EllipsisHorizontalIcon,\n  EllipsisVerticalIcon,\n  EmptyIcon,\n  EnterIcon,\n  EnterRightIcon,\n  EnvelopeIcon,\n  EqualIcon,\n  ErrorFilledIcon,\n  ErrorOutlineIcon,\n  ExpandIcon,\n  EyeClosedIcon,\n  EyeOpenIcon,\n  FilterIcon,\n  FolderIcon,\n  GenerateIcon,\n  GroqIcon,\n  HashIcon,\n  HeartFilledIcon,\n  HeartIcon,\n  HelpCircleIcon,\n  HighlightIcon,\n  HomeIcon,\n  IceCreamIcon,\n  Icon,\n  ImageIcon,\n  ImageRemoveIcon,\n  ImagesIcon,\n  InfoFilledIcon,\n  InfoOutlineIcon,\n  InlineElementIcon,\n  InlineIcon,\n  InsertAboveIcon,\n  InsertBelowIcon,\n  ItalicIcon,\n  JoystickIcon,\n  JsonIcon,\n  LaunchIcon,\n  LeaveIcon,\n  LemonIcon,\n  LinkIcon,\n  LinkRemovedIcon,\n  ListIcon,\n  LockIcon,\n  LogoJsIcon,\n  LogoTsIcon,\n  MarkerIcon,\n  MarkerRemovedIcon,\n  MasterDetailIcon,\n  MenuIcon,\n  MobileDeviceIcon,\n  MoonIcon,\n  NumberIcon,\n  OkHandIcon,\n  OlistIcon,\n  OverageIcon,\n  PackageIcon,\n  PanelLeftIcon,\n  PanelRightIcon,\n  PauseIcon,\n  PinFilledIcon,\n  PinIcon,\n  PinRemovedIcon,\n  PlayIcon,\n  PlugIcon,\n  PresentationIcon,\n  Progress50Icon,\n  Progress75Icon,\n  ProjectsIcon,\n  PublishIcon,\n  ReadOnlyIcon,\n  RedoIcon,\n  RefreshIcon,\n  RemoveCircleIcon,\n  RemoveIcon,\n  ResetIcon,\n  RestoreIcon,\n  RetrieveIcon,\n  RetryIcon,\n  RevertIcon,\n  RobotIcon,\n  RocketIcon,\n  SchemaIcon,\n  SearchIcon,\n  SelectIcon,\n  ShareIcon,\n  SortIcon,\n  SparkleIcon,\n  SparklesIcon,\n  SpinnerIcon,\n  SplitHorizontalIcon,\n  SplitVerticalIcon,\n  SquareIcon,\n  StackCompactIcon,\n  StackIcon,\n  StarFilledIcon,\n  StarIcon,\n  StopIcon,\n  StrikethroughIcon,\n  StringIcon,\n  SunIcon,\n  SyncIcon,\n  TabletDeviceIcon,\n  TagIcon,\n  TagsIcon,\n  TaskIcon,\n  TerminalIcon,\n  TextIcon,\n  ThLargeIcon,\n  ThListIcon,\n  TiersIcon,\n  TimelineIcon,\n  ToggleArrowRightIcon,\n  TokenIcon,\n  TransferIcon,\n  TranslateIcon,\n  TrashIcon,\n  TrendUpwardIcon,\n  TriangleOutlineIcon,\n  TrolleyIcon,\n  TruncateIcon,\n  TwitterIcon,\n  UlistIcon,\n  UnarchiveIcon,\n  UnderlineIcon,\n  UndoIcon,\n  UnknownIcon,\n  UnlinkIcon,\n  UnlockIcon,\n  UnpublishIcon,\n  UploadIcon,\n  UserIcon,\n  UsersIcon,\n  WarningFilledIcon,\n  WarningOutlineIcon,\n  WrenchIcon,\n  icons\n};\n//# sourceMappingURL=index.js.map\n","import type {\n  SchemaArrayItem,\n  SchemaNumberNode,\n  SchemaObjectField,\n  SchemaStringNode,\n  SchemaUnionOption,\n} from '@repo/visual-editing-helpers'\nimport {\n  BlockContentIcon,\n  CheckmarkCircleIcon,\n  CubeIcon,\n  ImageIcon,\n  NumberIcon,\n  StringIcon,\n  ThListIcon,\n} from '@sanity/icons'\n\ntype Option =\n  | SchemaNumberNode\n  | SchemaStringNode\n  | SchemaArrayItem\n  | SchemaObjectField\n  | SchemaUnionOption\n\nexport function getNodeIcon(option: Option | undefined): JSX.Element {\n  if (!option) return <CubeIcon />\n\n  if (option.type === 'string') {\n    return <StringIcon />\n  }\n\n  if (option.type === 'number') {\n    return <NumberIcon />\n  }\n\n  const {value: node} = option\n\n  if ('icon' in option && option.icon) {\n    return <div dangerouslySetInnerHTML={{__html: option.icon}} />\n  }\n\n  const {type} = node\n\n  if (type === 'string') {\n    return <StringIcon />\n  }\n\n  if (type === 'boolean') {\n    return <CheckmarkCircleIcon />\n  }\n\n  if (type === 'number') {\n    return <NumberIcon />\n  }\n\n  if (type === 'array' || type === 'union') {\n    const of = Array.isArray(node.of) ? node.of : [node.of]\n    if (of.some((n) => 'name' in n && n.name === 'block')) {\n      return <BlockContentIcon />\n    }\n    return <ThListIcon />\n  }\n\n  if (type === 'object') {\n    if (option.name === 'image') {\n      return <ImageIcon />\n    }\n    if (option.name === 'block') {\n      return <StringIcon />\n    }\n  }\n\n  return <CubeIcon />\n}\n","import {Portal} from '@sanity/ui'\nimport {type FunctionComponent, type MouseEvent} from 'react'\nimport {styled} from 'styled-components'\n\nconst PortalContainer = styled.div`\n  height: 100%;\n  inset: 0;\n  overflow-y: scroll;\n  overscroll-behavior: contain;\n  pointer-events: all;\n  position: fixed;\n  width: 100%;\n  -ms-overflow-style: none;\n  scrollbar-width: none;\n  display: flex;\n  justify-content: center;\n  align-items: center;\n  &:before {\n    content: '';\n    display: block;\n    height: calc(100% + 1px);\n    position: absolute;\n    top: 0;\n    width: 100%;\n    z-index: -1;\n  }\n`\nconst PortalBackground = styled.div`\n  background: transparent;\n  height: 100%;\n  inset: 0;\n  position: absolute;\n  width: 100%;\n`\n\nexport const PopoverPortal: FunctionComponent<{\n  children: React.ReactNode\n  onDismiss?: () => void\n  setBoundaryElement?: (element: HTMLDivElement) => void\n}> = (props) => {\n  const {children, onDismiss, setBoundaryElement} = props\n\n  // Prevent the event from propagating to the window, so that the controller's\n  // `handleBlur` listener is not triggered. This is needed to prevent the\n  // context menu from being dismissed when some click causes parent elements to\n  // re-render, and the data-attribute method of preventing propagation fails.\n  const handleClick = (event: MouseEvent) => {\n    event.stopPropagation()\n  }\n\n  return (\n    <Portal>\n      <PortalContainer data-sanity-overlay-element ref={setBoundaryElement} onClick={handleClick}>\n        <PortalBackground onClickCapture={onDismiss} />\n        {children}\n      </PortalContainer>\n    </Portal>\n  )\n}\n","var basePropertyOf = require('./_basePropertyOf');\n\n/** Used to map Latin Unicode letters to basic Latin letters. */\nvar deburredLetters = {\n  // Latin-1 Supplement block.\n  '\\xc0': 'A',  '\\xc1': 'A', '\\xc2': 'A', '\\xc3': 'A', '\\xc4': 'A', '\\xc5': 'A',\n  '\\xe0': 'a',  '\\xe1': 'a', '\\xe2': 'a', '\\xe3': 'a', '\\xe4': 'a', '\\xe5': 'a',\n  '\\xc7': 'C',  '\\xe7': 'c',\n  '\\xd0': 'D',  '\\xf0': 'd',\n  '\\xc8': 'E',  '\\xc9': 'E', '\\xca': 'E', '\\xcb': 'E',\n  '\\xe8': 'e',  '\\xe9': 'e', '\\xea': 'e', '\\xeb': 'e',\n  '\\xcc': 'I',  '\\xcd': 'I', '\\xce': 'I', '\\xcf': 'I',\n  '\\xec': 'i',  '\\xed': 'i', '\\xee': 'i', '\\xef': 'i',\n  '\\xd1': 'N',  '\\xf1': 'n',\n  '\\xd2': 'O',  '\\xd3': 'O', '\\xd4': 'O', '\\xd5': 'O', '\\xd6': 'O', '\\xd8': 'O',\n  '\\xf2': 'o',  '\\xf3': 'o', '\\xf4': 'o', '\\xf5': 'o', '\\xf6': 'o', '\\xf8': 'o',\n  '\\xd9': 'U',  '\\xda': 'U', '\\xdb': 'U', '\\xdc': 'U',\n  '\\xf9': 'u',  '\\xfa': 'u', '\\xfb': 'u', '\\xfc': 'u',\n  '\\xdd': 'Y',  '\\xfd': 'y', '\\xff': 'y',\n  '\\xc6': 'Ae', '\\xe6': 'ae',\n  '\\xde': 'Th', '\\xfe': 'th',\n  '\\xdf': 'ss',\n  // Latin Extended-A block.\n  '\\u0100': 'A',  '\\u0102': 'A', '\\u0104': 'A',\n  '\\u0101': 'a',  '\\u0103': 'a', '\\u0105': 'a',\n  '\\u0106': 'C',  '\\u0108': 'C', '\\u010a': 'C', '\\u010c': 'C',\n  '\\u0107': 'c',  '\\u0109': 'c', '\\u010b': 'c', '\\u010d': 'c',\n  '\\u010e': 'D',  '\\u0110': 'D', '\\u010f': 'd', '\\u0111': 'd',\n  '\\u0112': 'E',  '\\u0114': 'E', '\\u0116': 'E', '\\u0118': 'E', '\\u011a': 'E',\n  '\\u0113': 'e',  '\\u0115': 'e', '\\u0117': 'e', '\\u0119': 'e', '\\u011b': 'e',\n  '\\u011c': 'G',  '\\u011e': 'G', '\\u0120': 'G', '\\u0122': 'G',\n  '\\u011d': 'g',  '\\u011f': 'g', '\\u0121': 'g', '\\u0123': 'g',\n  '\\u0124': 'H',  '\\u0126': 'H', '\\u0125': 'h', '\\u0127': 'h',\n  '\\u0128': 'I',  '\\u012a': 'I', '\\u012c': 'I', '\\u012e': 'I', '\\u0130': 'I',\n  '\\u0129': 'i',  '\\u012b': 'i', '\\u012d': 'i', '\\u012f': 'i', '\\u0131': 'i',\n  '\\u0134': 'J',  '\\u0135': 'j',\n  '\\u0136': 'K',  '\\u0137': 'k', '\\u0138': 'k',\n  '\\u0139': 'L',  '\\u013b': 'L', '\\u013d': 'L', '\\u013f': 'L', '\\u0141': 'L',\n  '\\u013a': 'l',  '\\u013c': 'l', '\\u013e': 'l', '\\u0140': 'l', '\\u0142': 'l',\n  '\\u0143': 'N',  '\\u0145': 'N', '\\u0147': 'N', '\\u014a': 'N',\n  '\\u0144': 'n',  '\\u0146': 'n', '\\u0148': 'n', '\\u014b': 'n',\n  '\\u014c': 'O',  '\\u014e': 'O', '\\u0150': 'O',\n  '\\u014d': 'o',  '\\u014f': 'o', '\\u0151': 'o',\n  '\\u0154': 'R',  '\\u0156': 'R', '\\u0158': 'R',\n  '\\u0155': 'r',  '\\u0157': 'r', '\\u0159': 'r',\n  '\\u015a': 'S',  '\\u015c': 'S', '\\u015e': 'S', '\\u0160': 'S',\n  '\\u015b': 's',  '\\u015d': 's', '\\u015f': 's', '\\u0161': 's',\n  '\\u0162': 'T',  '\\u0164': 'T', '\\u0166': 'T',\n  '\\u0163': 't',  '\\u0165': 't', '\\u0167': 't',\n  '\\u0168': 'U',  '\\u016a': 'U', '\\u016c': 'U', '\\u016e': 'U', '\\u0170': 'U', '\\u0172': 'U',\n  '\\u0169': 'u',  '\\u016b': 'u', '\\u016d': 'u', '\\u016f': 'u', '\\u0171': 'u', '\\u0173': 'u',\n  '\\u0174': 'W',  '\\u0175': 'w',\n  '\\u0176': 'Y',  '\\u0177': 'y', '\\u0178': 'Y',\n  '\\u0179': 'Z',  '\\u017b': 'Z', '\\u017d': 'Z',\n  '\\u017a': 'z',  '\\u017c': 'z', '\\u017e': 'z',\n  '\\u0132': 'IJ', '\\u0133': 'ij',\n  '\\u0152': 'Oe', '\\u0153': 'oe',\n  '\\u0149': \"'n\", '\\u017f': 's'\n};\n\n/**\n * Used by `_.deburr` to convert Latin-1 Supplement and Latin Extended-A\n * letters to basic Latin letters.\n *\n * @private\n * @param {string} letter The matched letter to deburr.\n * @returns {string} Returns the deburred letter.\n */\nvar deburrLetter = basePropertyOf(deburredLetters);\n\nmodule.exports = deburrLetter;\n","/**\n * The base implementation of `_.propertyOf` without support for deep paths.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Function} Returns the new accessor function.\n */\nfunction basePropertyOf(object) {\n  return function(key) {\n    return object == null ? undefined : object[key];\n  };\n}\n\nmodule.exports = basePropertyOf;\n","var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nmodule.exports = root;\n","/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nmodule.exports = freeGlobal;\n","var root = require('./_root');\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nmodule.exports = Symbol;\n","var Symbol = require('./_Symbol'),\n    getRawTag = require('./_getRawTag'),\n    objectToString = require('./_objectToString');\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n    undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n  if (value == null) {\n    return value === undefined ? undefinedTag : nullTag;\n  }\n  return (symToStringTag && symToStringTag in Object(value))\n    ? getRawTag(value)\n    : objectToString(value);\n}\n\nmodule.exports = baseGetTag;\n","var Symbol = require('./_Symbol');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n  var isOwn = hasOwnProperty.call(value, symToStringTag),\n      tag = value[symToStringTag];\n\n  try {\n    value[symToStringTag] = undefined;\n    var unmasked = true;\n  } catch (e) {}\n\n  var result = nativeObjectToString.call(value);\n  if (unmasked) {\n    if (isOwn) {\n      value[symToStringTag] = tag;\n    } else {\n      delete value[symToStringTag];\n    }\n  }\n  return result;\n}\n\nmodule.exports = getRawTag;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n  return nativeObjectToString.call(value);\n}\n\nmodule.exports = objectToString;\n","var baseGetTag = require('./_baseGetTag'),\n    isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n  return typeof value == 'symbol' ||\n    (isObjectLike(value) && baseGetTag(value) == symbolTag);\n}\n\nmodule.exports = isSymbol;\n","/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n  return value != null && typeof value == 'object';\n}\n\nmodule.exports = isObjectLike;\n","var Symbol = require('./_Symbol'),\n    arrayMap = require('./_arrayMap'),\n    isArray = require('./isArray'),\n    isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n    symbolToString = symbolProto ? symbolProto.toString : undefined;\n\n/**\n * The base implementation of `_.toString` which doesn't convert nullish\n * values to empty strings.\n *\n * @private\n * @param {*} value The value to process.\n * @returns {string} Returns the string.\n */\nfunction baseToString(value) {\n  // Exit early for strings to avoid a performance hit in some environments.\n  if (typeof value == 'string') {\n    return value;\n  }\n  if (isArray(value)) {\n    // Recursively convert values (susceptible to call stack limits).\n    return arrayMap(value, baseToString) + '';\n  }\n  if (isSymbol(value)) {\n    return symbolToString ? symbolToString.call(value) : '';\n  }\n  var result = (value + '');\n  return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n}\n\nmodule.exports = baseToString;\n","/**\n * A specialized version of `_.map` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\nfunction arrayMap(array, iteratee) {\n  var index = -1,\n      length = array == null ? 0 : array.length,\n      result = Array(length);\n\n  while (++index < length) {\n    result[index] = iteratee(array[index], index, array);\n  }\n  return result;\n}\n\nmodule.exports = arrayMap;\n","/**\n * Checks if `value` is classified as an `Array` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array, else `false`.\n * @example\n *\n * _.isArray([1, 2, 3]);\n * // => true\n *\n * _.isArray(document.body.children);\n * // => false\n *\n * _.isArray('abc');\n * // => false\n *\n * _.isArray(_.noop);\n * // => false\n */\nvar isArray = Array.isArray;\n\nmodule.exports = isArray;\n","var baseToString = require('./_baseToString');\n\n/**\n * Converts `value` to a string. An empty string is returned for `null`\n * and `undefined` values. The sign of `-0` is preserved.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n * @example\n *\n * _.toString(null);\n * // => ''\n *\n * _.toString(-0);\n * // => '-0'\n *\n * _.toString([1, 2, 3]);\n * // => '1,2,3'\n */\nfunction toString(value) {\n  return value == null ? '' : baseToString(value);\n}\n\nmodule.exports = toString;\n","var asciiWords = require('./_asciiWords'),\n    hasUnicodeWord = require('./_hasUnicodeWord'),\n    toString = require('./toString'),\n    unicodeWords = require('./_unicodeWords');\n\n/**\n * Splits `string` into an array of its words.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to inspect.\n * @param {RegExp|string} [pattern] The pattern to match words.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the words of `string`.\n * @example\n *\n * _.words('fred, barney, & pebbles');\n * // => ['fred', 'barney', 'pebbles']\n *\n * _.words('fred, barney, & pebbles', /[^, ]+/g);\n * // => ['fred', 'barney', '&', 'pebbles']\n */\nfunction words(string, pattern, guard) {\n  string = toString(string);\n  pattern = guard ? undefined : pattern;\n\n  if (pattern === undefined) {\n    return hasUnicodeWord(string) ? unicodeWords(string) : asciiWords(string);\n  }\n  return string.match(pattern) || [];\n}\n\nmodule.exports = words;\n","/** Used to match words composed of alphanumeric characters. */\nvar reAsciiWord = /[^\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\x7f]+/g;\n\n/**\n * Splits an ASCII `string` into an array of its words.\n *\n * @private\n * @param {string} The string to inspect.\n * @returns {Array} Returns the words of `string`.\n */\nfunction asciiWords(string) {\n  return string.match(reAsciiWord) || [];\n}\n\nmodule.exports = asciiWords;\n","/** Used to detect strings that need a more robust regexp to match words. */\nvar reHasUnicodeWord = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;\n\n/**\n * Checks if `string` contains a word composed of Unicode symbols.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {boolean} Returns `true` if a word is found, else `false`.\n */\nfunction hasUnicodeWord(string) {\n  return reHasUnicodeWord.test(string);\n}\n\nmodule.exports = hasUnicodeWord;\n","/** Used to compose unicode character classes. */\nvar rsAstralRange = '\\\\ud800-\\\\udfff',\n    rsComboMarksRange = '\\\\u0300-\\\\u036f',\n    reComboHalfMarksRange = '\\\\ufe20-\\\\ufe2f',\n    rsComboSymbolsRange = '\\\\u20d0-\\\\u20ff',\n    rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange,\n    rsDingbatRange = '\\\\u2700-\\\\u27bf',\n    rsLowerRange = 'a-z\\\\xdf-\\\\xf6\\\\xf8-\\\\xff',\n    rsMathOpRange = '\\\\xac\\\\xb1\\\\xd7\\\\xf7',\n    rsNonCharRange = '\\\\x00-\\\\x2f\\\\x3a-\\\\x40\\\\x5b-\\\\x60\\\\x7b-\\\\xbf',\n    rsPunctuationRange = '\\\\u2000-\\\\u206f',\n    rsSpaceRange = ' \\\\t\\\\x0b\\\\f\\\\xa0\\\\ufeff\\\\n\\\\r\\\\u2028\\\\u2029\\\\u1680\\\\u180e\\\\u2000\\\\u2001\\\\u2002\\\\u2003\\\\u2004\\\\u2005\\\\u2006\\\\u2007\\\\u2008\\\\u2009\\\\u200a\\\\u202f\\\\u205f\\\\u3000',\n    rsUpperRange = 'A-Z\\\\xc0-\\\\xd6\\\\xd8-\\\\xde',\n    rsVarRange = '\\\\ufe0e\\\\ufe0f',\n    rsBreakRange = rsMathOpRange + rsNonCharRange + rsPunctuationRange + rsSpaceRange;\n\n/** Used to compose unicode capture groups. */\nvar rsApos = \"['\\u2019]\",\n    rsBreak = '[' + rsBreakRange + ']',\n    rsCombo = '[' + rsComboRange + ']',\n    rsDigits = '\\\\d+',\n    rsDingbat = '[' + rsDingbatRange + ']',\n    rsLower = '[' + rsLowerRange + ']',\n    rsMisc = '[^' + rsAstralRange + rsBreakRange + rsDigits + rsDingbatRange + rsLowerRange + rsUpperRange + ']',\n    rsFitz = '\\\\ud83c[\\\\udffb-\\\\udfff]',\n    rsModifier = '(?:' + rsCombo + '|' + rsFitz + ')',\n    rsNonAstral = '[^' + rsAstralRange + ']',\n    rsRegional = '(?:\\\\ud83c[\\\\udde6-\\\\uddff]){2}',\n    rsSurrPair = '[\\\\ud800-\\\\udbff][\\\\udc00-\\\\udfff]',\n    rsUpper = '[' + rsUpperRange + ']',\n    rsZWJ = '\\\\u200d';\n\n/** Used to compose unicode regexes. */\nvar rsMiscLower = '(?:' + rsLower + '|' + rsMisc + ')',\n    rsMiscUpper = '(?:' + rsUpper + '|' + rsMisc + ')',\n    rsOptContrLower = '(?:' + rsApos + '(?:d|ll|m|re|s|t|ve))?',\n    rsOptContrUpper = '(?:' + rsApos + '(?:D|LL|M|RE|S|T|VE))?',\n    reOptMod = rsModifier + '?',\n    rsOptVar = '[' + rsVarRange + ']?',\n    rsOptJoin = '(?:' + rsZWJ + '(?:' + [rsNonAstral, rsRegional, rsSurrPair].join('|') + ')' + rsOptVar + reOptMod + ')*',\n    rsOrdLower = '\\\\d*(?:1st|2nd|3rd|(?![123])\\\\dth)(?=\\\\b|[A-Z_])',\n    rsOrdUpper = '\\\\d*(?:1ST|2ND|3RD|(?![123])\\\\dTH)(?=\\\\b|[a-z_])',\n    rsSeq = rsOptVar + reOptMod + rsOptJoin,\n    rsEmoji = '(?:' + [rsDingbat, rsRegional, rsSurrPair].join('|') + ')' + rsSeq;\n\n/** Used to match complex or compound words. */\nvar reUnicodeWord = RegExp([\n  rsUpper + '?' + rsLower + '+' + rsOptContrLower + '(?=' + [rsBreak, rsUpper, '$'].join('|') + ')',\n  rsMiscUpper + '+' + rsOptContrUpper + '(?=' + [rsBreak, rsUpper + rsMiscLower, '$'].join('|') + ')',\n  rsUpper + '?' + rsMiscLower + '+' + rsOptContrLower,\n  rsUpper + '+' + rsOptContrUpper,\n  rsOrdUpper,\n  rsOrdLower,\n  rsDigits,\n  rsEmoji\n].join('|'), 'g');\n\n/**\n * Splits a Unicode `string` into an array of its words.\n *\n * @private\n * @param {string} The string to inspect.\n * @returns {Array} Returns the words of `string`.\n */\nfunction unicodeWords(string) {\n  return string.match(reUnicodeWord) || [];\n}\n\nmodule.exports = unicodeWords;\n","var arrayReduce = require('./_arrayReduce'),\n    deburr = require('./deburr'),\n    words = require('./words');\n\n/** Used to compose unicode capture groups. */\nvar rsApos = \"['\\u2019]\";\n\n/** Used to match apostrophes. */\nvar reApos = RegExp(rsApos, 'g');\n\n/**\n * Creates a function like `_.camelCase`.\n *\n * @private\n * @param {Function} callback The function to combine each word.\n * @returns {Function} Returns the new compounder function.\n */\nfunction createCompounder(callback) {\n  return function(string) {\n    return arrayReduce(words(deburr(string).replace(reApos, '')), callback, '');\n  };\n}\n\nmodule.exports = createCompounder;\n","/**\n * A specialized version of `_.reduce` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {*} [accumulator] The initial value.\n * @param {boolean} [initAccum] Specify using the first element of `array` as\n *  the initial value.\n * @returns {*} Returns the accumulated value.\n */\nfunction arrayReduce(array, iteratee, accumulator, initAccum) {\n  var index = -1,\n      length = array == null ? 0 : array.length;\n\n  if (initAccum && length) {\n    accumulator = array[++index];\n  }\n  while (++index < length) {\n    accumulator = iteratee(accumulator, array[index], index, array);\n  }\n  return accumulator;\n}\n\nmodule.exports = arrayReduce;\n","var deburrLetter = require('./_deburrLetter'),\n    toString = require('./toString');\n\n/** Used to match Latin Unicode letters (excluding mathematical operators). */\nvar reLatin = /[\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\xff\\u0100-\\u017f]/g;\n\n/** Used to compose unicode character classes. */\nvar rsComboMarksRange = '\\\\u0300-\\\\u036f',\n    reComboHalfMarksRange = '\\\\ufe20-\\\\ufe2f',\n    rsComboSymbolsRange = '\\\\u20d0-\\\\u20ff',\n    rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange;\n\n/** Used to compose unicode capture groups. */\nvar rsCombo = '[' + rsComboRange + ']';\n\n/**\n * Used to match [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks) and\n * [combining diacritical marks for symbols](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks_for_Symbols).\n */\nvar reComboMark = RegExp(rsCombo, 'g');\n\n/**\n * Deburrs `string` by converting\n * [Latin-1 Supplement](https://en.wikipedia.org/wiki/Latin-1_Supplement_(Unicode_block)#Character_table)\n * and [Latin Extended-A](https://en.wikipedia.org/wiki/Latin_Extended-A)\n * letters to basic Latin letters and removing\n * [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to deburr.\n * @returns {string} Returns the deburred string.\n * @example\n *\n * _.deburr('déjà vu');\n * // => 'deja vu'\n */\nfunction deburr(string) {\n  string = toString(string);\n  return string && string.replace(reLatin, deburrLetter).replace(reComboMark, '');\n}\n\nmodule.exports = deburr;\n","var baseSlice = require('./_baseSlice');\n\n/**\n * Casts `array` to a slice if it's needed.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {number} start The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns the cast slice.\n */\nfunction castSlice(array, start, end) {\n  var length = array.length;\n  end = end === undefined ? length : end;\n  return (!start && end >= length) ? array : baseSlice(array, start, end);\n}\n\nmodule.exports = castSlice;\n","/**\n * The base implementation of `_.slice` without an iteratee call guard.\n *\n * @private\n * @param {Array} array The array to slice.\n * @param {number} [start=0] The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns the slice of `array`.\n */\nfunction baseSlice(array, start, end) {\n  var index = -1,\n      length = array.length;\n\n  if (start < 0) {\n    start = -start > length ? 0 : (length + start);\n  }\n  end = end > length ? length : end;\n  if (end < 0) {\n    end += length;\n  }\n  length = start > end ? 0 : ((end - start) >>> 0);\n  start >>>= 0;\n\n  var result = Array(length);\n  while (++index < length) {\n    result[index] = array[index + start];\n  }\n  return result;\n}\n\nmodule.exports = baseSlice;\n","/** Used to compose unicode character classes. */\nvar rsAstralRange = '\\\\ud800-\\\\udfff',\n    rsComboMarksRange = '\\\\u0300-\\\\u036f',\n    reComboHalfMarksRange = '\\\\ufe20-\\\\ufe2f',\n    rsComboSymbolsRange = '\\\\u20d0-\\\\u20ff',\n    rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange,\n    rsVarRange = '\\\\ufe0e\\\\ufe0f';\n\n/** Used to compose unicode capture groups. */\nvar rsZWJ = '\\\\u200d';\n\n/** Used to detect strings with [zero-width joiners or code points from the astral planes](http://eev.ee/blog/2015/09/12/dark-corners-of-unicode/). */\nvar reHasUnicode = RegExp('[' + rsZWJ + rsAstralRange  + rsComboRange + rsVarRange + ']');\n\n/**\n * Checks if `string` contains Unicode symbols.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {boolean} Returns `true` if a symbol is found, else `false`.\n */\nfunction hasUnicode(string) {\n  return reHasUnicode.test(string);\n}\n\nmodule.exports = hasUnicode;\n","var asciiToArray = require('./_asciiToArray'),\n    hasUnicode = require('./_hasUnicode'),\n    unicodeToArray = require('./_unicodeToArray');\n\n/**\n * Converts `string` to an array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the converted array.\n */\nfunction stringToArray(string) {\n  return hasUnicode(string)\n    ? unicodeToArray(string)\n    : asciiToArray(string);\n}\n\nmodule.exports = stringToArray;\n","/**\n * Converts an ASCII `string` to an array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the converted array.\n */\nfunction asciiToArray(string) {\n  return string.split('');\n}\n\nmodule.exports = asciiToArray;\n","/** Used to compose unicode character classes. */\nvar rsAstralRange = '\\\\ud800-\\\\udfff',\n    rsComboMarksRange = '\\\\u0300-\\\\u036f',\n    reComboHalfMarksRange = '\\\\ufe20-\\\\ufe2f',\n    rsComboSymbolsRange = '\\\\u20d0-\\\\u20ff',\n    rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange,\n    rsVarRange = '\\\\ufe0e\\\\ufe0f';\n\n/** Used to compose unicode capture groups. */\nvar rsAstral = '[' + rsAstralRange + ']',\n    rsCombo = '[' + rsComboRange + ']',\n    rsFitz = '\\\\ud83c[\\\\udffb-\\\\udfff]',\n    rsModifier = '(?:' + rsCombo + '|' + rsFitz + ')',\n    rsNonAstral = '[^' + rsAstralRange + ']',\n    rsRegional = '(?:\\\\ud83c[\\\\udde6-\\\\uddff]){2}',\n    rsSurrPair = '[\\\\ud800-\\\\udbff][\\\\udc00-\\\\udfff]',\n    rsZWJ = '\\\\u200d';\n\n/** Used to compose unicode regexes. */\nvar reOptMod = rsModifier + '?',\n    rsOptVar = '[' + rsVarRange + ']?',\n    rsOptJoin = '(?:' + rsZWJ + '(?:' + [rsNonAstral, rsRegional, rsSurrPair].join('|') + ')' + rsOptVar + reOptMod + ')*',\n    rsSeq = rsOptVar + reOptMod + rsOptJoin,\n    rsSymbol = '(?:' + [rsNonAstral + rsCombo + '?', rsCombo, rsRegional, rsSurrPair, rsAstral].join('|') + ')';\n\n/** Used to match [string symbols](https://mathiasbynens.be/notes/javascript-unicode). */\nvar reUnicode = RegExp(rsFitz + '(?=' + rsFitz + ')|' + rsSymbol + rsSeq, 'g');\n\n/**\n * Converts a Unicode `string` to an array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the converted array.\n */\nfunction unicodeToArray(string) {\n  return string.match(reUnicode) || [];\n}\n\nmodule.exports = unicodeToArray;\n","var createCaseFirst = require('./_createCaseFirst');\n\n/**\n * Converts the first character of `string` to upper case.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the converted string.\n * @example\n *\n * _.upperFirst('fred');\n * // => 'Fred'\n *\n * _.upperFirst('FRED');\n * // => 'FRED'\n */\nvar upperFirst = createCaseFirst('toUpperCase');\n\nmodule.exports = upperFirst;\n","var castSlice = require('./_castSlice'),\n    hasUnicode = require('./_hasUnicode'),\n    stringToArray = require('./_stringToArray'),\n    toString = require('./toString');\n\n/**\n * Creates a function like `_.lowerFirst`.\n *\n * @private\n * @param {string} methodName The name of the `String` case method to use.\n * @returns {Function} Returns the new case function.\n */\nfunction createCaseFirst(methodName) {\n  return function(string) {\n    string = toString(string);\n\n    var strSymbols = hasUnicode(string)\n      ? stringToArray(string)\n      : undefined;\n\n    var chr = strSymbols\n      ? strSymbols[0]\n      : string.charAt(0);\n\n    var trailing = strSymbols\n      ? castSlice(strSymbols, 1).join('')\n      : string.slice(1);\n\n    return chr[methodName]() + trailing;\n  };\n}\n\nmodule.exports = createCaseFirst;\n","var createCompounder = require('./_createCompounder'),\n    upperFirst = require('./upperFirst');\n\n/**\n * Converts `string` to\n * [start case](https://en.wikipedia.org/wiki/Letter_case#Stylistic_or_specialised_usage).\n *\n * @static\n * @memberOf _\n * @since 3.1.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the start cased string.\n * @example\n *\n * _.startCase('--foo-bar--');\n * // => 'Foo Bar'\n *\n * _.startCase('fooBar');\n * // => 'Foo Bar'\n *\n * _.startCase('__FOO_BAR__');\n * // => 'FOO BAR'\n */\nvar startCase = createCompounder(function(result, word, index) {\n  return result + (index ? ' ' : '') + upperFirst(word);\n});\n\nmodule.exports = startCase;\n","import { jsx, jsxs } from \"react/jsx-runtime\";\nimport { SearchIcon, ThLargeIcon, UlistIcon } from \"@sanity/icons\";\nimport { Menu, Flex, Box, TextInput, TabList, Tab, Text, Grid, Stack, MenuItem, Tooltip, Button } from \"@sanity/ui\";\nimport startCase from \"lodash/startCase.js\";\nimport { useReducer, useState, createElement } from \"react\";\nimport { isValidElementType } from \"react-is\";\nfunction getSchemaTypeIcon(schemaType) {\n  const referenceIcon = isReferenceSchemaType(schemaType) && (schemaType.to ?? []).length === 1 ? schemaType.to[0].icon : void 0;\n  return schemaType.icon ?? schemaType.type?.icon ?? referenceIcon;\n}\nfunction isReferenceSchemaType(type) {\n  return isRecord(type) && (type.name === \"reference\" || isReferenceSchemaType(type.type));\n}\nfunction isRecord(value) {\n  return !!value && (typeof value == \"object\" || typeof value == \"function\");\n}\nfunction fullInsertMenuReducer(state, event) {\n  return {\n    query: event.type === \"change query\" ? event.query : state.query,\n    groups: event.type === \"select group\" ? state.groups.map((group) => ({ ...group, selected: event.name === group.name })) : state.groups,\n    views: event.type === \"toggle view\" ? state.views.map((view) => ({ ...view, selected: event.name === view.name })) : state.views\n  };\n}\nconst ALL_ITEMS_GROUP_NAME = \"all-items\", gridStyle = {\n  gridTemplateColumns: \"repeat(auto-fill, minmax(118px, 1fr))\"\n};\nfunction InsertMenu(props) {\n  const showIcons = props.showIcons === void 0 ? !0 : props.showIcons, showFilter = props.filter === void 0 || props.filter === \"auto\" ? props.schemaTypes.length > 5 : props.filter, [state, send] = useReducer(fullInsertMenuReducer, {\n    query: \"\",\n    groups: props.groups ? [\n      {\n        name: ALL_ITEMS_GROUP_NAME,\n        title: props.labels[\"insert-menu.filter.all-items\"],\n        selected: !0\n      },\n      ...props.groups.map((group) => ({ ...group, selected: !1 }))\n    ] : [],\n    views: (props.views ?? [{ name: \"list\" }]).map((view, index) => ({\n      ...view,\n      selected: index === 0\n    }))\n  }), filteredSchemaTypes = filterSchemaTypes(props.schemaTypes, state.query, state.groups), selectedView = state.views.find((view) => view.selected), showingFilterOrViews = showFilter || state.views.length > 1, showingTabs = state.groups && state.groups.length > 0;\n  return /* @__PURE__ */ jsx(Menu, { padding: 0, children: /* @__PURE__ */ jsxs(Flex, { direction: \"column\", height: \"fill\", children: [\n    /* @__PURE__ */ jsxs(\n      Box,\n      {\n        ...showingFilterOrViews || showingTabs ? {\n          style: { borderBottom: \"1px solid var(--card-border-color)\" },\n          paddingBottom: 1\n        } : {},\n        children: [\n          showingFilterOrViews ? /* @__PURE__ */ jsxs(Flex, { flex: \"none\", align: \"center\", paddingTop: 1, paddingX: 1, gap: 1, children: [\n            showFilter ? /* @__PURE__ */ jsx(Box, { flex: 1, children: /* @__PURE__ */ jsx(\n              TextInput,\n              {\n                autoFocus: !0,\n                border: !1,\n                fontSize: 1,\n                icon: SearchIcon,\n                onChange: (event) => {\n                  send({ type: \"change query\", query: event.target.value });\n                },\n                placeholder: props.labels[\"insert-menu.search.placeholder\"],\n                value: state.query\n              }\n            ) }) : null,\n            state.views.length > 1 ? /* @__PURE__ */ jsx(Box, { flex: \"none\", children: /* @__PURE__ */ jsx(\n              ViewToggle,\n              {\n                views: state.views,\n                onToggle: (name) => {\n                  send({ type: \"toggle view\", name });\n                },\n                labels: props.labels\n              }\n            ) }) : null\n          ] }) : null,\n          showingTabs ? /* @__PURE__ */ jsx(Box, { paddingTop: 1, paddingX: 1, children: /* @__PURE__ */ jsx(TabList, { space: 1, children: state.groups.map((group) => /* @__PURE__ */ jsx(\n            Tab,\n            {\n              id: `${group.name}-tab`,\n              \"aria-controls\": `${group.name}-panel`,\n              label: group.title ?? startCase(group.name),\n              selected: group.selected,\n              onClick: () => {\n                send({ type: \"select group\", name: group.name });\n              }\n            },\n            group.name\n          )) }) }) : null\n        ]\n      }\n    ),\n    /* @__PURE__ */ jsx(Box, { padding: 1, children: filteredSchemaTypes.length === 0 ? /* @__PURE__ */ jsx(Box, { padding: 2, children: /* @__PURE__ */ jsx(Text, { muted: !0, size: 1, children: props.labels[\"insert-menu.search.no-results\"] }) }) : selectedView ? selectedView.name === \"grid\" ? /* @__PURE__ */ jsx(Grid, { autoRows: \"auto\", flex: 1, gap: 1, style: gridStyle, children: filteredSchemaTypes.map((schemaType) => /* @__PURE__ */ jsx(\n      GridMenuItem,\n      {\n        icon: showIcons ? getSchemaTypeIcon(schemaType) : void 0,\n        onClick: () => {\n          props.onSelect(schemaType);\n        },\n        previewImageUrl: selectedView.previewImageUrl?.(schemaType.name),\n        schemaType\n      },\n      schemaType.name\n    )) }) : /* @__PURE__ */ jsx(Stack, { flex: 1, space: 1, children: filteredSchemaTypes.map((schemaType) => /* @__PURE__ */ jsx(\n      MenuItem,\n      {\n        icon: showIcons ? getSchemaTypeIcon(schemaType) : void 0,\n        onClick: () => {\n          props.onSelect(schemaType);\n        },\n        text: schemaType.title ?? startCase(schemaType.name)\n      },\n      schemaType.name\n    )) }) : null })\n  ] }) });\n}\nconst viewToggleIcon = {\n  grid: ThLargeIcon,\n  list: UlistIcon\n}, viewToggleTooltip = {\n  grid: \"insert-menu.toggle-grid-view.tooltip\",\n  list: \"insert-menu.toggle-list-view.tooltip\"\n};\nfunction ViewToggle(props) {\n  const viewIndex = props.views.findIndex((view) => view.selected), nextView = props.views[viewIndex + 1] ?? props.views[0];\n  return /* @__PURE__ */ jsx(\n    Tooltip,\n    {\n      content: /* @__PURE__ */ jsx(Text, { size: 1, children: props.labels[viewToggleTooltip[nextView.name]] }),\n      placement: \"top\",\n      portal: !0,\n      children: /* @__PURE__ */ jsx(\n        Button,\n        {\n          mode: \"bleed\",\n          icon: viewToggleIcon[nextView.name],\n          onClick: () => {\n            props.onToggle(nextView.name);\n          }\n        }\n      )\n    }\n  );\n}\nfunction GridMenuItem(props) {\n  const [failedToLoad, setFailedToLoad] = useState(!1);\n  return /* @__PURE__ */ jsx(MenuItem, { padding: 0, radius: 2, onClick: props.onClick, style: { overflow: \"hidden\" }, children: /* @__PURE__ */ jsxs(Flex, { direction: \"column\", gap: 1, padding: 1, children: [\n    /* @__PURE__ */ jsxs(\n      Box,\n      {\n        flex: \"none\",\n        style: {\n          backgroundColor: \"var(--card-muted-bg-color)\",\n          paddingBottom: \"66.6%\",\n          position: \"relative\"\n        },\n        children: [\n          isValidElementType(props.icon) ? /* @__PURE__ */ jsx(\n            Flex,\n            {\n              align: \"center\",\n              justify: \"center\",\n              style: {\n                position: \"absolute\",\n                top: 0,\n                left: 0,\n                width: \"100%\",\n                height: \"100%\"\n              },\n              children: /* @__PURE__ */ jsx(Text, { size: 1, children: createElement(props.icon) })\n            }\n          ) : null,\n          !props.previewImageUrl || failedToLoad ? null : /* @__PURE__ */ jsx(\n            \"img\",\n            {\n              src: props.previewImageUrl,\n              style: {\n                objectFit: \"contain\",\n                width: \"100%\",\n                height: \"100%\",\n                position: \"absolute\",\n                inset: 0\n              },\n              onError: () => {\n                setFailedToLoad(!0);\n              }\n            }\n          ),\n          /* @__PURE__ */ jsx(\n            \"div\",\n            {\n              style: {\n                position: \"absolute\",\n                top: 0,\n                left: 0,\n                width: \"100%\",\n                height: \"100%\",\n                boxShadow: \"inset 0 0 0 0.5px var(--card-fg-color)\",\n                opacity: 0.1\n              }\n            }\n          )\n        ]\n      }\n    ),\n    /* @__PURE__ */ jsx(Box, { flex: 1, padding: 2, children: /* @__PURE__ */ jsx(Text, { size: 1, weight: \"medium\", children: props.schemaType.title ?? props.schemaType.name }) })\n  ] }) });\n}\nfunction filterSchemaTypes(schemaTypes, query, groups) {\n  return schemaTypes.filter(\n    (schemaType) => passesGroupFilter(schemaType, groups) && passesQueryFilter(schemaType, query)\n  );\n}\nfunction passesQueryFilter(schemaType, query) {\n  const sanitizedQuery = query.trim().toLowerCase();\n  return schemaType.title ? schemaType.title?.toLowerCase().includes(sanitizedQuery) : schemaType.name.includes(sanitizedQuery);\n}\nfunction passesGroupFilter(schemaType, groups) {\n  const selectedGroup = groups.find((group) => group.selected);\n  return selectedGroup ? selectedGroup.name === ALL_ITEMS_GROUP_NAME ? !0 : selectedGroup.of?.includes(schemaType.name) : !0;\n}\nexport {\n  InsertMenu\n};\n//# sourceMappingURL=index.js.map\n","import type {SchemaUnionNode} from '@repo/visual-editing-helpers'\nimport type {InsertMenuOptions} from '@sanity/insert-menu'\nimport {InsertMenu as SanityInsertMenu} from '@sanity/insert-menu'\nimport type {SchemaType} from '@sanity/types'\nimport {Popover} from '@sanity/ui'\nimport {type FunctionComponent} from 'react'\nimport {PopoverPortal} from '../../ui/PopoverPortal'\nimport {getNodeIcon} from '../../util/getNodeIcon'\n\n// @todo How can this be localised?\nconst labels = {\n  'insert-menu.filter.all-items': 'All',\n  'insert-menu.search.no-results': 'No results',\n  'insert-menu.search.placeholder': 'Filter types…',\n  'insert-menu.toggle-grid-view.tooltip': 'Toggle grid view',\n  'insert-menu.toggle-list-view.tooltip': 'Toggle list view',\n} as const\n\nexport interface InsertMenuProps {\n  node: SchemaUnionNode\n  onSelect: (schemaType: SchemaType) => void\n}\n\nexport const InsertMenu: FunctionComponent<InsertMenuProps> = (props) => {\n  const {node, onSelect} = props\n\n  const insertMenuOptions = node.options?.insertMenu || {}\n\n  const views: InsertMenuOptions['views'] = insertMenuOptions.views?.map((view) => {\n    // Map the `previewImageUrls` that Presentation already resolved and\n    // serialized back to a function so that InsertMenu can \"resolve\" them\n    if (view.name === 'grid') {\n      return {\n        ...view,\n        previewImageUrl: (name) => view.previewImageUrls?.[name],\n      }\n    }\n    return view\n  })\n\n  return (\n    <SanityInsertMenu\n      {...insertMenuOptions}\n      labels={labels}\n      // @ts-expect-error -- @todo map typings\n      schemaTypes={node.of.map((type) => ({\n        ...type,\n        icon: getNodeIcon(type),\n      }))}\n      onSelect={onSelect}\n      views={views}\n    />\n  )\n}\n\nexport interface InsertMenuPopoverProps extends InsertMenuProps {\n  onDismiss: () => void\n  referenceElement?: HTMLElement | null\n}\n\nexport const InsertMenuPopover: FunctionComponent<InsertMenuPopoverProps> = (props) => {\n  const {node, onDismiss, onSelect, referenceElement} = props\n\n  const popoverContent = <InsertMenu node={node} onSelect={onSelect} />\n\n  const insertMenuOptions = node.options?.insertMenu || {}\n\n  // If the grid view is not enabled, the popover should fit the content. If it\n  // is enabled, the popover width needs to be 'forced' to some arbitrary amount\n  // to prevent the grid from collapsing to a single column. The '0' size allows\n  // for a two column layout\n  const width = insertMenuOptions.views?.some((view) => view.name === 'grid') ? 0 : undefined\n\n  return (\n    <PopoverPortal onDismiss={onDismiss}>\n      <Popover\n        animate={true}\n        constrainSize\n        content={popoverContent}\n        fallbackPlacements={['bottom']}\n        open\n        placement={'top'}\n        preventOverflow\n        referenceElement={referenceElement}\n        width={width}\n      />\n    </PopoverPortal>\n  )\n}\n","import type {FunctionComponent, HTMLAttributes, PropsWithChildren} from 'react'\n\nexport const PointerEvents: FunctionComponent<\n  PropsWithChildren<HTMLAttributes<HTMLDivElement>>\n> = ({children, style, ...rest}) => {\n  return (\n    <div style={{...style, pointerEvents: 'all'}} data-sanity-overlay-element {...rest}>\n      {children}\n    </div>\n  )\n}\n"],"names":["jsxRuntime","require","reactCompilerRuntime","React","ReactDOM","useEffectEvent","_interopNamespaceCompat","e","n","Object","create","keys","forEach","k","d","getOwnPropertyDescriptor","defineProperty","get","enumerable","default","freeze","React__namespace","ReactDOM__namespace","defaultThemeConfig","_version","avatar","sizes","distance","size","focusRing","offset","width","button","textWeight","border","card","shadow","outline","container","media","layer","dialog","zOffset","popover","tooltip","radius","umbra","penumbra","ambient","space","input","checkbox","radio","markSize","switch","height","padding","transitionDurationMs","transitionTimingFunction","select","text","style","root","transition","cache$1","WeakMap","themeColor_v0_v2","color_v0","cached_v2","base","stateThemeColor_v0_v2","enabled","color_v2","_blend","dark","_dark","accent","backdrop","badge","bg","stateTonesThemeColor_v0_v2","ghost","bleed","code","fg","icon","muted","inputStatesThemeColor_v0_v2","invalid","kbd","link","selectable","bg2","skeleton","from","to","syntax","set","v0","t","hovered","pressed","selected","disabled","neutral","primary","suggest","positive","caution","critical","state","gray","spot","blue","purple","magenta","red","orange","yellow","green","cyan","dot","transparent","states","inputStateThemeColor_v0_v2","readOnly","placeholder","cache","getTheme_v2","theme","sanity","v2","_resolved","color","font","fonts","shadows","styles","COLOR_HUES","COLOR_TINTS","defaultThemeFonts","family","weights","regular","medium","semibold","bold","ascenderHeight","descenderHeight","fontSize","iconSize","lineHeight","letterSpacing","heading","label","is_v2","themeProp","cache$2","v2_v0","cachedTheme","color2","light","themeColor_v2_v0","inputStatesThemeColor_v2_v0","solid","inputStateThemeColor_v2_v0","THEME_COLOR_BLEND_MODES","THEME_COLOR_CARD_TONES","THEME_COLOR_STATE_TONES","THEME_COLOR_STATES","THEME_COLOR_BUTTON_MODES","THEME_COLOR_INPUT_MODES","THEME_COLOR_INPUT_STATES","isColorTintKey","str","includes","isColorMixPercentValue","test","parseTokenValue","segments","split","nextSegment","shift","segment0","segment0mix","tint","segment1","type","mix","Number","slice","isColorOpacityValue","opacity","isColorValue","key","isColorHueKey","hue","segment1mix","segment2","value","isColorBlendModeValue","DEFAULT_COLOR_TOKEN_VALUE","resolveColorTokenValue","context","scheme","node","Error","compileColorTokenValue","defaultColorTokens","_hue","atrule","attrName","attrValue","attribute","boolean","builtin","cdata","char","class","className","comment","constant","deleted","entity","function","hexcode","id","important","inserted","keyword","number","operator","property","pseudoClass","pseudoElement","punctuation","regex","selector","string","symbol","tag","unit","url","variable","isRecord","Array","isArray","merge","records","_records","filter","Boolean","length","reduce","_merge","acc","source","prevValue","nextValue","resolveColorTokens","inputTokens","tokens","resolveBaseColorTokens","resolveButtonColorTokens","resolveInputColorTokens","resolveSelectableColorTokens","sparseTokens","tone","resolveBaseColorTones","spec","hue2","tone2","mode","resolveButtonToneColorTokens","resolveButtonModeColorTokens","resolveButtonStateColorTokens","resolveInputModeColorTokens","resolveInputStateColorTokens","resolveSelectableToneColorTokens","resolveSelectableStateColorTokens","buildColorScheme","options","config","colorScheme","buildCardColorTheme","buildAvatarColorTheme","buildBadgeColorTheme","buildButtonColorTheme","buildInputColorTheme","buildSelectableColorTheme","buildShadowColorTheme","buildSyntaxColorTheme","stateTokens","_buildAvatarColorTheme","colorBadge","_buildBadgeColorTheme","parentTokens","cardTone","modes","buildButtonTonesColorTheme","tones2","buildButtonStatesColorTheme","buildButtonStateColorTheme","cardTokens","buildInputStatesColorTheme","buildInputStateColorTheme","buildSelectableStatesColorTheme","buildSelectableStateColorTheme","doctype","prolog","defaultColorPalette","mixChannel","b","s","weight","multiplyChannel","screenChannel","clamp","a","min","max","Math","range","x1","y1","x2","y2","x","y","lerp","invlerp","round","hexToRgb","hex","hexR","hexG","hexB","r","parseInt","g","rgbToHex","toString","HSL_RE","parseColor","c","indexOf","isHexChars","startsWith","hsl","l","abs","h","m","hslToRgb","res","exec","parseFloat","parseHsl","rgba2","values","replace","rgbaToRGBA","RGB_RANGE","mixThemeColor","blendMode","black2","black","white2","white","paletteRange","convertedBgColor","convertedColor","resultColor","screen","renderColorValue","colorPalette","renderColorHex","hexBeforeMix","mixOptions","err","console","warn","rgb","rgba","renderThemeColorSchemes","renderThemeColorScheme","toneEntries","entries","transparentTone","find","defaultTone","renderedTransparentTone","renderThemeColor","renderedDefaultTone","fromEntries","map","v","baseBg","colorOptions","renderThemeColorButtonTones","renderThemeColorButton","colorSelectable","renderThemeColorSelectableStates","renderThemeColorSelectable","renderThemeColorAvatar","renderThemeColorBadge","renderThemeColorInput","renderThemeColorKBD","renderSyntaxColorTheme","rootOptions","colorAvatar","renderThemeColorAvatarColor","rootBlendMode","renderThemeColorBadgeColor","colorButtonMode","renderThemeColorButtonStates","renderThemeColorState","renderInputStatesColorTheme","renderInputStateColorTheme","Map","getScopedTheme","rootTheme","schemeCache","toneCache","_getCachedTheme","_unused_focusRing","v0_v2","colorScheme_v0","layer_v0","colorScheme_v2","layer_v2","cache$3","has","_setCachedTheme","commonjsGlobal","globalThis","window","global","self","reactIsModule","exports","u","Symbol","for","f","p","q","$$typeof","reactIs_production_min","ContextConsumer","Element","ForwardRef","Fragment","Lazy","Memo","Portal","Profiler","Suspense","SuspenseList","isAsyncMode","isContextConsumer","isContextProvider","isElement","isForwardRef","isFragment","isLazy","isMemo","isPortal","isStrictMode","isSuspense","isSuspenseList","isValidElementType","getModuleId","typeOf","require$$0","ReactIs","reactIsExports","__assign","assign","i","arguments","prototype","hasOwnProperty","call","apply","this","__spreadArray","pack","ar","concat","MS","MOZ","WEBKIT","COMMENT","RULESET","DECLARATION","KEYFRAMES","String","fromCharCode","trim","match","pattern","replacement","indexof","search","position","charat","index","charCodeAt","substr","begin","end","strlen","sizeof","append","array","push","line","column","character","characters","parent","props","children","siblings","return","copy","lift","next","peek","caret","token","delimit","delimiter","whitespace","escaping","count","commenter","identifier","compile","dealloc","parse","alloc","rule","rules","rulesets","pseudo","points","declarations","previous","scanning","ampersand","reference","declaration","ruleset","post","j","z","prefix","hash","some","element","_","serialize","callback","output","stringify","join","prefixer","combine","unitlessKeys","animationIterationCount","aspectRatio","borderImageOutset","borderImageSlice","borderImageWidth","boxFlex","boxFlexGroup","boxOrdinalGroup","columnCount","columns","flex","flexGrow","flexPositive","flexShrink","flexNegative","flexOrder","gridRow","gridRowEnd","gridRowSpan","gridRowStart","gridColumn","gridColumnEnd","gridColumnSpan","gridColumnStart","msGridRow","msGridRowSpan","msGridColumn","msGridColumnSpan","fontWeight","order","orphans","tabSize","widows","zIndex","zoom","WebkitLineClamp","fillOpacity","floodOpacity","stopOpacity","strokeDasharray","strokeDashoffset","strokeMiterlimit","strokeOpacity","strokeWidth","collection","AccessDeniedIcon","forwardRef","ref","$","t0","t1","jsx","stroke","strokeLinejoin","viewBox","fill","xmlns","displayName","schema","Schema","proto","normal","xtend","immutable","target","require$$1","definitions","info","normalize_1","toLowerCase","Info","booleanish","overloadedBoolean","commaSeparated","spaceSeparated","commaOrSpaceSeparated","mustUseProperty","defined","powers","increment","pow","types","DefinedInfo","checks","checksLength","mask","check","mark","normalize","require$$2","definition","prop","attributes","properties","transform","caseSensitiveTransform","caseSensitiveTransform_1","caseInsensitiveTransform","xlink","xlinkTransform","xLinkActuate","xLinkArcRole","xLinkHref","xLinkRole","xLinkShow","xLinkTitle","xLinkType","xml","xmlTransform","xmlLang","xmlBase","xmlSpace","xmlnsxlink","xmlnsXLink","require$$3","aria","ariaTransform","ariaActiveDescendant","ariaAtomic","ariaAutoComplete","ariaBusy","ariaChecked","ariaColCount","ariaColIndex","ariaColSpan","ariaControls","ariaCurrent","ariaDescribedBy","ariaDetails","ariaDisabled","ariaDropEffect","ariaErrorMessage","ariaExpanded","ariaFlowTo","ariaGrabbed","ariaHasPopup","ariaHidden","ariaInvalid","ariaKeyShortcuts","ariaLabel","ariaLabelledBy","ariaLevel","ariaLive","ariaModal","ariaMultiLine","ariaMultiSelectable","ariaOrientation","ariaOwns","ariaPlaceholder","ariaPosInSet","ariaPressed","ariaReadOnly","ariaRelevant","ariaRequired","ariaRoleDescription","ariaRowCount","ariaRowIndex","ariaRowSpan","ariaSelected","ariaSetSize","ariaSort","ariaValueMax","ariaValueMin","ariaValueNow","ariaValueText","role","require$$4","html","acceptcharset","classname","htmlfor","httpequiv","abbr","accept","acceptCharset","accessKey","action","allow","allowFullScreen","allowPaymentRequest","allowUserMedia","alt","as","async","autoCapitalize","autoComplete","autoFocus","autoPlay","capture","charSet","checked","cite","cols","colSpan","content","contentEditable","controls","controlsList","coords","crossOrigin","data","dateTime","decoding","defer","dir","dirName","download","draggable","encType","enterKeyHint","form","formAction","formEncType","formMethod","formNoValidate","formTarget","headers","hidden","high","href","hrefLang","htmlFor","httpEquiv","imageSizes","imageSrcSet","inputMode","integrity","is","isMap","itemId","itemProp","itemRef","itemScope","itemType","kind","lang","language","list","loading","loop","low","manifest","maxLength","method","minLength","multiple","name","nonce","noModule","noValidate","onAbort","onAfterPrint","onAuxClick","onBeforePrint","onBeforeUnload","onBlur","onCancel","onCanPlay","onCanPlayThrough","onChange","onClick","onClose","onContextMenu","onCopy","onCueChange","onCut","onDblClick","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onDurationChange","onEmptied","onEnded","onError","onFocus","onFormData","onHashChange","onInput","onInvalid","onKeyDown","onKeyPress","onKeyUp","onLanguageChange","onLoad","onLoadedData","onLoadedMetadata","onLoadEnd","onLoadStart","onMessage","onMessageError","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onOffline","onOnline","onPageHide","onPageShow","onPaste","onPause","onPlay","onPlaying","onPopState","onProgress","onRateChange","onRejectionHandled","onReset","onResize","onScroll","onSecurityPolicyViolation","onSeeked","onSeeking","onSelect","onSlotChange","onStalled","onStorage","onSubmit","onSuspend","onTimeUpdate","onToggle","onUnhandledRejection","onUnload","onVolumeChange","onWaiting","onWheel","open","optimum","ping","playsInline","poster","preload","referrerPolicy","rel","required","reversed","rows","rowSpan","sandbox","scope","scoped","seamless","shape","slot","span","spellCheck","src","srcDoc","srcLang","srcSet","start","step","tabIndex","title","translate","typeMustMatch","useMap","wrap","align","aLink","archive","axis","background","bgColor","borderColor","bottomMargin","cellPadding","cellSpacing","charOff","classId","clear","codeBase","codeType","compact","declare","event","face","frame","frameBorder","hSpace","leftMargin","longDesc","lowSrc","marginHeight","marginWidth","noResize","noHref","noShade","noWrap","object","profile","prompt","rev","rightMargin","scrolling","standby","summary","topMargin","valueType","version","vAlign","vLink","vSpace","allowTransparency","autoCorrect","autoSave","disablePictureInPicture","disableRemotePlayback","results","security","unselectable","require$$5","Type","valid","charAt","dash","camelcase","toUpperCase","datasetToProperty","cap","kebab","datasetToAttribute","$0","parseSelector","hastUtilParseSelector","defaultTagName","subvalue","lastIndex","tagName","spaces","spaceSeparatedTokens","empty","whiteSpace","commas","commaSeparatedTokens","val","comma","settings","left","padLeft","right","padRight","factory","caseSensitive","adjust","result","createAdjustMap","own","isChildren","isNode","unshift","addProperty","parsePrimitives","parsePrimitive","addChild","nodes","positiveNumber","isNaN","hastscript","html_1","isDecimal","alphabetical","isAlphabetical","decimal","alphanumerical","legacy","hexadecimal","isHexadecimal","decodeEntity","characterEntities","parseEntities","option","defaults","indent","entityCharacters","namedEntity","terminated","following","warning","reason","prev","diff","additional","nonTerminated","handleText","handleReference","handleWarning","textContext","referenceContext","warningContext","pos","lines","queue","now","parseError","noop","lineFeed","tab","formFeed","lessThan","numberSign","uppercaseX","lowercaseX","hexa","deci","tests","semicolon","namedUnknown","namedNotTerminated","namedEmpty","equalsTo","numericNotTerminated","prohibited","bases","numericProhibited","replacementCharacter","numericDisallowed","disallowed","numericEmpty","flush","messages","Function","Prism","_self","uniqueId","plainTextGrammar","manual","disableWorkerMessageHandler","util","encode","Token","alias","o","objId","obj","__id","clone","deepClone","visited","getLanguage","parentElement","setLanguage","RegExp","classList","add","currentScript","document","stack","scripts","getElementsByTagName","isActive","defaultActivation","no","contains","languages","plain","plaintext","txt","extend","redef","insertBefore","inside","before","insert","grammar","ret","newToken","old","DFS","propertyType","plugins","highlightAll","highlightAllUnder","env","hooks","run","elements","querySelectorAll","highlightElement","nodeName","textContent","insertHighlightedCode","highlightedCode","innerHTML","hasAttribute","setAttribute","Worker","worker","filename","onmessage","evt","postMessage","JSON","immediateClose","highlight","tokenize","rest","tokenList","LinkedList","addAfter","head","matchGrammar","tail","toArray","all","callbacks","matchedStr","matchPattern","lookbehind","lookbehindLength","startNode","startPos","rematch","patterns","cause","patternObj","greedy","flags","currentNode","reach","removeCount","matchStr","after","removeFrom","removeRange","nestedRematch","newNode","classes","aliases","addEventListener","message","close","script","highlightAutomaticallyCallback","readyState","requestAnimationFrame","setTimeout","WorkerGlobalScope","module","ctx","current","restore","undefined","decode","markup","namespace","includedCdataInside","def","mathml","svg","ssml","atom","rss","markup_1","css","addInlined","addAttribute","css_1","clike","clike_1","js","javascript","parameter","hashbang","interpolation","javascript_1","require$$6","Refractor","refract","register","core","sup","registered","listLanguages","stringifyAll","attrs","requireMapChildren","hasRequiredMapChildren","mapChildren","mapChild","child","depth","createElement","mapWithDepth","convert","ok","typeFactory","any","anyFactory","allFactory","convert_1","unistUtilVisitParents","visitParents","color_1","CONTINUE","SKIP","EXIT","tree","visitor","reverse","parents","visit","grandparents","subresult","toResult","cascade","preorder","childIndex","NodeMap","HappyMap","SadMap","lineNumberify","ast","lineNumber","lineStart","lineEnd","lineNum","processed","firstChild","lastChild","wrapBatch","marker","component","isMarker","treeNodes","markers","unwrapLine","markerLine","headMap","tailMap","cloned","addCopy","ancestors","ancestor","leaf","lineMap","getChildren","rootNode","merged","filtered","astIndex","wrapped","batch","_node","addMarkers","fract","langClassName","codeProps","preProps","inline","display","sides","floor","createCoords","oppositeSideMap","bottom","top","oppositeAlignmentMap","evaluate","param","getSide","placement","getAlignment","getOppositeAxis","getAxisLength","getSideAxis","getAlignmentAxis","getOppositeAlignmentPlacement","alignment","getOppositePlacement","side","getPaddingObject","expandPaddingObject","rectToClientRect","rect","computeCoordsFromPlacement","_ref","rtl","floating","sideAxis","alignmentAxis","alignLength","isVertical","commonX","commonY","commonAlign","detectOverflow","_await$platform$isEle","platform","rects","strategy","boundary","rootBoundary","elementContext","altBoundary","paddingObject","clippingClientRect","getClippingRect","contextElement","getDocumentElement","offsetParent","getOffsetParent","offsetScale","getScale","elementClientRect","convertOffsetParentRelativeRectToViewportRelativeRect","getSideOffsets","overflow","isAnySideFullyClipped","hasWindow","getNodeName","getWindow","_node$ownerDocument","ownerDocument","defaultView","documentElement","Node","isHTMLElement","HTMLElement","isShadowRoot","ShadowRoot","isOverflowElement","overflowX","overflowY","getComputedStyle","isTableElement","isTopLayer","matches","isContainingBlock","elementOrCss","webkit","isWebKit","perspective","containerType","backdropFilter","willChange","contain","CSS","supports","isLastTraversableNode","getNodeScroll","scrollLeft","scrollTop","scrollX","scrollY","getParentNode","assignedSlot","parentNode","host","getNearestOverflowAncestor","body","getOverflowAncestors","traverseIframes","_node$ownerDocument2","scrollableAncestor","isBody","win","frameElement","getFrameElement","visualViewport","getPrototypeOf","getCssDimensions","hasOffset","offsetWidth","offsetHeight","shouldFallback","unwrapElement","domElement","getBoundingClientRect","isFinite","noOffsets","getVisualOffsets","offsetLeft","offsetTop","includeScale","isFixedStrategy","clientRect","scale","visualOffsets","isFixed","floatingOffsetParent","shouldAddVisualOffsets","offsetWin","currentWin","currentIFrame","iframeScale","iframeRect","clientLeft","paddingLeft","clientTop","paddingTop","getWindowScrollBarX","leftScroll","getHTMLOffset","scroll","ignoreScrollbarX","htmlRect","getClientRectFromClippingAncestor","clippingAncestor","clientWidth","clientHeight","visualViewportBased","getViewportRect","scrollWidth","scrollHeight","direction","getDocumentRect","getInnerBoundingClientRect","hasFixedPositionAncestor","stopNode","getClippingElementAncestors","cachedResult","el","currentContainingBlockComputedStyle","elementIsFixed","computedStyle","currentNodeIsContaining","getRectRelativeToOffsetParent","isOffsetParentAnElement","offsets","offsetRect","htmlOffset","isStaticPositioned","getTrueOffsetParent","polyfill","rawOffsetParent","svgOffsetParent","getContainingBlock","topLayer","clippingAncestors","_c","firstClippingAncestor","clippingRect","accRect","getElementRects","getOffsetParentFn","getDimensionsFn","getDimensions","floatingDimensions","getClientRects","isRTL","autoUpdate","update","ancestorScroll","ancestorResize","elementResize","ResizeObserver","layoutShift","IntersectionObserver","animationFrame","referenceEl","passive","cleanupIo","onMove","timeoutId","io","cleanup","_io","clearTimeout","disconnect","refresh","skip","threshold","rootMargin","isFirstUpdate","handleObserve","ratio","intersectionRatio","observe","observeMove","reobserveFrame","resizeObserver","firstEntry","unobserve","cancelAnimationFrame","_resizeObserver","frameId","prevRefRect","frameLoop","nextRefRect","_resizeObserver2","removeEventListener","detectOverflow$1","fn","_middlewareData$offse","_middlewareData$arrow","middlewareData","diffCoords","mainAxisMulti","crossAxisMulti","rawValue","mainAxis","crossAxis","convertValueToCoords","arrow","alignmentOffset","checkMainAxis","checkCrossAxis","limiter","detectOverflowOptions","mainAxisCoord","crossAxisCoord","maxSide","limitedCoords","flip","_middlewareData$flip","initialPlacement","fallbackPlacements","specifiedFallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment","initialSideAxis","isBasePlacement","oppositePlacement","getExpandedPlacements","hasFallbackAxisSideDirection","isStart","lr","rl","tb","bt","getSideList","getOppositeAxisPlacements","placements","overflows","overflowsData","mainAlignmentSide","getAlignmentSides","every","_middlewareData$flip2","_overflowsData$filter","nextIndex","nextPlacement","reset","resetPlacement","sort","_overflowsData$filter2","currentSideAxis","hide","referenceHiddenOffsets","referenceHidden","escapedOffsets","escaped","arrowDimensions","isYAxis","minProp","maxProp","clientProp","endDiff","startDiff","arrowOffsetParent","clientSize","centerToReference","largestPossiblePadding","minPadding","maxPadding","min$1","center","shouldAddOffset","centerOffset","computePosition","mergedOptions","platformWithCache","middleware","validMiddleware","statefulPlacement","resetCount","nextX","nextY","computePosition$1","useLayoutEffect","useEffect","deepEqual","getDPR","devicePixelRatio","roundByDPR","dpr","useLatestRef","useRef","useFloating","externalReference","externalFloating","whileElementsMounted","setData","useState","isPositioned","latestMiddleware","setLatestMiddleware","_reference","_setReference","_floating","_setFloating","setReference","useCallback","referenceRef","setFloating","floatingRef","floatingEl","dataRef","hasWhileElementsMounted","whileElementsMountedRef","platformRef","openRef","then","fullData","isMountedRef","flushSync","refs","useMemo","floatingStyles","initialStyles","arrow$1","arrow$2","deps","offset$1","shift$1","flip$1","createDOMMotionComponentProxy","componentFactory","Proxy","componentCache","args","_target","isAnimationControls","isKeyframesTarget","shallowCompare","prevLength","isVariantLabel","getValueState","visualElement","getVelocity","resolveVariantFromProps","custom","velocity","variants","resolveVariant","getProps","variantPriorityOrder","variantProps","transformPropOrder","transformProps","Set","secondsToMilliseconds","seconds","millisecondsToSeconds","milliseconds","underDampedSpring","stiffness","damping","restSpeed","keyframesTransition","duration","ease","getDefaultTransition","valueKey","keyframes","sqrt","getValueTransition","MotionGlobalConfig","isNotNull","getFinalKeyframe","repeat","repeatType","finalKeyframe","resolvedKeyframes","stepsOrder","createRenderBatcher","scheduleNextBatch","allowKeepAlive","runNextFrame","useDefaultElapsed","delta","timestamp","isProcessing","flagRunNextFrame","steps","thisFrame","nextFrame","flushNextFrame","toKeepAlive","WeakSet","latestFrameData","triggerCallback","schedule","keepAlive","immediate","cancel","delete","process","frameData","createRenderStep","read","resolveKeyframes","preRender","render","postRender","processBatch","performance","cancelFrame","frameSteps","calcBezier","a1","a2","cubicBezier","mX1","mY1","mX2","mY2","getTForX","aX","lowerBound","upperBound","currentX","currentT","binarySubdivide","mirrorEasing","easing","reverseEasing","backOut","backIn","backInOut","anticipate","circIn","sin","acos","circOut","circInOut","isZeroValueString","isNumericalString","checkStringStartsWith","isCSSVariableName","startsAsVariableToken","isCSSVariableToken","singleCssVariableRegex","splitCSSVariableRegex","getVariableValue","fallback","token1","token2","parseCSSVariable","resolved","getPropertyValue","trimmed","alpha","createUnitType","endsWith","degrees","percent","px","vh","vw","progressPercentage","positionalKeys","isNumOrPxType","getPosFromMatrix","matrix","getTranslateFromMatrix","pos2","pos3","_bbox","matrix3d","transformKeys","nonTranslationalTransformKeys","positionalValues","paddingRight","paddingBottom","translateX","translateY","testValueType","dimensionValueTypes","findDimensionValueType","toResolve","isScheduled","anyNeedsMeasurement","measureAllKeyframes","resolversToMeasure","resolver","needsMeasurement","elementsToMeasure","transformsToRestore","removedTransforms","getValue","removeNonTranslationalTransform","measureInitialState","_a","measureEndState","suspendedScrollY","scrollTo","complete","readAllKeyframes","readKeyframes","KeyframeResolver","constructor","unresolvedKeyframes","onComplete","motionValue","isAsync","isComplete","scheduleResolve","currentValue","valueAsRead","readValue","setFinalKeyframe","renderEndStyles","resume","sanitize","floatRegex","singleColorRegex","isColorString","testProp","isNullish","splitColor","aName","bName","cName","rgbUnit","clampRgbUnit","alpha$1","substring","hsla","saturation","lightness","colorRegex","NUMBER_TOKEN","COLOR_TOKEN","complexRegex","analyseComplexValue","originalValue","indexes","var","parsedValue","parseComplexValue","createTransformer","numSections","convertNumbersToZero","complex","_b","getAnimatableNone","parsed","maxDefaults","applyDefaultFilter","defaultValue","functionRegex","functions","browserNumberValueTypes","borderWidth","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","borderRadius","borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius","maxWidth","maxHeight","margin","marginTop","marginRight","marginBottom","marginLeft","backgroundPositionX","backgroundPositionY","transformValueTypes","rotate","rotateX","rotateY","rotateZ","scaleX","scaleY","scaleZ","skew","skewX","skewY","translateZ","transformPerspective","originX","originY","originZ","int","numberValueTypes","numOctaves","defaultValueTypes","backgroundColor","outlineColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor","WebkitFilter","getDefaultValueType","defaultValueType","invalidTemplates","DOMKeyframesResolver","super","keyframe","resolveNoneKeyframes","origin","originType","targetType","noneKeyframeIndexes","animatableTemplate","noneIndex","makeNoneKeyframesAnimatable","pageYOffset","measuredOrigin","measureViewportBox","measureKeyframe","jump","finalKeyframeIndex","unsetTransformName","unsetTransformValue","isGenerator","clearTime","time","newTime","queueMicrotask","isAnimatable","BaseAnimation","autoplay","delay","repeatDelay","isStopped","hasAttemptedResolve","createdAt","updateFinishedPromise","calcStartTime","resolvedAt","onKeyframesResolved","onUpdate","originKeyframe","targetKeyframe","isOriginAnimatable","isTargetAnimatable","hasKeyframesChanged","canAnimate","resolveFinishedPromise","resolvedAnimation","initPlayback","onPostResolved","resolve","reject","currentFinishedPromise","flatten","Promise","progress","toFromDifference","generateLinearEasing","resolution","numPoints","velocityPerSecond","frameDuration","calcGeneratorVelocity","resolveValue","prevT","springDefaults","granular","safeMin","findSpring","bounce","mass","envelope","derivative","dampingRatio","undampedFreq","exponentialDecay","calcAngularFreq","exp","initialGuess","rootIterations","approximateRoot","maxGeneratorDuration","calcGeneratorDuration","generator","done","durationKeys","physicsKeys","isSpringType","spring","optionsOrVisualDuration","visualDuration","restDelta","isResolvedFromDuration","springOptions","PI","derived","getSpringOptions","initialVelocity","initialDelta","undampedAngularFreq","isGranularScale","resolveSpring","angularFreq","cos","dampedAngularFreq","freqForT","sinh","cosh","calculatedDuration","currentVelocity","isBelowVelocityThreshold","isBelowDisplacementThreshold","inertia","power","timeConstant","bounceDamping","bounceStiffness","modifyTarget","nearestBoundary","amplitude","ideal","calcDelta","calcLatest","applyFriction","latest","timeReachedBoundary","spring$1","checkCatchBoundary","hasUpdatedFrame","easeIn","easeOut","easeInOut","isBezierDefinition","easingLookup","linear","easingDefinitionToFunction","combineFunctions","pipe","transformers","mixNumber","hueToRgb","mixImmediate","mixLinearColor","fromExpo","expo","colorTypes","asRGBA","model","hslaToRgba","mixColor","fromRGBA","toRGBA","blended","invisibleValues","mixNumber$1","getMixer","mixComplex","mixArray","mixObject","numValues","blendValue","template","originStats","targetStats","mixVisibility","orderedOrigin","pointers","originIndex","originValue","matchOrder","interpolate","isClamp","mixer","inputLength","mixers","customMixer","mixerFactory","numMixers","easingFunction","createMixers","interpolator","progressInRange","defaultOffset","arr","remaining","offsetProgress","fillOffset","keyframeValues","times","easingFunctions","isEasingArray","absoluteTimes","convertOffsetToTimes","mapTimeToKeyframe","splice","frameloopDriver","passTimestamp","stop","generators","decay","tween","percentToProgress","MainThreadAnimation","holdTime","cancelTime","currentTime","playbackSpeed","pendingPlayState","startTime","teardown","onStop","KeyframeResolver$1","keyframes$1","generatorFactory","mapPercentToKeyframes","mirroredGenerator","resolvedDuration","totalDuration","play","pause","tick","sample","speed","timeWithoutDelay","isInDelayPhase","elapsed","frameGenerator","currentIteration","iterationProgress","isAnimationFinished","finish","driver","newSpeed","hasChanged","stopDriver","acceleratedValues","memo","supportsFlags","linearEasing","memoSupports","supportsFlag","memoized","supportsLinearEasing","animate","isWaapiSupportedEasing","supportedWaapiEasing","cubicBezierAsString","mapEasingToNativeEasing","segmentEasing","startWaapiAnimation","valueName","keyframeOptions","iterations","attachTimeline","animation","timeline","onfinish","supportsWaapi","unsupportedEasingFunctions","AcceleratedAnimation","owner","pregeneratedAnimation","sampleAnimation","pregeneratedKeyframes","pregenerateKeyframes","pendingTimeline","playbackRate","playState","sampleTime","setWithVelocity","supportsScrollTimeline","ScrollTimeline","GroupPlaybackControls","animations","runAll","onResolve","onReject","catch","getAll","propName","setAll","newValue","subscriptions","methodName","animateMotionValue","isHandoff","valueTransition","when","_delay","delayChildren","staggerChildren","staggerDirection","isTransitionDefined","shouldSkip","addUniqueItem","item","removeItem","SubscriptionManager","handler","notify","numSubscriptions","getSize","MotionValue","init","canTrackVelocity","events","updateAndNotify","updatedAt","setPrevFrameValue","setCurrent","change","renderRequest","hasAnimated","prevFrameValue","prevUpdatedAt","subscription","on","eventName","unsubscribe","clearListeners","eventManagers","attach","passiveEffect","stopPassiveEffect","endAnimation","getPrevious","startAnimation","animationStart","animationComplete","clearAnimation","animationCancel","isAnimating","destroy","setMotionValue","hasValue","addValue","camelToDash","optimizedAppearDataAttribute","getOptimisedAppearId","isMotionValue","addValueToWillChange","shouldBlockAnimation","protectedKeys","needsAnimating","shouldBlock","animateTarget","targetAndTransition","transitionOverride","transitionEnd","animationTypeState","animationState","getState","latestValues","valueTarget","MotionHandoffAnimation","appearId","shouldReduceMotion","setTarget","animateVariant","variant","presenceContext","getAnimation","getChildAnimations","variantChildren","forwardDelay","maxStaggerDuration","generateStaggerDuration","sortByTreeOrder","animateChildren","first","last","sortNodePosition","numVariantProps","getVariantContext","isControllingVariants","initial","reversePriorityOrder","numAnimationTypes","animateList","resolvedDefinition","animateVisualElement","createAnimationState","createState","isInitialRender","buildResolvedTypeValues","animateChanges","changedActiveType","removedKeys","encounteredKeys","removedVariantIndex","typeState","propIsVariant","activeDelta","isInherited","manuallyAnimateOnMount","prevProp","variantDidChange","shouldAnimateType","handledRemovedValues","definitionList","resolvedValues","prevResolvedValues","allKeys","markToAnimate","liveStyle","valueHasChanged","blockInitialAnimation","fallbackAnimation","fallbackTarget","getBaseTarget","shouldAnimate","setActive","setAnimateFunction","makeAnimator","createTypeState","whileInView","whileHover","whileTap","whileDrag","whileFocus","exit","Feature","isMounted","updateAnimationControlsSubscription","unmountControls","subscribe","mount","prevAnimate","prevProps","unmount","isPresent","onExitComplete","prevIsPresent","prevPresenceContext","exitAnimation","isDragging","isDragActive","setupGesture","elementOrSelector","resolveElements","gestureAbortController","AbortController","signal","abort","filterEvents","pointerType","isPrimaryPointer","isPrimary","isPressing","firePointerEvent","dispatchEvent","PointerEvent","bubbles","focusableElements","isNodeOrChild","isValidPressEvent","press","onPressStart","eventOptions","cancelEvents","startPress","startEvent","currentTarget","onPressEnd","onPointerEnd","endEvent","success","onPointerUp","onPointerCancel","upEvent","useGlobalTarget","cancelEvent","isElementKeyboardAccessible","focusEvent","handleKeydown","handleKeyup","enableKeyboardPress","extractEventInfo","point","pageX","pageY","addDomEvent","addPointerEvent","addPointerInfo","PanSession","handlers","transformPagePoint","contextWindow","dragSnapToOrigin","lastMoveEvent","lastMoveEventInfo","updatePoint","getPanInfo","history","isPanStarted","isDistancePastThreshold","xDelta","yDelta","distance2D","onStart","handlePointerMove","transformPoint","handlePointerUp","onEnd","onSessionEnd","resumeAnimation","panInfo","initialInfo","onSessionStart","removeListeners","updateHandlers","subtractPoint","lastDevicePoint","startDevicePoint","timeDelta","timestampedPoint","lastPoint","isRefObject","calcLength","calcAxisDelta","originPoint","calcBoxDelta","calcRelativeAxis","relative","calcRelativeAxisPosition","layout","calcRelativePosition","calcRelativeAxisConstraints","calcViewportAxisConstraints","layoutAxis","constraintsAxis","defaultElastic","resolveAxisElastic","dragElastic","minLabel","maxLabel","resolvePointElastic","createBox","eachAxis","convertBoundingBoxToBox","isIdentityScale","hasScale","hasTransform","has2DTranslate","is2DTranslate","scalePoint","applyPointDelta","boxScale","applyAxisDelta","applyBoxDelta","box","TREE_SCALE_SNAP_MIN","TREE_SCALE_SNAP_MAX","translateAxis","transformAxis","axisTranslate","axisScale","axisOrigin","transformBox","instance","topLeft","bottomRight","transformBoxPoints","getContextWindow","elementDragControls","VisualElementDragControls","openDragLock","currentDirection","constraints","hasMutatedConstraints","elastic","originEvent","snapToCursor","panSession","pauseAnimation","stopAnimation","drag","dragPropagation","resolveConstraints","projection","isAnimationBlocked","getAxisMotionValue","measuredAxis","layoutBox","dragDirectionLock","onDirectionLock","lockThreshold","getCurrentDirection","updateAxis","getAnimationState","getTransformPagePoint","_point","shouldDrag","axisValue","applyConstraints","dragConstraints","measure","prevConstraints","resolveRefConstraints","calcRelativeConstraints","resolveDragElastic","relativeConstraints","rebaseAxisConstraints","onMeasureDragConstraints","constraintsElement","constraintsBox","rootProjectionNode","viewportBox","measurePageBox","measuredConstraints","calcViewportConstraints","userConstraints","convertBoxToBoundingBox","dragMomentum","dragTransition","onDragTransitionEnd","momentumAnimations","startAxisValueAnimation","dragKey","scalePositionWithinConstraints","boxProgress","sourceLength","targetLength","calcOrigin","transformTemplate","updateScroll","updateLayout","addListeners","stopPointerListener","dragListener","measureDragConstraints","stopMeasureLayoutListener","stopResizeListener","stopLayoutUpdateListener","hasLayoutChanged","asyncHandler","PresenceContext","createContext","LayoutGroupContext","SwitchLayoutGroupContext","globalProjectionState","hasAnimatedSinceResize","hasEverUpdated","pixelsToPercent","pixels","correctBorderRadius","correct","correctBoxShadow","treeScale","projectionDelta","original","xScale","yScale","averageScale","scaleCorrectors","microtask","cancelMicrotask","MeasureLayoutWithContext","Component","componentDidMount","layoutGroup","switchLayoutGroup","layoutId","correctors","defaultScaleCorrectors","group","didUpdate","safeToRemove","setOptions","getSnapshotBeforeUpdate","layoutDependency","willUpdate","promote","relegate","getStack","members","componentDidUpdate","currentAnimation","isLead","componentWillUnmount","promoteContext","scheduleCheckAfterUnmount","remove","deregister","MeasureLayout","useContext","useId","usePresence","applyTo","boxShadow","borders","numBorders","asNumber","isPx","getRadius","radiusName","easeCrossfadeIn","compress","easeCrossfadeOut","copyAxisInto","originAxis","copyBoxInto","originBox","copyAxisDeltaInto","originDelta","removePointDelta","removeAxisTransforms","transforms","scaleKey","originKey","sourceAxis","removeAxisDelta","xKeys","yKeys","removeBoxTransforms","sourceBox","isAxisDeltaZero","isDeltaZero","axisEquals","axisEqualsRounded","boxEqualsRounded","axisDeltaEquals","NodeStack","scheduleRender","prevLead","lead","indexOfNode","findIndex","member","preserveFollowOpacity","show","resumeFrom","preserveOpacity","snapshot","animationValues","isUpdating","isLayoutDirty","crossfade","exitAnimationComplete","resumingFrom","removeLeadSnapshot","compareByDepth","FlatTree","isDirty","resolveMotionValue","unwrappedValue","toValue","metrics","totalNodes","resolvedTargetDeltas","recalculatedProjection","isDebug","MotionDebug","transformAxes","hiddenVisibility","visibility","resetDistortingTransform","sharedAnimationValues","setStaticValue","cancelTreeOptimisedTransformAnimations","projectionNode","hasCheckedOptimisedAppear","MotionHasOptimisedAnimation","MotionCancelOptimisedAnimation","createProjectionNode","attachResizeListener","defaultParent","measureScroll","checkIsScrollRoot","resetTransform","animationId","isTreeAnimating","isProjectionDirty","isSharedProjectionDirty","isTransformDirty","updateManuallyBlocked","updateBlockedByResize","isSVG","needsReset","shouldResetTransform","eventHandlers","hasTreeAnimated","updateScheduled","scheduleUpdate","projectionUpdateScheduled","checkUpdateFailed","clearAllSnapshots","updateProjection","propagateDirtyNodes","resolveTargetDelta","calcProjection","cleanDirtyNodes","record","resolvedRelativeTargetAt","hasProjected","isVisible","animationProgress","sharedNodes","path","notifyListeners","subscriptionManager","hasListeners","SVGElement","cancelDelay","resizeUnblockUpdate","timeout","checkElapsed","finishAnimation","registerSharedNode","hasRelativeTargetChanged","newLayout","isTreeAnimationBlocked","relativeTarget","layoutTransition","defaultLayoutTransition","onLayoutAnimationStart","onLayoutAnimationComplete","targetChanged","targetLayout","hasOnlyRelativeTargetChanged","layoutRoot","setAnimationOrigin","animationOptions","blockUpdate","unblockUpdate","isUpdateBlocked","startUpdate","resetSkewAndRotation","getTransformTemplate","shouldNotifyListeners","prevTransformTemplateValue","updateSnapshot","clearMeasurements","clearIsLayoutDirty","resetTransformStyle","notifyLayoutUpdate","clearSnapshot","removeLeadSnapshots","scheduleUpdateProjection","alwaysMeasureLayout","prevLayout","layoutCorrected","phase","layoutScroll","isRoot","wasRoot","isResetRequested","hasProjection","transformTemplateValue","transformTemplateHasChanged","removeTransform","pageBox","removeElementScroll","roundAxis","measuredBox","checkNodeWasScrollRoot","boxWithoutScroll","applyTransform","transformOnly","withTransforms","boxWithoutTransform","setTargetDelta","targetDelta","forceRelativeParentToResolveTarget","relativeParent","forceRecalculation","getLead","isShared","attemptToResolveRelativeTarget","getClosestProjectingParent","relativeTargetOrigin","targetWithTransforms","isProjecting","canSkip","pendingAnimation","prevTreeScaleX","prevTreeScaleY","treePath","isSharedTransition","treeLength","applyTreeDeltas","prevProjectionDelta","createProjectionDeltas","notifyAll","projectionDeltaWithTransform","snapshotLatestValues","mixedValues","relativeLayout","isSharedLayoutAnimation","isOnlyMember","shouldCrossfadeOpacity","hasOpacityCrossfade","prevRelativeTarget","mixTargetDelta","mixAxisDelta","mixAxis","follow","opacityExit","borderLabel","followRadius","leadRadius","mixValues","motionValue$1","animateSingleValue","completeAnimation","applyTransformsToTarget","shouldAnimatePositionOnly","animationType","xLength","yLength","initialPromotionConfig","shouldPreserveFollowOpacity","getPrevLead","hasDistortingTransform","resetValues","getProjectionStyles","styleProp","pointerEvents","emptyStyles","valuesToRender","latestTransform","xTranslate","yTranslate","zTranslate","elementScaleX","elementScaleY","buildProjectionTransform","transformOrigin","corrected","num","resetTree","measuredLayout","axisSnapshot","layoutDelta","visualDelta","parentSnapshot","parentLayout","relativeSnapshot","onBeforeLayoutMeasure","userAgentContains","navigator","userAgent","roundPoint","maxDistance","DocumentProjectionNode","HTMLProjectionNode","documentNode","pan","removePointerDownListener","onPointerDown","pointerDownEvent","session","createPanHandlers","onPanSessionStart","onPanStart","onPan","onPanEnd","removeGroupControls","dragControls","ProjectionNode","handleHoverEvent","lifecycle","handlePressEvent","observerCallbacks","observers","fireObserverCallback","entry","fireAllObserverCallbacks","observeIntersection","rootInteresectionObserver","lookupRoot","rootObservers","initIntersectionObserver","thresholdNames","gestureAnimations","inView","hasEnteredView","isInView","startObserver","viewport","amount","once","isIntersecting","onViewportEnter","onViewportLeave","prevViewport","hasViewportOptionChanged","tap","globalTapTarget","focus","isFocusVisible","hover","onHoverStart","onPointerEnter","enterEvent","onHoverEnd","onPointerLeave","leaveEvent","MotionConfigContext","isStatic","reducedMotion","MotionContext","isBrowser","useIsomorphicLayoutEffect","LazyContext","strict","useVisualElement","visualState","createVisualElement","ProjectionNodeConstructor","lazyContext","reducedMotionConfig","visualElementRef","renderer","initialLayoutGroupConfig","getClosestProjectingNode","useInsertionEffect","optimisedAppearId","wantsHandoff","MotionHandoffIsComplete","MotionIsMounted","updateFeatures","MotionHandoffMarkAsComplete","allowProjection","useMotionRef","externalRef","isVariantNode","useCreateMotionContext","inherit","getCurrentTreeVariants","variantLabelsAsDependency","featureProps","featureDefinitions","isEnabled","motionComponentSymbol","createRendererMotionComponent","preloadedFeatures","useRender","useVisualState","features","loadFeatures","ForwardRefMotionComponent","configAndProps","useLayoutId","layoutProjection","combined","getProjectionFunctionality","jsxs","Provider","layoutGroupId","lowercaseSVGElements","isSVGComponent","renderHTML","vars","setProperty","camelCaseAttributes","renderSVG","renderState","_styleProp","isForcedMotionValue","scrapeMotionValuesFromProps","newValues","scrapeMotionValuesFromProps$1","useConstant","makeUseVisualState","make","createRenderState","onMount","makeLatestValues","makeState","scrapeMotionValues","motionValues","isControllingVariants$1","isVariantNode$1","isInitialAnimationBlocked","variantToSet","createHtmlRenderState","createSvgRenderState","getValueAsType","translateAlias","numTransforms","buildHTMLStyles","hasTransformOrigin","valueAsType","transformString","transformIsDefault","valueIsDefault","buildTransform","dashKeys","camelKeys","buildSVGAttrs","attrX","attrY","attrScale","pathLength","pathSpacing","pathOffset","isSVGTag","dimensions","calcSVGTransformOrigin","spacing","useDashCase","buildSVGPath","svgMotionConfig","getBBox","htmlMotionConfig","copyRawValuesOnly","useStyle","useInitialMotionValues","useHTMLProps","htmlProps","userSelect","WebkitUserSelect","WebkitTouchCallout","touchAction","onTap","onTapStart","validMotionProps","isValidMotionProp","shouldForward","isValidProp","useSVGProps","_isStatic","visualProps","rawStyles","createUseRender","forwardMotionProps","filteredProps","isDom","filterProps","elementProps","renderedChildren","createMotionComponentFactory","prefersReducedMotion","hasReducedMotionListener","visualElementStore","valueTypes","propEventHandlers","VisualElement","_props","_prevProps","_visualElement","valueSubscriptions","prevMotionValues","propEventSubscriptions","notifyUpdate","triggerBuild","renderInstance","renderScheduledAt","baseTarget","initialValues","initialMotionValues","removeFromVariantTree","addVariantChild","bindToMotionValue","matchMedia","motionMediaQuery","setReducedMotionPreferences","addListener","initPrefersReducedMotion","feature","valueIsTransform","removeOnChange","latestValue","removeOnRenderRequest","removeSyncCheck","MotionCheckAppearSync","other","sortInstanceNodePosition","featureDefinition","FeatureConstructor","build","measureInstanceViewportBox","getStaticValue","listener","existingValue","removeValue","updateMotionValuesFromProps","handleChildMotionValue","getVariant","getClosestVariantNode","closestVariantNode","removeValueFromRenderState","getBaseTargetFromProps","readValueFromInstance","setBaseTarget","valueFromInitial","DOMVisualElement","compareDocumentPosition","childSubscription","HTMLVisualElement","defaultType","SVGVisualElement","getAttribute","motion","PopChildMeasure","childRef","sizeRef","PopChild","dataset","motionPopId","appendChild","sheet","insertRule","removeChild","cloneElement","PresenceChild","presenceAffectsLayout","presenceChildren","newChildrenMap","memoizedOnExitComplete","childId","random","getChildKey","onlyElements","Children","isValidElement","AnimatePresence","exitBeforeEnter","presentChildren","presentKeys","pendingPresentChildren","exitComplete","diffedChildren","setDiffedChildren","setRenderedChildren","exitingChildren","nextChildren","forceRender","isEveryExitComplete","isExitComplete","studioTheme","colorTheme","resolvedConfig","buildColorTheme","buildTheme","EMPTY_ARRAY","EMPTY_RECORD","POPOVER_MOTION_CONTENT_OPACITY_PROPERTY","POPOVER_MOTION_PROPS","rem","pixelValue","_responsive","statement","mediaIndex","_getArrayProp","defaultVal","_getResponsiveSpace","spaceIndexes","spaceIndex","_fillCSSObject","key2","responsiveFont","fontKey","$size","$weight","defaultSize","fontFamily","warned","sizeIndex","size2","fontSize2","negHeight","capHeight","iconOffset","customIconSize","customIconOffset","responsiveTextAlignStyle","$align","textAlign","useArrayProp","setCache","cachedVal","cachedHash","useClickOutsideEvent","boundaryElement","elementsArg","_temp$b","flat","onEvent","hasListener","t2","t3","handleEvent","evt_0","useDebugValue","useCustomValidity","customValidity","setCustomValidity","ResizeObserverBoxOptions","ResizeObserverBoxOptions2","resizeObservers","msg","BORDER_BOX","CONTENT_BOX","DEVICE_PIXEL_CONTENT_BOX","trigger","ResizeObserverSize","inlineSize","blockSize","DOMRectReadOnly","DOMRectReadOnly2","toJSON","fromRect","rectangle","isHidden","global$1","scrollRegexp","verticalRegexp","IE","parseDimension","pixel","size$1","switchSizes","zeroBoxes","devicePixelContentBoxSize","borderBoxSize","contentBoxSize","contentRect","calculateBoxSizes","cs","ownerSVGElement","removePadding","boxSizing","writingMode","canScrollVertically","canScrollHorizontally","borderTop2","borderRight2","borderBottom2","horizontalPadding","verticalPadding","horizontalBorderArea","verticalBorderArea","horizontalScrollbarThickness","verticalScrollbarThickness","widthReduction","heightReduction","contentWidth","contentHeight","borderBoxWidth","borderBoxHeight","boxes","calculateBoxSize","observedBox","ResizeObserverEntry","calculateDepthForNode","broadcastActiveObservations","shallowestDepth","callbacks2","ro","activeTargets","ot","targetDepth","lastReportedSize","observer","_i","callbacks_1","gatherActiveObservationsAtDepth","skippedTargets","observationTargets","ErrorEvent","createEvent","initEvent","queueMicroTask","toggle_1","el_1","createTextNode","MutationObserver","cb","characterData","watching","observerConfig","childList","subtree","Date","scheduled","scheduler","Scheduler2","_this","stopped","until","elementsHaveResized","updateCount","ResizeObservation","ResizeObservation2","isReplacedElement","ResizeObserverDetail","observerMap","getObservationIndex","ResizeObserverController","ResizeObserverController2","connect","detail","firstObservation","lastObservation","ResizeObserver2","TypeError","_ResizeObserver","_elementSizeObserver","disposeCache","subscribersCache","subscriber","subscribers","dispose","_contentRect","elementRect","sub","idx","_createElementSizeObserver","useElementSize","setSize","useGlobalKeyDown","handleKeyDown","event_0","useMatchMedia","mediaQueryString","getServerSnapshot2","subscribe2","getSnapshot","MEDIA_QUERY_CACHE","getMatchMedia","onStoreChange","useSyncExternalStore","globalScope","getGlobalScope","createGlobalScopedContext","ThemeContext","ThemeProvider","parentTheme","bb0","t12","themeContext","bb1","t22","ThemeProvider$1","useRootTheme","ThemeColorProvider","useTheme_v2","useTheme$1","_getMediaQuery","getServerSnapshot","useMediaIndex","mediaLen","getSizes","mediaQuery","mq","disposeFns","handleChange","disposeFn","_createMediaStore","store","_temp$a","usePrefersReducedMotion","_temp$9","borderStyle","$border","borderTop","$borderTop","borderRight","$borderRight","borderBottom","$borderBottom","borderLeft","$borderLeft","BASE_STYLE$4","listStyle","BOX_SIZING","BOX_HEIGHT","stretch","responsiveBoxDisplayStyle","$display","responsiveBoxSizingStyle","$sizing","sizing","responsiveBoxHeightStyle","$height","responsiveBoxOverflowStyle","$overflow","BASE_STYLE$3","responsiveFlexAlignStyle","alignItems","responsiveFlexGapStyle","$gap","gap","responsiveFlexWrapStyle","$wrap","flexWrap","responsiveFlexJustifyStyle","$justify","justify","justifyContent","responsiveFlexDirectionStyle","$direction","flexDirection","BASE_STYLE$2","minWidth","minHeight","flexItemStyle","responsiveFlexItemStyle","$flex","focusRingBorderStyle","border2","focusRingStyle","opts","focusRingOutsetWidth","focusRingInsetWidth","GRID_CSS","GRID_AUTO_COLUMS","auto","fr","GRID_AUTO_ROWS","responsiveGridAutoFlowStyle","$autoFlow","autoFlow","gridAutoFlow","responsiveGridAutoRowsStyle","$autoRows","autoRows","gridAutoRows","responsiveGridAutoColsStyle","$autoCols","autoCols","gridAutoColumns","responsiveGridColumnsStyle","$columns","gridTemplateColumns","responsiveGridRowsStyle","$rows","gridTemplateRows","responsiveGridGapStyle","gridGap","responsiveGridGapXStyle","$gapX","gapX","columnGap","responsiveGridGapYStyle","$gapY","gapY","rowGap","GRID_ITEM_ROW","full","GRID_ITEM_COLUMN","responsiveGridItemRowStyle","$row","row","responsiveGridItemRowStartStyle","$rowStart","rowStart","responsiveGridItemRowEndStyle","$rowEnd","rowEnd","responsiveGridItemColumnStyle","$column","responsiveGridItemColumnStartStyle","$columnStart","columnStart","responsiveGridItemColumnEndStyle","$columnEnd","columnEnd","responsiveInputPaddingStyle","$fontSize","$iconLeft","$iconRight","$padding","$space","len","_padding","_space","_fontSize","emSize","responsiveInputPaddingIconRightStyle","ROOT_STYLE","textInputRootStyle","textInputBaseStyle","$scheme","$tone","textInputFontSizeStyle","textInputRepresentationStyle","$hasPrefix","$hasSuffix","$unstableDisableFocusRing","responsivePaddingStyle","$paddingX","$paddingY","$paddingTop","$paddingRight","$paddingBottom","$paddingLeft","responsiveRadiusStyle","$radius","toBoxShadow","Root$C","styled","div","$accent","$muted","SpanWithTextOverflow$2","Label","childrenProp","restProps","textOverflow","t4","avatarStyle","$color","WebkitFontSmoothing","appearance","strokeLinecap","textTransform","Root$B","avatarSize","Arrow$1","BgStroke","ellipse","Stroke","Initials","InitialsLabel","Image","_temp$8","__unstable_hideInnerStroke","animateArrowFrom","arrowPositionProp","asProp","initials","onImageLoadError","arrowPosition","status","sizeProp","_sizeRem","_radius","elementId","setArrowPosition","imageFailed","setImageFailed","imageId","t5","t6","t7","raf","handleImageError","t8","t9","initialsSize","t10","t11","t13","t14","patternContentUnits","cx","cy","rx","ry","vectorEffect","forwardedAs","Root$A","AvatarCounter","_temp$7","BASE_STYLES","Root$z","maxLengthProp","extraCount","visibleChildren","T0","Root$y","$margin","$marginX","$marginY","$marginTop","$marginRight","$marginBottom","$marginLeft","Box","marginX","marginY","paddingX","paddingY","t15","t16","t17","t18","t19","t20","t21","t23","t24","t25","t26","t27","t28","t29","t30","Root$x","SpanWithTextOverflow$1","Text","t32","Root$w","cursor","verticalAlign","t42","t52","_deprecated_mode","t62","t72","Root$v","Flex","rotate$1","Root$u","Spinner","SpinnerIcon","_cardColorStyle","checkered","combineBoxShadow","boxShadows","Root$t","$width","$mode","baseColor","defaultBoxShadow","LoadingBox","Button","IconComponent","IconRightComponent","paddingBottomProp","paddingLeftProp","paddingRightProp","paddingTopProp","paddingXProp","paddingYProp","iconRight","justifyProp","paddingProp","radiusProp","spaceProp","boxProps","cardBaseStyle","$checkered","cardColorStyle","$focusRing","Root$s","$shadow","outlineWidth","shadowStyle","Card","borderLeft2","__unstable_checkered","__unstable_focusRing","toneProp","Root$r","Input$5","codeSyntaxHighlightingStyle","forwardedRef","indeterminate","useImperativeHandle","CheckmarkIcon","RemoveIcon","Root$q","pre","languageProp","hasLanguage","BASE_STYLE$1","Root$p","Container","Root$o","Grid","Root$n","SpanWithTextOverflow","Root$m","Inline","_temp$6","Root$l","KBD","floatingWidth","floatingHeight","shiftX","shiftY","isVerticalPlacement","moveTowardsLength","movingPoint","targetPoint","moveTowardsFractional","fraction","Root$k","$w","w","StrokePath","ShapePath","Arrow","cmds","prevPoint","nextPoint","curveStart","curveEnd","startControl","endControl","getRoundedCommands","compileCommands","strokePath","fillPath","BoundaryElementContext","DEFAULT_VALUE","useBoundaryElement","getLayerContext","contextValue","_media","setElement","elementSize","innerWidth","eq","findMaxBreakpoints","eq_0","findMinBreakpoints","LayerContext","useLayer","nodeType","ELEMENT_NODE","isHTMLAnchorElement","isHTMLButtonElement","containsOrEqualsElement","isFocusable","isHTMLInputElement","isHTMLSelectElement","isHTMLTextAreaElement","attemptFocus","activeElement","focusFirstDescendant","childNodes","focusLastDescendant","_isScrollable","LayerProvider","zOffsetProp","parentContextValue","parentRegisterChild","registerChild","level","maxMediaIndex","setChildLayers","childLevel","parentDispose","prevLen","nextState","_temp$5","state_0","nextState_0","_temp2$3","v_0","Root$j","LayerChildren","onActivate","lastFocusedRef","isTopLayerRef","rootElement","handleFocus","Layer","elementKey","PortalContext","usePortal","__unstable_name","portal","portalElement","createPortal","PortalProvider","__unstable_elements","elementsProp","valueRef","objA","objB","keysA","keysB","_isEqual","useUnique","fallbackElement","emptySubscribe","_temp$4","_temp2$2","Root$i","Root$h","ItemWrapper","getItemKey","renderItem","items","wrapperRef","setScrollTop","setScrollHeight","itemHeight","setItemHeight","firstElement","_scrollEl","scrollEl","handleScroll","handleScroll_0","handleResize","innerHeight","fromIndex","toIndex","ceil","t123","t132","t142","t122","_itemIndex","itemIndex","wrapperStyle","DEFAULT_POPOVER_MARGINS","DEFAULT_FALLBACK_PLACEMENTS$1","MotionCard$1","PopoverCard","arrow2","arrowRef","arrowX","arrowY","marginsProp","xProp","yProp","__unstable_margins","margins","rootStyle2","arrowStyle","Popover","boundaryElementContext","_animate","arrowProp","childProp","constrainSize","matchReferenceWidth","floatingBoundary","placementProp","preventOverflow","referenceBoundary","referenceElement","shadowProp","widthProp","updateRef","boundarySize","widthArrayProp","boundaryWidth","params","currentWidth","calcCurrentWidth","widthRef","DEFAULT_POPOVER_PADDING","calcMaxWidth","maxWidthRef","referenceWidthRef","floatingElement","referenceWidth","floatingW","floatingH","availableWidth","availableHeight","nextDimensions","targetH","referenceWidth_0","_currentWidth","_maxWidth","hide$1","setArrow","arrowEl","node_0","getter","mayWarn","isReactWarning","getElementRef","Root$g","Input$4","dist","inputBaseStyle","inputColorStyle","inputTextSizeStyle","textSize","selectStyle","Root$f","Input$3","IconBox","ChevronDownIcon","BASE_STYLE","Root$e","Stack","Root$d","Input$2","Representation","Track","Thumb","$indeterminate","trackWidth","trackHeight","trackPadding","checkedOffset","indeterminateOffset","$checked","Root$c","InputRoot$1","Input$1","textarea","Presentation$1","__unstable_disableFocusRing","CLEAR_BUTTON_BOX_STYLE","Root$b","InputRoot","Prefix","Suffix","Input","Presentation","LeftBox","RightBox","RightCard","TextInputClearButton","TextInput","clearButton","onClear","suffix","fontSizeProp","$hasClearButton","$hasIcon","$hasIconRight","handleClearMouseDown","_temp$3","preventDefault","stopPropagation","handleClearClick","prefixNode","presentationNode","_temp2$1","clearButtonBoxPadding","_temp3","clearButtonPadding","clearButtonProps","CloseIcon","clearButtonNode","suffixNode","DEFAULT_FALLBACK_PLACEMENTS","MotionCard","TooltipCard","TooltipDelayGroupContext","Root$a","Tooltip","fallbackPlacementsProp","portalProp","setReferenceElement","tooltipMaxWidth","setTooltipMaxWidth","tooltipId","isOpen","setIsOpen","initialState","setState","delayedAction","onStateChange","useDelayedState","delayGroupContext","showTooltip","openTooltipId","isInsideGroup","openDelayProp","closeDelayProp","openDelay","closeDelay","handleIsOpenChange","groupedOpenDelay","setIsGroupActive","setOpenTooltipId","groupDeactivateDelay","handleBlur","handleClick","e_0","handleContextMenu","e_1","e_2","handleMouseEnter","e_3","handleMouseLeave","e_4","handleMouseMove","useCloseOnMouseLeave","handleWindowKeyDown","availableWidths","DEFAULT_TOOLTIP_PADDING","Root$9","ListBox","AnimatedSpinnerIcon","AutocompleteOption","autocompleteReducer","msg2","activeValue","focused","query","listFocused","AUTOCOMPLETE_LISTBOX_IGNORE_KEYS","AUTOCOMPLETE_POPOVER_FALLBACK_PLACEMENTS","DEFAULT_RENDER_VALUE","DEFAULT_FILTER_OPTION","filterOption","filterOptionProp","listBox","onQueryChange","openButton","openOnFocus","optionsProp","relatedElements","renderOption","renderOptionProp","renderPopover","renderValue","valueProp","dispatch","useReducer","defaultRenderOption","value_0","rootElementRef","resultsPopoverElementRef","inputElementRef","listBoxElementRef","listFocusedRef","valuePropRef","popoverMouseWithinRef","listBoxId","currentOption","filteredOptions","filteredOptionsLen","activeItemId","expanded","handleRootBlur","focusInside","handleRootFocus","listBoxElement","focusedElement","listFocused_0","handleOptionSelect","handleRootKeyDown","event_1","activeOption","o_0","activeIndex","nextActiveOption","activeOption_0","o_1","activeIndex_0","nextActiveOption_0","listEl","handleInputChange","event_2","nextQuery","dispatchOpen","handleInputFocus","event_3","handlePopoverMouseEnter","handlePopoverMouseLeave","handleClearButtonClick","handleClearButtonFocus","listElement","activeOption_1","o_2","activeIndex_1","activeItemElement","openButtonBoxPadding","openButtonPadding","v_1","openButtonProps","handleOpenClick","event_4","_raf","openButtonNode","inputValue","handleListBoxKeyDown","event_5","option_0","active","inputElement","Root$8","ol","ExpandButton","separator","spaceRaw","setOpen","expandElementRef","popoverElementRef","collapse","expand","rawItems","beforeLength","afterLength","Fragment$1","DialogContext","isTargetWithinScope","Root$7","$position","$animate","DialogContainer","DialogCardRoot","DialogLayout","DialogHeader","DialogContent","DialogFooter","DialogCard","__unstable_autoFocus","__unstable_hideCloseButton","hideCloseButton","contentRef","forwardedContentRef","footer","header","onClickOutside","labelId","showCloseButton","showHeader","target_0","_positionProp","_zOffsetProp","cardRadius","cardShadow","cardRadiusProp","positionProp","preDivRef","postDivRef","cardRef","focusedElementRef","cardElement","rootClickTimeoutRef","cardElement_0","handleRootClick","Root$6","Key","Hotkeys","MenuContext","_isFocusable","_getFocusableElements","_getDOMPath","EMPTY_PATH","useMenuController","originElement","shouldFocus","elementsRef","_setActiveIndex","activeIndexRef","mounted","setActiveIndex","nextActiveIndex","aIndex","bIndex","_sortElements","selectedIndex","focusableElements_2","focusableLen_0","focusedElement_0","focusedIndex_0","el_2","currentIndex_2","focusableElements_1","focusableLen","focusedIndex","currentIndex_1","focusableElements_0","el_0","currentIndex_0","currentIndex","handleItemMouseEnter","element_0","currentIndex_3","handleItemMouseLeave","rafId","el_3","currentIndex_4","focusableElements_4","el_4","currentIndex_5","Root$5","Menu","_shouldFocus","onEscape","onItemClick","onItemSelect","registerElement","focusFirst","focusLast","t82","t92","t102","t112","unregisterElementRef","handleRefChange","onItemMouseEnter","onItemMouseLeave","_temp$2","__unstable_disableRestoreFocusOnClose","deprecated_boundaryElement","buttonProp","menu","menuProp","onOpen","deprecated_placement","popoverScheme","deprecated_popoverScheme","popoverRadius","deprecated_popoverRadius","deprecated_preventOverflow","disableRestoreFocusOnClose","deprecated_portal","setShouldFocus","buttonElement","setButtonElement","menuElements","setChildMenuElements","handleButtonClick","handleMouseDown","handleButtonKeyDown","handleMenuClickOutside","handleMenuEscape","relatedTarget","handleItemClick","els","els_0","_el","onBlurCapture","popoverProps","MenuDivider","hr","Selectable","useMenu","MenuGroup","_onItemMouseEnter","setRootElement","withinMenu","setWithinMenu","handleMenuKeyDown","handleChildItemClick","handleMenuMouseEnter","childMenu","t31","ChevronRightIcon","MenuItem","hotkeys","selectedProp","_onItemMouseLeave","paddingProps","_temp$1","hotkeysFontSize","setRef","skeletonStyle","$visible","$animated","Root$4","Skeleton","animated","visible","setVisible","Root$3","$style","fontStyle","CustomButton","Tab","focusedRef","CustomInline","TabList","setFocusedIndex","tabs","numTabs","prevIndex","prevIndex_0","_focusItemElement","TreeContext","useTree","setFocusedElement","itemElements","setItemElements","stateRef","path_0","s_0","newState","registerItem","path_1","expanded_0","s_1","itemState","setExpanded","nextEl","itemKey","pop","_findNextItemElement","prevEl","_findPrevItemElement","itemState_0","s_2","itemState_1","itemPath","parentKey","parentState","focusedKey","s_3","itemState_2","_itemElements","TreeGroup","Root","li","TreeItemBox","$level","ToggleArrowText","expandedProp","idProp","linkAs","rootRef","treeitemRef","_id","closest","click","ToggleArrowRightIcon","getNodeIcon","CubeIcon","StringIcon","NumberIcon","dangerouslySetInnerHTML","__html","CheckmarkCircleIcon","of","BlockContentIcon","ThListIcon","ImageIcon","PortalContainer","PortalBackground","PopoverPortal","onDismiss","setBoundaryElement","_temp","basePropertyOf","deburrLetter","_basePropertyOf","_deburrLetter","freeGlobal","_freeGlobal","freeSelf","_root","_Symbol","getRawTag","objectProto","nativeObjectToString","symToStringTag","toStringTag","_getRawTag","isOwn","unmasked","objectToString","_objectToString","_baseGetTag","baseGetTag","isObjectLike","isObjectLike_1","isSymbol_1","arrayMap","_arrayMap","iteratee","isArray_1","isSymbol","symbolProto","symbolToString","_baseToString","baseToString","toString_1","asciiWords","reAsciiWord","_asciiWords","hasUnicodeWord","reHasUnicodeWord","_hasUnicodeWord","unicodeWords","rsAstralRange","rsDingbatRange","rsLowerRange","rsUpperRange","rsBreakRange","rsMathOpRange","rsBreak","rsDigits","rsDingbat","rsLower","rsMisc","rsRegional","rsSurrPair","rsUpper","rsMiscLower","rsMiscUpper","rsOptContrLower","rsOptContrUpper","reOptMod","rsModifier","rsOptVar","rsSeq","rsEmoji","reUnicodeWord","_unicodeWords","words_1","words","guard","arrayReduce","_arrayReduce","accumulator","initAccum","deburr","reLatin","reComboMark","deburr_1","reApos","_createCompounder","baseSlice","_baseSlice","_castSlice","castSlice","reHasUnicode","_hasUnicode","asciiToArray","_asciiToArray","hasUnicode","unicodeToArray","rsAstral","rsCombo","rsFitz","rsNonAstral","rsSymbol","reUnicode","_unicodeToArray","_stringToArray","upperFirst","stringToArray","_createCaseFirst","strSymbols","chr","trailing","createCaseFirst","upperFirst_1","createCompounder","startCase","word","startCase_1","getSchemaTypeIcon","schemaType","referenceIcon","isReferenceSchemaType","labels","InsertMenu","insertMenu","insertMenuOptions","views","_temp2","SanityInsertMenu","schemaTypes","view","previewImageUrl","previewImageUrls","A","AddIcon","B","C","CopyIcon","D","DocumentIcon","E","ExpandIcon","F","H","I","popoverContent","L","M","P","R","S","SortIcon","T","U","UnpublishIcon","InsertAboveIcon","InsertBelowIcon","PublishIcon","dt","ArrowUpIcon","ArrowDownIcon","DragHandleIcon"],"mappings":"aAAA,IAAAA,EAAA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A2/H,EAAAvyB,GAAAptG,QAAA4/H,EAAAC,GAAA7/H,QAAA8/H,EAAAv2B,GAAAvpG,QAAA+/H,EAAAC,GAAAhgI,QAAA1H,EAAA2nI,GAAAjgI,QAAAhI,EAAAkoI,GAAAlgI,QAAAhG,EAAAmmI,GAAAngI,QAAA1a,EAAA86I,GAAApgI,QAAAjb,EAAAs7I,GAAArgI,QAAAI,EAAAkgI,GAAAtgI,QAAArG,EAAAm8H,GAAA91H,QAAAzF,EAAA0jI,GAAAj+H,QAAAuC,EAAA4tH,GAAAnwH,QAAAoH,EAAA6gG,GAAAjoG,QAAA3a,EAAAglH,GAAArqG,QAAA3F,EAAA6gH,GAAAl7G,QAAAxF,EAAA2yH,GAAAntH,QAAAhb,EAAAuyH,GAAAv3G,QAAA8pB,EAAA6sG,GAAA32H,QAAAK,EAAA6wH,GAAAlxH,QAAAM,EAAAksG,GAAAxsG,QAAAvG,EAAA8mI,GAAAvgI,QAAA/H,EAAAuhG,GAAAx5F,QAAArV,EAAAmpH,GAAA9zG,QAAAC,EpCsuBV,SAAwBmL,GACf,OAAA6sF,GAAc,+BAAgDqC,GACvE,EoCxuBUt6F,QAAA5C,EAAA07F,GAAA94F,QAAAivG,EAAAxiB,GAAAzsF,QAAAjH,EAAAk4G,GAAAjxG,QAAAhH,EAAA2iC","x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339]}