@localazy/strapi-plugin 0.2.12 → 1.0.0-beta.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 (392) hide show
  1. package/README.md +3 -1
  2. package/dist/_chunks/App-BSFfgZKU.mjs +5278 -0
  3. package/dist/_chunks/App-D1QaIMHX.js +5278 -0
  4. package/dist/_chunks/ContentTransferSetup-DHXJIxAp.js +1552 -0
  5. package/dist/_chunks/ContentTransferSetup-DtjcF_jM.mjs +1550 -0
  6. package/dist/_chunks/GlobalSettings-BON3kjHK.js +228 -0
  7. package/dist/_chunks/GlobalSettings-BcdibqNS.mjs +228 -0
  8. package/dist/_chunks/LanguagesSelector-BeijBEjg.js +47 -0
  9. package/dist/_chunks/LanguagesSelector-fyAIUp7M.mjs +48 -0
  10. package/dist/_chunks/en-BTf8goGM.mjs +8 -0
  11. package/dist/_chunks/en-CRtsEFtl.js +8 -0
  12. package/dist/_chunks/fr-C8Qw4iPZ.js +4 -0
  13. package/dist/_chunks/fr-hkSxFuzl.mjs +4 -0
  14. package/dist/_chunks/has-model-changed-BMCQX2Dd.js +316 -0
  15. package/dist/_chunks/has-model-changed-Dvtzpc9v.mjs +317 -0
  16. package/dist/_chunks/index-BQw2qi2G.js +2679 -0
  17. package/dist/_chunks/index-CN3Gyh5F.mjs +2678 -0
  18. package/dist/_chunks/isEqual-B-YVnzrp.js +205 -0
  19. package/dist/_chunks/isEqual-CEyT97-3.mjs +206 -0
  20. package/dist/_chunks/set-DUdH3vE5.js +54557 -0
  21. package/dist/_chunks/set-DulHAQhq.mjs +54542 -0
  22. package/dist/admin/index.js +4 -0
  23. package/dist/admin/index.mjs +5 -0
  24. package/dist/admin/src/components/Initializer.d.ts +5 -0
  25. package/dist/admin/src/config/development/index.d.ts +15 -0
  26. package/dist/admin/src/config/example/index.example.d.ts +15 -0
  27. package/dist/admin/src/config/index.d.ts +15 -0
  28. package/dist/admin/src/config/local/index.d.ts +15 -0
  29. package/dist/admin/src/config/production/index.d.ts +15 -0
  30. package/dist/admin/src/i18n.d.ts +2 -0
  31. package/dist/admin/src/index.d.ts +10 -0
  32. package/dist/admin/src/modules/@common/api/strapi-api-base.d.ts +6 -0
  33. package/dist/admin/src/modules/@common/components/Icons/House.d.ts +2 -0
  34. package/dist/admin/src/modules/@common/components/Icons/Localazy.d.ts +2 -0
  35. package/dist/admin/src/modules/@common/components/LanguagesSelector.d.ts +11 -0
  36. package/dist/admin/src/modules/@common/components/PluginPageLoader.d.ts +2 -0
  37. package/dist/admin/src/modules/@common/components/SideNav.d.ts +2 -0
  38. package/dist/admin/src/modules/@common/components/TransferReport.d.ts +5 -0
  39. package/dist/admin/src/modules/@common/functions/flatten-deep.d.ts +2 -0
  40. package/dist/admin/src/modules/@common/locale/en.d.ts +14 -0
  41. package/dist/admin/src/modules/@common/models/supported-content-type-fields.d.ts +2 -0
  42. package/dist/admin/src/modules/@common/models/supported-custom-field-plugins.d.ts +2 -0
  43. package/dist/admin/src/modules/@common/services/i18n-service.d.ts +3 -0
  44. package/dist/admin/src/modules/@common/services/plugin.service.d.ts +3 -0
  45. package/dist/admin/src/modules/@common/services/product-analytics-service.d.ts +14 -0
  46. package/dist/admin/src/modules/@common/services/project-service.d.ts +4 -0
  47. package/dist/admin/src/modules/@common/services/user-service.d.ts +5 -0
  48. package/dist/admin/src/modules/@common/utils/are-locales-compatible.d.ts +2 -0
  49. package/dist/admin/src/modules/@common/utils/format-number.d.ts +2 -0
  50. package/dist/admin/src/modules/@common/utils/get-default-locale.d.ts +2 -0
  51. package/dist/admin/src/modules/@common/utils/history.d.ts +2 -0
  52. package/dist/admin/src/modules/@common/utils/is-plugin-route.d.ts +2 -0
  53. package/dist/admin/src/modules/@common/utils/iso-locales-utils.d.ts +3 -0
  54. package/dist/admin/src/modules/@common/utils/redirect-to-plugin-route.d.ts +13 -0
  55. package/dist/admin/src/modules/@common/utils/sort-by-model-name.d.ts +2 -0
  56. package/dist/admin/src/modules/@common/utils/use-header-subtitle.d.ts +2 -0
  57. package/dist/admin/src/modules/@common/utils/use-header-title.d.ts +2 -0
  58. package/dist/admin/src/modules/@common/utils/use-nav.d.ts +11 -0
  59. package/dist/admin/src/modules/alerts/constants/channels.d.ts +1 -0
  60. package/dist/admin/src/modules/alerts/constants/events.d.ts +4 -0
  61. package/dist/admin/src/modules/alerts/services/alerts-service.d.ts +8 -0
  62. package/dist/admin/src/modules/localazy-download/locale/en.d.ts +24 -0
  63. package/dist/admin/src/modules/localazy-download/services/download-alerts-service.d.ts +5 -0
  64. package/dist/admin/src/modules/localazy-download/services/localazy-download-service.d.ts +3 -0
  65. package/dist/admin/src/modules/localazy-upload/components/ReadDocsButton.d.ts +3 -0
  66. package/dist/admin/src/modules/localazy-upload/locale/en.d.ts +19 -0
  67. package/dist/admin/src/modules/localazy-upload/services/localazy-upload-service.d.ts +3 -0
  68. package/dist/admin/src/modules/localazy-upload/services/upload-alerts-service.d.ts +5 -0
  69. package/dist/admin/src/modules/login/components/FetchIdentity.d.ts +3 -0
  70. package/dist/admin/src/modules/login/components/LoginButton.d.ts +12 -0
  71. package/dist/admin/src/modules/login/components/LogoutButton.d.ts +6 -0
  72. package/dist/admin/src/modules/login/locale/en.d.ts +8 -0
  73. package/dist/admin/src/modules/login/services/localazy-login-service.d.ts +4 -0
  74. package/dist/admin/src/modules/overview/components/OverviewItem.d.ts +7 -0
  75. package/dist/admin/src/modules/overview/components/OverviewItemLink.d.ts +7 -0
  76. package/dist/admin/src/modules/overview/components/PrerequisitiesInfo.d.ts +3 -0
  77. package/dist/admin/src/modules/overview/locale/en.d.ts +14 -0
  78. package/dist/admin/src/modules/plugin-settings/components/ContentTransferSetupEmpty.d.ts +2 -0
  79. package/dist/admin/src/modules/plugin-settings/components/Tree.d.ts +8 -0
  80. package/dist/admin/src/modules/plugin-settings/components/TreeItem.d.ts +10 -0
  81. package/dist/admin/src/modules/plugin-settings/functions/build-content-transfer-setup-schema.d.ts +2 -0
  82. package/dist/admin/src/modules/plugin-settings/functions/get-content-transfer-setup-keys-sets.d.ts +8 -0
  83. package/dist/admin/src/modules/plugin-settings/functions/has-model-changed.d.ts +6 -0
  84. package/dist/admin/src/modules/plugin-settings/locale/en.d.ts +49 -0
  85. package/dist/admin/src/modules/plugin-settings/services/plugin-settings-service.d.ts +6 -0
  86. package/dist/admin/src/modules/plugin-settings/services/strapi-model-service.d.ts +4 -0
  87. package/dist/admin/src/modules/plugin-settings/services/strapi-users-service.d.ts +3 -0
  88. package/dist/admin/src/modules/plugin-settings/utils/array-of-models-to-object.d.ts +2 -0
  89. package/dist/admin/src/modules/plugin-settings/utils/find-model-value-by-key.d.ts +2 -0
  90. package/dist/admin/src/modules/plugin-settings/utils/get-filtered-models-schemas.d.ts +7 -0
  91. package/dist/admin/src/modules/plugin-settings/utils/get-models-tree.d.ts +5 -0
  92. package/dist/admin/src/modules/strapi/utils/get-default-theme.d.ts +3 -0
  93. package/dist/admin/src/modules/user/model/localazy-identity.d.ts +15 -0
  94. package/dist/admin/src/modules/user/services/localazy-user-service.d.ts +6 -0
  95. package/dist/admin/src/pages/App.d.ts +3 -0
  96. package/dist/admin/src/pages/ContentTransferSetup.d.ts +4 -0
  97. package/dist/admin/src/pages/Download.d.ts +7 -0
  98. package/dist/admin/src/pages/GlobalSettings.d.ts +4 -0
  99. package/dist/admin/src/pages/HomePage.d.ts +2 -0
  100. package/dist/admin/src/pages/Login.d.ts +8 -0
  101. package/dist/admin/src/pages/Overview.d.ts +8 -0
  102. package/dist/admin/src/pages/Upload.d.ts +7 -0
  103. package/dist/admin/src/pluginId.d.ts +2 -0
  104. package/dist/admin/src/plugins/generic-connector-client.d.ts +3 -0
  105. package/dist/admin/src/state/localazy-identity.d.ts +13 -0
  106. package/dist/admin/src/utils/getTranslation.d.ts +2 -0
  107. package/dist/server/index.js +26000 -0
  108. package/dist/server/index.mjs +25989 -0
  109. package/dist/server/src/bootstrap.d.ts +5 -0
  110. package/dist/server/src/config/core/config.d.ts +1 -0
  111. package/dist/server/src/config/development/index.d.ts +15 -0
  112. package/dist/server/src/config/example/index.example.d.ts +15 -0
  113. package/dist/server/src/config/index.d.ts +18 -0
  114. package/dist/server/src/config/local/index.d.ts +15 -0
  115. package/dist/server/src/config/production/index.d.ts +15 -0
  116. package/dist/server/src/constants/channels.d.ts +3 -0
  117. package/dist/server/src/constants/events.d.ts +6 -0
  118. package/dist/server/src/content-types/index.d.ts +2 -0
  119. package/dist/server/src/controllers/index.d.ts +43 -0
  120. package/dist/server/src/controllers/localazy-auth-controller.d.ts +8 -0
  121. package/dist/server/src/controllers/localazy-project-controller.d.ts +7 -0
  122. package/dist/server/src/controllers/localazy-transfer-controller.d.ts +8 -0
  123. package/dist/server/src/controllers/localazy-user-controller.d.ts +9 -0
  124. package/dist/server/src/controllers/plugin-settings-controller.d.ts +10 -0
  125. package/dist/server/src/controllers/strapi-controller.d.ts +10 -0
  126. package/dist/server/src/core/index.d.ts +71 -0
  127. package/dist/server/src/db/model/content-transfer-setup.d.ts +4 -0
  128. package/dist/server/src/db/model/localazy-user.d.ts +17 -0
  129. package/dist/server/src/db/model/plugin-settings.d.ts +5 -0
  130. package/dist/server/src/db/model/utils/get-strapi-store.d.ts +26 -0
  131. package/dist/server/src/destroy.d.ts +5 -0
  132. package/dist/server/src/functions/should-set-downloaded-property.d.ts +12 -0
  133. package/dist/server/src/index.d.ts +189 -0
  134. package/dist/server/src/lifecycles/deep-populate-hook.d.ts +20 -0
  135. package/dist/server/src/lifecycles/deprecate-event-entry-in-localazy-hook.d.ts +4 -0
  136. package/dist/server/src/lifecycles/upload-event-entry-to-localazy-hook.d.ts +12 -0
  137. package/dist/server/src/middlewares/index.d.ts +2 -0
  138. package/dist/server/src/models/plugin/content-transfer-setup.d.ts +13 -0
  139. package/dist/server/src/models/strapi/locale.d.ts +8 -0
  140. package/dist/server/src/policies/index.d.ts +2 -0
  141. package/dist/server/src/register.d.ts +5 -0
  142. package/dist/server/src/routes/index.d.ts +25 -0
  143. package/dist/server/src/routes/localazy-auth-routes.d.ts +9 -0
  144. package/dist/server/src/routes/localazy-project-routes.d.ts +9 -0
  145. package/dist/server/src/routes/localazy-transfer-routes.d.ts +9 -0
  146. package/dist/server/src/routes/localazy-user-routes.d.ts +9 -0
  147. package/dist/server/src/routes/plugin-settings-routes.d.ts +9 -0
  148. package/dist/server/src/routes/strapi-routes.d.ts +9 -0
  149. package/dist/server/src/services/helpers/job-notification-service.d.ts +14 -0
  150. package/dist/server/src/services/helpers/plugin-settings-service-helper.d.ts +16 -0
  151. package/dist/server/src/services/index.d.ts +92 -0
  152. package/dist/server/src/services/localazy-pubapi-service.d.ts +12 -0
  153. package/dist/server/src/services/localazy-transfer-download-service.d.ts +11 -0
  154. package/dist/server/src/services/localazy-transfer-upload-service.d.ts +11 -0
  155. package/dist/server/src/services/localazy-upload-service.d.ts +28 -0
  156. package/dist/server/src/services/localazy-user-service.d.ts +11 -0
  157. package/dist/server/src/services/plugin-settings-service.d.ts +16 -0
  158. package/dist/server/src/services/strapi-i18n-service.d.ts +19 -0
  159. package/dist/server/src/services/strapi-localazy-i18n-service.d.ts +9 -0
  160. package/dist/server/src/services/strapi-service.d.ts +10 -0
  161. package/dist/server/src/utils/delay.d.ts +1 -0
  162. package/dist/server/src/utils/drop-property-deep.d.ts +1 -0
  163. package/dist/server/src/utils/flatten-object.d.ts +2 -0
  164. package/dist/server/src/utils/generate-random-id.d.ts +2 -0
  165. package/dist/server/src/utils/get-full-populate-localazy-download-object.d.ts +17 -0
  166. package/dist/server/src/utils/get-full-populate-localazy-upload-object.d.ts +9 -0
  167. package/dist/server/src/utils/get-full-populate-object.d.ts +17 -0
  168. package/dist/server/src/utils/get-main-keys-of-nested-array-objects.d.ts +2 -0
  169. package/dist/server/src/utils/get-picked-flatten-keys-for-hook-entry.d.ts +5 -0
  170. package/dist/server/src/utils/intl-display-name.d.ts +1 -0
  171. package/dist/server/src/utils/is-generally-applicable-content-type.d.ts +2 -0
  172. package/dist/server/src/utils/is-localazy-applicable-content-type.d.ts +2 -0
  173. package/dist/server/src/utils/iso-locales-utils.d.ts +3 -0
  174. package/dist/server/src/utils/localazy-api-client-factory.d.ts +3 -0
  175. package/dist/server/src/utils/localazy-generic-connector-client-factory.d.ts +3 -0
  176. package/dist/server/src/utils/model-utils.d.ts +7 -0
  177. package/dist/server/src/utils/omit-deep.d.ts +2 -0
  178. package/dist/server/src/utils/parsed-localazy-entry-to-create-entry.d.ts +7 -0
  179. package/dist/server/src/utils/parsed-localazy-entry-to-update-entry.d.ts +1 -0
  180. package/dist/server/src/utils/pick-entries.d.ts +2 -0
  181. package/dist/server/src/utils/populate-create-update-entry-with-base-entry.d.ts +1 -0
  182. package/dist/server/src/utils/request-initiator-helper.d.ts +9 -0
  183. package/dist/server/src/utils/reset-array-keys-deep.d.ts +1 -0
  184. package/dist/server/src/utils/transfer-setup-utils.d.ts +7 -0
  185. package/install/index.mjs +88 -34
  186. package/install/vite.config.example.js +40 -0
  187. package/install/vite.config.example.ts +41 -0
  188. package/install/{webpack.example.js → webpack.config.example.js} +2 -2
  189. package/install/webpack.config.example.ts +30 -0
  190. package/package.json +93 -55
  191. package/.babelrc +0 -7
  192. package/.eslintrc +0 -13
  193. package/.github/workflows/qa.yml +0 -25
  194. package/.github/workflows/release.yml +0 -46
  195. package/.nvmrc +0 -1
  196. package/.strapi-updater.json +0 -4
  197. package/CHANGELOG.md +0 -60
  198. package/LICENSE +0 -21
  199. package/admin/src/components/Initializer/index.js +0 -26
  200. package/admin/src/components/PluginIcon/index.js +0 -14
  201. package/admin/src/config/development/index.js +0 -14
  202. package/admin/src/config/example/index.js +0 -14
  203. package/admin/src/config/index.js +0 -19
  204. package/admin/src/config/local/index.js +0 -14
  205. package/admin/src/config/production/index.js +0 -15
  206. package/admin/src/i18n.js +0 -41
  207. package/admin/src/index.js +0 -138
  208. package/admin/src/modules/@common/components/Icons/Localazy/index.js +0 -12
  209. package/admin/src/modules/@common/components/LanguagesSelector/index.js +0 -67
  210. package/admin/src/modules/@common/components/PluginPageLoader/index.js +0 -20
  211. package/admin/src/modules/@common/components/SideNav/index.js +0 -46
  212. package/admin/src/modules/@common/components/TransferReport/index.js +0 -53
  213. package/admin/src/modules/@common/locale/en.js +0 -14
  214. package/admin/src/modules/@common/models/supported-content-type-fields.js +0 -9
  215. package/admin/src/modules/@common/models/supported-custom-field-plugins.js +0 -6
  216. package/admin/src/modules/@common/services/i18n-service.js +0 -15
  217. package/admin/src/modules/@common/services/plugin.service.js +0 -16
  218. package/admin/src/modules/@common/services/product-analytics-service.js +0 -86
  219. package/admin/src/modules/@common/services/project-service.js +0 -15
  220. package/admin/src/modules/@common/services/user-service.js +0 -38
  221. package/admin/src/modules/@common/utils/__tests__/iso-locales-utils.test.js +0 -102
  222. package/admin/src/modules/@common/utils/are-locales-compatible.js +0 -42
  223. package/admin/src/modules/@common/utils/format-number.js +0 -1
  224. package/admin/src/modules/@common/utils/functions/flatten-deep.js +0 -23
  225. package/admin/src/modules/@common/utils/get-default-locale.js +0 -32
  226. package/admin/src/modules/@common/utils/get-header-subtitle.js +0 -21
  227. package/admin/src/modules/@common/utils/get-header-title.js +0 -24
  228. package/admin/src/modules/@common/utils/get-nav.js +0 -35
  229. package/admin/src/modules/@common/utils/history.js +0 -6
  230. package/admin/src/modules/@common/utils/is-plugin-route.js +0 -15
  231. package/admin/src/modules/@common/utils/iso-locales-utils.js +0 -58
  232. package/admin/src/modules/@common/utils/redirect-to-plugin-route.js +0 -22
  233. package/admin/src/modules/@common/utils/sort-by-model-name.js +0 -10
  234. package/admin/src/modules/alerts/constants/channels.js +0 -1
  235. package/admin/src/modules/alerts/constants/events.js +0 -4
  236. package/admin/src/modules/alerts/services/alerts-service.js +0 -41
  237. package/admin/src/modules/localazy-download/locale/en.js +0 -25
  238. package/admin/src/modules/localazy-download/services/download-alerts-service.js +0 -12
  239. package/admin/src/modules/localazy-download/services/localazy-download-service.js +0 -16
  240. package/admin/src/modules/localazy-upload/components/ReadDocsButton.js +0 -20
  241. package/admin/src/modules/localazy-upload/locale/en.js +0 -20
  242. package/admin/src/modules/localazy-upload/services/localazy-upload-service.js +0 -16
  243. package/admin/src/modules/localazy-upload/services/upload-alerts-service.js +0 -12
  244. package/admin/src/modules/login/components/LoginButton/index.js +0 -55
  245. package/admin/src/modules/login/components/LogoutButton/index.js +0 -49
  246. package/admin/src/modules/login/locale/en.js +0 -7
  247. package/admin/src/modules/login/services/localazy-login-service.js +0 -29
  248. package/admin/src/modules/plugin-settings/components/ContentTransferSetup/index.js +0 -308
  249. package/admin/src/modules/plugin-settings/components/ContentTransferSetupEmpty/index.js +0 -86
  250. package/admin/src/modules/plugin-settings/components/GlobalSettings/index.js +0 -269
  251. package/admin/src/modules/plugin-settings/components/Tree/index.js +0 -145
  252. package/admin/src/modules/plugin-settings/components/TreeItem/index.js +0 -48
  253. package/admin/src/modules/plugin-settings/functions/build-content-transfer-setup-schema.js +0 -57
  254. package/admin/src/modules/plugin-settings/functions/get-content-transfer-setup-keys-sets.js +0 -85
  255. package/admin/src/modules/plugin-settings/functions/has-model-changed.js +0 -75
  256. package/admin/src/modules/plugin-settings/locale/en.js +0 -61
  257. package/admin/src/modules/plugin-settings/services/plugin-settings-service.js +0 -55
  258. package/admin/src/modules/plugin-settings/services/strapi-model-service.js +0 -26
  259. package/admin/src/modules/plugin-settings/services/strapi-users-service.js +0 -26
  260. package/admin/src/modules/plugin-settings/utils/__tests__/get-models-tree.test.js +0 -135
  261. package/admin/src/modules/plugin-settings/utils/array-of-models-to-object.js +0 -6
  262. package/admin/src/modules/plugin-settings/utils/find-model-value-by-key.js +0 -8
  263. package/admin/src/modules/plugin-settings/utils/get-filtered-models-schemas.js +0 -31
  264. package/admin/src/modules/plugin-settings/utils/get-models-tree.js +0 -94
  265. package/admin/src/modules/settings/components/OverviewItem/index.js +0 -44
  266. package/admin/src/modules/settings/components/OverviewItemLink/index.js +0 -34
  267. package/admin/src/modules/settings/components/PrerequisitiesInfo/index.js +0 -28
  268. package/admin/src/modules/settings/locale/en.js +0 -13
  269. package/admin/src/modules/user/model/localazy-identity.js +0 -14
  270. package/admin/src/modules/user/services/localazy-user-service.js +0 -38
  271. package/admin/src/pages/App/index.js +0 -154
  272. package/admin/src/pages/Download/index.js +0 -280
  273. package/admin/src/pages/Index/index.js +0 -8
  274. package/admin/src/pages/Login/index.js +0 -109
  275. package/admin/src/pages/PluginSettings/index.js +0 -56
  276. package/admin/src/pages/Settings/index.js +0 -132
  277. package/admin/src/pages/Upload/index.js +0 -241
  278. package/admin/src/pluginId.js +0 -5
  279. package/admin/src/plugins/generic-connector-client.js +0 -9
  280. package/admin/src/state/localazy-identity.js +0 -29
  281. package/admin/src/tests/fixtures/all-models.js +0 -877
  282. package/admin/src/tests/fixtures/restaurant-model.js +0 -230
  283. package/admin/src/translations/en.json +0 -4
  284. package/admin/src/translations/fr.json +0 -1
  285. package/admin/src/utils/createAxiosInstance.js +0 -54
  286. package/admin/src/utils/getTrad.js +0 -5
  287. package/jest.config.js +0 -0
  288. package/server/bootstrap.js +0 -63
  289. package/server/config/development/index.js +0 -16
  290. package/server/config/example/index.js +0 -16
  291. package/server/config/index.js +0 -20
  292. package/server/config/local/index.js +0 -16
  293. package/server/config/production/index.js +0 -17
  294. package/server/config/schema.graphql.js +0 -21
  295. package/server/constants/channels.js +0 -3
  296. package/server/constants/events.js +0 -6
  297. package/server/content-types/index.js +0 -3
  298. package/server/controllers/index.js +0 -17
  299. package/server/controllers/localazy-auth-controller.js +0 -22
  300. package/server/controllers/localazy-project-controller.js +0 -21
  301. package/server/controllers/localazy-transfer-controller.js +0 -62
  302. package/server/controllers/localazy-user-controller.js +0 -24
  303. package/server/controllers/plugin-settings-controller.js +0 -31
  304. package/server/controllers/strapi-controller.js +0 -27
  305. package/server/db/model/content-transfer-setup.js +0 -13
  306. package/server/db/model/localazy-user.js +0 -23
  307. package/server/db/model/plugin-settings.js +0 -13
  308. package/server/db/model/utils/get-strapi-store.js +0 -9
  309. package/server/destroy.js +0 -5
  310. package/server/functions/should-set-downloaded-property.js +0 -94
  311. package/server/index.js +0 -25
  312. package/server/lifecycles/deep-populate-hook.js +0 -12
  313. package/server/lifecycles/deprecate-event-entry-in-localazy-hook.js +0 -73
  314. package/server/lifecycles/upload-event-entry-to-localazy-hook.js +0 -36
  315. package/server/middlewares/index.js +0 -7
  316. package/server/middlewares/verify-webhook.js +0 -77
  317. package/server/models/supported-content-type-fields.js +0 -9
  318. package/server/models/supported-custom-field-plugins.js +0 -6
  319. package/server/policies/index.js +0 -3
  320. package/server/register.js +0 -5
  321. package/server/routes/index.js +0 -28
  322. package/server/routes/localazy-auth.js +0 -22
  323. package/server/routes/localazy-project.js +0 -14
  324. package/server/routes/localazy-public-transfer.js +0 -20
  325. package/server/routes/localazy-transfer.js +0 -22
  326. package/server/routes/localazy-user.js +0 -30
  327. package/server/routes/plugin-settings.js +0 -38
  328. package/server/routes/strapi.js +0 -38
  329. package/server/services/helpers/job-notification-service.js +0 -30
  330. package/server/services/helpers/plugin-settings-service-helper.js +0 -52
  331. package/server/services/index.js +0 -23
  332. package/server/services/localazy-pubapi-service.js +0 -53
  333. package/server/services/localazy-transfer-download-service.js +0 -445
  334. package/server/services/localazy-transfer-upload-service.js +0 -178
  335. package/server/services/localazy-upload-service.js +0 -52
  336. package/server/services/localazy-user-service.js +0 -29
  337. package/server/services/plugin-settings-service.js +0 -53
  338. package/server/services/strapi-i18n-service.js +0 -151
  339. package/server/services/strapi-localazy-i18n-service.js +0 -130
  340. package/server/services/strapi-service.js +0 -26
  341. package/server/tests/fixtures/all-models.js +0 -869
  342. package/server/tests/fixtures/parsed-localazy-entry-to-create-entry-cookbook.js +0 -5761
  343. package/server/tests/fixtures/parsed-localazy-entry-to-create-entry-lesson-dz.js +0 -402
  344. package/server/tests/fixtures/parsed-localazy-entry-to-create-entry-page-dz.js +0 -658
  345. package/server/tests/fixtures/parsed-localazy-entry-to-create-entry-restaurant-simple-menu.js +0 -536
  346. package/server/tests/fixtures/parsed-localazy-entry-to-update-entry.js +0 -35157
  347. package/server/tests/fixtures/populate-create-update-entry-with-base-entry-cookbook-empty-recipes.js +0 -202
  348. package/server/tests/fixtures/populate-create-update-entry-with-base-entry-cookbook.js +0 -2700
  349. package/server/tests/fixtures/populate-create-update-entry-with-base-entry-lesson-dz.js +0 -309
  350. package/server/tests/fixtures/populate-create-update-entry-with-base-entry-restaurant-simple-flat-simple.js +0 -47
  351. package/server/tests/fixtures/populate-create-update-entry-with-base-entry-restaurant-simple-flat-with-media.js +0 -169
  352. package/server/tests/fixtures/populate-create-update-entry-with-base-entry-restaurant-simple-menu-empty.js +0 -3003
  353. package/server/tests/fixtures/populate-create-update-entry-with-base-entry-restaurant-simple-menu-with-media.js +0 -2057
  354. package/server/tests/fixtures/populate-create-update-entry-with-base-entry-sample-json-dz.js +0 -884
  355. package/server/tests/fixtures/populate-create-update-entry-with-base-entry-sample-json.js +0 -46
  356. package/server/tests/fixtures/strapi-plugin-all-models.js +0 -7000
  357. package/server/utils/__tests__/build-populate.test.js +0 -85
  358. package/server/utils/__tests__/flatten-object.test.js +0 -171
  359. package/server/utils/__tests__/get-models-tree.test.js +0 -170
  360. package/server/utils/__tests__/iso-locales-utils.test.js +0 -104
  361. package/server/utils/__tests__/parsed-localazy-entry-to-create-entry.test.js +0 -258
  362. package/server/utils/__tests__/parsed-localazy-entry-to-update-entry.test.js +0 -456
  363. package/server/utils/__tests__/pick-entries.test.js +0 -963
  364. package/server/utils/__tests__/populate-create-update-entry-with-base-entry.test.js +0 -1176
  365. package/server/utils/build-populate.js +0 -48
  366. package/server/utils/delay.js +0 -6
  367. package/server/utils/flatten-object.js +0 -61
  368. package/server/utils/generate-random-id.js +0 -3
  369. package/server/utils/get-full-populate-object.js +0 -66
  370. package/server/utils/get-main-keys-of-nested-array-objects.js +0 -5
  371. package/server/utils/get-models-tree.js +0 -47
  372. package/server/utils/get-picked-flatten-keys-for-hook-entry.js +0 -270
  373. package/server/utils/intl-display-name.js +0 -4
  374. package/server/utils/is-generally-applicable-content-type.js +0 -33
  375. package/server/utils/is-localazy-applicable-content-type.js +0 -36
  376. package/server/utils/iso-locales-utils.js +0 -60
  377. package/server/utils/localazy-api-client-factory.js +0 -22
  378. package/server/utils/localazy-generic-connector-client-factory.js +0 -15
  379. package/server/utils/model-utils.js +0 -43
  380. package/server/utils/objectivise-entry.js +0 -41
  381. package/server/utils/omit-deep.js +0 -24
  382. package/server/utils/parsed-localazy-entry-to-create-entry.js +0 -194
  383. package/server/utils/parsed-localazy-entry-to-update-entry.js +0 -83
  384. package/server/utils/pick-deep.js +0 -22
  385. package/server/utils/pick-entries.js +0 -37
  386. package/server/utils/populate-create-update-entry-with-base-entry.js +0 -264
  387. package/server/utils/request-initiator-helper.js +0 -36
  388. package/server/utils/reset-array-keys-deep.js +0 -19
  389. package/server/utils/transfer-setup-utils.js +0 -93
  390. package/strapi-admin.js +0 -14
  391. package/strapi-server.js +0 -5
  392. package/test/helpers/mocks.js +0 -9
@@ -0,0 +1,1552 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const jsxRuntime = require("react/jsx-runtime");
4
+ const React = require("react");
5
+ const isEqual = require("./isEqual-B-YVnzrp.js");
6
+ const set = require("./set-DUdH3vE5.js");
7
+ const admin = require("@strapi/strapi/admin");
8
+ const hasModelChanged = require("./has-model-changed-BMCQX2Dd.js");
9
+ const styled = require("styled-components");
10
+ const _interopDefault = (e2) => e2 && e2.__esModule ? e2 : { default: e2 };
11
+ const styled__default = /* @__PURE__ */ _interopDefault(styled);
12
+ var voidElements = {
13
+ "area": true,
14
+ "base": true,
15
+ "br": true,
16
+ "col": true,
17
+ "embed": true,
18
+ "hr": true,
19
+ "img": true,
20
+ "input": true,
21
+ "link": true,
22
+ "meta": true,
23
+ "param": true,
24
+ "source": true,
25
+ "track": true,
26
+ "wbr": true
27
+ };
28
+ const e = /* @__PURE__ */ set.getDefaultExportFromCjs(voidElements);
29
+ var t = /\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;
30
+ function n(n2) {
31
+ var r2 = { type: "tag", name: "", voidElement: false, attrs: {}, children: [] }, i2 = n2.match(/<\/?([^\s]+?)[/\s>]/);
32
+ if (i2 && (r2.name = i2[1], (e[i2[1]] || "/" === n2.charAt(n2.length - 2)) && (r2.voidElement = true), r2.name.startsWith("!--"))) {
33
+ var s2 = n2.indexOf("-->");
34
+ return { type: "comment", comment: -1 !== s2 ? n2.slice(4, s2) : "" };
35
+ }
36
+ for (var a2 = new RegExp(t), c2 = null; null !== (c2 = a2.exec(n2)); ) if (c2[0].trim()) if (c2[1]) {
37
+ var o = c2[1].trim(), l = [o, ""];
38
+ o.indexOf("=") > -1 && (l = o.split("=")), r2.attrs[l[0]] = l[1], a2.lastIndex--;
39
+ } else c2[2] && (r2.attrs[c2[2]] = c2[3].trim().substring(1, c2[3].length - 1));
40
+ return r2;
41
+ }
42
+ var r = /<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g, i = /^\s*$/, s = /* @__PURE__ */ Object.create(null);
43
+ function a(e2, t2) {
44
+ switch (t2.type) {
45
+ case "text":
46
+ return e2 + t2.content;
47
+ case "tag":
48
+ return e2 += "<" + t2.name + (t2.attrs ? function(e3) {
49
+ var t3 = [];
50
+ for (var n2 in e3) t3.push(n2 + '="' + e3[n2] + '"');
51
+ return t3.length ? " " + t3.join(" ") : "";
52
+ }(t2.attrs) : "") + (t2.voidElement ? "/>" : ">"), t2.voidElement ? e2 : e2 + t2.children.reduce(a, "") + "</" + t2.name + ">";
53
+ case "comment":
54
+ return e2 + "<!--" + t2.comment + "-->";
55
+ }
56
+ }
57
+ var c = { parse: function(e2, t2) {
58
+ t2 || (t2 = {}), t2.components || (t2.components = s);
59
+ var a2, c2 = [], o = [], l = -1, m = false;
60
+ if (0 !== e2.indexOf("<")) {
61
+ var u = e2.indexOf("<");
62
+ c2.push({ type: "text", content: -1 === u ? e2 : e2.substring(0, u) });
63
+ }
64
+ return e2.replace(r, function(r2, s2) {
65
+ if (m) {
66
+ if (r2 !== "</" + a2.name + ">") return;
67
+ m = false;
68
+ }
69
+ var u2, f = "/" !== r2.charAt(1), h = r2.startsWith("<!--"), p = s2 + r2.length, d = e2.charAt(p);
70
+ if (h) {
71
+ var v = n(r2);
72
+ return l < 0 ? (c2.push(v), c2) : ((u2 = o[l]).children.push(v), c2);
73
+ }
74
+ if (f && (l++, "tag" === (a2 = n(r2)).type && t2.components[a2.name] && (a2.type = "component", m = true), a2.voidElement || m || !d || "<" === d || a2.children.push({ type: "text", content: e2.slice(p, e2.indexOf("<", p)) }), 0 === l && c2.push(a2), (u2 = o[l - 1]) && u2.children.push(a2), o[l] = a2), (!f || a2.voidElement) && (l > -1 && (a2.voidElement || a2.name === r2.slice(2, -1)) && (l--, a2 = -1 === l ? c2 : o[l]), !m && "<" !== d && d)) {
75
+ u2 = -1 === l ? c2 : o[l].children;
76
+ var x = e2.indexOf("<", p), g = e2.slice(p, -1 === x ? void 0 : x);
77
+ i.test(g) && (g = " "), (x > -1 && l + u2.length >= 0 || " " !== g) && u2.push({ type: "text", content: g });
78
+ }
79
+ }), c2;
80
+ }, stringify: function(e2) {
81
+ return e2.reduce(function(e3, t2) {
82
+ return e3 + a("", t2);
83
+ }, "");
84
+ } };
85
+ const hasChildren = (node, checkLength) => {
86
+ if (!node) return false;
87
+ const base = node.props?.children ?? node.children;
88
+ if (checkLength) return base.length > 0;
89
+ return !!base;
90
+ };
91
+ const getChildren = (node) => {
92
+ if (!node) return [];
93
+ const children = node.props?.children ?? node.children;
94
+ return node.props?.i18nIsDynamicList ? getAsArray(children) : children;
95
+ };
96
+ const hasValidReactChildren = (children) => Array.isArray(children) && children.every(React.isValidElement);
97
+ const getAsArray = (data) => Array.isArray(data) ? data : [data];
98
+ const mergeProps = (source, target) => {
99
+ const newTarget = {
100
+ ...target
101
+ };
102
+ newTarget.props = Object.assign(source.props, target.props);
103
+ return newTarget;
104
+ };
105
+ const nodesToString = (children, i18nOptions, i18n, i18nKey) => {
106
+ if (!children) return "";
107
+ let stringNode = "";
108
+ const childrenArray = getAsArray(children);
109
+ const keepArray = i18nOptions?.transSupportBasicHtmlNodes ? i18nOptions.transKeepBasicHtmlNodesFor ?? [] : [];
110
+ childrenArray.forEach((child, childIndex) => {
111
+ if (set.isString(child)) {
112
+ stringNode += `${child}`;
113
+ return;
114
+ }
115
+ if (React.isValidElement(child)) {
116
+ const {
117
+ props,
118
+ type
119
+ } = child;
120
+ const childPropsCount = Object.keys(props).length;
121
+ const shouldKeepChild = keepArray.indexOf(type) > -1;
122
+ const childChildren = props.children;
123
+ if (!childChildren && shouldKeepChild && !childPropsCount) {
124
+ stringNode += `<${type}/>`;
125
+ return;
126
+ }
127
+ if (!childChildren && (!shouldKeepChild || childPropsCount) || props.i18nIsDynamicList) {
128
+ stringNode += `<${childIndex}></${childIndex}>`;
129
+ return;
130
+ }
131
+ if (shouldKeepChild && childPropsCount === 1 && set.isString(childChildren)) {
132
+ stringNode += `<${type}>${childChildren}</${type}>`;
133
+ return;
134
+ }
135
+ const content = nodesToString(childChildren, i18nOptions, i18n, i18nKey);
136
+ stringNode += `<${childIndex}>${content}</${childIndex}>`;
137
+ return;
138
+ }
139
+ if (child === null) {
140
+ set.warn(i18n, "TRANS_NULL_VALUE", `Passed in a null value as child`, {
141
+ i18nKey
142
+ });
143
+ return;
144
+ }
145
+ if (set.isObject(child)) {
146
+ const {
147
+ format,
148
+ ...clone
149
+ } = child;
150
+ const keys = Object.keys(clone);
151
+ if (keys.length === 1) {
152
+ const value = format ? `${keys[0]}, ${format}` : keys[0];
153
+ stringNode += `{{${value}}}`;
154
+ return;
155
+ }
156
+ set.warn(i18n, "TRANS_INVALID_OBJ", `Invalid child - Object should only have keys {{ value, format }} (format is optional).`, {
157
+ i18nKey,
158
+ child
159
+ });
160
+ return;
161
+ }
162
+ set.warn(i18n, "TRANS_INVALID_VAR", `Passed in a variable like {number} - pass variables for interpolation as full objects like {{number}}.`, {
163
+ i18nKey,
164
+ child
165
+ });
166
+ });
167
+ return stringNode;
168
+ };
169
+ const renderNodes = (children, targetString, i18n, i18nOptions, combinedTOpts, shouldUnescape) => {
170
+ if (targetString === "") return [];
171
+ const keepArray = i18nOptions.transKeepBasicHtmlNodesFor || [];
172
+ const emptyChildrenButNeedsHandling = targetString && new RegExp(keepArray.map((keep) => `<${keep}`).join("|")).test(targetString);
173
+ if (!children && !emptyChildrenButNeedsHandling && !shouldUnescape) return [targetString];
174
+ const data = {};
175
+ const getData = (childs) => {
176
+ const childrenArray = getAsArray(childs);
177
+ childrenArray.forEach((child) => {
178
+ if (set.isString(child)) return;
179
+ if (hasChildren(child)) getData(getChildren(child));
180
+ else if (set.isObject(child) && !React.isValidElement(child)) Object.assign(data, child);
181
+ });
182
+ };
183
+ getData(children);
184
+ const ast = c.parse(`<0>${targetString}</0>`);
185
+ const opts = {
186
+ ...data,
187
+ ...combinedTOpts
188
+ };
189
+ const renderInner = (child, node, rootReactNode) => {
190
+ const childs = getChildren(child);
191
+ const mappedChildren = mapAST(childs, node.children, rootReactNode);
192
+ return hasValidReactChildren(childs) && mappedChildren.length === 0 || child.props?.i18nIsDynamicList ? childs : mappedChildren;
193
+ };
194
+ const pushTranslatedJSX = (child, inner, mem, i2, isVoid) => {
195
+ if (child.dummy) {
196
+ child.children = inner;
197
+ mem.push(React.cloneElement(child, {
198
+ key: i2
199
+ }, isVoid ? void 0 : inner));
200
+ } else {
201
+ mem.push(...React.Children.map([child], (c2) => {
202
+ const props = {
203
+ ...c2.props
204
+ };
205
+ delete props.i18nIsDynamicList;
206
+ return React.createElement(c2.type, {
207
+ ...props,
208
+ key: i2,
209
+ ref: c2.ref
210
+ }, isVoid ? null : inner);
211
+ }));
212
+ }
213
+ };
214
+ const mapAST = (reactNode, astNode, rootReactNode) => {
215
+ const reactNodes = getAsArray(reactNode);
216
+ const astNodes = getAsArray(astNode);
217
+ return astNodes.reduce((mem, node, i2) => {
218
+ const translationContent = node.children?.[0]?.content && i18n.services.interpolator.interpolate(node.children[0].content, opts, i18n.language);
219
+ if (node.type === "tag") {
220
+ let tmp = reactNodes[parseInt(node.name, 10)];
221
+ if (rootReactNode.length === 1 && !tmp) tmp = rootReactNode[0][node.name];
222
+ if (!tmp) tmp = {};
223
+ const child = Object.keys(node.attrs).length !== 0 ? mergeProps({
224
+ props: node.attrs
225
+ }, tmp) : tmp;
226
+ const isElement = React.isValidElement(child);
227
+ const isValidTranslationWithChildren = isElement && hasChildren(node, true) && !node.voidElement;
228
+ const isEmptyTransWithHTML = emptyChildrenButNeedsHandling && set.isObject(child) && child.dummy && !isElement;
229
+ const isKnownComponent = set.isObject(children) && Object.hasOwnProperty.call(children, node.name);
230
+ if (set.isString(child)) {
231
+ const value = i18n.services.interpolator.interpolate(child, opts, i18n.language);
232
+ mem.push(value);
233
+ } else if (hasChildren(child) || isValidTranslationWithChildren) {
234
+ const inner = renderInner(child, node, rootReactNode);
235
+ pushTranslatedJSX(child, inner, mem, i2);
236
+ } else if (isEmptyTransWithHTML) {
237
+ const inner = mapAST(reactNodes, node.children, rootReactNode);
238
+ pushTranslatedJSX(child, inner, mem, i2);
239
+ } else if (Number.isNaN(parseFloat(node.name))) {
240
+ if (isKnownComponent) {
241
+ const inner = renderInner(child, node, rootReactNode);
242
+ pushTranslatedJSX(child, inner, mem, i2, node.voidElement);
243
+ } else if (i18nOptions.transSupportBasicHtmlNodes && keepArray.indexOf(node.name) > -1) {
244
+ if (node.voidElement) {
245
+ mem.push(React.createElement(node.name, {
246
+ key: `${node.name}-${i2}`
247
+ }));
248
+ } else {
249
+ const inner = mapAST(reactNodes, node.children, rootReactNode);
250
+ mem.push(React.createElement(node.name, {
251
+ key: `${node.name}-${i2}`
252
+ }, inner));
253
+ }
254
+ } else if (node.voidElement) {
255
+ mem.push(`<${node.name} />`);
256
+ } else {
257
+ const inner = mapAST(reactNodes, node.children, rootReactNode);
258
+ mem.push(`<${node.name}>${inner}</${node.name}>`);
259
+ }
260
+ } else if (set.isObject(child) && !isElement) {
261
+ const content = node.children[0] ? translationContent : null;
262
+ if (content) mem.push(content);
263
+ } else {
264
+ pushTranslatedJSX(child, translationContent, mem, i2, node.children.length !== 1 || !translationContent);
265
+ }
266
+ } else if (node.type === "text") {
267
+ const wrapTextNodes = i18nOptions.transWrapTextNodes;
268
+ const content = shouldUnescape ? i18nOptions.unescape(i18n.services.interpolator.interpolate(node.content, opts, i18n.language)) : i18n.services.interpolator.interpolate(node.content, opts, i18n.language);
269
+ if (wrapTextNodes) {
270
+ mem.push(React.createElement(wrapTextNodes, {
271
+ key: `${node.name}-${i2}`
272
+ }, content));
273
+ } else {
274
+ mem.push(content);
275
+ }
276
+ }
277
+ return mem;
278
+ }, []);
279
+ };
280
+ const result = mapAST([{
281
+ dummy: true,
282
+ children: children || []
283
+ }], ast, getAsArray(children || []));
284
+ return getChildren(result[0]);
285
+ };
286
+ const fixComponentProps = (component, index, translation) => {
287
+ const componentKey = component.key || index;
288
+ const comp = React.cloneElement(component, {
289
+ key: componentKey
290
+ });
291
+ if (!comp.props || !comp.props.children || translation.indexOf(`${index}/>`) < 0 && translation.indexOf(`${index} />`) < 0) {
292
+ return comp;
293
+ }
294
+ function Componentized() {
295
+ return React.createElement(React.Fragment, null, comp);
296
+ }
297
+ return React.createElement(Componentized);
298
+ };
299
+ const generateArrayComponents = (components, translation) => components.map((c2, index) => fixComponentProps(c2, index, translation));
300
+ const generateObjectComponents = (components, translation) => {
301
+ const componentMap = {};
302
+ Object.keys(components).forEach((c2) => {
303
+ Object.assign(componentMap, {
304
+ [c2]: fixComponentProps(components[c2], c2, translation)
305
+ });
306
+ });
307
+ return componentMap;
308
+ };
309
+ const generateComponents = (components, translation, i18n, i18nKey) => {
310
+ if (!components) return null;
311
+ if (Array.isArray(components)) {
312
+ return generateArrayComponents(components, translation);
313
+ }
314
+ if (set.isObject(components)) {
315
+ return generateObjectComponents(components, translation);
316
+ }
317
+ set.warnOnce(i18n, "TRANS_INVALID_COMPONENTS", `<Trans /> "components" prop expects an object or array`, {
318
+ i18nKey
319
+ });
320
+ return null;
321
+ };
322
+ function Trans$1({
323
+ children,
324
+ count,
325
+ parent,
326
+ i18nKey,
327
+ context,
328
+ tOptions = {},
329
+ values,
330
+ defaults,
331
+ components,
332
+ ns,
333
+ i18n: i18nFromProps,
334
+ t: tFromProps,
335
+ shouldUnescape,
336
+ ...additionalProps
337
+ }) {
338
+ const i18n = i18nFromProps || set.getI18n();
339
+ if (!i18n) {
340
+ set.warnOnce(i18n, "NO_I18NEXT_INSTANCE", `Trans: You need to pass in an i18next instance using i18nextReactModule`, {
341
+ i18nKey
342
+ });
343
+ return children;
344
+ }
345
+ const t2 = tFromProps || i18n.t.bind(i18n) || ((k) => k);
346
+ const reactI18nextOptions = {
347
+ ...set.getDefaults(),
348
+ ...i18n.options?.react
349
+ };
350
+ let namespaces = ns || t2.ns || i18n.options?.defaultNS;
351
+ namespaces = set.isString(namespaces) ? [namespaces] : namespaces || ["translation"];
352
+ const nodeAsString = nodesToString(children, reactI18nextOptions, i18n, i18nKey);
353
+ const defaultValue = defaults || nodeAsString || reactI18nextOptions.transEmptyNodeValue || i18nKey;
354
+ const {
355
+ hashTransKey
356
+ } = reactI18nextOptions;
357
+ const key = i18nKey || (hashTransKey ? hashTransKey(nodeAsString || defaultValue) : nodeAsString || defaultValue);
358
+ if (i18n.options?.interpolation?.defaultVariables) {
359
+ values = values && Object.keys(values).length > 0 ? {
360
+ ...values,
361
+ ...i18n.options.interpolation.defaultVariables
362
+ } : {
363
+ ...i18n.options.interpolation.defaultVariables
364
+ };
365
+ }
366
+ const interpolationOverride = values || count !== void 0 && !i18n.options?.interpolation?.alwaysFormat || !children ? tOptions.interpolation : {
367
+ interpolation: {
368
+ ...tOptions.interpolation,
369
+ prefix: "#$?",
370
+ suffix: "?$#"
371
+ }
372
+ };
373
+ const combinedTOpts = {
374
+ ...tOptions,
375
+ context: context || tOptions.context,
376
+ count,
377
+ ...values,
378
+ ...interpolationOverride,
379
+ defaultValue,
380
+ ns: namespaces
381
+ };
382
+ const translation = key ? t2(key, combinedTOpts) : defaultValue;
383
+ const generatedComponents = generateComponents(components, translation, i18n, i18nKey);
384
+ const content = renderNodes(generatedComponents || children, translation, i18n, reactI18nextOptions, combinedTOpts, shouldUnescape);
385
+ const useAsParent = parent ?? reactI18nextOptions.defaultTransParent;
386
+ return useAsParent ? React.createElement(useAsParent, additionalProps, content) : content;
387
+ }
388
+ function Trans({
389
+ children,
390
+ count,
391
+ parent,
392
+ i18nKey,
393
+ context,
394
+ tOptions = {},
395
+ values,
396
+ defaults,
397
+ components,
398
+ ns,
399
+ i18n: i18nFromProps,
400
+ t: tFromProps,
401
+ shouldUnescape,
402
+ ...additionalProps
403
+ }) {
404
+ const {
405
+ i18n: i18nFromContext,
406
+ defaultNS: defaultNSFromContext
407
+ } = React.useContext(set.I18nContext) || {};
408
+ const i18n = i18nFromProps || i18nFromContext || set.getI18n();
409
+ const t2 = tFromProps || i18n?.t.bind(i18n);
410
+ return Trans$1({
411
+ children,
412
+ count,
413
+ parent,
414
+ i18nKey,
415
+ context,
416
+ tOptions,
417
+ values,
418
+ defaults,
419
+ components,
420
+ ns: ns || t2?.ns || defaultNSFromContext || i18n?.options?.defaultNS,
421
+ i18n,
422
+ t: tFromProps,
423
+ shouldUnescape,
424
+ ...additionalProps
425
+ });
426
+ }
427
+ const getFilteredModelsSchemas = (models) => {
428
+ if (!models) {
429
+ return [];
430
+ }
431
+ return models.map((model) => {
432
+ const attributesKeys = Object.keys(model.__schema__.attributes);
433
+ const attributes = attributesKeys.map((attributeKey) => {
434
+ const type = model.__schema__.attributes[attributeKey].type;
435
+ const customField = model.__schema__.attributes[attributeKey].customField;
436
+ if (!(hasModelChanged.SUPPORTED_CONTENT_TYPE_FIELDS.includes(type.toLowerCase()) || type.toLowerCase() === "customfield" && hasModelChanged.SUPPORTED_CUSTOM_FIELD_PLUGINS.includes(customField))) {
437
+ return null;
438
+ }
439
+ return attributeKey;
440
+ });
441
+ return {
442
+ modelUid: model.uid,
443
+ collectionName: model.collectionName,
444
+ displayName: model.info.displayName,
445
+ attributes: attributes.filter((attribute) => !!attribute)
446
+ };
447
+ });
448
+ };
449
+ const buildContentTransferSetupSchema = (localizableTree = [], storedSetupSchema = [], allModelsTree = []) => {
450
+ const { oLocalizableTree, oStoredSetupSchema, newKeys, filteredStoredSetupSchemaKeys } = hasModelChanged.getContentTransferSetupKeysSets(localizableTree, storedSetupSchema);
451
+ const destinationObject = {};
452
+ filteredStoredSetupSchemaKeys.forEach((key) => {
453
+ const localizableTreeValueToSet = hasModelChanged.get(oStoredSetupSchema, key);
454
+ const allModelsTreeValueToSet = hasModelChanged.findModelValueByKey(allModelsTree, key);
455
+ if (allModelsTreeValueToSet === null) {
456
+ set.set(destinationObject, key, null);
457
+ } else if (localizableTreeValueToSet !== null) {
458
+ set.set(destinationObject, key, localizableTreeValueToSet);
459
+ } else {
460
+ const newValueToSet = hasModelChanged.findModelValueByKey(allModelsTree, key);
461
+ set.set(destinationObject, key, newValueToSet);
462
+ }
463
+ });
464
+ newKeys.forEach((key) => {
465
+ set.set(destinationObject, key, hasModelChanged.get(oLocalizableTree, key));
466
+ });
467
+ const destinationArray = [];
468
+ const sortedDestinationObjectKeys = Object.keys(destinationObject).sort((a2, b) => {
469
+ if (a2 < b) return -1;
470
+ if (a2 > b) return 1;
471
+ return 0;
472
+ });
473
+ for (const key of sortedDestinationObjectKeys) {
474
+ destinationArray.push(destinationObject[key]);
475
+ }
476
+ return destinationArray;
477
+ };
478
+ const SvgBlocksField = (props, ref) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", width: 16, height: 16, ref, ...props, children: [
479
+ /* @__PURE__ */ jsxRuntime.jsx("rect", { width: 31, height: 23, x: 0.5, y: 4.5, fill: "#EAF5FF", stroke: "#B8E1FF", rx: 2.5 }),
480
+ /* @__PURE__ */ jsxRuntime.jsx(
481
+ "path",
482
+ {
483
+ fill: "#0C75AF",
484
+ d: "M14.75 11.75a1 1 0 1 1-2 0 1 1 0 0 1 2 0m3.5 1a1 1 0 1 0 0-2 1 1 0 0 0 0 2M13.75 15a1 1 0 1 0 0 2 1 1 0 0 0 0-2m4.5 0a1 1 0 1 0 0 2 1 1 0 0 0 0-2m-4.5 4.25a1 1 0 1 0 0 2 1 1 0 0 0 0-2m4.5 0a1 1 0 1 0 0 2 1 1 0 0 0 0-2"
485
+ }
486
+ )
487
+ ] });
488
+ React.forwardRef(SvgBlocksField);
489
+ const SvgBooleanField = (props, ref) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", width: 16, height: 16, ref, ...props, children: [
490
+ /* @__PURE__ */ jsxRuntime.jsx("rect", { width: 31, height: 23, x: 0.5, y: 4.5, fill: "#EAFBE7", stroke: "#C6F0C2", rx: 2.5 }),
491
+ /* @__PURE__ */ jsxRuntime.jsx(
492
+ "path",
493
+ {
494
+ fill: "#328048",
495
+ d: "M19 11.5h-6a4.5 4.5 0 1 0 0 9h6a4.5 4.5 0 1 0 0-9m0 7a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5"
496
+ }
497
+ )
498
+ ] });
499
+ React.forwardRef(SvgBooleanField);
500
+ const SvgCodeSquare = (props, ref) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", width: 16, height: 16, ref, ...props, children: [
501
+ /* @__PURE__ */ jsxRuntime.jsx("path", { fill: "#D9822F", d: "M0 4a4 4 0 0 1 4-4h24a4 4 0 0 1 4 4v24a4 4 0 0 1-4 4H4a4 4 0 0 1-4-4z" }),
502
+ /* @__PURE__ */ jsxRuntime.jsx(
503
+ "path",
504
+ {
505
+ fill: "#fff",
506
+ fillRule: "evenodd",
507
+ d: "M17.143 18.659v2.912l6.856-3.878v-2.815L17.143 11v2.906l4.16 2.38zm-2.287 0-4.16-2.374 4.16-2.38V11L8 14.877v2.816l6.856 3.878z",
508
+ clipRule: "evenodd"
509
+ }
510
+ )
511
+ ] });
512
+ React.forwardRef(SvgCodeSquare);
513
+ const SvgCollectionType = (props, ref) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", width: 16, height: 16, ref, ...props, children: [
514
+ /* @__PURE__ */ jsxRuntime.jsx("rect", { width: 31, height: 23, x: 0.5, y: 4.5, fill: "#4945FF", stroke: "#4945FF", rx: 2.5 }),
515
+ /* @__PURE__ */ jsxRuntime.jsx(
516
+ "path",
517
+ {
518
+ fill: "#fff",
519
+ d: "M14.328 14.54v-.083c-.04-.937-.75-1.559-1.787-1.559-1.535 0-2.725 1.57-2.725 3.65 0 1.302.71 2.104 1.846 2.104.961 0 1.787-.545 2.063-1.37h1.752c-.37 1.78-1.922 2.935-3.967 2.935-2.121 0-3.504-1.395-3.504-3.545 0-3.123 1.951-5.344 4.646-5.344 1.94 0 3.41 1.283 3.41 2.96 0 .087 0 .163-.011.251zM20.053 20H18.27l1.489-6.943h-2.532l.311-1.512h6.844l-.31 1.512H21.54z"
520
+ }
521
+ )
522
+ ] });
523
+ React.forwardRef(SvgCollectionType);
524
+ const SvgComponentField = (props, ref) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", width: 16, height: 16, ref, ...props, children: [
525
+ /* @__PURE__ */ jsxRuntime.jsx("rect", { width: 31, height: 23, x: 0.5, y: 4.5, fill: "#F6F6F9", stroke: "#DCDCE4", rx: 2.5 }),
526
+ /* @__PURE__ */ jsxRuntime.jsx(
527
+ "path",
528
+ {
529
+ fill: "#666687",
530
+ d: "M20.5 17.5c-.358 0-.71.085-1.029.25l-1.337-1.04q.11-.326.116-.67l.647-.214a2.25 2.25 0 1 0-.637-1.37l-.486.162A2.25 2.25 0 0 0 16 13.75c-.062 0-.117 0-.176.008l-.278-.625A2.25 2.25 0 1 0 14 13.75c.063 0 .117 0 .176-.008l.278.625a2.24 2.24 0 0 0-.537 2.482l-1.33 1.182a2.25 2.25 0 1 0 .996 1.12l1.33-1.182a2.25 2.25 0 0 0 2.3-.075l1.224.954A2.25 2.25 0 1 0 20.5 17.5m0-4a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5m-7.25-2a.75.75 0 1 1 1.5 0 .75.75 0 0 1-1.5 0m-1.75 9.25a.75.75 0 1 1 0-1.5.75.75 0 0 1 0 1.5M15.25 16a.75.75 0 1 1 1.5 0 .75.75 0 0 1-1.5 0m5.25 4.5a.75.75 0 1 1 0-1.5.75.75 0 0 1 0 1.5"
531
+ }
532
+ )
533
+ ] });
534
+ React.forwardRef(SvgComponentField);
535
+ const SvgDateField = (props, ref) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", width: 16, height: 16, ref, ...props, children: [
536
+ /* @__PURE__ */ jsxRuntime.jsx("rect", { width: 31, height: 23, x: 0.5, y: 4.5, fill: "#FDF4DC", stroke: "#FAE7B9", rx: 2.5 }),
537
+ /* @__PURE__ */ jsxRuntime.jsx(
538
+ "path",
539
+ {
540
+ fill: "#D9822F",
541
+ d: "M21 10h-1.5v-.5a.5.5 0 0 0-1 0v.5h-5v-.5a.5.5 0 0 0-1 0v.5H11a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V11a1 1 0 0 0-1-1m0 3H11v-2h1.5v.5a.5.5 0 0 0 1 0V11h5v.5a.5.5 0 0 0 1 0V11H21z"
542
+ }
543
+ )
544
+ ] });
545
+ React.forwardRef(SvgDateField);
546
+ const SvgDiscord = (props, ref) => /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", width: 16, height: 16, ref, ...props, children: /* @__PURE__ */ jsxRuntime.jsx(
547
+ "path",
548
+ {
549
+ fill: "#5865F2",
550
+ d: "M27.107 5.911a26.5 26.5 0 0 0-6.602-2.031 18 18 0 0 0-.845 1.72 24.6 24.6 0 0 0-7.327 0 18 18 0 0 0-.846-1.72A26.7 26.7 0 0 0 4.88 5.916C.702 12.098-.43 18.126.136 24.068a26.6 26.6 0 0 0 8.097 4.065 19.6 19.6 0 0 0 1.734-2.796c-.947-.354-1.86-.79-2.73-1.304.228-.166.452-.337.669-.504a19.02 19.02 0 0 0 16.188 0q.33.271.67.504c-.872.515-1.788.952-2.736 1.306a19.4 19.4 0 0 0 1.734 2.794 26.5 26.5 0 0 0 8.102-4.062c.665-6.892-1.135-12.864-4.757-18.16M10.684 20.414c-1.578 0-2.882-1.433-2.882-3.194 0-1.762 1.259-3.207 2.877-3.207 1.619 0 2.912 1.445 2.885 3.207s-1.271 3.194-2.88 3.194m10.632 0c-1.581 0-2.88-1.433-2.88-3.194 0-1.762 1.259-3.207 2.88-3.207s2.904 1.445 2.877 3.207-1.269 3.194-2.877 3.194"
551
+ }
552
+ ) });
553
+ React.forwardRef(SvgDiscord);
554
+ const SvgDiscourse = (props, ref) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", width: 16, height: 16, ref, ...props, children: [
555
+ /* @__PURE__ */ jsxRuntime.jsx(
556
+ "path",
557
+ {
558
+ fill: "#231F20",
559
+ d: "M15.659.302C7.158.302 0 7.194 0 15.698v15.943l15.656-.015c8.501 0 15.396-7.158 15.396-15.66 0-8.5-6.901-15.664-15.393-15.664"
560
+ }
561
+ ),
562
+ /* @__PURE__ */ jsxRuntime.jsx(
563
+ "path",
564
+ {
565
+ fill: "#FFF9AE",
566
+ d: "M15.81 6.261a9.546 9.546 0 0 0-8.39 14.09l-1.726 5.554 6.2-1.4A9.541 9.541 0 1 0 15.82 6.26z"
567
+ }
568
+ ),
569
+ /* @__PURE__ */ jsxRuntime.jsx(
570
+ "path",
571
+ {
572
+ fill: "#00AEEF",
573
+ d: "M23.381 9.999a9.54 9.54 0 0 1-11.487 14.49l-6.2 1.419 6.312-.746A9.54 9.54 0 0 0 23.381 10"
574
+ }
575
+ ),
576
+ /* @__PURE__ */ jsxRuntime.jsx(
577
+ "path",
578
+ {
579
+ fill: "#00A94F",
580
+ d: "M21.624 8.239a9.54 9.54 0 0 1-9.91 15.61l-6.02 2.059 6.2-1.404a9.54 9.54 0 0 0 9.73-16.265"
581
+ }
582
+ ),
583
+ /* @__PURE__ */ jsxRuntime.jsx("path", { fill: "#F15D22", d: "M7.991 20.562A9.542 9.542 0 0 1 23.387 9.994 9.543 9.543 0 0 0 7.42 20.35l-1.726 5.555z" }),
584
+ /* @__PURE__ */ jsxRuntime.jsx("path", { fill: "#E31B23", d: "M7.42 20.35A9.543 9.543 0 0 1 21.624 8.238 9.543 9.543 0 0 0 6.832 20.202l-1.135 5.706z" })
585
+ ] });
586
+ React.forwardRef(SvgDiscourse);
587
+ const SvgDynamicZoneField = (props, ref) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", width: 16, height: 16, ref, ...props, children: [
588
+ /* @__PURE__ */ jsxRuntime.jsx("rect", { width: 31, height: 23, x: 0.5, y: 4.5, fill: "#F6F6F9", stroke: "#DCDCE4", rx: 2.5 }),
589
+ /* @__PURE__ */ jsxRuntime.jsx(
590
+ "path",
591
+ {
592
+ fill: "#666687",
593
+ d: "M23.75 16a3.75 3.75 0 0 1-6.402 2.652l-.03-.033-3.742-4.225a2.25 2.25 0 1 0 0 3.212l.193-.218a.75.75 0 1 1 1.125.994l-.21.237-.03.033a3.75 3.75 0 1 1 0-5.304l.03.033 3.742 4.225a2.25 2.25 0 1 0 0-3.212l-.193.218a.751.751 0 1 1-1.125-.995l.21-.236.03-.033A3.75 3.75 0 0 1 23.75 16"
594
+ }
595
+ )
596
+ ] });
597
+ const ForwardRef$O = React.forwardRef(SvgDynamicZoneField);
598
+ const ForwardRef$P = ForwardRef$O;
599
+ const SvgEmailField = (props, ref) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", width: 16, height: 16, ref, ...props, children: [
600
+ /* @__PURE__ */ jsxRuntime.jsx("rect", { width: 31, height: 23, x: 0.5, y: 4.5, fill: "#FCECEA", stroke: "#F5C0B8", rx: 2.5 }),
601
+ /* @__PURE__ */ jsxRuntime.jsx(
602
+ "path",
603
+ {
604
+ fill: "#D02B20",
605
+ d: "M16 9.25a6.75 6.75 0 0 0 0 13.5c1.392 0 2.856-.42 3.915-1.125a.75.75 0 1 0-.83-1.25c-.813.54-1.994.875-3.085.875A5.25 5.25 0 1 1 21.25 16c0 .58-.104 1.067-.293 1.372-.165.265-.375.378-.707.378s-.542-.113-.707-.378c-.187-.305-.293-.791-.293-1.372v-2.5a.75.75 0 0 0-1.468-.216 3.25 3.25 0 1 0 .554 4.973c.433.637 1.09.993 1.914.993 1.542 0 2.5-1.245 2.5-3.25A6.76 6.76 0 0 0 16 9.25m0 8.5a1.75 1.75 0 1 1 0-3.5 1.75 1.75 0 0 1 0 3.5"
606
+ }
607
+ )
608
+ ] });
609
+ React.forwardRef(SvgEmailField);
610
+ const SvgEmptyData = (props, ref) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, fill: "none", viewBox: "0 0 217 121", ref, ...props, children: [
611
+ /* @__PURE__ */ jsxRuntime.jsxs("g", { clipPath: "url(#EmptyData_svg__a)", children: [
612
+ /* @__PURE__ */ jsxRuntime.jsx(
613
+ "path",
614
+ {
615
+ stroke: "#EEEEFA",
616
+ strokeDasharray: "3.93 4.91",
617
+ strokeLinecap: "round",
618
+ strokeWidth: 0.982,
619
+ d: "M1.158 99.652h215.018M1.158 80.015h215.018M1.158 59.397h215.018M1.158 38.779h215.018M1.158 20.124h215.018"
620
+ }
621
+ ),
622
+ /* @__PURE__ */ jsxRuntime.jsx(
623
+ "path",
624
+ {
625
+ fill: "#D9D8FF",
626
+ fillOpacity: 0.8,
627
+ fillRule: "evenodd",
628
+ d: "M182.63 25.086c4.112 0 7.446 3.279 7.446 7.323s-3.334 7.324-7.446 7.324h-42.545c4.112 0 7.445 3.279 7.445 7.323s-3.333 7.324-7.445 7.324h23.4c4.112 0 7.445 3.278 7.445 7.323 0 4.044-3.333 7.323-7.445 7.323h-10.821c-5.185 0-9.388 3.28-9.388 7.324q0 2.847 3.162 5.314c1.968 1.536 4.676 1.736 6.861 2.943 2.27 1.255 3.804 3.646 3.804 6.39 0 4.044-3.333 7.323-7.445 7.323H61.376c-4.112 0-7.446-3.279-7.446-7.323s3.334-7.324 7.446-7.324H19.894c-4.112 0-7.445-3.279-7.445-7.323s3.333-7.324 7.445-7.324H62.44c4.112 0 7.445-3.278 7.445-7.323s-3.334-7.324-7.446-7.324H35.85c-4.112 0-7.446-3.278-7.446-7.323 0-4.044 3.334-7.323 7.446-7.323h42.545c-4.112 0-7.445-3.28-7.445-7.324s3.333-7.323 7.445-7.323zm0 29.294c4.112 0 7.446 3.278 7.446 7.323 0 4.044-3.334 7.323-7.446 7.323s-7.445-3.278-7.445-7.323 3.333-7.324 7.445-7.324",
629
+ clipRule: "evenodd"
630
+ }
631
+ ),
632
+ /* @__PURE__ */ jsxRuntime.jsx(
633
+ "rect",
634
+ {
635
+ width: 27,
636
+ height: 79.036,
637
+ x: 109.403,
638
+ y: 33.133,
639
+ fill: "#fff",
640
+ stroke: "#7B79FF",
641
+ strokeWidth: 2.455,
642
+ rx: 4.173
643
+ }
644
+ ),
645
+ /* @__PURE__ */ jsxRuntime.jsx("rect", { width: 27, height: 102.6, x: 74.058, y: 9.57, fill: "#fff", stroke: "#7B79FF", strokeWidth: 2.455, rx: 4.173 }),
646
+ /* @__PURE__ */ jsxRuntime.jsx(
647
+ "rect",
648
+ {
649
+ width: 27,
650
+ height: 58.418,
651
+ x: 39.203,
652
+ y: 53.26,
653
+ fill: "#fff",
654
+ stroke: "#7B79FF",
655
+ strokeWidth: 2.455,
656
+ rx: 4.173
657
+ }
658
+ ),
659
+ /* @__PURE__ */ jsxRuntime.jsx(
660
+ "rect",
661
+ {
662
+ width: 27,
663
+ height: 55.473,
664
+ x: 144.748,
665
+ y: 56.697,
666
+ fill: "#fff",
667
+ stroke: "#7B79FF",
668
+ strokeWidth: 2.455,
669
+ rx: 4.173
670
+ }
671
+ ),
672
+ /* @__PURE__ */ jsxRuntime.jsx("rect", { width: 21.6, height: 53.018, x: 41.903, y: 55.961, fill: "#EEEEFA", rx: 1.964 }),
673
+ /* @__PURE__ */ jsxRuntime.jsx("rect", { width: 21.6, height: 73.636, x: 112.103, y: 35.833, fill: "#EEEEFA", rx: 1.964 })
674
+ ] }),
675
+ /* @__PURE__ */ jsxRuntime.jsx("defs", { children: /* @__PURE__ */ jsxRuntime.jsx("clipPath", { id: "EmptyData_svg__a", children: /* @__PURE__ */ jsxRuntime.jsx("path", { fill: "#fff", d: "M.667.797h216v120h-216z" }) }) })
676
+ ] });
677
+ React.forwardRef(SvgEmptyData);
678
+ const SvgEmptyDocuments = (props, ref) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, fill: "none", viewBox: "0 0 217 121", ref, ...props, children: [
679
+ /* @__PURE__ */ jsxRuntime.jsxs("g", { clipPath: "url(#EmptyDocuments_svg__a)", opacity: 0.84, children: [
680
+ /* @__PURE__ */ jsxRuntime.jsx(
681
+ "path",
682
+ {
683
+ fill: "#D9D8FF",
684
+ fillOpacity: 0.8,
685
+ fillRule: "evenodd",
686
+ d: "M189.917 20.442a7.583 7.583 0 0 1 0 15.167h-43.334a7.584 7.584 0 1 1 0 15.167h23.834a7.583 7.583 0 0 1 0 15.166h-11.022c-5.281 0-9.562 3.396-9.562 7.584q0 2.934 3.19 5.479c2.017 1.608 4.824 1.818 7.065 3.097a7.584 7.584 0 0 1-3.755 14.174H66.417a7.583 7.583 0 1 1 0-15.167h-42.25a7.583 7.583 0 0 1 0-15.167H67.5a7.583 7.583 0 0 0 0-15.166H40.417a7.583 7.583 0 0 1 0-15.167H83.75a7.583 7.583 0 0 1 0-15.167zm0 30.334a7.583 7.583 0 0 1 0 15.166 7.584 7.584 0 0 1 0-15.166",
687
+ clipRule: "evenodd"
688
+ }
689
+ ),
690
+ /* @__PURE__ */ jsxRuntime.jsx(
691
+ "path",
692
+ {
693
+ fill: "#fff",
694
+ fillRule: "evenodd",
695
+ d: "m133.228 20.443 10.077 73.496.905 7.373a4.33 4.33 0 0 1-3.773 4.829l-63.44 7.79a4.334 4.334 0 0 1-4.83-3.773l-9.766-79.547a2.167 2.167 0 0 1 1.886-2.414l.023-.003 5.263-.59zm-59.4 6.683 4.97-.557z",
696
+ clipRule: "evenodd"
697
+ }
698
+ ),
699
+ /* @__PURE__ */ jsxRuntime.jsx(
700
+ "path",
701
+ {
702
+ stroke: "#7B79FF",
703
+ strokeWidth: 2.5,
704
+ d: "m73.829 27.126 4.97-.557m54.429-6.126 10.077 73.496.905 7.373a4.33 4.33 0 0 1-3.773 4.829l-63.44 7.79a4.334 4.334 0 0 1-4.83-3.773l-9.766-79.547a2.167 2.167 0 0 1 1.886-2.414l.023-.003 5.263-.59z"
705
+ }
706
+ ),
707
+ /* @__PURE__ */ jsxRuntime.jsx(
708
+ "path",
709
+ {
710
+ fill: "#F0F0FF",
711
+ fillRule: "evenodd",
712
+ d: "m130.485 25.068 9.121 66.607.821 6.683c.264 2.152-1.246 4.109-3.373 4.37l-56.812 6.976c-2.128.261-4.066-1.272-4.33-3.425l-8.83-71.908a2.166 2.166 0 0 1 1.887-2.414l7.028-.863",
713
+ clipRule: "evenodd"
714
+ }
715
+ ),
716
+ /* @__PURE__ */ jsxRuntime.jsx(
717
+ "path",
718
+ {
719
+ fill: "#fff",
720
+ fillRule: "evenodd",
721
+ stroke: "#7B79FF",
722
+ strokeWidth: 2.5,
723
+ d: "M135.998 6.63H86.645a2.97 2.97 0 0 0-2.107.872 2.97 2.97 0 0 0-.873 2.107v82.333c0 .823.334 1.568.873 2.107a2.97 2.97 0 0 0 2.106.872h63.917a2.97 2.97 0 0 0 2.107-.872 2.97 2.97 0 0 0 .872-2.107V24.164a2.98 2.98 0 0 0-.873-2.108L138.104 7.502a2.98 2.98 0 0 0-2.106-.872Z",
724
+ clipRule: "evenodd"
725
+ }
726
+ ),
727
+ /* @__PURE__ */ jsxRuntime.jsx(
728
+ "path",
729
+ {
730
+ stroke: "#7B79FF",
731
+ strokeLinecap: "round",
732
+ strokeLinejoin: "round",
733
+ strokeWidth: 2.5,
734
+ d: "M136.478 7.879v12.563a3.25 3.25 0 0 0 3.25 3.25h8.595M95.311 78.942h28.167m-28.167-55.25h28.167zm0 13h46.583zm0 14.084h46.583zm0 14.083h46.583z"
735
+ }
736
+ )
737
+ ] }),
738
+ /* @__PURE__ */ jsxRuntime.jsx("defs", { children: /* @__PURE__ */ jsxRuntime.jsx("clipPath", { id: "EmptyDocuments_svg__a", children: /* @__PURE__ */ jsxRuntime.jsx("path", { fill: "#fff", d: "M.667.797h216v120h-216z" }) }) })
739
+ ] });
740
+ React.forwardRef(SvgEmptyDocuments);
741
+ const SvgEmptyPermissions = (props, ref) => /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, fill: "none", viewBox: "0 0 193 121", ref, ...props, children: /* @__PURE__ */ jsxRuntime.jsxs("g", { opacity: 0.88, children: [
742
+ /* @__PURE__ */ jsxRuntime.jsx(
743
+ "path",
744
+ {
745
+ fill: "#DBDBFA",
746
+ fillRule: "evenodd",
747
+ d: "M160.947 53.823a4 4 0 0 0-.15-.281c-3.5-5.96-7.289-11.263-11.52-15.858h18.096c4.445 0 8.048 3.613 8.048 8.07 0 4.456-3.603 8.069-8.048 8.069zm-8.493 16.139c-11.562 11.57-31.953 19.597-55.21 19.597-31.435 0-54.384-16.705-55.701-35.736H29.409c-4.445 0-8.048 3.613-8.048 8.07 0 4.456 3.603 8.069 8.048 8.069h11.697c5.604 0 10.148 3.612 10.148 8.069q0 3.786-4.98 6.963c-.942.601-2.034.876-3.123 1.15-.33.083-.658.166-.983.257a8.07 8.07 0 0 0-5.86 7.768c0 4.457 3.602 8.07 8.047 8.07h95.425c4.445 0 8.048-3.613 8.048-8.07 0-4.456-3.603-8.069-8.048-8.069h44.839c4.444 0 8.048-3.613 8.048-8.07 0-4.456-3.604-8.068-8.048-8.068zM68.723 21.546H8.715c-4.445 0-8.048 3.613-8.048 8.07 0 4.456 3.603 8.068 8.048 8.068h37.314c4.606-6.843 12.5-12.477 22.694-16.138M.667 61.892c0-4.456 3.603-8.069 8.048-8.069 4.444 0 8.047 3.613 8.047 8.07 0 4.456-3.603 8.069-8.047 8.069S.667 66.349.667 61.892",
748
+ clipRule: "evenodd"
749
+ }
750
+ ),
751
+ /* @__PURE__ */ jsxRuntime.jsx(
752
+ "path",
753
+ {
754
+ stroke: "#7B79FF",
755
+ strokeLinecap: "round",
756
+ strokeLinejoin: "round",
757
+ strokeWidth: 2.5,
758
+ d: "m158.091 49.212 1.446 2.131"
759
+ }
760
+ ),
761
+ /* @__PURE__ */ jsxRuntime.jsx(
762
+ "path",
763
+ {
764
+ fill: "#fff",
765
+ d: "M154.862 59.69c-45.683-57.683-95.639-25.812-117.374.01-1.404 1.668-1.426 4.117-.15 5.882 47.31 65.454 96.71 29.044 117.704-.133 1.24-1.722 1.138-4.094-.18-5.758"
766
+ }
767
+ ),
768
+ /* @__PURE__ */ jsxRuntime.jsx(
769
+ "path",
770
+ {
771
+ fill: "#7B79FF",
772
+ fillRule: "evenodd",
773
+ d: "M113.536 28.091c-9.141-2.486-18.085-2.558-26.571-.94-21.301 4.058-39.458 18.707-50.43 31.742-1.794 2.132-1.798 5.217-.206 7.42C48.246 82.798 60.36 92.962 72.218 98.41q1.186.544 2.367 1.027l1.206-2.209a57 57 0 0 1-2.53-1.09c-11.366-5.222-23.168-15.052-34.905-31.291-.961-1.33-.92-3.143.092-4.345 10.764-12.787 28.453-26.985 48.985-30.897 7.905-1.506 16.271-1.495 24.869.745zm-28.277 71.966c7.097 1.397 13.98 1.155 20.536-.279 20.46-4.474 37.826-20.593 48.237-35.062.899-1.25.84-3.007-.146-4.252-10.728-13.547-21.653-22.062-32.351-26.854l1.201-2.2c11.026 4.98 22.21 13.738 33.11 27.502 1.649 2.083 1.795 5.069.215 7.265-10.584 14.708-28.416 31.382-49.732 36.044-7.115 1.556-14.607 1.77-22.323.131z",
774
+ clipRule: "evenodd"
775
+ }
776
+ ),
777
+ /* @__PURE__ */ jsxRuntime.jsx(
778
+ "path",
779
+ {
780
+ stroke: "#7B79FF",
781
+ strokeLinecap: "round",
782
+ strokeLinejoin: "round",
783
+ strokeWidth: 2.5,
784
+ d: "M127.159 22.08c13.23 6.32 21.864 14.378 27.624 21.78M34.068 48.642C53.002 23.337 89.197 8.3 117.953 18.635"
785
+ }
786
+ ),
787
+ /* @__PURE__ */ jsxRuntime.jsx("ellipse", { cx: 94.98, cy: 66.505, fill: "#F0F0FF", rx: 18.395, ry: 18.444 }),
788
+ /* @__PURE__ */ jsxRuntime.jsx(
789
+ "path",
790
+ {
791
+ fill: "#7B79FF",
792
+ fillRule: "evenodd",
793
+ d: "M104.76 44.362a24 24 0 0 0-9.776-2.067c-13.334 0-24.144 10.838-24.144 24.208 0 8.428 4.296 15.85 10.813 20.186l1.203-2.204c-5.741-3.903-9.516-10.498-9.516-17.982 0-11.995 9.696-21.708 21.644-21.708 3.045 0 5.944.631 8.574 1.77zM91.95 87.999q1.488.211 3.034.212c11.947 0 21.643-9.713 21.643-21.708a21.66 21.66 0 0 0-5.222-14.142l1.272-2.33a24.16 24.16 0 0 1 6.45 16.472c0 13.37-10.809 24.207-24.143 24.207-1.47 0-2.908-.131-4.305-.383z",
794
+ clipRule: "evenodd"
795
+ }
796
+ ),
797
+ /* @__PURE__ */ jsxRuntime.jsx(
798
+ "path",
799
+ {
800
+ fill: "#fff",
801
+ stroke: "#7B79FF",
802
+ strokeWidth: 2.5,
803
+ d: "M116.729 54.977c0 4.406-3.562 7.972-7.948 7.972s-7.948-3.566-7.948-7.972 3.562-7.972 7.948-7.972 7.948 3.566 7.948 7.972Z"
804
+ }
805
+ ),
806
+ /* @__PURE__ */ jsxRuntime.jsx(
807
+ "path",
808
+ {
809
+ fill: "#fff",
810
+ d: "M110.472 33.635c1.275-2.324 4.078-3.019 6.296-1.56 2.264 1.49 3.053 4.654 1.751 7.027l-31.287 57.05c-1.275 2.324-4.079 3.018-6.296 1.559-2.265-1.49-3.053-4.653-1.751-7.027z"
811
+ }
812
+ ),
813
+ /* @__PURE__ */ jsxRuntime.jsx(
814
+ "rect",
815
+ {
816
+ width: 3.668,
817
+ height: 134.376,
818
+ fill: "#7B79FF",
819
+ rx: 1.834,
820
+ transform: "matrix(.82817 .56048 -.47918 .87772 127.181 .797)"
821
+ }
822
+ )
823
+ ] }) });
824
+ React.forwardRef(SvgEmptyPermissions);
825
+ const SvgEmptyPictures = (props, ref) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, fill: "none", viewBox: "0 0 217 121", ref, ...props, children: [
826
+ /* @__PURE__ */ jsxRuntime.jsx("g", { clipPath: "url(#EmptyPictures_svg__a)", children: /* @__PURE__ */ jsxRuntime.jsxs("g", { clipPath: "url(#EmptyPictures_svg__b)", opacity: 0.88, children: [
827
+ /* @__PURE__ */ jsxRuntime.jsx(
828
+ "path",
829
+ {
830
+ fill: "#D9D8FF",
831
+ fillOpacity: 0.8,
832
+ fillRule: "evenodd",
833
+ d: "M119.667 28.797a7 7 0 1 1 0 14h64a7 7 0 1 1 0 14h22a7 7 0 1 1 0 14h-19a7 7 0 1 0 0 14h6a7 7 0 1 1 0 14h-52a7 7 0 0 1-1.5-.161 7 7 0 0 1-1.5.16h-91a7 7 0 0 1 0-14h-39a7 7 0 1 1 0-14h40a7 7 0 0 0 0-14h-25a7 7 0 1 1 0-14h40a7 7 0 1 1 0-14zm90 56a7 7 0 1 1 0 14 7 7 0 0 1 0-14",
834
+ clipRule: "evenodd"
835
+ }
836
+ ),
837
+ /* @__PURE__ */ jsxRuntime.jsx(
838
+ "path",
839
+ {
840
+ fill: "#fff",
841
+ fillRule: "evenodd",
842
+ d: "m74.497 103.07-8.622 1.422a4 4 0 0 1-4.518-3.404L50.224 21.866a4 4 0 0 1 3.404-4.518l78.231-10.994a4 4 0 0 1 4.518 3.404c.474 3.377 2.408 16.468 2.571 17.63",
843
+ clipRule: "evenodd"
844
+ }
845
+ ),
846
+ /* @__PURE__ */ jsxRuntime.jsx(
847
+ "path",
848
+ {
849
+ fill: "#F0F0FF",
850
+ fillRule: "evenodd",
851
+ d: "m72.472 99.51-3.696.525a3.62 3.62 0 0 1-4.096-3.085l-9.996-71.925a3.646 3.646 0 0 1 3.097-4.107L128.82 10.82a3.62 3.62 0 0 1 4.096 3.085l.859 6.18 9.206 66.599c.306 2.212-1.22 4.257-3.408 4.566l-.07.01z",
852
+ clipRule: "evenodd"
853
+ }
854
+ ),
855
+ /* @__PURE__ */ jsxRuntime.jsx(
856
+ "path",
857
+ {
858
+ stroke: "#7B79FF",
859
+ strokeLinecap: "round",
860
+ strokeWidth: 2.5,
861
+ d: "m69.945 103.92-4.07.572a4 4 0 0 1-4.518-3.405L50.223 21.866a4 4 0 0 1 3.405-4.518l78.231-10.994a4 4 0 0 1 4.518 3.404l.956 6.808M138.167 21.177l.5 3.12"
862
+ }
863
+ ),
864
+ /* @__PURE__ */ jsxRuntime.jsx(
865
+ "path",
866
+ {
867
+ fill: "#fff",
868
+ fillRule: "evenodd",
869
+ stroke: "#7B79FF",
870
+ strokeWidth: 2.5,
871
+ d: "m165.078 31.096-78.567-8.258a2.74 2.74 0 0 0-2.018.598 2.74 2.74 0 0 0-1.005 1.85l-8.362 79.561a2.748 2.748 0 0 0 2.447 3.023l78.568 8.258a2.74 2.74 0 0 0 2.018-.598 2.74 2.74 0 0 0 1.004-1.85l8.362-79.562a2.74 2.74 0 0 0-.597-2.018 2.74 2.74 0 0 0-1.85-1.004Z",
872
+ clipRule: "evenodd"
873
+ }
874
+ ),
875
+ /* @__PURE__ */ jsxRuntime.jsx(
876
+ "path",
877
+ {
878
+ fill: "#fff",
879
+ fillRule: "evenodd",
880
+ d: "m93.657 31.382 62.655 6.585a3 3 0 0 1 2.67 3.297l-5.54 52.71a3 3 0 0 1-3.298 2.67L87.49 90.059a3 3 0 0 1-2.67-3.297l5.54-52.71a3 3 0 0 1 3.297-2.67",
881
+ clipRule: "evenodd"
882
+ }
883
+ ),
884
+ /* @__PURE__ */ jsxRuntime.jsx(
885
+ "path",
886
+ {
887
+ fill: "#F0F0FF",
888
+ fillRule: "evenodd",
889
+ d: "m93.407 74.676 9.798-6.609a4 4 0 0 1 5.167.595l7.174 7.722a1 1 0 0 0 1.362.097l15.34-12.43a4 4 0 0 1 5.877.936l9.981 15.438 1.433 2.392-.686 8.124a1 1 0 0 1-1.107.91l-56.963-6.329a1 1 0 0 1-.885-1.085l.755-8.199z",
890
+ clipRule: "evenodd"
891
+ }
892
+ ),
893
+ /* @__PURE__ */ jsxRuntime.jsx(
894
+ "path",
895
+ {
896
+ stroke: "#7B79FF",
897
+ strokeWidth: 2.5,
898
+ d: "m156.181 39.21-62.655-6.585c-.48-.05-.936.099-1.284.38a1.75 1.75 0 0 0-.64 1.178l-5.54 52.71c-.05.48.1.936.381 1.284s.697.588 1.177.639l62.655 6.585c.481.05.936-.099 1.284-.38s.589-.697.639-1.177l5.54-52.71a1.74 1.74 0 0 0-.38-1.284 1.74 1.74 0 0 0-1.177-.64Z",
899
+ clipRule: "evenodd"
900
+ }
901
+ ),
902
+ /* @__PURE__ */ jsxRuntime.jsx(
903
+ "path",
904
+ {
905
+ fill: "#F0F0FF",
906
+ stroke: "#7B79FF",
907
+ strokeWidth: 2.5,
908
+ d: "M105.071 56.714a6 6 0 1 0 1.254-11.936 6 6 0 0 0-1.254 11.936Z"
909
+ }
910
+ ),
911
+ /* @__PURE__ */ jsxRuntime.jsx(
912
+ "path",
913
+ {
914
+ stroke: "#7B79FF",
915
+ strokeLinecap: "round",
916
+ strokeWidth: 2.5,
917
+ d: "m91.396 76.222 11.809-8.155a4 4 0 0 1 5.167.594l7.174 7.723a1 1 0 0 0 1.362.096l15.34-12.43a4 4 0 0 1 5.877.936l11.064 17.556"
918
+ }
919
+ )
920
+ ] }) }),
921
+ /* @__PURE__ */ jsxRuntime.jsxs("defs", { children: [
922
+ /* @__PURE__ */ jsxRuntime.jsx("clipPath", { id: "EmptyPictures_svg__a", children: /* @__PURE__ */ jsxRuntime.jsx("path", { fill: "#fff", d: "M.667.797h216v120h-216z" }) }),
923
+ /* @__PURE__ */ jsxRuntime.jsx("clipPath", { id: "EmptyPictures_svg__b", children: /* @__PURE__ */ jsxRuntime.jsx("path", { fill: "#fff", d: "M.667.797h216v120h-216z" }) })
924
+ ] })
925
+ ] });
926
+ React.forwardRef(SvgEmptyPictures);
927
+ const SvgEnumerationField = (props, ref) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", width: 16, height: 16, ref, ...props, children: [
928
+ /* @__PURE__ */ jsxRuntime.jsx("rect", { width: 31, height: 23, x: 0.5, y: 4.5, fill: "#F6ECFC", stroke: "#E0C1F4", rx: 2.5 }),
929
+ /* @__PURE__ */ jsxRuntime.jsx(
930
+ "path",
931
+ {
932
+ fill: "#9736E8",
933
+ d: "M12.75 12a.75.75 0 0 1 .75-.75h8a.75.75 0 1 1 0 1.5h-8a.75.75 0 0 1-.75-.75m8.75 3.25h-8a.75.75 0 1 0 0 1.5h8a.75.75 0 1 0 0-1.5m0 4h-8a.75.75 0 1 0 0 1.5h8a.75.75 0 1 0 0-1.5M10.75 15a1 1 0 1 0 0 2 1 1 0 0 0 0-2m0-4a1 1 0 1 0 0 2 1 1 0 0 0 0-2m0 8a1 1 0 1 0 0 2 1 1 0 0 0 0-2"
934
+ }
935
+ )
936
+ ] });
937
+ React.forwardRef(SvgEnumerationField);
938
+ const SvgFacebook = (props, ref) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", width: 16, height: 16, ref, ...props, children: [
939
+ /* @__PURE__ */ jsxRuntime.jsx(
940
+ "path",
941
+ {
942
+ fill: "#1977F3",
943
+ d: "M32 16c0-8.836-7.164-16-16-16S0 7.164 0 16c0 7.985 5.85 14.605 13.5 15.807v-11.18H9.437V16H13.5v-3.526c0-4.01 2.39-6.226 6.044-6.226 1.75 0 3.582.313 3.582.313V10.5h-2.018c-1.987 0-2.608 1.233-2.608 2.5V16h4.437l-.709 4.626H18.5v11.18C26.15 30.607 32 23.989 32 16"
944
+ }
945
+ ),
946
+ /* @__PURE__ */ jsxRuntime.jsx(
947
+ "path",
948
+ {
949
+ fill: "#FEFEFE",
950
+ d: "M22.228 20.626 22.937 16H18.5v-3.002c0-1.264.619-2.5 2.608-2.5h2.018V6.562s-1.832-.313-3.582-.313c-3.654 0-6.044 2.214-6.044 6.226V16H9.437v4.626H13.5v11.18Q14.724 32 16 32c.85 0 1.685-.068 2.5-.194v-11.18z"
951
+ }
952
+ )
953
+ ] });
954
+ React.forwardRef(SvgFacebook);
955
+ const SvgFeatherSquare = (props, ref) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", width: 16, height: 16, ref, ...props, children: [
956
+ /* @__PURE__ */ jsxRuntime.jsx("path", { fill: "#9736E8", d: "M0 4a4 4 0 0 1 4-4h24a4 4 0 0 1 4 4v24a4 4 0 0 1-4 4H4a4 4 0 0 1-4-4z" }),
957
+ /* @__PURE__ */ jsxRuntime.jsx(
958
+ "path",
959
+ {
960
+ fill: "#fff",
961
+ d: "M18.037 11.774a28.6 28.6 0 0 0-2.948 2.706c-1.995 2.109-3.55 4.093-4.761 6.06-.289.469-.574.945-.855 1.418a9 9 0 0 0-.463 1.536c-.074.37.275.68.577.395.312-.299.587-.64.851-.985.467-.608.906-1.237 1.342-1.867 3.37.242 7.27-2.048 8.933-4.857a.2.2 0 0 0 .017-.167.18.18 0 0 0-.114-.118c-.809-.27-1.798-.44-2.207-.462-.017 0-.034-.014-.037-.035a.04.04 0 0 1 .024-.043c1.113-.58 1.924-.647 2.877-.505.07.01.134-.046.16-.114.095-.217.356-.87.537-1.404a.2.2 0 0 0-.087-.239c-.71-.384-1.656-.643-2.035-.682-.017 0-.03-.018-.034-.036a.04.04 0 0 1 .024-.043c1.1-.483 1.485-.497 2.364-.302.087.018.17-.05.19-.142.433-1.714.574-3.197.608-3.68a.2.2 0 0 0-.057-.157.18.18 0 0 0-.148-.05c-2.444.356-4.403.865-6.093 1.55-.057.022-.11.072-.11.136.144.551-.242 1.209-.845 1.703a.04.04 0 0 1-.044.018.05.05 0 0 1-.027-.043c.004-.046.158-.665.067-1.116-.013-.064-.033-.125-.084-.16a.17.17 0 0 0-.17-.014c-7.924 3.811-5.922 10.098-5.922 10.098q.015.004.03.007c.895-1.86 1.904-3.232 3.49-5.035 1.178-1.337 2.331-2.425 3.525-3.325.75-.565 2.448-1.738 3.51-2.144a.3.3 0 0 1 .105-.021c.097 0 .177.064.2.16a.26.26 0 0 1-.046.228z"
962
+ }
963
+ )
964
+ ] });
965
+ React.forwardRef(SvgFeatherSquare);
966
+ const SvgGitHub = (props, ref) => /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", width: 16, height: 16, ref, ...props, children: /* @__PURE__ */ jsxRuntime.jsx(
967
+ "path",
968
+ {
969
+ fill: "#24292F",
970
+ fillRule: "evenodd",
971
+ d: "M15.952 0C7.132 0 0 7.184 0 16.07c0 7.105 4.57 13.118 10.908 15.247.792.16 1.083-.346 1.083-.772 0-.372-.027-1.65-.027-2.98-4.437.958-5.361-1.916-5.361-1.916-.713-1.862-1.77-2.34-1.77-2.34-1.452-.985.106-.985.106-.985 1.61.106 2.456 1.65 2.456 1.65 1.426 2.447 3.724 1.755 4.648 1.33.132-1.038.555-1.757 1.004-2.156-3.54-.372-7.263-1.756-7.263-7.929 0-1.756.634-3.193 1.637-4.31-.158-.399-.713-2.049.16-4.257 0 0 1.346-.426 4.383 1.65 1.3-.352 2.641-.531 3.988-.533 1.347 0 2.72.187 3.988.532 3.038-2.075 4.385-1.65 4.385-1.65.871 2.21.316 3.859.158 4.258 1.03 1.117 1.637 2.554 1.637 4.31 0 6.173-3.723 7.53-7.289 7.93.581.505 1.083 1.463 1.083 2.98 0 2.154-.026 3.884-.026 4.416 0 .426.29.932 1.082.772 6.34-2.13 10.908-8.142 10.908-15.246C31.904 7.184 24.748 0 15.952 0",
972
+ clipRule: "evenodd"
973
+ }
974
+ ) });
975
+ React.forwardRef(SvgGitHub);
976
+ const SvgGlassesSquare = (props, ref) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", width: 16, height: 16, ref, ...props, children: [
977
+ /* @__PURE__ */ jsxRuntime.jsx("path", { fill: "#AC73E6", d: "M0 4a4 4 0 0 1 4-4h24a4 4 0 0 1 4 4v24a4 4 0 0 1-4 4H4a4 4 0 0 1-4-4z" }),
978
+ /* @__PURE__ */ jsxRuntime.jsx(
979
+ "path",
980
+ {
981
+ fill: "#fff",
982
+ fillRule: "evenodd",
983
+ d: "M15.027 13.839c-3.19-.836-6.305-1.064-10.18-.608-1.215.152-1.063 1.975.076 2.203.304.836.456 2.355.912 3.267.987 2.279 5.622 1.975 7.369.835 1.14-.683 1.443-2.279 1.9-3.494.227-.684 1.595-.684 1.822 0 .38 1.215.76 2.81 1.9 3.494 1.747 1.14 6.381 1.444 7.369-.835.456-.912.607-2.431.911-3.267 1.14-.228 1.216-2.051.076-2.203-3.874-.456-6.989-.228-10.18.608-.455.075-1.519.075-1.975 0",
984
+ clipRule: "evenodd"
985
+ }
986
+ )
987
+ ] });
988
+ React.forwardRef(SvgGlassesSquare);
989
+ const SvgInformationSquare = (props, ref) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", width: 16, height: 16, ref, ...props, children: [
990
+ /* @__PURE__ */ jsxRuntime.jsx("path", { fill: "#4945FF", d: "M0 4a4 4 0 0 1 4-4h24a4 4 0 0 1 4 4v24a4 4 0 0 1-4 4H4a4 4 0 0 1-4-4z" }),
991
+ /* @__PURE__ */ jsxRuntime.jsx(
992
+ "path",
993
+ {
994
+ fill: "#fff",
995
+ d: "M15.733 8c.343 0 .678.108.963.31s.507.49.639.826c.13.337.165.707.098 1.064a1.9 1.9 0 0 1-.474.942 1.7 1.7 0 0 1-.887.504 1.64 1.64 0 0 1-1.002-.105 1.76 1.76 0 0 1-.778-.678A1.9 1.9 0 0 1 14 9.841a1.9 1.9 0 0 1 .508-1.302c.325-.345.766-.539 1.225-.539M20 24h-8v-2.265h2.933v-6.23H12.8v-2.266h4.267v8.496H20z"
996
+ }
997
+ )
998
+ ] });
999
+ React.forwardRef(SvgInformationSquare);
1000
+ const SvgJsonField = (props, ref) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", width: 16, height: 16, ref, ...props, children: [
1001
+ /* @__PURE__ */ jsxRuntime.jsx("rect", { width: 31, height: 23, x: 0.5, y: 4.5, fill: "#EAF5FF", stroke: "#B8E1FF", rx: 2.5 }),
1002
+ /* @__PURE__ */ jsxRuntime.jsx(
1003
+ "path",
1004
+ {
1005
+ fill: "#0C75AF",
1006
+ d: "M11.425 15.468a2.2 2.2 0 0 1-.36.532q.22.24.36.532c.325.67.325 1.457.325 2.218 0 1.621.115 2 1.25 2a.75.75 0 1 1 0 1.5c-1.196 0-2.012-.431-2.425-1.282-.325-.67-.325-1.457-.325-2.218 0-1.621-.115-2-1.25-2a.75.75 0 1 1 0-1.5c1.135 0 1.25-.379 1.25-2 0-.76 0-1.547.325-2.218.413-.85 1.229-1.282 2.425-1.282a.75.75 0 1 1 0 1.5c-1.135 0-1.25.379-1.25 2 0 .76 0 1.547-.325 2.218M23 15.25c-1.135 0-1.25-.379-1.25-2 0-.76 0-1.547-.325-2.218-.413-.85-1.229-1.282-2.425-1.282a.75.75 0 1 0 0 1.5c1.135 0 1.25.379 1.25 2 0 .76 0 1.547.325 2.218q.142.292.363.532a2.2 2.2 0 0 0-.36.532c-.328.67-.328 1.457-.328 2.218 0 1.621-.115 2-1.25 2a.75.75 0 1 0 0 1.5c1.196 0 2.012-.431 2.425-1.282.325-.67.325-1.457.325-2.218 0-1.621.115-2 1.25-2a.75.75 0 1 0 0-1.5"
1007
+ }
1008
+ )
1009
+ ] });
1010
+ React.forwardRef(SvgJsonField);
1011
+ const SvgMarkdownField = (props, ref) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", width: 16, height: 16, ref, ...props, children: [
1012
+ /* @__PURE__ */ jsxRuntime.jsx("rect", { width: 31, height: 23, x: 0.5, y: 4.5, fill: "#EAF5FF", stroke: "#B8E1FF", rx: 2.5 }),
1013
+ /* @__PURE__ */ jsxRuntime.jsx(
1014
+ "path",
1015
+ {
1016
+ fill: "#0C75AF",
1017
+ d: "M9.75 12a.75.75 0 0 1 .75-.75h11a.75.75 0 1 1 0 1.5h-11a.75.75 0 0 1-.75-.75m.75 3.25h8a.75.75 0 1 0 0-1.5h-8a.75.75 0 1 0 0 1.5m11 1h-11a.75.75 0 1 0 0 1.5h11a.75.75 0 1 0 0-1.5m-3 2.5h-8a.75.75 0 1 0 0 1.5h8a.75.75 0 1 0 0-1.5"
1018
+ }
1019
+ )
1020
+ ] });
1021
+ React.forwardRef(SvgMarkdownField);
1022
+ const SvgMediaField = (props, ref) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", width: 16, height: 16, ref, ...props, children: [
1023
+ /* @__PURE__ */ jsxRuntime.jsx("rect", { width: 31, height: 23, x: 0.5, y: 4.5, fill: "#F6ECFC", stroke: "#E0C1F4", rx: 2.5 }),
1024
+ /* @__PURE__ */ jsxRuntime.jsx(
1025
+ "path",
1026
+ {
1027
+ fill: "#9736E8",
1028
+ d: "M21.5 10.5h-11a1 1 0 0 0-1 1v9a1 1 0 0 0 1 1h11a1 1 0 0 0 1-1v-9a1 1 0 0 0-1-1m-3.75 3a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5m-7.25 7v-1.75l3.25-3.25 5 5zm11 0h-1.336l-2.25-2.25 1.25-1.25 2.336 2.336z"
1029
+ }
1030
+ )
1031
+ ] });
1032
+ React.forwardRef(SvgMediaField);
1033
+ const SvgMedium = (props, ref) => /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", width: 16, height: 16, ref, ...props, children: /* @__PURE__ */ jsxRuntime.jsx(
1034
+ "path",
1035
+ {
1036
+ fill: "#32324D",
1037
+ d: "M18.05 16.007c0 5.019-4.04 9.087-9.025 9.087-4.984 0-9.025-4.07-9.025-9.087C0 10.99 4.04 6.92 9.025 6.92s9.025 4.069 9.025 9.087M27.95 16.007c0 4.724-2.02 8.555-4.512 8.555s-4.513-3.831-4.513-8.555 2.02-8.555 4.513-8.555 4.512 3.83 4.512 8.555M32 16.007c0 4.231-.71 7.664-1.587 7.664s-1.587-3.432-1.587-7.664.71-7.664 1.587-7.664c.876 0 1.587 3.432 1.587 7.664"
1038
+ }
1039
+ ) });
1040
+ React.forwardRef(SvgMedium);
1041
+ const SvgNumberField = (props, ref) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", width: 16, height: 16, ref, ...props, children: [
1042
+ /* @__PURE__ */ jsxRuntime.jsx("rect", { width: 31, height: 23, x: 0.5, y: 4.5, fill: "#FCECEA", stroke: "#F5C0B8", rx: 2.5 }),
1043
+ /* @__PURE__ */ jsxRuntime.jsx(
1044
+ "path",
1045
+ {
1046
+ fill: "#D02B20",
1047
+ d: "M8.68 20v-6.22h-.096l-1.902 1.322V13.64l2.004-1.392h1.616V20zm3.733 0v-1.09l2.498-2.466c1.09-1.058 1.385-1.45 1.385-1.992v-.017c0-.66-.45-1.122-1.192-1.122-.757 0-1.278.505-1.278 1.24v.028h-1.499l-.005-.022c0-1.488 1.16-2.508 2.857-2.508 1.595 0 2.713.913 2.713 2.25v.016c0 .881-.457 1.612-1.87 2.917l-1.434 1.337v.124h3.416V20zm9.974.172c-1.75 0-2.906-.94-3.013-2.326l-.005-.07h1.552l.005.06c.07.601.623 1.03 1.461 1.03.827 0 1.37-.461 1.37-1.116v-.011c0-.741-.553-1.15-1.493-1.15h-.887v-1.154h.865c.817 0 1.343-.43 1.343-1.059v-.01c0-.645-.446-1.042-1.209-1.042-.762 0-1.273.413-1.337 1.058l-.005.048H19.54l.005-.064c.113-1.386 1.203-2.288 2.83-2.288 1.665 0 2.74.838 2.74 2.073v.01c0 .967-.71 1.596-1.617 1.784v.032c1.155.107 1.907.773 1.907 1.826v.011c0 1.407-1.209 2.358-3.019 2.358"
1048
+ }
1049
+ )
1050
+ ] });
1051
+ React.forwardRef(SvgNumberField);
1052
+ const SvgPasswordField = (props, ref) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", width: 16, height: 16, ref, ...props, children: [
1053
+ /* @__PURE__ */ jsxRuntime.jsx("rect", { width: 31, height: 23, x: 0.5, y: 4.5, fill: "#FDF4DC", stroke: "#FAE7B9", rx: 2.5 }),
1054
+ /* @__PURE__ */ jsxRuntime.jsx(
1055
+ "path",
1056
+ {
1057
+ fill: "#D9822F",
1058
+ d: "M21 13h-2v-1.5a3 3 0 0 0-6 0V13h-2a1 1 0 0 0-1 1v7a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1v-7a1 1 0 0 0-1-1m-5 5.25a.75.75 0 1 1 0-1.5.75.75 0 0 1 0 1.5M18 13h-4v-1.5a2 2 0 0 1 4 0z"
1059
+ }
1060
+ )
1061
+ ] });
1062
+ React.forwardRef(SvgPasswordField);
1063
+ const SvgPlaySquare = (props, ref) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", width: 16, height: 16, ref, ...props, children: [
1064
+ /* @__PURE__ */ jsxRuntime.jsx("path", { fill: "#66B7F1", d: "M0 4a4 4 0 0 1 4-4h24a4 4 0 0 1 4 4v24a4 4 0 0 1-4 4H4a4 4 0 0 1-4-4z" }),
1065
+ /* @__PURE__ */ jsxRuntime.jsx(
1066
+ "path",
1067
+ {
1068
+ fill: "#fff",
1069
+ fillRule: "evenodd",
1070
+ d: "M12 10.921a.5.5 0 0 1 .773-.419l8.582 5.579a.5.5 0 0 1 0 .838l-8.582 5.579a.5.5 0 0 1-.773-.42z",
1071
+ clipRule: "evenodd"
1072
+ }
1073
+ )
1074
+ ] });
1075
+ React.forwardRef(SvgPlaySquare);
1076
+ const SvgReddit = (props, ref) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", width: 16, height: 16, ref, ...props, children: [
1077
+ /* @__PURE__ */ jsxRuntime.jsx(
1078
+ "path",
1079
+ {
1080
+ fill: "#FF4500",
1081
+ d: "M16 0C7.164 0 0 7.164 0 16a15.95 15.95 0 0 0 4.686 11.314L1.64 30.36c-.605.605-.177 1.639.678 1.639H16c8.836 0 16-7.164 16-16S24.836 0 16 0"
1082
+ }
1083
+ ),
1084
+ /* @__PURE__ */ jsxRuntime.jsx(
1085
+ "path",
1086
+ {
1087
+ fill: "#fff",
1088
+ d: "M19.255 7.545a2.668 2.668 0 0 0 5.261-.614 2.666 2.666 0 0 0-5.277-.54 4.307 4.307 0 0 0-3.84 4.277v.013c-2.345.099-4.487.767-6.187 1.82a3.736 3.736 0 1 0-3.869 6.34c.124 4.338 4.85 7.826 10.664 7.826s10.547-3.492 10.664-7.833a3.737 3.737 0 0 0-1.602-7.111c-.857 0-1.645.288-2.275.773-1.715-1.061-3.88-1.729-6.25-1.817v-.01a3.16 3.16 0 0 1 2.71-3.121zM9.062 17.829c.063-1.355.963-2.395 2.01-2.395 1.045 0 1.845 1.098 1.783 2.454-.063 1.354-.844 1.847-1.891 1.847S9 19.184 9.062 17.829m11.883-2.395c1.047 0 1.947 1.04 2.009 2.395s-.855 1.906-1.902 1.906-1.828-.491-1.89-1.848c-.063-1.355.735-2.453 1.783-2.453m-1.245 5.53c.196.02.321.224.245.406a4.268 4.268 0 0 1-7.875 0 .296.296 0 0 1 .245-.406c1.15-.116 2.394-.18 3.692-.18 1.3 0 2.542.064 3.693.18"
1089
+ }
1090
+ )
1091
+ ] });
1092
+ React.forwardRef(SvgReddit);
1093
+ const SvgRelationField = (props, ref) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", width: 16, height: 16, ref, ...props, children: [
1094
+ /* @__PURE__ */ jsxRuntime.jsx("rect", { width: 31, height: 23, x: 0.5, y: 4.5, fill: "#F0F0FF", stroke: "#D9D8FF", rx: 2.5 }),
1095
+ /* @__PURE__ */ jsxRuntime.jsx(
1096
+ "path",
1097
+ {
1098
+ fill: "#4945FF",
1099
+ d: "M16.523 19.72a.75.75 0 0 1 0 1.063l-.371.371a3.751 3.751 0 1 1-5.305-5.305l1.507-1.507a3.75 3.75 0 0 1 5.146-.155.753.753 0 0 1-1 1.126 2.25 2.25 0 0 0-3.086.091l-1.506 1.505a2.25 2.25 0 0 0 3.183 3.183l.37-.371a.747.747 0 0 1 1.062 0m4.63-8.874a3.755 3.755 0 0 0-5.305 0l-.371.37a.751.751 0 1 0 1.062 1.063l.372-.37a2.25 2.25 0 1 1 3.182 3.182l-1.507 1.507a2.25 2.25 0 0 1-3.086.09.755.755 0 0 0-1.211.315.75.75 0 0 0 .211.81 3.75 3.75 0 0 0 5.144-.152l1.507-1.507a3.756 3.756 0 0 0 .002-5.307z"
1100
+ }
1101
+ )
1102
+ ] });
1103
+ React.forwardRef(SvgRelationField);
1104
+ const SvgSingleType = (props, ref) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", width: 16, height: 16, ref, ...props, children: [
1105
+ /* @__PURE__ */ jsxRuntime.jsx("rect", { width: 31, height: 23, x: 0.5, y: 4.5, fill: "#0C75AF", stroke: "#0C75AF", rx: 2.5 }),
1106
+ /* @__PURE__ */ jsxRuntime.jsx(
1107
+ "path",
1108
+ {
1109
+ fill: "#fff",
1110
+ d: "M8.523 17.586h1.711c.123.727.844 1.195 1.758 1.195.95 0 1.606-.445 1.606-1.107 0-.492-.352-.797-1.266-1.084l-.879-.276c-1.248-.386-1.963-1.218-1.963-2.308 0-1.547 1.418-2.678 3.328-2.678 1.858 0 3.164 1.078 3.217 2.62h-1.67c-.105-.71-.744-1.184-1.617-1.184-.826 0-1.459.433-1.459 1.03 0 .47.34.815 1.137 1.067l.867.27c1.436.451 2.086 1.154 2.086 2.297 0 1.675-1.418 2.789-3.516 2.789-1.922 0-3.234-.99-3.34-2.631M20.107 20h-1.78l1.487-6.943h-2.53l.31-1.512h6.843l-.31 1.512h-2.531z"
1111
+ }
1112
+ )
1113
+ ] });
1114
+ React.forwardRef(SvgSingleType);
1115
+ const SvgStrapi = (props, ref) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", width: 16, height: 16, ref, ...props, children: [
1116
+ /* @__PURE__ */ jsxRuntime.jsx(
1117
+ "path",
1118
+ {
1119
+ fill: "#4945FF",
1120
+ d: "M0 11.093c0-5.23 0-7.844 1.625-9.468C3.249 0 5.864 0 11.093 0h9.814c5.23 0 7.844 0 9.468 1.625C32 3.249 32 5.864 32 11.093v9.814c0 5.23 0 7.844-1.625 9.468C28.751 32 26.136 32 20.907 32h-9.814c-5.23 0-7.844 0-9.468-1.625C0 28.751 0 26.136 0 20.907z"
1121
+ }
1122
+ ),
1123
+ /* @__PURE__ */ jsxRuntime.jsx(
1124
+ "path",
1125
+ {
1126
+ fill: "#fff",
1127
+ fillRule: "evenodd",
1128
+ d: "M22.08 9.707H11.307V15.2H16.8v5.493h5.493V9.92a.213.213 0 0 0-.213-.213",
1129
+ clipRule: "evenodd"
1130
+ }
1131
+ ),
1132
+ /* @__PURE__ */ jsxRuntime.jsx("path", { fill: "#fff", d: "M16.8 15.2h-.213v.213h.213z" }),
1133
+ /* @__PURE__ */ jsxRuntime.jsx(
1134
+ "path",
1135
+ {
1136
+ fill: "#9593FF",
1137
+ d: "M11.307 15.2h5.28c.117 0 .213.096.213.213v5.28h-5.28a.213.213 0 0 1-.213-.213zM16.8 20.693h5.493l-5.31 5.312a.107.107 0 0 1-.183-.076zM11.307 15.2H6.07a.107.107 0 0 1-.076-.182l5.312-5.311z"
1138
+ }
1139
+ )
1140
+ ] });
1141
+ React.forwardRef(SvgStrapi);
1142
+ const SvgTextField = (props, ref) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", width: 16, height: 16, ref, ...props, children: [
1143
+ /* @__PURE__ */ jsxRuntime.jsx("rect", { width: 31, height: 23, x: 0.5, y: 4.5, fill: "#EAFBE7", stroke: "#C6F0C2", rx: 2.5 }),
1144
+ /* @__PURE__ */ jsxRuntime.jsx(
1145
+ "path",
1146
+ {
1147
+ fill: "#328048",
1148
+ d: "M13.679 11.18a.75.75 0 0 0-1.358 0l-4 8.5a.75.75 0 0 0 1.357.64l.974-2.07h4.695l.974 2.07a.75.75 0 1 0 1.358-.64zm-2.32 5.57 1.64-3.489 1.643 3.489zm9.14-3c-.865 0-1.547.241-2.027.717a.749.749 0 1 0 1.056 1.063c.188-.187.516-.283.972-.283.584 0 1.074.323 1.21.757a3 3 0 0 0-1.21-.254c-1.516 0-2.75 1.121-2.75 2.5s1.234 2.5 2.75 2.5c.479.001.95-.114 1.375-.336A.75.75 0 0 0 23.25 20v-3.75c0-1.379-1.234-2.5-2.75-2.5m0 5.5c-.687 0-1.25-.449-1.25-1s.563-1 1.25-1 1.25.449 1.25 1-.562 1-1.25 1"
1149
+ }
1150
+ )
1151
+ ] });
1152
+ React.forwardRef(SvgTextField);
1153
+ const SvgUidField = (props, ref) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", width: 16, height: 16, ref, ...props, children: [
1154
+ /* @__PURE__ */ jsxRuntime.jsx("rect", { width: 31, height: 23, x: 0.5, y: 4.5, fill: "#F0F0FF", stroke: "#D9D8FF", rx: 2.5 }),
1155
+ /* @__PURE__ */ jsxRuntime.jsx(
1156
+ "path",
1157
+ {
1158
+ fill: "#4945FF",
1159
+ d: "M18 9a5.005 5.005 0 0 0-4.756 6.549l-3.598 3.597a.5.5 0 0 0-.146.354V22a.5.5 0 0 0 .5.5h2.5a.5.5 0 0 0 .5-.5v-1h1a.5.5 0 0 0 .5-.5v-1h1a.5.5 0 0 0 .354-.146l.597-.598A5 5 0 1 0 18 9m1.25 4.75a1 1 0 1 1 0-2 1 1 0 0 1 0 2"
1160
+ }
1161
+ )
1162
+ ] });
1163
+ React.forwardRef(SvgUidField);
1164
+ const SvgX = (props, ref) => /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", width: 16, height: 16, ref, ...props, children: /* @__PURE__ */ jsxRuntime.jsxs("g", { fillRule: "evenodd", clipRule: "evenodd", children: [
1165
+ /* @__PURE__ */ jsxRuntime.jsx(
1166
+ "path",
1167
+ {
1168
+ fill: "#FAFAFA",
1169
+ d: "M6.566 6.533c.064.092 1.557 2.264 3.317 4.828l3.617 5.268c.23.334.418.614.418.622s-.086.114-.19.234-.4.462-.654.76l-3.258 3.787c-1.153 1.34-1.32 1.534-2.197 2.556-.47.546-.919 1.068-1 1.16s-.146.177-.146.189c0 .014.295.021.83.021h.83l.911-1.062 1.1-1.279a888 888 0 0 0 2.243-2.61c.043-.048.377-.437.744-.864s.676-.787.689-.8l.431-.502a9 9 0 0 1 .424-.478c.009 0 1.164 1.672 2.567 3.717l2.608 3.797.055.08h2.846c2.34.001 2.843-.004 2.834-.027-.01-.025-1.373-2.013-4.87-7.103-2.517-3.665-2.852-4.157-2.843-4.182.01-.024.353-.425 2.607-3.049l1.779-2.07c.062-.07.388-.45.724-.84l1.96-2.283c.027-.035-.02-.038-.814-.038h-.842l-.375.437a1174 1174 0 0 1-2.23 2.594c-.084.096-.506.586-.938 1.09a129 129 0 0 1-1.004 1.167c-.186.22-.374.44-1.239 1.442-.38.44-.399.459-.43.418-.02-.023-1.132-1.64-2.473-3.594L12.16 6.366H6.45zm2.228 1.165 1.186 1.7c1.196 1.71 5.895 8.436 8.917 12.763a421 421 0 0 0 1.783 2.54c.02.022.301.026 1.314.022l1.287-.005-3.37-4.823-5.963-8.534-2.593-3.712-1.3-.005-1.3-.006z"
1170
+ }
1171
+ ),
1172
+ /* @__PURE__ */ jsxRuntime.jsx(
1173
+ "path",
1174
+ {
1175
+ fill: "#040404",
1176
+ d: "M0 16v16l16.005-.005 16.006-.006.005-15.994L32.022 0H0zm.01.01c0 8.8.003 12.4.006 8s.003-11.6 0-16-.005-.8-.005 8m6.556-9.477c.064.092 1.557 2.264 3.317 4.828l3.617 5.268c.23.334.418.614.418.622s-.086.114-.19.234-.399.462-.654.76l-2.014 2.34-1.244 1.447c-1.153 1.34-1.32 1.534-2.197 2.556-.469.546-.918 1.068-1 1.16-.08.092-.146.177-.146.189 0 .014.295.021.83.021h.83l.911-1.062c.502-.585.996-1.16 1.1-1.279a888 888 0 0 0 2.243-2.61c.043-.048.377-.437.744-.864l.689-.8.431-.502a9 9 0 0 1 .424-.478c.009 0 1.164 1.672 2.567 3.717l2.608 3.797.056.08h2.845c2.34.001 2.843-.004 2.834-.027-.01-.025-1.373-2.013-4.87-7.103-2.517-3.665-2.852-4.157-2.842-4.182.009-.024.352-.425 2.606-3.049l1.78-2.07.723-.84 1.96-2.283c.027-.035-.02-.038-.814-.038h-.842l-.375.437a1129 1129 0 0 1-2.23 2.594c-.084.096-.506.586-.938 1.09a129 129 0 0 1-1.004 1.167c-.186.22-.374.44-1.239 1.442-.38.44-.399.459-.43.418-.02-.023-1.132-1.64-2.473-3.594L12.16 6.366H6.45zm2.228 1.165 1.186 1.7 8.918 12.763a416 416 0 0 0 1.782 2.54c.02.022.301.026 1.314.022l1.287-.005-3.37-4.823-5.963-8.534-2.593-3.712-1.3-.005-1.3-.006z"
1177
+ }
1178
+ )
1179
+ ] }) });
1180
+ React.forwardRef(SvgX);
1181
+ const TreeItem = ({ label, value, children, passedKey = "", onTreeItemClick }) => {
1182
+ const onChange = (key, currentValue) => {
1183
+ onTreeItemClick(key, currentValue);
1184
+ };
1185
+ return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
1186
+ typeof value === "boolean" && /* @__PURE__ */ jsxRuntime.jsx(set.CheckboxImpl, { checked: value, onCheckedChange: () => onChange([passedKey], value), children: label || "-" }),
1187
+ value === null && /* @__PURE__ */ jsxRuntime.jsx(set.CheckboxImpl, { checked: false, disabled: true, children: label || "-" }),
1188
+ children && /* @__PURE__ */ jsxRuntime.jsx("div", { children }, passedKey)
1189
+ ] });
1190
+ };
1191
+ function createBaseFor(fromRight) {
1192
+ return function(object, iteratee, keysFunc) {
1193
+ var index = -1, iterable = Object(object), props = keysFunc(object), length = props.length;
1194
+ while (length--) {
1195
+ var key = props[++index];
1196
+ if (iteratee(iterable[key], key, iterable) === false) {
1197
+ break;
1198
+ }
1199
+ }
1200
+ return object;
1201
+ };
1202
+ }
1203
+ var baseFor = createBaseFor();
1204
+ function baseForOwn(object, iteratee) {
1205
+ return object && baseFor(object, iteratee, set.keys);
1206
+ }
1207
+ function createBaseEach(eachFunc, fromRight) {
1208
+ return function(collection, iteratee) {
1209
+ if (collection == null) {
1210
+ return collection;
1211
+ }
1212
+ if (!set.isArrayLike(collection)) {
1213
+ return eachFunc(collection, iteratee);
1214
+ }
1215
+ var length = collection.length, index = -1, iterable = Object(collection);
1216
+ while (++index < length) {
1217
+ if (iteratee(iterable[index], index, iterable) === false) {
1218
+ break;
1219
+ }
1220
+ }
1221
+ return collection;
1222
+ };
1223
+ }
1224
+ var baseEach = createBaseEach(baseForOwn);
1225
+ function identity(value) {
1226
+ return value;
1227
+ }
1228
+ function castFunction(value) {
1229
+ return typeof value == "function" ? value : identity;
1230
+ }
1231
+ function forEach(collection, iteratee) {
1232
+ var func = set.isArray(collection) ? set.arrayEach : baseEach;
1233
+ return func(collection, castFunction(iteratee));
1234
+ }
1235
+ function flattenObject(obj, delimiter = ".") {
1236
+ const nobj = {};
1237
+ forEach(obj, (val, key) => {
1238
+ if (set.isObject$1(val) && !set.isArray(val)) {
1239
+ const strip = flattenObject(val, delimiter);
1240
+ forEach(strip, (v, k) => {
1241
+ nobj[key + delimiter + k] = v;
1242
+ });
1243
+ } else {
1244
+ nobj[key] = val;
1245
+ }
1246
+ });
1247
+ return nobj;
1248
+ }
1249
+ const Tree = ({ objects, onTreeItemClick, initiallyExpanded = false }) => {
1250
+ const [, setIsExpanded] = React.useState(initiallyExpanded);
1251
+ React.useEffect(() => {
1252
+ setIsExpanded(initiallyExpanded);
1253
+ }, [initiallyExpanded]);
1254
+ const getCheckedState = (hasTruthyValue, hasFalsyValue) => {
1255
+ if (hasTruthyValue && !hasFalsyValue) {
1256
+ return true;
1257
+ }
1258
+ if (hasTruthyValue && hasFalsyValue) {
1259
+ return "indeterminate";
1260
+ }
1261
+ return false;
1262
+ };
1263
+ const createTree = (name, branch, path = "") => {
1264
+ const isBranchObject = typeof branch === "object" && branch !== null;
1265
+ if (isBranchObject) {
1266
+ return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: Object.entries(branch).map(([key, value]) => {
1267
+ const isSubbranchObject = typeof value === "object" && value !== null;
1268
+ let flattened = flattenObject(value);
1269
+ flattened = Object.fromEntries(Object.entries(flattened).filter(([key2]) => !key2.includes("__component__")));
1270
+ const flattenedKeys = Object.keys(flattened).map((k) => `${path}.${key}.${k}`);
1271
+ const hasTruthyValue = Object.values(flattened).some((v) => v);
1272
+ const hasFalsyValue = Object.values(flattened).some((v) => !v && v !== null);
1273
+ const hasAllNullValue = Object.values(flattened).every((v) => v === null);
1274
+ const RESERVED_KEYS_TO_SKIP = ["__model__", "__component__"];
1275
+ if (RESERVED_KEYS_TO_SKIP.includes(key)) {
1276
+ return false;
1277
+ }
1278
+ const passedKey = `${path}.${key}`;
1279
+ return /* @__PURE__ */ jsxRuntime.jsxs(set.Box, { marginTop: 6, marginBottom: 6, marginLeft: 6, children: [
1280
+ isSubbranchObject && /* @__PURE__ */ jsxRuntime.jsx(
1281
+ set.CheckboxImpl,
1282
+ {
1283
+ disabled: hasAllNullValue,
1284
+ checked: getCheckedState(hasTruthyValue, hasFalsyValue),
1285
+ onCheckedChange: () => onTreeItemClick(flattenedKeys, hasTruthyValue),
1286
+ children: /* @__PURE__ */ jsxRuntime.jsxs(set.Flex, { alignItems: "center", children: [
1287
+ !!value?.__component__ && /* @__PURE__ */ jsxRuntime.jsx(set.Flex, { alignItems: "center", marginRight: 2, children: /* @__PURE__ */ jsxRuntime.jsx(ForwardRef$P, { width: "1rem", height: "1rem" }) }),
1288
+ value?.__component__ || key || "-"
1289
+ ] })
1290
+ }
1291
+ ),
1292
+ /* @__PURE__ */ jsxRuntime.jsx(TreeItem, { onTreeItemClick, passedKey, children: createTree(key, value, passedKey) })
1293
+ ] }, passedKey);
1294
+ }) });
1295
+ }
1296
+ return /* @__PURE__ */ jsxRuntime.jsx(TreeItem, { onTreeItemClick, passedKey: path, label: name, value: branch }, path);
1297
+ };
1298
+ return /* @__PURE__ */ jsxRuntime.jsx(set.Box, { children: Object.entries(objects).map(([key, value]) => {
1299
+ return value.__model__ !== void 0 && /* @__PURE__ */ jsxRuntime.jsx(set.Box, { borderColor: "neutral200", hasRadius: true, children: /* @__PURE__ */ jsxRuntime.jsx(set.Accordion.Root, { size: "S", children: /* @__PURE__ */ jsxRuntime.jsxs(set.Accordion.Item, { value: key, children: [
1300
+ /* @__PURE__ */ jsxRuntime.jsxs(set.Flex, { alignItems: "center", justifyContent: "space-between", children: [
1301
+ /* @__PURE__ */ jsxRuntime.jsx(set.Accordion.Header, { style: { flex: 1 }, children: /* @__PURE__ */ jsxRuntime.jsx(set.Accordion.Trigger, { description: key, children: key }) }),
1302
+ /* @__PURE__ */ jsxRuntime.jsx(
1303
+ set.SwitchImpl,
1304
+ {
1305
+ label: `switch_tree_${key}`,
1306
+ onCheckedChange: () => onTreeItemClick([`${key}.__model__`], value.__model__),
1307
+ checked: !!value.__model__,
1308
+ style: { marginRight: "1rem" }
1309
+ }
1310
+ )
1311
+ ] }),
1312
+ /* @__PURE__ */ jsxRuntime.jsx(set.Accordion.Content, { children: createTree(key, value, key) })
1313
+ ] }) }) }, `key`);
1314
+ }) });
1315
+ };
1316
+ const CustomBullet = styled__default.default.div`
1317
+ width: ${4 / 16}rem;
1318
+ height: ${4 / 16}rem;
1319
+ margin-right: ${12 / 16}rem;
1320
+ background-color: ${({ theme }) => theme.colors.neutral600};
1321
+ border-radius: 50%;
1322
+ `;
1323
+ function ContentTransferSetupEmpty() {
1324
+ const { t: t2 } = set.useTranslation();
1325
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
1326
+ /* @__PURE__ */ jsxRuntime.jsx(set.Typography, { textColor: "neutral600", variant: "beta", children: t2("plugin_settings.there_is_nothing_to_transfer") }),
1327
+ /* @__PURE__ */ jsxRuntime.jsx("br", {}),
1328
+ /* @__PURE__ */ jsxRuntime.jsx("br", {}),
1329
+ /* @__PURE__ */ jsxRuntime.jsx(set.Typography, { textColor: "neutral600", variant: "omega", children: t2("plugin_settings.please_check_that_you_have_entered_a_valid_collection") }),
1330
+ /* @__PURE__ */ jsxRuntime.jsx("br", {}),
1331
+ /* @__PURE__ */ jsxRuntime.jsxs(set.Flex, { marginTop: 1, alignItems: "center", children: [
1332
+ /* @__PURE__ */ jsxRuntime.jsx(CustomBullet, {}),
1333
+ /* @__PURE__ */ jsxRuntime.jsx(set.Typography, { textColor: "neutral600", variant: "omega", children: /* @__PURE__ */ jsxRuntime.jsx(
1334
+ Trans,
1335
+ {
1336
+ i18nKey: "plugin_settings.step_1",
1337
+ components: { 1: /* @__PURE__ */ jsxRuntime.jsx(set.Typography, { variant: "omega", fontWeight: "semiBold" }) }
1338
+ }
1339
+ ) })
1340
+ ] }),
1341
+ /* @__PURE__ */ jsxRuntime.jsxs(set.Flex, { marginTop: 1, alignItems: "center", children: [
1342
+ /* @__PURE__ */ jsxRuntime.jsx(CustomBullet, {}),
1343
+ /* @__PURE__ */ jsxRuntime.jsx(set.Typography, { textColor: "neutral600", variant: "omega", children: /* @__PURE__ */ jsxRuntime.jsx(
1344
+ Trans,
1345
+ {
1346
+ i18nKey: "plugin_settings.step_2",
1347
+ components: { 1: /* @__PURE__ */ jsxRuntime.jsx(set.Typography, { variant: "omega", fontWeight: "semiBold" }) }
1348
+ }
1349
+ ) })
1350
+ ] }),
1351
+ /* @__PURE__ */ jsxRuntime.jsxs(set.Flex, { marginTop: 1, alignItems: "center", children: [
1352
+ /* @__PURE__ */ jsxRuntime.jsx(CustomBullet, {}),
1353
+ /* @__PURE__ */ jsxRuntime.jsx(set.Typography, { textColor: "neutral600", variant: "omega", children: /* @__PURE__ */ jsxRuntime.jsx(
1354
+ Trans,
1355
+ {
1356
+ i18nKey: "plugin_settings.step_3",
1357
+ components: { 1: /* @__PURE__ */ jsxRuntime.jsx(set.Typography, { variant: "omega", fontWeight: "semiBold" }) }
1358
+ }
1359
+ ) })
1360
+ ] }),
1361
+ /* @__PURE__ */ jsxRuntime.jsxs(set.Flex, { marginTop: 1, alignItems: "center", children: [
1362
+ /* @__PURE__ */ jsxRuntime.jsx(CustomBullet, {}),
1363
+ /* @__PURE__ */ jsxRuntime.jsx(set.Typography, { textColor: "neutral600", variant: "omega", children: /* @__PURE__ */ jsxRuntime.jsx(
1364
+ Trans,
1365
+ {
1366
+ i18nKey: "plugin_settings.step_4",
1367
+ components: { 1: /* @__PURE__ */ jsxRuntime.jsx(set.Typography, { variant: "omega", fontWeight: "semiBold" }) }
1368
+ }
1369
+ ) })
1370
+ ] }),
1371
+ /* @__PURE__ */ jsxRuntime.jsxs(set.Flex, { marginTop: 1, alignItems: "center", children: [
1372
+ /* @__PURE__ */ jsxRuntime.jsx(CustomBullet, {}),
1373
+ /* @__PURE__ */ jsxRuntime.jsx(set.Typography, { textColor: "neutral600", variant: "omega", children: /* @__PURE__ */ jsxRuntime.jsx(
1374
+ Trans,
1375
+ {
1376
+ i18nKey: "plugin_settings.step_5",
1377
+ components: { 1: /* @__PURE__ */ jsxRuntime.jsx(set.Typography, { variant: "omega", fontWeight: "semiBold" }) }
1378
+ }
1379
+ ) })
1380
+ ] })
1381
+ ] });
1382
+ }
1383
+ const ContentTransferSetup = () => {
1384
+ const { t: t2 } = set.useTranslation();
1385
+ const [isLoading, setIsLoading] = React.useState(true);
1386
+ const [showAlert, setShowAlert] = React.useState(false);
1387
+ const [showModalChangedAlert, setShowModalChangedAlert] = React.useState(false);
1388
+ const [, setItemsExpandedModel] = React.useState([]);
1389
+ const buildItemsExpandedModel = (models) => {
1390
+ const r2 = {};
1391
+ getFilteredModelsSchemas(models).forEach((model, index) => {
1392
+ r2[model.modelUid] = index === 0;
1393
+ });
1394
+ return r2;
1395
+ };
1396
+ const [, setTreeModelsSchemas] = React.useState([]);
1397
+ const [originalFormModel, setOriginalFormModel] = React.useState([]);
1398
+ const [formModel, setFormModel] = React.useState([]);
1399
+ const [hasUnsavedChanges, setHasUnsavedChanges] = React.useState(false);
1400
+ const onCancelClick = () => {
1401
+ setFormModel(set.cloneDeep(originalFormModel));
1402
+ setHasUnsavedChanges(false);
1403
+ };
1404
+ const saveContentTransferSetup = async (data) => {
1405
+ try {
1406
+ await set.PluginSettingsService.updateContentTransferSetup(data);
1407
+ setOriginalFormModel(set.cloneDeep(data));
1408
+ setHasUnsavedChanges(false);
1409
+ setShowAlert(true);
1410
+ setShowModalChangedAlert(false);
1411
+ } catch (e2) {
1412
+ throw e2.data;
1413
+ }
1414
+ };
1415
+ const onTreeItemClick = (keys, currentValue) => {
1416
+ console.log("keys", keys);
1417
+ console.log("currentValue", currentValue);
1418
+ setFormModel((prevState) => {
1419
+ const modelName = keys[0].split(".")[0];
1420
+ let arrayIndex;
1421
+ const model = prevState.find((m, index) => {
1422
+ if (Object.keys(m).includes(modelName)) {
1423
+ arrayIndex = index;
1424
+ return true;
1425
+ }
1426
+ return false;
1427
+ });
1428
+ if (model === void 0) {
1429
+ return prevState;
1430
+ }
1431
+ const newState = set.cloneDeep(prevState);
1432
+ keys.forEach((key) => {
1433
+ if (key.includes("__component__")) {
1434
+ return;
1435
+ }
1436
+ const isEditable = hasModelChanged.get(model, key) !== null;
1437
+ if (isEditable) {
1438
+ set.set(model, key, !currentValue);
1439
+ }
1440
+ });
1441
+ newState.splice(arrayIndex, 1, model);
1442
+ setHasUnsavedChanges(!isEqual.isEqual(originalFormModel, newState) || showModalChangedAlert);
1443
+ return newState;
1444
+ });
1445
+ };
1446
+ const link = "https://localazy.com/docs/strapi";
1447
+ const onReadDocumentationClick = () => {
1448
+ window.open(link, "_blank");
1449
+ };
1450
+ React.useEffect(() => {
1451
+ async function fetchData() {
1452
+ setIsLoading(true);
1453
+ const [models, localizableModels] = await Promise.all([
1454
+ hasModelChanged.StrapiModelService.getModels(),
1455
+ hasModelChanged.StrapiModelService.getLocalizableModels()
1456
+ ]);
1457
+ const storedContentTransferSetup = await set.PluginSettingsService.getContentTransferSetup();
1458
+ const itemsExpandedModel = buildItemsExpandedModel(localizableModels);
1459
+ setItemsExpandedModel(itemsExpandedModel);
1460
+ const allModelsTree = hasModelChanged.getModelsTree(models, models);
1461
+ const localizableTree = hasModelChanged.getModelsTree(models, localizableModels);
1462
+ setTreeModelsSchemas(localizableTree);
1463
+ const computedFormModel = buildContentTransferSetupSchema(
1464
+ localizableTree,
1465
+ storedContentTransferSetup.setup,
1466
+ allModelsTree
1467
+ );
1468
+ setFormModel(computedFormModel);
1469
+ setOriginalFormModel(set.cloneDeep(computedFormModel));
1470
+ console.log("computedFormModel");
1471
+ console.log(computedFormModel);
1472
+ const localHasModelChanged = await hasModelChanged.hasModelChanged(localizableTree, storedContentTransferSetup.setup);
1473
+ setShowModalChangedAlert(localHasModelChanged);
1474
+ setHasUnsavedChanges(localHasModelChanged);
1475
+ setIsLoading(false);
1476
+ }
1477
+ fetchData();
1478
+ }, []);
1479
+ return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
1480
+ /* @__PURE__ */ jsxRuntime.jsx(
1481
+ admin.Layouts.Header,
1482
+ {
1483
+ title: t2("plugin_settings.content_transfer_setup"),
1484
+ subtitle: t2("plugin_settings.content_transfer_setup_description"),
1485
+ primaryAction: /* @__PURE__ */ jsxRuntime.jsxs(set.Flex, { gap: 2, children: [
1486
+ /* @__PURE__ */ jsxRuntime.jsx(set.Button, { variant: "secondary", disabled: !hasUnsavedChanges, onClick: onCancelClick, children: t2("plugin_settings.cancel") }),
1487
+ /* @__PURE__ */ jsxRuntime.jsx(
1488
+ set.Button,
1489
+ {
1490
+ startIcon: /* @__PURE__ */ jsxRuntime.jsx(set.ForwardRef$4z, {}),
1491
+ disabled: !hasUnsavedChanges,
1492
+ onClick: () => {
1493
+ saveContentTransferSetup(formModel);
1494
+ },
1495
+ children: t2("plugin_settings.save")
1496
+ }
1497
+ )
1498
+ ] }),
1499
+ as: "h2"
1500
+ }
1501
+ ),
1502
+ /* @__PURE__ */ jsxRuntime.jsxs(set.Box, { marginRight: 10, marginLeft: 10, children: [
1503
+ !isLoading && showAlert && /* @__PURE__ */ jsxRuntime.jsx(set.Box, { marginBottom: 8, children: /* @__PURE__ */ jsxRuntime.jsx(
1504
+ set.Alert,
1505
+ {
1506
+ onClose: () => setShowAlert(false),
1507
+ closeLabel: t2("plugin_settings.close"),
1508
+ title: t2("plugin_settings.content_transfer_setup_saved"),
1509
+ variant: "success",
1510
+ children: t2("plugin_settings.content_transfer_setup_saved_successfully")
1511
+ }
1512
+ ) }),
1513
+ !isLoading && showModalChangedAlert && /* @__PURE__ */ jsxRuntime.jsx(set.Box, { marginBottom: 8, children: /* @__PURE__ */ jsxRuntime.jsx(
1514
+ set.Alert,
1515
+ {
1516
+ onClose: () => setShowModalChangedAlert(false),
1517
+ closeLabel: t2("plugin_settings.close"),
1518
+ title: t2("plugin_settings.content_types_model_changed"),
1519
+ variant: "default",
1520
+ children: t2("plugin_settings.please_update_your_content")
1521
+ }
1522
+ ) }),
1523
+ !isLoading && /* @__PURE__ */ jsxRuntime.jsxs(set.Box, { background: "neutral0", padding: 7, paddingTop: 6, shadow: "tableShadow", hasRadius: true, children: [
1524
+ !formModel.length && // empty state
1525
+ /* @__PURE__ */ jsxRuntime.jsx(ContentTransferSetupEmpty, {}),
1526
+ formModel.map((tree, index) => {
1527
+ return /* @__PURE__ */ jsxRuntime.jsx(set.Box, { marginBottom: 3, children: /* @__PURE__ */ jsxRuntime.jsx(Tree, { onTreeItemClick, objects: tree, initiallyExpanded: index === 0 }) }, `box_tree_${index}`);
1528
+ }),
1529
+ !!formModel.length && /* @__PURE__ */ jsxRuntime.jsxs(set.Box, { children: [
1530
+ /* @__PURE__ */ jsxRuntime.jsx(set.Box, { paddingTop: 6, paddingBottom: 6, children: /* @__PURE__ */ jsxRuntime.jsx(set.Divider, {}) }),
1531
+ /* @__PURE__ */ jsxRuntime.jsx(set.Typography, { variant: "omega", children: t2("plugin_settings.you_can_upload_download") }),
1532
+ /* @__PURE__ */ jsxRuntime.jsx(set.Typography, { variant: "omega", fontWeight: "semiBold", children: t2("plugin_settings.only_text_based_content") }),
1533
+ /* @__PURE__ */ jsxRuntime.jsx("br", {}),
1534
+ /* @__PURE__ */ jsxRuntime.jsx("br", {}),
1535
+ /* @__PURE__ */ jsxRuntime.jsx(set.Typography, { variant: "omega", children: t2("plugin_settings.learn_more_in_docs_message_a") }),
1536
+ /* @__PURE__ */ jsxRuntime.jsx(
1537
+ set.Typography,
1538
+ {
1539
+ onClick: onReadDocumentationClick,
1540
+ variant: "omega",
1541
+ fontWeight: "semiBold",
1542
+ textColor: "primary600",
1543
+ style: { cursor: "pointer" },
1544
+ children: t2("plugin_settings.learn_more_in_docs_message_b")
1545
+ }
1546
+ )
1547
+ ] })
1548
+ ] })
1549
+ ] })
1550
+ ] });
1551
+ };
1552
+ exports.ContentTransferSetup = ContentTransferSetup;