PageSourceSearch

https://www.tradeport.xyz/_next/static/chunks/pages/packs/shipments-c6e762b2199a36ec.js

js tradeport.xyz collected 2026-10-03 22:58:07 UTC 22,592 bytes, 7 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[781],{41612:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/packs/shipments",function(){return n(22486)}])},46821:function(e,t,n){"use strict";n.d(t,{OL:function(){return j},_T:function(){return m},aR:function(){return c},f$:function(){return h},fY:function(){return x},le:function(){return y},vW:function(){return o},xo:function(){return p},yT:function(){return f}});var r=n(52676),s=n(27259),a=n(75271),l=n(26097),i=n(15233);let c=s.fC,o=s.xz,d=s.h_,u=a.forwardRef((e,t)=>{let{className:n,...a}=e;return(0,r.jsx)(s.aV,{className:(0,i.cn)("fixed inset-0 z-50 bg-[#02020278] data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",n),...a,ref:t})});u.displayName=s.aV.displayName;let m=a.forwardRef((e,t)=>{let{className:n,...a}=e;return(0,r.jsxs)(d,{children:[(0,r.jsx)(u,{}),(0,r.jsx)(s.VY,{ref:t,className:(0,i.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border border-border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",n),...a}
1)]})});m.displayName=s.VY.displayName;let x=e=>{let{className:t,...n}=e;return(0,r.jsx)("div",{className:(0,i.cn)("flex flex-col space-y-2 text-center sm:text-left",t),...n})};x.displayName="AlertDialogHeader";let p=e=>{let{className:t,...n}=e;return(0,r.jsx)("div",{className:(0,i.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...n})};p.displayName="AlertDialogFooter";let h=a.forwardRef((e,t)=>{let{className:n,...a}=e;return(0,r.jsx)(s.Dx,{ref:t,className:(0,i.cn)("text-lg",n),...a})});h.displayName=s.Dx.displayName;let f=a.forwardRef((e,t)=>{let{className:n,...a}=e;return(0,r.jsx)(s.dk,{ref:t,className:(0,i.cn)("text-muted-foreground text-sm",n),...a})});f.displayName=s.dk.displayName;let j=a.forwardRef((e,t)=>{let{className:n,...a}=e;return(0,r.jsx)(s.aU,{ref:t,className:(0,i.cn)((0,l.d)(),n),...a})});j.displayName=s.aU.displayName;let y=a.forwardRef((e,t)=>{let{className:n,...a}=e;return(0,r.jsx)(s.$j,{ref:t,className:(0,i.cn)((0,l.d)({variant:"outline"}),"mt-2 sm:mt-0",n),...a})});y.displayName=s.$j.displayName},93272:function(e,t,n){"use strict";n.d(t,{J:function(){return p}});var r=n(52676),s=n(67842),a=n(70099),l=n(86157),i=n(20320),c=n(37409),o=n(26097),d=n(78875),u=n(67930),m=n(93359),x=n(75271);let p=e=>{let{children:t,surface:n="pack_page",packSlug:p}=e,h=(0,s.MW)(),f=(0,s.It)(),{authenticateUser:j}=(0,i.EB)(),{openSecondModal:y,setSecondModalContent:g,setSecondModalHeader:N}=(0,d.WD)(),w=(0,l.yU)({chain:"sui",walletAddress:h}),v=h&&"sui"===f,b=!v||!w,k=(0,x.useRef)(!1);(0,x.useEffect)(()=>{if(!b){k.current=!1;return}k.current||(k.current=!0,(0,u.j7)({surface:n,...p?{packSlug:p}:{}}))},[b,n,p]);let S=()=>{N((0,r.jsx)(c.x,{title:"Connect Sui Wallet"})),g((0,r.jsx)(a.R,{chains:["sui"]})),y()},R=()=>{(0,u.AD)({text:"Sign In",action:"Clicked on Sign In button",component:"PacksAuthGate"}),j()};return v?w?(0,r.jsx)(r.Fragment,{children:t}):(0,r.jsx)("div",{className:"flex w-full flex-col items-center px-1 py-3 pt-1 sm:px-3 md:w-[800px]",children:(0,r.jsxs)("div",{className:"container mt-5 flex w-full flex-col items-center justify-center gap-4 roun
1ded-lg border border-border p-8",children:[(0,r.jsx)(m.Z,{className:"h-16 w-16 text-neutral-500"}),(0,r.jsxs)("div",{className:"flex flex-col items-center gap-2",children:[(0,r.jsx)("h2",{className:"text-center text-xl font-medium text-neutral-300",children:"Sign In Required"}),(0,r.jsx)("p",{className:"text-center text-sm text-neutral-400",children:"Please sign in with your wallet to continue."})]}),(0,r.jsx)(o.z,{className:"mt-2 h-10 w-full max-w-[300px]",onClick:e=>{null==e||e.stopPropagation(),R()},children:"Sign In"})]})}):(0,r.jsx)("div",{className:"flex w-full flex-col items-center px-1 py-3 pt-1 sm:px-3 md:w-[800px]",children:(0,r.jsxs)("div",{className:"container mt-5 flex w-full flex-col items-center justify-center gap-4 rounded-lg border border-border p-8",children:[(0,r.jsx)(m.Z,{className:"h-16 w-16 text-neutral-500"}),(0,r.jsxs)("div",{className:"flex flex-col items-center gap-2",children:[(0,r.jsx)("h2",{className:"text-center text-xl font-medium text-neutral-300",children:"Sui Wallet Required"}),(0,r.jsx)("p",{className:"text-center text-sm text-neutral-400",children:h?"You are currently connected to ".concat(f,". Please connect a Sui wallet to continue."):"Please connect a Sui wallet to continue."})]}),(0,r.jsx)(o.z,{className:"mt-2 h-10 w-full max-w-[300px]",onClick:e=>{null==e||e.stopPropagation(),(0,u.AD)({text:"Connect Sui Wallet",action:"Clicked on Connect Sui Wallet button",component:"PacksAuthGate"}),S()},children:"Connect Sui Wallet"})]})})}},42791:function(e,t,n){"use strict";n.d(t,{h:function(){return d}});var r=n(52676),s=n(93359),a=n(70099),l=n(37409),i=n(26097),c=n(78875),o=n(67930);let d=e=>{let{connectedWalletId:t,connectedWalletChain:n,purpose:d,component:u,title:m}=e,{openSecondModal:x,setSecondModalContent:p,setSecondModalHeader:h}=(0,c.WD)(),f=()=>{h((0,r.jsx)(l.x,{title:"Connect Sui Wallet"})),p((0,r.jsx)(a.R,{chains:["sui"]})),x()};return(0,r.jsxs)("div",{className:"flex w-full flex-col items-center px-1 py-3 pt-1 sm:px-3 md:w-[530px]",children:[m&&(0,r.jsx)("h1",{className:"mt-2 text-center text-3xl font-medium leading-none",children:m}),(0,r.jsxs)("div",{className:"container mt-5 flex w-full flex-col items-center justify-center gap-4 roun
1ded-lg border border-border p-8",children:[(0,r.jsx)(s.Z,{className:"h-12 w-12 text-neutral-500"}),(0,r.jsxs)("div",{className:"flex flex-col items-center gap-2",children:[(0,r.jsx)("h2",{className:"text-center text-xl font-medium text-neutral-300",children:"Sui Wallet Required"}),(0,r.jsx)("p",{className:"text-center text-sm text-neutral-400",children:t?"You are currently connected to ".concat(n,". Please connect a Sui wallet to continue."):"Please connect a Sui wallet ".concat(d,".")})]}),(0,r.jsx)(i.z,{className:"mt-2 h-10 w-full max-w-[300px]",onClick:e=>{null==e||e.stopPropagation(),(0,o.AD)({text:"Connect Sui Wallet",action:"Clicked on Connect Sui Wallet button",component:u}),f()},children:"Connect Sui Wallet"})]})]})}},71242:function(e,t,n){"use strict";n.d(t,{k:function(){return i}});var r=n(7346),s=n(50182),a=n(58112),l=n(55850);let i=e=>{let{walletAddress:t,enabled:n=!0}=e,i=(0,s.W)();return(0,r.a)({queryKey:[...a.rI.list(),t],queryFn:()=>(0,l.HH)({packsSDK:i,walletAddress:t}),staleTime:3e4,refetchOnWindowFocus:!0,enabled:n&&!!t&&!!i})}},55850:function(e,t,n){"use strict";n.d(t,{F9:function(){return a},Gi:function(){return d},HH:function(){return o},Hs:function(){return u},Qv:function(){return h},RC:function(){return m},Z:function(){return x},Zx:function(){return c},lm:function(){return p},mj:function(){return i},yT:function(){return l}});var r=n(86157);let s=e=>{let t=(0,r.yU)({chain:"sui",walletAddress:e});if(!t)throw Error("Not authenticated");return t},a=async e=>{let{packsSDK:t,payload:n,walletAddress:r}=e;return t.createRedeemRequest(s(r),n.cardIds,n.personalData)},l=async e=>{let{packsSDK:t,payload:n,walletAddress:r}=e;return t.updateRedeemRequest(s(r),n.id,n.personalData,n.cardIds)},i=async e=>{let{packsSDK:t,id:n,insuranceSelected:r,declaredValueUsd:a,walletAddress:l,transaction:i,payment:c}=e;return t.sendRedeemRequest(s(l),n,r,a,i,c)},c=async e=>{let{packsSDK:t,id:n,walletAddress:r}=e;await t.deleteRedeemRequest(s(r),n)},o=async e=>{let{packsSDK:t,walletAddress:n}=e;return t.getRedeemRequests(s(n))},d=async e=>{let{packsSDK:t,id:n,walletAddress:r}=e;try{return await t.getRedeemRequest(s(r),n)}catch(e){return console.error("Failed to fetch shipment order:",e),null}},u=async e=>{let{packsSDK:t,redeemRequestId:n,declaredValueUsd:r,insuranceSelected:a,walletAddress:l}=e;return t.getRedeemRequestShipmentPrice(s(l),n,r,a)},m=async e=>{let{packsSDK:t,email:n,walletAddress:r}=e;return t.getEmailVerificationStatus(s(r),n)},x=async e=>{let{packsSDK:t,email:n,walletAddress:r}=e;await t.startEmailVerification(s(r),n)},p=async e=>{let{packsSDK:t,email:n,code:r,walletAddress:a}=e;await t.verifyEmail(s(a),n,r)},h=async e=>{let{packsSDK:t,walletAddress:n}=e;return t.getKycStatus(s(n))}},32608:function(e,t,n){"use strict";n.d(t,{TI:function(){return a},c2:function(){return s},gC:function(){return i},p6:function(){return l}});let r=new Set(["us","usa","u.s.","u.s.a.","united states","united states of america"]),s=e=>{var t;let n=null!==(t=null==e?void 0:e.trim().toLowerCase())&&void 0!==t?t:"";return n.length>0&&!r.has(n)},a=e=>{switch(e){case"created":return{text:"Draft",className:"bg-yellow-500/10 text-yellow-500 border-yellow-500/20"};case"sent":return{text:"Shipping",className:"bg-blue-500/10 text-blue-500 border-blue-500/20"};case"finished":return{text:"Shipped",className:"bg-[#25c7891d] text-green border-[#136546]"};case"returned":return{text:"Returned",className:"bg-[#ff2c6431] text-red border-red/30"};default:return{text:"Unknown",className:"bg-neutral-500/10 text-neutral-500 border-neutral-500/20"}}},l=e=>{let t=new Date(e);return new Intl.DateTimeFormat("en-US",{month:"short",day:"numeric",year:"numeric",hour:"2-digit",minute:"2-digit"}).format(t)},i=e=>new Intl.NumberFormat("en-US",{style:"currency",currency:"USD"}).format(e)},46496:function(e,t,n){"use strict";n.d(t,{Eo:function(){return o},XA:function(){return d},eZ:function(){return u},mC:function(){return m}});var r=n(52676),s=n(38295),a=n(99801),l=n(93849),i=n(20065),c=n(90065);let o=(e,t)=>{(0,c.Am)((0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)(l.Z,{className:"h-4 w-4 text-red"}),t?(0,r.jsxs)("div",{className:"text-sm",children:[(0,r.jsx)("div",{className:"font-medium",children:e}),(0,r.jsx)("div",{className:"text-receding",children:t})]}):(0,r.jsx)("div",{className:"text-sm",children:e})]}))},d=(e,t)=>{(0,c.Am)((0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)(i.Z,{className:"h-4 w-4 text-green"}),t?(0,r.jsxs)("div",{className:"text-sm",children:[(0,r.jsx)("div",{className:"font-medium",children:e}),(0,r.jsx)("div",{className:"text-receding",children:t})]}):(0,r.jsx)("div",{className:"text-sm",children:e})]}))},u=(e,t)=>
1{(0,c.Am)((0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)(l.Z,{className:"h-4 w-4 text-yellow-500"}),t?(0,r.jsxs)("div",{className:"text-sm",children:[(0,r.jsx)("div",{className:"font-medium",children:e}),(0,r.jsx)("div",{className:"text-receding",children:t})]}):(0,r.jsx)("div",{className:"text-sm",children:e})]}),{duration:6e3})},m=e=>{var t;let n=(0,a.m)({nft:e,collection:null==e?void 0:e.collection,allowFullTitle:!0});(0,c.Am)((0,r.jsxs)("div",{className:"flex items-center gap-3",children:[(0,r.jsx)("div",{className:"flex-shrink-0",children:(0,r.jsx)(s.l,{nftId:e.id,url:e.media_url,mediaType:e.media_type,collectionId:null===(t=e.collection)||void 0===t?void 0:t.id,alt:e.name,resizeSize:200,height:40,width:40,disableVideo:!0,borderRadius:"6px",shouldLazyLoad:!1,forceSquare:!0})}),(0,r.jsxs)("div",{className:"text-sm",children:[(0,r.jsx)("div",{className:"font-medium text-yellow-500",children:n}),(0,r.jsx)("div",{className:"text-receding",children:"Removed - no longer available to ship"})]})]}),{duration:8e3})}},93849:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(81112).Z)("circle-alert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]])},34271:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(81112).Z)("trash-2",[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]])},22486:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return T}});var r=n(52676),s=n(81596),a=n.n(s),l=n(93272),i=n(10603),c=n(67842),o=n(71242),d=n(68833),u=n(90881),m=n(50182),x=n(58112),p=n(55850),h=n(37417),f=n(46496);let j=e=>{let{walletAddress:t}=e,n=(0,m.W)(),r=(0,d.NL)();return(0,u.D)({mutationFn:e=>(0,p.Zx)({packsSDK:n,id:e,walletAddress:t}),onSuccess:(e,n)=>{(0,f.XA)("Order deleted","Your shipment order has been deleted."),r.invalidateQueries({queryKey:[...x.rI.detail(n),t]}),r.invalidateQueries({queryKey:[...x.rI.list(),t]})},onError:e=>{console.error("Failed to delete shipment order:",e),(0,f.Eo)("Failed to delete order",(0,h.M)(e).message)}})};var y=n(42791),g=n(26097),N=n(46821),w=n(93359),v=n(34271),b=n(82776),k=n(51180),S=n(7423),R=n(15233),D=n(67930),C=n(32608);let A=e=>{var t,n;let{redeemRequest:s,onClick:a,onDelete:l,isDeleting:i}=e,c="created"===s.status;return(0,r.jsx)("div",{className:"shipment-card bg-card hover:border-primary/50 hover:bg-card/80 group cursor-pointer rounded-lg border border-border p-4 transition-all duration-200",onClick:a,children:(0,r.jsxs)("div",{className:"flex items-start justify-between",children:[(0,r.jsxs)("div",{className:"flex-1",children:[(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)(w.Z,{className:"h-4 w-4 text-neutral-400"}),(0,r.jsx)("h3",{className:"text-sm font-medium text-neutral-200",children:s.id})]}),(0,r.jsxs)("div",{className:"mt-2 flex items-center gap-3 text-xs text-neutral-400",children:[(0,r.jsxs)("span",{className:"text-sm text-neutral-400",children:[null===(t=s.cardIds)||void 0===t?void 0:t.length," item",(null===(n=s.cardIds)||void 0===n?void 0:n.length)!==1?"s":""]}),(0,r.jsx)("span",{className:"text-sm text-neutral-400",children:"•"}),(0,r.jsx)("span",{className:"text-sm text-neutral-400",children:(0,C.p6)(s.createdAt)})]}),(0,r.jsxs)("div",{className:"mt-3 flex items-center gap-2",children:[(0,r.jsx)("span",{className:(0,R.cn)("inline-flex items-center rounded-md border px-2.5 py-1 text-xs",(0,C.TI)(s.status).className),children:(0,C.TI)(s.status).text}),c&&(0,r.jsxs)(N.aR,{children:[(0,r.jsx)(N.vW,{asChild:!0,children:(0,r.jsx)("button",{className:"rounded-md p-1.5 text-neutral-500 transition-colors hover:bg-neutral-800 hover:text-red",onClick:e=>e.stopPropagation(),disabled:i,children:(0,r.jsx)(v.Z,{className:"h-3.5 w-3.5"})})}),(0,r.jsxs)(N._T,{onClick:e=>e.stopPropagation(),children:[(0,r.jsxs)(N.fY,{children:[(0,r.jsx)(N.f$,{children:"Delete Shipment Order"}),(0,r.jsx)(N.yT,{children:"Are you sure you want to delete this shipment order? This action cannot be undone."})]}),(0,r.jsxs)(N.xo,{children:[(0,r.jsx)(N.le,{children:"Cancel"}),(0,r.jsx)(N.OL,{onClick:e=>{e.preventDefault(),e.stopPropagation(),(0,D.AD)({text:"Delete Shipment Order",action:"Clicked on Delete Shipment Order button",component:"PacksShipments"}),l(s.id)},className:"border border-red bg-[#3f0b19] hover:bg-[#5b1124]",children:"Delete"})]})]})]})]})]}),(0,r.jsx)(b.Z,{className:"h-5 w-5 text-neutral-500 transition-transform duration-200 group-hover:translate-x-1 group-hover:text-primary"})]})})},P=()=>{let e=(0,i.useRouter)(),t=(0,c.MW)(),n=(0,c.It)(),{data:s=[],isLoading:a,error:l}=(0,o.k)({walletAddress:t,enabled:!!t&&"sui"===n}),d=j({walletAddress:t}),u=e=>{d.mutate(e)},m=()=>{(0,D.AD)({text:"Ship Items",action:"Clicked on Ship Items button",component:"PacksShipments"}),e.push("/packs/shipments/new")},x=t=>{(0,D.AD)({text:"View Order ".concat(t),action:"Clicked on shipment card",component:"PacksShipments"}),e.push("/packs/shipments/".concat(t))};return t&&"sui"===n?(0,r.jsxs)("div",{className:"packs-shipments flex w-full flex-col px-1 py-3 pt-1 sm:px-3 md:w-[530px]",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("div",{className:"flex items-center gap-3",children:(0,r.jsx)("h1",{className:"text-2xl font-medium leading-none",children:"My Shipments"})}),(0,r.jsxs)(g.z,{className:"h-9",variant:"secondary",onClick:e=>{null==e||e.stopPropagation(),m()},children:[(0,r.jsx)(k.Z,{className:"mr-2 h-4 w-4"}),"Ship Items"]})]}),(0,r.jsx)("div",{className:"mt-4",children:a?(0,r.jsx)("div",{className:"flex min-h-[300px] items-center justify-center",children:(0,r.jsx)(S.Z,{className:"h-8 w-8 animate-spin text-primary"})}):l?(0,r.jsxs)("div",{className:"flex min-h-[300px] flex-col items-center justify-center gap-3",children:[(0,r.jsx)(w.Z,{className:"h-12 w-12 text-neutral-500"}),(0,r.jsx)("p",{className:"text-sm text-neutral-400",children:"Failed to load shipments. Please try again."}),(0,r.jsx)(g.z,{variant:"outline",onClick:()=>window.location.reload(),className:"mt-2",children:"Retry"})]}):0===s.length?(0,r.jsxs)("div",{className:"bg-card flex min-h-[300px] flex-col items-center justify-center gap-3 rounded-lg border border-border p-8",children:[(0,r.jsx)(w.Z,{className:"h-16 w-16 text-neutral-500"}),(0,r.jsxs)("div",{className:"flex flex-col items-center gap-2",children:[(0,r.jsx)("h2",{className:"text-center text-xl font-medium text-neutral-300",children:"No Shipments Yet"}),(0,r.jsx)("p",{className:"text-center text-sm text-neutral-400",children:"Start shipping your digital collectibles as physical items"})]}),(0,r.jsxs)(g.z,{className:"mt-2 h-10",onClick:e=>{null==e||e.stopPropagation(),m()},children:[(0,r.jsx)(w.Z,{className:"mr-2 h-4 w-4"}),"Ship Items"]})]}):(0,r.jsx)("div",{className:"grid gap-4",children:s.map(e=>(0,r.jsx)(A,{redeemRequest:e,onClick:()=>x(e.id),onDelete:u,isDeleting:d.isPending},e.id))})})]}):(0,r.jsx)(y.h,{connectedWalletId:t,connectedWalletChain:n,purpose:"to view your shipments",component:"PacksShipments",title:"My Shipments"})};var I=n(90945);function T(){return(0,I.s)({chain:"sui"}),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(a(),{children:[(0,r.jsx)("title",{children:"TradePort | My Shipments"}),(0,r.jsx)("meta",{name:"description",content:"View and manage your physical item shipments. Track the status of your digital collectible shipments."}),(0,r.jsx)("meta",{name:"robots",content:"index,follow"}),(0,r.jsx)("meta",{property:"og:type",content:"website"}),(0,r.jsx)("meta",{property:"og:url",content:"https://www.tradeport.xyz/packs/shipments"}),(0,r.jsx)("meta",{property:"og:title",content:"TradePort | My Shipments"}),(0,r.jsx)("meta",{property:"og:description",content:"View and manage your physical item shipments. Track the status of your digital collectible shipments."}),(0,r.jsx)("meta",{property:"og:image",content:"https://www.tradeport.xyz/assets/tradeport-banner.png"}),(0,r.jsx)("meta",{property:"twitter:card",content:"summary_large_image"}),(0,r.jsx)("meta",{property:"twitter:url",content:"https://www.tradeport.xyz/packs/shipments"}),(0,r.jsx)("meta",{property:"twitter:title",content:"TradePort | My Shipments"}),(0,r.jsx)("meta",{property:"twitter:description",content:"View and manage your physical item shipments. Track the status of your digital collectible shipments."}),(0,r.jsx)("meta",{property:"twitter:image",content:"https://www.tradeport.xyz/assets/tradeport-banner.png"})]}),(0,r.jsx)("div",{className:"page-container flex items-center justify-center py-[80px]",children:(0,r.jsx)(l.J,{surface:"shipments",children:(0,r.jsx)(P,{})})})]})}},27259:function(e,t,n){"use strict";n.d(t,{$j:function(){return q},Dx:function(){return F},VY:function(){return W},aU:function(){return z},aV:function(){return _},dk:function(){return V},fC:function(){return I},h_:function(){return Z},xz:function(){return T}});var r=n(75271),s=n(9683),a=n(25287),l=n(36982),i=n(87653),c=n(70573),o=n(52676),d="AlertDialog",[u,m]=(0,s.b)(d,[l.p8]),x=(0,l.p8)(),p=e=>{let{__scopeAlertDialog:t,...n}=e,r=x(t);return(0,o.jsx)(l.fC,{...r,...n,modal:!0})};p.displayName=d;var h=r.forwardRef((e,t)=>
1{let{__scopeAlertDialog:n,...r}=e,s=x(n);return(0,o.jsx)(l.xz,{...s,...r,ref:t})});h.displayName="AlertDialogTrigger";var f=e=>{let{__scopeAlertDialog:t,...n}=e,r=x(t);return(0,o.jsx)(l.h_,{...r,...n})};f.displayName="AlertDialogPortal";var j=r.forwardRef((e,t)=>{let{__scopeAlertDialog:n,...r}=e,s=x(n);return(0,o.jsx)(l.aV,{...s,...r,ref:t})});j.displayName="AlertDialogOverlay";var y="AlertDialogContent",[g,N]=u(y),w=(0,c.sA)("AlertDialogContent"),v=r.forwardRef((e,t)=>{let{__scopeAlertDialog:n,children:s,...c}=e,d=x(n),u=r.useRef(null),m=(0,a.e)(t,u),p=r.useRef(null);return(0,o.jsx)(l.jm,{contentName:y,titleName:b,docsSlug:"alert-dialog",children:(0,o.jsx)(g,{scope:n,cancelRef:p,children:(0,o.jsxs)(l.VY,{role:"alertdialog",...d,...c,ref:m,onOpenAutoFocus:(0,i.Mj)(c.onOpenAutoFocus,e=>{e.preventDefault(),p.current?.focus({preventScroll:!0})}),onPointerDownOutside:e=>e.preventDefault(),onInteractOutside:e=>e.preventDefault(),children:[(0,o.jsx)(w,{children:s}),(0,o.jsx)(P,{contentRef:u})]})})})});v.displayName=y;var b="AlertDialogTitle",k=r.forwardRef((e,t)=>{let{__scopeAlertDialog:n,...r}=e,s=x(n);return(0,o.jsx)(l.Dx,{...s,...r,ref:t})});k.displayName=b;var S="AlertDialogDescription",R=r.forwardRef((e,t)=>{let{__scopeAlertDialog:n,...r}=e,s=x(n);return(0,o.jsx)(l.dk,{...s,...r,ref:t})});R.displayName=S;var D=r.forwardRef((e,t)=>{let{__scopeAlertDialog:n,...r}=e,s=x(n);return(0,o.jsx)(l.x8,{...s,...r,ref:t})});D.displayName="AlertDialogAction";var C="AlertDialogCancel",A=r.forwardRef((e,t)=>{let{__scopeAlertDialog:n,...r}=e,{cancelRef:s}=N(C,n),i=x(n),c=(0,a.e)(t,s);return(0,o.jsx)(l.x8,{...i,...r,ref:c})});A.displayName=C;var P=({contentRef:e})=>{let t=`\`${y}\` requires a description for the component to be accessible for screen reader users.
2
3You can add a description to the \`${y}\` by passing a \`${S}\` component as a child, which also benefits sighted users by adding visible context to the dialog.
4
5Alternatively, you can use your own component as a description by assigning it an \`id\` and passing the same value to the \`aria-describedby\` prop in \`${y}\`. If the description is confusing or duplicative for sighted users, you can use the \`@radix-ui/react-visually-hidden\` primitive as a wrapper around your description component.
6
7For more information, see https://radix-ui.com/primitives/docs/components/alert-dialog`;return r.useEffect(()=>{document.getElementById(e.current?.getAttribute("aria-describedby"))||console.warn(t)},[t,e]),null},I=p,T=h,Z=f,_=j,W=v,z=D,q=A,F=k,V=R}},function(e){e.O(0,[2888,9774,179],function(){return e(e.s=41612)}),_N_E=e.O()}]);

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.