antd-crud-table 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,31 +0,0 @@
1
- name: Publish to NPM
2
-
3
- on:
4
- release:
5
- types: [created]
6
-
7
- jobs:
8
- build:
9
- runs-on: ubuntu-latest
10
-
11
- strategy:
12
- matrix:
13
- node-version: [18.x]
14
- registry-url: ['https://registry.npmjs.org']
15
-
16
- steps:
17
- - uses: actions/checkout@v2
18
- - uses: actions/setup-node@v2
19
- with:
20
- node-version: ${{ matrix.node-version }}
21
- registry-url: ${{ matrix.registry-url }}
22
- - name: 'Installing build deps'
23
- run: npm i -g pnpm
24
- - name: 'Installing deps'
25
- run: pnpm i
26
- - name: 'Build'
27
- run: pnpm build:lib
28
- - name: 'Publish'
29
- run: pnpm publish --no-git-checks
30
- env:
31
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
package/LICENSE DELETED
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2025 Maifee Ul Asad
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
package/README.md DELETED
@@ -1,2 +0,0 @@
1
- # antd-crud-table
2
- Easy CRUD table with AntD (Ant Design)
package/eslint.config.js DELETED
@@ -1,28 +0,0 @@
1
- import js from '@eslint/js'
2
- import globals from 'globals'
3
- import reactHooks from 'eslint-plugin-react-hooks'
4
- import reactRefresh from 'eslint-plugin-react-refresh'
5
- import tseslint from 'typescript-eslint'
6
-
7
- export default tseslint.config(
8
- { ignores: ['dist'] },
9
- {
10
- extends: [js.configs.recommended, ...tseslint.configs.recommended],
11
- files: ['**/*.{ts,tsx}'],
12
- languageOptions: {
13
- ecmaVersion: 2020,
14
- globals: globals.browser,
15
- },
16
- plugins: {
17
- 'react-hooks': reactHooks,
18
- 'react-refresh': reactRefresh,
19
- },
20
- rules: {
21
- ...reactHooks.configs.recommended.rules,
22
- 'react-refresh/only-export-components': [
23
- 'warn',
24
- { allowConstantExport: true },
25
- ],
26
- },
27
- },
28
- )
@@ -1,22 +0,0 @@
1
- import { promises as fs } from 'fs';
2
- import path from 'path';
3
- import packageJson from '../package.json' assert { type: 'json' };
4
- import { exit } from 'process';
5
-
6
- const distPath = path.resolve('dist/lib');
7
- const packageJsonPath = path.join(distPath, 'package.json');
8
-
9
- (async () => {
10
- try {
11
- // Ensure the dist/lib directory exists
12
- await fs.mkdir(distPath, { recursive: true });
13
-
14
- // Write the package.json file to the `dist/lib` directory
15
- await fs.writeFile(packageJsonPath, JSON.stringify(packageJson, null, 2), 'utf-8');
16
-
17
- console.log(`package.json has been copied to ${packageJsonPath}`);
18
- } catch (error) {
19
- console.error('Error copying package.json:', error);
20
- exit(1);
21
- }
22
- })();
package/index.html DELETED
@@ -1,22 +0,0 @@
1
- <!doctype html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="UTF-8" />
5
- <link rel="icon" type="image/svg+xml" href="/vite.svg" />
6
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
- <title>Vite + React + TS</title>
8
-
9
- <script async src="https://www.googletagmanager.com/gtag/js?id=G-3G1RNC5YLT"></script>
10
- <script>
11
- window.dataLayer = window.dataLayer || [];
12
- function gtag(){dataLayer.push(arguments);}
13
- gtag('js', new Date());
14
-
15
- gtag('config', 'G-3G1RNC5YLT');
16
- </script>
17
- </head>
18
- <body>
19
- <div id="root"></div>
20
- <script type="module" src="/src/main.tsx"></script>
21
- </body>
22
- </html>
@@ -1,3 +0,0 @@
1
- .row-differentiator {
2
- background-color: #0000007f;
3
- }
@@ -1,314 +0,0 @@
1
- import { PlusOutlined, EllipsisOutlined } from '@ant-design/icons';
2
- import type { ActionType, ProColumns } from '@ant-design/pro-components';
3
- import { ProTable, ProConfigProvider } from '@ant-design/pro-components';
4
- import { Button, Dropdown, Tag, message, Modal, Form, Input, InputNumber, Select, Switch, DatePicker } from 'antd';
5
- import { useRef, useState } from 'react';
6
- import type { SortOrder } from 'antd/es/table/interface';
7
- import { format, parseISO, formatISO } from 'date-fns';
8
- import dayjs from 'dayjs';
9
-
10
- import './CrudTable.css';
11
-
12
- type DataType = Record<string, any>;
13
- type FieldType = 'string' | 'number' | 'date' | 'boolean' | 'enum' | 'custom';
14
-
15
- interface CrudColumn<T extends DataType> extends ProColumns<T> {
16
- fieldType?: FieldType;
17
- enumOptions?: Record<string, { text: string;[key: string]: any }>;
18
- customRender?: (value: any, record: T) => React.ReactNode;
19
- formConfig?: {
20
- required?: boolean;
21
- component?: React.ReactNode;
22
- transform?: (value: any) => any;
23
- };
24
- fieldEditable?: boolean;
25
- }
26
-
27
- interface CrudTableConfig<T extends DataType> {
28
- columns: CrudColumn<T>[];
29
- service: {
30
- getList: (params: any) => Promise<{ data: T[]; total: number }>;
31
- create: (data: Partial<T>) => Promise<T>;
32
- update: (id: any, data: Partial<T>) => Promise<T>;
33
- delete: (id: any) => Promise<void>;
34
- };
35
- rowKey: keyof T;
36
- title: string;
37
- defaultPageSize?: number;
38
- }
39
-
40
- const CrudTable = <T extends DataType>(config: CrudTableConfig<T>) => {
41
- const actionRef = useRef<ActionType>(null);
42
- const { columns, service, rowKey, title, defaultPageSize = 5 } = config;
43
- const [modalVisible, setModalVisible] = useState(false);
44
- const [currentRecord, setCurrentRecord] = useState<Partial<T> | null>(null);
45
- const [form] = Form.useForm();
46
-
47
- let enhancedColumns: ProColumns<T>[] = (columns || []).map((col) => {
48
- const baseColumn: ProColumns<T> = {
49
- ...col,
50
- dataIndex: col.dataIndex as string,
51
- title: col.title,
52
- };
53
-
54
- switch (col.fieldType) {
55
- case 'date':
56
- return {
57
- ...baseColumn,
58
- valueType: 'dateTime',
59
- render: (_, record) => (
60
- <span>
61
- {format(parseISO(record[col.dataIndex as string]), 'yyyy-MM-dd HH:mm')}
62
- </span>
63
- ),
64
- };
65
- case 'enum':
66
- return {
67
- ...baseColumn,
68
- valueType: 'select',
69
- valueEnum: col.enumOptions,
70
- };
71
- case 'number':
72
- return {
73
- ...baseColumn,
74
- valueType: 'digit',
75
- };
76
- case 'boolean':
77
- return {
78
- ...baseColumn,
79
- valueType: 'switch',
80
- render: (_, record) => (
81
- <Tag color={record[col.dataIndex as string] ? 'green' : 'red'}>
82
- {record[col.dataIndex as string] ? 'Yes' : 'No'}
83
- </Tag>
84
- ),
85
- };
86
- case 'custom':
87
- return {
88
- ...baseColumn,
89
- render: (_, record) => col.customRender?.(record[col.dataIndex as string], record),
90
- };
91
- default:
92
- return baseColumn;
93
- }
94
- });
95
- enhancedColumns.push({
96
- title: 'Actions',
97
- valueType: 'option',
98
- render: (_, record: T) => [
99
- <Button key="edit" type="primary" onClick={() => openModal(record)}>
100
- Edit
101
- </Button>,
102
- <Button key="delete" type="primary" danger onClick={async () => {
103
- await service.delete(record[rowKey]);
104
- actionRef.current?.reload();
105
- }}>
106
- Delete
107
- </Button>,
108
- ],
109
- });
110
-
111
- const handleRequest = async (
112
- params: Record<string, any>,
113
- sort: Record<string, SortOrder>,
114
- filter: Record<string, any>,
115
- ) => {
116
- try {
117
- const query = {
118
- ...params,
119
- sortBy: Object.keys(sort)[0],
120
- sortOrder: Object.values(sort)[0],
121
- ...filter,
122
- };
123
- const { data, total } = await service.getList(query);
124
- return { data, success: true, total };
125
- } catch (error) {
126
- message.error('Failed to fetch data');
127
- return { data: [], success: false, total: 0 };
128
- }
129
- };
130
-
131
- const openModal = (record?: Partial<T>) => {
132
- setCurrentRecord(record || null);
133
- if (record) {
134
- const values = { ...record };
135
- columns.forEach((col) => {
136
- const field = col.dataIndex as string;
137
- if (col.fieldType === 'date' && values[field]) {
138
- // @ts-ignore
139
- values[field] = dayjs(values[field]);
140
- }
141
- });
142
- form.setFieldsValue(values);
143
- } else {
144
- form.resetFields();
145
- }
146
- setModalVisible(true);
147
- };
148
-
149
- const handleOk = async () => {
150
- try {
151
- const values = await form.validateFields();
152
- const transformedValues = { ...values };
153
-
154
- // Handle any transformations like date formatting
155
- columns.forEach((col) => {
156
- const field = col.dataIndex as string;
157
- if (col.fieldType === 'date' && values[field]) {
158
- transformedValues[field] = formatISO(values[field]);
159
- }
160
- if (col.formConfig?.transform) {
161
- transformedValues[field] = col.formConfig.transform(values[field]);
162
- }
163
- });
164
-
165
- if (currentRecord && currentRecord[rowKey]) {
166
- await service.update(currentRecord[rowKey], transformedValues);
167
- message.success('Updated successfully');
168
- } else {
169
- await service.create(transformedValues);
170
- message.success('Created successfully');
171
- }
172
-
173
- setModalVisible(false);
174
- actionRef.current?.reload();
175
- } catch (error) {
176
- console.error(error);
177
- message.error('Submit failed');
178
- }
179
- };
180
-
181
- const handleCancel = () => {
182
- setModalVisible(false);
183
- };
184
-
185
- return (
186
- <ProConfigProvider needDeps>
187
- <ProTable<T>
188
- headerTitle={title}
189
- rowKey={rowKey as string}
190
- // row classname to gray and white
191
- rowClassName={(_, index) => (index % 2 === 0 && 'row-differentiator' || '')}
192
- actionRef={actionRef}
193
- columns={enhancedColumns}
194
- request={handleRequest}
195
- search={{ labelWidth: 'auto' }}
196
- pagination={{ pageSize: defaultPageSize }}
197
- toolBarRender={() => [
198
- <Button
199
- key="add"
200
- type="primary"
201
- icon={<PlusOutlined />}
202
- onClick={() => openModal()}
203
- >
204
- New
205
- </Button>,
206
- <Dropdown
207
- key="menu"
208
- menu={{
209
- items: [
210
- { key: 'export', label: 'Export' },
211
- { key: 'refresh', label: 'Refresh', onClick: () => actionRef.current?.reload() },
212
- ],
213
- }}
214
- >
215
- <Button>
216
- <EllipsisOutlined />
217
- </Button>
218
- </Dropdown>,
219
- ]}
220
- options={{
221
- setting: { listsHeight: 400 },
222
- reload: () => actionRef.current?.reload(),
223
- }}
224
- dateFormatter="string"
225
- />
226
-
227
- <Modal
228
- forceRender
229
- title={currentRecord ? 'Edit Item' : 'Create Item'}
230
- open={modalVisible}
231
- onOk={handleOk}
232
- onCancel={handleCancel}
233
- destroyOnClose
234
- >
235
- <Form form={form} layout="vertical">
236
- {columns.map((col) => {
237
- if (!col.dataIndex) return null;
238
- const name = col.dataIndex as string;
239
- const label = col.title as string;
240
- const fieldDisabled = !(col.fieldEditable ?? true);
241
-
242
- switch (col.fieldType) {
243
- case 'string':
244
- return (
245
- <Form.Item
246
- key={name}
247
- name={name}
248
- label={label}
249
- rules={[{ required: col.formConfig?.required, message: `${label} is required` }]}
250
- >
251
- <Input disabled={fieldDisabled} />
252
- </Form.Item>
253
- );
254
- case 'number':
255
- return (
256
- <Form.Item
257
- key={name}
258
- name={name}
259
- label={label}
260
- rules={[{ required: col.formConfig?.required, message: `${label} is required` }]}
261
- >
262
- <InputNumber style={{ width: '100%' }} disabled={fieldDisabled} />
263
- </Form.Item>
264
- );
265
- case 'date':
266
- return (
267
- <Form.Item
268
- key={name}
269
- name={name}
270
- label={label}
271
- rules={[{ required: col.formConfig?.required, message: `${label} is required` }]}
272
- >
273
- <DatePicker style={{ width: '100%' }} showTime disabled={fieldDisabled} />
274
- </Form.Item>
275
- );
276
- case 'boolean':
277
- return (
278
- <Form.Item
279
- key={name}
280
- name={name}
281
- label={label}
282
- valuePropName="checked"
283
- >
284
- <Switch disabled={fieldDisabled} />
285
- </Form.Item>
286
- );
287
- case 'enum':
288
- return (
289
- <Form.Item
290
- key={name}
291
- name={name}
292
- label={label}
293
- rules={[{ required: col.formConfig?.required, message: `${label} is required` }]}
294
- >
295
- <Select
296
- disabled={fieldDisabled}
297
- options={Object.entries(col.enumOptions || {}).map(([value, option]) => ({
298
- label: option.text,
299
- value,
300
- }))} />
301
- </Form.Item>
302
- );
303
- default:
304
- return null;
305
- }
306
- })}
307
- </Form>
308
- </Modal>
309
- </ProConfigProvider>
310
- );
311
- };
312
-
313
- export default CrudTable;
314
- export type { CrudTableConfig, CrudColumn, DataType };
@@ -1,27 +0,0 @@
1
- import { Suspense, lazy } from 'react';
2
- import type { CrudTableConfig, DataType } from './CrudTable';
3
-
4
- const CrudTable = lazy(() => import('./CrudTable'));
5
-
6
- const CrudTableLazy = <T extends DataType>(props: CrudTableConfig<T>) => {
7
- const { columns, service, rowKey, title, defaultPageSize = 5 } = props;
8
- return (
9
- <Suspense
10
- fallback={
11
- <div style={{ textAlign: 'center', padding: '2rem' }}>
12
- Loading curd table w antd
13
- </div>
14
- }
15
- >
16
- <CrudTable
17
- columns={columns as any}
18
- service={service as any}
19
- rowKey={rowKey as string}
20
- title={title}
21
- defaultPageSize={defaultPageSize}
22
- />
23
- </Suspense>
24
- );
25
- };
26
-
27
- export default CrudTableLazy;
package/lib/main.ts DELETED
@@ -1,5 +0,0 @@
1
- import CrudTable from "./CrudTable/CrudTable";
2
- import CrudTableLazy from "./CrudTable/CrudTableLazy";
3
-
4
- export { CrudTable, CrudTableLazy };
5
- export type { CrudTableConfig, CrudColumn, DataType } from "./CrudTable/CrudTable";
package/src/App.css DELETED
@@ -1,42 +0,0 @@
1
- #root {
2
- max-width: 1280px;
3
- margin: 0 auto;
4
- padding: 2rem;
5
- text-align: center;
6
- }
7
-
8
- .logo {
9
- height: 6em;
10
- padding: 1.5em;
11
- will-change: filter;
12
- transition: filter 300ms;
13
- }
14
- .logo:hover {
15
- filter: drop-shadow(0 0 2em #646cffaa);
16
- }
17
- .logo.react:hover {
18
- filter: drop-shadow(0 0 2em #61dafbaa);
19
- }
20
-
21
- @keyframes logo-spin {
22
- from {
23
- transform: rotate(0deg);
24
- }
25
- to {
26
- transform: rotate(360deg);
27
- }
28
- }
29
-
30
- @media (prefers-reduced-motion: no-preference) {
31
- a:nth-of-type(2) .logo {
32
- animation: logo-spin infinite 20s linear;
33
- }
34
- }
35
-
36
- .card {
37
- padding: 2em;
38
- }
39
-
40
- .read-the-docs {
41
- color: #888;
42
- }
package/src/App.tsx DELETED
@@ -1,107 +0,0 @@
1
- import './App.css'
2
- import CrudTableLazy from '../lib/CrudTable/CrudTableLazy';
3
- // import CrudTable from '../lib/CrudTable/CrudTable';
4
- import { ConfigProvider } from 'antd';
5
- import enUS from 'antd/locale/en_US';
6
-
7
- interface User {
8
- id: number;
9
- name: string;
10
- age: number;
11
- createdAt: string;
12
- status: 'active' | 'inactive';
13
- isAdmin: boolean;
14
- }
15
-
16
- class UserService {
17
- // @ts-ignore
18
- async getList(params: any): Promise<{ data: User[]; total: number }> {
19
- // todo
20
- return {
21
- data: [
22
- { id: 1, name: 'Jane Smith 1', age: 30, createdAt: '2023-01-01', status: 'active', isAdmin: true },
23
- { id: 2, name: 'Jane Smith 2', age: 25, createdAt: '2023-02-01', status: 'inactive', isAdmin: false },
24
- { id: 3, name: 'Jane Smith 3', age: 25, createdAt: '2023-02-01', status: 'inactive', isAdmin: false },
25
- { id: 4, name: 'Jane Smith 4', age: 25, createdAt: '2023-02-01', status: 'inactive', isAdmin: false },
26
- { id: 5, name: 'Jane Smith 5', age: 25, createdAt: '2023-02-01', status: 'inactive', isAdmin: false },
27
- { id: 6, name: 'Jane Smith 6', age: 25, createdAt: '2023-02-01', status: 'inactive', isAdmin: false },
28
- { id: 7, name: 'Jane Smith 7', age: 25, createdAt: '2023-02-01', status: 'inactive', isAdmin: false },
29
- { id: 8, name: 'Jane Smith 8', age: 25, createdAt: '2023-02-01', status: 'inactive', isAdmin: false },
30
- { id: 9, name: 'Jane Smith 9', age: 25, createdAt: '2023-02-01', status: 'inactive', isAdmin: false },
31
- { id: 10, name: 'Jane Smith 10', age: 25, createdAt: '2023-02-01', status: 'inactive', isAdmin: false },
32
- { id: 11, name: 'Jane Smith 11', age: 25, createdAt: '2023-02-01', status: 'inactive', isAdmin: false },
33
- { id: 12, name: 'Jane Smith 12', age: 25, createdAt: '2023-02-01', status: 'inactive', isAdmin: false },
34
- ],
35
- total: 2,
36
- }
37
- }
38
-
39
- async create(data: Partial<User>) {
40
- // todo
41
- return data as User;
42
- }
43
-
44
- async update(id: number, data: Partial<User>) {
45
- // todo
46
- return { id, ...data } as User;
47
- }
48
-
49
- // @ts-ignore
50
- async delete(id: number) {
51
- // todo
52
- }
53
- }
54
-
55
- const UserTable = () => (
56
- <CrudTableLazy<User>
57
- title="User Management"
58
- rowKey="id"
59
- // defaultPageSize={10}
60
- service={new UserService()}
61
- columns={[
62
- {
63
- dataIndex: 'name',
64
- title: 'Name',
65
- fieldType: 'string',
66
- formConfig: { required: true },
67
- },
68
- {
69
- dataIndex: 'age',
70
- title: 'Age',
71
- fieldType: 'number',
72
- fieldEditable: false,
73
- },
74
- {
75
- dataIndex: 'age2',
76
- title: 'Age2',
77
- fieldType: 'number',
78
- },
79
- {
80
- dataIndex: 'createdAt',
81
- title: 'Created At',
82
- fieldType: 'date',
83
- },
84
- {
85
- dataIndex: 'status',
86
- title: 'Status',
87
- fieldType: 'enum',
88
- enumOptions: {
89
- active: { text: 'Active' },
90
- inactive: { text: 'Inactive' },
91
- },
92
- },
93
- {
94
- dataIndex: 'isAdmin',
95
- title: 'Administrator',
96
- fieldType: 'boolean',
97
- },
98
- ]}
99
- />
100
- );
101
-
102
- const App = () => <ConfigProvider locale={enUS}>
103
- <UserTable />
104
- </ConfigProvider>
105
-
106
- // eslint-disable-next-line import/no-default-export
107
- export default App;
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="35.93" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 228"><path fill="#00D8FF" d="M210.483 73.824a171.49 171.49 0 0 0-8.24-2.597c.465-1.9.893-3.777 1.273-5.621c6.238-30.281 2.16-54.676-11.769-62.708c-13.355-7.7-35.196.329-57.254 19.526a171.23 171.23 0 0 0-6.375 5.848a155.866 155.866 0 0 0-4.241-3.917C100.759 3.829 77.587-4.822 63.673 3.233C50.33 10.957 46.379 33.89 51.995 62.588a170.974 170.974 0 0 0 1.892 8.48c-3.28.932-6.445 1.924-9.474 2.98C17.309 83.498 0 98.307 0 113.668c0 15.865 18.582 31.778 46.812 41.427a145.52 145.52 0 0 0 6.921 2.165a167.467 167.467 0 0 0-2.01 9.138c-5.354 28.2-1.173 50.591 12.134 58.266c13.744 7.926 36.812-.22 59.273-19.855a145.567 145.567 0 0 0 5.342-4.923a168.064 168.064 0 0 0 6.92 6.314c21.758 18.722 43.246 26.282 56.54 18.586c13.731-7.949 18.194-32.003 12.4-61.268a145.016 145.016 0 0 0-1.535-6.842c1.62-.48 3.21-.974 4.76-1.488c29.348-9.723 48.443-25.443 48.443-41.52c0-15.417-17.868-30.326-45.517-39.844Zm-6.365 70.984c-1.4.463-2.836.91-4.3 1.345c-3.24-10.257-7.612-21.163-12.963-32.432c5.106-11 9.31-21.767 12.459-31.957c2.619.758 5.16 1.557 7.61 2.4c23.69 8.156 38.14 20.213 38.14 29.504c0 9.896-15.606 22.743-40.946 31.14Zm-10.514 20.834c2.562 12.94 2.927 24.64 1.23 33.787c-1.524 8.219-4.59 13.698-8.382 15.893c-8.067 4.67-25.32-1.4-43.927-17.412a156.726 156.726 0 0 1-6.437-5.87c7.214-7.889 14.423-17.06 21.459-27.246c12.376-1.098 24.068-2.894 34.671-5.345a134.17 134.17 0 0 1 1.386 6.193ZM87.276 214.515c-7.882 2.783-14.16 2.863-17.955.675c-8.075-4.657-11.432-22.636-6.853-46.752a156.923 156.923 0 0 1 1.869-8.499c10.486 2.32 22.093 3.988 34.498 4.994c7.084 9.967 14.501 19.128 21.976 27.15a134.668 134.668 0 0 1-4.877 4.492c-9.933 8.682-19.886 14.842-28.658 17.94ZM50.35 144.747c-12.483-4.267-22.792-9.812-29.858-15.863c-6.35-5.437-9.555-10.836-9.555-15.216c0-9.322 13.897-21.212 37.076-29.293c2.813-.98 5.757-1.905 8.812-2.773c3.204 10.42 7.406 21.315 12.477 32.332c-5.137 11.18-9.399 22.249-12.634 32.792a134.718 134.718 0 0 1-6.318-1.979Zm12.378-84.26c-4.811-24.587-1.616-43.134 6.425-47.789c8.564-4.958 27.502 2.111 47.463 19.835a144.318 144.318 0 0 1 3.841 3.545c-7.438 7.987-14.787 17.08-21.808 26.988c-12.04 1.116-23.565 2.908-34.161 5.309a160.342 160.342 0 0 1-1.76-7.887Zm110.427 27.268a347.8 347.8 0 0 0-7.785-12.803c8.168 1.033 15.994 2.404 23.343 4.08c-2.206 7.072-4.956 14.465-8.193 22.045a381.151 381.151 0 0 0-7.365-13.322Zm-45.032-43.861c5.044 5.465 10.096 11.566 15.065 18.186a322.04 322.04 0 0 0-30.257-.006c4.974-6.559 10.069-12.652 15.192-18.18ZM82.802 87.83a323.167 323.167 0 0 0-7.227 13.238c-3.184-7.553-5.909-14.98-8.134-22.152c7.304-1.634 15.093-2.97 23.209-3.984a321.524 321.524 0 0 0-7.848 12.897Zm8.081 65.352c-8.385-.936-16.291-2.203-23.593-3.793c2.26-7.3 5.045-14.885 8.298-22.6a321.187 321.187 0 0 0 7.257 13.246c2.594 4.48 5.28 8.868 8.038 13.147Zm37.542 31.03c-5.184-5.592-10.354-11.779-15.403-18.433c4.902.192 9.899.29 14.978.29c5.218 0 10.376-.117 15.453-.343c-4.985 6.774-10.018 12.97-15.028 18.486Zm52.198-57.817c3.422 7.8 6.306 15.345 8.596 22.52c-7.422 1.694-15.436 3.058-23.88 4.071a382.417 382.417 0 0 0 7.859-13.026a347.403 347.403 0 0 0 7.425-13.565Zm-16.898 8.101a358.557 358.557 0 0 1-12.281 19.815a329.4 329.4 0 0 1-23.444.823c-7.967 0-15.716-.248-23.178-.732a310.202 310.202 0 0 1-12.513-19.846h.001a307.41 307.41 0 0 1-10.923-20.627a310.278 310.278 0 0 1 10.89-20.637l-.001.001a307.318 307.318 0 0 1 12.413-19.761c7.613-.576 15.42-.876 23.31-.876H128c7.926 0 15.743.303 23.354.883a329.357 329.357 0 0 1 12.335 19.695a358.489 358.489 0 0 1 11.036 20.54a329.472 329.472 0 0 1-11 20.722Zm22.56-122.124c8.572 4.944 11.906 24.881 6.52 51.026c-.344 1.668-.73 3.367-1.15 5.09c-10.622-2.452-22.155-4.275-34.23-5.408c-7.034-10.017-14.323-19.124-21.64-27.008a160.789 160.789 0 0 1 5.888-5.4c18.9-16.447 36.564-22.941 44.612-18.3ZM128 90.808c12.625 0 22.86 10.235 22.86 22.86s-10.235 22.86-22.86 22.86s-22.86-10.235-22.86-22.86s10.235-22.86 22.86-22.86Z"></path></svg>