monoscribe 0.1.0-beta.2 → 0.1.0-beta.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.
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  <picture>
2
- <source srcset="./assets/logo-white.png" media="(prefers-color-scheme: dark)" />
3
- <img src="./assets/logo-black.png" alt="Monoscribe Logo" />
2
+ <source srcset="https://raw.githubusercontent.com/yunusgogce/monoscribe/main/assets/logo-white.png" media="(prefers-color-scheme: dark)" />
3
+ <img src="https://raw.githubusercontent.com/yunusgogce/monoscribe/main/assets/logo-black.png" alt="Monoscribe Logo" />
4
4
  </picture>
5
5
 
6
6
  **Monoscribe** is a lightweight and customizable typography component library for React, designed to simplify text styling with a focus on monospace fonts. It provides pre-styled components that ensure consistency while allowing flexibility in font selection and customization. With built-in accessibility and animations, Monoscribe enables developers to implement high-quality typography without additional complexity.
package/dist/App.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ declare const App: () => import("react/jsx-runtime").JSX.Element;
2
+ export default App;
@@ -0,0 +1,6 @@
1
+ import { ReactNode } from 'react';
2
+ import { TypographySettings } from '../../context/TypographyContext';
3
+ export type GroupProps = TypographySettings & {
4
+ children: ReactNode;
5
+ };
6
+ export declare const Group: ({ children, ...styles }: GroupProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,3 @@
1
+ export declare const StyledHeadingWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {
2
+ level: 1 | 2 | 3 | 4 | 5 | 6;
3
+ }>> & string;
@@ -0,0 +1,5 @@
1
+ import { TypographyBaseProps } from '../../types';
2
+ export type HeadingProps = TypographyBaseProps & {
3
+ level: 1 | 2 | 3 | 4 | 5 | 6;
4
+ };
5
+ export declare const Heading: ({ level, size, ...props }: HeadingProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { TypographyBaseProps } from '../../types';
2
+ export declare const Paragraph: (props: TypographyBaseProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { TypographyBaseProps } from '../../types';
2
+ export declare const StyledTypographyBase: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, TypographyBaseProps>> & string;
@@ -0,0 +1,5 @@
1
+ import { JSX } from 'react';
2
+ import { TypographyBaseProps } from '../../types';
3
+ export declare const TypographyBase: ({ as: Tag, children, uppercase, italic, underline, strikethrough, ...props }: TypographyBaseProps & {
4
+ as?: keyof JSX.IntrinsicElements;
5
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,4 @@
1
+ import { TypographyBaseProps } from '../types';
2
+ export type TypographySettings = TypographyBaseProps;
3
+ export declare const TypographyContext: import('react').Context<TypographyBaseProps>;
4
+ export declare const useTypography: () => TypographySettings;
@@ -0,0 +1,6 @@
1
+ export declare const Mono: {
2
+ Group: ({ children, ...styles }: import('./components/Group').GroupProps) => import("react/jsx-runtime").JSX.Element;
3
+ Heading: ({ level, size, ...props }: import('./components/Heading').HeadingProps) => import("react/jsx-runtime").JSX.Element;
4
+ Paragraph: (props: import('./types').TypographyBaseProps) => import("react/jsx-runtime").JSX.Element;
5
+ };
6
+ export * from './types';
package/dist/main.d.ts ADDED
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,101 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Y=require("react");var Ve={exports:{}},Pe={};/**
2
+ * @license React
3
+ * react-jsx-runtime.production.js
4
+ *
5
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
6
+ *
7
+ * This source code is licensed under the MIT license found in the
8
+ * LICENSE file in the root directory of this source tree.
9
+ */var Pt;function Cr(){if(Pt)return Pe;Pt=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function r(o,a,s){var i=null;if(s!==void 0&&(i=""+s),a.key!==void 0&&(i=""+a.key),"key"in a){s={};for(var f in a)f!=="key"&&(s[f]=a[f])}else s=a;return a=s.ref,{$$typeof:e,type:o,key:i,ref:a!==void 0?a:null,props:s}}return Pe.Fragment=t,Pe.jsx=r,Pe.jsxs=r,Pe}var je={};/**
10
+ * @license React
11
+ * react-jsx-runtime.development.js
12
+ *
13
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
14
+ *
15
+ * This source code is licensed under the MIT license found in the
16
+ * LICENSE file in the root directory of this source tree.
17
+ */var jt;function Ar(){return jt||(jt=1,process.env.NODE_ENV!=="production"&&function(){function e(n){if(n==null)return null;if(typeof n=="function")return n.$$typeof===ze?null:n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case m:return"Fragment";case R:return"Portal";case B:return"Profiler";case p:return"StrictMode";case Te:return"Suspense";case he:return"SuspenseList"}if(typeof n=="object")switch(typeof n.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),n.$$typeof){case De:return(n.displayName||"Context")+".Provider";case q:return(n._context.displayName||"Context")+".Consumer";case _e:var c=n.render;return n=n.displayName,n||(n=c.displayName||c.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case Re:return c=n.displayName||null,c!==null?c:e(n.type)||"Memo";case Ne:c=n._payload,n=n._init;try{return e(n(c))}catch{}}return null}function t(n){return""+n}function r(n){try{t(n);var c=!1}catch{c=!0}if(c){c=console;var u=c.error,E=typeof Symbol=="function"&&Symbol.toStringTag&&n[Symbol.toStringTag]||n.constructor.name||"Object";return u.call(c,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",E),t(n)}}function o(){}function a(){if(X===0){ae=console.log,te=console.info,se=console.warn,J=console.error,H=console.group,ge=console.groupCollapsed,ie=console.groupEnd;var n={configurable:!0,enumerable:!0,value:o,writable:!0};Object.defineProperties(console,{info:n,log:n,warn:n,error:n,group:n,groupCollapsed:n,groupEnd:n})}X++}function s(){if(X--,X===0){var n={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:L({},n,{value:ae}),info:L({},n,{value:te}),warn:L({},n,{value:se}),error:L({},n,{value:J}),group:L({},n,{value:H}),groupCollapsed:L({},n,{value:ge}),groupEnd:L({},n,{value:ie})})}0>X&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function i(n){if(W===void 0)try{throw Error()}catch(u){var c=u.stack.trim().match(/\n( *(at )?)/);W=c&&c[1]||"",_t=-1<u.stack.indexOf(`
18
+ at`)?" (<anonymous>)":-1<u.stack.indexOf("@")?"@unknown:0:0":""}return`
19
+ `+W+n+_t}function f(n,c){if(!n||st)return"";var u=it.get(n);if(u!==void 0)return u;st=!0,u=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var E=null;E=I.H,I.H=null,a();try{var M={DetermineComponentFrameRoot:function(){try{if(c){var re=function(){throw Error()};if(Object.defineProperty(re.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(re,[])}catch(Z){var Ye=Z}Reflect.construct(n,[],re)}else{try{re.call()}catch(Z){Ye=Z}n.call(re.prototype)}}else{try{throw Error()}catch(Z){Ye=Z}(re=n())&&typeof re.catch=="function"&&re.catch(function(){})}}catch(Z){if(Z&&Ye&&typeof Z.stack=="string")return[Z.stack,Ye.stack]}return[null,null]}};M.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var O=Object.getOwnPropertyDescriptor(M.DetermineComponentFrameRoot,"name");O&&O.configurable&&Object.defineProperty(M.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var d=M.DetermineComponentFrameRoot(),K=d[0],ye=d[1];if(K&&ye){var D=K.split(`
20
+ `),ce=ye.split(`
21
+ `);for(d=O=0;O<D.length&&!D[O].includes("DetermineComponentFrameRoot");)O++;for(;d<ce.length&&!ce[d].includes("DetermineComponentFrameRoot");)d++;if(O===D.length||d===ce.length)for(O=D.length-1,d=ce.length-1;1<=O&&0<=d&&D[O]!==ce[d];)d--;for(;1<=O&&0<=d;O--,d--)if(D[O]!==ce[d]){if(O!==1||d!==1)do if(O--,d--,0>d||D[O]!==ce[d]){var Oe=`
22
+ `+D[O].replace(" at new "," at ");return n.displayName&&Oe.includes("<anonymous>")&&(Oe=Oe.replace("<anonymous>",n.displayName)),typeof n=="function"&&it.set(n,Oe),Oe}while(1<=O&&0<=d);break}}}finally{st=!1,I.H=E,s(),Error.prepareStackTrace=u}return D=(D=n?n.displayName||n.name:"")?i(D):"",typeof n=="function"&&it.set(n,D),D}function l(n){if(n==null)return"";if(typeof n=="function"){var c=n.prototype;return f(n,!(!c||!c.isReactComponent))}if(typeof n=="string")return i(n);switch(n){case Te:return i("Suspense");case he:return i("SuspenseList")}if(typeof n=="object")switch(n.$$typeof){case _e:return n=f(n.render,!1),n;case Re:return l(n.type);case Ne:c=n._payload,n=n._init;try{return l(n(c))}catch{}}return""}function y(){var n=I.A;return n===null?null:n.getOwner()}function b(n){if(ee.call(n,"key")){var c=Object.getOwnPropertyDescriptor(n,"key").get;if(c&&c.isReactWarning)return!1}return n.key!==void 0}function g(n,c){function u(){Tt||(Tt=!0,console.error("%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)",c))}u.isReactWarning=!0,Object.defineProperty(n,"key",{get:u,configurable:!0})}function w(){var n=e(this.type);return Rt[n]||(Rt[n]=!0,console.error("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.")),n=this.props.ref,n!==void 0?n:null}function v(n,c,u,E,M,O){return u=O.ref,n={$$typeof:x,type:n,key:c,props:O,_owner:M},(u!==void 0?u:null)!==null?Object.defineProperty(n,"ref",{enumerable:!1,get:w}):Object.defineProperty(n,"ref",{enumerable:!1,value:null}),n._store={},Object.defineProperty(n._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(n,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.freeze&&(Object.freeze(n.props),Object.freeze(n)),n}function C(n,c,u,E,M,O){if(typeof n=="string"||typeof n=="function"||n===m||n===B||n===p||n===Te||n===he||n===at||typeof n=="object"&&n!==null&&(n.$$typeof===Ne||n.$$typeof===Re||n.$$typeof===De||n.$$typeof===q||n.$$typeof===_e||n.$$typeof===z||n.getModuleId!==void 0)){var d=c.children;if(d!==void 0)if(E)if(oe(d)){for(E=0;E<d.length;E++)_(d[E],n);Object.freeze&&Object.freeze(d)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else _(d,n)}else d="",(n===void 0||typeof n=="object"&&n!==null&&Object.keys(n).length===0)&&(d+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),n===null?E="null":oe(n)?E="array":n!==void 0&&n.$$typeof===x?(E="<"+(e(n.type)||"Unknown")+" />",d=" Did you accidentally export a JSX literal instead of a component?"):E=typeof n,console.error("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",E,d);if(ee.call(c,"key")){d=e(n);var K=Object.keys(c).filter(function(D){return D!=="key"});E=0<K.length?"{key: someKey, "+K.join(": ..., ")+": ...}":"{key: someKey}",Nt[d+E]||(K=0<K.length?"{"+K.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
23
+ let props = %s;
24
+ <%s {...props} />
25
+ React keys must be passed directly to JSX without using spread:
26
+ let props = %s;
27
+ <%s key={someKey} {...props} />`,E,d,K,d),Nt[d+E]=!0)}if(d=null,u!==void 0&&(r(u),d=""+u),b(c)&&(r(c.key),d=""+c.key),"key"in c){u={};for(var ye in c)ye!=="key"&&(u[ye]=c[ye])}else u=c;return d&&g(u,typeof n=="function"?n.displayName||n.name||"Unknown":n),v(n,d,O,M,y(),u)}function _(n,c){if(typeof n=="object"&&n&&n.$$typeof!==kr){if(oe(n))for(var u=0;u<n.length;u++){var E=n[u];$(E)&&N(E,c)}else if($(n))n._store&&(n._store.validated=1);else if(n===null||typeof n!="object"?u=null:(u=me&&n[me]||n["@@iterator"],u=typeof u=="function"?u:null),typeof u=="function"&&u!==n.entries&&(u=u.call(n),u!==n))for(;!(n=u.next()).done;)$(n.value)&&N(n.value,c)}}function $(n){return typeof n=="object"&&n!==null&&n.$$typeof===x}function N(n,c){if(n._store&&!n._store.validated&&n.key==null&&(n._store.validated=1,c=T(c),!Ot[c])){Ot[c]=!0;var u="";n&&n._owner!=null&&n._owner!==y()&&(u=null,typeof n._owner.tag=="number"?u=e(n._owner.type):typeof n._owner.name=="string"&&(u=n._owner.name),u=" It was passed a child from "+u+".");var E=I.getCurrentStack;I.getCurrentStack=function(){var M=l(n.type);return E&&(M+=E()||""),M},console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',c,u),I.getCurrentStack=E}}function T(n){var c="",u=y();return u&&(u=e(u.type))&&(c=`
28
+
29
+ Check the render method of \``+u+"`."),c||(n=e(n))&&(c=`
30
+
31
+ Check the top-level render call using <`+n+">."),c}var k=Y,x=Symbol.for("react.transitional.element"),R=Symbol.for("react.portal"),m=Symbol.for("react.fragment"),p=Symbol.for("react.strict_mode"),B=Symbol.for("react.profiler"),q=Symbol.for("react.consumer"),De=Symbol.for("react.context"),_e=Symbol.for("react.forward_ref"),Te=Symbol.for("react.suspense"),he=Symbol.for("react.suspense_list"),Re=Symbol.for("react.memo"),Ne=Symbol.for("react.lazy"),at=Symbol.for("react.offscreen"),me=Symbol.iterator,ze=Symbol.for("react.client.reference"),I=k.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ee=Object.prototype.hasOwnProperty,L=Object.assign,z=Symbol.for("react.client.reference"),oe=Array.isArray,X=0,ae,te,se,J,H,ge,ie;o.__reactDisabledLog=!0;var W,_t,st=!1,it=new(typeof WeakMap=="function"?WeakMap:Map),kr=Symbol.for("react.client.reference"),Tt,Rt={},Nt={},Ot={};je.Fragment=m,je.jsx=function(n,c,u,E,M){return C(n,c,u,!1,E,M)},je.jsxs=function(n,c,u,E,M){return C(n,c,u,!0,E,M)}}()),je}var $t;function _r(){return $t||($t=1,process.env.NODE_ENV==="production"?Ve.exports=Cr():Ve.exports=Ar()),Ve.exports}var Me=_r();const pt=Y.createContext(void 0),Tr=()=>Y.useContext(pt)||{},Rr=({children:e,...t})=>{const r=Y.useContext(pt)||{};return Me.jsx(pt.Provider,{value:{...r,...t},children:e})};var V=function(){return V=Object.assign||function(t){for(var r,o=1,a=arguments.length;o<a;o++){r=arguments[o];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(t[s]=r[s])}return t},V.apply(this,arguments)};function be(e,t,r){if(r||arguments.length===2)for(var o=0,a=t.length,s;o<a;o++)(s||!(o in t))&&(s||(s=Array.prototype.slice.call(t,0,o)),s[o]=t[o]);return e.concat(s||Array.prototype.slice.call(t))}function Nr(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var Or=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Pr=Nr(function(e){return Or.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),A="-ms-",Ie="-moz-",S="-webkit-",Qt="comm",Qe="rule",Et="decl",jr="@import",er="@keyframes",$r="@layer",tr=Math.abs,St=String.fromCharCode,dt=Object.assign;function Ir(e,t){return j(e,0)^45?(((t<<2^j(e,0))<<2^j(e,1))<<2^j(e,2))<<2^j(e,3):0}function rr(e){return e.trim()}function Q(e,t){return(e=t.exec(e))?e[0]:e}function h(e,t,r){return e.replace(t,r)}function Ge(e,t,r){return e.indexOf(t,r)}function j(e,t){return e.charCodeAt(t)|0}function we(e,t,r){return e.slice(t,r)}function U(e){return e.length}function nr(e){return e.length}function $e(e,t){return t.push(e),e}function Mr(e,t){return e.map(t).join("")}function It(e,t){return e.filter(function(r){return!Q(r,t)})}var et=1,Ee=1,or=0,F=0,P=0,Ce="";function tt(e,t,r,o,a,s,i,f){return{value:e,root:t,parent:r,type:o,props:a,children:s,line:et,column:Ee,length:i,return:"",siblings:f}}function ne(e,t){return dt(tt("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function ve(e){for(;e.root;)e=ne(e.root,{children:[e]});$e(e,e.siblings)}function Dr(){return P}function zr(){return P=F>0?j(Ce,--F):0,Ee--,P===10&&(Ee=1,et--),P}function G(){return P=F<or?j(Ce,F++):0,Ee++,P===10&&(Ee=1,et++),P}function fe(){return j(Ce,F)}function He(){return F}function rt(e,t){return we(Ce,e,t)}function ht(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Yr(e){return et=Ee=1,or=U(Ce=e),F=0,[]}function Vr(e){return Ce="",e}function ct(e){return rr(rt(F-1,mt(e===91?e+2:e===40?e+1:e)))}function Lr(e){for(;(P=fe())&&P<33;)G();return ht(e)>2||ht(P)>3?"":" "}function Wr(e,t){for(;--t&&G()&&!(P<48||P>102||P>57&&P<65||P>70&&P<97););return rt(e,He()+(t<6&&fe()==32&&G()==32))}function mt(e){for(;G();)switch(P){case e:return F;case 34:case 39:e!==34&&e!==39&&mt(P);break;case 40:e===41&&mt(e);break;case 92:G();break}return F}function Fr(e,t){for(;G()&&e+P!==57;)if(e+P===84&&fe()===47)break;return"/*"+rt(t,F-1)+"*"+St(e===47?e:G())}function Br(e){for(;!ht(fe());)G();return rt(e,F)}function Gr(e){return Vr(Ue("",null,null,null,[""],e=Yr(e),0,[0],e))}function Ue(e,t,r,o,a,s,i,f,l){for(var y=0,b=0,g=i,w=0,v=0,C=0,_=1,$=1,N=1,T=0,k="",x=a,R=s,m=o,p=k;$;)switch(C=T,T=G()){case 40:if(C!=108&&j(p,g-1)==58){Ge(p+=h(ct(T),"&","&\f"),"&\f",tr(y?f[y-1]:0))!=-1&&(N=-1);break}case 34:case 39:case 91:p+=ct(T);break;case 9:case 10:case 13:case 32:p+=Lr(C);break;case 92:p+=Wr(He()-1,7);continue;case 47:switch(fe()){case 42:case 47:$e(Hr(Fr(G(),He()),t,r,l),l);break;default:p+="/"}break;case 123*_:f[y++]=U(p)*N;case 125*_:case 59:case 0:switch(T){case 0:case 125:$=0;case 59+b:N==-1&&(p=h(p,/\f/g,"")),v>0&&U(p)-g&&$e(v>32?Dt(p+";",o,r,g-1,l):Dt(h(p," ","")+";",o,r,g-2,l),l);break;case 59:p+=";";default:if($e(m=Mt(p,t,r,y,b,a,f,k,x=[],R=[],g,s),s),T===123)if(b===0)Ue(p,t,m,m,x,s,g,f,R);else switch(w===99&&j(p,3)===110?100:w){case 100:case 108:case 109:case 115:Ue(e,m,m,o&&$e(Mt(e,m,m,0,0,a,f,k,a,x=[],g,R),R),a,R,g,f,o?x:R);break;default:Ue(p,m,m,m,[""],R,0,f,R)}}y=b=v=0,_=N=1,k=p="",g=i;break;case 58:g=1+U(p),v=C;default:if(_<1){if(T==123)--_;else if(T==125&&_++==0&&zr()==125)continue}switch(p+=St(T),T*_){case 38:N=b>0?1:(p+="\f",-1);break;case 44:f[y++]=(U(p)-1)*N,N=1;break;case 64:fe()===45&&(p+=ct(G())),w=fe(),b=g=U(k=p+=Br(He())),T++;break;case 45:C===45&&U(p)==2&&(_=0)}}return s}function Mt(e,t,r,o,a,s,i,f,l,y,b,g){for(var w=a-1,v=a===0?s:[""],C=nr(v),_=0,$=0,N=0;_<o;++_)for(var T=0,k=we(e,w+1,w=tr($=i[_])),x=e;T<C;++T)(x=rr($>0?v[T]+" "+k:h(k,/&\f/g,v[T])))&&(l[N++]=x);return tt(e,t,r,a===0?Qe:f,l,y,b,g)}function Hr(e,t,r,o){return tt(e,t,r,Qt,St(Dr()),we(e,2,-2),0,o)}function Dt(e,t,r,o,a){return tt(e,t,r,Et,we(e,0,o),we(e,o+1,-1),o,a)}function ar(e,t,r){switch(Ir(e,t)){case 5103:return S+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return S+e+e;case 4789:return Ie+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return S+e+Ie+e+A+e+e;case 5936:switch(j(e,t+11)){case 114:return S+e+A+h(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return S+e+A+h(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return S+e+A+h(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return S+e+A+e+e;case 6165:return S+e+A+"flex-"+e+e;case 5187:return S+e+h(e,/(\w+).+(:[^]+)/,S+"box-$1$2"+A+"flex-$1$2")+e;case 5443:return S+e+A+"flex-item-"+h(e,/flex-|-self/g,"")+(Q(e,/flex-|baseline/)?"":A+"grid-row-"+h(e,/flex-|-self/g,""))+e;case 4675:return S+e+A+"flex-line-pack"+h(e,/align-content|flex-|-self/g,"")+e;case 5548:return S+e+A+h(e,"shrink","negative")+e;case 5292:return S+e+A+h(e,"basis","preferred-size")+e;case 6060:return S+"box-"+h(e,"-grow","")+S+e+A+h(e,"grow","positive")+e;case 4554:return S+h(e,/([^-])(transform)/g,"$1"+S+"$2")+e;case 6187:return h(h(h(e,/(zoom-|grab)/,S+"$1"),/(image-set)/,S+"$1"),e,"")+e;case 5495:case 3959:return h(e,/(image-set\([^]*)/,S+"$1$`$1");case 4968:return h(h(e,/(.+:)(flex-)?(.*)/,S+"box-pack:$3"+A+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+S+e+e;case 4200:if(!Q(e,/flex-|baseline/))return A+"grid-column-align"+we(e,t)+e;break;case 2592:case 3360:return A+h(e,"template-","")+e;case 4384:case 3616:return r&&r.some(function(o,a){return t=a,Q(o.props,/grid-\w+-end/)})?~Ge(e+(r=r[t].value),"span",0)?e:A+h(e,"-start","")+e+A+"grid-row-span:"+(~Ge(r,"span",0)?Q(r,/\d+/):+Q(r,/\d+/)-+Q(e,/\d+/))+";":A+h(e,"-start","")+e;case 4896:case 4128:return r&&r.some(function(o){return Q(o.props,/grid-\w+-start/)})?e:A+h(h(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return h(e,/(.+)-inline(.+)/,S+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(U(e)-1-t>6)switch(j(e,t+1)){case 109:if(j(e,t+4)!==45)break;case 102:return h(e,/(.+:)(.+)-([^]+)/,"$1"+S+"$2-$3$1"+Ie+(j(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Ge(e,"stretch",0)?ar(h(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return h(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(o,a,s,i,f,l,y){return A+a+":"+s+y+(i?A+a+"-span:"+(f?l:+l-+s)+y:"")+e});case 4949:if(j(e,t+6)===121)return h(e,":",":"+S)+e;break;case 6444:switch(j(e,j(e,14)===45?18:11)){case 120:return h(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+S+(j(e,14)===45?"inline-":"")+"box$3$1"+S+"$2$3$1"+A+"$2box$3")+e;case 100:return h(e,":",":"+A)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return h(e,"scroll-","scroll-snap-")+e}return e}function Je(e,t){for(var r="",o=0;o<e.length;o++)r+=t(e[o],o,e,t)||"";return r}function Ur(e,t,r,o){switch(e.type){case $r:if(e.children.length)break;case jr:case Et:return e.return=e.return||e.value;case Qt:return"";case er:return e.return=e.value+"{"+Je(e.children,o)+"}";case Qe:if(!U(e.value=e.props.join(",")))return""}return U(r=Je(e.children,o))?e.return=e.value+"{"+r+"}":""}function qr(e){var t=nr(e);return function(r,o,a,s){for(var i="",f=0;f<t;f++)i+=e[f](r,o,a,s)||"";return i}}function Xr(e){return function(t){t.root||(t=t.return)&&e(t)}}function Jr(e,t,r,o){if(e.length>-1&&!e.return)switch(e.type){case Et:e.return=ar(e.value,e.length,r);return;case er:return Je([ne(e,{value:h(e.value,"@","@"+S)})],o);case Qe:if(e.length)return Mr(r=e.props,function(a){switch(Q(a,o=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":ve(ne(e,{props:[h(a,/:(read-\w+)/,":"+Ie+"$1")]})),ve(ne(e,{props:[a]})),dt(e,{props:It(r,o)});break;case"::placeholder":ve(ne(e,{props:[h(a,/:(plac\w+)/,":"+S+"input-$1")]})),ve(ne(e,{props:[h(a,/:(plac\w+)/,":"+Ie+"$1")]})),ve(ne(e,{props:[h(a,/:(plac\w+)/,A+"input-$1")]})),ve(ne(e,{props:[a]})),dt(e,{props:It(r,o)});break}return""})}}var Kr={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},de=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",sr="active",ir="data-styled-version",nt="6.1.15",xt=`/*!sc*/
32
+ `,Ke=typeof window<"u"&&"HTMLElement"in window,Zr=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==""?process.env.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&process.env.REACT_APP_SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&process.env.SC_DISABLE_SPEEDY!==void 0&&process.env.SC_DISABLE_SPEEDY!==""?process.env.SC_DISABLE_SPEEDY!=="false"&&process.env.SC_DISABLE_SPEEDY:process.env.NODE_ENV!=="production"),zt=/invalid hook call/i,Le=new Set,Qr=function(e,t){if(process.env.NODE_ENV!=="production"){var r=t?' with the id of "'.concat(t,'"'):"",o="The component ".concat(e).concat(r,` has been created dynamically.
33
+ `)+`You may see this warning because you've called styled inside another component.
34
+ To resolve this only create new StyledComponents outside of any render method and function component.`,a=console.error;try{var s=!0;console.error=function(i){for(var f=[],l=1;l<arguments.length;l++)f[l-1]=arguments[l];zt.test(i)?(s=!1,Le.delete(o)):a.apply(void 0,be([i],f,!1))},Y.useRef(),s&&!Le.has(o)&&(console.warn(o),Le.add(o))}catch(i){zt.test(i.message)&&Le.delete(o)}finally{console.error=a}}},ot=Object.freeze([]),Se=Object.freeze({});function en(e,t,r){return r===void 0&&(r=Se),e.theme!==r.theme&&e.theme||t||r.theme}var gt=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),tn=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,rn=/(^-|-$)/g;function Yt(e){return e.replace(tn,"-").replace(rn,"")}var nn=/(a)(d)/gi,We=52,Vt=function(e){return String.fromCharCode(e+(e>25?39:97))};function yt(e){var t,r="";for(t=Math.abs(e);t>We;t=t/We|0)r=Vt(t%We)+r;return(Vt(t%We)+r).replace(nn,"$1-$2")}var ut,cr=5381,ue=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},ur=function(e){return ue(cr,e)};function on(e){return yt(ur(e)>>>0)}function lr(e){return process.env.NODE_ENV!=="production"&&typeof e=="string"&&e||e.displayName||e.name||"Component"}function lt(e){return typeof e=="string"&&(process.env.NODE_ENV==="production"||e.charAt(0)===e.charAt(0).toLowerCase())}var fr=typeof Symbol=="function"&&Symbol.for,pr=fr?Symbol.for("react.memo"):60115,an=fr?Symbol.for("react.forward_ref"):60112,sn={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},cn={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},dr={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},un=((ut={})[an]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},ut[pr]=dr,ut);function Lt(e){return("type"in(t=e)&&t.type.$$typeof)===pr?dr:"$$typeof"in e?un[e.$$typeof]:sn;var t}var ln=Object.defineProperty,fn=Object.getOwnPropertyNames,Wt=Object.getOwnPropertySymbols,pn=Object.getOwnPropertyDescriptor,dn=Object.getPrototypeOf,Ft=Object.prototype;function hr(e,t,r){if(typeof t!="string"){if(Ft){var o=dn(t);o&&o!==Ft&&hr(e,o,r)}var a=fn(t);Wt&&(a=a.concat(Wt(t)));for(var s=Lt(e),i=Lt(t),f=0;f<a.length;++f){var l=a[f];if(!(l in cn||r&&r[l]||i&&l in i||s&&l in s)){var y=pn(t,l);try{ln(e,l,y)}catch{}}}}return e}function xe(e){return typeof e=="function"}function kt(e){return typeof e=="object"&&"styledComponentId"in e}function le(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function Bt(e,t){if(e.length===0)return"";for(var r=e[0],o=1;o<e.length;o++)r+=e[o];return r}function ke(e){return e!==null&&typeof e=="object"&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function vt(e,t,r){if(r===void 0&&(r=!1),!r&&!ke(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var o=0;o<t.length;o++)e[o]=vt(e[o],t[o]);else if(ke(t))for(var o in t)e[o]=vt(e[o],t[o]);return e}function Ct(e,t){Object.defineProperty(e,"toString",{value:t})}var hn=process.env.NODE_ENV!=="production"?{1:`Cannot create styled-component for component: %s.
35
+
36
+ `,2:`Can't collect styles once you've consumed a \`ServerStyleSheet\`'s styles! \`ServerStyleSheet\` is a one off instance for each server-side render cycle.
37
+
38
+ - Are you trying to reuse it across renders?
39
+ - Are you accidentally calling collectStyles twice?
40
+
41
+ `,3:`Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.
42
+
43
+ `,4:`The \`StyleSheetManager\` expects a valid target or sheet prop!
44
+
45
+ - Does this error occur on the client and is your target falsy?
46
+ - Does this error occur on the server and is the sheet falsy?
47
+
48
+ `,5:`The clone method cannot be used on the client!
49
+
50
+ - Are you running in a client-like environment on the server?
51
+ - Are you trying to run SSR on the client?
52
+
53
+ `,6:`Trying to insert a new style tag, but the given Node is unmounted!
54
+
55
+ - Are you using a custom target that isn't mounted?
56
+ - Does your document not have a valid head element?
57
+ - Have you accidentally removed a style tag manually?
58
+
59
+ `,7:'ThemeProvider: Please return an object from your "theme" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n',8:`ThemeProvider: Please make your "theme" prop an object.
60
+
61
+ `,9:"Missing document `<head>`\n\n",10:`Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021
62
+
63
+ `,11:`_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.
64
+
65
+ `,12:"It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\`\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\n\n",13:`%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.
66
+
67
+ `,14:`ThemeProvider: "theme" prop is required.
68
+
69
+ `,15:"A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n",16:`Reached the limit of how many styled components may be created at group %s.
70
+ You may only create up to 1,073,741,824 components. If you're creating components dynamically,
71
+ as for instance in your render method then you may be running into this limitation.
72
+
73
+ `,17:`CSSStyleSheet could not be found on HTMLStyleElement.
74
+ Has styled-components' style tag been unmounted or altered by another script?
75
+ `,18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"}:{};function mn(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=e[0],o=[],a=1,s=e.length;a<s;a+=1)o.push(e[a]);return o.forEach(function(i){r=r.replace(/%[a-z]/,i)}),r}function Ae(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return process.env.NODE_ENV==="production"?new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):"")):new Error(mn.apply(void 0,be([hn[e]],t,!1)).trim())}var gn=function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}return e.prototype.indexOfGroup=function(t){for(var r=0,o=0;o<t;o++)r+=this.groupSizes[o];return r},e.prototype.insertRules=function(t,r){if(t>=this.groupSizes.length){for(var o=this.groupSizes,a=o.length,s=a;t>=s;)if((s<<=1)<0)throw Ae(16,"".concat(t));this.groupSizes=new Uint32Array(s),this.groupSizes.set(o),this.length=s;for(var i=a;i<s;i++)this.groupSizes[i]=0}for(var f=this.indexOfGroup(t+1),l=(i=0,r.length);i<l;i++)this.tag.insertRule(f,r[i])&&(this.groupSizes[t]++,f++)},e.prototype.clearGroup=function(t){if(t<this.length){var r=this.groupSizes[t],o=this.indexOfGroup(t),a=o+r;this.groupSizes[t]=0;for(var s=o;s<a;s++)this.tag.deleteRule(o)}},e.prototype.getGroup=function(t){var r="";if(t>=this.length||this.groupSizes[t]===0)return r;for(var o=this.groupSizes[t],a=this.indexOfGroup(t),s=a+o,i=a;i<s;i++)r+="".concat(this.tag.getRule(i)).concat(xt);return r},e}(),yn=1<<30,qe=new Map,Ze=new Map,Xe=1,Fe=function(e){if(qe.has(e))return qe.get(e);for(;Ze.has(Xe);)Xe++;var t=Xe++;if(process.env.NODE_ENV!=="production"&&((0|t)<0||t>yn))throw Ae(16,"".concat(t));return qe.set(e,t),Ze.set(t,e),t},vn=function(e,t){Xe=t+1,qe.set(e,t),Ze.set(t,e)},bn="style[".concat(de,"][").concat(ir,'="').concat(nt,'"]'),wn=new RegExp("^".concat(de,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),En=function(e,t,r){for(var o,a=r.split(","),s=0,i=a.length;s<i;s++)(o=a[s])&&e.registerName(t,o)},Sn=function(e,t){for(var r,o=((r=t.textContent)!==null&&r!==void 0?r:"").split(xt),a=[],s=0,i=o.length;s<i;s++){var f=o[s].trim();if(f){var l=f.match(wn);if(l){var y=0|parseInt(l[1],10),b=l[2];y!==0&&(vn(b,y),En(e,b,l[3]),e.getTag().insertRules(y,a)),a.length=0}else a.push(f)}}},Gt=function(e){for(var t=document.querySelectorAll(bn),r=0,o=t.length;r<o;r++){var a=t[r];a&&a.getAttribute(de)!==sr&&(Sn(e,a),a.parentNode&&a.parentNode.removeChild(a))}};function xn(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null}var mr=function(e){var t=document.head,r=e||t,o=document.createElement("style"),a=function(f){var l=Array.from(f.querySelectorAll("style[".concat(de,"]")));return l[l.length-1]}(r),s=a!==void 0?a.nextSibling:null;o.setAttribute(de,sr),o.setAttribute(ir,nt);var i=xn();return i&&o.setAttribute("nonce",i),r.insertBefore(o,s),o},kn=function(){function e(t){this.element=mr(t),this.element.appendChild(document.createTextNode("")),this.sheet=function(r){if(r.sheet)return r.sheet;for(var o=document.styleSheets,a=0,s=o.length;a<s;a++){var i=o[a];if(i.ownerNode===r)return i}throw Ae(17)}(this.element),this.length=0}return e.prototype.insertRule=function(t,r){try{return this.sheet.insertRule(r,t),this.length++,!0}catch{return!1}},e.prototype.deleteRule=function(t){this.sheet.deleteRule(t),this.length--},e.prototype.getRule=function(t){var r=this.sheet.cssRules[t];return r&&r.cssText?r.cssText:""},e}(),Cn=function(){function e(t){this.element=mr(t),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(t,r){if(t<=this.length&&t>=0){var o=document.createTextNode(r);return this.element.insertBefore(o,this.nodes[t]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.prototype.getRule=function(t){return t<this.length?this.nodes[t].textContent:""},e}(),An=function(){function e(t){this.rules=[],this.length=0}return e.prototype.insertRule=function(t,r){return t<=this.length&&(this.rules.splice(t,0,r),this.length++,!0)},e.prototype.deleteRule=function(t){this.rules.splice(t,1),this.length--},e.prototype.getRule=function(t){return t<this.length?this.rules[t]:""},e}(),Ht=Ke,_n={isServer:!Ke,useCSSOMInjection:!Zr},gr=function(){function e(t,r,o){t===void 0&&(t=Se),r===void 0&&(r={});var a=this;this.options=V(V({},_n),t),this.gs=r,this.names=new Map(o),this.server=!!t.isServer,!this.server&&Ke&&Ht&&(Ht=!1,Gt(this)),Ct(this,function(){return function(s){for(var i=s.getTag(),f=i.length,l="",y=function(g){var w=function(N){return Ze.get(N)}(g);if(w===void 0)return"continue";var v=s.names.get(w),C=i.getGroup(g);if(v===void 0||!v.size||C.length===0)return"continue";var _="".concat(de,".g").concat(g,'[id="').concat(w,'"]'),$="";v!==void 0&&v.forEach(function(N){N.length>0&&($+="".concat(N,","))}),l+="".concat(C).concat(_,'{content:"').concat($,'"}').concat(xt)},b=0;b<f;b++)y(b);return l}(a)})}return e.registerId=function(t){return Fe(t)},e.prototype.rehydrate=function(){!this.server&&Ke&&Gt(this)},e.prototype.reconstructWithOptions=function(t,r){return r===void 0&&(r=!0),new e(V(V({},this.options),t),this.gs,r&&this.names||void 0)},e.prototype.allocateGSInstance=function(t){return this.gs[t]=(this.gs[t]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(t=function(r){var o=r.useCSSOMInjection,a=r.target;return r.isServer?new An(a):o?new kn(a):new Cn(a)}(this.options),new gn(t)));var t},e.prototype.hasNameForId=function(t,r){return this.names.has(t)&&this.names.get(t).has(r)},e.prototype.registerName=function(t,r){if(Fe(t),this.names.has(t))this.names.get(t).add(r);else{var o=new Set;o.add(r),this.names.set(t,o)}},e.prototype.insertRules=function(t,r,o){this.registerName(t,r),this.getTag().insertRules(Fe(t),o)},e.prototype.clearNames=function(t){this.names.has(t)&&this.names.get(t).clear()},e.prototype.clearRules=function(t){this.getTag().clearGroup(Fe(t)),this.clearNames(t)},e.prototype.clearTag=function(){this.tag=void 0},e}(),Tn=/&/g,Rn=/^\s*\/\/.*$/gm;function yr(e,t){return e.map(function(r){return r.type==="rule"&&(r.value="".concat(t," ").concat(r.value),r.value=r.value.replaceAll(",",",".concat(t," ")),r.props=r.props.map(function(o){return"".concat(t," ").concat(o)})),Array.isArray(r.children)&&r.type!=="@keyframes"&&(r.children=yr(r.children,t)),r})}function Nn(e){var t,r,o,a=Se,s=a.options,i=s===void 0?Se:s,f=a.plugins,l=f===void 0?ot:f,y=function(w,v,C){return C.startsWith(r)&&C.endsWith(r)&&C.replaceAll(r,"").length>0?".".concat(t):w},b=l.slice();b.push(function(w){w.type===Qe&&w.value.includes("&")&&(w.props[0]=w.props[0].replace(Tn,r).replace(o,y))}),i.prefix&&b.push(Jr),b.push(Ur);var g=function(w,v,C,_){v===void 0&&(v=""),C===void 0&&(C=""),_===void 0&&(_="&"),t=_,r=v,o=new RegExp("\\".concat(r,"\\b"),"g");var $=w.replace(Rn,""),N=Gr(C||v?"".concat(C," ").concat(v," { ").concat($," }"):$);i.namespace&&(N=yr(N,i.namespace));var T=[];return Je(N,qr(b.concat(Xr(function(k){return T.push(k)})))),T};return g.hash=l.length?l.reduce(function(w,v){return v.name||Ae(15),ue(w,v.name)},cr).toString():"",g}var On=new gr,bt=Nn(),vr=Y.createContext({shouldForwardProp:void 0,styleSheet:On,stylis:bt});vr.Consumer;Y.createContext(void 0);function Ut(){return Y.useContext(vr)}var qt=function(){function e(t,r){var o=this;this.inject=function(a,s){s===void 0&&(s=bt);var i=o.name+s.hash;a.hasNameForId(o.id,i)||a.insertRules(o.id,i,s(o.rules,i,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=r,Ct(this,function(){throw Ae(12,String(o.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=bt),this.name+t.hash},e}(),Pn=function(e){return e>="A"&&e<="Z"};function Xt(e){for(var t="",r=0;r<e.length;r++){var o=e[r];if(r===1&&o==="-"&&e[0]==="-")return e;Pn(o)?t+="-"+o.toLowerCase():t+=o}return t.startsWith("ms-")?"-"+t:t}var br=function(e){return e==null||e===!1||e===""},wr=function(e){var t,r,o=[];for(var a in e){var s=e[a];e.hasOwnProperty(a)&&!br(s)&&(Array.isArray(s)&&s.isCss||xe(s)?o.push("".concat(Xt(a),":"),s,";"):ke(s)?o.push.apply(o,be(be(["".concat(a," {")],wr(s),!1),["}"],!1)):o.push("".concat(Xt(a),": ").concat((t=a,(r=s)==null||typeof r=="boolean"||r===""?"":typeof r!="number"||r===0||t in Kr||t.startsWith("--")?String(r).trim():"".concat(r,"px")),";")))}return o};function pe(e,t,r,o){if(br(e))return[];if(kt(e))return[".".concat(e.styledComponentId)];if(xe(e)){if(!xe(s=e)||s.prototype&&s.prototype.isReactComponent||!t)return[e];var a=e(t);return process.env.NODE_ENV==="production"||typeof a!="object"||Array.isArray(a)||a instanceof qt||ke(a)||a===null||console.error("".concat(lr(e)," is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")),pe(a,t,r,o)}var s;return e instanceof qt?r?(e.inject(r,o),[e.getName(o)]):[e]:ke(e)?wr(e):Array.isArray(e)?Array.prototype.concat.apply(ot,e.map(function(i){return pe(i,t,r,o)})):[e.toString()]}function jn(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(xe(r)&&!kt(r))return!1}return!0}var $n=ur(nt),In=function(){function e(t,r,o){this.rules=t,this.staticRulesId="",this.isStatic=process.env.NODE_ENV==="production"&&(o===void 0||o.isStatic)&&jn(t),this.componentId=r,this.baseHash=ue($n,r),this.baseStyle=o,gr.registerId(r)}return e.prototype.generateAndInjectStyles=function(t,r,o){var a=this.baseStyle?this.baseStyle.generateAndInjectStyles(t,r,o):"";if(this.isStatic&&!o.hash)if(this.staticRulesId&&r.hasNameForId(this.componentId,this.staticRulesId))a=le(a,this.staticRulesId);else{var s=Bt(pe(this.rules,t,r,o)),i=yt(ue(this.baseHash,s)>>>0);if(!r.hasNameForId(this.componentId,i)){var f=o(s,".".concat(i),void 0,this.componentId);r.insertRules(this.componentId,i,f)}a=le(a,i),this.staticRulesId=i}else{for(var l=ue(this.baseHash,o.hash),y="",b=0;b<this.rules.length;b++){var g=this.rules[b];if(typeof g=="string")y+=g,process.env.NODE_ENV!=="production"&&(l=ue(l,g));else if(g){var w=Bt(pe(g,t,r,o));l=ue(l,w+b),y+=w}}if(y){var v=yt(l>>>0);r.hasNameForId(this.componentId,v)||r.insertRules(this.componentId,v,o(y,".".concat(v),void 0,this.componentId)),a=le(a,v)}}return a},e}(),Er=Y.createContext(void 0);Er.Consumer;var ft={},Jt=new Set;function Mn(e,t,r){var o=kt(e),a=e,s=!lt(e),i=t.attrs,f=i===void 0?ot:i,l=t.componentId,y=l===void 0?function(x,R){var m=typeof x!="string"?"sc":Yt(x);ft[m]=(ft[m]||0)+1;var p="".concat(m,"-").concat(on(nt+m+ft[m]));return R?"".concat(R,"-").concat(p):p}(t.displayName,t.parentComponentId):l,b=t.displayName,g=b===void 0?function(x){return lt(x)?"styled.".concat(x):"Styled(".concat(lr(x),")")}(e):b,w=t.displayName&&t.componentId?"".concat(Yt(t.displayName),"-").concat(t.componentId):t.componentId||y,v=o&&a.attrs?a.attrs.concat(f).filter(Boolean):f,C=t.shouldForwardProp;if(o&&a.shouldForwardProp){var _=a.shouldForwardProp;if(t.shouldForwardProp){var $=t.shouldForwardProp;C=function(x,R){return _(x,R)&&$(x,R)}}else C=_}var N=new In(r,w,o?a.componentStyle:void 0);function T(x,R){return function(m,p,B){var q=m.attrs,De=m.componentStyle,_e=m.defaultProps,Te=m.foldedComponentIds,he=m.styledComponentId,Re=m.target,Ne=Y.useContext(Er),at=Ut(),me=m.shouldForwardProp||at.shouldForwardProp;process.env.NODE_ENV!=="production"&&Y.useDebugValue(he);var ze=en(p,Ne,_e)||Se,I=function(ae,te,se){for(var J,H=V(V({},te),{className:void 0,theme:se}),ge=0;ge<ae.length;ge+=1){var ie=xe(J=ae[ge])?J(H):J;for(var W in ie)H[W]=W==="className"?le(H[W],ie[W]):W==="style"?V(V({},H[W]),ie[W]):ie[W]}return te.className&&(H.className=le(H.className,te.className)),H}(q,p,ze),ee=I.as||Re,L={};for(var z in I)I[z]===void 0||z[0]==="$"||z==="as"||z==="theme"&&I.theme===ze||(z==="forwardedAs"?L.as=I.forwardedAs:me&&!me(z,ee)||(L[z]=I[z],me||process.env.NODE_ENV!=="development"||Pr(z)||Jt.has(z)||!gt.has(ee)||(Jt.add(z),console.warn('styled-components: it looks like an unknown prop "'.concat(z,'" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var oe=function(ae,te){var se=Ut(),J=ae.generateAndInjectStyles(te,se.styleSheet,se.stylis);return process.env.NODE_ENV!=="production"&&Y.useDebugValue(J),J}(De,I);process.env.NODE_ENV!=="production"&&m.warnTooManyClasses&&m.warnTooManyClasses(oe);var X=le(Te,he);return oe&&(X+=" "+oe),I.className&&(X+=" "+I.className),L[lt(ee)&&!gt.has(ee)?"class":"className"]=X,B&&(L.ref=B),Y.createElement(ee,L)}(k,x,R)}T.displayName=g;var k=Y.forwardRef(T);return k.attrs=v,k.componentStyle=N,k.displayName=g,k.shouldForwardProp=C,k.foldedComponentIds=o?le(a.foldedComponentIds,a.styledComponentId):"",k.styledComponentId=w,k.target=o?a.target:e,Object.defineProperty(k,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(x){this._foldedDefaultProps=o?function(R){for(var m=[],p=1;p<arguments.length;p++)m[p-1]=arguments[p];for(var B=0,q=m;B<q.length;B++)vt(R,q[B],!0);return R}({},a.defaultProps,x):x}}),process.env.NODE_ENV!=="production"&&(Qr(g,w),k.warnTooManyClasses=function(x,R){var m={},p=!1;return function(B){if(!p&&(m[B]=!0,Object.keys(m).length>=200)){var q=R?' with the id of "'.concat(R,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat(x).concat(q,`.
76
+ `)+`Consider using the attrs method, together with a style object for frequently changed styles.
77
+ Example:
78
+ const Component = styled.div.attrs(props => ({
79
+ style: {
80
+ background: props.background,
81
+ },
82
+ }))\`width: 100%;\`
83
+
84
+ <Component />`),p=!0,m={}}}}(g,w)),Ct(k,function(){return".".concat(k.styledComponentId)}),s&&hr(k,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),k}function Kt(e,t){for(var r=[e[0]],o=0,a=t.length;o<a;o+=1)r.push(t[o],e[o+1]);return r}var Zt=function(e){return Object.assign(e,{isCss:!0})};function Dn(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(xe(e)||ke(e))return Zt(pe(Kt(ot,be([e],t,!0))));var o=e;return t.length===0&&o.length===1&&typeof o[0]=="string"?pe(o):Zt(pe(Kt(o,t)))}function wt(e,t,r){if(r===void 0&&(r=Se),!t)throw Ae(1,t);var o=function(a){for(var s=[],i=1;i<arguments.length;i++)s[i-1]=arguments[i];return e(t,r,Dn.apply(void 0,be([a],s,!1)))};return o.attrs=function(a){return wt(e,t,V(V({},r),{attrs:Array.prototype.concat(r.attrs,a).filter(Boolean)}))},o.withConfig=function(a){return wt(e,t,V(V({},r),a))},o}var Sr=function(e){return wt(Mn,e)},At=Sr;gt.forEach(function(e){At[e]=Sr(e)});process.env.NODE_ENV!=="production"&&typeof navigator<"u"&&navigator.product==="ReactNative"&&console.warn(`It looks like you've imported 'styled-components' on React Native.
85
+ Perhaps you're looking to import 'styled-components/native'?
86
+ Read more about this at https://www.styled-components.com/docs/basics#react-native`);var Be="__sc-".concat(de,"__");process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&typeof window<"u"&&(window[Be]||(window[Be]=0),window[Be]===1&&console.warn(`It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.
87
+
88
+ See https://s-c.sh/2BAXzed for more info.`),window[Be]+=1);const zn=At.span`
89
+ color: ${({color:e})=>e||"inherit"};
90
+ font-family: ${({font:e})=>e||'"Source Code Pro", monospace'};
91
+ font-size: ${({size:e})=>e||"inherit"};
92
+ font-weight: ${({weight:e})=>{switch(e){case"light":return 300;case"normal":return 400;case"medium":return 500;case"semibold":return 600;case"bold":return 700;case"extrabold":return 800;default:return"inherit"}}};
93
+ text-transform: ${({uppercase:e})=>e?"uppercase":"none"};
94
+ font-style: ${({italic:e})=>e?"italic":"normal"};
95
+ text-decoration: ${({underline:e,strikethrough:t})=>e&&t?"underline line-through":e?"underline":t?"line-through":"none"};
96
+ text-align: ${({align:e})=>e||"inherit"};
97
+ line-height: ${({lineHeight:e})=>e||"inherit"};
98
+ letter-spacing: ${({letterSpacing:e})=>e||"inherit"};
99
+ `,xr=({as:e="span",children:t,uppercase:r,italic:o,underline:a,strikethrough:s,...i})=>{const l={...Tr(),...i,...r&&{uppercase:"true"},...o&&{italic:"true"},...a&&{underline:"true"},...s&&{strikethrough:"true"}};return Me.jsx(zn,{as:e,...l,children:t})},Yn=At.span`
100
+ font-size: ${({level:e})=>{switch(e){case 1:return"32px";case 2:return"28px";case 3:return"24px";case 4:return"20px";case 5:return"18px";case 6:return"16px";default:return"16px"}}};
101
+ `,Vn=({level:e,size:t,...r})=>{const o=`h${e}`;return Me.jsx(Yn,{level:e,children:Me.jsx(xr,{as:o,size:t||"inherit",...r})})},Ln=e=>Me.jsx(xr,{as:"p",...e}),Wn={Group:Rr,Heading:Vn,Paragraph:Ln};exports.Mono=Wn;
@@ -1668,5 +1668,5 @@ const Fn = _t.span`
1668
1668
  Paragraph: Hn
1669
1669
  };
1670
1670
  export {
1671
- qn as default
1671
+ qn as Mono
1672
1672
  };
@@ -0,0 +1,14 @@
1
+ import { HTMLAttributes } from 'react';
2
+ export type TypographyBaseProps = {
3
+ color?: string;
4
+ font?: string;
5
+ size?: `${number}px` | `${number}rem` | `${number}em` | "inherit";
6
+ weight?: "light" | "normal" | "medium" | "semibold" | "bold" | "extrabold";
7
+ uppercase?: boolean | string;
8
+ italic?: boolean | string;
9
+ underline?: boolean | string;
10
+ strikethrough?: boolean | string;
11
+ align?: "left" | "center" | "right" | "justify";
12
+ lineHeight?: `${number}` | `${number}px` | "inherit";
13
+ letterSpacing?: `${number}px` | `${number}em` | "inherit";
14
+ } & HTMLAttributes<HTMLElement>;
@@ -0,0 +1 @@
1
+ export * from './TypographyBaseProps';
package/package.json CHANGED
@@ -1,8 +1,9 @@
1
1
  {
2
2
  "name": "monoscribe",
3
- "version": "0.1.0-beta.2",
3
+ "version": "0.1.0-beta.4",
4
4
  "type": "module",
5
- "main": "dist/index.js",
5
+ "main": "dist/monoscribe.cjs.js",
6
+ "module": "dist/monoscribe.es.js",
6
7
  "types": "dist/index.d.ts",
7
8
  "peerDependencies": {
8
9
  "react": "^19.0.0",
@@ -35,7 +36,8 @@
35
36
  "storybook": "^8.5.7",
36
37
  "typescript": "~5.7.3",
37
38
  "typescript-eslint": "^8.22.0",
38
- "vite": "^6.1.0"
39
+ "vite": "^6.1.0",
40
+ "vite-plugin-dts": "^4.5.0"
39
41
  },
40
42
  "eslintConfig": {
41
43
  "extends": [
package/src/App.tsx CHANGED
@@ -1,4 +1,4 @@
1
- import Mono from ".";
1
+ import { Mono } from ".";
2
2
 
3
3
  const App = () => {
4
4
  return (
package/src/index.ts CHANGED
@@ -2,10 +2,10 @@ import { Group } from "./components/Group";
2
2
  import { Heading } from "./components/Heading";
3
3
  import { Paragraph } from "./components/Paragraph";
4
4
 
5
- const Mono = {
5
+ export const Mono = {
6
6
  Group,
7
7
  Heading,
8
8
  Paragraph,
9
9
  };
10
10
 
11
- export default Mono;
11
+ export * from "./types";
@@ -1,5 +1,5 @@
1
1
  import type { Meta, StoryObj } from "@storybook/react";
2
- import Mono from "..";
2
+ import { Mono } from "..";
3
3
 
4
4
  // More on how to set up stories at: https://storybook.js.org/docs/writing-stories#default-export
5
5
  const meta = {
package/tsconfig.json CHANGED
@@ -1,8 +1,7 @@
1
1
  {
2
2
  "compilerOptions": {
3
3
  "declaration": true,
4
- "declarationDir": "./dist",
5
- "declarationMap": true,
4
+ "declarationDir": "./dist",
6
5
  "outDir": "./dist",
7
6
  "moduleResolution": "node",
8
7
  "module": "ESNext",
@@ -10,6 +9,9 @@
10
9
  "jsx": "react-jsx",
11
10
  "skipLibCheck": true
12
11
  },
13
- "include": ["src", "src/types"],
14
- "exclude": ["node_modules"]
12
+ "include": ["src"],
13
+ "exclude": [
14
+ "node_modules",
15
+ "src/stories"
16
+ ]
15
17
  }
package/vite.config.ts CHANGED
@@ -1,22 +1,31 @@
1
1
  import { defineConfig } from "vite";
2
2
  import react from "@vitejs/plugin-react";
3
+ import dts from "vite-plugin-dts";
3
4
 
4
- // https://vite.dev/config/
5
5
  export default defineConfig({
6
- plugins: [react()],
6
+ plugins: [
7
+ react(),
8
+ dts({
9
+ insertTypesEntry: true,
10
+ exclude: ["src/stories/**"],
11
+ }),
12
+ ],
7
13
  build: {
8
14
  lib: {
9
- entry: "./src/index.ts", // The entry point for your library
10
- name: "Monoscribe", // The global name for the library (used for UMD builds)
11
- fileName: (format) => `monoscribe.${format}.js`, // Output file name
15
+ entry: "./src/index.ts",
16
+ name: "Monoscribe",
17
+ fileName: (format) => `monoscribe.${format}.js`,
18
+ formats: ["es", "cjs"],
12
19
  },
13
20
  rollupOptions: {
14
- // Make sure to externalize dependencies that shouldn't be bundled
15
- external: ["react", "react-dom"], // These should be treated as peer dependencies
21
+ external: ["react", "react-dom"],
22
+ input: {
23
+ main: "src/index.ts",
24
+ },
16
25
  output: {
17
26
  globals: {
18
27
  react: "React",
19
- "react-dom": "ReactDOM", // This is how UMD/ES builds will reference them
28
+ "react-dom": "ReactDOM",
20
29
  },
21
30
  },
22
31
  },
@@ -1,101 +0,0 @@
1
- (function(j,ee){typeof exports=="object"&&typeof module<"u"?module.exports=ee(require("react")):typeof define=="function"&&define.amd?define(["react"],ee):(j=typeof globalThis<"u"?globalThis:j||self,j.Monoscribe=ee(j.React))})(this,function(j){"use strict";var ee={exports:{}},_e={};/**
2
- * @license React
3
- * react-jsx-runtime.production.js
4
- *
5
- * Copyright (c) Meta Platforms, Inc. and affiliates.
6
- *
7
- * This source code is licensed under the MIT license found in the
8
- * LICENSE file in the root directory of this source tree.
9
- */var Tt;function kr(){if(Tt)return _e;Tt=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function r(o,a,s){var i=null;if(s!==void 0&&(i=""+s),a.key!==void 0&&(i=""+a.key),"key"in a){s={};for(var f in a)f!=="key"&&(s[f]=a[f])}else s=a;return a=s.ref,{$$typeof:e,type:o,key:i,ref:a!==void 0?a:null,props:s}}return _e.Fragment=t,_e.jsx=r,_e.jsxs=r,_e}var Re={};/**
10
- * @license React
11
- * react-jsx-runtime.development.js
12
- *
13
- * Copyright (c) Meta Platforms, Inc. and affiliates.
14
- *
15
- * This source code is licensed under the MIT license found in the
16
- * LICENSE file in the root directory of this source tree.
17
- */var _t;function Cr(){return _t||(_t=1,process.env.NODE_ENV!=="production"&&function(){function e(n){if(n==null)return null;if(typeof n=="function")return n.$$typeof===nt?null:n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case m:return"Fragment";case R:return"Portal";case G:return"Profiler";case p:return"StrictMode";case $e:return"Suspense";case ke:return"SuspenseList"}if(typeof n=="object")switch(typeof n.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),n.$$typeof){case rt:return(n.displayName||"Context")+".Provider";case X:return(n._context.displayName||"Context")+".Consumer";case je:var c=n.render;return n=n.displayName,n||(n=c.displayName||c.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case Ie:return c=n.displayName||null,c!==null?c:e(n.type)||"Memo";case Me:c=n._payload,n=n._init;try{return e(n(c))}catch{}}return null}function t(n){return""+n}function r(n){try{t(n);var c=!1}catch{c=!0}if(c){c=console;var u=c.error,E=typeof Symbol=="function"&&Symbol.toStringTag&&n[Symbol.toStringTag]||n.constructor.name||"Object";return u.call(c,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",E),t(n)}}function o(){}function a(){if(J===0){fe=console.log,ne=console.info,pe=console.warn,K=console.error,U=console.group,Ae=console.groupCollapsed,de=console.groupEnd;var n={configurable:!0,enumerable:!0,value:o,writable:!0};Object.defineProperties(console,{info:n,log:n,warn:n,error:n,group:n,groupCollapsed:n,groupEnd:n})}J++}function s(){if(J--,J===0){var n={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:L({},n,{value:fe}),info:L({},n,{value:ne}),warn:L({},n,{value:pe}),error:L({},n,{value:K}),group:L({},n,{value:U}),groupCollapsed:L({},n,{value:Ae}),groupEnd:L({},n,{value:de})})}0>J&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function i(n){if(F===void 0)try{throw Error()}catch(u){var c=u.stack.trim().match(/\n( *(at )?)/);F=c&&c[1]||"",br=-1<u.stack.indexOf(`
18
- at`)?" (<anonymous>)":-1<u.stack.indexOf("@")?"@unknown:0:0":""}return`
19
- `+F+n+br}function f(n,c){if(!n||Ct)return"";var u=At.get(n);if(u!==void 0)return u;Ct=!0,u=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var E=null;E=M.H,M.H=null,a();try{var D={DetermineComponentFrameRoot:function(){try{if(c){var oe=function(){throw Error()};if(Object.defineProperty(oe.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(oe,[])}catch(Q){var ot=Q}Reflect.construct(n,[],oe)}else{try{oe.call()}catch(Q){ot=Q}n.call(oe.prototype)}}else{try{throw Error()}catch(Q){ot=Q}(oe=n())&&typeof oe.catch=="function"&&oe.catch(function(){})}}catch(Q){if(Q&&ot&&typeof Q.stack=="string")return[Q.stack,ot.stack]}return[null,null]}};D.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var O=Object.getOwnPropertyDescriptor(D.DetermineComponentFrameRoot,"name");O&&O.configurable&&Object.defineProperty(D.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var h=D.DetermineComponentFrameRoot(),Z=h[0],Te=h[1];if(Z&&Te){var z=Z.split(`
20
- `),he=Te.split(`
21
- `);for(h=O=0;O<z.length&&!z[O].includes("DetermineComponentFrameRoot");)O++;for(;h<he.length&&!he[h].includes("DetermineComponentFrameRoot");)h++;if(O===z.length||h===he.length)for(O=z.length-1,h=he.length-1;1<=O&&0<=h&&z[O]!==he[h];)h--;for(;1<=O&&0<=h;O--,h--)if(z[O]!==he[h]){if(O!==1||h!==1)do if(O--,h--,0>h||z[O]!==he[h]){var De=`
22
- `+z[O].replace(" at new "," at ");return n.displayName&&De.includes("<anonymous>")&&(De=De.replace("<anonymous>",n.displayName)),typeof n=="function"&&At.set(n,De),De}while(1<=O&&0<=h);break}}}finally{Ct=!1,M.H=E,s(),Error.prepareStackTrace=u}return z=(z=n?n.displayName||n.name:"")?i(z):"",typeof n=="function"&&At.set(n,z),z}function l(n){if(n==null)return"";if(typeof n=="function"){var c=n.prototype;return f(n,!(!c||!c.isReactComponent))}if(typeof n=="string")return i(n);switch(n){case $e:return i("Suspense");case ke:return i("SuspenseList")}if(typeof n=="object")switch(n.$$typeof){case je:return n=f(n.render,!1),n;case Ie:return l(n.type);case Me:c=n._payload,n=n._init;try{return l(n(c))}catch{}}return""}function y(){var n=M.A;return n===null?null:n.getOwner()}function b(n){if(re.call(n,"key")){var c=Object.getOwnPropertyDescriptor(n,"key").get;if(c&&c.isReactWarning)return!1}return n.key!==void 0}function g(n,c){function u(){wr||(wr=!0,console.error("%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)",c))}u.isReactWarning=!0,Object.defineProperty(n,"key",{get:u,configurable:!0})}function w(){var n=e(this.type);return Er[n]||(Er[n]=!0,console.error("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.")),n=this.props.ref,n!==void 0?n:null}function v(n,c,u,E,D,O){return u=O.ref,n={$$typeof:x,type:n,key:c,props:O,_owner:D},(u!==void 0?u:null)!==null?Object.defineProperty(n,"ref",{enumerable:!1,get:w}):Object.defineProperty(n,"ref",{enumerable:!1,value:null}),n._store={},Object.defineProperty(n._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(n,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.freeze&&(Object.freeze(n.props),Object.freeze(n)),n}function C(n,c,u,E,D,O){if(typeof n=="string"||typeof n=="function"||n===m||n===G||n===p||n===$e||n===ke||n===kt||typeof n=="object"&&n!==null&&(n.$$typeof===Me||n.$$typeof===Ie||n.$$typeof===rt||n.$$typeof===X||n.$$typeof===je||n.$$typeof===V||n.getModuleId!==void 0)){var h=c.children;if(h!==void 0)if(E)if(le(h)){for(E=0;E<h.length;E++)T(h[E],n);Object.freeze&&Object.freeze(h)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else T(h,n)}else h="",(n===void 0||typeof n=="object"&&n!==null&&Object.keys(n).length===0)&&(h+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),n===null?E="null":le(n)?E="array":n!==void 0&&n.$$typeof===x?(E="<"+(e(n.type)||"Unknown")+" />",h=" Did you accidentally export a JSX literal instead of a component?"):E=typeof n,console.error("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",E,h);if(re.call(c,"key")){h=e(n);var Z=Object.keys(c).filter(function(z){return z!=="key"});E=0<Z.length?"{key: someKey, "+Z.join(": ..., ")+": ...}":"{key: someKey}",Sr[h+E]||(Z=0<Z.length?"{"+Z.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
23
- let props = %s;
24
- <%s {...props} />
25
- React keys must be passed directly to JSX without using spread:
26
- let props = %s;
27
- <%s key={someKey} {...props} />`,E,h,Z,h),Sr[h+E]=!0)}if(h=null,u!==void 0&&(r(u),h=""+u),b(c)&&(r(c.key),h=""+c.key),"key"in c){u={};for(var Te in c)Te!=="key"&&(u[Te]=c[Te])}else u=c;return h&&g(u,typeof n=="function"?n.displayName||n.name||"Unknown":n),v(n,h,O,D,y(),u)}function T(n,c){if(typeof n=="object"&&n&&n.$$typeof!==Yn){if(le(n))for(var u=0;u<n.length;u++){var E=n[u];I(E)&&N(E,c)}else if(I(n))n._store&&(n._store.validated=1);else if(n===null||typeof n!="object"?u=null:(u=Ce&&n[Ce]||n["@@iterator"],u=typeof u=="function"?u:null),typeof u=="function"&&u!==n.entries&&(u=u.call(n),u!==n))for(;!(n=u.next()).done;)I(n.value)&&N(n.value,c)}}function I(n){return typeof n=="object"&&n!==null&&n.$$typeof===x}function N(n,c){if(n._store&&!n._store.validated&&n.key==null&&(n._store.validated=1,c=_(c),!xr[c])){xr[c]=!0;var u="";n&&n._owner!=null&&n._owner!==y()&&(u=null,typeof n._owner.tag=="number"?u=e(n._owner.type):typeof n._owner.name=="string"&&(u=n._owner.name),u=" It was passed a child from "+u+".");var E=M.getCurrentStack;M.getCurrentStack=function(){var D=l(n.type);return E&&(D+=E()||""),D},console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',c,u),M.getCurrentStack=E}}function _(n){var c="",u=y();return u&&(u=e(u.type))&&(c=`
28
-
29
- Check the render method of \``+u+"`."),c||(n=e(n))&&(c=`
30
-
31
- Check the top-level render call using <`+n+">."),c}var k=j,x=Symbol.for("react.transitional.element"),R=Symbol.for("react.portal"),m=Symbol.for("react.fragment"),p=Symbol.for("react.strict_mode"),G=Symbol.for("react.profiler"),X=Symbol.for("react.consumer"),rt=Symbol.for("react.context"),je=Symbol.for("react.forward_ref"),$e=Symbol.for("react.suspense"),ke=Symbol.for("react.suspense_list"),Ie=Symbol.for("react.memo"),Me=Symbol.for("react.lazy"),kt=Symbol.for("react.offscreen"),Ce=Symbol.iterator,nt=Symbol.for("react.client.reference"),M=k.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,re=Object.prototype.hasOwnProperty,L=Object.assign,V=Symbol.for("react.client.reference"),le=Array.isArray,J=0,fe,ne,pe,K,U,Ae,de;o.__reactDisabledLog=!0;var F,br,Ct=!1,At=new(typeof WeakMap=="function"?WeakMap:Map),Yn=Symbol.for("react.client.reference"),wr,Er={},Sr={},xr={};Re.Fragment=m,Re.jsx=function(n,c,u,E,D){return C(n,c,u,!1,E,D)},Re.jsxs=function(n,c,u,E,D){return C(n,c,u,!0,E,D)}}()),Re}var Rt;function Ar(){return Rt||(Rt=1,process.env.NODE_ENV==="production"?ee.exports=kr():ee.exports=Cr()),ee.exports}var Ne=Ar();const at=j.createContext(void 0),Tr=()=>j.useContext(at)||{},_r=({children:e,...t})=>{const r=j.useContext(at)||{};return Ne.jsx(at.Provider,{value:{...r,...t},children:e})};var Y=function(){return Y=Object.assign||function(t){for(var r,o=1,a=arguments.length;o<a;o++){r=arguments[o];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(t[s]=r[s])}return t},Y.apply(this,arguments)};function me(e,t,r){if(r||arguments.length===2)for(var o=0,a=t.length,s;o<a;o++)(s||!(o in t))&&(s||(s=Array.prototype.slice.call(t,0,o)),s[o]=t[o]);return e.concat(s||Array.prototype.slice.call(t))}typeof SuppressedError=="function"&&SuppressedError;function Rr(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var Nr=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Or=Rr(function(e){return Nr.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),A="-ms-",Oe="-moz-",S="-webkit-",Nt="comm",ze="rule",st="decl",Pr="@import",Ot="@keyframes",jr="@layer",Pt=Math.abs,it=String.fromCharCode,ct=Object.assign;function $r(e,t){return $(e,0)^45?(((t<<2^$(e,0))<<2^$(e,1))<<2^$(e,2))<<2^$(e,3):0}function jt(e){return e.trim()}function q(e,t){return(e=t.exec(e))?e[0]:e}function d(e,t,r){return e.replace(t,r)}function Ye(e,t,r){return e.indexOf(t,r)}function $(e,t){return e.charCodeAt(t)|0}function ge(e,t,r){return e.slice(t,r)}function H(e){return e.length}function $t(e){return e.length}function Pe(e,t){return t.push(e),e}function Ir(e,t){return e.map(t).join("")}function It(e,t){return e.filter(function(r){return!q(r,t)})}var Ve=1,ye=1,Mt=0,W=0,P=0,ve="";function Le(e,t,r,o,a,s,i,f){return{value:e,root:t,parent:r,type:o,props:a,children:s,line:Ve,column:ye,length:i,return:"",siblings:f}}function te(e,t){return ct(Le("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function be(e){for(;e.root;)e=te(e.root,{children:[e]});Pe(e,e.siblings)}function Mr(){return P}function Dr(){return P=W>0?$(ve,--W):0,ye--,P===10&&(ye=1,Ve--),P}function B(){return P=W<Mt?$(ve,W++):0,ye++,P===10&&(ye=1,Ve++),P}function ae(){return $(ve,W)}function We(){return W}function Fe(e,t){return ge(ve,e,t)}function ut(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function zr(e){return Ve=ye=1,Mt=H(ve=e),W=0,[]}function Yr(e){return ve="",e}function lt(e){return jt(Fe(W-1,ft(e===91?e+2:e===40?e+1:e)))}function Vr(e){for(;(P=ae())&&P<33;)B();return ut(e)>2||ut(P)>3?"":" "}function Lr(e,t){for(;--t&&B()&&!(P<48||P>102||P>57&&P<65||P>70&&P<97););return Fe(e,We()+(t<6&&ae()==32&&B()==32))}function ft(e){for(;B();)switch(P){case e:return W;case 34:case 39:e!==34&&e!==39&&ft(P);break;case 40:e===41&&ft(e);break;case 92:B();break}return W}function Wr(e,t){for(;B()&&e+P!==57;)if(e+P===84&&ae()===47)break;return"/*"+Fe(t,W-1)+"*"+it(e===47?e:B())}function Fr(e){for(;!ut(ae());)B();return Fe(e,W)}function Br(e){return Yr(Be("",null,null,null,[""],e=zr(e),0,[0],e))}function Be(e,t,r,o,a,s,i,f,l){for(var y=0,b=0,g=i,w=0,v=0,C=0,T=1,I=1,N=1,_=0,k="",x=a,R=s,m=o,p=k;I;)switch(C=_,_=B()){case 40:if(C!=108&&$(p,g-1)==58){Ye(p+=d(lt(_),"&","&\f"),"&\f",Pt(y?f[y-1]:0))!=-1&&(N=-1);break}case 34:case 39:case 91:p+=lt(_);break;case 9:case 10:case 13:case 32:p+=Vr(C);break;case 92:p+=Lr(We()-1,7);continue;case 47:switch(ae()){case 42:case 47:Pe(Gr(Wr(B(),We()),t,r,l),l);break;default:p+="/"}break;case 123*T:f[y++]=H(p)*N;case 125*T:case 59:case 0:switch(_){case 0:case 125:I=0;case 59+b:N==-1&&(p=d(p,/\f/g,"")),v>0&&H(p)-g&&Pe(v>32?zt(p+";",o,r,g-1,l):zt(d(p," ","")+";",o,r,g-2,l),l);break;case 59:p+=";";default:if(Pe(m=Dt(p,t,r,y,b,a,f,k,x=[],R=[],g,s),s),_===123)if(b===0)Be(p,t,m,m,x,s,g,f,R);else switch(w===99&&$(p,3)===110?100:w){case 100:case 108:case 109:case 115:Be(e,m,m,o&&Pe(Dt(e,m,m,0,0,a,f,k,a,x=[],g,R),R),a,R,g,f,o?x:R);break;default:Be(p,m,m,m,[""],R,0,f,R)}}y=b=v=0,T=N=1,k=p="",g=i;break;case 58:g=1+H(p),v=C;default:if(T<1){if(_==123)--T;else if(_==125&&T++==0&&Dr()==125)continue}switch(p+=it(_),_*T){case 38:N=b>0?1:(p+="\f",-1);break;case 44:f[y++]=(H(p)-1)*N,N=1;break;case 64:ae()===45&&(p+=lt(B())),w=ae(),b=g=H(k=p+=Fr(We())),_++;break;case 45:C===45&&H(p)==2&&(T=0)}}return s}function Dt(e,t,r,o,a,s,i,f,l,y,b,g){for(var w=a-1,v=a===0?s:[""],C=$t(v),T=0,I=0,N=0;T<o;++T)for(var _=0,k=ge(e,w+1,w=Pt(I=i[T])),x=e;_<C;++_)(x=jt(I>0?v[_]+" "+k:d(k,/&\f/g,v[_])))&&(l[N++]=x);return Le(e,t,r,a===0?ze:f,l,y,b,g)}function Gr(e,t,r,o){return Le(e,t,r,Nt,it(Mr()),ge(e,2,-2),0,o)}function zt(e,t,r,o,a){return Le(e,t,r,st,ge(e,0,o),ge(e,o+1,-1),o,a)}function Yt(e,t,r){switch($r(e,t)){case 5103:return S+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return S+e+e;case 4789:return Oe+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return S+e+Oe+e+A+e+e;case 5936:switch($(e,t+11)){case 114:return S+e+A+d(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return S+e+A+d(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return S+e+A+d(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return S+e+A+e+e;case 6165:return S+e+A+"flex-"+e+e;case 5187:return S+e+d(e,/(\w+).+(:[^]+)/,S+"box-$1$2"+A+"flex-$1$2")+e;case 5443:return S+e+A+"flex-item-"+d(e,/flex-|-self/g,"")+(q(e,/flex-|baseline/)?"":A+"grid-row-"+d(e,/flex-|-self/g,""))+e;case 4675:return S+e+A+"flex-line-pack"+d(e,/align-content|flex-|-self/g,"")+e;case 5548:return S+e+A+d(e,"shrink","negative")+e;case 5292:return S+e+A+d(e,"basis","preferred-size")+e;case 6060:return S+"box-"+d(e,"-grow","")+S+e+A+d(e,"grow","positive")+e;case 4554:return S+d(e,/([^-])(transform)/g,"$1"+S+"$2")+e;case 6187:return d(d(d(e,/(zoom-|grab)/,S+"$1"),/(image-set)/,S+"$1"),e,"")+e;case 5495:case 3959:return d(e,/(image-set\([^]*)/,S+"$1$`$1");case 4968:return d(d(e,/(.+:)(flex-)?(.*)/,S+"box-pack:$3"+A+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+S+e+e;case 4200:if(!q(e,/flex-|baseline/))return A+"grid-column-align"+ge(e,t)+e;break;case 2592:case 3360:return A+d(e,"template-","")+e;case 4384:case 3616:return r&&r.some(function(o,a){return t=a,q(o.props,/grid-\w+-end/)})?~Ye(e+(r=r[t].value),"span",0)?e:A+d(e,"-start","")+e+A+"grid-row-span:"+(~Ye(r,"span",0)?q(r,/\d+/):+q(r,/\d+/)-+q(e,/\d+/))+";":A+d(e,"-start","")+e;case 4896:case 4128:return r&&r.some(function(o){return q(o.props,/grid-\w+-start/)})?e:A+d(d(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return d(e,/(.+)-inline(.+)/,S+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(H(e)-1-t>6)switch($(e,t+1)){case 109:if($(e,t+4)!==45)break;case 102:return d(e,/(.+:)(.+)-([^]+)/,"$1"+S+"$2-$3$1"+Oe+($(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Ye(e,"stretch",0)?Yt(d(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return d(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(o,a,s,i,f,l,y){return A+a+":"+s+y+(i?A+a+"-span:"+(f?l:+l-+s)+y:"")+e});case 4949:if($(e,t+6)===121)return d(e,":",":"+S)+e;break;case 6444:switch($(e,$(e,14)===45?18:11)){case 120:return d(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+S+($(e,14)===45?"inline-":"")+"box$3$1"+S+"$2$3$1"+A+"$2box$3")+e;case 100:return d(e,":",":"+A)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return d(e,"scroll-","scroll-snap-")+e}return e}function Ge(e,t){for(var r="",o=0;o<e.length;o++)r+=t(e[o],o,e,t)||"";return r}function Hr(e,t,r,o){switch(e.type){case jr:if(e.children.length)break;case Pr:case st:return e.return=e.return||e.value;case Nt:return"";case Ot:return e.return=e.value+"{"+Ge(e.children,o)+"}";case ze:if(!H(e.value=e.props.join(",")))return""}return H(r=Ge(e.children,o))?e.return=e.value+"{"+r+"}":""}function Ur(e){var t=$t(e);return function(r,o,a,s){for(var i="",f=0;f<t;f++)i+=e[f](r,o,a,s)||"";return i}}function qr(e){return function(t){t.root||(t=t.return)&&e(t)}}function Xr(e,t,r,o){if(e.length>-1&&!e.return)switch(e.type){case st:e.return=Yt(e.value,e.length,r);return;case Ot:return Ge([te(e,{value:d(e.value,"@","@"+S)})],o);case ze:if(e.length)return Ir(r=e.props,function(a){switch(q(a,o=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":be(te(e,{props:[d(a,/:(read-\w+)/,":"+Oe+"$1")]})),be(te(e,{props:[a]})),ct(e,{props:It(r,o)});break;case"::placeholder":be(te(e,{props:[d(a,/:(plac\w+)/,":"+S+"input-$1")]})),be(te(e,{props:[d(a,/:(plac\w+)/,":"+Oe+"$1")]})),be(te(e,{props:[d(a,/:(plac\w+)/,A+"input-$1")]})),be(te(e,{props:[a]})),ct(e,{props:It(r,o)});break}return""})}}var Jr={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},se=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",Vt="active",Lt="data-styled-version",He="6.1.15",pt=`/*!sc*/
32
- `,Ue=typeof window<"u"&&"HTMLElement"in window,Kr=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==""?process.env.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&process.env.REACT_APP_SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&process.env.SC_DISABLE_SPEEDY!==void 0&&process.env.SC_DISABLE_SPEEDY!==""?process.env.SC_DISABLE_SPEEDY!=="false"&&process.env.SC_DISABLE_SPEEDY:process.env.NODE_ENV!=="production"),Wt=/invalid hook call/i,qe=new Set,Zr=function(e,t){if(process.env.NODE_ENV!=="production"){var r=t?' with the id of "'.concat(t,'"'):"",o="The component ".concat(e).concat(r,` has been created dynamically.
33
- `)+`You may see this warning because you've called styled inside another component.
34
- To resolve this only create new StyledComponents outside of any render method and function component.`,a=console.error;try{var s=!0;console.error=function(i){for(var f=[],l=1;l<arguments.length;l++)f[l-1]=arguments[l];Wt.test(i)?(s=!1,qe.delete(o)):a.apply(void 0,me([i],f,!1))},j.useRef(),s&&!qe.has(o)&&(console.warn(o),qe.add(o))}catch(i){Wt.test(i.message)&&qe.delete(o)}finally{console.error=a}}},Xe=Object.freeze([]),we=Object.freeze({});function Qr(e,t,r){return r===void 0&&(r=we),e.theme!==r.theme&&e.theme||t||r.theme}var dt=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),en=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,tn=/(^-|-$)/g;function Ft(e){return e.replace(en,"-").replace(tn,"")}var rn=/(a)(d)/gi,Je=52,Bt=function(e){return String.fromCharCode(e+(e>25?39:97))};function ht(e){var t,r="";for(t=Math.abs(e);t>Je;t=t/Je|0)r=Bt(t%Je)+r;return(Bt(t%Je)+r).replace(rn,"$1-$2")}var mt,Gt=5381,ie=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},Ht=function(e){return ie(Gt,e)};function nn(e){return ht(Ht(e)>>>0)}function Ut(e){return process.env.NODE_ENV!=="production"&&typeof e=="string"&&e||e.displayName||e.name||"Component"}function gt(e){return typeof e=="string"&&(process.env.NODE_ENV==="production"||e.charAt(0)===e.charAt(0).toLowerCase())}var qt=typeof Symbol=="function"&&Symbol.for,Xt=qt?Symbol.for("react.memo"):60115,on=qt?Symbol.for("react.forward_ref"):60112,an={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},sn={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Jt={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},cn=((mt={})[on]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},mt[Xt]=Jt,mt);function Kt(e){return("type"in(t=e)&&t.type.$$typeof)===Xt?Jt:"$$typeof"in e?cn[e.$$typeof]:an;var t}var un=Object.defineProperty,ln=Object.getOwnPropertyNames,Zt=Object.getOwnPropertySymbols,fn=Object.getOwnPropertyDescriptor,pn=Object.getPrototypeOf,Qt=Object.prototype;function er(e,t,r){if(typeof t!="string"){if(Qt){var o=pn(t);o&&o!==Qt&&er(e,o,r)}var a=ln(t);Zt&&(a=a.concat(Zt(t)));for(var s=Kt(e),i=Kt(t),f=0;f<a.length;++f){var l=a[f];if(!(l in sn||r&&r[l]||i&&l in i||s&&l in s)){var y=fn(t,l);try{un(e,l,y)}catch{}}}}return e}function Ee(e){return typeof e=="function"}function yt(e){return typeof e=="object"&&"styledComponentId"in e}function ce(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function tr(e,t){if(e.length===0)return"";for(var r=e[0],o=1;o<e.length;o++)r+=e[o];return r}function Se(e){return e!==null&&typeof e=="object"&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function vt(e,t,r){if(r===void 0&&(r=!1),!r&&!Se(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var o=0;o<t.length;o++)e[o]=vt(e[o],t[o]);else if(Se(t))for(var o in t)e[o]=vt(e[o],t[o]);return e}function bt(e,t){Object.defineProperty(e,"toString",{value:t})}var dn=process.env.NODE_ENV!=="production"?{1:`Cannot create styled-component for component: %s.
35
-
36
- `,2:`Can't collect styles once you've consumed a \`ServerStyleSheet\`'s styles! \`ServerStyleSheet\` is a one off instance for each server-side render cycle.
37
-
38
- - Are you trying to reuse it across renders?
39
- - Are you accidentally calling collectStyles twice?
40
-
41
- `,3:`Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.
42
-
43
- `,4:`The \`StyleSheetManager\` expects a valid target or sheet prop!
44
-
45
- - Does this error occur on the client and is your target falsy?
46
- - Does this error occur on the server and is the sheet falsy?
47
-
48
- `,5:`The clone method cannot be used on the client!
49
-
50
- - Are you running in a client-like environment on the server?
51
- - Are you trying to run SSR on the client?
52
-
53
- `,6:`Trying to insert a new style tag, but the given Node is unmounted!
54
-
55
- - Are you using a custom target that isn't mounted?
56
- - Does your document not have a valid head element?
57
- - Have you accidentally removed a style tag manually?
58
-
59
- `,7:'ThemeProvider: Please return an object from your "theme" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n',8:`ThemeProvider: Please make your "theme" prop an object.
60
-
61
- `,9:"Missing document `<head>`\n\n",10:`Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021
62
-
63
- `,11:`_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.
64
-
65
- `,12:"It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\`\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\n\n",13:`%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.
66
-
67
- `,14:`ThemeProvider: "theme" prop is required.
68
-
69
- `,15:"A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n",16:`Reached the limit of how many styled components may be created at group %s.
70
- You may only create up to 1,073,741,824 components. If you're creating components dynamically,
71
- as for instance in your render method then you may be running into this limitation.
72
-
73
- `,17:`CSSStyleSheet could not be found on HTMLStyleElement.
74
- Has styled-components' style tag been unmounted or altered by another script?
75
- `,18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"}:{};function hn(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=e[0],o=[],a=1,s=e.length;a<s;a+=1)o.push(e[a]);return o.forEach(function(i){r=r.replace(/%[a-z]/,i)}),r}function xe(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return process.env.NODE_ENV==="production"?new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):"")):new Error(hn.apply(void 0,me([dn[e]],t,!1)).trim())}var mn=function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}return e.prototype.indexOfGroup=function(t){for(var r=0,o=0;o<t;o++)r+=this.groupSizes[o];return r},e.prototype.insertRules=function(t,r){if(t>=this.groupSizes.length){for(var o=this.groupSizes,a=o.length,s=a;t>=s;)if((s<<=1)<0)throw xe(16,"".concat(t));this.groupSizes=new Uint32Array(s),this.groupSizes.set(o),this.length=s;for(var i=a;i<s;i++)this.groupSizes[i]=0}for(var f=this.indexOfGroup(t+1),l=(i=0,r.length);i<l;i++)this.tag.insertRule(f,r[i])&&(this.groupSizes[t]++,f++)},e.prototype.clearGroup=function(t){if(t<this.length){var r=this.groupSizes[t],o=this.indexOfGroup(t),a=o+r;this.groupSizes[t]=0;for(var s=o;s<a;s++)this.tag.deleteRule(o)}},e.prototype.getGroup=function(t){var r="";if(t>=this.length||this.groupSizes[t]===0)return r;for(var o=this.groupSizes[t],a=this.indexOfGroup(t),s=a+o,i=a;i<s;i++)r+="".concat(this.tag.getRule(i)).concat(pt);return r},e}(),gn=1<<30,Ke=new Map,Ze=new Map,Qe=1,et=function(e){if(Ke.has(e))return Ke.get(e);for(;Ze.has(Qe);)Qe++;var t=Qe++;if(process.env.NODE_ENV!=="production"&&((0|t)<0||t>gn))throw xe(16,"".concat(t));return Ke.set(e,t),Ze.set(t,e),t},yn=function(e,t){Qe=t+1,Ke.set(e,t),Ze.set(t,e)},vn="style[".concat(se,"][").concat(Lt,'="').concat(He,'"]'),bn=new RegExp("^".concat(se,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),wn=function(e,t,r){for(var o,a=r.split(","),s=0,i=a.length;s<i;s++)(o=a[s])&&e.registerName(t,o)},En=function(e,t){for(var r,o=((r=t.textContent)!==null&&r!==void 0?r:"").split(pt),a=[],s=0,i=o.length;s<i;s++){var f=o[s].trim();if(f){var l=f.match(bn);if(l){var y=0|parseInt(l[1],10),b=l[2];y!==0&&(yn(b,y),wn(e,b,l[3]),e.getTag().insertRules(y,a)),a.length=0}else a.push(f)}}},rr=function(e){for(var t=document.querySelectorAll(vn),r=0,o=t.length;r<o;r++){var a=t[r];a&&a.getAttribute(se)!==Vt&&(En(e,a),a.parentNode&&a.parentNode.removeChild(a))}};function Sn(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null}var nr=function(e){var t=document.head,r=e||t,o=document.createElement("style"),a=function(f){var l=Array.from(f.querySelectorAll("style[".concat(se,"]")));return l[l.length-1]}(r),s=a!==void 0?a.nextSibling:null;o.setAttribute(se,Vt),o.setAttribute(Lt,He);var i=Sn();return i&&o.setAttribute("nonce",i),r.insertBefore(o,s),o},xn=function(){function e(t){this.element=nr(t),this.element.appendChild(document.createTextNode("")),this.sheet=function(r){if(r.sheet)return r.sheet;for(var o=document.styleSheets,a=0,s=o.length;a<s;a++){var i=o[a];if(i.ownerNode===r)return i}throw xe(17)}(this.element),this.length=0}return e.prototype.insertRule=function(t,r){try{return this.sheet.insertRule(r,t),this.length++,!0}catch{return!1}},e.prototype.deleteRule=function(t){this.sheet.deleteRule(t),this.length--},e.prototype.getRule=function(t){var r=this.sheet.cssRules[t];return r&&r.cssText?r.cssText:""},e}(),kn=function(){function e(t){this.element=nr(t),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(t,r){if(t<=this.length&&t>=0){var o=document.createTextNode(r);return this.element.insertBefore(o,this.nodes[t]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.prototype.getRule=function(t){return t<this.length?this.nodes[t].textContent:""},e}(),Cn=function(){function e(t){this.rules=[],this.length=0}return e.prototype.insertRule=function(t,r){return t<=this.length&&(this.rules.splice(t,0,r),this.length++,!0)},e.prototype.deleteRule=function(t){this.rules.splice(t,1),this.length--},e.prototype.getRule=function(t){return t<this.length?this.rules[t]:""},e}(),or=Ue,An={isServer:!Ue,useCSSOMInjection:!Kr},ar=function(){function e(t,r,o){t===void 0&&(t=we),r===void 0&&(r={});var a=this;this.options=Y(Y({},An),t),this.gs=r,this.names=new Map(o),this.server=!!t.isServer,!this.server&&Ue&&or&&(or=!1,rr(this)),bt(this,function(){return function(s){for(var i=s.getTag(),f=i.length,l="",y=function(g){var w=function(N){return Ze.get(N)}(g);if(w===void 0)return"continue";var v=s.names.get(w),C=i.getGroup(g);if(v===void 0||!v.size||C.length===0)return"continue";var T="".concat(se,".g").concat(g,'[id="').concat(w,'"]'),I="";v!==void 0&&v.forEach(function(N){N.length>0&&(I+="".concat(N,","))}),l+="".concat(C).concat(T,'{content:"').concat(I,'"}').concat(pt)},b=0;b<f;b++)y(b);return l}(a)})}return e.registerId=function(t){return et(t)},e.prototype.rehydrate=function(){!this.server&&Ue&&rr(this)},e.prototype.reconstructWithOptions=function(t,r){return r===void 0&&(r=!0),new e(Y(Y({},this.options),t),this.gs,r&&this.names||void 0)},e.prototype.allocateGSInstance=function(t){return this.gs[t]=(this.gs[t]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(t=function(r){var o=r.useCSSOMInjection,a=r.target;return r.isServer?new Cn(a):o?new xn(a):new kn(a)}(this.options),new mn(t)));var t},e.prototype.hasNameForId=function(t,r){return this.names.has(t)&&this.names.get(t).has(r)},e.prototype.registerName=function(t,r){if(et(t),this.names.has(t))this.names.get(t).add(r);else{var o=new Set;o.add(r),this.names.set(t,o)}},e.prototype.insertRules=function(t,r,o){this.registerName(t,r),this.getTag().insertRules(et(t),o)},e.prototype.clearNames=function(t){this.names.has(t)&&this.names.get(t).clear()},e.prototype.clearRules=function(t){this.getTag().clearGroup(et(t)),this.clearNames(t)},e.prototype.clearTag=function(){this.tag=void 0},e}(),Tn=/&/g,_n=/^\s*\/\/.*$/gm;function sr(e,t){return e.map(function(r){return r.type==="rule"&&(r.value="".concat(t," ").concat(r.value),r.value=r.value.replaceAll(",",",".concat(t," ")),r.props=r.props.map(function(o){return"".concat(t," ").concat(o)})),Array.isArray(r.children)&&r.type!=="@keyframes"&&(r.children=sr(r.children,t)),r})}function Rn(e){var t,r,o,a=we,s=a.options,i=s===void 0?we:s,f=a.plugins,l=f===void 0?Xe:f,y=function(w,v,C){return C.startsWith(r)&&C.endsWith(r)&&C.replaceAll(r,"").length>0?".".concat(t):w},b=l.slice();b.push(function(w){w.type===ze&&w.value.includes("&")&&(w.props[0]=w.props[0].replace(Tn,r).replace(o,y))}),i.prefix&&b.push(Xr),b.push(Hr);var g=function(w,v,C,T){v===void 0&&(v=""),C===void 0&&(C=""),T===void 0&&(T="&"),t=T,r=v,o=new RegExp("\\".concat(r,"\\b"),"g");var I=w.replace(_n,""),N=Br(C||v?"".concat(C," ").concat(v," { ").concat(I," }"):I);i.namespace&&(N=sr(N,i.namespace));var _=[];return Ge(N,Ur(b.concat(qr(function(k){return _.push(k)})))),_};return g.hash=l.length?l.reduce(function(w,v){return v.name||xe(15),ie(w,v.name)},Gt).toString():"",g}var Nn=new ar,wt=Rn(),ir=j.createContext({shouldForwardProp:void 0,styleSheet:Nn,stylis:wt});ir.Consumer,j.createContext(void 0);function cr(){return j.useContext(ir)}var ur=function(){function e(t,r){var o=this;this.inject=function(a,s){s===void 0&&(s=wt);var i=o.name+s.hash;a.hasNameForId(o.id,i)||a.insertRules(o.id,i,s(o.rules,i,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=r,bt(this,function(){throw xe(12,String(o.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=wt),this.name+t.hash},e}(),On=function(e){return e>="A"&&e<="Z"};function lr(e){for(var t="",r=0;r<e.length;r++){var o=e[r];if(r===1&&o==="-"&&e[0]==="-")return e;On(o)?t+="-"+o.toLowerCase():t+=o}return t.startsWith("ms-")?"-"+t:t}var fr=function(e){return e==null||e===!1||e===""},pr=function(e){var t,r,o=[];for(var a in e){var s=e[a];e.hasOwnProperty(a)&&!fr(s)&&(Array.isArray(s)&&s.isCss||Ee(s)?o.push("".concat(lr(a),":"),s,";"):Se(s)?o.push.apply(o,me(me(["".concat(a," {")],pr(s),!1),["}"],!1)):o.push("".concat(lr(a),": ").concat((t=a,(r=s)==null||typeof r=="boolean"||r===""?"":typeof r!="number"||r===0||t in Jr||t.startsWith("--")?String(r).trim():"".concat(r,"px")),";")))}return o};function ue(e,t,r,o){if(fr(e))return[];if(yt(e))return[".".concat(e.styledComponentId)];if(Ee(e)){if(!Ee(s=e)||s.prototype&&s.prototype.isReactComponent||!t)return[e];var a=e(t);return process.env.NODE_ENV==="production"||typeof a!="object"||Array.isArray(a)||a instanceof ur||Se(a)||a===null||console.error("".concat(Ut(e)," is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")),ue(a,t,r,o)}var s;return e instanceof ur?r?(e.inject(r,o),[e.getName(o)]):[e]:Se(e)?pr(e):Array.isArray(e)?Array.prototype.concat.apply(Xe,e.map(function(i){return ue(i,t,r,o)})):[e.toString()]}function Pn(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(Ee(r)&&!yt(r))return!1}return!0}var jn=Ht(He),$n=function(){function e(t,r,o){this.rules=t,this.staticRulesId="",this.isStatic=process.env.NODE_ENV==="production"&&(o===void 0||o.isStatic)&&Pn(t),this.componentId=r,this.baseHash=ie(jn,r),this.baseStyle=o,ar.registerId(r)}return e.prototype.generateAndInjectStyles=function(t,r,o){var a=this.baseStyle?this.baseStyle.generateAndInjectStyles(t,r,o):"";if(this.isStatic&&!o.hash)if(this.staticRulesId&&r.hasNameForId(this.componentId,this.staticRulesId))a=ce(a,this.staticRulesId);else{var s=tr(ue(this.rules,t,r,o)),i=ht(ie(this.baseHash,s)>>>0);if(!r.hasNameForId(this.componentId,i)){var f=o(s,".".concat(i),void 0,this.componentId);r.insertRules(this.componentId,i,f)}a=ce(a,i),this.staticRulesId=i}else{for(var l=ie(this.baseHash,o.hash),y="",b=0;b<this.rules.length;b++){var g=this.rules[b];if(typeof g=="string")y+=g,process.env.NODE_ENV!=="production"&&(l=ie(l,g));else if(g){var w=tr(ue(g,t,r,o));l=ie(l,w+b),y+=w}}if(y){var v=ht(l>>>0);r.hasNameForId(this.componentId,v)||r.insertRules(this.componentId,v,o(y,".".concat(v),void 0,this.componentId)),a=ce(a,v)}}return a},e}(),dr=j.createContext(void 0);dr.Consumer;var Et={},hr=new Set;function In(e,t,r){var o=yt(e),a=e,s=!gt(e),i=t.attrs,f=i===void 0?Xe:i,l=t.componentId,y=l===void 0?function(x,R){var m=typeof x!="string"?"sc":Ft(x);Et[m]=(Et[m]||0)+1;var p="".concat(m,"-").concat(nn(He+m+Et[m]));return R?"".concat(R,"-").concat(p):p}(t.displayName,t.parentComponentId):l,b=t.displayName,g=b===void 0?function(x){return gt(x)?"styled.".concat(x):"Styled(".concat(Ut(x),")")}(e):b,w=t.displayName&&t.componentId?"".concat(Ft(t.displayName),"-").concat(t.componentId):t.componentId||y,v=o&&a.attrs?a.attrs.concat(f).filter(Boolean):f,C=t.shouldForwardProp;if(o&&a.shouldForwardProp){var T=a.shouldForwardProp;if(t.shouldForwardProp){var I=t.shouldForwardProp;C=function(x,R){return T(x,R)&&I(x,R)}}else C=T}var N=new $n(r,w,o?a.componentStyle:void 0);function _(x,R){return function(m,p,G){var X=m.attrs,rt=m.componentStyle,je=m.defaultProps,$e=m.foldedComponentIds,ke=m.styledComponentId,Ie=m.target,Me=j.useContext(dr),kt=cr(),Ce=m.shouldForwardProp||kt.shouldForwardProp;process.env.NODE_ENV!=="production"&&j.useDebugValue(ke);var nt=Qr(p,Me,je)||we,M=function(fe,ne,pe){for(var K,U=Y(Y({},ne),{className:void 0,theme:pe}),Ae=0;Ae<fe.length;Ae+=1){var de=Ee(K=fe[Ae])?K(U):K;for(var F in de)U[F]=F==="className"?ce(U[F],de[F]):F==="style"?Y(Y({},U[F]),de[F]):de[F]}return ne.className&&(U.className=ce(U.className,ne.className)),U}(X,p,nt),re=M.as||Ie,L={};for(var V in M)M[V]===void 0||V[0]==="$"||V==="as"||V==="theme"&&M.theme===nt||(V==="forwardedAs"?L.as=M.forwardedAs:Ce&&!Ce(V,re)||(L[V]=M[V],Ce||process.env.NODE_ENV!=="development"||Or(V)||hr.has(V)||!dt.has(re)||(hr.add(V),console.warn('styled-components: it looks like an unknown prop "'.concat(V,'" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var le=function(fe,ne){var pe=cr(),K=fe.generateAndInjectStyles(ne,pe.styleSheet,pe.stylis);return process.env.NODE_ENV!=="production"&&j.useDebugValue(K),K}(rt,M);process.env.NODE_ENV!=="production"&&m.warnTooManyClasses&&m.warnTooManyClasses(le);var J=ce($e,ke);return le&&(J+=" "+le),M.className&&(J+=" "+M.className),L[gt(re)&&!dt.has(re)?"class":"className"]=J,G&&(L.ref=G),j.createElement(re,L)}(k,x,R)}_.displayName=g;var k=j.forwardRef(_);return k.attrs=v,k.componentStyle=N,k.displayName=g,k.shouldForwardProp=C,k.foldedComponentIds=o?ce(a.foldedComponentIds,a.styledComponentId):"",k.styledComponentId=w,k.target=o?a.target:e,Object.defineProperty(k,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(x){this._foldedDefaultProps=o?function(R){for(var m=[],p=1;p<arguments.length;p++)m[p-1]=arguments[p];for(var G=0,X=m;G<X.length;G++)vt(R,X[G],!0);return R}({},a.defaultProps,x):x}}),process.env.NODE_ENV!=="production"&&(Zr(g,w),k.warnTooManyClasses=function(x,R){var m={},p=!1;return function(G){if(!p&&(m[G]=!0,Object.keys(m).length>=200)){var X=R?' with the id of "'.concat(R,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat(x).concat(X,`.
76
- `)+`Consider using the attrs method, together with a style object for frequently changed styles.
77
- Example:
78
- const Component = styled.div.attrs(props => ({
79
- style: {
80
- background: props.background,
81
- },
82
- }))\`width: 100%;\`
83
-
84
- <Component />`),p=!0,m={}}}}(g,w)),bt(k,function(){return".".concat(k.styledComponentId)}),s&&er(k,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),k}function mr(e,t){for(var r=[e[0]],o=0,a=t.length;o<a;o+=1)r.push(t[o],e[o+1]);return r}var gr=function(e){return Object.assign(e,{isCss:!0})};function Mn(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(Ee(e)||Se(e))return gr(ue(mr(Xe,me([e],t,!0))));var o=e;return t.length===0&&o.length===1&&typeof o[0]=="string"?ue(o):gr(ue(mr(o,t)))}function St(e,t,r){if(r===void 0&&(r=we),!t)throw xe(1,t);var o=function(a){for(var s=[],i=1;i<arguments.length;i++)s[i-1]=arguments[i];return e(t,r,Mn.apply(void 0,me([a],s,!1)))};return o.attrs=function(a){return St(e,t,Y(Y({},r),{attrs:Array.prototype.concat(r.attrs,a).filter(Boolean)}))},o.withConfig=function(a){return St(e,t,Y(Y({},r),a))},o}var yr=function(e){return St(In,e)},xt=yr;dt.forEach(function(e){xt[e]=yr(e)}),process.env.NODE_ENV!=="production"&&typeof navigator<"u"&&navigator.product==="ReactNative"&&console.warn(`It looks like you've imported 'styled-components' on React Native.
85
- Perhaps you're looking to import 'styled-components/native'?
86
- Read more about this at https://www.styled-components.com/docs/basics#react-native`);var tt="__sc-".concat(se,"__");process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&typeof window<"u"&&(window[tt]||(window[tt]=0),window[tt]===1&&console.warn(`It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.
87
-
88
- See https://s-c.sh/2BAXzed for more info.`),window[tt]+=1);const Dn=xt.span`
89
- color: ${({color:e})=>e||"inherit"};
90
- font-family: ${({font:e})=>e||'"Source Code Pro", monospace'};
91
- font-size: ${({size:e})=>e||"inherit"};
92
- font-weight: ${({weight:e})=>{switch(e){case"light":return 300;case"normal":return 400;case"medium":return 500;case"semibold":return 600;case"bold":return 700;case"extrabold":return 800;default:return"inherit"}}};
93
- text-transform: ${({uppercase:e})=>e?"uppercase":"none"};
94
- font-style: ${({italic:e})=>e?"italic":"normal"};
95
- text-decoration: ${({underline:e,strikethrough:t})=>e&&t?"underline line-through":e?"underline":t?"line-through":"none"};
96
- text-align: ${({align:e})=>e||"inherit"};
97
- line-height: ${({lineHeight:e})=>e||"inherit"};
98
- letter-spacing: ${({letterSpacing:e})=>e||"inherit"};
99
- `,vr=({as:e="span",children:t,uppercase:r,italic:o,underline:a,strikethrough:s,...i})=>{const l={...Tr(),...i,...r&&{uppercase:"true"},...o&&{italic:"true"},...a&&{underline:"true"},...s&&{strikethrough:"true"}};return Ne.jsx(Dn,{as:e,...l,children:t})},zn=xt.span`
100
- font-size: ${({level:e})=>{switch(e){case 1:return"32px";case 2:return"28px";case 3:return"24px";case 4:return"20px";case 5:return"18px";case 6:return"16px";default:return"16px"}}};
101
- `;return{Group:_r,Heading:({level:e,size:t,...r})=>{const o=`h${e}`;return Ne.jsx(zn,{level:e,children:Ne.jsx(vr,{as:o,size:t||"inherit",...r})})},Paragraph:e=>Ne.jsx(vr,{as:"p",...e})}});
package/tsconfig.app.json DELETED
@@ -1,26 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
4
- "target": "ES2020",
5
- "useDefineForClassFields": true,
6
- "lib": ["ES2020", "DOM", "DOM.Iterable"],
7
- "module": "ESNext",
8
- "skipLibCheck": true,
9
-
10
- /* Bundler mode */
11
- "moduleResolution": "bundler",
12
- "allowImportingTsExtensions": true,
13
- "isolatedModules": true,
14
- "moduleDetection": "force",
15
- "noEmit": true,
16
- "jsx": "react-jsx",
17
-
18
- /* Linting */
19
- "strict": true,
20
- "noUnusedLocals": true,
21
- "noUnusedParameters": true,
22
- "noFallthroughCasesInSwitch": true,
23
- "noUncheckedSideEffectImports": true
24
- },
25
- "include": ["src"]
26
- }
@@ -1,24 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",
4
- "target": "ES2022",
5
- "lib": ["ES2023"],
6
- "module": "ESNext",
7
- "skipLibCheck": true,
8
-
9
- /* Bundler mode */
10
- "moduleResolution": "bundler",
11
- "allowImportingTsExtensions": true,
12
- "isolatedModules": true,
13
- "moduleDetection": "force",
14
- "noEmit": true,
15
-
16
- /* Linting */
17
- "strict": true,
18
- "noUnusedLocals": true,
19
- "noUnusedParameters": true,
20
- "noFallthroughCasesInSwitch": true,
21
- "noUncheckedSideEffectImports": true
22
- },
23
- "include": ["vite.config.ts"]
24
- }