@roster-lock/match-agent 0.1.0 → 0.2.0

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.
Files changed (107) hide show
  1. package/client/dist/assets/index-DeYshswm.js +125 -0
  2. package/client/dist/assets/index-gxAuIfGQ.css +1 -0
  3. package/client/dist/index.html +13 -0
  4. package/client/index.html +12 -0
  5. package/client/node_modules/.bin/terser +17 -0
  6. package/client/node_modules/.bin/tsc +17 -0
  7. package/client/node_modules/.bin/vite +17 -0
  8. package/client/node_modules/.vite/deps/@rjsf_core.js +6609 -0
  9. package/client/node_modules/.vite/deps/@rjsf_core.js.map +7 -0
  10. package/client/node_modules/.vite/deps/@rjsf_validator-ajv8.js +13 -0
  11. package/client/node_modules/.vite/deps/@rjsf_validator-ajv8.js.map +7 -0
  12. package/client/node_modules/.vite/deps/@roster-lock_ts-client.js +419 -0
  13. package/client/node_modules/.vite/deps/@roster-lock_ts-client.js.map +7 -0
  14. package/client/node_modules/.vite/deps/@roster-lock_types.js +5 -0
  15. package/client/node_modules/.vite/deps/@roster-lock_types.js.map +7 -0
  16. package/client/node_modules/.vite/deps/@roster-lock_utils.js +5 -0
  17. package/client/node_modules/.vite/deps/@roster-lock_utils.js.map +7 -0
  18. package/client/node_modules/.vite/deps/_metadata.json +97 -0
  19. package/client/node_modules/.vite/deps/chunk-4D2L7OBZ.js +16039 -0
  20. package/client/node_modules/.vite/deps/chunk-4D2L7OBZ.js.map +7 -0
  21. package/client/node_modules/.vite/deps/chunk-5KLROPUR.js +292 -0
  22. package/client/node_modules/.vite/deps/chunk-5KLROPUR.js.map +7 -0
  23. package/client/node_modules/.vite/deps/chunk-77TXW5ZT.js +280 -0
  24. package/client/node_modules/.vite/deps/chunk-77TXW5ZT.js.map +7 -0
  25. package/client/node_modules/.vite/deps/chunk-I55GDNGV.js +1004 -0
  26. package/client/node_modules/.vite/deps/chunk-I55GDNGV.js.map +7 -0
  27. package/client/node_modules/.vite/deps/chunk-IIDO6PKU.js +2337 -0
  28. package/client/node_modules/.vite/deps/chunk-IIDO6PKU.js.map +7 -0
  29. package/client/node_modules/.vite/deps/chunk-NE7PXY4V.js +466 -0
  30. package/client/node_modules/.vite/deps/chunk-NE7PXY4V.js.map +7 -0
  31. package/client/node_modules/.vite/deps/chunk-WMTNK64S.js +52 -0
  32. package/client/node_modules/.vite/deps/chunk-WMTNK64S.js.map +7 -0
  33. package/client/node_modules/.vite/deps/package.json +3 -0
  34. package/client/node_modules/.vite/deps/react-dom.js +6 -0
  35. package/client/node_modules/.vite/deps/react-dom.js.map +7 -0
  36. package/client/node_modules/.vite/deps/react-dom_client.js +20217 -0
  37. package/client/node_modules/.vite/deps/react-dom_client.js.map +7 -0
  38. package/client/node_modules/.vite/deps/react-router-dom.js +14702 -0
  39. package/client/node_modules/.vite/deps/react-router-dom.js.map +7 -0
  40. package/client/node_modules/.vite/deps/react.js +5 -0
  41. package/client/node_modules/.vite/deps/react.js.map +7 -0
  42. package/client/node_modules/.vite/deps/react_jsx-dev-runtime.js +278 -0
  43. package/client/node_modules/.vite/deps/react_jsx-dev-runtime.js.map +7 -0
  44. package/client/node_modules/.vite/deps/react_jsx-runtime.js +6 -0
  45. package/client/node_modules/.vite/deps/react_jsx-runtime.js.map +7 -0
  46. package/client/node_modules/.vite/deps_temp_ab51ebe9/package.json +3 -0
  47. package/client/package.json +30 -0
  48. package/client/src/App.tsx +56 -0
  49. package/client/src/NavBar.tsx +13 -0
  50. package/client/src/api/matchAgent.ts +159 -0
  51. package/client/src/bridge/hostBridge.ts +149 -0
  52. package/client/src/components/GameLauncherSettingsForm.tsx +140 -0
  53. package/client/src/components/InstallGameLauncherLightbox.tsx +31 -0
  54. package/client/src/components/Lightbox.tsx +15 -0
  55. package/client/src/components/RequireConnection.tsx +9 -0
  56. package/client/src/components/Selection/PieceCard.tsx +36 -0
  57. package/client/src/components/Selection/PieceTypeSection.tsx +112 -0
  58. package/client/src/components/Selection/PieceTypeTabs.tsx +31 -0
  59. package/client/src/components/Selection/PlayerSelectionPanel.tsx +40 -0
  60. package/client/src/components/Selection/index.tsx +147 -0
  61. package/client/src/components/Selection/selectionPlan.ts +75 -0
  62. package/client/src/context/DownloadSessionContext.tsx +48 -0
  63. package/client/src/context/IdentityContext.tsx +53 -0
  64. package/client/src/context/JoinSettingsContext.tsx +83 -0
  65. package/client/src/context/MatchAgentContext.tsx +85 -0
  66. package/client/src/hooks/useCursorInput.ts +55 -0
  67. package/client/src/hooks/useGamepads.ts +31 -0
  68. package/client/src/main.tsx +10 -0
  69. package/client/src/pages/Connect/index.tsx +46 -0
  70. package/client/src/pages/Download/index.tsx +175 -0
  71. package/client/src/pages/Game/index.tsx +65 -0
  72. package/client/src/pages/GameLauncher/Detail.tsx +12 -0
  73. package/client/src/pages/GameLauncher/index.tsx +32 -0
  74. package/client/src/pages/JoinSettings/index.tsx +58 -0
  75. package/client/src/pages/MatchMaking/index.tsx +190 -0
  76. package/client/src/styles/global.css +355 -0
  77. package/client/tsconfig.json +17 -0
  78. package/client/tsconfig.tsbuildinfo +1 -0
  79. package/client/vite.config.ts +33 -0
  80. package/dist/config/manage.js.map +1 -1
  81. package/dist/handle-room/version-1/game-launcher.js +181 -0
  82. package/dist/handle-room/version-1/game-launcher.js.map +1 -0
  83. package/dist/handle-room/version-1/index.js +15 -2
  84. package/dist/handle-room/version-1/index.js.map +1 -1
  85. package/dist/handle-room/version-1/piece-sort.js +1 -0
  86. package/dist/handle-room/version-1/piece-sort.js.map +1 -1
  87. package/dist/index.js +7 -4
  88. package/dist/index.js.map +1 -1
  89. package/dist/serve-client.js +88 -0
  90. package/dist/serve-client.js.map +1 -0
  91. package/dist/server.js +1 -1
  92. package/dist/server.js.map +1 -1
  93. package/package.json +12 -6
  94. package/src/config/manage.ts +5 -1
  95. package/src/handle-room/version-1/game-launcher.ts +263 -0
  96. package/src/handle-room/version-1/globals/types.ts +24 -0
  97. package/src/handle-room/version-1/index.ts +23 -3
  98. package/src/handle-room/version-1/piece-sort.ts +1 -1
  99. package/src/index.ts +25 -5
  100. package/src/serve-client.ts +100 -0
  101. package/src/server.ts +1 -1
  102. package/tests/integration/game-launcher-list.test.ts +77 -0
  103. package/tests/integration/game-launcher-settings.test.ts +138 -0
  104. package/tests/integration/game-launcher-start.test.ts +81 -0
  105. package/tests/integration/helpers/fakePluginRuntime.ts +26 -1
  106. package/tests/integration/helpers/server.ts +8 -2
  107. package/src/index.old.ts +0 -71
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/lib/components/Form.js", "../../../../../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/unset.js", "../../../../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/lib/components/fields/ArrayField.js", "../../../../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/lib/components/fields/BooleanField.js", "../../../../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/lib/components/fields/CyclicSchemaField.js", "../../../../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/lib/components/fields/FallbackField.js", "../../../../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/lib/components/fields/LayoutGridField.js", "../../../../../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseValues.js", "../../../../../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/values.js", "../../../../../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/includes.js", "../../../../../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIntersection.js", "../../../../../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_castArrayLikeObject.js", "../../../../../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/intersection.js", "../../../../../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isEqual.js", "../../../../../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isUndefined.js", "../../../../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/lib/components/fields/LayoutHeaderField.js", "../../../../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/lib/components/fields/LayoutMultiSchemaField.js", "../../../../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/lib/components/fields/MultiSchemaField.js", "../../../../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/lib/components/fields/NullField.js", "../../../../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/lib/components/fields/NumberField.js", "../../../../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/lib/components/fields/ObjectField.js", "../../../../../../node_modules/.pnpm/markdown-to-jsx@9.10.2_react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/markdown-to-jsx/dist/react.js", "../../../../../../node_modules/.pnpm/markdown-to-jsx@9.10.2_react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/markdown-to-jsx/dist/entities.browser.js", "../../../../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/lib/components/constants.js", "../../../../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/lib/components/fields/OptionalDataControlsField.js", "../../../../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/lib/components/fields/SchemaField.js", "../../../../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/lib/components/fields/StringField.js", "../../../../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/lib/components/fields/index.js", "../../../../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/lib/components/templates/ArrayFieldDescriptionTemplate.js", "../../../../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/lib/components/templates/ArrayFieldItemButtonsTemplate.js", "../../../../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/lib/components/templates/ArrayFieldItemTemplate.js", "../../../../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/lib/components/templates/ArrayFieldTemplate.js", "../../../../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/lib/components/templates/ArrayFieldTitleTemplate.js", "../../../../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/lib/components/templates/BaseInputTemplate.js", "../../../../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/lib/components/SchemaExamples.js", "../../../../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/lib/components/templates/ButtonTemplates/AddButton.js", "../../../../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/lib/components/templates/ButtonTemplates/IconButton.js", "../../../../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/lib/components/templates/ButtonTemplates/SubmitButton.js", "../../../../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/lib/components/templates/ButtonTemplates/index.js", "../../../../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/lib/components/templates/CyclicSchemaExpandTemplate.js", "../../../../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/lib/components/templates/DescriptionField.js", "../../../../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/lib/components/RichDescription.js", "../../../../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/lib/components/templates/ErrorList.js", "../../../../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/lib/components/templates/FallbackFieldTemplate.js", "../../../../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/lib/components/templates/FieldErrorTemplate.js", "../../../../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/lib/components/templates/FieldHelpTemplate.js", "../../../../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/lib/components/RichHelp.js", "../../../../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/lib/components/templates/FieldTemplate/FieldTemplate.js", "../../../../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/lib/components/templates/FieldTemplate/Label.js", "../../../../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/lib/components/templates/FieldTemplate/index.js", "../../../../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/lib/components/templates/GridTemplate.js", "../../../../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/lib/components/templates/MultiSchemaFieldTemplate.js", "../../../../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/lib/components/templates/ObjectFieldTemplate.js", "../../../../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/lib/components/templates/OptionalDataControlsTemplate.js", "../../../../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/lib/components/templates/TitleField.js", "../../../../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/lib/components/templates/UnsupportedField.js", "../../../../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/lib/components/templates/WrapIfAdditionalTemplate.js", "../../../../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/lib/components/templates/index.js", "../../../../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/lib/components/widgets/AltDateTimeWidget.js", "../../../../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/lib/components/widgets/AltDateWidget.js", "../../../../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/lib/components/widgets/CheckboxesWidget.js", "../../../../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/lib/components/widgets/CheckboxWidget.js", "../../../../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/lib/components/widgets/ColorWidget.js", "../../../../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/lib/components/widgets/DateTimeWidget.js", "../../../../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/lib/components/widgets/DateWidget.js", "../../../../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/lib/components/widgets/EmailWidget.js", "../../../../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/lib/components/widgets/FileWidget.js", "../../../../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/lib/components/widgets/HiddenWidget.js", "../../../../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/lib/components/widgets/PasswordWidget.js", "../../../../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/lib/components/widgets/RadioWidget.js", "../../../../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/lib/components/widgets/RangeWidget.js", "../../../../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/lib/components/widgets/RatingWidget.js", "../../../../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/lib/components/widgets/SelectWidget.js", "../../../../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/lib/components/widgets/TextareaWidget.js", "../../../../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/lib/components/widgets/TextWidget.js", "../../../../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/lib/components/widgets/TimeWidget.js", "../../../../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/lib/components/widgets/UpDownWidget.js", "../../../../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/lib/components/widgets/URLWidget.js", "../../../../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/lib/components/widgets/index.js", "../../../../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/lib/getDefaultRegistry.js", "../../../../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/lib/getTestRegistry.js", "../../../../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/lib/withTheme.js", "../../../../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/lib/index.js"],
4
+ "sourcesContent": ["import { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport { Component, createRef } from 'react';\nimport { createSchemaUtils, deepEquals, ErrorSchemaBuilder, getChangedFields, getTemplate, getUiOptions, hashObject, isObject, mergeObjects, shouldRender, SUBMIT_BTN_OPTIONS_KEY, toErrorList, toFieldPathId, UI_DEFINITIONS_KEY, UI_GLOBAL_OPTIONS_KEY, UI_OPTIONS_KEY, validationDataMerge, DEFAULT_ID_SEPARATOR, DEFAULT_ID_PREFIX, ERRORS_KEY, ID_KEY, getUsedFormData, getFieldNames, ANY_OF_KEY, ONE_OF_KEY, } from '@rjsf/utils';\nimport _cloneDeep from 'lodash-es/cloneDeep.js';\nimport _get from 'lodash-es/get.js';\nimport _isEmpty from 'lodash-es/isEmpty.js';\nimport _pick from 'lodash-es/pick.js';\nimport _set from 'lodash-es/set.js';\nimport _toPath from 'lodash-es/toPath.js';\nimport _unset from 'lodash-es/unset.js';\nimport getDefaultRegistry from '../getDefaultRegistry.js';\nimport { ADDITIONAL_PROPERTY_KEY_REMOVE, IS_RESET } from './constants.js';\n/** Converts the full `FormState` into the `IChangeEvent` version by picking out the public values\n *\n * @param state - The state of the form\n * @param status - The status provided by the onSubmit\n * @returns - The `IChangeEvent` for the state\n */\nfunction toIChangeEvent(state, status) {\n return {\n ..._pick(state, ['schema', 'uiSchema', 'fieldPathId', 'schemaUtils', 'formData', 'edit', 'errors', 'errorSchema']),\n ...(status !== undefined && { status }),\n };\n}\n/** The `Form` component renders the outer form and all the fields defined in the `schema` */\nexport default class Form extends Component {\n /** The ref used to hold the `form` element, this needs to be `any` because `tagName` or `_internalFormWrapper` can\n * provide any possible type here\n */\n formElement;\n /** The list of pending changes\n */\n pendingChanges = [];\n /** Flag to track when we're processing a user-initiated field change.\n * This prevents componentDidUpdate from reverting oneOf/anyOf option switches.\n */\n isProcessingUserChange = false;\n /** When the `extraErrors` prop changes, re-merges `schemaValidationErrors` + `extraErrors` + `customErrors` into\n * state before render, ensuring the updated errors are visible immediately in a single render cycle.\n *\n * @param props - The current props\n * @param state - The current state\n * @returns Partial state with re-merged errors if `extraErrors` changed, or `null` if no update is needed\n */\n static getDerivedStateFromProps(props, state) {\n if (props.extraErrors !== state.prevExtraErrors) {\n const baseErrors = {\n errors: state.schemaValidationErrors || [],\n errorSchema: state.schemaValidationErrorSchema || {},\n };\n let { errors, errorSchema } = baseErrors;\n if (props.extraErrors) {\n ({ errors, errorSchema } = validationDataMerge(baseErrors, props.extraErrors));\n }\n if (state.customErrors) {\n ({ errors, errorSchema } = validationDataMerge({ errors, errorSchema }, state.customErrors.ErrorSchema, true));\n }\n return { prevExtraErrors: props.extraErrors, errors, errorSchema };\n }\n return null;\n }\n /** Constructs the `Form` from the `props`. Will setup the initial state from the props. It will also call the\n * `onChange` handler if the initially provided `formData` is modified to add missing default values as part of the\n * state construction.\n *\n * @param props - The initial props for the `Form`\n */\n constructor(props) {\n super(props);\n if (!props.validator) {\n throw new Error('A validator is required for Form functionality to work');\n }\n const { formData: propsFormData, initialFormData, onChange } = props;\n const formData = propsFormData ?? initialFormData;\n this.state = {\n ...this.getStateFromProps(props, formData, undefined, undefined, undefined, true),\n prevExtraErrors: props.extraErrors,\n };\n if (onChange && !deepEquals(this.state.formData, formData)) {\n onChange(toIChangeEvent(this.state));\n }\n this.formElement = createRef();\n }\n /**\n * `getSnapshotBeforeUpdate` is a React lifecycle method that is invoked right before the most recently rendered\n * output is committed to the DOM. It enables your component to capture current values (e.g., scroll position) before\n * they are potentially changed.\n *\n * In this case, it checks if the props have changed since the last render. If they have, it computes the next state\n * of the component using `getStateFromProps` method and returns it along with a `shouldUpdate` flag set to `true` IF\n * the `nextState` and `prevState` are different, otherwise `false`. This ensures that we have the most up-to-date\n * state ready to be applied in `componentDidUpdate`.\n *\n * If `formData` hasn't changed, it simply returns an object with `shouldUpdate` set to `false`, indicating that a\n * state update is not necessary.\n *\n * @param prevProps - The previous set of props before the update.\n * @param prevState - The previous state before the update.\n * @returns Either an object containing the next state and a flag indicating that an update should occur, or an object\n * with a flag indicating that an update is not necessary.\n */\n getSnapshotBeforeUpdate(prevProps, prevState) {\n if (!deepEquals(this.props, prevProps)) {\n // Compare the previous props formData against the current props formData\n const formDataChangedFields = getChangedFields(this.props.formData, prevProps.formData);\n // Compare the current props formData against the current state's formData to determine if the new props were the\n // result of the onChange from the existing state formData\n const stateDataChangedFields = getChangedFields(this.props.formData, this.state.formData);\n const isSchemaChanged = !deepEquals(prevProps.schema, this.props.schema);\n // When formData is not an object, getChangedFields returns an empty array.\n // In this case, deepEquals is most needed to check again.\n const isFormDataChanged = formDataChangedFields.length > 0 || !deepEquals(prevProps.formData, this.props.formData);\n const isStateDataChanged = stateDataChangedFields.length > 0 || !deepEquals(this.state.formData, this.props.formData);\n const nextState = this.getStateFromProps(this.props, this.props.formData, \n // If the `schema` has changed, we need to update the retrieved schema.\n // Or if the `formData` changes, for example in the case of a schema with dependencies that need to\n // match one of the subSchemas, the retrieved schema must be updated.\n isSchemaChanged || isFormDataChanged ? undefined : this.state.retrievedSchema, isSchemaChanged, formDataChangedFields, \n // Skip live validation for this request if no form data has changed from the last state\n !isStateDataChanged);\n const shouldUpdate = !deepEquals(nextState, prevState);\n return { nextState, shouldUpdate };\n }\n return { shouldUpdate: false };\n }\n /**\n * `componentDidUpdate` is a React lifecycle method that is invoked immediately after updating occurs. This method is\n * not called for the initial render.\n *\n * Here, it checks if an update is necessary based on the `shouldUpdate` flag received from `getSnapshotBeforeUpdate`.\n * If an update is required, it applies the next state and, if needed, triggers the `onChange` handler to inform about\n * changes.\n *\n * @param _ - The previous set of props.\n * @param prevState - The previous state of the component before the update.\n * @param snapshot - The value returned from `getSnapshotBeforeUpdate`.\n */\n componentDidUpdate(_, prevState, snapshot) {\n if (snapshot.shouldUpdate) {\n const { nextState } = snapshot;\n // Prevent oneOf/anyOf option switches from reverting when getStateFromProps\n // re-evaluates and produces stale formData.\n const nextStateDiffersFromProps = !deepEquals(nextState.formData, this.props.formData);\n const wasProcessingUserChange = this.isProcessingUserChange;\n this.isProcessingUserChange = false;\n if (wasProcessingUserChange && nextStateDiffersFromProps) {\n // Skip - the user's option switch is already applied via processPendingChange\n return;\n }\n if (nextStateDiffersFromProps && !deepEquals(nextState.formData, prevState.formData) && this.props.onChange) {\n this.props.onChange(toIChangeEvent(nextState));\n }\n // oxlint-disable-next-line react/no-did-update-set-state -- guarded to prevent infinite loop\n this.setState(nextState);\n }\n }\n /** Extracts the updated state from the given `props` and `inputFormData`. As part of this process, the\n * `inputFormData` is first processed to add any missing required defaults. After that, the data is run through the\n * validation process IF required by the `props`.\n *\n * @param props - The props passed to the `Form`\n * @param inputFormData - The new or current data for the `Form`\n * @param retrievedSchema - An expanded schema, if not provided, it will be retrieved from the `schema` and `formData`.\n * @param [isSchemaChanged=false] - A flag indicating whether the schema has changed.\n * @param [formDataChangedFields=[]] - The changed fields of `formData`\n * @param [skipLiveValidate=false] - Optional flag, if true, means that we are not running live validation\n * @param [shouldSanitize=false] - Optional flag, if true, means that we should attempt to sanitize formData\n * @returns - The new state for the `Form`\n */\n getStateFromProps(props, inputFormData, retrievedSchema, isSchemaChanged = false, formDataChangedFields = [], skipLiveValidate = false, shouldSanitize = false) {\n const state = this.state || {};\n const schema = 'schema' in props ? props.schema : this.props.schema;\n const validator = 'validator' in props ? props.validator : this.props.validator;\n const uiSchema = ('uiSchema' in props ? props.uiSchema : this.props.uiSchema) || {};\n const isUncontrolled = props.formData === undefined && this.props.formData === undefined;\n const edit = typeof inputFormData !== 'undefined';\n const liveValidate = 'liveValidate' in props ? props.liveValidate : this.props.liveValidate;\n // oxlint-disable-next-line typescript/no-deprecated\n const mustValidate = edit && !props.noValidate && liveValidate;\n const experimental_defaultFormStateBehavior = 'experimental_defaultFormStateBehavior' in props\n ? props.experimental_defaultFormStateBehavior\n : this.props.experimental_defaultFormStateBehavior;\n const experimental_customMergeAllOf = 'experimental_customMergeAllOf' in props\n ? props.experimental_customMergeAllOf\n : this.props.experimental_customMergeAllOf;\n let { schemaUtils } = state;\n if (!schemaUtils ||\n schemaUtils.doesSchemaUtilsDiffer(validator, schema, experimental_defaultFormStateBehavior, experimental_customMergeAllOf)) {\n schemaUtils = createSchemaUtils(validator, schema, experimental_defaultFormStateBehavior, experimental_customMergeAllOf);\n }\n const rootSchema = schemaUtils.getRootSchema();\n // Compute the formData for getDefaultFormState() function based on the inputFormData, isUncontrolled and state\n let defaultsFormData = inputFormData;\n if (inputFormData === IS_RESET) {\n defaultsFormData = undefined;\n }\n else if (inputFormData === undefined && isUncontrolled) {\n defaultsFormData = state.formData;\n }\n let formData;\n let computedRetrievedSchema;\n let wasSanitized = false;\n const preventInfiniteSanitize = [];\n do {\n formData = schemaUtils.getDefaultFormState(rootSchema, defaultsFormData, false, state.initialDefaultsGenerated);\n // Only hash when sanitizing, wrapping `formData` in an object to deal with a scalar/undefined value\n const formHash = shouldSanitize ? hashObject({ formData }) : '';\n computedRetrievedSchema = this.updateRetrievedSchema(retrievedSchema ?? schemaUtils.retrieveSchema(rootSchema, formData));\n if (shouldSanitize &&\n !preventInfiniteSanitize.includes(formHash) &&\n !deepEquals(computedRetrievedSchema, state.retrievedSchema)) {\n // Sanitize the form data if shouldSanitize is true, we haven't already processed this same formData AND\n // we have a different retrieved schema from when we last ran the state\n const sanitizedFormData = schemaUtils.sanitizeDataForNewSchema(computedRetrievedSchema, state.retrievedSchema, formData);\n wasSanitized = !deepEquals(sanitizedFormData, formData);\n if (wasSanitized) {\n // Update both the formData AND defaultsFormData due to the sanitize so the loop works with the new data\n formData = sanitizedFormData;\n defaultsFormData = sanitizedFormData;\n const sanitizedFormHash = hashObject({ formData: sanitizedFormData });\n // If we've seen the sanitized data before, we are done\n wasSanitized = !preventInfiniteSanitize.includes(sanitizedFormHash);\n preventInfiniteSanitize.push(sanitizedFormHash);\n }\n preventInfiniteSanitize.push(formHash);\n }\n else {\n wasSanitized = false;\n }\n } while (wasSanitized);\n const getCurrentErrors = () => {\n // If the `props.noValidate` option is set or the schema has changed, we reset the error state.\n // oxlint-disable-next-line typescript/no-deprecated\n if (props.noValidate || isSchemaChanged) {\n return { errors: [], errorSchema: {} };\n }\n if (!props.liveValidate) {\n return {\n errors: state.schemaValidationErrors || [],\n errorSchema: state.schemaValidationErrorSchema || {},\n };\n }\n return {\n errors: state.errors || [],\n errorSchema: state.errorSchema || {},\n };\n };\n let errors;\n let errorSchema;\n let { schemaValidationErrors, schemaValidationErrorSchema } = state;\n // If we are skipping live validate, it means that the state has already been updated with live validation errors\n if (mustValidate && !skipLiveValidate) {\n const liveValidation = this.liveValidate(rootSchema, schemaUtils, state.errorSchema, formData, undefined, state.customErrors, retrievedSchema, \n // If retrievedSchema is undefined which means the schema or formData has changed, we do not merge state.\n // Else in the case where it hasn't changed,\n retrievedSchema !== undefined);\n errors = liveValidation.errors;\n errorSchema = liveValidation.errorSchema;\n schemaValidationErrors = liveValidation.schemaValidationErrors;\n schemaValidationErrorSchema = liveValidation.schemaValidationErrorSchema;\n }\n else {\n const currentErrors = getCurrentErrors();\n errors = currentErrors.errors;\n errorSchema = currentErrors.errorSchema;\n // We only update the error schema for changed fields if mustValidate is false\n if (formDataChangedFields.length > 0 && !mustValidate) {\n const newErrorSchema = formDataChangedFields.reduce((acc, key) => {\n acc[key] = undefined;\n return acc;\n }, {});\n schemaValidationErrorSchema = mergeObjects(currentErrors.errorSchema, newErrorSchema, 'preventDuplicates');\n errorSchema = schemaValidationErrorSchema;\n }\n const mergedErrors = Form.mergeErrors({ errorSchema, errors }, props.extraErrors, state.customErrors);\n errors = mergedErrors.errors;\n errorSchema = mergedErrors.errorSchema;\n }\n // Only store a new registry when the props cause a different one to be created\n const newRegistry = Form.getRegistry(props, rootSchema, schemaUtils);\n const registry = deepEquals(state.registry, newRegistry) ? state.registry : newRegistry;\n // Only compute a new `fieldPathId` when the `idPrefix` is different than the existing fieldPathId's ID_KEY\n const fieldPathId = state.fieldPathId && state.fieldPathId?.[ID_KEY] === registry.globalFormOptions.idPrefix\n ? state.fieldPathId\n : toFieldPathId('', registry.globalFormOptions);\n const nextState = {\n schemaUtils,\n schema: rootSchema,\n uiSchema,\n fieldPathId,\n formData,\n edit,\n errors,\n errorSchema,\n schemaValidationErrors,\n schemaValidationErrorSchema,\n retrievedSchema: computedRetrievedSchema,\n initialDefaultsGenerated: true,\n registry,\n };\n return nextState;\n }\n /** React lifecycle method that is used to determine whether component should be updated.\n *\n * @param nextProps - The next version of the props\n * @param nextState - The next version of the state\n * @returns - True if the component should be updated, false otherwise\n */\n shouldComponentUpdate(nextProps, nextState) {\n const { experimental_componentUpdateStrategy = 'customDeep' } = this.props;\n return shouldRender(this, nextProps, nextState, experimental_componentUpdateStrategy);\n }\n /** Validates the `formData` against the `schema` using the `altSchemaUtils` (if provided otherwise it uses the\n * `schemaUtils` in the state), returning the results.\n *\n * @param formData - The new form data to validate\n * @param schema - The schema used to validate against\n * @param [altSchemaUtils] - The alternate schemaUtils to use for validation\n * @param [retrievedSchema] - An optionally retrieved schema for per\n */\n validate(formData, schema = this.state.schema, altSchemaUtils, retrievedSchema) {\n const schemaUtils = altSchemaUtils || this.state.schemaUtils;\n const { customValidate, transformErrors, uiSchema } = this.props;\n // When a pre-resolved schema is provided (e.g., from live validation), use it directly.\n // Otherwise validate against the original schema so AJV sees the full constraint set.\n const validationSchema = retrievedSchema ?? schema;\n // JSON.stringify drops keys with `undefined` values; JSON.parse on the result gives AJV a clean\n // object that avoids spurious type errors for `type: \"string\"` fields that were cleared (#4518).\n const validationFormData = formData ? JSON.parse(JSON.stringify(formData)) : undefined;\n return schemaUtils\n .getValidator()\n .validateFormData(validationFormData, validationSchema, customValidate, transformErrors, uiSchema);\n }\n /** Renders any errors contained in the `state` in using the `ErrorList`, if not disabled by `showErrorList`. */\n renderErrors(registry) {\n const { errors, errorSchema, schema, uiSchema } = this.state;\n const options = getUiOptions(uiSchema);\n const ErrorListTemplate = getTemplate('ErrorListTemplate', registry, options);\n if (errors?.length) {\n return (_jsx(ErrorListTemplate, { errors: errors, errorSchema: errorSchema || {}, schema: schema, uiSchema: uiSchema, registry: registry }));\n }\n return null;\n }\n /** Merges any `extraErrors` or `customErrors` into the given `schemaValidation` object, returning the result\n *\n * @param schemaValidation - The `ValidationData` object into which additional errors are merged\n * @param [extraErrors] - The extra errors from the props\n * @param [customErrors] - The customErrors from custom components\n * @return - The `extraErrors` and `customErrors` merged into the `schemaValidation`\n * @private\n */\n static mergeErrors(schemaValidation, extraErrors, customErrors) {\n let { errorSchema, errors } = schemaValidation;\n if (extraErrors) {\n const merged = validationDataMerge(schemaValidation, extraErrors);\n errorSchema = merged.errorSchema;\n errors = merged.errors;\n }\n if (customErrors) {\n const merged = validationDataMerge({ errors, errorSchema }, customErrors.ErrorSchema, true);\n errorSchema = merged.errorSchema;\n errors = merged.errors;\n }\n return { errors, errorSchema };\n }\n /** Performs live validation and then updates and returns the errors and error schemas by potentially merging in\n * `extraErrors` and `customErrors`.\n *\n * @param rootSchema - The `rootSchema` from the state\n * @param schemaUtils - The `SchemaUtilsType` from the state\n * @param originalErrorSchema - The original `ErrorSchema` from the state\n * @param [formData] - The new form data to validate\n * @param [extraErrors] - The extra errors from the props\n * @param [customErrors] - The customErrors from custom components\n * @param [retrievedSchema] - An expanded schema, if not provided, it will be retrieved from the `schema` and `formData`\n * @param [mergeIntoOriginalErrorSchema=false] - Optional flag indicating whether we merge into original schema\n * @returns - An object containing `errorSchema`, `errors`, `schemaValidationErrors` and `schemaValidationErrorSchema`\n * @private\n */\n liveValidate(rootSchema, schemaUtils, originalErrorSchema, formData, extraErrors, customErrors, retrievedSchema, mergeIntoOriginalErrorSchema = false) {\n const schemaValidation = this.validate(formData, rootSchema, schemaUtils, retrievedSchema);\n const { errors } = schemaValidation;\n let { errorSchema } = schemaValidation;\n // We merge 'originalErrorSchema' with 'schemaValidation.errorSchema.'; This done to display the raised field error.\n if (mergeIntoOriginalErrorSchema) {\n errorSchema = mergeObjects(originalErrorSchema, schemaValidation.errorSchema, 'preventDuplicates');\n }\n const schemaValidationErrors = errors;\n const schemaValidationErrorSchema = errorSchema;\n const mergedErrors = Form.mergeErrors({ errorSchema, errors }, extraErrors, customErrors);\n return { ...mergedErrors, schemaValidationErrors, schemaValidationErrorSchema };\n }\n /** Returns the `formData` with only the elements specified in the `fields` list\n *\n * @param formData - The data for the `Form`\n * @param fields - The fields to keep while filtering\n * @deprecated - To be removed as an exported `Form` function in a future release; there isn't a planned replacement\n */\n // oxlint-disable-next-line class-methods-use-this, typescript/no-deprecated\n getUsedFormData = (formData, fields) => getUsedFormData(formData, fields);\n /** Returns the list of field names from inspecting the `pathSchema` as well as using the `formData`\n *\n * @param pathSchema - The `PathSchema` object for the form\n * @param [formData] - The form data to use while checking for empty objects/arrays\n * @deprecated - To be removed as an exported `Form` function in a future release; there isn't a planned replacement\n */\n // oxlint-disable-next-line class-methods-use-this, typescript/no-deprecated\n getFieldNames = (pathSchema, formData) => getFieldNames(pathSchema, formData);\n /** Returns the `formData` after filtering to remove any extra data not in a form field\n *\n * @param formData - The data for the `Form`\n * @returns The `formData` after omitting extra data\n * @deprecated - To be removed as an exported `Form` function in a future release, use `SchemaUtils.omitExtraData`\n * instead.\n */\n omitExtraData = (formData) => {\n const { schema, schemaUtils } = this.state;\n return schemaUtils.omitExtraData(schema, formData);\n };\n /** Allows a user to set a value for the provided `fieldPath`, which must be either a dotted path to the field OR a\n * `FieldPathList`. To set the root element, used either `''` or `[]` for the path. Passing undefined will clear the\n * value in the field.\n *\n * @param fieldPath - Either a dotted path to the field or the `FieldPathList` to the field\n * @param [newValue] - The new value for the field\n */\n setFieldValue = (fieldPath, newValue) => {\n const { registry } = this.state;\n const path = Array.isArray(fieldPath) ? fieldPath : fieldPath.split('.');\n const fieldPathId = toFieldPathId('', registry.globalFormOptions, path);\n this.onChange(newValue, path, undefined, fieldPathId[ID_KEY]);\n };\n /** Pushes the given change information into the `pendingChanges` array and then calls `processPendingChanges()` if\n * the array only contains a single pending change.\n *\n * @param newValue - The new form data from a change to a field\n * @param path - The path to the change into which to set the formData\n * @param [newErrorSchema] - The new `ErrorSchema` based on the field change\n * @param [id] - The id of the field that caused the change\n */\n onChange = (newValue, path, newErrorSchema, id) => {\n this.pendingChanges.push({ newValue, path, newErrorSchema, id });\n if (this.pendingChanges.length === 1) {\n this.processPendingChange();\n }\n };\n /** Function to handle changes made to a field in the `Form`. This handler gets the first change from the\n * `pendingChanges` list, containing the `newValue` for the `formData` and the `path` at which the `newValue` is to be\n * updated, along with a new, optional `ErrorSchema` for that same `path` and potentially the `id` of the field being\n * changed. It will first update the `formData` with any missing default fields and then, if `omitExtraData` and\n * `liveOmit` are turned on, the `formData` will be filtered to remove any extra data not in a form field. Then, the\n * resulting `formData` will be validated if required. The state will be updated with the new updated (potentially\n * filtered) `formData`, any errors that resulted from validation. Finally the `onChange` callback will be called, if\n * specified, with the updated state and the `processPendingChange()` function is called again.\n */\n processPendingChange() {\n if (this.pendingChanges.length === 0) {\n return;\n }\n // Mark that we're processing a user-initiated change.\n // This prevents componentDidUpdate from reverting oneOf/anyOf option switches.\n this.isProcessingUserChange = true;\n const { newValue, path, id } = this.pendingChanges[0];\n const { newErrorSchema } = this.pendingChanges[0];\n // oxlint-disable-next-line typescript/no-deprecated\n const { extraErrors, omitExtraData, liveOmit, noValidate, liveValidate, onChange, disabled, readonly } = this.props;\n const { formData: oldFormData, schemaUtils, schema, fieldPathId, schemaValidationErrorSchema, errors } = this.state;\n let { customErrors, retrievedSchema } = this.state;\n // Use the un-merged AJV-only schema as the base for re-merging extraErrors. Mirrors the\n // pattern in getStateFromProps/getDerivedStateFromProps and avoids the duplication that\n // happened when state.errorSchema (already containing merged extraErrors) was passed in.\n let mergeBaseErrorSchema = schemaValidationErrorSchema;\n const rootPathId = fieldPathId.path[0] || '';\n const isRootPath = !path || path.length === 0 || (path.length === 1 && path[0] === rootPathId);\n let formData = isRootPath ? newValue : _cloneDeep(oldFormData);\n // When switching from null to an object option in oneOf, MultiSchemaField sends\n // an object with property names but undefined values (e.g., {types: undefined, content: undefined}).\n // In this case, pass undefined to getStateFromProps to trigger fresh default computation.\n // Only do this when the previous formData was null/undefined (switching FROM null).\n const hasOnlyUndefinedValues = isObject(formData) &&\n Object.keys(formData).length > 0 &&\n Object.values(formData).every((v) => v === undefined);\n const wasPreviouslyNull = oldFormData === null || oldFormData === undefined;\n const inputForDefaults = hasOnlyUndefinedValues && wasPreviouslyNull ? undefined : formData;\n if (isObject(formData) || Array.isArray(formData)) {\n // Tracks if the user cleared a plain (non-oneOf/anyOf) leaf field.\n // The key is removed twice: once before getStateFromProps so inputForDefaults\n // reflects an empty field for conditional schema resolution, and once after so\n // the user's clear overrides any schema default getStateFromProps re-applied (#5125)\n // and AJV never receives { key: undefined } for type:\"string\" fields (#4518).\n let plainLeafWasCleared = false;\n if (newValue === ADDITIONAL_PROPERTY_KEY_REMOVE) {\n // For additional properties, this key was explicitly removed, so unset it\n _unset(formData, path);\n }\n else if (!isRootPath) {\n // Set the new value at its path in the form data.\n let valueForPath = newValue;\n if (newValue === undefined) {\n const lastSegment = path[path.length - 1];\n if (typeof lastSegment === 'number') {\n // Array items: match ArrayField `handleChange` — AJV needs `null`, not undefined.\n valueForPath = null;\n }\n else {\n const { field } = schemaUtils.findFieldInSchema(schema, path, oldFormData);\n const leaf = field;\n const isOneOfOrAnyOfLeaf = leaf && (ONE_OF_KEY in leaf || ANY_OF_KEY in leaf);\n // oneOf/anyOf and unresolved leaves keep `undefined` so mergeDefaults doesn't\n // re-apply a branch default when the user clears the widget.\n // Plain resolved leaves use plainLeafWasCleared instead (see below).\n if (!isOneOfOrAnyOfLeaf && leaf !== undefined) {\n plainLeafWasCleared = true;\n }\n }\n }\n if (plainLeafWasCleared) {\n _set(formData, path, undefined);\n }\n else {\n _set(formData, path, valueForPath);\n }\n }\n const shouldSanitize = retrievedSchema && !isRootPath && !isObject(newValue) && !Array.isArray(newValue) && !disabled && !readonly;\n // Skip live validation here; it runs later in this function.\n const newState = this.getStateFromProps(this.props, inputForDefaults, undefined, undefined, undefined, true, shouldSanitize);\n formData = newState.formData;\n retrievedSchema = newState.retrievedSchema;\n // Re-set to undefined after merging defaults so the user's clear is preserved in\n // state (#5125 regression: without this, clearing a second field re-applies the\n // default to previously-cleared fields). The undefined key is stripped from the\n // formData copy passed to AJV via JSON.parse(JSON.stringify(...)) so the validator never\n // sees { [key]: undefined } for type:\"string\" or patternProperties fields (#4518).\n if (plainLeafWasCleared && formData) {\n _set(formData, path, undefined);\n }\n }\n const mustValidate = !noValidate && (liveValidate === true || liveValidate === 'onChange');\n let state = { formData, retrievedSchema };\n let newFormData = formData;\n if (omitExtraData === true && (liveOmit === true || liveOmit === 'onChange')) {\n // oxlint-disable-next-line typescript/no-deprecated\n newFormData = this.omitExtraData(formData);\n state = { ...state, formData: newFormData };\n }\n if (newErrorSchema) {\n // First check to see if there is an existing validation error on this path...\n // @ts-expect-error TS2590, because getting from the error schema is confusing TS\n const oldValidationError = !isRootPath ? _get(schemaValidationErrorSchema, path) : schemaValidationErrorSchema;\n // If there is an old validation error for this path, assume we are updating it directly\n if (!_isEmpty(oldValidationError)) {\n // Apply the user-supplied newErrorSchema onto a clone of the AJV-only base, so that\n // mergeErrors below sees the user's error at this path without mutating shared state.\n if (!isRootPath) {\n mergeBaseErrorSchema = _cloneDeep(schemaValidationErrorSchema);\n _set(mergeBaseErrorSchema, path, newErrorSchema);\n }\n else {\n mergeBaseErrorSchema = newErrorSchema;\n }\n }\n else {\n if (!customErrors) {\n customErrors = new ErrorSchemaBuilder();\n }\n if (isRootPath) {\n const pathErrors = _get(newErrorSchema, ERRORS_KEY);\n if (pathErrors) {\n // only set errors when there are some\n customErrors.setErrors(pathErrors);\n }\n }\n else {\n _set(customErrors.ErrorSchema, path, newErrorSchema);\n }\n }\n }\n else if (customErrors && _get(customErrors.ErrorSchema, [...path, ERRORS_KEY])) {\n // If we have custom errors and the path has an error, then we need to clear it\n customErrors.clearErrors(path);\n }\n // If there are pending changes in the queue, skip live validation since it will happen with the last change\n if (mustValidate && this.pendingChanges.length === 1) {\n const liveValidation = this.liveValidate(schema, schemaUtils, mergeBaseErrorSchema, newFormData, extraErrors, customErrors, retrievedSchema);\n state = { ...state, formData: newFormData, ...liveValidation, customErrors };\n }\n else if (!noValidate && newErrorSchema) {\n // Merging 'newErrorSchema' into 'errorSchema' to display the custom raised errors.\n const mergedErrors = Form.mergeErrors({ errorSchema: mergeBaseErrorSchema, errors }, extraErrors, customErrors);\n state = { ...state, formData: newFormData, ...mergedErrors, customErrors };\n }\n this.setState(state, () => {\n if (onChange) {\n onChange(toIChangeEvent({ ...this.state, ...state }), id);\n }\n // Now remove the change we just completed and call this again\n this.pendingChanges.shift();\n this.processPendingChange();\n });\n }\n /**\n * If the retrievedSchema has changed the new retrievedSchema is returned.\n * Otherwise, the old retrievedSchema is returned to persist reference.\n * - This ensures that AJV retrieves the schema from the cache when it has not changed,\n * avoiding the performance cost of recompiling the schema.\n *\n * @param retrievedSchema The new retrieved schema.\n * @returns The new retrieved schema if it has changed, else the old retrieved schema.\n */\n updateRetrievedSchema(retrievedSchema) {\n const isTheSame = deepEquals(retrievedSchema, this.state?.retrievedSchema);\n return isTheSame ? this.state.retrievedSchema : retrievedSchema;\n }\n /**\n * Callback function to handle reset form data.\n * - Reset all fields with default values.\n * - Reset validations and errors\n *\n */\n reset = () => {\n // Cast the IS_RESET symbol to T to avoid type issues, we use this symbol to detect reset mode\n const { formData: propsFormData, initialFormData = IS_RESET, onChange } = this.props;\n const newState = this.getStateFromProps(this.props, propsFormData ?? initialFormData, undefined, undefined, undefined, true);\n const newFormData = newState.formData;\n const state = {\n formData: newFormData,\n errorSchema: {},\n errors: [],\n schemaValidationErrors: [],\n schemaValidationErrorSchema: {},\n initialDefaultsGenerated: false,\n customErrors: undefined,\n };\n this.setState(state, () => onChange?.(toIChangeEvent({ ...this.state, ...state })));\n };\n /** Callback function to handle when a field on the form is blurred. Calls the `onBlur` callback for the `Form` if it\n * was provided. Also runs any live validation and/or live omit operations if the flags indicate they should happen\n * during `onBlur`.\n *\n * @param id - The unique `id` of the field that was blurred\n * @param data - The data associated with the field that was blurred\n */\n onBlur = (id, data) => {\n const { onBlur, omitExtraData, liveOmit, liveValidate } = this.props;\n if (onBlur) {\n onBlur(id, data);\n }\n if ((omitExtraData === true && liveOmit === 'onBlur') || liveValidate === 'onBlur') {\n const { onChange, extraErrors } = this.props;\n const { formData } = this.state;\n let newFormData = formData;\n let state = { formData: newFormData };\n if (omitExtraData === true && liveOmit === 'onBlur') {\n // oxlint-disable-next-line typescript/no-deprecated\n newFormData = this.omitExtraData(formData);\n state = { formData: newFormData };\n }\n if (liveValidate === 'onBlur') {\n const { schema, schemaUtils, errorSchema, customErrors, retrievedSchema } = this.state;\n const liveValidation = this.liveValidate(schema, schemaUtils, errorSchema, newFormData, extraErrors, customErrors, retrievedSchema);\n state = { formData: newFormData, ...liveValidation, customErrors };\n }\n const hasChanges = Object.keys(state)\n // Filter out `schemaValidationErrors` and `schemaValidationErrorSchema` since they aren't IChangeEvent props\n .filter((key) => !key.startsWith('schemaValidation'))\n .some((key) => {\n const oldData = _get(this.state, key);\n const newData = _get(state, key);\n return !deepEquals(oldData, newData);\n });\n this.setState(state, () => {\n if (onChange && hasChanges) {\n onChange(toIChangeEvent({ ...this.state, ...state }), id);\n }\n });\n }\n };\n /** Callback function to handle when a field on the form is focused. Calls the `onFocus` callback for the `Form` if it\n * was provided.\n *\n * @param id - The unique `id` of the field that was focused\n * @param data - The data associated with the field that was focused\n */\n onFocus = (id, data) => {\n const { onFocus } = this.props;\n if (onFocus) {\n onFocus(id, data);\n }\n };\n /** Callback function to handle when the form is submitted. First, it prevents the default event behavior. Nothing\n * happens if the target and currentTarget of the event are not the same. It will omit any extra data in the\n * `formData` in the state if `omitExtraData` is true. It will validate the resulting `formData`, reporting errors\n * via the `onError()` callback unless validation is disabled. Finally, it will add in any `extraErrors` and then call\n * back the `onSubmit` callback if it was provided.\n *\n * @param event - The submit HTML form event\n */\n onSubmit = (event) => {\n event.preventDefault();\n if (event.target !== event.currentTarget) {\n return;\n }\n event.persist();\n // oxlint-disable-next-line typescript/no-deprecated\n const { omitExtraData, extraErrors, noValidate, onSubmit } = this.props;\n let { formData: newFormData } = this.state;\n if (omitExtraData === true) {\n // oxlint-disable-next-line typescript/no-deprecated\n newFormData = this.omitExtraData(newFormData);\n }\n if (noValidate || this.validateFormWithFormData(newFormData)) {\n // There are no errors generated through schema validation.\n // Check for user provided errors and update state accordingly.\n const errorSchema = extraErrors || {};\n const errors = extraErrors ? toErrorList(extraErrors) : [];\n this.setState({\n formData: newFormData,\n errors,\n errorSchema,\n schemaValidationErrors: [],\n schemaValidationErrorSchema: {},\n }, () => {\n if (onSubmit) {\n onSubmit(toIChangeEvent({ ...this.state, formData: newFormData }, 'submitted'), event);\n }\n });\n }\n };\n /** Extracts the `GlobalFormOptions` from the given Form `props`\n *\n * @param props - The form props to extract the global form options from\n * @returns - The `GlobalFormOptions` from the props\n * @private\n */\n static getGlobalFormOptions(props) {\n const { uiSchema = {}, experimental_componentUpdateStrategy, idSeparator = DEFAULT_ID_SEPARATOR, idPrefix = DEFAULT_ID_PREFIX, nameGenerator, useFallbackUiForUnsupportedType = false, } = props;\n // oxlint-disable-next-line typescript/no-deprecated\n const rootFieldId = uiSchema['ui:rootFieldId'];\n // Omit any options that are undefined or null\n return {\n idPrefix: rootFieldId || idPrefix,\n idSeparator,\n useFallbackUiForUnsupportedType,\n ...(experimental_componentUpdateStrategy !== undefined && { experimental_componentUpdateStrategy }),\n ...(nameGenerator !== undefined && { nameGenerator }),\n };\n }\n /** Computed the registry for the form using the given `props`, `schema` and `schemaUtils` */\n static getRegistry(props, schema, schemaUtils) {\n const { translateString: customTranslateString, uiSchema = {} } = props;\n const { fields, templates, widgets, formContext, translateString } = getDefaultRegistry();\n return {\n fields: { ...fields, ...props.fields },\n templates: {\n ...templates,\n ...props.templates,\n ButtonTemplates: {\n ...templates.ButtonTemplates,\n ...props.templates?.ButtonTemplates,\n },\n },\n widgets: { ...widgets, ...props.widgets },\n rootSchema: schema,\n formContext: props.formContext || formContext,\n schemaUtils,\n translateString: customTranslateString || translateString,\n globalUiOptions: uiSchema[UI_GLOBAL_OPTIONS_KEY],\n globalFormOptions: Form.getGlobalFormOptions(props),\n uiSchemaDefinitions: uiSchema[UI_DEFINITIONS_KEY] ?? {},\n };\n }\n /** Provides a function that can be used to programmatically submit the `Form` */\n submit = () => {\n if (this.formElement.current) {\n const submitCustomEvent = new CustomEvent('submit', {\n cancelable: true,\n });\n submitCustomEvent.preventDefault();\n this.formElement.current.dispatchEvent(submitCustomEvent);\n this.formElement.current.requestSubmit();\n }\n };\n /** Attempts to focus on the field associated with the `error`. Uses the `property` field to compute path of the error\n * field, then, using the `idPrefix` and `idSeparator` converts that path into an id. Then the input element with that\n * id is attempted to be found using the `formElement` ref. If it is located, then it is focused.\n *\n * @param error - The error on which to focus\n */\n focusOnError(error) {\n const { idPrefix = 'root', idSeparator = '_' } = this.props;\n const { property } = error;\n const path = _toPath(property);\n if (path[0] === '') {\n // Most of the time the `.foo` property results in the first element being empty, so replace it with the idPrefix\n path[0] = idPrefix;\n }\n else {\n // Otherwise insert the idPrefix into the first location using unshift\n path.unshift(idPrefix);\n }\n const elementId = path.join(idSeparator);\n let field = this.formElement.current.elements[elementId];\n if (!field) {\n // if not an exact match, try finding a focusable element starting with the element id (like radio buttons or checkboxes)\n // some themes (e.g. shadcn) use button elements instead of native inputs for radio groups\n field = this.formElement.current.querySelector(`input[id^=\"${elementId}\"], button[id^=\"${elementId}\"]`);\n }\n if (field?.length) {\n // If we got a list with length > 0\n // oxlint-disable-next-line prefer-destructuring\n field = field[0];\n }\n if (field) {\n field.focus();\n }\n }\n /** Validates the form using the given `formData`. For use on form submission or on programmatic validation.\n * If `onError` is provided, then it will be called with the list of errors.\n *\n * @param formData - The form data to validate\n * @returns - True if the form is valid, false otherwise.\n */\n validateFormWithFormData = (formData) => {\n const { extraErrors, extraErrorsBlockSubmit, focusOnFirstError, onError } = this.props;\n const { errors: prevErrors } = this.state;\n const schemaValidation = this.validate(formData);\n // Always merge extraErrors so they remain visible in state regardless of extraErrorsBlockSubmit.\n const { errors, errorSchema } = extraErrors ? Form.mergeErrors(schemaValidation, extraErrors) : schemaValidation;\n // hasError gates submission: schema errors always block; extraErrors only block when\n // extraErrorsBlockSubmit is set (non-breaking default: extraErrors are informational only).\n const hasError = schemaValidation.errors.length > 0 || (extraErrors && extraErrorsBlockSubmit);\n if (hasError) {\n if (focusOnFirstError) {\n if (typeof focusOnFirstError === 'function') {\n focusOnFirstError(errors[0]);\n }\n else {\n this.focusOnError(errors[0]);\n }\n }\n this.setState({\n errors,\n errorSchema,\n schemaValidationErrors: schemaValidation.errors,\n schemaValidationErrorSchema: schemaValidation.errorSchema,\n }, () => {\n if (onError) {\n onError(errors);\n }\n else {\n // oxlint-disable-next-line no-console\n console.error('Form validation failed', errors);\n }\n });\n }\n else if (errors.length > 0) {\n // Non-blocking extraErrors are present — update display state without triggering onError.\n this.setState({\n errors,\n errorSchema,\n schemaValidationErrors: [],\n schemaValidationErrorSchema: {},\n });\n }\n else if (prevErrors.length > 0) {\n this.setState({\n errors: [],\n errorSchema: {},\n schemaValidationErrors: [],\n schemaValidationErrorSchema: {},\n });\n }\n return !hasError;\n };\n /** Programmatically validate the form. If `omitExtraData` is true, the `formData` will first be filtered to remove\n * any extra data not in a form field. If `onError` is provided, then it will be called with the list of errors the\n * same way as would happen on form submission.\n *\n * @returns - True if the form is valid, false otherwise.\n */\n validateForm() {\n const { omitExtraData } = this.props;\n let { formData: newFormData } = this.state;\n if (omitExtraData === true) {\n // oxlint-disable-next-line typescript/no-deprecated\n newFormData = this.omitExtraData(newFormData);\n }\n return this.validateFormWithFormData(newFormData);\n }\n /** Renders the `Form` fields inside the <form> | `tagName` or `_internalFormWrapper`, rendering any errors if\n * needed along with the submit button or any children of the form.\n */\n render() {\n const { children, id, className = '', tagName, name, method, target, action, autoComplete, enctype, acceptCharset, noHtml5Validate = false, disabled, readonly, showErrorList = 'top', _internalFormWrapper, } = this.props;\n const { schema, uiSchema, formData, errorSchema, fieldPathId, registry } = this.state;\n const { SchemaField: SchemaFieldComponent } = registry.fields;\n const { SubmitButton } = registry.templates.ButtonTemplates;\n // The `semantic-ui` and `material-ui` themes have `_internalFormWrapper`s that take an `as` prop that is the\n // PropTypes.elementType to use for the inner tag, so we'll need to pass `tagName` along if it is provided.\n // NOTE, the `as` prop is native to `semantic-ui` and is emulated in the `material-ui` theme\n const as = _internalFormWrapper ? tagName : undefined;\n const FormTag = _internalFormWrapper || tagName || 'form';\n let { [SUBMIT_BTN_OPTIONS_KEY]: submitOptions = {} } = getUiOptions(uiSchema);\n if (disabled) {\n submitOptions = { ...submitOptions, props: { ...submitOptions.props, disabled: true } };\n }\n const submitUiSchema = { [UI_OPTIONS_KEY]: { [SUBMIT_BTN_OPTIONS_KEY]: submitOptions } };\n return (_jsxs(FormTag, { className: className || 'rjsf', id: id, name: name, method: method, target: target, action: action, autoComplete: autoComplete, encType: enctype, acceptCharset: acceptCharset, noValidate: noHtml5Validate, onSubmit: this.onSubmit, as: as, ref: this.formElement, children: [showErrorList === 'top' && this.renderErrors(registry), _jsx(SchemaFieldComponent, { name: '', schema: schema, uiSchema: uiSchema, errorSchema: errorSchema, fieldPathId: fieldPathId, formData: formData, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, registry: registry, disabled: disabled, readonly: readonly }), children || _jsx(SubmitButton, { uiSchema: submitUiSchema, registry: registry }), showErrorList === 'bottom' && this.renderErrors(registry)] }));\n }\n}\n", "import baseUnset from './_baseUnset.js';\n\n/**\n * Removes the property at `path` of `object`.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to unset.\n * @returns {boolean} Returns `true` if the property is deleted, else `false`.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 7 } }] };\n * _.unset(object, 'a[0].b.c');\n * // => true\n *\n * console.log(object);\n * // => { 'a': [{ 'b': {} }] };\n *\n * _.unset(object, ['a', '0', 'b', 'c']);\n * // => true\n *\n * console.log(object);\n * // => { 'a': [{ 'b': {} }] };\n */\nfunction unset(object, path) {\n return object == null ? true : baseUnset(object, path);\n}\n\nexport default unset;\n", "import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { memo, useCallback, useMemo, useRef, useState } from 'react';\nimport { allowAdditionalItems, getTemplate, getUiOptions, getWidget, hashObject, isCustomWidget, isFixedItems, isFormDataAvailable, optionsList, shouldRenderOptionalField, toFieldPathId, useDeepCompareMemo, ITEMS_KEY, ID_KEY, TranslatableString, } from '@rjsf/utils';\nimport cloneDeep from 'lodash-es/cloneDeep.js';\nimport isObject from 'lodash-es/isObject.js';\nimport set from 'lodash-es/set.js';\nimport uniqueId from 'lodash-es/uniqueId.js';\n/** Used to generate a unique ID for an element in a row */\nfunction generateRowId() {\n return uniqueId('rjsf-array-item-');\n}\n/** Converts the `formData` into `KeyedFormDataType` data, using the `generateRowId()` function to create the key\n *\n * @param formData - The data for the form\n * @returns - The `formData` converted into a `KeyedFormDataType` element\n */\nfunction generateKeyedFormData(formData) {\n return !Array.isArray(formData)\n ? []\n : formData.map((item) => ({\n key: generateRowId(),\n item,\n }));\n}\n/** Converts `KeyedFormDataType` data into the inner `formData`\n *\n * @param keyedFormData - The `KeyedFormDataType` to be converted\n * @returns - The inner `formData` item(s) in the `keyedFormData`\n */\nfunction keyedToPlainFormData(keyedFormData) {\n if (Array.isArray(keyedFormData)) {\n return keyedFormData.map((keyedItem) => keyedItem.item);\n }\n return [];\n}\n/** Determines whether the item described in the schema is always required, which is determined by whether any item\n * may be null.\n *\n * @param itemSchema - The schema for the item\n * @return - True if the item schema type does not contain the \"null\" type\n */\nfunction isItemRequired(itemSchema) {\n if (Array.isArray(itemSchema.type)) {\n // While we don't yet support composite/nullable jsonschema types, it's\n // future-proof to check for requirement against these.\n return !itemSchema.type.includes('null');\n }\n // All non-null array item types are inherently required by design\n return itemSchema.type !== 'null';\n}\n/** Determines whether more items can be added to the array. If the uiSchema indicates the array doesn't allow adding\n * then false is returned. Otherwise, if the schema indicates that there are a maximum number of items and the\n * `formData` matches that value, then false is returned, otherwise true is returned.\n *\n * @param registry - The registry\n * @param schema - The schema for the field\n * @param formItems - The list of items in the form\n * @param [uiSchema] - The UiSchema for the field\n * @returns - True if the item is addable otherwise false\n */\nfunction canAddItem(registry, schema, formItems, uiSchema) {\n let { addable } = getUiOptions(uiSchema, registry.globalUiOptions);\n if (addable !== false) {\n // if ui:options.addable was not explicitly set to false, we can add\n // another item if we have not exceeded maxItems yet\n if (schema.maxItems !== undefined) {\n addable = formItems.length < schema.maxItems;\n }\n else {\n addable = true;\n }\n }\n return addable;\n}\n/** Helper method to compute item UI schema for both normal and fixed arrays\n * Handles both static object and dynamic function cases\n *\n * @param uiSchema - The parent UI schema containing items definition\n * @param item - The item data\n * @param index - The index of the item\n * @param formContext - The form context\n * @returns The computed UI schema for the item\n */\nfunction computeItemUiSchema(uiSchema, item, index, formContext) {\n if (typeof uiSchema.items === 'function') {\n try {\n // Call the function with item data, index, and form context\n // TypeScript now correctly infers the types thanks to the ArrayElement type in UiSchema\n const result = uiSchema.items(item, index, formContext);\n // Only use the result if it's truthy\n return result;\n }\n catch (e) {\n // oxlint-disable-next-line no-console\n console.error(`Error executing dynamic uiSchema.items function for item at index ${index}:`, e);\n // Fall back to undefined to allow the field to still render\n return undefined;\n }\n }\n else {\n // Static object case - preserve undefined to maintain backward compatibility\n return uiSchema.items;\n }\n}\n/** Returns the default form information for an item based on the schema for that item. Deals with the possibility\n * that the schema is fixed and allows additional items.\n */\nfunction getNewFormDataRow(registry, schema) {\n const { schemaUtils, globalFormOptions } = registry;\n let itemSchema = schema.items;\n if (globalFormOptions.useFallbackUiForUnsupportedType && !itemSchema) {\n // If we don't have itemSchema and useFallbackUiForUnsupportedType is on, use an empty schema\n itemSchema = {};\n }\n else if (isFixedItems(schema) && allowAdditionalItems(schema)) {\n itemSchema = schema.additionalItems;\n }\n // Cast this as a T to work around schema utils being for T[] caused by the FieldProps<T[], S, F> call on the class\n return schemaUtils.getDefaultFormState(itemSchema);\n}\n/** Renders an array as a set of checkboxes using the 'select' widget\n */\nfunction ArrayAsMultiSelect(props) {\n const { schema, fieldPathId, uiSchema, formData: items = [], disabled = false, readonly = false, autofocus = false, required = false, placeholder, onBlur, onFocus, registry, rawErrors, name, onSelectChange, } = props;\n const { widgets, schemaUtils, globalFormOptions, globalUiOptions } = registry;\n const itemsSchema = schemaUtils.retrieveSchema(schema.items, items);\n // For computing `enumOptions`, fallback to the array property's uiSchema if there is no `items` schema\n // Avoids a breaking change reported in https://github.com/rjsf-team/react-jsonschema-form/issues/4985\n const itemsUiSchema = (uiSchema?.items ?? uiSchema);\n const enumOptions = optionsList(itemsSchema, itemsUiSchema);\n const { widget = 'select', title: uiTitle, ...options } = getUiOptions(uiSchema, globalUiOptions);\n const Widget = getWidget(schema, widget, widgets);\n const label = uiTitle ?? schema.title ?? name;\n const displayLabel = schemaUtils.getDisplayLabel(schema, uiSchema, globalUiOptions);\n // For custom widgets with multiple=true, generate a fieldPathId with isMultiValue flag\n const multiValueFieldPathId = useDeepCompareMemo(toFieldPathId('', globalFormOptions, fieldPathId, true));\n return (_jsx(Widget, { id: multiValueFieldPathId[ID_KEY], name: name, multiple: true, onChange: onSelectChange, onBlur: onBlur, onFocus: onFocus, options: { ...options, enumOptions }, schema: schema, uiSchema: uiSchema, registry: registry, value: items, disabled: disabled, readonly: readonly, required: required, label: label, hideLabel: !displayLabel, placeholder: placeholder, autofocus: autofocus, rawErrors: rawErrors, htmlName: multiValueFieldPathId.name }));\n}\n/** Renders an array using the custom widget provided by the user in the `uiSchema`\n */\nfunction ArrayAsCustomWidget(props) {\n const { schema, fieldPathId, uiSchema, disabled = false, readonly = false, autofocus = false, required = false, hideError, placeholder, onBlur, onFocus, formData: items = [], registry, rawErrors, name, onSelectChange, } = props;\n const { widgets, schemaUtils, globalFormOptions, globalUiOptions } = registry;\n const { widget, title: uiTitle, ...options } = getUiOptions(uiSchema, globalUiOptions);\n const Widget = getWidget(schema, widget, widgets);\n const label = uiTitle ?? schema.title ?? name;\n const displayLabel = schemaUtils.getDisplayLabel(schema, uiSchema, globalUiOptions);\n // For custom widgets with multiple=true, generate a fieldPathId with isMultiValue flag\n const multiValueFieldPathId = useDeepCompareMemo(toFieldPathId('', globalFormOptions, fieldPathId, true));\n return (_jsx(Widget, { id: multiValueFieldPathId[ID_KEY], name: name, multiple: true, onChange: onSelectChange, onBlur: onBlur, onFocus: onFocus, options: options, schema: schema, uiSchema: uiSchema, registry: registry, value: items, disabled: disabled, readonly: readonly, hideError: hideError, required: required, label: label, hideLabel: !displayLabel, placeholder: placeholder, autofocus: autofocus, rawErrors: rawErrors, htmlName: multiValueFieldPathId.name }));\n}\n/** Renders an array of files using the `FileWidget`\n */\nfunction ArrayAsFiles(props) {\n const { schema, uiSchema, fieldPathId, name, disabled = false, readonly = false, autofocus = false, required = false, onBlur, onFocus, registry, formData: items = [], rawErrors, onSelectChange, } = props;\n const { widgets, schemaUtils, globalFormOptions, globalUiOptions } = registry;\n const { widget = 'files', title: uiTitle, ...options } = getUiOptions(uiSchema, globalUiOptions);\n const Widget = getWidget(schema, widget, widgets);\n const label = uiTitle ?? schema.title ?? name;\n const displayLabel = schemaUtils.getDisplayLabel(schema, uiSchema, globalUiOptions);\n // For custom widgets with multiple=true, generate a fieldPathId with isMultiValue flag\n const multiValueFieldPathId = useDeepCompareMemo(toFieldPathId('', globalFormOptions, fieldPathId, true));\n return (_jsx(Widget, { options: options, id: multiValueFieldPathId[ID_KEY], name: name, multiple: true, onChange: onSelectChange, onBlur: onBlur, onFocus: onFocus, schema: schema, uiSchema: uiSchema, value: items, disabled: disabled, readonly: readonly, required: required, registry: registry, autofocus: autofocus, rawErrors: rawErrors, label: label, hideLabel: !displayLabel, htmlName: multiValueFieldPathId.name }));\n}\n/** Renders the individual array item using a `SchemaField` along with the additional properties that are needed to\n * render the whole of the `ArrayFieldItemTemplate`.\n */\nfunction ArrayFieldItemInner(props) {\n const { itemKey, index, name, disabled, hideError, readonly, registry, uiOptions, parentUiSchema, canAdd, canRemove = true, canMoveUp, canMoveDown, rawItemSchema, itemData, itemUiSchema, parentFieldPathId, itemErrorSchema, autofocus, onBlur, onFocus, onChange, rawErrors, totalItems, title, handleAddItem, handleCopyItem, handleRemoveItem, handleReorderItems, } = props;\n const { schemaUtils, fields: { ArraySchemaField, SchemaField }, globalUiOptions, globalFormOptions, } = registry;\n const itemSchema = useMemo(() => schemaUtils.retrieveSchema(rawItemSchema, itemData), [schemaUtils, rawItemSchema, itemData]);\n // parentFieldPathId is the same stable reference for all items; index is a stable number.\n // useMemo avoids creating a new FieldPathId object on every render, letting React.memo bail out.\n const fieldPathId = useMemo(() => toFieldPathId(index, globalFormOptions, parentFieldPathId), [index, globalFormOptions, parentFieldPathId]);\n const ItemSchemaField = ArraySchemaField || SchemaField;\n const ArrayFieldItemTemplate = getTemplate('ArrayFieldItemTemplate', registry, uiOptions);\n const displayLabel = schemaUtils.getDisplayLabel(itemSchema, itemUiSchema, globalUiOptions);\n const { description } = getUiOptions(itemUiSchema);\n const hasDescription = !!description || !!itemSchema.description;\n const { orderable = true, removable = true, copyable = false } = uiOptions;\n const has = {\n moveUp: orderable && canMoveUp,\n moveDown: orderable && canMoveDown,\n copy: copyable && canAdd,\n remove: removable && canRemove,\n toolbar: false,\n };\n has.toolbar = Object.keys(has).some((key) => has[key]);\n const onAddItem = useCallback((event) => {\n handleAddItem(event, index + 1);\n }, [handleAddItem, index]);\n const onCopyItem = useCallback((event) => {\n handleCopyItem(event, index);\n }, [handleCopyItem, index]);\n const onRemoveItem = useCallback((event) => {\n handleRemoveItem(event, index);\n }, [handleRemoveItem, index]);\n const onMoveUpItem = useCallback((event) => {\n handleReorderItems(event, index, index - 1);\n }, [handleReorderItems, index]);\n const onMoveDownItem = useCallback((event) => {\n handleReorderItems(event, index, index + 1);\n }, [handleReorderItems, index]);\n const templateProps = {\n children: (_jsx(ItemSchemaField, { name: name, title: title, index: index, schema: itemSchema, uiSchema: itemUiSchema, formData: itemData, errorSchema: itemErrorSchema, fieldPathId: fieldPathId, required: isItemRequired(itemSchema), onChange: onChange, onBlur: onBlur, onFocus: onFocus, registry: registry, disabled: disabled, readonly: readonly, hideError: hideError, autofocus: autofocus, rawErrors: rawErrors })),\n buttonsProps: {\n fieldPathId,\n disabled,\n readonly,\n canAdd,\n hasCopy: has.copy,\n hasMoveUp: has.moveUp,\n hasMoveDown: has.moveDown,\n hasRemove: has.remove,\n index,\n totalItems,\n onAddItem,\n onCopyItem,\n onRemoveItem,\n onMoveUpItem,\n onMoveDownItem,\n registry,\n schema: itemSchema,\n uiSchema: itemUiSchema,\n },\n itemKey,\n className: 'rjsf-array-item',\n disabled,\n hasToolbar: has.toolbar,\n index,\n totalItems,\n readonly,\n registry,\n schema: itemSchema,\n uiSchema: itemUiSchema,\n parentUiSchema,\n displayLabel,\n hasDescription,\n };\n return _jsx(ArrayFieldItemTemplate, { ...templateProps });\n}\nconst ArrayFieldItem = memo(ArrayFieldItemInner);\n/** Renders a normal array without any limitations of length\n */\nfunction NormalArray(props) {\n const { schema, uiSchema = {}, errorSchema, fieldPathId, formData: formDataFromProps, name, title, disabled = false, readonly = false, autofocus = false, required = false, hideError = false, registry, onBlur, onFocus, rawErrors, onChange, keyedFormData, handleAddItem, handleCopyItem, handleRemoveItem, handleReorderItems, } = props;\n const fieldTitle = schema.title || title || name;\n const { schemaUtils, fields, formContext, globalUiOptions } = registry;\n const { OptionalDataControlsField } = fields;\n const uiOptions = useMemo(() => getUiOptions(uiSchema, globalUiOptions), [uiSchema, globalUiOptions]);\n // Memoize schemaItems to avoid a new `{}` object identity on every render (which would bust retrieveSchema cache)\n const schemaItems = useMemo(() => (isObject(schema.items) ? schema.items : {}), [schema.items]);\n const itemsSchema = useMemo(() => schemaUtils.retrieveSchema(schemaItems), [schemaUtils, schemaItems]);\n const formData = useMemo(() => keyedToPlainFormData(keyedFormData), [keyedFormData]);\n const renderOptionalField = shouldRenderOptionalField(registry, schema, required, uiSchema);\n const hasFormData = isFormDataAvailable(formDataFromProps);\n const canAdd = useMemo(() => canAddItem(registry, schema, formData, uiSchema) && (!renderOptionalField || hasFormData), [registry, schema, formData, uiSchema, renderOptionalField, hasFormData]);\n const actualFormData = hasFormData ? keyedFormData : [];\n const extraClass = renderOptionalField ? ' rjsf-optional-array-field' : '';\n // All the children will use childFieldPathId if present in the props, falling back to the fieldPathId\n const childFieldPathId = props.childFieldPathId ?? fieldPathId;\n const optionalDataControl = renderOptionalField ? (_jsx(OptionalDataControlsField, { ...props, fieldPathId: childFieldPathId })) : undefined;\n const arrayProps = {\n canAdd,\n items: actualFormData.map((keyedItem, index) => {\n const { key, item } = keyedItem;\n // While we are actually dealing with a single item of type T, the types require a T[], so cast\n const itemCast = item;\n const itemErrorSchema = errorSchema ? errorSchema[index] : undefined;\n // Compute the item UI schema using the helper method\n const itemUiSchema = computeItemUiSchema(uiSchema, item, index, formContext);\n const itemProps = {\n itemKey: key,\n index,\n name: name && `${name}-${index}`,\n registry,\n uiOptions,\n parentUiSchema: uiSchema,\n hideError,\n readonly,\n disabled,\n required,\n title: fieldTitle ? `${fieldTitle}-${index + 1}` : undefined,\n canAdd,\n canMoveUp: index > 0,\n canMoveDown: index < formData.length - 1,\n rawItemSchema: schemaItems,\n parentFieldPathId: childFieldPathId,\n itemErrorSchema,\n itemData: itemCast,\n itemUiSchema,\n autofocus: autofocus && index === 0,\n onBlur,\n onFocus,\n rawErrors,\n totalItems: keyedFormData.length,\n handleAddItem,\n handleCopyItem,\n handleRemoveItem,\n handleReorderItems,\n onChange,\n };\n return _jsx(ArrayFieldItem, { ...itemProps }, key);\n }),\n className: `rjsf-field rjsf-field-array rjsf-field-array-of-${itemsSchema.type}${extraClass}`,\n disabled,\n fieldPathId,\n uiSchema,\n onAddClick: handleAddItem,\n readonly,\n required,\n schema,\n title: fieldTitle,\n formData,\n rawErrors,\n registry,\n optionalDataControl,\n };\n const Template = getTemplate('ArrayFieldTemplate', registry, uiOptions);\n return _jsx(Template, { ...arrayProps });\n}\n/** Renders an array that has a maximum limit of items\n */\nfunction FixedArray(props) {\n const { schema, uiSchema = {}, formData, errorSchema, fieldPathId, name, title, disabled = false, readonly = false, autofocus = false, required = false, hideError = false, registry, onBlur, onFocus, rawErrors, keyedFormData, onChange, handleAddItem, handleCopyItem, handleRemoveItem, handleReorderItems, } = props;\n let { formData: items = [] } = props;\n const fieldTitle = schema.title || title || name;\n const { fields, formContext, globalUiOptions } = registry;\n const uiOptions = useMemo(() => getUiOptions(uiSchema, globalUiOptions), [uiSchema, globalUiOptions]);\n const { OptionalDataControlsField } = fields;\n const renderOptionalField = shouldRenderOptionalField(registry, schema, required, uiSchema);\n const hasFormData = isFormDataAvailable(formData);\n const schemaItems = useMemo(() => (isObject(schema.items) ? schema.items : []), [schema.items]);\n const hasAdditionalItems = isObject(schema.additionalItems);\n // All the children will use childFieldPathId if present in the props, falling back to the fieldPathId\n const childFieldPathId = props.childFieldPathId ?? fieldPathId;\n if (items.length < schemaItems.length) {\n // to make sure at least all fixed items are generated\n items = items.concat(new Array(schemaItems.length - items.length));\n }\n const actualFormData = hasFormData ? keyedFormData : [];\n const extraClass = renderOptionalField ? ' rjsf-optional-array-field' : '';\n const optionalDataControl = renderOptionalField ? (_jsx(OptionalDataControlsField, { ...props, fieldPathId: childFieldPathId })) : undefined;\n // These are the props passed into the render function\n const canAdd = canAddItem(registry, schema, items, uiSchema) &&\n hasAdditionalItems &&\n (!renderOptionalField || hasFormData);\n const arrayProps = {\n canAdd,\n className: `rjsf-field rjsf-field-array rjsf-field-array-fixed-items${extraClass}`,\n disabled,\n fieldPathId,\n formData,\n items: actualFormData.map((keyedItem, index) => {\n const { key, item } = keyedItem;\n // While we are actually dealing with a single item of type T, the types require a T[], so cast\n const itemCast = item;\n const additional = index >= schemaItems.length;\n const rawItemSchema = (additional && isObject(schema.additionalItems) ? schema.additionalItems : schemaItems[index]) ||\n {};\n // Compute the item UI schema - handle both static and dynamic cases\n let itemUiSchema;\n if (additional) {\n // For additional items, use additionalItems uiSchema\n itemUiSchema = uiSchema.additionalItems;\n }\n else if (Array.isArray(uiSchema.items)) {\n // For fixed items, uiSchema.items can be an array, a function, or a single object\n itemUiSchema = uiSchema.items[index];\n }\n else {\n // Use the helper method for function or static object cases\n itemUiSchema = computeItemUiSchema(uiSchema, item, index, formContext);\n }\n const itemErrorSchema = errorSchema ? errorSchema[index] : undefined;\n const itemProps = {\n index,\n itemKey: key,\n name: name && `${name}-${index}`,\n registry,\n uiOptions,\n parentUiSchema: uiSchema,\n hideError,\n readonly,\n disabled,\n required,\n title: fieldTitle ? `${fieldTitle}-${index + 1}` : undefined,\n canAdd,\n canRemove: additional,\n canMoveUp: index >= schemaItems.length + 1,\n canMoveDown: additional && index < items.length - 1,\n rawItemSchema,\n itemData: itemCast,\n itemUiSchema,\n parentFieldPathId: childFieldPathId,\n itemErrorSchema,\n autofocus: autofocus && index === 0,\n onBlur,\n onFocus,\n rawErrors,\n totalItems: keyedFormData.length,\n onChange,\n handleAddItem,\n handleCopyItem,\n handleRemoveItem,\n handleReorderItems,\n };\n return _jsx(ArrayFieldItem, { ...itemProps }, key);\n }),\n onAddClick: handleAddItem,\n readonly,\n required,\n registry,\n schema,\n uiSchema,\n title: fieldTitle,\n errorSchema,\n rawErrors,\n optionalDataControl,\n };\n const Template = getTemplate('ArrayFieldTemplate', registry, uiOptions);\n return _jsx(Template, { ...arrayProps });\n}\n/** A custom hook that handles the updating of the keyedFormData from an external `formData` change as well as\n * internally by the `ArrayField`. If there was an external `formData` change, then the `keyedFormData` is recomputed\n * in order to preserve the unique keys from the old `keyedFormData` to the new `formData`. Along with the\n * `keyedFormData` this hook also returns an `updateKeyedFormData()` function for use by the `ArrayField`. The detection\n * of external `formData` are handled by storing the hash of that `formData` along with the `keyedFormData` associated\n * with it. The `updateKeyedFormData()` will update that hash whenever the `keyedFormData` is modified and as well as\n * returning the plain `formData` from the `keyedFormData`.\n */\nfunction useKeyedFormData(formData = []) {\n const newHash = useMemo(() => hashObject(formData), [formData]);\n const [state, setState] = useState(() => ({\n formDataHash: newHash,\n keyedFormData: generateKeyedFormData(formData),\n }));\n let { keyedFormData, formDataHash } = state;\n if (newHash !== formDataHash) {\n const nextFormData = Array.isArray(formData) ? formData : [];\n const previousKeyedFormData = keyedFormData || [];\n keyedFormData =\n nextFormData.length === previousKeyedFormData.length\n ? previousKeyedFormData.map((previousKeyedFormDatum, index) => ({\n key: previousKeyedFormDatum.key,\n item: nextFormData[index],\n }))\n : generateKeyedFormData(nextFormData);\n formDataHash = newHash;\n setState({ formDataHash, keyedFormData });\n }\n const updateKeyedFormData = useCallback((newData) => {\n const plainFormData = keyedToPlainFormData(newData);\n const updatedHash = hashObject(plainFormData);\n setState({ formDataHash: updatedHash, keyedFormData: newData });\n return plainFormData;\n }, []);\n return { keyedFormData, updateKeyedFormData };\n}\n/** The `ArrayField` component is used to render a field in the schema that is of type `array`. It supports both normal\n * and fixed array, allowing user to add and remove elements from the array data.\n */\nexport default function ArrayField(props) {\n const { schema, uiSchema, errorSchema, fieldPathId, registry, formData, onChange } = props;\n const { globalFormOptions, schemaUtils, translateString } = registry;\n const { keyedFormData, updateKeyedFormData } = useKeyedFormData(formData);\n // Refs keep the latest values accessible inside stable useCallback closures without being in the dep array,\n // so the four mutation handlers don't get new references on every keyedFormData / errorSchema change.\n const keyedFormDataRef = useRef(keyedFormData);\n keyedFormDataRef.current = keyedFormData;\n const errorSchemaRef = useRef(errorSchema);\n errorSchemaRef.current = errorSchema;\n // All the children will use childFieldPathId if present in the props, falling back to the fieldPathId\n const childFieldPathId = props.childFieldPathId ?? fieldPathId;\n /** Callback handler for when the user clicks on the add or add at index buttons. Creates a new row of keyed form data\n * either at the end of the list (when index is not specified) or inserted at the `index` when it is, adding it into\n * the state, and then returning `onChange()` with the plain form data converted from the keyed data\n *\n * @param event - The event for the click\n * @param [index] - The optional index at which to add the new data\n */\n const handleAddItem = useCallback((event, index) => {\n if (event) {\n event.preventDefault();\n }\n let newErrorSchema;\n if (errorSchemaRef.current) {\n newErrorSchema = {};\n for (const idx of Object.keys(errorSchemaRef.current)) {\n const i = parseInt(idx, 10);\n if (index === undefined || i < index) {\n set(newErrorSchema, [i], errorSchemaRef.current[i]);\n }\n else if (i >= index) {\n set(newErrorSchema, [i + 1], errorSchemaRef.current[i]);\n }\n }\n }\n const newKeyedFormDataRow = {\n key: generateRowId(),\n item: getNewFormDataRow(registry, schema),\n };\n const newKeyedFormData = [...keyedFormDataRef.current];\n if (index !== undefined) {\n newKeyedFormData.splice(index, 0, newKeyedFormDataRow);\n }\n else {\n newKeyedFormData.push(newKeyedFormDataRow);\n }\n onChange(updateKeyedFormData(newKeyedFormData), childFieldPathId.path, newErrorSchema);\n }, [registry, schema, onChange, updateKeyedFormData, childFieldPathId]);\n /** Callback handler for when the user clicks on the copy button on an existing array element. Clones the row of\n * keyed form data at the `index` into the next position in the state, and then returning `onChange()` with the plain\n * form data converted from the keyed data\n *\n * @param index - The index at which the copy button is clicked\n */\n const handleCopyItem = useCallback((event, index) => {\n if (event) {\n event.preventDefault();\n }\n let newErrorSchema;\n if (errorSchemaRef.current) {\n newErrorSchema = {};\n for (const idx of Object.keys(errorSchemaRef.current)) {\n const i = parseInt(idx, 10);\n if (i <= index) {\n set(newErrorSchema, [i], errorSchemaRef.current[i]);\n }\n else if (i > index) {\n set(newErrorSchema, [i + 1], errorSchemaRef.current[i]);\n }\n }\n }\n const newKeyedFormDataRow = {\n key: generateRowId(),\n item: cloneDeep(keyedFormDataRef.current[index].item),\n };\n const newKeyedFormData = [...keyedFormDataRef.current];\n if (index !== undefined) {\n newKeyedFormData.splice(index + 1, 0, newKeyedFormDataRow);\n }\n else {\n newKeyedFormData.push(newKeyedFormDataRow);\n }\n onChange(updateKeyedFormData(newKeyedFormData), childFieldPathId.path, newErrorSchema);\n }, [onChange, updateKeyedFormData, childFieldPathId]);\n /** Callback handler for when the user clicks on the remove button on an existing array element. Removes the row of\n * keyed form data at the `index` in the state, and then returning `onChange()` with the plain form data converted\n * from the keyed data\n *\n * @param index - The index at which the remove button is clicked\n */\n const handleRemoveItem = useCallback((event, index) => {\n if (event) {\n event.preventDefault();\n }\n // refs #195: revalidate to ensure properly reindexing errors\n let newErrorSchema;\n if (errorSchemaRef.current) {\n newErrorSchema = {};\n for (const idx of Object.keys(errorSchemaRef.current)) {\n const i = parseInt(idx, 10);\n if (i < index) {\n set(newErrorSchema, [i], errorSchemaRef.current[i]);\n }\n else if (i > index) {\n set(newErrorSchema, [i - 1], errorSchemaRef.current[i]);\n }\n }\n }\n const newKeyedFormData = keyedFormDataRef.current.filter((_, i) => i !== index);\n onChange(updateKeyedFormData(newKeyedFormData), childFieldPathId.path, newErrorSchema);\n }, [onChange, updateKeyedFormData, childFieldPathId]);\n /** Callback handler for when the user clicks on one of the move item buttons on an existing array element. Moves the\n * row of keyed form data at the `index` to the `newIndex` in the state, and then returning `onChange()` with the\n * plain form data converted from the keyed data\n *\n * @param index - The index of the item to move\n * @param newIndex - The index to where the item is to be moved\n */\n const handleReorderItems = useCallback((event, index, newIndex) => {\n if (event) {\n event.preventDefault();\n event.currentTarget.blur();\n }\n let newErrorSchema;\n if (errorSchemaRef.current) {\n newErrorSchema = {};\n for (const idx of Object.keys(errorSchemaRef.current)) {\n const i = parseInt(idx, 10);\n if (i === index) {\n set(newErrorSchema, [newIndex], errorSchemaRef.current[index]);\n }\n else if (i === newIndex) {\n set(newErrorSchema, [index], errorSchemaRef.current[newIndex]);\n }\n else {\n set(newErrorSchema, [idx], errorSchemaRef.current[i]);\n }\n }\n }\n function reOrderArray() {\n const newKeyedFormData = keyedFormDataRef.current.slice();\n newKeyedFormData.splice(index, 1);\n newKeyedFormData.splice(newIndex, 0, keyedFormDataRef.current[index]);\n return newKeyedFormData;\n }\n const newKeyedFormData = reOrderArray();\n onChange(updateKeyedFormData(newKeyedFormData), childFieldPathId.path, newErrorSchema);\n }, [onChange, updateKeyedFormData, childFieldPathId]);\n /** Callback handler used to deal with changing the value of the data in the array at the `index`. Calls the\n * `onChange` callback with the updated form data\n *\n * @param index - The index of the item being changed\n */\n const handleChange = useCallback((value, path, newErrorSchema, id) => {\n const lastPathIsItemIndex = typeof path.at(-1) === 'number';\n onChange(\n // We need to treat undefined items as nulls to have validation.\n // See https://github.com/tdegrunt/jsonschema/issues/206\n // Only set to null for array items, and not for object properties within array items\n lastPathIsItemIndex && value === undefined ? null : value, path, newErrorSchema, id);\n }, [onChange]);\n /** Callback handler used to change the value for a checkbox */\n const onSelectChange = useCallback((value) => {\n onChange(value, childFieldPathId.path, undefined, childFieldPathId?.[ID_KEY]);\n }, [onChange, childFieldPathId]);\n const arrayAsMultiProps = {\n ...props,\n formData,\n fieldPathId: childFieldPathId,\n onSelectChange,\n };\n const arrayProps = {\n ...props,\n handleAddItem,\n handleCopyItem,\n handleRemoveItem,\n handleReorderItems,\n keyedFormData,\n onChange: handleChange,\n };\n if (!(ITEMS_KEY in schema)) {\n if (!globalFormOptions.useFallbackUiForUnsupportedType) {\n const uiOptions = getUiOptions(uiSchema);\n const UnsupportedFieldTemplate = getTemplate('UnsupportedFieldTemplate', registry, uiOptions);\n return (_jsx(UnsupportedFieldTemplate, { schema: schema, fieldPathId: fieldPathId, reason: translateString(TranslatableString.MissingItems), registry: registry }));\n }\n // Add an items schema with type as undefined so it triggers FallbackField later on\n const fallbackSchema = { ...schema, [ITEMS_KEY]: { type: undefined } };\n arrayAsMultiProps.schema = fallbackSchema;\n arrayProps.schema = fallbackSchema;\n }\n if (schemaUtils.isMultiSelect(arrayAsMultiProps.schema)) {\n // If array has enum or uniqueItems set to true, call renderMultiSelect() to render the default multiselect widget or a custom widget, if specified.\n return _jsx(ArrayAsMultiSelect, { ...arrayAsMultiProps });\n }\n if (isCustomWidget(uiSchema)) {\n return _jsx(ArrayAsCustomWidget, { ...arrayAsMultiProps });\n }\n if (isFixedItems(arrayAsMultiProps.schema)) {\n return _jsx(FixedArray, { ...arrayProps });\n }\n if (schemaUtils.isFilesArray(arrayAsMultiProps.schema, uiSchema)) {\n return _jsx(ArrayAsFiles, { ...arrayAsMultiProps });\n }\n return _jsx(NormalArray, { ...arrayProps });\n}\n", "import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { useCallback } from 'react';\nimport { getWidget, getUiOptions, optionsList, TranslatableString } from '@rjsf/utils';\nimport isObject from 'lodash-es/isObject.js';\n/** The `BooleanField` component is used to render a field in the schema is boolean. It constructs `enumOptions` for the\n * two boolean values based on the various alternatives in the schema.\n *\n * @param props - The `FieldProps` for this template\n */\nfunction BooleanField(props) {\n const { schema, name, uiSchema, fieldPathId, formData, registry, required, disabled, readonly, hideError, autofocus, title, onChange, onFocus, onBlur, rawErrors, } = props;\n const { title: schemaTitle } = schema;\n const { widgets, translateString, globalUiOptions } = registry;\n const { widget = 'checkbox', title: uiTitle, \n // Unlike the other fields, don't use `getDisplayLabel()` since it always returns false for the boolean type\n label: displayLabel = true, enumNames, ...options } = getUiOptions(uiSchema, globalUiOptions);\n const Widget = getWidget(schema, widget, widgets);\n const yes = translateString(TranslatableString.YesLabel);\n const no = translateString(TranslatableString.NoLabel);\n let enumOptions;\n const label = uiTitle ?? schemaTitle ?? title ?? name;\n if (Array.isArray(schema.oneOf)) {\n enumOptions = optionsList({\n oneOf: schema.oneOf\n .map((option) => {\n if (isObject(option)) {\n return {\n ...option,\n title: option.title || (option.const === true ? yes : no),\n };\n }\n return undefined;\n })\n .filter((o) => o), // cast away the error that typescript can't grok is fixed\n }, uiSchema);\n }\n else {\n const enums = schema.enum ?? [true, false];\n if (!enumNames && enums.length === 2 && enums.every((v) => typeof v === 'boolean')) {\n enumOptions = [\n {\n value: enums[0],\n label: enums[0] ? yes : no,\n },\n {\n value: enums[1],\n label: enums[1] ? yes : no,\n },\n ];\n }\n else {\n enumOptions = optionsList({ enum: enums }, uiSchema);\n }\n }\n const onWidgetChange = useCallback((value, errorSchema, id) => onChange(value, fieldPathId.path, errorSchema, id), [onChange, fieldPathId]);\n return (_jsx(Widget, { options: { ...options, enumOptions }, schema: schema, uiSchema: uiSchema, id: fieldPathId.$id, name: name, onChange: onWidgetChange, onFocus: onFocus, onBlur: onBlur, label: label, hideLabel: !displayLabel, value: formData, required: required, disabled: disabled, readonly: readonly, hideError: hideError, registry: registry, autofocus: autofocus, rawErrors: rawErrors, htmlName: fieldPathId.name }));\n}\nexport default BooleanField;\n", "import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { useState } from 'react';\nimport { getTemplate, getUiOptions, RJSF_REF_CYCLE_KEY } from '@rjsf/utils';\n/** The `CyclicSchemaField` component is used to render a field in the schema that is marked with RJSF_REF_CYCLE_KEY ===\n * true\n *\n * @param props - The `FieldProps` for this template\n */\nexport default function CyclicSchemaField(props) {\n const [expanded, setExpanded] = useState(false);\n const { name, registry, schema, uiSchema, fieldPathId } = props;\n const { globalUiOptions } = registry;\n const uiOptions = getUiOptions(uiSchema, globalUiOptions);\n const CyclicSchemaExpandTemplate = getTemplate('CyclicSchemaExpandTemplate', registry, uiOptions);\n if (!expanded) {\n return (_jsx(CyclicSchemaExpandTemplate, { registry: registry, schema: schema, uiSchema: uiSchema, name: name, fieldPathId: fieldPathId, onExpand: () => setExpanded(true) }));\n }\n const { fields } = registry;\n const { SchemaField } = fields;\n return _jsx(SchemaField, { ...props, schema: { ...schema, [RJSF_REF_CYCLE_KEY]: false } });\n}\n", "import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { useMemo, useState } from 'react';\nimport { getTemplate, getUiOptions, hashObject, toFieldPathId, TranslatableString, useDeepCompareMemo, } from '@rjsf/utils';\n/**\n * Get the schema for the type selection component.\n * @param title - The translated title for the type selection schema.\n */\nfunction getFallbackTypeSelectionSchema(title) {\n return {\n type: 'string',\n enum: ['string', 'number', 'boolean', 'object', 'array'],\n default: 'string',\n title,\n };\n}\n/**\n * Determines the JSON Schema type of the given formData.\n * @param formData - The form data whose type is to be determined.\n */\nfunction getTypeOfFormData(formData) {\n const dataType = typeof formData;\n if (dataType === 'string' || dataType === 'number' || dataType === 'boolean') {\n return dataType;\n }\n if (dataType === 'object') {\n return Array.isArray(formData) ? 'array' : 'object';\n }\n // Treat everything else as a string\n return 'string';\n}\n/**\n * Casts the given formData to the specified type.\n * @param formData - The form data to be casted.\n * @param newType - The target type to which the form data should be casted.\n */\nfunction castToNewType(formData, newType) {\n switch (newType) {\n case 'string':\n return String(formData);\n case 'number': {\n const castedNumber = Number(formData);\n return (Number.isNaN(castedNumber) ? 0 : castedNumber);\n }\n case 'boolean':\n return Boolean(formData);\n default:\n return formData;\n }\n}\n/**\n * The `FallbackField` component is used to render a field for unsupported or unknown schema types. If\n * `useFallbackUiForUnsupportedType` is enabled in the `globalUiOptions`, it provides a type selector\n */\nexport default function FallbackField(props) {\n const { id, formData, displayLabel = true, schema, name, uiSchema, required, disabled = false, readonly = false, onBlur, onFocus, registry, fieldPathId, onChange, errorSchema, } = props;\n const { translateString, fields, globalFormOptions } = registry;\n const [type, setType] = useState(getTypeOfFormData(formData));\n const uiOptions = getUiOptions(uiSchema);\n const typeSelectorInnerFieldPathId = useDeepCompareMemo(toFieldPathId('__internal_type_selector', globalFormOptions, fieldPathId));\n const schemaTitle = translateString(TranslatableString.Type);\n const typesOptionSchema = useMemo(() => getFallbackTypeSelectionSchema(schemaTitle), [schemaTitle]);\n const onTypeChange = (newType) => {\n if (newType != null) {\n setType(newType);\n onChange(castToNewType(formData, newType), fieldPathId.path, errorSchema, id);\n }\n };\n if (!globalFormOptions.useFallbackUiForUnsupportedType) {\n const { reason = translateString(TranslatableString.UnknownFieldType, [String(schema.type)]) } = props;\n const UnsupportedFieldTemplate = getTemplate('UnsupportedFieldTemplate', registry, uiOptions);\n return _jsx(UnsupportedFieldTemplate, { schema: schema, fieldPathId: fieldPathId, reason: reason, registry: registry });\n }\n const FallbackFieldTemplate = getTemplate('FallbackFieldTemplate', registry, uiOptions);\n const { SchemaField } = fields;\n return (_jsx(FallbackFieldTemplate, { schema: schema, registry: registry, typeSelector: _jsx(SchemaField, { fieldPathId: typeSelectorInnerFieldPathId, name: `${name}__fallback_type`, schema: typesOptionSchema, formData: type, onChange: onTypeChange, onBlur: onBlur, onFocus: onFocus, registry: registry, hideLabel: !displayLabel, disabled: disabled, readonly: readonly, required: required }, formData ? hashObject(formData) : '__empty__'), schemaField: _jsx(SchemaField, { ...props, schema: {\n type,\n title: translateString(TranslatableString.Value),\n ...(type === 'object' && { additionalProperties: true }),\n } }) }));\n}\n", "import { createElement as _createElement } from \"react\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { ANY_OF_KEY, getDiscriminatorFieldFromSchema, getTemplate, getTestIds, getUiOptions, hashObject, ID_KEY, lookupFromFormContext, ONE_OF_KEY, PROPERTIES_KEY, READONLY_KEY, toFieldPathId, UI_OPTIONS_KEY, UI_GLOBAL_OPTIONS_KEY, ITEMS_KEY, useDeepCompareMemo, } from '@rjsf/utils';\nimport each from 'lodash-es/each.js';\nimport flatten from 'lodash-es/flatten.js';\nimport get from 'lodash-es/get.js';\nimport has from 'lodash-es/has.js';\nimport includes from 'lodash-es/includes.js';\nimport intersection from 'lodash-es/intersection.js';\nimport isEmpty from 'lodash-es/isEmpty.js';\nimport isEqual from 'lodash-es/isEqual.js';\nimport isFunction from 'lodash-es/isFunction.js';\nimport isObject from 'lodash-es/isObject.js';\nimport isPlainObject from 'lodash-es/isPlainObject.js';\nimport isString from 'lodash-es/isString.js';\nimport isUndefined from 'lodash-es/isUndefined.js';\nimport last from 'lodash-es/last.js';\nimport set from 'lodash-es/set.js';\n/** The enumeration of the three different Layout GridTemplate type values\n */\nexport var GridType;\n(function (GridType) {\n GridType[\"ROW\"] = \"ui:row\";\n GridType[\"COLUMN\"] = \"ui:col\";\n GridType[\"COLUMNS\"] = \"ui:columns\";\n GridType[\"CONDITION\"] = \"ui:condition\";\n})(GridType || (GridType = {}));\n/** The enumeration of the different operators within a condition\n */\nexport var Operators;\n(function (Operators) {\n Operators[\"ALL\"] = \"all\";\n Operators[\"SOME\"] = \"some\";\n Operators[\"NONE\"] = \"none\";\n})(Operators || (Operators = {}));\n/** The regular expression that is used to detect whether a string contains a lookup key\n */\nexport const LOOKUP_REGEX = /^\\$lookup=(.+)/;\n/** The constant representing the main layout grid schema option name in the `uiSchema`\n */\nexport const LAYOUT_GRID_UI_OPTION = 'layoutGrid';\n/** The constant representing the main layout grid schema option name in the `uiSchema`\n */\nexport const LAYOUT_GRID_OPTION = `ui:${LAYOUT_GRID_UI_OPTION}`;\n/** Returns either the `value` if it is non-nullish or the fallback\n *\n * @param [value] - The potential value to return if it is non-nullish\n * @param [fallback] - The fallback value to return if `value` is nullish\n * @returns - `value` if it is non-nullish otherwise `fallback`\n */\nfunction getNonNullishValue(value, fallback) {\n return value ?? fallback;\n}\n/** Detects if a `str` is made up entirely of numeric characters\n *\n * @param str - The string to check to see if it is a numeric index\n * @return - True if the string consists entirely of numeric characters\n */\nfunction isNumericIndex(str) {\n return /^\\d+?$/.test(str); // Matches positive integers\n}\nconst LAYOUT_GRID_FIELD_TEST_IDS = getTestIds();\n/** Computes the uiSchema for the field with `name` from the `uiProps` and `uiSchema` provided. The field UI Schema\n * will always contain a copy of the global options from the `uiSchema` (so they can be passed down) as well as\n * copying them into the local ui options. When the `forceReadonly` flag is true, then the field UI Schema is\n * updated to make \"readonly\" be true. When the `schemaReadonly` flag is true AND the field UI Schema does NOT have\n * the flag already provided, then we also make \"readonly\" true. We always make sure to return the final value of the\n * field UI Schema's \"readonly\" flag as `uiReadonly` along with the `fieldUiSchema` in the return value.\n *\n * @param field - The name of the field to pull the existing UI Schema for\n * @param uiProps - Any props that should be put into the field's uiSchema\n * @param [uiSchema] - The optional UI Schema from which to get the UI schema for the field\n * @param [schemaReadonly] - Optional flag indicating whether the schema indicates the field is readonly\n * @param [forceReadonly] - Optional flag indicating whether the Form itself is in readonly mode\n */\nexport function computeFieldUiSchema(field, uiProps, uiSchema, schemaReadonly, forceReadonly) {\n const globalUiOptions = get(uiSchema, [UI_GLOBAL_OPTIONS_KEY], {});\n const localUiSchema = get(uiSchema, field);\n const localUiOptions = { ...get(localUiSchema, [UI_OPTIONS_KEY], {}), ...uiProps, ...globalUiOptions };\n const fieldUiSchema = { ...localUiSchema };\n if (!isEmpty(localUiOptions)) {\n set(fieldUiSchema, [UI_OPTIONS_KEY], localUiOptions);\n }\n if (!isEmpty(globalUiOptions)) {\n // pass the global uiOptions down to the field uiSchema so that they can be applied to all nested fields\n set(fieldUiSchema, [UI_GLOBAL_OPTIONS_KEY], globalUiOptions);\n }\n let { readonly: uiReadonly } = getUiOptions(fieldUiSchema);\n if (forceReadonly === true || (isUndefined(uiReadonly) && schemaReadonly === true)) {\n // If we are forcing all widgets to be readonly, OR the schema indicates it is readonly AND the uiSchema does not\n // have an overriding value, then update the uiSchema to set readonly to true. Doing this will\n uiReadonly = true;\n if (has(localUiOptions, READONLY_KEY)) {\n // If the local options has the key value provided in it, then set that one to true\n set(fieldUiSchema, [UI_OPTIONS_KEY, READONLY_KEY], true);\n }\n else {\n // otherwise set the `ui:` version\n set(fieldUiSchema, `ui:${READONLY_KEY}`, true);\n }\n }\n return { fieldUiSchema, uiReadonly };\n}\n/** Given an `operator`, `datum` and `value` determines whether this condition is considered matching. Matching\n * depends on the `operator`. The `datum` and `value` are converted into arrays if they aren't already and then the\n * contents of the two arrays are compared using the `operator`. When `operator` is All, then the two arrays must be\n * equal to match. When `operator` is SOME then the intersection of the two arrays must have at least one value in\n * common to match. When `operator` is NONE then the intersection of the two arrays must not have any values in common\n * to match.\n *\n * @param [operator] - The optional operator for the condition\n * @param [datum] - The optional datum for the condition, this can be an item or a list of items of type unknown\n * @param [value='$0m3tH1nG Un3xP3cT3d'] The optional value for the condition, defaulting to a highly unlikely value\n * to avoid comparing two undefined elements when `value` was forgotten in the condition definition.\n * This can be an item or a list of items of type unknown\n * @returns - True if the condition matches, false otherwise\n */\nexport function conditionMatches(operator, datum, value = '$0m3tH1nG Un3xP3cT3d') {\n const data = flatten([datum]).sort();\n const values = flatten([value]).sort();\n switch (operator) {\n case Operators.ALL:\n return isEqual(data, values);\n case Operators.SOME:\n return intersection(data, values).length > 0;\n case Operators.NONE:\n return intersection(data, values).length === 0;\n default:\n return false;\n }\n}\n/** From within the `layoutGridSchema` finds the `children` and any extra `gridProps` from the object keyed by\n * `schemaKey`. If the `children` contains extra `gridProps` and those props contain a `className` string, try to\n * lookup whether that `className` has a replacement value in the `registry` using the `FORM_CONTEXT_LOOKUP_BASE`.\n * When the `className` value contains multiple classNames separated by a space, the lookup will look for a\n * replacement value for each `className` and combine them into one.\n *\n * @param layoutGridSchema - The GridSchemaType instance from which to obtain the `schemaKey` children and extra props\n * @param schemaKey - A `GridType` value, used to get the children and extra props from within the `layoutGridSchema`\n * @param registry - The `@rjsf` Registry from which to look up `classNames` if they are present in the extra props\n * @returns - An object containing the list of `LayoutGridSchemaType` `children` and any extra `gridProps`\n * @throws - A `TypeError` when the `children` is not an array\n */\nexport function findChildrenAndProps(layoutGridSchema, schemaKey, registry) {\n let gridProps = {};\n let children = layoutGridSchema[schemaKey];\n if (isPlainObject(children)) {\n const { children: elements, className: toMapClassNames, ...otherProps } = children;\n children = elements;\n if (toMapClassNames) {\n const classes = toMapClassNames.split(' ');\n const className = classes.map((ele) => lookupFromFormContext(registry, ele, ele)).join(' ');\n gridProps = { ...otherProps, className };\n }\n else {\n gridProps = otherProps;\n }\n }\n if (!Array.isArray(children)) {\n throw new TypeError(`Expected array for \"${schemaKey}\" in ${JSON.stringify(layoutGridSchema)}`);\n }\n return { children: children, gridProps };\n}\n/** Computes the `rawSchema` and `fieldPathId` for a `schema` and a `potentialIndex`. If the `schema` is of type array,\n * has an `ITEMS_KEY` element and `potentialIndex` represents a numeric value, the element at `ITEMS_KEY` is checked\n * to see if it is an array. If it is AND the `potentialIndex`th element is available, it is used as the `rawSchema`,\n * otherwise the last value of the element is used. If it is not, then the element is used as the `rawSchema`. In\n * either case, an `fieldPathId` is computed for the array index. If the `schema` does not represent an array or the\n * `potentialIndex` is not a numeric value, then `rawSchema` is returned as undefined and given `fieldPathId` is returned\n * as is.\n *\n * @param schema - The schema to generate the fieldPathId for\n * @param fieldPathId - The FieldPathId for the schema\n * @param potentialIndex - A string containing a potential index\n * @returns - An object containing the `rawSchema` and `fieldPathId` of an array item, otherwise an undefined `rawSchema`\n */\nexport function computeArraySchemasIfPresent(schema, fieldPathId, potentialIndex) {\n let rawSchema;\n let resultPathId = fieldPathId;\n if (isNumericIndex(potentialIndex) && schema && schema?.type === 'array' && has(schema, ITEMS_KEY)) {\n const index = Number(potentialIndex);\n const items = schema[ITEMS_KEY];\n if (Array.isArray(items)) {\n if (index > items.length) {\n rawSchema = last(items);\n }\n else {\n rawSchema = items[index];\n }\n }\n else {\n rawSchema = items;\n }\n resultPathId = {\n [ID_KEY]: fieldPathId[ID_KEY],\n path: [...fieldPathId.path.slice(0, fieldPathId.path.length - 1), index],\n };\n }\n return { rawSchema, fieldPathId: resultPathId };\n}\n/** Given a `dottedPath` to a field in the `initialSchema`, iterate through each individual path in the schema until\n * the leaf path is found and returned (along with whether that leaf path `isRequired`) OR no schema exists for an\n * element in the path. If the leaf schema element happens to be a oneOf/anyOf then also return the oneOf/anyOf as\n * `options`.\n *\n * @param registry - The registry\n * @param dottedPath - The dotted-path to the field for which to get the schema\n * @param initialSchema - The initial schema to start the search from\n * @param formData - The formData, useful for resolving a oneOf/anyOf selection in the path hierarchy\n * @param initialFieldIdPath - The initial fieldPathId to start the search from\n * @returns - An object containing the destination schema, isRequired and isReadonly flags for the field and options\n * info if a oneOf/anyOf\n */\nexport function getSchemaDetailsForField(registry, dottedPath, initialSchema, formData, initialFieldIdPath) {\n const { schemaUtils, globalFormOptions } = registry;\n let rawSchema = initialSchema;\n let fieldPathId = initialFieldIdPath;\n const parts = dottedPath.split('.');\n const leafPath = parts.pop(); // pop off the last element in the list as the leaf\n let schema = schemaUtils.retrieveSchema(rawSchema, formData); // always returns an object\n let innerData = formData;\n let isReadonly = schema.readOnly;\n // For all the remaining path parts\n parts.forEach((part) => {\n // dive into the properties of the current schema (when it exists) and get the schema for the next part\n fieldPathId = toFieldPathId(part, globalFormOptions, fieldPathId);\n if (has(schema, PROPERTIES_KEY)) {\n rawSchema = get(schema, [PROPERTIES_KEY, part], {});\n }\n else if (schema && (has(schema, ONE_OF_KEY) || has(schema, ANY_OF_KEY))) {\n const xxx = has(schema, ONE_OF_KEY) ? ONE_OF_KEY : ANY_OF_KEY;\n // When the schema represents a oneOf/anyOf, find the selected schema for it and grab the inner part\n const selectedSchema = schemaUtils.findSelectedOptionInXxxOf(schema, part, xxx, innerData);\n rawSchema = get(selectedSchema, [PROPERTIES_KEY, part], {});\n }\n else {\n const result = computeArraySchemasIfPresent(schema, fieldPathId, part);\n rawSchema = result.rawSchema ?? {};\n fieldPathId = result.fieldPathId;\n }\n // Now drill into the innerData for the part, returning an empty object by default if it doesn't exist\n innerData = get(innerData, part, {});\n // Resolve any `$ref`s for the current rawSchema\n schema = schemaUtils.retrieveSchema(rawSchema, innerData);\n isReadonly = getNonNullishValue(schema.readOnly, isReadonly);\n });\n let optionsInfo;\n let isRequired = false;\n // retrieveSchema will return an empty schema in the worst case scenario, convert it to undefined\n if (isEmpty(schema)) {\n schema = undefined;\n }\n if (schema && leafPath) {\n // When we have both a schema and a leafPath...\n if (schema && (has(schema, ONE_OF_KEY) || has(schema, ANY_OF_KEY))) {\n const xxx = has(schema, ONE_OF_KEY) ? ONE_OF_KEY : ANY_OF_KEY;\n // Grab the selected schema for the oneOf/anyOf value for the leafPath using the innerData\n schema = schemaUtils.findSelectedOptionInXxxOf(schema, leafPath, xxx, innerData);\n }\n fieldPathId = toFieldPathId(leafPath, globalFormOptions, fieldPathId);\n isRequired = schema !== undefined && Array.isArray(schema.required) && includes(schema.required, leafPath);\n const result = computeArraySchemasIfPresent(schema, fieldPathId, leafPath);\n if (result.rawSchema) {\n schema = result.rawSchema;\n fieldPathId = result.fieldPathId;\n }\n else {\n // Now grab the schema from the leafPath of the current schema properties\n schema = get(schema, [PROPERTIES_KEY, leafPath]);\n // Resolve any `$ref`s for the current schema\n schema = schema ? schemaUtils.retrieveSchema(schema) : schema;\n }\n isReadonly = getNonNullishValue(schema?.readOnly, isReadonly);\n if (schema && (has(schema, ONE_OF_KEY) || has(schema, ANY_OF_KEY))) {\n const xxx = has(schema, ONE_OF_KEY) ? ONE_OF_KEY : ANY_OF_KEY;\n // Set the options if we have a schema with a oneOf/anyOf\n const discriminator = getDiscriminatorFieldFromSchema(schema);\n optionsInfo = { options: schema[xxx], hasDiscriminator: !!discriminator };\n }\n }\n return { schema, isRequired, isReadonly, optionsInfo, fieldPathId };\n}\n/** Gets the custom render component from the `render`, by either determining that it is either already a function or\n * it is a non-function value that can be used to look up the function in the registry. If no function can be found,\n * null is returned.\n *\n * @param render - The potential render function or lookup name to one\n * @param registry - The `@rjsf` Registry from which to look up `classNames` if they are present in the extra props\n * @returns - Either a render function if available, or null if not\n */\nexport function getCustomRenderComponent(render, registry) {\n let customRenderer = render;\n if (isString(customRenderer)) {\n customRenderer = lookupFromFormContext(registry, customRenderer);\n }\n if (isFunction(customRenderer)) {\n return customRenderer;\n }\n return null;\n}\n/** Extract the `name`, and optional `render` and all other props from the `gridSchema`. We look up the `render` to\n * see if can be resolved to a UIComponent. If `name` does not exist and there is an optional `render` UIComponent, we\n * set the `rendered` component with only specified props for that component in the object.\n *\n * @param registry - The `@rjsf` Registry from which to look up `classNames` if they are present in the extra props\n * @param gridSchema - The string or object that represents the configuration for the grid field\n * @returns - The UIComponentPropsType computed from the gridSchema\n */\nexport function computeUIComponentPropsFromGridSchema(registry, gridSchema) {\n let name;\n let UIComponent = null;\n let uiProps = {};\n let rendered;\n if (isString(gridSchema) || isUndefined(gridSchema)) {\n name = gridSchema ?? '';\n }\n else {\n const { name: innerName = '', render, ...innerProps } = gridSchema;\n name = innerName;\n uiProps = innerProps;\n if (!isEmpty(uiProps)) {\n // Transform any `$lookup=` in the uiProps props with the appropriate value\n each(uiProps, (prop, key) => {\n if (isString(prop)) {\n const match = LOOKUP_REGEX.exec(prop);\n if (Array.isArray(match) && match.length > 1) {\n const lookupName = match[1];\n uiProps[key] = lookupFromFormContext(registry, lookupName, lookupName);\n }\n }\n });\n }\n UIComponent = getCustomRenderComponent(render, registry);\n if (!innerName && UIComponent) {\n rendered = _jsx(UIComponent, { ...innerProps, \"data-testid\": LAYOUT_GRID_FIELD_TEST_IDS.uiComponent });\n }\n }\n return { name, UIComponent, uiProps, rendered };\n}\n/** Iterates through all the `childrenLayoutGridSchemaId`, rendering a nested `LayoutGridField` for each item in the\n * list, passing all the props for the current `LayoutGridField` along, updating the `schema` by calling\n * `retrieveSchema()` on it to resolve any `$ref`s. In addition to the updated `schema`, each item in\n * `childrenLayoutGridSchemaId` is passed as `layoutGridSchema`.\n *\n * @returns - The nested `LayoutGridField`s\n */\nfunction LayoutGridFieldChildren(props) {\n const { childrenLayoutGridSchemaId, ...layoutGridFieldProps } = props;\n const { registry, schema: rawSchema, formData } = layoutGridFieldProps;\n const { schemaUtils } = registry;\n const schema = schemaUtils.retrieveSchema(rawSchema, formData);\n return childrenLayoutGridSchemaId.map((layoutGridSchema) => (_createElement(LayoutGridField, { ...layoutGridFieldProps, key: `layoutGrid-${hashObject(layoutGridSchema)}`, schema: schema, layoutGridSchema: layoutGridSchema })));\n}\n/** Renders the `children` of the `GridType.CONDITION` if it passes. The `layoutGridSchema` for the\n * `GridType.CONDITION` is separated into the `children` and other `gridProps`. The `gridProps` are used to extract\n * the `operator`, `field` and `value` of the condition. If the condition matches, then all of the `children` are\n * rendered, otherwise null is returned.\n *\n * @returns - The rendered the children for the `GridType.CONDITION` or null\n */\nfunction LayoutGridCondition(props) {\n const { layoutGridSchema, ...layoutGridFieldProps } = props;\n const { formData, registry } = layoutGridFieldProps;\n const { children, gridProps } = findChildrenAndProps(layoutGridSchema, GridType.CONDITION, registry);\n const { operator, field = '', value } = gridProps;\n const fieldData = get(formData, field, null);\n if (conditionMatches(operator, fieldData, value)) {\n return _jsx(LayoutGridFieldChildren, { ...layoutGridFieldProps, childrenLayoutGridSchemaId: children });\n }\n return null;\n}\n/** Renders a `GridTemplate` as an item. The `layoutGridSchema` for the `GridType.COLUMN` is separated into the\n * `children` and other `gridProps`. The `gridProps` will be spread onto the outer `GridTemplate`. Inside the\n * `GridTemplate` all the `children` are rendered.\n *\n * @returns - The rendered `GridTemplate` containing the children for the `GridType.COLUMN`\n */\nfunction LayoutGridCol(props) {\n const { layoutGridSchema, ...layoutGridFieldProps } = props;\n const { registry, uiSchema } = layoutGridFieldProps;\n const { children, gridProps } = findChildrenAndProps(layoutGridSchema, GridType.COLUMN, registry);\n const uiOptions = getUiOptions(uiSchema);\n const GridTemplate = getTemplate('GridTemplate', registry, uiOptions);\n return (_jsx(GridTemplate, { column: true, \"data-testid\": LAYOUT_GRID_FIELD_TEST_IDS.col, ...gridProps, children: _jsx(LayoutGridFieldChildren, { ...layoutGridFieldProps, childrenLayoutGridSchemaId: children }) }));\n}\n/** Renders a `GridTemplate` as an item. The `layoutGridSchema` for the `GridType.COLUMNS` is separated into the\n * `children` and other `gridProps`. The `children` is iterated on and `gridProps` will be spread onto the outer\n * `GridTemplate`. Each child will have their own rendered `GridTemplate`.\n *\n * @returns - The rendered `GridTemplate` containing the children for the `GridType.COLUMNS`\n */\nfunction LayoutGridColumns(props) {\n const { layoutGridSchema, ...layoutGridFieldProps } = props;\n const { registry, uiSchema } = layoutGridFieldProps;\n const { children, gridProps } = findChildrenAndProps(layoutGridSchema, GridType.COLUMNS, registry);\n const uiOptions = getUiOptions(uiSchema);\n const GridTemplate = getTemplate('GridTemplate', registry, uiOptions);\n return children.map((child) => (_jsx(GridTemplate, { column: true, \"data-testid\": LAYOUT_GRID_FIELD_TEST_IDS.col, ...gridProps, children: _jsx(LayoutGridFieldChildren, { ...layoutGridFieldProps, childrenLayoutGridSchemaId: [child] }) }, `column-${hashObject(child)}`)));\n}\n/** Renders a `GridTemplate` as a container. The `layoutGridSchema` for the `GridType.ROW` is separated into the\n * `children` and other `gridProps`. The `gridProps` will be spread onto the outer `GridTemplate`. Inside of the\n * `GridTemplate` all of the `children` are rendered.\n *\n * @returns - The rendered `GridTemplate` containing the children for the `GridType.ROW`\n */\nfunction LayoutGridRow(props) {\n const { layoutGridSchema, ...layoutGridFieldProps } = props;\n const { registry, uiSchema } = layoutGridFieldProps;\n const { children, gridProps } = findChildrenAndProps(layoutGridSchema, GridType.ROW, registry);\n const uiOptions = getUiOptions(uiSchema);\n const GridTemplate = getTemplate('GridTemplate', registry, uiOptions);\n return (_jsx(GridTemplate, { ...gridProps, \"data-testid\": LAYOUT_GRID_FIELD_TEST_IDS.row, children: _jsx(LayoutGridFieldChildren, { ...layoutGridFieldProps, childrenLayoutGridSchemaId: children }) }));\n}\n/** Renders the field described by `gridSchema`. If `gridSchema` is not an object, then is will be assumed\n * to be the dotted-path to the field in the schema. Otherwise, we extract the `name`, and optional `render` and all\n * other props. If `name` does not exist and there is an optional `render`, we return the `render` component with only\n * specified props for that component. If `name` exists, we take the name, the initial & root schemas and the formData\n * and get the destination schema, is required state and optional oneOf/anyOf options for it. If the destination\n * schema was located along with oneOf/anyOf options then a `LayoutMultiSchemaField` will be rendered with the\n * `uiSchema`, `errorSchema`, `fieldPathId` and `formData` drilled down to the dotted-path field, spreading any other\n * props from `gridSchema` into the `ui:options`. If the destination schema located without any oneOf/anyOf options,\n * then a `SchemaField` will be rendered with the same props as mentioned in the previous sentence. If no destination\n * schema was located, but a custom render component was found, then it will be rendered with many of the non-event\n * handling props. If none of the previous render paths are valid, then a null is returned.\n *\n * @returns - One of `LayoutMultiSchemaField`, `SchemaField`, a custom render component or null, depending\n */\nfunction LayoutGridFieldComponent(props) {\n const { gridSchema, schema: initialSchema, uiSchema, errorSchema, fieldPathId, onBlur, onFocus, formData, readonly, registry, layoutGridSchema, // Used to pull this out of otherProps since we don't want to pass it through\n ...otherProps } = props;\n const { onChange } = otherProps;\n const { fields } = registry;\n const { SchemaField, LayoutMultiSchemaField } = fields;\n const uiComponentProps = computeUIComponentPropsFromGridSchema(registry, gridSchema);\n const { name, UIComponent, uiProps } = uiComponentProps;\n const { schema, isRequired, isReadonly, optionsInfo, fieldPathId: fieldIdSchema, } = getSchemaDetailsForField(registry, name, initialSchema, formData, fieldPathId);\n const memoFieldPathId = useDeepCompareMemo(fieldIdSchema);\n if (uiComponentProps.rendered) {\n return uiComponentProps.rendered;\n }\n if (schema) {\n const Field = optionsInfo?.hasDiscriminator ? LayoutMultiSchemaField : SchemaField;\n // Call this function to get the appropriate UISchema, which will always have its `readonly` state matching the\n // `uiReadonly` flag that it returns. This is done since the `SchemaField` will always defer to the `readonly`\n // state in the uiSchema over anything in the props or schema. Because we are implementing the \"readonly\" state of\n // the `Form` via the prop passed to `LayoutGridField` we need to make sure the uiSchema always has a true value\n // when it is needed\n const { fieldUiSchema, uiReadonly } = computeFieldUiSchema(name, uiProps, uiSchema, isReadonly, readonly);\n return (_jsx(Field, { \"data-testid\": optionsInfo?.hasDiscriminator\n ? LAYOUT_GRID_FIELD_TEST_IDS.layoutMultiSchemaField\n : LAYOUT_GRID_FIELD_TEST_IDS.field, ...otherProps, name: name, required: isRequired, readonly: uiReadonly, schema: schema, uiSchema: fieldUiSchema, errorSchema: get(errorSchema, name), fieldPathId: memoFieldPathId, formData: get(formData, name), onChange: onChange, onBlur: onBlur, onFocus: onFocus, options: optionsInfo?.options, registry: registry }));\n }\n if (UIComponent) {\n return (_jsx(UIComponent, { \"data-testid\": LAYOUT_GRID_FIELD_TEST_IDS.uiComponent, ...otherProps, name: name, required: isRequired, formData: formData, readOnly: !!isReadonly || readonly, errorSchema: errorSchema, uiSchema: uiSchema, schema: initialSchema, fieldPathId: fieldPathId, onBlur: onBlur, onFocus: onFocus, registry: registry, ...uiProps }));\n }\n return null;\n}\n/** The `LayoutGridField` will render a schema, uiSchema and formData combination out into a GridTemplate in the shape\n * described in the uiSchema. To define the grid to use to render the elements within a field in the schema, provide in\n * the uiSchema for that field the object contained under a `ui:layoutGrid` element. E.g. (as a JSON object):\n *\n * ```\n * {\n * \"field1\" : {\n * \"ui:field\": \"LayoutGridField\",\n * \"ui:layoutGrid\": {\n * \"ui:row\": { ... }\n * }\n * }\n * }\n * ```\n *\n * The outermost level of a `LayoutGridField` is the `ui:row` that defines the nested rows, columns, and/or condition\n * elements (i.e. \"grid elements\") in the grid. This definition is either a simple \"grid elements\" OR an object with\n * native `GridTemplate` implementation specific props and a `children` array of \"grid elements\". E.g. (as JSON objects):\n *\n * Simple `ui:row` definition, without additional `GridTemplate` props:\n * ```\n * \"ui:row\": [\n * { \"ui:row\"|\"ui:col\"|\"ui:columns\"|\"ui:condition\": ... },\n * ...\n * ]\n * ```\n *\n * Complex `ui:row` definition, with additional `GridTemplate` (this example uses @mui/material/Grid2 native props):\n * ```\n * \"ui:row\": {\n * \"spacing\": 2,\n * \"size\": { md\": 4 },\n * \"alignContent\": \"flex-start\",\n * \"className\": \"GridRow\",\n * \"children\": [\n * { \"ui:row\"|\"ui:col\"|\"ui:columns\"|\"ui:condition\": ... },\n * ...\n * ]\n * }\n * ```\n *\n * NOTE: Special note about the native `className` prop values. All className values will automatically be looked up in\n * the `formContext.lookupMap` in case they have been defined using a CSS-in-JS approach. In other words, from the\n * example above, if the `Form` was constructed with a `lookupMap` set to `{ GridRow: cssInJs.GridRowClass }`\n * then when rendered, the native `GridTemplate` will get the `className` with the value from\n * `cssInJs.GridRowClass`. This automatic lookup will happen for any of the \"grid elements\" when rendering with\n * `GridTemplate` props. If multiple className values are present, for example:\n * `{ className: 'GridRow GridColumn' }`, the classNames are split apart, looked up individually, and joined\n * together to form one className with the values from `cssInJs.GridRowClass` and `cssInJs.GridColumnClass`.\n *\n * The `ui:col` grid element is used to specify the list of columns within a grid row. A `ui:col` element can take on\n * several forms: 1) a simple list of dotted-path field names within the root field; 2) a list of objects containing the\n * dotted-path field `name` any other props that are gathered into `ui:options` for the field; 3) a list with a one-off\n * `render` functional component with or without a non-field `name` identifier and any other to-be-spread props; and\n * 4) an object with native `GridTemplate` implementation specific props and a `children` array with 1) or 2) or even a\n * nested `ui:row` or a `ui:condition` containing a `ui:row` (although this should be used carefully). E.g.\n * (as JSON objects):\n *\n * Simple `ui:col` definition, without additional `GridTemplate` props and form 1 only children:\n * ```\n * \"ui:col\": [\"innerField\", \"inner.grandChild\", ...]\n * ```\n *\n * Complicated `ui:col` definition, without additional `GridTemplate` props and form 2 only children:\n * ```\n * \"ui:col\": [\n * { \"name\": \"innerField\", \"fullWidth\": true },\n * { \"name\": \"inner.grandChild\", \"convertOther\": true },\n * ...\n * ]\n * ```\n *\n * More complicated `ui:col` definition, without additional `GridTemplate` props and form 2 children, one being a\n * one-off `render` functional component without a non-field `name` identifier\n * ```\n * \"ui:col\": [\n * \"innerField\",\n * {\n * \"render\": \"WizardNavButton\",\n * \"isNext\": true,\n * \"size\": \"large\"\n * }\n * ]\n * ```\n *\n * Most complicated `ui:col` definition, additional `GridTemplate` props and form 1, 2 and 3 children (this example\n * uses @mui/material/Grid2 native props):\n * ```\n * \"ui:col\": {\n * \"size\": { \"md\": 4 },\n * \"className\": \"GridColumn\",\n * \"children\": [\n * \"innerField\",\n * { \"name\": \"inner.grandChild\", \"convertOther\": true },\n * { \"name\": \"customRender\", \"render\": \"CustomRender\", toSpread: \"prop-value\" }\n * { \"ui:row|ui:condition\": ... }\n * ...\n * ]\n * }\n * ```\n *\n * NOTE: If a `name` prop does not exist or its value does not match any field in a schema, then it is assumed to be a\n * custom `render` component. If the `render` prop does not exist, a null render will occur. If `render` is a\n * string, its value will be looked up in the `formContext.lookupMap` first before defaulting to a null render.\n *\n * The `ui:columns` grid element is syntactic sugar to specify a set of `ui:col` columns that all share the same set of\n * native `GridTemplate` props. In other words rather than writing the following configuration that renders a\n * `<GridTemplate>` element with 3 `<GridTemplate column className=\"GridColumn col-md-4\">` nodes and 2\n * `<GridTemplate column className=\"col-md-6\">` nodes within it (one for each of the fields contained in the `children`\n * list):\n *\n * ```\n * \"ui:row\": {\n * \"children\": [\n * {\n * \"ui:col\": {\n * \"className\": \"GridColumn col-md-4\",\n * \"children\": [\"innerField\"],\n * }\n * },\n * {\n * \"ui:col\": {\n * \"className\": \"GridColumn col-md-4\",\n * \"children\": [\"inner.grandChild\"],\n * }\n * },\n * {\n * \"ui:col\": {\n * \"className\": \"GridColumn col-md-4\",\n * \"children\": [{ \"name\": \"inner.grandChild2\" }],\n * }\n * },\n * {\n * \"ui:col\": {\n * \"className\": \"col-md-6\",\n * \"children\": [\"innerField2\"],\n * }\n * },\n * {\n * \"ui:col\": {\n * \"className\": \"col-md-6\",\n * \"children\": [\"inner.grandChild3\"],\n * }\n * },\n\n * ]\n * }\n * ```\n *\n * One can write this instead:\n * ```\n * \"ui:row\": {\n * \"children\": [\n * {\n * \"ui:columns\": {\n * \"className\": \"GridColumn col-md-4\",\n * \"children\": [\"innerField\", \"inner.grandChild\", { \"name\": \"inner.grandChild2\", \"convertOther\": true }],\n * }\n * },\n * {\n * \"ui:columns\": {\n * \"className\": \"col-md-6\",\n * \"children\": [\"innerField2\", \"inner.grandChild3\"],\n * }\n * }\n * ]\n * }\n * ```\n *\n * NOTE: This syntax differs from\n * `\"ui:col\": { \"className\": \"col-md-6\", \"children\": [\"innerField2\", \"inner.grandChild3\"] }` in that\n * the `ui:col` will render the two children fields inside a single `<GridTemplate \"className\": \"col-md-6\",>`\n * element.\n *\n * The final grid element, `ui:condition`, allows for conditionally displaying \"grid elements\" within a row based on the\n * current value of a field as it relates to a (list of) hard-coded value(s). There are four elements that make up a\n * `ui:condition`: 1) the dotted-path `field` name within the root field that makes up the left-side of the condition;\n * 2) the hard-coded `value` (single or list) that makes up the right-side of the condition; 3) the `operator` that\n * controls how the left and right sides of the condition are compared; and 4) the `children` array that defines the\n * \"grid elements\" to display if the condition passes.\n *\n * A `ui:condition` uses one of three `operators` when deciding if a condition passes: 1) The `all` operator will pass\n * when the right-side and left-side contains all the same value(s); 2) the `some` operator will pass when the\n * right-side and left-side contain as least one value in common; 3) the `none` operator will pass when the right-side\n * and left-side do not contain any values in common. E.g. (as JSON objects):\n *\n * Here is how to render an if-then-else for `field2` which is an enum that has 3 known values and supports allowing\n * any other value:\n * ```\n * \"ui:row\": [\n * {\n * \"ui:condition\": {\n * \"field\": \"field2\",\n * \"operator\": \"all\",\n * \"value\": \"value1\",\n * \"children\": [\n * { \"ui:row\": [...] },\n * ],\n * }\n * },\n * {\n * \"ui:condition\": {\n * \"field\": \"field2\",\n * \"operator\": \"some\",\n * \"value\": [\"value2\", \"value3\"],\n * \"children\": [\n * { \"ui:row\": [...] },\n * ],\n * }\n * },\n * {\n * \"ui:condition\": {\n * \"field\": \"field2\",\n * \"operator\": \"none\",\n * \"value\": [\"value1\", \"value2\", \"value3\"],\n * \"children\": [\n * { \"ui:row\": [...] },\n * ],\n * }\n * }\n * ]\n * ```\n */\nexport default function LayoutGridField(props) {\n /** Render the `LayoutGridField`. If there isn't a `layoutGridSchema` prop defined, then try pulling it out of the\n * `uiSchema` via `ui:LayoutGridField`. If `layoutGridSchema` is an object, then check to see if any of the properties\n * match one of the `GridType`s. If so, call the appropriate render function for the type. Otherwise, just call the\n * generic `renderField()` function with the `layoutGridSchema`.\n */\n const { uiSchema } = props;\n let { layoutGridSchema } = props;\n const uiOptions = getUiOptions(uiSchema);\n if (!layoutGridSchema && LAYOUT_GRID_UI_OPTION in uiOptions && isObject(uiOptions[LAYOUT_GRID_UI_OPTION])) {\n layoutGridSchema = uiOptions[LAYOUT_GRID_UI_OPTION];\n }\n if (isObject(layoutGridSchema)) {\n if (GridType.ROW in layoutGridSchema) {\n return _jsx(LayoutGridRow, { ...props, layoutGridSchema: layoutGridSchema });\n }\n if (GridType.COLUMN in layoutGridSchema) {\n return _jsx(LayoutGridCol, { ...props, layoutGridSchema: layoutGridSchema });\n }\n if (GridType.COLUMNS in layoutGridSchema) {\n return _jsx(LayoutGridColumns, { ...props, layoutGridSchema: layoutGridSchema });\n }\n if (GridType.CONDITION in layoutGridSchema) {\n return _jsx(LayoutGridCondition, { ...props, layoutGridSchema: layoutGridSchema });\n }\n }\n return _jsx(LayoutGridFieldComponent, { ...props, gridSchema: layoutGridSchema });\n}\nLayoutGridField.TEST_IDS = LAYOUT_GRID_FIELD_TEST_IDS;\n", "import arrayMap from './_arrayMap.js';\n\n/**\n * The base implementation of `_.values` and `_.valuesIn` which creates an\n * array of `object` property values corresponding to the property names\n * of `props`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array} props The property names to get values for.\n * @returns {Object} Returns the array of property values.\n */\nfunction baseValues(object, props) {\n return arrayMap(props, function(key) {\n return object[key];\n });\n}\n\nexport default baseValues;\n", "import baseValues from './_baseValues.js';\nimport keys from './keys.js';\n\n/**\n * Creates an array of the own enumerable string keyed property values of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property values.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.values(new Foo);\n * // => [1, 2] (iteration order is not guaranteed)\n *\n * _.values('hi');\n * // => ['h', 'i']\n */\nfunction values(object) {\n return object == null ? [] : baseValues(object, keys(object));\n}\n\nexport default values;\n", "import baseIndexOf from './_baseIndexOf.js';\nimport isArrayLike from './isArrayLike.js';\nimport isString from './isString.js';\nimport toInteger from './toInteger.js';\nimport values from './values.js';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max;\n\n/**\n * Checks if `value` is in `collection`. If `collection` is a string, it's\n * checked for a substring of `value`, otherwise\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * is used for equality comparisons. If `fromIndex` is negative, it's used as\n * the offset from the end of `collection`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object|string} collection The collection to inspect.\n * @param {*} value The value to search for.\n * @param {number} [fromIndex=0] The index to search from.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.reduce`.\n * @returns {boolean} Returns `true` if `value` is found, else `false`.\n * @example\n *\n * _.includes([1, 2, 3], 1);\n * // => true\n *\n * _.includes([1, 2, 3], 1, 2);\n * // => false\n *\n * _.includes({ 'a': 1, 'b': 2 }, 1);\n * // => true\n *\n * _.includes('abcd', 'bc');\n * // => true\n */\nfunction includes(collection, value, fromIndex, guard) {\n collection = isArrayLike(collection) ? collection : values(collection);\n fromIndex = (fromIndex && !guard) ? toInteger(fromIndex) : 0;\n\n var length = collection.length;\n if (fromIndex < 0) {\n fromIndex = nativeMax(length + fromIndex, 0);\n }\n return isString(collection)\n ? (fromIndex <= length && collection.indexOf(value, fromIndex) > -1)\n : (!!length && baseIndexOf(collection, value, fromIndex) > -1);\n}\n\nexport default includes;\n", "import SetCache from './_SetCache.js';\nimport arrayIncludes from './_arrayIncludes.js';\nimport arrayIncludesWith from './_arrayIncludesWith.js';\nimport arrayMap from './_arrayMap.js';\nimport baseUnary from './_baseUnary.js';\nimport cacheHas from './_cacheHas.js';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMin = Math.min;\n\n/**\n * The base implementation of methods like `_.intersection`, without support\n * for iteratee shorthands, that accepts an array of arrays to inspect.\n *\n * @private\n * @param {Array} arrays The arrays to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of shared values.\n */\nfunction baseIntersection(arrays, iteratee, comparator) {\n var includes = comparator ? arrayIncludesWith : arrayIncludes,\n length = arrays[0].length,\n othLength = arrays.length,\n othIndex = othLength,\n caches = Array(othLength),\n maxLength = Infinity,\n result = [];\n\n while (othIndex--) {\n var array = arrays[othIndex];\n if (othIndex && iteratee) {\n array = arrayMap(array, baseUnary(iteratee));\n }\n maxLength = nativeMin(array.length, maxLength);\n caches[othIndex] = !comparator && (iteratee || (length >= 120 && array.length >= 120))\n ? new SetCache(othIndex && array)\n : undefined;\n }\n array = arrays[0];\n\n var index = -1,\n seen = caches[0];\n\n outer:\n while (++index < length && result.length < maxLength) {\n var value = array[index],\n computed = iteratee ? iteratee(value) : value;\n\n value = (comparator || value !== 0) ? value : 0;\n if (!(seen\n ? cacheHas(seen, computed)\n : includes(result, computed, comparator)\n )) {\n othIndex = othLength;\n while (--othIndex) {\n var cache = caches[othIndex];\n if (!(cache\n ? cacheHas(cache, computed)\n : includes(arrays[othIndex], computed, comparator))\n ) {\n continue outer;\n }\n }\n if (seen) {\n seen.push(computed);\n }\n result.push(value);\n }\n }\n return result;\n}\n\nexport default baseIntersection;\n", "import isArrayLikeObject from './isArrayLikeObject.js';\n\n/**\n * Casts `value` to an empty array if it's not an array like object.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {Array|Object} Returns the cast array-like object.\n */\nfunction castArrayLikeObject(value) {\n return isArrayLikeObject(value) ? value : [];\n}\n\nexport default castArrayLikeObject;\n", "import arrayMap from './_arrayMap.js';\nimport baseIntersection from './_baseIntersection.js';\nimport baseRest from './_baseRest.js';\nimport castArrayLikeObject from './_castArrayLikeObject.js';\n\n/**\n * Creates an array of unique values that are included in all given arrays\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons. The order and references of result values are\n * determined by the first array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @returns {Array} Returns the new array of intersecting values.\n * @example\n *\n * _.intersection([2, 1], [2, 3]);\n * // => [2]\n */\nvar intersection = baseRest(function(arrays) {\n var mapped = arrayMap(arrays, castArrayLikeObject);\n return (mapped.length && mapped[0] === arrays[0])\n ? baseIntersection(mapped)\n : [];\n});\n\nexport default intersection;\n", "import baseIsEqual from './_baseIsEqual.js';\n\n/**\n * Performs a deep comparison between two values to determine if they are\n * equivalent.\n *\n * **Note:** This method supports comparing arrays, array buffers, booleans,\n * date objects, error objects, maps, numbers, `Object` objects, regexes,\n * sets, strings, symbols, and typed arrays. `Object` objects are compared\n * by their own, not inherited, enumerable properties. Functions and DOM\n * nodes are compared by strict equality, i.e. `===`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.isEqual(object, other);\n * // => true\n *\n * object === other;\n * // => false\n */\nfunction isEqual(value, other) {\n return baseIsEqual(value, other);\n}\n\nexport default isEqual;\n", "/**\n * Checks if `value` is `undefined`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `undefined`, else `false`.\n * @example\n *\n * _.isUndefined(void 0);\n * // => true\n *\n * _.isUndefined(null);\n * // => false\n */\nfunction isUndefined(value) {\n return value === undefined;\n}\n\nexport default isUndefined;\n", "import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { getTemplate, getUiOptions, titleId } from '@rjsf/utils';\n/** The `LayoutHeaderField` component renders a `TitleFieldTemplate` with an `id` derived from the `fieldPathId`\n * and whether it is `required` from the props. The `title` is derived from the props as follows:\n * - If there is a title in the `uiSchema`, it is displayed\n * - Else, if there is an explicit `title` passed in the props, it is displayed\n * - Otherwise, if there is a title in the `schema`, it is displayed\n * - Finally, the `name` prop is displayed as the title\n *\n * @param props - The `LayoutHeaderField` for the component\n */\nexport default function LayoutHeaderField(props) {\n const { fieldPathId, title, schema, uiSchema, required, registry, name } = props;\n const options = getUiOptions(uiSchema, registry.globalUiOptions);\n const { title: uiTitle } = options;\n const { title: schemaTitle } = schema;\n const fieldTitle = uiTitle || title || schemaTitle || name;\n if (!fieldTitle) {\n return null;\n }\n const TitleFieldTemplate = getTemplate('TitleFieldTemplate', registry, options);\n return (_jsx(TitleFieldTemplate, { id: titleId(fieldPathId), title: fieldTitle, required: required, schema: schema, uiSchema: uiSchema, registry: registry }));\n}\n", "import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { useState, useEffect } from 'react';\nimport { ANY_OF_KEY, CONST_KEY, DEFAULT_KEY, ERRORS_KEY, getDiscriminatorFieldFromSchema, hashObject, ID_KEY, ONE_OF_KEY, optionsList, PROPERTIES_KEY, getTemplate, getUiOptions, getWidget, } from '@rjsf/utils';\nimport get from 'lodash-es/get.js';\nimport has from 'lodash-es/has.js';\nimport isEmpty from 'lodash-es/isEmpty.js';\nimport noop from 'lodash-es/noop.js';\nimport omit from 'lodash-es/omit.js';\nimport set from 'lodash-es/set.js';\n/** Gets the selected option from the list of `options`, using the `selectorField` to search inside each `option` for\n * the `properties[selectorField].default(or const)` that matches the given `value`.\n *\n * @param options - The list of schemas each representing a choice in the `oneOf`\n * @param selectorField - The name of the field that is common in all of the schemas that represents the selector field\n * @param value - The current value of the selector field from the data\n */\nexport function getSelectedOption(options, selectorField, value) {\n const defaultValue = '!@#!@$@#$!@$#';\n const schemaOptions = options.map(({ schema }) => schema);\n return schemaOptions.find((option) => {\n const selector = get(option, [PROPERTIES_KEY, selectorField]);\n const result = get(selector, DEFAULT_KEY, get(selector, CONST_KEY, defaultValue));\n return result === value;\n });\n}\n/** Computes the `enumOptions` array from the schema and options.\n *\n * @param schema - The schema that contains the `options`\n * @param options - The options from the `schema`\n * @param schemaUtils - The SchemaUtilsType object used to call retrieveSchema,\n * @param [uiSchema] - The optional uiSchema for the schema\n * @param [formData] - The optional formData associated with the schema\n * @returns - The list of enumOptions for the `schema` and `options`\n * @throws - Error when no enum options were computed\n */\nexport function computeEnumOptions(schema, options, schemaUtils, uiSchema, formData) {\n const realOptions = options.map((opt) => schemaUtils.retrieveSchema(opt, formData));\n let tempSchema = schema;\n if (has(schema, ONE_OF_KEY)) {\n tempSchema = { ...schema, [ONE_OF_KEY]: realOptions };\n }\n else if (has(schema, ANY_OF_KEY)) {\n tempSchema = { ...schema, [ANY_OF_KEY]: realOptions };\n }\n const enumOptions = optionsList(tempSchema, uiSchema);\n if (!enumOptions) {\n throw new Error(`No enumOptions were computed from the schema ${JSON.stringify(tempSchema)}`);\n }\n return enumOptions;\n}\n/** The `LayoutMultiSchemaField` is an adaptation of the `MultiSchemaField` but changed considerably to only\n * support `anyOf`/`oneOf` fields that are being displayed in a `LayoutGridField` where the field selection is shown as\n * a radio group by default. It expects that a `selectorField` is provided (either directly via the `discriminator`\n * field or indirectly via `ui:optionsSchemaSelector` in the `uiSchema`) to help determine which `anyOf`/`oneOf` schema\n * is active. If no `selectorField` is specified, then an error is thrown.\n */\nexport default function LayoutMultiSchemaField(props) {\n const { name, baseType, disabled = false, formData, fieldPathId, onBlur, onChange, options, onFocus, registry, uiSchema, schema, autofocus, readonly, required, errorSchema, hideError = false, } = props;\n const { widgets, schemaUtils, globalUiOptions } = registry;\n const [enumOptions, setEnumOptions] = useState(computeEnumOptions(schema, options, schemaUtils, uiSchema, formData));\n const id = get(fieldPathId, ID_KEY);\n const discriminator = getDiscriminatorFieldFromSchema(schema);\n const FieldErrorTemplate = getTemplate('FieldErrorTemplate', registry, options);\n const FieldTemplate = getTemplate('FieldTemplate', registry, options);\n const schemaHash = hashObject(schema);\n const optionsHash = hashObject(options);\n const uiSchemaHash = uiSchema ? hashObject(uiSchema) : '';\n const formDataHash = formData ? hashObject(formData) : '';\n useEffect(() => {\n setEnumOptions(computeEnumOptions(schema, options, schemaUtils, uiSchema, formData));\n // We are using hashes in place of the dependencies\n // oxlint-disable-next-line react-hooks/exhaustive-deps\n }, [schemaHash, optionsHash, schemaUtils, uiSchemaHash, formDataHash]);\n const { widget = discriminator ? 'radio' : 'select', title = '', placeholder = '', optionsSchemaSelector: selectorField = discriminator, hideError: uiSchemaHideError, ...uiOptions } = getUiOptions(uiSchema);\n if (!selectorField) {\n throw new Error('No selector field provided for the LayoutMultiSchemaField');\n }\n const selectedOption = get(formData, selectorField);\n let optionSchema = get(enumOptions[0]?.schema, [PROPERTIES_KEY, selectorField], {});\n const option = getSelectedOption(enumOptions, selectorField, selectedOption);\n // If the subschema doesn't declare a type, infer the type from the parent schema\n optionSchema = optionSchema?.type ? optionSchema : { ...optionSchema, type: option?.type || baseType };\n const Widget = getWidget(optionSchema, widget, widgets);\n // The following code was copied from `@rjsf`'s `SchemaField`\n // Set hideError to the value provided in the uiSchema, otherwise stick with the prop to propagate to children\n const hideFieldError = uiSchemaHideError === undefined ? hideError : Boolean(uiSchemaHideError);\n const rawErrors = get(errorSchema, [ERRORS_KEY], []);\n const fieldErrorSchema = omit(errorSchema, [ERRORS_KEY]);\n const displayLabel = schemaUtils.getDisplayLabel(schema, uiSchema, globalUiOptions);\n /** Callback function that updates the selected option and adjusts the form data based on the structure of the new\n * option, calling the `onChange` callback with the adjusted formData.\n *\n * @param opt - If the option is undefined, we are going to clear the selection otherwise we\n * will use it as the index of the new option to select\n */\n const onOptionChange = (opt) => {\n if (disabled || readonly) {\n return;\n }\n const newOption = getSelectedOption(enumOptions, selectorField, opt);\n const oldOption = getSelectedOption(enumOptions, selectorField, selectedOption);\n let newFormData = schemaUtils.sanitizeDataForNewSchema(newOption, oldOption, formData);\n if (newFormData && newOption) {\n // Call getDefaultFormState to make sure defaults are populated on change.\n newFormData = schemaUtils.getDefaultFormState(newOption, newFormData, 'excludeObjectChildren');\n }\n if (newFormData) {\n set(newFormData, selectorField, opt);\n }\n // Pass the component name in the path\n onChange(newFormData, fieldPathId.path, undefined, id);\n };\n // filtering the options based on the type of widget because `selectField` does not recognize the `convertOther` prop\n const widgetOptions = { enumOptions, ...uiOptions };\n const errors = !hideFieldError && rawErrors.length > 0 ? (_jsx(FieldErrorTemplate, { fieldPathId: fieldPathId, schema: schema, errors: rawErrors, registry: registry })) : undefined;\n return (_jsx(FieldTemplate, { fieldPathId: fieldPathId, id: id, schema: schema, label: (title || schema.title) ?? '', disabled: disabled || (Array.isArray(enumOptions) && isEmpty(enumOptions)), uiSchema: uiSchema, required: required, readonly: !!readonly, registry: registry, displayLabel: displayLabel, errors: errors, onChange: onChange, onKeyRename: noop, onKeyRenameBlur: noop, onRemoveProperty: noop, children: _jsx(Widget, { id: id, name: name, schema: schema, label: (title || schema.title) ?? '', disabled: disabled || (Array.isArray(enumOptions) && isEmpty(enumOptions)), uiSchema: uiSchema, autofocus: autofocus, readonly: readonly, required: required, registry: registry, multiple: false, rawErrors: rawErrors, hideError: hideFieldError, hideLabel: !displayLabel, errorSchema: fieldErrorSchema, placeholder: placeholder, onChange: onOptionChange, onBlur: onBlur, onFocus: onFocus, value: selectedOption, options: widgetOptions, htmlName: fieldPathId.name }) }));\n}\n", "import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { useCallback, useEffect, useMemo, useRef, useState } from 'react';\nimport { ANY_OF_KEY, deepEquals, ERRORS_KEY, getDiscriminatorFieldFromSchema, getTemplate, getUiOptions, getWidget, hashObject, isFormDataAvailable, mergeSchemas, ONE_OF_KEY, shouldRenderOptionalField, TranslatableString, } from '@rjsf/utils';\nimport get from 'lodash-es/get.js';\nimport isEmpty from 'lodash-es/isEmpty.js';\nimport omit from 'lodash-es/omit.js';\n/** The `AnyOfField` component is used to render a field in the schema that is an `anyOf`, `allOf` or `oneOf`. It tracks\n * the currently selected option and cleans up any irrelevant data in `formData`.\n *\n * @param props - The `FieldProps` for this template\n */\nfunction AnyOfField(props) {\n const { name, disabled = false, errorSchema = {}, formData, fieldPathId, onBlur, onChange, onFocus, options, readonly, registry, required = false, schema, uiSchema, } = props;\n const { schemaUtils } = registry;\n // Hash formData by value so the memo only invalidates when data actually changes, not on every\n // new object reference. hashObject(undefined) throws, so null is used as the fallback.\n const formDataHash = hashObject(formData ?? null);\n // retrievedOptions is purely derived from options — useMemo handles re-derivation automatically\n // when options, schemaUtils, or formData's value changes, with no render-phase dispatch needed.\n const retrievedOptions = useMemo(() => options.map((opt) => schemaUtils.retrieveSchema(opt, formData)), \n // oxlint-disable-next-line react-hooks/exhaustive-deps -- formDataHash is the value-stable proxy for formData\n [options, schemaUtils, formDataHash]);\n const [selectedOption, setSelectedOption] = useState(() => {\n const discriminator = getDiscriminatorFieldFromSchema(schema);\n return schemaUtils.getClosestMatchingOption(formData, retrievedOptions, 0, discriminator);\n });\n /** Flag to skip the formData-change-driven option recalculation when the user just selected an option.\n * Set to true in onOptionChange (before onChange is called), consumed and reset in the update effect.\n * This prevents the matching-option recalculation from overriding a user's explicit choice when\n * getDefaultFormState populates undefined properties that make deepEquals see a false formData change.\n */\n const skipNextOptionRecalculation = useRef(false);\n const prevFormDataRef = useRef(formData);\n const prevFieldIdRef = useRef(fieldPathId.$id);\n // Mirrors componentDidUpdate: re-match selectedOption when formData changes on the same field.\n // Runs after every render (no deps array) to compare against prev values stored in refs.\n // oxlint-disable-next-line react-hooks/exhaustive-deps\n useEffect(() => {\n const prevFormData = prevFormDataRef.current;\n const prevFieldId = prevFieldIdRef.current;\n prevFormDataRef.current = formData;\n prevFieldIdRef.current = fieldPathId.$id;\n if (!deepEquals(formData, prevFormData) && fieldPathId.$id === prevFieldId) {\n if (skipNextOptionRecalculation.current) {\n skipNextOptionRecalculation.current = false;\n return;\n }\n const discriminator = getDiscriminatorFieldFromSchema(schema);\n const matchingOption = schemaUtils.getClosestMatchingOption(formData, retrievedOptions, selectedOption, discriminator);\n if (matchingOption !== selectedOption) {\n setSelectedOption(matchingOption);\n }\n }\n });\n const fieldId = `${fieldPathId.$id}${schema.oneOf ? '__oneof_select' : '__anyof_select'}`;\n /** Callback handler to remember what the currently selected option is. In addition to that the `formData` is updated\n * to remove properties that are not part of the newly selected option schema, and then the updated data is passed to\n * the `onChange` handler.\n *\n * @param option - The new option value being selected\n */\n const onOptionChange = useCallback((option) => {\n if (disabled || readonly) {\n return;\n }\n const intOption = option !== undefined ? parseInt(option, 10) : -1;\n if (intOption === selectedOption) {\n return;\n }\n const newOption = intOption >= 0 ? retrievedOptions[intOption] : undefined;\n const oldOption = selectedOption >= 0 ? retrievedOptions[selectedOption] : undefined;\n let newFormData = schemaUtils.sanitizeDataForNewSchema(newOption, oldOption, formData);\n if (newOption) {\n // Call getDefaultFormState to make sure defaults are populated on change. Pass \"excludeObjectChildren\"\n // so that only the root objects themselves are created without adding undefined children properties\n newFormData = schemaUtils.getDefaultFormState(newOption, newFormData, 'excludeObjectChildren');\n }\n setSelectedOption(intOption);\n skipNextOptionRecalculation.current = true;\n onChange(newFormData, fieldPathId.path, undefined, fieldId);\n }, \n // setSelectedOption is stable (guaranteed by useState); skipNextOptionRecalculation is a ref\n [selectedOption, retrievedOptions, disabled, readonly, schemaUtils, formData, fieldPathId, onChange, fieldId]);\n const { widgets, fields, translateString, globalUiOptions } = registry;\n const { SchemaField: SchemaFieldComponent } = fields;\n const MultiSchemaFieldTemplate = getTemplate('MultiSchemaFieldTemplate', registry, globalUiOptions);\n const isOptionalRender = shouldRenderOptionalField(registry, schema, required, uiSchema);\n const hasFormData = isFormDataAvailable(formData);\n const { widget = 'select', placeholder, autofocus, autocomplete, title = schema.title, ...uiOptions } = getUiOptions(uiSchema, globalUiOptions);\n const Widget = getWidget({ type: 'number' }, widget, widgets);\n const rawErrors = get(errorSchema, ERRORS_KEY, []);\n const fieldErrorSchema = omit(errorSchema, [ERRORS_KEY]);\n const displayLabel = schemaUtils.getDisplayLabel(schema, uiSchema, globalUiOptions);\n const option = selectedOption >= 0 ? retrievedOptions[selectedOption] || null : null;\n let optionSchema;\n if (option) {\n const { required: schemaRequired, type: schemaType } = schema;\n const parentProps = {};\n if (schemaRequired) {\n parentProps.required = schemaRequired;\n }\n // Propagate the parent schema type to options that don't define their own.\n // This is necessary when the parent constrains the type (e.g. { type: 'string',\n // oneOf: [{ pattern: '...' }, { pattern: '...' }] }) but the option sub-schemas\n // omit the type — without it, getSchemaType returns undefined and the option\n // renders as FallbackField instead of the correct widget (e.g. StringField).\n if (schemaType !== undefined && !('type' in option)) {\n parentProps.type = schemaType;\n }\n // Merge in all the non-oneOf/anyOf properties and also skip the special ADDITIONAL_PROPERTY_FLAG property\n optionSchema = Object.keys(parentProps).length > 0 ? mergeSchemas(parentProps, option) : option;\n }\n // First we will check to see if there is an anyOf/oneOf override for the UI schema\n let optionsUiSchema = [];\n if (ONE_OF_KEY in schema && uiSchema && ONE_OF_KEY in uiSchema) {\n if (Array.isArray(uiSchema[ONE_OF_KEY])) {\n optionsUiSchema = uiSchema[ONE_OF_KEY];\n }\n else {\n // oxlint-disable-next-line no-console\n console.warn(`uiSchema.oneOf is not an array for \"${title || name}\"`);\n }\n }\n else if (ANY_OF_KEY in schema && uiSchema && ANY_OF_KEY in uiSchema) {\n if (Array.isArray(uiSchema[ANY_OF_KEY])) {\n optionsUiSchema = uiSchema[ANY_OF_KEY];\n }\n else {\n // oxlint-disable-next-line no-console\n console.warn(`uiSchema.anyOf is not an array for \"${title || name}\"`);\n }\n }\n // Then we pick the one that matches the selected option index, if one exists otherwise default to the main uiSchema\n let optionUiSchema = uiSchema;\n if (selectedOption >= 0 && optionsUiSchema.length > selectedOption) {\n optionUiSchema = optionsUiSchema[selectedOption];\n }\n const translateEnum = title\n ? TranslatableString.TitleOptionPrefix\n : TranslatableString.OptionPrefix;\n const translateParams = title ? [title] : [];\n const enumOptions = retrievedOptions.map((opt, index) => {\n const { title: uiTitle = opt.title } = getUiOptions(optionsUiSchema[index]);\n return {\n label: uiTitle || translateString(translateEnum, translateParams.concat(String(index + 1))),\n value: index,\n };\n });\n const selector = !isOptionalRender || hasFormData ? (_jsx(Widget, { id: fieldId, name: `${name}${schema.oneOf ? '__oneof_select' : '__anyof_select'}`, schema: { type: 'number', default: 0 }, onChange: onOptionChange, onBlur: onBlur, onFocus: onFocus, disabled: disabled || isEmpty(enumOptions), multiple: false, rawErrors: rawErrors, errorSchema: fieldErrorSchema, value: selectedOption >= 0 ? selectedOption : undefined, options: { enumOptions, ...uiOptions }, registry: registry, placeholder: placeholder, autocomplete: autocomplete, autofocus: autofocus, label: title ?? name, hideLabel: !displayLabel, readonly: readonly })) : undefined;\n const optionsSchemaField = (optionSchema && optionSchema.type !== 'null' && (_jsx(SchemaFieldComponent, { ...props, schema: optionSchema, uiSchema: optionUiSchema }))) ||\n null;\n return (_jsx(MultiSchemaFieldTemplate, { schema: schema, registry: registry, uiSchema: uiSchema, selector: selector, optionSchemaField: optionsSchemaField }));\n}\nexport default AnyOfField;\n", "import { useEffect } from 'react';\n/** The `NullField` component is used to render a field in the schema is null. It also ensures that the `formData` is\n * also set to null if it has no value.\n *\n * @param props - The `FieldProps` for this template\n */\nfunction NullField(props) {\n const { formData, onChange, fieldPathId } = props;\n useEffect(() => {\n if (formData === undefined) {\n onChange(null, fieldPathId.path);\n }\n }, [fieldPathId, formData, onChange]);\n return null;\n}\nexport default NullField;\n", "import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { useState, useCallback } from 'react';\nimport { asNumber, getDecimalSeparator, getUiOptions, optionsList } from '@rjsf/utils';\n// Static matchers for standard '.' separator used during normalization inside handleChange\nconst trailingCharMatcherWithPrefix = /\\.([0-9]*0)*$/;\nconst trailingCharMatcher = /[0.]0*$/;\n/**\n * The NumberField class has some special handling for dealing with trailing\n * decimal points and/or zeroes. This logic is designed to allow trailing values\n * to be visible in the input element, but not be represented in the\n * corresponding form data.\n *\n * The algorithm is as follows:\n *\n * 1. When the input value changes the value is cached in the component state\n *\n * 2. The value is then normalized, removing trailing decimal points and zeros,\n * then passed to the \"onChange\" callback\n *\n * 3. When the component is rendered, the formData value is checked against the\n * value cached in the state. If it matches the cached value, the cached\n * value is passed to the input instead of the formData value\n */\nfunction NumberField(props) {\n const { registry, onChange, formData, value: initialValue } = props;\n const [lastValue, setLastValue] = useState(initialValue);\n const { StringField } = registry.fields;\n const separator = getDecimalSeparator();\n const escapedSeparator = separator === '.' ? '\\\\.' : separator;\n let value = formData;\n /** Handle the change from the `StringField` to properly convert to a number\n *\n * @param value - The current value for the change occurring\n */\n const handleChange = useCallback((newValue, path, errorSchema, id) => {\n // Cache the original value in component state\n setLastValue(newValue);\n // Convert locale separator to standard '.' first\n const standardValue = typeof newValue === 'string' ? newValue.replace(separator, '.') : newValue;\n // Normalize decimals that don't start with a zero character in advance so\n // that the rest of the normalization logic is simpler\n const normalizedValue = `${standardValue}`.startsWith('.') ? `0${standardValue}` : standardValue;\n // Check that the value is a string (this can happen if the widget used is a\n // <select>, due to an enum declaration etc) then, if the value ends in a\n // trailing decimal point or multiple zeroes, strip the trailing values\n const processed = typeof normalizedValue === 'string' && trailingCharMatcherWithPrefix.exec(normalizedValue)\n ? asNumber(normalizedValue.replace(trailingCharMatcher, ''))\n : asNumber(normalizedValue);\n onChange(processed, path, errorSchema, id);\n }, [onChange, separator]);\n if (typeof lastValue === 'string' && typeof value === 'number') {\n // Construct a regular expression that checks for a string that consists\n // of the formData value suffixed with zero or one locale separator characters and zero\n // or more '0' characters\n const re = new RegExp(`^(${String(value).replace('.', escapedSeparator)})?${escapedSeparator}?0*$`);\n // If the cached \"lastValue\" is a match, use that instead of the formData\n // value to prevent the input value from changing in the UI\n if (lastValue.match(re)) {\n value = lastValue;\n }\n }\n // Format value to use the locale separator for rendering if it is a number\n let displayValue = value;\n if (typeof value === 'number' && separator !== '.') {\n const { schema, uiSchema } = props;\n const { schemaUtils } = registry;\n const enumOptions = schemaUtils.isSelect(schema) ? optionsList(schema, uiSchema) : undefined;\n const defaultWidget = enumOptions ? 'select' : 'text';\n const { widget = defaultWidget } = getUiOptions(uiSchema);\n // Do not convert the value to a locale-specific string for radio, select,\n // or hidden widgets because option matching relies on the original numeric value.\n if (widget !== 'radio' && widget !== 'select' && widget !== 'hidden') {\n displayValue = String(value).replace('.', separator);\n }\n }\n return _jsx(StringField, { ...props, formData: displayValue, onChange: handleChange });\n}\nexport default NumberField;\n", "import { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport { memo, useCallback, useMemo, useRef, useState } from 'react';\nimport { ADDITIONAL_PROPERTY_FLAG, ANY_OF_KEY, getTemplate, getUiOptions, isFormDataAvailable, orderProperties, shouldRenderOptionalField, toFieldPathId, useDeepCompareMemo, ONE_OF_KEY, PROPERTIES_KEY, REF_KEY, TranslatableString, } from '@rjsf/utils';\nimport get from 'lodash-es/get.js';\nimport has from 'lodash-es/has.js';\nimport isObject from 'lodash-es/isObject.js';\nimport set from 'lodash-es/set.js';\nimport { Markdown } from 'markdown-to-jsx/react';\nimport { ADDITIONAL_PROPERTY_KEY_REMOVE } from '../constants.js';\n/** Returns a flag indicating whether the `name` field is required in the object schema\n *\n * @param schema - The schema to check\n * @param name - The name of the field to check for required-ness\n * @returns - True if the field `name` is required, false otherwise\n */\nfunction isRequired(schema, name) {\n return Array.isArray(schema.required) && schema.required.includes(name);\n}\n/** Returns a default value to be used for a new additional schema property of the given `type`\n *\n * @param translateString - The string translation function from the registry\n * @param type - The type of the new additional schema property\n */\nfunction getDefaultValue(translateString, type) {\n switch (type) {\n case 'array':\n return [];\n case 'boolean':\n return false;\n case 'null':\n return null;\n case 'number':\n return 0;\n case 'object':\n return {};\n case 'string':\n default:\n // We don't have a datatype for some reason (perhaps additionalProperties was true)\n return translateString(TranslatableString.NewStringDefault);\n }\n}\nfunction isAdditionalPropertySchema(schema) {\n return Boolean(schema?.[ADDITIONAL_PROPERTY_FLAG]);\n}\nfunction getAdditionalPropertyOrder(schemaProperties) {\n return Object.keys(schemaProperties).filter((property) => isAdditionalPropertySchema(schemaProperties[property]));\n}\n/** The `ObjectFieldProperty` component is used to render the `SchemaField` for a child property of an object\n */\nfunction ObjectFieldPropertyFn(props) {\n const { fieldPathId, schema, registry, uiSchema, errorSchema, formData, onChange, onBlur, onFocus, disabled, readonly, required, hideError, propertyName, handleKeyRename, handleRemoveProperty, addedByAdditionalProperties, } = props;\n const [wasPropertyKeyModified, setWasPropertyKeyModified] = useState(false);\n const { globalFormOptions, fields } = registry;\n const { SchemaField } = fields;\n const innerFieldIdPathId = useDeepCompareMemo(toFieldPathId(propertyName, globalFormOptions, fieldPathId.path));\n /** Returns the `onPropertyChange` handler for the `name` field. Handles the special case where a user is attempting\n * to clear the data for a field added as an additional property. Calls the `onChange()` handler with the updated\n * formData.\n *\n * @param name - The name of the property\n * @param addedByAdditionalProperties - Flag indicating whether this property is an additional property\n * @returns - The onPropertyChange callback for the `name` property\n */\n const onPropertyChange = useCallback((value, path, newErrorSchema, id) => {\n // Don't set value = undefined for fields added by additionalProperties. Doing so removes them from the\n // formData, which causes them to completely disappear (including the input field for the property name). Unlike\n // fields which are \"mandated\" by the schema, these fields can be set to undefined by clicking a \"delete field\"\n // button, so set empty values to the empty string.\n let normalizedValue = value;\n if (value === undefined && addedByAdditionalProperties) {\n normalizedValue = '';\n }\n onChange(normalizedValue, path, newErrorSchema, id);\n }, [onChange, addedByAdditionalProperties]);\n /** The key change event handler; Called when the key associated with a field is changed for an additionalProperty.\n * simply returns a function that call the `handleKeyChange()` event with the value\n */\n const onKeyRename = useCallback((value) => {\n if (propertyName !== value) {\n setWasPropertyKeyModified(true);\n }\n handleKeyRename(propertyName, value);\n }, [propertyName, handleKeyRename]);\n /** Returns a callback the handle the blur event, getting the value from the target and passing that along to the\n * `handleKeyChange` function\n */\n const onKeyRenameBlur = useCallback((event) => {\n const { target: { value }, } = event;\n onKeyRename(value);\n }, [onKeyRename]);\n /** The property drop/removal event handler; Called when a field is removed in an additionalProperty context\n */\n const onRemoveProperty = useCallback(() => {\n handleRemoveProperty(propertyName);\n }, [propertyName, handleRemoveProperty]);\n return (_jsx(SchemaField, { name: propertyName, required: required, schema: schema, uiSchema: uiSchema, errorSchema: errorSchema, fieldPathId: innerFieldIdPathId, formData: formData, wasPropertyKeyModified: wasPropertyKeyModified, onKeyRename: onKeyRename, onKeyRenameBlur: onKeyRenameBlur, onRemoveProperty: onRemoveProperty, onChange: onPropertyChange, onBlur: onBlur, onFocus: onFocus, registry: registry, disabled: disabled, readonly: readonly, hideError: hideError }));\n}\nconst ObjectFieldProperty = memo(ObjectFieldPropertyFn);\n/** The `ObjectField` component is used to render a field in the schema that is of type `object`. It tracks whether an\n * additional property key was modified and what it was modified to\n *\n * @param props - The `FieldProps` for this template\n */\nexport default function ObjectField(props) {\n const { schema: rawSchema, uiSchema = {}, formData, errorSchema, fieldPathId, name, required = false, disabled, readonly, hideError, onBlur, onFocus, onChange, registry, title, } = props;\n const { fields, schemaUtils, translateString, globalUiOptions } = registry;\n const { OptionalDataControlsField } = fields;\n const formDataRef = useRef(formData);\n formDataRef.current = formData;\n const schema = useMemo(() => schemaUtils.retrieveSchema(rawSchema, formData, true), [schemaUtils, rawSchema, formData]);\n const uiOptions = useMemo(() => getUiOptions(uiSchema, globalUiOptions), [uiSchema, globalUiOptions]);\n const schemaProperties = useMemo(() => schema.properties ?? {}, [schema.properties]);\n // All the children will use childFieldPathId if present in the props, falling back to the fieldPathId\n const childFieldPathId = props.childFieldPathId ?? fieldPathId;\n const lastRenamedProperty = useRef({ previousKey: '', currentKey: undefined });\n const [additionalPropertyOrder, setAdditionalPropertyOrder] = useState(() => getAdditionalPropertyOrder(schemaProperties));\n const definedPropertyOrder = useMemo(() => {\n const additionalPropertySet = new Set(getAdditionalPropertyOrder(schemaProperties));\n return Object.keys(schemaProperties).filter((property) => !additionalPropertySet.has(property));\n }, [schemaProperties]);\n const templateTitle = uiOptions.title ?? schema.title ?? title ?? name;\n const description = uiOptions.description ?? schema.description;\n const renderOptionalField = shouldRenderOptionalField(registry, schema, required, uiSchema);\n const hasFormData = isFormDataAvailable(formData);\n let orderedProperties = [];\n /** Computes the next available key name from the `preferredKey`, indexing through the already existing keys until one\n * that is already not assigned is found.\n *\n * @param preferredKey - The preferred name of a new key\n * @param [formData] - The form data in which to check if the desired key already exists\n * @returns - The name of the next available key from `preferredKey`\n */\n const getAvailableKey = useCallback((preferredKey, existingFormData) => {\n const { duplicateKeySuffixSeparator = '-' } = getUiOptions(uiSchema, globalUiOptions);\n let index = 0;\n let newKey = preferredKey;\n while (has(existingFormData, newKey)) {\n index += 1;\n newKey = `${preferredKey}${duplicateKeySuffixSeparator}${index}`;\n }\n return newKey;\n }, [uiSchema, globalUiOptions]);\n /** Handles the adding of a new additional property on the given `schema`. Calls the `onChange` callback once the new\n * default data for that field has been added to the formData.\n */\n const onAddProperty = useCallback(() => {\n if (!(schema.additionalProperties || schema.patternProperties)) {\n return;\n }\n const newFormData = { ...formData };\n const newKey = getAvailableKey('newKey', newFormData);\n if (schema.patternProperties) {\n // Cast this to make the `set` work properly\n set(newFormData, newKey, null);\n }\n else {\n let type = undefined;\n let constValue = undefined;\n let defaultValue = undefined;\n if (isObject(schema.additionalProperties)) {\n type = schema.additionalProperties.type;\n constValue = schema.additionalProperties.const;\n defaultValue = schema.additionalProperties.default;\n let apSchema = schema.additionalProperties;\n if (REF_KEY in apSchema) {\n apSchema = schemaUtils.retrieveSchema({ [REF_KEY]: apSchema[REF_KEY] }, formData);\n type = apSchema.type;\n constValue = apSchema.const;\n defaultValue = schemaUtils.getDefaultFormState(apSchema, defaultValue);\n }\n if (!type && (ANY_OF_KEY in apSchema || ONE_OF_KEY in apSchema)) {\n type = 'object';\n }\n }\n const newValue = constValue ?? defaultValue ?? getDefaultValue(translateString, type);\n // Cast this to make the `set` work properly\n set(newFormData, newKey, newValue);\n }\n if (lastRenamedProperty.current.previousKey === newKey) {\n lastRenamedProperty.current.currentKey = newKey;\n lastRenamedProperty.current.previousKey = getAvailableKey(newKey, newFormData);\n }\n setAdditionalPropertyOrder((order) => [...order, newKey]);\n onChange(newFormData, childFieldPathId.path);\n }, [formData, onChange, translateString, schemaUtils, childFieldPathId, getAvailableKey, schema]);\n /** Returns a callback function that deals with the rename of a key for an additional property for a schema. That\n * callback will attempt to rename the key and move the existing data to that key, calling `onChange` when it does.\n *\n * @param oldKey - The old key for the field\n * @param newKey - The new key for the field\n * @returns - The key change callback function\n */\n const handleKeyRename = useCallback((oldKey, newKey) => {\n if (oldKey !== newKey) {\n const currentFormData = formDataRef.current;\n const actualNewKey = getAvailableKey(newKey, currentFormData);\n const newFormData = {\n ...currentFormData,\n };\n const newKeys = { [oldKey]: actualNewKey };\n const keyValues = Object.keys(newFormData).map((key) => {\n // `Object.hasOwn` so a falsy rename target (e.g. `\"\"`) isn't dropped.\n const mappedKey = Object.hasOwn(newKeys, key) ? newKeys[key] : key;\n return { [mappedKey]: newFormData[key] };\n });\n const renamedObj = Object.assign({}, ...keyValues);\n formDataRef.current = renamedObj;\n if (oldKey !== lastRenamedProperty.current.currentKey) {\n lastRenamedProperty.current.previousKey = oldKey;\n }\n lastRenamedProperty.current.currentKey = actualNewKey;\n setAdditionalPropertyOrder((order) => order.map((property) => (property === oldKey ? actualNewKey : property)));\n onChange(renamedObj, childFieldPathId.path);\n }\n }, [onChange, childFieldPathId, getAvailableKey]);\n /** Handles the remove click which calls the `onChange` callback with the special ADDITIONAL_PROPERTY_FIELD_REMOVE\n * value for the path plus the key to be removed\n */\n const handleRemoveProperty = useCallback((key) => {\n setAdditionalPropertyOrder((order) => order.filter((property) => property !== key));\n onChange(ADDITIONAL_PROPERTY_KEY_REMOVE, [...childFieldPathId.path, key]);\n }, [onChange, childFieldPathId]);\n /** Returns the stable React key for a property. For the most recently renamed\n * additional property, returns the previous key so that React reuses the\n * existing component instance instead of unmounting/remounting it. This\n * preserves DOM focus naturally without manual focus management.\n */\n const getStableKey = useCallback((property) => {\n if (lastRenamedProperty.current.currentKey === property) {\n return lastRenamedProperty.current.previousKey;\n }\n return property;\n }, []);\n if (!renderOptionalField || hasFormData) {\n try {\n const definedPropertySet = new Set(definedPropertyOrder);\n const currentAdditionalProperties = additionalPropertyOrder.filter((property) => Object.hasOwn(schemaProperties, property) && !definedPropertySet.has(property));\n orderedProperties = orderProperties([...definedPropertyOrder, ...currentAdditionalProperties], uiOptions.order);\n }\n catch (err) {\n return (_jsxs(\"div\", { children: [_jsx(\"p\", { className: 'rjsf-config-error', style: { color: 'red' }, children: _jsx(Markdown, { options: { disableParsingRawHTML: true }, children: translateString(TranslatableString.InvalidObjectField, [name || 'root', err.message]) }) }), _jsx(\"pre\", { children: JSON.stringify(schema) })] }));\n }\n }\n const Template = getTemplate('ObjectFieldTemplate', registry, uiOptions);\n const optionalDataControl = renderOptionalField ? (_jsx(OptionalDataControlsField, { ...props, fieldPathId: childFieldPathId, schema: schema })) : undefined;\n const templateProps = {\n // getDisplayLabel() always returns false for object types, so just check the `uiOptions.label`\n title: uiOptions.label === false ? '' : templateTitle,\n description: uiOptions.label === false ? undefined : description,\n properties: orderedProperties.map((propertyName) => {\n const addedByAdditionalProperties = isAdditionalPropertySchema(schema.properties?.[propertyName]);\n const fieldUiSchema = addedByAdditionalProperties ? uiSchema.additionalProperties : uiSchema[propertyName];\n const hidden = getUiOptions(fieldUiSchema).widget === 'hidden';\n const content = (_jsx(ObjectFieldProperty, { propertyName: propertyName, required: isRequired(schema, propertyName), schema: get(schema, [PROPERTIES_KEY, propertyName], {}), uiSchema: fieldUiSchema, errorSchema: get(errorSchema, [propertyName]), fieldPathId: childFieldPathId, formData: get(formData, [propertyName]), handleKeyRename: handleKeyRename, handleRemoveProperty: handleRemoveProperty, addedByAdditionalProperties: addedByAdditionalProperties, onChange: onChange, onBlur: onBlur, onFocus: onFocus, registry: registry, disabled: disabled, readonly: readonly, hideError: hideError }, getStableKey(propertyName)));\n return {\n content,\n name: propertyName,\n readonly,\n disabled,\n required,\n hidden,\n };\n }),\n readonly,\n disabled,\n required,\n fieldPathId,\n uiSchema,\n errorSchema,\n schema,\n formData,\n registry,\n optionalDataControl,\n className: renderOptionalField ? 'rjsf-optional-object-field' : undefined,\n };\n return _jsx(Template, { ...templateProps, onAddProperty: onAddProperty });\n}\n", "import*as i0 from\"react\";var I=32,w=9,v5=13,g=10,Z0=96,b0=126,A0=91,W5=94,l=62,V5=35,M9=37,p=45,K5=61,T0=92,P0=42,O0=95,Y0=60,k9=64,J5=93,c0=33,O9=38,m0=58,D9=70,L5=102,A9=104,C5=119,s5=116,x9=112,Y$=115,c$=160,l$=12,r$=44,j9=59,t5=63,Q5=46,j0=47,f5=39,T5=34,y5=43,E0=124,S5=123,E9=125,z5=40,F5=41,o$=78,i$=110,a$=79,n$=111,V$=120,K$=88,g9=30,r=48,o=57,h=65,u=90,V0=97,q0=122,U9=128,U5=32,I6={blockQuote:0,breakLine:1,breakThematic:2,codeBlock:3,codeInline:4,footnote:5,footnoteReference:6,frontmatter:7,gfmTask:8,heading:9,htmlBlock:10,htmlComment:11,htmlSelfClosing:12,image:13,link:14,orderedList:15,paragraph:16,ref:17,refCollection:18,table:19,text:20,textFormatted:21,unorderedList:22},B=I6;import{decodeEntity as N6}from\"markdown-to-jsx/entities\";function X4($){if(!t$($,\"---\"))return null;let Q=3;for(;Q<$.length&&($[Q]===\" \"||$[Q]===\"\t\");)Q++;if(Q<$.length&&$[Q]===\"\\r\"&&Q++,Q>=$.length||$[Q]!==`\n`)return null;Q++;let Z=!1;for(;Q<$.length;){let X=Q;for(;Q<$.length&&$[Q]!==`\n`&&$[Q]!==\"\\r\";)Q++;if(Q>=$.length)break;let Y=Q;if($[Q]===\"\\r\"&&Q++,Q<$.length&&$[Q]===`\n`&&Q++,t$($,\"---\",X))return{endPos:Q,hasValidYaml:Z};if(!Z){let V=L6($,X,Y);if(V<Y){let K=$.charCodeAt(V);if(K>=V0&&K<=q0||K>=h&&K<=u||K>=r&&K<=o||K===O0){for(V++;V<Y&&(K=$.charCodeAt(V),K>=V0&&K<=q0||K>=h&&K<=u||K>=r&&K<=o||K===O0||K===p||K===Q5);)V++;V<Y&&$.charCodeAt(V)===m0&&(V++,V>=Y?Z=!0:(K=$.charCodeAt(V),(K===I||K===w)&&(Z=!0)))}}}}return null}var P6=/&([a-zA-Z0-9]+|#[0-9]{1,7}|#x[0-9a-fA-F]{1,6});/gi,w6={class:\"className\",for:\"htmlFor\",allowfullscreen:\"allowFullScreen\",allowtransparency:\"allowTransparency\",autocomplete:\"autoComplete\",autofocus:\"autoFocus\",autoplay:\"autoPlay\",cellpadding:\"cellPadding\",cellspacing:\"cellSpacing\",charset:\"charSet\",classid:\"classId\",colspan:\"colSpan\",contenteditable:\"contentEditable\",contextmenu:\"contextMenu\",crossorigin:\"crossOrigin\",enctype:\"encType\",formaction:\"formAction\",formenctype:\"formEncType\",formmethod:\"formMethod\",formnovalidate:\"formNoValidate\",formtarget:\"formTarget\",frameborder:\"frameBorder\",hreflang:\"hrefLang\",inputmode:\"inputMode\",keyparams:\"keyParams\",keytype:\"keyType\",marginheight:\"marginHeight\",marginwidth:\"marginWidth\",maxlength:\"maxLength\",mediagroup:\"mediaGroup\",minlength:\"minLength\",novalidate:\"noValidate\",radiogroup:\"radioGroup\",readonly:\"readOnly\",rowspan:\"rowSpan\",spellcheck:\"spellCheck\",srcdoc:\"srcDoc\",srclang:\"srcLang\",srcset:\"srcSet\",tabindex:\"tabIndex\",usemap:\"useMap\",viewbox:\"viewBox\"},R6={};function U$($){if(!$)return R6;var Q={};for(var Z in $){var X=Z.toLowerCase(),Y=w6[X];if(Y)Q[Y]=$[Z];else{var V=Z.indexOf(\":\");V===-1?Q[Z]=$[Z]:Q[Z.slice(0,V)+Z[V+1].toUpperCase()+Z.slice(V+2)]=$[Z]}}return Q}var Y4=/(\\n|^[-*]\\s|^#|^ {2,}|^-{2,}|^>\\s|^<(div|p|h[1-6]|ul|ol|li|blockquote|pre|table|thead|tbody|tr|td|th|dl|dt|dd|hr|address|article|aside|details|dialog|figure|figcaption|footer|form|header|main|menu|nav|section|summary|textarea|fieldset|legend|center|dir|hgroup|marquee|search|output|template)\\b)/i;function I5($){return $.indexOf(\"&\")===-1?$:$.replace(P6,(Q,Z)=>{var X=N6(Z);if(X)return X;if(Z[0]===\"#\"){var Y=Z[1]===\"x\"||Z[1]===\"X\"?Number.parseInt(Z.slice(2),16):Number.parseInt(Z.slice(1),10);return Y===0||Y>=55296&&Y<=57343||Y>1114111?\"\\uFFFD\":Y<=65535?String.fromCharCode(Y):String.fromCharCode(55296+(Y-65536>>10),56320+(Y-65536&1023))}return Q})}var s$=/(javascript|vbscript|data(?!:image)):/i;function H5($){if(s$.test($))return null;if($.indexOf(\"%\")===-1)return $;try{let Q=decodeURIComponent($).replace(/[^A-Za-z0-9/:]/g,\"\");if(s$.test(Q))return null}catch{return null}return $}var o0={},t0,g0;for(t0=[192,193,194,195,196,197,224,225,226,227,228,229,230,198],g0=0;g0<t0.length;g0++)o0[t0[g0]]=\"a\";for(o0[231]=o0[199]=\"c\",o0[240]=o0[208]=\"d\",t0=[200,201,202,203,233,232,234,235],g0=0;g0<t0.length;g0++)o0[t0[g0]]=\"e\";for(t0=[207,239,206,238,205,237,204,236],g0=0;g0<t0.length;g0++)o0[t0[g0]]=\"i\";for(o0[209]=o0[241]=\"n\",t0=[248,216,339,338,213,245,212,244,211,243,210,242],g0=0;g0<t0.length;g0++)o0[t0[g0]]=\"o\";for(t0=[220,252,219,251,218,250,217,249],g0=0;g0<t0.length;g0++)o0[t0[g0]]=\"u\";o0[376]=o0[255]=o0[221]=o0[253]=\"y\";function N5($){for(var Q=\"\",Z=-1,X=$.length,Y=0;Y<X;Y++){var V=$.charCodeAt(Y);if(V>=V0&&V<=q0||V>=r&&V<=o){Z<0&&(Z=Y);continue}if(V>=h&&V<=u){Z>=0&&(Q+=$.slice(Z,Y),Z=-1),Q+=String.fromCharCode(V+U5);continue}if(V===I||V===p){Z>=0&&(Q+=$.slice(Z,Y),Z=-1),Q+=\"-\";continue}Z>=0&&(Q+=$.slice(Z,Y),Z=-1);var K=o0[V];K&&(Q+=K)}return Z>=0&&(Q+=$.slice(Z)),Q}function t$($,Q,Z){return $.startsWith(Q,Z)}var e$=new Set([\"area\",\"base\",\"br\",\"col\",\"embed\",\"hr\",\"img\",\"input\",\"link\",\"meta\",\"param\",\"source\",\"track\",\"wbr\",\"circle\",\"ellipse\",\"line\",\"path\",\"polygon\",\"polyline\",\"rect\",\"use\",\"stop\",\"animate\",\"set\"]);function Q9($){let Q=$.toLowerCase();if(e$.has(Q))return!0;let Z=Q.indexOf(\":\");return Z!==-1?(Q=Q.slice(Z+1),e$.has(Q)):!1}var h5=1,$4=2,$9=4,Z4=8,b6=16,M5=32,k5=64,V4=(()=>{var $=new Uint8Array(128),Q;for($[w]=h5,$[g]=h5|$4,$[l$]=h5,$[v5]=h5|$4,$[I]=h5,Q=c0;Q<=j0;Q++)$[Q]=$9;for(Q=m0;Q<=k9;Q++)$[Q]=$9;for(Q=A0;Q<=Z0;Q++)$[Q]=$9;for(Q=S5;Q<=b0;Q++)$[Q]=$9;for(Q=r;Q<=o;Q++)$[Q]=b6;for(Q=h;Q<=u;Q++)$[Q]=Z4;for(Q=V0;Q<=q0;Q++)$[Q]=Z4;return $})(),K4=/[\\p{P}\\p{S}]/u,J4=/\\p{Zs}/u,e5=[];function U4($){var Q=$.indexOf(\"\\r\"),Z=$.indexOf(\"\\0\");if(Q===-1&&Z===-1)return $;var X=$.length;e5.length=0;var Y=0,V=0;for(Q===-1?V=Z:Z===-1?V=Q:V=Q<Z?Q:Z;V<X;V++){var K=$.charCodeAt(V);K===v5?(Y<V&&e5.push($.slice(Y,V)),V+1<X&&$.charCodeAt(V+1)===g&&V++,e5.push(`\n`),Y=V+1):K===0&&(Y<V&&e5.push($.slice(Y,V)),e5.push(\"\\uFFFD\"),Y=V+1)}return Y<X&&e5.push($.slice(Y)),e5.join(\"\")}function G4($){return $.replace(/>\\s+</g,\"><\").replace(/\\n+/g,\" \").trim()}function L6($,Q,Z){let X=Z??$.length;for(;Q<X&&($[Q]===\" \"||$[Q]===\"\t\");)Q++;return Q}function f9($){if(!$)return!1;for(var Q in $)return!0;return!1}function q4($){return{attrs:{},children:[{type:B.text,text:$}],c:!0,type:B.htmlBlock,tag:\"header\"}}var T6=/^\\n+/;function W4($){for(var Q=$.length;Q>0&&($[Q-1]===`\n`||$[Q-1]===\"\\r\");)Q--;return`${$.slice(0,Q).replace(T6,\"\")}\n\n`}function Z9($){if(($.type===B.htmlSelfClosing||$.type===B.htmlBlock)&&$.a)return[];if($.type===B.paragraph){var Q=$.children;return Q?Q.flatMap(Z9):[]}return $.type===B.text?$.text?.trim()?[$]:[]:$.type===B.htmlBlock&&$.children?[{...$,children:$.children?.flatMap(Z9)}]:[$]}function G$($){for(var Q=0;Q<$.length;Q++){if($[Q].type===B.htmlBlock){var Z=$[Q],X=!1;if(Z.c&&Q===$.length-1){var Y=Z.j===void 0?Z.a?Z.e||\"\":(Z.e||\"\")+(Z.h||\"\"):Z.j,V=`</${String(Z.tag).toLowerCase()}>`,K=Y.toLowerCase().indexOf(V);if(K!==-1){var J=Y.slice(K+V.length).replace(/<\\/[a-z][a-z0-9-]*\\s*>/gi,\"\");J.trim()&&(X=!0)}}X||(Z.c=!1)}\"children\"in $[Q]&&$[Q].children&&G$($[Q].children)}}function z4($,Q){for(var Z=0;Z<$.length;Z++){var X=$[Z];if(X.type===B.paragraph&&X.children)for(var Y=X.children,V=0;V<Y.length;V++){var K=Y[V];if(K.type===B.htmlSelfClosing&&K.a&&K.tag.toLowerCase()===Q){var J=$.slice(0,Z);V>0&&J.push({type:B.paragraph,children:Y.slice(0,V)});var G=[];if(V+1<Y.length){var U=Y.slice(V+1).filter(W=>!(W.type===B.htmlSelfClosing&&W.a));U.length>0&&(G=U)}return G=G.concat($.slice(Z+1)),{found:!0,beforeClose:J,afterClose:G}}}if((X.type===B.htmlSelfClosing||X.type===B.htmlBlock)&&X.a&&X.tag.toLowerCase()===Q)return{found:!0,beforeClose:$.slice(0,Z),afterClose:$.slice(Z+1)}}return{found:!1,beforeClose:$,afterClose:[]}}function y6($){var Q=\"\";for(var Z in $){var X=$[Z];X===!0?Q+=` ${Z}`:X!==void 0&&X!=null&&X!==!1&&(Q+=` ${Z}=\"${String(X)}\"`)}return Q}function Q4($,Q,Z,X){var Y;return Q===void 0?Y=y6(Z):Y=Q.length>0&&Q.charCodeAt(0)>I?` ${Q}`:Q,`<${$}${Y}${X}`}function q$($){var Q=$.tag,Z=$.type===B.htmlSelfClosing,X=$,Y=X.b,V=`</${Q}>`;if(!Z&&X.a)return{kind:\"literal\",literal:(X.h||V)+(X.e||\"\")};if(Z){var K=$;return K.a?{kind:\"literal\",literal:K.h||V}:K.m?{kind:\"literal\",literal:K.m}:{kind:\"literal\",literal:Q4(Q,Y,$.attrs,\" />\")}}var J=Q4(Q,Y,$.attrs,\">\"),G=X.children,U=G!=null&&G.length>0;if(X.c&&X.j!==void 0)return U?{kind:\"sandwich\",open:J,close:V}:{kind:\"literal\",literal:X.j};if(X.c&&!U)return{kind:\"literal\",literal:J+(X.e||\"\")+(X.h||V)};if(G!=null&&G.length>0){for(var W=\"\",z=0;z<G.length;z++){var H=G[z];if(H.type!==B.text)return{kind:\"sandwich\",open:J,close:V};W+=H.text}return{kind:\"literal\",literal:J+W+V}}var F=X.e||\"\";return F&&F.indexOf(V)!==-1?{kind:\"literal\",literal:J+F}:{kind:\"literal\",literal:J+F+V}}function F4($,Q,Z){var X=[],Y=$,V=Z;if(Y&&X.push(Y),Array.isArray(Q))for(var K=0;K<Q.length;K++)X.push(Q[K]);else Q!=null&&X.push(Q);V&&X.push(V);for(var J=[],G=0;G<X.length;G++){var U=X[G];typeof U==\"string\"&&J.length>0&&typeof J.at(-1)==\"string\"?J[J.length-1]=J.at(-1)+U:J.push(U)}return J}function m5($){return $==null||$.tagfilter!==!1}function H4($,Q,Z,X){var Y=Q($,Z,X);return Y===null?null:S6(Y)}function M4($){var Q=[];if(!$)return Q;for(var Z in $)Z.charCodeAt(0)===94&&Q.push({identifier:Z,footnote:$[Z].target});return Q}function h9($,Q,Z){if(Q.indexOf(\".\")===-1)return $?.[Q]||Z;for(var X=$,Y=Q.split(\".\"),V=0;V<Y.length&&(X=X?.[Y[V]],X!==void 0);)V++;return X||Z}function S6($){for(var Q=!1,Z=0;Z<$.length;Z++){var X=$.charCodeAt(Z);if(X<=I||X===T5||X===M9||X===Y0||X===l||X===A0||X===T0||X===J5||X===W5||X===Z0||X>=123){Q=!0;break}}if(!Q)return $;for(var Y=\"\",Z=0;Z<$.length;Z++){var X=$.charCodeAt(Z);if(X===M9&&Z+2<$.length){var V=$.charCodeAt(Z+1),K=$.charCodeAt(Z+2);if((V>=r&&V<=o||V>=h&&V<=D9||V>=V0&&V<=L5)&&(K>=r&&K<=o||K>=h&&K<=D9||K>=V0&&K<=L5)){Y+=$[Z]+$[Z+1]+$[Z+2],Z+=2;continue}}if(X>=55296&&X<=57343){if(X<=56319&&Z+1<$.length){var J=$.charCodeAt(Z+1);if(J>=56320&&J<=57343){Y+=encodeURI($[Z]+$[Z+1]),Z++;continue}}Y+=$[Z];continue}Y+=encodeURI($[Z])}return Y}function O4(...$){return $.filter(Boolean).join(\" \")}var k6=new Set([\"title\",\"textarea\",\"style\",\"xmp\",\"iframe\",\"noembed\",\"noframes\",\"script\",\"plaintext\"]),C9=/<(\\/?)(title|textarea|style|xmp|iframe|noembed|noframes|script|plaintext)(\\s|>|\\/)/gi;function W$($){return k6.has($.toLowerCase())}function D4($){return C9.lastIndex=0,C9.test($)}function z$($){return C9.lastIndex=0,$.replace(C9,(Q,Z,X,Y)=>`&lt;${Z}${X}${Y}`)}function I9($,Q){var Z=$||{},X=Z.slugify,Y;if(X){var V=X;Y=K=>V(K,N5)}else Y=N5;return{disableAutoLink:Z.disableAutoLink,disableFrontmatter:Z.disableFrontmatter,disableParsingRawHTML:Z.disableParsingRawHTML,enforceAtxHeadings:Z.enforceAtxHeadings,evalUnserializableExpressions:Z.evalUnserializableExpressions,forceBlock:Z.forceBlock,forceInline:Q===void 0?Z.forceInline:Q,ignoreHTMLBlocks:Z.ignoreHTMLBlocks,optimizeForStreaming:Z.optimizeForStreaming,preserveFrontmatter:Z.preserveFrontmatter,sanitizer:Z.sanitizer||H5,slugify:Y,tagfilter:m5(Z)}}var h4=/^<([a-zA-Z][a-zA-Z0-9-]*)\\s[^>]*>/,m4=/^<[A-Z]/,D$=[\"script\",\"pre\",\"style\",\"textarea\"],N9=new Set(D$),x6=/<(?:pre|script|style|textarea)\\b/i,j4=/<(?:pre|script|style|textarea)\\b/iy,F$=/^(\\s{0,3}#[#\\s]|\\s{0,3}[-*+]\\s|\\s{0,3}\\d+\\.\\s|\\s{0,3}>\\s|\\s{0,3}```)/m,B4=/^<([a-z][^ >/\\n\\r]*) ?([^>]*?)>/im,u4=new Uint8Array(128);(()=>{for(var $=[Z0,P0,O0,b0,K5,A0,c0,Y0,T0,O9,g,A9,C5,L5],Q=0;Q<$.length;Q++)u4[$[Q]]=1})();var _4=/([a-zA-Z_][a-zA-Z0-9_-]*)=(?:\"([^\"]*)\"|'([^']*)')/g;function p4($){return N9.has($)}function d4($){return x6.test($)}function c4($,Q,Z){for(var X=Q,Y=Z;X<Y&&($.charCodeAt(X)===I||$.charCodeAt(X)===w);)X++;if(X>=Y)return!1;$.charCodeAt(X)===E0&&X++;for(var V=0;X<Y;){for(;X<Y&&($.charCodeAt(X)===I||$.charCodeAt(X)===w);)X++;if(X>=Y)break;if($.charCodeAt(X)===E0&&V>0){for(var K=X+1;K<Y&&($.charCodeAt(K)===I||$.charCodeAt(K)===w);)K++;if(K>=Y)return!0}if($.charCodeAt(X)===m0&&X++,X>=Y||$.charCodeAt(X)!==p)return!1;for(;X<Y&&$.charCodeAt(X)===p;)X++;for(X<Y&&$.charCodeAt(X)===m0&&X++,V++;X<Y&&($.charCodeAt(X)===I||$.charCodeAt(X)===w);)X++;if(X<Y)if($.charCodeAt(X)===E0)X++;else return!1}return V>0}var E6=/[\\u0000-\\u001F\\u007F]/g,g6={action:1,background:1,cite:1,data:1,formaction:1,href:1,longdesc:1,poster:1,src:1,\"xlink:href\":1},C6=/&#(x[0-9a-f]+|[0-9]+);?/gi;function f6($){return $.indexOf(\"&#\")===-1?$:$.replace(C6,(Q,Z)=>{var X=Z.charCodeAt(0)===V$||Z.charCodeAt(0)===K$?Number.parseInt(Z.slice(1),16):Number.parseInt(Z,10);return X>0&&X<=1114111?String.fromCodePoint(X):Q})}function h6($,Q,Z){if(Z&&Q.charCodeAt(0)===S5)return!1;var X=$.charCodeAt(0),Y=$.charCodeAt(1);if((X===n$||X===a$)&&(Y===i$||Y===o$))return!(Z&&Q===\"\");var V=$.toLowerCase();if(V===\"srcdoc\")return!0;if(V===\"style\")return/url\\s*\\(\\s*(javascript|vbscript|data:(?!image\\/))/i.test(Q);if(g6[V]===1){var K=f6(I5(Q));if(H5(K)===null)return!0;var J=K.replace(E6,\"\");return J!==K&&H5(J)===null}return!1}function A$($){return\"<\"+($.f?\"/\":\"\")+$.tag+$.g+$.b+($.n?$.r?\" />\":\"/>\":\">\")}function v4($,Q,Z,X){for(var Y=[],V=Q,K=0;K<X.length;K+=2){var J=X[K];if(J>V){var G=$.slice(V,J).trim();G&&Y.push(G)}V=X[K+1]}if(V<Z){var U=$.slice(V,Z).trim();U&&Y.push(U)}return Y.join(\" \")}function w5($,Q){if($.charCodeAt(Q)!==Y0)return null;let Z=Q+1,X=$.length,Y=!1;$.charCodeAt(Z)===j0&&(Z++,Y=!0);let V=Z,K=$.charCodeAt(Z);if(!(K>=V0&&K<=q0||K>=h&&K<=u))return null;for(;Z<X&&($.charCodeAt(Z)>=V0&&$.charCodeAt(Z)<=q0||$.charCodeAt(Z)>=h&&$.charCodeAt(Z)<=u||$.charCodeAt(Z)>=r&&$.charCodeAt(Z)<=o||$.charCodeAt(Z)===p);)Z++;let J=$.slice(V,Z);if(!J)return null;let G=J.charCodeAt(0),U=G>=h&&G<=u||J.indexOf(\"-\")!==-1,W=Z;for(;Z<X&&($.charCodeAt(Z)===I||$.charCodeAt(Z)===w||$.charCodeAt(Z)===g);)Z++;let z=$.slice(W,Z);if(Z===W&&Z<X){var H=$.charCodeAt(Z);if(H!==l&&H!==j0)return null}let F=Z,M={},j=!1;for(var _=null;Z<X;){let f=$.charCodeAt(Z);if(f===l){let y=_?v4($,F,Z,_):$.slice(F,Z);return{r:j,u:U,f:Y,b:y,q:_!=null,n:!1,g:z,attrs:M,end:Z+1,tag:J}}if(f===I||f===w||f===g){Z++;continue}if(f===j0&&Z+1<X&&$.charCodeAt(Z+1)===l){j=Z>F&&$.charCodeAt(Z-1)===I;let y=_?v4($,F,Z,_):$.slice(F,Z);return{r:j,u:U,f:Y,b:y,q:_!=null,n:!0,g:z,attrs:M,end:Z+2,tag:J}}var q=Z,D=$.charCodeAt(Z);if(!(D>=V0&&D<=q0||D>=h&&D<=u||D===O0||D===m0))return null;for(Z++;Z<X;){var A=$.charCodeAt(Z);if(A>=V0&&A<=q0||A>=h&&A<=u||A>=r&&A<=o||A===O0||A===Q5||A===m0||A===p)Z++;else break}for(var N=$.slice(q,Z),L=Z;Z<X&&($.charCodeAt(Z)===I||$.charCodeAt(Z)===w);)Z++;var O,P;if($.charCodeAt(Z)===K5){for(Z++;Z<X&&($.charCodeAt(Z)===I||$.charCodeAt(Z)===w);)Z++;var v=$.charCodeAt(Z);if(v===T5||v===f5){Z++;for(var b=Z;Z<X&&$.charCodeAt(Z)!==v;)Z++;if(Z>=X)return null;if(O=$.slice(b,Z),Z++,Z<X){var k=$.charCodeAt(Z);if(k!==I&&k!==w&&k!==g&&k!==l&&k!==j0)return null}P=Z}else if(v===S5){var x=1,b=Z;for(Z++;Z<X&&x>0;){var A=$.charCodeAt(Z);A===S5?x++:A===E9&&x--,Z++}O=$.slice(b,Z),P=Z}else{for(var b=Z;Z<X;){var T=$.charCodeAt(Z);if(T===I||T===w||T===l||T===g||T===T5||T===f5||T===K5||T===Y0||T===Z0)break;Z++}if(Z===b)return null;O=$.slice(b,Z),P=Z}}else O=\"\",P=L;h6(N,O,U)?(_===null&&(_=[]),_.push(q,P)):M[N]=O}return null}function G5($){var Q=$.indexOf(\"<\");if(Q===-1)return $;for(var Z=\"\",X=0,Y=!1;Q!==-1;){var V=w5($,Q);V?(V.q&&(Z+=$.slice(X,Q)+A$(V),X=V.end,Y=!0),Q=$.indexOf(\"<\",V.end)):Q=$.indexOf(\"<\",Q+1)}return Y?Z+$.slice(X):$}function m6($,Q,Z){if(!Z.optimizeForStreaming&&$.indexOf(\"[\")===-1)return!1;for(var X=0,Y=$.length,V=!1,K=!1;X<Y;){for(var J=$.indexOf(`\n`,X),G=J<0?Y:J,U=X,W=0;U<G&&W<4;)if($.charCodeAt(U)===I)W++,U++;else if($.charCodeAt(U)===w)W+=4,U++;else break;if(U>=G){V=!1,X=J<0?Y:J+1;continue}if(W<4){var z=$.charCodeAt(U);if(z===Z0||z===b0){for(var H=z,F=0,M=U;M<G&&$.charCodeAt(M)===H;)F++,M++;if(F>=3){var j=!0;if(H===Z0){for(var _=M;_<G;_++)if($.charCodeAt(_)===Z0){j=!1;break}}if(j){V=!1;for(var q=J<0?Y:J+1;q<Y;){for(var D=q,A=0;D<Y&&A<4;){var N=$.charCodeAt(D);if(N===I)A++,D++;else if(N===w)A+=4,D++;else break}if(A<4&&D<Y&&$.charCodeAt(D)===H){for(var L=0;D<Y&&$.charCodeAt(D)===H;)L++,D++;if(L>=F){for(;D<Y&&($.charCodeAt(D)===I||$.charCodeAt(D)===w);)D++;if(D>=Y||$.charCodeAt(D)===g){X=D>=Y?Y:D+1;break}}}for(;q<Y&&$.charCodeAt(q)!==g;)q++;q<Y&&q++}q>=Y&&(X=Y,K=!0);continue}}}}for(var O=U;O<G&&$.charCodeAt(O)===l;){O++,O<G&&$.charCodeAt(O)===I&&O++;for(var P=0;O<G&&P<4;)if($.charCodeAt(O)===I)P++,O++;else if($.charCodeAt(O)===w)P+=4,O++;else break;if(P>=4)break;V=!1}if(!V&&W<4&&O<G&&$.charCodeAt(O)===A0&&!(O+1<Y&&$.charCodeAt(O+1)===W5)){var v=l4($,O,Q);if(v){X=v,V=!1;continue}}var b=$.charCodeAt(U);if(b===V5&&W<4)V=!1;else if(W<4&&(b===p||b===P0||b===O0)){for(var k=U,x=0;k<G;){var T=$.charCodeAt(k);if(T===b)x++;else if(T!==I&&T!==w)break;k++}V=!(x>=3&&k>=G)}else V=!0;X=J<0?Y:J+1}return K}function l4($,Q,Z){let X=$.length;if($.charCodeAt(Q)!==A0)return null;let Y=Q+1<X&&$.charCodeAt(Q+1)===W5,V=Q+1;for(;V<X;){var K=$.charCodeAt(V);if(K===J5){V++;break}if(K===A0)return null;K===T0&&V+1<X&&V++,V++}if(V>X||$.charCodeAt(V-1)!==J5)return null;let J=$.slice(Q+1,V-1);if(J.length>999)return null;let G=p9(J);if(!G||V>=X||$.charCodeAt(V)!==m0)return null;V++;let U=!1;for(;V<X;){let f=$.charCodeAt(V);if(f===I||f===w)V++;else if(f===g&&!U)U=!0,V++;else break}if(Y){let f=$.indexOf(`\n`,V),y=f<0?X:f,C=$.slice(V,y).trim();return Z[G]={target:C,title:void 0},f<0?X:f+1}var W;if(V<X&&$.charCodeAt(V)===Y0){V++;for(var z=V;V<X&&$.charCodeAt(V)!==l&&$.charCodeAt(V)!==g;)$.charCodeAt(V)===T0&&V+1<X&&V++,V++;if(V>=X||$.charCodeAt(V)!==l)return null;W=$.slice(z,V),V++;for(var H=$.indexOf(`\n`,V),F=H<0?X:H,M=V;M<F&&($.charCodeAt(M)===I||$.charCodeAt(M)===w);)M++;if(M<F){if(M===V)return null;var j=$.charCodeAt(M);if(j!==T5&&j!==f5&&j!==z5)return null}}else{for(var z=V,_=0;V<X;){var K=$.charCodeAt(V);if(K===z5)_++;else if(K===F5){if(_===0)break;_--}else{if(K===I||K===w||K===g)break;K===T0&&V+1<X&&V++}V++}if(W=$.slice(z,V),!W)return null}for(;V<X&&($.charCodeAt(V)===I||$.charCodeAt(V)===w);)V++;var q=$.indexOf(`\n`,V),D=q<0?X:q,A,N=!1,L=V,O=V;if(V===D&&V<X)for(O=V+1;O<X&&($.charCodeAt(O)===I||$.charCodeAt(O)===w);)O++;if(O<X){var P=$.charCodeAt(O);if(P===T5||P===f5||P===z5){for(var v=P===z5?41:P,b=O+1,k=b;b<X;){var x=$.charCodeAt(b);if(x===v){for(var T=b+1;T<X&&($.charCodeAt(T)===I||$.charCodeAt(T)===w);)T++;(T>=X||$.charCodeAt(T)===g)&&(A=$.slice(k,b),N=!0,L=T<X?T+1:X);break}if(x===T0&&b+1<X){b+=2;continue}if(x===g&&b+1<X&&$.charCodeAt(b+1)===g)break;b++}if(!N&&O===V)return null}}if(N)return Z[G]||(Z[G]={target:I5(q9(W)),title:A===void 0?A:I5(q9(A))}),L;for(;V<D&&($.charCodeAt(V)===I||$.charCodeAt(V)===w);)V++;return V<D?null:(Z[G]||(Z[G]={target:I5(q9(W)),title:A}),q<0?X:q+1)}var X5=new Uint8Array(V4);for(X5[V5]|=M5,X5[l]|=M5,X5[p]|=M5|k5,X5[y5]|=M5,X5[P0]|=M5|k5,X5[O0]|=M5|k5,X5[Z0]|=M5|k5,X5[b0]|=M5|k5,X5[Y0]|=M5|k5,X5[A0]|=k5,X5[c0]|=k5,X5[E0]|=M5,B9=r;B9<=o;B9++)X5[B9]|=M5;var B9;function I4($){if($.indexOf(\"[\")<0&&$.indexOf(\"]\")<0)return!1;for(var Q=0;Q<$.length;Q++){if($.charCodeAt(Q)===T0){Q++;continue}if($.charCodeAt(Q)===A0||$.charCodeAt(Q)===J5)return!0}return!1}function p9($){for(var Q=$.length,Z=!0,X=Q>0,Y=0;Y<Q;Y++){var V=$.charCodeAt(Y);if(V===I){if(Z){X=!1;break}Z=!0}else if(V<33||V>126||V>=h&&V<=u){X=!1;break}else Z=!1}if(X&&!Z)return $;var K=$.replace(/\\s+/g,\" \").trim();return K.indexOf(\"\\u1E9E\")!==-1?K.replace(/\\u1E9E/g,\"ss\").toLowerCase():K.toLowerCase()}function R$($){return $<U9?X5[$]:$===c$?h5:0}function q9($){return $.indexOf(\"\\\\\")===-1?$:$.replace(/\\\\([!\"#$%&'()*+,\\-./:;<=>?@[\\\\\\]^_`{|}~])/g,\"$1\")}var j$=null,B$=-1,d9=-1;function G0($,Q){if(Q>=B$&&Q<=d9&&$===j$)return d9;var Z=$.indexOf(`\n`,Q),X=Z<0?$.length:Z;return j$=$,B$=Q,d9=X,X}function e($,Q){let Z=G0($,Q);return Z<$.length?Z+1:Z}function v9($,Q,Z){for(;Q<Z;){let X=$.charCodeAt(Q);if(X!==I&&X!==w)break;Q++}return Q}function N4($,Q){let Z=e($,Q);for(;Z<$.length;){let X=G0($,Z);if(e0($,Z,X))return Z;Z=e($,Z)}return $.length}function l5($,Q,Z,X){let Y=0;for(;Q+Y<Z&&$.charCodeAt(Q+Y)===X;)Y++;return Y}var U0=0,Q0=0;function L0($,Q,Z){for(U0=0,Q0=0;Q+Q0<Z;){let X=$.charCodeAt(Q+Q0);if(X===w)U0+=4-U0%4;else if(X===I)U0++;else break;Q0++}}function e0($,Q,Z){return v9($,Q,Z)>=Z}function u6($,Q){if(!$)return $;var Z=Q.v||(Q.v=Object.create(null)),X=Z[$];if(X===void 0)return Z[$]=0,$;for(var Y=X+1,V=`${$}-${Y}`;Z[V]!==void 0;)Y++,V=`${$}-${Y}`;return Z[$]=Y,Z[V]=0,V}function p6($,Q,Z,X){let Y=G0($,Q);if(L0($,Q,Y),U0>3)return null;let V=Q+Q0;if($.charCodeAt(V)!==V5)return null;let K=l5($,V,Y,35);if(K<1||K>6||(V+=K,V<Y&&$.charCodeAt(V)!==I&&$.charCodeAt(V)!==w))return null;V=v9($,V,Y);for(var J=Y;J>V&&$.charCodeAt(J-1)===I;)J--;for(var G=J;J>V&&$.charCodeAt(J-1)===V5;)J--;if(J<G)if(J===V||$.charCodeAt(J-1)===I)for(;J>V&&$.charCodeAt(J-1)===I;)J--;else J=G;let U=$.slice(V,J),W=W9(U,!1,Z,X);return{node:{type:B.heading,level:K,children:W,id:\"\"},end:e($,Y)}}function d6($,Q,Z){var X=$.charCodeAt(Q);if(X!==K5&&X!==p)return!1;for(var Y=Q;Y<Z&&$.charCodeAt(Y)===X;)Y++;for(;Y<Z&&($.charCodeAt(Y)===I||$.charCodeAt(Y)===w);)Y++;return Y>=Z}function d5($,Q){let Z=G0($,Q);if(L0($,Q,Z),U0>3)return null;let X=Q+Q0,Y=$.charCodeAt(X);if(Y!==p&&Y!==P0&&Y!==O0)return null;let V=0;for(;X<Z;){let K=$.charCodeAt(X);if(K===Y)V++;else if(K!==I&&K!==w)return null;X++}return V<3?null:{node:{type:B.breakThematic},end:e($,Z)}}var P4=0,w4=0,R4=\"\";function c6($,Q,Z){let X=G0($,Q);if(L0($,Q,X),U0>3)return null;let Y=U0,V=Q0,K=Q+Q0,J=$.charCodeAt(K);if(J!==Z0&&J!==b0)return null;let G=l5($,K,X,J);if(G<3)return null;K+=G;let U=v9($,K,X),W=X;if(J===Z0){for(let C=U;C<X;C++)if($.charCodeAt(C)===Z0)return null}for(;W>U&&($.charCodeAt(W-1)===I||$.charCodeAt(W-1)===w);)W--;let z=$.slice(U,W),H=\"\",F=\"\",M=z.indexOf(\" \");M===-1?H=z:(H=z.slice(0,M),F=z.slice(M+1).trim()),H=q9(H);var j;if(F){_4.lastIndex=0;for(var _;(_=_4.exec(F))!=null;)j||(j={}),j[_[1]]=_[2]===void 0?_[3]:_[2]}let q=e($,X),D=$.length,A=$.length;var N;J===P4&&G===w4?N=R4:(N=String.fromCharCode(J).repeat(G),P4=J,w4=G,R4=N);for(var L=q;L<$.length;){var O=$.indexOf(N,L);if(O===-1)break;for(var P=O,v=0;P>0&&v<4&&$.charCodeAt(P-1)===I;)P--,v++;if(v<=3&&(P===0||$.charCodeAt(P-1)===g)){for(var b=O+G;b<$.length&&$.charCodeAt(b)===J;)b++;var k=G0($,b);if(e0($,b,k)){D=P,A=e($,k);break}}L=O+1}var x;if(Y===0)x=D>q&&$.charCodeAt(D-1)===g?$.slice(q,D-1):$.slice(q,D);else{x=\"\";for(var T=q;T<D;){var f=G0($,T);L0($,T,f);var y=Math.min(Q0,Y);x+=`${$.slice(T+y,f)}\n`,T=e($,f)}x.length>0&&x.charCodeAt(x.length-1)===g&&(x=x.slice(0,-1))}return{node:{type:B.codeBlock,lang:H||void 0,text:x,infoString:F||void 0,attrs:j},end:A}}function b4($,Q,Z){for(var X=0,Y=Q;Y<Z&&X<4;)$.charCodeAt(Y)===w?X+=4-X%4:X++,Y++;if(X<4)return\"\";for(var V=\"\",K=4;K<X;K++)V+=\" \";return V+$.slice(Y,Z)}function l6($,Q){let Z=G0($,Q);if(L0($,Q,Z),U0<4)return null;let X=\"\",Y=Q;for(;Y<$.length;){let H=G0($,Y);if(L0($,Y,H),e0($,Y,H)){for(var V=`${b4($,Y,H)}\n`,K=e($,H);K<$.length;){var J=G0($,K);if(e0($,K,J)){V+=`${b4($,K,J)}\n`,K=e($,J);continue}L0($,K,J),U0>=4&&(X+=V,Y=K);break}if(Y!==K)break;continue}if(U0<4)break;let F=0,M=0;var G=0;for(let j=Y;j<H&&M<4;j++){if($.charCodeAt(j)===w){var U=4-M%4;M+U>4&&(G=M+U-4),M+=U}else M++;F++}var W=\"\";if(G>0)for(var z=0;z<G;z++)W+=\" \";W+=$.slice(Y+F,H),X+=`${W}\n`,Y=e($,H)}for(;X.length>0&&X.charCodeAt(X.length-1)===g;)X=X.slice(0,-1);return X?{node:{type:B.codeBlock,lang:void 0,text:X,infoString:void 0,attrs:void 0},end:Y}:null}function r6($,Q,Z,X){let Y=G0($,Q);if(L0($,Q,Y),U0>3)return null;let V=Q+Q0;if($.charCodeAt(V)!==l)return null;let K=\"\",J=Q,G,U=!1,W=!1,z=!1;for(;J<$.length;){let S=G0($,J);L0($,J,S);let s=J+Q0;if($.charCodeAt(s)===l){let X0=s+1;var H=U0+1,F=!1;if(X0<S){var M=$.charCodeAt(X0);M===I?(X0++,H++,F=!0):M===w&&(F=!0)}for(var j=\"\",_=!1,q=X0;q<S;q++)if($.charCodeAt(q)===w){_=!0;break}if(_){var D=H;if(F&&X0<S&&$.charCodeAt(X0)===w){for(var A=4-D%4,N=0;N<A-1;N++)j+=\" \";D+=A,X0++}for(var L=X0;L<S;L++)if($.charCodeAt(L)===w){for(var O=4-D%4,P=0;P<O;P++)j+=\" \";D+=O}else j+=$[L],D++}else j=$.slice(X0,S);if(!(K||G)){let I0=j.match(/^\\[!([A-Za-z]+)\\]\\s*$/);if(I0){G=I0[1].toUpperCase(),J=e($,S);continue}}K+=`${j}\n`;var v=j.trimStart();v.startsWith(\"```\")||v.startsWith(\"~~~\")?z=!z:(j.startsWith(\" \")||j.startsWith(\"\t\"))&&(z=!0),W=v.length>0,J=e($,S)}else if(K&&!e0($,J,S)&&W){if(U0<4){var b=J+Q0,k=b<S?$.charCodeAt(b):0;if(k===V5||k===l||k===Z0||k===b0||k===Y0||(k===p||k===P0||k===O0)&&d5($,J)||(k===p||k===P0||k===y5)&&b+1<S&&($.charCodeAt(b+1)===I||$.charCodeAt(b+1)===w))break;if(k>=r&&k<=o){for(var x=b;x<S&&$.charCodeAt(x)>=r&&$.charCodeAt(x)<=o;)x++;if(x<S&&($.charCodeAt(x)===Q5||$.charCodeAt(x)===F5))break}}if(z)break;K+=`${$.slice(J,S)}\n`,U=!0,J=e($,S)}else break}if(!(K||G))return null;var{inBlockQuote:T,l:f}=Z;Z.inBlockQuote=!0,U&&(Z.l=!0);var y=Z.i;Z.i=y||!e0($,J,$.length);let C=c5(K||\"\",Z,X);return Z.i=y,Z.inBlockQuote=T,Z.l=f,{node:{type:B.blockQuote,children:C,alert:G||void 0},end:J}}function r4($,Q,Z){for(var X=0,Y=Q;Y<Z;Y++)$.charCodeAt(Y)===w?X+=4-X%4:X++;return X}function u5($,Q,Z){if(L0($,Q,Z),U0>3)return null;var X=Q+Q0;if(X>=Z)return null;var Y=$.charCodeAt(X),V=U0,K=X,J=X;if(Y===p||Y===P0||Y===y5){if(K=X+1,K<Z&&$.charCodeAt(K)!==I&&$.charCodeAt(K)!==w&&$.charCodeAt(K)!==g)return null}else if(Y>=r&&Y<=o){for(;J<Z&&J-X<9;){var G=$.charCodeAt(J);if(G<r||G>o)break;J++}if(J>X&&J<Z){var U=$.charCodeAt(J);if(U===Q5||U===F5){if(K=J+1,K<Z&&$.charCodeAt(K)!==I&&$.charCodeAt(K)!==w&&$.charCodeAt(K)!==g)return null}else return null}else return null}else return null;var W=K,z=r4($,Q,K),H=0,F=W,M=z;if(W>=Z)return{ordered:Y>=r&&Y<=o,marker:Y>=r&&Y<=o?$[J]:$[X],start:Y>=r&&Y<=o?Number.parseInt($.slice(X,J),10):void 0,contentStart:W,contentCol:z+1,markerCol:V,isEmpty:!0};for(;F<Z&&($.charCodeAt(F)===I||$.charCodeAt(F)===w);){if($.charCodeAt(F)===w){var j=4-M%4;M+=j}else M++;F++,H++}var _=F>=Z,q=M-z;return _||q>4?(M=z+1,F=W+1,H=1):H===0&&(M=z+1,F=W,H=1),{ordered:Y>=r&&Y<=o,marker:Y>=r&&Y<=o?$[J]:$[X],start:Y>=r&&Y<=o?Number.parseInt($.slice(X,J),10):void 0,contentStart:F,contentCol:M,markerCol:V,isEmpty:_}}var G9=0;function L4($,Q,Z,X){var Y=0,V=Q;for(G9=0;V<Z&&Y<X;){var K=$.charCodeAt(V);if(K===w){var J=4-Y%4;if(Y+J>X){G9=Y+J-X,V++,Y=X;break}Y+=J}else if(K===I)Y++;else break;V++}return V}function T4($,Q,Z,X){var Y=G0($,Q),V=u5($,Q,Y);if(!V)return null;var K=[],J=Q,G=V.contentCol,U=\"\",W=V.isEmpty,z=!1,H=!1;if(!V.isEmpty){for(var F=!1,M=V.contentStart;M<Y;M++)if($.charCodeAt(M)===w){F=!0;break}if(F){var j=\"\",_=r4($,Q,V.contentStart),q=_-V.contentCol;if(q>0)for(var D=0;D<q;D++)j+=\" \";for(var A=V.contentStart;A<Y;A++)if($.charCodeAt(A)===w){for(var N=4-_%4,L=0;L<N;L++)j+=\" \";_+=N}else j+=$[A],_++;U=`${j}\n`}else U=`${$.slice(V.contentStart,Y)}\n`}for(J=e($,Y);J<$.length;){var O=G0($,J);L0($,J,O);var P=$.charCodeAt(J+Q0);if(U0<G&&(P===p||P===P0||P===O0)&&U0<=3&&d5($,J))break;var v=u5($,J,O);if(v&&v.ordered===V.ordered&&v.marker===V.marker&&v.markerCol<G){K.push({contentCol:G,raw:U,hasBlankAfter:z,isEmpty:W}),z&&(H=!0),G=v.contentCol,W=v.isEmpty,z=!1,U=v.isEmpty?\"\":`${$.slice(v.contentStart,O)}\n`,J=e($,O);continue}if(e0($,J,O)){var b=L4($,J,O,G);if(G9>0||b<O){for(var k=\"\",x=0;x<G9;x++)k+=\" \";U+=`${k+$.slice(b,O)}\n`}else U+=`\n`;J=e($,O);for(var T=!1,f=0;f<U.length;f++){var y=U.charCodeAt(f);if(y!==g&&y!==v5&&y!==I&&y!==w){T=!0;break}}if(W&&!T)if(J<$.length){var C=G0($,J),E=u5($,J,C);if(!E||E.ordered!==V.ordered||E.marker!==V.marker)break;z=!0}else break;if(J<$.length){var S=G0($,J);L0($,J,S);var s=$.charCodeAt(J+Q0);if((s===p||s===P0||s===O0)&&U0<=3&&d5($,J))break;var X0=u5($,J,S);if(X0&&X0.ordered===V.ordered&&X0.marker===V.marker&&X0.markerCol<G){z=!0;continue}if(!e0($,J,S)&&U0<G)break}continue}if(U0>=G){var I0=L4($,J,O,G);if(G9>0){for(var d=\"\",u0=G,B0=0;B0<G9;B0++)d+=\" \",u0++;for(var W0=I0;W0<O;W0++)if($.charCodeAt(W0)===w){for(var H0=4-u0%4,D0=0;D0<H0;D0++)d+=\" \";u0+=H0}else d+=$[W0],u0++;U+=`${d}\n`}else U+=`${$.slice(I0,O)}\n`;J=e($,O);continue}for(var m=!1,c=0;c<U.length;c++){var K0=U.charCodeAt(c);if(K0!==g&&K0!==v5&&K0!==I&&K0!==w){m=!0;break}}if(!z&&m&&!W){var y0=J+Q0,S0=$.charCodeAt(y0),_0=S0===V5||S0===l||S0===Y0||S0===Z0||S0===b0||(S0===p||S0===P0||S0===O0||S0===y5)&&(d5($,J)!=null||u5($,J,O)!=null)||S0>=r&&S0<=o&&u5($,J,O)!=null;if(!_0){U+=`\u001E${$.slice(y0,O)}\n`,J=e($,O);continue}}break}if(K.push({contentCol:G,raw:U,hasBlankAfter:z,isEmpty:W}),K.length===0)return null;var a=H;if(!a)for(var w0=0;w0<K.length;w0++){if(K[w0].hasBlankAfter&&w0<K.length-1){a=!0;break}if(!K[w0].isEmpty){for(var z0=K[w0].raw,F0=z0.length,M0=0,f0=!1,v0=!1,k0=!1,h0=!1,p0=0,n=0,N0=-1;M0<F0;){var i=z0.indexOf(`\n`,M0);if(i<0&&(i=F0),h0){L0(z0,M0,i);for(var x0=z0.slice(M0+Q0,i),R=0;R<x0.length&&x0.charCodeAt(R)===p0;)R++;R>=n&&x0.slice(R).trim()===\"\"&&(h0=!1),M0=i<F0?i+1:F0;continue}if(e0(z0,M0,i)){N0>=0?k0=!0:f0&&(v0=!0),M0=i<F0?i+1:F0;continue}if(L0(z0,M0,i),N0>=0){if(U0>=N0){M0=i<F0?i+1:F0;continue}var J0=u5(z0,M0,i);if(J0&&J0.markerCol<N0&&J0.contentCol<=N0){M0=i<F0?i+1:F0;continue}if(J0){M0=i<F0?i+1:F0;continue}N0=-1,k0&&(v0=!0,k0=!1)}var a0=z0.slice(M0+Q0,i),q5=a0.charCodeAt(0);if((q5===Z0||q5===b0)&&U0<=3){for(var $0=0;$0<a0.length&&a0.charCodeAt($0)===q5;)$0++;if($0>=3){if(v0&&f0){a=!0;break}h0=!0,p0=q5,n=$0,f0=!0,M0=i<F0?i+1:F0;continue}}var C0=U0<=3?u5(z0,M0,i):null;if(C0&&f0){if(v0){a=!0;break}N0=C0.contentCol,k0=!1,M0=i<F0?i+1:F0,f0=!0;continue}if(v0){a=!0;break}f0=!0,M0=i<F0?i+1:F0}if(a)break}}for(var t=[],d0=0;d0<K.length;d0++){for(var n0=K[d0],$5=n0.raw,l0=$5.length;l0>0&&$5.charCodeAt(l0-1)===g;)l0--;var s0=l0<$5.length?$5.slice(0,l0):$5,r5=null;if(s0.length>=3&&s0.charCodeAt(0)===A0){var x5=s0[1];(x5===\" \"||x5===\"x\"||x5===\"X\")&&s0.charCodeAt(2)===J5&&(r5={type:B.gfmTask,completed:x5===\"x\"||x5===\"X\"},s0=s0.slice(3))}var R0;if(n0.isEmpty&&s0.trim()===\"\")R0=[];else if(a){var o5=Z.inList;Z.inList=!0;var w9=Z.i;Z.i=w9||d0!==K.length-1,R0=c5(s0,Z,X),Z.i=w9,Z.inList=o5}else{var b5=Z.inList;Z.inList=!0;var i5=Z.i;if(Z.i=i5||d0!==K.length-1,R0=c5(s0,Z,X),Z.i=i5,Z.inList=b5,R0.length===1&&R0[0].type===B.paragraph)R0=R0[0].children;else if(Z.p){var E5=[];Z.p.push({src:R0,dest:E5,unwrap:!0}),R0=E5}else{for(var j5=[],Z5=0;Z5<R0.length;Z5++)if(R0[Z5].type===B.paragraph)for(var B5=R0[Z5].children,V9=0;V9<B5.length;V9++)j5.push(B5[V9]);else j5.push(R0[Z5]);R0=j5}}if(r5){var a5=[r5,{type:B.text,text:\" \"}];if(Z.p)Z.p.push({src:R0,dest:a5,unwrap:!1});else for(var A5=0;A5<R0.length;A5++)a5.push(R0[A5]);t.push(a5)}else t.push(R0)}return{node:{type:V.ordered?B.orderedList:B.unorderedList,start:V.ordered?V.start:void 0,items:t},end:J}}var l9=new Set([\"address\",\"article\",\"aside\",\"base\",\"basefont\",\"blockquote\",\"body\",\"caption\",\"center\",\"col\",\"colgroup\",\"dd\",\"details\",\"dialog\",\"dir\",\"div\",\"dl\",\"dt\",\"fieldset\",\"figcaption\",\"figure\",\"footer\",\"form\",\"frame\",\"frameset\",\"h1\",\"h2\",\"h3\",\"h4\",\"h5\",\"h6\",\"head\",\"header\",\"hr\",\"html\",\"iframe\",\"legend\",\"li\",\"link\",\"main\",\"menu\",\"menuitem\",\"nav\",\"noframes\",\"ol\",\"optgroup\",\"option\",\"p\",\"param\",\"search\",\"section\",\"summary\",\"table\",\"tbody\",\"td\",\"tfoot\",\"th\",\"thead\",\"title\",\"tr\",\"track\",\"ul\"]);function P5($,Q,Z){let X={};for(let[K,J]of Object.entries($)){let G=K.toLowerCase();if(G===\"style\"&&typeof J==\"string\"){let U={},W=[],z=0,H=0;for(let M=0;M<J.length;M++){let j=J.charCodeAt(M);j===z5?z++:j===F5?z--:j===j9&&z===0&&(W.push(J.slice(H,M)),H=M+1)}H<J.length&&W.push(J.slice(H));let F=!1;W.forEach(M=>{let j=M.indexOf(\":\");if(j===-1)return;let _=M.slice(0,j).trim(),q=M.slice(j+1).trim();if(_&&q){if(/url\\s*\\(\\s*(javascript|vbscript|data:(?!image\\/))/i.test(q)){F=!0;return}let D=_.indexOf(\"-\")===-1?_:_.replace(/-([a-z])/g,(A,N)=>N.toUpperCase());U[D]=q}}),!F&&Object.keys(U).length>0&&(X[K]=U)}else if((G===\"href\"||G===\"src\")&&Z?.sanitizer){let U=Z.sanitizer(J,Q,G);U!=null&&(X[K]=U)}else if(J===\"\")X[K]=!0;else if(J.length>=2&&J.charCodeAt(0)===S5&&J.charCodeAt(J.length-1)===E9){var Y=J.slice(1,-1);if(Y.length>0){var V=Y.charCodeAt(0);if(V===A0||V===S5)try{X[K]=JSON.parse(Y);continue}catch{}}if(Y===\"true\"){X[K]=!0;continue}if(Y===\"false\"){X[K]=!1;continue}if(Z?.evalUnserializableExpressions)try{X[K]=(0,eval)(`(${Y})`);continue}catch{}X[K]=Y}else X[K]=J}return X}function p5($,Q,Z){let X=Q.length;if(X===0)return Z;var Y=Q.charCodeAt(0),V=Y>=h&&Y<=u||Y>=V0&&Y<=q0;if(!V){for(var K=String.fromCharCode(Y),J=$.length-X,G=Z;G<=J;){var U=$.indexOf(K,G);if(U===-1||U>J)return-1;for(var W=!0,z=1;z<X;z++){var H=$.charCodeAt(U+z),F=Q.charCodeAt(z);if(H>=h&&H<=u&&(H+=U5),F>=h&&F<=u&&(F+=U5),H!==F){W=!1;break}}if(W)return U;G=U+1}return-1}Y>=h&&Y<=u&&(Y+=U5);for(let j=Z;j<=$.length-X;j++){var M=$.charCodeAt(j);if(M>=h&&M<=u&&(M+=U5),M!==Y)continue;let _=!0;for(let q=1;q<X;q++){let D=$.charCodeAt(j+q),A=Q.charCodeAt(q);if(D>=h&&D<=u&&(D+=U5),A>=h&&A<=u&&(A+=U5),D!==A){_=!1;break}}if(_)return j}return-1}function o6($,Q,Z){let X=Q.length;var Y=Q.charCodeAt(0);Y>=h&&Y<=u&&(Y+=U5);for(let K=Math.min(Z,$.length-X);K>=0;K--){var V=$.charCodeAt(K);if(V>=h&&V<=u&&(V+=U5),V!==Y)continue;let J=!0;for(let G=1;G<X;G++){let U=$.charCodeAt(K+G),W=Q.charCodeAt(G);if(U>=h&&U<=u&&(U+=U5),W>=h&&W<=u&&(W+=U5),U!==W){J=!1;break}}if(J)return K}return-1}var r9=-1;function _$($,Q,Z){let X=Z.toLowerCase(),Y=`<${X}`,V=`</${X}`,K=1,J=Q,G=$.length;for(r9=-1;J<G&&K>0;){let z=p5($,Y,J),H=p5($,V,J);if(H===-1)return-1;if(z!==-1&&z<H){let F=w5($,z);F?(F.tag.toLowerCase()===X&&!F.f&&!F.n&&!Q9(F.tag)&&K++,J=F.end):J=z+1}else{var U=H+V.length,W=U<G?$.charCodeAt(U):62;if((W===l||W===I||W===w||W===g)&&(K--,K===0)){r9=H;let F=H+V.length;for(;F<G&&$.charCodeAt(F)!==l;)F++;return F+1}J=H+1}}return-1}function o4($,Q,Z,X){if(X.ignoreHTMLBlocks||X.disableParsingRawHTML)return null;var Y=G0($,Q);if(L0($,Q,Y),U0>3&&!Z.inHTML)return null;var V=Q+Q0;if($.charCodeAt(V)!==Y0)return null;var K=$.indexOf(\">\",V+1);if(K!==-1&&K<Y){var J=$.slice(V+1,K);if(/^[a-zA-Z][a-zA-Z0-9+.-]*:/.test(J)||/^[^\\s@]+@[^\\s@]+$/.test(J))return null}var G=i6($,V);if(G>=1&&G<=5){var U=$.length;if(G===1){for(var W=$.length,z=0;z<D$.length;z++){var H=p5($,`</${D$[z]}>`,V);H>=0&&H<W&&(W=H)}if(W<$.length){var F=$.indexOf(\">\",W);U=F>=0?e($,F+1):$.length}}else{var M=G===2?\"-->\":G===3?\"?>\":G===4?\">\":\"]]>\",j=$.indexOf(M,V);j>=0&&(U=e($,j+M.length))}var _=$.slice(V,U);if(G>=2)return{node:{type:B.htmlComment,text:_,s:!1,raw:!0},end:U};var q=\"div\",D=_.match(/^<\\/?([a-zA-Z][a-zA-Z0-9-]*)/);D&&(q=D[1]);var A=w5($,V),N={},L;A&&!A.f&&(N=P5(A.attrs,q,X),L=A.g+A.b);var O=[],P=q.toLowerCase(),v=`</${P}`,b=p5(_,v,0),k=\"\",x,T,f;if(A?.f){f=_.slice(0,A.end-V);for(var y=_.slice(A.end-V);y.length>0&&y.charCodeAt(y.length-1)===g;)y=y.slice(0,-1);y&&(T=G5(y))}else if(A&&!A.f){var C=A.end-V;if(b===-1){for(var E=_;E.length>0&&E.charCodeAt(E.length-1)===g;)E=E.slice(0,-1);x=G5(E)}else{var S=C;_.charCodeAt(S)===g&&S++;for(var s=b;s>S;){var X0=_.charCodeAt(s-1);if(X0!==I&&X0!==w&&X0!==g&&X0!==v5)break;s--}var I0=_.slice(S,s);I0&&(T=G5(I0));for(var d=_.slice(b);d.length>0&&d.charCodeAt(d.length-1)===g;)d=d.slice(0,-1);f=G5(d),k=_.slice(C,b).trim()}}var u0=A?A.f:!1;return{node:{type:B.htmlBlock,tag:q,attrs:N,b:L,children:O,e:T,h:f,j:x,text:k,c:!0,a:u0},end:U}}if(G===6||G===7){var B0=N4($,Q),W0=B0<$.length?B0:$.length,H0=$.slice(V,W0),D0=B0<$.length?e($,B0):$.length,m=w5($,V);if(m){var c=m.tag,K0=c.toLowerCase(),y0=m.f;if(y0){var S0=$.slice(m.end,W0);return{node:{type:B.htmlBlock,tag:c,attrs:{},children:[],h:$.slice(V,m.end),e:S0?G5(S0):void 0,text:S0,c:!0,a:!0},end:D0}}if(m.n||Q9(c))return{node:{type:B.htmlBlock,tag:c,attrs:P5(m.attrs,c,X),b:m.g+m.b,children:[],text:\"\",c:!1,a:!1},end:m.end<$.length&&$.charCodeAt(m.end)===g?m.end+1:m.end};var _0=Z.d||0,a=$.slice(V,W0),w0=-1,z0=-1,F0=!1;if(_0<10){for(var M0=`</${K0}`,f0=m.end-V,v0=1,k0=f0;k0<a.length&&v0>0;){var h0=p5(a,`<${K0}`,k0),p0=p5(a,M0,k0);if(p0===-1)break;if(h0!==-1&&h0<p0){var n=h0+K0.length+1;if(n<a.length){var N0=a.charCodeAt(n);(N0===I||N0===w||N0===g||N0===l||N0===j0)&&v0++}k0=h0+1}else{var i=p0+M0.length;if(i<a.length){var x0=a.charCodeAt(i);if((x0===l||x0===I||x0===w||x0===g)&&(v0--,v0===0)){w0=p0;for(var R=i;R<a.length&&a.charCodeAt(R)!==l;)R++;z0=R+1;break}}else if(v0--,v0===0){w0=p0,z0=a.length;break}k0=p0+1}}if(w0===-1&&!m.f&&(G===6||m.u)){var J0=_$($,m.end,K0);if(J0!==-1){for(var a0=r9,q5=m.end,$0=!1,C0=!1,t=!1,d0=0,n0=!1,$5=!1,l0=q5;l0<a0;){var s0=$.charCodeAt(l0);if(s0===g)$5&&($0=!0),n0||d0++,$5=!0,l0++;else if(s0===I||s0===w)l0++;else{if(!n0&&(n0=!0,d0>=2&&s0===Y0)){t=!0;break}if($5=!1,s0===Y0){var r5=$.charCodeAt(l0+1)|32;if((r5===x9||r5===Y$||r5===s5)&&(j4.lastIndex=l0,j4.test($))){C0=!0;break}}l0++}}if($0&&!t&&!C0){var x5=G0($,J0);W0=x5,D0=e($,x5),a=$.slice(V,W0),H0=$.slice(V,W0),w0=a0-V,z0=J0-V,F0=!0}}}}var R0=m.b.indexOf(`\n`)!==-1||m.g.indexOf(`\n`)!==-1,o5=!1;if(w0!==-1){var w9=a.slice(z0).trim();o5=w9.length===0}var b5=!1,i5=W0,E5=D0;if(w0!==-1){var j5=V+z0,Z5=G0($,j5-1);if(j5<Z5){for(var B5=j5;B5<Z5&&($.charCodeAt(B5)===I||$.charCodeAt(B5)===w);)B5++;if(B5<Z5&&$.charCodeAt(B5)===Y0){var V9=w5($,B5);V9&&!V9.f&&(b5=!0,i5=j5,E5=j5,o5=!0)}}if(!b5){var a5=e($,Z5);if(a5<W0){for(var A5=a5;A5<W0&&($.charCodeAt(A5)===I||$.charCodeAt(A5)===w);)A5++;if(A5<W0&&$.charCodeAt(A5)===Y0){var s4=w5($,A5);s4&&(b5=!0,i5=Z5,E5=a5,o5=!0)}}}if(!b5&&Z.inHTML){b5=!0,i5=Z5,E5=e($,Z5);var t4=$.slice(j5,Z5).trim();o5=t4.length===0}}var K9=[],Y5=\"\";if(w0!==-1){Y5=a.slice(m.end-V,w0);var J9=Y5.trim();if(J9){var{inline:e4,inHTML:$6,d:Z6}=Z;Z.inHTML=!0,Z.d=_0+1;var Q6=K0===\"p\";if(Q6)Z.inline=!0,K9=W9(J9,!1,Z,X);else{var S$=Y5.indexOf(`\n\n`)!==-1,k$=F$.test(J9),a9=B4.test(J9),X6=S$||k$||Z.inHTML&&a9,Y6=Y5.length>=2&&Y5.charCodeAt(0)===g&&Y5.charCodeAt(Y5.length-1)===g&&!S$;Y6&&!k$&&!a9?K9=[{type:B.text,text:J9}]:X6||a9?(Z.inline=!1,K9=c5(Y5,Z,X)):(Z.inline=!0,K9=W9(J9,!1,Z,X))}Z.inline=e4,Z.inHTML=$6,Z.d=Z6}}var x$=!1;if(G===6&&w0!==-1&&!Z.inHTML&&!R0){var V6=/<[a-zA-Z][^>]*>/.test(Y5),K6=Y5.indexOf(`\n\n`)!==-1||F$.test(Y5);V6&&!K6&&(x$=!0)}var J6=!F0&&(Z.inHTML||G===7||R0||!o5||x$);if(J6){var z9,_5,E$=!1;if(w0!==-1&&b5){var g$=!1;if(Z.inHTML&&z0<a.length){for(var R9=z0;R9<a.length&&a.charCodeAt(R9)!==g;)R9++;var n9=a.slice(z0,R9).trim();g$=n9.length>1&&n9.charCodeAt(0)===Y0&&n9.charCodeAt(1)!==j0}_5=g$?a.slice(m.end-V):Y5,E$=!0}else(G===7||Z.inHTML)&&w0!==-1?(_5=a.slice(m.end-V),_5.charCodeAt(0)===g&&(_5=_5.slice(1))):b5?z9=$.slice(V,i5):R0?z9=H0:(_5=a.slice(m.end-V),_5.charCodeAt(0)===g&&(_5=_5.slice(1)));var C$=z9!==void 0,s9=G5(z9===void 0?_5||\"\":z9),f$={type:B.htmlBlock,tag:c,attrs:P5(m.attrs,c,X),b:m.g+m.b,children:K9,e:C$?void 0:s9,j:C$?s9:void 0,text:s9,c:!0,a:!1};return E$&&(f$.x=!0),{node:f$,end:E5}}var h$=G5(Y5);return{node:{type:B.htmlBlock,tag:c,attrs:P5(m.attrs,c,X),b:m.g+m.b,children:K9,e:F0?void 0:h$,text:h$,c:!1,a:!1},end:E5}}var b9=H0.match(/^<(\\/?)([a-zA-Z][a-zA-Z0-9-]*)/),U6=b9?b9[2]:\"div\",t9=b9?b9[1]===\"/\":!1,e9,m$,u$,L9=\"\";if(t9){var $$=H0.indexOf(\">\");$$===-1?e9=H0:(e9=H0.slice(0,$$+1),L9=H0.slice($$+1),L9&&(m$=G5(L9)))}else u$=G5(H0);return{node:{type:B.htmlBlock,tag:U6,attrs:{},children:[],e:m$,h:e9,j:u$,text:t9?L9:H0,c:!0,a:t9},end:D0}}var r0=w5($,V);if(!r0)return null;var g5=r0.tag,Z$=g5.toLowerCase(),p$=g5.charCodeAt(0),T9=p$>=h&&p$<=u;if(!(T9||l9.has(Z$)||N9.has(Z$)||Z$.includes(\"-\")))return null;if(r0.f)return{node:{type:B.htmlSelfClosing,tag:g5,attrs:{},h:$.slice(V,r0.end),a:!0},end:r0.end};var n5=_$($,r0.end,g5),F9=[];if(n5!==-1){var G6=r9,y9=$.slice(r0.end,G6),S9=y9.trim();if(S9){var q6=y9.indexOf(`\n\n`)!==-1,W6=F$.test(S9),z6=B4.test(S9),F6=Z.inline,H6=Z.inHTML,M6=Z.d;Z.inHTML=!0,Z.d=(Z.d||0)+1,q6||W6||z6?(Z.inline=!1,F9=c5(y9,Z,X)):(Z.inline=!0,F9=W9(S9,!1,Z,X)),Z.inline=F6,Z.inHTML=H6,Z.d=M6}var O6=G0($,n5),D6=$.slice(n5,O6).trim(),Q$=D6?n5:e($,n5),d$=T9?$.slice(V,n5):$.slice(V,Q$),jZ=T9?n5:Q$;return{node:{type:B.htmlBlock,tag:g5,attrs:P5(r0.attrs,g5,X),b:r0.g+r0.b,children:F9,j:G5(d$),text:T9?y9:d$,c:!0,a:!1},end:Q$}}var H9=N4($,r0.end),A6=H9<$.length?e($,H9):H9,X$=$.slice(r0.end,H9);if(X$.trim()){var{inline:j6,inHTML:B6,d:_6}=Z;Z.inline=!1,Z.inHTML=!0,Z.d=(Z.d||0)+1,F9=c5(X$,Z,X),Z.inline=j6,Z.inHTML=B6,Z.d=_6}var v6=$.slice(r0.end,H9);return{node:{type:B.htmlBlock,tag:g5,attrs:P5(r0.attrs,g5,X),b:r0.g+r0.b,children:F9,e:G5(v6),text:X$,c:!0,a:!1},end:A6}}function i6($,Q){if($.charCodeAt(Q)!==Y0)return 0;var Z=Q+1,X=$.length;if($.charCodeAt(Z)===c0&&$.charCodeAt(Z+1)===p&&$.charCodeAt(Z+2)===p)return 2;if($.charCodeAt(Z)===t5)return 3;if($.charCodeAt(Z)===c0){var Y=$.charCodeAt(Z+1);if(Y>=h&&Y<=u)return 4;if($.slice(Z+1,Z+8)===\"[CDATA[\")return 5}for(var V=$.charCodeAt(Z)===j0,K=V?Z+1:Z,J=K;J<X;){var G=$.charCodeAt(J);if(G>=h&&G<=u||G>=V0&&G<=q0||G>=r&&G<=o||G===p)J++;else break}if(J===K)return 0;var U=$.slice(K,J);if(N9.has(U.toLowerCase())){if(V)return 0;var W=$.charCodeAt(J);return W===I||W===w||W===l||W===g||J>=X?1:0}if(l9.has(U.toLowerCase())){if(V){for(var z=J;z<X&&($.charCodeAt(z)===I||$.charCodeAt(z)===w);)z++;return z<X&&$.charCodeAt(z)===l?6:0}var H=J<X?$.charCodeAt(J):-1;return H===I||H===w||H===l||H===g||H===j0||H===-1?6:0}if(V){for(var F=J;F<X&&($.charCodeAt(F)===I||$.charCodeAt(F)===w);)F++;if(F<X&&$.charCodeAt(F)===l){var M=G0($,Q),j=$.slice(F+1,M).trim();if(j===\"\")return 7}}else{var _=G0($,Q),q=w5($,Q);if(q&&q.end<=_){var D=$.slice(q.end,_).trim();if(D===\"\")return 7}}return 0}function y4($,Q,Z){for(var X=0,Y=$.length;X<Y&&($.charCodeAt(X)===I||$.charCodeAt(X)===w);)X++;for(;Y>X&&($.charCodeAt(Y-1)===I||$.charCodeAt(Y-1)===w);)Y--;X<Y&&$.charCodeAt(X)===E0&&X++,Y>X&&$.charCodeAt(Y-1)===E0&&(Y-2<X||$.charCodeAt(Y-2)!==T0)&&Y--;for(var V=[],K=X,J=!1,G=[],U=X;U<Y;){var W=$.charCodeAt(U);if(W===T0&&U+1<Y){$.charCodeAt(U+1)===E0?(J||(J=!0,G=[]),G.push($.slice(K,U)),G.push(\"|\"),U+=2,K=U):U+=2;continue}if(W===Z0){for(var z=0;U<Y&&$.charCodeAt(U)===Z0;)z++,U++;for(var H=!1;U<Y&&!H;){for(var F=0;U<Y&&$.charCodeAt(U)===Z0;)F++,U++;F===z?H=!0:F===0&&U++}continue}if(W===E0){var M=J?(G.push($.slice(K,U)),G.join(\"\")):$.slice(K,U);V.push(M.trim()),U++,K=U,J=!1,G=[];continue}U++}var j=J?(G.push($.slice(K,Y)),G.join(\"\")):$.slice(K,Y);return V.push(j.trim()),V.map(_=>{var q=_.indexOf(\"\\\\|\")===-1?_:_.replace(/\\\\\\|/g,\"|\");return q?W9(q,!1,Q,Z):[]})}function S4($,Q,Z,X){let Y=G0($,Q);var V=$.indexOf(\"|\",Q);if(V<0||V>=Y)return null;let K=e($,Y);if(K>=$.length)return null;let J=G0($,K);if(!c4($,K,J))return null;let G=$.slice(Q,Y),U=$.slice(K,J);for(var W=[],z=0,H=U.length;z<H&&(U.charCodeAt(z)===I||U.charCodeAt(z)===w);)z++;for(z<H&&U.charCodeAt(z)===E0&&z++;z<H;){for(;z<H&&(U.charCodeAt(z)===I||U.charCodeAt(z)===w);)z++;if(z>=H||U.charCodeAt(z)===E0)break;var F=U.charCodeAt(z)===m0;for(F&&z++;z<H&&U.charCodeAt(z)===p;)z++;var M=z<H&&U.charCodeAt(z)===m0;for(M&&z++,W.push(F&&M?\"center\":M?\"right\":F?\"left\":null);z<H&&(U.charCodeAt(z)===I||U.charCodeAt(z)===w);)z++;z<H&&U.charCodeAt(z)===E0&&z++}let j=y4(G,Z,X);if(W.length!==j.length)return null;let _=[],q=e($,J);for(;q<$.length;){let P=G0($,q),v=$.slice(q,P);if(e0($,q,P))break;if(L0($,q,P),U0<4){var D=$.charCodeAt(q+Q0);if(D===l||D===V5||(D===p||D===P0||D===O0)&&d5($,q))break;if(D===Z0||D===b0){for(var A=q+Q0,N=0;A<P&&$.charCodeAt(A)===D;)N++,A++;if(N>=3)break}}_.push(y4(v,Z,X)),q=e($,P)}if(X.optimizeForStreaming&&_.length===0)return null;for(var L=j.length,O=0;O<_.length;O++)if(_[O].length<L)for(;_[O].length<L;)_[O].push([]);else _[O].length>L&&(_[O].length=L);return{node:{type:B.table,header:j,cells:_,align:W},end:q}}function a6($,Q,Z){var X=G0($,Q);if(L0($,Q,X),U0>3)return null;var Y=Q+Q0;if($.charCodeAt(Y)!==A0)return null;if(Y+1<$.length&&$.charCodeAt(Y+1)===W5){var V=n6($,Y,Z);return V||null}Z.refs||(Z.refs={});var K=l4($,Y,Z.refs);return K===null?null:{node:{type:B.refCollection},end:K}}function n6($,Q,Z){var X=$.length;if($.charCodeAt(Q)!==A0||Q+1>=X||$.charCodeAt(Q+1)!==W5)return null;for(var Y=Q+2,V=Y;Y<X&&$.charCodeAt(Y)!==J5;){if($.charCodeAt(Y)===g)return null;Y++}if(Y>=X)return null;var K=`^${$.slice(V,Y)}`.toLowerCase();if(Y++,Y>=X||$.charCodeAt(Y)!==m0)return null;for(Y++;Y<X&&($.charCodeAt(Y)===I||$.charCodeAt(Y)===w);)Y++;if(Y<X&&$.charCodeAt(Y)===g)for(Y++;Y<X&&($.charCodeAt(Y)===I||$.charCodeAt(Y)===w);)Y++;var J=$.indexOf(`\n`,Y);J<0&&(J=X);for(var G=$.slice(Y,J).trim(),U=J<X?J+1:X;U<X;){var W=G0($,U);if(L0($,U,W),U0>=2&&!e0($,U,W))G+=`\n${$.slice(U,W)}`,U=e($,W);else if(e0($,U,W)){var z=e($,W);if(z<X){var H=G0($,z);if(L0($,z,H),U0>=2){G+=`\n`,U=e($,W);continue}}break}else break}var F=Z.refs;return F&&!F[K]&&(F[K]={target:G,title:void 0}),{node:{type:B.footnote},end:U}}function s6($,Q,Z,X){let Y=Q,V=0,K=0,J=-1;for(;Y<$.length;){let f=J>=0?J:G0($,Y);if(J=-1,e0($,Y,f))break;if(L0($,Y,f),U0<4&&K>0&&!Z.l){let C=$.charCodeAt(Y+Q0);if(C===K5||C===p){let E=Y+Q0;for(;E<f&&$.charCodeAt(E)===C;)E++;for(;E<f&&($.charCodeAt(E)===I||$.charCodeAt(E)===w);)E++;if(E>=f){V=C===K5?1:2,Y=e($,f);break}}}K=f;let y=e($,f);if(y<$.length){if($.charCodeAt(y)===g9){var G=G0($,y);Y=e($,G),K=G;continue}let C=G0($,y);if(J=C,L0($,y,C),U0<4){let E=$.charCodeAt(y+Q0);if(E===l){Y=y;break}if(E===V5){for(var U=y+Q0,W=0;U<C&&$.charCodeAt(U)===V5&&W<=6;)W++,U++;if(W>=1&&W<=6&&(U>=C||$.charCodeAt(U)===I||$.charCodeAt(U)===w)){Y=y;break}}if(E===Z0||E===b0){for(var z=y+Q0,H=0;z<C&&$.charCodeAt(z)===E;)H++,z++;if(H>=3){Y=y;break}}if(E===Y0){var F=y+Q0+1,M=F<C?$.charCodeAt(F):0,j=M===c0||M===t5;if(!j&&M===j0){for(var _=F+1,q=_;q<C&&($.charCodeAt(q)>=h&&$.charCodeAt(q)<=u||$.charCodeAt(q)>=V0&&$.charCodeAt(q)<=q0||$.charCodeAt(q)>=r&&$.charCodeAt(q)<=o||$.charCodeAt(q)===p);)q++;q>_&&(j=l9.has($.slice(_,q).toLowerCase()))}else if(!j){for(var D=F;D<C&&($.charCodeAt(D)>=h&&$.charCodeAt(D)<=u||$.charCodeAt(D)>=V0&&$.charCodeAt(D)<=q0||$.charCodeAt(D)>=r&&$.charCodeAt(D)<=o||$.charCodeAt(D)===p);)D++;if(D>F){var A=$.slice(F,D).toLowerCase();j=l9.has(A)||N9.has(A)}}if(j&&o4($,y,Z,X)){Y=y;break}}if(E===p||E===P0||E===y5){let S=y+Q0+1;if(S<C&&($.charCodeAt(S)===I||$.charCodeAt(S)===w)){var N=v9($,S,C);if(N<C&&!d5($,y)){Y=y;break}}}if(E>=r&&E<=o){let S=y+Q0;for(;S<C&&$.charCodeAt(S)>=r&&$.charCodeAt(S)<=o;)S++;if(S<C&&($.charCodeAt(S)===Q5||$.charCodeAt(S)===F5)&&S-(y+Q0)===1&&$.charCodeAt(y+Q0)===49){var L=S+1;if(L<C&&($.charCodeAt(L)===I||$.charCodeAt(L)===w)){var O=v9($,L,C);if(O<C){Y=y;break}}}}if(E===E0){let S=e($,C);if(S<$.length){let s=G0($,S);if(c4($,S,s)){Y=y;break}}}if((E===p||E===P0||E===O0)&&d5($,y)){if(E!==p){Y=y;break}let S=0,s=y+Q0;for(;s<C&&$.charCodeAt(s)===p;)S++,s++;for(;s<C&&($.charCodeAt(s)===I||$.charCodeAt(s)===w);)s++;if(s<C){Y=y;break}}}}Y=e($,f)}for(var P=V?K:Y;P>Q&&($.charCodeAt(P-1)===g||$.charCodeAt(P-1)===v5||$.charCodeAt(P-1)===I||$.charCodeAt(P-1)===w);)P--;for(var v=Q;v<P&&($.charCodeAt(v)===I||$.charCodeAt(v)===w);)v++;if(v>=P)return null;for(var b=!1,k=v;k<P;k++)if($.charCodeAt(k)===g9){b=!0;break}var x=b?$.slice(v,P).replace(/\\u001E/g,\"\"):$.slice(v,P);if(!x)return null;let T=W9(x,!0,Z,X);return V?{node:{type:B.heading,level:V,children:T,id:\"\"},end:Y}:{node:{type:B.paragraph,children:T},end:Y}}function W9($,Q,Z,X){var Y=Z.t;if(!Y){var V=Z.k;Z.k=Q;var K=R5($,0,$.length,Z,X);return Z.k=V,K}var J=[];return Y.push({dest:J,text:$,breaks:Q,inline:Z.inline,inAnchor:Z.inAnchor,inHTML:Z.inHTML,htmlDepth:Z.d,inList:Z.inList,inBlockQuote:Z.inBlockQuote,noSetext:Z.l,depth:Z.o}),J}function t6($,Q,Z){if($.charCodeAt(Q)!==Z0)return null;let X=l5($,Q,Z,96),Y=Q+X;for(;Y<Z;){let V=$.indexOf(\"`\",Y);if(V<0||V>=Z)return null;let K=l5($,V,Z,96);if(K===X){let J=$.slice(Q+X,V);return J.indexOf(`\n`)!==-1&&(J=J.replace(/\\n/g,\" \")),J.length>0&&J[0]===\" \"&&J.at(-1)===\" \"&&J.trim().length>0&&(J=J.slice(1,-1)),{node:{type:B.codeInline,text:J},end:V+K}}Y=V+K}return null}function b$($,Q,Z){if($.charCodeAt(Q)!==Z0)return Q;let X=l5($,Q,Z,96),Y=Q+X;for(;Y<Z;){let V=$.indexOf(\"`\",Y);if(V<0||V>=Z)return Q;let K=l5($,V,Z,96);if(K===X)return V+K;Y=V+K}return Q}function e6($,Q,Z){if($.charCodeAt(Q)!==Y0)return Q;if(Q+1<Z&&$.charCodeAt(Q+1)===j0){let U=Q+2;for(;U<Z&&$.charCodeAt(U)!==l;)U++;return U<Z?U+1:Q}if(Q+3<Z&&$.charCodeAt(Q+1)===c0&&$.charCodeAt(Q+2)===p&&$.charCodeAt(Q+3)===p){let U=$.indexOf(\"-->\",Q+4);return U>=0?U+3:Q}let X=Q+1,Y=X;for(;X<Z;){let U=$.charCodeAt(X);if(U>=h&&U<=u||U>=V0&&U<=q0||U>=r&&U<=o||U===p)X++;else break}if(X===Y)return Q;let V=$.slice(Y,X).toLowerCase(),K=!1;for(;X<Z;){let U=$.charCodeAt(X);if(U===l){X++;break}if(U===j0&&X+1<Z&&$.charCodeAt(X+1)===l){X+=2,K=!0;break}if(U===T5||U===f5){var J=U;for(X++;X<Z&&$.charCodeAt(X)!==J;)X++;X<Z&&X++;continue}if(U===g)return Q;X++}if(K||Q9(V))return X;let G=1;for(;X<Z&&G>0;)if($.charCodeAt(X)===Y0)if(X+1<Z&&$.charCodeAt(X+1)===j0){let U=X+2,W=U;for(;W<Z&&($.charCodeAt(W)>=h&&$.charCodeAt(W)<=u||$.charCodeAt(W)>=V0&&$.charCodeAt(W)<=q0);)W++;if($.slice(U,W).toLowerCase()===V){for(;W<Z&&$.charCodeAt(W)!==l;)W++;if(W<Z&&W++,G--,G===0)return W}X=W}else{let U=X+1,W=U;for(;W<Z&&($.charCodeAt(W)>=h&&$.charCodeAt(W)<=u||$.charCodeAt(W)>=V0&&$.charCodeAt(W)<=q0);)W++;$.slice(U,W).toLowerCase()===V&&G++,X++}else X++;return X}function $Z($,Q,Z,X,Y){if($.charCodeAt(Q)!==b0||Q+1>=Z||$.charCodeAt(Q+1)!==b0)return null;let V=Q+2;for(;V+1<Z;){let K=$.charCodeAt(V);if(K===Z0){let J=b$($,V,Z);if(J>V){V=J;continue}}if(K===b0&&$.charCodeAt(V+1)===b0){let J=$.slice(Q+2,V),G=R5(J,0,J.length,X,Y);return{node:{type:B.textFormatted,tag:\"del\",children:G},end:V+2}}K===T0&&V+1<Z&&V++,V++}return null}function ZZ($,Q,Z,X,Y){if($.charCodeAt(Q)!==K5||Q+1>=Z||$.charCodeAt(Q+1)!==K5)return null;let V=Q+2;for(;V+1<Z;){let K=$.charCodeAt(V);if(K===Z0){let J=b$($,V,Z);if(J>V){V=J;continue}}if(K===K5&&$.charCodeAt(V+1)===K5&&V>Q+2){let J=$.slice(Q+2,V),G=R5(J,0,J.length,X,Y);return{node:{type:B.textFormatted,tag:\"mark\",children:G},end:V+2}}K===T0&&V+1<Z&&V++,V++}return null}function k4($,Q,Z){return $<U9?!!(R$($)&$9):K4.test(Q[Z])}function x4($,Q,Z){return $<U9?!!(R$($)&h5):J4.test(Q[Z])}function QZ($,Q,Z){var X=$.charCodeAt(Q);if(X!==P0&&X!==O0)return null;var Y=l5($,Q,Z,X);if(Y===0)return null;var V=Q>0?$.charCodeAt(Q-1):32,K=Q+Y<Z?$.charCodeAt(Q+Y):32,J=x4(V,$,Q-1),G=x4(K,$,Q+Y),U=Q>0?k4(V,$,Q-1):!1,W=Q+Y<Z?k4(K,$,Q+Y):!1,z=!G&&(!W||J||U),H=!J&&(!U||G||W),F,M;return X===P0?(F=z,M=H):(F=z&&(!H||U),M=H&&(!z||W)),{len:Y,canOpen:F,canClose:M}}function XZ($,Q,Z,X){if(Q.length!==0){for(var Y=$.length,V=Array(Y),K=null,J=null,G=0;G<Y;G++){var U={node:$[G],prev:J,next:null};J?J.next=U:K=U,V[G]=U,J=U}for(var W=Array(Q.length),z=0;z<Q.length;z++)W[z]=V[Q[z].idx];for(var H=[],F=0;F<12;F++)H[F]=-1;for(var M=0;M<Q.length;){var j=Q[M];if(!(j.active&&j.canClose)){M++;continue}for(var _=j.ch===P0?0:1,q=_*6+j.len%3*2+(j.canOpen?1:0),D=H[q]===void 0?-1:H[q],A=-1,N=M-1;N>D;N--){var L=Q[N];if(!(!L.active||L.ch!==j.ch||!L.canOpen)&&!((j.canOpen||L.canClose)&&(L.len+j.len)%3===0&&L.len%3!==0)){A=N;break}}if(A<0){H[q]=M-1,!j.canOpen&&(j.active=!1),M++;continue}var O=Q[A],P=O.len>=2&&j.len>=2,v=P?2:1;O.len-=v,j.len-=v;var b=W[A],k=W[M],x=b.node,T=k.node;x.text=x.text.slice(0,x.text.length-v),T.text=T.text.slice(v);for(var f=[],y=b.next;y&&y!==k;)f.push(y.node),y=y.next;var C={type:B.textFormatted,tag:P?\"strong\":\"em\",children:f},E={node:C,prev:b,next:k};b.next=E,k.prev=E;for(var S=A+1;S<M;S++)Q[S].active=!1;if(O.len===0&&(O.active=!1,x.text===\"\")){var s=b.prev;E.prev=s,s?s.next=E:K=E}if(j.len===0){if(j.active=!1,T.text===\"\"){var X0=k.next;E.next=X0,X0&&(X0.prev=E)}}else continue;M++}for(var I0=0,d=K;d;){var u0=d.node;if(u0.type===B.text){var B0=u0;if(B0.text===\"\"){d=d.next;continue}if(I0>0&&$[I0-1].type===B.text){$[I0-1].text+=B0.text,d=d.next;continue}}$[I0++]=u0,d=d.next}$.length=I0}}function m9($,Q,Z,X){return Q($,Z,X)===null?null:$}var E4=0,v$=0,g4=0,I$=0,C4=0,N$=0,H$=0,O5=0;function YZ(){return H$===2147483647&&(v$=0,I$=0,N$=0,c9=0,H$=0),++H$}var M$=null,c9=0,u9=[],O$=256;function f4($,Q,Z,X,Y){let V=$.charCodeAt(Q)===c0,K=V?Q+1:Q;if($.charCodeAt(K)!==A0||I$===O5&&K>=g4)return null;var J=c9===O5?M$:null,G=J===null?0:J[K];if(G<0)return null;var U=G;if(G===0){var W=$.indexOf(\"]\",K+1);if(W<0||W>=Z)return g4=K,I$=O5,null;U=K+1;var z=0;u9[z++]=K;for(var H=Z-K>=O$;U<Z&&z>0;){var F=$.charCodeAt(U);if(F===T0&&U+1<Z){U+=2;continue}if(F===Z0){var M=b$($,U,Z);if(M>U){U=M;continue}}if(F===Y0){var j=i4($,U,Z);if(j){U=j.end;continue}var _=e6($,U,Z);if(_>U){U=_;continue}}if(F===A0)u9[z++]=U;else if(F===J5){var q=u9[--z];J===null&&H&&U-K>=O$&&(J=M$=new Int32Array(Z),c9=O5),J!==null&&(J[q]=U+1)}U++}if(z>0){if(J===null&&H&&U-K>=O$&&(J=M$=new Int32Array(Z),c9=O5),J!==null)for(;z>0;)J[u9[--z]]=-1;return null}}var D=U-1,A=$.slice(K+1,D),N=U<Z?$.charCodeAt(U):0,L=!1;if(N===z5){var O=!0;for(U++;U<Z&&($.charCodeAt(U)===I||$.charCodeAt(U)===g);)U++;var P=\"\",v=U;if(U<Z&&$.charCodeAt(U)===Y0){for(U++,v=U;v<Z&&$.charCodeAt(v)!==l;){if($.charCodeAt(v)===T0&&v+1<Z){v+=2;continue}if($.charCodeAt(v)===g){O=!1;break}v++}O&&(v>=Z||$.charCodeAt(v)!==l)&&(O=!1),O&&(P=$.slice(U,v),v++)}else if(O){var b=v$===O5?E4:-1;if(b>=0&&U>=b)O=!1;else{for(var k=0,x=!1;v<Z;){var T=$.charCodeAt(v);if(T===T0&&v+1<Z){v+=2;continue}if(T===z5)k++;else if(T===F5){if(x=!0,k===0)break;k--}else if(T===I||T===g)break;v++}v>=Z&&!x&&(b<0||U<b)&&(E4=U,v$=O5),P=$.slice(U,v)}}if(O){for(U=v;U<Z&&($.charCodeAt(U)===I||$.charCodeAt(U)===g);)U++;var f;if(U<Z){var y=$.charCodeAt(U);if(y===T5||y===f5||y===z5){var C=y===z5?41:y;U++;for(var E=U;U<Z&&$.charCodeAt(U)!==C;)$.charCodeAt(U)===T0&&U+1<Z&&U++,U++;U>=Z?O=!1:(f=$.slice(E,U),U++)}}if(O){for(;U<Z&&($.charCodeAt(U)===I||$.charCodeAt(U)===g);)U++;(U>=Z||$.charCodeAt(U)!==F5)&&(O=!1)}}if(O){if(U++,P=I5(q9(P)),f!==void 0&&(f=I5(q9(f))),V){var S=R5(A,0,A.length,X,Y),s=o9(S);return{node:{type:B.image,target:m9(P,Y?.sanitizer||H5,\"img\",\"src\"),alt:s,title:f},end:U}}var X0=X.inAnchor;X.inAnchor=!0;var m=X0?[{type:B.text,text:A}]:R5(A,0,A.length,X,Y);return X.inAnchor=X0,!X.inAnchor&&P$(m)?null:{node:{type:B.link,target:m9(P,Y?.sanitizer||H5,\"a\",\"href\"),title:f,children:m},end:U}}U=D+1,L=!0}var I0=\"\",d=U;if(!L&&N===A0){var u0=U+1;d=u0;for(var B0=!1;d<Z&&$.charCodeAt(d)!==J5;){if($.charCodeAt(d)===T0&&d+1<Z){d+=2;continue}if($.charCodeAt(d)===A0){B0=!0;break}d++}if(B0||d>=Z)return null;var W0=$.slice(u0,d);if(W0.trim())I0=p9(W0);else{if(I4(A))return null;I0=p9(A)}d+=1}else{if(I4(A))return null;I0=p9(A)}var H0=X.refs?.[I0];if(!H0)return null;if(V)return{node:{type:B.image,target:m9(H0.target,Y?.sanitizer||H5,\"img\",\"src\"),alt:o9(R5(A,0,A.length,X,Y)),title:H0.title},end:d};var D0=X.inAnchor;X.inAnchor=!0;var m=D0?[{type:B.text,text:A}]:R5(A,0,A.length,X,Y);return X.inAnchor=D0,!X.inAnchor&&P$(m)?null:{node:{type:B.link,target:m9(H0.target,Y?.sanitizer||H5,\"a\",\"href\"),title:H0.title,children:m},end:d}}function i4($,Q,Z){if($.charCodeAt(Q)!==Y0)return null;for(var X=Q+1;X<Z;){var Y=$.charCodeAt(X);if(Y===l)break;if(Y===I||Y===g||Y===v5||Y===Y0)return null;X++}if(X>=Z||$.charCodeAt(X)!==l)return null;var V=$.slice(Q+1,X),K=V.match(/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^\\x00-\\x20]*)$/);return K?{node:{type:B.link,target:V,title:void 0,children:[{type:B.text,text:V}]},end:X+1}:V.indexOf(\"@\")!==-1&&/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/.test(V)?{node:{type:B.link,target:`mailto:${V}`,title:void 0,children:[{type:B.text,text:V}]},end:X+1}:null}function VZ($,Q,Z,X){if($.charCodeAt(Q)!==A0||Q+1>=Z||$.charCodeAt(Q+1)!==W5||N$===O5&&Q>=C4)return null;let Y=Q+2;for(;Y<Z&&$.charCodeAt(Y)!==J5&&$.charCodeAt(Y)!==g;)Y++;if(Y>=Z)return C4=Q,N$=O5,null;if($.charCodeAt(Y)!==J5)return null;let V=$.slice(Q+2,Y);return V?{node:{type:B.footnoteReference,target:`#${N5(V)}`,text:V},end:Y+1}:null}function KZ($,Q,Z,X){if(X.disableBareUrls)return null;var Y=\"\",V=!1,K=$.charCodeAt(Q);if(K===A9||K===72?Q+8<=Z&&$.charCodeAt(Q+1)===s5&&$.charCodeAt(Q+2)===s5&&$.charCodeAt(Q+3)===x9&&($.charCodeAt(Q+4)===Y$&&$.charCodeAt(Q+5)===m0&&$.charCodeAt(Q+6)===j0&&$.charCodeAt(Q+7)===j0?Y=\"https://\":$.charCodeAt(Q+4)===m0&&$.charCodeAt(Q+5)===j0&&$.charCodeAt(Q+6)===j0&&(Y=\"http://\")):K===L5||K===70?Q+6<=Z&&$.charCodeAt(Q+1)===s5&&$.charCodeAt(Q+2)===x9&&$.charCodeAt(Q+3)===m0&&$.charCodeAt(Q+4)===j0&&$.charCodeAt(Q+5)===j0&&(Y=\"ftp://\"):(K===C5||K===87)&&Q+4<=Z&&$.charCodeAt(Q+1)===C5&&$.charCodeAt(Q+2)===C5&&$.charCodeAt(Q+3)===Q5&&(Y=\"www.\",V=!0),!Y)return null;let J=Q+Y.length;for(;J<Z;){let O=$.charCodeAt(J);if(O===I||O===g||O===w||O===v5||O===Y0||O===l)break;J++}for(var G=0,U=0,W=Q;W<J;W++){var z=$.charCodeAt(W);z===z5?G++:z===F5&&U++}let H=J;for(;H>Q+Y.length;){let O=$.charCodeAt(H-1);if(O===Q5||O===r$||O===m0||O===c0||O===t5||O===F5||O===P0||O===O0||O===b0){if(O===F5){if(G>=U)break;U--}H--}else if(O===j9){for(var F=H-2;F>Q&&($.charCodeAt(F)>=h&&$.charCodeAt(F)<=u||$.charCodeAt(F)>=V0&&$.charCodeAt(F)<=q0||$.charCodeAt(F)>=r&&$.charCodeAt(F)<=o);)F--;F>=Q&&$.charCodeAt(F)===O9?H=F:H--}else break}if(H<=Q+Y.length)return null;var M=Q+(V?4:Y.length),j=$.indexOf(\"/\",M);if((j<0||j>H)&&(j=H),V&&$.indexOf(\".\",M)===-1)return null;for(var _=-1,q=-1,D=j-1;D>=M;D--)if($.charCodeAt(D)===Q5)if(_<0)_=D;else{q=D;break}for(var A=q>=0?q+1:M,D=A;D<j;D++)if($.charCodeAt(D)===O0)return null;var N=$.slice(Q,H),L=V?`http://${N}`:N;return{node:{type:B.link,target:L,title:void 0,children:[{type:B.text,text:N}]},end:H}}function JZ($,Q,Z,X){if(X.disableBareUrls)return null;for(var Y=Q,V=Y;Y<Z;){var K=$.charCodeAt(Y);if(K>=h&&K<=u||K>=V0&&K<=q0||K>=r&&K<=o||K===Q5||K===c0||K===V5||K===36||K===M9||K===O9||K===f5||K===P0||K===y5||K===j0||K===K5||K===t5||K===W5||K===O0||K===Z0||K===S5||K===E0||K===E9||K===b0||K===p)Y++;else break}if(Y===V||Y>=Z||$.charCodeAt(Y)!==k9)return null;Y++;for(var J=Y,G=-1,U=Y;Y<Z;){var K=$.charCodeAt(Y);if(K>=h&&K<=u||K>=V0&&K<=q0||K>=r&&K<=o)Y++;else if((K===p||K===O0)&&Y>J)Y++;else if(K===Q5){if(Y===J)break;var W=$.charCodeAt(Y-1);if(W===p||W===O0||Y-U>63)break;if(Y+1<Z){var z=$.charCodeAt(Y+1);if(z>=h&&z<=u||z>=V0&&z<=q0||z>=r&&z<=o)G=Y,U=Y+1,Y++;else break}else break}else break}if(Y-U>63||G<0)return null;var H=$.charCodeAt(Y-1);if(!(H>=h&&H<=u||H>=V0&&H<=q0||H>=r&&H<=o)||Y<=G+1)return null;for(var F=-1,M=G-1;M>=J;M--)if($.charCodeAt(M)===Q5){F=M;break}for(var j=F>=0?F+1:J,M=j;M<Y;M++)if($.charCodeAt(M)===O0)return null;var _=$.slice(Q,Y);return{node:{type:B.link,target:`mailto:${_}`,title:void 0,children:[{type:B.text,text:_}]},end:Y}}function P$($){for(var Q=0;Q<$.length;Q++)if($[Q].type===B.link||\"children\"in $[Q]&&Array.isArray($[Q].children)&&P$($[Q].children))return!0;return!1}function o9($,Q){for(var Z=\"\",X=0;X<$.length;X++){var Y=$[X];Y.type===B.text?Z+=Y.text:Y.type===B.breakLine?Z+=\" \":Y.type===B.codeInline||Y.type===B.footnoteReference?Z+=Y.text:\"children\"in Y&&Array.isArray(Y.children)?Z+=o9(Y.children,Q):!Q&&Y.type===B.image&&(Z+=Y.alt||\"\")}return Z}function w$($,Q,Z){for(var X=0;X<$.length;X++){var Y=$[X];if(Y.type===B.heading){var V=Y;V.id=u6(Z(o9(V.children,!0)),Q)}if(\"children\"in Y){var K=Y.children;Array.isArray(K)&&w$(K,Q,Z)}if((Y.type===B.orderedList||Y.type===B.unorderedList)&&Array.isArray(Y.items))for(var J=Y.items,G=0;G<J.length;G++)w$(J[G],Q,Z)}}function X9($){return{type:B.text,text:$}}function UZ($,Q,Z){var X=Q+1;if(X>=Z)return-1;if($.charCodeAt(X)===V5){X++;var Y=X<Z&&($.charCodeAt(X)===V$||$.charCodeAt(X)===K$);Y&&X++;for(var V=X,K=Y?6:7;X<Z&&X-V<=K;){var J=$.charCodeAt(X),G=J>=r&&J<=o||Y&&(J>=h&&J<=D9||J>=V0&&J<=L5);if(!G)break;X++}return X===V||X-V>K?-1:X<Z&&$.charCodeAt(X)===j9?X+1:-1}for(var U=X;X<Z&&X-U<48;){var W=$.charCodeAt(X);if(W>=h&&W<=u||W>=V0&&W<=q0||W>=r&&W<=o){X++;continue}break}return X===U?-1:X<Z&&$.charCodeAt(X)===j9?X+1:-1}function GZ($,Q,Z,X,Y){if($.charCodeAt(Q)!==Y0)return null;var V=Q+1;if(V>=Z)return null;var K=$.charCodeAt(V);if(K===c0&&V+1<Z&&$.charCodeAt(V+1)===p&&V+2<Z&&$.charCodeAt(V+2)===p){var J=V+3;if(J<Z&&$.charCodeAt(J)===l)return{node:{type:B.htmlComment,text:\"\",s:!0},end:J+1};if(J+1<Z&&$.charCodeAt(J)===p&&$.charCodeAt(J+1)===l)return{node:{type:B.htmlComment,text:\"-\",s:!0},end:J+2};var G=$.indexOf(\"-->\",J);return G!==-1&&G<=Z-3?{node:{type:B.htmlComment,text:$.slice(Q+4,G),s:!1},end:G+3}:null}if(K===t5){var U=$.indexOf(\"?>\",V+1);return U!==-1&&U<Z?{node:{type:B.htmlSelfClosing,tag:\"?\",attrs:{},m:$.slice(Q,U+2),a:!1},end:U+2}:null}if(K===c0&&V+1<Z){var W=$.charCodeAt(V+1);if(W===A0&&$.slice(V+1,V+8)===\"[CDATA[\"){var z=$.indexOf(\"]]>\",V+8);return z!==-1&&z<Z?{node:{type:B.htmlSelfClosing,tag:\"![CDATA[\",attrs:{},m:$.slice(Q,z+3),a:!1},end:z+3}:null}if(W>=h&&W<=u){var H=$.indexOf(\">\",V+2);return H!==-1&&H<Z?{node:{type:B.htmlSelfClosing,tag:`!${$.slice(V+1,H)}`,attrs:{},m:$.slice(Q,H+1),a:!1},end:H+1}:null}}if(K===j0){var F=V+1;if(F>=Z)return null;var M=$.charCodeAt(F);if(!(M>=h&&M<=u||M>=V0&&M<=q0))return null;for(F++;F<Z;){var j=$.charCodeAt(F);if(j>=h&&j<=u||j>=V0&&j<=q0||j>=r&&j<=o||j===p)F++;else break}for(;F<Z&&($.charCodeAt(F)===I||$.charCodeAt(F)===w||$.charCodeAt(F)===g);)F++;if(F<Z&&$.charCodeAt(F)===l){var _=$.slice(V+1,F).trim();return{node:{type:B.htmlSelfClosing,tag:_,attrs:{},h:$.slice(Q,F+1),a:!0},end:F+1}}return null}if(!(K>=h&&K<=u||K>=V0&&K<=q0))return null;var q=w5($,Q);if(!q)return null;var D=q.tag,A=D.toLowerCase(),N=q.n;if(N||Q9(D))return{node:{type:B.htmlSelfClosing,tag:D,attrs:P5(q.attrs,D,Y),m:q.q?A$(q):$.slice(Q,q.end),a:!1},end:q.end};var L=N9.has(A),O=_$($.slice(0,Z),q.end,D);if(O===-1)return{node:{type:B.htmlSelfClosing,tag:D,attrs:P5(q.attrs,D,Y),m:q.q?A$(q):$.slice(Q,q.end),a:!1},end:q.end};var P=o6($,`</${A}`,O),v=$.slice(q.end,P);if(L){var b=G5(v);return{node:{type:B.htmlBlock,tag:D,attrs:P5(q.attrs,D,Y),b:q.g+q.b,children:[],e:b||void 0,h:$.slice(P,O),text:b,c:!0,a:!1},end:O}}var k=[],x=v.trim();if(x){var{inAnchor:T,inline:f,k:y}=X;A===\"a\"&&(X.inAnchor=!0),X.k=!1;var C=x.indexOf(`\n\n`)!==-1||/^#{1,6}\\s/.test(x);C?(X.inline=!1,k=c5(x,X,Y)):k=R5(x,0,x.length,X,Y),X.inAnchor=T,X.inline=f,X.k=y}return{node:{type:B.htmlBlock,tag:D,attrs:P5(q.attrs,D,Y),b:q.b,children:k,text:G5(v),c:!1,a:!1},end:O}}var qZ=200,_9=0;function R5($,Q,Z,X,Y){if(_9++,_9>qZ)return _9--,[{type:B.text,text:$.slice(Q,Z)}];var V=O5;O5=YZ();let K=X;if(Y.optimizeForStreaming){let $0=function(t,d0){for(var n0=1,$5=d0+1;$5<t.length;$5++){var l0=t.charCodeAt($5);if(l0===A0)n0++;else if(l0===J5&&(n0--,n0===0))return $5}return-1},R=$.slice(Q,Z),J0=R;for(var J=0,G=0,U=0,W=0,z=0,H=-1,F=-1,M=-1,j=-1,_=-1,q=0;q<R.length;q++){var D=R.charCodeAt(q);D===P0?q+1<R.length&&R.charCodeAt(q+1)===P0?(J++,H=q,q++):(G++,F=q):D===O0?q+1<R.length&&R.charCodeAt(q+1)===O0?(U++,M=q,q++):(W++,j=q):D===b0&&q+1<R.length&&R.charCodeAt(q+1)===b0&&(z++,_=q,q++)}var A=[];z%2===1&&_>=0&&A.push([_,2]),U%2===1&&M>=0&&A.push([M,2]),W%2===1&&j>=0&&A.push([j,1]),J%2===1&&H>=0&&A.push([H,2]),G%2===1&&F>=0&&A.push([F,1]),A.sort((t,d0)=>d0[0]-t[0]);for(var N=0;N<A.length;N++){var L=A[N][0],O=A[N][1];R=R.slice(0,L)+R.slice(L+O)}let a0=0,q5=-1;for(let t=0;t<R.length;t++)R.charCodeAt(t)===Z0&&(a0++,q5=t);if(a0%2===1&&q5!==-1){let t=!1,d0=-1,n0=0;for(;n0<R.length;)R.charCodeAt(n0)===Z0&&(t?(t=!1,d0=-1):(d0=n0,t=!0)),n0++;t&&d0!==-1&&(R=R.slice(0,d0))}for(var P=!0;P;){P=!1;for(var v=-1,b=-1,k=-1,x=!1,T=0;T<R.length;T++){var f=R.charCodeAt(T);if(f===A0&&(T===0||R.charCodeAt(T-1)!==T0)){var y=T>0&&R.charCodeAt(T-1)===c0,C=y?T-1:T,E=$0(R,T);if(E===-1)v=C,x=y,b=T+1,k=R.length;else{var S=E+1;if(S>=R.length)v=C,x=y,b=T+1,k=E;else if(R.charCodeAt(S)===z5){var s=R.indexOf(\")\",S+1);s===-1?(v=C,x=y,b=T+1,k=E,T=R.length):T=s}else if(R.charCodeAt(S)===A0){var X0=R.indexOf(\"]\",S+1);X0===-1?(v=C,x=y,b=T+1,k=E,T=R.length):T=X0}else T=E}}}if(v>=0){var I0=x?\"\":R.slice(b,k);R=R.slice(0,v)+I0,P=!0}}let C0=R.match(/<([A-Z][A-Za-z0-9]*)(?:\\s[^>]*)?>([^<]*)$/);if(C0&&C0.index!==void 0){var d=C0[0].length-C0[2].length,u0=d>=2&&C0[0].charCodeAt(d-2)===j0;if(!u0){for(var B0=!1,W0=0,H0=0;H0<C0.index;H0++)R.charCodeAt(H0)===Z0&&W0++;if(B0=W0%2===1,!B0){let t=C0[1];p5(R,`</${t}`,0)===-1&&(R=R.slice(0,C0.index)+C0[2])}}}R!==J0&&($=$.slice(0,Q)+R,Z=Q+R.length)}let D0=[];var m=[];let c=Q;var K0=\"\",y0=Y.disableAutoLink||Y.disableBareUrls||K.inAnchor?-1:$.indexOf(\"@\",Q);for(y0>=Z&&(y0=-1);Q<Z;){let R=$.charCodeAt(Q),J0=null;if(R===Z0){if(J0=t6($,Q,Z),!J0){var S0=l5($,Q,Z,Z0);Q+=S0-1}}else if(R===P0||R===O0){var _0=QZ($,Q,Z);if(_0){if(_0.canOpen||_0.canClose){(K0||Q>c)&&(D0.push(X9(K0+$.slice(c,Q))),K0=\"\");var a=$.slice(Q,Q+_0.len),w0=X9(a);m.push({idx:D0.length,ch:R,len:_0.len,canOpen:_0.canOpen,canClose:_0.canClose,active:!0}),D0.push(w0),Q+=_0.len,c=Q;continue}Q+=_0.len-1}}else if(R===b0)J0=$Z($,Q,Z,K,Y);else if(R===K5)J0=ZZ($,Q,Z,K,Y);else if(R===A0)Q+1<Z&&$.charCodeAt(Q+1)===W5&&(J0=VZ($,Q,Z,K)),J0||(J0=f4($,Q,Z,K,Y));else if(R===c0&&Q+1<Z&&$.charCodeAt(Q+1)===A0)J0=f4($,Q,Z,K,Y);else if(R===Y0)J0=i4($,Q,Z),!(J0||Y.disableParsingRawHTML||Y.ignoreHTMLBlocks)&&(J0=GZ($,Q,Z,K,Y));else if(R===O9){var z0=UZ($,Q,Z);if(z0!==-1){var F0=$.slice(Q,z0),M0=I5(F0);if(M0!==F0){K0=K0+$.slice(c,Q)+M0,Q=z0,c=z0;continue}}}else if((R===A9||R===C5||R===L5)&&!K.inAnchor&&!Y.disableAutoLink&&(Q===0||$.charCodeAt(Q-1)!==Y0)){var f0=Q+1<Z?$.charCodeAt(Q+1):0;(R===A9&&f0===s5||R===L5&&f0===s5||R===C5&&f0===C5)&&(J0=KZ($,Q,Z,Y))}if(!J0&&y0>=0&&y0-Q<=64&&!K.inAnchor&&!Y.disableAutoLink&&!Y.disableBareUrls&&(R>=h&&R<=u||R>=V0&&R<=q0||R>=r&&R<=o)&&(J0=JZ($,Q,Z,Y),!J0&&Q>=y0&&(y0=$.indexOf(\"@\",Q+1),y0>=Z&&(y0=-1))),R===g&&K.k){var v0=!1,k0=0;if(Q>c&&$.charCodeAt(Q-1)===T0)v0=!0,k0=1;else{for(var h0=0,p0=Q-1;p0>=c&&$.charCodeAt(p0)===I;)h0++,p0--;h0>=2&&(v0=!0,k0=h0)}if(v0){for((K0||Q-k0>c)&&(D0.push(X9(K0+$.slice(c,Q-k0))),K0=\"\"),D0.push({type:B.breakLine}),Q++;Q<Z&&$.charCodeAt(Q)===I;)Q++;c=Q;continue}var n=Q>c&&$.charCodeAt(Q-1)===I,N0=Q+1<Z&&$.charCodeAt(Q+1)===I;if(n||N0){for(var i=Q;i>c&&$.charCodeAt(i-1)===I;)i--;for(K0+=`${$.slice(c,i)}\n`,Q++;Q<Z&&$.charCodeAt(Q)===I;)Q++;c=Q;continue}}if(J0)(K0||Q>c)&&(D0.push(X9(K0+$.slice(c,Q))),K0=\"\"),D0.push(J0.node),Q=J0.end,c=Q;else{if(R===T0&&Q+1<Z){let a0=$.charCodeAt(Q+1);if(R$(a0)&$9){(K0||Q>c)&&(D0.push(X9(K0+$.slice(c,Q))),K0=\"\"),D0.push(X9($[Q+1])),Q+=2,c=Q;continue}}if(Q++,y0<0||y0-Q>64)for(;Q<Z&&!(y0>=0&&y0-Q<=64);){var x0=$.charCodeAt(Q);if(x0<U9&&!u4[x0])Q++;else break}}}return(K0||Z>c)&&(D0.push(X9(K0+$.slice(c,Z))),K0=\"\"),m.length>0&&XZ(D0,m,X,Y),O5=V,_9--,D0}var WZ=500;function c5($,Q,Z){var X=Q.o||0;if(X>WZ)return[{type:B.text,text:$}];Q.o=X+1;let Y=Q;if(Z.optimizeForStreaming&&!(Q.i||Q.w)){for(var V=$.length;V>0&&$.charCodeAt(V-1)===g;)V--;for(var K=V;K>0&&$.charCodeAt(K-1)!==g;)K--;if(V>K&&$.charCodeAt(K)===E0){for(var J=!1,G=K+1;G<V;G++){var U=$.charCodeAt(G);if(U!==I&&U!==w&&U!==E0&&U!==m0&&U!==p){J=!0;break}}for(var W=!1,z=!1,H=0,F=K,M=K-1;M>0;){for(var j=M;j>0&&$.charCodeAt(j-1)!==g;)j--;if($.charCodeAt(j)!==E0)break;F=j;for(var _=!0,q=!1,D=j;D<M;D++){var A=$.charCodeAt(D);if(A===p)q=!0;else if(A!==I&&A!==w&&A!==m0&&A!==E0){_=!1;break}}_&&q?(W=!0,z=!0):z||H++,M=j-1}J?W||($=$.slice(0,K).trimEnd()):$=W&&H>0?$.slice(0,K).trimEnd():$.slice(0,F).trimEnd()}for(var N=-1,L=-1,O=-1,P=!1,v=$.length-1;v>=0;v--)if($.charCodeAt(v)===Y0){for(var b=v+1<$.length?$.charCodeAt(v+1):0,k=b>=h&&b<=u||b>=V0&&b<=q0,x=b===j0&&v+2<$.length&&($.charCodeAt(v+2)>=h&&$.charCodeAt(v+2)<=u||$.charCodeAt(v+2)>=V0&&$.charCodeAt(v+2)<=q0),T=b===c0||b===t5,f=$.length;f>v+1&&$.charCodeAt(f-1)===g;)f--;var y=v+1>=f;if(k||x||T||y){var C=v+1;if((x||k)&&(C=v+2),k||x)for(;C<$.length;){var E=$.charCodeAt(C);if(E>=h&&E<=u||E>=V0&&E<=q0||E>=r&&E<=o)C++;else break}for(var S=k||x?C:v+2;S<$.length&&$.charCodeAt(S)!==l;)S++;if(S>=$.length)N=v,P=!0;else if((k||x)&&$.charCodeAt(S-1)!==j0){for(var s=!1,X0=S+1;X0<$.length;X0++)if($.charCodeAt(X0)===Y0){s=!0;break}s||(N=v,L=C,O=S+1)}}break}if(N>=0){for(var I0=0,d=0;d<N;d++)$.charCodeAt(d)===Z0&&I0++;if(I0%2===0)if(P)$=$.slice(0,N);else{var u0=$.slice(N+1,L);p5($,`</${u0}`,0)===-1&&($=$.slice(0,N)+$.slice(O))}}for(var B0=$.length;B0>0&&$.charCodeAt(B0-1)===g;)B0--;if(B0>0){for(var W0=B0;W0>0&&$.charCodeAt(W0-1)!==g;)W0--;for(var H0=W0,D0=0;H0<B0&&$.charCodeAt(H0)===I&&D0<3;)H0++,D0++;if(W0>0&&H0<B0&&d6($,H0,B0)){for(var m=W0-1,c=m;c>0&&$.charCodeAt(c-1)!==g;)c--;e0($,c,m)||($=$.slice(0,W0).trimEnd())}}var K0=$.length;if(K0>0){for(var y0=$.lastIndexOf(`\n`),S0=y0===-1?0:y0+1,_0=K0,a=S0,w0=0;a<_0&&$.charCodeAt(a)===I&&w0<3;)a++,w0++;if(a<_0){var z0=$.charCodeAt(a),F0=!1;if(z0===P0||z0===p||z0===y5){var M0=a+1;if(M0>=_0||$.charCodeAt(M0)===I||$.charCodeAt(M0)===w){for(var f0=M0;f0<_0&&($.charCodeAt(f0)===I||$.charCodeAt(f0)===w);)f0++;f0>=_0&&(F0=!0)}}else if(z0>=r&&z0<=o){for(var v0=a;v0<_0&&$.charCodeAt(v0)>=r&&$.charCodeAt(v0)<=o;)v0++;if(v0<_0&&($.charCodeAt(v0)===Q5||$.charCodeAt(v0)===F5)){var k0=v0+1;if(k0>=_0||$.charCodeAt(k0)===I||$.charCodeAt(k0)===w){for(var h0=k0;h0<_0&&($.charCodeAt(h0)===I||$.charCodeAt(h0)===w);)h0++;h0>=_0&&(F0=!0)}}}F0&&($=$.slice(0,S0).trimEnd())}}}if(Q.inline)return R5($,0,$.length,Q,Z);let p0=[],n=0,N0=$.length;if(n===0&&!Z.disableFrontmatter&&$.startsWith(\"---\")){let $0=X4($);if($0?.hasValidYaml){if(Z.preserveFrontmatter!==!1){let C0=$.slice(0,$0.endPos).trimEnd();p0.push({type:B.frontmatter,text:C0})}n=$0.endPos}}for(;n<N0;){for(var i=$.indexOf(`\n`,n),x0=i<0?N0:i;n<N0&&e0($,n,x0);)n=x0<N0?x0+1:x0,n<N0&&(i=$.indexOf(`\n`,n),x0=i<0?N0:i);if(n>=N0)break;var R=$.charCodeAt(n)===g9;L0($,n,x0);let $0=null;if(j$=$,B$=n,d9=x0,!R&&U0>=4&&!Q.inHTML)$0=l6($,n);else if(!R){let C0=n+Q0,t=$.charCodeAt(C0);t===V5?$0=p6($,n,Q,Z):t===l?$0=r6($,n,Q,Z):t===Z0||t===b0?$0=c6($,n,Q):t===p||t===P0||t===O0?($0=d5($,n),!$0&&($0=T4($,n,Q,Z))):t===y5||t>=r&&t<=o?$0=T4($,n,Q,Z):t===Y0?$0=o4($,n,Q,Z):t===E0?$0=S4($,n,Q,Z):t===A0&&($0=a6($,n,Q))}if(!$0){for(var J0=!1,a0=n;a0<x0;a0++)if($.charCodeAt(a0)===E0){J0=!0;break}J0&&($0=S4($,n,Q,Z))}if($0||($0=s6($,n,Q,Z)),$0)$0.node.type!==B.refCollection&&p0.push($0.node),n=$0.end;else{var q5=$.indexOf(`\n`,n);n=q5<0?N0:q5+1}}return Q.o=X,p0}function zZ($,Q){return $.charCodeAt(0)===65279&&($=$.slice(1)),P9($,{inAnchor:!1,inBlockQuote:!1,inHTML:!1,inList:!1,inline:!1,refs:{}},I9(Q))}function a4($,Q,Z,X){var Y=w5($,Q);return Y?{tagName:Y.tag,tagLower:Y.tag.toLowerCase(),attrs:Y.b,whitespaceBeforeAttrs:Y.g,isSelfClosing:Y.n,hasSpaceBeforeSlash:Y.r,isClosing:Y.f,hasNewline:Y.g.includes(`\n`)||Y.b.includes(`\n`),endPos:Y.end}:null}function P9($,Q,Z){_9=0,$=U4($),!Q.refs&&(Q.refs={}),(Z.optimizeForStreaming||Q.inline)&&(Q.w=m6($,Q.refs,Z));var X,Y;Q.t||(Q.t=X=[],Q.p=Y=[]);let V=c5($,Q,Z);if(X&&Y){for(var K=X,J={inline:Q.inline,inAnchor:Q.inAnchor,inHTML:Q.inHTML,htmlDepth:Q.d,inList:Q.inList,inBlockQuote:Q.inBlockQuote,noSetext:Q.l,depth:Q.o},G=0;G<K.length;G++){var U=K[G];Q.inline=U.inline,Q.inAnchor=U.inAnchor,Q.inHTML=U.inHTML,Q.d=U.htmlDepth,Q.inList=U.inList,Q.inBlockQuote=U.inBlockQuote,Q.l=U.noSetext,Q.o=U.depth,Q.k=U.breaks;var W=R5(U.text,0,U.text.length,Q,Z);Q.k=!1;for(var z=0;z<W.length;z++)U.dest.push(W[z])}Q.inline=J.inline,Q.inAnchor=J.inAnchor,Q.inHTML=J.inHTML,Q.d=J.htmlDepth,Q.inList=J.inList,Q.inBlockQuote=J.inBlockQuote,Q.l=J.noSetext,Q.o=J.depth;for(var H=Y,F=0;F<H.length;F++)for(var M=H[F],j=0;j<M.src.length;j++){var _=M.src[j];if(M.unwrap&&_.type===B.paragraph)for(var q=_.children,D=0;D<q.length;D++)M.dest.push(q[D]);else M.dest.push(_)}Q.t=void 0,Q.p=void 0,w$(V,Q,Z.slugify)}return f9(Q.refs)?[{type:B.refCollection,refs:Q.refs},...V]:V}var L$;try{Y9=i0.createElement(\"div\"),L$=Y9!=null&&typeof Y9==\"object\"&&\"$$typeof\"in Y9&&typeof Y9.$$typeof==\"symbol\"?Y9.$$typeof:Symbol.for(\"react.transitional.element\")}catch{L$=Symbol.for(\"react.transitional.element\")}var Y9;function T$($,Q,Z){return{$$typeof:L$,type:$,key:Z==null?null:String(Z),ref:null,props:Q,_owner:null,_store:{},_debugStack:null,_debugTask:null}}function D5($,Q){var Z={key:$};if(Q){var X=U$(Q);for(var Y in X)Z[Y]=X[Y]}return Z}var i9=typeof i0.createContext>\"u\"?void 0:i0.createContext(void 0);function n4($,Q,Z,X,Y,V,K,J,G){switch($.type){case B.blockQuote:{let q={key:Z.key};return $.alert&&(q.className=`markdown-alert-${V($.alert.toLowerCase(),N5)}`,$.children.unshift(q4($.alert))),X(\"blockquote\",q,Q($.children,Z))}case B.breakLine:return X(\"br\",{key:Z.key});case B.breakThematic:return X(\"hr\",{key:Z.key});case B.frontmatter:return J.preserveFrontmatter?X(\"pre\",{key:Z.key},$.text):null;case B.codeBlock:{let q=$.lang?I5($.lang):\"\";var U=$.attrs?U$($.attrs):{};return U.className=q?`language-${q} lang-${q}`:\"\",X(\"pre\",{key:Z.key},X(\"code\",U,$.text))}case B.codeInline:return X(\"code\",{key:Z.key},$.text);case B.footnoteReference:return X(\"a\",{key:Z.key,href:Y($.target,\"a\",\"href\")||void 0},X(\"sup\",null,$.text));case B.gfmTask:return X(\"input\",{checked:$.completed,key:Z.key,readOnly:!0,type:\"checkbox\"});case B.heading:return X(`h${$.level}`,{id:$.id,key:Z.key},Q($.children,Z));case B.htmlBlock:{let q=$;if(m5(J)&&W$(q.tag)){var W=q$(q);return W.kind===\"literal\"?X(\"span\",{key:Z.key},W.literal):X(\"span\",{key:Z.key},...F4(W.open,q.children?Q(q.children,Z):null,W.close))}let D=q.j,A=D!==void 0,N=A?D:q.a?q.e||\"\":(q.e||\"\")+(q.h||\"\");if(N&&q.c){let L=q.tag.toLowerCase(),O=p4(L),P=q.children,v=P!=null&&P.length>0;if(O){let S=A?D:q.e||\"\",s=m5(J)?z$(S):S;if(/<[a-z][^>]{0,100}>/i.test(N)){var z=D5(Z.key,$.attrs);return z.dangerouslySetInnerHTML={__html:s},G($.tag,z)}return G($.tag,D5(Z.key,$.attrs),s)}let b=new RegExp(`^<${q.tag}(\\\\s|>)`,\"i\");if(v&&!b.test(N)&&m5(J)&&D4(N))return G($.tag,D5(Z.key,$.attrs),Q(P,Z));if(d4(N)){let S=m5(J)?z$(N):N;var H=D5(Z.key,$.attrs);return H.dangerouslySetInnerHTML={__html:S},G($.tag,H)}let x=I9({slugify:J.slugify,sanitizer:Y,tagfilter:!0}),T=G4(N);if(new RegExp(`^<${q.tag}(\\\\s[^>]*)?>(\\\\s*</${q.tag}>)?$`,\"i\").test(T))return q.children&&q.children.length>0?G($.tag,D5(Z.key,$.attrs),Q(q.children,Z)):G($.tag,D5(Z.key,$.attrs));let y=P9(T,{inline:!1,refs:K,inHTML:!1},x);G$(y);let C=q.tag.toLowerCase(),E=A;if(E&&v)return G($.tag,D5(Z.key,$.attrs),Q(P,Z));if(E)return Q(y.flatMap(Z9),Z);var F=z4(y,C);if(F.found&&F.afterClose.length>0){var M=F.beforeClose.flatMap(Z9),j=F.afterClose.flatMap(Z9);return T$(i0.Fragment,{children:[G($.tag,D5(Z.key,$.attrs),Q(M,Z)),Q(j,Z)]},Z.key)}return G($.tag,D5(Z.key,$.attrs),Q(y.flatMap(Z9),Z))}return Q9($.tag)?G($.tag,D5(Z.key,$.attrs)):G($.tag,D5(Z.key,$.attrs),$.children?Q($.children,Z):\"\")}case B.htmlSelfClosing:{let q=$;if(m5(J)&&W$(q.tag)){var _=q$(q);return X(\"span\",{key:Z.key},_.kind===\"literal\"?_.literal:_.open+(_.close||\"\"))}return G($.tag,D5(Z.key,$.attrs))}case B.image:{let q=$.target===null?null:Y($.target,\"img\",\"src\");return X(\"img\",{key:Z.key,alt:$.alt&&$.alt.length>0?$.alt:void 0,title:$.title||void 0,src:q||void 0})}case B.link:{let q={key:Z.key};if($.target!=null){let D=H4($.target,Y,\"a\",\"href\");D!=null&&(q.href=D)}return $.title&&(q.title=$.title),X(\"a\",q,Q($.children,Z))}case B.table:{let q=$;return X(\"table\",{key:Z.key},X(\"thead\",{key:\"thead\"},X(\"tr\",null,q.header.map(function(A,N){return X(\"th\",{key:N,style:q.align[N]===null?{}:{textAlign:q.align[N]}},Q(A,Z))}))),q.cells.length>0&&X(\"tbody\",{key:\"tbody\"},q.cells.map(function(A,N){return X(\"tr\",{key:N},A.map(function(O,P){return X(\"td\",{key:P,style:q.align[P]===null?{}:{textAlign:q.align[P]}},Q(O,Z))}))})))}case B.text:return $.text;case B.textFormatted:return X($.tag,{key:Z.key},Q($.children,Z));case B.orderedList:case B.unorderedList:{let q=$.type===B.orderedList?\"ol\":\"ul\";return X(q,{key:Z.key,start:$.type===B.orderedList?$.start:void 0},$.items.map(function(A,N){return X(\"li\",{key:N},Q(A,Z))}))}case B.paragraph:return X(\"p\",{key:Z.key},Q($.children,Z));case B.ref:return null;default:return null}}var HZ=($,Q,Z,X,Y,V,K)=>{var J=U=>U.map(W=>\"text\"in W?W.text:\"\"),G=(U,W={})=>{var z=Array.isArray(U)?U:[U],H=(W.renderDepth||0)+1;if(H>2500)return J(z);W.renderDepth=H;for(var F=W.key,M=[],j=!1,_=0;_<z.length;_++){W.key=_;var q;if($){var D=n4.bind(null,z[_],G,W,Q,Z,X,Y,V,K);q=$(D,z[_],G,W)}else q=n4(z[_],G,W,Q,Z,X,Y,V,K);var A=typeof q==\"string\";if(j&&typeof q==\"string\"){var N=M.at(-1);M[M.length-1]=(typeof N==\"string\"?N:\"\")+q}else if(q!=null)if(Array.isArray(q))for(var L=0;L<q.length;L++)M.push(q[L]);else M.push(q);j=A}return W.key=F,W.renderDepth=H-1,M};return G},MZ=($,Q)=>{let Z=h9(Q,$,void 0);return Z?typeof Z==\"function\"||typeof Z==\"object\"&&\"render\"in Z?Z:h9(Q,`${$}.component`,$):$};function OZ($,Q){let Z={...Q||{}};Z.overrides=Z.overrides||{};let X=Z.slugify||N5,Y=Z.sanitizer||H5,V=Z.createElement,K=f9(Z.overrides),J=A=>y$(A,{...Z,wrapper:null});function G(A){for(var N in A){var L=A[N];if(typeof L==\"string\"&&L.length>0&&L.charCodeAt(0)===Y0&&(h4.test(L)||m4.test(L)||a4(L,0))){var O=J(L.trim());A[N]=N===\"innerHTML\"&&Array.isArray(O)?O[0]:O}}}function U(A,N,...L){var O=N||{},P=A;if(K){var v=h9(Z.overrides,`${A}.props`,{});P=MZ(A,Z.overrides),O={...O,...v,className:O4(O.className,v.className)||void 0}}if(!V){var b=O.key;return b!=null&&delete O.key,L.length===1?O.children=L[0]:L.length>1&&(O.children=L),T$(P,O,b)}return V(P,O,...L)}function W(A,N,...L){return N&&G(N),U(A,N,...L)}let z=I9(Z,Z.forceInline),H=$[0]&&$[0].type===B.refCollection?$[0].refs:{},F=HZ(Z.renderRule,U,Y,X,H,Z,W),M=F($,{inline:Z.forceInline,refs:H}),j=M4(H);if(j.length>0&&M.push(U(\"footer\",{key:\"footer\"},j.map(function(N){let L=N.identifier.charCodeAt(0)===W5?N.identifier.slice(1):N.identifier,O=P9(N.footnote,{inline:!0,refs:H},z);return U(\"div\",{id:X(L,N5),key:N.identifier},`${L}: `,F(O,{inline:!0,refs:H}))}))),Z.wrapper===null)return M;let _=Z.wrapper||(Z.forceInline?\"span\":\"div\"),q;if(M.length>1||Z.forceWrapper)q=M;else return M.length===1?M[0]:null;var D=Z.wrapperProps?{...Z.wrapperProps}:{};return D.children=q,T$(_,D,\"outer\")}function y$($=\"\",Q={}){let Z={...Q||{}};Z.overrides=Z.overrides||{};let X=Z.slugify||N5,Y=Z.sanitizer||H5;function V(J){let G=Z.forceInline||!(Z.forceBlock||Y4.test(J)),U=I9(Z,G),W=G?J:W4(J),z=P9(W,{inline:G,refs:K},U);return OZ(z,{...Z,forceInline:G})}let K={};return V($)}var RZ=({options:$,children:Q})=>i9?i0.createElement(i9.Provider,{value:$},Q):Q;function DZ($){let Q=i0.useRef($),Z=Q.current;if(Z!==$){var X=!0,Y=0;for(var V in $)if(Y++,!Object.is(Z[V],$[V])){X=!1;break}if(X){var K=0;for(var J in Z)K++;X=K===Y}X||(Q.current=$)}return Q.current}var AZ=({children:$,options:Q,...Z})=>{if(!(typeof i0.useContext<\"u\")){let U={...Q,overrides:{...Q?.overrides},wrapperProps:{...Q?.wrapperProps,...Z}};return y$($??\"\",U)}let Y=i9?i0.useContext(i9):void 0,V=DZ(Z),K=i0.useMemo(()=>({...Y,...Q,overrides:{...Y?.overrides,...Q?.overrides},wrapperProps:{...Y?.wrapperProps,...Q?.wrapperProps,...V}}),[Y,Q,V]),J=$??\"\";return i0.useMemo(()=>y$(J,K),[J,K])},SZ=AZ;export{N5 as slugify,H5 as sanitizer,zZ as parser,SZ as default,y$ as compiler,OZ as astToJSX,B as RuleType,RZ as MarkdownProvider,i9 as MarkdownContext,AZ as Markdown};\n", "var j;function B(z){if(!j){if(typeof document>\"u\")return;j=document.createElement(\"textarea\")}var q=`&${z};`;j.innerHTML=q;var v=j.value;return v===q?void 0:v}var C={};export{B as decodeEntity,C as NAMED_CODES_TO_UNICODE};\n", "/** Internal only symbol used by `Form` & `ObjectField` to mark an additional property element to be removed */\nexport const ADDITIONAL_PROPERTY_KEY_REMOVE = Symbol('remove-this-key');\n/** Internal only symbol used by the `reset()` function to indicate that a reset operation is happening */\nexport const IS_RESET = Symbol('reset');\n", "import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { getSchemaType, getTemplate, getUiOptions, isFormDataAvailable, optionalControlsId, TranslatableString, } from '@rjsf/utils';\n/** The `OptionalDataControlsField` component is used to render the optional data controls for the field associated\n * with the given props.\n *\n * @param props - The `FieldProps` for this template\n */\nexport default function OptionalDataControlsField(props) {\n const { schema, uiSchema = {}, formData, disabled = false, readonly = false, onChange, errorSchema, fieldPathId, registry, } = props;\n const { globalUiOptions = {}, schemaUtils, translateString } = registry;\n const uiOptions = getUiOptions(uiSchema, globalUiOptions);\n const OptionalDataControlsTemplate = getTemplate('OptionalDataControlsTemplate', registry, uiOptions);\n const hasFormData = isFormDataAvailable(formData);\n let id;\n let label;\n let onAddClick;\n let onRemoveClick;\n if (disabled || readonly) {\n id = optionalControlsId(fieldPathId, 'Msg');\n label = hasFormData ? undefined : translateString(TranslatableString.OptionalObjectEmptyMsg);\n }\n else {\n const labelEnum = hasFormData ? TranslatableString.OptionalObjectRemove : TranslatableString.OptionalObjectAdd;\n label = translateString(labelEnum);\n if (hasFormData) {\n id = optionalControlsId(fieldPathId, 'Remove');\n onRemoveClick = () => onChange(undefined, fieldPathId.path, errorSchema);\n }\n else {\n id = optionalControlsId(fieldPathId, 'Add');\n onAddClick = () => {\n // If it has form data, store an empty object, otherwise get the default form state and use it\n let newFormData = schemaUtils.getDefaultFormState(schema, formData, 'excludeObjectChildren');\n if (newFormData === undefined) {\n // If new form data ended up being undefined, and we have pushed the add button we need to actually add data\n newFormData = getSchemaType(schema) === 'array' ? [] : {};\n }\n onChange(newFormData, fieldPathId.path, errorSchema);\n };\n }\n }\n return (label && (_jsx(OptionalDataControlsTemplate, { id: id, registry: registry, schema: schema, uiSchema: uiSchema, label: label, onAddClick: onAddClick, onRemoveClick: onRemoveClick })));\n}\n", "import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport { useCallback, memo } from 'react';\nimport { ADDITIONAL_PROPERTY_FLAG, ANY_OF_KEY, deepEquals, descriptionId, getSchemaType, getTemplate, getUiOptions, ID_KEY, isFormDataAvailable, ONE_OF_KEY, resolveUiSchema, RJSF_REF_CYCLE_KEY, shallowEquals, shouldRenderOptionalField, toFieldPathId, TranslatableString, UI_OPTIONS_KEY, } from '@rjsf/utils';\nimport isObject from 'lodash-es/isObject.js';\nimport omit from 'lodash-es/omit.js';\n/** The map of component type to FieldName */\nconst COMPONENT_TYPES = {\n array: 'ArrayField',\n boolean: 'BooleanField',\n integer: 'NumberField',\n number: 'NumberField',\n object: 'ObjectField',\n string: 'StringField',\n null: 'NullField',\n};\n/** Computes and returns which `Field` implementation to return in order to render the field represented by the\n * `schema`. The `uiOptions` are used to alter what potential `Field` implementation is actually returned. If no\n * appropriate `Field` implementation can be found then a wrapper around `UnsupportedFieldTemplate` is used.\n *\n * @param schema - The schema from which to obtain the type\n * @param uiOptions - The UI Options that may affect the component decision\n * @param registry - The registry from which fields and templates are obtained\n * @returns - The `Field` component that is used to render the actual field data\n */\nfunction getFieldComponent(schema, uiOptions, registry) {\n const { field } = uiOptions;\n const { fields, schemaUtils } = registry;\n if (typeof field === 'function') {\n return field;\n }\n if (typeof field === 'string' && field in fields) {\n return fields[field];\n }\n const schemaType = getSchemaType(schema);\n const type = Array.isArray(schemaType) ? schemaType[0] : schemaType || '';\n const schemaId = schema.$id;\n let componentName = COMPONENT_TYPES[type];\n if (schemaId && schemaId in fields) {\n componentName = schemaId;\n }\n // If the schema uses 'anyOf' or 'oneOf' and is not a pure select (all-constant options),\n // let the MultiSchemaField component handle the form display entirely.\n // ObjectField is excluded: it renders shared properties (defined at the parent schema\n // level) alongside the XxxOfField option selector.\n // All other field types — including primitives and arrays — have no shared renderable\n // properties, so the outer FieldComponent would only produce a spurious duplicate input.\n if ((schema.anyOf || schema.oneOf) && !schemaUtils.isSelect(schema) && componentName !== 'ObjectField') {\n return () => null;\n }\n return componentName in fields ? fields[componentName] : fields.FallbackField;\n}\n/** The `SchemaFieldRender` component is the work-horse of react-jsonschema-form, determining what kind of real field to\n * render based on the `schema`, `uiSchema` and all the other props. It also deals with rendering the `anyOf` and\n * `oneOf` fields.\n *\n * @param props - The `FieldProps` for this component\n */\nfunction SchemaFieldRender(props) {\n const { schema: _schema, fieldPathId, uiSchema: _uiSchema, formData, errorSchema, name, onChange, onKeyRename, onKeyRenameBlur, onRemoveProperty, required = false, registry, wasPropertyKeyModified = false, } = props;\n const { schemaUtils, globalFormOptions, globalUiOptions, fields } = registry;\n const { AnyOfField: _AnyOfField, OneOfField: _OneOfField, CyclicSchemaField } = fields;\n const fieldId = fieldPathId[ID_KEY];\n /** Intermediary `onChange` handler for field components that will inject the `id` of the current field into the\n * `onChange` chain if it is not already being provided from a deeper level in the hierarchy\n */\n const handleFieldComponentChange = useCallback((newFormData, path, newErrorSchema, id) => {\n const theId = id || fieldId;\n return onChange(newFormData, path, newErrorSchema, theId);\n }, [fieldId, onChange]);\n // Stop $ref cycles: when resolveAllReferences detects a repeated property $ref it tags the schema with this flag.\n // The check must come after all hook calls to satisfy React's rules of hooks.\n if (_schema[RJSF_REF_CYCLE_KEY]) {\n return _jsx(CyclicSchemaField, { ...props });\n }\n const uiSchema = resolveUiSchema(_schema, _uiSchema, registry);\n const uiOptions = getUiOptions(uiSchema, globalUiOptions);\n const FieldTemplate = getTemplate('FieldTemplate', registry, uiOptions);\n const DescriptionFieldTemplate = getTemplate('DescriptionFieldTemplate', registry, uiOptions);\n const FieldHelpTemplate = getTemplate('FieldHelpTemplate', registry, uiOptions);\n const FieldErrorTemplate = getTemplate('FieldErrorTemplate', registry, uiOptions);\n const schema = schemaUtils.retrieveSchema(_schema, formData);\n const FieldComponent = getFieldComponent(schema, uiOptions, registry);\n const isDeprecated = Boolean(schema.deprecated);\n const deprecatedHandling = isDeprecated ? (uiOptions.deprecatedHandling ?? 'label') : undefined;\n const disabled = Boolean(uiOptions.disabled ?? props.disabled) || deprecatedHandling === 'disable';\n const readonly = Boolean(uiOptions.readonly ?? (props.readonly || props.schema.readOnly || schema.readOnly));\n const uiSchemaHideError = uiOptions.hideError;\n // Set hideError to the value provided in the uiSchema, otherwise stick with the prop to propagate to children\n const hideError = uiSchemaHideError === undefined ? props.hideError : Boolean(uiSchemaHideError);\n const autofocus = Boolean(uiOptions.autofocus ?? props.autofocus);\n if (Object.keys(schema).length === 0) {\n return null;\n }\n let displayLabel = schemaUtils.getDisplayLabel(schema, uiSchema, globalUiOptions);\n /** If the schema `anyOf` or 'oneOf' can be rendered as a select control, don't render the selection and let\n * `StringField` component handle rendering unless there is a field override and that field replaces the any or one of\n */\n const isReplacingAnyOrOneOf = uiOptions.field && uiOptions.fieldReplacesAnyOrOneOf === true;\n let XxxOfField;\n let XxxOfOptions;\n // When rendering the `XxxOfField` we'll need to change the fieldPathId of the main component, remembering the\n // fieldPathId of the children for the ObjectField and ArrayField\n let fieldPathIdProps = { fieldPathId };\n if ((ANY_OF_KEY in schema || ONE_OF_KEY in schema) && !isReplacingAnyOrOneOf && !schemaUtils.isSelect(schema)) {\n if (schema[ANY_OF_KEY]) {\n XxxOfField = _AnyOfField;\n XxxOfOptions = schema[ANY_OF_KEY].map((xxxOfSchema) => schemaUtils.retrieveSchema(isObject(xxxOfSchema) ? xxxOfSchema : {}, formData));\n }\n else if (schema[ONE_OF_KEY]) {\n XxxOfField = _OneOfField;\n XxxOfOptions = schema[ONE_OF_KEY].map((xxxOfSchema) => schemaUtils.retrieveSchema(isObject(xxxOfSchema) ? xxxOfSchema : {}, formData));\n }\n // When the anyOf/oneOf is an optional data control render AND it does not have form data, hide the label\n const isOptionalRender = shouldRenderOptionalField(registry, schema, required, uiSchema);\n const hasFormData = isFormDataAvailable(formData);\n displayLabel = displayLabel && (!isOptionalRender || hasFormData);\n fieldPathIdProps = {\n childFieldPathId: fieldPathId,\n // The main FieldComponent will add `XxxOf` onto the fieldPathId to avoid duplication with the rendering of the\n // same FieldComponent by the `XxxOfField`\n fieldPathId: toFieldPathId('XxxOf', globalFormOptions, fieldPathId),\n };\n }\n const { __errors, ...fieldErrorSchema } = errorSchema || {};\n // See #439: uiSchema: Don't pass consumed class names or style to child components\n const fieldUiSchema = omit(uiSchema, ['ui:classNames', 'classNames', 'ui:style']);\n if (UI_OPTIONS_KEY in fieldUiSchema) {\n fieldUiSchema[UI_OPTIONS_KEY] = omit(fieldUiSchema[UI_OPTIONS_KEY], ['classNames', 'style']);\n }\n const field = (_jsx(FieldComponent, { ...props, onChange: handleFieldComponentChange, ...fieldPathIdProps, schema: schema, uiSchema: fieldUiSchema, disabled: disabled, readonly: readonly, hideError: hideError, autofocus: autofocus, errorSchema: fieldErrorSchema, rawErrors: __errors }));\n const id = fieldPathId[ID_KEY];\n // If this schema has a title defined, but the user has set a new key/label, retain their input.\n let label;\n if (wasPropertyKeyModified) {\n label = name;\n }\n else {\n label =\n ADDITIONAL_PROPERTY_FLAG in schema\n ? name\n : uiOptions.title || props.schema.title || schema.title || props.title || name;\n }\n if (deprecatedHandling === 'label') {\n label = registry.translateString(TranslatableString.DeprecatedLabel, [label]);\n }\n const description = uiOptions.description || props.schema.description || schema.description || '';\n const { help } = uiOptions;\n const hidden = uiOptions.widget === 'hidden' || deprecatedHandling === 'hide';\n const classNames = ['rjsf-field', `rjsf-field-${getSchemaType(schema)}`];\n if (!hideError && __errors && __errors.length > 0) {\n classNames.push('rjsf-field-error');\n }\n if (uiOptions.classNames) {\n classNames.push(uiOptions.classNames);\n }\n const helpComponent = (_jsx(FieldHelpTemplate, { help: help, fieldPathId: fieldPathId, schema: schema, uiSchema: uiSchema, hasErrors: !hideError && __errors && __errors.length > 0, registry: registry }));\n /*\n * AnyOf/OneOf errors handled by child schema\n * unless it can be rendered as select control\n */\n const errorsComponent = hideError || (XxxOfField && !schemaUtils.isSelect(schema)) ? undefined : (_jsx(FieldErrorTemplate, { errors: __errors, errorSchema: errorSchema, fieldPathId: fieldPathId, schema: schema, uiSchema: uiSchema, registry: registry }));\n const fieldProps = {\n description: (_jsx(DescriptionFieldTemplate, { id: descriptionId(id), description: description, schema: schema, uiSchema: uiSchema, registry: registry })),\n rawDescription: description,\n help: helpComponent,\n rawHelp: typeof help === 'string' ? help : undefined,\n errors: errorsComponent,\n rawErrors: hideError ? undefined : __errors,\n fieldPathId,\n id,\n label,\n hidden,\n onChange,\n onKeyRename,\n onKeyRenameBlur,\n onRemoveProperty,\n required,\n disabled,\n readonly,\n hideError,\n displayLabel,\n classNames: classNames.join(' ').trim(),\n style: uiOptions.style,\n formData,\n schema,\n uiSchema,\n registry,\n };\n return (_jsx(FieldTemplate, { ...fieldProps, children: _jsxs(_Fragment, { children: [field, XxxOfField && (_jsx(XxxOfField, { name: name, disabled: disabled, readonly: readonly, hideError: hideError, errorSchema: errorSchema, formData: formData, fieldPathId: fieldPathId, onBlur: props.onBlur, onChange: props.onChange, onFocus: props.onFocus, options: XxxOfOptions, registry: registry, required: required, schema: schema, uiSchema: uiSchema }))] }) }));\n}\n/** The `SchemaField` component wraps `SchemaFieldRender` with a custom memoization comparator that determines whether it is necessary to rerender the component based on any props changes\n * using `experimental_componentUpdateStrategy`.\n *\n * The cast to `typeof SchemaFieldRender` preserves the generic type signature (<T, S, F>) for consumers,\n * since React.memo's return type erases generic parameters.\n */\nconst SchemaField = memo(SchemaFieldRender, (prevProps, nextProps) => {\n const { experimental_componentUpdateStrategy = 'customDeep' } = nextProps.registry.globalFormOptions;\n if (experimental_componentUpdateStrategy === 'always') {\n return false; // always re-render — never consider props equal\n }\n if (experimental_componentUpdateStrategy === 'shallow') {\n return shallowEquals(prevProps, nextProps);\n }\n // default: 'customDeep'\n return deepEquals(prevProps, nextProps);\n});\nexport default SchemaField;\n", "import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { useCallback } from 'react';\nimport { getWidget, getUiOptions, optionsList, hasWidget } from '@rjsf/utils';\n/** The `StringField` component is used to render a schema field that represents a string type\n *\n * @param props - The `FieldProps` for this template\n */\nfunction StringField(props) {\n const { schema, name, uiSchema, fieldPathId, formData, required, disabled = false, readonly = false, autofocus = false, onChange, onBlur, onFocus, registry, rawErrors, hideError, title, } = props;\n const { title: schemaTitle, format } = schema;\n const { widgets, schemaUtils, globalUiOptions } = registry;\n const enumOptions = schemaUtils.isSelect(schema) ? optionsList(schema, uiSchema) : undefined;\n let defaultWidget = enumOptions ? 'select' : 'text';\n if (format && hasWidget(schema, format, widgets)) {\n defaultWidget = format;\n }\n const { widget = defaultWidget, placeholder = '', title: uiTitle, ...options } = getUiOptions(uiSchema);\n const displayLabel = schemaUtils.getDisplayLabel(schema, uiSchema, globalUiOptions);\n const label = uiTitle ?? title ?? schemaTitle ?? name;\n const Widget = getWidget(schema, widget, widgets);\n const onWidgetChange = useCallback((value, errorSchema, id) => onChange(value, fieldPathId.path, errorSchema, id), [onChange, fieldPathId]);\n return (_jsx(Widget, { options: { ...options, enumOptions }, schema: schema, uiSchema: uiSchema, id: fieldPathId.$id, name: name, label: label, hideLabel: !displayLabel, hideError: hideError, value: formData, onChange: onWidgetChange, onBlur: onBlur, onFocus: onFocus, required: required, disabled: disabled, readonly: readonly, autofocus: autofocus, registry: registry, placeholder: placeholder, rawErrors: rawErrors, htmlName: fieldPathId.name }));\n}\nexport default StringField;\n", "import ArrayField from './ArrayField.js';\nimport BooleanField from './BooleanField.js';\nimport CyclicSchemaField from './CyclicSchemaField.js';\nimport FallbackField from './FallbackField.js';\nimport LayoutGridField from './LayoutGridField.js';\nimport LayoutHeaderField from './LayoutHeaderField.js';\nimport LayoutMultiSchemaField from './LayoutMultiSchemaField.js';\nimport MultiSchemaField from './MultiSchemaField.js';\nimport NullField from './NullField.js';\nimport NumberField from './NumberField.js';\nimport ObjectField from './ObjectField.js';\nimport OptionalDataControlsField from './OptionalDataControlsField.js';\nimport SchemaField from './SchemaField.js';\nimport StringField from './StringField.js';\nfunction fields() {\n return {\n AnyOfField: MultiSchemaField,\n ArrayField: ArrayField,\n // ArrayField falls back to SchemaField if ArraySchemaField is not defined, which it isn't by default\n BooleanField,\n CyclicSchemaField,\n FallbackField,\n LayoutGridField,\n LayoutHeaderField,\n LayoutMultiSchemaField,\n NumberField,\n ObjectField,\n OneOfField: MultiSchemaField,\n OptionalDataControlsField,\n SchemaField,\n StringField,\n NullField,\n };\n}\nexport default fields;\n", "import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { descriptionId, getTemplate, getUiOptions } from '@rjsf/utils';\n/** The `ArrayFieldDescriptionTemplate` component renders a `DescriptionFieldTemplate` with an `id` derived from\n * the `fieldPathId`.\n *\n * @param props - The `ArrayFieldDescriptionProps` for the component\n */\nexport default function ArrayFieldDescriptionTemplate(props) {\n const { fieldPathId, description, registry, schema, uiSchema } = props;\n const options = getUiOptions(uiSchema, registry.globalUiOptions);\n const { label: displayLabel = true } = options;\n if (!description || !displayLabel) {\n return null;\n }\n const DescriptionFieldTemplate = getTemplate('DescriptionFieldTemplate', registry, options);\n return (_jsx(DescriptionFieldTemplate, { id: descriptionId(fieldPathId), description: description, schema: schema, uiSchema: uiSchema, registry: registry }));\n}\n", "import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport { buttonId } from '@rjsf/utils';\n/** The `ArrayFieldTemplateItemButtons` component is the template used to render the buttons associate3d with items of\n * an array.\n *\n * @param props - The `ArrayFieldItemButtonsTemplateProps` props for the component\n */\nexport default function ArrayFieldItemButtonsTemplate(props) {\n const { disabled, hasCopy, hasMoveDown, hasMoveUp, hasRemove, fieldPathId, onCopyItem, onRemoveItem, onMoveDownItem, onMoveUpItem, readonly, registry, uiSchema, } = props;\n const { CopyButton, MoveDownButton, MoveUpButton, RemoveButton } = registry.templates.ButtonTemplates;\n return (_jsxs(_Fragment, { children: [(hasMoveUp || hasMoveDown) && (_jsx(MoveUpButton, { id: buttonId(fieldPathId, 'moveUp'), className: 'rjsf-array-item-move-up', disabled: disabled || readonly || !hasMoveUp, onClick: onMoveUpItem, uiSchema: uiSchema, registry: registry })), (hasMoveUp || hasMoveDown) && (_jsx(MoveDownButton, { id: buttonId(fieldPathId, 'moveDown'), className: 'rjsf-array-item-move-down', disabled: disabled || readonly || !hasMoveDown, onClick: onMoveDownItem, uiSchema: uiSchema, registry: registry })), hasCopy && (_jsx(CopyButton, { id: buttonId(fieldPathId, 'copy'), className: 'rjsf-array-item-copy', disabled: disabled || readonly, onClick: onCopyItem, uiSchema: uiSchema, registry: registry })), hasRemove && (_jsx(RemoveButton, { id: buttonId(fieldPathId, 'remove'), className: 'rjsf-array-item-remove', disabled: disabled || readonly, onClick: onRemoveItem, uiSchema: uiSchema, registry: registry }))] }));\n}\n", "import { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport { getTemplate, getUiOptions } from '@rjsf/utils';\n/** The `ArrayFieldItemTemplate` component is the template used to render an items of an array.\n *\n * @param props - The `ArrayFieldItemTemplateProps` props for the component\n */\nexport default function ArrayFieldItemTemplate(props) {\n const { children, className, buttonsProps, displayLabel, hasDescription, hasToolbar, registry, uiSchema } = props;\n const uiOptions = getUiOptions(uiSchema);\n const ArrayFieldItemButtonsTemplate = getTemplate('ArrayFieldItemButtonsTemplate', registry, uiOptions);\n const btnStyle = {\n flex: 1,\n paddingLeft: 6,\n paddingRight: 6,\n fontWeight: 'bold',\n };\n const margin = hasDescription ? 31 : 9;\n const containerStyle = { display: 'flex', alignItems: displayLabel ? 'center' : 'baseline' };\n const toolbarStyle = { display: 'flex', justifyContent: 'flex-end', marginTop: displayLabel ? `${margin}px` : 0 };\n return (_jsxs(\"div\", { className: className, style: containerStyle, children: [_jsx(\"div\", { className: hasToolbar ? 'col-xs-9 col-md-10 col-xl-11' : 'col-xs-12', children: children }), hasToolbar && (_jsx(\"div\", { className: 'col-xs-3 col-md-2 col-xl-1 array-item-toolbox', children: _jsx(\"div\", { className: 'btn-group', style: toolbarStyle, children: _jsx(ArrayFieldItemButtonsTemplate, { ...buttonsProps, style: btnStyle }) }) }))] }));\n}\n", "import { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport { getTemplate, getUiOptions, buttonId } from '@rjsf/utils';\n/** The `ArrayFieldTemplate` component is the template used to render all items in an array.\n *\n * @param props - The `ArrayFieldTemplateProps` props for the component\n */\nexport default function ArrayFieldTemplate(props) {\n const { canAdd, className, disabled, fieldPathId, uiSchema, items, optionalDataControl, onAddClick, readonly, registry, required, schema, title, } = props;\n const uiOptions = getUiOptions(uiSchema);\n const ArrayFieldDescriptionTemplate = getTemplate('ArrayFieldDescriptionTemplate', registry, uiOptions);\n const ArrayFieldTitleTemplate = getTemplate('ArrayFieldTitleTemplate', registry, uiOptions);\n // Button templates are not overridden in the uiSchema\n const showOptionalDataControlInTitle = !readonly && !disabled;\n const { ButtonTemplates: { AddButton }, } = registry.templates;\n return (_jsxs(\"fieldset\", { className: className, id: fieldPathId.$id, children: [_jsx(ArrayFieldTitleTemplate, { fieldPathId: fieldPathId, title: uiOptions.title || title, required: required, schema: schema, uiSchema: uiSchema, registry: registry, optionalDataControl: showOptionalDataControlInTitle ? optionalDataControl : undefined }), _jsx(ArrayFieldDescriptionTemplate, { fieldPathId: fieldPathId, description: uiOptions.description || schema.description, schema: schema, uiSchema: uiSchema, registry: registry }), !showOptionalDataControlInTitle ? optionalDataControl : undefined, _jsx(\"div\", { className: 'row array-item-list', children: items }), canAdd && (_jsx(AddButton, { id: buttonId(fieldPathId, 'add'), className: 'rjsf-array-item-add', onClick: onAddClick, disabled: disabled || readonly, uiSchema: uiSchema, registry: registry }))] }));\n}\n", "import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { getTemplate, getUiOptions, titleId } from '@rjsf/utils';\n/** The `ArrayFieldTitleTemplate` component renders a `TitleFieldTemplate` with an `id` derived from\n * the `fieldPathId`.\n *\n * @param props - The `ArrayFieldTitleProps` for the component\n */\nexport default function ArrayFieldTitleTemplate(props) {\n const { fieldPathId, title, schema, uiSchema, required, registry, optionalDataControl } = props;\n const options = getUiOptions(uiSchema, registry.globalUiOptions);\n const { label: displayLabel = true } = options;\n if (!title || !displayLabel) {\n return null;\n }\n const TitleFieldTemplate = getTemplate('TitleFieldTemplate', registry, options);\n return (_jsx(TitleFieldTemplate, { id: titleId(fieldPathId), title: title, required: required, schema: schema, uiSchema: uiSchema, registry: registry, optionalDataControl: optionalDataControl }));\n}\n", "import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport { useCallback } from 'react';\nimport { ariaDescribedByIds, examplesId, getInputProps } from '@rjsf/utils';\nimport SchemaExamples from '../SchemaExamples.js';\n/** The `BaseInputTemplate` is the template to use to render the basic `<input>` component for the `core` theme.\n * It is used as the template for rendering many of the <input> based widgets that differ by `type` and callbacks only.\n * It can be customized/overridden for other themes or individual implementations as needed.\n *\n * @param props - The `WidgetProps` for this template\n */\nexport default function BaseInputTemplate(props) {\n const { id, name, // remove this from ...rest\n htmlName, value, readonly, disabled, autofocus, onBlur, onFocus, onChange, onChangeOverride, options, schema, uiSchema, registry, rawErrors, type, hideLabel, // remove this from ...rest\n hideError, // remove this from ...rest\n ...rest } = props;\n const { ClearButton } = registry.templates.ButtonTemplates;\n // Note: since React 15.2.0 we can't forward unknown element attributes, so we\n // exclude the \"options\" and \"schema\" ones here.\n if (!id) {\n // oxlint-disable-next-line no-console\n console.log('No id for', props);\n throw new Error(`no id for props ${JSON.stringify(props)}`);\n }\n const inputProps = {\n ...rest,\n ...getInputProps(schema, type, options),\n };\n let inputValue;\n if (inputProps.type === 'number' || inputProps.type === 'integer') {\n inputValue = value || value === 0 ? value : '';\n }\n else {\n inputValue = value == null ? '' : value;\n }\n const handleChange = useCallback(({ target: { value: newValue } }) => onChange(newValue === '' ? options.emptyValue : newValue), [onChange, options]);\n const handleBlur = useCallback(({ target }) => onBlur(id, target?.value), [onBlur, id]);\n const handleFocus = useCallback(({ target }) => onFocus(id, target?.value), [onFocus, id]);\n const handleClear = useCallback((e) => {\n e.preventDefault();\n e.stopPropagation();\n onChange(options.emptyValue ?? '');\n }, [onChange, options.emptyValue]);\n return (_jsxs(_Fragment, { children: [_jsx(\"input\", { id: id, name: htmlName || id, className: 'form-control', readOnly: readonly, disabled: disabled, autoFocus: autofocus, value: inputValue, ...inputProps, list: schema.examples ? examplesId(id) : undefined, onChange: onChangeOverride || handleChange, onBlur: handleBlur, onFocus: handleFocus, \"aria-describedby\": ariaDescribedByIds(id, !!schema.examples) }), options.allowClearTextInputs && !readonly && !disabled && inputValue && (_jsx(ClearButton, { registry: registry, onClick: handleClear })), _jsx(SchemaExamples, { id: id, schema: schema })] }));\n}\n", "import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { examplesId } from '@rjsf/utils';\n/** Renders a `<datalist>` element containing options from schema examples and default value.\n * Normalizes types to prevent duplicate keys when examples and default have different types.\n * For example, if examples are strings [\"5432\"] and default is number 5432, the default\n * will not be added as a duplicate option.\n *\n * @param props - The `SchemaExamplesProps` for this component\n */\nexport default function SchemaExamples(props) {\n const { id, schema } = props;\n const { examples, default: schemaDefault } = schema;\n if (!Array.isArray(examples)) {\n return null;\n }\n return (_jsx(\"datalist\", { id: examplesId(id), children: examples\n .concat(schemaDefault !== undefined && !examples.map(String).includes(String(schemaDefault))\n ? [schemaDefault]\n : [])\n .map((example) => (_jsx(\"option\", { value: example }, String(example)))) }, `datalist_${id}`));\n}\n", "import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { TranslatableString } from '@rjsf/utils';\nimport IconButton from './IconButton.js';\n/** The `AddButton` renders a button that represent the `Add` action on a form\n */\nexport default function AddButton({ id, className, onClick, disabled, registry, }) {\n const { translateString } = registry;\n return (_jsx(\"div\", { className: 'row', children: _jsx(\"p\", { className: `col-xs-4 col-sm-2 col-lg-1 col-xs-offset-8 col-sm-offset-10 col-lg-offset-11 text-right ${className}`, children: _jsx(IconButton, { id: id, iconType: 'info', icon: 'plus', className: 'btn-add col-xs-12', title: translateString(TranslatableString.AddButton), onClick: onClick, disabled: disabled, registry: registry }) }) }));\n}\n", "import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { memo } from 'react';\nimport { TranslatableString } from '@rjsf/utils';\nfunction IconButtonFn(props) {\n const { iconType = 'default', icon, className, uiSchema, registry, ...otherProps } = props;\n return (_jsx(\"button\", { type: 'button', className: `btn btn-${iconType} ${className}`, ...otherProps, children: _jsx(\"i\", { className: `glyphicon glyphicon-${icon}` }) }));\n}\nconst IconButton = memo(IconButtonFn);\nexport default IconButton;\nfunction CopyButtonFn(props) {\n const { registry: { translateString }, } = props;\n return _jsx(IconButton, { title: translateString(TranslatableString.CopyButton), ...props, icon: 'copy' });\n}\nexport const CopyButton = memo(CopyButtonFn);\nfunction MoveDownButtonFn(props) {\n const { registry: { translateString }, } = props;\n return _jsx(IconButton, { title: translateString(TranslatableString.MoveDownButton), ...props, icon: 'arrow-down' });\n}\nexport const MoveDownButton = memo(MoveDownButtonFn);\nfunction MoveUpButtonFn(props) {\n const { registry: { translateString }, } = props;\n return _jsx(IconButton, { title: translateString(TranslatableString.MoveUpButton), ...props, icon: 'arrow-up' });\n}\nexport const MoveUpButton = memo(MoveUpButtonFn);\nfunction RemoveButtonFn(props) {\n const { registry: { translateString }, } = props;\n return (_jsx(IconButton, { title: translateString(TranslatableString.RemoveButton), ...props, iconType: 'danger', icon: 'remove' }));\n}\nexport const RemoveButton = memo(RemoveButtonFn);\nfunction ClearButtonFn({ id, className, onClick, disabled, registry, ...props }) {\n const { translateString } = registry;\n return (_jsx(IconButton, { id: id, iconType: 'default', icon: 'remove', className: 'btn-clear col-xs-12', title: translateString(TranslatableString.ClearButton), onClick: onClick, disabled: disabled, registry: registry, ...props }));\n}\nexport const ClearButton = memo(ClearButtonFn);\n", "import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { getSubmitButtonOptions } from '@rjsf/utils';\n/** The `SubmitButton` renders a button that represent the `Submit` action on a form\n */\nexport default function SubmitButton({ uiSchema }) {\n const { submitText, norender, props: submitButtonProps = {} } = getSubmitButtonOptions(uiSchema);\n if (norender) {\n return null;\n }\n return (_jsx(\"div\", { children: _jsx(\"button\", { type: 'submit', ...submitButtonProps, className: `btn btn-info ${submitButtonProps.className || ''}`, children: submitText }) }));\n}\n", "import AddButton from './AddButton.js';\nimport { CopyButton, MoveDownButton, MoveUpButton, RemoveButton, ClearButton } from './IconButton.js';\nimport SubmitButton from './SubmitButton.js';\nfunction buttonTemplates() {\n return {\n SubmitButton,\n AddButton,\n CopyButton,\n MoveDownButton,\n MoveUpButton,\n RemoveButton,\n ClearButton,\n };\n}\nexport default buttonTemplates;\n", "import { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport { ID_KEY, TranslatableString } from '@rjsf/utils';\n/** The `CyclicSchemaExpandTemplate` is the template to use to render the cyclic schema expand message and controls\n *\n * @param props - The `DescriptionFieldProps` for this component\n */\nexport default function CyclicSchemaExpandTemplate(props) {\n const { name, fieldPathId, registry, onExpand } = props;\n const { translateString } = registry;\n const buttonId = `${fieldPathId[ID_KEY]}-button`;\n return (_jsxs(\"div\", { style: { marginTop: '1rem' }, children: [_jsx(\"div\", { className: 'text-danger', children: translateString(TranslatableString.CycleDetected, [name]) }), _jsxs(\"div\", { children: [_jsx(\"button\", { id: buttonId, type: 'button', className: 'btn btn-sm btn-warning', onClick: () => onExpand(fieldPathId[ID_KEY]), children: translateString(TranslatableString.ExpandButton) }), ' '] })] }));\n}\n", "import { jsx as _jsx } from \"react/jsx-runtime\";\nimport RichDescription from '../RichDescription.js';\n/** The `DescriptionField` is the template to use to render the description of a field\n *\n * @param props - The `DescriptionFieldProps` for this component\n */\nexport default function DescriptionField(props) {\n const { id, description, registry, uiSchema } = props;\n if (!description) {\n return null;\n }\n return (_jsx(\"div\", { id: id, className: 'field-description', children: _jsx(RichDescription, { description: description, registry: registry, uiSchema: uiSchema }) }));\n}\n", "import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { getTestIds, getUiOptions } from '@rjsf/utils';\nimport { Markdown } from 'markdown-to-jsx/react';\nconst TEST_IDS = getTestIds();\n/** Renders the given `description` in the props as\n *\n * @param props - The `RichDescriptionProps` for this component\n */\nexport default function RichDescription({ description, registry, uiSchema = {} }) {\n const { globalUiOptions } = registry;\n const uiOptions = getUiOptions(uiSchema, globalUiOptions);\n if (uiOptions.enableMarkdownInDescription && typeof description === 'string') {\n return (_jsx(Markdown, { options: { disableParsingRawHTML: true }, \"data-testid\": TEST_IDS.markdown, children: description }));\n }\n return description;\n}\nRichDescription.TEST_IDS = TEST_IDS;\n", "import { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport { TranslatableString } from '@rjsf/utils';\n/** The `ErrorList` component is the template that renders the all the errors associated with the fields in the `Form`\n *\n * @param props - The `ErrorListProps` for this component\n */\nexport default function ErrorList({ errors, registry, }) {\n const { translateString } = registry;\n return (_jsxs(\"div\", { className: 'panel panel-danger errors', children: [_jsx(\"div\", { className: 'panel-heading', children: _jsx(\"h3\", { className: 'panel-title', children: translateString(TranslatableString.ErrorsLabel) }) }), _jsx(\"ul\", { className: 'list-group', children: errors.map((error, i) => (_jsx(\"li\", { className: 'list-group-item text-danger', children: error.stack }, i))) })] }));\n}\n", "import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { getTemplate } from '@rjsf/utils';\n/**\n * The `FallbackFieldTemplate` is used to render a field when no field matches. The field renders a type selector and\n * the schema field for the form data.\n */\nexport default function FallbackFieldTemplate(props) {\n const { schema, registry, typeSelector, schemaField } = props;\n // By default, use the MultiSchemaFieldTemplate, which handles the same basic requirements.\n const MultiSchemaFieldTemplate = getTemplate('MultiSchemaFieldTemplate', registry);\n return (_jsx(MultiSchemaFieldTemplate, { selector: typeSelector, optionSchemaField: schemaField, schema: schema, registry: registry }));\n}\n", "import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { errorId } from '@rjsf/utils';\n/** The `FieldErrorTemplate` component renders the errors local to the particular field\n *\n * @param props - The `FieldErrorProps` for the errors being rendered\n */\nexport default function FieldErrorTemplate(props) {\n const { errors = [], fieldPathId } = props;\n if (errors.length === 0) {\n return null;\n }\n const id = errorId(fieldPathId);\n return (_jsx(\"div\", { children: _jsx(\"ul\", { id: id, className: 'error-detail bs-callout bs-callout-info', children: errors\n .filter((elem) => !!elem)\n .map((error, index) => (_jsx(\"li\", { className: 'text-danger', children: error }, index))) }) }));\n}\n", "import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { helpId } from '@rjsf/utils';\nimport RichHelp from '../RichHelp.js';\n/** The `FieldHelpTemplate` component renders any help desired for a field\n *\n * @param props - The `FieldHelpProps` to be rendered\n */\nexport default function FieldHelpTemplate(props) {\n const { fieldPathId, help, uiSchema, registry } = props;\n if (!help) {\n return null;\n }\n return (_jsx(\"div\", { id: helpId(fieldPathId), className: 'help-block', children: _jsx(RichHelp, { help: help, registry: registry, uiSchema: uiSchema }) }));\n}\n", "import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { getTestIds, getUiOptions } from '@rjsf/utils';\nimport { Markdown } from 'markdown-to-jsx/react';\nconst TEST_IDS = getTestIds();\n/** Renders the given `description` in the props as\n *\n * @param props - The `RichHelpProps` for this component\n */\nexport default function RichHelp({ help, registry, uiSchema = {}, }) {\n const { globalUiOptions } = registry;\n const uiOptions = getUiOptions(uiSchema, globalUiOptions);\n if (uiOptions.enableMarkdownInHelp && typeof help === 'string') {\n return (_jsx(Markdown, { options: { disableParsingRawHTML: true }, \"data-testid\": TEST_IDS.markdown, children: help }));\n }\n return help;\n}\nRichHelp.TEST_IDS = TEST_IDS;\n", "import { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport { getTemplate, getUiOptions } from '@rjsf/utils';\nimport Label from './Label.js';\n/** The `FieldTemplate` component is the template used by `SchemaField` to render any field. It renders the field\n * content, (label, description, children, errors and help) inside of a `WrapIfAdditional` component.\n *\n * @param props - The `FieldTemplateProps` for this component\n */\nexport default function FieldTemplate(props) {\n const { id, label, children, errors, help, description, hidden, required, displayLabel, registry, uiSchema } = props;\n const uiOptions = getUiOptions(uiSchema);\n const WrapIfAdditionalTemplate = getTemplate('WrapIfAdditionalTemplate', registry, uiOptions);\n if (hidden) {\n return _jsx(\"div\", { className: 'hidden', children: children });\n }\n const isCheckbox = uiOptions.widget === 'checkbox';\n return (_jsxs(WrapIfAdditionalTemplate, { ...props, children: [displayLabel && !isCheckbox && _jsx(Label, { label: label, required: required, id: id }), displayLabel && description ? description : null, children, errors, help] }));\n}\n", "import { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst REQUIRED_FIELD_SYMBOL = '*';\n/** Renders a label for a field\n *\n * @param props - The `LabelProps` for this component\n */\nexport default function Label(props) {\n const { label, required, id } = props;\n if (!label) {\n return null;\n }\n return (_jsxs(\"label\", { className: 'control-label', htmlFor: id, children: [label, required && _jsx(\"span\", { className: 'required', children: REQUIRED_FIELD_SYMBOL })] }));\n}\n", "import FieldTemplate from './FieldTemplate.js';\nexport default FieldTemplate;\n", "import { jsx as _jsx } from \"react/jsx-runtime\";\n/** Renders a `GridTemplate` for bootstrap 3, which is expecting the column information coming in via the `className`\n * prop. Also spreads all the other props provided by the user directly on the div.\n *\n * @param props - The GridTemplateProps, including the expected className for the bootstrap 3 grid behavior\n */\nexport default function GridTemplate(props) {\n const { children, column, className, ...rest } = props;\n return (_jsx(\"div\", { className: className, ...rest, children: children }));\n}\n", "import { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\n/** The `MultiSchemaFieldTemplate` component renders the layout for the MultiSchemaField, which supports choosing\n * a schema from a list of schemas defined using `anyOf` or `oneOf`.\n *\n * @param props - The `MultiSchemaFieldTemplate` to be rendered\n */\nexport default function MultiSchemaFieldTemplate(props) {\n const { selector, optionSchemaField } = props;\n return (_jsxs(\"div\", { className: 'panel panel-default panel-body', children: [_jsx(\"div\", { className: 'form-group', children: selector }), optionSchemaField] }));\n}\n", "import { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport { canExpand, descriptionId, getTemplate, getUiOptions, titleId, buttonId } from '@rjsf/utils';\n/** The `ObjectFieldTemplate` is the template to use to render all the inner properties of an object along with the\n * title and description if available. If the object is expandable, then an `AddButton` is also rendered after all\n * the properties.\n *\n * @param props - The `ObjectFieldTemplateProps` for this component\n */\nexport default function ObjectFieldTemplate(props) {\n const { className, description, disabled, formData, fieldPathId, onAddProperty, optionalDataControl, properties, readonly, registry, required, schema, title, uiSchema, } = props;\n const options = getUiOptions(uiSchema);\n const TitleFieldTemplate = getTemplate('TitleFieldTemplate', registry, options);\n const DescriptionFieldTemplate = getTemplate('DescriptionFieldTemplate', registry, options);\n // For \"pure union\" schemas (oneOf/anyOf without properties), skip rendering the empty fieldset wrapper.\n // The AnyOfField/OneOfField will handle rendering the union selector and selected variant's content directly.\n const isPureUnionSchema = (schema.oneOf || schema.anyOf) && !schema.properties && properties.length === 0;\n if (isPureUnionSchema) {\n return null;\n }\n const showOptionalDataControlInTitle = !readonly && !disabled;\n // Button templates are not overridden in the uiSchema\n const { ButtonTemplates: { AddButton }, } = registry.templates;\n return (_jsxs(\"fieldset\", { className: className, id: fieldPathId.$id, children: [title && (_jsx(TitleFieldTemplate, { id: titleId(fieldPathId), title: title, required: required, schema: schema, uiSchema: uiSchema, registry: registry, optionalDataControl: showOptionalDataControlInTitle ? optionalDataControl : undefined })), description && (_jsx(DescriptionFieldTemplate, { id: descriptionId(fieldPathId), description: description, schema: schema, uiSchema: uiSchema, registry: registry })), !showOptionalDataControlInTitle ? optionalDataControl : undefined, properties.map((prop) => prop.content), canExpand(schema, uiSchema, formData) && (_jsx(AddButton, { id: buttonId(fieldPathId, 'add'), className: 'rjsf-object-property-expand', onClick: onAddProperty, disabled: disabled || readonly, uiSchema: uiSchema, registry: registry }))] }));\n}\n", "import { jsx as _jsx } from \"react/jsx-runtime\";\nimport IconButton from './ButtonTemplates/IconButton.js';\n/** The OptionalDataControlsTemplate renders one of three different states. If\n * there is an `onAddClick()` function, it renders the \"Add\" button. If there is\n * an `onRemoveClick()` function, it renders the \"Remove\" button. Otherwise it\n * renders the \"No data found\" section. All of them use the `label` as either\n * the `title` of buttons or simply outputting it.\n *\n * @param props - The `OptionalDataControlsTemplateProps` for the template\n */\nexport default function OptionalDataControlsTemplate(props) {\n const { id, registry, label, onAddClick, onRemoveClick } = props;\n if (onAddClick) {\n return (_jsx(IconButton, { id: id, registry: registry, icon: 'plus', className: 'rjsf-add-optional-data btn-sm', onClick: onAddClick, title: label }));\n }\n if (onRemoveClick) {\n return (_jsx(IconButton, { id: id, registry: registry, icon: 'remove', className: 'rjsf-remove-optional-data btn-sm', onClick: onRemoveClick, title: label }));\n }\n return _jsx(\"em\", { id: id, children: label });\n}\n", "import { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst REQUIRED_FIELD_SYMBOL = '*';\n/** The `TitleField` is the template to use to render the title of a field\n *\n * @param props - The `TitleFieldProps` for this component\n */\nexport default function TitleField(props) {\n const { id, title, required, optionalDataControl } = props;\n return (_jsxs(\"legend\", { id: id, children: [title, required && _jsx(\"span\", { className: 'required', children: REQUIRED_FIELD_SYMBOL }), optionalDataControl && (_jsx(\"span\", { className: 'pull-right', style: { marginBottom: '2px' }, children: optionalDataControl }))] }));\n}\n", "import { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport { TranslatableString } from '@rjsf/utils';\nimport { Markdown } from 'markdown-to-jsx/react';\n/** The `UnsupportedField` component is used to render a field in the schema is one that is not supported by\n * react-jsonschema-form.\n *\n * @param props - The `FieldProps` for this template\n */\nfunction UnsupportedField(props) {\n const { schema, fieldPathId, reason, registry } = props;\n const { translateString } = registry;\n let translateEnum = TranslatableString.UnsupportedField;\n const translateParams = [];\n if (fieldPathId?.$id) {\n translateEnum = TranslatableString.UnsupportedFieldWithId;\n translateParams.push(fieldPathId.$id);\n }\n if (reason) {\n translateEnum =\n translateEnum === TranslatableString.UnsupportedField\n ? TranslatableString.UnsupportedFieldWithReason\n : TranslatableString.UnsupportedFieldWithIdAndReason;\n translateParams.push(reason);\n }\n return (_jsxs(\"div\", { className: 'unsupported-field', children: [_jsx(\"p\", { children: _jsx(Markdown, { options: { disableParsingRawHTML: true }, children: translateString(translateEnum, translateParams) }) }), schema && _jsx(\"pre\", { children: JSON.stringify(schema, null, 2) })] }));\n}\nexport default UnsupportedField;\n", "import { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport { ADDITIONAL_PROPERTY_FLAG, buttonId, TranslatableString } from '@rjsf/utils';\nimport Label from './FieldTemplate/Label.js';\n/** The `WrapIfAdditional` component is used by the `FieldTemplate` to rename, or remove properties that are\n * part of an `additionalProperties` part of a schema.\n *\n * @param props - The `WrapIfAdditionalProps` for this component\n */\nexport default function WrapIfAdditionalTemplate(props) {\n const { id, classNames, style, disabled, displayLabel, label, onKeyRenameBlur, onRemoveProperty, rawDescription, readonly, required, schema, hideError, rawErrors, children, uiSchema, registry, } = props;\n const { templates, translateString } = registry;\n // Button templates are not overridden in the uiSchema\n const { RemoveButton } = templates.ButtonTemplates;\n const keyLabel = translateString(TranslatableString.KeyLabel, [label]);\n const additional = ADDITIONAL_PROPERTY_FLAG in schema;\n const hasDescription = !!rawDescription;\n const classNamesList = ['form-group', classNames];\n if (!hideError && rawErrors && rawErrors.length > 0) {\n classNamesList.push('has-error has-danger');\n }\n const uiClassNames = classNamesList.join(' ').trim();\n if (!additional) {\n return (_jsx(\"div\", { className: uiClassNames, style: style, children: children }));\n }\n const margin = hasDescription ? 46 : 26;\n return (_jsx(\"div\", { className: uiClassNames, style: style, children: _jsxs(\"div\", { className: 'row', children: [_jsx(\"div\", { className: 'col-xs-5 form-additional', children: _jsxs(\"div\", { className: 'form-group', children: [displayLabel && _jsx(Label, { label: keyLabel, required: required, id: `${id}-key` }), displayLabel && rawDescription && _jsx(\"div\", { children: \"\\u00A0\" }), _jsx(\"input\", { className: 'form-control', type: 'text', id: `${id}-key`, onBlur: onKeyRenameBlur, defaultValue: label }, label)] }) }), _jsx(\"div\", { className: 'form-additional form-group col-xs-5', children: children }), _jsx(\"div\", { className: 'col-xs-2', style: { marginTop: displayLabel ? `${margin}px` : undefined }, children: _jsx(RemoveButton, { id: buttonId(id, 'remove'), className: 'rjsf-object-property-remove btn-block', style: { border: '0' }, disabled: disabled || readonly, onClick: onRemoveProperty, uiSchema: uiSchema, registry: registry }) })] }) }));\n}\n", "import ArrayFieldDescriptionTemplate from './ArrayFieldDescriptionTemplate.js';\nimport ArrayFieldItemButtonsTemplate from './ArrayFieldItemButtonsTemplate.js';\nimport ArrayFieldItemTemplate from './ArrayFieldItemTemplate.js';\nimport ArrayFieldTemplate from './ArrayFieldTemplate.js';\nimport ArrayFieldTitleTemplate from './ArrayFieldTitleTemplate.js';\nimport BaseInputTemplate from './BaseInputTemplate.js';\nimport ButtonTemplates from './ButtonTemplates/index.js';\nimport CyclicSchemaExpandTemplate from './CyclicSchemaExpandTemplate.js';\nimport DescriptionField from './DescriptionField.js';\nimport ErrorList from './ErrorList.js';\nimport FallbackFieldTemplate from './FallbackFieldTemplate.js';\nimport FieldErrorTemplate from './FieldErrorTemplate.js';\nimport FieldHelpTemplate from './FieldHelpTemplate.js';\nimport FieldTemplate from './FieldTemplate/index.js';\nimport GridTemplate from './GridTemplate.js';\nimport MultiSchemaFieldTemplate from './MultiSchemaFieldTemplate.js';\nimport ObjectFieldTemplate from './ObjectFieldTemplate.js';\nimport OptionalDataControlsTemplate from './OptionalDataControlsTemplate.js';\nimport TitleField from './TitleField.js';\nimport UnsupportedField from './UnsupportedField.js';\nimport WrapIfAdditionalTemplate from './WrapIfAdditionalTemplate.js';\nfunction templates() {\n return {\n ArrayFieldDescriptionTemplate,\n ArrayFieldItemTemplate,\n ArrayFieldItemButtonsTemplate,\n ArrayFieldTemplate,\n ArrayFieldTitleTemplate,\n ButtonTemplates: ButtonTemplates(),\n BaseInputTemplate,\n CyclicSchemaExpandTemplate,\n DescriptionFieldTemplate: DescriptionField,\n ErrorListTemplate: ErrorList,\n FallbackFieldTemplate,\n FieldTemplate,\n FieldErrorTemplate,\n FieldHelpTemplate,\n GridTemplate,\n MultiSchemaFieldTemplate,\n ObjectFieldTemplate,\n OptionalDataControlsTemplate,\n TitleFieldTemplate: TitleField,\n UnsupportedFieldTemplate: UnsupportedField,\n WrapIfAdditionalTemplate,\n };\n}\nexport default templates;\n", "import { jsx as _jsx } from \"react/jsx-runtime\";\n/** The `AltDateTimeWidget` is an alternative widget for rendering datetime properties.\n * It uses the AltDateWidget for rendering, with the `time` prop set to true by default.\n *\n * @param props - The `WidgetProps` for this component\n */\nfunction AltDateTimeWidget({ time = true, ...props }) {\n const { AltDateWidget } = props.registry.widgets;\n return _jsx(AltDateWidget, { time: time, ...props });\n}\nexport default AltDateTimeWidget;\n", "import { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport { DateElement, TranslatableString, useAltDateWidgetProps } from '@rjsf/utils';\n/** The `AltDateWidget` is an alternative widget for rendering date properties.\n * @param props - The `WidgetProps` for this component\n */\nfunction AltDateWidget(props) {\n const { disabled = false, readonly = false, autofocus = false, options, id, name, registry, onBlur, onFocus } = props;\n const { translateString } = registry;\n const { elements, handleChange, handleClear, handleSetNow } = useAltDateWidgetProps(props);\n return (_jsxs(\"ul\", { className: 'list-inline', children: [elements.map((elemProps, i) => (_jsx(\"li\", { className: 'list-inline-item', children: _jsx(DateElement, { rootId: id, name: name, select: handleChange, ...elemProps, disabled: disabled, readonly: readonly, registry: registry, onBlur: onBlur, onFocus: onFocus, autofocus: autofocus && i === 0 }) }, i))), (options.hideNowButton !== 'undefined' ? !options.hideNowButton : true) && (_jsx(\"li\", { className: 'list-inline-item', children: _jsx(\"button\", { type: 'button', className: 'btn btn-info btn-now', onClick: handleSetNow, children: translateString(TranslatableString.NowLabel) }) })), (options.hideClearButton !== 'undefined' ? !options.hideClearButton : true) && (_jsx(\"li\", { className: 'list-inline-item', children: _jsx(\"button\", { type: 'button', className: 'btn btn-warning btn-clear', onClick: handleClear, children: translateString(TranslatableString.ClearLabel) }) }))] }));\n}\nexport default AltDateWidget;\n", "import { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport { useCallback } from 'react';\nimport { ariaDescribedByIds, enumOptionValueDecoder, enumOptionValueEncoder, enumOptionsDeselectValue, enumOptionsIsSelected, enumOptionsSelectValue, getOptionValueFormat, optionId, } from '@rjsf/utils';\n/** The `CheckboxesWidget` is a widget for rendering checkbox groups.\n * It is typically used to represent an array of enums.\n *\n * @param props - The `WidgetProps` for this component\n */\nfunction CheckboxesWidget({ id, disabled, options, value, autofocus = false, readonly, onChange, onBlur, onFocus, htmlName, }) {\n const { inline = false, enumOptions, enumDisabled, emptyValue } = options;\n const optionValueFormat = getOptionValueFormat(options);\n const checkboxesValues = Array.isArray(value) ? value : [value];\n const handleBlur = useCallback(({ target }) => onBlur(id, enumOptionValueDecoder(target?.value, enumOptions, optionValueFormat, emptyValue)), [onBlur, id, enumOptions, emptyValue, optionValueFormat]);\n const handleFocus = useCallback(({ target }) => onFocus(id, enumOptionValueDecoder(target?.value, enumOptions, optionValueFormat, emptyValue)), [onFocus, id, enumOptions, emptyValue, optionValueFormat]);\n return (_jsx(\"div\", { className: 'checkboxes', id: id, children: Array.isArray(enumOptions) &&\n enumOptions.map((option, index) => {\n const checked = enumOptionsIsSelected(option.value, checkboxesValues);\n const itemDisabled = Array.isArray(enumDisabled) && enumDisabled.includes(option.value);\n const disabledCls = disabled || itemDisabled || readonly ? 'disabled' : '';\n const handleChange = (event) => {\n if (event.target.checked) {\n onChange(enumOptionsSelectValue(index, checkboxesValues, enumOptions));\n }\n else {\n onChange(enumOptionsDeselectValue(index, checkboxesValues, enumOptions));\n }\n };\n const checkbox = (_jsxs(\"span\", { children: [_jsx(\"input\", { type: 'checkbox', id: optionId(id, index), name: htmlName || id, checked: checked, value: enumOptionValueEncoder(option.value, index, optionValueFormat), disabled: disabled || itemDisabled || readonly, autoFocus: autofocus && index === 0, onChange: handleChange, onBlur: handleBlur, onFocus: handleFocus, \"aria-describedby\": ariaDescribedByIds(id) }), _jsx(\"span\", { children: option.label })] }));\n return inline ? (_jsx(\"label\", { className: `checkbox-inline ${disabledCls}`, children: checkbox }, String(option.value))) : (_jsx(\"div\", { className: `checkbox ${disabledCls}`, children: _jsx(\"label\", { children: checkbox }) }, String(option.value)));\n }) }));\n}\nexport default CheckboxesWidget;\n", "import { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport { useCallback } from 'react';\nimport { ariaDescribedByIds, descriptionId, getTemplate, labelValue, schemaRequiresTrueValue, getUiOptions, } from '@rjsf/utils';\n/** The `CheckBoxWidget` is a widget for rendering boolean properties.\n * It is typically used to represent a boolean.\n *\n * @param props - The `WidgetProps` for this component\n */\nfunction CheckboxWidget({ schema, uiSchema, options, id, value, disabled, readonly, label, hideLabel, autofocus = false, onBlur, onFocus, onChange, registry, htmlName, }) {\n const DescriptionFieldTemplate = getTemplate('DescriptionFieldTemplate', registry, options);\n // Because an unchecked checkbox will cause html5 validation to fail, only add\n // the \"required\" attribute if the field value must be \"true\", due to the\n // \"const\" or \"enum\" keywords\n const required = schemaRequiresTrueValue(schema);\n const handleChange = useCallback((event) => onChange(event.target.checked), [onChange]);\n const handleBlur = useCallback((event) => onBlur(id, event.target.checked), [onBlur, id]);\n const handleFocus = useCallback((event) => onFocus(id, event.target.checked), [onFocus, id]);\n const uiOptions = getUiOptions(uiSchema);\n const isCheckboxWidget = uiOptions.widget === 'checkbox';\n const description = isCheckboxWidget ? undefined : (options.description ?? schema.description);\n return (_jsxs(\"div\", { className: `checkbox ${disabled || readonly ? 'disabled' : ''}`, children: [!hideLabel && description && (_jsx(DescriptionFieldTemplate, { id: descriptionId(id), description: description, schema: schema, uiSchema: uiSchema, registry: registry })), _jsxs(\"label\", { children: [_jsx(\"input\", { type: 'checkbox', id: id, name: htmlName || id, checked: typeof value === 'undefined' ? false : value, required: required, disabled: disabled || readonly, autoFocus: autofocus, onChange: handleChange, onBlur: handleBlur, onFocus: handleFocus, \"aria-describedby\": ariaDescribedByIds(id) }), labelValue(_jsx(\"span\", { children: label }), hideLabel)] })] }));\n}\nexport default CheckboxWidget;\n", "import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { getTemplate } from '@rjsf/utils';\n/** The `ColorWidget` component uses the `BaseInputTemplate` changing the type to `color` and disables it when it is\n * either disabled or readonly.\n *\n * @param props - The `WidgetProps` for this component\n */\nexport default function ColorWidget(props) {\n const { disabled, readonly, options, registry } = props;\n const BaseInputTemplate = getTemplate('BaseInputTemplate', registry, options);\n return _jsx(BaseInputTemplate, { type: 'color', ...props, disabled: disabled || readonly });\n}\n", "import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { getTemplate, localToUTC, utcToLocal } from '@rjsf/utils';\n/** The `DateTimeWidget` component uses the `BaseInputTemplate` changing the type to `datetime-local` and transforms\n * the value to/from utc using the appropriate utility functions.\n *\n * @param props - The `WidgetProps` for this component\n */\nexport default function DateTimeWidget(props) {\n const { onChange, value, options, registry } = props;\n const BaseInputTemplate = getTemplate('BaseInputTemplate', registry, options);\n return (_jsx(BaseInputTemplate, { type: 'datetime-local', ...props, value: utcToLocal(value), onChange: (newValue) => onChange(localToUTC(newValue)) }));\n}\n", "import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { useCallback } from 'react';\nimport { getTemplate } from '@rjsf/utils';\n/** The `DateWidget` component uses the `BaseInputTemplate` changing the type to `date` and transforms\n * the value to undefined when it is falsy during the `onChange` handling.\n *\n * @param props - The `WidgetProps` for this component\n */\nexport default function DateWidget(props) {\n const { onChange, options, registry } = props;\n const BaseInputTemplate = getTemplate('BaseInputTemplate', registry, options);\n const handleChange = useCallback((value) => onChange(value || undefined), [onChange]);\n return _jsx(BaseInputTemplate, { type: 'date', ...props, onChange: handleChange });\n}\n", "import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { getTemplate } from '@rjsf/utils';\n/** The `EmailWidget` component uses the `BaseInputTemplate` changing the type to `email`.\n *\n * @param props - The `WidgetProps` for this component\n */\nexport default function EmailWidget(props) {\n const { options, registry } = props;\n const BaseInputTemplate = getTemplate('BaseInputTemplate', registry, options);\n return _jsx(BaseInputTemplate, { type: 'email', ...props });\n}\n", "import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport { getTemplate, TranslatableString, useFileWidgetProps } from '@rjsf/utils';\nimport { Markdown } from 'markdown-to-jsx/react';\nfunction FileInfoPreview({ fileInfo, registry, }) {\n const { translateString } = registry;\n const { dataURL, type, name } = fileInfo;\n if (!dataURL) {\n return null;\n }\n const previewLabel = translateString(TranslatableString.PreviewLabel);\n // If type is JPEG or PNG then show image preview.\n // Originally, any type of image was supported, but this was changed into a whitelist\n // since SVGs and animated GIFs are also images, which are generally considered a security risk.\n if (['image/jpeg', 'image/png'].includes(type)) {\n return _jsx(\"img\", { src: dataURL, alt: previewLabel, style: { maxWidth: '100%' }, className: 'file-preview' });\n }\n // otherwise, let users download file\n return (_jsxs(_Fragment, { children: [' ', _jsx(\"a\", { download: `preview-${name}`, href: dataURL, className: 'file-download', children: previewLabel })] }));\n}\nfunction FilesInfo({ filesInfo, registry, preview, onRemove, options, }) {\n if (filesInfo.length === 0) {\n return null;\n }\n const { translateString } = registry;\n const { RemoveButton } = getTemplate('ButtonTemplates', registry, options);\n return (_jsx(\"ul\", { className: 'file-info', children: filesInfo.map((fileInfo, key) => {\n const { name, size, type } = fileInfo;\n const handleRemove = () => onRemove(key);\n return (_jsxs(\"li\", { children: [_jsx(Markdown, { children: translateString(TranslatableString.FilesInfo, [name, type, String(size)]) }), preview && _jsx(FileInfoPreview, { fileInfo: fileInfo, registry: registry }), _jsx(RemoveButton, { onClick: handleRemove, registry: registry })] }, key));\n }) }));\n}\n/**\n * The `FileWidget` is a widget for rendering file upload fields.\n * It is typically used with a string property with data-url format.\n */\nfunction FileWidget(props) {\n const { disabled, readonly, required, multiple, onChange, value, options, registry } = props;\n const { filesInfo, handleChange, handleRemove } = useFileWidgetProps(value, onChange, multiple);\n const BaseInputTemplate = getTemplate('BaseInputTemplate', registry, options);\n const handleOnChangeEvent = (event) => {\n if (event.target.files) {\n // handleChange is async; DOM event handlers are void-returning, so we intentionally don't await\n // oxlint-disable-next-line no-floating-promises, no-void\n void handleChange(event.target.files);\n }\n };\n return (_jsxs(\"div\", { children: [_jsx(BaseInputTemplate, { ...props, disabled: disabled || readonly, type: 'file', required: value ? false : required, onChangeOverride: handleOnChangeEvent, value: '', accept: options.accept ? String(options.accept) : undefined }), _jsx(FilesInfo, { filesInfo: filesInfo, onRemove: handleRemove, registry: registry, preview: options.filePreview, options: options })] }));\n}\nexport default FileWidget;\n", "import { jsx as _jsx } from \"react/jsx-runtime\";\n/** The `HiddenWidget` is a widget for rendering a hidden input field.\n * It is typically used by setting type to \"hidden\".\n *\n * @param props - The `WidgetProps` for this component\n */\nfunction HiddenWidget({ id, value, htmlName, }) {\n return _jsx(\"input\", { type: 'hidden', id: id, name: htmlName || id, value: typeof value === 'undefined' ? '' : value });\n}\nexport default HiddenWidget;\n", "import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { getTemplate } from '@rjsf/utils';\n/** The `PasswordWidget` component uses the `BaseInputTemplate` changing the type to `password`.\n *\n * @param props - The `WidgetProps` for this component\n */\nexport default function PasswordWidget(props) {\n const { options, registry } = props;\n const BaseInputTemplate = getTemplate('BaseInputTemplate', registry, options);\n return _jsx(BaseInputTemplate, { type: 'password', ...props });\n}\n", "import { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport { useCallback } from 'react';\nimport { ariaDescribedByIds, enumOptionValueDecoder, enumOptionValueEncoder, enumOptionsIsSelected, getOptionValueFormat, optionId, } from '@rjsf/utils';\n/** The `RadioWidget` is a widget for rendering a radio group.\n * It is typically used with a string property constrained with enum options.\n *\n * @param props - The `WidgetProps` for this component\n */\nfunction RadioWidget({ options, value, required, disabled, readonly, autofocus = false, onBlur, onFocus, onChange, id, htmlName, }) {\n const { enumOptions, enumDisabled, inline, emptyValue } = options;\n const optionValueFormat = getOptionValueFormat(options);\n const handleBlur = useCallback(({ target }) => onBlur(id, enumOptionValueDecoder(target?.value, enumOptions, optionValueFormat, emptyValue)), [onBlur, enumOptions, emptyValue, id, optionValueFormat]);\n const handleFocus = useCallback(({ target }) => onFocus(id, enumOptionValueDecoder(target?.value, enumOptions, optionValueFormat, emptyValue)), [onFocus, enumOptions, emptyValue, id, optionValueFormat]);\n return (_jsx(\"div\", { className: 'field-radio-group', id: id, role: 'radiogroup', children: Array.isArray(enumOptions) &&\n enumOptions.map((option, i) => {\n const checked = enumOptionsIsSelected(option.value, value);\n const itemDisabled = Array.isArray(enumDisabled) && enumDisabled.includes(option.value);\n const disabledCls = disabled || itemDisabled || readonly ? 'disabled' : '';\n const handleChange = () => onChange(option.value);\n const radio = (_jsxs(\"span\", { children: [_jsx(\"input\", { type: 'radio', id: optionId(id, i), checked: checked, name: htmlName || id, required: required, value: enumOptionValueEncoder(option.value, i, optionValueFormat), disabled: disabled || itemDisabled || readonly, autoFocus: autofocus && i === 0, onChange: handleChange, onBlur: handleBlur, onFocus: handleFocus, \"aria-describedby\": ariaDescribedByIds(id) }), _jsx(\"span\", { children: option.label })] }));\n return inline ? (_jsx(\"label\", { className: `radio-inline ${disabledCls}`, children: radio }, String(option.value))) : (_jsx(\"div\", { className: `radio ${disabledCls}`, children: _jsx(\"label\", { children: radio }) }, String(option.value)));\n }) }));\n}\nexport default RadioWidget;\n", "import { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\n/** The `RangeWidget` component uses the `BaseInputTemplate` changing the type to `range` and wrapping the result\n * in a div, with the value along side it.\n *\n * @param props - The `WidgetProps` for this component\n */\nexport default function RangeWidget(props) {\n const { value, registry: { templates: { BaseInputTemplate }, }, } = props;\n return (_jsxs(\"div\", { className: 'field-range-wrapper', children: [_jsx(BaseInputTemplate, { type: 'range', ...props }), _jsx(\"span\", { className: 'range-view', children: value })] }));\n}\n", "import { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport { useCallback } from 'react';\n/** The `RatingWidget` component renders a star or heart rating input\n *\n * Features:\n * - Configurable number of stars/hearts (1-5) with default of 5\n * - Supports different shapes (star, heart)\n * - Supports minimum and maximum values from schema\n * - Handles required, disabled, and readonly states\n * - Provides focus and blur event handling for accessibility\n * - Uses Unicode characters for better visual representation\n *\n * @param props - The `WidgetProps` for this component\n */\nexport default function RatingWidget({ id, value, required, disabled, readonly, autofocus, onChange, onFocus, onBlur, schema, options, htmlName, }) {\n const { stars = 5, shape = 'star' } = options;\n // Use schema.maximum if provided, otherwise use stars option (limited to 1-5)\n const numStars = schema.maximum ? Math.min(schema.maximum, 5) : Math.min(Math.max(stars, 1), 5);\n const min = schema.minimum || 0;\n /** Handles clicking on a star to set the rating */\n const handleStarClick = useCallback((starValue) => {\n if (!disabled && !readonly) {\n onChange(starValue);\n }\n }, [onChange, disabled, readonly]);\n /** Handles focus events for accessibility */\n const handleFocus = useCallback((event) => {\n if (onFocus) {\n // Get the star value from the data attribute\n const starValue = Number(event.target.dataset.value);\n onFocus(id, starValue);\n }\n }, [onFocus, id]);\n /** Handles blur events for accessibility */\n const handleBlur = useCallback((event) => {\n if (onBlur) {\n // Get the star value from the data attribute\n const starValue = Number(event.target.dataset.value);\n onBlur(id, starValue);\n }\n }, [onBlur, id]);\n // Get the appropriate Unicode character based on shape option\n const getSymbol = (isFilled) => {\n if (shape === 'heart') {\n return isFilled ? '♥' : '♡';\n }\n return isFilled ? '★' : '☆';\n };\n return (_jsxs(\"div\", { className: 'rating-widget', style: {\n display: 'inline-flex',\n fontSize: '1.5rem',\n cursor: disabled || readonly ? 'default' : 'pointer',\n }, children: [[...Array(numStars)].map((_, index) => {\n const starValue = min + index;\n const isFilled = starValue <= value;\n return (_jsx(\"span\", { onClick: () => handleStarClick(starValue), onKeyDown: (e) => (e.key === 'Enter' || e.key === ' ') && handleStarClick(starValue), onFocus: handleFocus, onBlur: handleBlur, \"data-value\": starValue, tabIndex: disabled || readonly ? -1 : 0, role: 'radio', \"aria-checked\": starValue === value, \"aria-label\": `${starValue} ${shape === 'heart' ? 'heart' : 'star'}${starValue === 1 ? '' : 's'}`, style: {\n color: isFilled ? '#FFD700' : '#ccc',\n padding: '0 0.2rem',\n transition: 'color 0.2s',\n userSelect: 'none',\n }, children: getSymbol(isFilled) }, index));\n }), _jsx(\"input\", { type: 'hidden', id: id, name: htmlName || id, value: value || '', required: required, disabled: disabled || readonly, \"aria-hidden\": 'true' })] }));\n}\n", "import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from \"react/jsx-runtime\";\nimport { useCallback } from 'react';\nimport { ariaDescribedByIds, enumOptionSelectedValue, enumOptionValueDecoder, enumOptionValueEncoder, getOptionValueFormat, logUnsupportedDefaultForEnum, SelectedOptionDescription, } from '@rjsf/utils';\nfunction getValue(event, multiple) {\n if (multiple) {\n return Array.from(event.target.options)\n .slice()\n .filter((o) => o.selected)\n .map((o) => o.value);\n }\n return event.target.value;\n}\n/** The `SelectWidget` is a widget for rendering dropdowns.\n * It is typically used with string properties constrained with enum options.\n *\n * @param props - The `WidgetProps` for this component\n */\nfunction SelectWidget({ schema, id, options, value, required, disabled, readonly, multiple = false, autofocus = false, onChange, onBlur, onFocus, placeholder, htmlName, registry, uiSchema, }) {\n const { enumOptions, enumDisabled, emptyValue: optEmptyVal } = options;\n const emptyValue = multiple ? [] : '';\n const optionValueFormat = getOptionValueFormat(options);\n const handleFocus = useCallback((event) => {\n const newValue = getValue(event, multiple);\n return onFocus(id, enumOptionValueDecoder(newValue, enumOptions, optionValueFormat, optEmptyVal));\n }, [onFocus, id, multiple, enumOptions, optEmptyVal, optionValueFormat]);\n const handleBlur = useCallback((event) => {\n const newValue = getValue(event, multiple);\n return onBlur(id, enumOptionValueDecoder(newValue, enumOptions, optionValueFormat, optEmptyVal));\n }, [onBlur, id, multiple, enumOptions, optEmptyVal, optionValueFormat]);\n const handleChange = useCallback((event) => {\n const newValue = getValue(event, multiple);\n return onChange(enumOptionValueDecoder(newValue, enumOptions, optionValueFormat, optEmptyVal));\n }, [onChange, multiple, enumOptions, optEmptyVal, optionValueFormat]);\n const selectValue = enumOptionSelectedValue(value, enumOptions, multiple, optionValueFormat, emptyValue);\n const showPlaceholderOption = !multiple && schema.default === undefined;\n logUnsupportedDefaultForEnum(id, schema, enumOptions, multiple);\n return (_jsxs(_Fragment, { children: [_jsx(SelectedOptionDescription, { id: id, multiple: multiple, options: options, registry: registry, uiSchema: uiSchema, value: value }), _jsxs(\"select\", { id: id, name: htmlName || id, multiple: multiple, className: 'form-control', value: selectValue, required: required, disabled: disabled || readonly, autoFocus: autofocus, onBlur: handleBlur, onFocus: handleFocus, onChange: handleChange, \"aria-describedby\": ariaDescribedByIds(id), children: [showPlaceholderOption && _jsx(\"option\", { value: '', children: placeholder }), Array.isArray(enumOptions) &&\n enumOptions.map(({ value: enumValue, label: enumLabel }, i) => {\n const isDisabled = enumDisabled && enumDisabled.includes(enumValue);\n return (_jsx(\"option\", { value: enumOptionValueEncoder(enumValue, i, optionValueFormat), disabled: isDisabled, children: enumLabel }, String(enumValue)));\n })] })] }));\n}\nexport default SelectWidget;\n", "import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { useCallback } from 'react';\nimport { ariaDescribedByIds } from '@rjsf/utils';\n/** The `TextareaWidget` is a widget for rendering input fields as textarea.\n *\n * @param props - The `WidgetProps` for this component\n */\nfunction TextareaWidget({ id, options, placeholder, value, required, disabled, readonly, autofocus = false, onChange, onBlur, onFocus, htmlName, }) {\n const handleChange = useCallback(({ target: { value: newValue } }) => onChange(newValue === '' ? options.emptyValue : newValue), [onChange, options.emptyValue]);\n const handleBlur = useCallback(({ target }) => onBlur(id, target?.value), [onBlur, id]);\n const handleFocus = useCallback(({ target }) => onFocus(id, target?.value), [id, onFocus]);\n return (_jsx(\"textarea\", { id: id, name: htmlName || id, className: 'form-control', value: value || '', placeholder: placeholder, required: required, disabled: disabled, readOnly: readonly, autoFocus: autofocus, rows: options.rows, onBlur: handleBlur, onFocus: handleFocus, onChange: handleChange, \"aria-describedby\": ariaDescribedByIds(id) }));\n}\nexport default TextareaWidget;\n", "import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { getTemplate } from '@rjsf/utils';\n/** The `TextWidget` component uses the `BaseInputTemplate`.\n *\n * @param props - The `WidgetProps` for this component\n */\nexport default function TextWidget(props) {\n const { options, registry } = props;\n const BaseInputTemplate = getTemplate('BaseInputTemplate', registry, options);\n return _jsx(BaseInputTemplate, { ...props });\n}\n", "import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { useCallback } from 'react';\nimport { getTemplate } from '@rjsf/utils';\n/** The `TimeWidget` component uses the `BaseInputTemplate` changing the type to `time` and transforms\n * the value to undefined when it is falsy during the `onChange` handling.\n *\n * @param props - The `WidgetProps` for this component\n */\nexport default function TimeWidget(props) {\n const { onChange, options, registry, schema, value } = props;\n const BaseInputTemplate = getTemplate('BaseInputTemplate', registry, options);\n const hasSecondPrecision = typeof schema.multipleOf === 'number' && Number.isFinite(schema.multipleOf) && schema.multipleOf < 60;\n const handleChange = useCallback((newValue) => {\n if (!newValue) {\n onChange(undefined);\n }\n else if (hasSecondPrecision) {\n onChange(newValue);\n }\n else {\n onChange(`${newValue}:00`);\n }\n }, [hasSecondPrecision, onChange]);\n const displayValue = typeof value === 'string' && !hasSecondPrecision && /^\\d{2}:\\d{2}:00$/.test(value) ? value.slice(0, -3) : value;\n return _jsx(BaseInputTemplate, { type: 'time', ...props, value: displayValue, onChange: handleChange });\n}\n", "import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { getTemplate } from '@rjsf/utils';\n/** The `UpDownWidget` component uses the `BaseInputTemplate` changing the type to `number`.\n *\n * @param props - The `WidgetProps` for this component\n */\nexport default function UpDownWidget(props) {\n const { options, registry } = props;\n const BaseInputTemplate = getTemplate('BaseInputTemplate', registry, options);\n return _jsx(BaseInputTemplate, { type: 'number', ...props });\n}\n", "import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { getTemplate } from '@rjsf/utils';\n/** The `URLWidget` component uses the `BaseInputTemplate` changing the type to `url`.\n *\n * @param props - The `WidgetProps` for this component\n */\nexport default function URLWidget(props) {\n const { options, registry } = props;\n const BaseInputTemplate = getTemplate('BaseInputTemplate', registry, options);\n return _jsx(BaseInputTemplate, { type: 'url', ...props });\n}\n", "import AltDateTimeWidget from './AltDateTimeWidget.js';\nimport AltDateWidget from './AltDateWidget.js';\nimport CheckboxesWidget from './CheckboxesWidget.js';\nimport CheckboxWidget from './CheckboxWidget.js';\nimport ColorWidget from './ColorWidget.js';\nimport DateTimeWidget from './DateTimeWidget.js';\nimport DateWidget from './DateWidget.js';\nimport EmailWidget from './EmailWidget.js';\nimport FileWidget from './FileWidget.js';\nimport HiddenWidget from './HiddenWidget.js';\nimport PasswordWidget from './PasswordWidget.js';\nimport RadioWidget from './RadioWidget.js';\nimport RangeWidget from './RangeWidget.js';\nimport RatingWidget from './RatingWidget.js';\nimport SelectWidget from './SelectWidget.js';\nimport TextareaWidget from './TextareaWidget.js';\nimport TextWidget from './TextWidget.js';\nimport TimeWidget from './TimeWidget.js';\nimport UpDownWidget from './UpDownWidget.js';\nimport URLWidget from './URLWidget.js';\nfunction widgets() {\n return {\n AltDateWidget,\n AltDateTimeWidget,\n CheckboxWidget,\n CheckboxesWidget,\n ColorWidget,\n DateWidget,\n DateTimeWidget,\n EmailWidget,\n FileWidget,\n HiddenWidget,\n PasswordWidget,\n RadioWidget,\n RangeWidget,\n RatingWidget,\n SelectWidget,\n TextWidget,\n TextareaWidget,\n TimeWidget,\n UpDownWidget,\n URLWidget,\n };\n}\nexport default widgets;\n", "import { DEFAULT_ID_PREFIX, DEFAULT_ID_SEPARATOR, englishStringTranslator } from '@rjsf/utils';\nimport fields from './components/fields/index.js';\nimport templates from './components/templates/index.js';\nimport widgets from './components/widgets/index.js';\n/** The default registry consists of all the fields, templates and widgets provided in the core implementation,\n * plus an empty `rootSchema` and `formContext. We omit schemaUtils here because it cannot be defaulted without a\n * rootSchema and validator. It will be added into the computed registry later in the Form.\n */\nexport default function getDefaultRegistry() {\n return {\n fields: fields(),\n templates: templates(),\n widgets: widgets(),\n rootSchema: {},\n formContext: {},\n translateString: englishStringTranslator,\n globalFormOptions: {\n idPrefix: DEFAULT_ID_PREFIX,\n idSeparator: DEFAULT_ID_SEPARATOR,\n useFallbackUiForUnsupportedType: false,\n },\n };\n}\n", "import { DEFAULT_ID_PREFIX, DEFAULT_ID_SEPARATOR, createSchemaUtils, englishStringTranslator } from '@rjsf/utils';\nimport validator from '@rjsf/validator-ajv8';\nimport getDefaultRegistry from './getDefaultRegistry.js';\n/** Use for react testing library tests where we directly test the component rather than testing inside a Form\n */\nexport default function getTestRegistry(rootSchema, fields = {}, templates = {}, widgets = {}, formContext = {}, globalFormOptions = {\n idPrefix: DEFAULT_ID_PREFIX,\n idSeparator: DEFAULT_ID_SEPARATOR,\n useFallbackUiForUnsupportedType: false,\n}) {\n const defaults = getDefaultRegistry();\n const schemaUtils = createSchemaUtils(validator, rootSchema);\n return {\n fields: { ...defaults.fields, ...fields },\n templates: { ...defaults.templates, ...templates },\n widgets: { ...defaults.widgets, ...widgets },\n formContext,\n rootSchema,\n schemaUtils,\n translateString: englishStringTranslator,\n globalFormOptions,\n };\n}\n", "import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from 'react';\nimport Form from './components/Form.js';\n/** A Higher-Order component that creates a wrapper around a `Form` with the overrides from the `WithThemeProps` */\nexport default function withTheme(themeProps) {\n // @ts-expect-error TS2322 because the latest types complain about LegacyRef's string form not working with Form\n return forwardRef(({ fields: propFields, widgets: propWidgets, templates: propTemplates, ...directProps }, ref) => {\n const fields = { ...themeProps?.fields, ...propFields };\n const widgets = { ...themeProps?.widgets, ...propWidgets };\n const templates = {\n ...themeProps?.templates,\n ...propTemplates,\n ButtonTemplates: {\n ...themeProps?.templates?.ButtonTemplates,\n ...propTemplates?.ButtonTemplates,\n },\n };\n return (_jsx(Form, { ...themeProps, ...directProps, fields: fields, widgets: widgets, templates: templates, ref: ref }));\n });\n}\n", "import Form from './components/Form.js';\nimport RichDescription from './components/RichDescription.js';\nimport RichHelp from './components/RichHelp.js';\nimport SchemaExamples from './components/SchemaExamples.js';\nimport getDefaultRegistry from './getDefaultRegistry.js';\nimport getTestRegistry from './getTestRegistry.js';\nimport withTheme from './withTheme.js';\nexport { withTheme, getDefaultRegistry, getTestRegistry, RichDescription, RichHelp, SchemaExamples };\nexport default Form;\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,uBAA2C;AAC3C,IAAAC,iBAAqC;;;AC4BrC,SAAS,MAAM,QAAQ,MAAM;AAC3B,SAAO,UAAU,OAAO,OAAO,kBAAU,QAAQ,IAAI;AACvD;AAEA,IAAO,gBAAQ;;;ACjCf,yBAA4B;AAC5B,mBAA6D;AAO7D,SAAS,gBAAgB;AACrB,SAAO,iBAAS,kBAAkB;AACtC;AAMA,SAAS,sBAA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AW,GAAGC,WAAU;AAAA,IACjD,SAAS,EAAE,GAAG,SAAS,SAAS,GAAGC,SAAQ;AAAA,IAC3C;AAAA,IACA;AAAA,IACA;AAAA,IACA,iBAAiB;AAAA,IACjB;AAAA,EACJ;AACJ;;;ACtBA,IAAAC,uBAA4B;AAC5B,IAAAC,iBAA2B;AAGZ,SAAR,UAA2B,YAAY;AAE1C,aAAO,2BAAW,CAAC,EAAE,QAAQ,YAAY,SAAS,aAAa,WAAW,eAAe,GAAG,YAAY,GAAG,QAAQ;AANvH;AAOQ,UAAMC,UAAS,EAAE,GAAG,yCAAY,QAAQ,GAAG,WAAW;AACtD,UAAMC,WAAU,EAAE,GAAG,yCAAY,SAAS,GAAG,YAAY;AACzD,UAAMC,aAAY;AAAA,MACd,GAAG,yCAAY;AAAA,MACf,GAAG;AAAA,MACH,iBAAiB;AAAA,QACb,IAAG,8CAAY,cAAZ,mBAAuB;AAAA,QAC1B,GAAG,+CAAe;AAAA,MACtB;AAAA,IACJ;AACA,eAAQ,qBAAAC,KAAK,MAAM,EAAE,GAAG,YAAY,GAAG,aAAa,QAAQH,SAAQ,SAASC,UAAS,WAAWC,YAAW,IAAS,CAAC;AAAA,EAC1H,CAAC;AACL;;;ACXA,IAAOE,eAAQ;",
6
+ "names": ["import_jsx_runtime", "import_react", "e", "widgets", "_jsx", "SchemaField", "ArrayFieldItemTemplate", "fields", "OptionalDataControlsField", "newKeyedFormData", "import_jsx_runtime", "import_react", "widgets", "o", "_jsx", "import_jsx_runtime", "import_react", "CyclicSchemaExpandTemplate", "_jsx", "fields", "SchemaField", "import_jsx_runtime", "import_react", "fields", "_jsx", "FallbackFieldTemplate", "SchemaField", "import_react", "import_jsx_runtime", "includes", "GridType", "Operators", "values", "isRequired", "_jsx", "_createElement", "GridTemplate", "fields", "SchemaField", "LayoutMultiSchemaField", "import_jsx_runtime", "_jsx", "import_jsx_runtime", "import_react", "widgets", "FieldErrorTemplate", "FieldTemplate", "_jsx", "import_jsx_runtime", "import_react", "option", "widgets", "fields", "MultiSchemaFieldTemplate", "_jsx", "import_react", "import_jsx_runtime", "import_react", "StringField", "_jsx", "import_jsx_runtime", "import_react", "B", "j", "j", "B", "fields", "SchemaField", "_jsx", "OptionalDataControlsField", "_jsxs", "import_jsx_runtime", "OptionalDataControlsTemplate", "_jsx", "import_jsx_runtime", "import_react", "fields", "CyclicSchemaField", "id", "_jsx", "FieldTemplate", "FieldHelpTemplate", "FieldErrorTemplate", "_jsxs", "_Fragment", "import_jsx_runtime", "import_react", "widgets", "_jsx", "import_jsx_runtime", "_jsx", "import_jsx_runtime", "CopyButton", "MoveDownButton", "MoveUpButton", "RemoveButton", "_jsxs", "_Fragment", "_jsx", "import_jsx_runtime", "ArrayFieldItemButtonsTemplate", "_jsxs", "_jsx", "import_jsx_runtime", "ArrayFieldDescriptionTemplate", "ArrayFieldTitleTemplate", "AddButton", "_jsxs", "_jsx", "import_jsx_runtime", "_jsx", "import_jsx_runtime", "import_react", "import_jsx_runtime", "_jsx", "ClearButton", "e", "_jsxs", "_Fragment", "_jsx", "import_jsx_runtime", "import_jsx_runtime", "import_react", "_jsx", "_jsx", "import_jsx_runtime", "_jsx", "import_jsx_runtime", "buttonId", "_jsxs", "_jsx", "import_jsx_runtime", "import_jsx_runtime", "_jsx", "_jsx", "import_jsx_runtime", "_jsxs", "_jsx", "import_jsx_runtime", "MultiSchemaFieldTemplate", "_jsx", "import_jsx_runtime", "_jsx", "import_jsx_runtime", "import_jsx_runtime", "TEST_IDS", "_jsx", "_jsx", "import_jsx_runtime", "import_jsx_runtime", "_jsxs", "_jsx", "WrapIfAdditionalTemplate", "_jsx", "_jsxs", "import_jsx_runtime", "_jsx", "import_jsx_runtime", "_jsxs", "_jsx", "import_jsx_runtime", "AddButton", "_jsxs", "_jsx", "import_jsx_runtime", "_jsx", "import_jsx_runtime", "REQUIRED_FIELD_SYMBOL", "_jsxs", "_jsx", "import_jsx_runtime", "_jsxs", "_jsx", "import_jsx_runtime", "templates", "RemoveButton", "_jsx", "_jsxs", "import_jsx_runtime", "AltDateWidget", "_jsx", "import_jsx_runtime", "_jsxs", "_jsx", "import_jsx_runtime", "import_react", "_jsx", "_jsxs", "import_jsx_runtime", "import_react", "_jsxs", "_jsx", "import_jsx_runtime", "BaseInputTemplate", "_jsx", "import_jsx_runtime", "BaseInputTemplate", "_jsx", "import_jsx_runtime", "import_react", "BaseInputTemplate", "_jsx", "import_jsx_runtime", "BaseInputTemplate", "_jsx", "import_jsx_runtime", "_jsx", "_jsxs", "_Fragment", "RemoveButton", "BaseInputTemplate", "import_jsx_runtime", "_jsx", "import_jsx_runtime", "BaseInputTemplate", "_jsx", "import_jsx_runtime", "import_react", "_jsx", "_jsxs", "import_jsx_runtime", "BaseInputTemplate", "_jsxs", "_jsx", "import_jsx_runtime", "import_react", "_jsxs", "_jsx", "e", "import_jsx_runtime", "import_react", "o", "_jsxs", "_Fragment", "_jsx", "import_jsx_runtime", "import_react", "_jsx", "import_jsx_runtime", "BaseInputTemplate", "_jsx", "import_jsx_runtime", "import_react", "BaseInputTemplate", "_jsx", "import_jsx_runtime", "BaseInputTemplate", "_jsx", "import_jsx_runtime", "BaseInputTemplate", "_jsx", "fields", "_jsx", "templates", "widgets", "SubmitButton", "_jsxs", "fields", "templates", "widgets", "import_jsx_runtime", "import_react", "fields", "widgets", "templates", "_jsx", "lib_default"]
7
+ }