@intlayer/design-system 4.1.6 → 4.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/DictionaryEditor/ValidDictionaryChangeButtons.cjs +6 -2
- package/dist/components/DictionaryEditor/ValidDictionaryChangeButtons.cjs.map +1 -1
- package/dist/components/DictionaryEditor/ValidDictionaryChangeButtons.d.ts.map +1 -1
- package/dist/components/DictionaryEditor/ValidDictionaryChangeButtons.mjs +6 -2
- package/dist/components/DictionaryEditor/ValidDictionaryChangeButtons.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.cjs +10 -4
- package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.mjs +10 -4
- package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.mjs.map +1 -1
- package/dist/hooks/intlayerAPIHooks.cjs +2 -2
- package/dist/hooks/intlayerAPIHooks.cjs.map +1 -1
- package/dist/hooks/intlayerAPIHooks.d.ts.map +1 -1
- package/dist/hooks/intlayerAPIHooks.mjs +2 -2
- package/dist/hooks/intlayerAPIHooks.mjs.map +1 -1
- package/package.json +22 -19
- package/dist/CodeBlockShiki-BlmZyrr7.cjs +0 -29
- package/dist/CodeBlockShiki-BlmZyrr7.cjs.map +0 -1
- package/dist/CodeBlockShiki-CcpV9SVi.js +0 -29
- package/dist/CodeBlockShiki-CcpV9SVi.js.map +0 -1
- package/dist/CopyButton-Cxu3goRg.cjs +0 -59
- package/dist/CopyButton-Cxu3goRg.cjs.map +0 -1
- package/dist/CopyButton-DlcDlf6U.js +0 -60
- package/dist/CopyButton-DlcDlf6U.js.map +0 -1
- package/dist/Form-0D7KBafQ.cjs +0 -311
- package/dist/Form-0D7KBafQ.cjs.map +0 -1
- package/dist/Form-7BqwvjVI.cjs +0 -320
- package/dist/Form-7BqwvjVI.cjs.map +0 -1
- package/dist/Form-B2UufQRJ.cjs +0 -319
- package/dist/Form-B2UufQRJ.cjs.map +0 -1
- package/dist/Form-BB0kpER9.cjs +0 -301
- package/dist/Form-BB0kpER9.cjs.map +0 -1
- package/dist/Form-BDcoNTLV.cjs +0 -300
- package/dist/Form-BDcoNTLV.cjs.map +0 -1
- package/dist/Form-BTogr-fp.js +0 -312
- package/dist/Form-BTogr-fp.js.map +0 -1
- package/dist/Form-BVkkvSKP.js +0 -312
- package/dist/Form-BVkkvSKP.js.map +0 -1
- package/dist/Form-Be6Uhb5-.js +0 -312
- package/dist/Form-Be6Uhb5-.js.map +0 -1
- package/dist/Form-BmQQnl-6.js +0 -312
- package/dist/Form-BmQQnl-6.js.map +0 -1
- package/dist/Form-BoWOdiwq.js +0 -321
- package/dist/Form-BoWOdiwq.js.map +0 -1
- package/dist/Form-Bp_ubH9I.cjs +0 -311
- package/dist/Form-Bp_ubH9I.cjs.map +0 -1
- package/dist/Form-BtqRbgLu.cjs +0 -311
- package/dist/Form-BtqRbgLu.cjs.map +0 -1
- package/dist/Form-COVZyto7.cjs +0 -311
- package/dist/Form-COVZyto7.cjs.map +0 -1
- package/dist/Form-CVD_3nCD.js +0 -312
- package/dist/Form-CVD_3nCD.js.map +0 -1
- package/dist/Form-Cfklj1_H.js +0 -320
- package/dist/Form-Cfklj1_H.js.map +0 -1
- package/dist/Form-ClAAiVNm.cjs +0 -311
- package/dist/Form-ClAAiVNm.cjs.map +0 -1
- package/dist/Form-DGLgTAdY.js +0 -302
- package/dist/Form-DGLgTAdY.js.map +0 -1
- package/dist/Form-DhsgC7kB.js +0 -301
- package/dist/Form-DhsgC7kB.js.map +0 -1
- package/dist/Form-Dv0uHqbL.cjs +0 -320
- package/dist/Form-Dv0uHqbL.cjs.map +0 -1
- package/dist/Form-OK9zfg6E.js +0 -321
- package/dist/Form-OK9zfg6E.js.map +0 -1
- package/dist/components/ContentEditor/ContentEditorCode.cjs +0 -78
- package/dist/components/ContentEditor/ContentEditorCode.cjs.map +0 -1
- package/dist/components/ContentEditor/ContentEditorCode.d.ts +0 -11
- package/dist/components/ContentEditor/ContentEditorCode.d.ts.map +0 -1
- package/dist/components/ContentEditor/ContentEditorCode.mjs +0 -78
- package/dist/components/ContentEditor/ContentEditorCode.mjs.map +0 -1
- package/dist/components/DictionaryEditor/useEditedContentStore.cjs +0 -490
- package/dist/components/DictionaryEditor/useEditedContentStore.cjs.map +0 -1
- package/dist/components/DictionaryEditor/useEditedContentStore.d.ts +0 -28
- package/dist/components/DictionaryEditor/useEditedContentStore.d.ts.map +0 -1
- package/dist/components/DictionaryEditor/useEditedContentStore.mjs +0 -490
- package/dist/components/DictionaryEditor/useEditedContentStore.mjs.map +0 -1
- package/dist/components/DictionaryEditor/useEditionPanelStore.cjs +0 -15
- package/dist/components/DictionaryEditor/useEditionPanelStore.cjs.map +0 -1
- package/dist/components/DictionaryEditor/useEditionPanelStore.d.ts +0 -15
- package/dist/components/DictionaryEditor/useEditionPanelStore.d.ts.map +0 -1
- package/dist/components/DictionaryEditor/useEditionPanelStore.mjs +0 -15
- package/dist/components/DictionaryEditor/useEditionPanelStore.mjs.map +0 -1
- package/dist/components/DictionaryFieldEditor/LocaleSelector/LocaleSelector.d.ts +0 -8
- package/dist/components/DictionaryFieldEditor/LocaleSelector/LocaleSelector.d.ts.map +0 -1
- package/dist/components/DictionaryFieldEditor/LocaleSelector/LocaleSelectorContext.d.ts +0 -13
- package/dist/components/DictionaryFieldEditor/LocaleSelector/LocaleSelectorContext.d.ts.map +0 -1
- package/dist/components/DictionaryFieldEditor/LocaleSelector/localeSelector.content.d.ts +0 -9
- package/dist/components/DictionaryFieldEditor/LocaleSelector/localeSelector.content.d.ts.map +0 -1
- package/dist/components/DropDown/types.cjs +0 -2
- package/dist/components/DropDown/types.cjs.map +0 -1
- package/dist/components/DropDown/types.d.ts +0 -19
- package/dist/components/DropDown/types.d.ts.map +0 -1
- package/dist/components/DropDown/types.mjs +0 -2
- package/dist/components/DropDown/types.mjs.map +0 -1
- package/dist/components/IDE/CodeBlock.cjs +0 -54
- package/dist/components/IDE/CodeBlock.cjs.map +0 -1
- package/dist/components/IDE/CodeBlock.d.ts +0 -12
- package/dist/components/IDE/CodeBlock.d.ts.map +0 -1
- package/dist/components/IDE/CodeBlock.mjs +0 -54
- package/dist/components/IDE/CodeBlock.mjs.map +0 -1
- package/dist/components/IDE/CodeBlockLoader.cjs +0 -28
- package/dist/components/IDE/CodeBlockLoader.cjs.map +0 -1
- package/dist/components/IDE/CodeBlockLoader.d.ts +0 -4
- package/dist/components/IDE/CodeBlockLoader.d.ts.map +0 -1
- package/dist/components/IDE/CodeBlockLoader.mjs +0 -28
- package/dist/components/IDE/CodeBlockLoader.mjs.map +0 -1
- package/dist/components/IDE/CodeBlockShiki.d.ts +0 -3
- package/dist/components/IDE/CodeBlockShiki.d.ts.map +0 -1
- package/dist/components/IDE/CodeRender copy.cjs +0 -141
- package/dist/components/IDE/CodeRender copy.cjs.map +0 -1
- package/dist/components/IDE/CodeRender copy.d.ts +0 -14
- package/dist/components/IDE/CodeRender copy.d.ts.map +0 -1
- package/dist/components/IDE/CodeRender copy.mjs +0 -141
- package/dist/components/IDE/CodeRender copy.mjs.map +0 -1
- package/dist/components/IDE/CodeRender.cjs +0 -49
- package/dist/components/IDE/CodeRender.cjs.map +0 -1
- package/dist/components/IDE/CodeRender.d.ts +0 -9
- package/dist/components/IDE/CodeRender.d.ts.map +0 -1
- package/dist/components/IDE/CodeRender.mjs +0 -49
- package/dist/components/IDE/CodeRender.mjs.map +0 -1
- package/dist/components/IDE/CodeRenderer.cjs +0 -27
- package/dist/components/IDE/CodeRenderer.cjs.map +0 -1
- package/dist/components/IDE/CodeRenderer.d.ts +0 -5
- package/dist/components/IDE/CodeRenderer.d.ts.map +0 -1
- package/dist/components/IDE/CodeRenderer.mjs +0 -27
- package/dist/components/IDE/CodeRenderer.mjs.map +0 -1
- package/dist/components/IDE/EditableCodeBlock.d.ts +0 -9
- package/dist/components/IDE/EditableCodeBlock.d.ts.map +0 -1
- package/dist/components/LocaleSwitcherContentDropDown/LocaleSelectorContext.d.ts +0 -13
- package/dist/components/LocaleSwitcherContentDropDown/LocaleSelectorContext.d.ts.map +0 -1
- package/dist/design-system.css +0 -235
- package/dist/index-Ai6eeqZH.js +0 -702
- package/dist/index-Ai6eeqZH.js.map +0 -1
- package/dist/index-B-VAyQ9R.js +0 -673
- package/dist/index-B-VAyQ9R.js.map +0 -1
- package/dist/index-B1nU1-65.cjs +0 -690
- package/dist/index-B1nU1-65.cjs.map +0 -1
- package/dist/index-B2UElBcQ.cjs +0 -200
- package/dist/index-B2UElBcQ.cjs.map +0 -1
- package/dist/index-BIV0x_z2.js +0 -206
- package/dist/index-BIV0x_z2.js.map +0 -1
- package/dist/index-BIyA5LAs.js +0 -691
- package/dist/index-BIyA5LAs.js.map +0 -1
- package/dist/index-BMzh1_UJ.js +0 -201
- package/dist/index-BMzh1_UJ.js.map +0 -1
- package/dist/index-BNH9wXVj.cjs +0 -205
- package/dist/index-BNH9wXVj.cjs.map +0 -1
- package/dist/index-BbqOa6BU.cjs +0 -701
- package/dist/index-BbqOa6BU.cjs.map +0 -1
- package/dist/index-BdTa-9zc.js +0 -201
- package/dist/index-BdTa-9zc.js.map +0 -1
- package/dist/index-BqZwP4Lr.js +0 -691
- package/dist/index-BqZwP4Lr.js.map +0 -1
- package/dist/index-BtZWYJhL.cjs +0 -200
- package/dist/index-BtZWYJhL.cjs.map +0 -1
- package/dist/index-Buecpjbh.cjs +0 -690
- package/dist/index-Buecpjbh.cjs.map +0 -1
- package/dist/index-CDEJjmId.js +0 -694
- package/dist/index-CDEJjmId.js.map +0 -1
- package/dist/index-CTAyk6RY.cjs +0 -693
- package/dist/index-CTAyk6RY.cjs.map +0 -1
- package/dist/index-CVC2sfEj.js +0 -693
- package/dist/index-CVC2sfEj.js.map +0 -1
- package/dist/index-CVz0RdK6.js +0 -691
- package/dist/index-CVz0RdK6.js.map +0 -1
- package/dist/index-CjF2ksU7.cjs +0 -693
- package/dist/index-CjF2ksU7.cjs.map +0 -1
- package/dist/index-CuQs5759.cjs +0 -692
- package/dist/index-CuQs5759.cjs.map +0 -1
- package/dist/index-D69JRZcQ.js +0 -206
- package/dist/index-D69JRZcQ.js.map +0 -1
- package/dist/index-D9oaKvKC.js +0 -201
- package/dist/index-D9oaKvKC.js.map +0 -1
- package/dist/index-DFc7og1d.cjs +0 -671
- package/dist/index-DFc7og1d.cjs.map +0 -1
- package/dist/index-DTCehvKe.cjs +0 -200
- package/dist/index-DTCehvKe.cjs.map +0 -1
- package/dist/index-D_MDocy7.cjs +0 -690
- package/dist/index-D_MDocy7.cjs.map +0 -1
- package/dist/index-DcWYZrJW.js +0 -672
- package/dist/index-DcWYZrJW.js.map +0 -1
- package/dist/index-Djo2Jnua.cjs +0 -693
- package/dist/index-Djo2Jnua.cjs.map +0 -1
- package/dist/index-LFTthFne.js +0 -694
- package/dist/index-LFTthFne.js.map +0 -1
- package/dist/index-SOIahRpS.cjs +0 -205
- package/dist/index-SOIahRpS.cjs.map +0 -1
- package/dist/index-T-TjVQoD.js +0 -671
- package/dist/index-T-TjVQoD.js.map +0 -1
- package/dist/index-f8_VC6c8.cjs +0 -672
- package/dist/index-f8_VC6c8.cjs.map +0 -1
- package/dist/index-llGIfxqV.cjs +0 -670
- package/dist/index-llGIfxqV.cjs.map +0 -1
- package/dist/index-xZoGTokf.js +0 -694
- package/dist/index-xZoGTokf.js.map +0 -1
- package/dist/jsx-runtime-CL03FswV.cjs +0 -506
- package/dist/jsx-runtime-CL03FswV.cjs.map +0 -1
- package/dist/jsx-runtime-DaNGiM0W.js +0 -945
- package/dist/jsx-runtime-DaNGiM0W.js.map +0 -1
- package/dist/jsx-runtime-XHKiWCTo.cjs +0 -944
- package/dist/jsx-runtime-XHKiWCTo.cjs.map +0 -1
- package/dist/jsx-runtime-kmx34TxC.js +0 -507
- package/dist/jsx-runtime-kmx34TxC.js.map +0 -1
- package/dist/libs/index.cjs +0 -6
- package/dist/libs/index.cjs.map +0 -1
- package/dist/libs/index.d.ts +0 -2
- package/dist/libs/index.d.ts.map +0 -1
- package/dist/libs/index.mjs +0 -6
- package/dist/libs/index.mjs.map +0 -1
- package/dist/libs/intlayer-api/ai.cjs +0 -64
- package/dist/libs/intlayer-api/ai.cjs.map +0 -1
- package/dist/libs/intlayer-api/ai.d.ts +0 -18
- package/dist/libs/intlayer-api/ai.d.ts.map +0 -1
- package/dist/libs/intlayer-api/ai.mjs +0 -64
- package/dist/libs/intlayer-api/ai.mjs.map +0 -1
- package/dist/libs/intlayer-api/auth.cjs +0 -141
- package/dist/libs/intlayer-api/auth.cjs.map +0 -1
- package/dist/libs/intlayer-api/auth.d.ts +0 -38
- package/dist/libs/intlayer-api/auth.d.ts.map +0 -1
- package/dist/libs/intlayer-api/auth.mjs +0 -141
- package/dist/libs/intlayer-api/auth.mjs.map +0 -1
- package/dist/libs/intlayer-api/dictionary.cjs +0 -78
- package/dist/libs/intlayer-api/dictionary.cjs.map +0 -1
- package/dist/libs/intlayer-api/dictionary.d.ts +0 -22
- package/dist/libs/intlayer-api/dictionary.d.ts.map +0 -1
- package/dist/libs/intlayer-api/dictionary.mjs +0 -78
- package/dist/libs/intlayer-api/dictionary.mjs.map +0 -1
- package/dist/libs/intlayer-api/fetcher.cjs +0 -73
- package/dist/libs/intlayer-api/fetcher.cjs.map +0 -1
- package/dist/libs/intlayer-api/fetcher.d.ts +0 -70
- package/dist/libs/intlayer-api/fetcher.d.ts.map +0 -1
- package/dist/libs/intlayer-api/fetcher.mjs +0 -73
- package/dist/libs/intlayer-api/fetcher.mjs.map +0 -1
- package/dist/libs/intlayer-api/index.cjs +0 -24
- package/dist/libs/intlayer-api/index.cjs.map +0 -1
- package/dist/libs/intlayer-api/index.d.ts +0 -157
- package/dist/libs/intlayer-api/index.d.ts.map +0 -1
- package/dist/libs/intlayer-api/index.mjs +0 -24
- package/dist/libs/intlayer-api/index.mjs.map +0 -1
- package/dist/libs/intlayer-api/organization.cjs +0 -96
- package/dist/libs/intlayer-api/organization.cjs.map +0 -1
- package/dist/libs/intlayer-api/organization.d.ts +0 -26
- package/dist/libs/intlayer-api/organization.d.ts.map +0 -1
- package/dist/libs/intlayer-api/organization.mjs +0 -96
- package/dist/libs/intlayer-api/organization.mjs.map +0 -1
- package/dist/libs/intlayer-api/project.cjs +0 -110
- package/dist/libs/intlayer-api/project.cjs.map +0 -1
- package/dist/libs/intlayer-api/project.d.ts +0 -28
- package/dist/libs/intlayer-api/project.d.ts.map +0 -1
- package/dist/libs/intlayer-api/project.mjs +0 -110
- package/dist/libs/intlayer-api/project.mjs.map +0 -1
- package/dist/libs/intlayer-api/stripe.cjs +0 -31
- package/dist/libs/intlayer-api/stripe.cjs.map +0 -1
- package/dist/libs/intlayer-api/stripe.d.ts +0 -8
- package/dist/libs/intlayer-api/stripe.d.ts.map +0 -1
- package/dist/libs/intlayer-api/stripe.mjs +0 -31
- package/dist/libs/intlayer-api/stripe.mjs.map +0 -1
- package/dist/libs/intlayer-api/tag.cjs +0 -52
- package/dist/libs/intlayer-api/tag.cjs.map +0 -1
- package/dist/libs/intlayer-api/tag.d.ts +0 -16
- package/dist/libs/intlayer-api/tag.d.ts.map +0 -1
- package/dist/libs/intlayer-api/tag.mjs +0 -52
- package/dist/libs/intlayer-api/tag.mjs.map +0 -1
- package/dist/libs/intlayer-api/user.cjs +0 -70
- package/dist/libs/intlayer-api/user.cjs.map +0 -1
- package/dist/libs/intlayer-api/user.d.ts +0 -22
- package/dist/libs/intlayer-api/user.d.ts.map +0 -1
- package/dist/libs/intlayer-api/user.mjs +0 -70
- package/dist/libs/intlayer-api/user.mjs.map +0 -1
- package/dist/navigation-CE0LMHcY.cjs +0 -8538
- package/dist/navigation-CE0LMHcY.cjs.map +0 -1
- package/dist/navigation-DFabQmdZ.js +0 -914
- package/dist/navigation-DFabQmdZ.js.map +0 -1
- package/dist/navigation-DRtAVQJF.js +0 -8521
- package/dist/navigation-DRtAVQJF.js.map +0 -1
- package/dist/navigation-a7EfWhxz.cjs +0 -913
- package/dist/navigation-a7EfWhxz.cjs.map +0 -1
- package/dist/shallow-lhDIFtEp.cjs +0 -48
- package/dist/shallow-lhDIFtEp.cjs.map +0 -1
- package/dist/shallow-m9BpCkKh.js +0 -49
- package/dist/shallow-m9BpCkKh.js.map +0 -1
- package/dist/useGetAllDictionaries-B1sqs2IB.cjs +0 -34
- package/dist/useGetAllDictionaries-B1sqs2IB.cjs.map +0 -1
- package/dist/useGetAllDictionaries-BbH8vTkY.js +0 -35
- package/dist/useGetAllDictionaries-BbH8vTkY.js.map +0 -1
- package/dist/useGetAllDictionaries-Bgkytpa2.cjs +0 -34
- package/dist/useGetAllDictionaries-Bgkytpa2.cjs.map +0 -1
- package/dist/useGetAllDictionaries-D8ma3h41.cjs +0 -33
- package/dist/useGetAllDictionaries-D8ma3h41.cjs.map +0 -1
- package/dist/useGetAllDictionaries-DHgHEbD5.js +0 -34
- package/dist/useGetAllDictionaries-DHgHEbD5.js.map +0 -1
- package/dist/useGetAllDictionaries-DUzm0rIa.js +0 -35
- package/dist/useGetAllDictionaries-DUzm0rIa.js.map +0 -1
- package/dist/utils/dictionary.cjs +0 -158
- package/dist/utils/dictionary.cjs.map +0 -1
- package/dist/utils/dictionary.d.ts +0 -7
- package/dist/utils/dictionary.d.ts.map +0 -1
- package/dist/utils/dictionary.mjs +0 -158
- package/dist/utils/dictionary.mjs.map +0 -1
- /package/dist/components/IDE/{CodeBlockclient.d.ts → CodeBlockClient.d.ts} +0 -0
- /package/dist/components/IDE/{CodeBlockclient.d.ts.map → CodeBlockClient.d.ts.map} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-xZoGTokf.js","sources":["../../api/src/fetcher.ts","../../api/src/getIntlayerAPI/ai.ts","../../api/src/getIntlayerAPI/auth.ts","../../api/src/getIntlayerAPI/dictionary.ts","../../api/src/getIntlayerAPI/editor.ts","../../api/src/getIntlayerAPI/organization.ts","../../api/src/getIntlayerAPI/project.ts","../../api/src/getIntlayerAPI/stripe.ts","../../api/src/getIntlayerAPI/tag.ts","../../api/src/getIntlayerAPI/user.ts","../../api/src/getIntlayerAPI/index.ts"],"sourcesContent":["/**\n * Type definition for options used in the fetcher function.\n * Extends the standard RequestInit interface (excluding 'body'),\n * and adds 'body' and 'params' properties for convenience.\n */\nexport type FetcherOptions = Omit<RequestInit, 'body'> & {\n /**\n * Body of the request. Should be a key-value pair object.\n */\n body?: Record<string, unknown>;\n /**\n * Query parameters to be appended to the URL.\n */\n params?:\n | Record<string, string | string[] | undefined>\n | string[]\n | URLSearchParams;\n};\n\n/**\n * Default options for the fetcher function.\n * Sets the default method to 'GET', the 'Content-Type' header to 'application/json',\n * and includes credentials in the request.\n */\nexport const fetcherOptions: FetcherOptions = {\n method: 'GET', // Default HTTP method\n headers: {\n 'Content-Type': 'application/json', // Default content type\n },\n credentials: 'include', // Include cookies in the request\n};\n\n/**\n * Utility function to remove properties with undefined values from an object.\n * This helps prevent sending undefined values in the request options.\n *\n * @param obj - The object to clean.\n * @returns The cleaned object without undefined values.\n */\nconst removeUndefined = (obj: object) => {\n Object.keys(obj).forEach((key) => {\n if (obj[key as keyof typeof obj] === undefined) {\n delete obj[key as keyof typeof obj];\n }\n });\n return obj;\n};\n\n/**\n * Deeply merges an array of objects into a single object.\n * Later objects in the array overwrite properties of earlier ones.\n *\n * @template T - The type of objects being merged.\n * @param objects - An array of objects to merge.\n * @returns The merged object.\n */\nconst deepMerge = <T extends object>(objects: (T | undefined)[]): T =>\n objects.reduce((acc, obj) => {\n const acc1: T = (acc ?? {}) as T;\n const obj1: T = removeUndefined(obj ?? {}) as T;\n\n if (typeof acc1 === 'object' && typeof obj1 === 'object') {\n // Merge the two objects\n return { ...acc1, ...obj1 };\n }\n\n // If one of them is not an object, return the defined one\n return obj1 ?? acc1;\n }, {} as T)!;\n\n/**\n * Fetcher function to make HTTP requests.\n * It merges default options with user-provided options,\n * handles query parameters and request body,\n * and returns the parsed JSON response.\n *\n * @template T - The expected type of the response data.\n * @param url - The endpoint URL.\n * @param options - Additional options to customize the request.\n * @returns A promise that resolves with the response data of type T.\n *\n * @example\n * ```typescript\n * // Making a GET request with query parameters\n * const data = await fetcher<MyResponseType>('https://api.example.com/data', {\n * params: { search: 'query' },\n * });\n *\n * // Making a POST request with a JSON body\n * const result = await fetcher<AnotherResponseType>('https://api.example.com/submit', {\n * method: 'POST',\n * body: { key: 'value' },\n * });\n *\n * // Merge body, headers, and params\n * const result = await fetcher<AnotherResponseType>('https://api.example.com/submit', {\n * method: 'POST',\n * body: { key: 'value' },\n * headers: { 'Content-Type': 'application/json' },\n * params: { search: 'query' },\n * },\n * {\n * headers: { 'Content-Type': 'application/x-www-form-urlencoded' },\n * params: { page: 1 },\n * });\n * ```\n *\n * Result:\n * ```typescript\n * {\n * method: 'POST',\n * headers: { 'Content-Type': 'application/x-www-form-urlencoded' },\n * params: { page: 1, search: 'query' },\n * body: { key: 'value' },\n * }\n * ```\n */\nexport const fetcher = async <T>(\n url: string,\n ...options: FetcherOptions[]\n): Promise<T> => {\n const { signal } = new AbortController();\n\n // Initialize query parameters string and request body string\n let paramsString = '';\n let bodyString: string | undefined = undefined;\n\n // Extract other options excluding 'body', 'params', and 'headers'\n const otherOptions = options.map(\n ({ body, params, headers, ...otherOptions }) => otherOptions\n );\n\n // Merge default options with user-provided options\n const mergedOptions = deepMerge([fetcherOptions, ...otherOptions]);\n\n // Merge default headers with user-provided headers\n const mergedHeaders = deepMerge([\n fetcherOptions.headers,\n ...options.map((option) => option.headers),\n ]);\n\n // Merge query parameters\n const params = deepMerge(options.map((option) => option.params));\n\n const method = mergedOptions.method;\n\n // If the request method is not 'GET' or 'HEAD', prepare the request body\n if (method !== 'GET' && method !== 'HEAD') {\n // Merge all 'body' options\n const body = deepMerge(options.map((option) => option.body));\n if (\n mergedHeaders?.['Content-Type' as keyof HeadersInit] ===\n 'application/x-www-form-urlencoded'\n ) {\n // If the content type is 'application/x-www-form-urlencoded', encode the body accordingly\n bodyString = new URLSearchParams(\n body as Record<string, string>\n ).toString();\n } else {\n // Otherwise, stringify the body as JSON\n bodyString = JSON.stringify(body);\n }\n }\n\n // If there are query parameters, append them to the URL\n if (Object.entries(params).length > 0) {\n paramsString = `?${new URLSearchParams(\n params as Record<string, string>\n ).toString()}`;\n }\n\n // Prepare the final request options\n const formattedOptions: RequestInit = {\n ...mergedOptions,\n headers: mergedHeaders,\n body: bodyString,\n signal,\n };\n\n // Construct the full URL with query parameters\n const urlResult = `${url}${paramsString}`;\n\n // Make the HTTP request using fetch\n const response = await fetch(urlResult, formattedOptions);\n\n if (!response.ok) {\n const result = await response.json();\n\n console.error(result);\n\n // You can customize the error message or include more details\n throw new Error(JSON.stringify(result.error) ?? 'An error occurred');\n }\n return await response.json();\n};\n","import type {\n // @ts-ignore: @intlayer/backend is not built yet\n AuditContentDeclarationBody,\n // @ts-ignore: @intlayer/backend is not built yet\n AuditContentDeclarationFieldBody,\n // @ts-ignore: @intlayer/backend is not built yet\n AuditContentDeclarationFieldResult,\n // @ts-ignore: @intlayer/backend is not built yet\n AuditContentDeclarationMetadataBody,\n // @ts-ignore: @intlayer/backend is not built yet\n AuditContentDeclarationMetadataResult,\n // @ts-ignore: @intlayer/backend is not built yet\n AuditContentDeclarationResult,\n // @ts-ignore: @intlayer/backend is not built yet\n AuditTagBody,\n // @ts-ignore: @intlayer/backend is not built yet\n AuditTagResult,\n // @ts-ignore: @intlayer/backend is not built yet\n AskDocQuestionBody,\n // @ts-ignore: @intlayer/backend is not built yet\n AskDocQuestionResult,\n // @ts-ignore: @intlayer/backend is not built yet\n} from '@intlayer/backend';\n\nimport { getConfiguration, type IntlayerConfig } from '@intlayer/config/client';\nimport { fetcher, type FetcherOptions } from '../fetcher';\n\nexport const getAiAPI = (\n authAPIOptions: FetcherOptions = {},\n intlayerConfig?: IntlayerConfig\n) => {\n const { backendURL } = (intlayerConfig ?? getConfiguration()).editor;\n const AI_API_ROUTE = `${backendURL}/api/ai`;\n\n /**\n * Audits a content declaration file\n * @param body - Audit file parameters.\n * @returns Audited file content.\n */\n const auditContentDeclaration = async (\n body?: AuditContentDeclarationBody,\n otherOptions: FetcherOptions = {}\n ) =>\n await fetcher<AuditContentDeclarationResult>(\n `${AI_API_ROUTE}/audit/content-declaration`,\n authAPIOptions,\n otherOptions,\n {\n method: 'POST',\n body: body,\n }\n );\n\n /**\n * Audits a content declaration field\n * @param body - Audit file parameters.\n * @returns Audited file content.\n */\n const auditContentDeclarationField = async (\n body?: AuditContentDeclarationFieldBody,\n otherOptions: FetcherOptions = {}\n ) =>\n await fetcher<AuditContentDeclarationFieldResult>(\n `${AI_API_ROUTE}/audit/content-declaration/field`,\n authAPIOptions,\n otherOptions,\n {\n method: 'POST',\n body: body,\n }\n );\n\n /**\n * Audits a content declaration file to retrieve title, description and tags\n * @param body - Audit file parameters.\n * @returns Audited file content.\n */\n const auditContentDeclarationMetadata = async (\n body?: AuditContentDeclarationMetadataBody,\n otherOptions: FetcherOptions = {}\n ) =>\n await fetcher<AuditContentDeclarationMetadataResult>(\n `${AI_API_ROUTE}/audit/content-declaration/metadata`,\n authAPIOptions,\n otherOptions,\n {\n method: 'POST',\n body: body,\n }\n );\n\n /**\n * Audits a tag\n * @param body - Audit tag parameters.\n * @returns Audited tag content.\n */\n const auditTag = async (\n body?: AuditTagBody,\n otherOptions: FetcherOptions = {}\n ) =>\n await fetcher<AuditTagResult>(\n `${AI_API_ROUTE}/audit/tag`,\n authAPIOptions,\n otherOptions,\n {\n method: 'POST',\n body: body,\n }\n );\n\n /**\n * Asks a question to the AI related to the documentation\n */\n const askDocQuestion = async (\n body?: AskDocQuestionBody,\n otherOptions: FetcherOptions = {}\n ) =>\n await fetcher<AskDocQuestionResult>(\n `${AI_API_ROUTE}/ask`,\n authAPIOptions,\n otherOptions,\n {\n method: 'POST',\n body: body,\n }\n );\n\n return {\n auditContentDeclaration,\n auditContentDeclarationField,\n auditContentDeclarationMetadata,\n auditTag,\n askDocQuestion,\n };\n};\n\nexport const userAPI = getAiAPI();\n","import type {\n // @ts-ignore: @intlayer/backend is not built yet\n AskResetPasswordBody,\n // @ts-ignore: @intlayer/backend is not built yet\n AskResetPasswordResult,\n // @ts-ignore: @intlayer/backend is not built yet\n CreateSessionBody,\n // @ts-ignore: @intlayer/backend is not built yet\n CreateSessionResult,\n // @ts-ignore: @intlayer/backend is not built yet\n GetSessionInformationQuery,\n // @ts-ignore: @intlayer/backend is not built yet\n GithubLoginQueryParams,\n // @ts-ignore: @intlayer/backend is not built yet\n GoogleLoginQueryParams,\n // @ts-ignore: @intlayer/backend is not built yet\n GetSessionInformationResult,\n // @ts-ignore: @intlayer/backend is not built yet\n LoginBody,\n // @ts-ignore: @intlayer/backend is not built yet\n LoginResult,\n // @ts-ignore: @intlayer/backend is not built yet\n RegisterBody,\n // @ts-ignore: @intlayer/backend is not built yet\n RegisterQuery,\n // @ts-ignore: @intlayer/backend is not built yet\n RegisterResult,\n // @ts-ignore: @intlayer/backend is not built yet\n ResetPasswordParams,\n // @ts-ignore: @intlayer/backend is not built yet\n ResetPasswordResult,\n // @ts-ignore: @intlayer/backend is not built yet\n UpdatePasswordBody,\n // @ts-ignore: @intlayer/backend is not built yet\n UpdatePasswordResult,\n // @ts-ignore: @intlayer/backend is not built yet\n ValidEmailParams,\n // @ts-ignore: @intlayer/backend is not built yet\n ValidEmailResult,\n // @ts-ignore: @intlayer/backend is not built yet\n SetCSRFTokenResult,\n // @ts-ignore: @intlayer/backend is not built yet\n GetOAuth2TokenBody,\n // @ts-ignore: @intlayer/backend is not built yet\n GetOAuth2TokenResult,\n // @ts-ignore: @intlayer/backend is not built yet\n UserAPI,\n // @ts-ignore: @intlayer/backend is not built yet\n CheckIfUserHasPasswordResult,\n // @ts-ignore @intlayer/backend is not build yet\n} from '@intlayer/backend';\nimport { getConfiguration, type IntlayerConfig } from '@intlayer/config/client';\nimport { fetcher, type FetcherOptions } from '../fetcher';\n\nexport const getAuthAPI = (\n authAPIOptions: FetcherOptions = {},\n intlayerConfig?: IntlayerConfig\n) => {\n const { backendURL, clientId, clientSecret } = (\n intlayerConfig ?? getConfiguration()\n ).editor;\n const AUTH_API_ROUTE = `${backendURL}/api/auth`;\n\n /**\n * Logs in a user with the provided credentials.\n * @param user - User credentials.\n */\n const login = async (user: LoginBody, otherOptions: FetcherOptions = {}) =>\n await fetcher<LoginResult>(\n `${AUTH_API_ROUTE}/login`,\n authAPIOptions,\n otherOptions,\n {\n method: 'POST',\n body: user,\n }\n );\n\n /**\n * Gets the login with GitHub URL.\n * @param params - The parameters for the login with GitHub URL.\n * @returns The login with GitHub URL.\n */\n const getLoginWithGitHubURL = (params: GithubLoginQueryParams): string => {\n const searchParams = new URLSearchParams(params);\n\n return `${AUTH_API_ROUTE}/login/github?${searchParams.toString()}`;\n };\n\n /**\n * Gets the login with Google URL.\n * @param params - The parameters for the login with Google URL.\n * @returns The login with Google URL.\n */\n const getLoginWithGoogleURL = (params: GoogleLoginQueryParams): string => {\n const searchParams = new URLSearchParams(params);\n\n return `${AUTH_API_ROUTE}/login/google?${searchParams.toString()}`;\n };\n\n /**\n * Registers a new user with the provided credentials.\n * @param user - User credentials.\n * @returns User object.\n */\n const register = async (\n user: RegisterBody,\n query: RegisterQuery = {},\n otherOptions: FetcherOptions = {}\n ) =>\n await fetcher<RegisterResult>(\n `${AUTH_API_ROUTE}/register`,\n authAPIOptions,\n otherOptions,\n {\n method: 'POST',\n body: user,\n params: query,\n }\n );\n\n /**\n * Signs out the user.\n * @returns User object.\n */\n const logout = async (otherOptions: FetcherOptions = {}) =>\n await fetcher<void>(\n `${AUTH_API_ROUTE}/logout`,\n authAPIOptions,\n otherOptions,\n {\n method: 'POST',\n }\n );\n\n /**\n * Ask to resets the password of a user with the provided email address.\n * @param email - Email address of the user.\n * @returns User object.\n */\n const askResetPassword = async (\n email: AskResetPasswordBody['email'],\n otherOptions: FetcherOptions = {}\n ) =>\n await fetcher<AskResetPasswordResult>(\n `${AUTH_API_ROUTE}/password/reset`,\n authAPIOptions,\n otherOptions,\n {\n method: 'POST',\n body: { email },\n }\n );\n\n /**\n * Resets the password of a user with the provided email address.\n * @param email - Email address of the user.\n * @returns User object.\n */\n const resetPassword = async (\n params: ResetPasswordParams,\n otherOptions: FetcherOptions = {}\n ) =>\n await fetcher<ResetPasswordResult>(\n `${AUTH_API_ROUTE}/password/reset`,\n authAPIOptions,\n otherOptions,\n { params, method: 'POST' }\n );\n\n /**\n * Changes the password of a user with the provided data.\n * @param data - New password and confirmation.\n * @returns User object.\n */\n const changePassword = async (\n data: UpdatePasswordBody,\n otherOptions: FetcherOptions = {}\n ) =>\n await fetcher<UpdatePasswordResult>(\n `${AUTH_API_ROUTE}/password`,\n authAPIOptions,\n otherOptions,\n {\n method: 'PUT',\n body: data,\n }\n );\n\n /**\n * Checks if a user has a password.\n * @param params - User ID.\n * @returns User object.\n */\n const checkIfUserHasPassword = async (otherOptions: FetcherOptions = {}) =>\n await fetcher<CheckIfUserHasPasswordResult>(\n `${AUTH_API_ROUTE}/password/has`,\n authAPIOptions,\n otherOptions,\n {\n method: 'GET',\n }\n );\n\n /**\n * Verifies the email address of a user with the provided token.\n * @param params - User ID and secret key.\n * @returns User object.\n */\n const verifyEmail = async (\n { userId, secret }: ValidEmailParams,\n otherOptions: FetcherOptions = {}\n ) =>\n await fetcher<ValidEmailResult>(\n `${AUTH_API_ROUTE}/active/${userId}/${secret}`,\n authAPIOptions,\n otherOptions,\n {\n method: 'PUT',\n }\n );\n\n /**\n * Gets the verify email status URL to use in the SSE.\n * @param userId - User ID.\n * @returns The verify email status URL.\n */\n const getVerifyEmailStatusURL = (userId: string | UserAPI['_id']) =>\n `${AUTH_API_ROUTE}/verify-email-status/${String(userId)}`;\n\n /**\n * Creates a session for a user.\n * @param params - User ID and secret key.\n * @returns User object.\n */\n const createSession = async (\n data: CreateSessionBody,\n otherOptions: FetcherOptions = {}\n ) =>\n await fetcher<CreateSessionResult>(\n `${AUTH_API_ROUTE}/session`,\n authAPIOptions,\n otherOptions,\n {\n method: 'POST',\n body: data,\n }\n );\n\n /**\n * Gets a session and user.\n * @param sessionToken - Session token.\n * @param otherOptions - Fetcher options.\n * @returns Session and user information.\n */\n const getSession = async (\n sessionToken?: GetSessionInformationQuery['session_token'],\n otherOptions: FetcherOptions = {}\n ) =>\n await fetcher<GetSessionInformationResult>(\n `${backendURL}/session`,\n authAPIOptions,\n otherOptions,\n { params: { session_token: sessionToken } }\n );\n\n /**\n * Gets the CSRF token.\n * @param otherOptions - Fetcher options.\n * @returns The CSRF token.\n */\n const getCSRFToken = async (otherOptions: FetcherOptions = {}) =>\n await fetcher<SetCSRFTokenResult>(\n `${backendURL}/csrf-token`,\n authAPIOptions,\n otherOptions\n );\n\n /**\n * Gets an oAuth2 accessToken\n * @return The token information\n */\n const getOAuth2AccessToken = async (otherOptions: FetcherOptions = {}) =>\n await fetcher<GetOAuth2TokenResult>(\n `${backendURL}/oauth2/token`,\n authAPIOptions,\n otherOptions,\n {\n method: 'POST',\n headers: {\n 'Content-Type': 'application/x-www-form-urlencoded',\n },\n body: {\n grant_type: 'client_credentials',\n client_id: clientId!,\n client_secret: clientSecret!,\n } satisfies GetOAuth2TokenBody,\n }\n );\n\n return {\n login,\n getLoginWithGitHubURL,\n getLoginWithGoogleURL,\n register,\n logout,\n resetPassword,\n askResetPassword,\n checkIfUserHasPassword,\n verifyEmail,\n getVerifyEmailStatusURL,\n changePassword,\n createSession,\n getSession,\n getCSRFToken,\n getOAuth2AccessToken,\n };\n};\n\nexport const authAPI = getAuthAPI();\n","import type {\n // @ts-ignore: @intlayer/backend is not built yet\n AddDictionaryBody,\n // @ts-ignore: @intlayer/backend is not built yet\n AddDictionaryResult,\n // @ts-ignore: @intlayer/backend is not built yet\n DeleteDictionaryParam,\n // @ts-ignore: @intlayer/backend is not built yet\n DeleteDictionaryResult,\n // @ts-ignore: @intlayer/backend is not built yet\n GetDictionariesParams,\n // @ts-ignore: @intlayer/backend is not built yet\n GetDictionariesResult,\n // @ts-ignore: @intlayer/backend is not built yet\n UpdateDictionaryParam,\n // @ts-ignore: @intlayer/backend is not built yet\n UpdateDictionaryBody,\n // @ts-ignore: @intlayer/backend is not built yet\n UpdateDictionaryResult,\n // @ts-ignore: @intlayer/backend is not built yet\n PushDictionariesBody,\n // @ts-ignore: @intlayer/backend is not built yet\n PushDictionariesResult,\n // @ts-ignore: @intlayer/backend is not built yet\n GetDictionaryParams,\n // @ts-ignore: @intlayer/backend is not built yet\n GetDictionaryQuery,\n // @ts-ignore: @intlayer/backend is not built yet\n GetDictionaryResult,\n // @ts-ignore: @intlayer/backend is not built yet\n GetDictionariesKeysResult,\n // @ts-ignore @intlayer/backend is not build yet\n} from '@intlayer/backend';\nimport { getConfiguration, type IntlayerConfig } from '@intlayer/config/client';\nimport { fetcher, type FetcherOptions } from '../fetcher';\n\nexport const getDictionaryAPI = (\n authAPIOptions: FetcherOptions = {},\n intlayerConfig?: IntlayerConfig\n) => {\n const { backendURL } = (intlayerConfig ?? getConfiguration()).editor;\n const PROJECT_API_ROUTE = `${backendURL}/api/dictionary`;\n\n /**\n * Retrieves a list of dictionaries based on filters and pagination.\n * @param filters - Filters and pagination options.\n */\n const getDictionaries = async (\n filters?: GetDictionariesParams,\n otherOptions: FetcherOptions = {}\n ) =>\n await fetcher<GetDictionariesResult>(\n PROJECT_API_ROUTE,\n authAPIOptions,\n otherOptions,\n {\n params: filters,\n }\n );\n\n /**\n * Retrieves a list of dictionary keys related to the project.\n */\n const getDictionariesKeys = async (otherOptions: FetcherOptions = {}) =>\n await fetcher<GetDictionariesKeysResult>(\n `${PROJECT_API_ROUTE}/keys`,\n authAPIOptions,\n otherOptions\n );\n\n /**\n * Retrieves a dictionary by its key and version.\n * @param dictionaryKey - Dictionary key.\n * @param version - Dictionary version of content.\n */\n const getDictionary = async (\n dictionaryKey: GetDictionaryParams['dictionaryKey'],\n version?: GetDictionaryQuery['version'],\n otherOptions: FetcherOptions = {}\n ) =>\n await fetcher<GetDictionaryResult>(\n `${PROJECT_API_ROUTE}/${dictionaryKey}`,\n authAPIOptions,\n otherOptions,\n {\n params: version ? { version: version.toString() } : undefined,\n }\n );\n\n /**\n * Adds a new dictionary to the database.\n * @param dictionary - Dictionary data.\n */\n const addDictionary = async (\n dictionary: AddDictionaryBody,\n otherOptions: FetcherOptions = {}\n ) =>\n await fetcher<AddDictionaryResult>(\n `${PROJECT_API_ROUTE}`,\n authAPIOptions,\n otherOptions,\n {\n method: 'POST',\n body: dictionary,\n }\n );\n\n const pushDictionaries = async (\n dictionaries: PushDictionariesBody['dictionaries'],\n otherOptions: FetcherOptions = {}\n ) =>\n await fetcher<PushDictionariesResult>(\n `${PROJECT_API_ROUTE}`,\n authAPIOptions,\n otherOptions,\n {\n method: 'PATCH',\n body: { dictionaries },\n }\n );\n\n /**\n * Updates an existing dictionary in the database.\n * @param dictionary - Updated dictionary data.\n */\n const updateDictionary = async (\n dictionaryId: UpdateDictionaryParam['dictionaryId'],\n dictionary: UpdateDictionaryBody,\n otherOptions: FetcherOptions = {}\n ) =>\n await fetcher<UpdateDictionaryResult>(\n `${PROJECT_API_ROUTE}/${dictionaryId}`,\n authAPIOptions,\n otherOptions,\n {\n method: 'PUT',\n body: dictionary,\n }\n );\n\n /**\n * Deletes a dictionary from the database by its ID.\n * @param id - Dictionary ID.\n */\n const deleteDictionary = async (\n id: DeleteDictionaryParam['dictionaryId'],\n otherOptions: FetcherOptions = {}\n ) =>\n await fetcher<DeleteDictionaryResult>(\n `${PROJECT_API_ROUTE}`,\n authAPIOptions,\n otherOptions,\n {\n method: 'DELETE',\n body: { id },\n }\n );\n\n return {\n getDictionaries,\n getDictionariesKeys,\n getDictionary,\n pushDictionaries,\n addDictionary,\n updateDictionary,\n deleteDictionary,\n };\n};\n\nexport const dictionaryAPI = getDictionaryAPI();\n","import { getConfiguration, type IntlayerConfig } from '@intlayer/config/client';\nimport type {\n // @ts-ignore: intlayer-editor is not built yet\n WriteContentDeclarationBody,\n // @ts-ignore: intlayer-editor is not built yet\n WriteContentDeclarationResult,\n // @ts-ignore: intlayer-editor is not built yet\n} from 'intlayer-editor';\nimport { fetcher, type FetcherOptions } from '../fetcher';\n\nexport const getEditorAPI = (\n authAPIOptions: FetcherOptions = {},\n intlayerConfig?: IntlayerConfig\n) => {\n const { editorURL } = (intlayerConfig ?? getConfiguration()).editor;\n const EDITOR_API_ROUTE = `${editorURL}/api`;\n\n console.log(intlayerConfig ?? getConfiguration());\n\n /**\n * Adds a new dictionary to the database.\n * @param dictionary - Dictionary data.\n */\n const writeDictionary = async (\n dictionary: WriteContentDeclarationBody,\n otherOptions: FetcherOptions = {}\n ) => {\n await fetcher<WriteContentDeclarationResult>(\n `${EDITOR_API_ROUTE}/dictionary`,\n authAPIOptions,\n otherOptions,\n {\n method: 'POST',\n body: dictionary,\n }\n );\n };\n\n return {\n writeDictionary,\n };\n};\n\nexport const editorAPI = getEditorAPI();\n","import type {\n // @ts-ignore: @intlayer/backend is not built yet\n AddOrganizationBody,\n // @ts-ignore: @intlayer/backend is not built yet\n AddOrganizationResult,\n // @ts-ignore: @intlayer/backend is not built yet\n DeleteOrganizationResult,\n // @ts-ignore: @intlayer/backend is not built yet\n GetOrganizationParam,\n // @ts-ignore: @intlayer/backend is not built yet\n GetOrganizationResult,\n // @ts-ignore: @intlayer/backend is not built yet\n GetOrganizationsParams,\n // @ts-ignore: @intlayer/backend is not built yet\n GetOrganizationsResult,\n // @ts-ignore: @intlayer/backend is not built yet\n UpdateOrganizationBody,\n // @ts-ignore: @intlayer/backend is not built yet\n UpdateOrganizationResult,\n // @ts-ignore: @intlayer/backend is not built yet\n SelectOrganizationParam,\n // @ts-ignore: @intlayer/backend is not built yet\n SelectOrganizationResult,\n // @ts-ignore: @intlayer/backend is not built yet\n UnselectOrganizationResult,\n // @ts-ignore: @intlayer/backend is not built yet\n UpdateOrganizationMembersBody,\n // @ts-ignore: @intlayer/backend is not built yet\n UpdateOrganizationMembersResult,\n // @ts-ignore: @intlayer/backend is not built yet\n AddOrganizationMemberBody,\n // @ts-ignore: @intlayer/backend is not built yet\n AddOrganizationMemberResult,\n // @ts-ignore @intlayer/backend is not build yet\n} from '@intlayer/backend';\nimport { getConfiguration, type IntlayerConfig } from '@intlayer/config/client';\nimport { fetcher, type FetcherOptions } from '../fetcher';\n\nexport const getOrganizationAPI = (\n authAPIOptions: FetcherOptions = {},\n intlayerConfig?: IntlayerConfig\n) => {\n const { backendURL } = (intlayerConfig ?? getConfiguration()).editor;\n const ORGANIZATION_API_ROUTE = `${backendURL}/api/organization`;\n\n /**\n * Retrieves a list of organizations based on filters and pagination.\n * @param filters - Filters and pagination options.\n */\n const getOrganizations = async (\n filters?: GetOrganizationsParams,\n otherOptions: FetcherOptions = {}\n ) =>\n await fetcher<GetOrganizationsResult>(\n ORGANIZATION_API_ROUTE,\n authAPIOptions,\n otherOptions,\n {\n params: filters,\n }\n );\n\n /**\n * Retrieves an organization by its ID.\n * @param organizationId - Organization ID.\n */\n const getOrganization = async (\n organizationId: GetOrganizationParam['organizationId'],\n otherOptions: FetcherOptions = {}\n ) =>\n await fetcher<GetOrganizationResult>(\n `${ORGANIZATION_API_ROUTE}/${String(organizationId)}`,\n authAPIOptions,\n otherOptions\n );\n\n /**\n * Adds a new organization to the database.\n * @param organization - Organization data.\n */\n const addOrganization = async (\n organization: AddOrganizationBody,\n otherOptions: FetcherOptions = {}\n ) =>\n await fetcher<AddOrganizationResult>(\n ORGANIZATION_API_ROUTE,\n authAPIOptions,\n otherOptions,\n {\n method: 'POST',\n body: organization,\n }\n );\n\n /**\n * Updates an existing organization in the database.\n * @param organization - Updated organization data.\n */\n const updateOrganization = async (\n organization: UpdateOrganizationBody,\n otherOptions: FetcherOptions = {}\n ) =>\n fetcher<UpdateOrganizationResult>(\n ORGANIZATION_API_ROUTE,\n authAPIOptions,\n otherOptions,\n {\n method: 'PUT',\n body: organization,\n }\n );\n\n /**\n * Update members to the organization in the database.\n * @param body - Updated organization members data.\n */\n const updateOrganizationMembers = async (\n body: UpdateOrganizationMembersBody,\n otherOptions: FetcherOptions = {}\n ) =>\n fetcher<UpdateOrganizationMembersResult>(\n `${ORGANIZATION_API_ROUTE}/members`,\n authAPIOptions,\n otherOptions,\n {\n method: 'PUT',\n body,\n }\n );\n\n /**\n * Add member to the organization in the database.\n * @param body - Updated organization members data.\n */\n const addOrganizationMember = async (\n body: AddOrganizationMemberBody,\n otherOptions: FetcherOptions = {}\n ) =>\n fetcher<AddOrganizationMemberResult>(\n `${ORGANIZATION_API_ROUTE}/member`,\n authAPIOptions,\n otherOptions,\n {\n method: 'POST',\n body,\n }\n );\n\n /**\n * Deletes an organization from the database by its ID.\n * @param organizationId - Organization ID.\n */\n const deleteOrganization = async (otherOptions: FetcherOptions = {}) =>\n await fetcher<DeleteOrganizationResult>(\n ORGANIZATION_API_ROUTE,\n authAPIOptions,\n otherOptions,\n {\n method: 'DELETE',\n }\n );\n\n /**\n * Select an organization from the database by its ID.\n * @param organizationId - Organization ID.\n */\n const selectOrganization = async (\n organizationId: SelectOrganizationParam['organizationId'],\n otherOptions: FetcherOptions = {}\n ) =>\n await fetcher<SelectOrganizationResult>(\n `${ORGANIZATION_API_ROUTE}/${String(organizationId)}`,\n authAPIOptions,\n otherOptions,\n {\n method: 'PUT',\n }\n );\n\n /**\n * Unselect an organization from the database by its ID.\n * @param organizationId - Organization ID.\n */\n const unselectOrganization = async (otherOptions: FetcherOptions = {}) =>\n await fetcher<UnselectOrganizationResult>(\n `${ORGANIZATION_API_ROUTE}/logout`,\n authAPIOptions,\n otherOptions,\n {\n method: 'POST',\n }\n );\n\n return {\n getOrganizations,\n getOrganization,\n addOrganization,\n addOrganizationMember,\n updateOrganization,\n updateOrganizationMembers,\n deleteOrganization,\n selectOrganization,\n unselectOrganization,\n };\n};\n\nexport const organizationAPI = getOrganizationAPI();\n","import type {\n // @ts-ignore: @intlayer/backend is not built yet\n AddProjectBody,\n // @ts-ignore: @intlayer/backend is not built yet\n AddProjectResult,\n // @ts-ignore: @intlayer/backend is not built yet\n DeleteProjectResult,\n // @ts-ignore: @intlayer/backend is not built yet\n GetProjectsParams,\n // @ts-ignore: @intlayer/backend is not built yet\n GetProjectsResult,\n // @ts-ignore: @intlayer/backend is not built yet\n UpdateProjectBody,\n // @ts-ignore: @intlayer/backend is not built yet\n UpdateProjectResult,\n // @ts-ignore: @intlayer/backend is not built yet\n SelectProjectParam,\n // @ts-ignore: @intlayer/backend is not built yet\n SelectProjectResult,\n // @ts-ignore: @intlayer/backend is not built yet\n UnselectProjectResult,\n // @ts-ignore: @intlayer/backend is not built yet\n AddNewAccessKeyBody,\n // @ts-ignore: @intlayer/backend is not built yet\n AddNewAccessKeyResponse,\n // @ts-ignore: @intlayer/backend is not built yet\n DeleteAccessKeyBody,\n // @ts-ignore: @intlayer/backend is not built yet\n DeleteAccessKeyResponse,\n // @ts-ignore: @intlayer/backend is not built yet\n RefreshAccessKeyBody,\n // @ts-ignore: @intlayer/backend is not built yet\n RefreshAccessKeyResponse,\n // @ts-ignore: @intlayer/backend is not built yet\n UpdateProjectMembersBody,\n // @ts-ignore: @intlayer/backend is not built yet\n UpdateProjectMembersResult,\n // @ts-ignore @intlayer/backend is not build yet\n} from '@intlayer/backend';\nimport { getConfiguration, type IntlayerConfig } from '@intlayer/config/client';\nimport { fetcher, type FetcherOptions } from '../fetcher';\n\nexport const getProjectAPI = (\n authAPIOptions: FetcherOptions = {},\n intlayerConfig?: IntlayerConfig\n) => {\n const { backendURL } = (intlayerConfig ?? getConfiguration()).editor;\n const PROJECT_API_ROUTE = `${backendURL}/api/project`;\n\n /**\n * Retrieves a list of projects based on filters and pagination.\n * @param filters - Filters and pagination options.\n */\n const getProjects = async (\n filters?: GetProjectsParams,\n otherOptions: FetcherOptions = {}\n ) =>\n await fetcher<GetProjectsResult>(\n PROJECT_API_ROUTE,\n authAPIOptions,\n otherOptions,\n {\n params: filters,\n }\n );\n\n /**\n * Adds a new project to the database.\n * @param project - Project data.\n */\n const addProject = async (\n project: AddProjectBody,\n otherOptions: FetcherOptions = {}\n ) =>\n await fetcher<AddProjectResult>(\n `${PROJECT_API_ROUTE}`,\n authAPIOptions,\n otherOptions,\n {\n method: 'POST',\n body: project,\n }\n );\n\n /**\n * Updates an existing project in the database.\n * @param project - Updated project data.\n */\n const updateProject = async (\n project: UpdateProjectBody,\n otherOptions: FetcherOptions = {}\n ) =>\n await fetcher<UpdateProjectResult>(\n `${PROJECT_API_ROUTE}`,\n authAPIOptions,\n otherOptions,\n {\n method: 'PUT',\n body: project,\n }\n );\n\n /**\n * Updates project members in the database.\n * @param project - Updated project data.\n */\n const updateProjectMembers = async (\n body: UpdateProjectMembersBody,\n otherOptions: FetcherOptions = {}\n ) =>\n await fetcher<UpdateProjectMembersResult>(\n `${PROJECT_API_ROUTE}/members`,\n authAPIOptions,\n otherOptions,\n {\n method: 'PUT',\n body,\n }\n );\n\n /**\n * Deletes a project from the database by its ID.\n * @param id - Project ID.\n */\n const deleteProject = async (otherOptions: FetcherOptions = {}) =>\n await fetcher<DeleteProjectResult>(\n `${PROJECT_API_ROUTE}`,\n authAPIOptions,\n otherOptions,\n {\n method: 'DELETE',\n }\n );\n\n /**\n * Select a project from the database by its ID.\n * @param projectId - Organization ID.\n */\n const selectProject = async (\n projectId: SelectProjectParam['projectId'],\n otherOptions: FetcherOptions = {}\n ) =>\n await fetcher<SelectProjectResult>(\n `${PROJECT_API_ROUTE}/${String(projectId)}`,\n authAPIOptions,\n otherOptions,\n {\n method: 'PUT',\n }\n );\n\n /**\n * Unselect a project from the database by its ID.\n * @param projectId - Project ID.\n */\n const unselectProject = async (otherOptions: FetcherOptions = {}) =>\n await fetcher<UnselectProjectResult>(\n `${PROJECT_API_ROUTE}/logout`,\n authAPIOptions,\n otherOptions,\n {\n method: 'POST',\n }\n );\n\n /**\n * Add a new access key to a project.\n * @param accessKey - Access key data.\n * @param otherOptions - Fetcher options.\n * @returns The new access key.\n */\n const addNewAccessKey = async (\n accessKey: AddNewAccessKeyBody,\n otherOptions: FetcherOptions = {}\n ) =>\n await fetcher<AddNewAccessKeyResponse>(\n `${PROJECT_API_ROUTE}/access_key`,\n authAPIOptions,\n otherOptions,\n {\n method: 'POST',\n body: accessKey,\n }\n );\n\n /**\n * Delete a project access key.\n * @param clientId - Access key client ID.\n * @param otherOptions - Fetcher options.\n * @returns The deleted project.\n */\n const deleteAccessKey = async (\n clientId: DeleteAccessKeyBody['clientId'],\n otherOptions: FetcherOptions = {}\n ) =>\n await fetcher<DeleteAccessKeyResponse>(\n `${PROJECT_API_ROUTE}/access_key`,\n authAPIOptions,\n otherOptions,\n {\n method: 'DELETE',\n body: { clientId },\n }\n );\n\n /**\n * Refreshes an access key from a project.\n * @param clientId - The ID of the client to refresh.\n * @param projectId - The ID of the project to refresh the access key from.\n * @returns The new access key.\n */\n const refreshAccessKey = async (\n clientId: RefreshAccessKeyBody['clientId'],\n otherOptions: FetcherOptions = {}\n ) =>\n await fetcher<RefreshAccessKeyResponse>(\n `${PROJECT_API_ROUTE}/access_key`,\n authAPIOptions,\n otherOptions,\n {\n method: 'PATCH',\n body: { clientId },\n }\n );\n\n return {\n getProjects,\n addProject,\n updateProject,\n updateProjectMembers,\n deleteProject,\n selectProject,\n unselectProject,\n addNewAccessKey,\n deleteAccessKey,\n refreshAccessKey,\n };\n};\n\nexport const projectAPI = getProjectAPI();\n","import type {\n // @ts-ignore: @intlayer/backend is not built yet\n GetCheckoutSessionBody,\n // @ts-ignore: @intlayer/backend is not built yet\n GetCheckoutSessionResult,\n // @ts-ignore @intlayer/backend is not build yet\n} from '@intlayer/backend';\nimport { getConfiguration, type IntlayerConfig } from '@intlayer/config/client';\nimport { fetcher, type FetcherOptions } from '../fetcher';\n\nexport const getStripeAPI = (\n authAPIOptions: FetcherOptions = {},\n intlayerConfig?: IntlayerConfig\n) => {\n const backendURL = (intlayerConfig ?? getConfiguration()).editor.backendURL;\n const STRIPE_API_ROUTE = `${backendURL}/api/stripe`;\n\n /**\n * Retrieves a checkout session.\n * @param body - Checkout session body.\n */\n const getSubscription = async (\n body?: GetCheckoutSessionBody,\n otherOptions: FetcherOptions = {}\n ) =>\n await fetcher<GetCheckoutSessionResult>(\n `${STRIPE_API_ROUTE}/create-subscription`,\n authAPIOptions,\n otherOptions,\n {\n method: 'POST',\n body,\n }\n );\n\n /**\n * Cancels a subscription.\n * @param body - Checkout session body.\n */\n const cancelSubscription = async (otherOptions: FetcherOptions = {}) =>\n await fetcher<GetCheckoutSessionResult>(\n `${STRIPE_API_ROUTE}/cancel-subscription`,\n authAPIOptions,\n otherOptions,\n {\n method: 'POST',\n }\n );\n\n return {\n getSubscription,\n cancelSubscription,\n };\n};\n","import type {\n // @ts-ignore: @intlayer/backend is not built yet\n AddTagBody,\n // @ts-ignore: @intlayer/backend is not built yet\n AddTagResult,\n // @ts-ignore: @intlayer/backend is not built yet\n DeleteTagParams,\n // @ts-ignore: @intlayer/backend is not built yet\n DeleteTagResult,\n // @ts-ignore: @intlayer/backend is not built yet\n GetTagsParams,\n // @ts-ignore: @intlayer/backend is not built yet\n GetTagsResult,\n // @ts-ignore: @intlayer/backend is not built yet\n UpdateTagBody,\n // @ts-ignore: @intlayer/backend is not built yet\n UpdateTagParams,\n // @ts-ignore: @intlayer/backend is not built yet\n UpdateTagResult,\n // @ts-ignore @intlayer/backend is not build yet\n} from '@intlayer/backend';\nimport { getConfiguration, type IntlayerConfig } from '@intlayer/config/client';\nimport { fetcher, type FetcherOptions } from '../fetcher';\n\nexport const getTagAPI = (\n authAPIOptions: FetcherOptions = {},\n intlayerConfig?: IntlayerConfig\n) => {\n const { backendURL } = (intlayerConfig ?? getConfiguration()).editor;\n const PROJECT_API_ROUTE = `${backendURL}/api/tag`;\n\n /**\n * Retrieves a list of tags based on filters and pagination.\n * @param filters - Filters and pagination options.\n */\n const getTags = async (\n filters?: GetTagsParams,\n otherOptions: FetcherOptions = {}\n ) =>\n await fetcher<GetTagsResult>(\n PROJECT_API_ROUTE,\n authAPIOptions,\n otherOptions,\n {\n params: filters,\n }\n );\n\n /**\n * Adds a new tag to the database.\n * @param tag - Tag data.\n */\n const addTag = async (tag: AddTagBody, otherOptions: FetcherOptions = {}) =>\n await fetcher<AddTagResult>(\n `${PROJECT_API_ROUTE}`,\n authAPIOptions,\n otherOptions,\n {\n method: 'POST',\n body: tag,\n }\n );\n\n /**\n * Updates an existing tag in the database.\n * @param tag - Updated tag data.\n */\n const updateTag = async (\n tagId: UpdateTagParams['tagId'],\n tag: UpdateTagBody,\n otherOptions: FetcherOptions = {}\n ) =>\n await fetcher<UpdateTagResult>(\n `${PROJECT_API_ROUTE}/${tagId}`,\n authAPIOptions,\n otherOptions,\n {\n method: 'PUT',\n body: tag,\n }\n );\n\n /**\n * Deletes a tag from the database by its ID.\n * @param tagId - Tag ID.\n */\n const deleteTag = async (\n tagId: DeleteTagParams['tagId'],\n\n otherOptions: FetcherOptions = {}\n ) =>\n await fetcher<DeleteTagResult>(\n `${PROJECT_API_ROUTE}/${tagId}`,\n authAPIOptions,\n otherOptions,\n {\n method: 'DELETE',\n }\n );\n\n return {\n getTags,\n addTag,\n updateTag,\n deleteTag,\n };\n};\n\nexport const tagAPI = getTagAPI();\n","import type {\n // @ts-ignore: @intlayer/backend is not built yet\n CreateUserBody,\n // @ts-ignore: @intlayer/backend is not built yet\n CreateUserResult,\n // @ts-ignore: @intlayer/backend is not built yet\n GetUserByAccountParams,\n // @ts-ignore: @intlayer/backend is not built yet\n GetUserByAccountResult,\n // @ts-ignore: @intlayer/backend is not built yet\n GetUserByEmailParams,\n // @ts-ignore: @intlayer/backend is not built yet\n GetUserByEmailResult,\n // @ts-ignore: @intlayer/backend is not built yet\n GetUserByIdParams,\n // @ts-ignore: @intlayer/backend is not built yet\n GetUserByIdResult,\n // @ts-ignore: @intlayer/backend is not built yet\n GetUsersParams,\n // @ts-ignore: @intlayer/backend is not built yet\n GetUsersResult,\n // @ts-ignore: @intlayer/backend is not built yet\n UpdateUserBody,\n // @ts-ignore: @intlayer/backend is not built yet\n UpdateUserResult,\n // @ts-ignore @intlayer/backend is not build yet\n} from '@intlayer/backend';\nimport { getConfiguration, type IntlayerConfig } from '@intlayer/config/client';\nimport { fetcher, type FetcherOptions } from '../fetcher';\n\nexport const getUserAPI = (\n authAPIOptions: FetcherOptions = {},\n intlayerConfig?: IntlayerConfig\n) => {\n const { backendURL } = (intlayerConfig ?? getConfiguration()).editor;\n const USER_API_ROUTE = `${backendURL}/api/user`;\n\n /**\n * Retrieves a list of users based on filters and pagination.\n * @param filters - Filters and pagination options.\n * @returns List of users.\n */\n const getUsers = async (\n filters?: GetUsersParams,\n otherOptions: FetcherOptions = {}\n ) =>\n await fetcher<GetUsersResult>(\n USER_API_ROUTE,\n authAPIOptions,\n otherOptions,\n {\n params: filters,\n }\n );\n\n /**\n * Retrieves a user by ID.\n * @param userId - User ID.\n * @returns User object.\n */\n const getUserById = async (\n userId: GetUserByIdParams['userId'],\n otherOptions: FetcherOptions = {}\n ) =>\n await fetcher<GetUserByIdResult>(\n `${USER_API_ROUTE}/${userId}`,\n authAPIOptions,\n otherOptions\n );\n\n /**\n * Retrieves a user by email.\n * @param email - User email.\n * @returns User object.\n */\n const getUserByEmail = async (\n email: GetUserByEmailParams['email'],\n otherOptions: FetcherOptions = {}\n ) =>\n await fetcher<GetUserByEmailResult>(\n `${USER_API_ROUTE}/email/${email}`,\n authAPIOptions,\n otherOptions\n );\n\n /**\n * Retrieves a user by account.\n * @param providerAccountId - The provider account ID.\n * @param provider - The provider of the account.\n */\n const getUserByAccount = async (\n providerAccountId: GetUserByAccountParams['providerAccountId'],\n provider: GetUserByAccountParams['provider'],\n otherOptions: FetcherOptions = {}\n ) =>\n await fetcher<GetUserByAccountResult>(\n `${USER_API_ROUTE}/account/${provider}/${providerAccountId}`,\n authAPIOptions,\n otherOptions\n );\n\n /**\n * Creates a new user.\n * @param user - User credentials.\n * @returns User object.\n */\n const createUser = async (\n user: CreateUserBody,\n otherOptions: FetcherOptions = {}\n ) =>\n await fetcher<CreateUserResult>(\n `${USER_API_ROUTE}/`,\n authAPIOptions,\n otherOptions,\n {\n method: 'POST',\n body: user,\n }\n );\n\n /**\n * Updates the user with the provided data.\n * @param user - Updated user data.\n * @returns User object.\n */\n const updateUser = async (\n user: UpdateUserBody,\n otherOptions: FetcherOptions = {}\n ) =>\n await fetcher<UpdateUserResult>(\n `${USER_API_ROUTE}`,\n authAPIOptions,\n otherOptions,\n {\n method: 'PUT',\n body: user,\n }\n );\n\n /**\n * Deletes a user with the provided ID.\n * @param userId - User ID.\n * @returns User object.\n */\n const deleteUser = async (\n userId: string,\n otherOptions: FetcherOptions = {}\n ) =>\n await fetcher<UpdateUserResult>(\n `${USER_API_ROUTE}/${userId}`,\n authAPIOptions,\n otherOptions,\n {\n method: 'DELETE',\n }\n );\n\n return {\n createUser,\n getUsers,\n getUserById,\n getUserByAccount,\n getUserByEmail,\n updateUser,\n deleteUser,\n };\n};\n\nexport const userAPI = getUserAPI();\n","import { type IntlayerConfig } from '@intlayer/config/client';\nimport type { FetcherOptions } from '../fetcher';\nimport { getAiAPI } from './ai';\nimport { getAuthAPI } from './auth';\nimport { getDictionaryAPI } from './dictionary';\nimport { getEditorAPI } from './editor';\nimport { getOrganizationAPI } from './organization';\nimport { getProjectAPI } from './project';\nimport { getStripeAPI } from './stripe';\nimport { getTagAPI } from './tag';\nimport { getUserAPI } from './user';\n\nexport const getIntlayerAPI = (\n authAPIOptions: FetcherOptions = {},\n intlayerConfig?: IntlayerConfig\n) => ({\n organization: getOrganizationAPI(authAPIOptions, intlayerConfig),\n project: getProjectAPI(authAPIOptions, intlayerConfig),\n user: getUserAPI(authAPIOptions, intlayerConfig),\n auth: getAuthAPI(authAPIOptions, intlayerConfig),\n dictionary: getDictionaryAPI(authAPIOptions, intlayerConfig),\n stripe: getStripeAPI(authAPIOptions, intlayerConfig),\n ai: getAiAPI(authAPIOptions, intlayerConfig),\n tag: getTagAPI(authAPIOptions, intlayerConfig),\n editor: getEditorAPI(authAPIOptions, intlayerCon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AAa,OACjB,MACA,eAA+B,CAAA,MAE/B,MAAM;AAAA,IACJ,GAAG,cAAc;AAAA,IACjB;AAAA,IACA;AAAA,IACA;AAAA,MACE,QAAQ;AAAA,MACR,MAAM;AAAA,IAAA;AAAA,EAEV;AAOF,QAAM,aAAa,OACjB,QACA,eAA+B,CAAA,MAE/B,MAAM;AAAA,IACJ,GAAG,cAAc,IAAI,MAAM;AAAA,IAC3B;AAAA,IACA;AAAA,IACA;AAAA,MACE,QAAQ;AAAA,IAAA;AAAA,EAEZ;AAEK,SAAA;AAAA,IACL;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF;AACF;AAEuB,WAAW;AC5J3B,MAAM,iBAAiB,CAC5B,iBAAiC,IACjC,oBACI;AAAA,EACJ,cAAc,mBAAmB,cAA8B;AAAA,EAC/D,SAAS,cAAc,cAA8B;AAAA,EACrD,MAAM,WAAW,cAA8B;AAAA,EAC/C,MAAM,WAAW,cAA8B;AAAA,EAC/C,YAAY,iBAAiB,cAA8B;AAAA,EAC3D,QAAQ,aAAa,cAA8B;AAAA,EACnD,IAAI,SAAS,cAA8B;AAAA,EAC3C,KAAK,UAAU,cAA8B;AAAA,EAC7C,QAAQ,aAAa,cAA8B;AACrD;AAEO,MAAM,cAAc,eAAe;"}
|
|
@@ -1,506 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
const require$$0 = require("react");
|
|
3
|
-
var jsxRuntime = { exports: {} };
|
|
4
|
-
var reactJsxRuntime_production = {};
|
|
5
|
-
/**
|
|
6
|
-
* @license React
|
|
7
|
-
* react-jsx-runtime.production.js
|
|
8
|
-
*
|
|
9
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
10
|
-
*
|
|
11
|
-
* This source code is licensed under the MIT license found in the
|
|
12
|
-
* LICENSE file in the root directory of this source tree.
|
|
13
|
-
*/
|
|
14
|
-
var hasRequiredReactJsxRuntime_production;
|
|
15
|
-
function requireReactJsxRuntime_production() {
|
|
16
|
-
if (hasRequiredReactJsxRuntime_production) return reactJsxRuntime_production;
|
|
17
|
-
hasRequiredReactJsxRuntime_production = 1;
|
|
18
|
-
var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
|
|
19
|
-
function jsxProd(type, config, maybeKey) {
|
|
20
|
-
var key = null;
|
|
21
|
-
void 0 !== maybeKey && (key = "" + maybeKey);
|
|
22
|
-
void 0 !== config.key && (key = "" + config.key);
|
|
23
|
-
if ("key" in config) {
|
|
24
|
-
maybeKey = {};
|
|
25
|
-
for (var propName in config)
|
|
26
|
-
"key" !== propName && (maybeKey[propName] = config[propName]);
|
|
27
|
-
} else maybeKey = config;
|
|
28
|
-
config = maybeKey.ref;
|
|
29
|
-
return {
|
|
30
|
-
$$typeof: REACT_ELEMENT_TYPE,
|
|
31
|
-
type,
|
|
32
|
-
key,
|
|
33
|
-
ref: void 0 !== config ? config : null,
|
|
34
|
-
props: maybeKey
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
reactJsxRuntime_production.Fragment = REACT_FRAGMENT_TYPE;
|
|
38
|
-
reactJsxRuntime_production.jsx = jsxProd;
|
|
39
|
-
reactJsxRuntime_production.jsxs = jsxProd;
|
|
40
|
-
return reactJsxRuntime_production;
|
|
41
|
-
}
|
|
42
|
-
var reactJsxRuntime_development = {};
|
|
43
|
-
var hasRequiredReactJsxRuntime_development;
|
|
44
|
-
function requireReactJsxRuntime_development() {
|
|
45
|
-
if (hasRequiredReactJsxRuntime_development) return reactJsxRuntime_development;
|
|
46
|
-
hasRequiredReactJsxRuntime_development = 1;
|
|
47
|
-
var define_process_env_default = {};
|
|
48
|
-
/**
|
|
49
|
-
* @license React
|
|
50
|
-
* react-jsx-runtime.development.js
|
|
51
|
-
*
|
|
52
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
53
|
-
*
|
|
54
|
-
* This source code is licensed under the MIT license found in the
|
|
55
|
-
* LICENSE file in the root directory of this source tree.
|
|
56
|
-
*/
|
|
57
|
-
"production" !== define_process_env_default.NODE_ENV && function() {
|
|
58
|
-
function getComponentNameFromType(type) {
|
|
59
|
-
if (null == type) return null;
|
|
60
|
-
if ("function" === typeof type)
|
|
61
|
-
return type.$$typeof === REACT_CLIENT_REFERENCE$2 ? null : type.displayName || type.name || null;
|
|
62
|
-
if ("string" === typeof type) return type;
|
|
63
|
-
switch (type) {
|
|
64
|
-
case REACT_FRAGMENT_TYPE:
|
|
65
|
-
return "Fragment";
|
|
66
|
-
case REACT_PORTAL_TYPE:
|
|
67
|
-
return "Portal";
|
|
68
|
-
case REACT_PROFILER_TYPE:
|
|
69
|
-
return "Profiler";
|
|
70
|
-
case REACT_STRICT_MODE_TYPE:
|
|
71
|
-
return "StrictMode";
|
|
72
|
-
case REACT_SUSPENSE_TYPE:
|
|
73
|
-
return "Suspense";
|
|
74
|
-
case REACT_SUSPENSE_LIST_TYPE:
|
|
75
|
-
return "SuspenseList";
|
|
76
|
-
}
|
|
77
|
-
if ("object" === typeof type)
|
|
78
|
-
switch ("number" === typeof type.tag && console.error(
|
|
79
|
-
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
80
|
-
), type.$$typeof) {
|
|
81
|
-
case REACT_CONTEXT_TYPE:
|
|
82
|
-
return (type.displayName || "Context") + ".Provider";
|
|
83
|
-
case REACT_CONSUMER_TYPE:
|
|
84
|
-
return (type._context.displayName || "Context") + ".Consumer";
|
|
85
|
-
case REACT_FORWARD_REF_TYPE:
|
|
86
|
-
var innerType = type.render;
|
|
87
|
-
type = type.displayName;
|
|
88
|
-
type || (type = innerType.displayName || innerType.name || "", type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef");
|
|
89
|
-
return type;
|
|
90
|
-
case REACT_MEMO_TYPE:
|
|
91
|
-
return innerType = type.displayName || null, null !== innerType ? innerType : getComponentNameFromType(type.type) || "Memo";
|
|
92
|
-
case REACT_LAZY_TYPE:
|
|
93
|
-
innerType = type._payload;
|
|
94
|
-
type = type._init;
|
|
95
|
-
try {
|
|
96
|
-
return getComponentNameFromType(type(innerType));
|
|
97
|
-
} catch (x) {
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
return null;
|
|
101
|
-
}
|
|
102
|
-
function testStringCoercion(value) {
|
|
103
|
-
return "" + value;
|
|
104
|
-
}
|
|
105
|
-
function checkKeyStringCoercion(value) {
|
|
106
|
-
try {
|
|
107
|
-
testStringCoercion(value);
|
|
108
|
-
var JSCompiler_inline_result = false;
|
|
109
|
-
} catch (e) {
|
|
110
|
-
JSCompiler_inline_result = true;
|
|
111
|
-
}
|
|
112
|
-
if (JSCompiler_inline_result) {
|
|
113
|
-
JSCompiler_inline_result = console;
|
|
114
|
-
var JSCompiler_temp_const = JSCompiler_inline_result.error;
|
|
115
|
-
var JSCompiler_inline_result$jscomp$0 = "function" === typeof Symbol && Symbol.toStringTag && value[Symbol.toStringTag] || value.constructor.name || "Object";
|
|
116
|
-
JSCompiler_temp_const.call(
|
|
117
|
-
JSCompiler_inline_result,
|
|
118
|
-
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
119
|
-
JSCompiler_inline_result$jscomp$0
|
|
120
|
-
);
|
|
121
|
-
return testStringCoercion(value);
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
function disabledLog() {
|
|
125
|
-
}
|
|
126
|
-
function disableLogs() {
|
|
127
|
-
if (0 === disabledDepth) {
|
|
128
|
-
prevLog = console.log;
|
|
129
|
-
prevInfo = console.info;
|
|
130
|
-
prevWarn = console.warn;
|
|
131
|
-
prevError = console.error;
|
|
132
|
-
prevGroup = console.group;
|
|
133
|
-
prevGroupCollapsed = console.groupCollapsed;
|
|
134
|
-
prevGroupEnd = console.groupEnd;
|
|
135
|
-
var props = {
|
|
136
|
-
configurable: true,
|
|
137
|
-
enumerable: true,
|
|
138
|
-
value: disabledLog,
|
|
139
|
-
writable: true
|
|
140
|
-
};
|
|
141
|
-
Object.defineProperties(console, {
|
|
142
|
-
info: props,
|
|
143
|
-
log: props,
|
|
144
|
-
warn: props,
|
|
145
|
-
error: props,
|
|
146
|
-
group: props,
|
|
147
|
-
groupCollapsed: props,
|
|
148
|
-
groupEnd: props
|
|
149
|
-
});
|
|
150
|
-
}
|
|
151
|
-
disabledDepth++;
|
|
152
|
-
}
|
|
153
|
-
function reenableLogs() {
|
|
154
|
-
disabledDepth--;
|
|
155
|
-
if (0 === disabledDepth) {
|
|
156
|
-
var props = { configurable: true, enumerable: true, writable: true };
|
|
157
|
-
Object.defineProperties(console, {
|
|
158
|
-
log: assign({}, props, { value: prevLog }),
|
|
159
|
-
info: assign({}, props, { value: prevInfo }),
|
|
160
|
-
warn: assign({}, props, { value: prevWarn }),
|
|
161
|
-
error: assign({}, props, { value: prevError }),
|
|
162
|
-
group: assign({}, props, { value: prevGroup }),
|
|
163
|
-
groupCollapsed: assign({}, props, { value: prevGroupCollapsed }),
|
|
164
|
-
groupEnd: assign({}, props, { value: prevGroupEnd })
|
|
165
|
-
});
|
|
166
|
-
}
|
|
167
|
-
0 > disabledDepth && console.error(
|
|
168
|
-
"disabledDepth fell below zero. This is a bug in React. Please file an issue."
|
|
169
|
-
);
|
|
170
|
-
}
|
|
171
|
-
function describeBuiltInComponentFrame(name) {
|
|
172
|
-
if (void 0 === prefix)
|
|
173
|
-
try {
|
|
174
|
-
throw Error();
|
|
175
|
-
} catch (x) {
|
|
176
|
-
var match = x.stack.trim().match(/\n( *(at )?)/);
|
|
177
|
-
prefix = match && match[1] || "";
|
|
178
|
-
suffix = -1 < x.stack.indexOf("\n at") ? " (<anonymous>)" : -1 < x.stack.indexOf("@") ? "@unknown:0:0" : "";
|
|
179
|
-
}
|
|
180
|
-
return "\n" + prefix + name + suffix;
|
|
181
|
-
}
|
|
182
|
-
function describeNativeComponentFrame(fn, construct) {
|
|
183
|
-
if (!fn || reentry) return "";
|
|
184
|
-
var frame = componentFrameCache.get(fn);
|
|
185
|
-
if (void 0 !== frame) return frame;
|
|
186
|
-
reentry = true;
|
|
187
|
-
frame = Error.prepareStackTrace;
|
|
188
|
-
Error.prepareStackTrace = void 0;
|
|
189
|
-
var previousDispatcher = null;
|
|
190
|
-
previousDispatcher = ReactSharedInternals.H;
|
|
191
|
-
ReactSharedInternals.H = null;
|
|
192
|
-
disableLogs();
|
|
193
|
-
try {
|
|
194
|
-
var RunInRootFrame = {
|
|
195
|
-
DetermineComponentFrameRoot: function() {
|
|
196
|
-
try {
|
|
197
|
-
if (construct) {
|
|
198
|
-
var Fake = function() {
|
|
199
|
-
throw Error();
|
|
200
|
-
};
|
|
201
|
-
Object.defineProperty(Fake.prototype, "props", {
|
|
202
|
-
set: function() {
|
|
203
|
-
throw Error();
|
|
204
|
-
}
|
|
205
|
-
});
|
|
206
|
-
if ("object" === typeof Reflect && Reflect.construct) {
|
|
207
|
-
try {
|
|
208
|
-
Reflect.construct(Fake, []);
|
|
209
|
-
} catch (x) {
|
|
210
|
-
var control = x;
|
|
211
|
-
}
|
|
212
|
-
Reflect.construct(fn, [], Fake);
|
|
213
|
-
} else {
|
|
214
|
-
try {
|
|
215
|
-
Fake.call();
|
|
216
|
-
} catch (x$0) {
|
|
217
|
-
control = x$0;
|
|
218
|
-
}
|
|
219
|
-
fn.call(Fake.prototype);
|
|
220
|
-
}
|
|
221
|
-
} else {
|
|
222
|
-
try {
|
|
223
|
-
throw Error();
|
|
224
|
-
} catch (x$1) {
|
|
225
|
-
control = x$1;
|
|
226
|
-
}
|
|
227
|
-
(Fake = fn()) && "function" === typeof Fake.catch && Fake.catch(function() {
|
|
228
|
-
});
|
|
229
|
-
}
|
|
230
|
-
} catch (sample) {
|
|
231
|
-
if (sample && control && "string" === typeof sample.stack)
|
|
232
|
-
return [sample.stack, control.stack];
|
|
233
|
-
}
|
|
234
|
-
return [null, null];
|
|
235
|
-
}
|
|
236
|
-
};
|
|
237
|
-
RunInRootFrame.DetermineComponentFrameRoot.displayName = "DetermineComponentFrameRoot";
|
|
238
|
-
var namePropDescriptor = Object.getOwnPropertyDescriptor(
|
|
239
|
-
RunInRootFrame.DetermineComponentFrameRoot,
|
|
240
|
-
"name"
|
|
241
|
-
);
|
|
242
|
-
namePropDescriptor && namePropDescriptor.configurable && Object.defineProperty(
|
|
243
|
-
RunInRootFrame.DetermineComponentFrameRoot,
|
|
244
|
-
"name",
|
|
245
|
-
{ value: "DetermineComponentFrameRoot" }
|
|
246
|
-
);
|
|
247
|
-
var _RunInRootFrame$Deter = RunInRootFrame.DetermineComponentFrameRoot(), sampleStack = _RunInRootFrame$Deter[0], controlStack = _RunInRootFrame$Deter[1];
|
|
248
|
-
if (sampleStack && controlStack) {
|
|
249
|
-
var sampleLines = sampleStack.split("\n"), controlLines = controlStack.split("\n");
|
|
250
|
-
for (_RunInRootFrame$Deter = namePropDescriptor = 0; namePropDescriptor < sampleLines.length && !sampleLines[namePropDescriptor].includes(
|
|
251
|
-
"DetermineComponentFrameRoot"
|
|
252
|
-
); )
|
|
253
|
-
namePropDescriptor++;
|
|
254
|
-
for (; _RunInRootFrame$Deter < controlLines.length && !controlLines[_RunInRootFrame$Deter].includes(
|
|
255
|
-
"DetermineComponentFrameRoot"
|
|
256
|
-
); )
|
|
257
|
-
_RunInRootFrame$Deter++;
|
|
258
|
-
if (namePropDescriptor === sampleLines.length || _RunInRootFrame$Deter === controlLines.length)
|
|
259
|
-
for (namePropDescriptor = sampleLines.length - 1, _RunInRootFrame$Deter = controlLines.length - 1; 1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter && sampleLines[namePropDescriptor] !== controlLines[_RunInRootFrame$Deter]; )
|
|
260
|
-
_RunInRootFrame$Deter--;
|
|
261
|
-
for (; 1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter; namePropDescriptor--, _RunInRootFrame$Deter--)
|
|
262
|
-
if (sampleLines[namePropDescriptor] !== controlLines[_RunInRootFrame$Deter]) {
|
|
263
|
-
if (1 !== namePropDescriptor || 1 !== _RunInRootFrame$Deter) {
|
|
264
|
-
do
|
|
265
|
-
if (namePropDescriptor--, _RunInRootFrame$Deter--, 0 > _RunInRootFrame$Deter || sampleLines[namePropDescriptor] !== controlLines[_RunInRootFrame$Deter]) {
|
|
266
|
-
var _frame = "\n" + sampleLines[namePropDescriptor].replace(
|
|
267
|
-
" at new ",
|
|
268
|
-
" at "
|
|
269
|
-
);
|
|
270
|
-
fn.displayName && _frame.includes("<anonymous>") && (_frame = _frame.replace("<anonymous>", fn.displayName));
|
|
271
|
-
"function" === typeof fn && componentFrameCache.set(fn, _frame);
|
|
272
|
-
return _frame;
|
|
273
|
-
}
|
|
274
|
-
while (1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter);
|
|
275
|
-
}
|
|
276
|
-
break;
|
|
277
|
-
}
|
|
278
|
-
}
|
|
279
|
-
} finally {
|
|
280
|
-
reentry = false, ReactSharedInternals.H = previousDispatcher, reenableLogs(), Error.prepareStackTrace = frame;
|
|
281
|
-
}
|
|
282
|
-
sampleLines = (sampleLines = fn ? fn.displayName || fn.name : "") ? describeBuiltInComponentFrame(sampleLines) : "";
|
|
283
|
-
"function" === typeof fn && componentFrameCache.set(fn, sampleLines);
|
|
284
|
-
return sampleLines;
|
|
285
|
-
}
|
|
286
|
-
function describeUnknownElementTypeFrameInDEV(type) {
|
|
287
|
-
if (null == type) return "";
|
|
288
|
-
if ("function" === typeof type) {
|
|
289
|
-
var prototype = type.prototype;
|
|
290
|
-
return describeNativeComponentFrame(
|
|
291
|
-
type,
|
|
292
|
-
!(!prototype || !prototype.isReactComponent)
|
|
293
|
-
);
|
|
294
|
-
}
|
|
295
|
-
if ("string" === typeof type) return describeBuiltInComponentFrame(type);
|
|
296
|
-
switch (type) {
|
|
297
|
-
case REACT_SUSPENSE_TYPE:
|
|
298
|
-
return describeBuiltInComponentFrame("Suspense");
|
|
299
|
-
case REACT_SUSPENSE_LIST_TYPE:
|
|
300
|
-
return describeBuiltInComponentFrame("SuspenseList");
|
|
301
|
-
}
|
|
302
|
-
if ("object" === typeof type)
|
|
303
|
-
switch (type.$$typeof) {
|
|
304
|
-
case REACT_FORWARD_REF_TYPE:
|
|
305
|
-
return type = describeNativeComponentFrame(type.render, false), type;
|
|
306
|
-
case REACT_MEMO_TYPE:
|
|
307
|
-
return describeUnknownElementTypeFrameInDEV(type.type);
|
|
308
|
-
case REACT_LAZY_TYPE:
|
|
309
|
-
prototype = type._payload;
|
|
310
|
-
type = type._init;
|
|
311
|
-
try {
|
|
312
|
-
return describeUnknownElementTypeFrameInDEV(type(prototype));
|
|
313
|
-
} catch (x) {
|
|
314
|
-
}
|
|
315
|
-
}
|
|
316
|
-
return "";
|
|
317
|
-
}
|
|
318
|
-
function getOwner() {
|
|
319
|
-
var dispatcher = ReactSharedInternals.A;
|
|
320
|
-
return null === dispatcher ? null : dispatcher.getOwner();
|
|
321
|
-
}
|
|
322
|
-
function hasValidKey(config) {
|
|
323
|
-
if (hasOwnProperty.call(config, "key")) {
|
|
324
|
-
var getter = Object.getOwnPropertyDescriptor(config, "key").get;
|
|
325
|
-
if (getter && getter.isReactWarning) return false;
|
|
326
|
-
}
|
|
327
|
-
return void 0 !== config.key;
|
|
328
|
-
}
|
|
329
|
-
function defineKeyPropWarningGetter(props, displayName) {
|
|
330
|
-
function warnAboutAccessingKey() {
|
|
331
|
-
specialPropKeyWarningShown || (specialPropKeyWarningShown = true, console.error(
|
|
332
|
-
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
|
|
333
|
-
displayName
|
|
334
|
-
));
|
|
335
|
-
}
|
|
336
|
-
warnAboutAccessingKey.isReactWarning = true;
|
|
337
|
-
Object.defineProperty(props, "key", {
|
|
338
|
-
get: warnAboutAccessingKey,
|
|
339
|
-
configurable: true
|
|
340
|
-
});
|
|
341
|
-
}
|
|
342
|
-
function elementRefGetterWithDeprecationWarning() {
|
|
343
|
-
var componentName = getComponentNameFromType(this.type);
|
|
344
|
-
didWarnAboutElementRef[componentName] || (didWarnAboutElementRef[componentName] = true, console.error(
|
|
345
|
-
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
346
|
-
));
|
|
347
|
-
componentName = this.props.ref;
|
|
348
|
-
return void 0 !== componentName ? componentName : null;
|
|
349
|
-
}
|
|
350
|
-
function ReactElement(type, key, self, source, owner, props) {
|
|
351
|
-
self = props.ref;
|
|
352
|
-
type = {
|
|
353
|
-
$$typeof: REACT_ELEMENT_TYPE,
|
|
354
|
-
type,
|
|
355
|
-
key,
|
|
356
|
-
props,
|
|
357
|
-
_owner: owner
|
|
358
|
-
};
|
|
359
|
-
null !== (void 0 !== self ? self : null) ? Object.defineProperty(type, "ref", {
|
|
360
|
-
enumerable: false,
|
|
361
|
-
get: elementRefGetterWithDeprecationWarning
|
|
362
|
-
}) : Object.defineProperty(type, "ref", { enumerable: false, value: null });
|
|
363
|
-
type._store = {};
|
|
364
|
-
Object.defineProperty(type._store, "validated", {
|
|
365
|
-
configurable: false,
|
|
366
|
-
enumerable: false,
|
|
367
|
-
writable: true,
|
|
368
|
-
value: 0
|
|
369
|
-
});
|
|
370
|
-
Object.defineProperty(type, "_debugInfo", {
|
|
371
|
-
configurable: false,
|
|
372
|
-
enumerable: false,
|
|
373
|
-
writable: true,
|
|
374
|
-
value: null
|
|
375
|
-
});
|
|
376
|
-
Object.freeze && (Object.freeze(type.props), Object.freeze(type));
|
|
377
|
-
return type;
|
|
378
|
-
}
|
|
379
|
-
function jsxDEVImpl(type, config, maybeKey, isStaticChildren, source, self) {
|
|
380
|
-
if ("string" === typeof type || "function" === typeof type || type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || type === REACT_OFFSCREEN_TYPE || "object" === typeof type && null !== type && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_CONSUMER_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_CLIENT_REFERENCE$1 || void 0 !== type.getModuleId)) {
|
|
381
|
-
var children = config.children;
|
|
382
|
-
if (void 0 !== children)
|
|
383
|
-
if (isStaticChildren)
|
|
384
|
-
if (isArrayImpl(children)) {
|
|
385
|
-
for (isStaticChildren = 0; isStaticChildren < children.length; isStaticChildren++)
|
|
386
|
-
validateChildKeys(children[isStaticChildren], type);
|
|
387
|
-
Object.freeze && Object.freeze(children);
|
|
388
|
-
} else
|
|
389
|
-
console.error(
|
|
390
|
-
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
391
|
-
);
|
|
392
|
-
else validateChildKeys(children, type);
|
|
393
|
-
} else {
|
|
394
|
-
children = "";
|
|
395
|
-
if (void 0 === type || "object" === typeof type && null !== type && 0 === Object.keys(type).length)
|
|
396
|
-
children += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";
|
|
397
|
-
null === type ? isStaticChildren = "null" : isArrayImpl(type) ? isStaticChildren = "array" : void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE ? (isStaticChildren = "<" + (getComponentNameFromType(type.type) || "Unknown") + " />", children = " Did you accidentally export a JSX literal instead of a component?") : isStaticChildren = typeof type;
|
|
398
|
-
console.error(
|
|
399
|
-
"React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",
|
|
400
|
-
isStaticChildren,
|
|
401
|
-
children
|
|
402
|
-
);
|
|
403
|
-
}
|
|
404
|
-
if (hasOwnProperty.call(config, "key")) {
|
|
405
|
-
children = getComponentNameFromType(type);
|
|
406
|
-
var keys = Object.keys(config).filter(function(k) {
|
|
407
|
-
return "key" !== k;
|
|
408
|
-
});
|
|
409
|
-
isStaticChildren = 0 < keys.length ? "{key: someKey, " + keys.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
410
|
-
didWarnAboutKeySpread[children + isStaticChildren] || (keys = 0 < keys.length ? "{" + keys.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
411
|
-
'A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',
|
|
412
|
-
isStaticChildren,
|
|
413
|
-
children,
|
|
414
|
-
keys,
|
|
415
|
-
children
|
|
416
|
-
), didWarnAboutKeySpread[children + isStaticChildren] = true);
|
|
417
|
-
}
|
|
418
|
-
children = null;
|
|
419
|
-
void 0 !== maybeKey && (checkKeyStringCoercion(maybeKey), children = "" + maybeKey);
|
|
420
|
-
hasValidKey(config) && (checkKeyStringCoercion(config.key), children = "" + config.key);
|
|
421
|
-
if ("key" in config) {
|
|
422
|
-
maybeKey = {};
|
|
423
|
-
for (var propName in config)
|
|
424
|
-
"key" !== propName && (maybeKey[propName] = config[propName]);
|
|
425
|
-
} else maybeKey = config;
|
|
426
|
-
children && defineKeyPropWarningGetter(
|
|
427
|
-
maybeKey,
|
|
428
|
-
"function" === typeof type ? type.displayName || type.name || "Unknown" : type
|
|
429
|
-
);
|
|
430
|
-
return ReactElement(type, children, self, source, getOwner(), maybeKey);
|
|
431
|
-
}
|
|
432
|
-
function validateChildKeys(node, parentType) {
|
|
433
|
-
if ("object" === typeof node && node && node.$$typeof !== REACT_CLIENT_REFERENCE) {
|
|
434
|
-
if (isArrayImpl(node))
|
|
435
|
-
for (var i = 0; i < node.length; i++) {
|
|
436
|
-
var child = node[i];
|
|
437
|
-
isValidElement(child) && validateExplicitKey(child, parentType);
|
|
438
|
-
}
|
|
439
|
-
else if (isValidElement(node))
|
|
440
|
-
node._store && (node._store.validated = 1);
|
|
441
|
-
else if (null === node || "object" !== typeof node ? i = null : (i = MAYBE_ITERATOR_SYMBOL && node[MAYBE_ITERATOR_SYMBOL] || node["@@iterator"], i = "function" === typeof i ? i : null), "function" === typeof i && i !== node.entries && (i = i.call(node), i !== node))
|
|
442
|
-
for (; !(node = i.next()).done; )
|
|
443
|
-
isValidElement(node.value) && validateExplicitKey(node.value, parentType);
|
|
444
|
-
}
|
|
445
|
-
}
|
|
446
|
-
function isValidElement(object) {
|
|
447
|
-
return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
|
|
448
|
-
}
|
|
449
|
-
function validateExplicitKey(element, parentType) {
|
|
450
|
-
if (element._store && !element._store.validated && null == element.key && (element._store.validated = 1, parentType = getCurrentComponentErrorInfo(parentType), !ownerHasKeyUseWarning[parentType])) {
|
|
451
|
-
ownerHasKeyUseWarning[parentType] = true;
|
|
452
|
-
var childOwner = "";
|
|
453
|
-
element && null != element._owner && element._owner !== getOwner() && (childOwner = null, "number" === typeof element._owner.tag ? childOwner = getComponentNameFromType(element._owner.type) : "string" === typeof element._owner.name && (childOwner = element._owner.name), childOwner = " It was passed a child from " + childOwner + ".");
|
|
454
|
-
var prevGetCurrentStack = ReactSharedInternals.getCurrentStack;
|
|
455
|
-
ReactSharedInternals.getCurrentStack = function() {
|
|
456
|
-
var stack = describeUnknownElementTypeFrameInDEV(element.type);
|
|
457
|
-
prevGetCurrentStack && (stack += prevGetCurrentStack() || "");
|
|
458
|
-
return stack;
|
|
459
|
-
};
|
|
460
|
-
console.error(
|
|
461
|
-
'Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',
|
|
462
|
-
parentType,
|
|
463
|
-
childOwner
|
|
464
|
-
);
|
|
465
|
-
ReactSharedInternals.getCurrentStack = prevGetCurrentStack;
|
|
466
|
-
}
|
|
467
|
-
}
|
|
468
|
-
function getCurrentComponentErrorInfo(parentType) {
|
|
469
|
-
var info = "", owner = getOwner();
|
|
470
|
-
owner && (owner = getComponentNameFromType(owner.type)) && (info = "\n\nCheck the render method of `" + owner + "`.");
|
|
471
|
-
info || (parentType = getComponentNameFromType(parentType)) && (info = "\n\nCheck the top-level render call using <" + parentType + ">.");
|
|
472
|
-
return info;
|
|
473
|
-
}
|
|
474
|
-
var React = require$$0, REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler");
|
|
475
|
-
var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"), MAYBE_ITERATOR_SYMBOL = Symbol.iterator, REACT_CLIENT_REFERENCE$2 = Symbol.for("react.client.reference"), ReactSharedInternals = React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, hasOwnProperty = Object.prototype.hasOwnProperty, assign = Object.assign, REACT_CLIENT_REFERENCE$1 = Symbol.for("react.client.reference"), isArrayImpl = Array.isArray, disabledDepth = 0, prevLog, prevInfo, prevWarn, prevError, prevGroup, prevGroupCollapsed, prevGroupEnd;
|
|
476
|
-
disabledLog.__reactDisabledLog = true;
|
|
477
|
-
var prefix, suffix, reentry = false;
|
|
478
|
-
var componentFrameCache = new ("function" === typeof WeakMap ? WeakMap : Map)();
|
|
479
|
-
var REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"), specialPropKeyWarningShown;
|
|
480
|
-
var didWarnAboutElementRef = {};
|
|
481
|
-
var didWarnAboutKeySpread = {}, ownerHasKeyUseWarning = {};
|
|
482
|
-
reactJsxRuntime_development.Fragment = REACT_FRAGMENT_TYPE;
|
|
483
|
-
reactJsxRuntime_development.jsx = function(type, config, maybeKey, source, self) {
|
|
484
|
-
return jsxDEVImpl(type, config, maybeKey, false, source, self);
|
|
485
|
-
};
|
|
486
|
-
reactJsxRuntime_development.jsxs = function(type, config, maybeKey, source, self) {
|
|
487
|
-
return jsxDEVImpl(type, config, maybeKey, true, source, self);
|
|
488
|
-
};
|
|
489
|
-
}();
|
|
490
|
-
return reactJsxRuntime_development;
|
|
491
|
-
}
|
|
492
|
-
var hasRequiredJsxRuntime;
|
|
493
|
-
function requireJsxRuntime() {
|
|
494
|
-
if (hasRequiredJsxRuntime) return jsxRuntime.exports;
|
|
495
|
-
hasRequiredJsxRuntime = 1;
|
|
496
|
-
var define_process_env_default = {};
|
|
497
|
-
if (define_process_env_default.NODE_ENV === "production") {
|
|
498
|
-
jsxRuntime.exports = requireReactJsxRuntime_production();
|
|
499
|
-
} else {
|
|
500
|
-
jsxRuntime.exports = requireReactJsxRuntime_development();
|
|
501
|
-
}
|
|
502
|
-
return jsxRuntime.exports;
|
|
503
|
-
}
|
|
504
|
-
var jsxRuntimeExports = requireJsxRuntime();
|
|
505
|
-
exports.jsxRuntimeExports = jsxRuntimeExports;
|
|
506
|
-
//# sourceMappingURL=jsx-runtime-CL03FswV.cjs.map
|