@shohojdhara/atomix 0.1.20 → 0.1.23-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. package/NEXTJS_INTEGRATION.md +7 -1
  2. package/README.md +55 -124
  3. package/css.d.ts +0 -0
  4. package/dist/js/628.js +1 -0
  5. package/dist/js/atomix.react.cjs.js +1 -1
  6. package/dist/js/atomix.react.esm.js +1 -1
  7. package/dist/js/atomix.react.umd.js +1 -1
  8. package/dist/js/chunks/cjs/202.6e2b9e63a406ff01b151.js +1 -0
  9. package/dist/js/chunks/cjs/308.86b2e7ea63bf439e01b4.js +1 -0
  10. package/dist/js/chunks/cjs/54.54733c458fc7ced6d9ba.js +1 -0
  11. package/dist/js/chunks/cjs/619.8e6863cb2985a3a109af.js +1 -0
  12. package/dist/js/chunks/cjs/690.17522d562f7ebe2fa7b4.js +1 -0
  13. package/dist/js/chunks/cjs/894.6edddf7d4bf7ccb11e25.js +1 -0
  14. package/dist/js/chunks/cjs/897.74f4c88710fe45c1b9e3.js +1 -0
  15. package/dist/types/index.d.ts +9 -9
  16. package/dist/types/lib/index.d.ts +11 -4
  17. package/examples/css-integration/README.md +177 -0
  18. package/examples/css-integration/basic-css-import.tsx +34 -0
  19. package/examples/css-integration/css-modules-example.module.css +170 -0
  20. package/examples/css-integration/css-modules-example.tsx +95 -0
  21. package/examples/nextjs/next.config.js +131 -0
  22. package/examples/nextjs-example.tsx +0 -0
  23. package/examples/usage/import-examples.js +111 -0
  24. package/examples/vite/vite.config.js +106 -0
  25. package/examples/webpack/webpack.config.js +157 -0
  26. package/next.config.js +7 -1
  27. package/package.json +92 -5
  28. package/src/components/Accordion/index.ts +0 -0
  29. package/src/components/AtomixLogo/index.ts +0 -0
  30. package/src/components/Button/index.ts +0 -0
  31. package/src/components/Navigation/Menu/Menu.stories.tsx +0 -0
  32. package/src/components/Navigation/Nav/Nav.stories.tsx +0 -0
  33. package/src/components/Navigation/README.md +0 -0
  34. package/src/components/Navigation/SideMenu/SideMenu.README.md +0 -0
  35. package/src/components/Navigation/SideMenu/SideMenu.stories.tsx +0 -0
  36. package/src/components/Navigation/SideMenu/SideMenu.tsx +0 -0
  37. package/src/components/Navigation/SideMenu/SideMenuItem.tsx +0 -0
  38. package/src/components/Navigation/SideMenu/SideMenuList.tsx +0 -0
  39. package/src/components/Navigation/scripts/NavbarInteractions.ts +0 -0
  40. package/src/components/Navigation/scripts/SideMenu.ts +0 -0
  41. package/src/components/Navigation/scripts/SideMenuBundle.ts +0 -0
  42. package/src/components/Navigation/scripts/SideMenuInteractions.ts +0 -0
  43. package/src/components/Navigation/scripts/bundle.ts +0 -0
  44. package/src/components/Navigation/scripts/index.ts +0 -0
  45. package/src/components/PhotoViewer/README.md +0 -0
  46. package/src/components/index.ts +0 -0
  47. package/src/docs/atomix-component-guidelines.mdx +0 -0
  48. package/src/index.ts +10 -5
  49. package/src/layouts/index.ts +5 -0
  50. package/src/lib/README.md +0 -0
  51. package/src/lib/composables/useSideMenu.ts +0 -0
  52. package/src/lib/index.ts +6 -6
  53. package/src/styles/css-modules.d.ts +308 -0
  54. package/tsconfig.json +0 -0
  55. package/webpack.config.js +87 -41
  56. package/dist/js/chunks/cjs/202.9d3b1ef1eaa0d5c8a309.js +0 -1
  57. package/dist/js/chunks/cjs/308.6ea9685ea38ead4120d0.js +0 -1
  58. package/dist/js/chunks/cjs/54.73db6922594e421ba6b1.js +0 -1
  59. package/dist/js/chunks/cjs/619.51feecaadcab819780d4.js +0 -1
  60. package/dist/js/chunks/cjs/690.90f6d11164081cbcbc4d.js +0 -1
  61. package/dist/js/chunks/cjs/894.24877561df336a8dfd14.js +0 -1
  62. package/dist/js/chunks/cjs/897.6c2a71fae95338890de7.js +0 -1
@@ -111,10 +111,16 @@ const nextConfig = {
111
111
  // Handle TypeScript declaration files
112
112
  config.module.rules.push({
113
113
  test: /\.d\.ts$/,
114
+ use: ['ignore-loader'],
114
115
  exclude: /node_modules/,
115
- use: [{ loader: 'ignore-loader' }]
116
116
  });
117
117
 
118
+ // Ignore TypeScript declaration file warnings
119
+ config.ignoreWarnings = [
120
+ ...(config.ignoreWarnings || []),
121
+ { module: /\.d\.ts$/ }
122
+ ];
123
+
118
124
  // Add fallbacks for Node.js core modules (required for Webpack 5)
119
125
  if (!isServer) {
120
126
  config.resolve.fallback = {
package/README.md CHANGED
@@ -21,6 +21,19 @@ Atomix is fully compatible with Webpack 5 and Next.js (including Turbopack). For
21
21
  // For Next.js (in next.config.js)
22
22
  const nextConfig = {
23
23
  webpack: (config, { isServer }) => {
24
+ // Handle TypeScript declaration files
25
+ config.module.rules.push({
26
+ test: /\.d\.ts$/,
27
+ use: ['ignore-loader'],
28
+ exclude: /node_modules/,
29
+ });
30
+
31
+ // Ignore TypeScript declaration file warnings
32
+ config.ignoreWarnings = [
33
+ ...(config.ignoreWarnings || []),
34
+ { module: /\.d\.ts$/ }
35
+ ];
36
+
24
37
  if (!isServer) {
25
38
  config.resolve.fallback = {
26
39
  ...config.resolve.fallback,
@@ -39,6 +52,12 @@ module.exports = {
39
52
  crypto: false, // Provide empty mock for crypto
40
53
  },
41
54
  },
55
+ // Fix TypeScript declaration files issues
56
+ ignoreWarnings: [
57
+ {
58
+ module: /\.d\.ts$/,
59
+ },
60
+ ],
42
61
  };
43
62
  ```
44
63
 
@@ -52,150 +71,54 @@ yarn add @shohojdhara/atomix
52
71
  pnpm add @shohojdhara/atomix
53
72
  ```
54
73
 
55
- ## Quick Start
56
-
57
- ### Next.js Integration
58
-
59
- ```tsx
60
- // app/layout.tsx (App Router)
61
- import '@shohojdhara/atomix/css'
62
-
63
- export default function RootLayout({
64
- children,
65
- }: {
66
- children: React.ReactNode
67
- }) {
68
- return (
69
- <html lang="en">
70
- <body>{children}</body>
71
- </html>
72
- )
73
- }
74
- ```
75
-
76
- ```tsx
77
- // app/page.tsx
78
- import { Button, Hero, Card } from '@shohojdhara/atomix'
79
-
80
- export default function HomePage() {
81
- return (
82
- <Hero
83
- title="Welcome to Next.js with Atomix"
84
- subtitle="Modern UI Components"
85
- alignment="center"
86
- actions={<Button variant="primary" label="Get Started" />}
87
- />
88
- )
89
- }
90
- ```
91
-
92
- For detailed Next.js integration guide, see [NEXTJS_INTEGRATION.md](./NEXTJS_INTEGRATION.md).
74
+ ## Usage
93
75
 
94
- ### React Applications
76
+ ### Basic CSS Import
95
77
 
96
78
  ```tsx
97
- // Import CSS
98
- import '@shohojdhara/atomix/css'
99
-
100
- // Import components
101
- import { Button, Card, Modal } from '@shohojdhara/atomix'
79
+ import { Button } from '@shohojdhara/atomix';
80
+ import '@shohojdhara/atomix/css'; // Import styles
102
81
 
103
82
  function App() {
104
83
  return (
105
- <div>
106
- <Card>
107
- <div className="c-card__body">
108
- <h3 className="c-card__title">Welcome to Atomix</h3>
109
- <p className="c-card__text">Modern UI components for React</p>
110
- <Button variant="primary" label="Get Started" />
111
- </div>
112
- </Card>
113
- </div>
114
- )
84
+ <Button variant="primary">Click Me</Button>
85
+ );
115
86
  }
116
87
  ```
117
88
 
118
- ## Usage Options
89
+ ### Multiple CSS Integration Options
119
90
 
120
- ### Import Styles
121
-
122
- ```tsx
123
- // Default CSS
124
- import '@shohojdhara/atomix/css'
91
+ Atomix provides several ways to integrate CSS based on your project needs:
125
92
 
126
- // Minified CSS
127
- import '@shohojdhara/atomix/css/min'
128
-
129
- // SCSS for customization
130
- import '@shohojdhara/atomix/scss'
93
+ #### 1. Traditional CSS Import
94
+ ```javascript
95
+ import '@shohojdhara/atomix/css';
96
+ // or minified version
97
+ import '@shohojdhara/atomix/css/min';
131
98
  ```
132
99
 
133
- ### Import Components
134
-
135
- ```tsx
136
- // Named imports (recommended for tree shaking)
137
- import { Button, Card, Modal } from '@shohojdhara/atomix'
138
-
139
- // Default import
140
- import Atomix from '@shohojdhara/atomix'
141
- const { Button, Card } = Atomix
100
+ #### 2. SCSS Source Access
101
+ ```scss
102
+ @use '@shohojdhara/atomix/scss' as atomix;
103
+ // or selective imports
104
+ @use '@shohojdhara/atomix/src/styles/06-components/components.button';
142
105
  ```
143
106
 
144
- ### TypeScript Support
145
107
 
108
+
109
+ #### 3. CSS Modules
146
110
  ```tsx
147
- import { ButtonProps, CardProps, Size, ThemeColor } from '@shohojdhara/atomix'
111
+ import '@shohojdhara/atomix/css';
112
+ import styles from './component.module.css';
148
113
 
149
- // Component with typed props
150
- const MyButton: React.FC<ButtonProps> = (props) => {
151
- return <Button {...props} />
152
- }
114
+ <Button className={`c-btn ${styles.customButton}`}>
115
+ Scoped Button
116
+ </Button>
153
117
  ```
154
118
 
155
- ## Available Components
156
-
157
- ### Core Components
158
- - **Button** - Versatile button component with multiple variants
159
- - **Card** - Flexible content container
160
- - **Badge** - Status and labeling component
161
- - **Avatar** - User profile images and placeholders
162
-
163
- ### Navigation
164
- - **Navbar** - Application navigation bar
165
- - **Breadcrumb** - Navigation breadcrumbs
166
- - **Pagination** - Data pagination controls
167
- - **Steps** - Step-by-step navigation
168
-
169
- ### Form Components
170
- - **Input** - Text input fields
171
- - **Select** - Dropdown selection
172
- - **Checkbox** - Checkbox inputs
173
- - **Radio** - Radio button inputs
174
- - **Toggle** - Switch toggle controls
175
-
176
- ### Feedback
177
- - **Modal** - Dialog and overlay modals
178
- - **Tooltip** - Contextual tooltips
179
- - **Popover** - Rich contextual popovers
180
- - **Messages** - Alert and notification messages
181
- - **Progress** - Progress indicators
119
+ 📚 **[Complete CSS Integration Guide](./CSS_INTEGRATION_GUIDE.md)** - Detailed documentation for all CSS integration approaches.
182
120
 
183
- ### Data Display
184
- - **DataTable** - Feature-rich data tables
185
- - **List** - Structured lists
186
- - **Accordion** - Collapsible content sections
187
- - **Tabs** - Tabbed content organization
188
-
189
- ### Layout
190
- - **Hero** - Hero sections with background support
191
- - **Grid** - Responsive grid system
192
- - **Container** - Content containers
193
-
194
- And many more! See our [Storybook](https://liimonx.github.io/atomix/storybook) for the complete component library.
195
-
196
- ## Customization
197
-
198
- ### CSS Variables
121
+ ## CSS Variables
199
122
 
200
123
  ```css
201
124
  :root {
@@ -234,8 +157,10 @@ html[data-atomix-theme="dark"] {
234
157
 
235
158
  - 📚 [Full Documentation](https://liimonx.github.io/atomix)
236
159
  - 🎨 [Storybook](https://liimonx.github.io/atomix/storybook)
160
+ - 🎨 **[CSS Integration Guide](./CSS_INTEGRATION_GUIDE.md)** - Complete guide for all CSS approaches
237
161
  - 🚀 [Next.js Integration Guide](./NEXTJS_INTEGRATION.md)
238
162
  - 📝 [Contributing Guide](./CONTRIBUTING.md)
163
+ - 💡 [Examples](./examples/) - Working examples for different use cases
239
164
 
240
165
  ## Contributing
241
166
 
@@ -248,4 +173,10 @@ MIT © [liimonx](https://github.com/liimonx)
248
173
  ## Support
249
174
 
250
175
  - [GitHub Issues](https://github.com/liimonx/atomix/issues)
251
- - [Discussions](https://github.com/liimonx/atomix/discussions)
176
+ - [Discussions](https://github.com/liimonx/atomix/discussions)
177
+
178
+ ## Quick Start
179
+
180
+ ### Next.js Integration
181
+
182
+ ```
package/css.d.ts CHANGED
File without changes
package/dist/js/628.js ADDED
@@ -0,0 +1 @@
1
+ exports.id=628,exports.ids=[628],exports.modules={160:function(t,r,n){"use strict";var e=n(3948),o=String;t.exports=function(t){if("Symbol"===e(t))throw new TypeError("Cannot convert a Symbol value to a string");return o(t)}},470:function(t,r,n){"use strict";var e=n(6028),o=n(5594);t.exports=function(t){var r=e(t,"string");return o(r)?r:r+""}},575:function(t,r,n){"use strict";var e=n(3121);t.exports=function(t){return e(t.length)}},581:function(t,r,n){"use strict";var e=n(3930),o=n(2250),i=n(6285),u=TypeError;t.exports=function(t,r){var n,c;if("string"===r&&o(n=t.toString)&&!i(c=e(n,t)))return c;if(o(n=t.valueOf)&&!i(c=e(n,t)))return c;if("string"!==r&&o(n=t.toString)&&!i(c=e(n,t)))return c;throw new u("Can't convert object to primitive value")}},798:function(t,r,n){"use strict";var e,o,i=n(5951),u=n(6794),c=i.process,s=i.Deno,f=c&&c.versions||s&&s.version,a=f&&f.v8;a&&(o=(e=a.split("."))[0]>0&&4>e[0]?1:+(e[0]+e[1])),!o&&u&&((e=u.match(/Edge\/(\d+)/))&&74>e[1]||(e=u.match(/Chrome\/(\d+)/))&&(o=+e[1])),t.exports=o},1091:function(t,r,n){"use strict";var e=n(5951),o=n(6024),i=n(2361),u=n(2250),c=n(3846).f,s=n(7463),f=n(2046),a=n(8311),p=n(1626),v=n(9724);n(6128);var l=function(t){var r=function(n,e,i){if(this instanceof r){switch(arguments.length){case 0:return new t;case 1:return new t(n);case 2:return new t(n,e)}return new t(n,e,i)}return o(t,this,arguments)};return r.prototype=t.prototype,r};t.exports=function(t,r){var n,o,y,b,x,h,d,g,m,w=t.target,j=t.global,O=t.stat,S=t.proto,P=j?e:O?e[w]:e[w]&&e[w].prototype,E=j?f:f[w]||p(f,w,{})[w],T=E.prototype;for(b in r)o=!(n=s(j?b:w+(O?".":"#")+b,t.forced))&&P&&v(P,b),h=E[b],o&&(d=t.dontCallGetSet?(m=c(P,b))&&m.value:P[b]),x=o&&d?d:r[b],(n||S||typeof h!=typeof x)&&(g=t.bind&&o?a(x,e):t.wrap&&o?l(x):S&&u(x)?i(x):x,(t.sham||x&&x.sham||h&&h.sham)&&p(g,"sham",!0),p(E,b,g),S&&(v(f,y=w+"Prototype")||p(f,y,{}),p(f[y],b,x),t.real&&T&&(n||!T[b])&&p(T,b,x)))}},1175:function(t,r,n){"use strict";var e=n(9846);t.exports=e&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},1176:function(t){"use strict";var r=Math.ceil,n=Math.floor;t.exports=Math.trunc||function(t){var e=+t;return(e>0?n:r)(e)}},1362:function(t,r,n){"use strict";n(9748);var e=n(1747);t.exports=e("Array","includes")},1505:function(t,r,n){"use strict";var e=n(8828);t.exports=!e((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},1626:function(t,r,n){"use strict";var e=n(9447),o=n(4284),i=n(5817);t.exports=e?function(t,r,n){return o.f(t,r,i(1,n))}:function(t,r,n){return t[r]=n,t}},1747:function(t,r,n){"use strict";var e=n(5951),o=n(2046);t.exports=function(t,r){var n=o[t+"Prototype"],i=n&&n[r];if(i)return i;var u=e[t],c=u&&u.prototype;return c&&c[r]}},1907:function(t,r,n){"use strict";var e=n(1505),o=Function.prototype,i=o.call,u=e&&o.bind.bind(i,i);t.exports=e?u:function(t){return function(){return i.apply(t,arguments)}}},2046:function(t){"use strict";t.exports={}},2074:function(t,r,n){"use strict";var e=n(2087),o=TypeError;t.exports=function(t){if(e(t))throw new o("The method doesn't accept regular expressions");return t}},2087:function(t,r,n){"use strict";var e=n(6285),o=n(5807),i=n(6264)("match");t.exports=function(t){var r;return e(t)&&(void 0!==(r=t[i])?!!r:"RegExp"===o(t))}},2156:function(t){"use strict";t.exports=function(){}},2159:function(t,r,n){"use strict";var e=n(2250),o=n(4640),i=TypeError;t.exports=function(t){if(e(t))return t;throw new i(o(t)+" is not a function")}},2250:function(t){"use strict";var r="object"==typeof document&&document.all;t.exports=void 0===r&&void 0!==r?function(t){return"function"==typeof t||t===r}:function(t){return"function"==typeof t}},2361:function(t,r,n){"use strict";var e=n(5807),o=n(1907);t.exports=function(t){if("Function"===e(t))return o(t)}},2532:function(t,r,n){"use strict";var e=n(5951),o=Object.defineProperty;t.exports=function(t,r){try{o(e,t,{value:r,configurable:!0,writable:!0})}catch(n){e[t]=r}return r}},2574:function(t,r){"use strict";var n={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,o=e&&!n.call({1:2},1);r.f=o?function(t){var r=e(this,t);return!!r&&r.enumerable}:n},2623:function(t,r,n){"use strict";var e={};e[n(6264)("toStringTag")]="z",t.exports=e+""=="[object z]"},3121:function(t,r,n){"use strict";var e=n(5482),o=Math.min;t.exports=function(t){var r=e(t);return r>0?o(r,9007199254740991):0}},3648:function(t,r,n){"use strict";var e=n(9447),o=n(8828),i=n(9552);t.exports=!e&&!o((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},3846:function(t,r,n){"use strict";var e=n(9447),o=n(3930),i=n(2574),u=n(5817),c=n(7374),s=n(470),f=n(9724),a=n(3648),p=Object.getOwnPropertyDescriptor;r.f=e?p:function(t,r){if(t=c(t),r=s(r),a)try{return p(t,r)}catch(n){}if(f(t,r))return u(!o(i.f,t,r),t[r])}},3930:function(t,r,n){"use strict";var e=n(1505),o=Function.prototype.call;t.exports=e?o.bind(o):function(){return o.apply(o,arguments)}},3948:function(t,r,n){"use strict";var e=n(2623),o=n(2250),i=n(5807),u=n(6264)("toStringTag"),c=Object,s="Arguments"===i(function(){return arguments}());t.exports=e?i:function(t){var r,n,e;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,r){try{return t[r]}catch(n){}}(r=c(t),u))?n:s?i(r):"Object"===(e=i(r))&&o(r.callee)?"Arguments":e}},4239:function(t,r,n){"use strict";var e=n(7136),o=TypeError;t.exports=function(t){if(e(t))throw new o("Can't call method on "+t);return t}},4284:function(t,r,n){"use strict";var e=n(9447),o=n(3648),i=n(8661),u=n(6624),c=n(470),s=TypeError,f=Object.defineProperty,a=Object.getOwnPropertyDescriptor,p="enumerable",v="configurable",l="writable";r.f=e?i?function(t,r,n){if(u(t),r=c(r),u(n),"function"==typeof t&&"prototype"===r&&"value"in n&&l in n&&!n[l]){var e=a(t,r);e&&e[l]&&(t[r]=n.value,n={configurable:v in n?n[v]:e[v],enumerable:p in n?n[p]:e[p],writable:!1})}return f(t,r,n)}:f:function(t,r,n){if(u(t),r=c(r),u(n),o)try{return f(t,r,n)}catch(e){}if("get"in n||"set"in n)throw new s("Accessors not supported");return"value"in n&&(t[r]=n.value),t}},4378:function(t,r,n){"use strict";n(9770);var e=n(1747);t.exports=e("String","includes")},4436:function(t,r,n){"use strict";var e=n(7374),o=n(4849),i=n(575),u=function(t){return function(r,n,u){var c=e(r),s=i(c);if(0===s)return!t&&-1;var f,a=o(u,s);if(t&&n!=n){for(;s>a;)if((f=c[a++])!=f)return!0}else for(;s>a;a++)if((t||a in c)&&c[a]===n)return t||a||0;return!t&&-1}};t.exports={includes:u(!0),indexOf:u(!1)}},4640:function(t){"use strict";var r=String;t.exports=function(t){try{return r(t)}catch(n){return"Object"}}},4849:function(t,r,n){"use strict";var e=n(5482),o=Math.max,i=Math.min;t.exports=function(t,r){var n=e(t);return 0>n?o(n+r,0):i(n,r)}},5482:function(t,r,n){"use strict";var e=n(1176);t.exports=function(t){var r=+t;return r!=r||0===r?0:e(r)}},5582:function(t,r,n){"use strict";var e=n(2046),o=n(5951),i=n(2250),u=function(t){return i(t)?t:void 0};t.exports=function(t,r){return 2>arguments.length?u(e[t])||u(o[t]):e[t]&&e[t][r]||o[t]&&o[t][r]}},5594:function(t,r,n){"use strict";var e=n(5582),o=n(2250),i=n(8280),u=n(1175),c=Object;t.exports=u?function(t){return"symbol"==typeof t}:function(t){var r=e("Symbol");return o(r)&&i(r.prototype,c(t))}},5735:function(t,r,n){"use strict";var e=n(6264)("match");t.exports=function(t){var r=/./;try{"/./"[t](r)}catch(n){try{return r[e]=!1,"/./"[t](r)}catch(o){}}return!1}},5807:function(t,r,n){"use strict";var e=n(1907),o=e({}.toString),i=e("".slice);t.exports=function(t){return i(o(t),8,-1)}},5816:function(t,r,n){"use strict";var e=n(6128);t.exports=function(t,r){return e[t]||(e[t]=r||{})}},5817:function(t){"use strict";t.exports=function(t,r){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:r}}},5951:function(t){"use strict";var r=function(t){return t&&t.Math===Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof global&&global)||r("object"==typeof this&&this)||function(){return this}()||Function("return this")()},6024:function(t,r,n){"use strict";var e=n(1505),o=Function.prototype,i=o.apply,u=o.call;t.exports="object"==typeof Reflect&&Reflect.apply||(e?u.bind(i):function(){return u.apply(i,arguments)})},6028:function(t,r,n){"use strict";var e=n(3930),o=n(6285),i=n(5594),u=n(9367),c=n(581),s=n(6264),f=TypeError,a=s("toPrimitive");t.exports=function(t,r){if(!o(t)||i(t))return t;var n,s=u(t,a);if(s){if(void 0===r&&(r="default"),n=e(s,t,r),!o(n)||i(n))return n;throw new f("Can't convert object to primitive value")}return void 0===r&&(r="number"),c(t,r)}},6128:function(t,r,n){"use strict";var e=n(7376),o=n(5951),i=n(2532),u="__core-js_shared__",c=t.exports=o[u]||i(u,{});(c.versions||(c.versions=[])).push({version:"3.43.0",mode:e?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.43.0/LICENSE",source:"https://github.com/zloirock/core-js"})},6264:function(t,r,n){"use strict";var e=n(5951),o=n(5816),i=n(9724),u=n(6499),c=n(9846),s=n(1175),f=e.Symbol,a=o("wks"),p=s?f.for||f:f&&f.withoutSetter||u;t.exports=function(t){return i(a,t)||(a[t]=c&&i(f,t)?f[t]:p("Symbol."+t)),a[t]}},6285:function(t,r,n){"use strict";var e=n(2250);t.exports=function(t){return"object"==typeof t?null!==t:e(t)}},6343:function(t,r,n){"use strict";var e=n(6880);t.exports=e},6499:function(t,r,n){"use strict";var e=n(1907),o=0,i=Math.random(),u=e(1.1.toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+u(++o+i,36)}},6624:function(t,r,n){"use strict";var e=n(6285),o=String,i=TypeError;t.exports=function(t){if(e(t))return t;throw new i(o(t)+" is not an object")}},6794:function(t,r,n){"use strict";var e=n(5951).navigator,o=e&&e.userAgent;t.exports=o?o+"":""},6880:function(t,r,n){"use strict";var e=n(8280),o=n(1362),i=n(4378),u=Array.prototype,c=String.prototype;t.exports=function(t){var r=t.includes;return t===u||e(u,t)&&r===u.includes?o:"string"==typeof t||t===c||e(c,t)&&r===c.includes?i:r}},6946:function(t,r,n){"use strict";var e=n(1907),o=n(8828),i=n(5807),u=Object,c=e("".split);t.exports=o((function(){return!u("z").propertyIsEnumerable(0)}))?function(t){return"String"===i(t)?c(t,""):u(t)}:u},7136:function(t){"use strict";t.exports=function(t){return null==t}},7374:function(t,r,n){"use strict";var e=n(6946),o=n(4239);t.exports=function(t){return e(o(t))}},7376:function(t){"use strict";t.exports=!0},7463:function(t,r,n){"use strict";var e=n(8828),o=n(2250),i=/#|\.prototype\./,u=function(t,r){var n=s[c(t)];return n===a||n!==f&&(o(r)?e(r):!!r)},c=u.normalize=function(t){return(t+"").replace(i,".").toLowerCase()},s=u.data={},f=u.NATIVE="N",a=u.POLYFILL="P";t.exports=u},8280:function(t,r,n){"use strict";var e=n(1907);t.exports=e({}.isPrototypeOf)},8311:function(t,r,n){"use strict";var e=n(2361),o=n(2159),i=n(1505),u=e(e.bind);t.exports=function(t,r){return o(t),void 0===r?t:i?u(t,r):function(){return t.apply(r,arguments)}}},8628:function(t,r,n){t.exports=n(6343)},8661:function(t,r,n){"use strict";var e=n(9447),o=n(8828);t.exports=e&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},8828:function(t){"use strict";t.exports=function(t){try{return!!t()}catch(r){return!0}}},9298:function(t,r,n){"use strict";var e=n(4239),o=Object;t.exports=function(t){return o(e(t))}},9367:function(t,r,n){"use strict";var e=n(2159),o=n(7136);t.exports=function(t,r){var n=t[r];return o(n)?void 0:e(n)}},9447:function(t,r,n){"use strict";var e=n(8828);t.exports=!e((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},9552:function(t,r,n){"use strict";var e=n(5951),o=n(6285),i=e.document,u=o(i)&&o(i.createElement);t.exports=function(t){return u?i.createElement(t):{}}},9724:function(t,r,n){"use strict";var e=n(1907),o=n(9298),i=e({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,r){return i(o(t),r)}},9748:function(t,r,n){"use strict";var e=n(1091),o=n(4436).includes,i=n(8828),u=n(2156);e({target:"Array",proto:!0,forced:i((function(){return!1}))},{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),u("includes")},9770:function(t,r,n){"use strict";var e=n(1091),o=n(1907),i=n(2074),u=n(4239),c=n(160),s=n(5735),f=o("".indexOf);e({target:"String",proto:!0,forced:!s("includes")},{includes:function(t){return!!~f(c(u(this)),c(i(t)),arguments.length>1?arguments[1]:void 0)}})},9846:function(t,r,n){"use strict";var e=n(798),o=n(8828),i=n(5951).String;t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol("symbol detection");return!i(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&e&&41>e}))}};