@crowdin/app-project-module 3.2.2 → 3.3.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.
- package/out/modules/about.js +2 -10
- package/out/modules/api/api.js +7 -0
- package/out/modules/api/components.d.ts +6 -1
- package/out/modules/api/components.js +6 -1
- package/out/modules/integration/handlers/crowdin-update.js +33 -6
- package/out/modules/integration/handlers/integration-update.js +1 -1
- package/out/modules/integration/handlers/job-list.d.ts +8 -2
- package/out/modules/integration/handlers/job-list.js +30 -11
- package/out/modules/integration/types.d.ts +8 -0
- package/out/modules/integration/util/types.d.ts +2 -0
- package/out/static/css/styles.css +1 -1
- package/out/static/img/crowdin_small.svg +8 -7
- package/out/static/ui/about.bundle.js +11 -1
- package/out/static/ui/about.bundle.js.map +1 -1
- package/out/static/ui/error.bundle.js +3 -3
- package/out/static/ui/error.bundle.js.map +1 -1
- package/out/static/ui/login.bundle.js +4 -4
- package/out/static/ui/login.bundle.js.map +1 -1
- package/out/static/ui/main.bundle.js +656 -590
- package/out/static/ui/main.bundle.js.map +1 -1
- package/out/static/ui/subscription.bundle.js +1 -1
- package/out/static/ui/subscription.bundle.js.map +1 -1
- package/out/storage/drizzle/index.js +6 -1
- package/out/util/index.d.ts +1 -0
- package/out/util/index.js +16 -1
- package/out/util/logo.d.ts +4 -0
- package/out/util/logo.js +47 -0
- package/out/util/static-files.d.ts +4 -1
- package/out/util/static-files.js +26 -4
- package/package.json +1 -1
|
@@ -17465,6 +17465,16 @@
|
|
|
17465
17465
|
return JSON.parse((element === null || element === void 0 ? void 0 : element.textContent) || '{}');
|
|
17466
17466
|
}
|
|
17467
17467
|
|
|
17468
|
+
// Two brand files, each tuned for its own background, swapped by theme.
|
|
17469
|
+
function CrowdinLogo({ className }) {
|
|
17470
|
+
return (jsxRuntimeExports.jsxs("svg", { viewBox: "0 0 180 37", className: className, fill: "none", "aria-hidden": "true", children: [jsxRuntimeExports.jsxs("g", { className: "dark:hidden", children: [jsxRuntimeExports.jsx("path", { d: "M46.5517 20.0596C46.5517 22.8097 47.3937 25.0143 49.0759 26.6769C50.7598 28.3377 53.0349 29.169 55.9047 29.169C58.7744 29.169 60.7057 28.4667 62.1406 27.0638C63.5754 25.6504 64.2929 24.0105 64.2929 22.1475V21.9784H60.1409V22.13C60.1409 22.8812 59.8129 23.5277 59.1586 24.0662C58.5025 24.6047 57.408 24.8749 55.8713 24.8749C54.1435 24.8749 52.8771 24.4531 52.0754 23.6114C51.2738 22.7696 50.8721 21.6473 50.8721 20.2444V19.3347C50.8721 17.9317 51.2791 16.8094 52.093 15.9677C52.9069 15.1259 54.1663 14.7042 55.8713 14.7042C57.3623 14.7042 58.4464 14.9621 59.1252 15.478C59.8146 15.9938 60.1584 16.6456 60.1584 17.4316V17.6006H64.3104L64.2929 17.381C64.2245 15.5058 63.4912 13.8799 62.0897 12.4978C60.6882 11.1054 58.6271 10.41 55.9047 10.41C53.0349 10.41 50.7581 11.2413 49.0759 12.9022C47.3919 14.5526 46.5517 16.7571 46.5517 19.5194V20.0579V20.0596Z", fill: "#263238" }), jsxRuntimeExports.jsx("path", { d: "M67.7853 28.6635H72.0215V19.9184C72.0215 18.0031 72.9477 17.0132 73.716 16.473C74.4843 15.9223 75.3596 15.6486 76.3419 15.6486C76.6471 15.6486 76.9243 15.6661 77.1716 15.6992C77.4312 15.7323 77.6751 15.7724 77.8996 15.8177V10.6661C77.7873 10.6208 77.5891 10.5703 77.3067 10.5145C77.0348 10.4587 76.7699 10.4308 76.5103 10.4308C75.5052 10.4308 74.6071 10.701 73.816 11.2395C73.1038 11.724 72.5285 12.2973 72.0917 12.9544C72.0461 13.0223 71.9391 12.9944 71.9338 12.9125L71.5637 10.9188H67.7836V28.6635H67.7853Z", fill: "#263238" }), jsxRuntimeExports.jsx("path", { d: "M79.6309 20.0596C79.6309 22.8097 80.5062 25.0143 82.2568 26.6768C84.0075 28.3377 86.3124 29.169 89.1716 29.169C92.0308 29.169 94.3182 28.3377 96.0688 26.6768C97.8317 25.016 98.7122 22.8097 98.7122 20.0596V19.5211C98.7122 16.7606 97.8317 14.5543 96.0688 12.9039C94.3182 11.243 92.0185 10.4117 89.1716 10.4117C86.3246 10.4117 84.0092 11.243 82.2568 12.9039C80.5062 14.5543 79.6309 16.7588 79.6309 19.5211V20.0596ZM83.9513 19.3364C83.9513 17.7993 84.4039 16.6769 85.3073 15.9694C86.2106 15.2618 87.4982 14.908 89.1716 14.908C90.845 14.908 92.115 15.2618 93.0184 15.9694C93.934 16.6769 94.3918 17.7993 94.3918 19.3364V20.2461C94.3918 21.8407 93.9393 22.9787 93.0359 23.6636C92.1431 24.3363 90.8555 24.6744 89.1716 24.6744C87.4876 24.6744 86.1948 24.3381 85.2915 23.6636C84.3986 22.9787 83.9531 21.839 83.9531 20.2461V19.3364H83.9513Z", fill: "#263238" }), jsxRuntimeExports.jsx("path", { d: "M100.636 10.9154L105.957 28.6601H110.775L114.554 15.7742C114.594 15.6366 114.79 15.6331 114.834 15.7707L118.909 28.6601H123.726L129.081 10.9154H123.842L121.198 20.7986C121.086 21.2482 120.977 21.6909 120.875 22.1283C120.818 22.4037 120.721 22.8411 120.66 23.1182C120.646 23.1792 120.558 23.1809 120.544 23.1182C120.469 22.801 120.388 22.4716 120.298 22.1266C120.186 21.6769 120.062 21.2343 119.925 20.7968L116.976 10.9137H111.959C111.959 10.9137 108.998 20.9955 108.451 23.0049C108.428 23.092 108.304 23.0903 108.281 23.0049L105.215 10.9154H100.633H100.636Z", fill: "#263238" }), jsxRuntimeExports.jsx("path", { d: "M130.469 20.0596C130.469 22.6859 131.186 24.8347 132.621 26.5078C134.067 28.1686 136.073 28.9999 138.638 28.9999C139.971 28.9999 141.123 28.7594 142.093 28.2767C142.769 27.9368 143.635 27.1752 144.112 26.7308C144.307 27.5464 144.568 28.6653 144.568 28.6653H148.768V2.85339H144.347V13.0555C143.783 12.2695 143.037 11.663 142.111 11.2378C141.185 10.8003 140.06 10.5808 138.739 10.5808C136.254 10.5808 134.254 11.4173 132.74 13.0886C131.227 14.7494 130.469 16.893 130.469 19.5193V20.0578V20.0596ZM134.791 20.2286L134.775 19.3538C134.775 18.0746 135.17 17.0411 135.961 16.2552C136.752 15.4587 137.978 15.0596 139.639 15.0596C140.802 15.0596 141.792 15.3298 142.604 15.8683C142.613 15.8735 142.62 15.8787 142.628 15.8839C143.716 16.6124 144.349 17.8463 144.349 19.1499V20.3698C144.349 21.71 143.681 22.9735 142.546 23.6967C142.537 23.7019 142.528 23.7072 142.52 23.7124C141.65 24.2509 140.644 24.521 139.504 24.521C137.831 24.521 136.629 24.1219 135.894 23.3255C135.159 22.5291 134.793 21.4956 134.793 20.2269L134.791 20.2286Z", fill: "#263238" }), jsxRuntimeExports.jsx("path", { d: "M153.785 28.6636H158.005V10.9171H153.785V28.6618V28.6636ZM152.888 6.0688C152.888 6.83213 153.148 7.46126 153.667 7.95446C154.199 8.4372 154.942 8.6777 155.904 8.6777C156.865 8.6777 157.588 8.43023 158.107 7.93703C158.638 7.44383 158.903 6.81993 158.903 6.0688C158.903 5.31767 158.644 4.7112 158.123 4.21626C157.603 3.72306 156.858 3.47559 155.886 3.47559C154.914 3.47559 154.199 3.72306 153.667 4.21626C153.148 4.70945 152.888 5.32813 152.888 6.0688Z", fill: "#263238" }), jsxRuntimeExports.jsx("path", { d: "M163.122 28.6635H167.342V21.466C167.342 17.3914 168.793 14.8087 171.95 14.8087C175.108 14.8087 175.781 16.6333 175.781 19.1952V28.6635H180V18.1408C180 15.1224 179.379 13.106 178.135 12.0969C176.892 11.0757 175.306 10.5651 173.373 10.5651C172.098 10.5651 170.917 10.8003 169.831 11.2726C168.856 11.6909 168.062 12.2869 167.449 13.0572C167.398 12.7836 167.12 10.9188 167.12 10.9188H163.12V28.6635H163.122Z", fill: "#263238" }), jsxRuntimeExports.jsx("path", { d: "M26.3793 0H10.7379C9.0578 0 7.52231 0.287415 6.17175 0.825712C4.92783 1.3215 3.84078 2.03011 2.94207 2.923C2.00965 3.84937 1.27689 4.97716 0.775862 6.27144C0.269651 7.57911 0 9.05675 0 10.6683V26.2083C0 27.9214 0.291075 29.473 0.83788 30.8333C1.33828 32.0782 2.05284 33.163 2.95448 34.0647C3.85321 34.9634 4.94061 35.672 6.18987 36.1676C7.56348 36.7125 9.13276 37 10.8621 37H26.3793C28.1035 37 29.6653 36.7108 31.0345 36.1676C32.2875 35.6704 33.3793 34.9605 34.2869 34.0647C35.1956 33.1677 35.9111 32.0816 36.4103 30.8333C36.9544 29.4727 37.2414 27.9193 37.2414 26.2083V10.7917C37.2414 9.12246 36.965 7.60651 36.445 6.27144C35.9429 4.98255 35.2137 3.86223 34.2869 2.93533C33.3841 2.03248 32.2909 1.32162 31.0345 0.825712C29.6649 0.285152 28.1015 0 26.3793 0Z", fill: "#263238" }), jsxRuntimeExports.jsx("path", { d: "M23.0401 22.6811C23.0276 22.5454 22.9159 22.0274 22.5559 22.0151C22.1959 22.0151 21.4387 22.0151 21.4387 22.0151C21.4387 22.0151 20.9794 22.0151 20.9794 22.4591C20.9918 23.3224 21.4883 24.0624 22.0966 24.5557C22.6056 24.9751 23.2263 25.1971 23.9339 25.1971C24.5545 25.1847 24.629 24.7407 24.3311 24.6051C23.8345 24.3707 23.189 23.8527 23.0525 22.6811H23.0401Z", fill: "white" }), jsxRuntimeExports.jsx("path", { d: "M26.3793 10.7917C24.7788 10.7917 23.1783 10.9886 21.7241 11.3445C20.336 11.6842 19.0811 12.1687 18.0869 12.765C16.9945 13.4187 16.1503 14.208 15.5669 15.1207C15.0951 15.8607 14.7848 16.6624 14.6731 17.5257C14.6358 17.8094 14.611 18.6974 15.5545 18.9317C16.1379 19.0797 17.0565 19.1414 17.6648 19.2154C18.6579 19.3264 18.931 18.2287 19.0179 18.0437C19.8 15.8977 20.9669 14.4547 22.6303 13.505C23.645 12.9269 24.8704 12.5358 26.3793 12.3158C27.381 12.1697 28.5077 12.099 29.7807 12.099C30.2027 12.099 31.1834 12.1484 31.1834 11.6674C31.1834 11.2982 30.4118 11.0869 29.4827 10.9659C28.239 10.804 26.7133 10.804 26.3793 10.804V10.7917Z", fill: "white" }), jsxRuntimeExports.jsx("path", { d: "M22.0221 27.084C20.8924 26.825 18.9931 25.604 18.5586 22.5084C18.4717 21.9287 18.149 21.645 17.6524 21.5464C16.9945 21.4107 15.84 21.349 15.4676 21.312C14.9338 21.2627 14.5365 21.571 14.5986 22.496C14.7103 23.902 15.2814 24.9997 16.2372 26.085C17.3669 27.3677 18.8565 28.1077 20.4455 28.0707C22.1959 28.0337 22.32 27.7254 22.3324 27.491C22.3324 27.2567 22.2207 27.121 22.0221 27.0717V27.084Z", fill: "white" }), jsxRuntimeExports.jsx("path", { d: "M17.2676 29.674C15.5173 29.674 11.8428 26.8867 11.8428 22.5207C11.8428 21.756 11.3711 20.979 10.4028 20.6954C9.62071 20.461 8.50347 20.1157 7.79588 20.0787C6.09519 19.9677 6.18209 21.3737 6.23174 22.1137C6.39312 25.2094 7.77106 27.824 10.0428 29.304C10.9862 29.9207 12.1035 30.34 13.4193 30.5867C13.7297 30.6484 14.8345 30.8704 15.9517 30.8334C17.6773 30.7594 17.8511 30.266 17.8511 30.0687C17.8511 29.8097 17.6648 29.6864 17.2676 29.6864V29.674Z", fill: "white" }), jsxRuntimeExports.jsx("path", { d: "M31.618 7.77002C30.9146 7.56828 30.202 7.39073 29.4829 7.2371C28.4593 7.01844 27.4224 6.8482 26.3794 6.72553C23.8095 6.42326 21.2031 6.40979 18.6704 6.67235C16.4384 6.908 13.9472 7.46039 11.7778 8.59635C9.51898 9.7791 7.60898 11.5945 6.70348 14.3437C6.51728 14.8987 6.1821 16.9337 8.14348 17.427C8.77659 17.5874 9.4221 17.871 10.0924 17.9944C12.0042 18.3397 12.4138 16.539 12.5256 16.1814C12.6373 15.836 12.7614 15.503 12.9104 15.1577C13.5187 13.8627 14.4249 12.765 15.4552 11.914C17.5904 10.138 20.2469 9.29935 22.829 8.89235C24.3311 8.65802 25.8331 8.55935 27.3352 8.59635C28.1839 8.61473 28.8917 8.64167 29.4829 8.67016C30.1291 8.7013 30.6358 8.73428 31.0346 8.75994C32.2292 8.83682 32.4554 8.84798 32.5614 8.54702C32.7352 8.05369 31.9159 7.84402 31.618 7.77002Z", fill: "white" }), jsxRuntimeExports.jsx("path", { d: "M27.7324 14.837C22.6924 14.837 21.3766 17.353 21.0041 19.0304C20.8304 19.8444 21.3269 19.906 21.7862 19.9924C22.4317 20.1034 22.9531 20.0047 23.189 19.388C23.8966 17.4764 24.8648 15.6017 27.931 15.6017C28.2414 15.6017 28.5145 15.4044 28.5145 15.2194C28.5145 15.0344 28.3159 14.837 27.7448 14.837H27.7324Z", fill: "white" })] }), jsxRuntimeExports.jsxs("g", { className: "hidden dark:block", children: [jsxRuntimeExports.jsx("path", { d: "M46.5518 20.1113C46.5518 22.883 47.3934 25.1051 49.0767 26.7799C50.7601 28.4536 53.036 29.2916 55.9056 29.2916C58.7753 29.2916 60.7065 28.5848 62.1419 27.17C63.5762 25.7445 64.2939 24.0933 64.2939 22.2152V22.0462H60.1422V22.1986C60.1422 22.9563 59.8141 23.6064 59.1589 24.1501C58.5038 24.6926 57.4083 24.9644 55.8714 24.9644C54.1432 24.9644 52.8778 24.5401 52.0751 23.6915C51.2724 22.8428 50.8722 21.7117 50.8722 20.2981V19.382C50.8722 17.9684 51.2794 16.8373 52.0928 15.9886C52.9061 15.14 54.1656 14.7157 55.8714 14.7157C57.3623 14.7157 58.4471 14.9757 59.1247 15.4957C59.8141 16.0158 60.1588 16.6718 60.1588 17.4637V17.6339H64.3104L64.2939 17.4129C64.2266 15.5241 63.4912 13.8835 62.0912 12.4924C60.69 11.0894 58.6289 10.3885 55.9056 10.3885C53.036 10.3885 50.7601 11.2253 49.0767 12.9002C47.3934 14.5632 46.5518 16.7853 46.5518 19.5688V20.1113Z", fill: "white" }), jsxRuntimeExports.jsx("path", { d: "M67.7844 28.7823H72.021V19.9696C72.021 18.0394 72.9477 17.0407 73.7149 16.4981C74.4834 15.9438 75.3593 15.6672 76.3414 15.6672C76.646 15.6672 76.9234 15.6838 77.1713 15.718C77.431 15.7523 77.6742 15.7913 77.8996 15.8362V10.6439C77.7863 10.599 77.5892 10.5481 77.307 10.4914C77.0355 10.4347 76.7699 10.4063 76.5102 10.4063C75.5045 10.4063 74.6062 10.6782 73.8153 11.2207C73.1035 11.71 72.5286 12.2856 72.0907 12.9499C72.0458 13.0184 71.9384 12.9901 71.9337 12.9073L71.563 10.898H67.7832V28.7823H67.7844Z", fill: "white" }), jsxRuntimeExports.jsx("path", { d: "M79.6302 20.1113C79.6302 22.883 80.5061 25.1051 82.2567 26.7799C84.0073 28.4536 86.3128 29.2916 89.1706 29.2916C92.0285 29.2916 94.3162 28.4548 96.068 26.7799C97.8304 25.1063 98.711 22.883 98.711 20.1113V19.5688C98.711 16.7864 97.8292 14.5632 96.068 12.9002C94.3174 11.2265 92.0179 10.3885 89.1706 10.3885C86.3234 10.3885 84.0073 11.2253 82.2567 12.9002C80.5061 14.5632 79.6302 16.7853 79.6302 19.5688V20.1113ZM83.9519 19.382C83.9519 17.8325 84.404 16.7013 85.307 15.9886C86.2112 15.2759 87.4991 14.9201 89.1706 14.9201C90.8421 14.9201 92.1135 15.2759 93.0177 15.9886C93.9325 16.7013 94.3906 17.8325 94.3906 19.382V20.2981C94.3906 21.9043 93.9385 23.052 93.0354 23.7423C92.143 24.4207 90.8551 24.76 89.1718 24.76C87.4885 24.76 86.1947 24.4207 85.2917 23.7423C84.3993 23.052 83.9531 21.9043 83.9531 20.2981V19.382H83.9519Z", fill: "white" }), jsxRuntimeExports.jsx("path", { d: "M100.636 10.8968L105.958 28.781H110.778L114.556 15.7948C114.596 15.6554 114.793 15.653 114.837 15.7925L118.912 28.7834H123.728L129.083 10.8992H123.843L121.2 20.8595C121.086 21.3122 120.979 21.759 120.877 22.1999C120.82 22.4776 120.723 22.9185 120.663 23.1975C120.65 23.2589 120.561 23.2601 120.547 23.1975C120.473 22.8783 120.39 22.545 120.301 22.1987C120.188 21.746 120.064 21.2992 119.928 20.8584L116.98 10.898H111.964C111.964 10.898 109.002 21.0581 108.457 23.0828C108.433 23.1703 108.309 23.1691 108.287 23.0816L105.22 10.898H100.637L100.636 10.8968Z", fill: "white" }), jsxRuntimeExports.jsx("path", { d: "M130.467 20.1114C130.467 22.7578 131.185 24.9243 132.619 26.6098C134.065 28.2834 136.071 29.1215 138.636 29.1215C139.969 29.1215 141.121 28.878 142.092 28.3922C142.768 28.0506 143.634 27.2811 144.111 26.8332C144.305 27.6558 144.567 28.7822 144.567 28.7822H148.766V2.77081H144.346V13.0527C143.782 12.2608 143.036 11.6497 142.109 11.2207C141.184 10.7798 140.059 10.5588 138.738 10.5588C136.252 10.5588 134.252 11.4015 132.739 13.087C131.224 14.7606 130.467 16.9213 130.467 19.5688V20.1114ZM134.789 20.2804L134.772 19.3986C134.772 18.1091 135.168 17.0678 135.958 16.2771C136.749 15.4745 137.975 15.0727 139.636 15.0727C140.799 15.0727 141.788 15.3445 142.601 15.887C142.609 15.8929 142.618 15.8977 142.626 15.9036C143.713 16.6376 144.346 17.8822 144.346 19.1953V20.4246C144.346 21.7744 143.677 23.0485 142.542 23.7778C142.534 23.7837 142.524 23.7884 142.516 23.7944C141.646 24.3369 140.641 24.6087 139.5 24.6087C137.827 24.6087 136.625 24.2069 135.89 23.4043C135.156 22.6018 134.789 21.5605 134.789 20.2828V20.2804Z", fill: "white" }), jsxRuntimeExports.jsx("path", { d: "M153.785 28.7824H158.004V10.8981H153.785V28.7824ZM152.888 6.01188C152.888 6.78133 153.147 7.41486 153.667 7.91247C154.198 8.39944 154.943 8.64174 155.903 8.64174C156.864 8.64174 157.586 8.39235 158.106 7.89474C158.637 7.39714 158.902 6.76951 158.902 6.01188C158.902 5.25424 158.643 4.64316 158.122 4.14556C157.603 3.64795 156.858 3.39856 155.886 3.39856C154.913 3.39856 154.198 3.64795 153.667 4.14556C153.147 4.64316 152.888 5.26488 152.888 6.01188Z", fill: "white" }), jsxRuntimeExports.jsx("path", { d: "M163.122 28.7823H167.342V21.5274C167.342 17.4201 168.792 14.8186 171.951 14.8186C175.109 14.8186 175.781 16.6565 175.781 19.2403V28.7823H180V18.1777C180 15.1353 179.379 13.1047 178.136 12.0859C176.893 11.0564 175.307 10.5422 173.374 10.5422C172.098 10.5422 170.918 10.7798 169.833 11.255C168.857 11.6769 168.062 12.2762 167.451 13.0539C167.4 12.7785 167.121 10.8992 167.121 10.8992H163.122V28.7834V28.7823Z", fill: "white" }), jsxRuntimeExports.jsx("path", { d: "M26.3793 0H10.7379C9.0578 0 7.52231 0.287415 6.17175 0.825712C4.92783 1.3215 3.84078 2.03011 2.94207 2.923C2.00965 3.84937 1.27689 4.97716 0.775862 6.27144C0.269651 7.57911 0 9.05675 0 10.6683V26.2083C0 27.9214 0.291075 29.473 0.83788 30.8333C1.33828 32.0782 2.05284 33.163 2.95448 34.0647C3.85321 34.9634 4.94061 35.672 6.18987 36.1676C7.56348 36.7125 9.13276 37 10.8621 37H26.3793C28.1035 37 29.6653 36.7108 31.0345 36.1676C32.2875 35.6704 33.3793 34.9605 34.2869 34.0647C35.1956 33.1677 35.9111 32.0816 36.4103 30.8333C36.9544 29.4727 37.2414 27.9193 37.2414 26.2083V10.7917C37.2414 9.12246 36.965 7.60651 36.445 6.27144C35.9429 4.98255 35.2137 3.86223 34.2869 2.93533C33.3841 2.03248 32.2909 1.32162 31.0345 0.825712C29.6649 0.285152 28.1015 0 26.3793 0Z", fill: "white" }), jsxRuntimeExports.jsx("path", { d: "M23.0398 22.5739C23.0274 22.4365 22.9157 21.9117 22.5557 21.8992C22.1957 21.8992 21.4384 21.8992 21.4384 21.8992C21.4384 21.8992 20.9791 21.8992 20.9791 22.349C20.9915 23.2237 21.4881 23.9734 22.0964 24.4732C22.6053 24.898 23.226 25.123 23.9336 25.123C24.5543 25.1105 24.6288 24.6606 24.3309 24.5232C23.8343 24.2858 23.1888 23.761 23.0522 22.5739H23.0398Z", fill: "#263238" }), jsxRuntimeExports.jsx("path", { d: "M26.3793 10.5284C24.7788 10.5284 23.1783 10.7279 21.7241 11.0884C20.336 11.4326 19.0811 11.9235 18.0869 12.5276C16.9945 13.1899 16.1503 13.9896 15.5669 14.9142C15.0951 15.6639 14.7848 16.4761 14.6731 17.3508C14.6358 17.6382 14.611 18.5379 15.5545 18.7753C16.1379 18.9252 17.0565 18.9877 17.6648 19.0627C18.6579 19.1751 18.931 18.063 19.0179 17.8756C19.8 15.7014 20.9669 14.2395 22.6303 13.2773C23.645 12.6916 24.8704 12.2954 26.3793 12.0725C27.381 11.9245 28.5077 11.8529 29.7807 11.8529C30.2027 11.8529 31.1834 11.9029 31.1834 11.4155C31.1834 11.0416 30.4118 10.8275 29.4827 10.7049C28.239 10.5409 26.7133 10.5409 26.3793 10.5409V10.5284Z", fill: "#263238" }), jsxRuntimeExports.jsx("path", { d: "M22.0219 27.0348C20.8923 26.7724 18.993 25.5354 18.5585 22.3991C18.4716 21.8118 18.1488 21.5244 17.6523 21.4244C16.9944 21.287 15.8399 21.2245 15.4675 21.187C14.9337 21.1371 14.5364 21.4494 14.5985 22.3866C14.7102 23.811 15.2813 24.9231 16.2371 26.0227C17.3668 27.3222 18.8564 28.0719 20.4454 28.0344C22.1957 27.997 22.3199 27.6846 22.3323 27.4472C22.3323 27.2098 22.2206 27.0723 22.0219 27.0223V27.0348Z", fill: "#263238" }), jsxRuntimeExports.jsx("path", { d: "M17.2675 29.6588C15.5171 29.6588 11.8427 26.8349 11.8427 22.4116C11.8427 21.6369 11.3709 20.8497 10.4027 20.5623C9.62059 20.3249 8.50335 19.975 7.79576 19.9375C6.09507 19.825 6.18197 21.2495 6.23162 21.9992C6.393 25.1355 7.77093 27.7845 10.0427 29.284C10.9861 29.9087 12.1033 30.3336 13.4192 30.5835C13.7296 30.6459 14.8344 30.8709 15.9516 30.8334C17.6771 30.7584 17.8509 30.2586 17.8509 30.0587C17.8509 29.7963 17.6647 29.6713 17.2675 29.6713V29.6588Z", fill: "#263238" }), jsxRuntimeExports.jsx("path", { d: "M31.6178 7.46711C30.9145 7.26272 30.2019 7.08285 29.4827 6.92719C28.4592 6.70566 27.4223 6.53319 26.3793 6.4089C23.8094 6.10267 21.2029 6.08902 18.6703 6.35503C16.4383 6.59377 13.9471 7.15341 11.7776 8.30429C9.51886 9.50257 7.60885 11.3418 6.70336 14.1271C6.51715 14.6894 6.18198 16.7511 8.14336 17.2509C8.77646 17.4133 9.42198 17.7007 10.0923 17.8257C12.0041 18.1756 12.4137 16.3513 12.5254 15.9889C12.6372 15.639 12.7613 15.3016 12.9103 14.9518C13.5185 13.6398 14.4247 12.5277 15.4551 11.6655C17.5903 9.8662 20.2468 9.01652 22.8289 8.60418C24.3309 8.36677 25.833 8.26681 27.3351 8.30429C28.1838 8.32292 28.8916 8.35021 29.4827 8.37907C30.1289 8.41062 30.6357 8.44403 31.0345 8.47003C32.2291 8.54791 32.4553 8.55923 32.5613 8.25431C32.7351 7.7545 31.9158 7.54208 31.6178 7.46711Z", fill: "#263238" }), jsxRuntimeExports.jsx("path", { d: "M27.7324 14.627C22.6924 14.627 21.3765 17.176 21.0041 18.8753C20.8303 19.7 21.3268 19.7625 21.7862 19.85C22.4317 19.9624 22.9531 19.8625 23.1889 19.2377C23.8965 17.3009 24.8648 15.4017 27.931 15.4017C28.2413 15.4017 28.5144 15.2017 28.5144 15.0143C28.5144 14.8269 28.3158 14.627 27.7448 14.627H27.7324Z", fill: "#263238" })] })] }));
|
|
17471
|
+
}
|
|
17472
|
+
|
|
17473
|
+
// Two brand files, each tuned for its own background, swapped by theme.
|
|
17474
|
+
function CrowdinMark({ className }) {
|
|
17475
|
+
return (jsxRuntimeExports.jsxs("svg", { viewBox: "0 0 80 80", className: className, fill: "none", "aria-hidden": "true", children: [jsxRuntimeExports.jsxs("g", { className: "dark:hidden", children: [jsxRuntimeExports.jsx("path", { d: "M56.6667 80H23.3333C9.16667 80 0 70.8333 0 56.6667V23.0781C0 9.16667 9.16667 0 23.0781 0H56.6667C70.8333 0 80 9.16667 80 23.3333V56.6667C80 70.8333 70.8333 80 56.6667 80Z", fill: "#263238" }), jsxRuntimeExports.jsx("path", { d: "M51.3968 54.5041C49.9 54.5041 48.5662 54.0395 47.4621 53.1296C46.1432 52.0583 45.0947 50.4611 45.0576 48.5835C45.0391 47.6352 46.0357 47.6352 46.0357 47.6352C46.0357 47.6352 47.6548 47.616 48.4402 47.616C49.2257 47.6352 49.4554 48.7678 49.4924 49.052C49.7962 51.5976 51.1856 52.7072 52.2526 53.214C52.8936 53.5174 52.7342 54.4657 51.3968 54.508V54.5041Z", fill: "white" }), jsxRuntimeExports.jsx("path", { d: "M37.9552 41.5689C36.6363 41.4076 34.6801 41.2694 33.4167 40.9469C31.3679 40.4247 31.4234 38.5164 31.5124 37.8944C31.7606 36.0284 32.4201 34.3006 33.4352 32.6957C34.6986 30.7298 36.514 29.002 38.8481 27.5967C43.2274 24.9666 49.9385 23.3335 56.6667 23.3335C57.9136 23.3335 66.9908 23.3335 66.9908 25.2085C66.9908 26.2502 64.8949 26.1531 63.9824 26.1531C57.1283 26.1531 52.2489 27.1168 48.618 29.2055C45.0391 31.252 42.5456 34.3851 40.8562 39.0232C40.6784 39.4264 40.0893 41.8146 37.9552 41.5727V41.5689Z", fill: "white" }), jsxRuntimeExports.jsx("path", { d: "M43.9348 60.7086C40.5337 60.7815 37.3289 59.1881 34.9022 56.4083C32.846 54.0546 31.6085 51.6818 31.3788 48.637C31.238 46.6481 32.0865 45.9609 33.2387 46.0799C34.0352 46.1605 36.5138 46.2834 37.9328 46.5867C38.9962 46.8094 39.7038 47.4199 39.8816 48.6754C40.819 55.3716 44.8944 58.0055 47.3211 58.5738C47.7472 58.6736 48.0102 58.9578 47.9954 59.4684C47.9769 59.956 47.7064 60.6241 43.9385 60.7048L43.9348 60.7086Z", fill: "white" }), jsxRuntimeExports.jsx("path", { d: "M34.2464 66.6527C31.8345 66.7564 29.4744 66.2534 28.8001 66.1305C25.9622 65.6084 23.5836 64.7061 21.5459 63.3661C16.6665 60.1639 13.7211 54.5082 13.3691 47.812C13.2802 46.2224 13.0838 43.1853 16.7406 43.4157C18.2485 43.5002 20.6419 44.2527 22.3276 44.7557C24.4209 45.3624 25.4324 47.0364 25.4324 48.6913C25.4324 58.1327 33.3333 64.1667 37.0833 64.1667C37.9429 64.1667 38.3333 64.4452 38.3333 65C38.3333 65.4167 37.9439 66.4953 34.2501 66.6566L34.2464 66.6527Z", fill: "white" }), jsxRuntimeExports.jsx("path", { d: "M21.6602 38.9073C20.2338 38.6424 18.8408 38.0319 17.4848 37.6825C13.2908 36.6036 14.0058 32.2188 14.3986 31.017C18.2146 19.3755 30.3298 15.4822 40.1071 14.4417C49.3138 13.4626 58.9467 14.219 67.92 16.8068C68.561 16.9835 70.3282 17.425 69.9466 18.5001C69.565 19.5752 68.5017 18.8265 58.7133 18.6038C55.4863 18.5308 52.263 18.742 49.0286 19.2565C43.4786 20.1319 37.773 21.948 33.1863 25.7799C30.9744 27.6344 29.0293 29.9996 27.7289 32.7948C27.3881 33.5281 27.1213 34.2615 26.8916 34.9948C26.6582 35.7704 25.7838 39.6637 21.6639 38.9112L21.6602 38.9073Z", fill: "white" }), jsxRuntimeExports.jsx("path", { d: "M45.1315 41.1541C45.9169 37.5104 48.75 32.0831 59.5833 32.0831C60.8333 32.0831 61.25 32.4998 61.25 32.9165C61.25 33.3331 60.6669 33.7498 60 33.7498C53.4172 33.7498 51.3261 37.7906 49.8071 41.9297C49.3181 43.262 48.2029 43.4617 46.8061 43.2236C45.828 43.0432 44.7647 42.9241 45.1315 41.1541Z", fill: "white" })] }), jsxRuntimeExports.jsxs("g", { className: "hidden dark:block", children: [jsxRuntimeExports.jsx("path", { d: "M55.2553 80H24.7447C8.91588 80 0 70.916 0 55.2553V24.7447C0 9.08403 8.91588 0 24.7447 0H55.2553C71.4167 0 80 8.75146 80 24.7447V55.2553C80 71.2485 71.4167 80 55.2553 80Z", fill: "white" }), jsxRuntimeExports.jsx("path", { d: "M51.3959 54.5041C49.8991 54.5041 48.5653 54.0395 47.4613 53.1296C46.1423 52.0583 45.0938 50.4611 45.0568 48.5835C45.0382 47.6352 46.0349 47.6352 46.0349 47.6352C46.0349 47.6352 47.6539 47.616 48.4394 47.616C49.2248 47.6352 49.4545 48.7678 49.4916 49.052C49.7954 51.5976 51.1847 52.7072 52.2518 53.214C52.8927 53.5174 52.7334 54.4657 51.3959 54.508V54.5041Z", fill: "#263238" }), jsxRuntimeExports.jsx("path", { d: "M37.9549 41.5687C36.6359 41.4074 34.6797 41.2692 33.4163 40.9467C31.3675 40.4245 31.4231 38.5163 31.512 37.8943C31.7602 36.0282 32.4197 34.3004 33.4349 32.6955C34.6982 30.7296 36.5137 29.0018 38.8478 27.5966C43.227 24.9665 49.3512 23.4998 56.0794 23.4998C61.0107 23.4998 66.1568 24.164 66.2087 24.164C66.6718 24.2254 67.009 24.6862 66.9904 25.2084C66.9719 25.7305 66.6162 26.1299 66.1531 26.1721C65.4047 26.1529 64.6748 26.1529 63.982 26.1529C57.1279 26.1529 52.2485 27.1166 48.6177 29.2053C45.0387 31.2518 42.5453 34.3849 40.8558 39.0231C40.678 39.4262 40.0889 41.8144 37.9549 41.5725V41.5687Z", fill: "#263238" }), jsxRuntimeExports.jsx("path", { d: "M43.9348 60.709C40.5337 60.7819 37.3289 59.1885 34.9022 56.4087C32.846 54.055 31.6085 51.6822 31.3788 48.6374C31.238 46.6485 32.0865 45.9612 33.2387 46.0802C34.0352 46.1609 36.5138 46.2837 37.9328 46.5871C38.9962 46.8098 39.7038 47.4203 39.8816 48.6758C40.819 55.372 44.8944 58.0059 47.3211 58.5742C47.7472 58.674 48.0102 58.9581 47.9954 59.4688C47.9769 59.9564 47.7064 60.6245 43.9385 60.7051L43.9348 60.709Z", fill: "#263238" }), jsxRuntimeExports.jsx("path", { d: "M34.246 66.6527C31.8341 66.7564 29.4741 66.2534 28.7998 66.1305C25.9618 65.6084 23.5832 64.7061 21.5455 63.3661C16.6661 60.1639 13.7207 54.5082 13.3687 47.812C13.2798 46.2224 13.0835 43.1853 16.7402 43.4157C18.2481 43.5002 20.6415 44.2527 22.3273 44.7557C24.4205 45.3624 25.432 47.0364 25.432 48.6913C25.432 58.1327 33.6829 64.372 37.2841 64.372C38.1436 64.372 38.3474 64.9019 38.2436 65.4087C38.1621 65.8119 37.9435 66.4953 34.2497 66.6566L34.246 66.6527Z", fill: "#263238" }), jsxRuntimeExports.jsx("path", { d: "M21.6602 38.9077C20.2338 38.6428 18.8408 38.0323 17.4848 37.6829C13.2908 36.604 14.0058 32.2192 14.3986 31.0174C18.2147 19.3759 30.3298 15.4826 40.1071 14.442C49.3138 13.463 58.9467 14.2194 67.92 16.8072C68.561 16.9838 70.3282 17.4254 69.9466 18.5005C69.565 19.5755 68.5017 18.8268 58.7133 18.6041C55.4863 18.5312 52.263 18.7424 49.0286 19.2569C43.4786 20.1323 37.773 21.9484 33.1863 25.7803C30.9744 27.6348 29.0293 29.9999 27.7289 32.7951C27.3881 33.5285 27.1213 34.2618 26.8916 34.9952C26.6582 35.7708 25.7838 39.6641 21.6639 38.9115L21.6602 38.9077Z", fill: "#263238" }), jsxRuntimeExports.jsx("path", { d: "M45.1311 41.1543C45.9166 37.5105 49.4066 31.7358 60.2102 32.1351C62.6888 32.2158 61.5551 33.9666 60.3325 33.9282C54.223 33.7094 51.3258 37.7908 49.8068 41.9298C49.3177 43.2622 48.2025 43.4618 46.8058 43.2238C45.8277 43.0433 44.7643 42.9243 45.1311 41.1543Z", fill: "#263238" })] })] }));
|
|
17476
|
+
}
|
|
17477
|
+
|
|
17468
17478
|
function r(e){var t,f,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=" "),n+=f);}else for(f in e)e[f]&&(n&&(n+=" "),n+=f);return n}function clsx(){for(var e,t,f=0,n="",o=arguments.length;f<o;f++)(e=arguments[f])&&(t=r(e))&&(n&&(n+=" "),n+=t);return n}
|
|
17469
17479
|
|
|
17470
17480
|
const falsyToString = (value)=>typeof value === "boolean" ? `${value}` : value === 0 ? "0" : value;
|
|
@@ -21008,7 +21018,7 @@
|
|
|
21008
21018
|
setCopyButtonLabel('Copied!');
|
|
21009
21019
|
setTimeout(() => setCopyButtonLabel('Copy'), 1500);
|
|
21010
21020
|
}
|
|
21011
|
-
return (jsxRuntimeExports.jsxs("div", { className: "min-h-screen bg-background font-sans text-base leading-6 text-foreground", children: [jsxRuntimeExports.jsxs("header", { id: "header", className: "fixed inset-x-0 top-0 z-10 flex min-w-[300px] items-center justify-between border-b border-border bg-background px-3 md:px-7", children: [jsxRuntimeExports.jsxs("a", { itemProp: "url", className: "inline-flex items-center", href: "https://crowdin.com", title: "Crowdin - Localization Management Platform", children: [jsxRuntimeExports.
|
|
21021
|
+
return (jsxRuntimeExports.jsxs("div", { className: "min-h-screen bg-background font-sans text-base leading-6 text-foreground", children: [jsxRuntimeExports.jsxs("header", { id: "header", className: "fixed inset-x-0 top-0 z-10 flex min-w-[300px] items-center justify-between border-b border-border bg-background px-3 md:px-7", children: [jsxRuntimeExports.jsxs("a", { itemProp: "url", className: "inline-flex items-center", href: "https://crowdin.com", title: "Crowdin - Localization Management Platform", children: [jsxRuntimeExports.jsx("span", { className: "sr-only", children: "Crowdin" }), jsxRuntimeExports.jsx(CrowdinLogo, { className: "hidden h-[37px] w-[180px] md:block" }), jsxRuntimeExports.jsx(CrowdinMark, { className: "size-8 md:hidden" })] }), jsxRuntimeExports.jsx("a", { title: "Contact", href: "https://crowdin.com/contacts", className: "ml-2 py-2 font-medium text-muted-foreground hover:text-foreground hover:no-underline max-lg:text-sm", children: "Contact" })] }), jsxRuntimeExports.jsx("main", { className: "pb-12 pt-16", children: jsxRuntimeExports.jsxs("div", { className: "mx-auto w-full max-w-[1140px] px-4", children: [jsxRuntimeExports.jsxs("div", { className: "mb-8 grid items-center gap-8 pt-24 text-base leading-6 text-foreground lg:grid-cols-[minmax(0,1fr)_minmax(0,4fr)] lg:px-[8.333333%]", children: [jsxRuntimeExports.jsx("div", { className: "relative", children: jsxRuntimeExports.jsx("div", { className: "relative mx-auto h-0 w-[30%] rounded-2xl border border-border pb-[30%] text-center lg:w-full lg:pb-[100%]", children: jsxRuntimeExports.jsx("div", { className: "absolute inset-0 flex items-center p-4", children: jsxRuntimeExports.jsx("img", { width: "200", src: logo, alt: name, id: "FeaturedImage-product-template", className: "h-auto max-w-full" }) }) }) }), jsxRuntimeExports.jsx("div", { children: jsxRuntimeExports.jsxs("div", { children: [jsxRuntimeExports.jsx("h1", { className: "mb-6 text-center text-[2.33333rem] leading-[1.2] font-semibold text-foreground lg:text-left", children: jsxRuntimeExports.jsx("span", { children: name }) }), jsxRuntimeExports.jsxs("div", { className: "text-sm", children: [name, " extends the default functionality available in Crowdin and Crowdin Enterprise by providing additional capabilities to enhance your localization workflows."] })] }) })] }), jsxRuntimeExports.jsx("div", { className: "lg:px-[8.333333%]", children: jsxRuntimeExports.jsxs("div", { children: [jsxRuntimeExports.jsx("p", { children: "To install this app, you can use either of the following methods: " }), jsxRuntimeExports.jsxs("ol", { className: "list-decimal pl-10", children: [jsxRuntimeExports.jsxs("li", { children: ["Install it directly from the", ' ', jsxRuntimeExports.jsx("a", { href: "https://store.crowdin.com/", target: "_blank", rel: "noopener noreferrer", className: "text-primary underline-offset-4 hover:underline", children: "Crowdin Store" }), ", if available."] }), jsxRuntimeExports.jsx("li", { children: "Install it manually using the manifest URL below." })] }), jsxRuntimeExports.jsxs("p", { children: ["For detailed steps, follow the", ' ', jsxRuntimeExports.jsx("a", { href: "https://support.crowdin.com/developer/crowdin-apps-installation/", target: "_blank", rel: "noopener noreferrer", className: "text-primary underline-offset-4 hover:underline", children: "App Installation" })] }), jsxRuntimeExports.jsxs("div", { className: "mb-3", children: [jsxRuntimeExports.jsx("label", { htmlFor: "manifest-url", className: "mb-2 block", children: "Paste the following manifest URL when prompted during manual installation:" }), jsxRuntimeExports.jsxs("div", { className: "flex gap-2", children: [jsxRuntimeExports.jsx(Input, { type: "text", className: "min-w-0 flex-1", id: "manifest-url", value: manifest, readOnly: true }), jsxRuntimeExports.jsx(Button, { variant: "outline", type: "button", id: "copy-button", onClick: copyManifest, children: copyButtonLabel })] })] }), storeLink && (jsxRuntimeExports.jsxs("div", { children: ["Read more about", ' ', jsxRuntimeExports.jsx("a", { href: storeLink, target: "_blank", rel: "noopener noreferrer", title: `${name} on Crowdin Store`, className: "text-primary underline-offset-4 hover:underline", children: name }), "."] })), showDebugLink && (jsxRuntimeExports.jsxs("div", { className: "mt-4 border-t border-border pt-3", children: [jsxRuntimeExports.jsx("p", { className: "mb-2", children: jsxRuntimeExports.jsx("strong", { children: "Developer Tools" }) }), jsxRuntimeExports.jsxs("p", { children: ["Access the", ' ', jsxRuntimeExports.jsx("a", { href: "/__debug", target: "_blank", rel: "noopener noreferrer", title: "Open developer console in a new tab", className: "text-primary underline-offset-4 hover:underline", children: "Developer Console" }), ' ', "to inspect requests, debug issues, and monitor application behavior."] })] }))] }) })] }) })] }));
|
|
21012
21022
|
};
|
|
21013
21023
|
|
|
21014
21024
|
const props = readPageProps();
|