@ankhorage/zora 28.7.2 → 28.7.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/README.md +1 -1
- package/dist/features/carousel/Carousel.d.ts.map +1 -1
- package/dist/features/carousel/Carousel.js +22 -4
- package/dist/features/carousel/Carousel.js.map +1 -1
- package/dist/features/form/select/adapters/inbound/Select.web.d.ts.map +1 -1
- package/dist/features/form/select/adapters/inbound/Select.web.js +4 -1
- package/dist/features/form/select/adapters/inbound/Select.web.js.map +1 -1
- package/dist/features/form/select/composition/SelectOptionsList.d.ts +9 -0
- package/dist/features/form/select/composition/SelectOptionsList.d.ts.map +1 -0
- package/dist/features/form/select/composition/SelectOptionsList.js +17 -0
- package/dist/features/form/select/composition/SelectOptionsList.js.map +1 -0
- package/dist/features/layout/adapters/inbound/ZoraWebStyleSheet.d.ts +6 -1
- package/dist/features/layout/adapters/inbound/ZoraWebStyleSheet.d.ts.map +1 -1
- package/dist/features/layout/adapters/inbound/ZoraWebStyleSheet.js +4 -3
- package/dist/features/layout/adapters/inbound/ZoraWebStyleSheet.js.map +1 -1
- package/package.json +2 -2
- package/src/features/carousel/Carousel.tsx +27 -5
- package/src/features/form/select/adapters/inbound/Select.web.tsx +13 -10
- package/src/features/form/select/composition/SelectOptionsList.tsx +29 -0
- package/src/features/layout/adapters/inbound/ZoraWebStyleSheet.tsx +4 -5
- package/src/webPackageExports.test.ts +40 -0
- package/web-dist/authoring/index.d.ts +2 -2
- package/web-dist/authoring/index.js +132 -23545
- package/web-dist/chunks/{Accordion-nh0cs9hq.js → Accordion-0g45tq8n.js} +1 -43
- package/web-dist/chunks/{Accordion-rhjddvkh.js → Accordion-0zk0xp73.js} +26 -27
- package/web-dist/chunks/{Accordion-arr9ayv0.js → Accordion-25v2vczc.js} +12 -18
- package/web-dist/chunks/{Accordion-mpb070cf.js → Accordion-2berhsg5.js} +27 -33
- package/web-dist/chunks/Accordion-2ej7s27r.js +18 -0
- package/web-dist/chunks/{Accordion-tdrk9cyn.js → Accordion-2jcas7qq.js} +8 -8
- package/web-dist/chunks/{Accordion-ar8qe05j.js → Accordion-3xfqmr1r.js} +4 -4
- package/web-dist/chunks/Accordion-457amtv7.js +4721 -0
- package/web-dist/chunks/{Accordion-8skz71ct.js → Accordion-6gc0jw1n.js} +25 -30
- package/web-dist/chunks/{Accordion-ytf9ba8v.js → Accordion-73p2mg3h.js} +10 -10
- package/web-dist/chunks/Accordion-778fjjsh.js +117 -0
- package/web-dist/chunks/Accordion-7ayxbm7k.js +20 -0
- package/web-dist/chunks/{Accordion-kcspvk6q.js → Accordion-7pgh8q4h.js} +9 -11
- package/web-dist/chunks/Accordion-9dq115tn.js +99 -0
- package/web-dist/chunks/Accordion-casb2ndy.js +171 -0
- package/web-dist/chunks/{Accordion-9d38cgqj.js → Accordion-cwx73cjc.js} +4 -1426
- package/web-dist/chunks/{Accordion-1fz55hk4.js → Accordion-d15mjc4n.js} +5 -4
- package/web-dist/chunks/Accordion-dcjzxzv3.js +103 -0
- package/web-dist/chunks/{Accordion-htvmkx8s.js → Accordion-dv5c27w4.js} +105 -41
- package/web-dist/chunks/Accordion-e6ettgh0.js +219 -0
- package/web-dist/chunks/Accordion-e8tapf5a.js +22 -0
- package/web-dist/chunks/{Accordion-yrac5a7m.js → Accordion-fkftnxgw.js} +7 -17
- package/web-dist/chunks/Accordion-fsdgssfq.js +20 -0
- package/web-dist/chunks/{Accordion-jtgh2tep.js → Accordion-g5pvs1aa.js} +24 -30
- package/web-dist/chunks/Accordion-gnkzvj03.js +40 -0
- package/web-dist/chunks/Accordion-hadw5304.js +78 -0
- package/web-dist/chunks/{Accordion-1g91we37.js → Accordion-hg4db1sk.js} +48 -205
- package/web-dist/chunks/Accordion-k9n1yse4.js +234 -0
- package/web-dist/chunks/{Accordion-0spfxhpg.js → Accordion-m3tq2vcc.js} +22 -28
- package/web-dist/chunks/{Accordion-2ad57stc.js → Accordion-mw8zh0vs.js} +12 -12
- package/web-dist/chunks/{Accordion-5mga7hty.js → Accordion-pr1tv6jx.js} +3 -5
- package/web-dist/chunks/{Accordion-zd15byha.js → Accordion-pvcdvh3w.js} +2 -2
- package/web-dist/chunks/{Accordion-0egwarcs.js → Accordion-q8ymmar7.js} +8 -8
- package/web-dist/chunks/{Accordion-19aegsx2.js → Accordion-qwftammh.js} +21 -22
- package/web-dist/chunks/{Accordion-d5sz8vaq.js → Accordion-r8swmfjm.js} +5 -7
- package/web-dist/chunks/{Accordion-bexwrnfh.js → Accordion-rp9cjtpg.js} +28 -34
- package/web-dist/chunks/{Accordion-qjxx43r1.js → Accordion-rsw5jt7m.js} +40 -48
- package/web-dist/chunks/Accordion-se0pee16.js +213 -0
- package/web-dist/chunks/{Accordion-3zzzw7a8.js → Accordion-t9w365ke.js} +3 -5
- package/web-dist/chunks/Accordion-tb0vc91c.js +203 -0
- package/web-dist/chunks/{Accordion-3cpkxpdg.js → Accordion-tj4fe6wk.js} +5 -5
- package/web-dist/chunks/{Accordion-agt9vt85.js → Accordion-v3bmbnfh.js} +13 -13
- package/web-dist/chunks/{Accordion-516n2cx4.js → Accordion-vbz1mjm6.js} +43 -168
- package/web-dist/chunks/{Accordion-9dk62zn9.js → Accordion-vdzyhtyd.js} +66 -48
- package/web-dist/chunks/{Accordion-9m5asd8r.js → Accordion-vtbs98r4.js} +9 -15
- package/web-dist/chunks/Accordion-vwqf8kn1.js +70 -0
- package/web-dist/chunks/{Accordion-gs838h0n.js → Accordion-w2kx944a.js} +8 -10
- package/web-dist/chunks/Accordion-wbf7gqrm.js +136 -0
- package/web-dist/chunks/{Accordion-b1y5mjac.js → Accordion-x1ze1wvk.js} +1 -4
- package/web-dist/chunks/{Accordion-8t6vh482.js → Accordion-xhkphta6.js} +15 -21
- package/web-dist/chunks/Accordion-xqkkfwkm.js +61 -0
- package/web-dist/chunks/{Accordion-77514sk9.js → Accordion-yca8r7kx.js} +6 -6
- package/web-dist/chunks/{Accordion-tk8zf9ff.js → Accordion-zhgty1ae.js} +10 -35
- package/web-dist/chunks/{Accordion-78astqx3.js → Accordion-zmrbktd8.js} +100 -170
- package/web-dist/chunks/{RichTextClient-7qqj2dpw.js → RichTextClient-w75r2x97.js} +19 -31
- package/web-dist/chunks/{Video.native-6142s9f7.js → Video.native-bb9g33nd.js} +22 -32
- package/web-dist/chunks/{index-n6p0wdvg.js → index-m1y984nz.js} +547 -241
- package/web-dist/components/accordion/Accordion.dependency-0.d.ts +1 -1
- package/web-dist/components/accordion/Accordion.js +8 -14
- package/web-dist/components/accordion/Accordion.types-0.d.ts +1 -1
- package/web-dist/components/accordion-item/AccordionItem.dependency-0.d.ts +1 -1
- package/web-dist/components/accordion-item/AccordionItem.js +8 -14
- package/web-dist/components/accordion-item/AccordionItem.types-0.d.ts +1 -1
- package/web-dist/components/activity-indicator/ActivityIndicator.js +3 -4
- package/web-dist/components/app-bar/AppBar.dependency-0.d.ts +1 -1
- package/web-dist/components/app-bar/AppBar.dependency-2.d.ts +1 -1
- package/web-dist/components/app-bar/AppBar.js +10 -27
- package/web-dist/components/app-bar/AppBar.types-0.d.ts +1 -1
- package/web-dist/components/app-header/AppHeader.dependency-0.d.ts +1 -1
- package/web-dist/components/app-header/AppHeader.dependency-1.d.ts +1 -1
- package/web-dist/components/app-header/AppHeader.dependency-3.d.ts +1 -1
- package/web-dist/components/app-header/AppHeader.js +10 -27
- package/web-dist/components/app-shell/AppShell.dependency-0.d.ts +1 -1
- package/web-dist/components/app-shell/AppShell.js +3 -8
- package/web-dist/components/audio/Audio.dependency-0.d.ts +1 -1
- package/web-dist/components/audio/Audio.js +17 -28
- package/web-dist/components/auth-screen/AuthScreen.dependency-0.d.ts +1 -1
- package/web-dist/components/auth-screen/AuthScreen.dependency-3.d.ts +1 -1
- package/web-dist/components/auth-screen/AuthScreen.dependency-4.d.ts +1 -1
- package/web-dist/components/auth-screen/AuthScreen.js +13 -25
- package/web-dist/components/auth-screen/AuthScreen.types-0.d.ts +1 -1
- package/web-dist/components/avatar/Avatar.dependency-0.d.ts +1 -1
- package/web-dist/components/avatar/Avatar.dependency-2.d.ts +1 -1
- package/web-dist/components/avatar/Avatar.js +8 -14
- package/web-dist/components/avatar/Avatar.types-0.d.ts +1 -1
- package/web-dist/components/avatar-group/AvatarGroup.dependency-1.d.ts +1 -1
- package/web-dist/components/avatar-group/AvatarGroup.dependency-3.d.ts +1 -1
- package/web-dist/components/avatar-group/AvatarGroup.js +8 -14
- package/web-dist/components/avatar-group/AvatarGroup.types-0.d.ts +1 -1
- package/web-dist/components/badge/Badge.dependency-0.d.ts +1 -1
- package/web-dist/components/badge/Badge.dependency-2.d.ts +1 -1
- package/web-dist/components/badge/Badge.dependency-3.d.ts +1 -1
- package/web-dist/components/badge/Badge.js +3 -10
- package/web-dist/components/badge/Badge.types-0.d.ts +1 -1
- package/web-dist/components/barcode-scanner-view/BarcodeScannerView.dependency-0.d.ts +1 -1
- package/web-dist/components/barcode-scanner-view/BarcodeScannerView.js +13 -25
- package/web-dist/components/bottom-sheet/BottomSheet.dependency-0.d.ts +1 -1
- package/web-dist/components/bottom-sheet/BottomSheet.js +5 -13
- package/web-dist/components/bottom-sheet-flat-list/BottomSheetFlatList.d.ts +1 -1
- package/web-dist/components/bottom-sheet-flat-list/BottomSheetFlatList.js +5 -13
- package/web-dist/components/bottom-sheet-scroll-view/BottomSheetScrollView.d.ts +1 -1
- package/web-dist/components/bottom-sheet-scroll-view/BottomSheetScrollView.js +5 -13
- package/web-dist/components/bottom-sheet-section-list/BottomSheetSectionList.d.ts +1 -1
- package/web-dist/components/bottom-sheet-section-list/BottomSheetSectionList.js +5 -13
- package/web-dist/components/bottom-sheet-view/BottomSheetView.d.ts +1 -1
- package/web-dist/components/bottom-sheet-view/BottomSheetView.js +5 -13
- package/web-dist/components/bottom-sheet-virtualized-list/BottomSheetVirtualizedList.d.ts +1 -1
- package/web-dist/components/bottom-sheet-virtualized-list/BottomSheetVirtualizedList.js +5 -13
- package/web-dist/components/breadcrumbs/Breadcrumbs.dependency-0.d.ts +1 -1
- package/web-dist/components/breadcrumbs/Breadcrumbs.js +17 -27
- package/web-dist/components/breadcrumbs/Breadcrumbs.types-0.d.ts +1 -1
- package/web-dist/components/button/Button.dependency-0.d.ts +1 -1
- package/web-dist/components/button/Button.dependency-2.d.ts +1 -1
- package/web-dist/components/button/Button.dependency-3.d.ts +1 -1
- package/web-dist/components/button/Button.js +8 -18
- package/web-dist/components/button/Button.types-0.d.ts +1 -1
- package/web-dist/components/button-group/ButtonGroup.dependency-0.d.ts +1 -1
- package/web-dist/components/button-group/ButtonGroup.dependency-2.d.ts +1 -1
- package/web-dist/components/button-group/ButtonGroup.js +6 -16
- package/web-dist/components/calendar/Calendar.dependency-0.d.ts +1 -1
- package/web-dist/components/calendar/Calendar.js +9 -19
- package/web-dist/components/camera-permission-view/CameraPermissionView.dependency-0.d.ts +1 -1
- package/web-dist/components/camera-permission-view/CameraPermissionView.dependency-2.d.ts +1 -1
- package/web-dist/components/camera-permission-view/CameraPermissionView.dependency-3.d.ts +1 -1
- package/web-dist/components/camera-permission-view/CameraPermissionView.dependency-4.d.ts +1 -1
- package/web-dist/components/camera-permission-view/CameraPermissionView.js +13 -25
- package/web-dist/components/card/Card.dependency-0.d.ts +1 -1
- package/web-dist/components/card/Card.js +12 -24
- package/web-dist/components/card/Card.types-0.d.ts +1 -1
- package/web-dist/components/card-back/CardBack.dependency-0.d.ts +1 -1
- package/web-dist/components/card-back/CardBack.js +5 -6
- package/web-dist/components/card-hand/CardHand.dependency-0.d.ts +1 -1
- package/web-dist/components/card-hand/CardHand.js +5 -6
- package/web-dist/components/carousel/Carousel.js +58 -49
- package/web-dist/components/chat-list-item/ChatListItem.dependency-1.d.ts +1 -1
- package/web-dist/components/chat-list-item/ChatListItem.dependency-3.d.ts +1 -1
- package/web-dist/components/chat-list-item/ChatListItem.js +10 -19
- package/web-dist/components/checkbox/Checkbox.dependency-0.d.ts +1 -1
- package/web-dist/components/checkbox/Checkbox.js +7 -17
- package/web-dist/components/checkbox/Checkbox.types-0.d.ts +1 -1
- package/web-dist/components/checkbox-group/CheckboxGroup.dependency-0.d.ts +1 -1
- package/web-dist/components/checkbox-group/CheckboxGroup.js +7 -17
- package/web-dist/components/checkbox-group/CheckboxGroup.types-0.d.ts +1 -1
- package/web-dist/components/chess-board/ChessBoard.dependency-0.d.ts +1 -1
- package/web-dist/components/chess-board/ChessBoard.js +5 -7
- package/web-dist/components/chip/Chip.dependency-0.d.ts +1 -1
- package/web-dist/components/chip/Chip.dependency-2.d.ts +1 -1
- package/web-dist/components/chip/Chip.dependency-3.d.ts +1 -1
- package/web-dist/components/chip/Chip.js +8 -15
- package/web-dist/components/chip/Chip.types-0.d.ts +1 -1
- package/web-dist/components/chip-group/ChipGroup.dependency-0.d.ts +1 -1
- package/web-dist/components/chip-group/ChipGroup.dependency-2.d.ts +1 -1
- package/web-dist/components/chip-group/ChipGroup.dependency-3.d.ts +1 -1
- package/web-dist/components/chip-group/ChipGroup.js +8 -15
- package/web-dist/components/chip-group/ChipGroup.types-0.d.ts +1 -1
- package/web-dist/components/collection-editor/CollectionEditor.dependency-0.d.ts +1 -1
- package/web-dist/components/collection-editor/CollectionEditor.js +19 -31
- package/web-dist/components/color-hue-scale/ColorHueScale.dependency-0.d.ts +1 -1
- package/web-dist/components/color-hue-scale/ColorHueScale.js +19 -35
- package/web-dist/components/color-picker/ColorPicker.dependency-0.d.ts +1 -1
- package/web-dist/components/color-picker/ColorPicker.js +19 -35
- package/web-dist/components/color-tone/ColorTone.dependency-0.d.ts +1 -1
- package/web-dist/components/color-tone/ColorTone.js +19 -35
- package/web-dist/components/color-wheel/ColorWheel.dependency-0.d.ts +1 -1
- package/web-dist/components/color-wheel/ColorWheel.js +19 -35
- package/web-dist/components/content-rail/ContentRail.dependency-0.d.ts +1 -1
- package/web-dist/components/content-rail/ContentRail.js +23 -35
- package/web-dist/components/data-table/DataTable.dependency-0.d.ts +1 -1
- package/web-dist/components/data-table/DataTable.dependency-2.d.ts +1 -1
- package/web-dist/components/data-table/DataTable.js +67 -101
- package/web-dist/components/data-table/DataTable.types-0.d.ts +1 -1
- package/web-dist/components/date-picker/DatePicker.dependency-0.d.ts +1 -1
- package/web-dist/components/date-picker/DatePicker.js +16 -32
- package/web-dist/components/dialog/Dialog.dependency-0.d.ts +1 -1
- package/web-dist/components/dialog/Dialog.js +7 -18
- package/web-dist/components/divider/Divider.dependency-0.d.ts +1 -1
- package/web-dist/components/divider/Divider.js +3 -8
- package/web-dist/components/divider/Divider.types-0.d.ts +1 -1
- package/web-dist/components/empty-state/EmptyState.dependency-0.d.ts +1 -1
- package/web-dist/components/empty-state/EmptyState.dependency-2.d.ts +1 -1
- package/web-dist/components/empty-state/EmptyState.dependency-3.d.ts +1 -1
- package/web-dist/components/empty-state/EmptyState.js +13 -25
- package/web-dist/components/explorer/Explorer.dependency-0.d.ts +1 -1
- package/web-dist/components/explorer/Explorer.js +10 -16
- package/web-dist/components/field/Field.dependency-0.d.ts +1 -1
- package/web-dist/components/field/Field.dependency-1.d.ts +1 -1
- package/web-dist/components/field/Field.js +7 -15
- package/web-dist/components/file-explorer/FileExplorer.dependency-0.d.ts +1 -1
- package/web-dist/components/file-explorer/FileExplorer.js +10 -16
- package/web-dist/components/flat-list/FlatList.dependency-0.d.ts +1 -1
- package/web-dist/components/flat-list/FlatList.js +8 -17
- package/web-dist/components/forgot-password-form/ForgotPasswordForm.dependency-0.d.ts +1 -1
- package/web-dist/components/forgot-password-form/ForgotPasswordForm.dependency-3.d.ts +1 -1
- package/web-dist/components/forgot-password-form/ForgotPasswordForm.dependency-4.d.ts +1 -1
- package/web-dist/components/forgot-password-form/ForgotPasswordForm.js +13 -25
- package/web-dist/components/form/Form.dependency-0.d.ts +1 -1
- package/web-dist/components/form/Form.js +9 -20
- package/web-dist/components/form-actions/FormActions.dependency-0.d.ts +1 -1
- package/web-dist/components/form-actions/FormActions.js +9 -20
- package/web-dist/components/form-error/FormError.dependency-0.d.ts +1 -1
- package/web-dist/components/form-error/FormError.js +9 -20
- package/web-dist/components/game/Game.dependency-0.d.ts +1 -1
- package/web-dist/components/game/Game.js +4 -10
- package/web-dist/components/game-entity/GameEntity.dependency-0.d.ts +1 -1
- package/web-dist/components/game-entity/GameEntity.js +4 -10
- package/web-dist/components/game-field/GameField.dependency-0.d.ts +1 -1
- package/web-dist/components/game-field/GameField.js +4 -10
- package/web-dist/components/game-input-zone/GameInputZone.dependency-0.d.ts +1 -1
- package/web-dist/components/game-input-zone/GameInputZone.js +4 -10
- package/web-dist/components/game-measurement-probe/GameMeasurementProbe.dependency-0.d.ts +1 -1
- package/web-dist/components/game-measurement-probe/GameMeasurementProbe.js +4 -10
- package/web-dist/components/game-overlay/GameOverlay.dependency-0.d.ts +1 -1
- package/web-dist/components/game-overlay/GameOverlay.js +4 -10
- package/web-dist/components/gradient/Gradient.dependency-0.d.ts +1 -1
- package/web-dist/components/gradient/Gradient.dependency-2.d.ts +1 -1
- package/web-dist/components/gradient/Gradient.js +4 -9
- package/web-dist/components/gradient-renderer-provider/GradientRendererProvider.js +4 -9
- package/web-dist/components/graph-view/GraphView.js +3 -5
- package/web-dist/components/grid/Grid.dependency-0.d.ts +1 -1
- package/web-dist/components/grid/Grid.js +3 -8
- package/web-dist/components/grid/Grid.types-0.d.ts +1 -1
- package/web-dist/components/grid-interactions/GridInteractions.dependency-0.d.ts +1 -1
- package/web-dist/components/grid-interactions/GridInteractions.js +2 -8
- package/web-dist/components/grid-line-overlay/GridLineOverlay.dependency-0.d.ts +1 -1
- package/web-dist/components/grid-line-overlay/GridLineOverlay.js +4 -6
- package/web-dist/components/grid-ruler/GridRuler.dependency-0.d.ts +1 -1
- package/web-dist/components/grid-ruler/GridRuler.js +4 -6
- package/web-dist/components/grid-view/GridView.dependency-0.d.ts +1 -1
- package/web-dist/components/grid-view/GridView.js +1 -2
- package/web-dist/components/heading/Heading.dependency-0.d.ts +1 -1
- package/web-dist/components/heading/Heading.dependency-2.d.ts +1 -1
- package/web-dist/components/heading/Heading.js +5 -8
- package/web-dist/components/heading/Heading.types-0.d.ts +1 -1
- package/web-dist/components/hero/Hero.dependency-0.d.ts +1 -1
- package/web-dist/components/hero/Hero.dependency-2.d.ts +1 -1
- package/web-dist/components/hero/Hero.dependency-3.d.ts +1 -1
- package/web-dist/components/hero/Hero.js +20 -32
- package/web-dist/components/icon/Icon.dependency-0.d.ts +1 -1
- package/web-dist/components/icon/Icon.js +3 -7
- package/web-dist/components/icon/Icon.types-0.d.ts +1 -1
- package/web-dist/components/icon-button/IconButton.dependency-0.d.ts +1 -1
- package/web-dist/components/icon-button/IconButton.dependency-2.d.ts +1 -1
- package/web-dist/components/icon-button/IconButton.dependency-3.d.ts +1 -1
- package/web-dist/components/icon-button/IconButton.dependency-4.d.ts +1 -1
- package/web-dist/components/icon-button/IconButton.js +6 -16
- package/web-dist/components/icon-button/IconButton.types-0.d.ts +1 -1
- package/web-dist/components/image/Image.dependency-0.d.ts +1 -1
- package/web-dist/components/image/Image.js +6 -12
- package/web-dist/components/image/Image.types-0.d.ts +1 -1
- package/web-dist/components/keyboard-avoiding-view/KeyboardAvoidingView.dependency-0.d.ts +1 -1
- package/web-dist/components/keyboard-avoiding-view/KeyboardAvoidingView.js +3 -5
- package/web-dist/components/keyboard-avoiding-view/KeyboardAvoidingView.types-0.d.ts +1 -1
- package/web-dist/components/link/Link.dependency-0.d.ts +1 -1
- package/web-dist/components/link/Link.dependency-3.d.ts +1 -1
- package/web-dist/components/link/Link.js +9 -12
- package/web-dist/components/link/Link.types-0.d.ts +1 -1
- package/web-dist/components/list/List.dependency-0.d.ts +1 -1
- package/web-dist/components/list/List.js +8 -17
- package/web-dist/components/list/List.types-0.d.ts +1 -1
- package/web-dist/components/list-item/ListItem.dependency-0.d.ts +1 -1
- package/web-dist/components/list-item/ListItem.js +8 -17
- package/web-dist/components/list-item/ListItem.types-0.d.ts +1 -1
- package/web-dist/components/list-section/ListSection.dependency-0.d.ts +1 -1
- package/web-dist/components/list-section/ListSection.js +8 -17
- package/web-dist/components/list-section/ListSection.types-0.d.ts +1 -1
- package/web-dist/components/master-detail/MasterDetail.dependency-0.d.ts +1 -1
- package/web-dist/components/master-detail/MasterDetail.js +4 -17
- package/web-dist/components/matrix-grid/MatrixGrid.dependency-0.d.ts +1 -1
- package/web-dist/components/matrix-grid/MatrixGrid.js +14 -23
- package/web-dist/components/media-card/MediaCard.dependency-0.d.ts +1 -1
- package/web-dist/components/media-card/MediaCard.js +12 -24
- package/web-dist/components/media-explorer/MediaExplorer.dependency-0.d.ts +1 -1
- package/web-dist/components/media-explorer/MediaExplorer.js +10 -16
- package/web-dist/components/message-bubble/MessageBubble.dependency-1.d.ts +1 -1
- package/web-dist/components/message-bubble/MessageBubble.dependency-3.d.ts +1 -1
- package/web-dist/components/message-bubble/MessageBubble.js +10 -19
- package/web-dist/components/metric-card/MetricCard.dependency-0.d.ts +1 -1
- package/web-dist/components/metric-card/MetricCard.dependency-3.d.ts +1 -1
- package/web-dist/components/metric-card/MetricCard.js +12 -24
- package/web-dist/components/metric-card/MetricCard.types-0.d.ts +1 -1
- package/web-dist/components/missing-element/MissingElement.dependency-0.d.ts +1 -1
- package/web-dist/components/missing-element/MissingElement.js +15 -27
- package/web-dist/components/o-auth-provider-button/OAuthProviderButton.dependency-0.d.ts +1 -1
- package/web-dist/components/o-auth-provider-button/OAuthProviderButton.dependency-2.d.ts +1 -1
- package/web-dist/components/o-auth-provider-button/OAuthProviderButton.dependency-3.d.ts +1 -1
- package/web-dist/components/o-auth-provider-button/OAuthProviderButton.dependency-4.d.ts +1 -1
- package/web-dist/components/o-auth-provider-button/OAuthProviderButton.js +13 -25
- package/web-dist/components/o-auth-provider-button/OAuthProviderButton.types-0.d.ts +1 -1
- package/web-dist/components/o-auth-provider-list/OAuthProviderList.dependency-0.d.ts +1 -1
- package/web-dist/components/o-auth-provider-list/OAuthProviderList.dependency-2.d.ts +1 -1
- package/web-dist/components/o-auth-provider-list/OAuthProviderList.dependency-3.d.ts +1 -1
- package/web-dist/components/o-auth-provider-list/OAuthProviderList.dependency-4.d.ts +1 -1
- package/web-dist/components/o-auth-provider-list/OAuthProviderList.js +13 -25
- package/web-dist/components/o-auth-provider-list/OAuthProviderList.types-0.d.ts +1 -1
- package/web-dist/components/opening-book/OpeningBook.dependency-0.d.ts +1 -1
- package/web-dist/components/opening-book/OpeningBook.js +5 -7
- package/web-dist/components/otp-form/OtpForm.dependency-0.d.ts +1 -1
- package/web-dist/components/otp-form/OtpForm.dependency-3.d.ts +1 -1
- package/web-dist/components/otp-form/OtpForm.dependency-4.d.ts +1 -1
- package/web-dist/components/otp-form/OtpForm.js +13 -25
- package/web-dist/components/pagination/Pagination.dependency-0.d.ts +1 -1
- package/web-dist/components/pagination/Pagination.js +16 -26
- package/web-dist/components/palette-item/PaletteItem.dependency-0.d.ts +1 -1
- package/web-dist/components/palette-item/PaletteItem.js +17 -29
- package/web-dist/components/palette-item/PaletteItem.types-0.d.ts +1 -1
- package/web-dist/components/playing-card/PlayingCard.dependency-0.d.ts +1 -1
- package/web-dist/components/playing-card/PlayingCard.js +5 -6
- package/web-dist/components/poker-training-table/PokerTrainingTable.dependency-0.d.ts +1 -1
- package/web-dist/components/poker-training-table/PokerTrainingTable.js +5 -6
- package/web-dist/components/popover/Popover.dependency-0.d.ts +1 -1
- package/web-dist/components/popover/Popover.js +4 -10
- package/web-dist/components/popover/Popover.types-0.d.ts +1 -1
- package/web-dist/components/popover-menu/PopoverMenu.dependency-0.d.ts +1 -1
- package/web-dist/components/popover-menu/PopoverMenu.js +6 -21
- package/web-dist/components/popover-menu/PopoverMenu.types-0.d.ts +1 -1
- package/web-dist/components/post-card/PostCard.dependency-1.d.ts +1 -1
- package/web-dist/components/post-card/PostCard.dependency-4.d.ts +1 -1
- package/web-dist/components/post-card/PostCard.js +12 -24
- package/web-dist/components/post-card/PostCard.types-0.d.ts +1 -1
- package/web-dist/components/product-card/ProductCard.dependency-0.d.ts +1 -1
- package/web-dist/components/product-card/ProductCard.js +12 -24
- package/web-dist/components/progress/Progress.dependency-0.d.ts +1 -1
- package/web-dist/components/progress/Progress.dependency-2.d.ts +1 -1
- package/web-dist/components/progress/Progress.dependency-3.d.ts +1 -1
- package/web-dist/components/progress/Progress.js +7 -12
- package/web-dist/components/progress-ring/ProgressRing.dependency-0.d.ts +1 -1
- package/web-dist/components/progress-ring/ProgressRing.dependency-2.d.ts +1 -1
- package/web-dist/components/progress-ring/ProgressRing.js +7 -12
- package/web-dist/components/radio/Radio.dependency-0.d.ts +1 -1
- package/web-dist/components/radio/Radio.js +8 -19
- package/web-dist/components/radio/Radio.types-0.d.ts +1 -1
- package/web-dist/components/radio-group/RadioGroup.dependency-0.d.ts +1 -1
- package/web-dist/components/radio-group/RadioGroup.dependency-2.d.ts +1 -1
- package/web-dist/components/radio-group/RadioGroup.js +8 -19
- package/web-dist/components/radio-group/RadioGroup.types-0.d.ts +1 -1
- package/web-dist/components/rating/Rating.dependency-0.d.ts +1 -1
- package/web-dist/components/rating/Rating.dependency-2.d.ts +1 -1
- package/web-dist/components/rating/Rating.dependency-3.d.ts +1 -1
- package/web-dist/components/rating/Rating.js +7 -13
- package/web-dist/components/reader/Reader.dependency-0.d.ts +1 -1
- package/web-dist/components/reader/Reader.js +25 -45
- package/web-dist/components/rich-text/RichText.dependency-0.d.ts +1 -1
- package/web-dist/components/rich-text/RichText.js +5 -6
- package/web-dist/components/scan-overlay/ScanOverlay.dependency-0.d.ts +1 -1
- package/web-dist/components/scan-overlay/ScanOverlay.js +13 -25
- package/web-dist/components/screen/Screen.dependency-0.d.ts +1 -1
- package/web-dist/components/screen/Screen.js +3 -8
- package/web-dist/components/screen-section/ScreenSection.dependency-0.d.ts +1 -1
- package/web-dist/components/screen-section/ScreenSection.js +7 -12
- package/web-dist/components/scroll-view/ScrollView.dependency-0.d.ts +1 -1
- package/web-dist/components/scroll-view/ScrollView.js +3 -8
- package/web-dist/components/scroll-view/ScrollView.types-0.d.ts +1 -1
- package/web-dist/components/search-input/SearchInput.dependency-0.d.ts +1 -1
- package/web-dist/components/search-input/SearchInput.dependency-2.d.ts +1 -1
- package/web-dist/components/search-input/SearchInput.js +8 -18
- package/web-dist/components/section-header/SectionHeader.dependency-0.d.ts +1 -1
- package/web-dist/components/section-header/SectionHeader.js +7 -12
- package/web-dist/components/section-list/SectionList.dependency-0.d.ts +1 -1
- package/web-dist/components/section-list/SectionList.js +8 -17
- package/web-dist/components/select/Select.dependency-0.d.ts +1 -1
- package/web-dist/components/select/Select.dependency-2.d.ts +1 -1
- package/web-dist/components/select/Select.js +13 -28
- package/web-dist/components/select/Select.types-0.d.ts +1 -1
- package/web-dist/components/selectable-item/SelectableItem.dependency-0.d.ts +1 -1
- package/web-dist/components/selectable-item/SelectableItem.js +3 -5
- package/web-dist/components/selectable-item/SelectableItem.types-0.d.ts +1 -1
- package/web-dist/components/selection-provider/SelectionProvider.js +3 -5
- package/web-dist/components/selection-provider/SelectionProvider.types-0.d.ts +1 -1
- package/web-dist/components/sign-in-form/SignInForm.dependency-0.d.ts +1 -1
- package/web-dist/components/sign-in-form/SignInForm.dependency-3.d.ts +1 -1
- package/web-dist/components/sign-in-form/SignInForm.dependency-4.d.ts +1 -1
- package/web-dist/components/sign-in-form/SignInForm.js +13 -25
- package/web-dist/components/sign-up-form/SignUpForm.dependency-0.d.ts +1 -1
- package/web-dist/components/sign-up-form/SignUpForm.dependency-3.d.ts +1 -1
- package/web-dist/components/sign-up-form/SignUpForm.dependency-4.d.ts +1 -1
- package/web-dist/components/sign-up-form/SignUpForm.js +13 -25
- package/web-dist/components/skeleton/Skeleton.dependency-0.d.ts +1 -1
- package/web-dist/components/skeleton/Skeleton.dependency-2.d.ts +1 -1
- package/web-dist/components/skeleton/Skeleton.js +15 -27
- package/web-dist/components/skeleton-card/SkeletonCard.dependency-0.d.ts +1 -1
- package/web-dist/components/skeleton-card/SkeletonCard.js +15 -27
- package/web-dist/components/skeleton-list/SkeletonList.dependency-0.d.ts +1 -1
- package/web-dist/components/skeleton-list/SkeletonList.js +15 -27
- package/web-dist/components/skeleton-text/SkeletonText.dependency-0.d.ts +1 -1
- package/web-dist/components/skeleton-text/SkeletonText.dependency-2.d.ts +1 -1
- package/web-dist/components/skeleton-text/SkeletonText.js +15 -27
- package/web-dist/components/spatial-grid/SpatialGrid.dependency-0.d.ts +1 -1
- package/web-dist/components/spatial-grid/SpatialGrid.js +4 -10
- package/web-dist/components/surface/Surface.dependency-0.d.ts +1 -1
- package/web-dist/components/surface/Surface.js +3 -10
- package/web-dist/components/surface/Surface.types-0.d.ts +1 -1
- package/web-dist/components/switch/Switch.dependency-0.d.ts +1 -1
- package/web-dist/components/switch/Switch.js +7 -121
- package/web-dist/components/switch/Switch.types-0.d.ts +1 -1
- package/web-dist/components/tab/Tab.dependency-0.d.ts +1 -1
- package/web-dist/components/tab/Tab.js +3 -12
- package/web-dist/components/tab/Tab.types-0.d.ts +1 -1
- package/web-dist/components/tab-list/TabList.dependency-0.d.ts +1 -1
- package/web-dist/components/tab-list/TabList.js +3 -12
- package/web-dist/components/tab-list/TabList.types-0.d.ts +1 -1
- package/web-dist/components/tab-panel/TabPanel.dependency-0.d.ts +1 -1
- package/web-dist/components/tab-panel/TabPanel.js +3 -12
- package/web-dist/components/tab-panel/TabPanel.types-0.d.ts +1 -1
- package/web-dist/components/tabletop-table/TabletopTable.dependency-0.d.ts +1 -1
- package/web-dist/components/tabletop-table/TabletopTable.js +5 -6
- package/web-dist/components/tabs/Tabs.dependency-0.d.ts +1 -1
- package/web-dist/components/tabs/Tabs.js +3 -12
- package/web-dist/components/tabs/Tabs.types-0.d.ts +1 -1
- package/web-dist/components/text/Text.dependency-0.d.ts +1 -1
- package/web-dist/components/text/Text.dependency-2.d.ts +1 -1
- package/web-dist/components/text/Text.js +7 -10
- package/web-dist/components/text/Text.types-0.d.ts +1 -1
- package/web-dist/components/text-input/TextInput.dependency-0.d.ts +1 -1
- package/web-dist/components/text-input/TextInput.dependency-2.d.ts +1 -1
- package/web-dist/components/text-input/TextInput.js +9 -19
- package/web-dist/components/text-input/TextInput.types-0.d.ts +1 -1
- package/web-dist/components/theme-mode-toggle/ThemeModeToggle.dependency-0.d.ts +1 -1
- package/web-dist/components/theme-mode-toggle/ThemeModeToggle.dependency-2.d.ts +1 -1
- package/web-dist/components/theme-mode-toggle/ThemeModeToggle.dependency-3.d.ts +1 -1
- package/web-dist/components/theme-mode-toggle/ThemeModeToggle.dependency-4.d.ts +1 -1
- package/web-dist/components/theme-mode-toggle/ThemeModeToggle.dependency-5.d.ts +1 -1
- package/web-dist/components/theme-mode-toggle/ThemeModeToggle.js +8 -18
- package/web-dist/components/tile-grid/TileGrid.dependency-0.d.ts +1 -1
- package/web-dist/components/tile-grid/TileGrid.js +1 -2
- package/web-dist/components/time-grid/TimeGrid.dependency-0.d.ts +1 -1
- package/web-dist/components/time-grid/TimeGrid.js +6 -12
- package/web-dist/components/time-picker/TimePicker.dependency-0.d.ts +1 -1
- package/web-dist/components/time-picker/TimePicker.js +18 -39
- package/web-dist/components/timeline/Timeline.dependency-0.d.ts +1 -1
- package/web-dist/components/timeline/Timeline.dependency-2.d.ts +1 -1
- package/web-dist/components/timeline/Timeline.dependency-4.d.ts +1 -1
- package/web-dist/components/timeline/Timeline.js +15 -21
- package/web-dist/components/timeline/Timeline.types-0.d.ts +1 -1
- package/web-dist/components/toast/Toast.dependency-0.d.ts +1 -1
- package/web-dist/components/toast/Toast.js +3 -14
- package/web-dist/components/toast/Toast.types-0.d.ts +1 -1
- package/web-dist/components/toast-provider/ToastProvider.js +3 -14
- package/web-dist/components/toast-provider/ToastProvider.types-0.d.ts +1 -1
- package/web-dist/components/toolbar/Toolbar.dependency-0.d.ts +1 -1
- package/web-dist/components/toolbar/Toolbar.js +13 -25
- package/web-dist/components/tree-item/TreeItem.dependency-0.d.ts +1 -1
- package/web-dist/components/tree-item/TreeItem.js +16 -32
- package/web-dist/components/tree-item/TreeItem.types-0.d.ts +1 -1
- package/web-dist/components/tree-view/TreeView.js +1 -1
- package/web-dist/components/uploader/Uploader.dependency-0.d.ts +1 -1
- package/web-dist/components/uploader/Uploader.js +28 -44
- package/web-dist/components/video/Video.dependency-0.d.ts +1 -1
- package/web-dist/components/video/Video.dependency-2.d.ts +1 -1
- package/web-dist/components/video/Video.js +11 -17
- package/web-dist/components/view/View.dependency-0.d.ts +1 -1
- package/web-dist/components/view/View.js +3 -8
- package/web-dist/components/view/View.types-0.d.ts +1 -1
- package/web-dist/components/zora-web-style-sheet/ZoraWebStyleSheet.d.ts +6 -1
- package/web-dist/components/zora-web-style-sheet/ZoraWebStyleSheet.js +3 -8
- package/web-dist/manifest.json +1104 -2714
- package/web-dist/runtime/ZoraProvider.js +19 -178
- package/web-dist/chunks/Accordion-0dj1r7w3.js +0 -13528
- package/web-dist/chunks/Accordion-224snqz3.js +0 -89
- package/web-dist/chunks/Accordion-23k6n6zk.js +0 -278
- package/web-dist/chunks/Accordion-2yat0x6x.js +0 -188
- package/web-dist/chunks/Accordion-4mg3epm9.js +0 -405
- package/web-dist/chunks/Accordion-4qrva6ye.js +0 -15
- package/web-dist/chunks/Accordion-4yrszsvs.js +0 -273
- package/web-dist/chunks/Accordion-5z75befg.js +0 -69
- package/web-dist/chunks/Accordion-61e19g3e.js +0 -1
- package/web-dist/chunks/Accordion-6a2hscrx.js +0 -50
- package/web-dist/chunks/Accordion-6zb9d92y.js +0 -87
- package/web-dist/chunks/Accordion-76b0qz8y.js +0 -41
- package/web-dist/chunks/Accordion-7nn4r909.js +0 -81
- package/web-dist/chunks/Accordion-7v6mrp8n.js +0 -311
- package/web-dist/chunks/Accordion-9b4bsxwe.js +0 -46
- package/web-dist/chunks/Accordion-9tgvr155.js +0 -9575
- package/web-dist/chunks/Accordion-a5fsrv3x.js +0 -198
- package/web-dist/chunks/Accordion-akwd4brm.js +0 -397
- package/web-dist/chunks/Accordion-c6edgxay.js +0 -1
- package/web-dist/chunks/Accordion-chdbfcm6.js +0 -93
- package/web-dist/chunks/Accordion-eqvdv7tt.js +0 -1
- package/web-dist/chunks/Accordion-fre84yaq.js +0 -12
- package/web-dist/chunks/Accordion-j1zerr6z.js +0 -389
- package/web-dist/chunks/Accordion-khfjh10v.js +0 -82
- package/web-dist/chunks/Accordion-ktscjwa2.js +0 -213
- package/web-dist/chunks/Accordion-mnac2z83.js +0 -21
- package/web-dist/chunks/Accordion-mnxf855g.js +0 -121
- package/web-dist/chunks/Accordion-mrstcjcm.js +0 -28
- package/web-dist/chunks/Accordion-mx7nkg85.js +0 -34
- package/web-dist/chunks/Accordion-pdjhezmz.js +0 -43
- package/web-dist/chunks/Accordion-q8a423pk.js +0 -379
- package/web-dist/chunks/Accordion-qjxbf8nt.js +0 -150
- package/web-dist/chunks/Accordion-sfvqf4fz.js +0 -1299
- package/web-dist/chunks/Accordion-sj30964p.js +0 -1350
- package/web-dist/chunks/Accordion-vx8bjm5k.js +0 -263
- package/web-dist/chunks/Accordion-wgc67k1g.js +0 -93
- package/web-dist/chunks/Accordion-ww4f12ty.js +0 -200
- package/web-dist/chunks/Accordion-xgpzh4wq.js +0 -18061
- package/web-dist/chunks/Accordion-xhxv2v0g.js +0 -196
|
@@ -1,20 +1,406 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
|
-
require_registry
|
|
4
|
-
|
|
5
|
-
init_src
|
|
6
|
-
} from "./Accordion-9tgvr155.js";
|
|
7
|
-
import {
|
|
8
|
-
require_cjs
|
|
9
|
-
} from "./Accordion-xgpzh4wq.js";
|
|
3
|
+
require_registry
|
|
4
|
+
} from "./Accordion-2ej7s27r.js";
|
|
10
5
|
import {
|
|
11
6
|
__toESM,
|
|
12
|
-
|
|
13
|
-
} from "./Accordion-
|
|
7
|
+
__commonJS
|
|
8
|
+
} from "./Accordion-0g45tq8n.js";
|
|
9
|
+
|
|
10
|
+
// node_modules/invariant/browser.js
|
|
11
|
+
var require_browser = __commonJS(function(exports, module) {
|
|
12
|
+
var invariant = function(condition, format, a, b, c, d, e, f) {
|
|
13
|
+
if (true) {
|
|
14
|
+
if (format === undefined) {
|
|
15
|
+
throw new Error("invariant requires an error message argument");
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
if (!condition) {
|
|
19
|
+
var error;
|
|
20
|
+
if (format === undefined) {
|
|
21
|
+
error = new Error("Minified exception occurred; use the non-minified dev environment " + "for the full error message and additional helpful warnings.");
|
|
22
|
+
} else {
|
|
23
|
+
var args = [a, b, c, d, e, f];
|
|
24
|
+
var argIndex = 0;
|
|
25
|
+
error = new Error(format.replace(/%s/g, function() {
|
|
26
|
+
return args[argIndex++];
|
|
27
|
+
}));
|
|
28
|
+
error.name = "Invariant Violation";
|
|
29
|
+
}
|
|
30
|
+
error.framesToPop = 1;
|
|
31
|
+
throw error;
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
module.exports = invariant;
|
|
35
|
+
});
|
|
36
|
+
// node_modules/expo-modules-core/src/polyfill/CoreModule.ts
|
|
37
|
+
class EventEmitter {
|
|
38
|
+
listeners;
|
|
39
|
+
addListener(eventName, listener) {
|
|
40
|
+
if (!this.listeners) {
|
|
41
|
+
this.listeners = new Map;
|
|
42
|
+
}
|
|
43
|
+
if (!this.listeners?.has(eventName)) {
|
|
44
|
+
this.listeners?.set(eventName, new Set);
|
|
45
|
+
}
|
|
46
|
+
const previousListenerCount = this.listenerCount(eventName);
|
|
47
|
+
this.listeners?.get(eventName)?.add(listener);
|
|
48
|
+
if (previousListenerCount === 0 && this.listenerCount(eventName) === 1) {
|
|
49
|
+
this.startObserving(eventName);
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
remove: () => {
|
|
53
|
+
this.removeListener(eventName, listener);
|
|
54
|
+
}
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
removeListener(eventName, listener) {
|
|
58
|
+
const hasRemovedListener = this.listeners?.get(eventName)?.delete(listener);
|
|
59
|
+
if (this.listenerCount(eventName) === 0 && hasRemovedListener) {
|
|
60
|
+
this.stopObserving(eventName);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
removeAllListeners(eventName) {
|
|
64
|
+
const previousListenerCount = this.listenerCount(eventName);
|
|
65
|
+
this.listeners?.get(eventName)?.clear();
|
|
66
|
+
if (previousListenerCount > 0) {
|
|
67
|
+
this.stopObserving(eventName);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
emit(eventName, ...args) {
|
|
71
|
+
const listeners = new Set(this.listeners?.get(eventName));
|
|
72
|
+
listeners.forEach((listener) => {
|
|
73
|
+
try {
|
|
74
|
+
listener(...args);
|
|
75
|
+
} catch (error) {
|
|
76
|
+
console.error(error);
|
|
77
|
+
}
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
listenerCount(eventName) {
|
|
81
|
+
return this.listeners?.get(eventName)?.size ?? 0;
|
|
82
|
+
}
|
|
83
|
+
startObserving(eventName) {}
|
|
84
|
+
stopObserving(eventName) {}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
class NativeModule extends EventEmitter {
|
|
88
|
+
ViewPrototypes;
|
|
89
|
+
__expo_module_name__;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
class SharedObject extends EventEmitter {
|
|
93
|
+
release() {}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
class SharedRef extends SharedObject {
|
|
97
|
+
nativeRefType = "unknown";
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
// node_modules/expo-modules-core/src/uuid/lib/sha1.ts
|
|
101
|
+
function f(s, x, y, z) {
|
|
102
|
+
switch (s) {
|
|
103
|
+
case 0:
|
|
104
|
+
return x & y ^ ~x & z;
|
|
105
|
+
case 1:
|
|
106
|
+
return x ^ y ^ z;
|
|
107
|
+
case 2:
|
|
108
|
+
return x & y ^ x & z ^ y & z;
|
|
109
|
+
case 3:
|
|
110
|
+
return x ^ y ^ z;
|
|
111
|
+
default:
|
|
112
|
+
return 0;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
function ROTL(x, n) {
|
|
116
|
+
return x << n | x >>> 32 - n;
|
|
117
|
+
}
|
|
118
|
+
function sha1(bytes) {
|
|
119
|
+
const K = [1518500249, 1859775393, 2400959708, 3395469782];
|
|
120
|
+
const H = [1732584193, 4023233417, 2562383102, 271733878, 3285377520];
|
|
121
|
+
if (typeof bytes == "string") {
|
|
122
|
+
const msg = unescape(encodeURIComponent(bytes));
|
|
123
|
+
bytes = new Array(msg.length);
|
|
124
|
+
for (let i = 0;i < msg.length; i++)
|
|
125
|
+
bytes[i] = msg.charCodeAt(i);
|
|
126
|
+
}
|
|
127
|
+
bytes.push(128);
|
|
128
|
+
const l = bytes.length / 4 + 2;
|
|
129
|
+
const N = Math.ceil(l / 16);
|
|
130
|
+
const M = new Array(N);
|
|
131
|
+
for (let i = 0;i < N; i++) {
|
|
132
|
+
M[i] = new Array(16);
|
|
133
|
+
for (let j = 0;j < 16; j++) {
|
|
134
|
+
M[i][j] = bytes[i * 64 + j * 4] << 24 | bytes[i * 64 + j * 4 + 1] << 16 | bytes[i * 64 + j * 4 + 2] << 8 | bytes[i * 64 + j * 4 + 3];
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
M[N - 1][14] = (bytes.length - 1) * 8 / Math.pow(2, 32);
|
|
138
|
+
M[N - 1][14] = Math.floor(M[N - 1][14]);
|
|
139
|
+
M[N - 1][15] = (bytes.length - 1) * 8 & 4294967295;
|
|
140
|
+
for (let i = 0;i < N; i++) {
|
|
141
|
+
const W = new Array(80);
|
|
142
|
+
for (let t = 0;t < 16; t++)
|
|
143
|
+
W[t] = M[i][t];
|
|
144
|
+
for (let t = 16;t < 80; t++) {
|
|
145
|
+
W[t] = ROTL(W[t - 3] ^ W[t - 8] ^ W[t - 14] ^ W[t - 16], 1);
|
|
146
|
+
}
|
|
147
|
+
let a = H[0];
|
|
148
|
+
let b = H[1];
|
|
149
|
+
let c = H[2];
|
|
150
|
+
let d = H[3];
|
|
151
|
+
let e = H[4];
|
|
152
|
+
for (let t = 0;t < 80; t++) {
|
|
153
|
+
const s = Math.floor(t / 20);
|
|
154
|
+
const T = ROTL(a, 5) + f(s, b, c, d) + e + K[s] + W[t] >>> 0;
|
|
155
|
+
e = d;
|
|
156
|
+
d = c;
|
|
157
|
+
c = ROTL(b, 30) >>> 0;
|
|
158
|
+
b = a;
|
|
159
|
+
a = T;
|
|
160
|
+
}
|
|
161
|
+
H[0] = H[0] + a >>> 0;
|
|
162
|
+
H[1] = H[1] + b >>> 0;
|
|
163
|
+
H[2] = H[2] + c >>> 0;
|
|
164
|
+
H[3] = H[3] + d >>> 0;
|
|
165
|
+
H[4] = H[4] + e >>> 0;
|
|
166
|
+
}
|
|
167
|
+
return [
|
|
168
|
+
H[0] >> 24 & 255,
|
|
169
|
+
H[0] >> 16 & 255,
|
|
170
|
+
H[0] >> 8 & 255,
|
|
171
|
+
H[0] & 255,
|
|
172
|
+
H[1] >> 24 & 255,
|
|
173
|
+
H[1] >> 16 & 255,
|
|
174
|
+
H[1] >> 8 & 255,
|
|
175
|
+
H[1] & 255,
|
|
176
|
+
H[2] >> 24 & 255,
|
|
177
|
+
H[2] >> 16 & 255,
|
|
178
|
+
H[2] >> 8 & 255,
|
|
179
|
+
H[2] & 255,
|
|
180
|
+
H[3] >> 24 & 255,
|
|
181
|
+
H[3] >> 16 & 255,
|
|
182
|
+
H[3] >> 8 & 255,
|
|
183
|
+
H[3] & 255,
|
|
184
|
+
H[4] >> 24 & 255,
|
|
185
|
+
H[4] >> 16 & 255,
|
|
186
|
+
H[4] >> 8 & 255,
|
|
187
|
+
H[4] & 255
|
|
188
|
+
];
|
|
189
|
+
}
|
|
190
|
+
var sha1_default = sha1;
|
|
191
|
+
|
|
192
|
+
// node_modules/expo-modules-core/src/uuid/lib/bytesToUuid.ts
|
|
193
|
+
var byteToHex = [];
|
|
194
|
+
for (let i = 0;i < 256; ++i) {
|
|
195
|
+
byteToHex[i] = (i + 256).toString(16).substr(1);
|
|
196
|
+
}
|
|
197
|
+
function bytesToUuid(buf, offset) {
|
|
198
|
+
let i = offset || 0;
|
|
199
|
+
const bth = byteToHex;
|
|
200
|
+
return [
|
|
201
|
+
bth[buf[i++]],
|
|
202
|
+
bth[buf[i++]],
|
|
203
|
+
bth[buf[i++]],
|
|
204
|
+
bth[buf[i++]],
|
|
205
|
+
"-",
|
|
206
|
+
bth[buf[i++]],
|
|
207
|
+
bth[buf[i++]],
|
|
208
|
+
"-",
|
|
209
|
+
bth[buf[i++]],
|
|
210
|
+
bth[buf[i++]],
|
|
211
|
+
"-",
|
|
212
|
+
bth[buf[i++]],
|
|
213
|
+
bth[buf[i++]],
|
|
214
|
+
"-",
|
|
215
|
+
bth[buf[i++]],
|
|
216
|
+
bth[buf[i++]],
|
|
217
|
+
bth[buf[i++]],
|
|
218
|
+
bth[buf[i++]],
|
|
219
|
+
bth[buf[i++]],
|
|
220
|
+
bth[buf[i++]]
|
|
221
|
+
].join("");
|
|
222
|
+
}
|
|
223
|
+
var bytesToUuid_default = bytesToUuid;
|
|
224
|
+
|
|
225
|
+
// node_modules/expo-modules-core/src/uuid/lib/v35.ts
|
|
226
|
+
function uuidToBytes(uuid) {
|
|
227
|
+
const bytes = [];
|
|
228
|
+
uuid.replace(/[a-fA-F0-9]{2}/g, (hex) => {
|
|
229
|
+
bytes.push(parseInt(hex, 16));
|
|
230
|
+
return "";
|
|
231
|
+
});
|
|
232
|
+
return bytes;
|
|
233
|
+
}
|
|
234
|
+
function stringToBytes(str) {
|
|
235
|
+
str = unescape(encodeURIComponent(str));
|
|
236
|
+
const bytes = new Array(str.length);
|
|
237
|
+
for (let i = 0;i < str.length; i++) {
|
|
238
|
+
bytes[i] = str.charCodeAt(i);
|
|
239
|
+
}
|
|
240
|
+
return bytes;
|
|
241
|
+
}
|
|
242
|
+
function v35_default(name, version, hashfunc) {
|
|
243
|
+
const generateUUID = function(value, namespace, buf, offset) {
|
|
244
|
+
const off = buf && offset || 0;
|
|
245
|
+
if (typeof value == "string")
|
|
246
|
+
value = stringToBytes(value);
|
|
247
|
+
if (typeof namespace == "string")
|
|
248
|
+
namespace = uuidToBytes(namespace);
|
|
249
|
+
if (!Array.isArray(value))
|
|
250
|
+
throw TypeError("value must be an array of bytes");
|
|
251
|
+
if (!Array.isArray(namespace) || namespace.length !== 16)
|
|
252
|
+
throw TypeError("namespace must be uuid string or an Array of 16 byte values");
|
|
253
|
+
const bytes = hashfunc(namespace.concat(value));
|
|
254
|
+
bytes[6] = bytes[6] & 15 | version;
|
|
255
|
+
bytes[8] = bytes[8] & 63 | 128;
|
|
256
|
+
if (buf) {
|
|
257
|
+
for (let idx = 0;idx < 16; ++idx) {
|
|
258
|
+
buf[off + idx] = bytes[idx];
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
return bytesToUuid_default(bytes);
|
|
262
|
+
};
|
|
263
|
+
try {
|
|
264
|
+
generateUUID.name = name;
|
|
265
|
+
} catch {}
|
|
266
|
+
generateUUID.DNS = "6ba7b810-9dad-11d1-80b4-00c04fd430c8";
|
|
267
|
+
generateUUID.URL = "6ba7b811-9dad-11d1-80b4-00c04fd430c8";
|
|
268
|
+
return generateUUID;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
// node_modules/expo-modules-core/src/uuid/uuid.types.ts
|
|
272
|
+
var Uuidv5Namespace;
|
|
273
|
+
((Uuidv5Namespace) => {
|
|
274
|
+
Uuidv5Namespace["dns"] = "6ba7b810-9dad-11d1-80b4-00c04fd430c8";
|
|
275
|
+
Uuidv5Namespace["url"] = "6ba7b811-9dad-11d1-80b4-00c04fd430c8";
|
|
276
|
+
Uuidv5Namespace["oid"] = "6ba7b812-9dad-11d1-80b4-00c04fd430c8";
|
|
277
|
+
Uuidv5Namespace["x500"] = "6ba7b814-9dad-11d1-80b4-00c04fd430c8";
|
|
278
|
+
})(Uuidv5Namespace ||= {});
|
|
279
|
+
|
|
280
|
+
// node_modules/expo-modules-core/src/uuid/index.web.ts
|
|
281
|
+
function uuidv4() {
|
|
282
|
+
if (typeof crypto === "undefined" && typeof window === "undefined") {
|
|
283
|
+
return eval("require")("node:crypto").randomUUID();
|
|
284
|
+
}
|
|
285
|
+
return crypto.randomUUID();
|
|
286
|
+
}
|
|
287
|
+
var uuid = {
|
|
288
|
+
v4: uuidv4,
|
|
289
|
+
v5: v35_default("v5", 80, sha1_default),
|
|
290
|
+
namespace: Uuidv5Namespace
|
|
291
|
+
};
|
|
292
|
+
var index_web_default = uuid;
|
|
293
|
+
|
|
294
|
+
// node_modules/expo-modules-core/src/polyfill/dangerous-internal.ts
|
|
295
|
+
function installExpoGlobalPolyfill() {
|
|
296
|
+
if (globalThis.expo)
|
|
297
|
+
return;
|
|
298
|
+
globalThis.expo = {
|
|
299
|
+
EventEmitter,
|
|
300
|
+
NativeModule,
|
|
301
|
+
SharedObject,
|
|
302
|
+
SharedRef,
|
|
303
|
+
modules: globalThis.ExpoDomWebView?.expoModulesProxy ?? {},
|
|
304
|
+
uuidv4: index_web_default.v4,
|
|
305
|
+
uuidv5: index_web_default.v5,
|
|
306
|
+
getViewConfig: () => {
|
|
307
|
+
throw new Error("Method not implemented.");
|
|
308
|
+
},
|
|
309
|
+
reloadAppAsync: async () => {
|
|
310
|
+
window.location.reload();
|
|
311
|
+
},
|
|
312
|
+
expoModulesCoreVersion: undefined,
|
|
313
|
+
cacheDir: undefined,
|
|
314
|
+
documentsDir: undefined,
|
|
315
|
+
installOnUIRuntime: (_uiRuntimeHolder) => {
|
|
316
|
+
throw new Error("Method not implemented.");
|
|
317
|
+
}
|
|
318
|
+
};
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
// node_modules/expo-modules-core/src/polyfill/index.web.ts
|
|
322
|
+
installExpoGlobalPolyfill();
|
|
323
|
+
|
|
324
|
+
// node_modules/expo-modules-core/src/ensureNativeModulesAreInstalled.ts
|
|
325
|
+
function ensureNativeModulesAreInstalled() {}
|
|
326
|
+
|
|
327
|
+
// node_modules/expo-modules-core/src/EventEmitter.ts
|
|
328
|
+
ensureNativeModulesAreInstalled();
|
|
329
|
+
var EventEmitter2 = globalThis.expo.EventEmitter;
|
|
330
|
+
// node_modules/expo-modules-core/src/NativeModule.ts
|
|
331
|
+
ensureNativeModulesAreInstalled();
|
|
332
|
+
var NativeModule2 = globalThis.expo.NativeModule;
|
|
333
|
+
// node_modules/expo-modules-core/src/SharedObject.ts
|
|
334
|
+
ensureNativeModulesAreInstalled();
|
|
335
|
+
var SharedObject2 = globalThis.expo.SharedObject;
|
|
336
|
+
// node_modules/expo-modules-core/src/SharedRef.ts
|
|
337
|
+
ensureNativeModulesAreInstalled();
|
|
338
|
+
var SharedRef2 = globalThis.expo.SharedRef;
|
|
339
|
+
// node_modules/expo-modules-core/src/Platform.ts
|
|
340
|
+
import { Platform as ReactNativePlatform } from "react-native-web";
|
|
341
|
+
|
|
342
|
+
// node_modules/expo-modules-core/src/environment/browser.web.ts
|
|
343
|
+
var isDOMAvailable = typeof window !== "undefined" && !!window.document?.createElement;
|
|
344
|
+
var canUseEventListeners = isDOMAvailable && !!(window.addEventListener || window.attachEvent);
|
|
345
|
+
var canUseViewport = isDOMAvailable && !!window.screen;
|
|
346
|
+
var isAsyncDebugging = false;
|
|
347
|
+
|
|
348
|
+
// node_modules/expo-modules-core/src/Platform.ts
|
|
349
|
+
if (__DEV__ && typeof process.env.EXPO_OS === "undefined") {
|
|
350
|
+
console.warn(`The global process.env.EXPO_OS is not defined. This should be inlined by babel-preset-expo during transformation.`);
|
|
351
|
+
}
|
|
352
|
+
var nativeSelect = typeof window !== "undefined" ? ReactNativePlatform.select : function select(specifics) {
|
|
353
|
+
if (!process.env.EXPO_OS)
|
|
354
|
+
return;
|
|
355
|
+
if (specifics.hasOwnProperty(process.env.EXPO_OS)) {
|
|
356
|
+
return specifics[process.env.EXPO_OS];
|
|
357
|
+
} else if (process.env.EXPO_OS !== "web" && specifics.hasOwnProperty("native")) {
|
|
358
|
+
return specifics.native;
|
|
359
|
+
} else if (specifics.hasOwnProperty("default")) {
|
|
360
|
+
return specifics.default;
|
|
361
|
+
}
|
|
362
|
+
return;
|
|
363
|
+
};
|
|
364
|
+
var Platform = {
|
|
365
|
+
OS: process.env.EXPO_OS || ReactNativePlatform.OS,
|
|
366
|
+
select: nativeSelect,
|
|
367
|
+
isDOMAvailable,
|
|
368
|
+
canUseEventListeners,
|
|
369
|
+
canUseViewport,
|
|
370
|
+
isAsyncDebugging
|
|
371
|
+
};
|
|
372
|
+
var Platform_default = Platform;
|
|
373
|
+
// node_modules/expo-modules-core/src/PermissionsHook.ts
|
|
374
|
+
import { useCallback, useEffect, useRef, useState } from "react";
|
|
375
|
+
// node_modules/expo-modules-core/src/Refs.ts
|
|
376
|
+
import { createRef } from "react";
|
|
377
|
+
// node_modules/expo-modules-core/src/hooks/useReleasingSharedObjectWithLifecycle.ts
|
|
378
|
+
import { useEffect as useEffect2, useMemo, useRef as useRef2 } from "react";
|
|
379
|
+
|
|
380
|
+
// node_modules/expo-modules-core/src/hooks/useReleasingSharedObject.ts
|
|
381
|
+
// node_modules/expo-modules-core/src/LegacyEventEmitter.ts
|
|
382
|
+
var import_invariant = __toESM(require_browser());
|
|
383
|
+
import { NativeEventEmitter, Platform as Platform2 } from "react-native-web";
|
|
384
|
+
// node_modules/expo-audio/build/ExpoAudio.web.js
|
|
385
|
+
import { useEffect as useEffect4, useMemo as useMemo2 } from "react";
|
|
386
|
+
|
|
387
|
+
// node_modules/expo-audio/build/AudioEventKeys.js
|
|
388
|
+
var PLAYBACK_STATUS_UPDATE = "playbackStatusUpdate";
|
|
389
|
+
var AUDIO_SAMPLE_UPDATE = "audioSampleUpdate";
|
|
390
|
+
var RECORDING_STATUS_UPDATE = "recordingStatusUpdate";
|
|
391
|
+
var PLAYLIST_STATUS_UPDATE = "playlistStatusUpdate";
|
|
392
|
+
var TRACK_CHANGED = "trackChanged";
|
|
393
|
+
|
|
394
|
+
// node_modules/expo-asset/build/Asset.js
|
|
395
|
+
var import_registry2 = __toESM(require_registry());
|
|
396
|
+
|
|
397
|
+
// node_modules/expo-asset/build/AssetSources.js
|
|
398
|
+
import { PixelRatio as PixelRatio2, NativeModules } from "react-native-web";
|
|
14
399
|
|
|
15
400
|
// node_modules/expo-asset/build/AssetSourceResolver.js
|
|
401
|
+
import { PixelRatio } from "react-native-web";
|
|
16
402
|
function getScaledAssetPath(asset) {
|
|
17
|
-
const scale = AssetSourceResolver.pickScale(asset.scales,
|
|
403
|
+
const scale = AssetSourceResolver.pickScale(asset.scales, PixelRatio.get());
|
|
18
404
|
const scaleSuffix = scale === 1 ? "" : "@" + scale + "x";
|
|
19
405
|
const type = !asset.type ? "" : `.${asset.type}`;
|
|
20
406
|
if (__DEV__) {
|
|
@@ -54,7 +440,7 @@ class AssetSourceResolver {
|
|
|
54
440
|
width: this.asset.width ?? undefined,
|
|
55
441
|
height: this.asset.height ?? undefined,
|
|
56
442
|
uri: source,
|
|
57
|
-
scale: AssetSourceResolver.pickScale(this.asset.scales,
|
|
443
|
+
scale: AssetSourceResolver.pickScale(this.asset.scales, PixelRatio.get())
|
|
58
444
|
};
|
|
59
445
|
}
|
|
60
446
|
static pickScale(scales, deviceScale) {
|
|
@@ -66,22 +452,17 @@ class AssetSourceResolver {
|
|
|
66
452
|
return scales[scales.length - 1] || 1;
|
|
67
453
|
}
|
|
68
454
|
}
|
|
69
|
-
var import_react_native;
|
|
70
|
-
var init_AssetSourceResolver = __esm(() => {
|
|
71
|
-
init_src();
|
|
72
|
-
import_react_native = __toESM(require_cjs());
|
|
73
|
-
});
|
|
74
455
|
|
|
75
456
|
// node_modules/expo-asset/build/PlatformUtils.web.js
|
|
457
|
+
var IS_ENV_WITH_LOCAL_ASSETS = false;
|
|
76
458
|
function getManifest2() {
|
|
77
459
|
return {};
|
|
78
460
|
}
|
|
79
|
-
var
|
|
80
|
-
var init_PlatformUtils_web = () => {};
|
|
461
|
+
var manifestBaseUrl = null;
|
|
81
462
|
|
|
82
463
|
// node_modules/expo-asset/build/AssetSources.js
|
|
83
464
|
function selectAssetSource(meta) {
|
|
84
|
-
const scale = AssetSourceResolver.pickScale(meta.scales,
|
|
465
|
+
const scale = AssetSourceResolver.pickScale(meta.scales, PixelRatio2.get());
|
|
85
466
|
const index = meta.scales.findIndex((s) => s === scale);
|
|
86
467
|
const hash = meta.fileHashes?.[index] ?? meta.fileHashes?.[0] ?? meta.hash;
|
|
87
468
|
const uri = meta.fileUris ? meta.fileUris[index] ?? meta.fileUris[0] : meta.uri;
|
|
@@ -111,7 +492,7 @@ function selectAssetSource(meta) {
|
|
|
111
492
|
hash
|
|
112
493
|
};
|
|
113
494
|
}
|
|
114
|
-
if (
|
|
495
|
+
if (NativeModules["ExponentKernel"]) {
|
|
115
496
|
return { uri: `https://classic-assets.eascdn.net/~assets/${encodeURIComponent(hash)}`, hash };
|
|
116
497
|
}
|
|
117
498
|
return { uri: "", hash };
|
|
@@ -119,13 +500,6 @@ function selectAssetSource(meta) {
|
|
|
119
500
|
function resolveUri(uri) {
|
|
120
501
|
return manifestBaseUrl ? new URL(uri, manifestBaseUrl).href : uri;
|
|
121
502
|
}
|
|
122
|
-
var import_react_native2;
|
|
123
|
-
var init_AssetSources = __esm(() => {
|
|
124
|
-
init_src();
|
|
125
|
-
init_AssetSourceResolver();
|
|
126
|
-
init_PlatformUtils_web();
|
|
127
|
-
import_react_native2 = __toESM(require_cjs());
|
|
128
|
-
});
|
|
129
503
|
|
|
130
504
|
// node_modules/expo-asset/build/AssetUris.js
|
|
131
505
|
function getFilename(url) {
|
|
@@ -146,13 +520,11 @@ function getFileExtension(url) {
|
|
|
146
520
|
const dotIndex = filename.lastIndexOf(".");
|
|
147
521
|
return dotIndex > 0 ? filename.substring(dotIndex) : "";
|
|
148
522
|
}
|
|
149
|
-
var init_AssetUris = () => {};
|
|
150
523
|
|
|
151
524
|
// node_modules/expo-asset/build/ExpoAsset.web.js
|
|
152
525
|
async function downloadAsync(url, _hash, _type) {
|
|
153
526
|
return url;
|
|
154
527
|
}
|
|
155
|
-
var init_ExpoAsset_web = () => {};
|
|
156
528
|
|
|
157
529
|
// node_modules/expo-asset/build/ImageAssets.js
|
|
158
530
|
function isImageType(type) {
|
|
@@ -175,17 +547,15 @@ function getImageInfoAsync(url) {
|
|
|
175
547
|
img.src = url;
|
|
176
548
|
});
|
|
177
549
|
}
|
|
178
|
-
var init_ImageAssets = __esm(() => {
|
|
179
|
-
init_AssetUris();
|
|
180
|
-
});
|
|
181
550
|
|
|
182
551
|
// node_modules/expo-asset/build/LocalAssets.web.js
|
|
183
552
|
function getLocalAssetUri(hash, type) {
|
|
184
553
|
return null;
|
|
185
554
|
}
|
|
186
|
-
var init_LocalAssets_web = () => {};
|
|
187
555
|
|
|
188
556
|
// node_modules/expo-asset/build/resolveAssetSource.js
|
|
557
|
+
var import_registry = __toESM(require_registry());
|
|
558
|
+
var _customSourceTransformer;
|
|
189
559
|
function setCustomSourceTransformer(transformer) {
|
|
190
560
|
_customSourceTransformer = transformer;
|
|
191
561
|
}
|
|
@@ -203,239 +573,176 @@ function resolveAssetSource(source) {
|
|
|
203
573
|
}
|
|
204
574
|
return resolver.defaultAsset();
|
|
205
575
|
}
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
Object.defineProperty(resolveAssetSource, "setCustomSourceTransformer", {
|
|
211
|
-
get() {
|
|
212
|
-
return setCustomSourceTransformer;
|
|
213
|
-
}
|
|
214
|
-
});
|
|
215
|
-
resolveAssetSource_default = resolveAssetSource;
|
|
216
|
-
({ pickScale } = AssetSourceResolver);
|
|
576
|
+
Object.defineProperty(resolveAssetSource, "setCustomSourceTransformer", {
|
|
577
|
+
get() {
|
|
578
|
+
return setCustomSourceTransformer;
|
|
579
|
+
}
|
|
217
580
|
});
|
|
581
|
+
var resolveAssetSource_default = resolveAssetSource;
|
|
582
|
+
var { pickScale } = AssetSourceResolver;
|
|
218
583
|
|
|
219
584
|
// node_modules/expo-asset/build/Asset.js
|
|
220
|
-
var
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
this.
|
|
248
|
-
this.
|
|
249
|
-
|
|
250
|
-
this.
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
this.height = height;
|
|
585
|
+
var ANDROID_EMBEDDED_URL_BASE_RESOURCE = "file:///android_res/";
|
|
586
|
+
|
|
587
|
+
class Asset {
|
|
588
|
+
static byHash = {};
|
|
589
|
+
static byUri = {};
|
|
590
|
+
name;
|
|
591
|
+
type;
|
|
592
|
+
hash = null;
|
|
593
|
+
uri;
|
|
594
|
+
localUri = null;
|
|
595
|
+
width = null;
|
|
596
|
+
height = null;
|
|
597
|
+
downloading = false;
|
|
598
|
+
downloaded = false;
|
|
599
|
+
_downloadCallbacks = [];
|
|
600
|
+
constructor({ name, type, hash = null, uri, width, height }) {
|
|
601
|
+
this.name = name;
|
|
602
|
+
this.type = type;
|
|
603
|
+
this.hash = hash;
|
|
604
|
+
this.uri = uri;
|
|
605
|
+
if (typeof width === "number") {
|
|
606
|
+
this.width = width;
|
|
607
|
+
}
|
|
608
|
+
if (typeof height === "number") {
|
|
609
|
+
this.height = height;
|
|
610
|
+
}
|
|
611
|
+
if (hash) {
|
|
612
|
+
this.localUri = getLocalAssetUri(hash, type);
|
|
613
|
+
if (this.localUri?.startsWith(ANDROID_EMBEDDED_URL_BASE_RESOURCE)) {
|
|
614
|
+
this.uri = this.localUri;
|
|
615
|
+
this.localUri = null;
|
|
616
|
+
} else if (this.localUri) {
|
|
617
|
+
this.downloaded = true;
|
|
254
618
|
}
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
this.localUri = null;
|
|
260
|
-
} else if (this.localUri) {
|
|
261
|
-
this.downloaded = true;
|
|
262
|
-
}
|
|
619
|
+
}
|
|
620
|
+
if (Platform_default.OS === "web") {
|
|
621
|
+
if (!name) {
|
|
622
|
+
this.name = getFilename(uri);
|
|
263
623
|
}
|
|
264
|
-
if (
|
|
265
|
-
|
|
266
|
-
this.name = getFilename(uri);
|
|
267
|
-
}
|
|
268
|
-
if (!type) {
|
|
269
|
-
this.type = getFileExtension(uri);
|
|
270
|
-
}
|
|
624
|
+
if (!type) {
|
|
625
|
+
this.type = getFileExtension(uri);
|
|
271
626
|
}
|
|
272
627
|
}
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
628
|
+
}
|
|
629
|
+
static loadAsync(moduleId) {
|
|
630
|
+
const moduleIds = Array.isArray(moduleId) ? moduleId : [moduleId];
|
|
631
|
+
return Promise.all(moduleIds.map((moduleId) => Asset.fromModule(moduleId).downloadAsync()));
|
|
632
|
+
}
|
|
633
|
+
static fromModule(virtualAssetModule) {
|
|
634
|
+
if (typeof virtualAssetModule === "string") {
|
|
635
|
+
return Asset.fromURI(virtualAssetModule);
|
|
276
636
|
}
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
uri: virtualAssetModule.uri,
|
|
288
|
-
width: virtualAssetModule.width,
|
|
289
|
-
height: virtualAssetModule.height
|
|
290
|
-
});
|
|
291
|
-
}
|
|
292
|
-
const meta = import_registry2.getAssetByID(virtualAssetModule);
|
|
293
|
-
if (!meta) {
|
|
294
|
-
throw new Error(`Module "${virtualAssetModule}" is missing from the asset registry`);
|
|
295
|
-
}
|
|
296
|
-
if (!IS_ENV_WITH_LOCAL_ASSETS) {
|
|
297
|
-
const { uri } = resolveAssetSource_default(virtualAssetModule);
|
|
298
|
-
const asset = new Asset({
|
|
299
|
-
name: meta.name,
|
|
300
|
-
type: meta.type,
|
|
301
|
-
hash: meta.hash,
|
|
302
|
-
uri,
|
|
303
|
-
width: meta.width,
|
|
304
|
-
height: meta.height
|
|
305
|
-
});
|
|
306
|
-
if (Platform_default.OS === "android" && !uri.includes(":") && (meta.width || meta.height)) {
|
|
307
|
-
asset.localUri = asset.uri;
|
|
308
|
-
asset.downloaded = true;
|
|
309
|
-
}
|
|
310
|
-
Asset.byHash[meta.hash] = asset;
|
|
311
|
-
return asset;
|
|
312
|
-
}
|
|
313
|
-
return Asset.fromMetadata(meta);
|
|
637
|
+
if (typeof virtualAssetModule === "object" && "uri" in virtualAssetModule && typeof virtualAssetModule.uri === "string") {
|
|
638
|
+
const extension = getFileExtension(virtualAssetModule.uri);
|
|
639
|
+
return new Asset({
|
|
640
|
+
name: "",
|
|
641
|
+
type: extension.startsWith(".") ? extension.substring(1) : extension,
|
|
642
|
+
hash: null,
|
|
643
|
+
uri: virtualAssetModule.uri,
|
|
644
|
+
width: virtualAssetModule.width,
|
|
645
|
+
height: virtualAssetModule.height
|
|
646
|
+
});
|
|
314
647
|
}
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
}
|
|
321
|
-
const { uri, hash } = selectAssetSource(meta);
|
|
648
|
+
const meta = import_registry2.getAssetByID(virtualAssetModule);
|
|
649
|
+
if (!meta) {
|
|
650
|
+
throw new Error(`Module "${virtualAssetModule}" is missing from the asset registry`);
|
|
651
|
+
}
|
|
652
|
+
if (!IS_ENV_WITH_LOCAL_ASSETS) {
|
|
653
|
+
const { uri } = resolveAssetSource_default(virtualAssetModule);
|
|
322
654
|
const asset = new Asset({
|
|
323
655
|
name: meta.name,
|
|
324
656
|
type: meta.type,
|
|
325
|
-
hash,
|
|
657
|
+
hash: meta.hash,
|
|
326
658
|
uri,
|
|
327
659
|
width: meta.width,
|
|
328
660
|
height: meta.height
|
|
329
661
|
});
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
static fromURI(uri) {
|
|
334
|
-
if (Asset.byUri[uri]) {
|
|
335
|
-
return Asset.byUri[uri];
|
|
662
|
+
if (Platform_default.OS === "android" && !uri.includes(":") && (meta.width || meta.height)) {
|
|
663
|
+
asset.localUri = asset.uri;
|
|
664
|
+
asset.downloaded = true;
|
|
336
665
|
}
|
|
337
|
-
|
|
338
|
-
if (uri.indexOf(";base64") > -1) {
|
|
339
|
-
type = uri.split(";")[0]?.split("/")[1] ?? "";
|
|
340
|
-
} else {
|
|
341
|
-
const extension = getFileExtension(uri);
|
|
342
|
-
type = extension.startsWith(".") ? extension.substring(1) : extension;
|
|
343
|
-
}
|
|
344
|
-
const asset = new Asset({
|
|
345
|
-
name: "",
|
|
346
|
-
type,
|
|
347
|
-
hash: null,
|
|
348
|
-
uri
|
|
349
|
-
});
|
|
350
|
-
Asset.byUri[uri] = asset;
|
|
666
|
+
Asset.byHash[meta.hash] = asset;
|
|
351
667
|
return asset;
|
|
352
668
|
}
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
669
|
+
return Asset.fromMetadata(meta);
|
|
670
|
+
}
|
|
671
|
+
static fromMetadata(meta) {
|
|
672
|
+
const metaHash = meta.hash;
|
|
673
|
+
const assetByHash = Asset.byHash[metaHash];
|
|
674
|
+
if (assetByHash) {
|
|
675
|
+
return assetByHash;
|
|
676
|
+
}
|
|
677
|
+
const { uri, hash } = selectAssetSource(meta);
|
|
678
|
+
const asset = new Asset({
|
|
679
|
+
name: meta.name,
|
|
680
|
+
type: meta.type,
|
|
681
|
+
hash,
|
|
682
|
+
uri,
|
|
683
|
+
width: meta.width,
|
|
684
|
+
height: meta.height
|
|
685
|
+
});
|
|
686
|
+
Asset.byHash[metaHash] = asset;
|
|
687
|
+
return asset;
|
|
688
|
+
}
|
|
689
|
+
static fromURI(uri) {
|
|
690
|
+
if (Asset.byUri[uri]) {
|
|
691
|
+
return Asset.byUri[uri];
|
|
692
|
+
}
|
|
693
|
+
let type = "";
|
|
694
|
+
if (uri.indexOf(";base64") > -1) {
|
|
695
|
+
type = uri.split(";")[0]?.split("/")[1] ?? "";
|
|
696
|
+
} else {
|
|
697
|
+
const extension = getFileExtension(uri);
|
|
698
|
+
type = extension.startsWith(".") ? extension.substring(1) : extension;
|
|
699
|
+
}
|
|
700
|
+
const asset = new Asset({
|
|
701
|
+
name: "",
|
|
702
|
+
type,
|
|
703
|
+
hash: null,
|
|
704
|
+
uri
|
|
705
|
+
});
|
|
706
|
+
Asset.byUri[uri] = asset;
|
|
707
|
+
return asset;
|
|
708
|
+
}
|
|
709
|
+
async downloadAsync() {
|
|
710
|
+
if (this.downloaded) {
|
|
385
711
|
return this;
|
|
386
712
|
}
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
if (asset.uri.startsWith(ANDROID_EMBEDDED_URL_BASE_RESOURCE)) {
|
|
402
|
-
return resolver.resourceIdentifierWithoutScale();
|
|
403
|
-
}
|
|
404
|
-
return resolver.fromSource(asset.downloaded ? asset.localUri : asset.uri);
|
|
713
|
+
if (this.downloading) {
|
|
714
|
+
await new Promise((resolve, reject) => {
|
|
715
|
+
this._downloadCallbacks.push({ resolve, reject });
|
|
716
|
+
});
|
|
717
|
+
return this;
|
|
718
|
+
}
|
|
719
|
+
this.downloading = true;
|
|
720
|
+
try {
|
|
721
|
+
if (Platform_default.OS === "web") {
|
|
722
|
+
if (isImageType(this.type)) {
|
|
723
|
+
const { width, height, name } = await getImageInfoAsync(this.uri);
|
|
724
|
+
this.width = width;
|
|
725
|
+
this.height = height;
|
|
726
|
+
this.name = name;
|
|
405
727
|
} else {
|
|
406
|
-
|
|
728
|
+
this.name = getFilename(this.uri);
|
|
407
729
|
}
|
|
408
|
-
} catch {
|
|
409
|
-
return resolver.defaultAsset();
|
|
410
730
|
}
|
|
411
|
-
|
|
731
|
+
this.localUri = await downloadAsync(this.uri, this.hash, this.type);
|
|
732
|
+
this.downloaded = true;
|
|
733
|
+
this._downloadCallbacks.forEach(({ resolve }) => resolve());
|
|
734
|
+
} catch (e) {
|
|
735
|
+
this._downloadCallbacks.forEach(({ reject }) => reject(e));
|
|
736
|
+
throw e;
|
|
737
|
+
} finally {
|
|
738
|
+
this.downloading = false;
|
|
739
|
+
this._downloadCallbacks = [];
|
|
740
|
+
}
|
|
741
|
+
return this;
|
|
412
742
|
}
|
|
413
|
-
}
|
|
414
|
-
|
|
415
|
-
// node_modules/expo-asset/build/AssetHooks.js
|
|
416
|
-
import { useEffect, useState } from "react";
|
|
417
|
-
var init_AssetHooks = __esm(() => {
|
|
418
|
-
init_Asset();
|
|
419
|
-
});
|
|
420
|
-
|
|
421
|
-
// node_modules/expo-asset/build/index.js
|
|
422
|
-
var init_build = __esm(() => {
|
|
423
|
-
init_Asset_fx();
|
|
424
|
-
init_Asset();
|
|
425
|
-
init_AssetHooks();
|
|
426
|
-
});
|
|
427
|
-
// node_modules/expo-audio/build/ExpoAudio.web.js
|
|
428
|
-
import { useEffect as useEffect3, useMemo } from "react";
|
|
429
|
-
|
|
430
|
-
// node_modules/expo-audio/build/AudioEventKeys.js
|
|
431
|
-
var PLAYBACK_STATUS_UPDATE = "playbackStatusUpdate";
|
|
432
|
-
var AUDIO_SAMPLE_UPDATE = "audioSampleUpdate";
|
|
433
|
-
var RECORDING_STATUS_UPDATE = "recordingStatusUpdate";
|
|
434
|
-
var PLAYLIST_STATUS_UPDATE = "playlistStatusUpdate";
|
|
435
|
-
var TRACK_CHANGED = "trackChanged";
|
|
743
|
+
}
|
|
436
744
|
|
|
437
745
|
// node_modules/expo-audio/build/AudioUtils.web.js
|
|
438
|
-
init_build();
|
|
439
746
|
var nextId = (() => {
|
|
440
747
|
let id = 0;
|
|
441
748
|
return () => String(id++);
|
|
@@ -960,7 +1267,6 @@ class AudioPlayerWeb extends globalThis.expo.SharedObject {
|
|
|
960
1267
|
}
|
|
961
1268
|
}
|
|
962
1269
|
// node_modules/expo-audio/build/utils/resolveSource.js
|
|
963
|
-
init_build();
|
|
964
1270
|
function createSourceFromAsset(asset, extras = {}) {
|
|
965
1271
|
const uri = asset.localUri ?? asset.uri;
|
|
966
1272
|
const result = { uri };
|
|
@@ -1785,7 +2091,7 @@ async function preloadAsync(source) {
|
|
|
1785
2091
|
}
|
|
1786
2092
|
|
|
1787
2093
|
// node_modules/expo-audio/build/utils/useAudioRecorderState.js
|
|
1788
|
-
import { useEffect as
|
|
2094
|
+
import { useEffect as useEffect3, useState as useState2 } from "react";
|
|
1789
2095
|
|
|
1790
2096
|
// node_modules/expo-audio/build/ExpoAudio.web.js
|
|
1791
2097
|
function createAudioPlayer(source = null, options = {}) {
|