@privy-io/expo 0.76.3 → 0.76.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/cards.js +65 -1
- package/dist/{chunk-HNRKZKAW.js → chunk-23WNYVKL.js} +1 -1
- package/dist/chunk-JIZ4JSW7.js +315 -0
- package/dist/{chunk-6D3SMMVW.js → chunk-PGQ2JGFS.js} +1 -1
- package/dist/esm/cards.js +65 -1
- package/dist/esm/{chunk-HNRKZKAW.js → chunk-23WNYVKL.js} +1 -1
- package/dist/esm/chunk-JIZ4JSW7.js +315 -0
- package/dist/esm/{chunk-6D3SMMVW.js → chunk-PGQ2JGFS.js} +1 -1
- package/dist/esm/extended-chains.js +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/passkey.js +1 -1
- package/dist/esm/smart-wallets.js +1 -1
- package/dist/esm/ui.js +1 -1
- package/dist/extended-chains.js +1 -1
- package/dist/index.js +1 -1
- package/dist/passkey.js +1 -1
- package/dist/smart-wallets.js +1 -1
- package/dist/ui.js +1 -1
- package/package.json +4 -4
- package/dist/chunk-KPLYSDTS.js +0 -299
- package/dist/esm/chunk-KPLYSDTS.js +0 -299
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@privy-io/expo",
|
|
3
|
-
"version": "0.76.
|
|
3
|
+
"version": "0.76.4",
|
|
4
4
|
"description": "Expo client for the Privy Auth API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"authentication",
|
|
@@ -71,9 +71,9 @@
|
|
|
71
71
|
],
|
|
72
72
|
"dependencies": {
|
|
73
73
|
"@privy-io/api-types": "0.23.0",
|
|
74
|
-
"@privy-io/are-addresses-equal": "0.0.
|
|
74
|
+
"@privy-io/are-addresses-equal": "0.0.16",
|
|
75
75
|
"@privy-io/encoding": "0.4.0",
|
|
76
|
-
"@privy-io/js-sdk-core": "0.78.
|
|
76
|
+
"@privy-io/js-sdk-core": "0.78.4",
|
|
77
77
|
"@privy-io/routes": "0.4.4",
|
|
78
78
|
"@scure/base": "^1.2.4",
|
|
79
79
|
"react-fast-compare": "^3.2.2",
|
|
@@ -130,7 +130,7 @@
|
|
|
130
130
|
"react-native-safe-area-context": "*",
|
|
131
131
|
"react-native-svg": "*",
|
|
132
132
|
"react-native-webview": "*",
|
|
133
|
-
"viem": "2.57.
|
|
133
|
+
"viem": "2.57.7"
|
|
134
134
|
},
|
|
135
135
|
"peerDependenciesMeta": {
|
|
136
136
|
"permissionless": {
|
package/dist/chunk-KPLYSDTS.js
DELETED
|
@@ -1,299 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }var _chunkHNRKZKAWjs = require('./chunk-HNRKZKAW.js');var _chunkK5SPDXVFjs = require('./chunk-K5SPDXVF.js');var C=class extends Error{constructor(o,u){super(u);this.code=o,this.error=u}},Ie= exports.K =class extends C{constructor(o){super("underlying_error",o instanceof Error?o.message:"An underlying error occurred");this.wrappedError=o}};var _react = require('react'); var _react2 = _interopRequireDefault(_react);var U=_react.createContext.call(void 0, void 0);var xe="#5B4FFF";function Ce({colorScheme:a,accentHex:t}){return a==="dark"?{interactive:t,background:"#22222A",backgroundSecondary:"#010110",backgroundInformation:"#1E1B4B",backgroundTertiary:"#010110",backgroundHighlight:"#052E16",text:"#ffffff",textPlaceholder:"#9498B8",textMuted:"#FFFFFF",textHighlight:"#BBF7D0",textTitle:"#FFFFFF",textInteractive:"#FFFFFF",icon:"#FFFFFF",iconInformation:"#818CF8",iconSubtle:"#919191",privyBrand:"#FFFFFF",success:"#4ADE80",successLight:"#C5F7D7",border:"#474869",borderInformation:"#818CF8",error:"#FCA5A5",errorDark:"#EF4444"}:{interactive:t,background:"#FFFFFF",backgroundSecondary:"#F3F3F3",backgroundInformation:"#E0E7FF",backgroundTertiary:"#FFFFFF",backgroundHighlight:"#F1F2F9",text:"#040217",textPlaceholder:"#9498B8",textMuted:"#64668B",textHighlight:"#64668B",textTitle:"#1A1C29",textInteractive:"#FFFFFF",icon:"#110F2A",iconSubtle:"#9498B8",iconInformation:"#4F46E5",privyBrand:"#010110",success:"#16A34A",successLight:"#DCFCE7",border:"#E2E3F0",borderInformation:"#5B4FFF",error:"#EF4444",errorDark:"#B91C1C"}}function he({colorScheme:a,accentHex:t}){return{colors:Ce({colorScheme:a,accentHex:t}),colorScheme:a}}function be({children:a,appearance:t={}}){let{colorScheme:o="light",accentColor:u}=t,{isReady:l,client:r}=_react.useContext.call(void 0, _chunkHNRKZKAWjs.ka),f=_react.useMemo.call(void 0, ()=>{var y,m;let c=l?r.app.getConfig():void 0,x=(y=c==null?void 0:c.accent_color)!=null?y:void 0;return he({colorScheme:o,accentHex:(m=u!=null?u:x)!=null?m:xe})},[o,u,l,r]);return _react2.default.createElement(U.Provider,{value:f},a)}var i=()=>{let a=_react.useContext.call(void 0, U);if(a===void 0)throw new Error("Components calling useTheme must be wrapped in an ElementsThemeProvider");return a};var _zustand = require('zustand');var _vanilla = require('zustand/vanilla');var O=_vanilla.createStore.call(void 0, )(a=>({elementsConfig:null,updateUIMounted:t=>a({elementsConfig:t})})),ya= exports.L =()=>{let{elementsConfig:a}=O.getState();if(!(a!==null))throw new C("privy_elements_not_ready","Privy Elements is not mounted")},Ba= exports.M =()=>{let{elementsConfig:a}=O.getState();if(a===null)throw new C("privy_elements_not_ready","Privy Elements is not mounted");return a},Ma= exports.N =()=>_zustand.useStore.call(void 0, O,a=>{var t;return(t=a.elementsConfig)==null?void 0:t.appearance}),Da= exports.O =a=>{_react.useEffect.call(void 0, ()=>{let{updateUIMounted:t}=O.getState();return t(a),()=>{t(null)}},[a])};var ge={regular:"Inter_400Regular",medium:"Inter_500Medium",semibold:"Inter_600SemiBold"};var _reactnative = require('react-native');var Ve=_react2.default.forwardRef((l,u)=>{var r=l,{style:a,variant:t="default"}=r,o=_chunkK5SPDXVFjs.d.call(void 0, r,["style","variant"]);let{colors:f}=i();return _react2.default.createElement(_reactnative.View,_chunkK5SPDXVFjs.b.call(void 0, {ref:u,style:[H.alert,t==="info"&&{backgroundColor:f.backgroundInformation,borderColor:f.borderInformation},a]},o))});Ve.displayName="Alert";var Ge=_react2.default.forwardRef((u,o)=>{var l=u,{style:a}=l,t=_chunkK5SPDXVFjs.d.call(void 0, l,["style"]);let{colors:r}=i();return _react2.default.createElement(_reactnative.Text,_chunkK5SPDXVFjs.b.call(void 0, {ref:o,style:[H.title,{color:r.text},a]},t))});Ge.displayName="AlertTitle";var ze=_react2.default.forwardRef((u,o)=>{var l=u,{style:a}=l,t=_chunkK5SPDXVFjs.d.call(void 0, l,["style"]);let{colors:r}=i();return _react2.default.createElement(_reactnative.Text,_chunkK5SPDXVFjs.b.call(void 0, {ref:o,style:[H.description,{color:r.text},a]},t))});ze.displayName="AlertDescription";var H=_reactnative.StyleSheet.create({alert:{borderRadius:8,alignItems:"center",gap:12,paddingHorizontal:12,paddingVertical:8,flexDirection:"row"},title:{marginBottom:4,fontFamily:ge.semibold,fontSize:16},description:{fontSize:14,lineHeight:20}});var _reactnativesvg = require('react-native-svg'); var E = _interopRequireWildcard(_reactnativesvg);var L={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},ke={fill:L.fill,stroke:L.stroke,strokeWidth:L.strokeWidth,strokeLinecap:L.strokeLinecap,strokeLinejoin:L.strokeLinejoin};var e=(a,t)=>{let o=_react.forwardRef.call(void 0, (n,m)=>{var B=n,{color:u="currentColor",size:l=24,strokeWidth:r=2,absoluteStrokeWidth:f,children:c,"data-testid":x}=B,y=_chunkK5SPDXVFjs.d.call(void 0, B,["color","size","strokeWidth","absoluteStrokeWidth","children","data-testid"]);let q=_chunkK5SPDXVFjs.b.call(void 0, {stroke:u,strokeWidth:f?Number(r)*24/Number(l):r},y);return _react.createElement.call(void 0, E.Svg,_chunkK5SPDXVFjs.b.call(void 0, _chunkK5SPDXVFjs.c.call(void 0, _chunkK5SPDXVFjs.b.call(void 0, {ref:m},L),{width:l,height:l,"data-testid":x}),q),[...t.map(([M,ye])=>{let Be=M.charAt(0).toUpperCase()+M.slice(1);return _react.createElement.call(void 0, E[Be],_chunkK5SPDXVFjs.b.call(void 0, _chunkK5SPDXVFjs.b.call(void 0, _chunkK5SPDXVFjs.b.call(void 0, {},ke),q),ye))}),...(Array.isArray(c)?c:[c])||[]])});return o.displayName=`${a}`,o};var V=e("ArrowLeftRight",[["path",{d:"M8 3 4 7l4 4",key:"9rb6wj"}],["path",{d:"M4 7h16",key:"6tx8e3"}],["path",{d:"m16 21 4-4-4-4",key:"siv7j2"}],["path",{d:"M20 17H4",key:"h6l3hr"}]]);var D=e("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);var G=e("Ban",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m4.9 4.9 14.2 14.2",key:"1m5liu"}]]);var g=e("ChartLine",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"m19 9-5 5-4-4-3 3",key:"2osh9i"}]]);var z=e("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);var W=e("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);var X=e("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);var S=e("CircleCheckBig",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);var k=e("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);var w=e("CircleHelp",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);var P=e("CircleX",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);var N=e("Clock10",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 8 10",key:"atfzqc"}]]);var A=e("CloudUpload",[["path",{d:"M12 13v8",key:"1l5pq0"}],["path",{d:"M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242",key:"1pljnt"}],["path",{d:"m8 17 4-4 4 4",key:"1quai1"}]]);var _=e("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);var K=e("CreditCard",[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]]);var Z=e("ExternalLink",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);var J=e("FileCheck",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"m9 15 2 2 4-4",key:"1grp1n"}]]);var F=e("FilePen",[["path",{d:"M12.5 22H18a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v9.5",key:"1couwa"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M13.378 15.626a1 1 0 1 0-3.004-3.004l-5.01 5.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z",key:"1y4qbx"}]]);var Q=e("Files",[["path",{d:"M20 7h-3a2 2 0 0 1-2-2V2",key:"x099mo"}],["path",{d:"M9 18a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h7l4 4v10a2 2 0 0 1-2 2Z",key:"18t6ie"}],["path",{d:"M3 7.6v12.8A1.6 1.6 0 0 0 4.6 22h9.8",key:"1nja0z"}]]);var j=e("Fingerprint",[["path",{d:"M12 10a2 2 0 0 0-2 2c0 1.02-.1 2.51-.26 4",key:"1nerag"}],["path",{d:"M14 13.12c0 2.38 0 6.38-1 8.88",key:"o46ks0"}],["path",{d:"M17.29 21.02c.12-.6.43-2.3.5-3.02",key:"ptglia"}],["path",{d:"M2 12a10 10 0 0 1 18-6",key:"ydlgp0"}],["path",{d:"M2 16h.01",key:"1gqxmh"}],["path",{d:"M21.8 16c.2-2 .131-5.354 0-6",key:"drycrb"}],["path",{d:"M5 19.5C5.5 18 6 15 6 12a6 6 0 0 1 .34-2",key:"1tidbn"}],["path",{d:"M8.65 22c.21-.66.45-1.32.57-2",key:"13wd9y"}],["path",{d:"M9 6.8a6 6 0 0 1 9 5.2v2",key:"1fr1j5"}]]);var Y=e("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);var $=e("LogIn",[["path",{d:"M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4",key:"u53s6r"}],["polyline",{points:"10 17 15 12 10 7",key:"1ail0h"}],["line",{x1:"15",x2:"3",y1:"12",y2:"12",key:"v6grx8"}]]);var ee=e("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]]);var ae=e("Phone",[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]]);var te=e("QrCode",[["rect",{width:"5",height:"5",x:"3",y:"3",rx:"1",key:"1tu5fj"}],["rect",{width:"5",height:"5",x:"16",y:"3",rx:"1",key:"1v8r4q"}],["rect",{width:"5",height:"5",x:"3",y:"16",rx:"1",key:"1x03jg"}],["path",{d:"M21 16h-3a2 2 0 0 0-2 2v3",key:"177gqh"}],["path",{d:"M21 21v.01",key:"ents32"}],["path",{d:"M12 7v3a2 2 0 0 1-2 2H7",key:"8crl2c"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M12 3h.01",key:"n36tog"}],["path",{d:"M12 16v.01",key:"133mhm"}],["path",{d:"M16 12h1",key:"1slzba"}],["path",{d:"M21 12v.01",key:"1lwtk9"}],["path",{d:"M12 21v-1",key:"1880an"}]]);var oe=e("RefreshCw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);var ue=e("ScanFace",[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}],["path",{d:"M8 14s1.5 2 4 2 4-2 4-2",key:"1y1vjs"}],["path",{d:"M9 9h.01",key:"1q5me6"}],["path",{d:"M15 9h.01",key:"x1ddxp"}]]);var de=e("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);var le=e("ShieldAlert",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"M12 8v4",key:"1got3b"}],["path",{d:"M12 16h.01",key:"1drbdi"}]]);var re=e("ShieldCheck",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);var fe=e("Smartphone",[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]]);var se=e("Store",[["path",{d:"m2 7 4.41-4.41A2 2 0 0 1 7.83 2h8.34a2 2 0 0 1 1.42.59L22 7",key:"ztvudi"}],["path",{d:"M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8",key:"1b2hhj"}],["path",{d:"M15 22v-4a2 2 0 0 0-2-2h-2a2 2 0 0 0-2 2v4",key:"2ebpfo"}],["path",{d:"M2 7h20",key:"1fcdvo"}],["path",{d:"M22 7v3a2 2 0 0 1-2 2a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 16 12a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 12 12a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 8 12a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 4 12a2 2 0 0 1-2-2V7",key:"6c3vgh"}]]);var ie=e("UserCheck",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["polyline",{points:"16 11 18 13 22 9",key:"1pwet4"}]]);var T=e("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);var Xo=({goBack:a,close:t})=>_react2.default.createElement(_reactnative.View,{style:ce.navigationBar},_react2.default.createElement(_reactnative.View,null,a&&_react2.default.createElement(Ne,{onPress:a})),_react2.default.createElement(_reactnative.View,null,t&&_react2.default.createElement(_e,{onPress:t}))),Ne=a=>{let{colors:t}=i();return _react2.default.createElement(_reactnative.Pressable,_chunkK5SPDXVFjs.b.call(void 0, {accessibilityRole:"button",accessibilityLabel:"Back"},a),_react2.default.createElement(_reactnative.View,{style:ce.backButton},_react2.default.createElement(D,{size:24,color:t.icon})))},_e=a=>{let{colors:t}=i();return _react2.default.createElement(_reactnative.Pressable,_chunkK5SPDXVFjs.b.call(void 0, {accessibilityRole:"button",accessibilityLabel:"Close"},a),_react2.default.createElement(_reactnative.View,{style:ce.backButton},_react2.default.createElement(T,{size:24,color:t.icon})))},ce=_reactnative.StyleSheet.create({navigationBar:{height:48,flexDirection:"row",justifyContent:"space-between"},backButton:{width:48,height:48,justifyContent:"center",alignItems:"center"}});var ne=_zustand.create.call(void 0, ()=>null),Ze= exports.U =()=>{var t;let a=(t=ne.getState())==null?void 0:t.controller;return!a||a.signal.aborted?null:a},Zo= exports.V =()=>{var a;(a=Ze())==null||a.abort(),ne.setState(null)},Jo= exports.W =a=>{ne.setState(t=>t&&{step:a})};var Ae=({color:a})=>{let t=_reactnative.useAnimatedValue.call(void 0, 0);_react.useEffect.call(void 0, ()=>{t.setValue(0);let u=_reactnative.Animated.loop(_reactnative.Animated.timing(t,{toValue:1,duration:1200,useNativeDriver:!0,easing:_reactnative.Easing.linear}));return u.start(),()=>u.stop()},[t]);let o=t.interpolate({inputRange:[0,1],outputRange:["0deg","360deg"]});return _react2.default.createElement(_reactnative.Animated.View,{style:{transform:[{rotate:o}]}},_react2.default.createElement(E.default,{width:20,height:20,viewBox:"0 0 20 20",fill:"none"},_react2.default.createElement(_reactnativesvg.Path,{d:"M19 10a9 9 0 11-6.219-8.56",stroke:a,strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))};var du=y=>{var m=y,{variant:a="primary",title:t,destroy:o=!1,loading:u=!1,LeftIcon:l,RightIcon:r,color:f,style:c}=m,x=_chunkK5SPDXVFjs.d.call(void 0, m,["variant","title","destroy","loading","LeftIcon","RightIcon","color","style"]);let{colors:n}=i(),B=o?n.errorDark:n.interactive,q={primary:B,secondary:n.backgroundTertiary,tertiary:n.background}[a],M={primary:n.textInteractive,secondary:n.text,tertiary:B}[a];return _react2.default.createElement(_reactnative.Pressable,_chunkK5SPDXVFjs.c.call(void 0, _chunkK5SPDXVFjs.b.call(void 0, {},x),{disabled:x.disabled||u}),_react2.default.createElement(_reactnative.View,{style:[b.buttonBox,{backgroundColor:q},a==="secondary"&&b.buttonBoxSecondary,a==="secondary"&&{borderColor:n.border},c]},u?_react2.default.createElement(Ae,{color:f!=null?f:M}):_react2.default.createElement(_react2.default.Fragment,null,l,_react2.default.createElement(_reactnative.Text,{style:[b.buttonLabel,{color:f!=null?f:M},a==="secondary"&&b.buttonLabelSecondary,a==="tertiary"&&b.buttonLabelTertiary]},t),!!r&&_react2.default.createElement(_reactnative.View,{style:{marginLeft:"auto"}},r))))},b=_reactnative.StyleSheet.create({buttonBox:{height:54,flexDirection:"row",justifyContent:"center",alignItems:"center",borderRadius:14,paddingHorizontal:16,gap:12},buttonBoxSecondary:{justifyContent:"flex-start",borderWidth:1,borderRadius:12},buttonLabel:{fontFamily:"Inter_600SemiBold",fontSize:16,lineHeight:24},buttonLabelSecondary:{fontFamily:"Inter_400Regular"},buttonLabelTertiary:{fontFamily:"Inter_500Medium"}});exports.a = be; exports.b = i; exports.c = du; exports.d = V; exports.e = G; exports.f = g; exports.g = z; exports.h = W; exports.i = X; exports.j = S; exports.k = k; exports.l = w; exports.m = P; exports.n = N; exports.o = A; exports.p = _; exports.q = K; exports.r = Z; exports.s = J; exports.t = F; exports.u = Q; exports.v = j; exports.w = Y; exports.x = $; exports.y = ee; exports.z = ae; exports.A = te; exports.B = oe; exports.C = ue; exports.D = de; exports.E = le; exports.F = re; exports.G = fe; exports.H = se; exports.I = ie; exports.J = C; exports.K = Ie; exports.L = ya; exports.M = Ba; exports.N = Ma; exports.O = Da; exports.P = ge; exports.Q = Ve; exports.R = ze; exports.S = Xo; exports.T = ne; exports.U = Ze; exports.V = Zo; exports.W = Jo;
|
|
2
|
-
/*! Bundled license information:
|
|
3
|
-
|
|
4
|
-
lucide-react-native/dist/esm/defaultAttributes.js:
|
|
5
|
-
(**
|
|
6
|
-
* @license lucide-react-native v0.474.0 - ISC
|
|
7
|
-
*
|
|
8
|
-
* This source code is licensed under the ISC license.
|
|
9
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
10
|
-
*)
|
|
11
|
-
|
|
12
|
-
lucide-react-native/dist/esm/createLucideIcon.js:
|
|
13
|
-
(**
|
|
14
|
-
* @license lucide-react-native v0.474.0 - ISC
|
|
15
|
-
*
|
|
16
|
-
* This source code is licensed under the ISC license.
|
|
17
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
18
|
-
*)
|
|
19
|
-
|
|
20
|
-
lucide-react-native/dist/esm/icons/arrow-left-right.js:
|
|
21
|
-
(**
|
|
22
|
-
* @license lucide-react-native v0.474.0 - ISC
|
|
23
|
-
*
|
|
24
|
-
* This source code is licensed under the ISC license.
|
|
25
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
26
|
-
*)
|
|
27
|
-
|
|
28
|
-
lucide-react-native/dist/esm/icons/arrow-left.js:
|
|
29
|
-
(**
|
|
30
|
-
* @license lucide-react-native v0.474.0 - ISC
|
|
31
|
-
*
|
|
32
|
-
* This source code is licensed under the ISC license.
|
|
33
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
34
|
-
*)
|
|
35
|
-
|
|
36
|
-
lucide-react-native/dist/esm/icons/ban.js:
|
|
37
|
-
(**
|
|
38
|
-
* @license lucide-react-native v0.474.0 - ISC
|
|
39
|
-
*
|
|
40
|
-
* This source code is licensed under the ISC license.
|
|
41
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
42
|
-
*)
|
|
43
|
-
|
|
44
|
-
lucide-react-native/dist/esm/icons/chart-line.js:
|
|
45
|
-
(**
|
|
46
|
-
* @license lucide-react-native v0.474.0 - ISC
|
|
47
|
-
*
|
|
48
|
-
* This source code is licensed under the ISC license.
|
|
49
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
50
|
-
*)
|
|
51
|
-
|
|
52
|
-
lucide-react-native/dist/esm/icons/check.js:
|
|
53
|
-
(**
|
|
54
|
-
* @license lucide-react-native v0.474.0 - ISC
|
|
55
|
-
*
|
|
56
|
-
* This source code is licensed under the ISC license.
|
|
57
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
58
|
-
*)
|
|
59
|
-
|
|
60
|
-
lucide-react-native/dist/esm/icons/chevron-down.js:
|
|
61
|
-
(**
|
|
62
|
-
* @license lucide-react-native v0.474.0 - ISC
|
|
63
|
-
*
|
|
64
|
-
* This source code is licensed under the ISC license.
|
|
65
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
66
|
-
*)
|
|
67
|
-
|
|
68
|
-
lucide-react-native/dist/esm/icons/chevron-right.js:
|
|
69
|
-
(**
|
|
70
|
-
* @license lucide-react-native v0.474.0 - ISC
|
|
71
|
-
*
|
|
72
|
-
* This source code is licensed under the ISC license.
|
|
73
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
74
|
-
*)
|
|
75
|
-
|
|
76
|
-
lucide-react-native/dist/esm/icons/circle-check-big.js:
|
|
77
|
-
(**
|
|
78
|
-
* @license lucide-react-native v0.474.0 - ISC
|
|
79
|
-
*
|
|
80
|
-
* This source code is licensed under the ISC license.
|
|
81
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
82
|
-
*)
|
|
83
|
-
|
|
84
|
-
lucide-react-native/dist/esm/icons/circle-check.js:
|
|
85
|
-
(**
|
|
86
|
-
* @license lucide-react-native v0.474.0 - ISC
|
|
87
|
-
*
|
|
88
|
-
* This source code is licensed under the ISC license.
|
|
89
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
90
|
-
*)
|
|
91
|
-
|
|
92
|
-
lucide-react-native/dist/esm/icons/circle-help.js:
|
|
93
|
-
(**
|
|
94
|
-
* @license lucide-react-native v0.474.0 - ISC
|
|
95
|
-
*
|
|
96
|
-
* This source code is licensed under the ISC license.
|
|
97
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
98
|
-
*)
|
|
99
|
-
|
|
100
|
-
lucide-react-native/dist/esm/icons/circle-x.js:
|
|
101
|
-
(**
|
|
102
|
-
* @license lucide-react-native v0.474.0 - ISC
|
|
103
|
-
*
|
|
104
|
-
* This source code is licensed under the ISC license.
|
|
105
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
106
|
-
*)
|
|
107
|
-
|
|
108
|
-
lucide-react-native/dist/esm/icons/clock-10.js:
|
|
109
|
-
(**
|
|
110
|
-
* @license lucide-react-native v0.474.0 - ISC
|
|
111
|
-
*
|
|
112
|
-
* This source code is licensed under the ISC license.
|
|
113
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
114
|
-
*)
|
|
115
|
-
|
|
116
|
-
lucide-react-native/dist/esm/icons/cloud-upload.js:
|
|
117
|
-
(**
|
|
118
|
-
* @license lucide-react-native v0.474.0 - ISC
|
|
119
|
-
*
|
|
120
|
-
* This source code is licensed under the ISC license.
|
|
121
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
122
|
-
*)
|
|
123
|
-
|
|
124
|
-
lucide-react-native/dist/esm/icons/copy.js:
|
|
125
|
-
(**
|
|
126
|
-
* @license lucide-react-native v0.474.0 - ISC
|
|
127
|
-
*
|
|
128
|
-
* This source code is licensed under the ISC license.
|
|
129
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
130
|
-
*)
|
|
131
|
-
|
|
132
|
-
lucide-react-native/dist/esm/icons/credit-card.js:
|
|
133
|
-
(**
|
|
134
|
-
* @license lucide-react-native v0.474.0 - ISC
|
|
135
|
-
*
|
|
136
|
-
* This source code is licensed under the ISC license.
|
|
137
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
138
|
-
*)
|
|
139
|
-
|
|
140
|
-
lucide-react-native/dist/esm/icons/external-link.js:
|
|
141
|
-
(**
|
|
142
|
-
* @license lucide-react-native v0.474.0 - ISC
|
|
143
|
-
*
|
|
144
|
-
* This source code is licensed under the ISC license.
|
|
145
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
146
|
-
*)
|
|
147
|
-
|
|
148
|
-
lucide-react-native/dist/esm/icons/file-check.js:
|
|
149
|
-
(**
|
|
150
|
-
* @license lucide-react-native v0.474.0 - ISC
|
|
151
|
-
*
|
|
152
|
-
* This source code is licensed under the ISC license.
|
|
153
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
154
|
-
*)
|
|
155
|
-
|
|
156
|
-
lucide-react-native/dist/esm/icons/file-pen.js:
|
|
157
|
-
(**
|
|
158
|
-
* @license lucide-react-native v0.474.0 - ISC
|
|
159
|
-
*
|
|
160
|
-
* This source code is licensed under the ISC license.
|
|
161
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
162
|
-
*)
|
|
163
|
-
|
|
164
|
-
lucide-react-native/dist/esm/icons/files.js:
|
|
165
|
-
(**
|
|
166
|
-
* @license lucide-react-native v0.474.0 - ISC
|
|
167
|
-
*
|
|
168
|
-
* This source code is licensed under the ISC license.
|
|
169
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
170
|
-
*)
|
|
171
|
-
|
|
172
|
-
lucide-react-native/dist/esm/icons/fingerprint.js:
|
|
173
|
-
(**
|
|
174
|
-
* @license lucide-react-native v0.474.0 - ISC
|
|
175
|
-
*
|
|
176
|
-
* This source code is licensed under the ISC license.
|
|
177
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
178
|
-
*)
|
|
179
|
-
|
|
180
|
-
lucide-react-native/dist/esm/icons/info.js:
|
|
181
|
-
(**
|
|
182
|
-
* @license lucide-react-native v0.474.0 - ISC
|
|
183
|
-
*
|
|
184
|
-
* This source code is licensed under the ISC license.
|
|
185
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
186
|
-
*)
|
|
187
|
-
|
|
188
|
-
lucide-react-native/dist/esm/icons/log-in.js:
|
|
189
|
-
(**
|
|
190
|
-
* @license lucide-react-native v0.474.0 - ISC
|
|
191
|
-
*
|
|
192
|
-
* This source code is licensed under the ISC license.
|
|
193
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
194
|
-
*)
|
|
195
|
-
|
|
196
|
-
lucide-react-native/dist/esm/icons/mail.js:
|
|
197
|
-
(**
|
|
198
|
-
* @license lucide-react-native v0.474.0 - ISC
|
|
199
|
-
*
|
|
200
|
-
* This source code is licensed under the ISC license.
|
|
201
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
202
|
-
*)
|
|
203
|
-
|
|
204
|
-
lucide-react-native/dist/esm/icons/phone.js:
|
|
205
|
-
(**
|
|
206
|
-
* @license lucide-react-native v0.474.0 - ISC
|
|
207
|
-
*
|
|
208
|
-
* This source code is licensed under the ISC license.
|
|
209
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
210
|
-
*)
|
|
211
|
-
|
|
212
|
-
lucide-react-native/dist/esm/icons/qr-code.js:
|
|
213
|
-
(**
|
|
214
|
-
* @license lucide-react-native v0.474.0 - ISC
|
|
215
|
-
*
|
|
216
|
-
* This source code is licensed under the ISC license.
|
|
217
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
218
|
-
*)
|
|
219
|
-
|
|
220
|
-
lucide-react-native/dist/esm/icons/refresh-cw.js:
|
|
221
|
-
(**
|
|
222
|
-
* @license lucide-react-native v0.474.0 - ISC
|
|
223
|
-
*
|
|
224
|
-
* This source code is licensed under the ISC license.
|
|
225
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
226
|
-
*)
|
|
227
|
-
|
|
228
|
-
lucide-react-native/dist/esm/icons/scan-face.js:
|
|
229
|
-
(**
|
|
230
|
-
* @license lucide-react-native v0.474.0 - ISC
|
|
231
|
-
*
|
|
232
|
-
* This source code is licensed under the ISC license.
|
|
233
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
234
|
-
*)
|
|
235
|
-
|
|
236
|
-
lucide-react-native/dist/esm/icons/search.js:
|
|
237
|
-
(**
|
|
238
|
-
* @license lucide-react-native v0.474.0 - ISC
|
|
239
|
-
*
|
|
240
|
-
* This source code is licensed under the ISC license.
|
|
241
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
242
|
-
*)
|
|
243
|
-
|
|
244
|
-
lucide-react-native/dist/esm/icons/shield-alert.js:
|
|
245
|
-
(**
|
|
246
|
-
* @license lucide-react-native v0.474.0 - ISC
|
|
247
|
-
*
|
|
248
|
-
* This source code is licensed under the ISC license.
|
|
249
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
250
|
-
*)
|
|
251
|
-
|
|
252
|
-
lucide-react-native/dist/esm/icons/shield-check.js:
|
|
253
|
-
(**
|
|
254
|
-
* @license lucide-react-native v0.474.0 - ISC
|
|
255
|
-
*
|
|
256
|
-
* This source code is licensed under the ISC license.
|
|
257
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
258
|
-
*)
|
|
259
|
-
|
|
260
|
-
lucide-react-native/dist/esm/icons/smartphone.js:
|
|
261
|
-
(**
|
|
262
|
-
* @license lucide-react-native v0.474.0 - ISC
|
|
263
|
-
*
|
|
264
|
-
* This source code is licensed under the ISC license.
|
|
265
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
266
|
-
*)
|
|
267
|
-
|
|
268
|
-
lucide-react-native/dist/esm/icons/store.js:
|
|
269
|
-
(**
|
|
270
|
-
* @license lucide-react-native v0.474.0 - ISC
|
|
271
|
-
*
|
|
272
|
-
* This source code is licensed under the ISC license.
|
|
273
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
274
|
-
*)
|
|
275
|
-
|
|
276
|
-
lucide-react-native/dist/esm/icons/user-check.js:
|
|
277
|
-
(**
|
|
278
|
-
* @license lucide-react-native v0.474.0 - ISC
|
|
279
|
-
*
|
|
280
|
-
* This source code is licensed under the ISC license.
|
|
281
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
282
|
-
*)
|
|
283
|
-
|
|
284
|
-
lucide-react-native/dist/esm/icons/x.js:
|
|
285
|
-
(**
|
|
286
|
-
* @license lucide-react-native v0.474.0 - ISC
|
|
287
|
-
*
|
|
288
|
-
* This source code is licensed under the ISC license.
|
|
289
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
290
|
-
*)
|
|
291
|
-
|
|
292
|
-
lucide-react-native/dist/esm/lucide-react-native.js:
|
|
293
|
-
(**
|
|
294
|
-
* @license lucide-react-native v0.474.0 - ISC
|
|
295
|
-
*
|
|
296
|
-
* This source code is licensed under the ISC license.
|
|
297
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
298
|
-
*)
|
|
299
|
-
*/
|