PageSourceSearch

https://dynamic-lebkuchen-0238db.netlify.app/static/js/3275.50311ace.chunk.js

js dynamic-lebkuchen-0238db.netlify.app collected 2026-10-03 10:41:25 UTC 9,036 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkico_react=self.webpackChunkico_react||[]).push([[3275],{18009:(e,t,o)=>{o.d(t,{A:()=>s});var i=o(15882),r=o(57722);const n=["title","titleId"];function l(e,t){let{title:o,titleId:l}=e,s=(0,i.A)(e,n);return r.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:t,"aria-labelledby":l},s),o?r.createElement("title",{id:l},o):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.5 10.5V6.75a4.5 4.5 0 1 0-9 0v3.75m-.75 11.25h10.5a2.25 2.25 0 0 0 2.25-2.25v-6.75a2.25 2.25 0 0 0-2.25-2.25H6.75a2.25 2.25 0 0 0-2.25 2.25v6.75a2.25 2.25 0 0 0 2.25 2.25Z"}))}const s=r.forwardRef(l)},63275:(e,t,o)=>{o.r(t),o.d(t,{RecoverySelectionScreen:()=>L,default:()=>L});var i=o(90034),r=o(18009),n=o(15882),l=o(57722);const s=["title","titleId"];function c(e,t){let{title:o,titleId:i}=e,r=(0,n.A)(e,s);return l.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:t,"aria-labelledby":i},r),o?l.createElement("title",{id:i},o):null,l.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m16.862 4.487 1.687-1.688a1.875 1.875 0 1 1 2.652 2.652L10.582 16.07a4.5 4.5 0 0 1-1.897 1.13L6 18l.8-2.685a4.5 4.5 0 0 1 1.13-1.897l8.932-8.931Zm0 0L19.5 7.125M18 14v4.75A2.25 2.25 0 0 1 15.75 21H5.25A2.25 2.25 0 0 1 3 18.75V8.25A2.25 2.25 0 0 1 5.25 6H10"}))}const d=l.forwardRef(c);var a=o(46695),u=o(52610),h=o(49931),p=o(67980),x=o(33898),v=o(93014),g=o(99844),y=o(51380),f=o(78055),j=o(85961),w=o(1991);o(88404),o(30549),o(2035),o(82425),o(82595);let C=u.I4.div.withConfig({displayName:"IconContainer",componentId:"sc-1c4e63fb-0"})(["width:24px;height:24px;display:flex;justify-content:center;align-items:center;"]),m={"google-drive":"Google Drive",icloud:"iCloud","user-passcode":"password",privy:"Privy","privy-v2":"Privy"},A=e=>{let{onClose:t}=e;return(0,i.jsxs)(j.a,{children:[(0,i.jsx)(v.C,{title:"Why do I need to secure my account?",icon:(0,i.jsx)(a.A,{width:48}),description:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("p",{children:"Your app uses cryptography to secure your account. App secrets are split and encrypted so only you can access them."}),(0,i.jsx)("p",{children:"To use this app on new devices, secure account secrets using a password, your Google or your Apple account. It\u2019s important you don\u2019t lose access to the method you choose."})]})}),(0,i.jsx)(p.P,{onClick:t,children:"Select backup method"})]})};const L={component:()=>{let[e,t]=(0,l.useState)(!1),{navigate:o,lastScreen:n,navigateBack:s,setModalData:c,data:a,onUserCloseViaDialogOrKeybindRef:u}=(0,h.a)(),{user:p}=(0,h.u)(),{embeddedWallets:L}=(0,g.u)(),{closePrivyModal:k}=(0,y.u)(),S=(0,h.g)(p),b=null===S,{isInAccountCreateFlow:I,isResettingPassword:M,shouldCreateEth:F,shouldCreateSol:E}=a.recoverySelection,R=S&&"privy"!==S.recoveryMethod,O=R?(0,i.jsxs)("span",{children:["Your account is currently secured using"," ",(0,i.jsx)("strong",{children:m[(null===S||void 0===S?void 0:S.recoveryMethod)||"user-passcode"]}),"."]}):"Select a method for logging in on new devices and recovering your account.";function H(e){c({recoveryOAuthStatus:{provider:e,action:b?"create-wallet":"set-recovery",isInAccountCreateFlow:I,shouldCreateEth:F,shouldCreateSol:E}}),o("RecoveryOAuthScreen")}function B(){var e,t,o;null!==a&&void 0!==a&&null!==(e=a.setWalletPassword)&&void 0!==e&&e.onFailure(Error("User exited set recovery flow")),k({shouldCallAuthOnSuccess:null!==(t=null===a||void 0===a||null===(o=a.setWalletPassword)||void 0===o?void 0:o.callAuthOnSuccessOnClose)&&void 0!==t&&t})}return u.current=B,(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(x.M,{onClose:B,backFn:e?()=>t(!1):n?s:void 0,infoFn:n||e?void 0:()=>t(!0)},"header"),e?(0,i.jsx)(A,{onClose:()=>t(!1)}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(v.C,{title:R?"Update backup method":"Secure your account",icon:(0,i.jsx)(r.A,{width:48}),description:O}),(0,i.jsx)(j.R,{children:L.userOwnedRecoveryOptions.filter(e=>!["icloud","google-drive"].includes((null===S||void 0===S?void 0:S.recoveryMethod)||"")||e!==(null===S||void 0===S?void 0:S.recoveryMethod)).sort().map(e=>{switch(e){case"google-drive":return(0,i.jsxs)(w.U,{onClick:()=>H("google-drive"),children:[(0,i.jsx)(C,{children:(0,i.jsx)(j.G,{style:{width:18}})}),"Back up to Google Drive"]},e);case"icloud":return(0,i.jsxs)(w.U,{onClick:()=>H("icloud"),children:[(0,i.jsx)(C,{children:(0,i.jsx)(j.A,{style:{width:24}})}),"Back up to Apple iCloud"]},e);case"user-passcode":return(0,i.jsxs)(w.U,{onClick:()=>{o((0,f.y)({isCreatingWallet:b,skipSplashScreen:!0}))},children:[(0,i.jsx)(C,{children:(0,i.jsx)(d,{style:{width:18}})}),M?"Reset your":"Set a"," password"]},e);default:return null}})})]}),(0,i.jsx)(x.B,{})]})}}},85961:(e,t,o)=>{o.d(t,{A:()=>c,G:()=>d,R:()=>a,a:()=>u});
1var i=o(15882),r=o(24107),n=o(90034),l=o(52610);const s=["style"],c=e=>(0,n.jsxs)("svg",(0,r.A)((0,r.A)({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 21 20"},e),{},{children:[(0,n.jsx)("path",{fill:"url(#icloud-gradient)",d:"M12.34 7.315a4.26 4.26 0 0 0-3.707 2.18 2.336 2.336 0 0 0-1.02-.236 2.336 2.336 0 0 0-2.3 1.963 3.217 3.217 0 0 0 1.244 6.181c.135-.001.27-.01.404-.029h8.943c.047.004.094.006.141.007.045-.001.09-.004.135-.007h.214v-.016a2.99 2.99 0 0 0 1.887-.988c.487-.55.757-1.261.757-1.998v-.006a3.017 3.017 0 0 0-.69-1.915 2.992 2.992 0 0 0-1.748-1.034 4.26 4.26 0 0 0-4.26-4.102Z"}),(0,n.jsx)("defs",{children:(0,n.jsxs)("linearGradient",{id:"icloud-gradient",x1:19.086,x2:3.333,y1:14.38,y2:14.163,gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{stopColor:"#3E82F4"}),(0,n.jsx)("stop",{offset:1,stopColor:"#93DCF7"})]})})]})),d=e=>{let{style:t}=e,o=(0,i.A)(e,s);return(0,n.jsxs)("svg",(0,r.A)((0,r.A)({width:"16",height:"14",style:t,viewBox:"0 0 16 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o),{},{children:[(0,n.jsxs)("g",{clipPath:"url(#clip0_2115_829)",children:[(0,n.jsx)("path",{d:"M2.34709 12.9404L2.3471 12.9404L2.34565 12.938L1.64031 11.7448L1.64004 11.7444L0.651257 10.0677C0.640723 10.0496 0.630746 10.0314 0.621325 10.0129H4.16461L2.39424 13.0139C2.3775 12.9901 2.36178 12.9656 2.34709 12.9404Z",fill:"#0066DA",stroke:"#6366F1"}),(0,n.jsx)("path",{d:"M8 4.48713L5.47995 0.215332C5.23253 0.358922 5.02176 0.556358 4.87514 0.80764L0.219931 8.70508C0.076007 8.95094 0.000191627 9.22937 0 9.51277H5.04009L8 4.48713Z",fill:"#00AC47"}),(0,n.jsx)("path",{d:"M13.48 13.7847C13.7274 13.6411 13.9382 13.4437 14.0848 13.1924L14.3781 12.6988L15.7801 10.3206C15.9267 10.0693 16.0001 9.79114 16.0001 9.51294H10.9596L12.0321 11.577L13.48 13.7847Z",fill:"#EA4335"}),(0,n.jsx)("path",{d:"M8.00003 4.48718L10.5201 0.215385C10.2726 0.0717949 9.98857 0 9.69533 0H6.30472C6.01148 0 5.7274 0.0807692 5.47998 0.215385L8.00003 4.48718Z",fill:"#00832D"}),(0,n.jsx)("path",{d:"M10.9599 9.51294H5.04007L2.52002 13.7847C2.76744 13.9283 3.05152 14.0001 3.34476 14.0001H12.6552C12.9484 14.0001 13.2325 13.9194 13.4799 13.7847L10.9599 9.51294Z",fill:"#2684FC"}),(0,n.jsx)("path",{d:"M13.4525 4.75636L11.1249 0.80764C10.9782 0.556358 10.7675 0.358922 10.52 0.215332L8 4.48713L10.9599 9.51277H15.9908C15.9908 9.23456 15.9175 8.95636 15.7709 8.70508L13.4525 4.75636Z",fill:"#FFBA00"})]}),(0,n.jsx)("defs",{children:(0,n.jsx)("clipPath",{id:"clip0_2115_829",children:(0,n.jsx)("rect",{width:"16",height:"14",fill:"white"})})})]}))},a=l.I4.div.withConfig({displayName:"RecoveryContainer",componentId:"sc-12b46968-0"})(["display:flex;flex-direction:column;gap:12px;padding-top:24px;padding-bottom:24px;"]),u=l.I4.div.withConfig({displayName:"RecoveryExplainerContainer",componentId:"sc-12b46968-1"})(["padding-bottom:24px;"])},93014:(e,t,o)=>{o.d(t,{C:()=>a,S:()=>d});var i=o(24107),r=o(15882),n=o(90034),l=o(52610);const s=["title","description","children"],c=["title","description","icon","children"],d=e=>{let{title:t,description:o,children:l}=e,c=(0,r.A)(e,s);return(0,n.jsx)(u,(0,i.A)((0,i.A)({},c),{},{children:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("h3",{children:t}),"string"==typeof o?(0,n.jsx)("p",{children:o}):o,l]})}))},a=e=>{let{title:t,description:o,icon:l,children:s}=e,d=(0,r.A)(e,c);return(0,n.jsxs)(h,(0,i.A)((0,i.A)({},d),{},{children:[l||null,(0,n.jsx)("h3",{children:t}),o&&"string"==typeof o?(0,n.jsx)("p",{children:o}):o,s]}))};let u=l.I4.div.withConfig({displayName:"StyledSection",componentId:"sc-523a75d6-1"})(["display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;text-align:left;gap:8px;width:100%;margin-bottom:24px;&& h3{font-size:17px;color:var(--privy-color-foreground);}&& p{color:var(--privy-color-foreground-2);font-size:14px;}"]),h=(0,l.I4)(u).withConfig({displayName:"CenteredStyledSection",componentId:"sc-523a75d6-2"})(["align-items:center;text-align:center;gap:16px;h3{margin-bottom:24px;}"])}}]);
2//# sourceMappingURL=3275.50311ace.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.