PageSourceSearch

https://doma-auction-frontend.vercel.app/_next/static/chunks/3917-6653d5df80b1e35a.js

js doma-auction-frontend.vercel.app collected 2026-10-03 06:45:22 UTC 14,764 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3917],{13823:(e,t,i)=>{i.d(t,{C:()=>h});var s=i(37876);i(14232);var a=i(2370),n=i(64382),c=i(27403),r=i(12503),l=i(1958),o=i(30314),d=i(33949),m=i(3624),p=i(91725),u=i(82756);function h(e){let{pageType:t,isOpen:i,onClose:h}=e,x=u.D[t];return(0,s.jsx)(n.I,{backdrop:"blur",classNames:{backdrop:"bg-black/10",base:"bg-[#053B48]/80"},isOpen:i,placement:"right",size:"lg",onClose:h,children:(0,s.jsxs)(c.g,{children:[(0,s.jsx)(r.c,{className:"flex flex-col gap-1 border-b border-white/20",children:(0,s.jsxs)(m.P.div,{animate:{opacity:1,x:0},initial:{opacity:0,x:20},transition:{duration:.3},children:[(0,s.jsx)("h4",{className:(0,p.V)({class:"gradient-metal-2 text-xl"}),children:x.title}),(0,s.jsx)("p",{className:"text-sm text-gray-200 mt-2",children:x.subtitle})]})}),(0,s.jsxs)(l.h,{className:"space-y-6 py-6",children:[(0,s.jsxs)(m.P.div,{animate:{opacity:1,x:0},initial:{opacity:0,x:20},transition:{duration:.3,delay:.1},children:[(0,s.jsx)("h3",{className:"text-lg font-semibold mb-3 flex items-center gap-2",children:"✨ Key Features"}),(0,s.jsx)("div",{className:"space-y-4",children:x.features.map((e,t)=>(0,s.jsx)(o.Z,{className:"bg-black/90",children:(0,s.jsx)(d.U,{className:"p-6",children:(0,s.jsxs)("div",{className:"flex items-center gap-3",children:[(0,s.jsx)("div",{className:"flex-shrink-0 w-8 h-8 bg-success rounded-full flex items-center justify-center",children:e.icon}),(0,s.jsxs)("div",{className:"flex-1",children:[(0,s.jsx)("h4",{className:"font-semibold text-sm",children:e.title}),(0,s.jsx)("p",{className:"text-xs text-gray-400 mt-1",children:e.description})]})]})})},t))})]}),(0,s.jsxs)(m.P.div,{animate:{opacity:1,x:0},initial:{opacity:0,x:20},transition:{duration:.3,delay:.2},children:[(0,s.jsx)("h3",{className:"text-lg font-semibold mb-3 flex items-center gap-2",children:"\uD83D\uDE80 How It Works"}),(0,s.jsx)("div",{className:"space-y-4",children:x.howItWorks.map(e=>(0,s.jsx)(o.Z,{className:"bg-black/90",children:(0,s.jsx)(d.U,{className:"p-3",children:(0,s.jsxs)("div",{className:"flex items-center gap-3 p-3",children:[(0,s.jsx)("div",{className:"flex-shrink-0 w-8 h-8 bg-primary text-white rounded-full flex items-center justify-center font-bold text-xs",children:e.step}),(0,s.jsxs)("div",{className:"flex-1",children:[(0,s.jsx)("h4",{className:"font-semibold text-sm",children:e.title}),(0,s.jsx)("p",{className:"text-xs text-gray-400 mt-1",children:e.description})]})]})})},e.step))})]}),(0,s.jsxs)(m.P.div,{animate:{opacity:1,x:0},initial:{opacity:0,x:20},transition:{duration:.3,delay:.3},children:[(0,s.jsx)("h3",{className:"text-lg font-semibold mb-3 flex items-center gap-2",children:"\uD83C\uDFAF Quick Actions"}),(0,s.jsx)("div",{className:"space-y-4",children:x.actions.map((e,t)=>(0,s.jsx)(o.Z,{className:"bg-black/90 cursor-pointer",children:(0,s.jsx)(d.U,{className:"p-6",children:(0,s.jsxs)("div",{className:"flex items-center gap-3",children:[(0,s.jsx)("div",{className:"text-lg",children:e.icon}),(0,s.jsxs)("div",{className:"flex-1",children:[(0,s.jsx)("h4",{className:"font-semibold text-sm",children:e.title}),(0,s.jsx)("p",{className:"text-xs text-gray-400 mt-2",children:e.description})]})]})})},t))})]})]}),(0,s.jsx)("div",{className:"flex justify-center gap-3 p-4 border-t border-white/20",children:(0,s.jsx)(a.T,{color:"primary",fullWidth:!0,onPress:h,children:"Got it"})})]})})}},71387:(e,t,i)=>{i.d(t,{Y:()=>f,Z:()=>b});var s=i(37876),a=i(14232),n=i(2370),c=i(30314),r=i(33949),l=i(78085),o=i(57465),d=i(27403),m=i(12503),p=i(1958),u=i(73835),h=i(27212),x=i(3624),g=i(82756);function f(e){let{pageType:t,isOpen:i,onClose:f}=e,[b,y]=(0,a.useState)(0),[j,N]=(0,a.useState)(!1),v=g.D[t],w=[{title:v.title,content:(0,s.jsxs)("div",{className:"space-y-4",children:[(0,s.jsx)("p",{className:"text-gray-700 dark:text-gray-300",children:v.subtitle}),(0,s.jsxs)("div",{className:"bg-blue-50 dark:bg-blue-900/20 p-4 rounded-lg",children:[(0,s.jsx)("h4",{className:"font-semibold text-blue-800 dark:text-blue-200 mb-2",children:"What you can do:"}),(0,s.jsx)("ul",{className:"space-y-1 text-sm text-blue-700 dark:text-blue-300",children:v.features.map((e,t)=>(0,s.jsxs)("li",{children:["• ",e.title]},t))})]})]})},{title:"Key Features",content:(0,s.jsxs)("div",{className:"space-y-4",children:[(0,s.jsx)("p",{className:"text-gray-700 dark:text-gray-300",children:"Discover the powerful features available in this auction system:"}),(0,s.jsx)("div",{className:"grid grid-cols-1 gap-4",children:v.features.map((e,t)=>(0,s.jsx)(c.Z,{className:"bg-blue-900/20 p-2",children:(0,s.jsxs)(r.U,{className:"space-y-2",children:[(0,s.jsxs)("h5",{className:"font-semibold text-blue-800 dark:text-blue-200 flex items-center gap-2",children:[(0,s.jsx)("span",{className:"text-lg",children:e.icon}),e.title]}),(0,s.jsx)("p",{className:"text-sm text-blue-700 dark:text-blue-300",children:e.description})]})},t))})]})},{title:"How It Works",content:(0,s.jsxs)("div",{className:"space-y-4",children:[(0,s.jsx)("p",{className:"text-gray-700 dark:text-gray-300",children:"Follow these steps to participate in auctions:"}),(0,s.jsx)("div",{className:"space-y-3",children:v.howItWorks.map(e=>(0,s.jsx)(c.Z,{className:"bg-blue-900/20 p-2",children:(0,s.jsx)(r.U,{className:"space-y-2",children:(0,s.jsxs)("div",{className:" flex items-center gap-4",children:[(0,s.jsx)("span",{className:"w-8 h-8 bg-blue-500 text-white rounded-full flex items-center justify-center font-bold text-sm",children:e.step}),(0,s.jsxs)("div",{children:[(0,s.jsx)("h4",{className:"font-semibold text-blue-200 mb-2 flex items-center gap-2",children:e.title}),(0,s.jsx)("p",{className:"text-sm text-gray-400",children:e.description})]})]})})},e.step))})]})},{title:"Get Started",content:(0,s.jsxs)("div",{className:"space-y-4",children:[(0,s.jsx)("p",{className:"text-gray-700 dark:text-gray-300",children:"Ready to start? Here are your next steps:"}),(0,s.jsx)("div",{className:"grid grid-cols-1 gap-4",children:v.actions.map((e,t)=>(0,s.jsx)(c.Z,{className:"bg-blue-900/20 p-2",children:(0,s.jsxs)(r.U,{className:"space-y-2",children:[(0,s.jsxs)("h5",{className:"font-semibold text-blue-500 flex items-center gap-2",children:[(0,s.jsx)("span",{className:"text-lg",children:e.icon}),e.title]}),(0,s.jsx)("p",{className:"text-sm text-purple-700 dark:text-purple-300",children:e.description})]})},t))}),(0,s.jsx)("div",{className:"bg-yellow-50 dark:bg-yellow-900/20 p-4 rounded-lg",children:(0,s.jsxs)("p",{className:"text-sm text-yellow-700 dark:text-yellow-300",children:[(0,s.jsx)("strong",{children:"Tip:"})," Use the info button (ℹ️) anytime to access detailed information about features."]})})]})}],k=()=>{j&&localStorage.setItem("firstTimeGuide_".concat(t),"true"),f()};return(0,s.jsx)(h.N,{children:i&&(0,s.jsx)(o.Y,{backdrop:"blur",className:"p-4",classNames:{backdrop:"bg-black/10",base:"bg-black/60"},isOpen:i,size:"2xl",onClose:k,children:(0,s.jsxs)(d.g,{children:[(0,s.jsx)(m.c,{className:"flex items-center justify-between",children:(0,s.jsxs)("div",{className:"flex items-center gap-3",children:[(0,s.jsx)(x.P.div,{animate:{rotate:360},transition:{duration:.5},children:(0,s.jsx)("div",{className:"w-12 h-12 bg-gradient-to-r from-blue-500 to-purple-500 rounded-full flex items-center justify-center",children:(0,s.jsx)("span",{className:"text-white font-bold",children:"hybrid"===t?"\uD83C\uDFDB️":"premium"===t?"\uD83C\uDFC6":"lending"===t?"\uD83D\uDCB0":"\uD83D\uDDF3️"})})}),(0,s.jsxs)("div",{children:[(0,s.jsx)("h3",{className:"text-lg font-bold",children:w[b].title}),(0,s.jsxs)("p",{className:"text-sm text-gray-300",children:["Step ",b+1," of ",w.length]})]})]})}
1),(0,s.jsxs)(p.h,{children:[(0,s.jsx)(x.P.div,{animate:{opacity:1,x:0},exit:{opacity:0,x:-20},initial:{opacity:0,x:20},transition:{duration:.3},children:w[b].content},b),(0,s.jsx)("div",{className:"flex justify-center mt-6",children:(0,s.jsx)("div",{className:"flex space-x-2",children:Array.from({length:w.length},(e,t)=>(0,s.jsx)("div",{className:"w-2 h-2 rounded-full transition-colors duration-200 ".concat(t===b?"bg-blue-500":t<b?"bg-green-500":"bg-gray-300 dark:bg-gray-600")},t))})})]}),(0,s.jsxs)(u.q,{className:"flex-col gap-4",children:[b===w.length-1&&(0,s.jsx)("div",{className:"flex items-center justify-center w-full",children:(0,s.jsx)(l.A,{isSelected:j,size:"sm",onValueChange:N,children:"Don't show this guide again"})}),(0,s.jsxs)("div",{className:"flex justify-between w-full",children:[(0,s.jsx)(n.T,{disabled:0===b,variant:"flat",onPress:()=>{b>0&&y(b-1)},children:"Previous"}),(0,s.jsx)("div",{className:"flex gap-2",children:b===w.length-1?(0,s.jsx)(n.T,{color:"success",onPress:k,children:"Get Started!"}):(0,s.jsx)(n.T,{color:"primary",onPress:()=>{b<w.length-1&&y(b+1)},children:"Next"})})]})]})]})})})}function b(e){let[t,i]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{if(!localStorage.getItem("firstTimeGuide_".concat(e))){let e=setTimeout(()=>{i(!0)},1e3);return()=>clearTimeout(e)}},[e]),{showGuide:t,closeGuide:()=>{i(!1)}}}},82756:(e,t,i)=>{i.d(t,{D:()=>a});let s={auction:"\uD83C\uDFDB️",gamification:"\uD83C\uDFAE",royalty:"\uD83D\uDC51",betting:"\uD83C\uDFB2",lending:"\uD83D\uDCB0",voting:"\uD83D\uDDF3️",wallet:"\uD83D\uDC5B",create:"➕",participate:"\uD83D\uDC65"},a={hybrid:{title:"Welcome to Hybrid Domain Auctions",subtitle:"Batch auctions with gamified bidding for domain portfolios",features:[{icon:s.auction,title:"Batch Dutch Auctions",description:"Auction multiple domains together with linear price decay over time"},{icon:s.gamification,title:"Gamified Bidding System",description:"Soft bids with auto-conversion and loyalty rewards for early engagement"},{icon:s.royalty,title:"Reverse Royalty Engine",description:"Royalties start at 0% and increase to create urgency for quick trades"}],howItWorks:[{step:1,title:"Create Batch Auction",description:"Select multiple domains and set auction parameters including start price, reserve price, and duration"},{step:2,title:"Gamified Bidding",description:"Buyers place soft bids with thresholds. Bids auto-convert when price hits their threshold"},{step:3,title:"Auction Clearance",description:"When cumulative demand reaches 100%, auction clears at the current price with pro-rata distribution"},{step:4,title:"Rewards Distribution",description:"Loyalty rewards distributed to early bidders if auction clears successfully"}],actions:[{icon:s.create,title:"Create Hybrid Auction",description:"Start your own batch auction",href:"/hybrid/create"},{icon:s.participate,title:"Browse Auctions",description:"Explore active auctions and place bids",href:"/hybrid"},{icon:s.wallet,title:"Connect Wallet",description:"Connect your wallet to participate",action:"connect"}]},premium:{title:"Welcome to Premium Domain Auctions",subtitle:"Single domain auctions with 4-tier betting system",features:[{icon:s.auction,title:"Single Domain Dutch Auctions",description:"Focused auctions for premium domains with first-bid-wins mechanism"},{icon:s.betting,title:"4-Tier Price Betting",description:"Bet on final auction price categories: Above High, High~Low Range, Below Low, or Uncleared"},{icon:s.gamification,title:"Commit-Reveal Betting",description:"Hidden bets prevent manipulation and ensure fair price discovery"}],howItWorks:[{step:1,title:"Create Premium Auction",description:"Select a single premium domain and set high/low price thresholds for betting"},{step:2,title:"Betting Pool Opens",description:"Bettors commit to price categories using hidden commitments"},{step:3,title:"Auction Runs",description:"Dutch auction proceeds with first bid winning immediately"},{step:4,title:"Reveal & Settle",description:"Bets are revealed and winners share 90% of the betting pool"}],actions:[{icon:s.create,title:"Create Premium Auction",description:"Auction your premium domain with betting",href:"/premium/create"},{icon:s.participate,title:"Browse Auctions",description:"View active auctions and betting pools",href:"/premium"},{icon:s.wallet,title:"Connect Wallet",description:"Connect to participate in auctions and betting",action:"connect"}]}
1,lending:{title:"Welcome to Auction-Backed Lending",subtitle:"Borrow against your domain NFTs with automatic repayment",features:[{icon:s.lending,title:"Auction-Backed Lending",description:"Borrow stablecoins against domain NFTs locked in active auctions"},{icon:s.auction,title:"Automatic Repayment",description:"Loans auto-repay from auction proceeds, or NFT liquidates on failure"},{icon:s.gamification,title:"Flexible Terms",description:"Configurable interest rates and loan durations (1-30 days)"}],howItWorks:[{step:1,title:"Create Auction with Loan",description:"List your domain for auction and request a loan up to 50% of reserve price"},{step:2,title:"Loan Funding",description:"Lenders provide stablecoins to fund your loan against the locked NFT"},{step:3,title:"Receive Funds",description:"Get immediate liquidity while your domain remains collateralized"},{step:4,title:"Automatic Settlement",description:"Loan repays from auction proceeds, or NFT transfers to lenders on failure"}],actions:[{icon:s.create,title:"Create Lending Auction",description:"List your domain and request a loan",href:"/lending/create"},{icon:s.participate,title:"Browse Lending Auctions",description:"Fund loans or bid on collateralized domains",href:"/lending"},{icon:s.wallet,title:"Connect Wallet",description:"Connect to access lending features",action:"connect"}]},voting:{title:"Welcome to Domain Voting Contest",subtitle:"Stake tokens to vote for favorite domains and earn rewards",features:[{icon:s.voting,title:"Staking-Based Voting",description:"Vote weight equals staked amount with bounded stakes for fairness"},{icon:s.gamification,title:"Time-Cumulated Rewards",description:"StakingPoints = StakeAmount \xd7 TimeStaked for long-term engagement"},{icon:s.auction,title:"Domain Discovery",description:"Community-driven domain ranking and visibility boost"}],howItWorks:[{step:1,title:"List Your Domain",description:"Domain owners list their domains for community voting"},{step:2,title:"Stake & Vote",description:"Stake tokens and vote for up to 3 favorite domains"},{step:3,title:"Contest Runs",description:"Single active contest with time-cumulated staking rewards"},{step:4,title:"Rewards Distribution",description:"Earn fee discounts and priority access based on staking points"}],actions:[{icon:s.participate,title:"Browse Active Contests",description:"View contests and vote for domains",href:"/voting-contest"},{icon:s.create,title:"Create Contest",description:"Start a new voting contest (sponsor only)",href:"/voting-contest/create"},{icon:s.wallet,title:"Connect Wallet",description:"Connect to participate in voting",action:"connect"}]}}}}]);

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.