PageSourceSearch

https://dynamic-lebkuchen-0238db.netlify.app/static/js/8485.2a320eac.chunk.js

js dynamic-lebkuchen-0238db.netlify.app collected 2026-10-03 10:43:15 UTC 16,539 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkico_react=self.webpackChunkico_react||[]).push([[8485],{23316:(e,n,i)=>{i.d(n,{S:()=>h});var r=i(24107),t=i(15882),o=i(90034),a=i(67980),s=i(43122);const l=["primaryCta","secondaryCta","helpText","watermark","children"],c=["label"],d=["label"],h=e=>{let{primaryCta:n,secondaryCta:i,helpText:h,watermark:p=!0,children:g}=e,u=(0,t.A)(e,l),m=n||i?(0,o.jsxs)(o.Fragment,{children:[n&&(()=>{let{label:e}=n,i=(0,t.A)(n,c),s=i.variant||"primary";return(0,o.jsx)(a.B,(0,r.A)((0,r.A)({},i),{},{variant:s,style:(0,r.A)({width:"100%"},i.style),children:e}))})(),i&&(()=>{let{label:e}=i,n=(0,t.A)(i,d),s=n.variant||"secondary";return(0,o.jsx)(a.B,(0,r.A)((0,r.A)({},n),{},{variant:s,style:(0,r.A)({width:"100%"},n.style),children:e}))})()]}):null;return(0,o.jsxs)(s.S,{id:u.id,className:u.className,children:[(0,o.jsx)(s.S.Header,(0,r.A)({},u)),g?(0,o.jsx)(s.S.Body,{children:g}):null,h||m||p?(0,o.jsxs)(s.S.Footer,{children:[h?(0,o.jsx)(s.S.HelpText,{children:h}):null,m?(0,o.jsx)(s.S.Actions,{children:m}):null,p?(0,o.jsx)(s.S.Watermark,{}):null]}):null]})}},38774:(e,n,i)=>{i.d(n,{e:()=>r});let r=i(52610).I4.div.withConfig({displayName:"StackedContainer",componentId:"sc-f7e7d474-0"})(["display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;height:82px;> div{position:relative;}> div > span{position:absolute;left:-41px;top:-41px;}> div > :last-child{position:absolute;left:-19px;top:-19px;}"])},43122:(e,n,i)=>{i.d(n,{S:()=>E});var r=i(24107),t=i(15882),o=i(90034),a=i(57722),s=i(52610),l=i(1991),c=i(33898),d=i(76107);const h=["children"],p=["title","subtitle","icon","iconVariant","iconLoadingStatus","showBack","onBack","showInfo","onInfo","showClose","onClose","step"],g=["children"],u=["children"],m=["children"],x=["children"],v=s.I4.div.withConfig({displayName:"ScreenRoot",componentId:"sc-2e815abe-0"})(["--screen-space:16px;--screen-space-lg:calc(var(--screen-space) * 1.5);position:relative;overflow:hidden;margin:0 calc(-1 * var(--screen-space));height:100%;border-radius:var(--privy-border-radius-lg);"]),f=s.I4.div.withConfig({displayName:"ScreenRootInner",componentId:"sc-2e815abe-1"})(["display:flex;flex-direction:column;gap:calc(var(--screen-space) * 1.5);width:100%;background:var(--privy-color-background);padding:0 var(--screen-space-lg) var(--screen-space);height:100%;border-radius:var(--privy-border-radius-lg);"]),y=s.I4.div.withConfig({displayName:"HeaderContainer",componentId:"sc-2e815abe-2"})(["position:relative;display:flex;flex-direction:column;"]),b=(0,s.I4)(c.M).withConfig({displayName:"StyledModalHeader",componentId:"sc-2e815abe-3"})(["margin:0 -8px;"]),j=s.I4.div.withConfig({displayName:"BodyContainer",componentId:"sc-2e815abe-4"})(["flex:1 1 auto;display:flex;flex-direction:column;overflow-y:auto;padding:3px;margin:-3px;&::-webkit-scrollbar{display:none;}scrollbar-gutter:stable both-edges;scrollbar-width:none;-ms-overflow-style:none;"," background-repeat:no-repeat;background-size:100% 32px,100% 16px;background-attachment:local,scroll;"],e=>{let{$colorScheme:n}=e;return"light"===n?"background: linear-gradient(var(--privy-color-background), var(--privy-color-background) 70%) bottom, linear-gradient(rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0.06)) bottom;":"dark"===n?"background: linear-gradient(var(--privy-color-background), var(--privy-color-background) 70%) bottom, linear-gradient(rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0.06)) bottom;":void 0}),w=s.I4.div.withConfig({displayName:"FooterContainer",componentId:"sc-2e815abe-5"})(["display:flex;flex-direction:column;gap:var(--screen-space-lg);"]);let C=s.I4.div.withConfig({displayName:"CenteredHeader",componentId:"sc-2e815abe-6"})(["text-align:center;display:flex;flex-direction:column;align-items:center;gap:var(--screen-space);"]),I=s.I4.div.withConfig({displayName:"TitleContainer",componentId:"sc-2e815abe-7"})(["display:flex;flex-direction:column;gap:4px;"]),k=s.I4.h3.withConfig({displayName:"HeaderTitle",componentId:"sc-2e815abe-8"})(["&&{font-size:20px;line-height:32px;font-weight:500;color:var(--privy-color-foreground);margin:0;}"]),A=s.I4.p.withConfig({displayName:"HeaderSubtitle",componentId:"sc-2e815abe-9"})(["&&{margin:0;font-size:16px;font-weight:300;line-height:24px;color:var(--privy-color-foreground);}"]),S=s.I4.div.withConfig({displayName:"IconContainer",componentId:"sc-2e815abe-10"})(["background:",";border-radius:50%;width:64px;
1height:64px;display:flex;align-items:center;justify-content:center;"],e=>{let{$variant:n}=e;switch(n){case"success":return"var(--privy-color-success-bg, #EAFCEF)";case"warning":return"var(--privy-color-warn, #FEF3C7)";case"error":return"var(--privy-color-error-bg, #FEE2E2)";case"loading":case"logo":return"transparent";default:return"var(--privy-color-background-2)"}}),N=s.I4.div.withConfig({displayName:"LogoContainer",componentId:"sc-2e815abe-11"})(["display:flex;align-items:center;justify-content:center;margin-bottom:var(--screen-space);img,svg{max-height:90px;max-width:180px;}"]),T=s.I4.div.withConfig({displayName:"LoadingWithIconContainer",componentId:"sc-2e815abe-12"})(["display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;height:82px;> div{position:relative;}> div > :first-child{position:relative;}> div > :last-child{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);}"]);const E=e=>{let{children:n}=e,i=(0,t.A)(e,h);return(0,o.jsx)(v,{children:(0,o.jsx)(f,(0,r.A)((0,r.A)({},i),{},{children:n}))})};let B=s.I4.div.withConfig({displayName:"ProgressBarContainer",componentId:"sc-2e815abe-13"})(["position:absolute;top:0;left:calc(-1 * var(--screen-space-lg));width:calc(100% + calc(var(--screen-space-lg) * 2));height:4px;background:var(--privy-color-background-2);border-top-left-radius:inherit;border-top-right-radius:inherit;overflow:hidden;"]),F=(0,s.I4)(c.B).withConfig({displayName:"StyledBlobbyFooter",componentId:"sc-2e815abe-14"})(["padding:0;&& a{padding:0;color:var(--privy-color-foreground-3);}"]),z=s.I4.div.withConfig({displayName:"ProgressBarFill",componentId:"sc-2e815abe-15"})(["height:100%;width:","%;background:var(--privy-color-foreground-3);border-radius:2px;transition:width 300ms ease-in-out;"],e=>{let{pct:n}=e;return n}),M=e=>{let{step:n}=e;return n?(0,o.jsx)(B,{children:(0,o.jsx)(z,{pct:Math.min(100,n.current/n.total*100)})}):null};E.Header=e=>{let{title:n,subtitle:i,icon:a,iconVariant:s,iconLoadingStatus:l,showBack:c,onBack:d,showInfo:h,onInfo:g,showClose:u,onClose:m,step:x}=e,v=(0,t.A)(e,p);return(0,o.jsxs)(y,(0,r.A)((0,r.A)({},v),{},{children:[(0,o.jsx)(b,{backFn:c?d:void 0,infoFn:h?g:void 0,onClose:u?m:void 0,closeable:u}),(a||s||n||i)&&(0,o.jsxs)(C,{children:[a||s?(0,o.jsx)(E.Icon,{icon:a,variant:s,loadingStatus:l}):null,(0,o.jsxs)(I,{children:[n&&(0,o.jsx)(k,{children:n}),i&&(0,o.jsx)(A,{children:i})]})]}),x&&(0,o.jsx)(M,{step:x})]}))},(E.Body=a.forwardRef((e,n)=>{let{children:i}=e,a=(0,t.A)(e,g);return(0,o.jsx)(j,(0,r.A)((0,r.A)({ref:n},a),{},{children:i}))})).displayName="Screen.Body",E.Footer=e=>{let{children:n}=e,i=(0,t.A)(e,u);return(0,o.jsx)(w,(0,r.A)((0,r.A)({id:"privy-content-footer-container"},i),{},{children:n}))},E.Actions=e=>{let{children:n}=e,i=(0,t.A)(e,m);return(0,o.jsx)(V,(0,r.A)((0,r.A)({},i),{},{children:n}))},E.HelpText=e=>{let{children:n}=e,i=(0,t.A)(e,x);return(0,o.jsx)(P,(0,r.A)((0,r.A)({},i),{},{children:n}))},E.Watermark=()=>(0,o.jsx)(F,{}),E.Icon=e=>{let{icon:n,variant:i="subtle",loadingStatus:r}=e;return"logo"===i&&n?(0,o.jsx)(N,"string"==typeof n?{children:(0,o.jsx)("img",{src:n,alt:""})}:a.isValidElement(n)?{children:n}:{children:a.createElement(n)}):"loading"===i?n?(0,o.jsx)(T,{children:(0,o.jsxs)("div",{style:{display:"flex",alignItems:"center",justifyContent:"center"},children:[(0,o.jsx)(l.a4,{success:null===r||void 0===r?void 0:r.success,fail:null===r||void 0===r?void 0:r.fail}),"string"==typeof n?(0,o.jsx)("span",{style:{background:"url('".concat(n,"') 0 0 / contain"),height:"38px",width:"38px",borderRadius:"6px",margin:"auto",backgroundSize:"contain"}}):a.isValidElement(n)?a.cloneElement(n,{style:{width:"38px",height:"38px"}}):a.createElement(n,{style:{width:"38px",height:"38px"}})]})}):(0,o.jsx)(S,{$variant:i,children:(0,o.jsx)(d.N,{size:"64px"})}):(0,o.jsx)(S,{$variant:i,children:n&&("string"==typeof n?(0,o.jsx)("img",{src:n,alt:"",style:{width:"32px",height:"32px",borderRadius:"6px"}}):a.isValidElement(n)?n:a.createElement(n,{width:32,height:32,stroke:(()=>{switch(i){case"success":return"var(--privy-color-icon-success)";case"warning":return"var(--privy-color-icon-warning)";case"error":return"var(--privy-color-icon-error)";default:return"var(--privy-color-icon-muted)"}})(),strokeWidth:2}))})};let V=s.I4.div.withConfig({displayName:"ActionsContainer",componentId:"sc-2e815abe-16"})(["width:100%;display:flex;flex-direction:column;gap:calc(var(--screen-space) / 2);"]),P=s.I4.p.withConfig({displayName:"HelpTextContainer",componentId:"sc-2e815abe-17"})(["&&{margin:0;width:100%;text-align:center;color:var(--privy-color-foreground-3);font-size:14px;line-height:22px;& a{color:var(--privy-color-accent);}}"])},76107:(e,n,i)=>{i.d(n,{N:()=>o});var r=i(90034),t=i(52610);const o=e=>{let{size:n,centerIcon:i}=e;return(0,r.jsx)(a,{$size:n,children:(0,r.jsxs)(s,{children:[(0,r.jsx)(c,{}),(0,r.jsx)(d,{}),i?(0,r.jsx)(l,{children:i}):null]})})};let a=t.I4.div.withConfig({displayName:"LoadingContainer",componentId:"sc-ebc93df8-0"})(["--spinner-size:",";display:inline-flex;justify-content:center;align-items:center;@media all and (display-mode:standalone){margin-bottom:30px;}"],e=>e.$size?e.$size:"96px"),s=t.I4.div.withConfig({displayName:"SpinnerContainer",componentId:"sc-ebc93df8-1"})(["position:relative;height:var(--spinner-size);width:var(--spinner-size);opacity:1;animation:fadein 200ms ease;"]),l=t.I4.div.withConfig({displayName:"CenterIconContainer",componentId:"sc-ebc93df8-2"})(["position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;svg,img{width:calc(var(--spinner-size) * 0.4);height:calc(var(--spinner-size) * 0.4);border-radius:var(--privy-border-radius-full);}"]),c=t.I4.div.withConfig({displayName:"CircleFixed",componentId:"sc-ebc93df8-3"})(["position:absolute;top:0;right:0;bottom:0;left:0;width:var(--spinner-size);height:var(--spinner-size);&&{border:4px solid var(--privy-color-border-default);border-radius:50%;}"]),d=t.I4.div.withConfig({displayName:"CircleRotate",componentId:"sc-ebc93df8-4"})(["position:absolute;top:0;right:0;bottom:0;left:0;width:var(--spinner-size);height:var(--spinner-size);animation:spin 1200ms linear infinite;&&{border:4px solid;border-color:var(--privy-color-icon-subtle) transparent transparent transparent;border-radius:50%;}@keyframes spin{from{transform:rotate(0deg);}to{transform:rotate(360deg);}}"])},78485:(e,n,i)=>{i.d(n,{V:()=>F,a:()=>z,b:()=>T,t:()=>M});var r=i(90034),t=i(18042),o=i(89474),a=i(4026),s=i(30121),l=i(33898),c=i(23316),d=i(1991),h=i(179),p=i(15882),g=i(57722);const u=["title","titleId"];function m(e,n){let{title:i,titleId:r}=e,t=(0,p.A)(e,u);return g.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":r},t),i?g.createElement("title",{id:r},i):null,g.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6.75 3v2.25M17.25 3v2.25M3 18.75V7.5a2.25 2.25 0 0 1 2.25-2.25h13.5A2.25 2.25 0 0 1 21 7.5v11.25m-18 0A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75m-18 0v-7.5A2.25 2.25 0 0 1 5.25 9h13.5A2.25 2.25 0 0 1 21 11.25v7.5"}))}const x=g.forwardRef(m);var v=i(359),f=i(67980),y=i(38774),b=i(51380),j=i(52610),w=i(652),C=i(66290),I=i(44131),k=i(78055),A=i(12663),S=i(90514),N=i(99844);const T=e=>{let{handleClose:n,user:i,onSelect:p}=e;return(0,r.jsxs)(c.S,{title:"Verify your identity",subtitle:"Cho
1ose a verification method",icon:s.A,iconVariant:"subtle",onClose:n,showClose:!0,watermark:!0,children:[(0,r.jsxs)(h.M,{children:[i.mfaMethods.includes("totp")&&(0,r.jsxs)(d.U,{onClick:()=>p("totp"),children:[(0,r.jsx)(d.V,{children:(0,r.jsx)(t.A,{})}),"Authenticator app"]},"totp"),i.mfaMethods.includes("sms")&&(0,r.jsxs)(d.U,{onClick:()=>p("sms"),children:[(0,r.jsx)(d.V,{children:(0,r.jsx)(a.A,{})}),"SMS"]},"sms"),i.mfaMethods.includes("passkey")&&(0,r.jsxs)(d.U,{onClick:()=>p("passkey"),children:[(0,r.jsx)(d.V,{children:(0,r.jsx)(o.A,{})}),"Passkey"]},"passkey")]}),(0,r.jsx)(l.a,{})]})},E=e=>{let{pendingTransaction:n}=e,{wallets:i}=(0,I.u)(),{walletProxy:t,rpcConfig:o,chains:a,appId:s,nativeTokenSymbolForChainId:l}=(0,b.u)(),[c,d]=(0,g.useState)(null),[h,p]=(0,g.useState)(n),{tokenPrice:u}=(0,C.u)(h.chainId),m=l(n.chainId)||"ETH",x=(0,g.useMemo)(()=>i.find(e=>"privy"===e.walletClientType),[i]);return(0,g.useEffect)(()=>{(async function(e){if(!t||!x)return h;let n=(0,A.g)(h.chainId,a,o,{appId:s}),i=await(0,k.p)(h,n,x.address);return d((0,w.nj)(BigInt(null!==(e=i.gas)&&void 0!==e?e:0))),i})().then(p).catch(console.error)},[t]),x?(0,r.jsx)(B,{children:(0,r.jsx)(S.T,{from:x.address,to:h.to,txn:h,gas:null!==c&&void 0!==c?c:void 0,tokenPrice:u,tokenSymbol:m})}):null};let B=j.I4.div.withConfig({displayName:"TransactionInfoWrapper",componentId:"sc-8d9a2f57-0"})(["width:100%;padding:1rem 0;"]);const F=e=>{var n;let{hasBlockingError:i,error:t,onClose:o,onBack:a,handleSubmit:c,account:p,submitSuccess:g}=e,{pendingTransaction:u}=(0,b.u)();return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(l.M,{onClose:o},"header"),(0,r.jsx)(y.e,{children:(0,r.jsxs)("div",{children:[(0,r.jsx)(d.a4,{success:g,fail:!!t}),(0,r.jsx)(t?v.A:h.F,{style:{width:"38px",height:"38px"}})]})}),(0,r.jsx)(h.T,{style:{marginTop:"1rem"},children:"Verifying with passkey"}),(0,r.jsxs)(h.L,{children:[(0,r.jsxs)(h.b,{children:[(0,r.jsx)(h.c,{children:(0,r.jsx)(s.A,{})}),"Approve this action using your touch, face, PIN, or hardware key."]}),(0,r.jsxs)(h.b,{children:[(0,r.jsx)(h.c,{children:(0,r.jsx)(x,{})}),"You last added a passkey on"," ",null===p||void 0===p||null===(n=p.firstVerifiedAt)||void 0===n?void 0:n.toLocaleDateString(void 0,{month:"short",day:"numeric",year:"numeric"}),"."]})]}),u&&(0,r.jsx)(h.C,{children:(0,r.jsx)(E,{pendingTransaction:u})}),t&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(h.E,{style:{marginTop:"1.25rem"},children:t.message}),(0,r.jsx)(f.P,{disabled:i,onClick:c,style:{margin:"1.25rem auto 0"},children:"Try again"})]}),a&&(0,r.jsx)(h.P,{style:{marginTop:"1rem"},onClick:a,children:"Choose another method"}),(0,r.jsx)(l.a,{})]})},z=e=>{let{selectedMethod:n,submitSuccess:i,hasBlockingError:o,onClose:s,onBack:c,handleSubmitCode:d}=e,p=(0,N.u)(),{pendingTransaction:g}=(0,b.u)();switch(n){case"sms":return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(l.M,{onClose:s},"header"),(0,r.jsx)(h.I,{style:{marginBottom:"1.5rem"},children:(0,r.jsx)(a.A,{})}),(0,r.jsx)(h.T,{children:"Enter verification code"}),(0,r.jsxs)(h.C,{children:[(0,r.jsx)(h.N,{success:i,disabled:o,onChange:d}),(0,r.jsxs)(h.S,{children:["To continue, please enter the 6-digit code sent to your ",(0,r.jsx)("strong",{children:"mobile device"})]}),g&&(0,r.jsx)(E,{pendingTransaction:g})]}),c&&(0,r.jsx)(h.P,{theme:null===p||void 0===p?void 0:p.appearance.palette.colorScheme,onClick:c,children:"Choose another method"}),(0,r.jsx)(f.S,{onClick:s,children:"Cancel"}),(0,r.jsx)(l.a,{})]});case"totp":return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(l.M,{onClose:s},"header"),(0,r.jsx)(h.I,{style:{marginBottom:"1.5rem"},children:(0,r.jsx)(t.A,{})}),(0,r.jsx)(h.T,{children:"Enter verification code"}),(0,r.jsxs)(h.C,{children:[(0,r.jsx)(h.N,{success:i,disabled:o,onChange:d}),(0,r.jsxs)(h.S,{children:["To continue, please enter the 6-digit code generated from your"," ",(0,r.jsx)("strong",{children:"authenticator app"})]}),g&&(0,r.jsx)(E,{pendingTransaction:g})]}),c&&(0,r.jsx)(h.P,{theme:null===p||void 0===p?void 0:p.appearance.palette.colorScheme,onClick:c,children:"Choose another method"}),(0,r.jsx)(f.S,{onClick:s,children:"Cancel"}),(0,r.jsx)(l.a,{})]});default:return null}},M=e=>(0,k.j)(e)?{isBlocking:!0,error:Error("You have exceeded the maximum number of attempts. Please close this window and try again in 10 seconds.")}:(0,k.g)(e)?{isBlocking:!1,error:Error("The code you entered is not val
1id")}:(0,k.h)(e)?{isBlocking:!0,error:Error("You have exceeded the time limit for code entry. Please try again in 30 seconds.")}:(console.error(e),{isBlocking:!1,error:Error("Something went wrong.")})}}]);
2//# sourceMappingURL=8485.2a320eac.chunk.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.