@necto-react/components 1.2.3 → 1.2.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/dist/index.cjs +1 -1
- package/dist/index.global.js +3 -3
- package/dist/index.js +1 -1
- package/package.json +18 -6
package/dist/index.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var $t=Object.create;var G=Object.defineProperty;var _t=Object.getOwnPropertyDescriptor;var Kt=Object.getOwnPropertyNames;var qt=Object.getPrototypeOf,to=Object.prototype.hasOwnProperty;var oo=(t,o)=>{for(var i in o)G(t,i,{get:o[i],enumerable:!0})},$=(t,o,i,c)=>{if(o&&typeof o=="object"||typeof o=="function")for(let n of Kt(o))!to.call(t,n)&&n!==i&&G(t,n,{get:()=>o[n],enumerable:!(c=_t(o,n))||c.enumerable});return t};var d=(t,o,i)=>(i=t!=null?$t(qt(t)):{},$(o||!t||!t.__esModule?G(i,"default",{value:t,enumerable:!0}):i,t)),eo=t=>$(G({},"__esModule",{value:!0}),t);var Xo={};oo(Xo,{AppleButton:()=>X,AtlassianButton:()=>W,BitbucketButton:()=>Y,DiscordButton:()=>v,DropboxButton:()=>j,Else:()=>C,FacebookButton:()=>T,GitHubButton:()=>D,GitLabButton:()=>M,GoogleButton:()=>P,If:()=>
|
|
1
|
+
"use strict";var $t=Object.create;var G=Object.defineProperty;var _t=Object.getOwnPropertyDescriptor;var Kt=Object.getOwnPropertyNames;var qt=Object.getPrototypeOf,to=Object.prototype.hasOwnProperty;var oo=(t,o)=>{for(var i in o)G(t,i,{get:o[i],enumerable:!0})},$=(t,o,i,c)=>{if(o&&typeof o=="object"||typeof o=="function")for(let n of Kt(o))!to.call(t,n)&&n!==i&&G(t,n,{get:()=>o[n],enumerable:!(c=_t(o,n))||c.enumerable});return t};var d=(t,o,i)=>(i=t!=null?$t(qt(t)):{},$(o||!t||!t.__esModule?G(i,"default",{value:t,enumerable:!0}):i,t)),eo=t=>$(G({},"__esModule",{value:!0}),t);var Xo={};oo(Xo,{AppleButton:()=>X,AtlassianButton:()=>W,BitbucketButton:()=>Y,DiscordButton:()=>v,DropboxButton:()=>j,Else:()=>C,FacebookButton:()=>T,GitHubButton:()=>D,GitLabButton:()=>M,GoogleButton:()=>P,If:()=>p,Primitive:()=>Z});module.exports=eo(Xo);var K=require("@necto/constants"),q=require("@necto/dom"),u=require("react"),tt=require("react/jsx-runtime"),io=q.HTMLElements.Div,_=({as:t,asChild:o,children:i,...c},n)=>{let b=t??io;if(o){let e=u.Children.only(i);return(0,u.isValidElement)(e)?(0,u.cloneElement)(e,{...c,ref:e.ref??n}):null}return(0,tt.jsx)(b,{ref:n,...c,children:i})},Z=Object.assign((0,u.forwardRef)(_),K.DOM.HTML_TAGS.reduce((t,o)=>{let i=o,c=o[0].toUpperCase()+o.slice(1),n=(0,u.forwardRef)((b,e)=>_({...b,as:o},e));return t[i]=n,t[c]=n,t},{}));var ot=require("react"),et=require("react/jsx-runtime"),C=t=>{let{children:o}=t;return(0,et.jsx)(ot.Fragment,{children:typeof o=="function"?o():o})};var y=require("react"),it=require("react/jsx-runtime"),p=t=>{let{condition:o,keepAlive:i,children:c}=t;if(!c)return null;let n=!!(typeof o=="function"?o():o);return(0,it.jsx)(y.Fragment,{children:y.Children.toArray(c).find(b=>b.type!==C!=!n)||null})};var bt=d(require("clsx"),1),ct=require("react"),lt=d(require("styled-components"),1),st=require("react-icons/fa");var nt=require("@necto/dom");var F=require("react");var I=require("react/jsx-runtime"),no=nt.HTMLElements.Button,a=(0,F.forwardRef)(function({as:o=no,asChild:i=!1,children:c,icon:n,showIcon:b=!0,iconPosition:e="left",disabled:l,className:r,...s},St){let Pt=(o?.toLowerCase?.()??"")==="button"?{disabled:l}:{role:"button",tabIndex:l?-1:0,"aria-disabled":!!l,onKeyDown:g=>{l||(g.key==="Enter"||g.key===" ")&&(s.onClick?.(g),g.preventDefault())}},B=n?(0,I.jsx)("span",{className:"_necto:brand-icon",style:{flexShrink:0,lineHeight:0,display:"inline-flex"},children:n}):null;return(0,I.jsx)(Z,{as:o,ref:St,asChild:i,className:r,...Pt,...s,children:(0,I.jsxs)(F.Fragment,{children:[(0,I.jsx)(p,{condition:!!B&&b&&e==="left",children:B}),c,(0,I.jsx)(p,{condition:!!B&&b&&e==="right",children:B})]})})});var f={};var Q=require("react/jsx-runtime"),rt="AppleButton",co=(0,lt.default)(a).attrs(t=>({className:`${f.AppleButton} ${t.$disabled?f.disabled:""}`.trim()}))``,X=(0,ct.forwardRef)(({as:t,asChild:o,children:i="Continue with Apple",iconPosition:c="left",showIcon:n=!0,iconSize:b=20,disabled:e,className:l,...r},s)=>(0,Q.jsx)(co,{as:t,ref:s,asChild:o,icon:(0,Q.jsx)(st.FaApple,{size:b}),showIcon:n,iconSize:b,disabled:e,$disabled:e,iconPosition:c,className:(0,bt.default)(l,`_necto:${rt}`),...r,children:i}));X.displayName=rt;var at=d(require("clsx"),1),dt=require("react"),mt=d(require("styled-components"),1);var ut=require("react-icons/fa");var R={};var x=require("react/jsx-runtime"),It="AtlassianButton",so=(0,mt.default)(a).attrs(t=>({className:`${R.AtlassianButton} ${t.$disabled?R.disabled:""}`.trim()}))``,W=(0,dt.forwardRef)(({as:t,asChild:o,children:i="Continue with Atlassian",iconPosition:c="left",showIcon:n=!0,iconSize:b=20,disabled:e,className:l,...r},s)=>(0,x.jsx)(so,{as:t,ref:s,asChild:o,showIcon:n,iconSize:b,disabled:e,$disabled:e,iconPosition:c,icon:(0,x.jsx)(ut.FaAtlassian,{size:b}),className:(0,at.default)(l,`_necto:${It}`),...r,children:i}));W.displayName=It;var Bt=d(require("clsx"),1),gt=require("react"),Gt=d(require("styled-components"),1);var N={};var m=require("react/jsx-runtime"),pt=({size:t})=>(0,m.jsxs)("svg",{width:t,height:t,viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,m.jsx)("title",{children:"Bitbucket"}),(0,m.jsx)("path",{d:"M58.8295 28.5831H43.8317L41.332 43.3331H30.9168L18.6685 57.9163C18.6685 57.9163 19.2517 58.4163 20.0849 58.4163H52.7472C53.4971 58.4163 54.1637 57.8331 54.3303 57.083L58.8295 28.5831Z",fill:"url(#paint0_linear_5907_10188)"}),(0,m.jsx)("path",{d:"M12.5863 13.5C11.5864 13.5 10.8366 14.4167 11.0033 15.3333L17.7524 56.6666C17.8357 57.1667 18.0857 57.6667 18.5023 58C18.5023 58 19.0855 58.5 19.9187 58.5L32.5838 43.3334H30.834L28.0843 28.5834H43.8323H58.8304L60.9967 15.3333C61.1635 14.3333 60.4135 13.5 59.4136 13.5H12.5863Z",fill:"white",style:{fill:"white",fillOpacity:1}}),(0,m.jsx)("defs",{children:(0,m.jsxs)("linearGradient",{id:"paint0_linear_5907_10188",x1:"60.8078",y1:"35.1603",x2:"37.2868",y2:"51.0791",gradientUnits:"userSpaceOnUse",children:[(0,m.jsx)("stop",{offset:"0.0718327","stop-color":"white","stop-opacity":"0.4",style:{stopColor:"white",stopOpacity:.4}}),(0,m.jsx)("stop",{offset:"1","stop-color":"white",style:{stopColor:"white",stopOpacity:1}})]})})]});var A=require("react/jsx-runtime"),Zt="BitbucketButton",ao=(0,Gt.default)(a).attrs(t=>({className:`${N.BitbucketButton} ${t.$disabled?N.disabled:""}`.trim()}))``,Y=(0,gt.forwardRef)(({as:t,asChild:o,children:i="Continue with Bitbucket",iconPosition:c="left",showIcon:n=!0,iconSize:b=22,disabled:e,className:l,...r},s)=>(0,A.jsx)(ao,{as:t,ref:s,asChild:o,showIcon:n,iconSize:b,disabled:e,$disabled:e,iconPosition:c,icon:(0,A.jsx)(pt,{size:b}),className:(0,Bt.default)(l,`_necto:${Zt}`),...r,children:i}));Y.displayName=Zt;var Ct=d(require("clsx"),1),yt=require("react"),Ft=d(require("styled-components"),1);var ft=require("react-icons/fa");var h={};var V=require("react/jsx-runtime"),Qt="DiscordButton",uo=(0,Ft.default)(a).attrs(t=>({className:`${h.DiscordButton} ${t.$disabled?h.disabled:""}`.trim()}))``,v=(0,yt.forwardRef)(({as:t,asChild:o,children:i="Continue with Discord",iconPosition:c="left",showIcon:n=!0,iconSize:b=20,disabled:e,className:l,...r},s)=>(0,V.jsx)(uo,{as:t,ref:s,asChild:o,showIcon:n,iconSize:b,disabled:e,$disabled:e,iconPosition:c,icon:(0,V.jsx)(ft.FaDiscord,{size:b}),className:(0,Ct.default)(l,`_necto:${Qt}`),...r,children:i}));v.displayName=Qt;var Xt=d(require("clsx"),1),Rt=require("react"),xt=d(require("styled-components"),1);var Wt=require("react-icons/fa");var U={};var L=require("react/jsx-runtime"),Nt="DropboxButton",po=(0,xt.default)(a).attrs(t=>({className:`${U.DropboxButton} ${t.$disabled?U.disabled:""}`.trim()}))``,j=(0,Rt.forwardRef)(({as:t,asChild:o,children:i="Continue with Dropbox",iconPosition:c="left",showIcon:n=!0,iconSize:b=20,disabled:e,className:l,...r},s)=>(0,L.jsx)(po,{as:t,ref:s,asChild:o,icon:(0,L.jsx)(Wt.FaDropbox,{size:b}),showIcon:n,iconSize:b,disabled:e,$disabled:e,iconPosition:c,className:(0,Xt.default)(l,`_necto:${Nt}`),...r,children:i}));j.displayName=Nt;var At=d(require("clsx"),1),Yt=require("react"),ht=d(require("styled-components"),1);var Vt=require("react-icons/fa6");var O={};var z=require("react/jsx-runtime"),vt="FacebookButton",go=(0,ht.default)(a).attrs(t=>({className:`${O.FacebookButton} ${t.$disabled?O.disabled:""}`.trim()}))``,T=(0,Yt.forwardRef)(({as:t,asChild:o,children:i="Continue with Facebook",iconPosition:c="left",showIcon:n=!0,iconSize:b=20,disabled:e,className:l,...r},s)=>(0,z.jsx)(go,{as:t,ref:s,asChild:o,showIcon:n,iconSize:b,disabled:e,$disabled:e,iconPosition:c,icon:(0,z.jsx)(Vt.FaFacebook,{size:b}),className:(0,At.default)(l,`_necto:${vt}`),...r,children:i}));T.displayName=vt;var Ut=d(require("clsx"),1),Lt=require("react"),jt=d(require("styled-components"),1);var Ot=require("react-icons/fa");var J={};var E=require("react/jsx-runtime"),zt="GitHubButton",Zo=(0,jt.default)(a).attrs(t=>({className:`${J.GitHubButton} ${t.$disabled?J.disabled:""}`.trim()}))``,D=(0,Lt.forwardRef)(({as:t,asChild:o,children:i="Continue with GitHub",iconPosition:c="left",showIcon:n=!0,iconSize:b=20,disabled:e,className:l,...r},s)=>(0,E.jsx)(Zo,{as:t,ref:s,asChild:o,showIcon:n,iconSize:b,disabled:e,$disabled:e,iconPosition:c,icon:(0,E.jsx)(Ot.FaGithub,{size:b}),className:(0,Ut.default)(l,`_necto:${zt}`),...r,children:i}));D.displayName=zt;var Tt=d(require("clsx"),1),Jt=require("react"),Et=d(require("styled-components"),1);var w={};var Dt=require("react-icons/fa6"),k=require("react/jsx-runtime"),wt="GitLabButton",yo=(0,Et.default)(a).attrs(t=>({className:`${w.GitLabButton} ${t.$disabled?w.disabled:""}`.trim()}))``,M=(0,Jt.forwardRef)(({as:t,asChild:o,children:i="Continue with GitLab",iconPosition:c="left",showIcon:n=!0,iconSize:b=20,disabled:e,className:l,...r},s)=>(0,k.jsx)(yo,{as:t,ref:s,asChild:o,showIcon:n,iconSize:b,disabled:e,$disabled:e,iconPosition:c,icon:(0,k.jsx)(Dt.FaGitlab,{size:b}),className:(0,Tt.default)(l,`_necto:${wt}`),...r,children:i}));M.displayName=wt;var kt=require("react"),Mt=d(require("styled-components"),1);var Ht=require("react-icons/fc");var H={};var S=require("react/jsx-runtime"),fo="GoogleButton",Qo=(0,Mt.default)(a).attrs(t=>({className:`${H.GoogleButton} ${t.$disabled?H.disabled:""}`.trim()}))``,P=(0,kt.forwardRef)(({as:t,asChild:o,children:i="Continue with Google",iconPosition:c="left",showIcon:n=!0,iconSize:b=20,disabled:e,className:l,...r},s)=>(0,S.jsx)(Qo,{as:t,ref:s,asChild:o,showIcon:n,disabled:e,$disabled:e,className:l,iconPosition:c,icon:(0,S.jsx)(Ht.FcGoogle,{size:b}),...r,children:i}));P.displayName=fo;0&&(module.exports={AppleButton,AtlassianButton,BitbucketButton,DiscordButton,DropboxButton,Else,FacebookButton,GitHubButton,GitLabButton,GoogleButton,If,Primitive});
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.global.js
CHANGED
|
@@ -15,7 +15,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
15
15
|
<%s {...props} />
|
|
16
16
|
React keys must be passed directly to JSX without using spread:
|
|
17
17
|
let props = %s;
|
|
18
|
-
<%s key={someKey} {...props} />`,_,j,t1,j),r1[j+_]=!0)}if(j=null,V!==void 0&&(a(V),j=""+V),h(x)&&(a(x.key),j=""+x.key),"key"in x){V={};for(var C1 in x)C1!=="key"&&(V[C1]=x[C1])}else V=x;return j&&d(V,typeof s=="function"?s.displayName||s.name||"Unknown":s),z(s,j,c1,i1,i(),V,o1,n1)}function L(s){typeof s=="object"&&s!==null&&s.$$typeof===w&&s._store&&(s._store.validated=1)}var C=J(),w=Symbol.for("react.transitional.element"),R=Symbol.for("react.portal"),E=Symbol.for("react.fragment"),K=Symbol.for("react.strict_mode"),I=Symbol.for("react.profiler");Symbol.for("react.provider");var U=Symbol.for("react.consumer"),Z=Symbol.for("react.context"),D=Symbol.for("react.forward_ref"),W=Symbol.for("react.suspense"),B=Symbol.for("react.suspense_list"),M=Symbol.for("react.memo"),h1=Symbol.for("react.lazy"),T=Symbol.for("react.activity"),l2=Symbol.for("react.client.reference"),x1=C.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,M1=Object.prototype.hasOwnProperty,f1=Array.isArray,w1=console.createTask?console.createTask:function(){return null};C={"react-stack-bottom-frame":function(s){return s()}};var S1,b1={},B1=C["react-stack-bottom-frame"].bind(C,e)(),F1=w1(r(e)),r1={};f2.Fragment=E,f2.jsx=function(s,x,V,_,i1){var c1=1e4>x1.recentlyCreatedOwnerStacks++;return p(s,x,V,!1,_,i1,c1?Error("react-stack-top-frame"):B1,c1?w1(r(s)):F1)},f2.jsxs=function(s,x,V,_,i1){var c1=1e4>x1.recentlyCreatedOwnerStacks++;return p(s,x,V,!0,_,i1,c1?Error("react-stack-top-frame"):B1,c1?w1(r(s)):F1)}}()});var P=I1((c7,a4)=>{"use strict";process.env.NODE_ENV==="production"?a4.exports=J3():a4.exports=$3()});var o0=I1((L7,h0)=>{"use strict";h0.exports=function(t,a,r,i){var e=r?r.call(i,t,a):void 0;if(e!==void 0)return!!e;if(t===a)return!0;if(typeof t!="object"||!t||typeof a!="object"||!a)return!1;var h=Object.keys(t),d=Object.keys(a);if(h.length!==d.length)return!1;for(var n=Object.prototype.hasOwnProperty.bind(a),z=0;z<h.length;z++){var p=h[z];if(!n(p))return!1;var L=t[p],C=a[p];if(e=r?r.call(i,L,C,p):void 0,e===!1||e===void 0&&L!==C)return!1}return!0}});var t8=Object.defineProperty,x2=(c,t)=>{for(var a in t)t8(c,a,{get:t[a],enumerable:!0})},r2={};x2(r2,{HTML_TAGS:()=>l3,PRIMITIVE_TAGS:()=>a3,default:()=>a8});var a3=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],l3=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","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","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","script","search","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"],a8={PRIMITIVE_TAGS:a3,HTML_TAGS:l3},l8={};x2(l8,{NUMERIC_DIGITS:()=>r3,default:()=>r8});var r3=["1","2","3","4","5","6","7","8","9","0"],r8={NUMERIC_DIGITS:r3},i8={};x2(i8,{AMPERSAND:()=>z3,ASTERISK:()=>p3,BACKSLASH:()=>V3,BOM:()=>i3,CARRIAGE_RETURN:()=>o3,COLON:()=>L3,COMMA:()=>M3,COMMERCIAL_AT:()=>F3,DOT:()=>m3,DOUBLE_QUOTE:()=>d3,EXCLAMATION:()=>s3,GRAVE_ACCENT:()=>A3,GREATER_THAN:()=>w3,LEFT_CURLY_BRACKET:()=>S3,LEFT_SQUARE_BRACKET:()=>H3,LINE_FEED:()=>h3,MINUS:()=>C3,PERCENT:()=>v3,PLUS:()=>x3,QUESTION:()=>B3,RIGHT_CURLY_BRACKET:()=>R3,RIGHT_SQUARE_BRACKET:()=>y3,SHARP:()=>g3,SINGLE_QUOTE:()=>u3,SMALLER_THAN:()=>f3,SPACE:()=>n3,TAB:()=>e3,VERTICAL_LINE:()=>b3,default:()=>e8});var i3=65279,e3=9,h3=10,o3=13,n3=32,s3=33,d3=34,g3=35,v3=37,z3=38,u3=39,p3=42,x3=43,M3=44,C3=45,m3=46,L3=58,f3=60,w3=62,B3=63,F3=64,H3=91,V3=92,y3=93,A3=96,S3=123,b3=124,R3=125,e8={BOM:i3,TAB:e3,LINE_FEED:h3,CARRIAGE_RETURN:o3,SPACE:n3,EXCLAMATION:s3,DOUBLE_QUOTE:d3,SHARP:g3,PERCENT:v3,AMPERSAND:z3,SINGLE_QUOTE:u3,ASTERISK:p3,PLUS:x3,COMMA:M3,MINUS:C3,DOT:m3,COLON:L3,SMALLER_THAN:f3,GREATER_THAN:w3,QUESTION:B3,COMMERCIAL_AT:F3,LEFT_SQUARE_BRACKET:H3,BACKSLASH:V3,RIGHT_SQUARE_BRACKET:y3,GRAVE_ACCENT:A3,LEFT_CURLY_BRACKET:S3,VERTICAL_LINE:b3,RIGHT_CURLY_BRACKET:R3},h8={};x2(h8,{CAPITALIZED:()=>k3,LOWERCASE:()=>Z3,VOWELS:()=>E3,default:()=>o8});var k3=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],Z3=["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"],E3=["A","E","I","O","U","a","e","i","o","u"],o8={CAPITALIZED:k3,LOWERCASE:Z3,VOWELS:E3};var i2=new Map,I3=new Set;function n8(c){if(!("propertyName"in c)||!c.target)return;let t=i2.get(c.target);t||(t=new Set,i2.set(c.target,t),c.target.addEventListener("transitioncancel",X2,{once:!0})),t.add(c.propertyName)}function X2(c){if(!("propertyName"in c)||!c.target)return;let t=i2.get(c.target);if(t&&(t.delete(c.propertyName),t.size===0&&(c.target.removeEventListener("transitioncancel",X2),i2.delete(c.target)),i2.size===0)){for(let a of I3)a();I3.clear()}}if(typeof window<"u"&&typeof document<"u"){let c=()=>{let t=document.body;t&&(t.addEventListener("transitionrun",n8),t.addEventListener("transitionend",X2))};document.readyState!=="loading"?c():document.addEventListener("DOMContentLoaded",c,{once:!0})}var M2=r2.HTML_TAGS.reduce((c,t)=>{var a;return c[a=t,a.charAt(0).toUpperCase()+a.slice(1)]=t,c},{});var V1=m(J(),1),c0=m(P(),1),V8=M2.Div,K3=({as:c,asChild:t,children:a,...r},i)=>{let e=c??V8;if(t){let h=V1.Children.only(a);return(0,V1.isValidElement)(h)?(0,V1.cloneElement)(h,{...r,ref:h.ref??i}):null}return(0,c0.jsx)(e,{ref:i,...r,children:a})},l4=Object.assign((0,V1.forwardRef)(K3),r2.HTML_TAGS.reduce((c,t)=>{let a=t,r=t[0].toUpperCase()+t.slice(1),i=(0,V1.forwardRef)((e,h)=>K3({...e,as:t},h));return c[a]=i,c[r]=i,c},{}));var t0=m(J(),1),a0=m(P(),1),r4=c=>{let{children:t}=c;return(0,a0.jsx)(t0.Fragment,{children:typeof t=="function"?t():t})};var w2=m(J(),1),l0=m(P(),1),B2=c=>{let{condition:t,keepAlive:a,children:r}=c;if(!r)return null;let i=!!(typeof t=="function"?t():t);return(0,l0.jsx)(w2.Fragment,{children:w2.Children.toArray(r).find(e=>e.type!==r4!=!i)||null})};function r0(c){var t,a,r="";if(typeof c=="string"||typeof c=="number")r+=c;else if(typeof c=="object")if(Array.isArray(c)){var i=c.length;for(t=0;t<i;t++)c[t]&&(a=r0(c[t]))&&(r&&(r+=" "),r+=a)}else for(a in c)c[a]&&(r&&(r+=" "),r+=a);return r}function y8(){for(var c,t,a=0,r="",i=arguments.length;a<i;a++)(c=arguments[a])&&(t=r0(c))&&(r&&(r+=" "),r+=t);return r}var a1=y8;var v6=m(J(),1);var l1=function(){return l1=Object.assign||function(t){for(var a,r=1,i=arguments.length;r<i;r++){a=arguments[r];for(var e in a)Object.prototype.hasOwnProperty.call(a,e)&&(t[e]=a[e])}return t},l1.apply(this,arguments)};function D1(c,t,a){if(a||arguments.length===2)for(var r=0,i=t.length,e;r<i;r++)(e||!(r in t))&&(e||(e=Array.prototype.slice.call(t,0,r)),e[r]=t[r]);return c.concat(e||Array.prototype.slice.call(t))}function i0(c){var t=Object.create(null);return function(a){return t[a]===void 0&&(t[a]=c(a)),t[a]}}var A8=/^((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)-.*))$/,e0=i0(function(c){return A8.test(c)||c.charCodeAt(0)===111&&c.charCodeAt(1)===110&&c.charCodeAt(2)<91});var N=m(J()),U0=m(o0());var O="-ms-",T1="-moz-",k="-webkit-",F2="comm",k1="rule",_1="decl";var n0="@import";var H2="@keyframes";var s0="@layer";var i4=Math.abs,e2=String.fromCharCode,h2=Object.assign;function d0(c,t){return X(c,0)^45?(((t<<2^X(c,0))<<2^X(c,1))<<2^X(c,2))<<2^X(c,3):0}function V2(c){return c.trim()}function z1(c,t){return(c=t.exec(c))?c[0]:c}function f(c,t,a){return c.replace(t,a)}function X1(c,t,a){return c.indexOf(t,a)}function X(c,t){return c.charCodeAt(t)|0}function m1(c,t,a){return c.slice(t,a)}function e1(c){return c.length}function y2(c){return c.length}function G1(c,t){return t.push(c),c}function g0(c,t){return c.map(t).join("")}function e4(c,t){return c.filter(function(a){return!z1(a,t)})}var A2=1,Y1=1,v0=0,d1=0,Y=0,q1="";function o2(c,t,a,r,i,e,h,d){return{value:c,root:t,parent:a,type:r,props:i,children:e,line:A2,column:Y1,length:h,return:"",siblings:d}}function y1(c,t){return h2(o2("",null,null,"",null,null,0,c.siblings),c,{length:-c.length},t)}function P1(c){for(;c.root;)c=y1(c.root,{children:[c]});G1(c,c.siblings)}function z0(){return Y}function u0(){return Y=d1>0?X(q1,--d1):0,Y1--,Y===10&&(Y1=1,A2--),Y}function g1(){return Y=d1<v0?X(q1,d1++):0,Y1++,Y===10&&(Y1=1,A2++),Y}function Z1(){return X(q1,d1)}function n2(){return d1}function S2(c,t){return m1(q1,c,t)}function h4(c){switch(c){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 p0(c){return A2=Y1=1,v0=e1(q1=c),d1=0,[]}function x0(c){return q1="",c}function b2(c){return V2(S2(d1-1,o4(c===91?c+2:c===40?c+1:c)))}function M0(c){for(;(Y=Z1())&&Y<33;)g1();return h4(c)>2||h4(Y)>3?"":" "}function C0(c,t){for(;--t&&g1()&&!(Y<48||Y>102||Y>57&&Y<65||Y>70&&Y<97););return S2(c,n2()+(t<6&&Z1()==32&&g1()==32))}function o4(c){for(;g1();)switch(Y){case c:return d1;case 34:case 39:c!==34&&c!==39&&o4(Y);break;case 40:c===41&&o4(c);break;case 92:g1();break}return d1}function m0(c,t){for(;g1()&&c+Y!==57;)if(c+Y===84&&Z1()===47)break;return"/*"+S2(t,d1-1)+"*"+e2(c===47?c:g1())}function L0(c){for(;!h4(Z1());)g1();return S2(c,d1)}function B0(c){return x0(R2("",null,null,null,[""],c=p0(c),0,[0],c))}function R2(c,t,a,r,i,e,h,d,n){for(var z=0,p=0,L=h,C=0,w=0,R=0,E=1,K=1,I=1,U=0,Z="",D=i,W=e,B=r,M=Z;K;)switch(R=U,U=g1()){case 40:if(R!=108&&X(M,L-1)==58){X1(M+=f(b2(U),"&","&\f"),"&\f",i4(z?d[z-1]:0))!=-1&&(I=-1);break}case 34:case 39:case 91:M+=b2(U);break;case 9:case 10:case 13:case 32:M+=M0(R);break;case 92:M+=C0(n2()-1,7);continue;case 47:switch(Z1()){case 42:case 47:G1(S8(m0(g1(),n2()),t,a,n),n);break;default:M+="/"}break;case 123*E:d[z++]=e1(M)*I;case 125*E:case 59:case 0:switch(U){case 0:case 125:K=0;case 59+p:I==-1&&(M=f(M,/\f/g,"")),w>0&&e1(M)-L&&G1(w>32?w0(M+";",r,a,L-1,n):w0(f(M," ","")+";",r,a,L-2,n),n);break;case 59:M+=";";default:if(G1(B=f0(M,t,a,z,p,i,d,Z,D=[],W=[],L,e),e),U===123)if(p===0)R2(M,t,B,B,D,e,L,d,W);else switch(C===99&&X(M,3)===110?100:C){case 100:case 108:case 109:case 115:R2(c,B,B,r&&G1(f0(c,B,B,0,0,i,d,Z,i,D=[],L,W),W),i,W,L,d,r?D:W);break;default:R2(M,B,B,B,[""],W,0,d,W)}}z=p=w=0,E=I=1,Z=M="",L=h;break;case 58:L=1+e1(M),w=R;default:if(E<1){if(U==123)--E;else if(U==125&&E++==0&&u0()==125)continue}switch(M+=e2(U),U*E){case 38:I=p>0?1:(M+="\f",-1);break;case 44:d[z++]=(e1(M)-1)*I,I=1;break;case 64:Z1()===45&&(M+=b2(g1())),C=Z1(),p=L=e1(Z=M+=L0(n2())),U++;break;case 45:R===45&&e1(M)==2&&(E=0)}}return e}function f0(c,t,a,r,i,e,h,d,n,z,p,L){for(var C=i-1,w=i===0?e:[""],R=y2(w),E=0,K=0,I=0;E<r;++E)for(var U=0,Z=m1(c,C+1,C=i4(K=h[E])),D=c;U<R;++U)(D=V2(K>0?w[U]+" "+Z:f(Z,/&\f/g,w[U])))&&(n[I++]=D);return o2(c,t,a,i===0?k1:d,n,z,p,L)}function S8(c,t,a,r){return o2(c,t,a,F2,e2(z0()),m1(c,2,-2),0,r)}function w0(c,t,a,r,i){return o2(c,t,a,_1,m1(c,0,r),m1(c,r+1,-1),r,i)}function n4(c,t,a){switch(d0(c,t)){case 5103:return k+"print-"+c+c;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 k+c+c;case 4789:return T1+c+c;case 5349:case 4246:case 4810:case 6968:case 2756:return k+c+T1+c+O+c+c;case 5936:switch(X(c,t+11)){case 114:return k+c+O+f(c,/[svh]\w+-[tblr]{2}/,"tb")+c;case 108:return k+c+O+f(c,/[svh]\w+-[tblr]{2}/,"tb-rl")+c;case 45:return k+c+O+f(c,/[svh]\w+-[tblr]{2}/,"lr")+c}case 6828:case 4268:case 2903:return k+c+O+c+c;case 6165:return k+c+O+"flex-"+c+c;case 5187:return k+c+f(c,/(\w+).+(:[^]+)/,k+"box-$1$2"+O+"flex-$1$2")+c;case 5443:return k+c+O+"flex-item-"+f(c,/flex-|-self/g,"")+(z1(c,/flex-|baseline/)?"":O+"grid-row-"+f(c,/flex-|-self/g,""))+c;case 4675:return k+c+O+"flex-line-pack"+f(c,/align-content|flex-|-self/g,"")+c;case 5548:return k+c+O+f(c,"shrink","negative")+c;case 5292:return k+c+O+f(c,"basis","preferred-size")+c;case 6060:return k+"box-"+f(c,"-grow","")+k+c+O+f(c,"grow","positive")+c;case 4554:return k+f(c,/([^-])(transform)/g,"$1"+k+"$2")+c;case 6187:return f(f(f(c,/(zoom-|grab)/,k+"$1"),/(image-set)/,k+"$1"),c,"")+c;case 5495:case 3959:return f(c,/(image-set\([^]*)/,k+"$1$`$1");case 4968:return f(f(c,/(.+:)(flex-)?(.*)/,k+"box-pack:$3"+O+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+k+c+c;case 4200:if(!z1(c,/flex-|baseline/))return O+"grid-column-align"+m1(c,t)+c;break;case 2592:case 3360:return O+f(c,"template-","")+c;case 4384:case 3616:return a&&a.some(function(r,i){return t=i,z1(r.props,/grid-\w+-end/)})?~X1(c+(a=a[t].value),"span",0)?c:O+f(c,"-start","")+c+O+"grid-row-span:"+(~X1(a,"span",0)?z1(a,/\d+/):+z1(a,/\d+/)-+z1(c,/\d+/))+";":O+f(c,"-start","")+c;case 4896:case 4128:return a&&a.some(function(r){return z1(r.props,/grid-\w+-start/)})?c:O+f(f(c,"-end","-span"),"span ","")+c;case 4095:case 3583:case 4068:case 2532:return f(c,/(.+)-inline(.+)/,k+"$1$2")+c;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(e1(c)-1-t>6)switch(X(c,t+1)){case 109:if(X(c,t+4)!==45)break;case 102:return f(c,/(.+:)(.+)-([^]+)/,"$1"+k+"$2-$3$1"+T1+(X(c,t+3)==108?"$3":"$2-$3"))+c;case 115:return~X1(c,"stretch",0)?n4(f(c,"stretch","fill-available"),t,a)+c:c}break;case 5152:case 5920:return f(c,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(r,i,e,h,d,n,z){return O+i+":"+e+z+(h?O+i+"-span:"+(d?n:+n-+e)+z:"")+c});case 4949:if(X(c,t+6)===121)return f(c,":",":"+k)+c;break;case 6444:switch(X(c,X(c,14)===45?18:11)){case 120:return f(c,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+k+(X(c,14)===45?"inline-":"")+"box$3$1"+k+"$2$3$1"+O+"$2box$3")+c;case 100:return f(c,":",":"+O)+c}break;case 5719:case 2647:case 2135:case 3927:case 2391:return f(c,"scroll-","scroll-snap-")+c}return c}function J1(c,t){for(var a="",r=0;r<c.length;r++)a+=t(c[r],r,c,t)||"";return a}function F0(c,t,a,r){switch(c.type){case s0:if(c.children.length)break;case n0:case _1:return c.return=c.return||c.value;case F2:return"";case H2:return c.return=c.value+"{"+J1(c.children,r)+"}";case k1:if(!e1(c.value=c.props.join(",")))return""}return e1(a=J1(c.children,r))?c.return=c.value+"{"+a+"}":""}function H0(c){var t=y2(c);return function(a,r,i,e){for(var h="",d=0;d<t;d++)h+=c[d](a,r,i,e)||"";return h}}function V0(c){return function(t){t.root||(t=t.return)&&c(t)}}function y0(c,t,a,r){if(c.length>-1&&!c.return)switch(c.type){case _1:c.return=n4(c.value,c.length,a);return;case H2:return J1([y1(c,{value:f(c.value,"@","@"+k)})],r);case k1:if(c.length)return g0(a=c.props,function(i){switch(z1(i,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":P1(y1(c,{props:[f(i,/:(read-\w+)/,":"+T1+"$1")]})),P1(y1(c,{props:[i]})),h2(c,{props:e4(a,r)});break;case"::placeholder":P1(y1(c,{props:[f(i,/:(plac\w+)/,":"+k+"input-$1")]})),P1(y1(c,{props:[f(i,/:(plac\w+)/,":"+T1+"$1")]})),P1(y1(c,{props:[f(i,/:(plac\w+)/,O+"input-$1")]})),P1(y1(c,{props:[i]})),h2(c,{props:e4(a,r)});break}return""})}}var A0={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};var A1=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",W0="active",G2="data-styled-version",$1="6.1.19",m4=`/*!sc*/
|
|
18
|
+
<%s key={someKey} {...props} />`,_,j,t1,j),r1[j+_]=!0)}if(j=null,V!==void 0&&(a(V),j=""+V),h(x)&&(a(x.key),j=""+x.key),"key"in x){V={};for(var C1 in x)C1!=="key"&&(V[C1]=x[C1])}else V=x;return j&&d(V,typeof s=="function"?s.displayName||s.name||"Unknown":s),z(s,j,c1,i1,i(),V,o1,n1)}function L(s){typeof s=="object"&&s!==null&&s.$$typeof===w&&s._store&&(s._store.validated=1)}var C=J(),w=Symbol.for("react.transitional.element"),R=Symbol.for("react.portal"),E=Symbol.for("react.fragment"),K=Symbol.for("react.strict_mode"),I=Symbol.for("react.profiler");Symbol.for("react.provider");var U=Symbol.for("react.consumer"),Z=Symbol.for("react.context"),D=Symbol.for("react.forward_ref"),W=Symbol.for("react.suspense"),B=Symbol.for("react.suspense_list"),M=Symbol.for("react.memo"),h1=Symbol.for("react.lazy"),T=Symbol.for("react.activity"),l2=Symbol.for("react.client.reference"),x1=C.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,M1=Object.prototype.hasOwnProperty,f1=Array.isArray,w1=console.createTask?console.createTask:function(){return null};C={"react-stack-bottom-frame":function(s){return s()}};var S1,b1={},B1=C["react-stack-bottom-frame"].bind(C,e)(),F1=w1(r(e)),r1={};f2.Fragment=E,f2.jsx=function(s,x,V,_,i1){var c1=1e4>x1.recentlyCreatedOwnerStacks++;return p(s,x,V,!1,_,i1,c1?Error("react-stack-top-frame"):B1,c1?w1(r(s)):F1)},f2.jsxs=function(s,x,V,_,i1){var c1=1e4>x1.recentlyCreatedOwnerStacks++;return p(s,x,V,!0,_,i1,c1?Error("react-stack-top-frame"):B1,c1?w1(r(s)):F1)}}()});var P=I1((c7,a4)=>{"use strict";process.env.NODE_ENV==="production"?a4.exports=J3():a4.exports=$3()});var o0=I1((M7,h0)=>{"use strict";h0.exports=function(t,a,r,i){var e=r?r.call(i,t,a):void 0;if(e!==void 0)return!!e;if(t===a)return!0;if(typeof t!="object"||!t||typeof a!="object"||!a)return!1;var h=Object.keys(t),d=Object.keys(a);if(h.length!==d.length)return!1;for(var n=Object.prototype.hasOwnProperty.bind(a),z=0;z<h.length;z++){var p=h[z];if(!n(p))return!1;var L=t[p],C=a[p];if(e=r?r.call(i,L,C,p):void 0,e===!1||e===void 0&&L!==C)return!1}return!0}});var t8=Object.defineProperty,x2=(c,t)=>{for(var a in t)t8(c,a,{get:t[a],enumerable:!0})},r2={};x2(r2,{HTML_TAGS:()=>l3,PRIMITIVE_TAGS:()=>a3,default:()=>a8});var a3=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],l3=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","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","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","script","search","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"],a8={PRIMITIVE_TAGS:a3,HTML_TAGS:l3},l8={};x2(l8,{NUMERIC_DIGITS:()=>r3,default:()=>r8});var r3=["1","2","3","4","5","6","7","8","9","0"],r8={NUMERIC_DIGITS:r3},i8={};x2(i8,{AMPERSAND:()=>z3,ASTERISK:()=>p3,BACKSLASH:()=>V3,BOM:()=>i3,CARRIAGE_RETURN:()=>o3,COLON:()=>L3,COMMA:()=>M3,COMMERCIAL_AT:()=>F3,DOT:()=>m3,DOUBLE_QUOTE:()=>d3,EXCLAMATION:()=>s3,GRAVE_ACCENT:()=>A3,GREATER_THAN:()=>w3,LEFT_CURLY_BRACKET:()=>S3,LEFT_SQUARE_BRACKET:()=>H3,LINE_FEED:()=>h3,MINUS:()=>C3,PERCENT:()=>v3,PLUS:()=>x3,QUESTION:()=>B3,RIGHT_CURLY_BRACKET:()=>R3,RIGHT_SQUARE_BRACKET:()=>y3,SHARP:()=>g3,SINGLE_QUOTE:()=>u3,SMALLER_THAN:()=>f3,SPACE:()=>n3,TAB:()=>e3,VERTICAL_LINE:()=>b3,default:()=>e8});var i3=65279,e3=9,h3=10,o3=13,n3=32,s3=33,d3=34,g3=35,v3=37,z3=38,u3=39,p3=42,x3=43,M3=44,C3=45,m3=46,L3=58,f3=60,w3=62,B3=63,F3=64,H3=91,V3=92,y3=93,A3=96,S3=123,b3=124,R3=125,e8={BOM:i3,TAB:e3,LINE_FEED:h3,CARRIAGE_RETURN:o3,SPACE:n3,EXCLAMATION:s3,DOUBLE_QUOTE:d3,SHARP:g3,PERCENT:v3,AMPERSAND:z3,SINGLE_QUOTE:u3,ASTERISK:p3,PLUS:x3,COMMA:M3,MINUS:C3,DOT:m3,COLON:L3,SMALLER_THAN:f3,GREATER_THAN:w3,QUESTION:B3,COMMERCIAL_AT:F3,LEFT_SQUARE_BRACKET:H3,BACKSLASH:V3,RIGHT_SQUARE_BRACKET:y3,GRAVE_ACCENT:A3,LEFT_CURLY_BRACKET:S3,VERTICAL_LINE:b3,RIGHT_CURLY_BRACKET:R3},h8={};x2(h8,{CAPITALIZED:()=>k3,LOWERCASE:()=>Z3,VOWELS:()=>E3,default:()=>o8});var k3=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],Z3=["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"],E3=["A","E","I","O","U","a","e","i","o","u"],o8={CAPITALIZED:k3,LOWERCASE:Z3,VOWELS:E3};var i2=new Map,I3=new Set;function n8(c){if(!("propertyName"in c)||!c.target)return;let t=i2.get(c.target);t||(t=new Set,i2.set(c.target,t),c.target.addEventListener("transitioncancel",X2,{once:!0})),t.add(c.propertyName)}function X2(c){if(!("propertyName"in c)||!c.target)return;let t=i2.get(c.target);if(t&&(t.delete(c.propertyName),t.size===0&&(c.target.removeEventListener("transitioncancel",X2),i2.delete(c.target)),i2.size===0)){for(let a of I3)a();I3.clear()}}if(typeof window<"u"&&typeof document<"u"){let c=()=>{let t=document.body;t&&(t.addEventListener("transitionrun",n8),t.addEventListener("transitionend",X2))};document.readyState!=="loading"?c():document.addEventListener("DOMContentLoaded",c,{once:!0})}var M2=r2.HTML_TAGS.reduce((c,t)=>{var a;return c[a=t,a.charAt(0).toUpperCase()+a.slice(1)]=t,c},{});var V1=m(J(),1),c0=m(P(),1),V8=M2.Div,K3=({as:c,asChild:t,children:a,...r},i)=>{let e=c??V8;if(t){let h=V1.Children.only(a);return(0,V1.isValidElement)(h)?(0,V1.cloneElement)(h,{...r,ref:h.ref??i}):null}return(0,c0.jsx)(e,{ref:i,...r,children:a})},l4=Object.assign((0,V1.forwardRef)(K3),r2.HTML_TAGS.reduce((c,t)=>{let a=t,r=t[0].toUpperCase()+t.slice(1),i=(0,V1.forwardRef)((e,h)=>K3({...e,as:t},h));return c[a]=i,c[r]=i,c},{}));var t0=m(J(),1),a0=m(P(),1),r4=c=>{let{children:t}=c;return(0,a0.jsx)(t0.Fragment,{children:typeof t=="function"?t():t})};var w2=m(J(),1),l0=m(P(),1),B2=c=>{let{condition:t,keepAlive:a,children:r}=c;if(!r)return null;let i=!!(typeof t=="function"?t():t);return(0,l0.jsx)(w2.Fragment,{children:w2.Children.toArray(r).find(e=>e.type!==r4!=!i)||null})};function r0(c){var t,a,r="";if(typeof c=="string"||typeof c=="number")r+=c;else if(typeof c=="object")if(Array.isArray(c)){var i=c.length;for(t=0;t<i;t++)c[t]&&(a=r0(c[t]))&&(r&&(r+=" "),r+=a)}else for(a in c)c[a]&&(r&&(r+=" "),r+=a);return r}function y8(){for(var c,t,a=0,r="",i=arguments.length;a<i;a++)(c=arguments[a])&&(t=r0(c))&&(r&&(r+=" "),r+=t);return r}var a1=y8;var v6=m(J(),1);var l1=function(){return l1=Object.assign||function(t){for(var a,r=1,i=arguments.length;r<i;r++){a=arguments[r];for(var e in a)Object.prototype.hasOwnProperty.call(a,e)&&(t[e]=a[e])}return t},l1.apply(this,arguments)};function D1(c,t,a){if(a||arguments.length===2)for(var r=0,i=t.length,e;r<i;r++)(e||!(r in t))&&(e||(e=Array.prototype.slice.call(t,0,r)),e[r]=t[r]);return c.concat(e||Array.prototype.slice.call(t))}function i0(c){var t=Object.create(null);return function(a){return t[a]===void 0&&(t[a]=c(a)),t[a]}}var A8=/^((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)-.*))$/,e0=i0(function(c){return A8.test(c)||c.charCodeAt(0)===111&&c.charCodeAt(1)===110&&c.charCodeAt(2)<91});var N=m(J()),U0=m(o0());var O="-ms-",T1="-moz-",k="-webkit-",F2="comm",k1="rule",_1="decl";var n0="@import";var H2="@keyframes";var s0="@layer";var i4=Math.abs,e2=String.fromCharCode,h2=Object.assign;function d0(c,t){return X(c,0)^45?(((t<<2^X(c,0))<<2^X(c,1))<<2^X(c,2))<<2^X(c,3):0}function V2(c){return c.trim()}function z1(c,t){return(c=t.exec(c))?c[0]:c}function f(c,t,a){return c.replace(t,a)}function X1(c,t,a){return c.indexOf(t,a)}function X(c,t){return c.charCodeAt(t)|0}function m1(c,t,a){return c.slice(t,a)}function e1(c){return c.length}function y2(c){return c.length}function G1(c,t){return t.push(c),c}function g0(c,t){return c.map(t).join("")}function e4(c,t){return c.filter(function(a){return!z1(a,t)})}var A2=1,Y1=1,v0=0,d1=0,Y=0,q1="";function o2(c,t,a,r,i,e,h,d){return{value:c,root:t,parent:a,type:r,props:i,children:e,line:A2,column:Y1,length:h,return:"",siblings:d}}function y1(c,t){return h2(o2("",null,null,"",null,null,0,c.siblings),c,{length:-c.length},t)}function P1(c){for(;c.root;)c=y1(c.root,{children:[c]});G1(c,c.siblings)}function z0(){return Y}function u0(){return Y=d1>0?X(q1,--d1):0,Y1--,Y===10&&(Y1=1,A2--),Y}function g1(){return Y=d1<v0?X(q1,d1++):0,Y1++,Y===10&&(Y1=1,A2++),Y}function Z1(){return X(q1,d1)}function n2(){return d1}function S2(c,t){return m1(q1,c,t)}function h4(c){switch(c){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 p0(c){return A2=Y1=1,v0=e1(q1=c),d1=0,[]}function x0(c){return q1="",c}function b2(c){return V2(S2(d1-1,o4(c===91?c+2:c===40?c+1:c)))}function M0(c){for(;(Y=Z1())&&Y<33;)g1();return h4(c)>2||h4(Y)>3?"":" "}function C0(c,t){for(;--t&&g1()&&!(Y<48||Y>102||Y>57&&Y<65||Y>70&&Y<97););return S2(c,n2()+(t<6&&Z1()==32&&g1()==32))}function o4(c){for(;g1();)switch(Y){case c:return d1;case 34:case 39:c!==34&&c!==39&&o4(Y);break;case 40:c===41&&o4(c);break;case 92:g1();break}return d1}function m0(c,t){for(;g1()&&c+Y!==57;)if(c+Y===84&&Z1()===47)break;return"/*"+S2(t,d1-1)+"*"+e2(c===47?c:g1())}function L0(c){for(;!h4(Z1());)g1();return S2(c,d1)}function B0(c){return x0(R2("",null,null,null,[""],c=p0(c),0,[0],c))}function R2(c,t,a,r,i,e,h,d,n){for(var z=0,p=0,L=h,C=0,w=0,R=0,E=1,K=1,I=1,U=0,Z="",D=i,W=e,B=r,M=Z;K;)switch(R=U,U=g1()){case 40:if(R!=108&&X(M,L-1)==58){X1(M+=f(b2(U),"&","&\f"),"&\f",i4(z?d[z-1]:0))!=-1&&(I=-1);break}case 34:case 39:case 91:M+=b2(U);break;case 9:case 10:case 13:case 32:M+=M0(R);break;case 92:M+=C0(n2()-1,7);continue;case 47:switch(Z1()){case 42:case 47:G1(S8(m0(g1(),n2()),t,a,n),n);break;default:M+="/"}break;case 123*E:d[z++]=e1(M)*I;case 125*E:case 59:case 0:switch(U){case 0:case 125:K=0;case 59+p:I==-1&&(M=f(M,/\f/g,"")),w>0&&e1(M)-L&&G1(w>32?w0(M+";",r,a,L-1,n):w0(f(M," ","")+";",r,a,L-2,n),n);break;case 59:M+=";";default:if(G1(B=f0(M,t,a,z,p,i,d,Z,D=[],W=[],L,e),e),U===123)if(p===0)R2(M,t,B,B,D,e,L,d,W);else switch(C===99&&X(M,3)===110?100:C){case 100:case 108:case 109:case 115:R2(c,B,B,r&&G1(f0(c,B,B,0,0,i,d,Z,i,D=[],L,W),W),i,W,L,d,r?D:W);break;default:R2(M,B,B,B,[""],W,0,d,W)}}z=p=w=0,E=I=1,Z=M="",L=h;break;case 58:L=1+e1(M),w=R;default:if(E<1){if(U==123)--E;else if(U==125&&E++==0&&u0()==125)continue}switch(M+=e2(U),U*E){case 38:I=p>0?1:(M+="\f",-1);break;case 44:d[z++]=(e1(M)-1)*I,I=1;break;case 64:Z1()===45&&(M+=b2(g1())),C=Z1(),p=L=e1(Z=M+=L0(n2())),U++;break;case 45:R===45&&e1(M)==2&&(E=0)}}return e}function f0(c,t,a,r,i,e,h,d,n,z,p,L){for(var C=i-1,w=i===0?e:[""],R=y2(w),E=0,K=0,I=0;E<r;++E)for(var U=0,Z=m1(c,C+1,C=i4(K=h[E])),D=c;U<R;++U)(D=V2(K>0?w[U]+" "+Z:f(Z,/&\f/g,w[U])))&&(n[I++]=D);return o2(c,t,a,i===0?k1:d,n,z,p,L)}function S8(c,t,a,r){return o2(c,t,a,F2,e2(z0()),m1(c,2,-2),0,r)}function w0(c,t,a,r,i){return o2(c,t,a,_1,m1(c,0,r),m1(c,r+1,-1),r,i)}function n4(c,t,a){switch(d0(c,t)){case 5103:return k+"print-"+c+c;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 k+c+c;case 4789:return T1+c+c;case 5349:case 4246:case 4810:case 6968:case 2756:return k+c+T1+c+O+c+c;case 5936:switch(X(c,t+11)){case 114:return k+c+O+f(c,/[svh]\w+-[tblr]{2}/,"tb")+c;case 108:return k+c+O+f(c,/[svh]\w+-[tblr]{2}/,"tb-rl")+c;case 45:return k+c+O+f(c,/[svh]\w+-[tblr]{2}/,"lr")+c}case 6828:case 4268:case 2903:return k+c+O+c+c;case 6165:return k+c+O+"flex-"+c+c;case 5187:return k+c+f(c,/(\w+).+(:[^]+)/,k+"box-$1$2"+O+"flex-$1$2")+c;case 5443:return k+c+O+"flex-item-"+f(c,/flex-|-self/g,"")+(z1(c,/flex-|baseline/)?"":O+"grid-row-"+f(c,/flex-|-self/g,""))+c;case 4675:return k+c+O+"flex-line-pack"+f(c,/align-content|flex-|-self/g,"")+c;case 5548:return k+c+O+f(c,"shrink","negative")+c;case 5292:return k+c+O+f(c,"basis","preferred-size")+c;case 6060:return k+"box-"+f(c,"-grow","")+k+c+O+f(c,"grow","positive")+c;case 4554:return k+f(c,/([^-])(transform)/g,"$1"+k+"$2")+c;case 6187:return f(f(f(c,/(zoom-|grab)/,k+"$1"),/(image-set)/,k+"$1"),c,"")+c;case 5495:case 3959:return f(c,/(image-set\([^]*)/,k+"$1$`$1");case 4968:return f(f(c,/(.+:)(flex-)?(.*)/,k+"box-pack:$3"+O+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+k+c+c;case 4200:if(!z1(c,/flex-|baseline/))return O+"grid-column-align"+m1(c,t)+c;break;case 2592:case 3360:return O+f(c,"template-","")+c;case 4384:case 3616:return a&&a.some(function(r,i){return t=i,z1(r.props,/grid-\w+-end/)})?~X1(c+(a=a[t].value),"span",0)?c:O+f(c,"-start","")+c+O+"grid-row-span:"+(~X1(a,"span",0)?z1(a,/\d+/):+z1(a,/\d+/)-+z1(c,/\d+/))+";":O+f(c,"-start","")+c;case 4896:case 4128:return a&&a.some(function(r){return z1(r.props,/grid-\w+-start/)})?c:O+f(f(c,"-end","-span"),"span ","")+c;case 4095:case 3583:case 4068:case 2532:return f(c,/(.+)-inline(.+)/,k+"$1$2")+c;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(e1(c)-1-t>6)switch(X(c,t+1)){case 109:if(X(c,t+4)!==45)break;case 102:return f(c,/(.+:)(.+)-([^]+)/,"$1"+k+"$2-$3$1"+T1+(X(c,t+3)==108?"$3":"$2-$3"))+c;case 115:return~X1(c,"stretch",0)?n4(f(c,"stretch","fill-available"),t,a)+c:c}break;case 5152:case 5920:return f(c,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(r,i,e,h,d,n,z){return O+i+":"+e+z+(h?O+i+"-span:"+(d?n:+n-+e)+z:"")+c});case 4949:if(X(c,t+6)===121)return f(c,":",":"+k)+c;break;case 6444:switch(X(c,X(c,14)===45?18:11)){case 120:return f(c,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+k+(X(c,14)===45?"inline-":"")+"box$3$1"+k+"$2$3$1"+O+"$2box$3")+c;case 100:return f(c,":",":"+O)+c}break;case 5719:case 2647:case 2135:case 3927:case 2391:return f(c,"scroll-","scroll-snap-")+c}return c}function J1(c,t){for(var a="",r=0;r<c.length;r++)a+=t(c[r],r,c,t)||"";return a}function F0(c,t,a,r){switch(c.type){case s0:if(c.children.length)break;case n0:case _1:return c.return=c.return||c.value;case F2:return"";case H2:return c.return=c.value+"{"+J1(c.children,r)+"}";case k1:if(!e1(c.value=c.props.join(",")))return""}return e1(a=J1(c.children,r))?c.return=c.value+"{"+a+"}":""}function H0(c){var t=y2(c);return function(a,r,i,e){for(var h="",d=0;d<t;d++)h+=c[d](a,r,i,e)||"";return h}}function V0(c){return function(t){t.root||(t=t.return)&&c(t)}}function y0(c,t,a,r){if(c.length>-1&&!c.return)switch(c.type){case _1:c.return=n4(c.value,c.length,a);return;case H2:return J1([y1(c,{value:f(c.value,"@","@"+k)})],r);case k1:if(c.length)return g0(a=c.props,function(i){switch(z1(i,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":P1(y1(c,{props:[f(i,/:(read-\w+)/,":"+T1+"$1")]})),P1(y1(c,{props:[i]})),h2(c,{props:e4(a,r)});break;case"::placeholder":P1(y1(c,{props:[f(i,/:(plac\w+)/,":"+k+"input-$1")]})),P1(y1(c,{props:[f(i,/:(plac\w+)/,":"+T1+"$1")]})),P1(y1(c,{props:[f(i,/:(plac\w+)/,O+"input-$1")]})),P1(y1(c,{props:[i]})),h2(c,{props:e4(a,r)});break}return""})}}var A0={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};var A1=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",W0="active",G2="data-styled-version",$1="6.1.19",m4=`/*!sc*/
|
|
19
19
|
`,s2=typeof window<"u"&&typeof document<"u",b8=!!(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");var S0=/invalid hook call/i,k2=new Set,R8=function(c,t){if(process.env.NODE_ENV!=="production"){var a=t?' with the id of "'.concat(t,'"'):"",r="The component ".concat(c).concat(a,` has been created dynamically.
|
|
20
20
|
`)+`You may see this warning because you've called styled inside another component.
|
|
21
21
|
To resolve this only create new StyledComponents outside of any render method and function component.
|
|
@@ -61,7 +61,7 @@ as for instance in your render method then you may be running into this limitati
|
|
|
61
61
|
|
|
62
62
|
`,17:`CSSStyleSheet could not be found on HTMLStyleElement.
|
|
63
63
|
Has styled-components' style tag been unmounted or altered by another script?
|
|
64
|
-
`,18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"}:{};function _8(){for(var c=[],t=0;t<arguments.length;t++)c[t]=arguments[t];for(var a=c[0],r=[],i=1,e=c.length;i<e;i+=1)r.push(c[i]);return r.forEach(function(h){a=a.replace(/%[a-z]/,h)}),a}function u1(c){for(var t=[],a=1;a<arguments.length;a++)t[a-1]=arguments[a];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(c," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):"")):new Error(_8.apply(void 0,D1([Q8[c]],t,!1)).trim())}var X8=function(){function c(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}return c.prototype.indexOfGroup=function(t){for(var a=0,r=0;r<t;r++)a+=this.groupSizes[r];return a},c.prototype.insertRules=function(t,a){if(t>=this.groupSizes.length){for(var r=this.groupSizes,i=r.length,e=i;t>=e;)if((e<<=1)<0)throw u1(16,"".concat(t));this.groupSizes=new Uint32Array(e),this.groupSizes.set(r),this.length=e;for(var h=i;h<e;h++)this.groupSizes[h]=0}for(var d=this.indexOfGroup(t+1),n=(h=0,a.length);h<n;h++)this.tag.insertRule(d,a[h])&&(this.groupSizes[t]++,d++)},c.prototype.clearGroup=function(t){if(t<this.length){var a=this.groupSizes[t],r=this.indexOfGroup(t),i=r+a;this.groupSizes[t]=0;for(var e=r;e<i;e++)this.tag.deleteRule(r)}},c.prototype.getGroup=function(t){var a="";if(t>=this.length||this.groupSizes[t]===0)return a;for(var r=this.groupSizes[t],i=this.indexOfGroup(t),e=i+r,h=i;h<e;h++)a+="".concat(this.tag.getRule(h)).concat(m4);return a},c}(),Y8=1<<30,D2=new Map,O2=new Map,T2=1,E2=function(c){if(D2.has(c))return D2.get(c);for(;O2.has(T2);)T2++;var t=T2++;if(process.env.NODE_ENV!=="production"&&((0|t)<0||t>Y8))throw u1(16,"".concat(t));return D2.set(c,t),O2.set(t,c),t},q8=function(c,t){T2=t+1,D2.set(c,t),O2.set(t,c)},J8="style[".concat(A1,"][").concat(G2,'="').concat($1,'"]'),$8=new RegExp("^".concat(A1,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),K8=function(c,t,a){for(var r,i=a.split(","),e=0,h=i.length;e<h;e++)(r=i[e])&&c.registerName(t,r)},c5=function(c,t){for(var a,r=((a=t.textContent)!==null&&a!==void 0?a:"").split(m4),i=[],e=0,h=r.length;e<h;e++){var d=r[e].trim();if(d){var n=d.match($8);if(n){var z=0|parseInt(n[1],10),p=n[2];z!==0&&(q8(p,z),K8(c,p,n[3]),c.getTag().insertRules(z,i)),i.length=0}else i.push(d)}}},I0=function(c){for(var t=document.querySelectorAll(J8),a=0,r=t.length;a<r;a++){var i=t[a];i&&i.getAttribute(A1)!==W0&&(c5(c,i),i.parentNode&&i.parentNode.removeChild(i))}};function p4(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null}var $0=function(c){var t=document.head,a=c||t,r=document.createElement("style"),i=function(d){var n=Array.from(d.querySelectorAll("style[".concat(A1,"]")));return n[n.length-1]}(a),e=i!==void 0?i.nextSibling:null;r.setAttribute(A1,W0),r.setAttribute(G2,$1);var h=p4();return h&&r.setAttribute("nonce",h),a.insertBefore(r,e),r},t5=function(){function c(t){this.element=$0(t),this.element.appendChild(document.createTextNode("")),this.sheet=function(a){if(a.sheet)return a.sheet;for(var r=document.styleSheets,i=0,e=r.length;i<e;i++){var h=r[i];if(h.ownerNode===a)return h}throw u1(17)}(this.element),this.length=0}return c.prototype.insertRule=function(t,a){try{return this.sheet.insertRule(a,t),this.length++,!0}catch{return!1}},c.prototype.deleteRule=function(t){this.sheet.deleteRule(t),this.length--},c.prototype.getRule=function(t){var a=this.sheet.cssRules[t];return a&&a.cssText?a.cssText:""},c}(),a5=function(){function c(t){this.element=$0(t),this.nodes=this.element.childNodes,this.length=0}return c.prototype.insertRule=function(t,a){if(t<=this.length&&t>=0){var r=document.createTextNode(a);return this.element.insertBefore(r,this.nodes[t]||null),this.length++,!0}return!1},c.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},c.prototype.getRule=function(t){return t<this.length?this.nodes[t].textContent:""},c}(),l5=function(){function c(t){this.rules=[],this.length=0}return c.prototype.insertRule=function(t,a){return t<=this.length&&(this.rules.splice(t,0,a),this.length++,!0)},c.prototype.deleteRule=function(t){this.rules.splice(t,1),this.length--},c.prototype.getRule=function(t){return t<this.length?this.rules[t]:""},c}(),D0=s2,r5={isServer:!s2,useCSSOMInjection:!b8},d2=function(){function c(t,a,r){t===void 0&&(t=K1),a===void 0&&(a={});var i=this;this.options=l1(l1({},r5),t),this.gs=a,this.names=new Map(r),this.server=!!t.isServer,!this.server&&s2&&D0&&(D0=!1,I0(this)),f4(this,function(){return function(e){for(var h=e.getTag(),d=h.length,n="",z=function(L){var C=function(I){return O2.get(I)}(L);if(C===void 0)return"continue";var w=e.names.get(C),R=h.getGroup(L);if(w===void 0||!w.size||R.length===0)return"continue";var E="".concat(A1,".g").concat(L,'[id="').concat(C,'"]'),K="";w!==void 0&&w.forEach(function(I){I.length>0&&(K+="".concat(I,","))}),n+="".concat(R).concat(E,'{content:"').concat(K,'"}').concat(m4)},p=0;p<d;p++)z(p);return n}(i)})}return c.registerId=function(t){return E2(t)},c.prototype.rehydrate=function(){!this.server&&s2&&I0(this)},c.prototype.reconstructWithOptions=function(t,a){return a===void 0&&(a=!0),new c(l1(l1({},this.options),t),this.gs,a&&this.names||void 0)},c.prototype.allocateGSInstance=function(t){return this.gs[t]=(this.gs[t]||0)+1},c.prototype.getTag=function(){return this.tag||(this.tag=(t=function(a){var r=a.useCSSOMInjection,i=a.target;return a.isServer?new l5(i):r?new t5(i):new a5(i)}(this.options),new X8(t)));var t},c.prototype.hasNameForId=function(t,a){return this.names.has(t)&&this.names.get(t).has(a)},c.prototype.registerName=function(t,a){if(E2(t),this.names.has(t))this.names.get(t).add(a);else{var r=new Set;r.add(a),this.names.set(t,r)}},c.prototype.insertRules=function(t,a,r){this.registerName(t,a),this.getTag().insertRules(E2(t),r)},c.prototype.clearNames=function(t){this.names.has(t)&&this.names.get(t).clear()},c.prototype.clearRules=function(t){this.getTag().clearGroup(E2(t)),this.clearNames(t)},c.prototype.clearTag=function(){this.tag=void 0},c}(),i5=/&/g,e5=/^\s*\/\/.*$/gm;function K0(c,t){return c.map(function(a){return a.type==="rule"&&(a.value="".concat(t," ").concat(a.value),a.value=a.value.replaceAll(",",",".concat(t," ")),a.props=a.props.map(function(r){return"".concat(t," ").concat(r)})),Array.isArray(a.children)&&a.type!=="@keyframes"&&(a.children=K0(a.children,t)),a})}function c6(c){var t,a,r,i=c===void 0?K1:c,e=i.options,h=e===void 0?K1:e,d=i.plugins,n=d===void 0?N2:d,z=function(C,w,R){return R.startsWith(a)&&R.endsWith(a)&&R.replaceAll(a,"").length>0?".".concat(t):C},p=n.slice();p.push(function(C){C.type===k1&&C.value.includes("&")&&(C.props[0]=C.props[0].replace(i5,a).replace(r,z))}),h.prefix&&p.push(y0),p.push(F0);var L=function(C,w,R,E){w===void 0&&(w=""),R===void 0&&(R=""),E===void 0&&(E="&"),t=E,a=w,r=new RegExp("\\".concat(a,"\\b"),"g");var K=C.replace(e5,""),I=B0(R||w?"".concat(R," ").concat(w," { ").concat(K," }"):K);h.namespace&&(I=K0(I,h.namespace));var U=[];return J1(I,H0(p.concat(V0(function(Z){return U.push(Z)})))),U};return L.hash=n.length?n.reduce(function(C,w){return w.name||u1(15),O1(C,w.name)},j0).toString():"",L}var h5=new d2,x4=c6(),w4=N.default.createContext({shouldForwardProp:void 0,styleSheet:h5,stylis:x4}),X7=w4.Consumer,o5=N.default.createContext(void 0);function M4(){return(0,N.useContext)(w4)}function n5(c){var t=(0,N.useState)(c.stylisPlugins),a=t[0],r=t[1],i=M4().styleSheet,e=(0,N.useMemo)(function(){var n=i;return c.sheet?n=c.sheet:c.target&&(n=n.reconstructWithOptions({target:c.target},!1)),c.disableCSSOMInjection&&(n=n.reconstructWithOptions({useCSSOMInjection:!1})),n},[c.disableCSSOMInjection,c.sheet,c.target,i]),h=(0,N.useMemo)(function(){return c6({options:{namespace:c.namespace,prefix:c.enableVendorPrefixes},plugins:a})},[c.enableVendorPrefixes,c.namespace,a]);(0,N.useEffect)(function(){(0,U0.default)(a,c.stylisPlugins)||r(c.stylisPlugins)},[c.stylisPlugins]);var d=(0,N.useMemo)(function(){return{shouldForwardProp:c.shouldForwardProp,styleSheet:e,stylis:h}},[c.shouldForwardProp,e,h]);return N.default.createElement(w4.Provider,{value:d},N.default.createElement(o5.Provider,{value:h},c.children))}var T0=function(){function c(t,a){var r=this;this.inject=function(i,e){e===void 0&&(e=x4);var h=r.name+e.hash;i.hasNameForId(r.id,h)||i.insertRules(r.id,h,e(r.rules,h,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=a,f4(this,function(){throw u1(12,String(r.name))})}return c.prototype.getName=function(t){return t===void 0&&(t=x4),this.name+t.hash},c}(),s5=function(c){return c>="A"&&c<="Z"};function G0(c){for(var t="",a=0;a<c.length;a++){var r=c[a];if(a===1&&r==="-"&&c[0]==="-")return c;s5(r)?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}var t6=function(c){return c==null||c===!1||c===""},a6=function(c){var t,a,r=[];for(var i in c){var e=c[i];c.hasOwnProperty(i)&&!t6(e)&&(Array.isArray(e)&&e.isCss||c2(e)?r.push("".concat(G0(i),":"),e,";"):t2(e)?r.push.apply(r,D1(D1(["".concat(i," {")],a6(e),!1),["}"],!1)):r.push("".concat(G0(i),": ").concat((t=i,(a=e)==null||typeof a=="boolean"||a===""?"":typeof a!="number"||a===0||t in A0||t.startsWith("--")?String(a).trim():"".concat(a,"px")),";")))}return r};function E1(c,t,a,r){if(t6(c))return[];if(L4(c))return[".".concat(c.styledComponentId)];if(c2(c)){if(!c2(e=c)||e.prototype&&e.prototype.isReactComponent||!t)return[c];var i=c(t);return process.env.NODE_ENV==="production"||typeof i!="object"||Array.isArray(i)||i instanceof T0||t2(i)||i===null||console.error("".concat(_0(c)," 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.")),E1(i,t,a,r)}var e;return c instanceof T0?a?(c.inject(a,r),[c.getName(r)]):[c]:t2(c)?a6(c):Array.isArray(c)?Array.prototype.concat.apply(N2,c.map(function(h){return E1(h,t,a,r)})):[c.toString()]}function l6(c){for(var t=0;t<c.length;t+=1){var a=c[t];if(c2(a)&&!L4(a))return!1}return!0}var d5=Q0($1),g5=function(){function c(t,a,r){this.rules=t,this.staticRulesId="",this.isStatic=process.env.NODE_ENV==="production"&&(r===void 0||r.isStatic)&&l6(t),this.componentId=a,this.baseHash=O1(d5,a),this.baseStyle=r,d2.registerId(a)}return c.prototype.generateAndInjectStyles=function(t,a,r){var i=this.baseStyle?this.baseStyle.generateAndInjectStyles(t,a,r):"";if(this.isStatic&&!r.hash)if(this.staticRulesId&&a.hasNameForId(this.componentId,this.staticRulesId))i=N1(i,this.staticRulesId);else{var e=P2(E1(this.rules,t,a,r)),h=z4(O1(this.baseHash,e)>>>0);if(!a.hasNameForId(this.componentId,h)){var d=r(e,".".concat(h),void 0,this.componentId);a.insertRules(this.componentId,h,d)}i=N1(i,h),this.staticRulesId=h}else{for(var n=O1(this.baseHash,r.hash),z="",p=0;p<this.rules.length;p++){var L=this.rules[p];if(typeof L=="string")z+=L,process.env.NODE_ENV!=="production"&&(n=O1(n,L));else if(L){var C=P2(E1(L,t,a,r));n=O1(n,C+p),z+=C}}if(z){var w=z4(n>>>0);a.hasNameForId(this.componentId,w)||a.insertRules(this.componentId,w,r(z,".".concat(w),void 0,this.componentId)),i=N1(i,w)}}return i},c}(),r6=N.default.createContext(void 0),Y7=r6.Consumer;var g4={},P0=new Set;function v5(c,t,a){var r=L4(c),i=c,e=!d4(c),h=t.attrs,d=h===void 0?N2:h,n=t.componentId,z=n===void 0?function(D,W){var B=typeof D!="string"?"sc":b0(D);g4[B]=(g4[B]||0)+1;var M="".concat(B,"-").concat(D8($1+B+g4[B]));return W?"".concat(W,"-").concat(M):M}(t.displayName,t.parentComponentId):n,p=t.displayName,L=p===void 0?function(D){return d4(D)?"styled.".concat(D):"Styled(".concat(_0(D),")")}(c):p,C=t.displayName&&t.componentId?"".concat(b0(t.displayName),"-").concat(t.componentId):t.componentId||z,w=r&&i.attrs?i.attrs.concat(d).filter(Boolean):d,R=t.shouldForwardProp;if(r&&i.shouldForwardProp){var E=i.shouldForwardProp;if(t.shouldForwardProp){var K=t.shouldForwardProp;R=function(D,W){return E(D,W)&&K(D,W)}}else R=E}var I=new g5(a,C,r?i.componentStyle:void 0);function U(D,W){return function(B,M,h1){var T=B.attrs,l2=B.componentStyle,x1=B.defaultProps,M1=B.foldedComponentIds,f1=B.styledComponentId,w1=B.target,S1=N.default.useContext(r6),b1=M4(),B1=B.shouldForwardProp||b1.shouldForwardProp;process.env.NODE_ENV!=="production"&&(0,N.useDebugValue)(f1);var F1=k8(M,S1,x1)||K1,r1=function(c1,o1,n1){for(var j,t1=l1(l1({},o1),{className:void 0,theme:n1}),C1=0;C1<c1.length;C1+=1){var H1=c2(j=c1[C1])?j(t1):j;for(var v1 in H1)t1[v1]=v1==="className"?N1(t1[v1],H1[v1]):v1==="style"?l1(l1({},t1[v1]),H1[v1]):H1[v1]}return o1.className&&(t1.className=N1(t1.className,o1.className)),t1}(T,M,F1),s=r1.as||w1,x={};for(var V in r1)r1[V]===void 0||V[0]==="$"||V==="as"||V==="theme"&&r1.theme===F1||(V==="forwardedAs"?x.as=r1.forwardedAs:B1&&!B1(V,s)||(x[V]=r1[V],B1||process.env.NODE_ENV!=="development"||e0(V)||P0.has(V)||!v4.has(s)||(P0.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 _=function(c1,o1){var n1=M4(),j=c1.generateAndInjectStyles(o1,n1.styleSheet,n1.stylis);return process.env.NODE_ENV!=="production"&&(0,N.useDebugValue)(j),j}(l2,r1);process.env.NODE_ENV!=="production"&&B.warnTooManyClasses&&B.warnTooManyClasses(_);var i1=N1(M1,f1);return _&&(i1+=" "+_),r1.className&&(i1+=" "+r1.className),x[d4(s)&&!v4.has(s)?"class":"className"]=i1,h1&&(x.ref=h1),(0,N.createElement)(s,x)}(Z,D,W)}U.displayName=L;var Z=N.default.forwardRef(U);return Z.attrs=w,Z.componentStyle=I,Z.displayName=L,Z.shouldForwardProp=R,Z.foldedComponentIds=r?N1(i.foldedComponentIds,i.styledComponentId):"",Z.styledComponentId=C,Z.target=r?i.target:c,Object.defineProperty(Z,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(D){this._foldedDefaultProps=r?function(W){for(var B=[],M=1;M<arguments.length;M++)B[M-1]=arguments[M];for(var h1=0,T=B;h1<T.length;h1++)u4(W,T[h1],!0);return W}({},i.defaultProps,D):D}}),process.env.NODE_ENV!=="production"&&(R8(L,C),Z.warnTooManyClasses=function(D,W){var B={},M=!1;return function(h1){if(!M&&(B[h1]=!0,Object.keys(B).length>=200)){var T=W?' with the id of "'.concat(W,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat(D).concat(T,`.
|
|
64
|
+
`,18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"}:{};function _8(){for(var c=[],t=0;t<arguments.length;t++)c[t]=arguments[t];for(var a=c[0],r=[],i=1,e=c.length;i<e;i+=1)r.push(c[i]);return r.forEach(function(h){a=a.replace(/%[a-z]/,h)}),a}function u1(c){for(var t=[],a=1;a<arguments.length;a++)t[a-1]=arguments[a];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(c," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):"")):new Error(_8.apply(void 0,D1([Q8[c]],t,!1)).trim())}var X8=function(){function c(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}return c.prototype.indexOfGroup=function(t){for(var a=0,r=0;r<t;r++)a+=this.groupSizes[r];return a},c.prototype.insertRules=function(t,a){if(t>=this.groupSizes.length){for(var r=this.groupSizes,i=r.length,e=i;t>=e;)if((e<<=1)<0)throw u1(16,"".concat(t));this.groupSizes=new Uint32Array(e),this.groupSizes.set(r),this.length=e;for(var h=i;h<e;h++)this.groupSizes[h]=0}for(var d=this.indexOfGroup(t+1),n=(h=0,a.length);h<n;h++)this.tag.insertRule(d,a[h])&&(this.groupSizes[t]++,d++)},c.prototype.clearGroup=function(t){if(t<this.length){var a=this.groupSizes[t],r=this.indexOfGroup(t),i=r+a;this.groupSizes[t]=0;for(var e=r;e<i;e++)this.tag.deleteRule(r)}},c.prototype.getGroup=function(t){var a="";if(t>=this.length||this.groupSizes[t]===0)return a;for(var r=this.groupSizes[t],i=this.indexOfGroup(t),e=i+r,h=i;h<e;h++)a+="".concat(this.tag.getRule(h)).concat(m4);return a},c}(),Y8=1<<30,D2=new Map,O2=new Map,T2=1,E2=function(c){if(D2.has(c))return D2.get(c);for(;O2.has(T2);)T2++;var t=T2++;if(process.env.NODE_ENV!=="production"&&((0|t)<0||t>Y8))throw u1(16,"".concat(t));return D2.set(c,t),O2.set(t,c),t},q8=function(c,t){T2=t+1,D2.set(c,t),O2.set(t,c)},J8="style[".concat(A1,"][").concat(G2,'="').concat($1,'"]'),$8=new RegExp("^".concat(A1,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),K8=function(c,t,a){for(var r,i=a.split(","),e=0,h=i.length;e<h;e++)(r=i[e])&&c.registerName(t,r)},c5=function(c,t){for(var a,r=((a=t.textContent)!==null&&a!==void 0?a:"").split(m4),i=[],e=0,h=r.length;e<h;e++){var d=r[e].trim();if(d){var n=d.match($8);if(n){var z=0|parseInt(n[1],10),p=n[2];z!==0&&(q8(p,z),K8(c,p,n[3]),c.getTag().insertRules(z,i)),i.length=0}else i.push(d)}}},I0=function(c){for(var t=document.querySelectorAll(J8),a=0,r=t.length;a<r;a++){var i=t[a];i&&i.getAttribute(A1)!==W0&&(c5(c,i),i.parentNode&&i.parentNode.removeChild(i))}};function p4(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null}var $0=function(c){var t=document.head,a=c||t,r=document.createElement("style"),i=function(d){var n=Array.from(d.querySelectorAll("style[".concat(A1,"]")));return n[n.length-1]}(a),e=i!==void 0?i.nextSibling:null;r.setAttribute(A1,W0),r.setAttribute(G2,$1);var h=p4();return h&&r.setAttribute("nonce",h),a.insertBefore(r,e),r},t5=function(){function c(t){this.element=$0(t),this.element.appendChild(document.createTextNode("")),this.sheet=function(a){if(a.sheet)return a.sheet;for(var r=document.styleSheets,i=0,e=r.length;i<e;i++){var h=r[i];if(h.ownerNode===a)return h}throw u1(17)}(this.element),this.length=0}return c.prototype.insertRule=function(t,a){try{return this.sheet.insertRule(a,t),this.length++,!0}catch{return!1}},c.prototype.deleteRule=function(t){this.sheet.deleteRule(t),this.length--},c.prototype.getRule=function(t){var a=this.sheet.cssRules[t];return a&&a.cssText?a.cssText:""},c}(),a5=function(){function c(t){this.element=$0(t),this.nodes=this.element.childNodes,this.length=0}return c.prototype.insertRule=function(t,a){if(t<=this.length&&t>=0){var r=document.createTextNode(a);return this.element.insertBefore(r,this.nodes[t]||null),this.length++,!0}return!1},c.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},c.prototype.getRule=function(t){return t<this.length?this.nodes[t].textContent:""},c}(),l5=function(){function c(t){this.rules=[],this.length=0}return c.prototype.insertRule=function(t,a){return t<=this.length&&(this.rules.splice(t,0,a),this.length++,!0)},c.prototype.deleteRule=function(t){this.rules.splice(t,1),this.length--},c.prototype.getRule=function(t){return t<this.length?this.rules[t]:""},c}(),D0=s2,r5={isServer:!s2,useCSSOMInjection:!b8},d2=function(){function c(t,a,r){t===void 0&&(t=K1),a===void 0&&(a={});var i=this;this.options=l1(l1({},r5),t),this.gs=a,this.names=new Map(r),this.server=!!t.isServer,!this.server&&s2&&D0&&(D0=!1,I0(this)),f4(this,function(){return function(e){for(var h=e.getTag(),d=h.length,n="",z=function(L){var C=function(I){return O2.get(I)}(L);if(C===void 0)return"continue";var w=e.names.get(C),R=h.getGroup(L);if(w===void 0||!w.size||R.length===0)return"continue";var E="".concat(A1,".g").concat(L,'[id="').concat(C,'"]'),K="";w!==void 0&&w.forEach(function(I){I.length>0&&(K+="".concat(I,","))}),n+="".concat(R).concat(E,'{content:"').concat(K,'"}').concat(m4)},p=0;p<d;p++)z(p);return n}(i)})}return c.registerId=function(t){return E2(t)},c.prototype.rehydrate=function(){!this.server&&s2&&I0(this)},c.prototype.reconstructWithOptions=function(t,a){return a===void 0&&(a=!0),new c(l1(l1({},this.options),t),this.gs,a&&this.names||void 0)},c.prototype.allocateGSInstance=function(t){return this.gs[t]=(this.gs[t]||0)+1},c.prototype.getTag=function(){return this.tag||(this.tag=(t=function(a){var r=a.useCSSOMInjection,i=a.target;return a.isServer?new l5(i):r?new t5(i):new a5(i)}(this.options),new X8(t)));var t},c.prototype.hasNameForId=function(t,a){return this.names.has(t)&&this.names.get(t).has(a)},c.prototype.registerName=function(t,a){if(E2(t),this.names.has(t))this.names.get(t).add(a);else{var r=new Set;r.add(a),this.names.set(t,r)}},c.prototype.insertRules=function(t,a,r){this.registerName(t,a),this.getTag().insertRules(E2(t),r)},c.prototype.clearNames=function(t){this.names.has(t)&&this.names.get(t).clear()},c.prototype.clearRules=function(t){this.getTag().clearGroup(E2(t)),this.clearNames(t)},c.prototype.clearTag=function(){this.tag=void 0},c}(),i5=/&/g,e5=/^\s*\/\/.*$/gm;function K0(c,t){return c.map(function(a){return a.type==="rule"&&(a.value="".concat(t," ").concat(a.value),a.value=a.value.replaceAll(",",",".concat(t," ")),a.props=a.props.map(function(r){return"".concat(t," ").concat(r)})),Array.isArray(a.children)&&a.type!=="@keyframes"&&(a.children=K0(a.children,t)),a})}function c6(c){var t,a,r,i=c===void 0?K1:c,e=i.options,h=e===void 0?K1:e,d=i.plugins,n=d===void 0?N2:d,z=function(C,w,R){return R.startsWith(a)&&R.endsWith(a)&&R.replaceAll(a,"").length>0?".".concat(t):C},p=n.slice();p.push(function(C){C.type===k1&&C.value.includes("&")&&(C.props[0]=C.props[0].replace(i5,a).replace(r,z))}),h.prefix&&p.push(y0),p.push(F0);var L=function(C,w,R,E){w===void 0&&(w=""),R===void 0&&(R=""),E===void 0&&(E="&"),t=E,a=w,r=new RegExp("\\".concat(a,"\\b"),"g");var K=C.replace(e5,""),I=B0(R||w?"".concat(R," ").concat(w," { ").concat(K," }"):K);h.namespace&&(I=K0(I,h.namespace));var U=[];return J1(I,H0(p.concat(V0(function(Z){return U.push(Z)})))),U};return L.hash=n.length?n.reduce(function(C,w){return w.name||u1(15),O1(C,w.name)},j0).toString():"",L}var h5=new d2,x4=c6(),w4=N.default.createContext({shouldForwardProp:void 0,styleSheet:h5,stylis:x4}),j7=w4.Consumer,o5=N.default.createContext(void 0);function M4(){return(0,N.useContext)(w4)}function n5(c){var t=(0,N.useState)(c.stylisPlugins),a=t[0],r=t[1],i=M4().styleSheet,e=(0,N.useMemo)(function(){var n=i;return c.sheet?n=c.sheet:c.target&&(n=n.reconstructWithOptions({target:c.target},!1)),c.disableCSSOMInjection&&(n=n.reconstructWithOptions({useCSSOMInjection:!1})),n},[c.disableCSSOMInjection,c.sheet,c.target,i]),h=(0,N.useMemo)(function(){return c6({options:{namespace:c.namespace,prefix:c.enableVendorPrefixes},plugins:a})},[c.enableVendorPrefixes,c.namespace,a]);(0,N.useEffect)(function(){(0,U0.default)(a,c.stylisPlugins)||r(c.stylisPlugins)},[c.stylisPlugins]);var d=(0,N.useMemo)(function(){return{shouldForwardProp:c.shouldForwardProp,styleSheet:e,stylis:h}},[c.shouldForwardProp,e,h]);return N.default.createElement(w4.Provider,{value:d},N.default.createElement(o5.Provider,{value:h},c.children))}var T0=function(){function c(t,a){var r=this;this.inject=function(i,e){e===void 0&&(e=x4);var h=r.name+e.hash;i.hasNameForId(r.id,h)||i.insertRules(r.id,h,e(r.rules,h,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=a,f4(this,function(){throw u1(12,String(r.name))})}return c.prototype.getName=function(t){return t===void 0&&(t=x4),this.name+t.hash},c}(),s5=function(c){return c>="A"&&c<="Z"};function G0(c){for(var t="",a=0;a<c.length;a++){var r=c[a];if(a===1&&r==="-"&&c[0]==="-")return c;s5(r)?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}var t6=function(c){return c==null||c===!1||c===""},a6=function(c){var t,a,r=[];for(var i in c){var e=c[i];c.hasOwnProperty(i)&&!t6(e)&&(Array.isArray(e)&&e.isCss||c2(e)?r.push("".concat(G0(i),":"),e,";"):t2(e)?r.push.apply(r,D1(D1(["".concat(i," {")],a6(e),!1),["}"],!1)):r.push("".concat(G0(i),": ").concat((t=i,(a=e)==null||typeof a=="boolean"||a===""?"":typeof a!="number"||a===0||t in A0||t.startsWith("--")?String(a).trim():"".concat(a,"px")),";")))}return r};function E1(c,t,a,r){if(t6(c))return[];if(L4(c))return[".".concat(c.styledComponentId)];if(c2(c)){if(!c2(e=c)||e.prototype&&e.prototype.isReactComponent||!t)return[c];var i=c(t);return process.env.NODE_ENV==="production"||typeof i!="object"||Array.isArray(i)||i instanceof T0||t2(i)||i===null||console.error("".concat(_0(c)," 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.")),E1(i,t,a,r)}var e;return c instanceof T0?a?(c.inject(a,r),[c.getName(r)]):[c]:t2(c)?a6(c):Array.isArray(c)?Array.prototype.concat.apply(N2,c.map(function(h){return E1(h,t,a,r)})):[c.toString()]}function l6(c){for(var t=0;t<c.length;t+=1){var a=c[t];if(c2(a)&&!L4(a))return!1}return!0}var d5=Q0($1),g5=function(){function c(t,a,r){this.rules=t,this.staticRulesId="",this.isStatic=process.env.NODE_ENV==="production"&&(r===void 0||r.isStatic)&&l6(t),this.componentId=a,this.baseHash=O1(d5,a),this.baseStyle=r,d2.registerId(a)}return c.prototype.generateAndInjectStyles=function(t,a,r){var i=this.baseStyle?this.baseStyle.generateAndInjectStyles(t,a,r):"";if(this.isStatic&&!r.hash)if(this.staticRulesId&&a.hasNameForId(this.componentId,this.staticRulesId))i=N1(i,this.staticRulesId);else{var e=P2(E1(this.rules,t,a,r)),h=z4(O1(this.baseHash,e)>>>0);if(!a.hasNameForId(this.componentId,h)){var d=r(e,".".concat(h),void 0,this.componentId);a.insertRules(this.componentId,h,d)}i=N1(i,h),this.staticRulesId=h}else{for(var n=O1(this.baseHash,r.hash),z="",p=0;p<this.rules.length;p++){var L=this.rules[p];if(typeof L=="string")z+=L,process.env.NODE_ENV!=="production"&&(n=O1(n,L));else if(L){var C=P2(E1(L,t,a,r));n=O1(n,C+p),z+=C}}if(z){var w=z4(n>>>0);a.hasNameForId(this.componentId,w)||a.insertRules(this.componentId,w,r(z,".".concat(w),void 0,this.componentId)),i=N1(i,w)}}return i},c}(),r6=N.default.createContext(void 0),Q7=r6.Consumer;var g4={},P0=new Set;function v5(c,t,a){var r=L4(c),i=c,e=!d4(c),h=t.attrs,d=h===void 0?N2:h,n=t.componentId,z=n===void 0?function(D,W){var B=typeof D!="string"?"sc":b0(D);g4[B]=(g4[B]||0)+1;var M="".concat(B,"-").concat(D8($1+B+g4[B]));return W?"".concat(W,"-").concat(M):M}(t.displayName,t.parentComponentId):n,p=t.displayName,L=p===void 0?function(D){return d4(D)?"styled.".concat(D):"Styled(".concat(_0(D),")")}(c):p,C=t.displayName&&t.componentId?"".concat(b0(t.displayName),"-").concat(t.componentId):t.componentId||z,w=r&&i.attrs?i.attrs.concat(d).filter(Boolean):d,R=t.shouldForwardProp;if(r&&i.shouldForwardProp){var E=i.shouldForwardProp;if(t.shouldForwardProp){var K=t.shouldForwardProp;R=function(D,W){return E(D,W)&&K(D,W)}}else R=E}var I=new g5(a,C,r?i.componentStyle:void 0);function U(D,W){return function(B,M,h1){var T=B.attrs,l2=B.componentStyle,x1=B.defaultProps,M1=B.foldedComponentIds,f1=B.styledComponentId,w1=B.target,S1=N.default.useContext(r6),b1=M4(),B1=B.shouldForwardProp||b1.shouldForwardProp;process.env.NODE_ENV!=="production"&&(0,N.useDebugValue)(f1);var F1=k8(M,S1,x1)||K1,r1=function(c1,o1,n1){for(var j,t1=l1(l1({},o1),{className:void 0,theme:n1}),C1=0;C1<c1.length;C1+=1){var H1=c2(j=c1[C1])?j(t1):j;for(var v1 in H1)t1[v1]=v1==="className"?N1(t1[v1],H1[v1]):v1==="style"?l1(l1({},t1[v1]),H1[v1]):H1[v1]}return o1.className&&(t1.className=N1(t1.className,o1.className)),t1}(T,M,F1),s=r1.as||w1,x={};for(var V in r1)r1[V]===void 0||V[0]==="$"||V==="as"||V==="theme"&&r1.theme===F1||(V==="forwardedAs"?x.as=r1.forwardedAs:B1&&!B1(V,s)||(x[V]=r1[V],B1||process.env.NODE_ENV!=="development"||e0(V)||P0.has(V)||!v4.has(s)||(P0.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 _=function(c1,o1){var n1=M4(),j=c1.generateAndInjectStyles(o1,n1.styleSheet,n1.stylis);return process.env.NODE_ENV!=="production"&&(0,N.useDebugValue)(j),j}(l2,r1);process.env.NODE_ENV!=="production"&&B.warnTooManyClasses&&B.warnTooManyClasses(_);var i1=N1(M1,f1);return _&&(i1+=" "+_),r1.className&&(i1+=" "+r1.className),x[d4(s)&&!v4.has(s)?"class":"className"]=i1,h1&&(x.ref=h1),(0,N.createElement)(s,x)}(Z,D,W)}U.displayName=L;var Z=N.default.forwardRef(U);return Z.attrs=w,Z.componentStyle=I,Z.displayName=L,Z.shouldForwardProp=R,Z.foldedComponentIds=r?N1(i.foldedComponentIds,i.styledComponentId):"",Z.styledComponentId=C,Z.target=r?i.target:c,Object.defineProperty(Z,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(D){this._foldedDefaultProps=r?function(W){for(var B=[],M=1;M<arguments.length;M++)B[M-1]=arguments[M];for(var h1=0,T=B;h1<T.length;h1++)u4(W,T[h1],!0);return W}({},i.defaultProps,D):D}}),process.env.NODE_ENV!=="production"&&(R8(L,C),Z.warnTooManyClasses=function(D,W){var B={},M=!1;return function(h1){if(!M&&(B[h1]=!0,Object.keys(B).length>=200)){var T=W?' with the id of "'.concat(W,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat(D).concat(T,`.
|
|
65
65
|
`)+`Consider using the attrs method, together with a style object for frequently changed styles.
|
|
66
66
|
Example:
|
|
67
67
|
const Component = styled.div.attrs(props => ({
|
|
@@ -70,7 +70,7 @@ Example:
|
|
|
70
70
|
},
|
|
71
71
|
}))\`width: 100%;\`
|
|
72
72
|
|
|
73
|
-
<Component />`),M=!0,B={}}}}(L,C)),f4(Z,function(){return".".concat(Z.styledComponentId)}),e&&J0(Z,c,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),Z}function O0(c,t){for(var a=[c[0]],r=0,i=t.length;r<i;r+=1)a.push(t[r],c[r+1]);return a}var N0=function(c){return Object.assign(c,{isCss:!0})};function z5(c){for(var t=[],a=1;a<arguments.length;a++)t[a-1]=arguments[a];if(c2(c)||t2(c))return N0(E1(O0(N2,D1([c],t,!0))));var r=c;return t.length===0&&r.length===1&&typeof r[0]=="string"?E1(r):N0(E1(O0(r,t)))}function C4(c,t,a){if(a===void 0&&(a=K1),!t)throw u1(1,t);var r=function(i){for(var e=[],h=1;h<arguments.length;h++)e[h-1]=arguments[h];return c(t,a,z5.apply(void 0,D1([i],e,!1)))};return r.attrs=function(i){return C4(c,t,l1(l1({},a),{attrs:Array.prototype.concat(a.attrs,i).filter(Boolean)}))},r.withConfig=function(i){return C4(c,t,l1(l1({},a),i))},r}var i6=function(c){return C4(v5,c)},q=i6;v4.forEach(function(c){q[c]=i6(c)});var
|
|
73
|
+
<Component />`),M=!0,B={}}}}(L,C)),f4(Z,function(){return".".concat(Z.styledComponentId)}),e&&J0(Z,c,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),Z}function O0(c,t){for(var a=[c[0]],r=0,i=t.length;r<i;r+=1)a.push(t[r],c[r+1]);return a}var N0=function(c){return Object.assign(c,{isCss:!0})};function z5(c){for(var t=[],a=1;a<arguments.length;a++)t[a-1]=arguments[a];if(c2(c)||t2(c))return N0(E1(O0(N2,D1([c],t,!0))));var r=c;return t.length===0&&r.length===1&&typeof r[0]=="string"?E1(r):N0(E1(O0(r,t)))}function C4(c,t,a){if(a===void 0&&(a=K1),!t)throw u1(1,t);var r=function(i){for(var e=[],h=1;h<arguments.length;h++)e[h-1]=arguments[h];return c(t,a,z5.apply(void 0,D1([i],e,!1)))};return r.attrs=function(i){return C4(c,t,l1(l1({},a),{attrs:Array.prototype.concat(a.attrs,i).filter(Boolean)}))},r.withConfig=function(i){return C4(c,t,l1(l1({},a),i))},r}var i6=function(c){return C4(v5,c)},q=i6;v4.forEach(function(c){q[c]=i6(c)});var _7=function(){function c(t,a){this.rules=t,this.componentId=a,this.isStatic=l6(t),d2.registerId(this.componentId+1)}return c.prototype.createStyles=function(t,a,r,i){var e=i(P2(E1(this.rules,a,r,i)),""),h=this.componentId+t;r.insertRules(h,h,e)},c.prototype.removeStyles=function(t,a){a.clearRules(this.componentId+t)},c.prototype.renderStyles=function(t,a,r,i){t>2&&d2.registerId(this.componentId+t),this.removeStyles(t,r),this.createStyles(t,a,r,i)},c}();var u5=/^\s*<\/[a-z]/i,X7=function(){function c(){var t=this;this._emitSheetCSS=function(){var a=t.instance.toString();if(!a)return"";var r=p4(),i=P2([r&&'nonce="'.concat(r,'"'),"".concat(A1,'="true"'),"".concat(G2,'="').concat($1,'"')].filter(Boolean)," ");return"<style ".concat(i,">").concat(a,"</style>")},this.getStyleTags=function(){if(t.sealed)throw u1(2);return t._emitSheetCSS()},this.getStyleElement=function(){var a;if(t.sealed)throw u1(2);var r=t.instance.toString();if(!r)return[];var i=((a={})[A1]="",a[G2]=$1,a.dangerouslySetInnerHTML={__html:r},a),e=p4();return e&&(i.nonce=e),[N.default.createElement("style",l1({},i,{key:"sc-0-0"}))]},this.seal=function(){t.sealed=!0},this.instance=new d2({isServer:!0}),this.sealed=!1}return c.prototype.collectStyles=function(t){if(this.sealed)throw u1(2);return N.default.createElement(n5,{sheet:this.instance},t)},c.prototype.interleaveWithNodeStream=function(t){if(s2)throw u1(3);if(this.sealed)throw u1(2);this.seal();var a=K6("stream").Transform,r=t,i=this.instance,e=this._emitSheetCSS,h=new a({transform:function(d,n,z){var p=d.toString(),L=e();if(i.clearTag(),u5.test(p)){var C=p.indexOf(">")+1,w=p.slice(0,C),R=p.slice(C);this.push(w+L+R)}else this.push(L+p);z()}});return r.on("error",function(d){h.emit("error",d)}),r.pipe(h)},c}();process.env.NODE_ENV!=="production"&&typeof navigator<"u"&&navigator.product==="ReactNative"&&console.warn(`It looks like you've imported 'styled-components' on React Native.
|
|
74
74
|
Perhaps you're looking to import 'styled-components/native'?
|
|
75
75
|
Read more about this at https://www.styled-components.com/docs/basics#react-native`);var I2="__sc-".concat(A1,"__");process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&typeof window<"u"&&(window[I2]||(window[I2]=0),window[I2]===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.
|
|
76
76
|
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{DOM as bt}from"@necto/constants";import{HTMLElements as ct}from"@necto/dom";import{forwardRef as x,isValidElement as lt,cloneElement as st,Children as rt}from"react";import{jsx as dt}from"react/jsx-runtime";var at=ct.Div,W=({as:t,asChild:o,children:c,...b},n)=>{let i=t??at;if(o){let e=rt.only(c);return lt(e)?st(e,{...b,ref:e.ref??n}):null}return dt(i,{ref:n,...b,children:c})},B=Object.assign(x(W),bt.HTML_TAGS.reduce((t,o)=>{let c=o,b=o[0].toUpperCase()+o.slice(1),n=x((i,e)=>W({...i,as:o},e));return t[c]=n,t[b]=n,t},{}));import{Fragment as mt}from"react";import{jsx as ut}from"react/jsx-runtime";var g=t=>{let{children:o}=t;return ut(mt,{children:typeof o=="function"?o():o})};import{Fragment as
|
|
1
|
+
import{DOM as bt}from"@necto/constants";import{HTMLElements as ct}from"@necto/dom";import{forwardRef as x,isValidElement as lt,cloneElement as st,Children as rt}from"react";import{jsx as dt}from"react/jsx-runtime";var at=ct.Div,W=({as:t,asChild:o,children:c,...b},n)=>{let i=t??at;if(o){let e=rt.only(c);return lt(e)?st(e,{...b,ref:e.ref??n}):null}return dt(i,{ref:n,...b,children:c})},B=Object.assign(x(W),bt.HTML_TAGS.reduce((t,o)=>{let c=o,b=o[0].toUpperCase()+o.slice(1),n=x((i,e)=>W({...i,as:o},e));return t[c]=n,t[b]=n,t},{}));import{Fragment as mt}from"react";import{jsx as ut}from"react/jsx-runtime";var g=t=>{let{children:o}=t;return ut(mt,{children:typeof o=="function"?o():o})};import{Fragment as It,Children as pt}from"react";import{jsx as Bt}from"react/jsx-runtime";var I=t=>{let{condition:o,keepAlive:c,children:b}=t;if(!b)return null;let n=!!(typeof o=="function"?o():o);return Bt(It,{children:pt.toArray(b).find(i=>i.type!==g!=!n)||null})};import ft from"clsx";import{forwardRef as Qt}from"react";import Xt from"styled-components";import{FaApple as Rt}from"react-icons/fa";import{HTMLElements as gt}from"@necto/dom";import{forwardRef as Gt,Fragment as Zt}from"react";import{jsx as p,jsxs as yt}from"react/jsx-runtime";var Ct=gt.Button,a=Gt(function({as:o=Ct,asChild:c=!1,children:b,icon:n,showIcon:i=!0,iconPosition:e="left",disabled:l,className:r,...s},it){let nt=(o?.toLowerCase?.()??"")==="button"?{disabled:l}:{role:"button",tabIndex:l?-1:0,"aria-disabled":!!l,onKeyDown:u=>{l||(u.key==="Enter"||u.key===" ")&&(s.onClick?.(u),u.preventDefault())}},m=n?p("span",{className:"_necto:brand-icon",style:{flexShrink:0,lineHeight:0,display:"inline-flex"},children:n}):null;return p(B,{as:o,ref:it,asChild:c,className:r,...nt,...s,children:yt(Zt,{children:[p(I,{condition:!!m&&i&&e==="left",children:m}),b,p(I,{condition:!!m&&i&&e==="right",children:m})]})})});var G={};import{jsx as N}from"react/jsx-runtime";var A="AppleButton",xt=Xt(a).attrs(t=>({className:`${G.AppleButton} ${t.$disabled?G.disabled:""}`.trim()}))``,Y=Qt(({as:t,asChild:o,children:c="Continue with Apple",iconPosition:b="left",showIcon:n=!0,iconSize:i=20,disabled:e,className:l,...r},s)=>N(xt,{as:t,ref:s,asChild:o,icon:N(Rt,{size:i}),showIcon:n,iconSize:i,disabled:e,$disabled:e,iconPosition:b,className:ft(l,`_necto:${A}`),...r,children:c}));Y.displayName=A;import Nt from"clsx";import{forwardRef as At}from"react";import Yt from"styled-components";import{FaAtlassian as ht}from"react-icons/fa";var Z={};import{jsx as h}from"react/jsx-runtime";var V="AtlassianButton",Vt=Yt(a).attrs(t=>({className:`${Z.AtlassianButton} ${t.$disabled?Z.disabled:""}`.trim()}))``,v=At(({as:t,asChild:o,children:c="Continue with Atlassian",iconPosition:b="left",showIcon:n=!0,iconSize:i=20,disabled:e,className:l,...r},s)=>h(Vt,{as:t,ref:s,asChild:o,showIcon:n,iconSize:i,disabled:e,$disabled:e,iconPosition:b,icon:h(ht,{size:i}),className:Nt(l,`_necto:${V}`),...r,children:c}));v.displayName=V;import Ut from"clsx";import{forwardRef as Lt}from"react";import jt from"styled-components";var C={};import{jsx as d,jsxs as U}from"react/jsx-runtime";var L=({size:t})=>U("svg",{width:t,height:t,viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d("title",{children:"Bitbucket"}),d("path",{d:"M58.8295 28.5831H43.8317L41.332 43.3331H30.9168L18.6685 57.9163C18.6685 57.9163 19.2517 58.4163 20.0849 58.4163H52.7472C53.4971 58.4163 54.1637 57.8331 54.3303 57.083L58.8295 28.5831Z",fill:"url(#paint0_linear_5907_10188)"}),d("path",{d:"M12.5863 13.5C11.5864 13.5 10.8366 14.4167 11.0033 15.3333L17.7524 56.6666C17.8357 57.1667 18.0857 57.6667 18.5023 58C18.5023 58 19.0855 58.5 19.9187 58.5L32.5838 43.3334H30.834L28.0843 28.5834H43.8323H58.8304L60.9967 15.3333C61.1635 14.3333 60.4135 13.5 59.4136 13.5H12.5863Z",fill:"white",style:{fill:"white",fillOpacity:1}}),d("defs",{children:U("linearGradient",{id:"paint0_linear_5907_10188",x1:"60.8078",y1:"35.1603",x2:"37.2868",y2:"51.0791",gradientUnits:"userSpaceOnUse",children:[d("stop",{offset:"0.0718327","stop-color":"white","stop-opacity":"0.4",style:{stopColor:"white",stopOpacity:.4}}),d("stop",{offset:"1","stop-color":"white",style:{stopColor:"white",stopOpacity:1}})]})})]});import{jsx as j}from"react/jsx-runtime";var O="BitbucketButton",Ot=jt(a).attrs(t=>({className:`${C.BitbucketButton} ${t.$disabled?C.disabled:""}`.trim()}))``,z=Lt(({as:t,asChild:o,children:c="Continue with Bitbucket",iconPosition:b="left",showIcon:n=!0,iconSize:i=22,disabled:e,className:l,...r},s)=>j(Ot,{as:t,ref:s,asChild:o,showIcon:n,iconSize:i,disabled:e,$disabled:e,iconPosition:b,icon:j(L,{size:i}),className:Ut(l,`_necto:${O}`),...r,children:c}));z.displayName=O;import Tt from"clsx";import{forwardRef as Jt}from"react";import Et from"styled-components";import{FaDiscord as Dt}from"react-icons/fa";var y={};import{jsx as T}from"react/jsx-runtime";var J="DiscordButton",wt=Et(a).attrs(t=>({className:`${y.DiscordButton} ${t.$disabled?y.disabled:""}`.trim()}))``,E=Jt(({as:t,asChild:o,children:c="Continue with Discord",iconPosition:b="left",showIcon:n=!0,iconSize:i=20,disabled:e,className:l,...r},s)=>T(wt,{as:t,ref:s,asChild:o,showIcon:n,iconSize:i,disabled:e,$disabled:e,iconPosition:b,icon:T(Dt,{size:i}),className:Tt(l,`_necto:${J}`),...r,children:c}));E.displayName=J;import Mt from"clsx";import{forwardRef as Ht}from"react";import St from"styled-components";import{FaDropbox as Pt}from"react-icons/fa";var F={};import{jsx as D}from"react/jsx-runtime";var w="DropboxButton",$t=St(a).attrs(t=>({className:`${F.DropboxButton} ${t.$disabled?F.disabled:""}`.trim()}))``,k=Ht(({as:t,asChild:o,children:c="Continue with Dropbox",iconPosition:b="left",showIcon:n=!0,iconSize:i=20,disabled:e,className:l,...r},s)=>D($t,{as:t,ref:s,asChild:o,icon:D(Pt,{size:i}),showIcon:n,iconSize:i,disabled:e,$disabled:e,iconPosition:b,className:Mt(l,`_necto:${w}`),...r,children:c}));k.displayName=w;import Kt from"clsx";import{forwardRef as qt}from"react";import to from"styled-components";import{FaFacebook as oo}from"react-icons/fa6";var f={};import{jsx as M}from"react/jsx-runtime";var H="FacebookButton",eo=to(a).attrs(t=>({className:`${f.FacebookButton} ${t.$disabled?f.disabled:""}`.trim()}))``,S=qt(({as:t,asChild:o,children:c="Continue with Facebook",iconPosition:b="left",showIcon:n=!0,iconSize:i=20,disabled:e,className:l,...r},s)=>M(eo,{as:t,ref:s,asChild:o,showIcon:n,iconSize:i,disabled:e,$disabled:e,iconPosition:b,icon:M(oo,{size:i}),className:Kt(l,`_necto:${H}`),...r,children:c}));S.displayName=H;import no from"clsx";import{forwardRef as bo}from"react";import co from"styled-components";import{FaGithub as lo}from"react-icons/fa";var Q={};import{jsx as P}from"react/jsx-runtime";var $="GitHubButton",so=co(a).attrs(t=>({className:`${Q.GitHubButton} ${t.$disabled?Q.disabled:""}`.trim()}))``,_=bo(({as:t,asChild:o,children:c="Continue with GitHub",iconPosition:b="left",showIcon:n=!0,iconSize:i=20,disabled:e,className:l,...r},s)=>P(so,{as:t,ref:s,asChild:o,showIcon:n,iconSize:i,disabled:e,$disabled:e,iconPosition:b,icon:P(lo,{size:i}),className:no(l,`_necto:${$}`),...r,children:c}));_.displayName=$;import ao from"clsx";import{forwardRef as mo}from"react";import uo from"styled-components";var X={};import{FaGitlab as Io}from"react-icons/fa6";import{jsx as K}from"react/jsx-runtime";var q="GitLabButton",po=uo(a).attrs(t=>({className:`${X.GitLabButton} ${t.$disabled?X.disabled:""}`.trim()}))``,tt=mo(({as:t,asChild:o,children:c="Continue with GitLab",iconPosition:b="left",showIcon:n=!0,iconSize:i=20,disabled:e,className:l,...r},s)=>K(po,{as:t,ref:s,asChild:o,showIcon:n,iconSize:i,disabled:e,$disabled:e,iconPosition:b,icon:K(Io,{size:i}),className:ao(l,`_necto:${q}`),...r,children:c}));tt.displayName=q;import{forwardRef as go}from"react";import Go from"styled-components";import{FcGoogle as Zo}from"react-icons/fc";var R={};import{jsx as ot}from"react/jsx-runtime";var Co="GoogleButton",yo=Go(a).attrs(t=>({className:`${R.GoogleButton} ${t.$disabled?R.disabled:""}`.trim()}))``,et=go(({as:t,asChild:o,children:c="Continue with Google",iconPosition:b="left",showIcon:n=!0,iconSize:i=20,disabled:e,className:l,...r},s)=>ot(yo,{as:t,ref:s,asChild:o,showIcon:n,disabled:e,$disabled:e,className:l,iconPosition:b,icon:ot(Zo,{size:i}),...r,children:c}));et.displayName=Co;export{Y as AppleButton,v as AtlassianButton,z as BitbucketButton,E as DiscordButton,k as DropboxButton,g as Else,S as FacebookButton,_ as GitHubButton,tt as GitLabButton,et as GoogleButton,I as If,B as Primitive};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,14 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@necto-react/components",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Necto's standard library for providing utility components for React applications.",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist"
|
|
8
8
|
],
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
"
|
|
9
|
+
"main": "./dist/index.cjs",
|
|
10
|
+
"module": "./dist/index.js",
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"exports": {
|
|
13
|
+
".": {
|
|
14
|
+
"types": "./dist/index.d.ts",
|
|
15
|
+
"import": "./dist/index.js",
|
|
16
|
+
"require": "./dist/index.cjs"
|
|
17
|
+
},
|
|
18
|
+
"./package.json": "./package.json",
|
|
19
|
+
"./style.css": "./dist/index.css"
|
|
20
|
+
},
|
|
21
|
+
"sideEffects": [
|
|
22
|
+
"*.css"
|
|
23
|
+
],
|
|
12
24
|
"author": "Corinvo OSS Team",
|
|
13
25
|
"license": "MIT",
|
|
14
26
|
"devDependencies": {
|
|
@@ -43,8 +55,8 @@
|
|
|
43
55
|
"react-icons": "^5.5.0",
|
|
44
56
|
"react-if": "^4.1.5",
|
|
45
57
|
"styled-components": "^6.1.19",
|
|
46
|
-
"@necto/
|
|
47
|
-
"@necto/
|
|
58
|
+
"@necto/constants": "1.4.0",
|
|
59
|
+
"@necto/dom": "1.4.0"
|
|
48
60
|
},
|
|
49
61
|
"scripts": {
|
|
50
62
|
"test": "vitest",
|