PageSourceSearch

https://bonkuji.com/_next/static/chunks/7843-e28408493f04a26c.js

js bonkuji.com collected 2026-10-06 19:28:45 UTC 15,187 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7843],{27775:function(e,t,a){a.d(t,{Z:function(){return N}});var n=a(85893),r=a(25675),s=a.n(r),i=a(67294),l=a(73972),o=a(18857),c=a.n(o),d=a(21712);let u=new Set,p=null,x=Date.now(),m=e=>(u.add(e),null===p&&(x=Date.now(),p=setInterval(()=>{x=Date.now(),u.forEach(e=>e())},1e3)),()=>{u.delete(e),0===u.size&&null!==p&&(clearInterval(p),p=null)}),h=()=>x,f=()=>(0,i.useSyncExternalStore)(m,h,h);var g=a(14736);let b=e=>{let{deadlineIso:t,className:a=""}=e,{t:r}=(0,l.$G)(),s=f(),o=(0,i.useMemo)(()=>new Date(t).getTime(),[t])-s,d=o<=0;return(0,n.jsxs)("div",{className:"flex max-w-[44%] shrink-0 flex-col items-end gap-[1px] text-right md:gap-0.5 ".concat(a),"data-testid":"profile-prize-card-trailing-meta",children:[(0,n.jsx)("p",{className:"".concat(c().className," whitespace-nowrap text-[5.8px] font-bold uppercase leading-none text-white/75 drop-shadow-[0_0_4px_rgba(0,0,0,0.55)] md:text-[8px]"),children:r("common.sellback_expiry_in")}),(0,n.jsx)("p",{className:"".concat(c().className," whitespace-nowrap text-[7.29px] leading-none md:text-xs ").concat(d?"uppercase text-red-400":"text-white"),children:d?r("common.sellback_expired"):(0,g.kT)(d?{hours:0,minutes:0,seconds:0}:{hours:Math.floor(o/36e5),minutes:Math.floor(o/6e4%60),seconds:Math.floor(o/1e3%60)},"hhh mmm sss")})]})},w=e=>{let t=e.trim().replace(/,/g,"");if(!/^-?\d+(?:\.\d+)?$/.test(t))return null;let a=Number(t);return Number.isFinite(a)?a:null},_=e=>{let t=Math.abs(e),a=e<0?"-":"";return t>=1e9?"".concat(a).concat(Number((t/1e9).toFixed(1)),"B"):t>=1e6?"".concat(a).concat(Number((t/1e6).toFixed(1)),"M"):e.toLocaleString("en-US")},v=(e,t)=>
1{let a=w(e);return t&&null!==a&&Math.abs(a)>=1e6?_(a):e},y=(e,t)=>t?e.length>=12?"text-[8.5px] leading-[13px] md:text-[13.5px] md:leading-[19px]":e.length>=10?"text-[9.6px] leading-[15px] md:text-[15.5px] md:leading-[22px]":"text-[11px] leading-[17px] md:text-[18px] md:leading-[26px]":"text-[13.03px] leading-[20.24px] md:text-[21.46px] md:leading-[33.34px]";var N=e=>{let{imageUrl:t,name:a,valueLabel:r,dateLabel:i,dateCaption:l,sellbackDeadlineIso:o,statusLabel:u,statusTone:p="neutral",showNftBadges:x=!1,showCheckbox:m=!1,isSelected:h=!1,isSelectable:f=!0,checkboxLabel:g,onToggle:w,onClick:_,interactiveLabel:N}=e,j=m&&!f&&!h,k=m||!!_,q=!!(o||i),F=v(r,q),C=y(F,q),z=()=>{if(m){if(j)return;null==w||w();return}null==_||_()},I=x?"left-[21%] top-[5.3%] max-w-[39%]":"left-[6.8%] top-[5.3%] max-w-[55%]",{imageRef:S,isReady:B,isFailed:D,handleLoad:E,handleError:V}=(0,d.u)(t);return(0,n.jsxs)("div",{role:m?"checkbox":_?"button":void 0,"aria-checked":m?h:void 0,"aria-disabled":m?j:void 0,"aria-label":_?N:void 0,tabIndex:m?f||h?0:-1:_?0:void 0,onClick:k?z:void 0,onKeyDown:e=>{k&&("Enter"===e.key||" "===e.key)&&(e.preventDefault(),z())},className:"relative aspect-square w-full overflow-hidden rounded-[16px] border border-white/10 bg-[linear-gradient(145deg,#fde2df_0%,#f4f5ff_38%,#6b5168_100%)] shadow-[0_4px_10px_rgba(0,0,0,0.24)] transition-all md:rounded-[20px] ".concat(h?"border-[#FF5C01] shadow-[0_0_0_1px_rgba(255,92,1,0.65),0_12px_28px_rgba(0,0,0,0.32)]":""," ").concat(k?j?"cursor-not-allowed opacity-60":"cursor-pointer active:scale-[0.99]":""),children:[(0,n.jsx)("div",{className:"pointer-events-none absolute inset-0 bg-[linear-gradient(180deg,rgba(23,0,28,0)_18%,rgba(23,0,28,0.74)_88%)]"}),(0,n.jsx)("div",{className:"pointer-events-none absolute left-1/2 top-[23.7%] aspect-square w-[59.8%] -translate-x-1/2 rounded-full border border-white/35 bg-[radial-gradient(circle_at_center,rgba(255,255,255,0.04)_0%,rgba(255,255,255,0.11)_48%,rgba(255,255,255,0.28)_76%,rgba(217,217,217,0.46)_100%)] shadow-[inset_0_1px_0_rgba(255,255,255,0.34),inset_0_-18px_28px_rgba(38,0,48,0.3),0_0_0_1px_rgba(255,255,255,0.06)]"}),u&&(0,n.jsx)("div",{className:"absolute z-20 rounded-full border px-2 py-1 shadow-[0_4px_10px_rgba(0,0,0,0.18)] backdrop-blur-[6px] ".concat(I," ").concat("danger"===p?"border-red-400/80 bg-red-500/15 text-red-200":"warning"===p?"border-[#FF5C01]/80 bg-[#FF5C01]/15 text-[#FFB08A]":"border-white/30 bg-black/35 text-white"),children:(0,n.jsx)("p",{className:"".concat(c().className," truncate text-[6px] font-bold uppercase leading-none md:text-[9px]"),children:u})}),x&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"absolute left-[6.8%] top-[5.3%] z-20 w-[12%]",children:(0,n.jsx)(s(),{src:"/img/nfticon.png",alt:"",width:32,height:36,className:"h-auto w-full"})}),(0,n.jsx)("div",{className:"absolute left-[9%] top-[16.9%] z-20 aspect-square w-[7.5%] overflow-hidden rounded-full border border-white bg-black",children:(0,n.jsx)(s(),{src:"/img/Solana.png",alt:"",fill:!0,sizes:"24px",className:"object-cover"})})]}),(0,n.jsxs)("div",{className:"absolute left-1/2 top-[10.9%] z-10 aspect-square w-[62.4%] -translate-x-1/2 drop-shadow-[0_5px_12px_rgba(0,0,0,0.61)]",children:[(!B||D||!t)&&(0,n.jsx)(s(),{src:"/img/image_card_default.png",alt:"",fill:!0,sizes:"(min-width: 1280px) 170px, (min-width: 768px) 21vw, 30vw",className:"object-contain"}),t&&!D&&(0,n.jsx)(s(),{ref:S,src:t,alt:a||"oripa card",fill:!0,sizes:"(min-width: 1280px) 170px, (min-width: 768px) 21vw, 30vw",className:"object-contain transition-opacity duration-300 ".concat(B?"opacity-100":"opacity-0"),loading:"lazy",onLoad:E,onError:V})]}),(0,n.jsxs)("div",{className:"absolute bottom-[8.1%] left-[8.65%] right-[6.7%] z-20 flex items-end justify-between gap-[6px] md:gap-2",children:[(0,n.jsxs)("div",{className:"flex min-w-0 flex-1 items-center gap-[3px] md:gap-[4.63px]","data-testid":"profile-prize-card-value-group",children:[(0,n.jsx)("div",{className:"relative h-[15px] w-[15px] shrink-0 md:h-[25px] md:w-[25px]",children:(0,n.jsx)(s(),{src:"/img/usdc.png",alt:"USDC",fill:!0,sizes:"25px",className:"object-contain"})}),(0,n.jsx)("p",{className:"".concat(c().className," min-w-0 truncate whitespace-nowrap font-bold text-white drop-shadow-[0_0_4px_rgba(0,0,0,0.55)] ").concat(C),title:r,"aria-label":r,"data-testid":"profile-prize-card-value",children:F})]}),o&&(0,n.jsx)(b,{deadlineIso:o}),!o&&i&&(0,n.jsxs)("div",{className:"flex max-w-[44%] shrink-0 flex-col items-end gap-[1px] text-right md:gap-0.5","data-testid":"profile-prize-card-trailing-meta",children:[l&&(0,n.jsx)("p",{className:"".concat(c().className," whitespace-nowrap text-[5.8px] font-bold uppercase leading-none text-white/75 drop-shadow-[0_0_4px_rgba(0,0,0,0.55)] md:text-[8px]"),children:l}),(0,n.jsx)("p",{className:"".concat(c().className," whitespace-nowrap text-[7.29px] leading-none text-white md:text-xs"),children:i})]})]}),m&&(0,n.jsxs)("div",{className:"absolute right-[7.1%] top-[5.3%] z-30 h-[14.5px] w-[14.5px] leading-none md:h-6 md:w-6",children:[(0,n.jsx)("input",{type:"checkbox",className:"peer absolute inset-0 h-full w-full shrink-0 appearance-none rounded-[4px] border bg-white checked:border-[#FF5C01] checked:bg-[#FF5C01] ".concat(j?"cursor-not-allowed opacity-50 border-[#B5B6BA]":"cursor-pointer border-[#B5B6BA]"),checked:h,onChange:()=>void 0,onClick:e=>{e.stopPropagation(),z()},disabled:j,"aria-label":g||"Select card ".concat(a||"").trim()}),(0,n.jsx)("svg",{className:"pointer-events-none absolute left-1/2 top-1/2 z-10 hidden h-[9px] w-[9px] -translate-x-1/2 -translate-y-1/2 peer-checked:block md:h-[15px] md:w-[15px]",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"#fff",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",children:(0,n.jsx)("polyline",{points:"20 6 9 17 4 12"})})]})]})}},26988:function(e,t,a){a.d(t,{D$:function(){return u},Q5:function(){return x},Yd:function(){return d},aq:function(){return m},bq:function(){return f},ek:function(){return p},pG:function(){return h}});var n=a(78551),r=a(43317),s=a(44120),i=a(46352),l=a(54314),o=a(76546),c=a(48764).Buffer;let d=[...i.Uq,"my-shipments"];function u(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return(0,n.a)({queryKey:[...i.Uq,"shipping-restrictions",e],queryFn:()=>(0,s.cc)(e),enabled:(0,l.Wt)()&&!!e&&t,staleTime:6e4})}function p(e,t){return[...i.Uq,"shipping-quote",t,[...e].sort().join(",")]}function x(e){let{assets:t,country:a,enabled:r}=e;return(0,n.a)({queryKey:p(t,null!=a?a:""),queryFn:()=>(0,s.v)({assets:t,country:a}),enabled:(0,l.Wt)()&&r&&!!a&&t.length>0,staleTime:6e4})}function m(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];return(0,n.a)({queryKey:d,queryFn:s.Jn,enabled:(0,l.Wt)()&&e})}async function h(e,t){let a=new Uint8Array(c.from(e,"base64"));r.VersionedTransaction.deserialize(a);let n=await (0,o.fn)(t,a);return c.from(n).toString("base64")}function f(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return(0,n.a)({queryKey:[...i.Uq,"shipping-restrictions","away-banner",e],queryFn:()=>(0,s.cc)(),enabled:(0,l.Wt)()&&!!e&&t,staleTime:6e4,refetchInterval:6e4})}},5380:function(e,t,a){var n=a(85893);a(67294);var r=a(11163),s=a(73972),i=a(26988),l=a(47846),o=a(54314),c=a(19871),d=a.n(c),u=a(18857),p=a.n(u),x=a(61734);t.Z=()=>{let{t:e}=(0,s.$G)(),t=(0,r.useRouter)(),{isConnected:a}=(0,l.K)(),c=(0,o.Wt)()&&a,{data:u}=(0,i.aq)(c),m=(0,x.lu)(null==u?void 0:u.batches);return c&&0!==m.length?(0,n.jsx)("div",{className:"mx-auto mt-4 flex w-full max-w-[1200px] flex-col gap-3 px-4 md:px-6 xl:px-0",children:m.map(a=>{let r=(0,x.un)(a.requestNumber);return(0,n.jsxs)("section",{"aria-label":e("ship_request.gacha.resume.banner_title",{request:r,count:a.remainingCards.length,defaultValue:"Shipping request {{request}} is paid, but {{count}} card(s) still need to be redeemed."}),className:"".concat(d().className," flex flex-col gap-3 rounded-2xl border border-[#FFA500]/25 bg-[#FFA500]/[0.07] px-4 py-4 md:flex-row md:items-center md:justify-between md:px-6"),children:[(0,n.jsxs)("div",{className:"flex min-w-0 items-start gap-3",children:[(0,n.jsx)("div",{className:"mt-[6px] h-[7px] w-[7px] shrink-0 rounded-full bg-[#FF9500]"}),(0,n.jsxs)("div",{className:"flex min-w-0 flex-col gap-1",children:[(0,n.jsx)("p",{className:"text-[13px] font-semibold leading-[1.5] text-white md:text-[14px]",children:e("ship_request.gacha.resume.banner_title",{request:r,count:a.remainingCards.length,defaultValue:"Shipping request {{request}} is paid, but {{count}} card(s) still need to be redeemed."})}),(0,n.jsx)("p",{className:"".concat(p().className," text-[11px] leading-[1.6] text-[#C89050] md:text-[12px]"),children:e("ship_request.gacha.resume.banner_body",{defaultValue:"Finish the shipment to redeem the remaining cards. No extra shipping fee."})})]})]}),(0,n.jsx)("button",{type:"button",onClick:()=>t.push("/withdraw/resume?batch=".concat(encodeURIComponent(a.batchId))),className:"".concat(p().className," h-[40px] shrink-0 rounded-full bg-primary px-5 text-[12px] font-bold text-white transition hover:opacity-90 focus:outline-none focus-visible:ring-2 focus-visible:ring-white md:h-[44px] md:text-[13px]"),children:e("ship_request.gacha.resume.banner_cta",{defaultValue:"Finish shipment"})})]},a.batchId)})}):null}},57777:function(e,t,a){var n=a(85893);a(67294);var r=a(11163),s=a(73972),i=a(26988),l=a(47846),o=a(54314),c=a(19871),d=a.n(c),u=a(18857),p=a.n(u),x=a(60472);t.Z=e=>{var t;let{showCta:a=!0}=e,{t:c,i18n:u}=(0,s.$G)(),m=(0,r.useRouter)(),{isConnected:h,address:f}=(0,l.K)(),g=(0,o.Wt)()&&h,{data:b,isError:w}=(0,i.bq)(f,g),_=(null!==(t=null==b?void 0:b.collections)&&void 0!==t?t:[]).filter(e=>e.your_card_count>0&&!!e.away_state);return!g||w||0===_.length?null:(0,n.jsx)("div",{className:"mx-auto mt-4 flex w-full max-w-[1200px] flex-col gap-3 px-4 md:px-6 xl:px-0",children:_.map(e=>{var t,r;let s="active"===e.away_state,i=e.away_starts_at?(0,x.c)(e.away_starts_at,u.language):"",l=s?c("ship_request.gacha.away.banner_active_title",{name:e.name,count:null!==(t=e.away_days)&&void 0!==t?t:1,defaultValue_one:"{{name}} is away. Shipping resumes in about {{count}} day",defaultValue:"{{name}} is away. Shipping resumes in about {{count}} days"}):c("ship_request.gacha.away.banner_upcoming_title",{name:e.name,date:i,count:null!==(r=e.away_days)&&void 0!==r?r:1,defaultValue_one:"{{name}} pauses shipping on {{date}} for about {{count}} day",defaultValue:"{{name}} pauses shipping on {{date}} for about {{count}} days"}),o=s?c("ship_request.gacha.away.banner_active_body",{name:e.name,defaultValue:"You can still request shipping for your {{name}} cards. They'll ship once the provider is back."}):c("ship_request.gacha.away.banner_upcoming_body",{name:e.name,date:i,defaultValue:"Want your {{name}} cards sooner? Request shipping before {{date}}."});return(0,n.jsxs)("section",{"aria-label":l,className:"".concat(d().className," flex flex-col gap-3 rounded-2xl border border-[#FFA500]/25 bg-[#FFA500]/[0.07] px-4 py-4 md:flex-row md:items-center md:justify-between md:px-6"),children:[(0,n.jsxs)("div",{className:"flex min-w-0 items-start gap-3",children:[(0,n.jsx)("div",{className:"mt-[6px] h-[7px] w-[7px] shrink-0 rounded-full bg-[#FF9500]"}),(0,n.jsxs)("div",{className:"flex min-w-0 flex-col gap-1",children:[(0,n.jsx)("p",{className:"text-[13px] font-semibold leading-[1.5] text-white md:text-[14px]",children:l}),(0,n.jsx)("p",{className:"".concat(p().className," text-[11px] leading-[1.6] text-[#C89050] md:text-[12px]"),children:o})]})]}),a&&!s&&(0,n.jsx)("button",{type:"button",onClick:()=>
1m.push("/withdraw"),className:"".concat(p().className," h-[40px] shrink-0 rounded-full bg-primary px-5 text-[12px] font-bold text-white transition hover:opacity-90 focus:outline-none focus-visible:ring-2 focus-visible:ring-white md:h-[44px] md:text-[13px]"),children:c("ship_request.gacha.away.banner_cta",{defaultValue:"Ship now"})})]},e.collection_mint)})})}},64e3:function(e,t,a){a.d(t,{AV:function(){return r},Cx:function(){return o},Hc:function(){return s},Tt:function(){return n},kN:function(){return i},vQ:function(){return l}});let n="withdraw:gacha:preselect",r=e=>"BUYBACK_ELIGIBLE"===e.display_status&&e.allow_sellback&&!e.delivery_pending,s=e=>e.allow_sellback&&!e.delivery_pending&&("BUYBACK_ELIGIBLE"===e.display_status||"NFT"===e.display_status&&"telegram"!==e.location),i=e=>"NFT"===e.display_status&&!!e.mint_address&&"telegram"!==e.location&&!e.delivery_pending,l=e=>"NFT"===e.display_status&&!!e.mint_address&&"telegram"!==e.location&&!e.delivery_pending,o=e=>s(e)||i(e)||r(e)||l(e)},61734:function(e,t,a){a.d(t,{lu:function(){return r},t6:function(){return s},un:function(){return n}});let n=e=>"#".concat(String(e).padStart(5,"0"));function r(e){let t=[];for(let a of null!=e?e:[]){if("PENDING"!==a.status)continue;let e=a.shipments.filter(e=>"PENDING"===e.status),n=a.shipments.filter(e=>"PENDING"!==e.status&&"FAILED"!==e.status);n.some(e=>0===e.chunkIndex)&&0!==e.length&&t.push({batchId:a.batchId,requestNumber:a.requestNumber,collectionName:a.collection.name,remainingCards:e,redeemedCount:n.length})}return t}let s=e=>Math.ceil(e/8)},60472:function(e,t,a){function n(e){return e.startsWith("jp")||e.startsWith("ja")?"ja-JP":e.startsWith("ko")?"ko-KR":e.startsWith("zh")?"zh-CN":"en-US"}function r(e,t){return new Date(e).toLocaleDateString(n(t),{month:"short",day:"numeric"})}a.d(t,{c:function(){return r},y:function(){return n}})}}]);

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.