1import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{d as t}from"./animation-BmfWTHNX.js";import{t as n}from"./useTranslation-DAhprYe0.js";import{t as r}from"./useDispatch-NAg1f1C6.js";import{mn as i}from"./mui-C6SoQiqU.js";import{i as a}from"./index-CCkFuITF.js";import{r as o}from"./vendor-BFRf0H0a.js";import{Et as s}from"./App-BwogsvNU.js";import{t as c}from"./IconModal-R5q7T1tp.js";import{t as l}from"./useConsumeCoinsHandler-DyGEWWdS.js";var u=e(t(),1),d=o(),f=`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='512'%20height='512'%20viewBox='0%200%20426.703%20426.703'%3e%3cpath%20fill='%23575b6d'%20d='M352.811%2074.48h19.222c5.662%200%2010.251%204.59%2010.251%2010.251v32.872h-39.725V84.716c.009-5.655%204.596-10.236%2010.252-10.236z'/%3e%3cpath%20fill='%23dbd8dd'%20d='M272.575%2061.242H154.128a15.374%2015.374%200%200%200-13.576%208.154l-25.654%2048.207h196.908l-25.659-48.228a15.383%2015.383%200%200%200-13.572-8.133z'/%3e%3cpath%20fill='%23dbd8dd'%20d='M25.628%20102.778h375.447c14.154%200%2025.628%2011.474%2025.628%2025.628v211.426c0%2014.154-11.474%2025.628-25.628%2025.628H25.628C11.474%20365.461%200%20353.987%200%20339.833V128.406c0-14.154%2011.474-25.628%2025.628-25.628z'/%3e%3cpath%20fill='%23575b6d'%20d='M0%20164.499h426.703v139.246H0z'/%3e%3ccircle%20cx='213.352'%20cy='234.119'%20r='104.542'%20fill='%23686d82'/%3e%3cpath%20fill='%23419be9'%20d='M292.26%20234.125c.085%2043.684-35.259%2079.165-78.943%2079.249-43.684.085-79.165-35.259-79.249-78.943-.085-43.684%2035.259-79.165%2078.943-79.249a79.093%2079.093%200%200%201%2045.009%2013.949%2078.99%2078.99%200%200%201%2034.24%2064.994z'/%3e%3cpath%20fill='%2369b0ee'%20d='M271.81%20213.674c.063%2043.531-35.175%2078.871-78.706%2078.934a78.825%2078.825%200%200%201-44.871-13.94c-24.655-35.901-15.539-84.991%2020.362-109.646%2026.947-18.506%2062.519-18.468%2089.426.098a78.744%2078.744%200%200%201%2013.789%2044.554z'/%3e%3ccircle%20cx='203.126'%20cy='192.797'%20r='15.804'%20fill='%23eeefee'/%3e%3ccircle%20cx='177.045'%20cy='223.899'%20r='7.046'%20fill='%23eeefee'/%3e%3ccircle%20cx='54.576'%20cy='137.029'%20r='13.415'%20fill='%23ef5261'/%3e%3cpath%20fill='%23464956'%20d='M326.022%20242.242a104.014%20104.014%200%200%201-20.034%2061.508h-14.674c35.455-39.647%2035.455-99.604%200-139.251a104.143%20104.143%200%200%201%2034.708%2077.743z'/%3e%3cpath%20fill='%23bbbbcd'%20d='M305.977%20303.75c-33.942%2046.671-99.291%2056.991-145.963%2023.049a104.492%20104.492%200%200%201-16.549-14.984c42.841%2038.608%20108.869%2035.177%20147.477-7.664l.36-.402h14.675z'/%3e%3c/svg%3e`,p=i(),m=(0,u.memo)(e=>{let t=(0,d.c)(22),{open:i,onClose:o,image:u,strangerId:m,strangerName:h,onPurchaseFinished:g}=e,_=r(),{UNLOCK_IMAGE_TITLE:v,UNLOCK_IMAGE_TEXT:y,UNLOCK_IMAGE_BUTTON:b}=n(),x;t[0]!==_||t[1]!==u.cost||t[2]!==u.id||t[3]!==o||t[4]!==g||t[5]!==m?(x=async()=>{let e=u.cost??0,t=u.id;o(),await _(s.purchaseCoinImage({imageId:t,userId:m},e)),g()},t[0]=_,t[1]=u.cost,t[2]=u.id,t[3]=o,t[4]=g,t[5]=m,t[6]=x):x=t[6];let S=l(x,u.cost||0),C;t[7]!==y||t[8]!==h?(C=a.replace(y,{name:h}),t[7]=y,t[8]=h,t[9]=C):C=t[9];let w;t[10]!==b||t[11]!==u.cost?(w=a.replace(b,{coins:(u.cost||0).toString()}),t[10]=b,t[11]=u.cost,t[12]=w):w=t[12];let T;t[13]!==S||t[14]!==w?(T={title:w,onClick:S},t[13]=S,t[14]=w,t[15]=T):T=t[15];let E;return t[16]!==v||t[17]!==o||t[18]!==i||t[19]!==C||t[20]!==T?(E=(0,p.jsx)(c,{open:i,onClose:o,icon:f,title:v,text:C,button:T}),t[16]=v,t[17]=o,t[18]=i,t[19]=C,t[20]=T,t[21]=E):E=t[21],E});export{m as t};
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.