Showing preview only (4,584K chars total). Download the full file or copy to clipboard to get everything.
Repository: reorproject/reor
Branch: main
Commit: 9b47fcaf1158
Files: 371
Total size: 4.3 MB
Directory structure:
gitextract_y30i_vf3/
├── .containerignore
├── .eslintignore
├── .eslintrc.js
├── .gitattributes
├── .github/
│ ├── ISSUE_TEMPLATE/
│ │ ├── bug_report.md
│ │ └── feature_request.md
│ └── workflows/
│ ├── build.yml
│ └── release.yml
├── .gitignore
├── .husky/
│ └── pre-commit
├── .npmrc
├── .prettierrc
├── .tamagui/
│ ├── tamagui-components.config.cjs
│ ├── tamagui.config.cjs
│ ├── tamagui.config.json
│ └── theme-builder.json
├── .vscode/
│ ├── .debug.script.mjs
│ ├── extensions.json
│ ├── launch.json
│ ├── settings.json
│ └── tasks.json
├── Containerfile
├── LICENSE
├── Makefile
├── README.md
├── build/
│ └── Icon.icns
├── components.json
├── electron/
│ ├── electron-env.d.ts
│ ├── main/
│ │ ├── common/
│ │ │ ├── chunking.ts
│ │ │ ├── error.ts
│ │ │ ├── network.ts
│ │ │ └── windowManager.ts
│ │ ├── electron-store/
│ │ │ ├── ipcHandlers.ts
│ │ │ ├── storeConfig.ts
│ │ │ ├── storeSchemaMigrator.ts
│ │ │ └── types.ts
│ │ ├── electron-utils/
│ │ │ └── ipcHandlers.ts
│ │ ├── filesystem/
│ │ │ ├── filesystem.test.ts
│ │ │ ├── filesystem.ts
│ │ │ ├── ipcHandlers.ts
│ │ │ ├── storage/
│ │ │ │ ├── ImageStore.ts
│ │ │ │ ├── MediaStore.ts
│ │ │ │ └── VideoStore.ts
│ │ │ └── types.ts
│ │ ├── index.ts
│ │ ├── llm/
│ │ │ ├── contextLimit.ts
│ │ │ ├── ipcHandlers.ts
│ │ │ ├── llmConfig.ts
│ │ │ ├── models/
│ │ │ │ └── ollama.ts
│ │ │ ├── types.ts
│ │ │ └── utils.ts
│ │ ├── path/
│ │ │ ├── ipcHandlers.ts
│ │ │ └── path.ts
│ │ └── vector-database/
│ │ ├── database.test.ts
│ │ ├── downloadModelsFromHF.ts
│ │ ├── embeddings.ts
│ │ ├── ipcHandlers.ts
│ │ ├── lance.ts
│ │ ├── lanceTableWrapper.ts
│ │ ├── schema.ts
│ │ └── tableHelperFunctions.ts
│ └── preload/
│ └── index.ts
├── electron-builder.json5
├── index.html
├── node
├── npx
├── package.json
├── postcss.config.cjs
├── postcss.config.js
├── reor-project@0.2.31
├── scripts/
│ ├── downloadOllama.js
│ └── notarize.js
├── shared/
│ ├── defaultLLMs.ts
│ └── utils.ts
├── src/
│ ├── App.tsx
│ ├── components/
│ │ ├── Chat/
│ │ │ ├── ChatConfigComponents/
│ │ │ │ ├── DBSearchFilters.tsx
│ │ │ │ ├── PromptEditor.tsx
│ │ │ │ ├── ToolSelector.tsx
│ │ │ │ └── exampleAgents.ts
│ │ │ ├── ChatInput.tsx
│ │ │ ├── ChatMessages.tsx
│ │ │ ├── ChatPrompts.tsx
│ │ │ ├── ChatSidebar.tsx
│ │ │ ├── MessageComponents/
│ │ │ │ ├── AssistantMessage.tsx
│ │ │ │ ├── ChatSources.tsx
│ │ │ │ ├── SystemMessage.tsx
│ │ │ │ ├── ToolCalls.tsx
│ │ │ │ └── UserMessage.tsx
│ │ │ ├── StartChat.tsx
│ │ │ └── index.tsx
│ │ ├── Common/
│ │ │ ├── CommonModals.tsx
│ │ │ ├── EmptyPage.tsx
│ │ │ ├── ExternalLink.tsx
│ │ │ ├── IndexingProgress.tsx
│ │ │ ├── MarkdownRenderer.tsx
│ │ │ ├── Modal.tsx
│ │ │ └── ResizableComponent.tsx
│ │ ├── Editor/
│ │ │ ├── BacklinkExtension.tsx
│ │ │ ├── BacklinkSuggestionsDisplay.tsx
│ │ │ ├── EditorManager.tsx
│ │ │ ├── HighlightExtension.tsx
│ │ │ ├── RichTextLink.tsx
│ │ │ ├── Search/
│ │ │ │ ├── SearchAndReplaceExtension.tsx
│ │ │ │ └── SearchBar.tsx
│ │ │ ├── editor.css
│ │ │ ├── schema.ts
│ │ │ ├── slash-menu-items.tsx
│ │ │ ├── types/
│ │ │ │ ├── Image/
│ │ │ │ │ └── image.tsx
│ │ │ │ ├── Video/
│ │ │ │ │ └── video.tsx
│ │ │ │ ├── index.ts
│ │ │ │ ├── media-container.tsx
│ │ │ │ ├── media-render.tsx
│ │ │ │ └── utils.ts
│ │ │ ├── ui/
│ │ │ │ └── src/
│ │ │ │ ├── TamaguiPopover.tsx
│ │ │ │ ├── TamaguiPopoverUseFloatingContext.tsx
│ │ │ │ ├── TamaguiPopper.tsx
│ │ │ │ ├── TamaguiTooltip.tsx
│ │ │ │ ├── button.ts
│ │ │ │ ├── container.tsx
│ │ │ │ ├── embed-links.tsx
│ │ │ │ ├── generated-themes.ts
│ │ │ │ ├── global.ts
│ │ │ │ ├── helpers.ts
│ │ │ │ ├── icons.tsx
│ │ │ │ ├── index.tsx
│ │ │ │ ├── input.ts
│ │ │ │ ├── menu-item.tsx
│ │ │ │ ├── resize-handle.ts
│ │ │ │ ├── section.tsx
│ │ │ │ ├── tamagui/
│ │ │ │ │ ├── config/
│ │ │ │ │ │ ├── animations.ts
│ │ │ │ │ │ ├── create-generic-font.ts
│ │ │ │ │ │ ├── fonts.ts
│ │ │ │ │ │ ├── media.ts
│ │ │ │ │ │ └── mediaEmbed.ts
│ │ │ │ │ ├── tamagui.config.ts
│ │ │ │ │ └── themes/
│ │ │ │ │ ├── colors.ts
│ │ │ │ │ ├── componentThemeDefinitions.tsx
│ │ │ │ │ ├── helpers.ts
│ │ │ │ │ ├── masks.tsx
│ │ │ │ │ ├── palettes.tsx
│ │ │ │ │ ├── shadows.tsx
│ │ │ │ │ ├── templates.tsx
│ │ │ │ │ ├── theme.ts
│ │ │ │ │ ├── themes-generated.ts
│ │ │ │ │ ├── token-colors.ts
│ │ │ │ │ ├── token-radius.ts
│ │ │ │ │ ├── token-size.ts
│ │ │ │ │ ├── token-space.ts
│ │ │ │ │ └── token-z-index.ts
│ │ │ │ ├── toggle.tsx
│ │ │ │ └── tooltip.tsx
│ │ │ └── utils.ts
│ │ ├── File/
│ │ │ ├── DBResultPreview.tsx
│ │ │ ├── NewDirectory.tsx
│ │ │ ├── RenameDirectory.tsx
│ │ │ └── RenameNote.tsx
│ │ ├── MainPage.tsx
│ │ ├── Settings/
│ │ │ ├── AnalyticsSettings.tsx
│ │ │ ├── ChunkSizeSettings.tsx
│ │ │ ├── DirectorySelector.tsx
│ │ │ ├── EmbeddingSettings/
│ │ │ │ ├── EmbeddingModelSelect.tsx
│ │ │ │ ├── EmbeddingSettings.tsx
│ │ │ │ ├── InitialEmbeddingSettings.tsx
│ │ │ │ └── modals/
│ │ │ │ └── NewRemoteEmbeddingModel.tsx
│ │ │ ├── GeneralSettings.tsx
│ │ │ ├── InitialSettingsSinglePage.tsx
│ │ │ ├── LLMSettings/
│ │ │ │ ├── DefaultLLMSelector.tsx
│ │ │ │ ├── InitialSetupLLMSettings.tsx
│ │ │ │ ├── LLMSelectOrButton.tsx
│ │ │ │ ├── LLMSettingsContent.tsx
│ │ │ │ └── modals/
│ │ │ │ ├── CustomLLMAPISetup.tsx
│ │ │ │ ├── DefaultLLMAPISetupModal.tsx
│ │ │ │ ├── NewOllamaModel.tsx
│ │ │ │ └── utils.ts
│ │ │ ├── Settings.tsx
│ │ │ └── Shared/
│ │ │ └── SettingsRow.tsx
│ │ ├── Sidebars/
│ │ │ ├── FileSideBar/
│ │ │ │ ├── FileItemRows.tsx
│ │ │ │ └── FileSidebar.tsx
│ │ │ ├── IconsSidebar.tsx
│ │ │ ├── MainSidebar.tsx
│ │ │ ├── SearchComponent.tsx
│ │ │ ├── SemanticSidebar/
│ │ │ │ ├── HighlightButton.tsx
│ │ │ │ └── SimilarEntriesComponent.tsx
│ │ │ └── SimilarFilesSidebar.tsx
│ │ ├── TitleBar/
│ │ │ ├── NavigationButtons.tsx
│ │ │ └── TitleBar.tsx
│ │ ├── WritingAssistant/
│ │ │ ├── ConversationHistory.tsx
│ │ │ ├── WritingAssistant.tsx
│ │ │ └── utils.ts
│ │ └── ui/
│ │ ├── Spinner.tsx
│ │ ├── ThemedMenu.tsx
│ │ ├── ThemedSelect.tsx
│ │ ├── badge.tsx
│ │ ├── button.tsx
│ │ ├── calendar.tsx
│ │ ├── card.tsx
│ │ ├── checkbox.tsx
│ │ ├── collapsible.tsx
│ │ ├── command.tsx
│ │ ├── context-menu.tsx
│ │ ├── date-picker.tsx
│ │ ├── dialog.tsx
│ │ ├── drawer.tsx
│ │ ├── dropdown-menu.tsx
│ │ ├── hover-card.tsx
│ │ ├── input.tsx
│ │ ├── label.tsx
│ │ ├── popover.tsx
│ │ ├── progress.tsx
│ │ ├── resizable.tsx
│ │ ├── scroll-area.tsx
│ │ ├── select.tsx
│ │ ├── slider.tsx
│ │ ├── suggestion-card.tsx
│ │ ├── switch.tsx
│ │ ├── textarea.tsx
│ │ ├── tooltip.tsx
│ │ └── window-controls.tsx
│ ├── contexts/
│ │ ├── AdaptContext.tsx
│ │ ├── ChatContext.tsx
│ │ ├── ContentContext.tsx
│ │ ├── FileContext.tsx
│ │ ├── ModalContext.tsx
│ │ └── ThemeContext.tsx
│ ├── lib/
│ │ ├── animations.tsx
│ │ ├── blocknote/
│ │ │ ├── core/
│ │ │ │ ├── BlockNoteEditor.ts
│ │ │ │ ├── BlockNoteExtensions.ts
│ │ │ │ ├── api/
│ │ │ │ │ ├── blockManipulation/
│ │ │ │ │ │ └── blockManipulation.ts
│ │ │ │ │ ├── formatConversions/
│ │ │ │ │ │ ├── customRehypePlugins.ts
│ │ │ │ │ │ ├── formatConversions.ts
│ │ │ │ │ │ └── simplifyBlocksRehypePlugin.ts
│ │ │ │ │ ├── nodeConversions/
│ │ │ │ │ │ └── nodeConversions.ts
│ │ │ │ │ └── util/
│ │ │ │ │ └── nodeUtil.ts
│ │ │ │ ├── assets/
│ │ │ │ │ └── fonts-inter.css
│ │ │ │ ├── editor.module.css
│ │ │ │ ├── extensions/
│ │ │ │ │ ├── BlockManipulation/
│ │ │ │ │ │ └── BlockManipulationExtension.ts
│ │ │ │ │ ├── Blocks/
│ │ │ │ │ │ ├── PreviousBlockTypePlugin.ts
│ │ │ │ │ │ ├── api/
│ │ │ │ │ │ │ ├── block.ts
│ │ │ │ │ │ │ ├── blockTypes.ts
│ │ │ │ │ │ │ ├── cursorPositionTypes.ts
│ │ │ │ │ │ │ ├── defaultBlocks.ts
│ │ │ │ │ │ │ ├── inlineContentTypes.ts
│ │ │ │ │ │ │ ├── selectionTypes.ts
│ │ │ │ │ │ │ └── serialization.ts
│ │ │ │ │ │ ├── helpers/
│ │ │ │ │ │ │ ├── findBlock.ts
│ │ │ │ │ │ │ ├── getBlockInfoFromPos.ts
│ │ │ │ │ │ │ └── getGroupInfoFromPos.ts
│ │ │ │ │ │ ├── index.ts
│ │ │ │ │ │ └── nodes/
│ │ │ │ │ │ ├── Block.module.css
│ │ │ │ │ │ ├── BlockAttributes.ts
│ │ │ │ │ │ ├── BlockContainer.ts
│ │ │ │ │ │ ├── BlockContent/
│ │ │ │ │ │ │ ├── HeadingBlockContent/
│ │ │ │ │ │ │ │ └── HeadingBlockContent.ts
│ │ │ │ │ │ │ ├── ListItemBlockContent/
│ │ │ │ │ │ │ │ ├── BulletListItemBlockContent/
│ │ │ │ │ │ │ │ │ └── BulletListItemBlockContent.ts
│ │ │ │ │ │ │ │ ├── ListItemKeyboardShortcuts.ts
│ │ │ │ │ │ │ │ └── NumberedListItemBlockContent/
│ │ │ │ │ │ │ │ ├── NumberedListIndexingPlugin.ts
│ │ │ │ │ │ │ │ └── NumberedListItemBlockContent.ts
│ │ │ │ │ │ │ └── ParagraphBlockContent/
│ │ │ │ │ │ │ └── ParagraphBlockContent.ts
│ │ │ │ │ │ └── BlockGroup.ts
│ │ │ │ │ ├── DragMedia/
│ │ │ │ │ │ └── DragExtension.ts
│ │ │ │ │ ├── DraggableBlocks/
│ │ │ │ │ │ ├── BlockSideMenuFactoryTypes.ts
│ │ │ │ │ │ ├── DraggableBlocksExtension.ts
│ │ │ │ │ │ ├── DraggableBlocksPlugin.ts
│ │ │ │ │ │ └── MultipleNodeSelection.ts
│ │ │ │ │ ├── FormattingToolbar/
│ │ │ │ │ │ └── FormattingToolbarPlugin.ts
│ │ │ │ │ ├── HyperlinkToolbar/
│ │ │ │ │ │ └── HyperlinkToolbarPlugin.ts
│ │ │ │ │ ├── Markdown/
│ │ │ │ │ │ └── MarkdownExtension.ts
│ │ │ │ │ ├── Pasting/
│ │ │ │ │ │ └── local-media-paste-plugin.ts
│ │ │ │ │ ├── Placeholder/
│ │ │ │ │ │ └── PlaceholderExtension.ts
│ │ │ │ │ ├── SideMenu/
│ │ │ │ │ │ ├── SideMenuPlugin.ts
│ │ │ │ │ │ └── SideMenuView.ts
│ │ │ │ │ ├── SlashMenu/
│ │ │ │ │ │ ├── BaseSlashMenuItem.ts
│ │ │ │ │ │ ├── SlashMenuPlugin.ts
│ │ │ │ │ │ └── defaultSlashMenuItems.ts
│ │ │ │ │ ├── TextAlignment/
│ │ │ │ │ │ └── TextAlignmentExtension.ts
│ │ │ │ │ ├── TextColor/
│ │ │ │ │ │ ├── TextColorExtension.ts
│ │ │ │ │ │ └── TextColorMark.ts
│ │ │ │ │ ├── TrailingNode/
│ │ │ │ │ │ └── TrailingNodeExtension.ts
│ │ │ │ │ └── UniqueID/
│ │ │ │ │ └── UniqueID.ts
│ │ │ │ ├── index.ts
│ │ │ │ ├── shared/
│ │ │ │ │ ├── BaseUiElementTypes.ts
│ │ │ │ │ ├── EditorElement.ts
│ │ │ │ │ ├── EventEmitter.ts
│ │ │ │ │ ├── plugins/
│ │ │ │ │ │ └── suggestion/
│ │ │ │ │ │ ├── SuggestionItem.ts
│ │ │ │ │ │ └── SuggestionPlugin.ts
│ │ │ │ │ └── utils.ts
│ │ │ │ └── style.css
│ │ │ ├── index.ts
│ │ │ └── react/
│ │ │ ├── BlockNoteTheme.ts
│ │ │ ├── BlockNoteView.tsx
│ │ │ ├── Editor/
│ │ │ │ └── EditorContent.tsx
│ │ │ ├── FormattingToolbar/
│ │ │ │ └── components/
│ │ │ │ ├── DefaultButtons/
│ │ │ │ │ ├── ColorStyleButton.tsx
│ │ │ │ │ ├── NestBlockButtons.tsx
│ │ │ │ │ ├── TextAlignButton.tsx
│ │ │ │ │ └── ToggledStyleButton.tsx
│ │ │ │ ├── DefaultDropdowns/
│ │ │ │ │ └── BlockTypeDropdown.tsx
│ │ │ │ ├── DefaultFormattingToolbar.tsx
│ │ │ │ └── FormattingToolbarPositioner.tsx
│ │ │ ├── ReactBlockSpec.tsx
│ │ │ ├── SharedComponents/
│ │ │ │ ├── ColorPicker/
│ │ │ │ │ └── components/
│ │ │ │ │ ├── ColorIcon.tsx
│ │ │ │ │ └── ColorPicker.tsx
│ │ │ │ ├── Toolbar/
│ │ │ │ │ └── components/
│ │ │ │ │ ├── Toolbar.tsx
│ │ │ │ │ ├── ToolbarButton.tsx
│ │ │ │ │ ├── ToolbarDropdown.tsx
│ │ │ │ │ ├── ToolbarDropdownItem.tsx
│ │ │ │ │ └── ToolbarDropdownTarget.tsx
│ │ │ │ └── Tooltip/
│ │ │ │ └── components/
│ │ │ │ └── TooltipContent.tsx
│ │ │ ├── SideMenu/
│ │ │ │ └── components/
│ │ │ │ ├── DefaultButtons/
│ │ │ │ │ ├── AddBlockButton.tsx
│ │ │ │ │ └── DragHandle.tsx
│ │ │ │ ├── DefaultSideMenu.tsx
│ │ │ │ ├── DragHandleMenu/
│ │ │ │ │ ├── DefaultButtons/
│ │ │ │ │ │ └── RemoveBlockButton.tsx
│ │ │ │ │ ├── DefaultDragHandleMenu.tsx
│ │ │ │ │ ├── DragHandleMenu.tsx
│ │ │ │ │ └── DragHandleMenuItem.tsx
│ │ │ │ ├── SideMenu.tsx
│ │ │ │ ├── SideMenuButton.tsx
│ │ │ │ └── SideMenuPositioner.tsx
│ │ │ ├── SlashMenu/
│ │ │ │ ├── ReactSlashMenuItem.ts
│ │ │ │ ├── components/
│ │ │ │ │ ├── DefaultSlashMenu.tsx
│ │ │ │ │ ├── SlashMenuItem.tsx
│ │ │ │ │ └── SlashMenuPositioner.tsx
│ │ │ │ └── defaultReactSlashMenuItems.tsx
│ │ │ ├── defaultThemes.ts
│ │ │ ├── hooks/
│ │ │ │ ├── useBlockNote.ts
│ │ │ │ ├── useEditorContentChange.ts
│ │ │ │ ├── useEditorForceUpdate.tsx
│ │ │ │ └── useEditorSelectionChange.ts
│ │ │ ├── index.ts
│ │ │ └── utils.ts
│ │ ├── db.ts
│ │ ├── error.ts
│ │ ├── file.ts
│ │ ├── hooks/
│ │ │ ├── use-agent-configs.ts
│ │ │ ├── use-llm-configs.ts
│ │ │ ├── use-ordered-set.tsx
│ │ │ ├── use-outside-click.ts
│ │ │ └── use-resize-observer.tsx
│ │ ├── llm/
│ │ │ ├── chat.ts
│ │ │ ├── client.ts
│ │ │ ├── tools/
│ │ │ │ ├── tool-definitions.ts
│ │ │ │ └── utils.ts
│ │ │ └── types.ts
│ │ ├── shortcuts/
│ │ │ ├── shortcutDefinitions.ts
│ │ │ └── use-shortcut.ts
│ │ ├── tiptap-extension-code-block/
│ │ │ ├── code-block-lowlight.tsx
│ │ │ ├── code-block-view.tsx
│ │ │ ├── code-block.ts
│ │ │ ├── index.ts
│ │ │ └── lowlight-plugin.ts
│ │ ├── tiptap-extension-link/
│ │ │ ├── helpers/
│ │ │ │ ├── autolink.ts
│ │ │ │ └── clickHandler.ts
│ │ │ ├── index.ts
│ │ │ └── link.ts
│ │ ├── ui.ts
│ │ ├── utils/
│ │ │ ├── block-utils.ts
│ │ │ ├── entity-id-url.ts
│ │ │ ├── index.ts
│ │ │ └── node-utils.ts
│ │ └── welcome-note.ts
│ ├── main.tsx
│ └── styles/
│ ├── chat.css
│ ├── global.css
│ ├── history.scss
│ ├── styles.d.ts
│ └── tiptap.scss
├── tailwind.config.js
├── tamagui.config.ts
├── tsconfig.json
├── tsconfig.node.json
├── vite
├── vite.config.mts
└── vite.config.mts.timestamp-1743614084858-7c68f1a6e1bea.mjs
================================================
FILE CONTENTS
================================================
================================================
FILE: .containerignore
================================================
*
!build
!electron
!public
!src
!package.json
!package-lock.json
!.npmrc
!electron-builder.json5
!index.html
!tsconfig*
!*.ts
!*.cjs
!*.js
================================================
FILE: .eslintignore
================================================
# electron setup
dist-electron/
dist/
# scripts and config
scripts/
postcss.config.js
tailwind.config.js
*.test.ts
# generated files
src/components/Editor/ui/src/tamagui/themes/themes-generated.ts
src/components/Editor/ui/src/generated-themes.ts
================================================
FILE: .eslintrc.js
================================================
module.exports = {
env: {
browser: true,
es2021: true,
node: true,
},
extends: [
'airbnb',
'airbnb/hooks',
'airbnb-typescript',
'plugin:prettier/recommended',
'plugin:tailwindcss/recommended',
],
parser: '@typescript-eslint/parser',
parserOptions: {
project: './tsconfig.json',
},
plugins: ['@typescript-eslint', 'react', 'import', 'jsx-a11y', 'unused-imports', 'prettier', 'tailwindcss'],
rules: {
'unused-imports/no-unused-imports': 'error',
'prettier/prettier': 'error',
'react/function-component-definition': [
'error',
{
namedComponents: 'arrow-function',
unnamedComponents: 'arrow-function',
},
],
'import/extensions': ['off', 'ignorePackages'],
'jsx-a11y/no-static-element-interactions': 'off',
'jsx-a11y/click-events-have-key-events': 'off',
'react/require-default-props': 'off',
'no-underscore-dangle': 'off',
'react/destructoring-assignment': 'off',
'react/jsx-props-no-spreading': 'off',
'object-shorthand': 'off',
"import/no-extraneous-dependencies": [
"error", {
"devDependencies": true,
"optionalDependencies": false,
"peerDependencies": false,
"packageDir": "./"
}
],
"react/destructuring-assignment": "off",
"no-plusplus": "off",
"no-restricted-syntax": "off",
"no-param-reassign": 'off',
"prefer-destructuring": 'off',
"no-return-assign": 'off',
"no-cond-assign": 'off',
// TEMPORARILY DISABLE CIRCULAR DEPENDENCY CHECK -- UPDATE LATER
"import/no-cycle": 'off',
"no-alert": 'off',
},
ignorePatterns: ['vite.config.ts', '.eslintrc.js'],
settings: {
'import/resolver': {
node: {
extensions: ['.js', '.jsx', '.ts', '.tsx'],
},
},
},
}
================================================
FILE: .gitattributes
================================================
* text=auto eol=lf
================================================
FILE: .github/ISSUE_TEMPLATE/bug_report.md
================================================
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''
---
**Describe the bug**
A description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Expected behavior**
A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Hardware: [e.g. CPU, RAM, GPU, etc.]
- Version [e.g. 22]
**Additional context**
Add any other context about the problem here.
================================================
FILE: .github/ISSUE_TEMPLATE/feature_request.md
================================================
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''
---
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Additional context**
Add any other context or screenshots about the feature request here.
================================================
FILE: .github/workflows/build.yml
================================================
name: Build and Package Electron App
on:
push:
branches:
- '*'
pull_request:
branches:
- '*'
jobs:
build_and_package:
strategy:
matrix:
include:
- os: macos-13
- os: macos-latest
- os: windows-latest
- os: ubuntu-latest
arch: x64
fail-fast: false
continue-on-error: true
runs-on: ${{ matrix.os }}
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '20'
- name: Cache npm dependencies
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-npm-
- name: Cache TypeScript build
uses: actions/cache@v3
with:
path: ./dist
key: ${{ runner.os }}-tsc-${{ hashFiles('**/tsconfig.json') }}
restore-keys: |
${{ runner.os }}-tsc-
- name: Install dependencies
run: npm install
- name: Run Linter
run: npm run lint
- name: Set up environment for macOS build
if: matrix.os == 'macos-13' || matrix.os == 'macos-latest'
env:
CSC_LINK: ${{ secrets.CSC_LINK }}
CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_OPTIONS: '--max-old-space-size=8192'
run: |
npm run build
- name: Build for non-macOS
if: matrix.os != 'macos-13' && matrix.os != 'macos-latest'
env:
NODE_OPTIONS: '--max-old-space-size=8192'
run: |
npm run build
- name: Notarize macOS build
if: (matrix.os == 'macos-13' || matrix.os == 'macos-latest') && github.ref == 'refs/heads/main' && github.event_name != 'pull_request'
env:
APPLE_ID: ${{ secrets.APPLE_ID }}
APPLE_APP_SPECIFIC_PASSWORD: ${{ secrets.APPLE_APP_SPECIFIC_PASSWORD }}
run: npm run notarize
- name: Set version as env
run: echo "APP_VERSION=$(node -p "require('./package.json').version")" >> $GITHUB_ENV
- name: Print APP_VERSION
run: echo "APP_VERSION=${{ env.APP_VERSION }}"
- name: List output files
if: matrix.os != 'macos-13' && matrix.os != 'macos-latest'
run: |
ls ./release/${{ env.APP_VERSION }}/
- name: Check runner architecture
if: matrix.os != 'macos-13' && matrix.os != 'macos-latest'
run: uname -m
- name: Rename artifacts for ARM architecture
if: matrix.os == 'macos-latest'
run: |
mv ./release/${{ env.APP_VERSION }}/*.dmg ./release/${{ env.APP_VERSION }}/Reor_${{ env.APP_VERSION }}-arm64.dmg
- name: Rename artifacts for Intel architecture
if: matrix.os == 'macos-13'
run: |
mv ./release/${{ env.APP_VERSION }}/*.dmg ./release/${{ env.APP_VERSION }}/Reor_${{ env.APP_VERSION }}-intel.dmg
- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.os }}-app
path: |
./release/*/*.exe
./release/${{ env.APP_VERSION }}/**/*.AppImage
./release/${{ env.APP_VERSION }}/*-arm64.dmg
./release/${{ env.APP_VERSION }}/*-intel.dmg
================================================
FILE: .github/workflows/release.yml
================================================
name: Release script
on:
push:
tags:
- 'v*'
jobs:
build_and_package:
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: macos-13
- os: macos-latest
- os: windows-latest
- os: ubuntu-latest
arch: x64
fail-fast: false
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '20'
- name: Cache npm dependencies
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-npm-
- name: Cache TypeScript build
uses: actions/cache@v3
with:
path: ./dist
key: ${{ runner.os }}-tsc-${{ hashFiles('**/tsconfig.json') }}
restore-keys: |
${{ runner.os }}-tsc-
- name: Install dependencies
run: npm install
- name: Run Linter
run: npm run lint
- name: Set up environment for macOS build
if: matrix.os == 'macos-13' || matrix.os == 'macos-latest'
env:
APPLE_ID: ${{ secrets.APPLE_ID }}
APPLE_APP_SPECIFIC_PASSWORD: ${{ secrets.APPLE_APP_SPECIFIC_PASSWORD }}
CSC_LINK: ${{ secrets.CSC_LINK }}
CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_OPTIONS: '--max-old-space-size=8192'
run: |
npm run build
- name: Notarize macOS build
if: matrix.os == 'macos-13' || matrix.os == 'macos-latest'
env:
APPLE_ID: ${{ secrets.APPLE_ID }}
APPLE_APP_SPECIFIC_PASSWORD: ${{ secrets.APPLE_APP_SPECIFIC_PASSWORD }}
run: npm run notarize
- name: Build for non-macOS
if: matrix.os != 'macos-13' && matrix.os != 'macos-latest'
env:
NODE_OPTIONS: '--max-old-space-size=8192'
run: |
npm run build
- name: Set version as env
run: echo "APP_VERSION=$(node -p "require('./package.json').version")" >> $GITHUB_ENV
- name: Rename artifacts for ARM architecture
if: matrix.os == 'macos-latest'
run: |
mv ./release/${{ env.APP_VERSION }}/*.dmg ./release/${{ env.APP_VERSION }}/Reor_${{ env.APP_VERSION }}-arm64.dmg
- name: Rename artifacts for Intel architecture
if: matrix.os == 'macos-13'
run: |
mv ./release/${{ env.APP_VERSION }}/*.dmg ./release/${{ env.APP_VERSION }}/Reor_${{ env.APP_VERSION }}-intel.dmg
- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.os }}-app
path: |
./release/*/*.exe
./release/${{ env.APP_VERSION }}/**/*.AppImage
./release/${{ env.APP_VERSION }}/*-arm64.dmg
./release/${{ env.APP_VERSION }}/*-intel.dmg
create_release:
needs: build_and_package
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Download all artifacts
uses: actions/download-artifact@v3
- name: Create GitHub Release
uses: softprops/action-gh-release@v1
with:
files: |
**/*.exe
**/*.AppImage
**/*.dmg
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
================================================
FILE: .gitignore
================================================
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*
node_modules
dist
dist-ssr
dist-electron
release
*.local
# Editor directories and files
.vscode/.debug.env
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
# test caches
/test-results/
/playwright-report/
/playwright/.cache/
data
binaries
.env
# Sentry Config File
.env.sentry-build-plugin
================================================
FILE: .husky/pre-commit
================================================
echo "\nRunning some lint checks on your (hopefully) beautiful code...\n"
npm run lint:fix && npm run type-check
================================================
FILE: .npmrc
================================================
shamefully-hoist=true
legacy-peer-deps=true
================================================
FILE: .prettierrc
================================================
{
"printWidth": 120,
"tslintintegration": true,
"trailingComma": "all",
"tabWidth": 2,
"semi": false,
"singleQuote": true,
"endOfLine": "lf"
}
================================================
FILE: .tamagui/tamagui-components.config.cjs
================================================
var __create = Object.create;
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __getProtoOf = Object.getPrototypeOf;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
var __esm = (fn, res) => function __init() {
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
};
var __commonJS = (cb, mod) => function __require() {
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
};
var __export = (target, all) => {
for (var name in all)
__defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
if (from && typeof from === "object" || typeof from === "function") {
for (let key of __getOwnPropNames(from))
if (!__hasOwnProp.call(to, key) && key !== except)
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
}
return to;
};
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
// If the importer is in node compatibility mode or this is not an ESM
// file that has been converted to a CommonJS file using a Babel-
// compatible transform (i.e. "__esModule" has not been set), then set
// "default" to the CommonJS "module.exports" for node compatibility.
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
mod
));
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
// node_modules/@tamagui/use-force-update/dist/cjs/index.cjs
var require_cjs = __commonJS({
"node_modules/@tamagui/use-force-update/dist/cjs/index.cjs"(exports2, module2) {
var __create2 = Object.create;
var __defProp2 = Object.defineProperty;
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
var __getOwnPropNames2 = Object.getOwnPropertyNames;
var __getProtoOf2 = Object.getPrototypeOf;
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
var __export2 = /* @__PURE__ */ __name((target, all) => {
for (var name in all) __defProp2(target, name, {
get: all[name],
enumerable: true
});
}, "__export");
var __copyProps2 = /* @__PURE__ */ __name((to, from, except, desc) => {
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames2(from)) !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, {
get: /* @__PURE__ */ __name(() => from[key], "get"),
enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
});
return to;
}, "__copyProps");
var __toESM2 = /* @__PURE__ */ __name((mod, isNodeMode, target) => (target = mod != null ? __create2(__getProtoOf2(mod)) : {}, __copyProps2(
// If the importer is in node compatibility mode or this is not an ESM
// file that has been converted to a CommonJS file using a Babel-
// compatible transform (i.e. "__esModule" has not been set), then set
// "default" to the CommonJS "module.exports" for node compatibility.
isNodeMode || !mod || !mod.__esModule ? __defProp2(target, "default", {
value: mod,
enumerable: true
}) : target,
mod
)), "__toESM");
var __toCommonJS2 = /* @__PURE__ */ __name((mod) => __copyProps2(__defProp2({}, "__esModule", {
value: true
}), mod), "__toCommonJS");
var index_exports = {};
__export2(index_exports, {
isServerSide: /* @__PURE__ */ __name(() => isServerSide2, "isServerSide"),
useForceUpdate: /* @__PURE__ */ __name(() => useForceUpdate2, "useForceUpdate")
});
module2.exports = __toCommonJS2(index_exports);
var import_react52 = __toESM2(require("react"));
var isServerSide2 = typeof window > "u";
var idFn3 = /* @__PURE__ */ __name(() => {
}, "idFn");
function useForceUpdate2() {
return isServerSide2 ? idFn3 : import_react52.default.useReducer((x) => Math.random(), 0)[1];
}
__name(useForceUpdate2, "useForceUpdate");
}
});
// node_modules/@tamagui/animate-presence/dist/cjs/LayoutGroupContext.cjs
var require_LayoutGroupContext = __commonJS({
"node_modules/@tamagui/animate-presence/dist/cjs/LayoutGroupContext.cjs"(exports2, module2) {
var __create2 = Object.create;
var __defProp2 = Object.defineProperty;
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
var __getOwnPropNames2 = Object.getOwnPropertyNames;
var __getProtoOf2 = Object.getPrototypeOf;
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
var __export2 = /* @__PURE__ */ __name((target, all) => {
for (var name in all) __defProp2(target, name, {
get: all[name],
enumerable: true
});
}, "__export");
var __copyProps2 = /* @__PURE__ */ __name((to, from, except, desc) => {
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames2(from)) !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, {
get: /* @__PURE__ */ __name(() => from[key], "get"),
enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
});
return to;
}, "__copyProps");
var __toESM2 = /* @__PURE__ */ __name((mod, isNodeMode, target) => (target = mod != null ? __create2(__getProtoOf2(mod)) : {}, __copyProps2(
// If the importer is in node compatibility mode or this is not an ESM
// file that has been converted to a CommonJS file using a Babel-
// compatible transform (i.e. "__esModule" has not been set), then set
// "default" to the CommonJS "module.exports" for node compatibility.
isNodeMode || !mod || !mod.__esModule ? __defProp2(target, "default", {
value: mod,
enumerable: true
}) : target,
mod
)), "__toESM");
var __toCommonJS2 = /* @__PURE__ */ __name((mod) => __copyProps2(__defProp2({}, "__esModule", {
value: true
}), mod), "__toCommonJS");
var LayoutGroupContext_exports = {};
__export2(LayoutGroupContext_exports, {
LayoutGroupContext: /* @__PURE__ */ __name(() => LayoutGroupContext2, "LayoutGroupContext")
});
module2.exports = __toCommonJS2(LayoutGroupContext_exports);
var import_react52 = __toESM2(require("react"));
var LayoutGroupContext2 = import_react52.default.createContext({});
}
});
// node_modules/@tamagui/use-constant/dist/cjs/index.cjs
var require_cjs2 = __commonJS({
"node_modules/@tamagui/use-constant/dist/cjs/index.cjs"(exports2, module2) {
var __create2 = Object.create;
var __defProp2 = Object.defineProperty;
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
var __getOwnPropNames2 = Object.getOwnPropertyNames;
var __getProtoOf2 = Object.getPrototypeOf;
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
var __export2 = /* @__PURE__ */ __name((target, all) => {
for (var name in all) __defProp2(target, name, {
get: all[name],
enumerable: true
});
}, "__export");
var __copyProps2 = /* @__PURE__ */ __name((to, from, except, desc) => {
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames2(from)) !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, {
get: /* @__PURE__ */ __name(() => from[key], "get"),
enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
});
return to;
}, "__copyProps");
var __toESM2 = /* @__PURE__ */ __name((mod, isNodeMode, target) => (target = mod != null ? __create2(__getProtoOf2(mod)) : {}, __copyProps2(
// If the importer is in node compatibility mode or this is not an ESM
// file that has been converted to a CommonJS file using a Babel-
// compatible transform (i.e. "__esModule" has not been set), then set
// "default" to the CommonJS "module.exports" for node compatibility.
isNodeMode || !mod || !mod.__esModule ? __defProp2(target, "default", {
value: mod,
enumerable: true
}) : target,
mod
)), "__toESM");
var __toCommonJS2 = /* @__PURE__ */ __name((mod) => __copyProps2(__defProp2({}, "__esModule", {
value: true
}), mod), "__toCommonJS");
var index_exports = {};
__export2(index_exports, {
useConstant: /* @__PURE__ */ __name(() => useConstant2, "useConstant")
});
module2.exports = __toCommonJS2(index_exports);
var React75 = __toESM2(require("react"));
function useConstant2(fn) {
if (typeof document > "u") return React75.useMemo(() => fn(), []);
const ref = React75.useRef();
return ref.current || (ref.current = {
v: fn()
}), ref.current.v;
}
__name(useConstant2, "useConstant");
}
});
// node_modules/@tamagui/use-presence/dist/cjs/PresenceContext.cjs
var require_PresenceContext = __commonJS({
"node_modules/@tamagui/use-presence/dist/cjs/PresenceContext.cjs"(exports2, module2) {
var __create2 = Object.create;
var __defProp2 = Object.defineProperty;
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
var __getOwnPropNames2 = Object.getOwnPropertyNames;
var __getProtoOf2 = Object.getPrototypeOf;
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
var __export2 = /* @__PURE__ */ __name((target, all) => {
for (var name in all) __defProp2(target, name, {
get: all[name],
enumerable: true
});
}, "__export");
var __copyProps2 = /* @__PURE__ */ __name((to, from, except, desc) => {
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames2(from)) !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, {
get: /* @__PURE__ */ __name(() => from[key], "get"),
enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
});
return to;
}, "__copyProps");
var __toESM2 = /* @__PURE__ */ __name((mod, isNodeMode, target) => (target = mod != null ? __create2(__getProtoOf2(mod)) : {}, __copyProps2(
// If the importer is in node compatibility mode or this is not an ESM
// file that has been converted to a CommonJS file using a Babel-
// compatible transform (i.e. "__esModule" has not been set), then set
// "default" to the CommonJS "module.exports" for node compatibility.
isNodeMode || !mod || !mod.__esModule ? __defProp2(target, "default", {
value: mod,
enumerable: true
}) : target,
mod
)), "__toESM");
var __toCommonJS2 = /* @__PURE__ */ __name((mod) => __copyProps2(__defProp2({}, "__esModule", {
value: true
}), mod), "__toCommonJS");
var PresenceContext_exports = {};
__export2(PresenceContext_exports, {
PresenceContext: /* @__PURE__ */ __name(() => PresenceContext2, "PresenceContext"),
ResetPresence: /* @__PURE__ */ __name(() => ResetPresence2, "ResetPresence")
});
module2.exports = __toCommonJS2(PresenceContext_exports);
var React75 = __toESM2(require("react"));
var import_jsx_runtime65 = require("react/jsx-runtime");
var PresenceContext2 = React75.createContext(null);
var ResetPresence2 = /* @__PURE__ */ __name((props) => /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(PresenceContext2.Provider, {
value: null,
children: props.children
}), "ResetPresence");
}
});
// node_modules/@tamagui/use-presence/dist/cjs/usePresence.cjs
var require_usePresence = __commonJS({
"node_modules/@tamagui/use-presence/dist/cjs/usePresence.cjs"(exports2, module2) {
var __create2 = Object.create;
var __defProp2 = Object.defineProperty;
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
var __getOwnPropNames2 = Object.getOwnPropertyNames;
var __getProtoOf2 = Object.getPrototypeOf;
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
var __export2 = /* @__PURE__ */ __name((target, all) => {
for (var name in all) __defProp2(target, name, {
get: all[name],
enumerable: true
});
}, "__export");
var __copyProps2 = /* @__PURE__ */ __name((to, from, except, desc) => {
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames2(from)) !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, {
get: /* @__PURE__ */ __name(() => from[key], "get"),
enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
});
return to;
}, "__copyProps");
var __toESM2 = /* @__PURE__ */ __name((mod, isNodeMode, target) => (target = mod != null ? __create2(__getProtoOf2(mod)) : {}, __copyProps2(
// If the importer is in node compatibility mode or this is not an ESM
// file that has been converted to a CommonJS file using a Babel-
// compatible transform (i.e. "__esModule" has not been set), then set
// "default" to the CommonJS "module.exports" for node compatibility.
isNodeMode || !mod || !mod.__esModule ? __defProp2(target, "default", {
value: mod,
enumerable: true
}) : target,
mod
)), "__toESM");
var __toCommonJS2 = /* @__PURE__ */ __name((mod) => __copyProps2(__defProp2({}, "__esModule", {
value: true
}), mod), "__toCommonJS");
var usePresence_exports = {};
__export2(usePresence_exports, {
isPresent: /* @__PURE__ */ __name(() => isPresent2, "isPresent"),
useIsPresent: /* @__PURE__ */ __name(() => useIsPresent2, "useIsPresent"),
usePresence: /* @__PURE__ */ __name(() => usePresence2, "usePresence")
});
module2.exports = __toCommonJS2(usePresence_exports);
var React75 = __toESM2(require("react"));
var import_PresenceContext3 = require_PresenceContext();
function usePresence2() {
const context2 = React75.useContext(import_PresenceContext3.PresenceContext);
if (!context2) return [true, null, context2];
const {
id,
isPresent: isPresent22,
onExitComplete,
register
} = context2;
return React75.useEffect(() => register(id), []), !isPresent22 && onExitComplete ? [false, () => onExitComplete?.(id), context2] : [true, void 0, context2];
}
__name(usePresence2, "usePresence");
function useIsPresent2() {
return isPresent2(React75.useContext(import_PresenceContext3.PresenceContext));
}
__name(useIsPresent2, "useIsPresent");
function isPresent2(context2) {
return context2 === null ? true : context2.isPresent;
}
__name(isPresent2, "isPresent");
}
});
// node_modules/@tamagui/use-presence/dist/cjs/index.cjs
var require_cjs3 = __commonJS({
"node_modules/@tamagui/use-presence/dist/cjs/index.cjs"(exports2, module2) {
var __defProp2 = Object.defineProperty;
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
var __getOwnPropNames2 = Object.getOwnPropertyNames;
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
var __export2 = /* @__PURE__ */ __name((target, all) => {
for (var name in all) __defProp2(target, name, {
get: all[name],
enumerable: true
});
}, "__export");
var __copyProps2 = /* @__PURE__ */ __name((to, from, except, desc) => {
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames2(from)) !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, {
get: /* @__PURE__ */ __name(() => from[key], "get"),
enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
});
return to;
}, "__copyProps");
var __toCommonJS2 = /* @__PURE__ */ __name((mod) => __copyProps2(__defProp2({}, "__esModule", {
value: true
}), mod), "__toCommonJS");
var index_exports = {};
__export2(index_exports, {
PresenceContext: /* @__PURE__ */ __name(() => import_PresenceContext3.PresenceContext, "PresenceContext"),
ResetPresence: /* @__PURE__ */ __name(() => import_PresenceContext3.ResetPresence, "ResetPresence"),
isPresent: /* @__PURE__ */ __name(() => import_usePresence2.isPresent, "isPresent"),
useIsPresent: /* @__PURE__ */ __name(() => import_usePresence2.useIsPresent, "useIsPresent"),
usePresence: /* @__PURE__ */ __name(() => import_usePresence2.usePresence, "usePresence")
});
module2.exports = __toCommonJS2(index_exports);
var import_PresenceContext3 = require_PresenceContext();
var import_usePresence2 = require_usePresence();
}
});
// node_modules/@tamagui/animate-presence/dist/cjs/PresenceChild.cjs
var require_PresenceChild = __commonJS({
"node_modules/@tamagui/animate-presence/dist/cjs/PresenceChild.cjs"(exports2, module2) {
var __create2 = Object.create;
var __defProp2 = Object.defineProperty;
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
var __getOwnPropNames2 = Object.getOwnPropertyNames;
var __getProtoOf2 = Object.getPrototypeOf;
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
var __export2 = /* @__PURE__ */ __name((target, all) => {
for (var name in all) __defProp2(target, name, {
get: all[name],
enumerable: true
});
}, "__export");
var __copyProps2 = /* @__PURE__ */ __name((to, from, except, desc) => {
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames2(from)) !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, {
get: /* @__PURE__ */ __name(() => from[key], "get"),
enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
});
return to;
}, "__copyProps");
var __toESM2 = /* @__PURE__ */ __name((mod, isNodeMode, target) => (target = mod != null ? __create2(__getProtoOf2(mod)) : {}, __copyProps2(
// If the importer is in node compatibility mode or this is not an ESM
// file that has been converted to a CommonJS file using a Babel-
// compatible transform (i.e. "__esModule" has not been set), then set
// "default" to the CommonJS "module.exports" for node compatibility.
isNodeMode || !mod || !mod.__esModule ? __defProp2(target, "default", {
value: mod,
enumerable: true
}) : target,
mod
)), "__toESM");
var __toCommonJS2 = /* @__PURE__ */ __name((mod) => __copyProps2(__defProp2({}, "__esModule", {
value: true
}), mod), "__toCommonJS");
var PresenceChild_exports = {};
__export2(PresenceChild_exports, {
PresenceChild: /* @__PURE__ */ __name(() => PresenceChild2, "PresenceChild")
});
module2.exports = __toCommonJS2(PresenceChild_exports);
var import_use_constant3 = require_cjs2();
var import_use_presence2 = require_cjs3();
var React75 = __toESM2(require("react"));
var import_react52 = require("react");
var import_jsx_runtime65 = require("react/jsx-runtime");
var PresenceChild2 = React75.memo(({
children,
initial,
isPresent: isPresent2,
onExitComplete,
exitVariant,
enterVariant,
enterExitVariant,
presenceAffectsLayout,
custom
}) => {
const presenceChildren = (0, import_use_constant3.useConstant)(newChildrenMap2), id = (0, import_react52.useId)() || "", context2 = React75.useMemo(
() => ({
id,
initial,
isPresent: isPresent2,
custom,
exitVariant,
enterVariant,
enterExitVariant,
onExitComplete: /* @__PURE__ */ __name(() => {
presenceChildren.set(id, true);
for (const isComplete of presenceChildren.values()) if (!isComplete) return;
onExitComplete?.();
}, "onExitComplete"),
register: /* @__PURE__ */ __name(() => (presenceChildren.set(id, false), () => presenceChildren.delete(id)), "register")
}),
/**
* If the presence of a child affects the layout of the components around it,
* we want to make a new context value to ensure they get re-rendered
* so they can detect that layout change.
*/
// @ts-expect-error its ok
presenceAffectsLayout ? void 0 : [isPresent2, exitVariant, enterVariant]
);
return React75.useMemo(() => {
presenceChildren.forEach((_, key) => presenceChildren.set(key, false));
}, [isPresent2]), React75.useEffect(() => {
!isPresent2 && !presenceChildren.size && onExitComplete?.();
}, [isPresent2]), /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_use_presence2.PresenceContext.Provider, {
value: context2,
children
});
});
function newChildrenMap2() {
return /* @__PURE__ */ new Map();
}
__name(newChildrenMap2, "newChildrenMap");
}
});
// node_modules/@tamagui/animate-presence/dist/cjs/AnimatePresence.cjs
var require_AnimatePresence = __commonJS({
"node_modules/@tamagui/animate-presence/dist/cjs/AnimatePresence.cjs"(exports2, module2) {
var __defProp2 = Object.defineProperty;
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
var __getOwnPropNames2 = Object.getOwnPropertyNames;
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
var __export2 = /* @__PURE__ */ __name((target, all) => {
for (var name in all) __defProp2(target, name, {
get: all[name],
enumerable: true
});
}, "__export");
var __copyProps2 = /* @__PURE__ */ __name((to, from, except, desc) => {
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames2(from)) !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, {
get: /* @__PURE__ */ __name(() => from[key], "get"),
enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
});
return to;
}, "__copyProps");
var __toCommonJS2 = /* @__PURE__ */ __name((mod) => __copyProps2(__defProp2({}, "__esModule", {
value: true
}), mod), "__toCommonJS");
var AnimatePresence_exports = {};
__export2(AnimatePresence_exports, {
AnimatePresence: /* @__PURE__ */ __name(() => AnimatePresence2, "AnimatePresence")
});
module2.exports = __toCommonJS2(AnimatePresence_exports);
var import_use_force_update2 = require_cjs();
var import_react52 = require("react");
var import_LayoutGroupContext2 = require_LayoutGroupContext();
var import_PresenceChild2 = require_PresenceChild();
var import_jsx_runtime65 = require("react/jsx-runtime");
var getChildKey2 = /* @__PURE__ */ __name((child) => child.key || "", "getChildKey");
function updateChildLookup2(children, allChildren) {
children.forEach((child) => {
const key = getChildKey2(child);
allChildren.set(key, child);
});
}
__name(updateChildLookup2, "updateChildLookup");
function onlyElements2(children) {
const filtered = [];
return import_react52.Children.forEach(children, (child) => {
(0, import_react52.isValidElement)(child) && filtered.push(child);
}), filtered;
}
__name(onlyElements2, "onlyElements");
var AnimatePresence2 = /* @__PURE__ */ __name(({
children,
enterVariant,
exitVariant,
enterExitVariant,
initial = true,
onExitComplete,
exitBeforeEnter,
presenceAffectsLayout = true,
custom
}) => {
let forceRender = (0, import_react52.useContext)(import_LayoutGroupContext2.LayoutGroupContext).forceRender ?? (0, import_use_force_update2.useForceUpdate)();
const filteredChildren = onlyElements2(children), presentChildren = (0, import_react52.useRef)(filteredChildren), allChildren = (0, import_react52.useRef)(/* @__PURE__ */ new Map()).current, exiting = (0, import_react52.useRef)(/* @__PURE__ */ new Set()).current;
updateChildLookup2(filteredChildren, allChildren);
const isInitialRender = (0, import_react52.useRef)(true);
if (isInitialRender.current) return isInitialRender.current = false, /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_jsx_runtime65.Fragment, {
children: filteredChildren.map((child) => /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_PresenceChild2.PresenceChild, {
isPresent: true,
enterExitVariant,
exitVariant,
enterVariant,
initial: initial ? void 0 : false,
presenceAffectsLayout,
custom,
children: child
}, getChildKey2(child)))
});
let childrenToRender = [...filteredChildren];
const presentKeys = presentChildren.current.map(getChildKey2), targetKeys = filteredChildren.map(getChildKey2), numPresent = presentKeys.length;
for (let i = 0; i < numPresent; i++) {
const key = presentKeys[i];
targetKeys.indexOf(key) === -1 ? exiting.add(key) : exiting.delete(key);
}
return exitBeforeEnter && exiting.size && (childrenToRender = []), exiting.forEach((key) => {
if (targetKeys.indexOf(key) !== -1) return;
const child = allChildren.get(key);
if (!child) return;
const insertionIndex = presentKeys.indexOf(key), exitingComponent = /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_PresenceChild2.PresenceChild, {
isPresent: false,
onExitComplete: /* @__PURE__ */ __name(() => {
allChildren.delete(key), exiting.delete(key);
const removeIndex = presentChildren.current.findIndex((presentChild) => presentChild.key === key);
presentChildren.current.splice(removeIndex, 1), exiting.size || (presentChildren.current = filteredChildren, forceRender(), onExitComplete?.());
}, "onExitComplete"),
presenceAffectsLayout,
enterExitVariant,
enterVariant,
exitVariant,
custom,
children: child
}, getChildKey2(child));
childrenToRender.splice(insertionIndex, 0, exitingComponent);
}), childrenToRender = childrenToRender.map((child) => {
const key = child.key;
return exiting.has(key) ? child : /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_PresenceChild2.PresenceChild, {
isPresent: true,
exitVariant,
enterVariant,
enterExitVariant,
presenceAffectsLayout,
custom,
children: child
}, getChildKey2(child));
}), presentChildren.current = childrenToRender, /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_jsx_runtime65.Fragment, {
children: exiting.size ? childrenToRender : (
// biome-ignore lint/correctness/useJsxKeyInIterable: <explanation>
childrenToRender.map((child) => (0, import_react52.cloneElement)(child))
)
});
}, "AnimatePresence");
AnimatePresence2.displayName = "AnimatePresence";
}
});
// node_modules/@tamagui/animate-presence/dist/cjs/types.cjs
var require_types = __commonJS({
"node_modules/@tamagui/animate-presence/dist/cjs/types.cjs"(exports2, module2) {
var __defProp2 = Object.defineProperty;
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
var __getOwnPropNames2 = Object.getOwnPropertyNames;
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
var __copyProps2 = /* @__PURE__ */ __name((to, from, except, desc) => {
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames2(from)) !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, {
get: /* @__PURE__ */ __name(() => from[key], "get"),
enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
});
return to;
}, "__copyProps");
var __toCommonJS2 = /* @__PURE__ */ __name((mod) => __copyProps2(__defProp2({}, "__esModule", {
value: true
}), mod), "__toCommonJS");
var types_exports = {};
module2.exports = __toCommonJS2(types_exports);
}
});
// node_modules/@tamagui/animate-presence/dist/cjs/index.cjs
var require_cjs4 = __commonJS({
"node_modules/@tamagui/animate-presence/dist/cjs/index.cjs"(exports2, module2) {
var __defProp2 = Object.defineProperty;
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
var __getOwnPropNames2 = Object.getOwnPropertyNames;
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
var __copyProps2 = /* @__PURE__ */ __name((to, from, except, desc) => {
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames2(from)) !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, {
get: /* @__PURE__ */ __name(() => from[key], "get"),
enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
});
return to;
}, "__copyProps");
var __reExport2 = /* @__PURE__ */ __name((target, mod, secondTarget) => (__copyProps2(target, mod, "default"), secondTarget && __copyProps2(secondTarget, mod, "default")), "__reExport");
var __toCommonJS2 = /* @__PURE__ */ __name((mod) => __copyProps2(__defProp2({}, "__esModule", {
value: true
}), mod), "__toCommonJS");
var index_exports = {};
module2.exports = __toCommonJS2(index_exports);
__reExport2(index_exports, require_AnimatePresence(), module2.exports);
__reExport2(index_exports, require_cjs3(), module2.exports);
__reExport2(index_exports, require_types(), module2.exports);
__reExport2(index_exports, require_PresenceChild(), module2.exports);
}
});
// node_modules/@tamagui/simple-hash/dist/cjs/index.cjs
var require_cjs5 = __commonJS({
"node_modules/@tamagui/simple-hash/dist/cjs/index.cjs"(exports2, module2) {
var __defProp2 = Object.defineProperty;
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
var __getOwnPropNames2 = Object.getOwnPropertyNames;
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
var __export2 = /* @__PURE__ */ __name((target, all) => {
for (var name in all) __defProp2(target, name, {
get: all[name],
enumerable: true
});
}, "__export");
var __copyProps2 = /* @__PURE__ */ __name((to, from, except, desc) => {
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames2(from)) !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, {
get: /* @__PURE__ */ __name(() => from[key], "get"),
enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
});
return to;
}, "__copyProps");
var __toCommonJS2 = /* @__PURE__ */ __name((mod) => __copyProps2(__defProp2({}, "__esModule", {
value: true
}), mod), "__toCommonJS");
var index_exports = {};
__export2(index_exports, {
simpleHash: /* @__PURE__ */ __name(() => simpleHash3, "simpleHash")
});
module2.exports = __toCommonJS2(index_exports);
var cache3 = /* @__PURE__ */ new Map();
var cacheSize2 = 0;
var simpleHash3 = /* @__PURE__ */ __name((strIn, hashMin = 10) => {
if (cache3.has(strIn)) return cache3.get(strIn);
let str = strIn;
str[0] === "v" && str.startsWith("var(") && (str = str.slice(6, str.length - 1));
let hash = 0, valids = "", added = 0;
const len = str.length;
for (let i = 0; i < len; i++) {
if (hashMin !== "strict" && added <= hashMin) {
const char = str.charCodeAt(i);
if (char === 46) {
valids += "--";
continue;
}
if (isValidCSSCharCode2(char)) {
added++, valids += str[i];
continue;
}
}
hash = hashChar2(hash, str[i]);
}
const res = valids + (hash ? Math.abs(hash) : "");
return cacheSize2 > 1e4 && (cache3.clear(), cacheSize2 = 0), cache3.set(strIn, res), cacheSize2++, res;
}, "simpleHash");
var hashChar2 = /* @__PURE__ */ __name((hash, c) => Math.imul(31, hash) + c.charCodeAt(0) | 0, "hashChar");
function isValidCSSCharCode2(code) {
return (
// A-Z
code >= 65 && code <= 90 || // a-z
code >= 97 && code <= 122 || // _
code === 95 || // -
code === 45 || // 0-9
code >= 48 && code <= 57
);
}
__name(isValidCSSCharCode2, "isValidCSSCharCode");
}
});
// node_modules/@tamagui/helpers/dist/cjs/clamp.cjs
var require_clamp = __commonJS({
"node_modules/@tamagui/helpers/dist/cjs/clamp.cjs"(exports2, module2) {
var __defProp2 = Object.defineProperty;
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
var __getOwnPropNames2 = Object.getOwnPropertyNames;
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
var __export2 = /* @__PURE__ */ __name((target, all) => {
for (var name in all) __defProp2(target, name, {
get: all[name],
enumerable: true
});
}, "__export");
var __copyProps2 = /* @__PURE__ */ __name((to, from, except, desc) => {
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames2(from)) !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, {
get: /* @__PURE__ */ __name(() => from[key], "get"),
enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
});
return to;
}, "__copyProps");
var __toCommonJS2 = /* @__PURE__ */ __name((mod) => __copyProps2(__defProp2({}, "__esModule", {
value: true
}), mod), "__toCommonJS");
var clamp_exports = {};
__export2(clamp_exports, {
clamp: /* @__PURE__ */ __name(() => clamp3, "clamp")
});
module2.exports = __toCommonJS2(clamp_exports);
function clamp3(value, [min2, max2]) {
return Math.min(max2, Math.max(min2, value));
}
__name(clamp3, "clamp");
}
});
// node_modules/@tamagui/helpers/dist/cjs/composeEventHandlers.cjs
var require_composeEventHandlers = __commonJS({
"node_modules/@tamagui/helpers/dist/cjs/composeEventHandlers.cjs"(exports2, module2) {
var __defProp2 = Object.defineProperty;
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
var __getOwnPropNames2 = Object.getOwnPropertyNames;
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
var __export2 = /* @__PURE__ */ __name((target, all) => {
for (var name in all) __defProp2(target, name, {
get: all[name],
enumerable: true
});
}, "__export");
var __copyProps2 = /* @__PURE__ */ __name((to, from, except, desc) => {
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames2(from)) !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, {
get: /* @__PURE__ */ __name(() => from[key], "get"),
enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
});
return to;
}, "__copyProps");
var __toCommonJS2 = /* @__PURE__ */ __name((mod) => __copyProps2(__defProp2({}, "__esModule", {
value: true
}), mod), "__toCommonJS");
var composeEventHandlers_exports = {};
__export2(composeEventHandlers_exports, {
composeEventHandlers: /* @__PURE__ */ __name(() => composeEventHandlers3, "composeEventHandlers")
});
module2.exports = __toCommonJS2(composeEventHandlers_exports);
function composeEventHandlers3(og, next, {
checkDefaultPrevented = true
} = {}) {
return !og || !next ? next || og || void 0 : (event) => {
if (og?.(event), !event || !(checkDefaultPrevented && typeof event == "object" && "defaultPrevented" in event) || // @ts-ignore
"defaultPrevented" in event && !event.defaultPrevented) return next?.(event);
};
}
__name(composeEventHandlers3, "composeEventHandlers");
}
});
// node_modules/@tamagui/helpers/dist/cjs/concatClassName.cjs
var require_concatClassName = __commonJS({
"node_modules/@tamagui/helpers/dist/cjs/concatClassName.cjs"(exports2, module2) {
var __defProp2 = Object.defineProperty;
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
var __getOwnPropNames2 = Object.getOwnPropertyNames;
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
var __export2 = /* @__PURE__ */ __name((target, all) => {
for (var name in all) __defProp2(target, name, {
get: all[name],
enumerable: true
});
}, "__export");
var __copyProps2 = /* @__PURE__ */ __name((to, from, except, desc) => {
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames2(from)) !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, {
get: /* @__PURE__ */ __name(() => from[key], "get"),
enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
});
return to;
}, "__copyProps");
var __toCommonJS2 = /* @__PURE__ */ __name((mod) => __copyProps2(__defProp2({}, "__esModule", {
value: true
}), mod), "__toCommonJS");
var concatClassName_exports = {};
__export2(concatClassName_exports, {
concatClassName: /* @__PURE__ */ __name(() => concatClassName2, "concatClassName")
});
module2.exports = __toCommonJS2(concatClassName_exports);
function concatClassName2(_cn) {
const args = arguments, usedPrefixes = [];
let final = "";
const len = args.length;
let propObjects = null;
for (let x = len; x >= 0; x--) {
const cns = args[x];
if (!cns) continue;
if (!Array.isArray(cns) && typeof cns != "string") {
propObjects = propObjects || [], propObjects.push(cns);
continue;
}
const names = Array.isArray(cns) ? cns : cns.split(" "), numNames = names.length;
for (let i = numNames - 1; i >= 0; i--) {
const name = names[i];
if (!name || name === " ") continue;
if (name[0] !== "_") {
final = name + " " + final;
continue;
}
const splitIndex = name.indexOf("-");
if (splitIndex < 1) {
final = name + " " + final;
continue;
}
const isMediaQuery = name[splitIndex + 1] === "_", styleKey = name.slice(1, name.lastIndexOf("-")), mediaKey = isMediaQuery ? name.slice(splitIndex + 2, splitIndex + 7) : null, uid = mediaKey ? styleKey + mediaKey : styleKey;
if (usedPrefixes.indexOf(uid) > -1) continue;
usedPrefixes.push(uid);
const propName = styleKey;
propName && propObjects && propObjects.some((po) => {
if (mediaKey) {
const propKey = pseudoInvert2[mediaKey];
return po && po[propKey] && propName in po[propKey] && po[propKey] !== null;
}
return po && propName in po && po[propName] !== null;
}) || (final = name + " " + final);
}
}
return final;
}
__name(concatClassName2, "concatClassName");
var pseudoInvert2 = {
hover: "hoverStyle",
focus: "focusStyle",
press: "pressStyle",
focusVisible: "focusVisibleStyle",
focusWithin: "focusWithinStyle",
disabled: "disabledStyle"
};
}
});
// node_modules/@tamagui/helpers/dist/cjs/types.cjs
var require_types2 = __commonJS({
"node_modules/@tamagui/helpers/dist/cjs/types.cjs"(exports2, module2) {
var __defProp2 = Object.defineProperty;
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
var __getOwnPropNames2 = Object.getOwnPropertyNames;
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
var __export2 = /* @__PURE__ */ __name((target, all) => {
for (var name in all) __defProp2(target, name, {
get: all[name],
enumerable: true
});
}, "__export");
var __copyProps2 = /* @__PURE__ */ __name((to, from, except, desc) => {
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames2(from)) !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, {
get: /* @__PURE__ */ __name(() => from[key], "get"),
enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
});
return to;
}, "__copyProps");
var __toCommonJS2 = /* @__PURE__ */ __name((mod) => __copyProps2(__defProp2({}, "__esModule", {
value: true
}), mod), "__toCommonJS");
var types_exports = {};
__export2(types_exports, {
StyleObjectIdentifier: /* @__PURE__ */ __name(() => StyleObjectIdentifier2, "StyleObjectIdentifier"),
StyleObjectProperty: /* @__PURE__ */ __name(() => StyleObjectProperty2, "StyleObjectProperty"),
StyleObjectPseudo: /* @__PURE__ */ __name(() => StyleObjectPseudo2, "StyleObjectPseudo"),
StyleObjectRules: /* @__PURE__ */ __name(() => StyleObjectRules2, "StyleObjectRules"),
StyleObjectValue: /* @__PURE__ */ __name(() => StyleObjectValue2, "StyleObjectValue")
});
module2.exports = __toCommonJS2(types_exports);
var StyleObjectProperty2 = 0;
var StyleObjectValue2 = 1;
var StyleObjectIdentifier2 = 2;
var StyleObjectPseudo2 = 3;
var StyleObjectRules2 = 4;
}
});
// node_modules/@tamagui/constants/dist/cjs/constants.cjs
var require_constants = __commonJS({
"node_modules/@tamagui/constants/dist/cjs/constants.cjs"(exports2, module2) {
var __defProp2 = Object.defineProperty;
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
var __getOwnPropNames2 = Object.getOwnPropertyNames;
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
var __export2 = /* @__PURE__ */ __name((target, all) => {
for (var name in all) __defProp2(target, name, {
get: all[name],
enumerable: true
});
}, "__export");
var __copyProps2 = /* @__PURE__ */ __name((to, from, except, desc) => {
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames2(from)) !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, {
get: /* @__PURE__ */ __name(() => from[key], "get"),
enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
});
return to;
}, "__copyProps");
var __toCommonJS2 = /* @__PURE__ */ __name((mod) => __copyProps2(__defProp2({}, "__esModule", {
value: true
}), mod), "__toCommonJS");
var constants_exports = {};
__export2(constants_exports, {
currentPlatform: /* @__PURE__ */ __name(() => currentPlatform2, "currentPlatform"),
isAndroid: /* @__PURE__ */ __name(() => isAndroid4, "isAndroid"),
isChrome: /* @__PURE__ */ __name(() => isChrome3, "isChrome"),
isClient: /* @__PURE__ */ __name(() => isClient4, "isClient"),
isIos: /* @__PURE__ */ __name(() => isIos2, "isIos"),
isServer: /* @__PURE__ */ __name(() => isServer3, "isServer"),
isTouchable: /* @__PURE__ */ __name(() => isTouchable3, "isTouchable"),
isWeb: /* @__PURE__ */ __name(() => isWeb7, "isWeb"),
isWebTouchable: /* @__PURE__ */ __name(() => isWebTouchable3, "isWebTouchable"),
isWindowDefined: /* @__PURE__ */ __name(() => isWindowDefined2, "isWindowDefined"),
useIsomorphicLayoutEffect: /* @__PURE__ */ __name(() => useIsomorphicLayoutEffect3, "useIsomorphicLayoutEffect")
});
module2.exports = __toCommonJS2(constants_exports);
var import_react52 = require("react");
var isWeb7 = true;
var isWindowDefined2 = typeof window < "u";
var isServer3 = isWeb7 && !isWindowDefined2;
var isClient4 = isWeb7 && isWindowDefined2;
var useIsomorphicLayoutEffect3 = isServer3 ? import_react52.useEffect : import_react52.useLayoutEffect;
var isChrome3 = typeof navigator < "u" && /Chrome/.test(navigator.userAgent || "");
var isWebTouchable3 = isClient4 && ("ontouchstart" in window || navigator.maxTouchPoints > 0);
var isTouchable3 = !isWeb7 || isWebTouchable3;
var isAndroid4 = false;
var isIos2 = process.env.TEST_NATIVE_PLATFORM === "ios";
var currentPlatform2 = "web";
}
});
// node_modules/@tamagui/constants/dist/cjs/index.cjs
var require_cjs6 = __commonJS({
"node_modules/@tamagui/constants/dist/cjs/index.cjs"(exports2, module2) {
var __defProp2 = Object.defineProperty;
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
var __getOwnPropNames2 = Object.getOwnPropertyNames;
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
var __copyProps2 = /* @__PURE__ */ __name((to, from, except, desc) => {
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames2(from)) !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, {
get: /* @__PURE__ */ __name(() => from[key], "get"),
enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
});
return to;
}, "__copyProps");
var __reExport2 = /* @__PURE__ */ __name((target, mod, secondTarget) => (__copyProps2(target, mod, "default"), secondTarget && __copyProps2(secondTarget, mod, "default")), "__reExport");
var __toCommonJS2 = /* @__PURE__ */ __name((mod) => __copyProps2(__defProp2({}, "__esModule", {
value: true
}), mod), "__toCommonJS");
var index_exports = {};
module2.exports = __toCommonJS2(index_exports);
__reExport2(index_exports, require_constants(), module2.exports);
}
});
// node_modules/@tamagui/helpers/dist/cjs/shouldRenderNativePlatform.cjs
var require_shouldRenderNativePlatform = __commonJS({
"node_modules/@tamagui/helpers/dist/cjs/shouldRenderNativePlatform.cjs"(exports2, module2) {
var __defProp2 = Object.defineProperty;
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
var __getOwnPropNames2 = Object.getOwnPropertyNames;
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
var __export2 = /* @__PURE__ */ __name((target, all) => {
for (var name in all) __defProp2(target, name, {
get: all[name],
enumerable: true
});
}, "__export");
var __copyProps2 = /* @__PURE__ */ __name((to, from, except, desc) => {
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames2(from)) !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, {
get: /* @__PURE__ */ __name(() => from[key], "get"),
enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
});
return to;
}, "__copyProps");
var __toCommonJS2 = /* @__PURE__ */ __name((mod) => __copyProps2(__defProp2({}, "__esModule", {
value: true
}), mod), "__toCommonJS");
var shouldRenderNativePlatform_exports = {};
__export2(shouldRenderNativePlatform_exports, {
shouldRenderNativePlatform: /* @__PURE__ */ __name(() => shouldRenderNativePlatform4, "shouldRenderNativePlatform")
});
module2.exports = __toCommonJS2(shouldRenderNativePlatform_exports);
var import_constants47 = require_cjs6();
var ALL_PLATFORMS2 = ["web", "android", "ios"];
function shouldRenderNativePlatform4(nativeProp) {
if (!nativeProp) return null;
const userRequestedPlatforms = resolvePlatformNames2(nativeProp);
for (const platform2 of ALL_PLATFORMS2) if (platform2 === import_constants47.currentPlatform && userRequestedPlatforms.has(platform2)) return platform2;
return null;
}
__name(shouldRenderNativePlatform4, "shouldRenderNativePlatform");
function resolvePlatformNames2(nativeProp) {
const platforms = nativeProp === true ? ALL_PLATFORMS2 : nativeProp === false ? [] : Array.isArray(nativeProp) ? nativeProp : [nativeProp], set = new Set(platforms);
return set.has("mobile") && (set.add("android"), set.add("ios"), set.delete("mobile")), set;
}
__name(resolvePlatformNames2, "resolvePlatformNames");
}
});
// node_modules/@tamagui/helpers/dist/cjs/validStyleProps.cjs
var require_validStyleProps = __commonJS({
"node_modules/@tamagui/helpers/dist/cjs/validStyleProps.cjs"(exports2, module2) {
var __defProp2 = Object.defineProperty;
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
var __getOwnPropNames2 = Object.getOwnPropertyNames;
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
var __export2 = /* @__PURE__ */ __name((target, all) => {
for (var name in all) __defProp2(target, name, {
get: all[name],
enumerable: true
});
}, "__export");
var __copyProps2 = /* @__PURE__ */ __name((to, from, except, desc) => {
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames2(from)) !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, {
get: /* @__PURE__ */ __name(() => from[key], "get"),
enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
});
return to;
}, "__copyProps");
var __toCommonJS2 = /* @__PURE__ */ __name((mod) => __copyProps2(__defProp2({}, "__esModule", {
value: true
}), mod), "__toCommonJS");
var validStyleProps_exports = {};
__export2(validStyleProps_exports, {
stylePropsAll: /* @__PURE__ */ __name(() => stylePropsAll2, "stylePropsAll"),
stylePropsText: /* @__PURE__ */ __name(() => stylePropsText2, "stylePropsText"),
stylePropsTextOnly: /* @__PURE__ */ __name(() => stylePropsTextOnly2, "stylePropsTextOnly"),
stylePropsTransform: /* @__PURE__ */ __name(() => stylePropsTransform2, "stylePropsTransform"),
stylePropsUnitless: /* @__PURE__ */ __name(() => stylePropsUnitless2, "stylePropsUnitless"),
stylePropsView: /* @__PURE__ */ __name(() => stylePropsView2, "stylePropsView"),
tokenCategories: /* @__PURE__ */ __name(() => tokenCategories2, "tokenCategories"),
validPseudoKeys: /* @__PURE__ */ __name(() => validPseudoKeys2, "validPseudoKeys"),
validStyles: /* @__PURE__ */ __name(() => validStyles2, "validStyles")
});
module2.exports = __toCommonJS2(validStyleProps_exports);
var import_constants47 = require_cjs6();
var textColors2 = {
color: true,
textDecorationColor: true,
textShadowColor: true
};
var tokenCategories2 = {
radius: {
borderRadius: true,
borderTopLeftRadius: true,
borderTopRightRadius: true,
borderBottomLeftRadius: true,
borderBottomRightRadius: true,
// logical
borderStartStartRadius: true,
borderStartEndRadius: true,
borderEndStartRadius: true,
borderEndEndRadius: true
},
size: {
width: true,
height: true,
minWidth: true,
minHeight: true,
maxWidth: true,
maxHeight: true,
blockSize: true,
minBlockSize: true,
maxBlockSize: true,
inlineSize: true,
minInlineSize: true,
maxInlineSize: true
},
zIndex: {
zIndex: true
},
color: {
backgroundColor: true,
borderColor: true,
borderBlockStartColor: true,
borderBlockEndColor: true,
borderBlockColor: true,
borderBottomColor: true,
borderInlineColor: true,
borderInlineStartColor: true,
borderInlineEndColor: true,
borderTopColor: true,
borderLeftColor: true,
borderRightColor: true,
borderEndColor: true,
borderStartColor: true,
shadowColor: true,
...textColors2,
outlineColor: true,
caretColor: true
}
};
var stylePropsUnitless2 = {
WebkitLineClamp: true,
animationIterationCount: true,
aspectRatio: true,
borderImageOutset: true,
borderImageSlice: true,
borderImageWidth: true,
columnCount: true,
flex: true,
flexGrow: true,
flexOrder: true,
flexPositive: true,
flexShrink: true,
flexNegative: true,
fontWeight: true,
gridRow: true,
gridRowEnd: true,
gridRowGap: true,
gridRowStart: true,
gridColumn: true,
gridColumnEnd: true,
gridColumnGap: true,
gridColumnStart: true,
gridTemplateColumns: true,
gridTemplateAreas: true,
lineClamp: true,
opacity: true,
order: true,
orphans: true,
tabSize: true,
widows: true,
zIndex: true,
zoom: true,
scale: true,
scaleX: true,
scaleY: true,
scaleZ: true,
shadowOpacity: true
};
var stylePropsTransform2 = {
x: true,
y: true,
scale: true,
perspective: true,
scaleX: true,
scaleY: true,
skewX: true,
skewY: true,
matrix: true,
rotate: true,
rotateY: true,
rotateX: true,
rotateZ: true
};
var stylePropsView2 = {
backfaceVisibility: true,
borderBottomEndRadius: true,
borderBottomStartRadius: true,
borderBottomWidth: true,
borderLeftWidth: true,
borderRightWidth: true,
borderBlockWidth: true,
borderBlockEndWidth: true,
borderBlockStartWidth: true,
borderInlineWidth: true,
borderInlineEndWidth: true,
borderInlineStartWidth: true,
borderStyle: true,
borderBlockStyle: true,
borderBlockEndStyle: true,
borderBlockStartStyle: true,
borderInlineStyle: true,
borderInlineEndStyle: true,
borderInlineStartStyle: true,
borderTopEndRadius: true,
borderTopStartRadius: true,
borderTopWidth: true,
borderWidth: true,
transform: true,
transformOrigin: true,
alignContent: true,
alignItems: true,
alignSelf: true,
borderEndWidth: true,
borderStartWidth: true,
bottom: true,
display: true,
end: true,
flexBasis: true,
flexDirection: true,
flexWrap: true,
gap: true,
columnGap: true,
rowGap: true,
justifyContent: true,
left: true,
margin: true,
marginBlock: true,
marginBlockEnd: true,
marginBlockStart: true,
marginInline: true,
marginInlineStart: true,
marginInlineEnd: true,
marginBottom: true,
marginEnd: true,
marginHorizontal: true,
marginLeft: true,
marginRight: true,
marginStart: true,
marginTop: true,
marginVertical: true,
overflow: true,
padding: true,
paddingBottom: true,
paddingInline: true,
paddingBlock: true,
paddingBlockStart: true,
paddingInlineEnd: true,
paddingInlineStart: true,
paddingEnd: true,
paddingHorizontal: true,
paddingLeft: true,
paddingRight: true,
paddingStart: true,
paddingTop: true,
paddingVertical: true,
position: true,
right: true,
start: true,
top: true,
inset: true,
insetBlock: true,
insetBlockEnd: true,
insetBlockStart: true,
insetInline: true,
insetInlineEnd: true,
insetInlineStart: true,
direction: true,
shadowOffset: true,
shadowRadius: true,
...tokenCategories2.color,
...tokenCategories2.radius,
...tokenCategories2.size,
...tokenCategories2.radius,
...stylePropsTransform2,
...stylePropsUnitless2,
boxShadow: true,
filter: true,
// RN doesn't support specific border styles per-edge
transition: true,
textWrap: true,
backdropFilter: true,
background: true,
backgroundAttachment: true,
backgroundBlendMode: true,
backgroundClip: true,
backgroundColor: true,
backgroundImage: true,
backgroundOrigin: true,
backgroundPosition: true,
backgroundRepeat: true,
backgroundSize: true,
borderBottomStyle: true,
borderImage: true,
borderLeftStyle: true,
borderRightStyle: true,
borderTopStyle: true,
boxSizing: true,
caretColor: true,
clipPath: true,
contain: true,
containerType: true,
content: true,
cursor: true,
float: true,
mask: true,
maskBorder: true,
maskBorderMode: true,
maskBorderOutset: true,
maskBorderRepeat: true,
maskBorderSlice: true,
maskBorderSource: true,
maskBorderWidth: true,
maskClip: true,
maskComposite: true,
maskImage: true,
maskMode: true,
maskOrigin: true,
maskPosition: true,
maskRepeat: true,
maskSize: true,
maskType: true,
mixBlendMode: true,
objectFit: true,
objectPosition: true,
outlineOffset: true,
outlineStyle: true,
outlineWidth: true,
overflowBlock: true,
overflowInline: true,
overflowX: true,
overflowY: true,
pointerEvents: true,
scrollbarWidth: true,
textEmphasis: true,
touchAction: true,
transformStyle: true,
userSelect: true,
...import_constants47.isAndroid ? {
elevationAndroid: true
} : {}
};
var stylePropsFont2 = {
fontFamily: true,
fontSize: true,
fontStyle: true,
fontWeight: true,
fontVariant: true,
letterSpacing: true,
lineHeight: true,
textTransform: true
};
var stylePropsTextOnly2 = {
...stylePropsFont2,
textAlign: true,
textDecorationLine: true,
textDecorationStyle: true,
...textColors2,
textShadowOffset: true,
textShadowRadius: true,
userSelect: true,
selectable: true,
verticalAlign: true,
whiteSpace: true,
wordWrap: true,
textOverflow: true,
textDecorationDistance: true,
cursor: true,
WebkitLineClamp: true,
WebkitBoxOrient: true
};
var stylePropsText2 = {
...stylePropsView2,
...stylePropsTextOnly2
};
var stylePropsAll2 = stylePropsText2;
var validPseudoKeys2 = {
enterStyle: true,
exitStyle: true,
hoverStyle: true,
pressStyle: true,
focusStyle: true,
disabledStyle: true,
focusWithinStyle: true,
focusVisibleStyle: true
};
var validStyles2 = stylePropsView2;
}
});
// node_modules/@tamagui/helpers/dist/cjs/withStaticProperties.cjs
var require_withStaticProperties = __commonJS({
"node_modules/@tamagui/helpers/dist/cjs/withStaticProperties.cjs"(exports2, module2) {
var __create2 = Object.create;
var __defProp2 = Object.defineProperty;
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
var __getOwnPropNames2 = Object.getOwnPropertyNames;
var __getProtoOf2 = Object.getPrototypeOf;
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
var __export2 = /* @__PURE__ */ __name((target, all) => {
for (var name in all) __defProp2(target, name, {
get: all[name],
enumerable: true
});
}, "__export");
var __copyProps2 = /* @__PURE__ */ __name((to, from, except, desc) => {
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames2(from)) !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, {
get: /* @__PURE__ */ __name(() => from[key], "get"),
enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
});
return to;
}, "__copyProps");
var __toESM2 = /* @__PURE__ */ __name((mod, isNodeMode, target) => (target = mod != null ? __create2(__getProtoOf2(mod)) : {}, __copyProps2(
// If the importer is in node compatibility mode or this is not an ESM
// file that has been converted to a CommonJS file using a Babel-
// compatible transform (i.e. "__esModule" has not been set), then set
// "default" to the CommonJS "module.exports" for node compatibility.
isNodeMode || !mod || !mod.__esModule ? __defProp2(target, "default", {
value: mod,
enumerable: true
}) : target,
mod
)), "__toESM");
var __toCommonJS2 = /* @__PURE__ */ __name((mod) => __copyProps2(__defProp2({}, "__esModule", {
value: true
}), mod), "__toCommonJS");
var withStaticProperties_exports = {};
__export2(withStaticProperties_exports, {
withStaticProperties: /* @__PURE__ */ __name(() => withStaticProperties7, "withStaticProperties")
});
module2.exports = __toCommonJS2(withStaticProperties_exports);
var import_react52 = __toESM2(require("react"));
var Decorated2 = Symbol();
var withStaticProperties7 = /* @__PURE__ */ __name((component, staticProps) => {
const next = (() => {
if (component[Decorated2]) {
const _ = import_react52.default.forwardRef((props, ref) => import_react52.default.createElement(component, {
...props,
ref
}));
for (const key in component) {
const v = component[key];
_[key] = v && typeof v == "object" ? {
...v
} : v;
}
}
return component;
})();
return Object.assign(next, staticProps), next[Decorated2] = true, next;
}, "withStaticProperties");
}
});
// node_modules/@tamagui/helpers/dist/cjs/index.cjs
var require_cjs7 = __commonJS({
"node_modules/@tamagui/helpers/dist/cjs/index.cjs"(exports2, module2) {
var __defProp2 = Object.defineProperty;
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
var __getOwnPropNames2 = Object.getOwnPropertyNames;
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
var __copyProps2 = /* @__PURE__ */ __name((to, from, except, desc) => {
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames2(from)) !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, {
get: /* @__PURE__ */ __name(() => from[key], "get"),
enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
});
return to;
}, "__copyProps");
var __reExport2 = /* @__PURE__ */ __name((target, mod, secondTarget) => (__copyProps2(target, mod, "default"), secondTarget && __copyProps2(secondTarget, mod, "default")), "__reExport");
var __toCommonJS2 = /* @__PURE__ */ __name((mod) => __copyProps2(__defProp2({}, "__esModule", {
value: true
}), mod), "__toCommonJS");
var index_exports = {};
module2.exports = __toCommonJS2(index_exports);
__reExport2(index_exports, require_cjs5(), module2.exports);
__reExport2(index_exports, require_clamp(), module2.exports);
__reExport2(index_exports, require_composeEventHandlers(), module2.exports);
__reExport2(index_exports, require_concatClassName(), module2.exports);
__reExport2(index_exports, require_types2(), module2.exports);
__reExport2(index_exports, require_shouldRenderNativePlatform(), module2.exports);
__reExport2(index_exports, require_validStyleProps(), module2.exports);
__reExport2(index_exports, require_withStaticProperties(), module2.exports);
}
});
// node_modules/@tamagui/use-event/dist/cjs/useGet.cjs
var require_useGet = __commonJS({
"node_modules/@tamagui/use-event/dist/cjs/useGet.cjs"(exports2, module2) {
var __create2 = Object.create;
var __defProp2 = Object.defineProperty;
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
var __getOwnPropNames2 = Object.getOwnPropertyNames;
var __getProtoOf2 = Object.getPrototypeOf;
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
var __export2 = /* @__PURE__ */ __name((target, all) => {
for (var name in all) __defProp2(target, name, {
get: all[name],
enumerable: true
});
}, "__export");
var __copyProps2 = /* @__PURE__ */ __name((to, from, except, desc) => {
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames2(from)) !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, {
get: /* @__PURE__ */ __name(() => from[key], "get"),
enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
});
return to;
}, "__copyProps");
var __toESM2 = /* @__PURE__ */ __name((mod, isNodeMode, target) => (target = mod != null ? __create2(__getProtoOf2(mod)) : {}, __copyProps2(
// If the importer is in node compatibility mode or this is not an ESM
// file that has been converted to a CommonJS file using a Babel-
// compatible transform (i.e. "__esModule" has not been set), then set
// "default" to the CommonJS "module.exports" for node compatibility.
isNodeMode || !mod || !mod.__esModule ? __defProp2(target, "default", {
value: mod,
enumerable: true
}) : target,
mod
)), "__toESM");
var __toCommonJS2 = /* @__PURE__ */ __name((mod) => __copyProps2(__defProp2({}, "__esModule", {
value: true
}), mod), "__toCommonJS");
var useGet_exports = {};
__export2(useGet_exports, {
useGet: /* @__PURE__ */ __name(() => useGet5, "useGet")
});
module2.exports = __toCommonJS2(useGet_exports);
var import_constants47 = require_cjs6();
var React75 = __toESM2(require("react"));
function useGet5(currentValue, initialValue2, forwardToFunction) {
const curRef = React75.useRef(initialValue2 ?? currentValue);
return (0, import_constants47.useIsomorphicLayoutEffect)(() => {
curRef.current = currentValue;
}), React75.useCallback(forwardToFunction ? (...args) => curRef.current?.apply(null, args) : () => curRef.current, []);
}
__name(useGet5, "useGet");
}
});
// node_modules/@tamagui/use-event/dist/cjs/useEvent.cjs
var require_useEvent = __commonJS({
"node_modules/@tamagui/use-event/dist/cjs/useEvent.cjs"(exports2, module2) {
var __defProp2 = Object.defineProperty;
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
var __getOwnPropNames2 = Object.getOwnPropertyNames;
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
var __export2 = /* @__PURE__ */ __name((target, all) => {
for (var name in all) __defProp2(target, name, {
get: all[name],
enumerable: true
});
}, "__export");
var __copyProps2 = /* @__PURE__ */ __name((to, from, except, desc) => {
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames2(from)) !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, {
get: /* @__PURE__ */ __name(() => from[key], "get"),
enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
});
return to;
}, "__copyProps");
var __toCommonJS2 = /* @__PURE__ */ __name((mod) => __copyProps2(__defProp2({}, "__esModule", {
value: true
}), mod), "__toCommonJS");
var useEvent_exports = {};
__export2(useEvent_exports, {
useEvent: /* @__PURE__ */ __name(() => useEvent12, "useEvent")
});
module2.exports = __toCommonJS2(useEvent_exports);
var import_useGet2 = require_useGet();
function useEvent12(callback) {
return (0, import_useGet2.useGet)(callback, defaultValue2, true);
}
__name(useEvent12, "useEvent");
var defaultValue2 = /* @__PURE__ */ __name(() => {
throw new Error("Cannot call an event handler while rendering.");
}, "defaultValue");
}
});
// node_modules/@tamagui/use-event/dist/cjs/index.cjs
var require_cjs8 = __commonJS({
"node_modules/@tamagui/use-event/dist/cjs/index.cjs"(exports2, module2) {
var __defProp2 = Object.defineProperty;
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
var __getOwnPropNames2 = Object.getOwnPropertyNames;
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
var __copyProps2 = /* @__PURE__ */ __name((to, from, except, desc) => {
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames2(from)) !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, {
get: /* @__PURE__ */ __name(() => from[key], "get"),
enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
});
return to;
}, "__copyProps");
var __reExport2 = /* @__PURE__ */ __name((target, mod, secondTarget) => (__copyProps2(target, mod, "default"), secondTarget && __copyProps2(secondTarget, mod, "default")), "__reExport");
var __toCommonJS2 = /* @__PURE__ */ __name((mod) => __copyProps2(__defProp2({}, "__esModule", {
value: true
}), mod), "__toCommonJS");
var index_exports = {};
module2.exports = __toCommonJS2(index_exports);
__reExport2(index_exports, require_useEvent(), module2.exports);
__reExport2(index_exports, require_useGet(), module2.exports);
}
});
// node_modules/@tamagui/start-transition/dist/cjs/index.cjs
var require_cjs9 = __commonJS({
"node_modules/@tamagui/start-transition/dist/cjs/index.cjs"(exports2, module2) {
var __defProp2 = Object.defineProperty;
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
var __getOwnPropNames2 = Object.getOwnPropertyNames;
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
var __export2 = /* @__PURE__ */ __name((target, all) => {
for (var name in all) __defProp2(target, name, {
get: all[name],
enumerable: true
});
}, "__export");
var __copyProps2 = /* @__PURE__ */ __name((to, from, except, desc) => {
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames2(from)) !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, {
get: /* @__PURE__ */ __name(() => from[key], "get"),
enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
});
return to;
}, "__copyProps");
var __toCommonJS2 = /* @__PURE__ */ __name((mod) => __copyProps2(__defProp2({}, "__esModule", {
value: true
}), mod), "__toCommonJS");
var index_exports = {};
__export2(index_exports, {
startTransition: /* @__PURE__ */ __name(() => startTransition2, "startTransition")
});
module2.exports = __toCommonJS2(index_exports);
var import_react52 = require("react");
var startTransition2 = /* @__PURE__ */ __name((callback) => {
(0, import_react52.startTransition)(callback);
}, "startTransition");
}
});
// node_modules/@tamagui/use-controllable-state/dist/cjs/useControllableState.cjs
var require_useControllableState = __commonJS({
"node_modules/@tamagui/use-controllable-state/dist/cjs/useControllableState.cjs"(exports2, module2) {
var __create2 = Object.create;
var __defProp2 = Object.defineProperty;
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
var __getOwnPropNames2 = Object.getOwnPropertyNames;
var __getProtoOf2 = Object.getPrototypeOf;
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
var __export2 = /* @__PURE__ */ __name((target, all) => {
for (var name in all) __defProp2(target, name, {
get: all[name],
enumerable: true
});
}, "__export");
var __copyProps2 = /* @__PURE__ */ __name((to, from, except, desc) => {
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames2(from)) !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, {
get: /* @__PURE__ */ __name(() => from[key], "get"),
enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
});
return to;
}, "__copyProps");
var __toESM2 = /* @__PURE__ */ __name((mod, isNodeMode, target) => (target = mod != null ? __create2(__getProtoOf2(mod)) : {}, __copyProps2(
// If the importer is in node compatibility mode or this is not an ESM
// file that has been converted to a CommonJS file using a Babel-
// compatible transform (i.e. "__esModule" has not been set), then set
// "default" to the CommonJS "module.exports" for node compatibility.
isNodeMode || !mod || !mod.__esModule ? __defProp2(target, "default", {
value: mod,
enumerable: true
}) : target,
mod
)), "__toESM");
var __toCommonJS2 = /* @__PURE__ */ __name((mod) => __copyProps2(__defProp2({}, "__esModule", {
value: true
}), mod), "__toCommonJS");
var useControllableState_exports = {};
__export2(useControllableState_exports, {
useControllableState: /* @__PURE__ */ __name(() => useControllableState2, "useControllableState")
});
module2.exports = __toCommonJS2(useControllableState_exports);
var import_use_event4 = require_cjs8();
var React75 = __toESM2(require("react"));
var import_start_transition6 = require_cjs9();
var emptyCallbackFn2 = /* @__PURE__ */ __name((_) => _(), "emptyCallbackFn");
function useControllableState2({
prop,
defaultProp,
onChange,
strategy = "prop-wins",
preventUpdate,
transition
}) {
const [state, setState] = React75.useState(prop ?? defaultProp), previous = React75.useRef(state), propWins = strategy === "prop-wins" && prop !== void 0, value = propWins ? prop : state, onChangeCb = (0, import_use_event4.useEvent)(onChange || idFn3), transitionFn = transition ? import_start_transition6.startTransition : emptyCallbackFn2;
React75.useEffect(() => {
prop !== void 0 && (previous.current = prop, transitionFn(() => {
setState(prop);
}));
}, [prop]), React75.useEffect(() => {
propWins || state !== previous.current && (previous.current = state, onChangeCb(state));
}, [onChangeCb, state, propWins]);
const setter = (0, import_use_event4.useEvent)((next) => {
if (!preventUpdate) if (propWins) {
const nextValue = typeof next == "function" ? next(previous.current) : next;
onChangeCb(nextValue);
} else transitionFn(() => {
setState(next);
});
});
return [value, setter];
}
__name(useControllableState2, "useControllableState");
var idFn3 = /* @__PURE__ */ __name(() => {
}, "idFn");
}
});
// node_modules/@tamagui/use-controllable-state/dist/cjs/index.cjs
var require_cjs10 = __commonJS({
"node_modules/@tamagui/use-controllable-state/dist/cjs/index.cjs"(exports2, module2) {
var __defProp2 = Object.defineProperty;
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
var __getOwnPropNames2 = Object.getOwnPropertyNames;
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
var __copyProps2 = /* @__PURE__ */ __name((to, from, except, desc) => {
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames2(from)) !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, {
get: /* @__PURE__ */ __name(() => from[key], "get"),
enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
});
return to;
}, "__copyProps");
var __reExport2 = /* @__PURE__ */ __name((target, mod, secondTarget) => (__copyProps2(target, mod, "default"), secondTarget && __copyProps2(secondTarget, mod, "default")), "__reExport");
var __toCommonJS2 = /* @__PURE__ */ __name((mod) => __copyProps2(__defProp2({}, "__esModule", {
value: true
}), mod), "__toCommonJS");
var index_exports = {};
module2.exports = __toCommonJS2(index_exports);
__reExport2(index_exports, require_useControllableState(), module2.exports);
}
});
// node_modules/@tamagui/collapsible/dist/cjs/Collapsible.cjs
var require_Collapsible = __commonJS({
"node_modules/@tamagui/collapsible/dist/cjs/Collapsible.cjs"(exports2, module2) {
var __create2 = Object.create;
var __defProp2 = Object.defineProperty;
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
var __getOwnPropNames2 = Object.getOwnPropertyNames;
var __getProtoOf2 = Object.getPrototypeOf;
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
var __export2 = /* @__PURE__ */ __name((target, all) => {
for (var name in all) __defProp2(target, name, {
get: all[name],
enumerable: true
});
}, "__export");
var __copyProps2 = /* @__PURE__ */ __name((to, from, except, desc) => {
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames2(from)) !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, {
get: /* @__PURE__ */ __name(() => from[key], "get"),
enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
});
return to;
}, "__copyProps");
var __toESM2 = /* @__PURE__ */ __name((mod, isNodeMode, target) => (target = mod != null ? __create2(__getProtoOf2(mod)) : {}, __copyProps2(
// If the importer is in node compatibility mode or this is not an ESM
// file that has been converted to a CommonJS file using a Babel-
// compatible transform (i.e. "__esModule" has not been set), then set
// "default" to the CommonJS "module.exports" for node compatibility.
isNodeMode || !mod || !mod.__esModule ? __defProp2(target, "default", {
value: mod,
enumerable: true
}) : target,
mod
)), "__toESM");
var __toCommonJS2 = /* @__PURE__ */ __name((mod) => __copyProps2(__defProp2({}, "__esModule", {
value: true
}), mod), "__toCommonJS");
var Collapsible_exports = {};
__export2(Collapsible_exports, {
Collapsible: /* @__PURE__ */ __name(() => Collapsible, "Collapsible"),
CollapsibleContent: /* @__PURE__ */ __name(() => CollapsibleContent, "CollapsibleContent"),
CollapsibleContentFrame: /* @__PURE__ */ __name(() => CollapsibleContentFrame, "CollapsibleContentFrame"),
CollapsibleTrigger: /* @__PURE__ */ __name(() => CollapsibleTrigger, "CollapsibleTrigger"),
CollapsibleTriggerFrame: /* @__PURE__ */ __name(() => CollapsibleTriggerFrame, "CollapsibleTriggerFrame")
});
module2.exports = __toCommonJS2(Collapsible_exports);
var import_animate_presence6 = require_cjs4();
var import_helpers29 = require_cjs7();
var import_use_controllable_state16 = require_cjs10();
var import_web21 = require("@tamagui/core");
var React75 = __toESM2(require("react"));
var import_jsx_runtime65 = require("react/jsx-runtime");
var COLLAPSIBLE_NAME = "Collapsible";
var {
Provider: CollapsibleProvider,
useStyledContext: useCollapsibleContext
} = (0, import_web21.createStyledContext)();
var _Collapsible = React75.forwardRef((props, forwardedRef) => {
const {
__scopeCollapsible,
open: openProp,
defaultOpen,
disabled,
onOpenChange,
...collapsibleProps
} = props, [open = false, setOpen] = (0, import_use_controllable_state16.useControllableState)({
prop: openProp,
defaultProp: defaultOpen,
onChange: onOpenChange
});
return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CollapsibleProvider, {
scope: __scopeCollapsible,
disabled,
contentId: React75.useId(),
open,
onOpenToggle: React75.useCallback(() => setOpen((prevOpen) => !prevOpen), [setOpen]),
children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_web21.Stack, {
"data-state": getState6(open),
"data-disabled": disabled ? "" : void 0,
...collapsibleProps,
ref: forwardedRef
})
});
});
_Collapsible.displayName = COLLAPSIBLE_NAME;
var TRIGGER_NAME6 = "CollapsibleTrigger";
var CollapsibleTriggerFrame = (0, import_web21.styled)(import_web21.Stack, {
name: TRIGGER_NAME6,
tag: "button"
});
var CollapsibleTrigger = CollapsibleTriggerFrame.styleable((props, forwardedRef) => {
const {
__scopeCollapsible,
children,
...triggerProps
} = props, context2 = useCollapsibleContext(__scopeCollapsible);
return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CollapsibleTriggerFrame, {
"aria-controls": context2.contentId,
"aria-expanded": context2.open || false,
"data-state": getState6(context2.open),
"data-disabled": context2.disabled ? "" : void 0,
disabled: context2.disabled,
...triggerProps,
ref: forwardedRef,
onPress: (0, import_helpers29.composeEventHandlers)(props.onPress, context2.onOpenToggle),
children: typeof children == "function" ? children({
open: context2.open
}) : children
});
});
CollapsibleTrigger.displayName = TRIGGER_NAME6;
var CONTENT_NAME5 = "CollapsibleContent";
var CollapsibleContentFrame = (0, import_web21.styled)(import_web21.Stack, {
name: CONTENT_NAME5
});
var CollapsibleContent = CollapsibleContentFrame.styleable((props, forwardedRef) => {
const {
forceMount,
children,
// @ts-expect-error
__scopeCollapsible,
...contentProps
} = props, context2 = useCollapsibleContext(__scopeCollapsible);
return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_animate_presence6.AnimatePresence, {
...contentProps,
children: forceMount || context2.open ? /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CollapsibleContentFrame, {
ref: forwardedRef,
...contentProps,
children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_animate_presence6.ResetPresence, {
children
})
}) : null
});
});
CollapsibleContent.displayName = CONTENT_NAME5;
function getState6(open) {
return open ? "open" : "closed";
}
__name(getState6, "getState");
var Collapsible = (0, import_helpers29.withStaticProperties)(_Collapsible, {
Trigger: CollapsibleTrigger,
Content: CollapsibleContent
});
}
});
// node_modules/@tamagui/collapsible/dist/cjs/index.cjs
var require_cjs11 = __commonJS({
"node_modules/@tamagui/collapsible/dist/cjs/index.cjs"(exports2, module2) {
var __defProp2 = Object.defineProperty;
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
var __getOwnPropNames2 = Object.getOwnPropertyNames;
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
var __copyProps2 = /* @__PURE__ */ __name((to, from, except, desc) => {
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames2(from)) !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, {
get: /* @__PURE__ */ __name(() => from[key], "get"),
enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
});
return to;
}, "__copyProps");
var __reExport2 = /* @__PURE__ */ __name((target, mod, secondTarget) => (__copyProps2(target, mod, "default"), secondTarget && __copyProps2(secondTarget, mod, "default")), "__reExport");
var __toCommonJS2 = /* @__PURE__ */ __name((mod) => __copyProps2(__defProp2({}, "__esModule", {
value: true
}), mod), "__toCommonJS");
var index_exports = {};
module2.exports = __toCommonJS2(index_exports);
__reExport2(index_exports, require_Collapsible(), module2.exports);
}
});
// node_modules/@tamagui/compose-refs/dist/cjs/compose-refs.cjs
var require_compose_refs = __commonJS({
"node_modules/@tamagui/compose-refs/dist/cjs/compose-refs.cjs"(exports2, module2) {
var __create2 = Object.create;
var __defProp2 = Object.defineProperty;
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
var __getOwnPropNames2 = Object.getOwnPropertyNames;
var __getProtoOf2 = Object.getPrototypeOf;
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
var __export2 = /* @__PURE__ */ __name((target, all) => {
for (var name in all) __defProp2(target, name, {
get: all[name],
enumerable: true
});
}, "__export");
var __copyProps2 = /* @__PURE__ */ __name((to, from, except, desc) => {
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames2(from)) !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, {
get: /* @__PURE__ */ __name(() => from[key], "get"),
enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
});
return to;
}, "__copyProps");
var __toESM2 = /* @__PURE__ */ __name((mod, isNodeMode, target) => (target = mod != null ? __create2(__getProtoOf2(mod)) : {}, __copyProps2(
// If the importer is in node compatibility mode or this is not an ESM
// file that has been converted to a CommonJS file using a Babel-
// compatible transform (i.e. "__esModule" has not been set), then set
// "default" to the CommonJS "module.exports" for node compatibility.
isNodeMode || !mod || !mod.__esModule ? __defProp2(target, "default", {
value: mod,
enumerable: true
}) : target,
mod
)), "__toESM");
var __toCommonJS2 = /* @__PURE__ */ __name((mod) => __copyProps2(__defProp2({}, "__esModule", {
value: true
}), mod), "__toCommonJS");
var compose_refs_exports = {};
__export2(compose_refs_exports, {
composeRefs: /* @__PURE__ */ __name(() => composeRefs2, "composeRefs"),
setRef: /* @__PURE__ */ __name(() => setRef2, "setRef"),
useComposedRefs: /* @__PURE__ */ __name(() => useComposedRefs4, "useComposedRefs")
});
module2.exports = __toCommonJS2(compose_refs_exports);
var React75 = __toESM2(require("react"));
function setRef2(ref, value) {
typeof ref == "function" ? ref(value) : ref && (ref.current = value);
}
__name(setRef2, "setRef");
function composeRefs2(...refs) {
return (node) => refs.forEach((ref) => setRef2(ref, node));
}
__name(composeRefs2, "composeRefs");
function useComposedRefs4(...refs) {
return React75.useCallback(composeRefs2(...refs), refs);
}
__name(useComposedRefs4, "useComposedRefs");
}
});
// node_modules/@tamagui/compose-refs/dist/cjs/index.cjs
var require_cjs12 = __commonJS({
"node_modules/@tamagui/compose-refs/dist/cjs/index.cjs"(exports2, module2) {
var __defProp2 = Object.defineProperty;
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
var __getOwnPropNames2 = Object.getOwnPropertyNames;
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
var __copyProps2 = /* @__PURE__ */ __name((to, from, except, desc) => {
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames2(from)) !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, {
get: /* @__PURE__ */ __name(() => from[key], "get"),
enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
});
return to;
}, "__copyProps");
var __reExport2 = /* @__PURE__ */ __name((target, mod, secondTarget) => (__copyProps2(target, mod, "default"), secondTarget && __copyProps2(secondTarget, mod, "default")), "__reExport");
var __toCommonJS2 = /* @__PURE__ */ __name((mod) => __copyProps2(__defProp2({}, "__esModule", {
value: true
}), mod), "__toCommonJS");
var index_exports = {};
module2.exports = __toCommonJS2(index_exports);
__reExport2(index_exports, require_compose_refs(), module2.exports);
}
});
// node_modules/@tamagui/collection/dist/cjs/Collection.cjs
var require_Collection = __commonJS({
"node_modules/@tamagui/collection/dist/cjs/Collection.cjs"(exports2, module2) {
var __create2 = Object.create;
var __defProp2 = Object.defineProperty;
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
var __getOwnPropNames2 = Object.getOwnPropertyNames;
var __getProtoOf2 = Object.getPrototypeOf;
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
var __export2 = /* @__PURE__ */ __name((target, all) => {
for (var name in all) __defProp2(target, name, {
get: all[name],
enumerable: true
});
}, "__export");
var __copyProps2 = /* @__PURE__ */ __name((to, from, except, desc) => {
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames2(from)) !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, {
get: /* @__PURE__ */ __name(() => from[key], "get"),
enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
});
return to;
}, "__copyProps");
var __toESM2 = /* @__PURE__ */ __name((mod, isNodeMode, target) => (target = mod != null ? __create2(__getProtoOf2(mod)) : {}, __copyProps2(
// If the importer is in node compatibility mode or this is not an ESM
// file that has been converted to a CommonJS file using a Babel-
// compatible transform (i.e. "__esModule" has not been set), then set
// "default" to the CommonJS "module.exports" for node compatibility.
isNodeMode || !mod || !mod.__esModule ? __defProp2(target, "default", {
value: mod,
enumerable: true
}) : target,
mod
)), "__toESM");
var __toCommonJS2 = /* @__PURE__ */ __name((mod) => __copyProps2(__defProp2({}, "__esModule", {
value: true
}), mod), "__toCommonJS");
var Collection_exports = {};
__export2(Collection_exports, {
createCollection: /* @__PURE__ */ __name(() => createCollection2, "createCollection")
});
module2.exports = __toCommonJS2(Collection_exports);
var import_compose_refs25 = require_cjs12();
var import_constants47 = require_cjs6();
var import_core57 = require("@tamagui/core");
var import_react52 = __toESM2(require("react"));
var import_jsx_runtime65 = require("react/jsx-runtime");
function createCollection2(name) {
const {
Provider: CollectionProviderImpl,
useStyledContext: useCollectionContext
} = (0, import_core57.createStyledContext)({
collectionRef: {
current: null
},
itemMap: /* @__PURE__ */ new Map()
}), CollectionProvider = /* @__PURE__ */ __name((props) => {
const {
__scopeCollection,
children
} = props, ref = import_react52.default.useRef(null), itemMap = import_react52.default.useRef(/* @__PURE__ */ new Map()).current;
return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CollectionProviderImpl, {
scope: __scopeCollection,
itemMap,
collectionRef: ref,
children
});
}, "CollectionProvider");
CollectionProvider.displayName = "CollectionProvider";
const COLLECTION_SLOT_NAME = name + "CollectionSlot", CollectionSlot = import_react52.default.forwardRef((props, forwardedRef) => {
const {
__scopeCollection,
children
} = props, context2 = useCollectionContext(__scopeCollection), composedRefs = (0, import_compose_refs25.useComposedRefs)(forwardedRef, context2.collectionRef);
return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_core57.Slot, {
ref: composedRefs,
children
});
});
CollectionSlot.displayName = COLLECTION_SLOT_NAME;
const ITEM_SLOT_NAME = name + "CollectionItemSlot", ITEM_DATA_ATTR = "data-collection-item", CollectionItemSlot = import_react52.default.forwardRef((props, forwardedRef) => {
const {
__scopeCollection,
children,
...itemData
} = props, ref = import_react52.default.useRef(null), composedRefs = (0, import_compose_refs25.useComposedRefs)(forwardedRef, ref), context2 = useCollectionContext(__scopeCollection);
return import_react52.default.useEffect(() => (context2.itemMap.set(ref, {
ref,
...itemData
}), () => void context2.itemMap.delete(ref))), /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_core57.Slot, {
[ITEM_DATA_ATTR]: "",
ref: composedRefs,
children
});
});
CollectionItemSlot.displayName = ITEM_SLOT_NAME;
function useCollection2(__scopeCollection) {
const context2 = useCollectionContext(__scopeCollection);
return import_react52.default.useCallback(() => {
if (!import_constants47.isWeb) return [];
const collectionNode = context2.collectionRef.current;
if (!collectionNode) return [];
const orderedNodes = Array.from(collectionNode.querySelectorAll(`[${ITEM_DATA_ATTR}]`));
return Array.from(context2.itemMap.values()).sort((a, b) => orderedNodes.indexOf(a.ref.current) - orderedNodes.indexOf(b.ref.current));
}, [context2.collectionRef, context2.itemMap]);
}
__name(useCollection2, "useCollection");
return [{
Provider: CollectionProvider,
Slot: CollectionSlot,
ItemSlot: CollectionItemSlot
}, useCollection2];
}
__name(createCollection2, "createCollection");
}
});
// node_modules/@tamagui/collection/dist/cjs/index.cjs
var require_cjs13 = __commonJS({
"node_modules/@tamagui/collection/dist/cjs/index.cjs"(exports2, module2) {
var __defProp2 = Object.defineProperty;
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
var __getOwnPropNames2 = Object.getOwnPropertyNames;
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
var __copyProps2 = /* @__PURE__ */ __name((to, from, except, desc) => {
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames2(from)) !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, {
get: /* @__PURE__ */ __name(() => from[key], "get"),
enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
});
return to;
}, "__copyProps");
var __reExport2 = /* @__PURE__ */ __name((target, mod, secondTarget) => (__copyProps2(target, mod, "default"), secondTarget && __copyProps2(secondTarget, mod, "default")), "__reExport");
var __toCommonJS2 = /* @__PURE__ */ __name((mod) => __copyProps2(__defProp2({}, "__esModule", {
value: true
}), mod), "__toCommonJS");
var index_exports = {};
module2.exports = __toCommonJS2(index_exports);
__reExport2(index_exports, require_Collection(), module2.exports);
}
});
// node_modules/@tamagui/stacks/dist/cjs/getElevation.cjs
var require_getElevation = __commonJS({
"node_modules/@tamagui/stacks/dist/cjs/getElevation.cjs"(exports2, module2) {
var __defProp2 = Object.defineProperty;
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
var __getOwnPropNames2 = Object.getOwnPropertyNames;
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
var __export2 = /* @__PURE__ */ __name((target, all) => {
for (var name in all) __defProp2(target, name, {
get: all[name],
enumerable: true
});
}, "__export");
var __copyProps2 = /* @__PURE__ */ __name((to, from, except, desc) => {
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames2(from)) !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, {
get: /* @__PURE__ */ __name(() => from[key], "get"),
enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
});
return to;
}, "__copyProps");
var __toCommonJS2 = /* @__PURE__ */ __name((mod) => __copyProps2(__defProp2({}, "__esModule", {
value: true
}), mod), "__toCommonJS");
var getElevation_exports = {};
__export2(getElevation_exports, {
getElevation: /* @__PURE__ */ __name(() => getElevation2, "getElevation"),
getSizedElevation: /* @__PURE__ */ __name(() => getSizedElevation2, "getSizedElevation")
});
module2.exports = __toCommonJS2(getElevation_exports);
var import_core57 = require("@tamagui/core");
var getElevation2 = /* @__PURE__ */ __name((size4, extras) => {
if (!size4) return;
const {
tokens
} = extras, token = tokens.size[size4], sizeNum = (0, import_core57.isVariable)(token) ? +token.val : size4;
return getSizedElevation2(sizeNum, extras);
}, "getElevation");
var getSizedElevation2 = /* @__PURE__ */ __name((val, {
theme,
tokens
}) => {
let num = 0;
if (val === true) {
const val2 = (0, import_core57.getVariableValue)(tokens.size.true);
typeof val2 == "number" ? num = val2 : num = 10;
} else num = +val;
if (num === 0) return;
const [height, shadowRadius] = [Math.round(num / 4 + 1), Math.round(num / 2 + 2)];
return {
shadowColor: theme.shadowColor,
shadowRadius,
shadowOffset: {
height,
width: 0
},
...import_core57.isAndroid ? {
elevationAndroid: 2 * height
} : {}
};
}, "getSizedElevation");
}
});
// node_modules/@tamagui/stacks/dist/cjs/Stacks.cjs
var require_Stacks = __commonJS({
"node_modules/@tamagui/stacks/dist/cjs/Stacks.cjs"(exports2, module2) {
var __defProp2 = Object.defineProperty;
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
var __getOwnPropNames2 = Object.getOwnPropertyNames;
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
var __export2 = /* @__PURE__ */ __name((target, all) => {
for (var name in all) __defProp2(target, name, {
get: all[name],
enumerable: true
});
}, "__export");
var __copyProps2 = /* @__PURE__ */ __name((to, from, except, desc) => {
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames2(from)) !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, {
get: /* @__PURE__ */ __name(() => from[key], "get"),
enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
});
return to;
}, "__copyProps");
var __toCommonJS2 = /* @__PURE__ */ __name((mod) => __copyProps2(__defProp2({}, "__esModule", {
value: true
}), mod), "__toCommonJS");
var Stacks_exports = {};
__export2(Stacks_exports, {
XStack: /* @__PURE__ */ __name(() => XStack2, "XStack"),
YStack: /* @__PURE__ */ __name(() => YStack2, "YStack"),
ZStack: /* @__PURE__ */ __name(() => ZStack2, "ZStack"),
fullscreenStyle: /* @__PURE__ */ __name(() => fullscreenStyle2, "fullscreenStyle")
});
module2.exports = __toCommonJS2(Stacks_exports);
var import_core57 = require("@tamagui/core");
var import_getElevation3 = require_getElevation();
var fullscreenStyle2 = {
position: "absolute",
top: 0,
left: 0,
right: 0,
bottom: 0
};
var getInset2 = /* @__PURE__ */ __name((val) => val && typeof val == "object" ? val : {
top: val,
left: val,
bottom: val,
right: val
}, "getInset");
var variants2 = {
fullscreen: {
true: fullscreenStyle2
},
elevation: {
"...size": import_getElevation3.getElevation,
":number": import_getElevation3.getElevation
},
inset: getInset2
};
var YStack2 = (0, import_core57.styled)(import_core57.View, {
flexDirection: "column",
variants: variants2
});
YStack2.displayName = "YStack";
var XStack2 = (0, import_core57.styled)(import_core57.View, {
flexDirection: "row",
variants: variants2
});
XStack2.displayName = "XStack";
var ZStack2 = (0, import_core57.styled)(YStack2, {
position: "relative"
}, {
neverFlatten: true,
isZStack: true
});
ZStack2.displayName = "ZStack";
}
});
// node_modules/@tamagui/get-token/dist/cjs/index.cjs
var require_cjs14 = __commonJS({
"node_modules/@tamagui/get-token/dist/cjs/index.cjs"(exports2, module2) {
var __defProp2 = Object.defineProperty;
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
var __getOwnPropNames2 = Object.getOwnPropertyNames;
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
var __export2 = /* @__PURE__ */ __name((target, all) => {
for (var name in all) __defProp2(target, name, {
get: all[name],
enumerable: true
});
}, "__export");
var __copyProps2 = /* @__PURE__ */ __name((to, from, except, desc) => {
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames2(from)) !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, {
get: /* @__PURE__ */ __name(() => from[key], "get"),
enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
});
return to;
}, "__copyProps");
var __toCommonJS2 = /* @__PURE__ */ __name((mod) => __copyProps2(__defProp2({}, "__esModule", {
value: true
}), mod), "__toCommonJS");
var index_exports = {};
__export2(index_exports, {
getRadius: /* @__PURE__ */ __name(() => getRadius, "getRadius"),
getSize: /* @__PURE__ */ __name(() => getSize2, "getSize"),
getSpace: /* @__PURE__ */ __name(() => getSpace2, "getSpace"),
getTokenRelative: /* @__PURE__ */ __name(() => getTokenRelative2, "getTokenRelative"),
stepTokenUpOrDown: /* @__PURE__ */ __name(() => stepTokenUpOrDown2, "stepTokenUpOrDown")
});
module2.exports = __toCommonJS2(index_exports);
var import_web21 = require("@tamagui/core");
var defaultOptions2 = {
shift: 0,
bounds: [0]
};
var getSize2 = /* @__PURE__ */ __name((size4, options) => getTokenRelative2("size", size4, options), "getSize");
var getSpace2 = /* @__PURE__ */ __name((space, options) => getTokenRelative2("space", space, options), "getSpace");
var getRadius = /* @__PURE__ */ __name((radius, options) => getTokenRelative2("radius", radius, options), "getRadius");
var cacheVariables2 = {};
var cacheWholeVariables2 = {};
var cacheKeys2 = {};
var cacheWholeKeys2 = {};
var stepTokenUpOrDown2 = /* @__PURE__ */ __name((type, current, options = defaultOptions2) => {
const tokens = (0, import_web21.getTokens)({
prefixed: true
})[type];
if (!(type in cacheVariables2)) {
cacheKeys2[type] = [], cacheVariables2[type] = [], cacheWholeKeys2[type] = [], cacheWholeVariables2[type] = [];
const sorted = Object.keys(tokens).map((k) => tokens[k]).sort((a, b) => a.val - b.val);
for (const token of sorted) cacheKeys2[type].push(token.key), cacheVariables2[type].push(token);
const sortedExcludingHalfSteps = sorted.filter((x) => !x.key.endsWith(".5"));
for (const token of sortedExcludingHalfSteps) cacheWholeKeys2[type].push(token.key), cacheWholeVariables2[type].push(token);
}
const isString = typeof current == "string", tokensOrdered = (options.excludeHalfSteps ? isString ? cacheWholeKeys2 : cacheWholeVariables2 : isString ? cacheKeys2 : cacheVariables2)[type], min2 = options.bounds?.[0] ?? 0, max2 = options.bounds?.[1] ?? tokensOrdered.length - 1, currentIndex = tokensOrdered.indexOf(current);
let shift4 = options.shift || 0;
shift4 && (current === "$true" || (0, import_web21.isVariable)(current) && current.name === "true") && (shift4 += shift4 > 0 ? 1 : -1);
const index3 = Math.min(max2, Math.max(min2, currentIndex + shift4)), found = tokensOrdered[index3];
return (typeof found == "string" ? tokens[found] : found) || tokens.$true;
}, "stepTokenUpOrDown");
var getTokenRelative2 = stepTokenUpOrDown2;
}
});
// node_modules/@tamagui/get-button-sized/dist/cjs/index.cjs
var require_cjs15 = __commonJS({
"node_modules/@tamagui/get-button-sized/dist/cjs/index.cjs"(exports2, module2) {
var __defProp2 = Object.defineProperty;
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
var __getOwnPropNames2 = Object.getOwnPropertyNames;
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
var __export2 = /* @__PURE__ */ __name((target, all) => {
for (var name in all) __defProp2(target, name, {
get: all[name],
enumerable: true
});
}, "__export");
var __copyProps2 = /* @__PURE__ */ __name((to, from, except, desc) => {
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames2(from)) !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, {
get: /* @__PURE__ */ __name(() => from[key], "get"),
enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
});
return to;
}, "__copyProps");
var __toCommonJS2 = /* @__PURE__ */ __name((mod) => __copyProps2(__defProp2({}, "__esModule", {
value: true
}), mod), "__toCommonJS");
var index_exports = {};
__export2(index_exports, {
getButtonSized: /* @__PURE__ */ __name(() => getButtonSized2, "getButtonSized")
});
module2.exports = __toCommonJS2(index_exports);
var import_get_token16 = require_cjs14();
var getButtonSized2 = /* @__PURE__ */ __name((val, {
tokens,
props
}) => {
if (!val || props.circular) return;
if (typeof val == "number") return {
paddingHorizontal: val * 0.25,
height: val,
borderRadius: props.circular ? 1e5 : val * 0.2
};
const xSize = (0, import_get_token16.getSpace)(val), radiusToken = tokens.radius[val] ?? tokens.radius.$true;
return {
paddingHorizontal: xSize,
height: val,
borderRadius: props.circular ? 1e5 : radiusToken
};
}, "getButtonSized");
}
});
// node_modules/@tamagui/stacks/dist/cjs/variants.cjs
var require_variants = __commonJS({
"node_modules/@tamagui/stacks/dist/cjs/variants.cjs"(exports2, module2) {
var __defProp2 = Object.defineProperty;
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
var __getOwnPropNames2 = Object.getOwnPropertyNames;
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
var __export2 = /* @__PURE__ */ __name((target, all) => {
for (var name in all) __defProp2(target, name, {
get: all[name],
enumerable: true
});
}, "__export");
var __copyProps2 = /* @__PURE__ */ __name((to, from, except, desc) => {
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames2(from)) !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, {
get: /* @__PURE__ */ __name(() => from[key], "get"),
enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
});
return to;
}, "__copyProps");
var __toCommonJS2 = /* @__PURE__ */ __name((mod) => __copyProps2(__defProp2({}, "__esModule", {
value: true
}), mod), "__toCommonJS");
var variants_exports = {};
__export2(variants_exports, {
bordered: /* @__PURE__ */ __name(() => bordered2, "bordered"),
circular: /* @__PURE__ */ __name(() => circular2, "circular"),
elevate: /* @__PURE__ */ __name(() => elevate2, "elevate"),
focusTheme: /* @__PURE__ */ __name(() => focusTheme2, "focusTheme"),
hoverTheme: /* @__PURE__ */ __name(() => hoverTheme2, "hoverTheme"),
padded: /* @__PURE__ */ __name(() => padded2, "padded"),
pressTheme: /* @__PURE__ */ __name(() => pressTheme2, "pressTheme"),
radiused: /* @__PURE__ */ __name(() => radiused2, "radiused")
});
module2.exports = __toCommonJS2(variants_exports);
var import_getElevation3 = require_getElevation();
var elevate2 = {
true: /* @__PURE__ */ __name((_, extras) => (0, import_getElevation3.getElevation)(extras.props.size, extras), "true")
};
var bordered2 = /* @__PURE__ */ __name((val, {
props
}) => ({
// TODO size it with size in '...size'
borderWidth: typeof val == "number" ? val : 1,
borderColor: "$borderColor",
...props.hoverTheme && {
hoverStyle: {
borderColor: "$borderColorHover"
}
},
...props.pressTheme && {
pressStyle: {
borderColor: "$borderColorPress"
}
},
...props.focusTheme && {
focusStyle: {
borderColor: "$borderColorFocus"
}
}
}), "bordered");
var padded2 = {
true: /* @__PURE__ */ __name((_, extras) => {
const {
tokens,
props
} = extras;
return {
padding: tokens.space[props.size] || tokens.space.$true
};
}, "true")
};
var radiused2 = {
true: /* @__PURE__ */ __name((_, extras) => {
const {
tokens,
props
} = extras;
return {
borderRadius: tokens.radius[props.size] || tokens.radius.$true
};
}, "true")
};
var circularStyle2 = {
borderRadius: 1e5,
padding: 0
};
var circular2 = {
true: /* @__PURE__ */ __name((_, {
props,
tokens
}) => {
if (!("size" in props)) return circularStyle2;
const size4 = typeof props.size == "number" ? props.size : tokens.size[props.size];
return {
...circularStyle2,
width: size4,
height: size4,
maxWidth: size4,
maxHeight: size4,
minWidth: size4,
minHeight: size4
};
}, "true")
};
var hoverTheme2 = {
true: {
hoverStyle: {
backgroundColor: "$backgroundHover",
borderColor: "$borderColorHover"
}
},
false: {}
};
var pressTheme2 = {
true: {
cursor: "pointer",
pressStyle: {
backgroundColor: "$backgroundPress",
borderColor: "$borderColorPress"
}
},
false: {}
};
var focusTheme2 = {
true: {
focusStyle: {
backgroundColor: "$backgroundFocus",
borderColor: "$borderColorFocus"
}
},
false: {}
};
}
});
// node_modules/@tamagui/stacks/dist/cjs/SizableStack.cjs
var require_SizableStack = __commonJS({
"node_modules/@tamagui/stacks/dist/cjs/SizableStack.cjs"(exports2, module2) {
var __defProp2 = Object.defineProperty;
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
var __getOwnPropNames2 = Object.getOwnPropertyNames;
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
var __export2 = /* @__PURE__ */ __name((target, all) => {
for (var name in all) __defProp2(target, name, {
get: all[name],
enumerable: true
});
}, "__export");
var __copyProps2 = /* @__PURE__ */ __name((to, from, except, desc) => {
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames2(from)) !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, {
get: /* @__PURE__ */ __name(() => from[key], "get"),
enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
});
return to;
}, "__copyProps");
var __toCommonJS2 = /* @__PURE__ */ __name((mod) => __copyProps2(__defProp2({}, "__esModule", {
value: true
}), mod), "__toCommonJS");
var SizableStack_exports = {};
__export2(SizableStack_exports, {
SizableStack: /* @__PURE__ */ __name(() => SizableStack2, "SizableStack")
});
module2.exports = __toCommonJS2(SizableStack_exports);
var import_core57 = require("@tamagui/core");
var import_get_button_sized6 = require_cjs15();
var import_Stacks3 = require_Stacks();
var import_variants3 = require_variants();
var SizableStack2 = (0, import_core57.styled)(import_Stacks3.XStack, {
name: "SizableStack",
variants: {
unstyled: {
true: {
hoverTheme: false,
pressTheme: false,
focusTheme: false,
elevate: false,
bordered: false
}
},
hoverTheme: import_variants3.hoverTheme,
pressTheme: import_variants3.pressTheme,
focusTheme: import_variants3.focusTheme,
circular: import_variants3.circular,
elevate: import_variants3.elevate,
bordered: import_variants3.bordered,
size: {
"...size": /* @__PURE__ */ __name((val, extras) => (0, import_get_button_sized6.getButtonSized)(val, extras), "...size")
}
}
});
}
});
// node_modules/@tamagui/stacks/dist/cjs/ThemeableStack.cjs
var require_ThemeableStack = __commonJS({
"node_modules/@tamagui/stacks/dist/cjs/ThemeableStack.cjs"(exports2, module2) {
var __defProp2 = Object.defineProperty;
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
var __getOwnPropNames2 = Object.getOwnPropertyNames;
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
var __export2 = /* @__PURE__ */ __name((target, all) => {
for (var name in all) __defProp2(target, name, {
get: all[name],
enumerable: true
});
}, "__export");
var __copyProps2 = /* @__PURE__ */ __name((to, from, except, desc) => {
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames2(from)) !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, {
get: /* @__PURE__ */ __name(() => from[key], "get"),
enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
});
return to;
}, "__copyProps");
var __toCommonJS2 = /* @__PURE__ */ __name((mod) => __copyProps2(__defProp2({}, "__esModule", {
value: true
}), mod), "__toCommonJS");
var ThemeableStack_exports = {};
__export2(ThemeableStack_exports, {
ThemeableStack: /* @__PURE__ */ __name(() => ThemeableStack2, "ThemeableStack"),
themeableVariants: /* @__PURE__ */ __name(() => themeableVariants2, "themeableVariants")
});
module2.exports = __toCommonJS2(ThemeableStack_exports);
var import_core57 = require("@tamagui/core");
var import_Stacks3 = require_Stacks();
var import_variants3 = require_variants();
var chromelessStyle2 = {
backgroundColor: "transparent",
borderColor: "transparent",
shadowColor: "transparent",
hoverStyle: {
borderColor: "transparent"
}
};
var themeableVariants2 = {
backgrounded: {
true: {
backgroundColor: "$background"
}
},
radiused: import_variants3.radiused,
hoverTheme: import_variants3.hoverTheme,
pressTheme: import_variants3.pressTheme,
focusTheme: import_variants3.focusTheme,
circular: import_variants3.circular,
padded: import_variants3.padded,
elevate: import_variants3.elevate,
bordered: import_variants3.bordered,
transparent: {
true: {
backgroundColor: "transparent"
}
},
chromeless: {
true: chromelessStyle2,
all: {
...chromelessStyle2,
hoverStyle: chromelessStyle2,
pressStyle: chromelessStyle2,
focusStyle: chromelessStyle2
}
}
};
var ThemeableStack2 = (0, import_core57.styled)(import_Stacks3.YStack, {
variants: themeableVariants2
});
}
});
// node_modules/@tamagui/stacks/dist/cjs/NestingContext.cjs
var require_NestingContext = __commonJS({
"node_modules/@tamagui/stacks/dist/cjs/NestingContext.cjs"(exports2, module2) {
var __create2 = Object.create;
var __defProp2 = Object.defineProperty;
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
var __getOwnPropNames2 = Object.getOwnPropertyNames;
var __getProtoOf2 = Object.getPrototypeOf;
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
var __export2 = /* @__PURE__ */ __name((target, all) => {
for (var name in all) __defProp2(target, name, {
get: all[name],
enumerable: true
});
}, "__export");
var __copyProps2 = /* @__PURE__ */ __name((to, from, except, desc) => {
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames2(from)) !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, {
get: /* @__PURE__ */ __name(() => from[key], "get"),
enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
});
return to;
}, "__copyProps");
var __toESM2 = /* @__PURE__ */ __name((mod, isNodeMode, target) => (target = mod != null ? __create2(__getProtoOf2(mod)) : {}, __copyProps2(
// If the importer is in node compatibility mode or this is not an ESM
// file that has been converted to a CommonJS file using a Babel-
// compatible transform (i.e. "__esModule" has not been set), then set
// "default" to the CommonJS "module.exports" for node compatibility.
isNodeMode || !mod || !mod.__esModule ? __defProp2(target, "default", {
value: mod,
enumerable: true
}) : target,
mod
)), "__toESM");
var __toCommonJS2 = /* @__PURE__ */ __name((mod) => __copyProps2(__defProp2({}, "__esModule", {
value: true
}), mod), "__toCommonJS");
var NestingContext_exports = {};
__export2(NestingContext_exports, {
ButtonNestingContext: /* @__PURE__ */ __name(() => ButtonNestingContext2, "ButtonNestingContext")
});
module2.exports = __toCommonJS2(NestingContext_exports);
var import_react52 = __toESM2(require("react"));
var ButtonNestingContext2 = import_react52.default.createContext(false);
}
});
// node_modules/@tamagui/stacks/dist/cjs/index.cjs
var require_cjs16 = __commonJS({
"node_modules/@tamagui/stacks/dist/cjs/index.cjs"(exports2, module2) {
var __defProp2 = Object.defineProperty;
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
var __getOwnPropNames2 = Object.getOwnPropertyNames;
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
var __copyProps2 = /* @__PURE__ */ __name((to, from, except, desc) => {
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames2(from)) !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, {
get: /* @__PURE__ */ __name(() => from[key], "get"),
enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
});
return to;
}, "__copyProps");
var __reExport2 = /* @__PURE__ */ __name((target, mod, secondTarget) => (__copyProps2(target, mod, "default"), secondTarget && __copyProps2(secondTarget, mod, "default")), "__reExport");
var __toCommonJS2 = /* @__PURE__ */ __name((mod) => __copyProps2(__defProp2({}, "__esModule", {
value: true
}), mod), "__toCommonJS");
var index_exports = {};
module2.exports = __toCommonJS2(index_exports);
__reExport2(index_exports, require_Stacks(), module2.exports);
__reExport2(index_exports, require_SizableStack(), module2.exports);
__reExport2(index_exports, require_ThemeableStack(), module2.exports);
__reExport2(index_exports, require_NestingContext(), module2.exports);
}
});
// node_modules/@tamagui/get-font-sized/dist/cjs/index.cjs
var require_cjs17 = __commonJS({
"node_modules/@tamagui/get-font-sized/dist/cjs/index.cjs"(exports2, module2) {
var __defProp2 = Object.defineProperty;
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
var __getOwnPropNames2 = Object.getOwnPropertyNames;
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
var __export2 = /* @__PURE__ */ __name((target, all) => {
for (var name in all) __defProp2(target, name, {
get: all[name],
enumerable: true
});
}, "__export");
var __copyProps2 = /* @__PURE__ */ __name((to, from, except, desc) => {
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames2(from)) !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, {
get: /* @__PURE__ */ __name(() => from[key], "get"),
enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
});
return to;
}, "__copyProps");
var __toCommonJS2 = /* @__PURE__ */ __name((mod) => __copyProps2(__defProp2({}, "__esModule", {
value: true
}), mod), "__toCommonJS");
var index_exports = {};
__export2(index_exports, {
getFontSized: /* @__PURE__ */ __name(() => getFontSized2, "getFontSized")
});
module2.exports = __toCommonJS2(index_exports);
var import_constants47 = require_cjs6();
var import_core57 = require("@tamagui/core");
var getFontSized2 = /* @__PURE__ */ __name((sizeTokenIn = "$true", {
font,
fontFamily,
props
}) => {
if (!font) return {
fontSize: sizeTokenIn
};
const sizeToken = sizeTokenIn === "$true" ? getDefaultSizeToken2(font) : sizeTokenIn, style = {}, fontSize = font.size[sizeToken], lineHeight = font.lineHeight?.[sizeToken], fontWeight = font.weight?.[sizeToken], letterSpacing = font.letterSpacing?.[sizeToken], textTransform = font.transform?.[sizeToken], fontStyle = props.fontStyle ?? font.style?.[sizeToken], color = props.color ?? font.color?.[sizeToken];
return fontStyle && (style.fontStyle = fontStyle), textTransform && (style.textTransform = textTransform), fontFamily && (style.fontFamily = fontFamily), fontWeight && (style.fontWeight = fontWeight), letterSpacing && (style.letterSpacing = letterSpacing), fontSize && (style.fontSize = fontSize), lineHeight && (style.lineHeight = lineHeight), color && (style.color = color), process.env.NODE_ENV === "development" && props.debug && props.debug === "verbose" && (console.groupCollapsed(" \u{1F539} getFontSized", sizeTokenIn, sizeToken), import_constants47.isClient && console.info({
style,
props,
font
}), console.groupEnd()), style;
}, "getFontSized");
var cache3 = /* @__PURE__ */ new WeakMap();
function getDefaultSizeToken2(font) {
if (typeof font == "object" && cache3.has(font)) return cache3.get(font);
const sizeTokens = "$true" in font.size ? font.size : (0, import_core57.getTokens)().size, sizeDefault = sizeTokens.$true, sizeDefaultSpecific = sizeDefault ? Object.keys(sizeTokens).find((x) => x !== "$true" && sizeTokens[x].val === sizeDefault.val) : null;
return !sizeDefault || !sizeDefaultSpecific ? (process.env.NODE_ENV === "development" && console.warn(`No default size is set in your tokens for the "true" key, fonts will be inconsistent.
Fix this by having consistent tokens across fonts and sizes and setting a true key for your size tokens, or
set true keys for all your font tokens: "size", "lineHeight", "fontStyle", etc.`), Object.keys(font.size)[3]) : (cache3.set(font, sizeDefaultSpecific), sizeDefaultSpecific);
}
__name(getDefaultSizeToken2, "getDefaultSizeToken");
}
});
// node_modules/@tamagui/text/dist/cjs/SizableText.cjs
var require_SizableText = __commonJS({
"node_modules/@tamagui/text/dist/cjs/SizableText.cjs"(exports2, module2) {
var __defProp2 = Object.defineProperty;
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
var __getOwnPropNames2 = Object.getOwnPropertyNames;
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
var __export2 = /* @__PURE__ */ __name((target, all) => {
for (var name in all) __defProp2(target, name, {
get: all[name],
enumerable: true
});
}, "__export");
var __copyProps2 = /* @__PURE__ */ __name((to, from, except, desc) => {
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames2(from)) !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, {
get: /* @__PURE__ */ __name(() => from[key], "get"),
enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
});
return to;
}, "__copyProps");
var __toCommonJS2 = /* @__PURE__ */ __name((mod) => __copyProps2(__defProp2({}, "__esModule", {
value: true
}), mod), "__toCommonJS");
var SizableText_exports = {};
__export2(SizableText_exports, {
SizableText: /* @__PURE__ */ __name(() => SizableText2, "SizableText")
});
module2.exports = __toCommonJS2(SizableText_exports);
var import_get_font_sized5 = require_cjs17();
var import_web21 = require("@tamagui/core");
var SizableText2 = (0, import_web21.styled)(import_web21.Text, {
name: "SizableText",
fontFamily: "$body",
variants: {
unstyled: {
false: {
size: "$true",
color: "$color"
}
},
size: import_get_font_sized5.getFontSized
},
defaultVariants: {
unstyled: process.env.TAMAGUI_HEADLESS === "1"
}
});
SizableText2.staticConfig.variants.fontFamily = {
"...": /* @__PURE__ */ __name((_val, extras) => {
const sizeProp = extras.props.size, fontSizeProp = extras.props.fontSize, size4 = sizeProp === "$true" && fontSizeProp ? fontSizeProp : extras.props.size || "$true";
return (0, import_get_font_sized5.getFontSized)(size4, extras);
}, "...")
};
}
});
// node_modules/@tamagui/text/dist/cjs/Paragraph.cjs
var require_Paragraph = __commonJS({
"node_modules/@tamagui/text/dist/cjs/Paragraph.cjs"(exports2, module2) {
var __defProp2 = Object.defineProperty;
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
var __getOwnPropNames2 = Object.getOwnPropertyNames;
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
var __export2 = /* @__PURE__ */ __name((target, all) => {
for (var name in all) __defProp2(target, name, {
get: all[name],
enumerable: true
});
}, "__export");
var __copyProps2 = /* @__PURE__ */ __name((to, from, except, desc) => {
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames2(from)) !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, {
get: /* @__PURE__ */ __name(() => from[key], "get"),
enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
});
return to;
}, "__copyProps");
var __toCommonJS2 = /* @__PURE__ */ __name((mod) => __copyProps2(__defProp2({}, "__esModule", {
value: true
}), mod), "__toCommonJS");
var Paragraph_exports = {};
__export2(Paragraph_exports, {
Paragraph: /* @__PURE__ */ __name(() => Paragraph2, "Paragraph")
});
module2.exports = __toCommonJS2(Paragraph_exports);
var import_web21 = require("@tamagui/core");
var import_SizableText2 = require_SizableText();
var Paragraph2 = (0, import_web21.styled)(import_SizableText2.SizableText, {
name: "Paragraph",
tag: "p",
userSelect: "auto",
color: "$color",
size: "$true",
whiteSpace: "normal"
});
}
});
// node_modules/@tamagui/text/dist/cjs/Headings.cjs
var require_Headings = __commonJS({
"node_modules/@tamagui/text/dist/cjs/Headings.cjs"(exports2, module2) {
var __defProp2 = Object.defineProperty;
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
var __getOwnPropNames2 = Object.getOwnPropertyNames;
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
var __export2 = /* @__PURE__ */ __name((target, all) => {
for (var name in all) __defProp2(target, name, {
get: all[name],
enumerable: true
});
}, "__export");
var __copyProps2 = /* @__PURE__ */ __name((to, from, except, desc) => {
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames2(from)) !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, {
get: /* @__PURE__ */ __name(() => from[key], "get"),
enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
});
return to;
}, "__copyProps");
var __toCommonJS2 = /* @__PURE__ */ __name((mod) => __copyProps2(__defProp2({}, "__esModule", {
value: true
}), mod), "__toCommonJS");
var Headings_exports = {};
__export2(Headings_exports, {
H1: /* @__PURE__ */ __name(() => H12, "H1"),
H2: /* @__PURE__ */ __name(() => H22, "H2"),
H3: /* @__PURE__ */ __name(() => H32, "H3"),
H4: /* @__PURE__ */ __name(() => H42, "H4"),
H5: /* @__PURE__ */ __name(() => H52, "H5"),
H6: /* @__PURE__ */ __name(() => H62, "H6"),
Heading: /* @__PURE__ */ __name(() => Heading2, "Heading")
});
module2.exports = __toCommonJS2(Headings_exports);
var import_web21 = require("@tamagui/core");
var import_Paragraph2 = require_Paragraph();
var Heading2 = (0, import_web21.styled)(import_Paragraph2.Paragraph, {
tag: "span",
name: "Heading",
accessibilityRole: "header",
fontFamily: "$heading",
size: "$8",
margin: 0
});
var H12 = (0, import_web21.styled)(Heading2, {
name: "H1",
tag: "h1",
variants: {
unstyled: {
false: {
size: "$10"
}
}
},
defaultVariants: {
unstyled: process.env.TAMAGUI_HEADLESS === "1"
}
});
var H22 = (0, import_web21.styled)(Heading2, {
name: "H2",
tag: "h2",
variants: {
unstyled: {
false: {
size: "$9"
}
}
},
defaultVariants: {
unstyled: process.env.TAMAGUI_HEADLESS === "1"
}
});
var H32 = (0, import_web21.styled)(Heading2, {
name: "H3",
tag: "h3",
variants: {
unstyled: {
false: {
size: "$8"
}
}
},
defaultVariants: {
unstyled: process.env.TAMAGUI_HEADLESS === "1"
}
});
var H42 = (0, import_web21.styled)(Heading2, {
name: "H4",
tag: "h4",
variants: {
unstyled: {
false: {
size: "$7"
}
}
},
defaultVariants: {
unstyled: process.env.TAMAGUI_HEADLESS === "1"
}
});
var H52 = (0, import_web21.styled)(Heading2, {
name: "H5",
tag: "h5",
variants: {
unstyled: {
false: {
size: "$6"
}
}
},
defaultVariants: {
unstyled: process.env.TAMAGUI_HEADLESS === "1"
}
});
var H62 = (0, import_web21.styled)(Heading2, {
name: "H6",
tag: "h6",
variants: {
unstyled: {
false: {
size: "$5"
}
}
},
defaultVariants: {
unstyled: process.env.TAMAGUI_HEADLESS === "1"
}
});
}
});
// node_modules/@tamagui/text/dist/cjs/wrapChildrenInText.cjs
var require_wrapChildrenInText = __commonJS({
"node_modules/@tamagui/text/dist/cjs/wrapChildrenInText.cjs"(exports2, module2) {
var __create2 = Object.create;
var __defProp2 = Object.defineProperty;
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
var __getOwnPropNames2 = Object.getOwnPropertyNames;
var __getProtoOf2 = Object.getPrototypeOf;
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
var __export2 = /* @__PURE__ */ __name((target, all) => {
for (var name in all) __defProp2(target, name, {
get: all[name],
enumerable: true
});
}, "__export");
var __copyProps2 = /* @__PURE__ */ __name((to, from, except, desc) => {
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames2(from)) !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, {
get: /* @__PURE__ */ __name(() => from[key], "get"),
enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
});
return to;
}, "__copyProps");
var __toESM2 = /* @__PURE__ */ __name((mod, isNodeMode, target) => (target = mod != null ? __create2(__getProtoOf2(mod)) : {}, __copyProps2(
// If the importer is in node compatibility mode or this is not an ESM
// file that has been converted to a CommonJS file using a Babel-
// compatible transform (i.e. "__esModule" has not been set), then set
// "default" to the CommonJS "module.exports" for node compatibility.
isNodeMode || !mod || !mod.__esModule ? __defProp2(target, "default", {
value: mod,
enumerable: true
}) : target,
mod
)), "__toESM");
var __toCommonJS2 = /* @__PURE__ */ __name((mod) => __copyProps2(__defProp2({}, "__esModule", {
value: true
}), mod), "__toCommonJS");
var wrapChildrenInText_exports = {};
__export2(wrapChildrenInText_exports, {
wrapChildrenInText: /* @__PURE__ */ __name(() => wrapChildrenInText2, "wrapChildrenInText")
});
module2.exports = __toCommonJS2(wrapChildrenInText_exports);
var import_react52 = __toESM2(require("react"));
var import_jsx_runtime65 = (
// so "data-disable-theme" is a hack to fix themeInverse, don't ask me why
require("react/jsx-runtime")
);
function wrapChildrenInText2(TextComponent, propsIn, extraProps) {
const {
children,
textProps,
size: size4,
noTextWrap,
color,
fontFamily,
fontSize,
fontWeight,
letterSpacing,
textAlign,
fontStyle,
maxFontSizeMultiplier
} = propsIn;
if (noTextWrap || !children) return [children];
const props = {
...extraProps
};
return color && (props.color = color), fontFamily && (props.fontFamily = fontFamily), fontSize && (props.fontSize = fontSize), fontWeight && (props.fontWeight = fontWeight), letterSpacing && (props.letterSpacing = letterSpacing), textAlign && (props.textAlign = textAlign), size4 && (props.size = size4), fontStyle && (props.fontStyle = fontStyle), maxFontSizeMultiplier && (props.maxFontSizeMultiplier = maxFontSizeMultiplier), import_react52.default.Children.toArray(children).map((child, index3) => typeof child == "string" ? /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(TextComponent, {
...props,
...textProps,
children: child
}, index3) : child);
}
__name(wrapChildrenInText2, "wrapChildrenInText");
}
});
// node_modules/@tamagui/text/dist/cjs/types.cjs
var require_types3 = __commonJS({
"node_modules/@tamagui/text/dist/cjs/types.cjs"(exports2, module2) {
var __defProp2 = Object.defineProperty;
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
var __getOwnPropNames2 = Object.getOwnPropertyNames;
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
var __copyProps2 = /* @__PURE__ */ __name((to, from, except, desc) => {
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames2(from)) !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, {
get: /* @__PURE__ */ __name(() => from[key], "get"),
enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
});
return to;
}, "__copyProps");
var __toCommonJS2 = /* @__PURE__ */ __name((mod) => __copyProps2(__defProp2({}, "__esModule", {
value: true
}), mod), "__toCommonJS");
var types_exports = {};
module2.exports = __toCommonJS2(types_exports);
}
});
// node_modules/@tamagui/text/dist/cjs/index.cjs
var require_cjs18 = __commonJS({
"node_modules/@tamagui/text/dist/cjs/index.cjs"(exports2, module2) {
var __defProp2 = Object.defineProperty;
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
var __getOwnPropNames2 = Object.getOwnPropertyNames;
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
var __copyProps2 = /* @__PURE__ */ __name((to, from, except, desc) => {
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames2(from)) !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, {
get: /* @__PURE__ */ __name(() => from[key], "get"),
enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
});
return to;
}, "__copyProps");
var __reExport2 = /* @__PURE__ */ __name((target, mod, secondTarget) => (__copyProps2(target, mod, "default"), secondTarget && __copyProps2(secondTarget, mod, "default")), "__reExport");
var __toCommonJS2 = /* @__PURE__ */ __name((mod) => __copyProps2(__defProp2({}, "__esModule", {
value: true
}), mod), "__toCommonJS");
var index_exports = {};
module2.exports = __toCommonJS2(index_exports);
__reExport2(index_exports, require_SizableText(), module2.exports);
__reExport2(index_exports, require_Paragraph(), module2.exports);
__reExport2(index_exports, require_Headings(), module2.exports);
__reExport2(index_exports, require_wrapChildrenInText(), module2.exports);
__reExport2(index_exports, require_types3(), module2.exports);
}
});
// node_modules/@tamagui/use-direction/dist/cjs/useDirection.cjs
var require_useDirection = __commonJS({
"node_modules/@tamagui/use-direction/dist/cjs/useDirection.cjs"(exports2, module2) {
var __create2 = Object.create;
var __defProp2 = Object.defineProperty;
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
var __getOwnPropNames2 = Object.getOwnPropertyNames;
var __getProtoOf2 = Object.getPrototypeOf;
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
var __export2 = /* @__PURE__ */ __name((target, all) => {
for (var name in all) __defProp2(target, name, {
get: all[name],
enumerable: true
});
}, "__export");
var __copyProps2 = /* @__PURE__ */ __name((to, from, except, desc) => {
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames2(from)) !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, {
get: /* @__PURE__ */ __name(() => from[key], "get"),
enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
});
return to;
}, "__copyProps");
var __toESM2 = /* @__PURE__ */ __name((mod, isNodeMode, target) => (target = mod != null ? __create2(__getProtoOf2(mod)) : {}, __copyProps2(
// If the importer is in node compatibility mode or this is not an ESM
// file that has been converted to a CommonJS file using a Babel-
// compatible transform (i.e. "__esModule" has not been set), then set
// "default" to the CommonJS "module.exports" for node compatibility.
isNodeMode || !mod || !mod.__esModule ? __defProp2(target, "default", {
value: mod,
enumerable: true
}) : target,
mod
)), "__toESM");
var __toCommonJS2 = /* @__PURE__ */ __name((mod) => __copyProps2(__defProp2({}, "__esModule", {
value: true
}), mod), "__toCommonJS");
var useDirection_exports = {};
__export2(useDirection_exports, {
DirectionProvider: /* @__PURE__ */ __name(() => DirectionProvider, "DirectionProvider"),
Provider: /* @__PURE__ */ __name(() => Provider, "Provider"),
useDirection: /* @__PURE__ */ __name(() => useDirection2, "useDirection")
});
module2.exports = __toCommonJS2(useDirection_exports);
var React75 = __toESM2(require("react"));
var import_jsx_runtime65 = require("react/jsx-runtime");
var DirectionContext2 = React75.createContext(void 0);
var DirectionProvider = /* @__PURE__ */ __name((props) => {
const {
dir,
children
} = props;
return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(DirectionContext2.Provider, {
value: dir,
children
});
}, "DirectionProvider");
function useDirection2(localDir) {
const globalDir = React75.useContext(DirectionContext2);
return localDir || globalDir || "ltr";
}
__name(useDirection2, "useDirection");
var Provider = DirectionProvider;
}
});
// node_modules/@tamagui/use-direction/dist/cjs/index.cjs
var require_cjs19 = __commonJS({
"node_modules/@tamagui/use-direction/dist/cjs/index.cjs"(exports2, module2) {
var __defProp2 = Object.defineProperty;
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
var __getOwnPropNames2 = Object.getOwnPropertyNames;
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
var __copyProps2 = /* @__PURE__ */ __name((to, from, except, desc) => {
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames2(from)) !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, {
get: /* @__PURE__ */ __name(() => from[key], "get"),
enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
});
return to;
}, "__copyProps");
var __reExport2 = /* @__PURE__ */ __name((target, mod, secondTarget) => (__copyProps2(target, mod, "default"), secondTarget && __copyProps2(secondTarget, mod, "default")), "__reExport");
var __toCommonJS2 = /* @__PURE__ */ __name((mod) => __copyProps2(__defProp2({}, "__esModule", {
value: true
}), mod), "__toCommonJS");
var index_exports = {};
module2.exports = __toCommonJS2(index_exports);
__reExport2(index_exports, require_useDirection(), module2.exports);
}
});
// node_modules/@tamagui/accordion/dist/cjs/Accordion.js
var require_Accordion = __commonJS({
"node_modules/@tamagui/accordion/dist/cjs/Accordion.js"(exports2, module2) {
var __create2 = Object.create;
var __defProp2 = Object.defineProperty;
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
var __getOwnPropNames2 = Object.getOwnPropertyNames;
var __getProtoOf2 = Object.getPrototypeOf;
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
var __export2 = /* @__PURE__ */ __name((target, all) => {
for (var name in all)
__defProp2(target, name, { get: all[name], enumerable: true });
}, "__export");
var __copyProps2 = /* @__PURE__ */ __name((to, from, except, desc) => {
if (from && typeof from == "object" || typeof from == "function")
for (let key of __getOwnPropNames2(from))
!__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, { get: /* @__PURE__ */ __name(() => from[key], "get"), enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable });
return to;
}, "__copyProps");
var __toESM2 = /* @__PURE__ */ __name((mod, isNodeMode, target) => (target = mod != null ? __create2(__getProtoOf2(mod)) : {}, __copyProps2(
// If the importer is in node compatibility mode or this is not an ESM
// file that has been converted to a CommonJS file using a Babel-
// compatible transform (i.e. "__esModule" has not been set), then set
// "default" to the CommonJS "module.exports" for node compatibility.
isNodeMode || !mod || !mod.__esModule ? __defProp2(target, "default", { value: mod, enumerable: true }) : target,
mod
)), "__toESM");
var __toCommonJS2 = /* @__PURE__ */ __name((mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod), "__toCommonJS");
var Accordion_exports = {};
__export2(Accordion_exports, {
Accordion: /* @__PURE__ */ __name(() => Accordion, "Accordion")
});
module2.exports = __toCommonJS2(Accordion_exports);
var import_collapsible = require_cjs11();
var import_collection2 = require_cjs13();
var import_compose_refs25 = require_cjs12();
var import_constants47 = require_cjs6();
var import_helpers29 = require_cjs7();
var import_stacks27 = require_cjs16();
var import_text9 = require_cjs18();
var import_use_controllable_state16 = require_cjs10();
var import_use_direction5 = require_cjs19();
var import_web21 = require("@tamagui/core");
var React75 = __toESM2(require("react"));
var import_jsx_runtime65 = require("react/jsx-runtime");
var ACCORDION_NAME = "Accordion";
var ACCORDION_KEYS = ["Home", "End", "ArrowDown", "ArrowUp", "ArrowLeft", "ArrowRight"];
var [Collection2, useCollection2] = (0, import_collection2.createCollection)(ACCORDION_NAME);
var ACCORDION_CONTEXT = "Accordion";
var AccordionComponent = React75.forwardRef((props, forwardedRef) => {
const { type, ...accordionProps } = props, singleProps = accordionProps, multipleProps = accordionProps;
return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(Collection2.Provider, { __scopeCollection: props.__scopeAccordion || ACCORDION_CONTEXT, children: type === "multiple" ? /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(AccordionImplMultiple, { ...multipleProps, ref: forwardedRef }) : /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(AccordionImplSingle, { ...singleProps, ref: forwardedRef }) });
});
AccordionComponent.displayName = ACCORDION_NAME;
AccordionComponent.propTypes = {
type(props) {
const value = props.value || props.defaultValue;
return props.type && !["single", "multiple"].includes(props.type) ? new Error(
"Invalid prop `type` supplied to `Accordion`. Expected one of `single | multiple`."
) : props.type === "multiple" && typeof value == "string" ? new Error(
"Invalid prop `type` supplied to `Accordion`. Expected `single` when `defaultValue` or `value` is type `string`."
) : props.type === "single" && Array.isArray(value) ? new Error(
"Invalid prop `type` supplied to `Accordion`. Expected `multiple` when `defaultValue` or `value` is type `string[]`."
) : null;
}
};
var { Provider: AccordionValueProvider, useStyledContext: useAccordionValueContext } = (0, import_web21.createStyledContext)();
var {
Provider: AccordionCollapsibleProvider,
useStyledContext: useAccordionCollapsibleContext
} = (0, import_web21.createStyledContext)();
var AccordionImplSingle = React75.forwardRef((props, forwardedRef) => {
const {
value: valueProp,
defaultValue: defaultValue2,
control,
onValueChange = /* @__PURE__ */ __name(() => {
}, "onValueChange"),
collapsible = false,
...accordionSingleProps
} = props, [value, setValue] = (0, import_use_controllable_state16.useControllableState)({
prop: valueProp,
defaultProp: defaultValue2 || "",
onChange: onValueChange
});
return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
AccordionValueProvider,
{
scope: props.__scopeAccordion,
value: value ? [value] : [],
onItemOpen: setValue,
onItemClose: React75.useCallback(
() => collapsible && setValue(""),
[setValue, collapsible]
),
children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
AccordionCollapsibleProvider,
{
scope: props.__scopeAccordion,
collapsible,
children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(AccordionImpl, { ...accordionSingleProps, ref: forwardedRef })
}
)
}
);
});
var AccordionImplMultiple = React75.forwardRef((props, forwardedRef) => {
const {
value: valueProp,
defaultValue: defaultValue2,
onValueChange = /* @__PURE__ */ __name(() => {
}, "onValueChange"),
...accordionMultipleProps
} = props, [value, setValue] = (0, import_use_controllable_state16.useControllableState)({
prop: valueProp,
defaultProp: defaultValue2 || [],
onChange: onValueChange
}), handleItemOpen = React75.useCallback(
(itemValue) => setValue((prevValue = []) => [...prevValue, itemValue]),
[setValue]
), handleItemClose = React75.useCallback(
(itemValue) => setValue((prevValue = []) => prevValue.filter((value2) => value2 !== itemValue)),
[setValue]
);
return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
AccordionValueProvider,
{
scope: props.__scopeAccordion,
value: value || [],
onItemOpen: handleItemOpen,
onItemClose: handleItemClose,
children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(AccordionCollapsibleProvider, { scope: props.__scopeAccordion, collapsible: true, children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(AccordionImpl, { ...accordionMultipleProps, ref: forwardedRef }) })
}
);
});
var { Provider: AccordionImplProvider, useStyledContext: useAccordionContext } = (0, import_web21.createStyledContext)();
var AccordionImpl = React75.forwardRef(
(props, forwardedRef) => {
const {
__scopeAccordion,
disabled,
dir,
orientation = "vertical",
...accordionProps
} = props, accordionRef = React75.useRef(null), composedRef = (0, import_compose_refs25.useComposedRefs)(accordionRef, forwardedRef), getItems = useCollection2(__scopeAccordion || ACCORDION_CONTEXT), isDirectionLTR = (0, import_use_direction5.useDirection)(dir) === "ltr", handleKeyDown = (0, import_helpers29.composeEventHandlers)(
props.onKeyDown,
(event) => {
if (!ACCORDION_KEYS.includes(event.key)) return;
const target = event.target, triggerCollection = getItems().filter((item) => !item.ref.current?.disabled), triggerIndex = triggerCollection.findIndex(
(item) => item.ref.current === target
), triggerCount = triggerCollection.length;
if (triggerIndex === -1) return;
event.preventDefault();
let nextIndex = triggerIndex;
const homeIndex = 0, endIndex = triggerCount - 1, moveNext = /* @__PURE__ */ __name(() => {
nextIndex = triggerIndex + 1, nextIndex > endIndex && (nextIndex = homeIndex);
}, "moveNext"), movePrev = /* @__PURE__ */ __name(() => {
nextIndex = triggerIndex - 1, nextIndex < homeIndex && (nextIndex = endIndex);
}, "movePrev");
switch (event.key) {
case "Home":
nextIndex = homeIndex;
break;
case "End":
nextIndex = endIndex;
break;
case "ArrowRight":
orientation === "horizontal" && (isDirectionLTR ? moveNext() : movePrev());
break;
case "ArrowDown":
orientation === "vertical" && moveNext();
break;
case "ArrowLeft":
orientation === "horizontal" && (isDirectionLTR ? movePrev() : moveNext());
break;
case "ArrowUp":
orientation === "vertical" && movePrev();
break;
}
const clampedIndex = nextIndex % triggerCount;
triggerCollection[clampedIndex].ref.current?.focus();
}
);
return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
AccordionImplProvider,
{
scope: __scopeAccordion,
disabled,
direction: dir,
orientation,
children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(Collection2.Slot, { __scopeCollection: __scopeAccordion || ACCORDION_CONTEXT, children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
import_stacks27.YStack,
{
"data-orientation": orientation,
ref: composedRef,
...accordionProps,
...import_constants47.isWeb && {
onKeyDown: handleKeyDown
}
}
) })
}
);
}
);
var ITEM_NAME3 = "AccordionItem";
var { Provider: AccordionItemProvider, useStyledContext: useAccordionItemContext } = (0, import_web21.createStyledContext)();
var AccordionItem = React75.forwardRef(
(props, forwardedRef) => {
const { __scopeAccordion, value, ...accordionItemProps } = props, accordionContext = useAccordionContext(__scopeAccordion), valueContext = useAccordionValueContext(__scopeAccordion), triggerId = React75.useId(), open = value && valueContext.value.includes(value) || false, disabled = accordionContext.disabled || props.disabled;
return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
AccordionItemProvider,
{
scope: __scopeAccordion,
open,
disabled,
triggerId,
children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
import_collapsible.Collapsible,
{
"data-orientation": accordionContext.orientation,
"data-state": open ? "open" : "closed",
__scopeCollapsible: __scopeAccordion || ACCORDION_CONTEXT,
...accordionItemProps,
ref: forwardedRef,
disabled,
open,
onOpenChange: /* @__PURE__ */ __name((open2) => {
open2 ? valueContext.onItemOpen(value) : valueContext.onItemClose(value);
}, "onOpenChange")
}
)
}
);
}
);
AccordionItem.displayName = ITEM_NAME3;
var HEADER_NAME = "AccordionHeader";
var AccordionHeader = React75.forwardRef(
(props, forwardedRef) => {
const { __scopeAccordion, ...headerProps } = props, accordionContext = useAccordionContext(__scopeAccordion), itemContext = useAccordionItemContext(__scopeAccordion);
return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
import_text9.H1,
{
"data-orientation": accordionContext.orientation,
"data-state": getState6(itemContext.open),
"data-disabled": itemContext.disabled ? "" : void 0,
...headerProps,
ref: forwardedRef
}
);
}
);
AccordionHeader.displayName = HEADER_NAME;
var AccordionTriggerFrame = (0, import_web21.styled)(import_collapsible.Collapsible.Trigger, {
variants: {
unstyled: {
false: {
cursor: "pointer",
backgroundColor: "$background",
borderColor: "$borderColor",
borderWidth: 1,
padding: "$true",
hoverStyle: {
backgroundColor: "$backgroundHover"
},
focusStyle: {
backgroundColor: "$backgroundFocus"
},
pressStyle: {
backgroundColor: "$backgroundPress"
}
}
}
},
defaultVariants: {
unstyled: process.env.TAMAGUI_HEADLESS === "1"
}
});
var AccordionTrigger = AccordionTriggerFrame.styleable(function(props, forwardedRef) {
const { __scopeAccordion, ...triggerProps } = props, accordionContext = useAccordionContext(__scopeAccordion), itemContext = useAccordionItemContext(__scopeAccordion), collapsibleContext = useAccordionCollapsibleContext(__scopeAccordion);
return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(Collection2.ItemSlot, { __scopeCollection: __scopeAccordion || ACCORDION_CONTEXT, children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
AccordionTriggerFrame,
{
__scopeCollapsible: __scopeAccordion || ACCORDION_CONTEXT,
"aria-disabled": itemContext.open && !collapsibleContext.collapsible || void 0,
"data-orientation": accordionContext.orientation,
id: itemContext.triggerId,
...triggerProps,
ref: forwardedRef
}
) });
});
var AccordionContentFrame = (0, import_web21.styled)(import_collapsible.Collapsible.Content, {
variants: {
unstyled: {
false: {
padding: "$true",
backgroundColor: "$background"
}
}
},
defaultVariants: {
unstyled: process.env.TAMAGUI_HEADLESS === "1"
}
});
var AccordionContent = AccordionContentFrame.styleable(function(props, forwardedRef) {
const { __scopeAccordion, ...contentProps } = props, accordionContext = useAccordionContext(__scopeAccordion), itemContext = useAccordionItemContext(__scopeAccordion);
return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
AccordionContentFrame,
{
role: "region",
"aria-labelledby": itemContext.triggerId,
"data-orientation": accordionContext.orientation,
__scopeCollapsible: __scopeAccordion || ACCORDION_CONTEXT,
...contentProps,
ref: forwardedRef
}
);
});
var HeightAnimator = import_web21.View.styleable((props, ref) => {
const itemContext = useAccordionItemContext(), { children, ...rest } = props, [height, setHeight] = React75.useState(0), onLayout = (0, import_web21.useEvent)(({ nativeEvent }) => {
nativeEvent.layout.height && setHeight(nativeEvent.layout.height);
});
return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_web21.View, { ref, height: itemContext.open ? height : 0, ...rest, children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
import_web21.View,
{
position: "absolute",
width: "100%",
onLayout,
children
}
) });
});
function getState6(open) {
return open ? "open" : "closed";
}
__name(getState6, "getState");
var Accordion = (0, import_helpers29.withStaticProperties)(AccordionComponent, {
Trigger: AccordionTrigger,
Header: AccordionHeader,
Content: AccordionContent,
Item: AccordionItem,
HeightAnimator
});
}
});
// node_modules/@tamagui/accordion/dist/cjs/index.js
var require_cjs20 = __commonJS({
"node_modules/@tamagui/accordion/dist/cjs/index.js"(exports2, module2) {
var __defProp2 = Object.defineProperty;
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
var __getOwnPropNames2 = Object.getOwnPropertyNames;
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
var __copyProps2 = /* @__PURE__ */ __name((to, from, except, desc) => {
if (from && typeof from == "object" || typeof from == "function")
for (let key of __getOwnPropNames2(from))
!__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, { get: /* @__PURE__ */ __name(() => from[key], "get"), enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable });
return to;
}, "__copyProps");
var __reExport2 = /* @__PURE__ */ __name((target, mod, secondTarget) => (__copyProps2(target, mod, "default"), secondTarget && __copyProps2(secondTarget, mod, "default")), "__reExport");
var __toCommonJS2 = /* @__PURE__ */ __name((mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod), "__toCommonJS");
var index_exports = {};
module2.exports = __toCommonJS2(index_exports);
__reExport2(index_exports, require_Accordion(), module2.exports);
}
});
// node_modules/aria-hidden/dist/es5/index.js
var require_es5 = __commonJS({
"node_modules/aria-hidden/dist/es5/index.js"(exports2) {
"use strict";
Object.defineProperty(exports2, "__esModule", { value: true });
exports2.suppressOthers = exports2.supportsInert = exports2.inertOthers = exports2.hideOthers = void 0;
var getDefaultParent = /* @__PURE__ */ __name(function(originalTarget) {
if (typeof document === "undefined") {
return null;
}
var sampleTarget = Array.isArray(originalTarget) ? originalTarget[0] : originalTarget;
return sampleTarget.ownerDocument.body;
}, "getDefaultParent");
var counterMap2 = /* @__PURE__ */ new WeakMap();
var uncontrolledNodes = /* @__PURE__ */ new WeakMap();
var markerMap2 = {};
var lockCount2 = 0;
var unwrapHost2 = /* @__PURE__ */ __name(function(node) {
return node && (node.host || unwrapHost2(node.parentNode));
}, "unwrapHost");
var correctTargets = /* @__PURE__ */ __name(function(parent, targets) {
return targets.map(function(target) {
if (parent.contains(target)) {
return target;
}
var correctedTarget = unwrapHost2(target);
if (correctedTarget && parent.contains(correctedTarget)) {
return correctedTarget;
}
console.error("aria-hidden", target, "in not contained inside", parent, ". Doing nothing");
return null;
}).filter(function(x) {
return Boolean(x);
});
}, "correctTargets");
var applyAttributeToOthers2 = /* @__PURE__ */ __name(function(originalTarget, parentNode, markerName, controlAttribute) {
var targets = correctTargets(parentNode, Array.isArray(originalTarget) ? originalTarget : [originalTarget]);
if (!markerMap2[markerName]) {
markerMap2[markerName] = /* @__PURE__ */ new WeakMap();
}
var markerCounter = markerMap2[markerName];
var hiddenNodes = [];
var elementsToKeep = /* @__PURE__ */ new Set();
var elementsToStop = new Set(targets);
var keep = /* @__PURE__ */ __name(function(el) {
if (!el || elementsToKeep.has(el)) {
return;
}
elementsToKeep.add(el);
keep(el.parentNode);
}, "keep");
targets.forEach(keep);
var deep = /* @__PURE__ */ __name(function(parent) {
if (!parent || elementsToStop.has(parent)) {
return;
}
Array.prototype.forEach.call(parent.children, function(node) {
if (elementsToKeep.has(node)) {
deep(node);
} else {
try {
var attr2 = node.getAttribute(controlAttribute);
var alreadyHidden = attr2 !== null && attr2 !== "false";
var counterValue = (counterMap2.get(node) || 0) + 1;
var markerValue = (markerCounter.get(node) || 0) + 1;
counterMap2.set(node, counterValue);
markerCounter.set(node, markerValue);
hiddenNodes.push(node);
if (counterValue === 1 && alreadyHidden) {
uncontrolledNodes.set(node, true);
}
if (markerValue === 1) {
node.setAttribute(markerName, "true");
}
if (!alreadyHidden) {
node.setAttribute(controlAttribute, "true");
}
} catch (e) {
console.error("aria-hidden: cannot operate on ", node, e);
}
}
});
}, "deep");
deep(parentNode);
elementsToKeep.clear();
lockCount2++;
return function() {
hiddenNodes.forEach(function(node) {
var counterValue = counterMap2.get(node) - 1;
var markerValue = markerCounter.get(node) - 1;
counterMap2.set(node, counterValue);
markerCounter.set(node, markerValue);
if (!counterValue) {
if (!uncontrolledNodes.has(node)) {
node.removeAttribute(controlAttribute);
}
uncontrolledNodes.delete(node);
}
if (!markerValue) {
node.removeAttribute(markerName);
}
});
lockCount2--;
if (!lockCount2) {
counterMap2 = /* @__PURE__ */ new WeakMap();
counterMap2 = /* @__PURE__ */ new WeakMap();
uncontrolledNodes = /* @__PURE__ */ new WeakMap();
markerMap2 = {};
}
};
}, "applyAttributeToOthers");
var hideOthers2 = /* @__PURE__ */ __name(function(originalTarget, parentNode, markerName) {
if (markerName === void 0) {
markerName = "data-aria-hidden";
}
var targets = Array.from(Array.isArray(originalTarget) ? originalTarget : [originalTarget]);
var activeParentNode = parentNode || getDefaultParent(originalTarget);
if (!activeParentNode) {
return function() {
return null;
};
}
targets.push.apply(targets, Array.from(activeParentNode.querySelectorAll("[aria-live]")));
return applyAttributeToOthers2(targets, activeParentNode, markerName, "aria-hidden");
}, "hideOthers");
exports2.hideOthers = hideOthers2;
var inertOthers = /* @__PURE__ */ __name(function(originalTarget, parentNode, markerName) {
if (markerName === void 0) {
markerName = "data-inert-ed";
}
var activeParentNode = parentNode || getDefaultParent(originalTarget);
if (!activeParentNode) {
return function() {
return null;
};
}
return applyAttributeToOthers2(originalTarget, activeParentNode, markerName, "inert");
}, "inertOthers");
exports2.inertOthers = inertOthers;
var supportsInert2 = /* @__PURE__ */ __name(function() {
return typeof HTMLElement !== "undefined" && HTMLElement.prototype.hasOwnProperty("inert");
}, "supportsInert");
exports2.supportsInert = supportsInert2;
var suppressOthers = /* @__PURE__ */ __name(function(originalTarget, parentNode, markerName) {
if (markerName === void 0) {
markerName = "data-suppressed";
}
return ((0, exports2.supportsInert)() ? exports2.inertOthers : exports2.hideOthers)(originalTarget, parentNode, markerName);
}, "suppressOthers");
exports2.suppressOthers = suppressOthers;
}
});
// node_modules/tslib/tslib.es6.mjs
var tslib_es6_exports = {};
__export(tslib_es6_exports, {
__addDisposableResource: () => __addDisposableResource,
__assign: () => __assign,
__asyncDelegator: () => __asyncDelegator,
__asyncGenerator: () => __asyncGenerator,
__asyncValues: () => __asyncValues,
__await: () => __await,
__awaiter: () => __awaiter,
__classPrivateFieldGet: () => __classPrivateFieldGet,
__classPrivateFieldIn: () => __classPrivateFieldIn,
__classPrivateFieldSet: () => __classPrivateFieldSet,
__createBinding: () => __createBinding,
__decorate: () => __decorate,
__disposeResources: () => __disposeResources,
__esDecorate: () => __esDecorate,
__exportStar: () => __exportStar,
__extends: () => __extends,
__generator: () => __generator,
__importDefault: () => __importDefault,
__importStar: () => __importStar,
__makeTemplateObject: () => __makeTemplateObject,
__metadata: () => __metadata,
__param: () => __param,
__propKey: () => __propKey,
__read: () => __read,
__rest: () => __rest,
__rewriteRelativeImportExtension: () => __rewriteRelativeImportExtension,
__runInitializers: () => __runInitializers,
__setFunctionName: () => __setFunctionName,
__spread: () => __spread,
__spreadArray: () => __spreadArray,
__spreadArrays: () => __spreadArrays,
__values: () => __values,
default: () => tslib_es6_default
});
function __extends(d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() {
this.constructor = d;
}
__name(__, "__");
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
}
function __rest(s, e) {
var t = {};
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function")
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
t[p[i]] = s[p[i]];
}
return t;
}
function __decorate(decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
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;
return c > 3 && r && Object.defineProperty(target, key, r), r;
}
function __param(paramIndex, decorator) {
return function(target, key) {
decorator(target, key, paramIndex);
};
}
function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {
function accept(f) {
if (f !== void 0 && typeof f !== "function") throw new TypeError("Function expected");
return f;
}
__name(accept, "accept");
var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";
var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;
var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
var _, done = false;
for (var i = decorators.length - 1; i >= 0; i--) {
var context2 = {};
for (var p in contextIn) context2[p] = p === "access" ? {} : contextIn[p];
for (var p in contextIn.access) context2.access[p] = contextIn.access[p];
context2.addInitializer = function(f) {
if (done) throw new TypeError("Cannot add initializers after decoration has completed");
extraInitializers.push(accept(f || null));
};
var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context2);
if (kind === "accessor") {
if (result === void 0) continue;
if (result === null || typeof result !== "object") throw new TypeError("Object expected");
if (_ = accept(result.get)) descriptor.get = _;
if (_ = accept(result.set)) descriptor.set = _;
if (_ = accept(result.init)) initializers.unshift(_);
} else if (_ = accept(result)) {
if (kind === "field") initializers.unshift(_);
else descriptor[key] = _;
}
}
if (target) Object.defineProperty(target, contextIn.name, descriptor);
done = true;
}
function __runInitializers(thisArg, initializers, value) {
var useValue = arguments.length > 2;
for (var i = 0; i < initializers.length; i++) {
value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);
}
return useValue ? value : void 0;
}
function __propKey(x) {
return typeof x === "symbol" ? x : "".concat(x);
}
function __setFunctionName(f, name, prefix) {
if (typeof name === "symbol") name = name.description ? "[".concat(name.description, "]") : "";
return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
}
function __metadata(metadataKey, metadataValue) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
}
function __awaiter(thisArg, _arguments, P, generator) {
function adopt(value) {
return value instanceof P ? value : new P(function(resolve) {
resolve(value);
});
}
__name(adopt, "adopt");
return new (P || (P = Promise))(function(resolve, reject) {
function fulfilled(value) {
try {
step(generator.next(value));
} catch (e) {
reject(e);
}
}
__name(fulfilled, "fulfilled");
function rejected(value) {
try {
step(generator["throw"](value));
} catch (e) {
reject(e);
}
}
__name(rejected, "rejected");
function step(result) {
result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
}
__name(step, "step");
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
}
function __generator(thisArg, body) {
var _ = { label: 0, sent: /* @__PURE__ */ __name(function() {
if (t[0] & 1) throw t[1];
return t[1];
}, "sent"), trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() {
return this;
}), g;
function verb(n) {
return function(v) {
return step([n, v]);
};
}
__name(verb, "verb");
function step(op) {
if (f) throw new TypeError("Generator is already executing.");
while (g && (g = 0, op[0] && (_ = 0)), _) try {
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;
if (y = 0, t) op = [op[0] & 2, t.value];
switch (op[0]) {
case 0:
case 1:
t = op;
break;
case 4:
_.label++;
return { value: op[1], done: false };
case 5:
_.label++;
y = op[1];
op = [0];
continue;
case 7:
op = _.ops.pop();
_.trys.pop();
continue;
default:
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
_ = 0;
continue;
}
if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
_.label = op[1];
break;
}
if (op[0] === 6 && _.label < t[1]) {
_.label = t[1];
t = op;
break;
}
if (t && _.label < t[2]) {
_.label = t[2];
_.ops.push(op);
break;
}
if (t[2]) _.ops.pop();
_.trys.pop();
continue;
}
op = body.call(thisArg, _);
} catch (e) {
op = [6, e];
y = 0;
} finally {
f = t = 0;
}
if (op[0] & 5) throw op[1];
return { value: op[0] ? op[1] : void 0, done: true };
}
__name(step, "step");
}
function __exportStar(m, o) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);
}
function __values(o) {
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
if (m) return m.call(o);
if (o && typeof o.length === "number") return {
next: /* @__PURE__ */ __name(function() {
if (o && i >= o.length) o = void 0;
return { value: o && o[i++], done: !o };
}, "next")
};
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
}
function __read(o, n) {
var m = typeof Symbol === "function" && o[Symbol.iterator];
if (!m) return o;
var i = m.call(o), r, ar = [], e;
try {
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
} catch (error2) {
e = { error: error2 };
} finally {
try {
if (r && !r.done && (m = i["return"])) m.call(i);
} finally {
if (e) throw e.error;
}
}
return ar;
}
function __spread() {
for (var ar = [], i = 0; i < arguments.length; i++)
ar = ar.concat(__read(arguments[i]));
return ar;
}
function __spreadArrays() {
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
for (var r = Array(s), k = 0, i = 0; i < il; i++)
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
r[k] = a[j];
return r;
}
function __spreadArray(to, from, pack) {
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
if (ar || !(i in from)) {
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
ar[i] = from[i];
}
}
return to.concat(ar || Array.prototype.slice.call(from));
}
function __await(v) {
return this instanceof __await ? (this.v = v, this) : new __await(v);
}
function __asyncGenerator(thisArg, _arguments, generator) {
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
var g = generator.apply(thisArg, _arguments || []), i, q = [];
return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function() {
return this;
}, i;
function awaitReturn(f) {
return function(v) {
return Promise.resolve(v).then(f, reject);
};
}
__name(awaitReturn, "awaitReturn");
function verb(n, f) {
if (g[n]) {
i[n] = function(v) {
return new Promise(function(a, b) {
q.push([n, v, a, b]) > 1 || resume(n, v);
});
};
if (f) i[n] = f(i[n]);
}
}
__name(verb, "verb");
function resume(n, v) {
try {
step(g[n](v));
} catch (e) {
settle(q[0][3], e);
}
}
__name(resume, "resume");
function step(r) {
r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r);
}
__name(step, "step");
function fulfill(value) {
resume("next", value);
}
__name(fulfill, "fulfill");
function reject(value) {
resume("throw", value);
}
__name(reject, "reject");
function settle(f, v) {
if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]);
}
__name(settle, "settle");
}
function __asyncDelegator(o) {
var i, p;
return i = {}, verb("next"), verb("throw", function(e) {
throw e;
}), verb("return"), i[Symbol.iterator] = function() {
return this;
}, i;
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;
}
__name(verb, "verb");
}
function __asyncValues(o) {
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
var m = o[Symbol.asyncIterator], i;
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);
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);
});
};
}
__name(verb, "verb");
function settle(resolve, reject, d, v) {
Promise.resolve(v).then(function(v2) {
resolve({ value: v2, done: d });
}, reject);
}
__name(settle, "settle");
}
function __makeTemplateObject(cooked, raw) {
if (Object.defineProperty) {
Object.defineProperty(cooked, "raw", { value: raw });
} else {
cooked.raw = raw;
}
return cooked;
}
function __importStar(mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) {
for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
}
__setModuleDefault(result, mod);
return result;
}
function __importDefault(mod) {
return mod && mod.__esModule ? mod : { default: mod };
}
function __classPrivateFieldGet(receiver, state, kind, f) {
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
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");
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
}
function __classPrivateFieldSet(receiver, state, value, kind, f) {
if (kind === "m") throw new TypeError("Private method is not writable");
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
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");
return kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value), value;
}
function __classPrivateFieldIn(state, receiver) {
if (receiver === null || typeof receiver !== "object" && typeof receiver !== "function") throw new TypeError("Cannot use 'in' operator on non-object");
return typeof state === "function" ? receiver === state : state.has(receiver);
}
function __addDisposableResource(env, value, async) {
if (value !== null && value !== void 0) {
if (typeof value !== "object" && typeof value !== "function") throw new TypeError("Object expected.");
var dispose, inner2;
if (async) {
if (!Symbol.asyncDispose) throw new TypeError("Symbol.asyncDispose is not defined.");
dispose = value[Symbol.asyncDispose];
}
if (dispose === void 0) {
if (!Symbol.dispose) throw new TypeError("Symbol.dispose is not defined.");
dispose = value[Symbol.dispose];
if (async) inner2 = dispose;
}
if (typeof dispose !== "function") throw new TypeError("Object not disposable.");
if (inner2) dispose = /* @__PURE__ */ __name(function() {
try {
inner2.call(this);
} catch (e) {
return Promise.reject(e);
}
}, "dispose");
env.stack.push({ value, dispose, async });
} else if (async) {
env.stack.push({ async: true });
}
return value;
}
function __disposeResources(env) {
function fail(e) {
env.error = env.hasError ? new _SuppressedError(e, env.error, "An error was suppressed during disposal.") : e;
env.hasError = true;
}
__name(fail, "fail");
var r, s = 0;
function next() {
while (r = env.stack.pop()) {
try {
if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next);
if (r.dispose) {
var result = r.dispose.call(r.value);
if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) {
fail(e);
return next();
});
} else s |= 1;
} catch (e) {
fail(e);
}
}
if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve();
if (env.hasError) throw env.error;
}
__name(next, "next");
return next();
}
function __rewriteRelativeImportExtension(path, preserveJsx) {
if (typeof path === "string" && /^\.\.?\//.test(path)) {
return path.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i, function(m, tsx, d, ext, cm) {
return tsx ? preserveJsx ? ".jsx" : ".js" : d && (!ext || !cm) ? m : d + ext + "." + cm.toLowerCase() + "js";
});
}
return path;
}
var extendStatics, __assign, __createBinding, __setModuleDefault, ownKeys, _SuppressedError, tslib_es6_default;
var init_tslib_es6 = __esm({
"node_modules/tslib/tslib.es6.mjs"() {
extendStatics = /* @__PURE__ */ __name(function(d, b) {
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
d2.__proto__ = b2;
} || function(d2, b2) {
for (var p in b2) if (Object.prototype.hasOwnProperty.call(b2, p)) d2[p] = b2[p];
};
return extendStatics(d, b);
}, "extendStatics");
__name(__extends, "__extends");
__assign = /* @__PURE__ */ __name(function() {
__assign = Object.assign || /* @__PURE__ */ __name(function __assign2(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
}
return t;
}, "__assign");
return __assign.apply(this, arguments);
}, "__assign");
__name(__rest, "__rest");
__name(__decorate, "__decorate");
__name(__param, "__param");
__name(__esDecorate, "__esDecorate");
__name(__runInitializers, "__runInitializers");
__name(__propKey, "__propKey");
__name(__setFunctionName, "__setFunctionName");
__name(__metadata, "__metadata");
__name(__awaiter, "__awaiter");
__name(__generator, "__generator");
__createBinding = Object.create ? function(o, m, k, k2) {
if (k2 === void 0) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: /* @__PURE__ */ __name(function() {
return m[k];
}, "get") };
}
Object.defineProperty(o, k2, desc);
} : function(o, m, k, k2) {
if (k2 === void 0) k2 = k;
o[k2] = m[k];
};
__name(__exportStar, "__exportStar");
__name(__values, "__values");
__name(__read, "__read");
__name(__spread, "__spread");
__name(__spreadArrays, "__spreadArrays");
__name(__spreadArray, "__spreadArray");
__name(__await, "__await");
__name(__asyncGenerator, "__asyncGenerator");
__name(__asyncDelegator, "__asyncDelegator");
__name(__asyncValues, "__asyncValues");
__name(__makeTemplateObject, "__makeTemplateObject");
__setModuleDefault = Object.create ? function(o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
} : function(o, v) {
o["default"] = v;
};
ownKeys = /* @__PURE__ */ __name(function(o) {
ownKeys = Object.getOwnPropertyNames || function(o2) {
var ar = [];
for (var k in o2) if (Object.prototype.hasOwnProperty.call(o2, k)) ar[ar.length] = k;
return ar;
};
return ownKeys(o);
}, "ownKeys");
__name(__importStar, "__importStar");
__name(__importDefault, "__importDefault");
__name(__classPrivateFieldGet, "__classPrivateFieldGet");
__name(__classPrivateFieldSet, "__classPrivateFieldSet");
__name(__classPrivateFieldIn, "__classPrivateFieldIn");
__name(__addDisposableResource, "__addDisposableResource");
_SuppressedError = typeof SuppressedError === "function" ? SuppressedError : function(error2, suppressed, message) {
var e = new Error(message);
return e.name = "SuppressedError", e.error = error2, e.suppressed = suppressed, e;
};
__name(__disposeResources, "__disposeResources");
__name(__rewriteRelativeImportExtension, "__rewriteRelativeImportExtension");
tslib_es6_default = {
__extends,
__assign,
__rest,
__decorate,
__param,
__esDecorate,
__runInitializers,
__propKey,
__setFunctionName,
__metadata,
__awaiter,
__generator,
__createBinding,
__exportStar,
__values,
__read,
__spread,
__spreadArrays,
__spreadArray,
__await,
__asyncGenerator,
__asyncDelegator,
__asyncValues,
__makeTemplateObject,
__importStar,
__importDefault,
__classPrivateFieldGet,
__classPrivateFieldSet,
__classPrivateFieldIn,
__addDisposableResource,
__disposeResources,
__rewriteRelativeImportExtension
};
}
});
// node_modules/react-remove-scroll-bar/dist/es5/constants.js
var require_constants2 = __commonJS({
"node_modules/react-remove-scroll-bar/dist/es5/constants.js"(exports2) {
"use strict";
Object.defineProperty(exports2, "__esModule", { value: true });
exports2.removedBarSizeVariable = exports2.noScrollbarsClassName = exports2.fullWidthClassName = exports2.zeroRightClassName = void 0;
exports2.zeroRightClassName = "right-scroll-bar-position";
exports2.fullWidthClassName = "width-before-scroll-bar";
exports2.noScrollbarsClassName = "with-scroll-bars-hidden";
exports2.removedBarSizeVariable = "--removed-body-scroll-bar-size";
}
});
// node_modules/use-callback-ref/dist/es5/assignRef.js
var require_assignRef = __commonJS({
"node_modules/use-callback-ref/dist/es5/assignRef.js"(exports2) {
"use strict";
Object.defineProperty(exports2, "__esModule", { value: true });
exports2.assignRef = void 0;
function assignRef(ref, value) {
if (typeof ref === "function") {
ref(value);
} else if (ref) {
ref.current = value;
}
return ref;
gitextract_y30i_vf3/ ├── .containerignore ├── .eslintignore ├── .eslintrc.js ├── .gitattributes ├── .github/ │ ├── ISSUE_TEMPLATE/ │ │ ├── bug_report.md │ │ └── feature_request.md │ └── workflows/ │ ├── build.yml │ └── release.yml ├── .gitignore ├── .husky/ │ └── pre-commit ├── .npmrc ├── .prettierrc ├── .tamagui/ │ ├── tamagui-components.config.cjs │ ├── tamagui.config.cjs │ ├── tamagui.config.json │ └── theme-builder.json ├── .vscode/ │ ├── .debug.script.mjs │ ├── extensions.json │ ├── launch.json │ ├── settings.json │ └── tasks.json ├── Containerfile ├── LICENSE ├── Makefile ├── README.md ├── build/ │ └── Icon.icns ├── components.json ├── electron/ │ ├── electron-env.d.ts │ ├── main/ │ │ ├── common/ │ │ │ ├── chunking.ts │ │ │ ├── error.ts │ │ │ ├── network.ts │ │ │ └── windowManager.ts │ │ ├── electron-store/ │ │ │ ├── ipcHandlers.ts │ │ │ ├── storeConfig.ts │ │ │ ├── storeSchemaMigrator.ts │ │ │ └── types.ts │ │ ├── electron-utils/ │ │ │ └── ipcHandlers.ts │ │ ├── filesystem/ │ │ │ ├── filesystem.test.ts │ │ │ ├── filesystem.ts │ │ │ ├── ipcHandlers.ts │ │ │ ├── storage/ │ │ │ │ ├── ImageStore.ts │ │ │ │ ├── MediaStore.ts │ │ │ │ └── VideoStore.ts │ │ │ └── types.ts │ │ ├── index.ts │ │ ├── llm/ │ │ │ ├── contextLimit.ts │ │ │ ├── ipcHandlers.ts │ │ │ ├── llmConfig.ts │ │ │ ├── models/ │ │ │ │ └── ollama.ts │ │ │ ├── types.ts │ │ │ └── utils.ts │ │ ├── path/ │ │ │ ├── ipcHandlers.ts │ │ │ └── path.ts │ │ └── vector-database/ │ │ ├── database.test.ts │ │ ├── downloadModelsFromHF.ts │ │ ├── embeddings.ts │ │ ├── ipcHandlers.ts │ │ ├── lance.ts │ │ ├── lanceTableWrapper.ts │ │ ├── schema.ts │ │ └── tableHelperFunctions.ts │ └── preload/ │ └── index.ts ├── electron-builder.json5 ├── index.html ├── node ├── npx ├── package.json ├── postcss.config.cjs ├── postcss.config.js ├── reor-project@0.2.31 ├── scripts/ │ ├── downloadOllama.js │ └── notarize.js ├── shared/ │ ├── defaultLLMs.ts │ └── utils.ts ├── src/ │ ├── App.tsx │ ├── components/ │ │ ├── Chat/ │ │ │ ├── ChatConfigComponents/ │ │ │ │ ├── DBSearchFilters.tsx │ │ │ │ ├── PromptEditor.tsx │ │ │ │ ├── ToolSelector.tsx │ │ │ │ └── exampleAgents.ts │ │ │ ├── ChatInput.tsx │ │ │ ├── ChatMessages.tsx │ │ │ ├── ChatPrompts.tsx │ │ │ ├── ChatSidebar.tsx │ │ │ ├── MessageComponents/ │ │ │ │ ├── AssistantMessage.tsx │ │ │ │ ├── ChatSources.tsx │ │ │ │ ├── SystemMessage.tsx │ │ │ │ ├── ToolCalls.tsx │ │ │ │ └── UserMessage.tsx │ │ │ ├── StartChat.tsx │ │ │ └── index.tsx │ │ ├── Common/ │ │ │ ├── CommonModals.tsx │ │ │ ├── EmptyPage.tsx │ │ │ ├── ExternalLink.tsx │ │ │ ├── IndexingProgress.tsx │ │ │ ├── MarkdownRenderer.tsx │ │ │ ├── Modal.tsx │ │ │ └── ResizableComponent.tsx │ │ ├── Editor/ │ │ │ ├── BacklinkExtension.tsx │ │ │ ├── BacklinkSuggestionsDisplay.tsx │ │ │ ├── EditorManager.tsx │ │ │ ├── HighlightExtension.tsx │ │ │ ├── RichTextLink.tsx │ │ │ ├── Search/ │ │ │ │ ├── SearchAndReplaceExtension.tsx │ │ │ │ └── SearchBar.tsx │ │ │ ├── editor.css │ │ │ ├── schema.ts │ │ │ ├── slash-menu-items.tsx │ │ │ ├── types/ │ │ │ │ ├── Image/ │ │ │ │ │ └── image.tsx │ │ │ │ ├── Video/ │ │ │ │ │ └── video.tsx │ │ │ │ ├── index.ts │ │ │ │ ├── media-container.tsx │ │ │ │ ├── media-render.tsx │ │ │ │ └── utils.ts │ │ │ ├── ui/ │ │ │ │ └── src/ │ │ │ │ ├── TamaguiPopover.tsx │ │ │ │ ├── TamaguiPopoverUseFloatingContext.tsx │ │ │ │ ├── TamaguiPopper.tsx │ │ │ │ ├── TamaguiTooltip.tsx │ │ │ │ ├── button.ts │ │ │ │ ├── container.tsx │ │ │ │ ├── embed-links.tsx │ │ │ │ ├── generated-themes.ts │ │ │ │ ├── global.ts │ │ │ │ ├── helpers.ts │ │ │ │ ├── icons.tsx │ │ │ │ ├── index.tsx │ │ │ │ ├── input.ts │ │ │ │ ├── menu-item.tsx │ │ │ │ ├── resize-handle.ts │ │ │ │ ├── section.tsx │ │ │ │ ├── tamagui/ │ │ │ │ │ ├── config/ │ │ │ │ │ │ ├── animations.ts │ │ │ │ │ │ ├── create-generic-font.ts │ │ │ │ │ │ ├── fonts.ts │ │ │ │ │ │ ├── media.ts │ │ │ │ │ │ └── mediaEmbed.ts │ │ │ │ │ ├── tamagui.config.ts │ │ │ │ │ └── themes/ │ │ │ │ │ ├── colors.ts │ │ │ │ │ ├── componentThemeDefinitions.tsx │ │ │ │ │ ├── helpers.ts │ │ │ │ │ ├── masks.tsx │ │ │ │ │ ├── palettes.tsx │ │ │ │ │ ├── shadows.tsx │ │ │ │ │ ├── templates.tsx │ │ │ │ │ ├── theme.ts │ │ │ │ │ ├── themes-generated.ts │ │ │ │ │ ├── token-colors.ts │ │ │ │ │ ├── token-radius.ts │ │ │ │ │ ├── token-size.ts │ │ │ │ │ ├── token-space.ts │ │ │ │ │ └── token-z-index.ts │ │ │ │ ├── toggle.tsx │ │ │ │ └── tooltip.tsx │ │ │ └── utils.ts │ │ ├── File/ │ │ │ ├── DBResultPreview.tsx │ │ │ ├── NewDirectory.tsx │ │ │ ├── RenameDirectory.tsx │ │ │ └── RenameNote.tsx │ │ ├── MainPage.tsx │ │ ├── Settings/ │ │ │ ├── AnalyticsSettings.tsx │ │ │ ├── ChunkSizeSettings.tsx │ │ │ ├── DirectorySelector.tsx │ │ │ ├── EmbeddingSettings/ │ │ │ │ ├── EmbeddingModelSelect.tsx │ │ │ │ ├── EmbeddingSettings.tsx │ │ │ │ ├── InitialEmbeddingSettings.tsx │ │ │ │ └── modals/ │ │ │ │ └── NewRemoteEmbeddingModel.tsx │ │ │ ├── GeneralSettings.tsx │ │ │ ├── InitialSettingsSinglePage.tsx │ │ │ ├── LLMSettings/ │ │ │ │ ├── DefaultLLMSelector.tsx │ │ │ │ ├── InitialSetupLLMSettings.tsx │ │ │ │ ├── LLMSelectOrButton.tsx │ │ │ │ ├── LLMSettingsContent.tsx │ │ │ │ └── modals/ │ │ │ │ ├── CustomLLMAPISetup.tsx │ │ │ │ ├── DefaultLLMAPISetupModal.tsx │ │ │ │ ├── NewOllamaModel.tsx │ │ │ │ └── utils.ts │ │ │ ├── Settings.tsx │ │ │ └── Shared/ │ │ │ └── SettingsRow.tsx │ │ ├── Sidebars/ │ │ │ ├── FileSideBar/ │ │ │ │ ├── FileItemRows.tsx │ │ │ │ └── FileSidebar.tsx │ │ │ ├── IconsSidebar.tsx │ │ │ ├── MainSidebar.tsx │ │ │ ├── SearchComponent.tsx │ │ │ ├── SemanticSidebar/ │ │ │ │ ├── HighlightButton.tsx │ │ │ │ └── SimilarEntriesComponent.tsx │ │ │ └── SimilarFilesSidebar.tsx │ │ ├── TitleBar/ │ │ │ ├── NavigationButtons.tsx │ │ │ └── TitleBar.tsx │ │ ├── WritingAssistant/ │ │ │ ├── ConversationHistory.tsx │ │ │ ├── WritingAssistant.tsx │ │ │ └── utils.ts │ │ └── ui/ │ │ ├── Spinner.tsx │ │ ├── ThemedMenu.tsx │ │ ├── ThemedSelect.tsx │ │ ├── badge.tsx │ │ ├── button.tsx │ │ ├── calendar.tsx │ │ ├── card.tsx │ │ ├── checkbox.tsx │ │ ├── collapsible.tsx │ │ ├── command.tsx │ │ ├── context-menu.tsx │ │ ├── date-picker.tsx │ │ ├── dialog.tsx │ │ ├── drawer.tsx │ │ ├── dropdown-menu.tsx │ │ ├── hover-card.tsx │ │ ├── input.tsx │ │ ├── label.tsx │ │ ├── popover.tsx │ │ ├── progress.tsx │ │ ├── resizable.tsx │ │ ├── scroll-area.tsx │ │ ├── select.tsx │ │ ├── slider.tsx │ │ ├── suggestion-card.tsx │ │ ├── switch.tsx │ │ ├── textarea.tsx │ │ ├── tooltip.tsx │ │ └── window-controls.tsx │ ├── contexts/ │ │ ├── AdaptContext.tsx │ │ ├── ChatContext.tsx │ │ ├── ContentContext.tsx │ │ ├── FileContext.tsx │ │ ├── ModalContext.tsx │ │ └── ThemeContext.tsx │ ├── lib/ │ │ ├── animations.tsx │ │ ├── blocknote/ │ │ │ ├── core/ │ │ │ │ ├── BlockNoteEditor.ts │ │ │ │ ├── BlockNoteExtensions.ts │ │ │ │ ├── api/ │ │ │ │ │ ├── blockManipulation/ │ │ │ │ │ │ └── blockManipulation.ts │ │ │ │ │ ├── formatConversions/ │ │ │ │ │ │ ├── customRehypePlugins.ts │ │ │ │ │ │ ├── formatConversions.ts │ │ │ │ │ │ └── simplifyBlocksRehypePlugin.ts │ │ │ │ │ ├── nodeConversions/ │ │ │ │ │ │ └── nodeConversions.ts │ │ │ │ │ └── util/ │ │ │ │ │ └── nodeUtil.ts │ │ │ │ ├── assets/ │ │ │ │ │ └── fonts-inter.css │ │ │ │ ├── editor.module.css │ │ │ │ ├── extensions/ │ │ │ │ │ ├── BlockManipulation/ │ │ │ │ │ │ └── BlockManipulationExtension.ts │ │ │ │ │ ├── Blocks/ │ │ │ │ │ │ ├── PreviousBlockTypePlugin.ts │ │ │ │ │ │ ├── api/ │ │ │ │ │ │ │ ├── block.ts │ │ │ │ │ │ │ ├── blockTypes.ts │ │ │ │ │ │ │ ├── cursorPositionTypes.ts │ │ │ │ │ │ │ ├── defaultBlocks.ts │ │ │ │ │ │ │ ├── inlineContentTypes.ts │ │ │ │ │ │ │ ├── selectionTypes.ts │ │ │ │ │ │ │ └── serialization.ts │ │ │ │ │ │ ├── helpers/ │ │ │ │ │ │ │ ├── findBlock.ts │ │ │ │ │ │ │ ├── getBlockInfoFromPos.ts │ │ │ │ │ │ │ └── getGroupInfoFromPos.ts │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ └── nodes/ │ │ │ │ │ │ ├── Block.module.css │ │ │ │ │ │ ├── BlockAttributes.ts │ │ │ │ │ │ ├── BlockContainer.ts │ │ │ │ │ │ ├── BlockContent/ │ │ │ │ │ │ │ ├── HeadingBlockContent/ │ │ │ │ │ │ │ │ └── HeadingBlockContent.ts │ │ │ │ │ │ │ ├── ListItemBlockContent/ │ │ │ │ │ │ │ │ ├── BulletListItemBlockContent/ │ │ │ │ │ │ │ │ │ └── BulletListItemBlockContent.ts │ │ │ │ │ │ │ │ ├── ListItemKeyboardShortcuts.ts │ │ │ │ │ │ │ │ └── NumberedListItemBlockContent/ │ │ │ │ │ │ │ │ ├── NumberedListIndexingPlugin.ts │ │ │ │ │ │ │ │ └── NumberedListItemBlockContent.ts │ │ │ │ │ │ │ └── ParagraphBlockContent/ │ │ │ │ │ │ │ └── ParagraphBlockContent.ts │ │ │ │ │ │ └── BlockGroup.ts │ │ │ │ │ ├── DragMedia/ │ │ │ │ │ │ └── DragExtension.ts │ │ │ │ │ ├── DraggableBlocks/ │ │ │ │ │ │ ├── BlockSideMenuFactoryTypes.ts │ │ │ │ │ │ ├── DraggableBlocksExtension.ts │ │ │ │ │ │ ├── DraggableBlocksPlugin.ts │ │ │ │ │ │ └── MultipleNodeSelection.ts │ │ │ │ │ ├── FormattingToolbar/ │ │ │ │ │ │ └── FormattingToolbarPlugin.ts │ │ │ │ │ ├── HyperlinkToolbar/ │ │ │ │ │ │ └── HyperlinkToolbarPlugin.ts │ │ │ │ │ ├── Markdown/ │ │ │ │ │ │ └── MarkdownExtension.ts │ │ │ │ │ ├── Pasting/ │ │ │ │ │ │ └── local-media-paste-plugin.ts │ │ │ │ │ ├── Placeholder/ │ │ │ │ │ │ └── PlaceholderExtension.ts │ │ │ │ │ ├── SideMenu/ │ │ │ │ │ │ ├── SideMenuPlugin.ts │ │ │ │ │ │ └── SideMenuView.ts │ │ │ │ │ ├── SlashMenu/ │ │ │ │ │ │ ├── BaseSlashMenuItem.ts │ │ │ │ │ │ ├── SlashMenuPlugin.ts │ │ │ │ │ │ └── defaultSlashMenuItems.ts │ │ │ │ │ ├── TextAlignment/ │ │ │ │ │ │ └── TextAlignmentExtension.ts │ │ │ │ │ ├── TextColor/ │ │ │ │ │ │ ├── TextColorExtension.ts │ │ │ │ │ │ └── TextColorMark.ts │ │ │ │ │ ├── TrailingNode/ │ │ │ │ │ │ └── TrailingNodeExtension.ts │ │ │ │ │ └── UniqueID/ │ │ │ │ │ └── UniqueID.ts │ │ │ │ ├── index.ts │ │ │ │ ├── shared/ │ │ │ │ │ ├── BaseUiElementTypes.ts │ │ │ │ │ ├── EditorElement.ts │ │ │ │ │ ├── EventEmitter.ts │ │ │ │ │ ├── plugins/ │ │ │ │ │ │ └── suggestion/ │ │ │ │ │ │ ├── SuggestionItem.ts │ │ │ │ │ │ └── SuggestionPlugin.ts │ │ │ │ │ └── utils.ts │ │ │ │ └── style.css │ │ │ ├── index.ts │ │ │ └── react/ │ │ │ ├── BlockNoteTheme.ts │ │ │ ├── BlockNoteView.tsx │ │ │ ├── Editor/ │ │ │ │ └── EditorContent.tsx │ │ │ ├── FormattingToolbar/ │ │ │ │ └── components/ │ │ │ │ ├── DefaultButtons/ │ │ │ │ │ ├── ColorStyleButton.tsx │ │ │ │ │ ├── NestBlockButtons.tsx │ │ │ │ │ ├── TextAlignButton.tsx │ │ │ │ │ └── ToggledStyleButton.tsx │ │ │ │ ├── DefaultDropdowns/ │ │ │ │ │ └── BlockTypeDropdown.tsx │ │ │ │ ├── DefaultFormattingToolbar.tsx │ │ │ │ └── FormattingToolbarPositioner.tsx │ │ │ ├── ReactBlockSpec.tsx │ │ │ ├── SharedComponents/ │ │ │ │ ├── ColorPicker/ │ │ │ │ │ └── components/ │ │ │ │ │ ├── ColorIcon.tsx │ │ │ │ │ └── ColorPicker.tsx │ │ │ │ ├── Toolbar/ │ │ │ │ │ └── components/ │ │ │ │ │ ├── Toolbar.tsx │ │ │ │ │ ├── ToolbarButton.tsx │ │ │ │ │ ├── ToolbarDropdown.tsx │ │ │ │ │ ├── ToolbarDropdownItem.tsx │ │ │ │ │ └── ToolbarDropdownTarget.tsx │ │ │ │ └── Tooltip/ │ │ │ │ └── components/ │ │ │ │ └── TooltipContent.tsx │ │ │ ├── SideMenu/ │ │ │ │ └── components/ │ │ │ │ ├── DefaultButtons/ │ │ │ │ │ ├── AddBlockButton.tsx │ │ │ │ │ └── DragHandle.tsx │ │ │ │ ├── DefaultSideMenu.tsx │ │ │ │ ├── DragHandleMenu/ │ │ │ │ │ ├── DefaultButtons/ │ │ │ │ │ │ └── RemoveBlockButton.tsx │ │ │ │ │ ├── DefaultDragHandleMenu.tsx │ │ │ │ │ ├── DragHandleMenu.tsx │ │ │ │ │ └── DragHandleMenuItem.tsx │ │ │ │ ├── SideMenu.tsx │ │ │ │ ├── SideMenuButton.tsx │ │ │ │ └── SideMenuPositioner.tsx │ │ │ ├── SlashMenu/ │ │ │ │ ├── ReactSlashMenuItem.ts │ │ │ │ ├── components/ │ │ │ │ │ ├── DefaultSlashMenu.tsx │ │ │ │ │ ├── SlashMenuItem.tsx │ │ │ │ │ └── SlashMenuPositioner.tsx │ │ │ │ └── defaultReactSlashMenuItems.tsx │ │ │ ├── defaultThemes.ts │ │ │ ├── hooks/ │ │ │ │ ├── useBlockNote.ts │ │ │ │ ├── useEditorContentChange.ts │ │ │ │ ├── useEditorForceUpdate.tsx │ │ │ │ └── useEditorSelectionChange.ts │ │ │ ├── index.ts │ │ │ └── utils.ts │ │ ├── db.ts │ │ ├── error.ts │ │ ├── file.ts │ │ ├── hooks/ │ │ │ ├── use-agent-configs.ts │ │ │ ├── use-llm-configs.ts │ │ │ ├── use-ordered-set.tsx │ │ │ ├── use-outside-click.ts │ │ │ └── use-resize-observer.tsx │ │ ├── llm/ │ │ │ ├── chat.ts │ │ │ ├── client.ts │ │ │ ├── tools/ │ │ │ │ ├── tool-definitions.ts │ │ │ │ └── utils.ts │ │ │ └── types.ts │ │ ├── shortcuts/ │ │ │ ├── shortcutDefinitions.ts │ │ │ └── use-shortcut.ts │ │ ├── tiptap-extension-code-block/ │ │ │ ├── code-block-lowlight.tsx │ │ │ ├── code-block-view.tsx │ │ │ ├── code-block.ts │ │ │ ├── index.ts │ │ │ └── lowlight-plugin.ts │ │ ├── tiptap-extension-link/ │ │ │ ├── helpers/ │ │ │ │ ├── autolink.ts │ │ │ │ └── clickHandler.ts │ │ │ ├── index.ts │ │ │ └── link.ts │ │ ├── ui.ts │ │ ├── utils/ │ │ │ ├── block-utils.ts │ │ │ ├── entity-id-url.ts │ │ │ ├── index.ts │ │ │ └── node-utils.ts │ │ └── welcome-note.ts │ ├── main.tsx │ └── styles/ │ ├── chat.css │ ├── global.css │ ├── history.scss │ ├── styles.d.ts │ └── tiptap.scss ├── tailwind.config.js ├── tamagui.config.ts ├── tsconfig.json ├── tsconfig.node.json ├── vite ├── vite.config.mts └── vite.config.mts.timestamp-1743614084858-7c68f1a6e1bea.mjs
SYMBOL INDEX (1390 symbols across 210 files)
FILE: .tamagui/tamagui-components.config.cjs
method "node_modules/@tamagui/use-force-update/dist/cjs/index.cjs" (line 39) | "node_modules/@tamagui/use-force-update/dist/cjs/index.cjs"(exports2, mo...
method "node_modules/@tamagui/animate-presence/dist/cjs/LayoutGroupContext.cjs" (line 92) | "node_modules/@tamagui/animate-presence/dist/cjs/LayoutGroupContext.cjs"...
method "node_modules/@tamagui/use-constant/dist/cjs/index.cjs" (line 138) | "node_modules/@tamagui/use-constant/dist/cjs/index.cjs"(exports2, module...
method "node_modules/@tamagui/use-presence/dist/cjs/PresenceContext.cjs" (line 191) | "node_modules/@tamagui/use-presence/dist/cjs/PresenceContext.cjs"(export...
method "node_modules/@tamagui/use-presence/dist/cjs/usePresence.cjs" (line 243) | "node_modules/@tamagui/use-presence/dist/cjs/usePresence.cjs"(exports2, ...
method "node_modules/@tamagui/use-presence/dist/cjs/index.cjs" (line 311) | "node_modules/@tamagui/use-presence/dist/cjs/index.cjs"(exports2, module...
method "node_modules/@tamagui/animate-presence/dist/cjs/PresenceChild.cjs" (line 348) | "node_modules/@tamagui/animate-presence/dist/cjs/PresenceChild.cjs"(expo...
method "node_modules/@tamagui/animate-presence/dist/cjs/AnimatePresence.cjs" (line 445) | "node_modules/@tamagui/animate-presence/dist/cjs/AnimatePresence.cjs"(ex...
method "node_modules/@tamagui/animate-presence/dist/cjs/types.cjs" (line 567) | "node_modules/@tamagui/animate-presence/dist/cjs/types.cjs"(exports2, mo...
method "node_modules/@tamagui/animate-presence/dist/cjs/index.cjs" (line 589) | "node_modules/@tamagui/animate-presence/dist/cjs/index.cjs"(exports2, mo...
method "node_modules/@tamagui/simple-hash/dist/cjs/index.cjs" (line 616) | "node_modules/@tamagui/simple-hash/dist/cjs/index.cjs"(exports2, module2) {
method "node_modules/@tamagui/helpers/dist/cjs/clamp.cjs" (line 684) | "node_modules/@tamagui/helpers/dist/cjs/clamp.cjs"(exports2, module2) {
method "node_modules/@tamagui/helpers/dist/cjs/composeEventHandlers.cjs" (line 719) | "node_modules/@tamagui/helpers/dist/cjs/composeEventHandlers.cjs"(export...
method "node_modules/@tamagui/helpers/dist/cjs/concatClassName.cjs" (line 759) | "node_modules/@tamagui/helpers/dist/cjs/concatClassName.cjs"(exports2, m...
method "node_modules/@tamagui/helpers/dist/cjs/types.cjs" (line 839) | "node_modules/@tamagui/helpers/dist/cjs/types.cjs"(exports2, module2) {
method "node_modules/@tamagui/constants/dist/cjs/constants.cjs" (line 879) | "node_modules/@tamagui/constants/dist/cjs/constants.cjs"(exports2, modul...
method "node_modules/@tamagui/constants/dist/cjs/index.cjs" (line 932) | "node_modules/@tamagui/constants/dist/cjs/index.cjs"(exports2, module2) {
method "node_modules/@tamagui/helpers/dist/cjs/shouldRenderNativePlatform.cjs" (line 956) | "node_modules/@tamagui/helpers/dist/cjs/shouldRenderNativePlatform.cjs"(...
method "node_modules/@tamagui/helpers/dist/cjs/validStyleProps.cjs" (line 1001) | "node_modules/@tamagui/helpers/dist/cjs/validStyleProps.cjs"(exports2, m...
method "node_modules/@tamagui/helpers/dist/cjs/withStaticProperties.cjs" (line 1354) | "node_modules/@tamagui/helpers/dist/cjs/withStaticProperties.cjs"(export...
method "node_modules/@tamagui/helpers/dist/cjs/index.cjs" (line 1418) | "node_modules/@tamagui/helpers/dist/cjs/index.cjs"(exports2, module2) {
method "node_modules/@tamagui/use-event/dist/cjs/useGet.cjs" (line 1449) | "node_modules/@tamagui/use-event/dist/cjs/useGet.cjs"(exports2, module2) {
method "node_modules/@tamagui/use-event/dist/cjs/useEvent.cjs" (line 1502) | "node_modules/@tamagui/use-event/dist/cjs/useEvent.cjs"(exports2, module...
method "node_modules/@tamagui/use-event/dist/cjs/index.cjs" (line 1541) | "node_modules/@tamagui/use-event/dist/cjs/index.cjs"(exports2, module2) {
method "node_modules/@tamagui/start-transition/dist/cjs/index.cjs" (line 1566) | "node_modules/@tamagui/start-transition/dist/cjs/index.cjs"(exports2, mo...
method "node_modules/@tamagui/use-controllable-state/dist/cjs/useControllableState.cjs" (line 1601) | "node_modules/@tamagui/use-controllable-state/dist/cjs/useControllableSt...
method "node_modules/@tamagui/use-controllable-state/dist/cjs/index.cjs" (line 1678) | "node_modules/@tamagui/use-controllable-state/dist/cjs/index.cjs"(export...
method "node_modules/@tamagui/collapsible/dist/cjs/Collapsible.cjs" (line 1702) | "node_modules/@tamagui/collapsible/dist/cjs/Collapsible.cjs"(exports2, m...
method "node_modules/@tamagui/collapsible/dist/cjs/index.cjs" (line 1847) | "node_modules/@tamagui/collapsible/dist/cjs/index.cjs"(exports2, module2) {
method "node_modules/@tamagui/compose-refs/dist/cjs/compose-refs.cjs" (line 1871) | "node_modules/@tamagui/compose-refs/dist/cjs/compose-refs.cjs"(exports2,...
method "node_modules/@tamagui/compose-refs/dist/cjs/index.cjs" (line 1930) | "node_modules/@tamagui/compose-refs/dist/cjs/index.cjs"(exports2, module...
method "node_modules/@tamagui/collection/dist/cjs/Collection.cjs" (line 1954) | "node_modules/@tamagui/collection/dist/cjs/Collection.cjs"(exports2, mod...
method "node_modules/@tamagui/collection/dist/cjs/index.cjs" (line 2070) | "node_modules/@tamagui/collection/dist/cjs/index.cjs"(exports2, module2) {
method "node_modules/@tamagui/stacks/dist/cjs/getElevation.cjs" (line 2094) | "node_modules/@tamagui/stacks/dist/cjs/getElevation.cjs"(exports2, modul...
method "node_modules/@tamagui/stacks/dist/cjs/Stacks.cjs" (line 2157) | "node_modules/@tamagui/stacks/dist/cjs/Stacks.cjs"(exports2, module2) {
method "node_modules/@tamagui/get-token/dist/cjs/index.cjs" (line 2233) | "node_modules/@tamagui/get-token/dist/cjs/index.cjs"(exports2, module2) {
method "node_modules/@tamagui/get-button-sized/dist/cjs/index.cjs" (line 2298) | "node_modules/@tamagui/get-button-sized/dist/cjs/index.cjs"(exports2, mo...
method "node_modules/@tamagui/stacks/dist/cjs/variants.cjs" (line 2347) | "node_modules/@tamagui/stacks/dist/cjs/variants.cjs"(exports2, module2) {
method "node_modules/@tamagui/stacks/dist/cjs/SizableStack.cjs" (line 2483) | "node_modules/@tamagui/stacks/dist/cjs/SizableStack.cjs"(exports2, modul...
method "node_modules/@tamagui/stacks/dist/cjs/ThemeableStack.cjs" (line 2541) | "node_modules/@tamagui/stacks/dist/cjs/ThemeableStack.cjs"(exports2, mod...
method "node_modules/@tamagui/stacks/dist/cjs/NestingContext.cjs" (line 2616) | "node_modules/@tamagui/stacks/dist/cjs/NestingContext.cjs"(exports2, mod...
method "node_modules/@tamagui/stacks/dist/cjs/index.cjs" (line 2662) | "node_modules/@tamagui/stacks/dist/cjs/index.cjs"(exports2, module2) {
method "node_modules/@tamagui/get-font-sized/dist/cjs/index.cjs" (line 2689) | "node_modules/@tamagui/get-font-sized/dist/cjs/index.cjs"(exports2, modu...
method "node_modules/@tamagui/text/dist/cjs/SizableText.cjs" (line 2747) | "node_modules/@tamagui/text/dist/cjs/SizableText.cjs"(exports2, module2) {
method "node_modules/@tamagui/text/dist/cjs/Paragraph.cjs" (line 2802) | "node_modules/@tamagui/text/dist/cjs/Paragraph.cjs"(exports2, module2) {
method "node_modules/@tamagui/text/dist/cjs/Headings.cjs" (line 2843) | "node_modules/@tamagui/text/dist/cjs/Headings.cjs"(exports2, module2) {
method "node_modules/@tamagui/text/dist/cjs/wrapChildrenInText.cjs" (line 2974) | "node_modules/@tamagui/text/dist/cjs/wrapChildrenInText.cjs"(exports2, m...
method "node_modules/@tamagui/text/dist/cjs/types.cjs" (line 3049) | "node_modules/@tamagui/text/dist/cjs/types.cjs"(exports2, module2) {
method "node_modules/@tamagui/text/dist/cjs/index.cjs" (line 3071) | "node_modules/@tamagui/text/dist/cjs/index.cjs"(exports2, module2) {
method "node_modules/@tamagui/use-direction/dist/cjs/useDirection.cjs" (line 3099) | "node_modules/@tamagui/use-direction/dist/cjs/useDirection.cjs"(exports2...
method "node_modules/@tamagui/use-direction/dist/cjs/index.cjs" (line 3164) | "node_modules/@tamagui/use-direction/dist/cjs/index.cjs"(exports2, modul...
method "node_modules/@tamagui/accordion/dist/cjs/Accordion.js" (line 3188) | "node_modules/@tamagui/accordion/dist/cjs/Accordion.js"(exports2, module...
method "node_modules/@tamagui/accordion/dist/cjs/index.js" (line 3536) | "node_modules/@tamagui/accordion/dist/cjs/index.js"(exports2, module2) {
method "node_modules/aria-hidden/dist/es5/index.js" (line 3557) | "node_modules/aria-hidden/dist/es5/index.js"(exports2) {
function __extends (line 3745) | function __extends(d, b) {
function __rest (line 3755) | function __rest(s, e) {
function __decorate (line 3766) | function __decorate(decorators, target, key, desc) {
function __param (line 3772) | function __param(paramIndex, decorator) {
function __esDecorate (line 3777) | function __esDecorate(ctor, descriptorIn, decorators, contextIn, initial...
function __runInitializers (line 3810) | function __runInitializers(thisArg, initializers, value) {
function __propKey (line 3817) | function __propKey(x) {
function __setFunctionName (line 3820) | function __setFunctionName(f, name, prefix) {
function __metadata (line 3824) | function __metadata(metadataKey, metadataValue) {
function __awaiter (line 3827) | function __awaiter(thisArg, _arguments, P, generator) {
function __generator (line 3858) | function __generator(thisArg, body) {
function __exportStar (line 3929) | function __exportStar(m, o) {
function __values (line 3932) | function __values(o) {
function __read (line 3943) | function __read(o, n) {
function __spread (line 3960) | function __spread() {
function __spreadArrays (line 3965) | function __spreadArrays() {
function __spreadArray (line 3972) | function __spreadArray(to, from, pack) {
function __await (line 3981) | function __await(v) {
function __asyncGenerator (line 3984) | function __asyncGenerator(thisArg, _arguments, generator) {
function __asyncDelegator (line 4032) | function __asyncDelegator(o) {
function __asyncValues (line 4046) | function __asyncValues(o) {
function __makeTemplateObject (line 4067) | function __makeTemplateObject(cooked, raw) {
function __importStar (line 4075) | function __importStar(mod) {
function __importDefault (line 4084) | function __importDefault(mod) {
function __classPrivateFieldGet (line 4087) | function __classPrivateFieldGet(receiver, state, kind, f) {
function __classPrivateFieldSet (line 4092) | function __classPrivateFieldSet(receiver, state, value, kind, f) {
function __classPrivateFieldIn (line 4098) | function __classPrivateFieldIn(state, receiver) {
function __addDisposableResource (line 4102) | function __addDisposableResource(env, value, async) {
function __disposeResources (line 4129) | function __disposeResources(env) {
function __rewriteRelativeImportExtension (line 4157) | function __rewriteRelativeImportExtension(path, preserveJsx) {
method "node_modules/tslib/tslib.es6.mjs" (line 4167) | "node_modules/tslib/tslib.es6.mjs"() {
method "node_modules/react-remove-scroll-bar/dist/es5/constants.js" (line 4285) | "node_modules/react-remove-scroll-bar/dist/es5/constants.js"(exports2) {
method "node_modules/use-callback-ref/dist/es5/assignRef.js" (line 4298) | "node_modules/use-callback-ref/dist/es5/assignRef.js"(exports2) {
method "node_modules/use-callback-ref/dist/es5/useRef.js" (line 4317) | "node_modules/use-callback-ref/dist/es5/useRef.js"(exports2) {
method "node_modules/use-callback-ref/dist/es5/createRef.js" (line 4354) | "node_modules/use-callback-ref/dist/es5/createRef.js"(exports2) {
method "node_modules/use-callback-ref/dist/es5/mergeRef.js" (line 4380) | "node_modules/use-callback-ref/dist/es5/mergeRef.js"(exports2) {
method "node_modules/use-callback-ref/dist/es5/useMergeRef.js" (line 4400) | "node_modules/use-callback-ref/dist/es5/useMergeRef.js"(exports2) {
method "node_modules/use-callback-ref/dist/es5/useTransformRef.js" (line 4444) | "node_modules/use-callback-ref/dist/es5/useTransformRef.js"(exports2) {
method "node_modules/use-callback-ref/dist/es5/transformRef.js" (line 4462) | "node_modules/use-callback-ref/dist/es5/transformRef.js"(exports2) {
method "node_modules/use-callback-ref/dist/es5/refToCallback.js" (line 4480) | "node_modules/use-callback-ref/dist/es5/refToCallback.js"(exports2) {
method "node_modules/use-callback-ref/dist/es5/index.js" (line 4519) | "node_modules/use-callback-ref/dist/es5/index.js"(exports2) {
method "node_modules/detect-node-es/es5/node.js" (line 4563) | "node_modules/detect-node-es/es5/node.js"(exports2, module2) {
method "node_modules/use-sidecar/dist/es5/env.js" (line 4570) | "node_modules/use-sidecar/dist/es5/env.js"(exports2) {
method "node_modules/use-sidecar/dist/es5/hook.js" (line 4584) | "node_modules/use-sidecar/dist/es5/hook.js"(exports2) {
method "node_modules/use-sidecar/dist/es5/hoc.js" (line 4645) | "node_modules/use-sidecar/dist/es5/hoc.js"(exports2) {
method "node_modules/use-sidecar/dist/es5/config.js" (line 4671) | "node_modules/use-sidecar/dist/es5/config.js"(exports2) {
method "node_modules/use-sidecar/dist/es5/medium.js" (line 4689) | "node_modules/use-sidecar/dist/es5/medium.js"(exports2) {
method "node_modules/use-sidecar/dist/es5/renderProp.js" (line 4795) | "node_modules/use-sidecar/dist/es5/renderProp.js"(exports2) {
method "node_modules/use-sidecar/dist/es5/exports.js" (line 4848) | "node_modules/use-sidecar/dist/es5/exports.js"(exports2) {
method "node_modules/use-sidecar/dist/es5/index.js" (line 4877) | "node_modules/use-sidecar/dist/es5/index.js"(exports2) {
method "node_modules/react-remove-scroll/dist/es5/medium.js" (line 4913) | "node_modules/react-remove-scroll/dist/es5/medium.js"(exports2) {
method "node_modules/react-remove-scroll/dist/es5/UI.js" (line 4924) | "node_modules/react-remove-scroll/dist/es5/UI.js"(exports2) {
method "node_modules/get-nonce/dist/es5/index.js" (line 4969) | "node_modules/get-nonce/dist/es5/index.js"(exports2) {
method "node_modules/react-style-singleton/dist/es5/singleton.js" (line 4990) | "node_modules/react-style-singleton/dist/es5/singleton.js"(exports2) {
method "node_modules/react-style-singleton/dist/es5/hook.js" (line 5048) | "node_modules/react-style-singleton/dist/es5/hook.js"(exports2) {
method "node_modules/react-style-singleton/dist/es5/component.js" (line 5072) | "node_modules/react-style-singleton/dist/es5/component.js"(exports2) {
method "node_modules/react-style-singleton/dist/es5/index.js" (line 5092) | "node_modules/react-style-singleton/dist/es5/index.js"(exports2) {
method "node_modules/react-remove-scroll-bar/dist/es5/utils.js" (line 5113) | "node_modules/react-remove-scroll-bar/dist/es5/utils.js"(exports2) {
method "node_modules/react-remove-scroll-bar/dist/es5/component.js" (line 5156) | "node_modules/react-remove-scroll-bar/dist/es5/component.js"(exports2) {
method "node_modules/react-remove-scroll-bar/dist/es5/index.js" (line 5210) | "node_modules/react-remove-scroll-bar/dist/es5/index.js"(exports2) {
method "node_modules/react-remove-scroll/dist/es5/aggresiveCapture.js" (line 5240) | "node_modules/react-remove-scroll/dist/es5/aggresiveCapture.js"(exports2) {
method "node_modules/react-remove-scroll/dist/es5/handleScroll.js" (line 5266) | "node_modules/react-remove-scroll/dist/es5/handleScroll.js"(exports2) {
method "node_modules/react-remove-scroll/dist/es5/SideEffect.js" (line 5375) | "node_modules/react-remove-scroll/dist/es5/SideEffect.js"(exports2) {
method "node_modules/react-remove-scroll/dist/es5/sidecar.js" (line 5558) | "node_modules/react-remove-scroll/dist/es5/sidecar.js"(exports2) {
method "node_modules/react-remove-scroll/dist/es5/Combination.js" (line 5570) | "node_modules/react-remove-scroll/dist/es5/Combination.js"(exports2) {
method "node_modules/react-remove-scroll/dist/es5/index.js" (line 5587) | "node_modules/react-remove-scroll/dist/es5/index.js"(exports2) {
method "node_modules/@babel/runtime/helpers/interopRequireDefault.js" (line 5599) | "node_modules/@babel/runtime/helpers/interopRequireDefault.js"(exports2,...
method "node_modules/react-native-web/dist/cjs/modules/AccessibilityUtil/isDisabled.js" (line 5612) | "node_modules/react-native-web/dist/cjs/modules/AccessibilityUtil/isDisa...
method "node_modules/react-native-web/dist/cjs/modules/AccessibilityUtil/propsToAriaRole.js" (line 5624) | "node_modules/react-native-web/dist/cjs/modules/AccessibilityUtil/propsT...
method "node_modules/react-native-web/dist/cjs/modules/AccessibilityUtil/propsToAccessibilityComponent.js" (line 5659) | "node_modules/react-native-web/dist/cjs/modules/AccessibilityUtil/propsT...
method "node_modules/react-native-web/dist/cjs/modules/AccessibilityUtil/index.js" (line 5714) | "node_modules/react-native-web/dist/cjs/modules/AccessibilityUtil/index....
method "node_modules/@babel/runtime/helpers/typeof.js" (line 5734) | "node_modules/@babel/runtime/helpers/typeof.js"(exports2, module2) {
method "node_modules/@babel/runtime/helpers/toPrimitive.js" (line 5750) | "node_modules/@babel/runtime/helpers/toPrimitive.js"(exports2, module2) {
method "node_modules/@babel/runtime/helpers/toPropertyKey.js" (line 5769) | "node_modules/@babel/runtime/helpers/toPropertyKey.js"(exports2, module2) {
method "node_modules/@babel/runtime/helpers/defineProperty.js" (line 5783) | "node_modules/@babel/runtime/helpers/defineProperty.js"(exports2, module...
method "node_modules/@babel/runtime/helpers/objectSpread2.js" (line 5800) | "node_modules/@babel/runtime/helpers/objectSpread2.js"(exports2, module2) {
method "node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js" (line 5831) | "node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js"(ex...
method "node_modules/react-native-web/dist/cjs/exports/StyleSheet/compiler/unitlessNumbers.js" (line 5848) | "node_modules/react-native-web/dist/cjs/exports/StyleSheet/compiler/unit...
method "node_modules/react-native-web/dist/cjs/modules/isWebColor/index.js" (line 5918) | "node_modules/react-native-web/dist/cjs/modules/isWebColor/index.js"(exp...
method "node_modules/react-native-web/node_modules/@react-native/normalize-colors/index.js" (line 5930) | "node_modules/react-native-web/node_modules/@react-native/normalize-colo...
method "node_modules/react-native-web/dist/cjs/exports/processColor/index.js" (line 6468) | "node_modules/react-native-web/dist/cjs/exports/processColor/index.js"(e...
method "node_modules/react-native-web/dist/cjs/exports/StyleSheet/compiler/normalizeColor.js" (line 6492) | "node_modules/react-native-web/dist/cjs/exports/StyleSheet/compiler/norm...
method "node_modules/react-native-web/dist/cjs/exports/StyleSheet/compiler/normalizeValueWithProperty.js" (line 6524) | "node_modules/react-native-web/dist/cjs/exports/StyleSheet/compiler/norm...
method "node_modules/react-native-web/dist/cjs/modules/canUseDom/index.js" (line 6559) | "node_modules/react-native-web/dist/cjs/modules/canUseDom/index.js"(expo...
method "node_modules/react-native-web/dist/cjs/exports/StyleSheet/compiler/createReactDOMStyle.js" (line 6571) | "node_modules/react-native-web/dist/cjs/exports/StyleSheet/compiler/crea...
method "node_modules/react-native-web/dist/cjs/exports/StyleSheet/compiler/hash.js" (line 6730) | "node_modules/react-native-web/dist/cjs/exports/StyleSheet/compiler/hash...
method "node_modules/react-native-web/dist/cjs/exports/StyleSheet/compiler/hyphenateStyleName.js" (line 6768) | "node_modules/react-native-web/dist/cjs/exports/StyleSheet/compiler/hyph...
method "node_modules/inline-style-prefixer/lib/utils/capitalizeString.js" (line 6794) | "node_modules/inline-style-prefixer/lib/utils/capitalizeString.js"(expor...
method "node_modules/inline-style-prefixer/lib/utils/prefixProperty.js" (line 6809) | "node_modules/inline-style-prefixer/lib/utils/prefixProperty.js"(exports...
method "node_modules/inline-style-prefixer/lib/utils/prefixValue.js" (line 6840) | "node_modules/inline-style-prefixer/lib/utils/prefixValue.js"(exports2) {
method "node_modules/inline-style-prefixer/lib/utils/addNewValuesOnly.js" (line 6860) | "node_modules/inline-style-prefixer/lib/utils/addNewValuesOnly.js"(expor...
method "node_modules/inline-style-prefixer/lib/utils/isObject.js" (line 6887) | "node_modules/inline-style-prefixer/lib/utils/isObject.js"(exports2) {
method "node_modules/inline-style-prefixer/lib/createPrefixer.js" (line 6902) | "node_modules/inline-style-prefixer/lib/createPrefixer.js"(exports2) {
method "node_modules/inline-style-prefixer/lib/plugins/backgroundClip.js" (line 6953) | "node_modules/inline-style-prefixer/lib/plugins/backgroundClip.js"(expor...
method "node_modules/css-in-js-utils/lib/assignStyle.js" (line 6968) | "node_modules/css-in-js-utils/lib/assignStyle.js"(exports2) {
method "node_modules/css-in-js-utils/lib/camelCaseProperty.js" (line 7058) | "node_modules/css-in-js-utils/lib/camelCaseProperty.js"(exports2) {
method "node_modules/hyphenate-style-name/index.cjs.js" (line 7085) | "node_modules/hyphenate-style-name/index.cjs.js"(exports2, module2) {
method "node_modules/css-in-js-utils/lib/hyphenateProperty.js" (line 7108) | "node_modules/css-in-js-utils/lib/hyphenateProperty.js"(exports2) {
method "node_modules/css-in-js-utils/lib/cssifyDeclaration.js" (line 7129) | "node_modules/css-in-js-utils/lib/cssifyDeclaration.js"(exports2) {
method "node_modules/css-in-js-utils/lib/cssifyObject.js" (line 7150) | "node_modules/css-in-js-utils/lib/cssifyObject.js"(exports2) {
method "node_modules/css-in-js-utils/lib/isPrefixedProperty.js" (line 7182) | "node_modules/css-in-js-utils/lib/isPrefixedProperty.js"(exports2) {
method "node_modules/css-in-js-utils/lib/isPrefixedValue.js" (line 7198) | "node_modules/css-in-js-utils/lib/isPrefixedValue.js"(exports2) {
method "node_modules/css-in-js-utils/lib/isUnitlessProperty.js" (line 7214) | "node_modules/css-in-js-utils/lib/isUnitlessProperty.js"(exports2) {
method "node_modules/css-in-js-utils/lib/unprefixProperty.js" (line 7279) | "node_modules/css-in-js-utils/lib/unprefixProperty.js"(exports2) {
method "node_modules/css-in-js-utils/lib/normalizeProperty.js" (line 7296) | "node_modules/css-in-js-utils/lib/normalizeProperty.js"(exports2) {
method "node_modules/css-in-js-utils/lib/resolveArrayValue.js" (line 7319) | "node_modules/css-in-js-utils/lib/resolveArrayValue.js"(exports2) {
method "node_modules/css-in-js-utils/lib/unprefixValue.js" (line 7340) | "node_modules/css-in-js-utils/lib/unprefixValue.js"(exports2) {
method "node_modules/css-in-js-utils/lib/index.js" (line 7359) | "node_modules/css-in-js-utils/lib/index.js"(exports2) {
method "node_modules/inline-style-prefixer/lib/plugins/crossFade.js" (line 7410) | "node_modules/inline-style-prefixer/lib/plugins/crossFade.js"(exports2) {
method "node_modules/inline-style-prefixer/lib/plugins/cursor.js" (line 7432) | "node_modules/inline-style-prefixer/lib/plugins/cursor.js"(exports2) {
method "node_modules/inline-style-prefixer/lib/plugins/filter.js" (line 7458) | "node_modules/inline-style-prefixer/lib/plugins/filter.js"(exports2) {
method "node_modules/inline-style-prefixer/lib/plugins/imageSet.js" (line 7480) | "node_modules/inline-style-prefixer/lib/plugins/imageSet.js"(exports2) {
method "node_modules/inline-style-prefixer/lib/plugins/logical.js" (line 7506) | "node_modules/inline-style-prefixer/lib/plugins/logical.js"(exports2) {
method "node_modules/inline-style-prefixer/lib/plugins/position.js" (line 7552) | "node_modules/inline-style-prefixer/lib/plugins/position.js"(exports2) {
method "node_modules/inline-style-prefixer/lib/plugins/sizing.js" (line 7569) | "node_modules/inline-style-prefixer/lib/plugins/sizing.js"(exports2) {
method "node_modules/inline-style-prefixer/lib/plugins/transition.js" (line 7605) | "node_modules/inline-style-prefixer/lib/plugins/transition.js"(exports2) {
method "node_modules/react-native-web/dist/cjs/modules/prefixStyles/static.js" (line 7682) | "node_modules/react-native-web/dist/cjs/modules/prefixStyles/static.js"(...
method "node_modules/react-native-web/dist/cjs/modules/prefixStyles/index.js" (line 7764) | "node_modules/react-native-web/dist/cjs/modules/prefixStyles/index.js"(e...
method "node_modules/react-native-web/dist/cjs/exports/StyleSheet/compiler/index.js" (line 7779) | "node_modules/react-native-web/dist/cjs/exports/StyleSheet/compiler/inde...
method "node_modules/react-native-web/dist/cjs/exports/StyleSheet/dom/createCSSStyleSheet.js" (line 8183) | "node_modules/react-native-web/dist/cjs/exports/StyleSheet/dom/createCSS...
method "node_modules/react-native-web/dist/cjs/exports/StyleSheet/dom/createOrderedCSSStyleSheet.js" (line 8220) | "node_modules/react-native-web/dist/cjs/exports/StyleSheet/dom/createOrd...
method "node_modules/react-native-web/dist/cjs/exports/StyleSheet/dom/index.js" (line 8345) | "node_modules/react-native-web/dist/cjs/exports/StyleSheet/dom/index.js"...
method "node_modules/styleq/dist/transform-localize-style.js" (line 8419) | "node_modules/styleq/dist/transform-localize-style.js"(exports2) {
method "node_modules/styleq/transform-localize-style.js" (line 8469) | "node_modules/styleq/transform-localize-style.js"(exports2, module2) {
method "node_modules/react-native-web/dist/cjs/modules/warnOnce/index.js" (line 8476) | "node_modules/react-native-web/dist/cjs/modules/warnOnce/index.js"(expor...
method "node_modules/react-native-web/dist/cjs/exports/StyleSheet/preprocess.js" (line 8496) | "node_modules/react-native-web/dist/cjs/exports/StyleSheet/preprocess.js...
method "node_modules/styleq/dist/styleq.js" (line 8641) | "node_modules/styleq/dist/styleq.js"(exports2) {
method "node_modules/styleq/styleq.js" (line 8761) | "node_modules/styleq/styleq.js"(exports2, module2) {
method "node_modules/postcss-value-parser/lib/parse.js" (line 8768) | "node_modules/postcss-value-parser/lib/parse.js"(exports2, module2) {
method "node_modules/postcss-value-parser/lib/walk.js" (line 9018) | "node_modules/postcss-value-parser/lib/walk.js"(exports2, module2) {
method "node_modules/postcss-value-parser/lib/stringify.js" (line 9039) | "node_modules/postcss-value-parser/lib/stringify.js"(exports2, module2) {
method "node_modules/postcss-value-parser/lib/unit.js" (line 9084) | "node_modules/postcss-value-parser/lib/unit.js"(exports2, module2) {
method "node_modules/postcss-value-parser/lib/index.js" (line 9172) | "node_modules/postcss-value-parser/lib/index.js"(exports2, module2) {
method "node_modules/react-native-web/dist/cjs/exports/StyleSheet/validate.js" (line 9200) | "node_modules/react-native-web/dist/cjs/exports/StyleSheet/validate.js"(...
method "node_modules/react-native-web/dist/cjs/exports/StyleSheet/index.js" (line 9287) | "node_modules/react-native-web/dist/cjs/exports/StyleSheet/index.js"(exp...
method "node_modules/react-native-web/dist/cjs/modules/createDOMProps/index.js" (line 9441) | "node_modules/react-native-web/dist/cjs/modules/createDOMProps/index.js"...
method "node_modules/@babel/runtime/helpers/interopRequireWildcard.js" (line 9748) | "node_modules/@babel/runtime/helpers/interopRequireWildcard.js"(exports2...
method "node_modules/react-native-web/dist/cjs/modules/useLocale/isLocaleRTL.js" (line 9781) | "node_modules/react-native-web/dist/cjs/modules/useLocale/isLocaleRTL.js...
method "node_modules/react-native-web/dist/cjs/modules/useLocale/index.js" (line 9860) | "node_modules/react-native-web/dist/cjs/modules/useLocale/index.js"(expo...
method "node_modules/react-native-web/dist/cjs/exports/createElement/index.js" (line 9899) | "node_modules/react-native-web/dist/cjs/exports/createElement/index.js"(...
method "node_modules/react-native-web/dist/cjs/exports/findNodeHandle/index.js" (line 9931) | "node_modules/react-native-web/dist/cjs/exports/findNodeHandle/index.js"...
method "node_modules/react-native-web/dist/cjs/exports/unmountComponentAtNode/index.js" (line 9951) | "node_modules/react-native-web/dist/cjs/exports/unmountComponentAtNode/i...
method "node_modules/react-native-web/dist/cjs/exports/render/index.js" (line 9963) | "node_modules/react-native-web/dist/cjs/exports/render/index.js"(exports...
method "node_modules/react-native-web/dist/cjs/modules/getBoundingClientRect/index.js" (line 10013) | "node_modules/react-native-web/dist/cjs/modules/getBoundingClientRect/in...
method "node_modules/react-native-web/dist/cjs/modules/unitlessNumbers/index.js" (line 10032) | "node_modules/react-native-web/dist/cjs/modules/unitlessNumbers/index.js...
method "node_modules/react-native-web/dist/cjs/modules/setValueForStyles/dangerousStyleValue.js" (line 10102) | "node_modules/react-native-web/dist/cjs/modules/setValueForStyles/danger...
method "node_modules/react-native-web/dist/cjs/modules/setValueForStyles/index.js" (line 10126) | "node_modules/react-native-web/dist/cjs/modules/setValueForStyles/index....
method "node_modules/react-native-web/dist/cjs/exports/UIManager/index.js" (line 10158) | "node_modules/react-native-web/dist/cjs/exports/UIManager/index.js"(expo...
method "node_modules/react-native-web/dist/cjs/exports/NativeModules/index.js" (line 10276) | "node_modules/react-native-web/dist/cjs/exports/NativeModules/index.js"(...
method "node_modules/react-native-web/dist/cjs/exports/AccessibilityInfo/index.js" (line 10292) | "node_modules/react-native-web/dist/cjs/exports/AccessibilityInfo/index....
method "node_modules/react-native-web/dist/cjs/exports/Alert/index.js" (line 10393) | "node_modules/react-native-web/dist/cjs/exports/Alert/index.js"(exports2...
method "node_modules/react-native-web/dist/cjs/exports/Platform/index.js" (line 10411) | "node_modules/react-native-web/dist/cjs/exports/Platform/index.js"(expor...
method "node_modules/@babel/runtime/helpers/extends.js" (line 10432) | "node_modules/@babel/runtime/helpers/extends.js"(exports2, module2) {
method "node_modules/react-native-web/dist/cjs/modules/forwardedProps/index.js" (line 10449) | "node_modules/react-native-web/dist/cjs/modules/forwardedProps/index.js"...
method "node_modules/react-native-web/dist/cjs/modules/pick/index.js" (line 10613) | "node_modules/react-native-web/dist/cjs/modules/pick/index.js"(exports2,...
method "node_modules/react-native-web/dist/cjs/modules/useLayoutEffect/index.js" (line 10635) | "node_modules/react-native-web/dist/cjs/modules/useLayoutEffect/index.js...
method "node_modules/react-native-web/dist/cjs/modules/useElementLayout/index.js" (line 10650) | "node_modules/react-native-web/dist/cjs/modules/useElementLayout/index.j...
method "node_modules/react-native-web/dist/cjs/modules/mergeRefs/index.js" (line 10734) | "node_modules/react-native-web/dist/cjs/modules/mergeRefs/index.js"(expo...
method "node_modules/react-native-web/dist/cjs/modules/useMergeRefs/index.js" (line 10768) | "node_modules/react-native-web/dist/cjs/modules/useMergeRefs/index.js"(e...
method "node_modules/react-native-web/dist/cjs/modules/useStable/index.js" (line 10793) | "node_modules/react-native-web/dist/cjs/modules/useStable/index.js"(expo...
method "node_modules/react-native-web/dist/cjs/modules/usePlatformMethods/index.js" (line 10814) | "node_modules/react-native-web/dist/cjs/modules/usePlatformMethods/index...
method "node_modules/react-native-web/dist/cjs/modules/useResponderEvents/createResponderEvent.js" (line 10839) | "node_modules/react-native-web/dist/cjs/modules/useResponderEvents/creat...
method "node_modules/react-native-web/dist/cjs/modules/useResponderEvents/ResponderEventTypes.js" (line 10978) | "node_modules/react-native-web/dist/cjs/modules/useResponderEvents/Respo...
method "node_modules/react-native-web/dist/cjs/modules/isSelectionValid/index.js" (line 11031) | "node_modules/react-native-web/dist/cjs/modules/isSelectionValid/index.j...
method "node_modules/react-native-web/dist/cjs/modules/useResponderEvents/utils.js" (line 11050) | "node_modules/react-native-web/dist/cjs/modules/useResponderEvents/utils...
method "node_modules/react-native-web/dist/cjs/modules/useResponderEvents/ResponderTouchHistoryStore.js" (line 11187) | "node_modules/react-native-web/dist/cjs/modules/useResponderEvents/Respo...
method "node_modules/react-native-web/dist/cjs/modules/useResponderEvents/ResponderSystem.js" (line 11357) | "node_modules/react-native-web/dist/cjs/modules/useResponderEvents/Respo...
method "node_modules/react-native-web/dist/cjs/modules/useResponderEvents/index.js" (line 11712) | "node_modules/react-native-web/dist/cjs/modules/useResponderEvents/index...
method "node_modules/react-native-web/dist/cjs/exports/Text/TextAncestorContext.js" (line 11765) | "node_modules/react-native-web/dist/cjs/exports/Text/TextAncestorContext...
method "node_modules/react-native-web/dist/cjs/exports/View/index.js" (line 11779) | "node_modules/react-native-web/dist/cjs/exports/View/index.js"(exports2,...
method "node_modules/react-native-web/dist/cjs/vendor/react-native/deepDiffer/index.js" (line 11898) | "node_modules/react-native-web/dist/cjs/vendor/react-native/deepDiffer/i...
method "node_modules/fbjs/lib/invariant.js" (line 11955) | "node_modules/fbjs/lib/invariant.js"(exports2, module2) {
method "node_modules/@babel/runtime/helpers/arrayLikeToArray.js" (line 11990) | "node_modules/@babel/runtime/helpers/arrayLikeToArray.js"(exports2, modu...
method "node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js" (line 12003) | "node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js"(expo...
method "node_modules/@babel/runtime/helpers/createForOfIteratorHelperLoose.js" (line 12019) | "node_modules/@babel/runtime/helpers/createForOfIteratorHelperLoose.js"(...
method "node_modules/react-native-web/dist/cjs/exports/RefreshControl/index.js" (line 12045) | "node_modules/react-native-web/dist/cjs/exports/RefreshControl/index.js"...
method "node_modules/react-native-web/dist/cjs/exports/Dimensions/index.js" (line 12066) | "node_modules/react-native-web/dist/cjs/exports/Dimensions/index.js"(exp...
method "node_modules/react-native-web/dist/cjs/modules/TextInputState/index.js" (line 12182) | "node_modules/react-native-web/dist/cjs/modules/TextInputState/index.js"...
method "node_modules/react-native-web/dist/cjs/modules/dismissKeyboard/index.js" (line 12237) | "node_modules/react-native-web/dist/cjs/modules/dismissKeyboard/index.js...
method "node_modules/react-native-web/dist/cjs/exports/ScrollView/ScrollViewBase.js" (line 12253) | "node_modules/react-native-web/dist/cjs/exports/ScrollView/ScrollViewBas...
method "node_modules/fbjs/lib/emptyFunction.js" (line 12386) | "node_modules/fbjs/lib/emptyFunction.js"(exports2, module2) {
method "node_modules/fbjs/lib/warning.js" (line 12412) | "node_modules/fbjs/lib/warning.js"(exports2, module2) {
method "node_modules/react-native-web/dist/cjs/exports/ScrollView/index.js" (line 12449) | "node_modules/react-native-web/dist/cjs/exports/ScrollView/index.js"(exp...
method "node_modules/react-native-web/dist/cjs/exports/InteractionManager/TaskQueue.js" (line 13051) | "node_modules/react-native-web/dist/cjs/exports/InteractionManager/TaskQ...
method "node_modules/react-native-web/dist/cjs/vendor/react-native/vendor/emitter/EventEmitter.js" (line 13141) | "node_modules/react-native-web/dist/cjs/vendor/react-native/vendor/emitt...
method "node_modules/react-native-web/dist/cjs/modules/requestIdleCallback/index.js" (line 13221) | "node_modules/react-native-web/dist/cjs/modules/requestIdleCallback/inde...
method "node_modules/react-native-web/dist/cjs/exports/InteractionManager/index.js" (line 13250) | "node_modules/react-native-web/dist/cjs/exports/InteractionManager/index...
method "node_modules/react-native-web/dist/cjs/vendor/react-native/Batchinator/index.js" (line 13367) | "node_modules/react-native-web/dist/cjs/vendor/react-native/Batchinator/...
method "node_modules/react-native-web/dist/cjs/vendor/react-native/Utilities/clamp.js" (line 13423) | "node_modules/react-native-web/dist/cjs/vendor/react-native/Utilities/cl...
method "node_modules/react-native-web/dist/cjs/vendor/react-native/infoLog/index.js" (line 13444) | "node_modules/react-native-web/dist/cjs/vendor/react-native/infoLog/inde...
method "node_modules/react-native-web/dist/cjs/vendor/react-native/VirtualizedList/CellRenderMask.js" (line 13459) | "node_modules/react-native-web/dist/cjs/vendor/react-native/VirtualizedL...
method "node_modules/react-native-web/dist/cjs/vendor/react-native/VirtualizedList/ChildListCollection.js" (line 13556) | "node_modules/react-native-web/dist/cjs/vendor/react-native/VirtualizedL...
method "node_modules/react-native-web/dist/cjs/vendor/react-native/FillRateHelper/index.js" (line 13629) | "node_modules/react-native-web/dist/cjs/vendor/react-native/FillRateHelp...
method "node_modules/react-native-web/dist/cjs/vendor/react-native/VirtualizedList/StateSafePureComponent.js" (line 13803) | "node_modules/react-native-web/dist/cjs/vendor/react-native/VirtualizedL...
method "node_modules/react-native-web/dist/cjs/vendor/react-native/ViewabilityHelper/index.js" (line 13868) | "node_modules/react-native-web/dist/cjs/vendor/react-native/ViewabilityH...
method "node_modules/react-native-web/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListContext.js" (line 14038) | "node_modules/react-native-web/dist/cjs/vendor/react-native/VirtualizedL...
method "node_modules/react-native-web/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.js" (line 14093) | "node_modules/react-native-web/dist/cjs/vendor/react-native/VirtualizedL...
method "node_modules/react-native-web/dist/cjs/vendor/react-native/VirtualizeUtils/index.js" (line 14226) | "node_modules/react-native-web/dist/cjs/vendor/react-native/VirtualizeUt...
method "node_modules/nullthrows/nullthrows.js" (line 14354) | "node_modules/nullthrows/nullthrows.js"(exports2, module2) {
method "node_modules/react-native-web/dist/cjs/vendor/react-native/VirtualizedList/index.js" (line 14373) | "node_modules/react-native-web/dist/cjs/vendor/react-native/VirtualizedL...
method "node_modules/react-native-web/node_modules/memoize-one/dist/memoize-one.cjs.js" (line 15582) | "node_modules/react-native-web/node_modules/memoize-one/dist/memoize-one...
method "node_modules/react-native-web/dist/cjs/vendor/react-native/FlatList/index.js" (line 15643) | "node_modules/react-native-web/dist/cjs/vendor/react-native/FlatList/ind...
method "node_modules/react-native-web/dist/cjs/exports/FlatList/index.js" (line 15938) | "node_modules/react-native-web/dist/cjs/exports/FlatList/index.js"(expor...
method "node_modules/react-native-web/dist/cjs/vendor/react-native/TurboModule/TurboModuleRegistry.js" (line 15952) | "node_modules/react-native-web/dist/cjs/vendor/react-native/TurboModule/...
method "node_modules/react-native-web/dist/cjs/vendor/react-native/Animated/NativeAnimatedModule.js" (line 15974) | "node_modules/react-native-web/dist/cjs/vendor/react-native/Animated/Nat...
method "node_modules/react-native-web/dist/cjs/vendor/react-native/Animated/NativeAnimatedTurboModule.js" (line 15987) | "node_modules/react-native-web/dist/cjs/vendor/react-native/Animated/Nat...
method "node_modules/react-native-web/dist/cjs/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.js" (line 16000) | "node_modules/react-native-web/dist/cjs/vendor/react-native/EventEmitter...
method "node_modules/react-native-web/dist/cjs/vendor/react-native/EventEmitter/NativeEventEmitter.js" (line 16013) | "node_modules/react-native-web/dist/cjs/vendor/react-native/EventEmitter...
method "node_modules/react-native-web/dist/cjs/vendor/react-native/Utilities/Platform.js" (line 16077) | "node_modules/react-native-web/dist/cjs/vendor/react-native/Utilities/Pl...
method "node_modules/react-native-web/dist/cjs/vendor/react-native/ReactNative/ReactNativeFeatureFlags.js" (line 16090) | "node_modules/react-native-web/dist/cjs/vendor/react-native/ReactNative/...
method "node_modules/react-native-web/dist/cjs/vendor/react-native/Animated/NativeAnimatedHelper.js" (line 16108) | "node_modules/react-native-web/dist/cjs/vendor/react-native/Animated/Nat...
method "node_modules/react-native-web/dist/cjs/vendor/react-native/Animated/nodes/AnimatedNode.js" (line 16514) | "node_modules/react-native-web/dist/cjs/vendor/react-native/Animated/nod...
method "node_modules/react-native-web/dist/cjs/vendor/react-native/Animated/nodes/AnimatedWithChildren.js" (line 16671) | "node_modules/react-native-web/dist/cjs/vendor/react-native/Animated/nod...
method "node_modules/react-native-web/dist/cjs/vendor/react-native/Animated/nodes/AnimatedInterpolation.js" (line 16744) | "node_modules/react-native-web/dist/cjs/vendor/react-native/Animated/nod...
method "node_modules/react-native-web/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValue.js" (line 16973) | "node_modules/react-native-web/dist/cjs/vendor/react-native/Animated/nod...
method "node_modules/react-native-web/dist/cjs/vendor/react-native/Animated/AnimatedEvent.js" (line 17203) | "node_modules/react-native-web/dist/cjs/vendor/react-native/Animated/Ani...
method "node_modules/react-native-web/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTransform.js" (line 17366) | "node_modules/react-native-web/dist/cjs/vendor/react-native/Animated/nod...
method "node_modules/react-native-web/dist/cjs/vendor/react-native/Animated/nodes/AnimatedStyle.js" (line 17476) | "node_modules/react-native-web/dist/cjs/vendor/react-native/Animated/nod...
method "node_modules/react-native-web/dist/cjs/vendor/react-native/Animated/nodes/AnimatedProps.js" (line 17597) | "node_modules/react-native-web/dist/cjs/vendor/react-native/Animated/nod...
method "node_modules/react-native-web/dist/cjs/vendor/react-native/Utilities/useRefEffect.js" (line 17734) | "node_modules/react-native-web/dist/cjs/vendor/react-native/Utilities/us...
method "node_modules/react-native-web/dist/cjs/vendor/react-native/Animated/useAnimatedProps.js" (line 17758) | "node_modules/react-native-web/dist/cjs/vendor/react-native/Animated/use...
method "node_modules/react-native-web/dist/cjs/vendor/react-native/Utilities/useMergeRefs.js" (line 17850) | "node_modules/react-native-web/dist/cjs/vendor/react-native/Utilities/us...
method "node_modules/react-native-web/dist/cjs/vendor/react-native/Animated/createAnimatedComponent.js" (line 17883) | "node_modules/react-native-web/dist/cjs/vendor/react-native/Animated/cre...
method "node_modules/react-native-web/dist/cjs/vendor/react-native/Animated/components/AnimatedFlatList.js" (line 17917) | "node_modules/react-native-web/dist/cjs/vendor/react-native/Animated/com...
method "node_modules/react-native-web/dist/cjs/modules/AssetRegistry/index.js" (line 17939) | "node_modules/react-native-web/dist/cjs/modules/AssetRegistry/index.js"(...
method "node_modules/react-native-web/dist/cjs/modules/ImageLoader/index.js" (line 17958) | "node_modules/react-native-web/dist/cjs/modules/ImageLoader/index.js"(ex...
method "node_modules/react-native-web/dist/cjs/exports/PixelRatio/index.js" (line 18100) | "node_modules/react-native-web/dist/cjs/exports/PixelRatio/index.js"(exp...
method "node_modules/react-native-web/dist/cjs/exports/Image/index.js" (line 18147) | "node_modules/react-native-web/dist/cjs/exports/Image/index.js"(exports2...
method "node_modules/react-native-web/dist/cjs/vendor/react-native/Animated/components/AnimatedImage.js" (line 18477) | "node_modules/react-native-web/dist/cjs/vendor/react-native/Animated/com...
method "node_modules/react-native-web/dist/cjs/vendor/react-native/Animated/components/AnimatedScrollView.js" (line 18493) | "node_modules/react-native-web/dist/cjs/vendor/react-native/Animated/com...
method "node_modules/react-native-web/dist/cjs/vendor/react-native/VirtualizedSectionList/index.js" (line 18515) | "node_modules/react-native-web/dist/cjs/vendor/react-native/VirtualizedS...
method "node_modules/react-native-web/dist/cjs/vendor/react-native/SectionList/index.js" (line 18847) | "node_modules/react-native-web/dist/cjs/vendor/react-native/SectionList/...
method "node_modules/react-native-web/dist/cjs/exports/SectionList/index.js" (line 18935) | "node_modules/react-native-web/dist/cjs/exports/SectionList/index.js"(ex...
method "node_modules/react-native-web/dist/cjs/vendor/react-native/Animated/components/AnimatedSectionList.js" (line 18949) | "node_modules/react-native-web/dist/cjs/vendor/react-native/Animated/com...
method "node_modules/react-native-web/dist/cjs/exports/Text/index.js" (line 18971) | "node_modules/react-native-web/dist/cjs/exports/Text/index.js"(exports2,...
method "node_modules/react-native-web/dist/cjs/vendor/react-native/Animated/components/AnimatedText.js" (line 19127) | "node_modules/react-native-web/dist/cjs/vendor/react-native/Animated/com...
method "node_modules/react-native-web/dist/cjs/vendor/react-native/Animated/components/AnimatedView.js" (line 19143) | "node_modules/react-native-web/dist/cjs/vendor/react-native/Animated/com...
method "node_modules/react-native-web/dist/cjs/vendor/react-native/Animated/nodes/AnimatedAddition.js" (line 19159) | "node_modules/react-native-web/dist/cjs/vendor/react-native/Animated/nod...
method "node_modules/react-native-web/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDiffClamp.js" (line 19210) | "node_modules/react-native-web/dist/cjs/vendor/react-native/Animated/nod...
method "node_modules/react-native-web/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDivision.js" (line 19265) | "node_modules/react-native-web/dist/cjs/vendor/react-native/Animated/nod...
method "node_modules/react-native-web/dist/cjs/vendor/react-native/Animated/nodes/AnimatedModulo.js" (line 19331) | "node_modules/react-native-web/dist/cjs/vendor/react-native/Animated/nod...
method "node_modules/react-native-web/dist/cjs/vendor/react-native/Animated/nodes/AnimatedMultiplication.js" (line 19379) | "node_modules/react-native-web/dist/cjs/vendor/react-native/Animated/nod...
method "node_modules/react-native-web/dist/cjs/vendor/react-native/Animated/nodes/AnimatedSubtraction.js" (line 19430) | "node_modules/react-native-web/dist/cjs/vendor/react-native/Animated/nod...
method "node_modules/react-native-web/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTracking.js" (line 19481) | "node_modules/react-native-web/dist/cjs/vendor/react-native/Animated/nod...
method "node_modules/react-native-web/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValueXY.js" (line 19550) | "node_modules/react-native-web/dist/cjs/vendor/react-native/Animated/nod...
method "node_modules/react-native-web/dist/cjs/vendor/react-native/Animated/animations/Animation.js" (line 19721) | "node_modules/react-native-web/dist/cjs/vendor/react-native/Animated/ani...
method "node_modules/react-native-web/dist/cjs/vendor/react-native/Animated/animations/DecayAnimation.js" (line 19777) | "node_modules/react-native-web/dist/cjs/vendor/react-native/Animated/ani...
method "node_modules/react-native-web/dist/cjs/vendor/react-native/Animated/SpringConfig.js" (line 19849) | "node_modules/react-native-web/dist/cjs/vendor/react-native/Animated/Spr...
method "node_modules/react-native-web/dist/cjs/vendor/react-native/Animated/nodes/AnimatedColor.js" (line 19928) | "node_modules/react-native-web/dist/cjs/vendor/react-native/Animated/nod...
method "node_modules/react-native-web/dist/cjs/vendor/react-native/Animated/animations/SpringAnimation.js" (line 20203) | "node_modules/react-native-web/dist/cjs/vendor/react-native/Animated/ani...
method "node_modules/react-native-web/dist/cjs/vendor/react-native/Animated/bezier.js" (line 20405) | "node_modules/react-native-web/dist/cjs/vendor/react-native/Animated/bez...
method "node_modules/react-native-web/dist/cjs/vendor/react-native/Animated/Easing.js" (line 20513) | "node_modules/react-native-web/dist/cjs/vendor/react-native/Animated/Eas...
method "node_modules/react-native-web/dist/cjs/exports/Easing/index.js" (line 20702) | "node_modules/react-native-web/dist/cjs/exports/Easing/index.js"(exports...
method "node_modules/react-native-web/dist/cjs/vendor/react-native/Animated/animations/TimingAnimation.js" (line 20715) | "node_modules/react-native-web/dist/cjs/vendor/react-native/Animated/ani...
method "node_modules/react-native-web/dist/cjs/vendor/react-native/Animated/AnimatedImplementation.js" (line 20831) | "node_modules/react-native-web/dist/cjs/vendor/react-native/Animated/Ani...
method "node_modules/react-native-web/dist/cjs/vendor/react-native/Animated/AnimatedMock.js" (line 21379) | "node_modules/react-native-web/dist/cjs/vendor/react-native/Animated/Ani...
method "node_modules/react-native-web/dist/cjs/vendor/react-native/Animated/Animated.js" (line 21507) | "node_modules/react-native-web/dist/cjs/vendor/react-native/Animated/Ani...
method "node_modules/react-native-web/dist/cjs/exports/Animated/index.js" (line 21537) | "node_modules/react-native-web/dist/cjs/exports/Animated/index.js"(expor...
method "node_modules/react-native-web/dist/cjs/exports/Appearance/index.js" (line 21551) | "node_modules/react-native-web/dist/cjs/exports/Appearance/index.js"(exp...
method "node_modules/react-native-web/dist/cjs/exports/AppRegistry/AppContainer.js" (line 21602) | "node_modules/react-native-web/dist/cjs/exports/AppRegistry/AppContainer...
method "node_modules/react-native-web/dist/cjs/exports/AppRegistry/renderApplication.js" (line 21643) | "node_modules/react-native-web/dist/cjs/exports/AppRegistry/renderApplic...
method "node_modules/react-native-web/dist/cjs/exports/AppRegistry/index.js" (line 21692) | "node_modules/react-native-web/dist/cjs/exports/AppRegistry/index.js"(ex...
method "node_modules/react-native-web/dist/cjs/exports/AppState/index.js" (line 21775) | "node_modules/react-native-web/dist/cjs/exports/AppState/index.js"(expor...
method "node_modules/react-native-web/dist/cjs/exports/BackHandler/index.js" (line 21835) | "node_modules/react-native-web/dist/cjs/exports/BackHandler/index.js"(ex...
method "node_modules/react-native-web/dist/cjs/exports/Clipboard/index.js" (line 21859) | "node_modules/react-native-web/dist/cjs/exports/Clipboard/index.js"(expo...
method "node_modules/react-native-web/dist/cjs/exports/I18nManager/index.js" (line 21912) | "node_modules/react-native-web/dist/cjs/exports/I18nManager/index.js"(ex...
method "node_modules/react-native-web/dist/cjs/exports/Keyboard/index.js" (line 21936) | "node_modules/react-native-web/dist/cjs/exports/Keyboard/index.js"(expor...
method "node_modules/react-native-web/dist/cjs/vendor/react-native/LayoutAnimation/index.js" (line 21967) | "node_modules/react-native-web/dist/cjs/vendor/react-native/LayoutAnimat...
method "node_modules/react-native-web/dist/cjs/exports/LayoutAnimation/index.js" (line 22072) | "node_modules/react-native-web/dist/cjs/exports/LayoutAnimation/index.js...
method "node_modules/react-native-web/dist/cjs/exports/Linking/index.js" (line 22085) | "node_modules/react-native-web/dist/cjs/exports/Linking/index.js"(export...
method "node_modules/react-native-web/dist/cjs/exports/NativeEventEmitter/index.js" (line 22189) | "node_modules/react-native-web/dist/cjs/exports/NativeEventEmitter/index...
method "node_modules/react-native-web/dist/cjs/vendor/react-native/TouchHistoryMath/index.js" (line 22202) | "node_modules/react-native-web/dist/cjs/vendor/react-native/TouchHistory...
method "node_modules/react-native-web/dist/cjs/vendor/react-native/PanResponder/index.js" (line 22325) | "node_modules/react-native-web/dist/cjs/vendor/react-native/PanResponder...
method "node_modules/react-native-web/dist/cjs/exports/PanResponder/index.js" (line 22630) | "node_modules/react-native-web/dist/cjs/exports/PanResponder/index.js"(e...
method "node_modules/react-native-web/dist/cjs/exports/Share/index.js" (line 22643) | "node_modules/react-native-web/dist/cjs/exports/Share/index.js"(exports2...
method "node_modules/react-native-web/dist/cjs/exports/Vibration/index.js" (line 22692) | "node_modules/react-native-web/dist/cjs/exports/Vibration/index.js"(expo...
method "node_modules/react-native-web/dist/cjs/exports/ActivityIndicator/index.js" (line 22719) | "node_modules/react-native-web/dist/cjs/exports/ActivityIndicator/index....
method "node_modules/react-native-web/dist/cjs/modules/usePressEvents/PressResponder.js" (line 22811) | "node_modules/react-native-web/dist/cjs/modules/usePressEvents/PressResp...
method "node_modules/react-native-web/dist/cjs/modules/usePressEvents/index.js" (line 23198) | "node_modules/react-native-web/dist/cjs/modules/usePressEvents/index.js"...
method "node_modules/react-native-web/dist/cjs/exports/TouchableOpacity/index.js" (line 23229) | "node_modules/react-native-web/dist/cjs/exports/TouchableOpacity/index.j...
method "node_modules/react-native-web/dist/cjs/exports/Button/index.js" (line 23317) | "node_modules/react-native-web/dist/cjs/exports/Button/index.js"(exports...
method "node_modules/react-native-web/dist/cjs/exports/CheckBox/index.js" (line 23371) | "node_modules/react-native-web/dist/cjs/exports/CheckBox/index.js"(expor...
method "node_modules/react-native-web/dist/cjs/exports/ImageBackground/index.js" (line 23476) | "node_modules/react-native-web/dist/cjs/exports/ImageBackground/index.js...
method "node_modules/react-native-web/dist/cjs/exports/KeyboardAvoidingView/index.js" (line 23521) | "node_modules/react-native-web/dist/cjs/exports/KeyboardAvoidingView/ind...
method "node_modules/react-native-web/dist/cjs/exports/Modal/ModalPortal.js" (line 23568) | "node_modules/react-native-web/dist/cjs/exports/Modal/ModalPortal.js"(ex...
method "node_modules/react-native-web/dist/cjs/exports/Modal/ModalAnimation.js" (line 23607) | "node_modules/react-native-web/dist/cjs/exports/Modal/ModalAnimation.js"...
method "node_modules/react-native-web/dist/cjs/exports/Modal/ModalContent.js" (line 23744) | "node_modules/react-native-web/dist/cjs/exports/Modal/ModalContent.js"(e...
method "node_modules/react-native-web/dist/cjs/exports/Modal/ModalFocusTrap.js" (line 23811) | "node_modules/react-native-web/dist/cjs/exports/Modal/ModalFocusTrap.js"...
method "node_modules/react-native-web/dist/cjs/exports/Modal/index.js" (line 23921) | "node_modules/react-native-web/dist/cjs/exports/Modal/index.js"(exports2...
method "node_modules/react-native-web/dist/cjs/exports/Picker/PickerItem.js" (line 24010) | "node_modules/react-native-web/dist/cjs/exports/Picker/PickerItem.js"(ex...
method "node_modules/react-native-web/dist/cjs/exports/Picker/index.js" (line 24035) | "node_modules/react-native-web/dist/cjs/exports/Picker/index.js"(exports...
method "node_modules/react-native-web/dist/cjs/modules/addEventListener/index.js" (line 24089) | "node_modules/react-native-web/dist/cjs/modules/addEventListener/index.j...
method "node_modules/react-native-web/dist/cjs/modules/modality/index.js" (line 24156) | "node_modules/react-native-web/dist/cjs/modules/modality/index.js"(expor...
method "node_modules/react-native-web/dist/cjs/modules/useEvent/index.js" (line 24347) | "node_modules/react-native-web/dist/cjs/modules/useEvent/index.js"(expor...
method "node_modules/react-native-web/dist/cjs/modules/useHover/index.js" (line 24390) | "node_modules/react-native-web/dist/cjs/modules/useHover/index.js"(expor...
method "node_modules/react-native-web/dist/cjs/exports/Pressable/index.js" (line 24504) | "node_modules/react-native-web/dist/cjs/exports/Pressable/index.js"(expo...
method "node_modules/react-native-web/dist/cjs/exports/ProgressBar/index.js" (line 24627) | "node_modules/react-native-web/dist/cjs/exports/ProgressBar/index.js"(ex...
method "node_modules/react-native-web/dist/cjs/exports/SafeAreaView/index.js" (line 24695) | "node_modules/react-native-web/dist/cjs/exports/SafeAreaView/index.js"(e...
method "node_modules/react-native-web/dist/cjs/exports/StatusBar/index.js" (line 24737) | "node_modules/react-native-web/dist/cjs/exports/StatusBar/index.js"(expo...
method "node_modules/react-native-web/dist/cjs/modules/multiplyStyleLengthValue/index.js" (line 24759) | "node_modules/react-native-web/dist/cjs/modules/multiplyStyleLengthValue...
method "node_modules/react-native-web/dist/cjs/exports/Switch/index.js" (line 24784) | "node_modules/react-native-web/dist/cjs/exports/Switch/index.js"(exports...
method "node_modules/react-native-web/dist/cjs/exports/TextInput/index.js" (line 24961) | "node_modules/react-native-web/dist/cjs/exports/TextInput/index.js"(expo...
method "node_modules/react-native-web/dist/cjs/vendor/react-native/PooledClass/index.js" (line 25286) | "node_modules/react-native-web/dist/cjs/vendor/react-native/PooledClass/...
method "node_modules/react-native-web/dist/cjs/exports/Touchable/BoundingDimensions.js" (line 25332) | "node_modules/react-native-web/dist/cjs/exports/Touchable/BoundingDimens...
method "node_modules/react-native-web/dist/cjs/exports/Touchable/Position.js" (line 25359) | "node_modules/react-native-web/dist/cjs/exports/Touchable/Position.js"(e...
method "node_modules/react-native-web/dist/cjs/exports/Touchable/index.js" (line 25383) | "node_modules/react-native-web/dist/cjs/exports/Touchable/index.js"(expo...
method "node_modules/react-native-web/dist/cjs/exports/TouchableHighlight/index.js" (line 26003) | "node_modules/react-native-web/dist/cjs/exports/TouchableHighlight/index...
method "node_modules/react-native-web/dist/cjs/modules/UnimplementedView/index.js" (line 26111) | "node_modules/react-native-web/dist/cjs/modules/UnimplementedView/index....
method "node_modules/react-native-web/dist/cjs/exports/TouchableNativeFeedback/index.js" (line 26140) | "node_modules/react-native-web/dist/cjs/exports/TouchableNativeFeedback/...
method "node_modules/react-native-web/dist/cjs/exports/TouchableWithoutFeedback/index.js" (line 26153) | "node_modules/react-native-web/dist/cjs/exports/TouchableWithoutFeedback...
method "node_modules/react-native-web/dist/cjs/exports/VirtualizedList/index.js" (line 26218) | "node_modules/react-native-web/dist/cjs/exports/VirtualizedList/index.js...
method "node_modules/react-native-web/dist/cjs/exports/YellowBox/index.js" (line 26232) | "node_modules/react-native-web/dist/cjs/exports/YellowBox/index.js"(expo...
method "node_modules/react-native-web/dist/cjs/exports/LogBox/index.js" (line 26252) | "node_modules/react-native-web/dist/cjs/exports/LogBox/index.js"(exports...
method "node_modules/react-native-web/dist/cjs/exports/DeviceEventEmitter/index.js" (line 26273) | "node_modules/react-native-web/dist/cjs/exports/DeviceEventEmitter/index...
method "node_modules/react-native-web/dist/cjs/exports/useColorScheme/index.js" (line 26286) | "node_modules/react-native-web/dist/cjs/exports/useColorScheme/index.js"...
method "node_modules/react-native-web/dist/cjs/exports/useLocaleContext/index.js" (line 26314) | "node_modules/react-native-web/dist/cjs/exports/useLocaleContext/index.j...
method "node_modules/react-native-web/dist/cjs/exports/useWindowDimensions/index.js" (line 26327) | "node_modules/react-native-web/dist/cjs/exports/useWindowDimensions/inde...
method "node_modules/react-native-web/dist/cjs/index.js" (line 26360) | "node_modules/react-native-web/dist/cjs/index.js"(exports2) {
method "node_modules/tabbable/dist/index.js" (line 26492) | "node_modules/tabbable/dist/index.js"(exports2) {
function isValidCSSCharCode (line 27276) | function isValidCSSCharCode(code) {
function clamp (line 27289) | function clamp(value, [min2, max2]) {
function composeEventHandlers (line 27295) | function composeEventHandlers(og, next, {
function concatClassName (line 27306) | function concatClassName(_cn) {
function shouldRenderNativePlatform (line 27365) | function shouldRenderNativePlatform(nativeProp) {
function resolvePlatformNames (line 27372) | function resolvePlatformNames(nativeProp) {
function PortalHostWeb (line 28190) | function PortalHostWeb(props) {
function PortalHostNonNative (line 28204) | function PortalHostNonNative(props) {
function setRef (line 28375) | function setRef(ref, value) {
function composeRefs (line 28379) | function composeRefs(...refs) {
function useComposedRefs (line 28383) | function useComposedRefs(...refs) {
function createContext5 (line 28394) | function createContext5(rootComponentName, defaultContext) {
function createContextScope (line 28417) | function createContextScope(scopeName, createContextScopeDeps = []) {
function composeContextScopes (line 28461) | function composeContextScopes(...scopes) {
function useForceUpdate (line 28494) | function useForceUpdate() {
function useConstant (line 28508) | function useConstant(fn) {
function usePresence (line 28528) | function usePresence() {
function useIsPresent (line 28540) | function useIsPresent() {
function isPresent (line 28544) | function isPresent(context2) {
function newChildrenMap (line 28597) | function newChildrenMap() {
function updateChildLookup (line 28605) | function updateChildLookup(children, allChildren) {
function onlyElements (line 28612) | function onlyElements(children) {
function useCallbackRef (line 28700) | function useCallbackRef(callback) {
function useEscapeKeydown (line 28710) | function useEscapeKeydown(onEscapeKeyDownProp, ownerDocument = globalThi...
function useGet (line 28725) | function useGet(currentValue, initialValue2, forwardToFunction) {
function useEvent (line 28734) | function useEvent(callback) {
function dispatchDiscreteCustomEvent (line 28746) | function dispatchDiscreteCustomEvent(target, event) {
function usePointerDownOutside (line 28824) | function usePointerDownOutside(onPointerDownOutside) {
function useFocusOutside (line 28857) | function useFocusOutside(onFocusOutside) {
function dispatchUpdate (line 28878) | function dispatchUpdate() {
function handleAndDispatchCustomEvent (line 28883) | function handleAndDispatchCustomEvent(name, handler, detail, {
function useFocusScope (line 28912) | function useFocusScope(props, forwardedRef) {
function focusFirst (line 29002) | function focusFirst(candidates, {
function getTabbableEdges (line 29011) | function getTabbableEdges(container) {
function getTabbableCandidates (line 29016) | function getTabbableCandidates(container) {
function findVisible (line 29027) | function findVisible(elements, container) {
function isHidden (line 29033) | function isHidden(node, {
function isSelectableInput (line 29045) | function isSelectableInput(element) {
function focus (line 29049) | function focus(element, {
function createFocusScopesStack (line 29061) | function createFocusScopesStack() {
function arrayRemove (line 29074) | function arrayRemove(array, item) {
function removeLinks (line 29079) | function removeLinks(items) {
function useDidFinishSSR (line 29106) | function useDidFinishSSR(value) {
function resisted (line 29134) | function resisted(y, minY, maxOverflow = 25) {
function useControllableState (line 29144) | function useControllableState({
function useSheetProviderProps (line 29212) | function useSheetProviderProps(props, state, options = {}) {
function stopSpring (line 29348) | function stopSpring() {
function setPanning (line 29381) | function setPanning(val) {
function getYPositions (line 29546) | function getYPositions(mode, point, screenSize, frameSize) {
function createSheet (line 29667) | function createSheet({
function getNativeSheet (line 29898) | function getNativeSheet(platform2) {
function setupNativeSheet (line 29902) | function setupNativeSheet(platform2, RNIOSModal) {
function getDefaultSizeToken (line 29970) | function getDefaultSizeToken(font) {
function wrapChildrenInText (line 30114) | function wrapChildrenInText(TextComponent, propsIn, extraProps) {
function getState (line 30506) | function getState(open) {
function run (line 30844) | async function run() {
function useButton (line 31177) | function useButton({
function useFocusable (line 31451) | function useFocusable({
function usePrevious (line 31584) | function usePrevious(value) {
function isIndeterminate (line 31597) | function isIndeterminate(checked) {
function getState2 (line 31601) | function getState2(checked) {
function useCheckbox (line 31649) | function useCheckbox(props, [checked, setChecked], ref) {
function createCheckbox (line 31704) | function createCheckbox(createProps) {
function useIndex (line 31876) | function useIndex() {
function useIndexedChildren (line 31895) | function useIndexedChildren(children) {
function parseIndexPath (line 31906) | function parseIndexPath(indexPathString) {
function createGroup (line 31934) | function createGroup(verticalDefault) {
function createMedia (line 32075) | function createMedia(media) {
function Animate (line 32316) | function Animate({
function clamp2 (line 32362) | function clamp2(start, value, end) {
function evaluate (line 32366) | function evaluate(value, param) {
function getSide (line 32370) | function getSide(placement) {
function getAlignment (line 32374) | function getAlignment(placement) {
function getOppositeAxis (line 32378) | function getOppositeAxis(axis) {
function getAxisLength (line 32382) | function getAxisLength(axis) {
function getSideAxis (line 32386) | function getSideAxis(placement) {
function getAlignmentAxis (line 32390) | function getAlignmentAxis(placement) {
function getAlignmentSides (line 32394) | function getAlignmentSides(placement, rects, rtl) {
function getExpandedPlacements (line 32408) | function getExpandedPlacements(placement) {
function getOppositeAlignmentPlacement (line 32413) | function getOppositeAlignmentPlacement(placement) {
function getSideList (line 32417) | function getSideList(side, isStart, rtl) {
function getOppositeAxisPlacements (line 32435) | function getOppositeAxisPlacements(placement, flipAlignment, direction, ...
function getOppositePlacement (line 32447) | function getOppositePlacement(placement) {
function expandPaddingObject (line 32451) | function expandPaddingObject(padding) {
function getPaddingObject (line 32461) | function getPaddingObject(padding) {
function rectToClientRect (line 32470) | function rectToClientRect(rect) {
function computeCoordsFromPlacement (line 32491) | function computeCoordsFromPlacement(_ref, placement, rtl) {
function detectOverflow (line 32630) | async function detectOverflow(state, options) {
method fn (line 32690) | async fn(state) {
method fn (line 32756) | async fn(state) {
function convertValueToCoords (line 32853) | async function convertValueToCoords(state, options) {
method fn (line 32898) | async fn(state) {
method fn (line 32928) | async fn(state) {
method fn (line 33000) | async fn(state) {
function hasWindow (line 33073) | function hasWindow() {
function getNodeName (line 33077) | function getNodeName(node) {
function getWindow (line 33084) | function getWindow(node) {
function getDocumentElement (line 33089) | function getDocumentElement(node) {
function isNode (line 33094) | function isNode(value) {
function isElement (line 33101) | function isElement(value) {
function isHTMLElement (line 33108) | function isHTMLElement(value) {
function isShadowRoot (line 33115) | function isShadowRoot(value) {
function isOverflowElement (line 33122) | function isOverflowElement(element) {
function isTableElement (line 33132) | function isTableElement(element) {
function isTopLayer (line 33136) | function isTopLayer(element) {
function isContainingBlock (line 33146) | function isContainingBlock(elementOrCss) {
function getContainingBlock (line 33152) | function getContainingBlock(element) {
function isWebKit (line 33165) | function isWebKit() {
function isLastTraversableNode (line 33170) | function isLastTraversableNode(node) {
function getComputedStyle2 (line 33174) | function getComputedStyle2(element) {
function getNodeScroll (line 33178) | function getNodeScroll(element) {
function getParentNode (line 33191) | function getParentNode(node) {
function getNearestOverflowAncestor (line 33205) | function getNearestOverflowAncestor(node) {
function getOverflowAncestors (line 33216) | function getOverflowAncestors(node, list, traverseIframes) {
function getFrameElement (line 33234) | function getFrameElement(win) {
function getCssDimensions (line 33240) | function getCssDimensions(element) {
function unwrapElement (line 33259) | function unwrapElement(element) {
function getScale (line 33263) | function getScale(element) {
function getVisualOffsets (line 33289) | function getVisualOffsets(element) {
function shouldAddVisualOffsets (line 33300) | function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
function getBoundingClientRect (line 33310) | function getBoundingClientRect(element, includeScale, isFixedStrategy, o...
function getWindowScrollBarX (line 33363) | function getWindowScrollBarX(element, rect) {
function getHTMLOffset (line 33371) | function getHTMLOffset(documentElement, scroll, ignoreScrollbarX) {
function convertOffsetParentRelativeRectToViewportRelativeRect (line 33387) | function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
function getClientRects (line 33427) | function getClientRects(element) {
function getDocumentRect (line 33431) | function getDocumentRect(element) {
function getViewportRect (line 33450) | function getViewportRect(element, strategy) {
function getInnerBoundingClientRect (line 33475) | function getInnerBoundingClientRect(element, strategy) {
function getClientRectFromClippingAncestor (line 33492) | function getClientRectFromClippingAncestor(element, clippingAncestor, st...
function hasFixedPositionAncestor (line 33512) | function hasFixedPositionAncestor(element, stopNode) {
function getClippingElementAncestors (line 33520) | function getClippingElementAncestors(element, cache3) {
function getClippingRect (line 33547) | function getClippingRect(_ref) {
function getDimensions (line 33573) | function getDimensions(element) {
function getRectRelativeToOffsetParent (line 33584) | function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
function isStaticPositioned (line 33617) | function isStaticPositioned(element) {
function getTrueOffsetParent (line 33621) | function getTrueOffsetParent(element, polyfill) {
function getOffsetParent (line 33635) | function getOffsetParent(element, polyfill) {
function isRTL (line 33674) | function isRTL(element) {
function rectsAreEqual (line 33690) | function rectsAreEqual(a, b) {
function observeMove (line 33694) | function observeMove(element, onMove) {
function autoUpdate (line 33772) | function autoUpdate(reference, floating, update, options) {
function deepEqual (line 33869) | function deepEqual(a, b) {
function getDPR (line 33917) | function getDPR(element) {
function roundByDPR (line 33925) | function roundByDPR(element, value) {
function useLatestRef (line 33930) | function useLatestRef(value) {
function useFloating (line 33938) | function useFloating(options) {
function isRef (line 34091) | function isRef(value) {
method fn (line 34098) | fn(state) {
function setupPopper (line 34159) | function setupPopper(options) {
function Popper (line 34163) | function Popper(props) {
function activeElement (line 34434) | function activeElement(doc) {
function contains (line 34443) | function contains(parent, child) {
function getPlatform (line 34463) | function getPlatform() {
function getUserAgent (line 34471) | function getUserAgent() {
function isVirtualClick (line 34485) | function isVirtualClick(event) {
function isVirtualPointerEvent (line 34495) | function isVirtualPointerEvent(event) {
function isSafari (line 34501) | function isSafari() {
function isAndroid3 (line 34505) | function isAndroid3() {
function isMac (line 34510) | function isMac() {
function isJSDOM (line 34514) | function isJSDOM() {
function isMouseLikePointerType (line 34518) | function isMouseLikePointerType(pointerType, strict) {
function isReactEvent (line 34526) | function isReactEvent(event) {
function isRootElement (line 34530) | function isRootElement(element) {
function getDocument (line 34534) | function getDocument(node) {
function isEventTargetWithin (line 34538) | function isEventTargetWithin(event, node) {
function getTarget (line 34549) | function getTarget(event) {
function isTypeableElement (line 34557) | function isTypeableElement(element) {
function stopEvent (line 34561) | function stopEvent(event) {
function isTypeableCombobox (line 34566) | function isTypeableCombobox(element) {
function useEffectEvent (line 34581) | function useEffectEvent(callback) {
function isDifferentRow (line 34602) | function isDifferentRow(index3, cols, prevRow) {
function isIndexOutOfBounds (line 34606) | function isIndexOutOfBounds(listRef, index3) {
function getMinIndex (line 34610) | function getMinIndex(listRef, disabledIndices) {
function getMaxIndex (line 34616) | function getMaxIndex(listRef, disabledIndices) {
function findNonDisabledIndex (line 34624) | function findNonDisabledIndex(listRef, _temp) {
function getGridNavigatedIndex (line 34639) | function getGridNavigatedIndex(elementsRef, _ref) {
function buildCellMap (line 34767) | function buildCellMap(sizes, cols, dense) {
function getCellIndexOfCorner (line 34804) | function getCellIndexOfCorner(index3, sizes, cellMap, cols, corner) {
function getCellIndices (line 34826) | function getCellIndices(indices, cellMap) {
function isDisabled (line 34830) | function isDisabled(list, index3, disabledIndices) {
function useFloatingId (line 34849) | function useFloatingId() {
function warn (line 34868) | function warn() {
function error (line 34881) | function error() {
function createPubSub (line 34894) | function createPubSub() {
function createAttribute (line 34918) | function createAttribute(name) {
function clearTimeoutIfSet (line 34922) | function clearTimeoutIfSet(timeoutRef) {
function useLatestRef2 (line 34929) | function useLatestRef2(value) {
function getDelay (line 34938) | function getDelay(value, prop, pointerType) {
function useHover (line 34948) | function useHover(context2, props) {
function FloatingDelayGroup (line 35253) | function FloatingDelayGroup(props) {
function useDelayGroup (line 35303) | function useDelayGroup(context2, options) {
function enqueueFocus (line 35368) | function enqueueFocus(el, options) {
function getAncestors (line 35388) | function getAncestors(nodes, id) {
function getChildren (line 35402) | function getChildren(nodes, id) {
function getDeepestNode (line 35421) | function getDeepestNode(nodes, id) {
function applyAttributeToOthers (line 35455) | function applyAttributeToOthers(uncorrectedAvoidElements, body, ariaHidd...
function markOthers (line 35535) | function markOthers(avoidElements, ariaHidden, inert) {
function getTabbableIn (line 35555) | function getTabbableIn(container, direction) {
function getNextTabbable (line 35565) | function getNextTabbable(referenceElement) {
function getPreviousTabbable (line 35569) | function getPreviousTabbable(referenceElement) {
function isOutsideEvent (line 35573) | function isOutsideEvent(event, container) {
function disableFocusInside (line 35579) | function disableFocusInside(container) {
function enableFocusInside (line 35587) | function enableFocusInside(container) {
function useFloatingPortalNode (line 35636) | function useFloatingPortalNode(props) {
function FloatingPortal (line 35692) | function FloatingPortal(props) {
function getFloatingFocusElement (line 35787) | function getFloatingFocusElement(floatingElement) {
function useLiteMergeRefs (line 35794) | function useLiteMergeRefs(refs) {
function addPreviouslyFocusedElement (line 35808) | function addPreviouslyFocusedElement(element) {
function getPreviouslyFocusedElement (line 35818) | function getPreviouslyFocusedElement() {
function getFirstTabbableElement (line 35822) | function getFirstTabbableElement(container) {
function FloatingFocusManager (line 35839) | function FloatingFocusManager(props) {
function enableScrollLock (line 36241) | function enableScrollLock() {
function isButtonTarget (line 36315) | function isButtonTarget(event) {
function isAnchorTarget (line 36319) | function isAnchorTarget(event) {
function isSpaceIgnored (line 36323) | function isSpaceIgnored(element) {
function useClick (line 36327) | function useClick(context2, props) {
function useDismiss (line 36434) | function useDismiss(context2, props) {
function useFloatingRootContext (line 36688) | function useFloatingRootContext(options) {
function useFloating3 (line 36734) | function useFloating3(options) {
function getUserAgent2 (line 36824) | function getUserAgent2() {
function isJSDOM2 (line 36838) | function isJSDOM2() {
function matchesFocusVisible (line 36842) | function matchesFocusVisible(element) {
function isMacSafari (line 36851) | function isMacSafari() {
function useFocus (line 36855) | function useFocus(context2, props) {
function mergeProps (line 36965) | function mergeProps(userProps, propsList, elementKey) {
function useInteractions (line 37022) | function useInteractions(propsList) {
function doSwitch (line 37052) | function doSwitch(orientation, vertical, horizontal) {
function isMainOrientationKey (line 37063) | function isMainOrientationKey(key, orientation) {
function isMainOrientationToEndKey (line 37069) | function isMainOrientationToEndKey(key, orientation, rtl) {
function isCrossOrientationOpenKey (line 37075) | function isCrossOrientationOpenKey(key, orientation, rtl) {
function isCrossOrientationCloseKey (line 37081) | function isCrossOrientationCloseKey(key, orientation, rtl, cols) {
function useListNavigation (line 37090) | function useListNavigation(context2, props) {
function useRole (line 37589) | function useRole(context2, props) {
function useTypeahead (line 37685) | function useTypeahead(context2, props) {
function getArgsWithCustomFloatingHeight (line 37803) | function getArgsWithCustomFloatingHeight(state, height) {
method fn (line 37819) | async fn(state) {
function useInnerOffset (line 37882) | function useInnerOffset(context2, props) {
function isPointInPolygon (line 37971) | function isPointInPolygon(point, polygon) {
function isInside (line 37986) | function isInside(point, rect) {
function safePolygon (line 37990) | function safePolygon(options) {
function PopoverRepropagateContext (line 38298) | function PopoverRepropagateContext(props) {
function PopoverContentPortal (line 38312) | function PopoverContentPortal(props) {
function getState3 (line 38524) | function getState3(open) {
function defaultGetValueLabel (line 38591) | function defaultGetValueLabel(value, max2) {
function getProgressState (line 38595) | function getProgressState(value, maxValue) {
function isNumber (line 38599) | function isNumber(value) {
function isValidMaxNumber (line 38603) | function isValidMaxNumber(max2) {
function isValidValueNumber (line 38607) | function isValidValueNumber(value, max2) {
function getState4 (line 38831) | function getState4(checked) {
function useRadioGroup (line 38838) | function useRadioGroup(params) {
function useRadioGroupItemIndicator (line 38965) | function useRadioGroupItemIndicator(params) {
function createCollection (line 38986) | function createCollection(name) {
function useDirection (line 39061) | function useDirection(localDir) {
function getDirectionAwareKey (line 39213) | function getDirectionAwareKey(key, dir) {
function getFocusIntent (line 39217) | function getFocusIntent(event, orientation, dir) {
function focusFirst2 (line 39222) | function focusFirst2(candidates) {
function wrapArray (line 39227) | function wrapArray(array, startIndex) {
function createRadioGroup (line 39242) | function createRadioGroup(createProps) {
function debounce (line 39406) | function debounce(func, wait, leading) {
function useDebounce (line 39424) | function useDebounce(fn, wait, options = defaultOpts, mountArgs = [fn]) {
function useDebounceValue (line 39431) | function useDebounceValue(val, amt = 0) {
method apply (line 39571) | apply({
method getReferenceProps (line 39627) | getReferenceProps() {
method getFloatingProps (line 39636) | getFloatingProps(props2) {
function onPointerDown (line 39683) | function onPointerDown(e) {
function handleSelect (line 39779) | function handleSelect() {
method onTouchMove (line 39784) | onTouchMove() {
method onTouchEnd (line 39787) | onTouchEnd() {
method onKeyDown (line 39790) | onKeyDown(event) {
method onClick (line 39793) | onClick() {
method onMouseUp (line 39796) | onMouseUp() {
function frame (line 39957) | function frame() {
method onPress (line 40018) | onPress() {
method onMouseDown (line 40022) | onMouseDown() {
method onPress (line 40027) | onPress() {
function unwrapSelectItem (line 40158) | function unwrapSelectItem(selectValueChildren) {
function useEmitter (line 40329) | function useEmitter() {
function SelectInner (line 40340) | function SelectInner(props) {
function getNextSortedValues (line 40468) | function getNextSortedValues(prevValues = [], nextValue, atIndex) {
function convertValueToPercentage (line 40473) | function convertValueToPercentage(value, min2, max2) {
function getLabel (line 40477) | function getLabel(index3, totalValues) {
function getClosestValueIndex (line 40482) | function getClosestValueIndex(values, nextValue) {
function getThumbInBoundsOffset (line 40488) | function getThumbInBoundsOffset(width, left, direction) {
function getStepsBetweenValues (line 40493) | function getStepsBetweenValues(values) {
function hasMinStepsBetweenValues (line 40497) | function hasMinStepsBetweenValues(values, minStepsBetweenValues) {
function linearScale (line 40505) | function linearScale(input, output) {
function getDecimalCount (line 40513) | function getDecimalCount(value) {
function roundValue (line 40517) | function roundValue(value, decimalCount) {
function getValueFromPointer (line 40613) | function getValueFromPointer(pointerPosition) {
function useOnDebouncedWindowResize (line 40680) | function useOnDebouncedWindowResize(callback, amt = 200) {
function getValueFromPointer (line 40705) | function getValueFromPointer(pointerPosition) {
function updateThumbFocus (line 40945) | function updateThumbFocus(focusIndex) {
function handleSlideMove (line 40954) | function handleSlideMove(value2, event) {
function updateValues (line 40958) | function updateValues(value2, atIndex) {
function getState5 (line 41023) | function getState5(checked) {
function useSwitch (line 41059) | function useSwitch(props, [checked, setChecked], ref) {
function createSwitch (line 41189) | function createSwitch(createProps) {
function getTriggerSize (line 41410) | function getTriggerSize() {
function makeTriggerId (line 41560) | function makeTriggerId(baseId, value) {
function makeContentId (line 41564) | function makeContentId(baseId, value) {
function mutateThemes (line 41571) | function mutateThemes({
function _mutateTheme (line 41607) | function _mutateTheme(props) {
function updateThemeConfig (line 41638) | function updateThemeConfig(themeName, theme) {
function updateThemeStates (line 41643) | function updateThemeStates() {
function insertThemeCSS (line 41647) | function insertThemeCSS(themes, batch = false) {
function updateStyle (line 41667) | function updateStyle(id, rules) {
function addTheme (line 41675) | function addTheme(props) {
function updateTheme (line 41685) | function updateTheme({
function replaceTheme (line 41699) | function replaceTheme({
function configureInitialWindowDimensions (line 42284) | function configureInitialWindowDimensions(next) {
function subscribe2 (line 42292) | function subscribe2(cb) {
function useWindowDimensions (line 42296) | function useWindowDimensions({
function useInputProps (line 42548) | function useInputProps(props, ref) {
FILE: .tamagui/tamagui.config.cjs
function usePresence (line 155) | function usePresence() {
function createAnimations (line 171) | function createAnimations(animations2) {
function createGenericFont (line 339) | function createGenericFont(family, font = {}, {
function createMedia (line 462) | function createMedia(media2) {
function sizeToSpace (line 548) | function sizeToSpace(v) {
function t (line 583) | function t(a) {
function postfixObjKeys (line 1885) | function postfixObjKeys(obj, postfix) {
FILE: electron/electron-env.d.ts
type ProcessEnv (line 4) | interface ProcessEnv {
FILE: electron/main/common/chunking.ts
function chunkMarkdownByHeadings (line 11) | function chunkMarkdownByHeadings(markdownContent: string): string[] {
FILE: electron/main/common/error.ts
function errorToStringMainProcess (line 1) | function errorToStringMainProcess(error: unknown, depth: number = 0): st...
FILE: electron/main/common/windowManager.ts
type WindowInfo (line 9) | type WindowInfo = {
class WindowsManager (line 15) | class WindowsManager {
method createWindow (line 22) | async createWindow(store: Store<StoreSchema>, preload: string, url: st...
method getAndSetupDirectoryForWindowFromPreviousAppSession (line 73) | getAndSetupDirectoryForWindowFromPreviousAppSession(
method appendNewErrorToDisplayInWindow (line 89) | appendNewErrorToDisplayInWindow(errorString: string) {
method getAndClearErrorStrings (line 104) | getAndClearErrorStrings(): string[] {
method getBrowserWindowId (line 110) | getBrowserWindowId(webContents: WebContents): number | null {
method getWindowInfoForContents (line 115) | getWindowInfoForContents(webContents: WebContents): WindowInfo | null {
method getVaultDirectoryForWinContents (line 126) | getVaultDirectoryForWinContents(webContents: WebContents): string | nu...
method getVaultDirectoryForWindowID (line 131) | private getVaultDirectoryForWindowID(windowID: number): string | null {
method setVaultDirectoryForContents (line 136) | setVaultDirectoryForContents(webContents: WebContents, directory: stri...
method prepareWindowForClose (line 166) | prepareWindowForClose(store: Store<StoreSchema>, win: BrowserWindow) {
method removeActiveWindowByDirectory (line 176) | removeActiveWindowByDirectory(directory: string): void {
method getNextWindowPosition (line 180) | getNextWindowPosition(): { x: number | undefined; y: number | undefine...
method getWindowSize (line 191) | getWindowSize(): { width: number; height: number } {
FILE: electron/main/electron-store/ipcHandlers.ts
function getDefaultEmbeddingModelConfig (line 241) | function getDefaultEmbeddingModelConfig(store: Store<StoreSchema>): Embe...
FILE: electron/main/electron-store/storeConfig.ts
type APIInterface (line 4) | type APIInterface = 'openai' | 'anthropic' | 'ollama'
type LLMAPIConfig (line 6) | interface LLMAPIConfig {
type LLMConfig (line 13) | interface LLMConfig {
type LLMGenerationParameters (line 19) | type LLMGenerationParameters = {
type EmbeddingModelConfig (line 24) | type EmbeddingModelConfig = EmbeddingModelWithRepo | EmbeddingModelWithL...
type TamaguiThemeTypes (line 26) | type TamaguiThemeTypes = 'light' | 'dark'
type EmbeddingModelWithRepo (line 28) | interface EmbeddingModelWithRepo {
type EmbeddingModelWithLocalPath (line 35) | interface EmbeddingModelWithLocalPath {
type StoreSchema (line 42) | interface StoreSchema {
type StoreKeys (line 71) | enum StoreKeys {
FILE: electron/main/electron-store/storeSchemaMigrator.ts
function setupDefaultStoreValues (line 72) | function setupDefaultStoreValues(store: Store<StoreSchema>) {
function ensureChatsIsCorrectProperty (line 90) | function ensureChatsIsCorrectProperty(store: Store<StoreSchema>) {
function ensureChatsHasDisplayNameAndTimestamp (line 117) | function ensureChatsHasDisplayNameAndTimestamp(store: Store<StoreSchema>) {
FILE: electron/main/electron-store/types.ts
type SearchProps (line 1) | interface SearchProps {
FILE: electron/main/filesystem/filesystem.ts
function isHidden (line 13) | function isHidden(fileName: string): boolean {
function fileHasExtensionInList (line 17) | function fileHasExtensionInList(filePath: string, extensions: string[]):...
function GetFilesInfoTree (line 26) | function GetFilesInfoTree(pathInput: string, parentRelativePath: string ...
function flattenFileInfoTree (line 76) | function flattenFileInfoTree(tree: FileInfoTree): FileInfo[] {
function GetFilesInfoList (line 94) | function GetFilesInfoList(directory: string): FileInfo[] {
function GetFilesInfoListForListOfPaths (line 100) | function GetFilesInfoListForListOfPaths(paths: string[]): FileInfo[] {
function createFileRecursive (line 115) | function createFileRecursive(filePath: string, content: string, charset?...
function updateFileListForRenderer (line 130) | function updateFileListForRenderer(win: BrowserWindow, directory: string...
function startWatchingDirectory (line 137) | function startWatchingDirectory(win: BrowserWindow, directoryToWatch: st...
function appendExtensionIfMissing (line 165) | function appendExtensionIfMissing(filename: string, extensions: string[]...
function readFile (line 175) | function readFile(filePath: string): string {
function splitDirectoryPathIntoBaseAndRepo (line 180) | function splitDirectoryPathIntoBaseAndRepo(fullPath: string) {
FILE: electron/main/filesystem/storage/ImageStore.ts
class ImageStore (line 14) | class ImageStore extends MediaStore {
method constructor (line 15) | constructor(appDataPath: string) {
FILE: electron/main/filesystem/storage/MediaStore.ts
type FileType (line 13) | interface FileType {
type MediaMetadata (line 18) | interface MediaMetadata {
class MediaStore (line 27) | class MediaStore {
method constructor (line 34) | constructor(appDataPath: string, mediaType: string) {
method initStorage (line 41) | protected initStorage(): void {
method getMetadata (line 50) | protected getMetadata(): Record<string, MediaMetadata> {
method saveMetadata (line 55) | protected saveMetadata(metadata: Record<string, MediaMetadata>): void {
method generateFileName (line 59) | static generateFileName(originalName: string): string {
method checkFileType (line 65) | static async checkFileType(buffer: Buffer): Promise<FileType | undefin...
method validateFileType (line 71) | protected validateFileType(mimeType: string): boolean {
method storeMedia (line 77) | public async storeMedia(mediaData: string, originalName: string, block...
method deleteMedia (line 105) | public async deleteMedia(fileName: string): Promise<void> {
method getMedia (line 115) | public async getMedia(fileName: string): Promise<string | null> {
FILE: electron/main/filesystem/storage/VideoStore.ts
class VideoStore (line 14) | class VideoStore extends MediaStore {
method constructor (line 15) | constructor(appDataPath: string) {
FILE: electron/main/filesystem/types.ts
type FileInfo (line 1) | type FileInfo = {
type FileInfoWithContent (line 9) | type FileInfoWithContent = FileInfo & {
type FileInfoNode (line 13) | type FileInfoNode = FileInfo & {
type FileInfoTree (line 17) | type FileInfoTree = FileInfoNode[]
type AugmentPromptWithFileProps (line 19) | interface AugmentPromptWithFileProps {
type WriteFileProps (line 25) | type WriteFileProps = {
type RenameFileProps (line 30) | type RenameFileProps = {
FILE: electron/main/llm/contextLimit.ts
type PromptWithContextLimit (line 3) | interface PromptWithContextLimit {
FILE: electron/main/llm/llmConfig.ts
function addOrUpdateLLMAPIInStore (line 7) | async function addOrUpdateLLMAPIInStore(store: Store<StoreSchema>, newAP...
function addOrUpdateLLMInStore (line 21) | async function addOrUpdateLLMInStore(store: Store<StoreSchema>, newLLM: ...
function getLLMConfigs (line 35) | async function getLLMConfigs(store: Store<StoreSchema>, ollamaSession: O...
function getLLMConfig (line 42) | async function getLLMConfig(
function removeLLM (line 55) | async function removeLLM(
FILE: electron/main/llm/models/ollama.ts
class OllamaService (line 24) | class OllamaService {
method ping (line 45) | async ping() {
method serve (line 58) | async serve() {
method execServe (line 108) | async execServe(_path: string) {
method waitForPing (line 141) | async waitForPing(delay = 1000, retries = 20) {
method stop (line 157) | stop() {
method abort (line 209) | public abort(): void {
FILE: electron/main/llm/types.ts
type LLMSessionService (line 7) | interface LLMSessionService {
type ISendFunctionImplementer (line 36) | interface ISendFunctionImplementer {
FILE: electron/main/llm/utils.ts
function cleanMessageForAnthropic (line 4) | function cleanMessageForAnthropic(message: ChatCompletionMessageParam): ...
FILE: electron/main/path/path.ts
function addExtensionToFilenameIfNoExtensionPresent (line 3) | function addExtensionToFilenameIfNoExtensionPresent(
FILE: electron/main/vector-database/downloadModelsFromHF.ts
function downloadAndSaveFile (line 8) | async function downloadAndSaveFile(repo: string, HFFilePath: string, sys...
FILE: electron/main/vector-database/embeddings.ts
function setupTokenizeFunction (line 51) | function setupTokenizeFunction(tokenizer: PreTrainedTokenizer): (data: (...
function setupEmbedFunction (line 64) | async function setupEmbedFunction(pipe: Pipeline): Promise<(batch: (stri...
function createEmbeddingFunctionForLocalModel (line 92) | async function createEmbeddingFunctionForLocalModel(
function createEmbeddingFunctionForRepo (line 127) | async function createEmbeddingFunctionForRepo(
type EnhancedEmbeddingFunction (line 162) | interface EnhancedEmbeddingFunction<T> extends lancedb.EmbeddingFunction...
function createEmbeddingFunction (line 167) | async function createEmbeddingFunction(
FILE: electron/main/vector-database/ipcHandlers.ts
type PromptWithRagResults (line 16) | interface PromptWithRagResults {
type BasePromptRequirements (line 21) | interface BasePromptRequirements {
FILE: electron/main/vector-database/lanceTableWrapper.ts
function unsanitizePathForFileSystem (line 9) | function unsanitizePathForFileSystem(dbPath: string): string {
function convertRecordToDBType (line 13) | function convertRecordToDBType<T extends DBEntry | DBQueryResult>(record...
function sanitizePathForDatabase (line 20) | function sanitizePathForDatabase(filePath: string): string {
class LanceDBTableWrapper (line 24) | class LanceDBTableWrapper {
method initialize (line 30) | async initialize(dbConnection: Connection, userDirectory: string, embe...
method add (line 36) | async add(_data: DBEntry[], onProgress?: (progress: number) => void): ...
method deleteDBItemsByFilePaths (line 70) | async deleteDBItemsByFilePaths(filePaths: string[]): Promise<void> {
method updateDBItemsWithNewFilePath (line 86) | async updateDBItemsWithNewFilePath(oldFilePath: string, newFilePath: s...
method search (line 104) | async search(query: string, limit: number, filter?: string): Promise<D...
method filter (line 116) | async filter(filterString: string, limit: number = 10): Promise<DBEntr...
FILE: electron/main/vector-database/schema.ts
type DBEntry (line 3) | interface DBEntry {
type DBQueryResult (line 11) | interface DBQueryResult extends DBEntry {
type DatabaseFields (line 17) | enum DatabaseFields {
FILE: electron/main/vector-database/tableHelperFunctions.ts
function formatTimestampForLanceDB (line 215) | function formatTimestampForLanceDB(date: Date): string {
FILE: electron/preload/index.ts
type IPCHandler (line 18) | type IPCHandler<T extends (...args: any[]) => any> = (...args: Parameter...
function createIPCHandler (line 21) | function createIPCHandler<T extends (...args: any[]) => any>(channel: st...
type Window (line 161) | interface Window {
FILE: scripts/downloadOllama.js
function ensureDirectoryExistence (line 27) | function ensureDirectoryExistence(dirPath) {
function setExecutable (line 34) | function setExecutable(filePath) {
function removeDirectory (line 46) | function removeDirectory(dirPath) {
function downloadAndExtractArchive (line 60) | function downloadAndExtractArchive(
function downloadIfMissing (line 184) | async function downloadIfMissing(platformKey) {
function main (line 221) | async function main() {
FILE: scripts/notarize.js
function printDirectoryTree (line 12) | function printDirectoryTree(startPath, indent = '') {
function notarizeApp (line 31) | async function notarizeApp() {
FILE: src/App.tsx
type AppProps (line 13) | interface AppProps {}
FILE: src/components/Chat/ChatConfigComponents/DBSearchFilters.tsx
type DbSearchFiltersProps (line 6) | interface DbSearchFiltersProps {
FILE: src/components/Chat/ChatConfigComponents/ToolSelector.tsx
type ToolSelectorProps (line 9) | interface ToolSelectorProps {
FILE: src/components/Chat/ChatInput.tsx
type ChatInputProps (line 12) | interface ChatInputProps {
FILE: src/components/Chat/ChatMessages.tsx
type MessageProps (line 15) | interface MessageProps {
type ChatMessagesProps (line 44) | interface ChatMessagesProps {
FILE: src/components/Chat/ChatPrompts.tsx
type Props (line 4) | interface Props {
FILE: src/components/Chat/ChatSidebar.tsx
type ChatItemProps (line 10) | interface ChatItemProps {
FILE: src/components/Chat/MessageComponents/AssistantMessage.tsx
type AssistantMessageProps (line 15) | interface AssistantMessageProps {
FILE: src/components/Chat/MessageComponents/ChatSources.tsx
type ChatSourcesProps (line 11) | interface ChatSourcesProps {
FILE: src/components/Chat/MessageComponents/SystemMessage.tsx
type SystemMessageProps (line 7) | interface SystemMessageProps {
FILE: src/components/Chat/MessageComponents/ToolCalls.tsx
type ToolCallComponentProps (line 13) | interface ToolCallComponentProps {
type ToolRendererProps (line 19) | interface ToolRendererProps {
FILE: src/components/Chat/MessageComponents/UserMessage.tsx
type UserMessageProps (line 8) | interface UserMessageProps {
FILE: src/components/Common/ExternalLink.tsx
type ExternalLinkProps (line 3) | interface ExternalLinkProps {
FILE: src/components/Common/IndexingProgress.tsx
type IndexingProgressProps (line 8) | interface IndexingProgressProps {
FILE: src/components/Common/MarkdownRenderer.tsx
type MarkdownRendererProps (line 5) | interface MarkdownRendererProps {
FILE: src/components/Common/Modal.tsx
type ModalProps (line 6) | interface ModalProps {
FILE: src/components/Common/ResizableComponent.tsx
type ResizableComponentProps (line 3) | interface ResizableComponentProps {
FILE: src/components/Editor/BacklinkExtension.tsx
method init (line 13) | init(_, { doc }) {
method apply (line 16) | apply(tr, set) {
method view (line 20) | view() {
method decorations (line 79) | decorations(state) {
method addProseMirrorPlugins (line 151) | addProseMirrorPlugins() {
FILE: src/components/Editor/BacklinkSuggestionsDisplay.tsx
type SuggestionsState (line 8) | interface SuggestionsState {
type SuggestionsDisplayProps (line 14) | interface SuggestionsDisplayProps {
FILE: src/components/Editor/HighlightExtension.tsx
type HighlightData (line 4) | interface HighlightData {
method addProseMirrorPlugins (line 12) | addProseMirrorPlugins() {
FILE: src/components/Editor/RichTextLink.tsx
function linkInputRule (line 23) | function linkInputRule(config: Parameters<typeof markInputRule>[0]) {
function linkPasteRule (line 44) | function linkPasteRule(config: Parameters<typeof markPasteRule>[0]) {
method addAttributes (line 65) | addAttributes() {
method addInputRules (line 73) | addInputRules() {
method addPasteRules (line 91) | addPasteRules() {
FILE: src/components/Editor/Search/SearchAndReplaceExtension.tsx
type Commands (line 30) | interface Commands<ReturnType> {
type TextNodesWithPosition (line 68) | interface TextNodesWithPosition {
type ProcessedSearches (line 76) | interface ProcessedSearches {
function processSearches (line 81) | function processSearches(
type SearchAndReplaceOptions (line 212) | interface SearchAndReplaceOptions {
type SearchAndReplaceStorage (line 217) | interface SearchAndReplaceStorage {
method addOptions (line 231) | addOptions() {
method addStorage (line 238) | addStorage() {
method addCommands (line 251) | addCommands() {
method addProseMirrorPlugins (line 321) | addProseMirrorPlugins() {
FILE: src/components/Editor/Search/SearchBar.tsx
type SearchBarProps (line 8) | interface SearchBarProps {
type SearchLocationProps (line 12) | interface SearchLocationProps {
FILE: src/components/Editor/schema.ts
type HMBlockSchema (line 29) | type HMBlockSchema = TypesMatch<typeof hmBlockSchema>
FILE: src/components/Editor/types/Video/video.tsx
function displayVideoType (line 20) | function displayVideoType(videoURL: string) {
FILE: src/components/Editor/types/media-container.tsx
type ContainerProps (line 7) | interface ContainerProps {
FILE: src/components/Editor/types/media-render.tsx
type MediaType (line 11) | type MediaType = {
type DisplayComponentProps (line 25) | interface DisplayComponentProps {
type RenderProps (line 33) | interface RenderProps {
type MediaComponentProps (line 47) | interface MediaComponentProps {
function updateSelection (line 69) | function updateSelection(
FILE: src/components/Editor/types/utils.ts
function youtubeParser (line 6) | function youtubeParser(url: string) {
function isValidUrl (line 12) | function isValidUrl(urlString: string) {
function camelToFlat (line 20) | function camelToFlat(camel: string) {
function setGroupTypes (line 33) | function setGroupTypes(tiptap: Editor, blocks: Array<Partial<Block<Block...
function getNodesInSelection (line 65) | function getNodesInSelection(view: EditorView) {
FILE: src/components/Editor/ui/src/TamaguiPopover.tsx
type PopoverProps (line 41) | type PopoverProps = PopperProps & {
type ScopedPopoverProps (line 58) | type ScopedPopoverProps<P> = ScopedProps<P, 'Popover'>
type PopoverContextValue (line 60) | type PopoverContextValue = {
constant POPOVER_SCOPE (line 77) | const POPOVER_SCOPE = 'PopoverScope'
function getState (line 88) | function getState(open: boolean) {
type PopoverAnchorProps (line 153) | type PopoverAnchorProps = YStackProps
type PopoverTriggerProps (line 176) | type PopoverTriggerProps = StackProps
type PopoverContentProps (line 341) | type PopoverContentProps = PopoverContentTypeProps
type PopoverContentTypeElement (line 343) | type PopoverContentTypeElement = PopoverContentImplElement
type PopoverContentTypeProps (line 345) | interface PopoverContentTypeProps extends Omit<PopoverContentImplProps, ...
type PopoverContentImplElement (line 425) | type PopoverContentImplElement = React.ElementRef<typeof PopperContent>
type PopoverContentImplProps (line 427) | interface PopoverContentImplProps
type PopoverCloseProps (line 465) | type PopoverCloseProps = YStackProps
type PopoverArrowProps (line 486) | type PopoverArrowProps = PopperArrowProps
type Rect (line 512) | type Rect = {
type PopoverType (line 519) | type PopoverType = {
FILE: src/components/Editor/ui/src/TamaguiPopoverUseFloatingContext.tsx
type FloatingContextProps (line 11) | interface FloatingContextProps {
FILE: src/components/Editor/ui/src/TamaguiPopper.tsx
type ShiftProps (line 26) | type ShiftProps = typeof shift extends (options: infer Opts) => void ? O...
type FlipProps (line 27) | type FlipProps = typeof flip extends (options: infer Opts) => void ? Opt...
type PopperContextValue (line 33) | type PopperContextValue = UseFloatingReturn & {
type PopperProps (line 49) | type PopperProps = {
type ScopedPopperProps (line 60) | type ScopedPopperProps<P> = ScopedProps<P, 'Popper'>
method fn (line 66) | fn(data: any) {
type PopperSetupOptions (line 76) | type PopperSetupOptions = {
function setupPopper (line 82) | function setupPopper(options?: PopperSetupOptions) {
method isRTL (line 113) | isRTL() {
type PopperAnchorRef (line 147) | type PopperAnchorRef = HTMLElement | typeof TamaguiView
type PopperAnchorProps (line 149) | type PopperAnchorProps = YStackProps & {
type PopperContentElement (line 186) | type PopperContentElement = HTMLElement | typeof TamaguiView
type PopperContentProps (line 188) | type PopperContentProps = SizableStackProps & {
type PopperArrowExtraProps (line 288) | type PopperArrowExtraProps = {
type PopperArrowProps (line 294) | type PopperArrowProps = YStackProps & PopperArrowExtraProps
type Sides (line 342) | type Sides = keyof typeof opposites
FILE: src/components/Editor/ui/src/TamaguiTooltip.tsx
constant TOOLTIP_SCOPE (line 46) | const TOOLTIP_SCOPE = 'tooltip'
type ScopedTooltipProps (line 47) | type ScopedTooltipProps<P> = ScopedProps<P, 'Tooltip'>
type TooltipProps (line 89) | type TooltipProps = PopperProps & {
type Delay (line 109) | type Delay =
FILE: src/components/Editor/ui/src/embed-links.tsx
type EmbedRenderProps (line 6) | interface EmbedRenderProps {
FILE: src/components/Editor/ui/src/generated-themes.ts
type Theme (line 1) | type Theme = {
function t (line 120) | function t(a) {
FILE: src/components/Editor/ui/src/global.ts
type Conf (line 4) | type Conf = typeof config
type TamaguiCustomConfig (line 7) | interface TamaguiCustomConfig extends Conf {}
type TypeOverride (line 9) | interface TypeOverride {
FILE: src/components/Editor/ui/src/helpers.ts
type ObjectType (line 3) | type ObjectType = Record<PropertyKey, unknown>
type PickByValue (line 5) | type PickByValue<OBJ_T, VALUE_T> = // From https://stackoverflow.com/a/5...
type ObjectEntries (line 8) | type ObjectEntries<OBJ_T> = // From https://stackoverflow.com/a/60142095
function objectEntries (line 15) | function objectEntries<OBJ_T extends ObjectType>(obj: OBJ_T): ObjectEntr...
type EntriesType (line 19) | type EntriesType = [PropertyKey, unknown][] | ReadonlyArray<readonly [Pr...
type DeepWritable (line 22) | type DeepWritable<OBJ_T> = {
type UnionToIntersection (line 25) | type UnionToIntersection<UNION_T> = // From https://stackoverflow.com/a/...
type UnionObjectFromArrayOfPairs (line 29) | type UnionObjectFromArrayOfPairs<ARR_T extends EntriesType> =
type MergeIntersectingObjects (line 35) | type MergeIntersectingObjects<ObjT> = { [key in keyof ObjT]: ObjT[key] }
type EntriesToObject (line 36) | type EntriesToObject<ARR_T extends EntriesType> = MergeIntersectingObjects<
function objectFromEntries (line 40) | function objectFromEntries<ARR_T extends EntriesType>(arr: ARR_T): Entri...
FILE: src/components/Editor/ui/src/tamagui/config/create-generic-font.ts
function createGenericFont (line 22) | function createGenericFont<A extends GenericFont<keyof typeof genericFon...
FILE: src/components/Editor/ui/src/tamagui/themes/helpers.ts
type ObjectType (line 2) | type ObjectType = Record<PropertyKey, unknown>
type PickByValue (line 4) | type PickByValue<OBJ_T, VALUE_T> = // From https://stackoverflow.com/a/5...
type ObjectEntries (line 7) | type ObjectEntries<OBJ_T> = // From https://stackoverflow.com/a/60142095
function objectEntries (line 14) | function objectEntries<OBJ_T extends ObjectType>(obj: OBJ_T): ObjectEntr...
type EntriesType (line 18) | type EntriesType = [PropertyKey, unknown][] | readonly (readonly [Proper...
type DeepWritable (line 21) | type DeepWritable<OBJ_T> = {
type UnionToIntersection (line 24) | type UnionToIntersection<UNION_T> = // From https://stackoverflow.com/a/...
type UnionObjectFromArrayOfPairs (line 28) | type UnionObjectFromArrayOfPairs<ARR_T extends EntriesType> =
type MergeIntersectingObjects (line 34) | type MergeIntersectingObjects<ObjT> = { [key in keyof ObjT]: ObjT[key] }
type EntriesToObject (line 35) | type EntriesToObject<ARR_T extends EntriesType> = MergeIntersectingObjects<
function objectFromEntries (line 39) | function objectFromEntries<ARR_T extends EntriesType>(arr: ARR_T): Entri...
FILE: src/components/Editor/ui/src/tamagui/themes/themes-generated.ts
type Theme (line 2) | type Theme = {
function t (line 124) | function t(a: [number, number][]) {
type ThemeNames (line 1074) | type ThemeNames =
FILE: src/components/Editor/ui/src/tamagui/themes/token-colors.ts
function postfixObjKeys (line 88) | function postfixObjKeys<A extends { [key: string]: Variable<string> | st...
FILE: src/components/Editor/ui/src/tamagui/themes/token-size.ts
type SizeKeysIn (line 33) | type SizeKeysIn = keyof typeof size
type Sizes (line 34) | type Sizes = {
type SizeKeys (line 38) | type SizeKeys = `${keyof Sizes extends `${infer K}` ? K : never}`
FILE: src/components/Editor/ui/src/tamagui/themes/token-space.ts
function sizeToSpace (line 4) | function sizeToSpace(v: number) {
type SizeKeysWithNegatives (line 19) | type SizeKeysWithNegatives = Exclude<`-${SizeKeys extends `$${infer Key}...
FILE: src/components/Editor/utils.ts
function getMarkdown (line 3) | function getMarkdown(editor: Editor) {
FILE: src/components/File/DBResultPreview.tsx
function getFileName (line 13) | function getFileName(filePath: string): string {
type DBResultPreviewProps (line 25) | interface DBResultPreviewProps {
type DBSearchPreviewProps (line 66) | interface DBSearchPreviewProps {
FILE: src/components/File/NewDirectory.tsx
type NewDirectoryComponentProps (line 12) | interface NewDirectoryComponentProps {
FILE: src/components/MainPage.tsx
type MainContentProps (line 26) | interface MainContentProps {
FILE: src/components/Settings/AnalyticsSettings.tsx
type AnalyticsSettingsProps (line 7) | interface AnalyticsSettingsProps {}
FILE: src/components/Settings/ChunkSizeSettings.tsx
type ChunkSizeSettingsProps (line 5) | interface ChunkSizeSettingsProps {
FILE: src/components/Settings/DirectorySelector.tsx
type DirectorySelectorProps (line 7) | interface DirectorySelectorProps {
FILE: src/components/Settings/EmbeddingSettings/EmbeddingModelSelect.tsx
type EmbeddingModelSelectProps (line 5) | interface EmbeddingModelSelectProps {
FILE: src/components/Settings/EmbeddingSettings/EmbeddingSettings.tsx
type EmbeddingModelManagerProps (line 12) | interface EmbeddingModelManagerProps {
FILE: src/components/Settings/EmbeddingSettings/InitialEmbeddingSettings.tsx
type InitialEmbeddingModelSettingsProps (line 10) | interface InitialEmbeddingModelSettingsProps {
FILE: src/components/Settings/EmbeddingSettings/modals/NewRemoteEmbeddingModel.tsx
type NewRemoteEmbeddingModelModalProps (line 18) | interface NewRemoteEmbeddingModelModalProps {
FILE: src/components/Settings/InitialSettingsSinglePage.tsx
type OldInitialSettingsProps (line 12) | interface OldInitialSettingsProps {
FILE: src/components/Settings/LLMSettings/DefaultLLMSelector.tsx
type DefaultLLMSelectorProps (line 7) | interface DefaultLLMSelectorProps {
FILE: src/components/Settings/LLMSettings/InitialSetupLLMSettings.tsx
type InitialSetupLLMSettingsProps (line 9) | interface InitialSetupLLMSettingsProps {}
FILE: src/components/Settings/LLMSettings/LLMSelectOrButton.tsx
type LLMSelectOrButtonProps (line 8) | interface LLMSelectOrButtonProps {
FILE: src/components/Settings/LLMSettings/LLMSettingsContent.tsx
type LLMSettingsContentProps (line 12) | interface LLMSettingsContentProps {}
FILE: src/components/Settings/LLMSettings/modals/CustomLLMAPISetup.tsx
type RemoteLLMModalProps (line 19) | interface RemoteLLMModalProps {
type ModelNameInputProps (line 24) | interface ModelNameInputProps {
FILE: src/components/Settings/LLMSettings/modals/DefaultLLMAPISetupModal.tsx
type CloudLLMSetupModalProps (line 22) | interface CloudLLMSetupModalProps {
FILE: src/components/Settings/LLMSettings/modals/NewOllamaModel.tsx
type NewOllamaModelModalProps (line 20) | interface NewOllamaModelModalProps {
type ModelDownloadStatus (line 25) | interface ModelDownloadStatus {
FILE: src/components/Settings/Settings.tsx
type SettingsModalProps (line 11) | interface SettingsModalProps {
type SettingsTab (line 17) | enum SettingsTab {
FILE: src/components/Settings/Shared/SettingsRow.tsx
type SettingsSectionProps (line 4) | interface SettingsSectionProps {
type SettingsRowProps (line 11) | interface SettingsRowProps {
FILE: src/components/Sidebars/FileSideBar/FileSidebar.tsx
type FileExplorerProps (line 29) | interface FileExplorerProps {
FILE: src/components/Sidebars/IconsSidebar.tsx
type IconsSidebarProps (line 16) | interface IconsSidebarProps {
FILE: src/components/Sidebars/MainSidebar.tsx
type SidebarAbleToShow (line 12) | type SidebarAbleToShow = 'files' | 'search' | 'chats'
FILE: src/components/Sidebars/SearchComponent.tsx
type SearchComponentProps (line 15) | interface SearchComponentProps {
type SearchModeTypes (line 22) | type SearchModeTypes = 'vector' | 'hybrid'
FILE: src/components/Sidebars/SemanticSidebar/HighlightButton.tsx
type HighlightButtonProps (line 9) | interface HighlightButtonProps {
FILE: src/components/Sidebars/SemanticSidebar/SimilarEntriesComponent.tsx
type SimilarEntriesComponentProps (line 14) | interface SimilarEntriesComponentProps {
FILE: src/components/TitleBar/NavigationButtons.tsx
function handleClickOutside (line 26) | function handleClickOutside(event: MouseEvent): void {
FILE: src/components/TitleBar/TitleBar.tsx
type TitleBarProps (line 9) | interface TitleBarProps {
FILE: src/components/WritingAssistant/ConversationHistory.tsx
type ConversationHistoryProps (line 8) | interface ConversationHistoryProps {
FILE: src/components/WritingAssistant/utils.ts
function getClassNames (line 3) | function getClassNames(message: ReorChatMessage | undefined): string {
FILE: src/components/ui/ThemedMenu.tsx
type ThemedMenuProps (line 5) | interface ThemedMenuProps {
type ThemedMenuItemProps (line 9) | type ThemedMenuItemProps<C extends React.ElementType = 'button'> = {
FILE: src/components/ui/badge.tsx
type BadgeProps (line 24) | interface BadgeProps extends React.HTMLAttributes<HTMLDivElement>, Varia...
FILE: src/components/ui/button.tsx
type ButtonProps (line 33) | interface ButtonProps
FILE: src/components/ui/calendar.tsx
type CalendarProps (line 11) | type CalendarProps = React.ComponentProps<typeof DayPicker>
FILE: src/components/ui/checkbox.tsx
type CheckboxProps (line 8) | interface CheckboxProps extends React.ComponentPropsWithoutRef<typeof Ch...
FILE: src/components/ui/command.tsx
type CommandDialogProps (line 27) | interface CommandDialogProps extends DialogProps {}
FILE: src/components/ui/date-picker.tsx
type DateRangePickerProps (line 9) | interface DateRangePickerProps {
FILE: src/components/ui/input.tsx
type InputProps (line 5) | interface InputProps extends React.InputHTMLAttributes<HTMLInputElement> {}
FILE: src/components/ui/suggestion-card.tsx
type SuggestionCardProps (line 4) | interface SuggestionCardProps {
FILE: src/components/ui/textarea.tsx
type TextareaProps (line 6) | interface TextareaProps extends React.TextareaHTMLAttributes<HTMLTextAre...
FILE: src/components/ui/window-controls.tsx
type WindowControlsProps (line 5) | interface WindowControlsProps {
FILE: src/contexts/AdaptContext.tsx
type AdaptContextType (line 3) | type AdaptContextType = {
FILE: src/contexts/ChatContext.tsx
type ChatContextType (line 5) | interface ChatContextType {
FILE: src/contexts/ContentContext.tsx
type ContentContextType (line 8) | interface ContentContextType {
type ContentProviderProps (line 26) | interface ContentProviderProps {
FILE: src/contexts/FileContext.tsx
type FileContextType (line 26) | type FileContextType = {
method onEditorContentChange (line 145) | onEditorContentChange() {
function checkAppUsage (line 209) | async function checkAppUsage() {
FILE: src/contexts/ModalContext.tsx
type ModalProviderProps (line 3) | interface ModalProviderProps {
type ModalOpenContextType (line 7) | interface ModalOpenContextType {
FILE: src/contexts/ThemeContext.tsx
type ThemeActions (line 6) | interface ThemeActions {
type ThemeContextValue (line 12) | interface ThemeContextValue {
class ThemeManager (line 78) | class ThemeManager {
method constructor (line 83) | constructor(initialTheme: TamaguiThemeTypes, setState: (theme: Tamagui...
method updateTheme (line 88) | private async updateTheme(newTheme: TamaguiThemeTypes) {
method getContextValue (line 94) | getContextValue(): ThemeContextValue {
FILE: src/lib/blocknote/core/BlockNoteEditor.ts
type BlockNoteEditorOptions (line 40) | type BlockNoteEditorOptions<BSchema extends BlockSchema> = {
class BlockNoteEditor (line 134) | class BlockNoteEditor<BSchema extends BlockSchema = HMBlockSchema> {
method constructor (line 153) | constructor(private readonly options: Partial<BlockNoteEditorOptions<B...
method prosemirrorView (line 291) | public get prosemirrorView() {
method domElement (line 295) | public get domElement() {
method isFocused (line 299) | public isFocused() {
method focus (line 303) | public focus() {
method setInlineEmbedOptions (line 307) | public setInlineEmbedOptions(newOpts: any) {
method mentionOptions (line 311) | public get mentionOptions() {
method topLevelBlocks (line 319) | public get topLevelBlocks(): Block<BSchema>[] {
method getBlock (line 339) | public getBlock(blockIdentifier: BlockIdentifier): Block<BSchema> | un...
method forEachBlock (line 366) | public forEachBlock(callback: (block: Block<BSchema>) => boolean, reve...
method onEditorContentChange (line 396) | public onEditorContentChange(callback: () => void) {
method onEditorSelectionChange (line 404) | public onEditorSelectionChange(callback: () => void) {
method getTextCursorPosition (line 412) | public getTextCursorPosition(): TextCursorPosition<BSchema> {
method setTextCursorPosition (line 448) | public setTextCursorPosition(targetBlock: BlockIdentifier, placement: ...
method getSelection (line 464) | public getSelection(): Selection<BSchema> | undefined {
method isEditable (line 495) | public get isEditable(): boolean {
method isEditable (line 503) | public set isEditable(editable: boolean) {
method insertBlocks (line 515) | public insertBlocks(
method updateBlock (line 530) | public updateBlock(blockToUpdate: BlockIdentifier, update: PartialBloc...
method removeBlocks (line 538) | public removeBlocks(blocksToRemove: BlockIdentifier[]) {
method replaceBlocks (line 549) | public replaceBlocks(blocksToRemove: BlockIdentifier[], blocksToInsert...
method getActiveStyles (line 556) | public getActiveStyles() {
method addStyles (line 578) | public addStyles(tempStyles: Styles) {
method removeStyles (line 597) | public removeStyles(tempStyles: Styles) {
method toggleStyles (line 609) | public toggleStyles(tempStyles: Styles) {
method getSelectedText (line 627) | public getSelectedText() {
method getSelectedLinkUrl (line 637) | public getSelectedLinkUrl() {
method createLink (line 646) | public createLink(url: string, text?: string) {
method canNestBlock (line 665) | public canNestBlock() {
method nestBlock (line 677) | public nestBlock() {
method canUnnestBlock (line 684) | public canUnnestBlock() {
method unnestBlock (line 693) | public unnestBlock() {
method blocksToHTML (line 703) | public async blocksToHTML(blocks: Block<BSchema>[]): Promise<string> {
method HTMLToBlocks (line 714) | public async HTMLToBlocks(html: string): Promise<Block<BSchema>[]> {
method blocksToMarkdown (line 725) | public async blocksToMarkdown(blocks: Block<BSchema>[]): Promise<strin...
method markdownToBlocks (line 736) | public async markdownToBlocks(markdown: string): Promise<Block<BSchema...
FILE: src/lib/blocknote/core/api/blockManipulation/blockManipulation.ts
function insertBlocks (line 7) | function insertBlocks<BSchema extends BlockSchema>(
function updateBlock (line 50) | function updateBlock<BSchema extends BlockSchema>(
function removeBlocks (line 61) | function removeBlocks(blocksToRemove: BlockIdentifier[], editor: Editor) {
function replaceBlocks (line 97) | function replaceBlocks<BSchema extends BlockSchema>(
FILE: src/lib/blocknote/core/api/formatConversions/customRehypePlugins.ts
function removeSingleSpace (line 4) | function removeSingleSpace() {
function preserveEmptyParagraphs (line 14) | function preserveEmptyParagraphs() {
function code (line 26) | function code(state: any, node: any) {
function handleMedia (line 66) | function handleMedia(state: any, node: any) {
FILE: src/lib/blocknote/core/api/formatConversions/formatConversions.ts
function blocksToHTML (line 26) | async function blocksToHTML<BSchema extends BlockSchema>(
function HTMLToBlocks (line 62) | async function HTMLToBlocks<BSchema extends BlockSchema>(
function convertBlockToHtml (line 125) | function convertBlockToHtml<BSchema extends BlockSchema>(block: Block<BS...
function convertBlocksToHtml (line 175) | function convertBlocksToHtml<BSchema extends BlockSchema>(blocks: Block<...
function blocksToMarkdown (line 187) | async function blocksToMarkdown<BSchema extends BlockSchema>(blocks: Blo...
function markdownToBlocks (line 210) | async function markdownToBlocks<BSchema extends BlockSchema>(
FILE: src/lib/blocknote/core/api/formatConversions/simplifyBlocksRehypePlugin.ts
type SimplifyBlocksOptions (line 4) | type SimplifyBlocksOptions = {
FILE: src/lib/blocknote/core/api/nodeConversions/nodeConversions.ts
function styledTextToNodes (line 26) | function styledTextToNodes(styledText: StyledText, schema: Schema): Node...
function styledTextArrayToNodes (line 58) | function styledTextArrayToNodes(content: string | StyledText[], schema: ...
function linkToNodes (line 76) | function linkToNodes(link: PartialLink, schema: Schema): Node[] {
function inlineContentToNodes (line 96) | function inlineContentToNodes(blockContent: PartialInlineContent[] | Inl...
function blockToNode (line 120) | function blockToNode<BSchema extends BlockSchema>(
function contentNodeToInlineContent (line 175) | function contentNodeToInlineContent(contentNode: Node) {
function nodeToBlock (line 347) | function nodeToBlock<BSchema extends BlockSchema>(
FILE: src/lib/blocknote/core/api/util/nodeUtil.ts
function getNodeById (line 6) | function getNodeById(id: string, doc: Node): { node: Node; posBeforeNode...
FILE: src/lib/blocknote/core/extensions/BlockManipulation/BlockManipulationExtension.ts
method addKeyboardShortcuts (line 14) | addKeyboardShortcuts() {
method addProseMirrorPlugins (line 50) | addProseMirrorPlugins() {
FILE: src/lib/blocknote/core/extensions/Blocks/PreviousBlockTypePlugin.ts
constant PLUGIN_KEY (line 5) | const PLUGIN_KEY = new PluginKey(`previous-blocks`)
method view (line 30) | view() {
method init (line 49) | init() {
method apply (line 60) | apply(transaction, prev, oldState, newState) {
method decorations (line 166) | decorations(state) {
FILE: src/lib/blocknote/core/extensions/Blocks/api/block.ts
function camelToDataKebab (line 8) | function camelToDataKebab(str: string): string {
function propsToAttributes (line 14) | function propsToAttributes<
function parse (line 46) | function parse<
function render (line 69) | function render<
function createTipTapBlock (line 108) | function createTipTapBlock<
function createBlockSpec (line 129) | function createBlockSpec<
FILE: src/lib/blocknote/core/extensions/Blocks/api/blockTypes.ts
type BlockNoteDOMElement (line 8) | type BlockNoteDOMElement = 'editor' | 'blockContainer' | 'blockGroup' | ...
type BlockNoteDOMAttributes (line 10) | type BlockNoteDOMAttributes = Partial<{
type TipTapNodeConfig (line 18) | type TipTapNodeConfig<
type TipTapNode (line 37) | type TipTapNode<
type PropSpec (line 52) | type PropSpec = {
type PropSchema (line 62) | type PropSchema = Record<string, PropSpec>
type Props (line 67) | type Props<PSchema extends PropSchema> = {
type BlockConfig (line 78) | type BlockConfig<
type BlockSpec (line 120) | type BlockSpec<Type extends string, PSchema extends PropSchema> = {
type TypesMatch (line 127) | type TypesMatch<Blocks extends Record<string, BlockSpec<string, PropSche...
type BlockSchema (line 142) | type BlockSchema = TypesMatch<Record<string, BlockSpec<string, PropSchem...
type BlocksWithoutChildren (line 147) | type BlocksWithoutChildren<BSchema extends BlockSchema> = {
type Block (line 158) | type Block<BSchema extends BlockSchema = DefaultBlockSchema> =
type SpecificBlock (line 163) | type SpecificBlock<
type PartialBlocksWithoutChildren (line 172) | type PartialBlocksWithoutChildren<BSchema extends BlockSchema> = {
type PartialBlock (line 183) | type PartialBlock<BSchema extends BlockSchema = DefaultBlockSchema> =
type BlockIdentifier (line 189) | type BlockIdentifier = { id: string } | string
type BlockChildrenType (line 190) | type BlockChildrenType = 'group' | 'ol' | 'ul' | 'div' | 'blockquote'
FILE: src/lib/blocknote/core/extensions/Blocks/api/cursorPositionTypes.ts
type TextCursorPosition (line 3) | type TextCursorPosition<BSchema extends BlockSchema> = {
FILE: src/lib/blocknote/core/extensions/Blocks/api/defaultBlocks.ts
type DefaultProps (line 25) | type DefaultProps = typeof defaultProps
type DefaultBlockSchema (line 52) | type DefaultBlockSchema = TypesMatch<typeof defaultBlockSchema>
FILE: src/lib/blocknote/core/extensions/Blocks/api/inlineContentTypes.ts
type Styles (line 1) | type Styles = {
type ToggledStyle (line 11) | type ToggledStyle = {
type ColorStyle (line 15) | type ColorStyle = {
type StyledText (line 19) | type StyledText = {
type BNLink (line 25) | type BNLink = {
type InlineEmbed (line 31) | type InlineEmbed = {
type PartialLink (line 36) | type PartialLink = Omit<BNLink, 'content'> & {
type InlineContent (line 40) | type InlineContent = StyledText | BNLink | InlineEmbed
type PartialInlineContent (line 41) | type PartialInlineContent = StyledText | PartialLink
FILE: src/lib/blocknote/core/extensions/Blocks/api/selectionTypes.ts
type Selection (line 3) | type Selection<BSchema extends BlockSchema> = {
FILE: src/lib/blocknote/core/extensions/Blocks/api/serialization.ts
method addProseMirrorPlugins (line 21) | addProseMirrorPlugins() {
FILE: src/lib/blocknote/core/extensions/Blocks/helpers/getBlockInfoFromPos.ts
type BlockInfoWithoutPositions (line 3) | type BlockInfoWithoutPositions = {
type BlockInfo (line 11) | type BlockInfo = BlockInfoWithoutPositions & {
function getBlockInfo (line 22) | function getBlockInfo(blockContainer: Node): BlockInfoWithoutPositions {
function getBlockInfoFromPos (line 45) | function getBlockInfoFromPos(doc: Node, pos: number): BlockInfo {
FILE: src/lib/blocknote/core/extensions/Blocks/helpers/getGroupInfoFromPos.ts
type GroupInfo (line 4) | type GroupInfo = {
function getGroupInfoFromPos (line 12) | function getGroupInfoFromPos(pos: number, state: EditorState): GroupInfo {
FILE: src/lib/blocknote/core/extensions/Blocks/nodes/BlockContainer.ts
method init (line 24) | init() {
method apply (line 27) | apply(tr, oldState) {
method decorations (line 32) | decorations(state) {
method mousedown (line 42) | mousedown(view, event) {
function getNearestHeadingFromPos (line 102) | function getNearestHeadingFromPos(state: EditorState, pos: number) {
class HeadingLinePlugin (line 127) | class HeadingLinePlugin {
method constructor (line 130) | constructor(view: EditorView) {
method update (line 141) | update(view: EditorView, lastState: EditorState | null) {
method destroy (line 167) | destroy() {
method view (line 174) | view(editorView) {
function getParentBlockFromPos (line 179) | function getParentBlockFromPos(state: EditorState, pos: number) {
type Commands (line 198) | interface Commands<ReturnType> {
method parseHTML (line 243) | parseHTML() {
method renderHTML (line 269) | renderHTML({ HTMLAttributes }) {
method addCommands (line 293) | addCommands() {
method addProseMirrorPlugins (line 737) | addProseMirrorPlugins() {
method addKeyboardShortcuts (line 747) | addKeyboardShortcuts() {
FILE: src/lib/blocknote/core/extensions/Blocks/nodes/BlockContent/HeadingBlockContent/HeadingBlockContent.ts
method addAttributes (line 10) | addAttributes() {
method addInputRules (line 25) | addInputRules() {
method parseHTML (line 47) | parseHTML() {
method renderHTML (line 77) | renderHTML({ node, HTMLAttributes }) {
FILE: src/lib/blocknote/core/extensions/Blocks/nodes/BlockContent/ListItemBlockContent/BulletListItemBlockContent/BulletListItemBlockContent.ts
method addInputRules (line 11) | addInputRules() {
method addKeyboardShortcuts (line 29) | addKeyboardShortcuts() {
method parseHTML (line 35) | parseHTML() {
method renderHTML (line 85) | renderHTML({ HTMLAttributes }) {
FILE: src/lib/blocknote/core/extensions/Blocks/nodes/BlockContent/ListItemBlockContent/NumberedListItemBlockContent/NumberedListIndexingPlugin.ts
constant PLUGIN_KEY (line 5) | const PLUGIN_KEY = new PluginKey(`numbered-list-indexing`)
FILE: src/lib/blocknote/core/extensions/Blocks/nodes/BlockContent/ListItemBlockContent/NumberedListItemBlockContent/NumberedListItemBlockContent.ts
method addAttributes (line 12) | addAttributes() {
method addInputRules (line 26) | addInputRules() {
method addKeyboardShortcuts (line 44) | addKeyboardShortcuts() {
method addProseMirrorPlugins (line 50) | addProseMirrorPlugins() {
method parseHTML (line 54) | parseHTML() {
method renderHTML (line 106) | renderHTML({ HTMLAttributes }) {
FILE: src/lib/blocknote/core/extensions/Blocks/nodes/BlockContent/ParagraphBlockContent/ParagraphBlockContent.ts
method parseHTML (line 10) | parseHTML() {
method renderHTML (line 28) | renderHTML({ HTMLAttributes }) {
FILE: src/lib/blocknote/core/extensions/Blocks/nodes/BlockGroup.ts
method addAttributes (line 13) | addAttributes() {
method addInputRules (line 49) | addInputRules() {
method parseHTML (line 73) | parseHTML() {
method renderHTML (line 116) | renderHTML({ node, HTMLAttributes }) {
FILE: src/lib/blocknote/core/extensions/DraggableBlocks/BlockSideMenuFactoryTypes.ts
type BlockSideMenuStaticParams (line 4) | type BlockSideMenuStaticParams<BSchema extends BlockSchema> = {
type BlockSideMenuDynamicParams (line 18) | type BlockSideMenuDynamicParams<BSchema extends BlockSchema> = {
type BlockSideMenu (line 22) | type BlockSideMenu<BSchema extends BlockSchema> = {
type BlockSideMenuFactory (line 28) | type BlockSideMenuFactory<BSchema extends BlockSchema> = {
FILE: src/lib/blocknote/core/extensions/DraggableBlocks/DraggableBlocksExtension.ts
type DraggableBlocksOptions (line 7) | type DraggableBlocksOptions<BSchema extends BlockSchema> = {
method addProseMirrorPlugins (line 23) | addProseMirrorPlugins() {
FILE: src/lib/blocknote/core/extensions/DraggableBlocks/DraggableBlocksPlugin.ts
function getDraggableBlockFromCoords (line 23) | function getDraggableBlockFromCoords(coords: { left: number; top: number...
function blockPositionFromCoords (line 57) | function blockPositionFromCoords(coords: { left: number; top: number }, ...
function blockPositionsFromSelection (line 72) | function blockPositionsFromSelection(selection: Selection, doc: Node) {
function unsetDragImage (line 108) | function unsetDragImage() {
function setDragImage (line 115) | function setDragImage(view: EditorView, from: number, to = from) {
function dragStart (line 163) | function dragStart(e: DragEvent, view: EditorView) {
type BlockMenuViewProps (line 206) | type BlockMenuViewProps<BSchema extends BlockSchema> = {
class BlockMenuView (line 213) | class BlockMenuView<BSchema extends BlockSchema> {
method constructor (line 237) | constructor({ tiptapEditor, editor, blockMenuFactory, horizontalPosAnc...
method destroy (line 460) | destroy() {
method addBlock (line 473) | addBlock() {
method getStaticParams (line 522) | getStaticParams(): BlockSideMenuStaticParams<BSchema> {
method getDynamicParams (line 556) | getDynamicParams(): BlockSideMenuDynamicParams<BSchema> {
FILE: src/lib/blocknote/core/extensions/DraggableBlocks/MultipleNodeSelection.ts
class MultipleNodeSelection (line 17) | class MultipleNodeSelection extends Selection {
method constructor (line 20) | constructor($anchor: ResolvedPos, $head: ResolvedPos) {
method create (line 36) | static create(doc: Node, from: number, to = from): MultipleNodeSelecti...
method content (line 40) | content(): Slice {
method eq (line 44) | eq(selection: Selection): boolean {
method map (line 66) | map(doc: Node, mapping: Mappable): Selection {
method toJSON (line 81) | toJSON(): any {
FILE: src/lib/blocknote/core/extensions/FormattingToolbar/FormattingToolbarPlugin.ts
type FormattingToolbarCallbacks (line 8) | type FormattingToolbarCallbacks = BaseUiElementCallbacks
type FormattingToolbarState (line 10) | type FormattingToolbarState = BaseUiElementState
class FormattingToolbarView (line 12) | class FormattingToolbarView<BSchema extends BlockSchema> {
method constructor (line 46) | constructor(
method update (line 125) | update(view: EditorView, oldState?: EditorState) {
method destroy (line 171) | destroy() {
method getSelectionBoundingBox (line 182) | getSelectionBoundingBox() {
class FormattingToolbarProsemirrorPlugin (line 205) | class FormattingToolbarProsemirrorPlugin<BSchema extends BlockSchema> ex...
method constructor (line 210) | constructor(editor: BlockNoteEditor<BSchema>) {
method onUpdate (line 223) | public onUpdate(callback: (state: FormattingToolbarState) => void) {
FILE: src/lib/blocknote/core/extensions/HyperlinkToolbar/HyperlinkToolbarPlugin.ts
type HyperlinkToolbarState (line 12) | type HyperlinkToolbarState = BaseUiElementState & {
class HyperlinkToolbarView (line 21) | class HyperlinkToolbarView<BSchema extends BlockSchema> {
method constructor (line 44) | constructor(
method editHyperlink (line 195) | editHyperlink(url: string, text: string) {
method updateHyperlink (line 222) | updateHyperlink(url: string, text: string) {
method resetHyperlink (line 242) | resetHyperlink() {
method deleteHyperlink (line 255) | deleteHyperlink() {
method update (line 290) | update() {
method destroy (line 381) | destroy() {
class HyperlinkToolbarProsemirrorPlugin (line 390) | class HyperlinkToolbarProsemirrorPlugin<BSchema extends BlockSchema> ext...
method constructor (line 395) | constructor(editor: BlockNoteEditor<BSchema>) {
method onUpdate (line 408) | public onUpdate(callback: (state: HyperlinkToolbarState) => void) {
FILE: src/lib/blocknote/core/extensions/Markdown/MarkdownExtension.ts
function containsMarkdownSymbols (line 9) | function containsMarkdownSymbols(pastedText: string) {
function getPastedNodes (line 35) | function getPastedNodes(parent: Node | Fragment, editor: Editor) {
method addProseMirrorPlugins (line 64) | addProseMirrorPlugins() {
FILE: src/lib/blocknote/core/extensions/Pasting/local-media-paste-plugin.ts
function uploadMedia (line 8) | async function uploadMedia(file: File, blockID: string) {
method handlePaste (line 35) | handlePaste(view, event) {
method addProseMirrorPlugins (line 93) | addProseMirrorPlugins() {
FILE: src/lib/blocknote/core/extensions/Placeholder/PlaceholderExtension.ts
constant PLUGIN_KEY (line 7) | const PLUGIN_KEY = new PluginKey(`blocknote-placeholder`)
type PlaceholderOptions (line 16) | interface PlaceholderOptions {
method addOptions (line 32) | addOptions() {
method addProseMirrorPlugins (line 45) | addProseMirrorPlugins() {
FILE: src/lib/blocknote/core/extensions/SideMenu/SideMenuPlugin.ts
function blockPositionFromCoords (line 16) | function blockPositionFromCoords(coords: { left: number; top: number }, ...
function blockPositionsFromSelection (line 31) | function blockPositionsFromSelection(selection: Selection, doc: Node) {
function unsetDragImage (line 67) | function unsetDragImage() {
function setDragImage (line 74) | function setDragImage(view: EditorView, from: number, to = from) {
function dragStart (line 122) | function dragStart(e: { dataTransfer: DataTransfer | null; clientY: numb...
class SideMenuProsemirrorPlugin (line 168) | class SideMenuProsemirrorPlugin<BSchema extends BlockSchema> extends Eve...
method constructor (line 173) | constructor(private readonly editor: BlockNoteEditor<BSchema>) {
method onUpdate (line 186) | public onUpdate(callback: (state: SideMenuState<BSchema>) => void) {
FILE: src/lib/blocknote/core/extensions/SideMenu/SideMenuView.ts
type SideMenuState (line 9) | type SideMenuState<BSchema extends BlockSchema> = BaseUiElementState & {
function getDraggableBlockFromCoords (line 15) | function getDraggableBlockFromCoords(coords: { left: number; top: number...
class SideMenuView (line 46) | class SideMenuView<BSchema extends BlockSchema> implements PluginView {
method constructor (line 63) | constructor(
method destroy (line 286) | destroy() {
method addBlock (line 299) | addBlock() {
FILE: src/lib/blocknote/core/extensions/SlashMenu/BaseSlashMenuItem.ts
type BaseSlashMenuItem (line 6) | type BaseSlashMenuItem<BSchema extends BlockSchema = DefaultBlockSchema>...
FILE: src/lib/blocknote/core/extensions/SlashMenu/SlashMenuPlugin.ts
class SlashMenuProsemirrorPlugin (line 11) | class SlashMenuProsemirrorPlugin<
method constructor (line 19) | constructor(editor: BlockNoteEditor<BSchema>, items: SlashMenuItem[]) {
method onUpdate (line 42) | public onUpdate(callback: (state: SuggestionsMenuState<SlashMenuItem>)...
FILE: src/lib/blocknote/core/extensions/SlashMenu/defaultSlashMenuItems.ts
function insertOrUpdateBlock (line 6) | function insertOrUpdateBlock<BSchema extends BlockSchema>(
FILE: src/lib/blocknote/core/extensions/TextAlignment/TextAlignmentExtension.ts
type Commands (line 5) | interface Commands<ReturnType> {
method addGlobalAttributes (line 15) | addGlobalAttributes() {
method addCommands (line 38) | addCommands() {
FILE: src/lib/blocknote/core/extensions/TextColor/TextColorExtension.ts
type Commands (line 5) | interface Commands<ReturnType> {
method addGlobalAttributes (line 15) | addGlobalAttributes() {
method addCommands (line 37) | addCommands() {
FILE: src/lib/blocknote/core/extensions/TextColor/TextColorMark.ts
type Commands (line 4) | interface Commands<ReturnType> {
method addAttributes (line 14) | addAttributes() {
method parseHTML (line 26) | parseHTML() {
method renderHTML (line 45) | renderHTML({ HTMLAttributes }) {
method addCommands (line 49) | addCommands() {
FILE: src/lib/blocknote/core/extensions/TrailingNode/TrailingNodeExtension.ts
type TrailingNodeOptions (line 12) | interface TrailingNodeOptions {
method addProseMirrorPlugins (line 22) | addProseMirrorPlugins() {
FILE: src/lib/blocknote/core/extensions/UniqueID/UniqueID.ts
function createId (line 6) | function createId() {
function removeDuplicates (line 23) | function removeDuplicates(array: any, by = JSON.stringify) {
function findDuplicates (line 34) | function findDuplicates(items: any) {
method addOptions (line 45) | addOptions() {
method addGlobalAttributes (line 67) | addGlobalAttributes() {
method addProseMirrorPlugins (line 113) | addProseMirrorPlugins() {
FILE: src/lib/blocknote/core/shared/BaseUiElementTypes.ts
type BaseUiElementCallbacks (line 1) | type BaseUiElementCallbacks = {
type BaseUiElementState (line 5) | type BaseUiElementState = {
FILE: src/lib/blocknote/core/shared/EventEmitter.ts
type StringKeyOf (line 3) | type StringKeyOf<T> = Extract<keyof T, string>
type CallbackType (line 4) | type CallbackType<T extends Record<string, any>, EventName extends Strin...
type CallbackFunction (line 7) | type CallbackFunction<T extends Record<string, any>, EventName extends S...
class EventEmitter (line 11) | class EventEmitter<T extends Record<string, any>> {
method on (line 15) | public on<EventName extends StringKeyOf<T>>(event: EventName, fn: Call...
method emit (line 25) | protected emit<EventName extends StringKeyOf<T>>(event: EventName, ......
method off (line 33) | public off<EventName extends StringKeyOf<T>>(event: EventName, fn?: Ca...
method removeAllListeners (line 45) | protected removeAllListeners(): void {
FILE: src/lib/blocknote/core/shared/plugins/suggestion/SuggestionItem.ts
type SuggestionItem (line 1) | type SuggestionItem = {
FILE: src/lib/blocknote/core/shared/plugins/suggestion/SuggestionPlugin.ts
type SuggestionsMenuState (line 9) | type SuggestionsMenuState<T extends SuggestionItem> = BaseUiElementState...
function getDefaultPluginState (line 16) | function getDefaultPluginState<T extends SuggestionItem>(): SuggestionPl...
class SuggestionsMenuView (line 28) | class SuggestionsMenuView<T extends SuggestionItem, BSchema extends Bloc...
method constructor (line 35) | constructor(
method update (line 63) | update(view: EditorView, prevState: EditorState) {
method destroy (line 102) | destroy() {
type SuggestionPluginState (line 107) | type SuggestionPluginState<T extends SuggestionItem> = {
method init (line 173) | init(): SuggestionPluginState<T> {
method apply (line 178) | apply(transaction, prev, oldState, newState): SuggestionPluginState<T> {
method handleKeyDown (line 261) | handleKeyDown(view, event) {
method decorations (line 335) | decorations(state) {
FILE: src/lib/blocknote/core/shared/utils.ts
function formatKeyboardShortcut (line 4) | function formatKeyboardShortcut(shortcut: string) {
function mergeCSSClasses (line 11) | function mergeCSSClasses(...classes: string[]) {
class UnreachableCaseError (line 15) | class UnreachableCaseError extends Error {
method constructor (line 16) | constructor(val: never) {
FILE: src/lib/blocknote/react/BlockNoteTheme.ts
type CombinedColor (line 6) | type CombinedColor = {
type ColorScheme (line 11) | type ColorScheme = {
type ComponentStyles (line 34) | type ComponentStyles = Partial<{
type Theme (line 51) | type Theme = {
FILE: src/lib/blocknote/react/FormattingToolbar/components/DefaultButtons/TextAlignButton.tsx
type TextAlignment (line 9) | type TextAlignment = DefaultProps['textAlignment']['values'][number]
FILE: src/lib/blocknote/react/FormattingToolbar/components/DefaultDropdowns/BlockTypeDropdown.tsx
type BlockTypeDropdownItem (line 11) | type BlockTypeDropdownItem = {
FILE: src/lib/blocknote/react/FormattingToolbar/components/FormattingToolbarPositioner.tsx
type FormattingToolbarProps (line 8) | type FormattingToolbarProps<BSchema extends BlockSchema = DefaultBlockSc...
FILE: src/lib/blocknote/react/ReactBlockSpec.tsx
type ReactBlockConfig (line 22) | type ReactBlockConfig<
function createReactBlockSpec (line 57) | function createReactBlockSpec<
FILE: src/lib/blocknote/react/SharedComponents/Toolbar/components/ToolbarButton.tsx
type ToolbarButtonProps (line 7) | type ToolbarButtonProps = {
FILE: src/lib/blocknote/react/SharedComponents/Toolbar/components/ToolbarDropdown.tsx
type ToolbarDropdownProps (line 6) | type ToolbarDropdownProps = {
FILE: src/lib/blocknote/react/SharedComponents/Toolbar/components/ToolbarDropdownItem.tsx
type ToolbarDropdownItemProps (line 6) | type ToolbarDropdownItemProps = {
FILE: src/lib/blocknote/react/SharedComponents/Toolbar/components/ToolbarDropdownTarget.tsx
type ToolbarDropdownTargetProps (line 6) | type ToolbarDropdownTargetProps = {
FILE: src/lib/blocknote/react/SideMenu/components/DragHandleMenu/DragHandleMenu.tsx
type DragHandleMenuProps (line 7) | type DragHandleMenuProps<BSchema extends HMBlockSchema> = {
FILE: src/lib/blocknote/react/SideMenu/components/SideMenuPositioner.tsx
type SideMenuProps (line 26) | type SideMenuProps<BSchema extends BlockSchema = DefaultBlockSchema> = P...
FILE: src/lib/blocknote/react/SlashMenu/ReactSlashMenuItem.ts
type ReactSlashMenuItem (line 3) | type ReactSlashMenuItem<BSchema extends BlockSchema = DefaultBlockSchema...
FILE: src/lib/blocknote/react/SlashMenu/components/SlashMenuItem.tsx
type SlashMenuItemProps (line 7) | type SlashMenuItemProps = {
function isSelected (line 22) | function isSelected() {
function updateSelection (line 32) | function updateSelection() {
FILE: src/lib/blocknote/react/SlashMenu/components/SlashMenuPositioner.tsx
type SlashMenuProps (line 15) | type SlashMenuProps<BSchema extends BlockSchema = DefaultBlockSchema> = ...
FILE: src/lib/blocknote/react/SlashMenu/defaultReactSlashMenuItems.tsx
function getDefaultReactSlashMenuItems (line 86) | function getDefaultReactSlashMenuItems<BSchema extends BlockSchema>(
FILE: src/lib/blocknote/react/hooks/useEditorContentChange.ts
function useEditorContentChange (line 4) | function useEditorContentChange<BSchema extends BlockSchema>(editor: Blo...
FILE: src/lib/blocknote/react/hooks/useEditorForceUpdate.tsx
function useForceUpdate (line 4) | function useForceUpdate() {
FILE: src/lib/blocknote/react/hooks/useEditorSelectionChange.ts
function useEditorSelectionChange (line 4) | function useEditorSelectionChange<BSchema extends BlockSchema>(editor: B...
FILE: src/lib/blocknote/react/utils.ts
function formatKeyboardShortcut (line 6) | function formatKeyboardShortcut(shortcut: string) {
FILE: src/lib/db.ts
type KeywordDBQueryResult (line 55) | interface KeywordDBQueryResult extends DBQueryResult {
FILE: src/lib/error.ts
function errorToStringRendererProcess (line 1) | function errorToStringRendererProcess(error: unknown, depth: number = 0)...
FILE: src/lib/file.ts
function flattenFileInfoTree (line 4) | function flattenFileInfoTree(tree: FileInfoTree): FileInfo[] {
function getNextAvailableFileNameGivenBaseName (line 26) | function getNextAvailableFileNameGivenBaseName(
function removeFileExtension (line 49) | function removeFileExtension(filename: string): string {
constant INVALID_FILENAME_CHARACTERS (line 83) | const INVALID_FILENAME_CHARACTERS = /[<>:"\/\\|?*\.\[\]\{\}!@#$%^&()+=,;...
FILE: src/lib/hooks/use-agent-configs.ts
type UseAgentConfigReturn (line 5) | interface UseAgentConfigReturn {
function useAgentConfig (line 10) | function useAgentConfig(): UseAgentConfigReturn {
FILE: src/lib/llm/chat.ts
function anonymizeAgentConfigForPosthog (line 62) | function anonymizeAgentConfigForPosthog(
function extractMessagePartsFromAssistantMessage (line 239) | function extractMessagePartsFromAssistantMessage(message: CoreAssistantM...
FILE: src/lib/llm/tools/tool-definitions.ts
type ToolFunction (line 154) | type ToolFunction = (...args: any[]) => Promise<any>
type ToolFunctionMap (line 156) | type ToolFunctionMap = {
type ToolName (line 207) | type ToolName = keyof typeof toolNamesToFunctions
FILE: src/lib/llm/tools/utils.ts
function executeTool (line 7) | async function executeTool(toolName: ToolName, args: unknown[]): Promise...
function createToolResult (line 16) | async function createToolResult(toolName: string, args: unknown[], toolC...
function convertToolConfigToZodSchema (line 36) | function convertToolConfigToZodSchema(tool: ToolDefinition) {
FILE: src/lib/llm/types.ts
type ReorChatMessage (line 5) | type ReorChatMessage = CoreMessage & {
type ParameterType (line 11) | type ParameterType = 'string' | 'number' | 'boolean'
type ToolParameter (line 13) | type ToolParameter = {
type ToolDefinition (line 21) | type ToolDefinition = {
type Chat (line 29) | type Chat = {
type ChatMetadata (line 38) | type ChatMetadata = Omit<Chat, 'messages'>
type DatabaseSearchFilters (line 40) | interface DatabaseSearchFilters {
type PromptTemplate (line 47) | type PromptTemplate = {
type AgentConfig (line 52) | type AgentConfig = {
type AnonymizedAgentConfig (line 61) | interface AnonymizedAgentConfig {
type LoadingState (line 70) | type LoadingState = 'idle' | 'generating' | 'waiting-for-first-token'
FILE: src/lib/shortcuts/shortcutDefinitions.ts
type Shortcut (line 1) | interface Shortcut {
FILE: src/lib/shortcuts/use-shortcut.ts
function useAppShortcuts (line 8) | function useAppShortcuts() {
FILE: src/lib/tiptap-extension-code-block/code-block-lowlight.tsx
type CodeBlockLowlightOptions (line 11) | interface CodeBlockLowlightOptions extends CodeBlockOptions {
method addOptions (line 17) | addOptions() {
method addNodeView (line 25) | addNodeView() {
method addProseMirrorPlugins (line 50) | addProseMirrorPlugins() {
FILE: src/lib/tiptap-extension-code-block/code-block.ts
type Commands (line 9) | interface Commands<ReturnType> {
type CodeBlockOptions (line 26) | interface CodeBlockOptions {
method addOptions (line 41) | addOptions() {
method addAttributes (line 58) | addAttributes() {
method parseHTML (line 86) | parseHTML() {
method renderHTML (line 95) | renderHTML({ HTMLAttributes, node }) {
method addCommands (line 122) | addCommands() {
method addKeyboardShortcuts (line 137) | addKeyboardShortcuts() {
method addInputRules (line 432) | addInputRules() {
method addProseMirrorPlugins (line 451) | addProseMirrorPlugins() {
FILE: src/lib/tiptap-extension-code-block/lowlight-plugin.ts
function parseNodes (line 7) | function parseNodes(nodes: any[], className: string[] = []): { text: str...
function getHighlightNodes (line 24) | function getHighlightNodes(result: any) {
function registered (line 29) | function registered(aliasOrLanguage: string) {
function getDecorations (line 33) | function getDecorations({
function isFunction (line 74) | function isFunction(param: Function) {
function LowlightPlugin (line 78) | function LowlightPlugin({
FILE: src/lib/tiptap-extension-link/helpers/autolink.ts
type AutolinkOptions (line 13) | type AutolinkOptions = {
function autolink (line 18) | function autolink(options: AutolinkOptions): Plugin {
FILE: src/lib/tiptap-extension-link/helpers/clickHandler.ts
type ClickHandlerOptions (line 5) | type ClickHandlerOptions = {
function clickHandler (line 10) | function clickHandler(options: ClickHandlerOptions): Plugin {
FILE: src/lib/tiptap-extension-link/link.ts
type LinkProtocolOptions (line 9) | interface LinkProtocolOptions {
type LinkOptions (line 14) | interface LinkOptions {
type Commands (line 45) | interface Commands<ReturnType> {
method onCreate (line 70) | onCreate() {
method onDestroy (line 80) | onDestroy() {
method addOptions (line 90) | addOptions() {
method addAttributes (line 106) | addAttributes() {
method parseHTML (line 123) | parseHTML() {
method renderHTML (line 127) | renderHTML({ HTMLAttributes }) {
method addCommands (line 140) | addCommands() {
method addProseMirrorPlugins (line 165) | addProseMirrorPlugins() {
FILE: src/lib/ui.ts
function cn (line 5) | function cn(...inputs: ClassValue[]) {
FILE: src/lib/utils/block-utils.ts
type BlockInfoWithoutPositions (line 8) | type BlockInfoWithoutPositions = {
type BlockInfo (line 16) | type BlockInfo = BlockInfoWithoutPositions & {
function getBlockInfo (line 27) | function getBlockInfo(blockContainer: Node): BlockInfoWithoutPositions {
function getBlockInfoFromPos (line 49) | function getBlockInfoFromPos(doc: Node, pos: number): BlockInfo {
function updateGroup (line 114) | function updateGroup<BSchema extends BlockSchema>(
function findNextBlock (line 131) | function findNextBlock(view: EditorView, pos?: number) {
function findPreviousBlock (line 164) | function findPreviousBlock(view: EditorView, pos?: number) {
function setGroupTypes (line 192) | function setGroupTypes(tiptap: Editor, blocks: Array<Partial<Block<Block...
FILE: src/lib/utils/entity-id-url.ts
constant HYPERMEDIA_SCHEME (line 1) | const HYPERMEDIA_SCHEME = 'hm'
function isHypermediaScheme (line 3) | function isHypermediaScheme(url?: string) {
FILE: src/lib/utils/node-utils.ts
function getNodeById (line 6) | function getNodeById(id: string, doc: Node): { node: Node; posBeforeNode...
FILE: tamagui.config.ts
type Conf (line 3) | type Conf = typeof config
type TamaguiCustomConfig (line 6) | interface TamaguiCustomConfig extends Conf {}
type TypeOverride (line 8) | interface TypeOverride {
type ThemeNameOverrides (line 12) | interface ThemeNameOverrides {
FILE: vite.config.mts.timestamp-1743614084858-7c68f1a6e1bea.mjs
method onstart (line 41) | onstart(options) {
method onstart (line 67) | onstart(options) {
Condensed preview — 371 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (4,785K chars).
[
{
"path": ".containerignore",
"chars": 139,
"preview": "*\n!build\n!electron\n!public\n!src\n!package.json\n!package-lock.json\n!.npmrc\n!electron-builder.json5\n!index.html\n!tsconfig*\n"
},
{
"path": ".eslintignore",
"chars": 247,
"preview": "# electron setup\ndist-electron/\ndist/\n\n# scripts and config\nscripts/\npostcss.config.js\ntailwind.config.js\n*.test.ts\n\n# g"
},
{
"path": ".eslintrc.js",
"chars": 1816,
"preview": "module.exports = {\n env: {\n browser: true,\n es2021: true,\n node: true,\n },\n extends: [\n 'airbnb',\n 'ai"
},
{
"path": ".gitattributes",
"chars": 20,
"preview": "* text=auto eol=lf\n\n"
},
{
"path": ".github/ISSUE_TEMPLATE/bug_report.md",
"chars": 652,
"preview": "---\nname: Bug report\nabout: Create a report to help us improve\ntitle: ''\nlabels: ''\nassignees: ''\n---\n\n**Describe the bu"
},
{
"path": ".github/ISSUE_TEMPLATE/feature_request.md",
"chars": 457,
"preview": "---\nname: Feature request\nabout: Suggest an idea for this project\ntitle: ''\nlabels: ''\nassignees: ''\n---\n\n**Is your feat"
},
{
"path": ".github/workflows/build.yml",
"chars": 3432,
"preview": "name: Build and Package Electron App\non:\n push:\n branches:\n - '*'\n pull_request:\n branches:\n - '*'\njob"
},
{
"path": ".github/workflows/release.yml",
"chars": 3449,
"preview": "name: Release script\non:\n push:\n tags:\n - 'v*'\njobs:\n build_and_package:\n runs-on: ${{ matrix.os }}\n str"
},
{
"path": ".gitignore",
"chars": 396,
"preview": "# Logs\nlogs\n*.log\nnpm-debug.log*\nyarn-debug.log*\nyarn-error.log*\npnpm-debug.log*\nlerna-debug.log*\n\nnode_modules\ndist\ndis"
},
{
"path": ".husky/pre-commit",
"chars": 112,
"preview": "echo \"\\nRunning some lint checks on your (hopefully) beautiful code...\\n\"\nnpm run lint:fix && npm run type-check"
},
{
"path": ".npmrc",
"chars": 43,
"preview": "shamefully-hoist=true\nlegacy-peer-deps=true"
},
{
"path": ".prettierrc",
"chars": 157,
"preview": "{\n \"printWidth\": 120,\n \"tslintintegration\": true,\n \"trailingComma\": \"all\",\n \"tabWidth\": 2,\n \"semi\": false,\n \"singl"
},
{
"path": ".tamagui/tamagui-components.config.cjs",
"chars": 1707123,
"preview": "var __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescrip"
},
{
"path": ".tamagui/tamagui.config.cjs",
"chars": 40807,
"preview": "var __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescrip"
},
{
"path": ".tamagui/tamagui.config.json",
"chars": 1395281,
"preview": "{\n \"components\": [\n {\n \"moduleName\": \"@tamagui/core\",\n \"nameToInfo\": {\n \"Stack\": {\n \"stati"
},
{
"path": ".tamagui/theme-builder.json",
"chars": 20164,
"preview": "{\n \"palettes\": {\n \"light\": [\n \"rgba(255,255,255,0)\",\n \"#fff\",\n \"#f9f9f9\",\n \"hsl(0, 0%, 97.3%)\",\n"
},
{
"path": ".vscode/.debug.script.mjs",
"chars": 731,
"preview": "import fs from 'node:fs'\nimport path from 'node:path'\nimport { fileURLToPath } from 'node:url'\nimport { createRequire } "
},
{
"path": ".vscode/extensions.json",
"chars": 164,
"preview": "{\n // See http://go.microsoft.com/fwlink/?LinkId=827846\n // for the documentation about the extensions.json format\n \""
},
{
"path": ".vscode/launch.json",
"chars": 1374,
"preview": "{\n // Use IntelliSense to learn about possible attributes.\n // Hover to view descriptions of existing attributes.\n //"
},
{
"path": ".vscode/settings.json",
"chars": 580,
"preview": "{\n \"typescript.tsdk\": \"node_modules/typescript/lib\",\n \"typescript.tsc.autoDetect\": \"off\",\n \"json.schemas\": [\n {\n "
},
{
"path": ".vscode/tasks.json",
"chars": 869,
"preview": "{\n // See https://go.microsoft.com/fwlink/?LinkId=733558\n // for the documentation about the tasks.json format\n \"vers"
},
{
"path": "Containerfile",
"chars": 125,
"preview": "FROM ghcr.io/electron/build:latest\n\nCOPY . .\nRUN npm ci --verbose \\\n&& npm run build\n\nEXPOSE 3000\nCMD [\"npm\", \"run\", \"d"
},
{
"path": "LICENSE",
"chars": 34522,
"preview": " GNU AFFERO GENERAL PUBLIC LICENSE\n Version 3, 19 November 2007\n\n Copyright (C)"
},
{
"path": "Makefile",
"chars": 562,
"preview": "get-latest-tag:\n\tgit describe --tags --abbrev=0\n\nversion-bump-patch:\n\tmake version-bump type=patch\n\nversion-bump-minor:\n"
},
{
"path": "README.md",
"chars": 4108,
"preview": "<h1 align=\"center\">Reor Project</h1>\n<!-- <p align=\"center\">\n <img src=\"logo_or_graphic_representation.png\" alt=\"Reor"
},
{
"path": "components.json",
"chars": 423,
"preview": "{\n \"$schema\": \"https://ui.shadcn.com/schema.json\",\n \"style\": \"new-york\",\n \"rsc\": false,\n \"tsx\": true,\n \"tailwind\": "
},
{
"path": "electron/electron-env.d.ts",
"chars": 242,
"preview": "/// <reference types=\"vite-electron-plugin/electron-env\" />\n\ndeclare namespace NodeJS {\n interface ProcessEnv {\n VSC"
},
{
"path": "electron/main/common/chunking.ts",
"chars": 1915,
"preview": "import Store from 'electron-store'\nimport { RecursiveCharacterTextSplitter } from 'langchain/text_splitter'\n\nimport { St"
},
{
"path": "electron/main/common/error.ts",
"chars": 521,
"preview": "function errorToStringMainProcess(error: unknown, depth: number = 0): string {\n if (error instanceof Error) {\n let e"
},
{
"path": "electron/main/common/network.ts",
"chars": 1920,
"preview": "import { net } from 'electron'\nimport { ClientRequestConstructorOptions } from 'electron/main'\n\nconst customFetchUsingEl"
},
{
"path": "electron/main/common/windowManager.ts",
"chars": 6358,
"preview": "/* eslint-disable class-methods-use-this */\nimport chokidar from 'chokidar'\nimport { BrowserWindow, WebContents, screen,"
},
{
"path": "electron/main/electron-store/ipcHandlers.ts",
"chars": 9204,
"preview": "import path from 'path'\n\nimport { ipcMain } from 'electron'\nimport Store from 'electron-store'\nimport {\n EmbeddingModel"
},
{
"path": "electron/main/electron-store/storeConfig.ts",
"chars": 2294,
"preview": "import { AgentConfig, Chat } from '@/lib/llm/types'\nimport { SearchProps } from './types'\n\nexport type APIInterface = 'o"
},
{
"path": "electron/main/electron-store/storeSchemaMigrator.ts",
"chars": 4691,
"preview": "import Store from 'electron-store'\n\nimport {\n anthropicDefaultAPIName,\n anthropicDefaultLLMs,\n openAIDefaultAPIName,\n"
},
{
"path": "electron/main/electron-store/types.ts",
"chars": 90,
"preview": "export interface SearchProps {\n searchMode: 'vector' | 'hybrid'\n vectorWeight: number\n}\n"
},
{
"path": "electron/main/electron-utils/ipcHandlers.ts",
"chars": 847,
"preview": "import { app, ipcMain, shell } from 'electron'\nimport Store from 'electron-store'\n\nimport WindowsManager from '../common"
},
{
"path": "electron/main/filesystem/filesystem.test.ts",
"chars": 1925,
"preview": "import * as fs from 'fs'\nimport * as path from 'path'\n\nimport * as tmp from 'tmp'\n\nimport { GetFilesInfoTree } from './f"
},
{
"path": "electron/main/filesystem/filesystem.ts",
"chars": 6129,
"preview": "import * as fs from 'fs'\nimport * as path from 'path'\n\nimport chokidar from 'chokidar'\nimport { BrowserWindow } from 'el"
},
{
"path": "electron/main/filesystem/ipcHandlers.ts",
"chars": 7400,
"preview": "import * as fs from 'fs'\nimport * as path from 'path'\n\nimport { ipcMain, dialog, app } from 'electron'\nimport Store from"
},
{
"path": "electron/main/filesystem/storage/ImageStore.ts",
"chars": 659,
"preview": "/**\n * ImageStore.ts\n * ---------------\n *\n * We want to store images in the appData directory in electron. We also want"
},
{
"path": "electron/main/filesystem/storage/MediaStore.ts",
"chars": 4047,
"preview": "/**\n * MediaStore.ts\n * ---------------\n *\n * Generic class to store media in the appData directory in electron.\n * This"
},
{
"path": "electron/main/filesystem/storage/VideoStore.ts",
"chars": 628,
"preview": "/**\n * VideoStore.ts\n * ---------------\n *\n * We want to store videos in the appData directory in electron. We also want"
},
{
"path": "electron/main/filesystem/types.ts",
"chars": 556,
"preview": "export type FileInfo = {\n name: string\n path: string\n relativePath: string\n dateModified: Date\n dateCreated: Date\n}"
},
{
"path": "electron/main/index.ts",
"chars": 3203,
"preview": "import { release } from 'node:os'\nimport { join } from 'node:path'\n\nimport { app, BrowserWindow } from 'electron'\nimport"
},
{
"path": "electron/main/llm/contextLimit.ts",
"chars": 1548,
"preview": "import { DBEntry } from '../vector-database/schema'\n\nexport interface PromptWithContextLimit {\n prompt: string\n contex"
},
{
"path": "electron/main/llm/ipcHandlers.ts",
"chars": 1973,
"preview": "import { ipcMain } from 'electron'\nimport Store from 'electron-store'\nimport { ProgressResponse } from 'ollama'\n\nimport "
},
{
"path": "electron/main/llm/llmConfig.ts",
"chars": 2364,
"preview": "import Store from 'electron-store'\n\nimport { LLMConfig, LLMAPIConfig, StoreKeys, StoreSchema } from '../electron-store/s"
},
{
"path": "electron/main/llm/models/ollama.ts",
"chars": 5875,
"preview": "/* eslint-disable class-methods-use-this */\n/* eslint-disable prefer-promise-reject-errors */\n/* eslint-disable @typescr"
},
{
"path": "electron/main/llm/types.ts",
"chars": 1496,
"preview": "import { MessageStreamEvent } from '@anthropic-ai/sdk/resources'\nimport { ChatCompletionChunk, ChatCompletionMessagePara"
},
{
"path": "electron/main/llm/utils.ts",
"chars": 625,
"preview": "import { MessageParam } from '@anthropic-ai/sdk/resources'\nimport { ChatCompletionMessageParam } from 'openai/resources'"
},
{
"path": "electron/main/path/ipcHandlers.ts",
"chars": 1026,
"preview": "import path from 'path'\n\nimport { ipcMain } from 'electron'\n\nimport { markdownExtensions } from '../filesystem/filesyste"
},
{
"path": "electron/main/path/path.ts",
"chars": 407,
"preview": "import path from 'path'\n\nfunction addExtensionToFilenameIfNoExtensionPresent(\n filename: string,\n acceptableExtensions"
},
{
"path": "electron/main/vector-database/database.test.ts",
"chars": 633,
"preview": "import { sanitizePathForDatabase, unsanitizePathForFileSystem } from './lanceTableWrapper'\n\ndescribe('Path Sanitization "
},
{
"path": "electron/main/vector-database/downloadModelsFromHF.ts",
"chars": 1940,
"preview": "import fs from 'fs'\nimport * as path from 'path'\n\nimport { listFiles, downloadFile } from '@huggingface/hub'\n\nimport cus"
},
{
"path": "electron/main/vector-database/embeddings.ts",
"chars": 6552,
"preview": "import path from 'path'\n\nimport { Pipeline, PreTrainedTokenizer } from '@xenova/transformers'\nimport { app } from 'elect"
},
{
"path": "electron/main/vector-database/ipcHandlers.ts",
"chars": 3018,
"preview": "import * as path from 'path'\n\nimport { app, BrowserWindow, ipcMain } from 'electron'\nimport Store from 'electron-store'\n"
},
{
"path": "electron/main/vector-database/lance.ts",
"chars": 1577,
"preview": "import * as lancedb from 'vectordb'\n\nimport { EnhancedEmbeddingFunction } from './embeddings'\nimport CreateDatabaseSchem"
},
{
"path": "electron/main/vector-database/lanceTableWrapper.ts",
"chars": 4391,
"preview": "import { Connection, Table as LanceDBTable, MetricType, makeArrowTable } from 'vectordb'\n\nimport { EmbeddingModelConfig "
},
{
"path": "electron/main/vector-database/schema.ts",
"chars": 1855,
"preview": "import { Schema, Field, Utf8, FixedSizeList, Float32, Float64, DateUnit, Date_ as ArrowDate } from 'apache-arrow'\n\nexpor"
},
{
"path": "electron/main/vector-database/tableHelperFunctions.ts",
"chars": 7969,
"preview": "import * as fs from 'fs'\nimport * as fsPromises from 'fs/promises'\n\nimport { BrowserWindow } from 'electron'\nimport { ch"
},
{
"path": "electron/preload/index.ts",
"chars": 10544,
"preview": "import { contextBridge, ipcRenderer } from 'electron'\nimport {\n EmbeddingModelConfig,\n EmbeddingModelWithLocalPath,\n "
},
{
"path": "electron-builder.json5",
"chars": 1567,
"preview": "{\n appId: 'org.reorproject.reor',\n asar: true,\n directories: {\n output: 'release/${version}',\n },\n files: ['dist"
},
{
"path": "index.html",
"chars": 955,
"preview": "<!doctype html>\n<html lang=\"en\">\n <head>\n <meta charset=\"UTF-8\" />\n <link rel=\"icon\" type=\"image/x-icon\" href=\"/f"
},
{
"path": "node",
"chars": 0,
"preview": ""
},
{
"path": "npx",
"chars": 0,
"preview": ""
},
{
"path": "package.json",
"chars": 7877,
"preview": "{\n \"name\": \"reor-project\",\n \"version\": \"0.2.31\",\n \"productName\": \"Reor\",\n \"main\": \"dist-electron/main/index.js\",\n \""
},
{
"path": "postcss.config.cjs",
"chars": 139,
"preview": "module.exports = {\n plugins: {\n 'postcss-import': {},\n 'tailwindcss/nesting': {},\n tailwindcss: {},\n autopr"
},
{
"path": "postcss.config.js",
"chars": 149,
"preview": "module.exports = {\n plugins: [\n require('tailwindcss'),\n require('autoprefixer'),\n // Other PostCSS plugins yo"
},
{
"path": "reor-project@0.2.31",
"chars": 0,
"preview": ""
},
{
"path": "scripts/downloadOllama.js",
"chars": 7739,
"preview": "const fs = require('fs')\nconst https = require('https')\nconst os = require('os')\nconst path = require('path')\nconst AdmZ"
},
{
"path": "scripts/notarize.js",
"chars": 2381,
"preview": "/* eslint-disable @typescript-eslint/no-var-requires */\nconst fs = require('fs') // Import the filesystem module\nconst o"
},
{
"path": "shared/defaultLLMs.ts",
"chars": 1017,
"preview": "import { LLMConfig } from 'electron/main/electron-store/storeConfig'\n\nexport const openAIDefaultAPIName = 'OpenAI'\nexpor"
},
{
"path": "shared/utils.ts",
"chars": 772,
"preview": "import { FileInfoNode } from 'electron/main/filesystem/types'\nimport { ReorChatMessage } from '@/lib/llm/types'\n\nexport "
},
{
"path": "src/App.tsx",
"chars": 3502,
"preview": "import React, { useEffect, useState } from 'react'\n\nimport { Portal } from '@headlessui/react'\nimport posthog from 'post"
},
{
"path": "src/components/Chat/ChatConfigComponents/DBSearchFilters.tsx",
"chars": 2019,
"preview": "import React, { useCallback } from 'react'\nimport { Slider } from '@/components/ui/slider'\nimport DateRangePicker from '"
},
{
"path": "src/components/Chat/ChatConfigComponents/PromptEditor.tsx",
"chars": 1864,
"preview": "import React, { useState, useEffect, useCallback } from 'react'\nimport { debounce } from 'lodash'\nimport { PromptTemplat"
},
{
"path": "src/components/Chat/ChatConfigComponents/ToolSelector.tsx",
"chars": 4339,
"preview": "import React, { useState } from 'react'\nimport { ChevronDown, Info, Check } from 'lucide-react'\nimport { ToolDefinition "
},
{
"path": "src/components/Chat/ChatConfigComponents/exampleAgents.ts",
"chars": 3417,
"preview": "import { AgentConfig, PromptTemplate } from '../../../lib/llm/types'\n\nconst defaultAgentPromptTemplate: PromptTemplate ="
},
{
"path": "src/components/Chat/ChatInput.tsx",
"chars": 3992,
"preview": "import React from 'react'\n\nimport { PiPaperPlaneRight } from 'react-icons/pi'\nimport { TextArea } from 'tamagui'\nimport "
},
{
"path": "src/components/Chat/ChatMessages.tsx",
"chars": 5728,
"preview": "import React, { useState, useRef, useEffect, useCallback } from 'react'\nimport '../../styles/chat.css'\nimport { Spinner,"
},
{
"path": "src/components/Chat/ChatPrompts.tsx",
"chars": 552,
"preview": "import React from 'react'\nimport type { FC } from 'react'\n\ninterface Props {\n promptText: string\n onClick?: () => void"
},
{
"path": "src/components/Chat/ChatSidebar.tsx",
"chars": 4304,
"preview": "import React, { useState } from 'react'\nimport { IoChatbubbles } from 'react-icons/io5'\nimport { RiChatNewFill, RiArrowD"
},
{
"path": "src/components/Chat/MessageComponents/AssistantMessage.tsx",
"chars": 4356,
"preview": "import React, { useCallback, useMemo } from 'react'\nimport { HiOutlinePencilAlt } from 'react-icons/hi'\nimport { toast }"
},
{
"path": "src/components/Chat/MessageComponents/ChatSources.tsx",
"chars": 2881,
"preview": "import React from 'react'\nimport { FileInfoWithContent } from 'electron/main/filesystem/types'\nimport { DBEntry } from '"
},
{
"path": "src/components/Chat/MessageComponents/SystemMessage.tsx",
"chars": 706,
"preview": "import React from 'react'\nimport ReactMarkdown from 'react-markdown'\nimport rehypeRaw from 'rehype-raw'\nimport { ReorCha"
},
{
"path": "src/components/Chat/MessageComponents/ToolCalls.tsx",
"chars": 5155,
"preview": "import { CoreToolMessage, ToolCallPart } from 'ai'\nimport React, { useState } from 'react'\nimport { FileInfoWithContent "
},
{
"path": "src/components/Chat/MessageComponents/UserMessage.tsx",
"chars": 1078,
"preview": "import React from 'react'\nimport ReactMarkdown from 'react-markdown'\nimport rehypeRaw from 'rehype-raw'\nimport { Sizable"
},
{
"path": "src/components/Chat/StartChat.tsx",
"chars": 11428,
"preview": "// import React, { useCallback, useState } from 'react'\n// import { PiPaperPlaneRight } from 'react-icons/pi'\n// import "
},
{
"path": "src/components/Chat/index.tsx",
"chars": 5193,
"preview": "import React, { useCallback, useEffect, useState, useRef } from 'react'\n\nimport { streamText } from 'ai'\nimport { toast "
},
{
"path": "src/components/Common/CommonModals.tsx",
"chars": 968,
"preview": "import React from 'react'\n\nimport { useModalOpeners } from '@/contexts/ModalContext'\nimport SettingsModal from '../Setti"
},
{
"path": "src/components/Common/EmptyPage.tsx",
"chars": 1514,
"preview": "import React from 'react'\nimport { SizableText, YStack } from 'tamagui'\nimport { File } from '@tamagui/lucide-icons'\nimp"
},
{
"path": "src/components/Common/ExternalLink.tsx",
"chars": 546,
"preview": "import React from 'react'\n\ninterface ExternalLinkProps {\n href: string\n children: React.ReactNode\n className?: string"
},
{
"path": "src/components/Common/IndexingProgress.tsx",
"chars": 2051,
"preview": "import React, { useEffect, useState } from 'react'\nimport { YStack, H2, SizableText } from 'tamagui'\n\nimport CircularPro"
},
{
"path": "src/components/Common/MarkdownRenderer.tsx",
"chars": 534,
"preview": "import React from 'react'\nimport ReactMarkdown from 'react-markdown'\nimport rehypeRaw from 'rehype-raw'\n\ninterface Markd"
},
{
"path": "src/components/Common/Modal.tsx",
"chars": 1794,
"preview": "import React, { useRef } from 'react'\nimport ReactDOM from 'react-dom'\nimport { YStack, XStack } from '@tamagui/stacks'\n"
},
{
"path": "src/components/Common/ResizableComponent.tsx",
"chars": 2229,
"preview": "import React, { useState, useCallback, useEffect, CSSProperties } from 'react'\n\ninterface ResizableComponentProps {\n ch"
},
{
"path": "src/components/Editor/BacklinkExtension.tsx",
"chars": 4866,
"preview": "import { Extension } from '@tiptap/core'\nimport { Plugin, PluginKey, TextSelection } from '@tiptap/pm/state'\nimport { De"
},
{
"path": "src/components/Editor/BacklinkSuggestionsDisplay.tsx",
"chars": 2730,
"preview": "/* eslint-disable jsx-a11y/no-noninteractive-element-interactions */\nimport React, { useRef, useEffect, useState, useMem"
},
{
"path": "src/components/Editor/EditorManager.tsx",
"chars": 2700,
"preview": "import React, { useEffect, useState } from 'react'\nimport { YStack } from 'tamagui'\nimport InEditorBacklinkSuggestionsDi"
},
{
"path": "src/components/Editor/HighlightExtension.tsx",
"chars": 1475,
"preview": "import { Plugin } from '@tiptap/pm/state'\nimport { Extension } from '@tiptap/react'\n\nexport interface HighlightData {\n "
},
{
"path": "src/components/Editor/RichTextLink.tsx",
"chars": 3422,
"preview": "import { InputRule, markInputRule, markPasteRule, PasteRule } from '@tiptap/core'\nimport { Link } from '@tiptap/extensio"
},
{
"path": "src/components/Editor/Search/SearchAndReplaceExtension.tsx",
"chars": 10721,
"preview": "/* eslint-disable no-param-reassign */\n// MIT License\n\n// Copyright (c) 2023 - 2024 Jeet Mandaliya (Github Username: ser"
},
{
"path": "src/components/Editor/Search/SearchBar.tsx",
"chars": 7461,
"preview": "import React, { useState, useEffect, useCallback, useRef } from 'react'\nimport { Editor } from '@tiptap/core' // Adjust "
},
{
"path": "src/components/Editor/editor.css",
"chars": 9971,
"preview": "#editor-header-content,\n\n\n/* #editor-header-content {\n padding: 0 34px;\n} */\n\n/* @media (min-width: 1021px) {\n #editor"
},
{
"path": "src/components/Editor/schema.ts",
"chars": 953,
"preview": "import { common, createLowlight } from 'lowlight'\nimport { BlockSchema, TypesMatch, defaultProps, defaultBlockSchema } f"
},
{
"path": "src/components/Editor/slash-menu-items.tsx",
"chars": 2995,
"preview": "import React from 'react'\n\nimport { RiCodeBoxFill, RiHeading, RiImage2Fill, RiText, RiVideoAddFill } from 'react-icons/r"
},
{
"path": "src/components/Editor/types/Image/image.tsx",
"chars": 8011,
"preview": "/* eslint react/destructuring-assignment: \"off\" */\nimport React, { useEffect, useState } from 'react'\nimport ResizeHandl"
},
{
"path": "src/components/Editor/types/Video/video.tsx",
"chars": 9092,
"preview": "/* eslint react/destructuring-assignment: \"off\" */\nimport React, { useEffect, useState } from 'react'\nimport { isValidUr"
},
{
"path": "src/components/Editor/types/index.ts",
"chars": 31,
"preview": "export * from './media-render'\n"
},
{
"path": "src/components/Editor/types/media-container.tsx",
"chars": 2958,
"preview": "import React, { useState } from 'react'\nimport { Button, YStack } from 'tamagui'\nimport { Block, BlockNoteEditor, Inline"
},
{
"path": "src/components/Editor/types/media-render.tsx",
"chars": 3518,
"preview": "import React, { useState } from 'react'\nimport { YStack } from 'tamagui'\nimport { NodeSelection, TextSelection } from 'p"
},
{
"path": "src/components/Editor/types/utils.ts",
"chars": 2513,
"preview": "import { Editor } from '@tiptap/core'\nimport { Node as TipTapNode } from '@tiptap/pm/model'\nimport { EditorView } from '"
},
{
"path": "src/components/Editor/ui/src/TamaguiPopover.tsx",
"chars": 18291,
"preview": "/* eslint @typescript-eslint/naming-convention: \"off\" */\n/* eslint react/destructuring-assignment: \"off\" */\n\n// THIS FIL"
},
{
"path": "src/components/Editor/ui/src/TamaguiPopoverUseFloatingContext.tsx",
"chars": 2307,
"preview": "/* eslint-disable*/\n// THIS FILE IS FORKED FROM TAMAGUI\n// https://github.com/tamagui/tamagui/blob/96536c32f09193934725a"
},
{
"path": "src/components/Editor/ui/src/TamaguiPopper.tsx",
"chars": 12868,
"preview": "// THIS FILE IS FORKED FROM TAMAGUI\n// https://github.com/tamagui/tamagui/blob/master/code/ui/popper/src/Popper.tsx\n// B"
},
{
"path": "src/components/Editor/ui/src/TamaguiTooltip.tsx",
"chars": 7734,
"preview": "/* eslint @typescript-eslint/naming-convention: \"off\" */\n\n// THIS FILE IS FORKED FROM TAMAGUI\n// https://github.com/tama"
},
{
"path": "src/components/Editor/ui/src/button.ts",
"chars": 1142,
"preview": "import { Button as TButton } from '@tamagui/button'\nimport { ThemeableStack } from '@tamagui/stacks'\nimport { styled } f"
},
{
"path": "src/components/Editor/ui/src/container.tsx",
"chars": 1563,
"preview": "import React, { ComponentProps } from 'react'\nimport { styled } from '@tamagui/core'\nimport { XStack, YStack } from '@ta"
},
{
"path": "src/components/Editor/ui/src/embed-links.tsx",
"chars": 6468,
"preview": "import { YStack, XStack, Button, Popover, Separator, Input, Theme, SizableText } from 'tamagui'\nimport React, { useState"
},
{
"path": "src/components/Editor/ui/src/generated-themes.ts",
"chars": 180416,
"preview": "type Theme = {\n color1: string\n color2: string\n color3: string\n color4: string\n color5: string\n color6: string\n c"
},
{
"path": "src/components/Editor/ui/src/global.ts",
"chars": 296,
"preview": "// @ts-nocheck\nimport { config } from './tamagui.config'\n\nexport type Conf = typeof config\n\ndeclare module 'tamagui' {\n "
},
{
"path": "src/components/Editor/ui/src/helpers.ts",
"chars": 1672,
"preview": "/* eslint-disable @typescript-eslint/naming-convention */\n// @ts-nocheck\ntype ObjectType = Record<PropertyKey, unknown>\n"
},
{
"path": "src/components/Editor/ui/src/icons.tsx",
"chars": 710,
"preview": "// /* eslint-disable react/prop-types */\n// /* eslint-disable react/destructuring-assignment */\nimport React from 'react"
},
{
"path": "src/components/Editor/ui/src/index.tsx",
"chars": 567,
"preview": "export * from 'tamagui'\nexport { default as config } from './tamagui/tamagui.config'\n\nexport { Button as TButton, Paragr"
},
{
"path": "src/components/Editor/ui/src/input.ts",
"chars": 619,
"preview": "import { styled, Input, View, Text } from 'tamagui'\n\nexport const StyledInput = styled(Input, {\n name: 'StyledInput',\n "
},
{
"path": "src/components/Editor/ui/src/menu-item.tsx",
"chars": 1065,
"preview": "import React from 'react'\nimport { ListItem, ListItemProps } from '@tamagui/list-item'\nimport { SizableText } from '@tam"
},
{
"path": "src/components/Editor/ui/src/resize-handle.ts",
"chars": 354,
"preview": "import { styled, XStack } from 'tamagui'\n\nconst ResizeHandle = styled(XStack, {\n position: 'absolute',\n width: '8px',\n"
},
{
"path": "src/components/Editor/ui/src/section.tsx",
"chars": 343,
"preview": "import React, { ComponentProps } from 'react'\nimport { YStack } from 'tamagui'\n\nconst Section = ({ children, ...props }:"
},
{
"path": "src/components/Editor/ui/src/tamagui/config/animations.ts",
"chars": 498,
"preview": "import { createAnimations } from '@tamagui/animations-css'\n\nconst animations = createAnimations({\n fast: 'ease-in-out 1"
},
{
"path": "src/components/Editor/ui/src/tamagui/config/create-generic-font.ts",
"chars": 809,
"preview": "import { GenericFont, createFont } from '@tamagui/web'\n\nconst genericFontSizes = {\n 1: 10,\n 2: 11,\n 3: 12,\n 4: 14,\n "
},
{
"path": "src/components/Editor/ui/src/tamagui/config/fonts.ts",
"chars": 1710,
"preview": "import { createInterFont } from '@tamagui/font-inter'\nimport createGenericFont from './create-generic-font'\n\nexport cons"
},
{
"path": "src/components/Editor/ui/src/tamagui/config/media.ts",
"chars": 749,
"preview": "import { createMedia } from '@tamagui/react-native-media-driver'\n\nexport const media = createMedia({\n xxs: { maxWidth: "
},
{
"path": "src/components/Editor/ui/src/tamagui/config/mediaEmbed.ts",
"chars": 794,
"preview": "import { CiImageOn, CiVideoOn } from 'react-icons/ci'\n// import { LuAudioLines } from \"react-icons/lu\";\n\nconst mediaConf"
},
{
"path": "src/components/Editor/ui/src/tamagui/tamagui.config.ts",
"chars": 1281,
"preview": "import { createTamagui } from '@tamagui/core'\nimport { shorthands } from '@tamagui/shorthands'\nimport { createTokens } f"
},
{
"path": "src/components/Editor/ui/src/tamagui/themes/colors.ts",
"chars": 2654,
"preview": "import { grayDark, gray } from '@tamagui/themes'\n\nexport {\n blue,\n blueDark,\n // gray,\n // grayDark,\n green,\n gree"
},
{
"path": "src/components/Editor/ui/src/tamagui/themes/componentThemeDefinitions.tsx",
"chars": 2208,
"preview": "import { maskOptions } from './templates'\n\nconst overlayThemes = {\n light: {\n background: 'rgba(0,0,0,0.5)',\n },\n "
},
{
"path": "src/components/Editor/ui/src/tamagui/themes/helpers.ts",
"chars": 1656,
"preview": "/* eslint-disable @typescript-eslint/naming-convention */\ntype ObjectType = Record<PropertyKey, unknown>\n\ntype PickByVal"
},
{
"path": "src/components/Editor/ui/src/tamagui/themes/masks.tsx",
"chars": 1436,
"preview": "import {\n combineMasks,\n createIdentityMask,\n createInverseMask,\n createMask,\n createSoftenMask,\n createStrengthen"
},
{
"path": "src/components/Editor/ui/src/tamagui/themes/palettes.tsx",
"chars": 2128,
"preview": "import { objectFromEntries, objectKeys } from './helpers'\nimport { colorTokens } from './token-colors'\n\nconst palettes ="
},
{
"path": "src/components/Editor/ui/src/tamagui/themes/shadows.tsx",
"chars": 591,
"preview": "const lightShadowColor = 'rgba(0,0,0,0.02)'\nconst lightShadowColorStrong = 'rgba(0,0,0,0.066)'\nconst darkShadowColor = '"
},
{
"path": "src/components/Editor/ui/src/tamagui/themes/templates.tsx",
"chars": 2267,
"preview": "import { MaskOptions } from '@tamagui/create-theme'\n\nimport palettes from './palettes'\n\nconst templateColors = {\n color"
},
{
"path": "src/components/Editor/ui/src/tamagui/themes/theme.ts",
"chars": 1249,
"preview": "import { createThemeBuilder } from '@tamagui/theme-builder'\n\nimport masks from './masks'\nimport palettes from './palette"
},
{
"path": "src/components/Editor/ui/src/tamagui/themes/themes-generated.ts",
"chars": 17226,
"preview": "// @ts-nocheck\ntype Theme = {\n color1: string\n color2: string\n color3: string\n color4: string\n color5: string\n col"
},
{
"path": "src/components/Editor/ui/src/tamagui/themes/token-colors.ts",
"chars": 1912,
"preview": "import { Variable } from '@tamagui/web'\n\nimport {\n blue,\n blueDark,\n brand,\n brandDark,\n customGray,\n customGrayDa"
},
{
"path": "src/components/Editor/ui/src/tamagui/themes/token-radius.ts",
"chars": 611,
"preview": "const radius = {\n 0: 0,\n 1: 3,\n 2: 5,\n 3: 7,\n 4: 9,\n true: 9,\n 5: 10,\n 6: 16,\n 7: 19,\n 8: 22,\n 9: 26,\n 10: 3"
},
{
"path": "src/components/Editor/ui/src/tamagui/themes/token-size.ts",
"chars": 638,
"preview": "export const size = {\n $0: 0,\n '$0.25': 2,\n '$0.5': 4,\n '$0.75': 8,\n $1: 20,\n '$1.5': 24,\n $2: 28,\n '$2.5': 32,\n"
},
{
"path": "src/components/Editor/ui/src/tamagui/themes/token-space.ts",
"chars": 830,
"preview": "import { SizeKeys, Sizes, size } from './token-size'\n\n// a bit odd but keeping backward compat for values >8 while fixin"
},
{
"path": "src/components/Editor/ui/src/tamagui/themes/token-z-index.ts",
"chars": 140,
"preview": "const zIndex = {\n 0: 0,\n 1: 100,\n 2: 200,\n 3: 300,\n 4: 400,\n 5: 500,\n 6: 600,\n 7: 700,\n 8: 800,\n 9: 900,\n}\n\nex"
},
{
"path": "src/components/Editor/ui/src/toggle.tsx",
"chars": 960,
"preview": "import { Button, Stack, styled } from 'tamagui'\n\nexport const ToggleButton = styled(Button, {\n position: 'relative',\n "
},
{
"path": "src/components/Editor/ui/src/tooltip.tsx",
"chars": 1782,
"preview": "import { Text } from '@tamagui/core'\nimport React from 'react'\nimport { ScrollView, Stack } from 'tamagui'\nimport { Tool"
},
{
"path": "src/components/Editor/utils.ts",
"chars": 457,
"preview": "import { Editor } from '@tiptap/core'\n\nfunction getMarkdown(editor: Editor) {\n // Fetch the current markdown content fr"
},
{
"path": "src/components/File/DBResultPreview.tsx",
"chars": 3315,
"preview": "import React from 'react'\nimport { formatDistanceToNow } from 'date-fns'\nimport { DBQueryResult } from 'electron/main/ve"
},
{
"path": "src/components/File/NewDirectory.tsx",
"chars": 3956,
"preview": "import React, { useEffect, useState } from 'react'\n\nimport { Button } from '@material-tailwind/react'\nimport posthog fro"
},
{
"path": "src/components/File/RenameDirectory.tsx",
"chars": 3328,
"preview": "import React, { useEffect, useState } from 'react'\n\nimport { Button } from '@material-tailwind/react'\nimport { toast } f"
},
{
"path": "src/components/File/RenameNote.tsx",
"chars": 3051,
"preview": "import React, { useState } from 'react'\n\nimport { Button } from '@material-tailwind/react'\nimport { toast } from 'react-"
},
{
"path": "src/components/MainPage.tsx",
"chars": 5195,
"preview": "/* eslint-disable react/button-has-type */\n/* eslint-disable jsx-a11y/control-has-associated-label */\n/* eslint-disable "
},
{
"path": "src/components/Settings/AnalyticsSettings.tsx",
"chars": 1753,
"preview": "import React, { useState, useEffect } from 'react'\n\nimport Switch from '@mui/material/Switch'\nimport posthog from 'posth"
},
{
"path": "src/components/Settings/ChunkSizeSettings.tsx",
"chars": 1808,
"preview": "import React, { useState, useEffect, ReactNode } from 'react'\nimport posthog from 'posthog-js'\nimport { Select, SelectCo"
},
{
"path": "src/components/Settings/DirectorySelector.tsx",
"chars": 1689,
"preview": "import React, { useEffect, useState } from 'react'\n\nimport { Button } from '@material-tailwind/react'\nimport { SizableTe"
},
{
"path": "src/components/Settings/EmbeddingSettings/EmbeddingModelSelect.tsx",
"chars": 1277,
"preview": "import React from 'react'\nimport { EmbeddingModelConfig } from 'electron/main/electron-store/storeConfig'\nimport { Selec"
},
{
"path": "src/components/Settings/EmbeddingSettings/EmbeddingSettings.tsx",
"chars": 3499,
"preview": "import React, { useState, useEffect } from 'react'\n\nimport { EmbeddingModelConfig } from 'electron/main/electron-store/s"
},
{
"path": "src/components/Settings/EmbeddingSettings/InitialEmbeddingSettings.tsx",
"chars": 2621,
"preview": "/* eslint-disable jsx-a11y/anchor-is-valid */\nimport React, { useState, useEffect } from 'react'\n\nimport { EmbeddingMode"
},
{
"path": "src/components/Settings/EmbeddingSettings/modals/NewRemoteEmbeddingModel.tsx",
"chars": 3200,
"preview": "import React, { useState } from 'react'\nimport { EmbeddingModelWithRepo } from 'electron/main/electron-store/storeConfig"
},
{
"path": "src/components/Settings/GeneralSettings.tsx",
"chars": 3117,
"preview": "import React, { useEffect, useState } from 'react'\nimport Switch from '@mui/material/Switch'\nimport SettingsSection, { S"
},
{
"path": "src/components/Settings/InitialSettingsSinglePage.tsx",
"chars": 3169,
"preview": "import React, { useState } from 'react'\n\nimport { Button } from '@material-tailwind/react'\n\nimport { YStack, H2, Sizable"
},
{
"path": "src/components/Settings/LLMSettings/DefaultLLMSelector.tsx",
"chars": 2140,
"preview": "import React, { useState, useEffect } from 'react'\nimport { LLMConfig } from 'electron/main/electron-store/storeConfig'\n"
},
{
"path": "src/components/Settings/LLMSettings/InitialSetupLLMSettings.tsx",
"chars": 2299,
"preview": "import React from 'react'\nimport { CheckCircleIcon, CogIcon } from '@heroicons/react/24/solid'\nimport { Button } from '@"
},
{
"path": "src/components/Settings/LLMSettings/LLMSelectOrButton.tsx",
"chars": 2502,
"preview": "import React, { useState } from 'react'\nimport { Button } from '@/components/ui/button'\nimport { Select, SelectContent, "
},
{
"path": "src/components/Settings/LLMSettings/LLMSettingsContent.tsx",
"chars": 3177,
"preview": "import React, { useState } from 'react'\nimport DefaultLLMSelector from './DefaultLLMSelector'\nimport useLLMConfigs from "
},
{
"path": "src/components/Settings/LLMSettings/modals/CustomLLMAPISetup.tsx",
"chars": 6022,
"preview": "/* eslint-disable jsx-a11y/label-has-associated-control */\nimport React, { useState } from 'react'\nimport { LLMAPIConfig"
},
{
"path": "src/components/Settings/LLMSettings/modals/DefaultLLMAPISetupModal.tsx",
"chars": 3050,
"preview": "import React, { useState } from 'react'\nimport { APIInterface, LLMAPIConfig } from 'electron/main/electron-store/storeCo"
},
{
"path": "src/components/Settings/LLMSettings/modals/NewOllamaModel.tsx",
"chars": 4947,
"preview": "import React, { useState, useEffect } from 'react'\nimport { ProgressResponse } from 'ollama'\nimport posthog from 'postho"
},
{
"path": "src/components/Settings/LLMSettings/modals/utils.ts",
"chars": 641,
"preview": "import { ProgressResponse } from 'ollama'\n\nconst downloadPercentage = (progress: ProgressResponse): string => {\n // Che"
},
{
"path": "src/components/Settings/Settings.tsx",
"chars": 5758,
"preview": "import React, { useState, useEffect } from 'react'\nimport { YStack, SizableText, XStack, ScrollView } from 'tamagui'\nimp"
},
{
"path": "src/components/Settings/Shared/SettingsRow.tsx",
"chars": 1749,
"preview": "import React, { ReactNode } from 'react'\nimport { YStack, XStack, SizableText } from 'tamagui'\n\ninterface SettingsSectio"
},
{
"path": "src/components/Sidebars/FileSideBar/FileItemRows.tsx",
"chars": 6155,
"preview": "import React, { useState, useCallback } from 'react'\nimport { ListChildComponentProps } from 'react-window'\nimport posth"
},
{
"path": "src/components/Sidebars/FileSideBar/FileSidebar.tsx",
"chars": 2885,
"preview": "import React, { useEffect, useState } from 'react'\nimport { FileInfoNode, FileInfoTree } from 'electron/main/filesystem/"
},
{
"path": "src/components/Sidebars/IconsSidebar.tsx",
"chars": 6786,
"preview": "import React, { useState } from 'react'\n\nimport { GrNewWindow } from 'react-icons/gr'\nimport { MdSettings } from 'react-"
},
{
"path": "src/components/Sidebars/MainSidebar.tsx",
"chars": 1112,
"preview": "import React, { useState } from 'react'\n\nimport { DBQueryResult } from 'electron/main/vector-database/schema'\n\nimport { "
},
{
"path": "src/components/Sidebars/SearchComponent.tsx",
"chars": 8764,
"preview": "/* eslint-disable react/no-array-index-key */\nimport React, { useEffect, useRef, useCallback, useState } from 'react'\nim"
},
{
"path": "src/components/Sidebars/SemanticSidebar/HighlightButton.tsx",
"chars": 1437,
"preview": "import React, { useEffect, useState } from 'react'\n\nimport { FaArrowRight } from 'react-icons/fa'\nimport { PiGraph } fro"
},
{
"path": "src/components/Sidebars/SemanticSidebar/SimilarEntriesComponent.tsx",
"chars": 3290,
"preview": "import React from 'react'\n\nimport { DBQueryResult } from 'electron/main/vector-database/schema'\nimport { RefreshCw } fro"
},
{
"path": "src/components/Sidebars/SimilarFilesSidebar.tsx",
"chars": 4007,
"preview": "import React, { useEffect, useState } from 'react'\n\nimport { DBQueryResult } from 'electron/main/vector-database/schema'"
},
{
"path": "src/components/TitleBar/NavigationButtons.tsx",
"chars": 5452,
"preview": "import React, { useEffect, useRef, useState } from 'react'\n\nimport posthog from 'posthog-js'\nimport { IoMdArrowRoundBack"
},
{
"path": "src/components/TitleBar/TitleBar.tsx",
"chars": 2279,
"preview": "import React, { useEffect, useState } from 'react'\nimport { XStack, SizableText } from 'tamagui'\nimport { MessageSquareM"
},
{
"path": "src/components/WritingAssistant/ConversationHistory.tsx",
"chars": 5028,
"preview": "import React, { useEffect, useRef } from 'react'\nimport ReactMarkdown from 'react-markdown'\nimport rehypeRaw from 'rehyp"
},
{
"path": "src/components/WritingAssistant/WritingAssistant.tsx",
"chars": 18537,
"preview": "// import React, { useState, useEffect, useLayoutEffect, useRef } from 'react'\n// import { FaMagic } from 'react-icons/f"
},
{
"path": "src/components/WritingAssistant/utils.ts",
"chars": 2722,
"preview": "import { ReorChatMessage } from '../../lib/llm/types'\n\nfunction getClassNames(message: ReorChatMessage | undefined): str"
},
{
"path": "src/components/ui/Spinner.tsx",
"chars": 428,
"preview": "import React from 'react'\nimport { Spinner as TamaguiSpinner, SpinnerProps } from 'tamagui'\n\n/**\n * Spinner component th"
},
{
"path": "src/components/ui/ThemedMenu.tsx",
"chars": 1715,
"preview": "import React, { ReactNode } from 'react'\nimport { Menu, MenuProps, MenuLabelProps } from '@mantine/core'\nimport { useThe"
},
{
"path": "src/components/ui/ThemedSelect.tsx",
"chars": 1024,
"preview": "/** For tamagui version 1.226, there is a bug on Select, however, we still want to maintain\n * a black or white theme de"
},
{
"path": "src/components/ui/badge.tsx",
"chars": 1145,
"preview": "/* eslint-disable react/jsx-props-no-spreading */\nimport * as React from 'react'\nimport { cva, type VariantProps } from "
},
{
"path": "src/components/ui/button.tsx",
"chars": 1839,
"preview": "import * as React from 'react'\nimport { Slot } from '@radix-ui/react-slot'\nimport { cva, type VariantProps } from 'class"
},
{
"path": "src/components/ui/calendar.tsx",
"chars": 2329,
"preview": "/* eslint-disable react/jsx-props-no-spreading */\n/* eslint-disable react/no-unstable-nested-components */\n/* eslint-dis"
},
{
"path": "src/components/ui/card.tsx",
"chars": 1855,
"preview": "/* eslint-disable jsx-a11y/heading-has-content */\n/* eslint-disable react/jsx-props-no-spreading */\nimport * as React fr"
},
{
"path": "src/components/ui/checkbox.tsx",
"chars": 1167,
"preview": "/* eslint-disable react/jsx-props-no-spreading */\n/* eslint-disable import/prefer-default-export */\nimport React from 'r"
},
{
"path": "src/components/ui/collapsible.tsx",
"chars": 285,
"preview": "import * as CollapsiblePrimitive from '@radix-ui/react-collapsible'\n\nconst Collapsible = CollapsiblePrimitive.Root\n\ncons"
},
{
"path": "src/components/ui/command.tsx",
"chars": 4898,
"preview": "/* eslint-disable react/no-unknown-property */\n/* eslint-disable react/prop-types */\n/* eslint-disable react/jsx-props-n"
},
{
"path": "src/components/ui/context-menu.tsx",
"chars": 7250,
"preview": "/* eslint-disable react/jsx-props-no-spreading */\n/* eslint-disable react/prop-types */\nimport * as React from 'react'\ni"
},
{
"path": "src/components/ui/date-picker.tsx",
"chars": 4706,
"preview": "import React, { useState, useCallback } from 'react'\nimport { CalendarIcon, ChevronDownIcon, XIcon } from 'lucide-react'"
}
]
// ... and 171 more files (download for full content)
About this extraction
This page contains the full source code of the reorproject/reor GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 371 files (4.3 MB), approximately 1.1M tokens, and a symbol index with 1390 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.
Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.