PageSourceSearch

https://jtmirvexa.com/_next/static/chunks/5068.021144fd52156ae9.js

js jtmirvexa.com collected 2026-10-09 21:26:50 UTC 40,897 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="65ad8809-618b-443e-9b65-62c47c3bd3d5",e._sentryDebugIdIdentifier="sentry-dbid-65ad8809-618b-443e-9b65-62c47c3bd3d5")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5068],{22046:(e,t,r)=>{r.d(t,{ph:()=>s});var i=r(95155),n=r(96923),a=r(4005);let l=(0,r(83101).F)("inline-flex items-center justify-center rounded-full px-spacing-4 tabular-nums",{variants:{type:{red:"bg-bg-negative text-content-static-white-primary",gray:"bg-control-neutral text-content-static-white-primary",green:"bg-btn-primary text-content-static-black"},size:{s:"h-spacing-16 min-w-spacing-16",m:"h-spacing-20 min-w-spacing-20"},active:{true:"",false:""}},compoundVariants:[{type:"gray",active:!0,className:"bg-bg-accent text-content-on-accent"}],defaultVariants:{size:"m",active:!1}}),o={s:"caption-xs-semibold",m:"caption-s-semibold"},s=e=>{let{count:t,type:r,size:s,active:c,className:d,...u}=e,p=null!=s?s:"m";return(0,i.jsx)("span",{className:(0,n.cn)(l({type:null!=r?r:c?"green":"red",size:p,active:c}),d),...u,children:(0,i.jsx)(a.o,{as:"span",variant:o[p],children:t})})}},25667:(e,t,r)=>{r.d(t,{B8:()=>C,UC:()=>A,bL:()=>B,l9:()=>z,tU:()=>x});var i=r(12115),n=r(92556),a=r(3468),l=r(72431),o=r(76842),s=r(88142),c=r(66218),d=r(23558),u=r(68946),p=r(95155),m="Tabs",[g,b]=(0,a.A)(m,[l.RG]),h=(0,l.RG)(),[f,y]=g(m),x=i.forwardRef((e,t)=>{let{__scopeTabs:r,value:i,onValueChange:n,defaultValue:a,orientation:l="horizontal",dir:o,activationMode:g="automatic",...b}=e,h=(0,c.jH)(o),[y,x]=(0,d.i)({prop:i,onChange:n,defaultProp:null!=a?a:"",caller:m});return(0,p.jsx)(f,{scope:r,baseId:(0,u.B)(),value:y,onValueChange:x,orientation:l,dir:h,activationMode:g,children:(0,p.jsx)(s.sG.div,{dir:h,"data-orientation":l,...b,ref:t})})});x.displayName=m;var v="TabsList",k=i.forwardRef((e,t)=>{let{__scopeTabs:r,loop:i=!0,...n}=e,a=y(v,r),o=h(r);return(0,p.jsx)(l.bL,{asChild:!0,...o,orientation:a.orientation,dir:a.dir,loop:i,children:(0,p.jsx)(s.sG.div,{role:"tablist","aria-orientation":a.orientation,...n,ref:t})})});k.displayName=v;var j="TabsTrigger",_=i.forwardRef((e,t)=>{let{__scopeTabs:r,value:i,disabled:a=!1,...o}=e,c=y(j,r),d=h(r),u=R(c.baseId,i),m=T(c.baseId,i),g=i===c.value;return(0,p.jsx)(l.q7,{asChild:!0,...d,focusable:!a,active:g,children:(0,p.jsx)(s.sG.button,{type:"button",role:"tab","aria-selected":g,"aria-controls":m,"data-state":g?"active":"inactive","data-disabled":a?"":void 0,disabled:a,id:u,...o,ref:t,onMouseDown:(0,n.mK)(e.onMouseDown,e=>{a||0!==e.button||!1!==e.ctrlKey?e.preventDefault():c.onValueChange(i)}),onKeyDown:(0,n.mK)(e.onKeyDown,e=>{[" ","Enter"].includes(e.key)&&c.onValueChange(i)}),onFocus:(0,n.mK)(e.onFocus,()=>{let e="manual"!==c.activationMode;g||a||!e||c.onValueChange(i)})})})});_.displayName=j;var N="TabsContent",w=i.forwardRef((e,t)=>{let{__scopeTabs:r,value:n,forceMount:a,children:l,...c}=e,d=y(N,r),u=R(d.baseId,n),m=T(d.baseId,n),g=n===d.value,b=i.useRef(g);return i.useEffect(()=>{let e=requestAnimationFrame(()=>b.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,p.jsx)(o.C,{present:a||g,children:r=>{let{present:i}=r;return(0,p.jsx)(s.sG.div,{"data-state":g?"active":"inactive","data-orientation":d.orientation,role:"tabpanel","aria-labelledby":u,hidden:!i,id:m,tabIndex:0,...c,ref:t,style:{...e.style,animationDuration:b.current?"0s":void 0},children:i&&l})}})});function R(e,t){return"".concat(e,"-trigger-").concat(t)}function T(e,t){return"".concat(e,"-content-").concat(t)}w.displayName=N;var B=x,C=k,z=_,A=w},36457:(e,t,r)=>{r.d(t,{e:()=>s});var i=r(95155),n=r(18955),a=r(12115),l=r(96923),o=r(60182);let s=e=>{let{className:t,scrollContainer:r,threshold:s=350,...c}=e,d=(0,n.c)(),[u,p]=(0,a.useState)(!1),m=(0,a.useCallback)(()=>{p((r?r.scrollTop:window.scrollY)>s)},[r,s]);return(0,a.useEffect)(()=>{let e=null!=r?r:window;
1return e.addEventListener("scroll",m),m(),()=>e.removeEventListener("scroll",m)},[r,m]),(0,i.jsx)("div",{className:(0,l.cn)("size-fit rounded-control-xl bg-bg-elevated transition-opacity duration-300",{"opacity-0 pointer-events-none":!u},t),children:(0,i.jsx)(o.$,{prefixIcon:"glyphs-arrow-up",variant:"controlNeutral",size:"lg",onClick:()=>{r?r.scrollTo({top:0,behavior:"smooth"}):window.scrollTo({top:0,behavior:"smooth"})},childrenClassName:(0,l.cn)("max-desktop:hidden",c.childrenClassName),className:"px-spacing-8 desktop:px-spacing-20",...c,children:d("Shared.scroll_to_top")})})}},46557:(e,t,r)=>{r.d(t,{AM:()=>i.AM,Wv:()=>i.Wv,_u:()=>i._u,dT:()=>i.dT,fv:()=>i.fv,hl:()=>i.hl});var i=r(98954)},66137:(e,t,r)=>{r.d(t,{tU:()=>m,av:()=>f,j7:()=>b,Xi:()=>h});var i=r(95155),n=r(25667),a=r(12115),l=r(96923),o=r(12088),s=r(22046),c=r(8867),d=r(76957),u=r(4005);let p=(0,r(83101).F)("flex w-full",{variants:{variant:{segment:"min-h-size-control-xl rounded-control-xl bg-control-neutral p-spacing-2 odd:*:h-size-control-l odd:*:grow odd:*:rounded-control-l odd:*:px-spacing-16\n        group-data-[state=expanded]:items-center data-[state=inactive]:group-data-[state=collapsed]:odd:*:bg-control-neutral [&+*]:hover:*:bg-transparent\n        [&+*]:data-[state=active]:*:bg-transparent",qab:"space-x-spacing-8 *:grow-0 *:bg-control-neutral hover:*:bg-control-neutral-hover",chip:"space-x-spacing-8 *:grow-0 *:rounded-chipstab *:bg-control-neutral hover:*:bg-control-neutral-hover\n        data-[state=active]:*:bg-tab-base-accent-selected",worldChampChip:"group-data-[state=collapsed]:border group-data-[state=collapsed]:border-border-container group-data-[state=collapsed]:rounded-badge group-data-[state=collapsed]:p-spacing-2 py-spacing-8 group-data-[state=expanded]:space-x-spacing-8 *:grow-0 *:rounded-full hover:*:bg-control-neutral-hover *:border *:border-border-container *:h-size-control-xl"},type:{neutral:"text-content-secondary data-[state=active]:*:text-content-primary",accent:"text-content-secondary data-[state=active]:*:text-content-on-accent"},size:{s:"",m:"",xl:""}},compoundVariants:[{variant:"segment",type:"neutral",className:"hover:odd:*:bg-tab-segment-neutral-hover data-[state=active]:odd:*:bg-tab-segment-neutral-selected"},{variant:"segment",type:"accent",className:"hover:odd:*:bg-tab-ghost-neutral-hover data-[state=active]:odd:*:bg-tab-ghost-accent-selected"},{variant:"segment",size:"s",className:"odd:*:w-size-control-m odd:*:h-size-control-m"},{variant:"qab",type:"neutral",className:"data-[state=active]:*:bg-tab-segment-neutral-selected"},{variant:"qab",type:"accent",className:"data-[state=active]:*:bg-tab-base-accent-selected"},{variant:"qab",size:"s",className:"*:max-h-size-control-m *:w-size-control-m"},{variant:"qab",size:"m",className:"*:h-size-control-m *:rounded-control-xl *:px-spacing-12"},{variant:"qab",size:"xl",className:"*:h-size-control-xl *:rounded-control-xl *:px-spacing-16"},{variant:"chip",size:"m",className:"*:h-size-control-m *:px-spacing-12"},{variant:"chip",size:"xl",className:"*:h-size-control-xl *:px-spacing-16"}],defaultVariants:{variant:"segment",type:"accent",size:"xl"}}),m=e=>{let{ref:t,...r}=e;return(0,i.jsx)(n.bL,{ref:t,...r})};m.displayName=n.tU.displayName;let g=e=>{let{children:t,className:r,cornersClassName:n,withScrollIntoView:s}=e,{carouselRef:c,canScrollPrev:d,canScrollNext:u,opts:p,api:m}=(0,o.gU)();return(0,a.useEffect)(()=>{if(!m||!s)return;let e=m.slideNodes().findIndex(e=>"active"===e.getAttribute("data-state"));e>=0&&m.scrollTo(e,!0)},[m,s]),(0,i.jsxs)(i.Fragment,{children:[(null==p?void 0:p.active)&&d&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:(0,l.cn)("absolute left-0 top-0 z-10 h-full w-36 pointer-events-none bg-gradient-to-l from-transparent to-bg-elevated to-80%",n)}),(0,i.jsx)(o.Q8,{prefixIcon:"glyphs-chevron-left",className:"absolute left-0 top-1/2 z-10 -translate-y-1/2 "})]}),(0,i.jsx)("div",{ref:c,className:r,children:t}),(null==p?void 0:p.active)&&u&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:(0,l.cn)("absolute right-0 top-0 z-10 h-full w-36 pointer-events-none bg-gradient-to-r from-transparent to-bg-elevated to-80%",n)}),(0,i.jsx)(o.Oj,{prefixIcon:"glyphs-chevron-right",className:"absolute right-0 top-1/2 z-10 -translate-y-1/2 opacity-100 bg-opacity-100 bg-control-neutral"})]})]})};g.displayName="tabs-list-content";let b=e=>{let{ref:t,variant:r="segment",type:s,size:c,className:d,cornersClassName:u,children:m,withScrollButtons:b,containerClassName:h,withScrollIntoView:f,wrapperClassName:y,...x}=e,v=null!=b?b:"segment"!==r;return(0,i.jsx)(o.FN,{opts:{active:v,align:"start",slidesToScroll:"auto",loop:!1},className:(0,l.cn)("min-w-0",y),children:(0,i.jsx)(g,{className:(0,l.cn)({"overflow-hidden":v,"overflow-x-auto pb-spacing-8":!v},h),cornersClassName:u,withScrollIntoView:f,children:(0,i.jsx)(n.B8,{ref:t,loop:!0,className:(0,l.cn)(p({variant:r,type:s,size:c,className:d}),"group-data-[state=collapsed]:flex group-data-[state=collapsed]:flex-col group-data-[state=collapsed]:gap-spacing-4 group-data-[state=collapsed]:bg-transparent",d),...x,children:"segment"===r?a.Children.map(m,(e,t)=>{var r;return(0,a.isValidElement)(e)?(0,i.jsxs)(a.Fragment,{children:[t>0&&(0,i.jsx)("div",{className:(0,l.cn)("self-center h-size-control-xxs w-px shrink-0 bg-border-divider transition-colors duration-300\n                          has-[+:hover]:bg-transparent has-[+[data-state=active]]:bg-transparent group-data-[state=collapsed]:hidden")}),e]},null!=(r=e.key)?r:t):e}):m})})})};b.displayName=n.B8.displayName;let h=e=>{let{ref:t,className:r,wrapperClassName:a,childrenClassName:o,prefixIcon:p,postfixIcon:m,children:g,isActive:b,withTooltip:h,dataMixpanel:f,iconClassName:y,decorator:x,counter:v,counterType:k,counterClassName:j,..._}=e,N=(0,i.jsxs)("div",{className:(0,l.cn)("flex items-center justify-center gap-spacing-8  active:opacity-opacity-item-active\n          transition-all duration-300",r),children:[x,p&&(0,i.jsx)(c.In,{icon:p,size:"m",className:"z-10 shrink-0"}),g&&(0,i.jsx)(u.o,{variant:"body-s-semibold",className:(0,l.cn)("whitespace-nowrap group-data-[state=collapsed]:hidden",o),children:g}),m&&(0,i.jsx)(c.In,{icon:m,size:"m",className:(0,l.cn)("shrink-0",y)}),void 0!==v&&(0,i.jsx)(s.ph,{type:k,size:"s",count:v,active:b,className:(0,l.cn)("shrink-0 group-data-[state=collapsed]:hidden",j)})]});return(0,i.jsx)(n.l9,{ref:t,role:"group","data-mixpanel":f,"aria-roledescription":"slide",..."boolean"==typeof b&&{"data-state":b?"active":"inactive"},className:(0,l.cn)("group basis-auto shrink-0 min-w-0 max-w-full focus-visible:outline-border-focus \n          outline outline-2 outline-offset-2 outline-transparent",{"opacity-opacity-item-inactive":_.disabled},r,a),..._,children:h?(0,i.jsx)(d.m,{tooltipContent:g,side:"right",align:"center",children:N}):N})};h.displayName=n.l9.displayName;let f=e=>{let{ref:t,className:r,...a}=e;
1return(0,i.jsx)(n.UC,{ref:t,tabIndex:-1,className:r,...a})};f.displayName=n.UC.displayName},66218:(e,t,r)=>{r.d(t,{jH:()=>a});var i=r(12115);r(95155);var n=i.createContext(void 0);function a(e){let t=i.useContext(n);return e||t||"ltr"}},70499:(e,t,r)=>{r.d(t,{C:()=>o});var i=r(95155),n=r(12115),a=r(96923),l=r(8867);let o=e=>{let{videoSrc:t,posterSrc:r,playIcon:o,isAutoPlay:s=!1,className:c,...d}=e,u=(0,n.useRef)(null),[p,m]=(0,n.useState)(!0),[g,b]=(0,n.useState)(s),h=()=>{p?(u.current.muted=!1,m(!1)):(u.current.muted=!0,m(!0))};return(0,n.useEffect)(()=>{m(!0),b(s),u.current&&(u.current.muted=!0,u.current.load(),s&&u.current.play().catch(()=>{}))},[t,s]),(0,i.jsxs)("div",{...d,className:(0,a.cn)("relative rounded-container-m overflow-hidden",c),children:[!s&&(0,i.jsx)("button",{onClick:()=>{b(!0),m(!1),u.current&&(u.current.muted=!1,u.current.play().catch(()=>{}))},className:(0,a.cn)("absolute inset-0 z-10 flex size-full transition-opacity duration-300",{"opacity-0 -z-10":g}),type:"button",children:(0,i.jsx)("div",{className:"size-11 flex items-center justify-center absolute z-20 bg-bg-static-white-subtle border border-border-container rounded-container-m top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2",children:(0,i.jsx)(l.In,{icon:o||"glyphs-play",className:"size-spacing-16 text-content-primary"})})}),(0,i.jsxs)(i.Fragment,{children:[p&&g&&(0,i.jsx)("button",{className:"absolute inset-0 z-10 flex size-full cursor-pointer items-center justify-center border-0 bg-transparent opacity-opacity-item-disabled transition-opacity hover:opacity-100",onClick:h,type:"button",children:(0,i.jsx)(l.In,{icon:"glyphs-mute",className:"size-spacing-64 text-content-primary"})}),(0,i.jsx)("video",{onClick:h,ref:u,poster:null!=r?r:void 0,className:"size-full",autoPlay:s,muted:!0,loop:!0,playsInline:!0,onLoad:()=>{var e;return m(!!(null==(e=u.current)?void 0:e.muted))},children:(0,i.jsx)("source",{src:t,type:"video/mp4"})})]})]})}},71874:(e,t,r)=>{r.d(t,{Xi:()=>i.Xi,av:()=>i.av,j7:()=>i.j7,tU:()=>i.tU});var i=r(66137)},72431:(e,t,r)=>{r.d(t,{RG:()=>k,bL:()=>z,q7:()=>A});var i=r(12115),n=r(92556),a=r(79118),l=r(94446),o=r(3468),s=r(68946),c=r(88142),d=r(70222),u=r(23558),p=r(66218),m=r(95155),g="rovingFocusGroup.onEntryFocus",b={bubbles:!1,cancelable:!0},h="RovingFocusGroup",[f,y,x]=(0,a.N)(h),[v,k]=(0,o.A)(h,[x]),[j,_]=v(h),N=i.forwardRef((e,t)=>(0,m.jsx)(f.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,m.jsx)(f.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,m.jsx)(w,{...e,ref:t})})}));N.displayName=h;var w=i.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:r,orientation:a,loop:o=!1,dir:s,currentTabStopId:f,defaultCurrentTabStopId:x,onCurrentTabStopIdChange:v,onEntryFocus:k,preventScrollOnEntryFocus:_=!1,...N}=e,w=i.useRef(null),R=(0,l.s)(t,w),T=(0,p.jH)(s),[B,z]=(0,u.i)({prop:f,defaultProp:null!=x?x:null,onChange:v,caller:h}),[A,S]=i.useState(!1),I=(0,d.c)(k),E=y(r),F=i.useRef(!1),[W,D]=i.useState(0);return i.useEffect(()=>{let e=w.current;if(e)return e.addEventListener(g,I),()=>e.removeEventListener(g,I)},[I]),(0,m.jsx)(j,{scope:r,orientation:a,dir:T,loop:o,currentTabStopId:B,onItemFocus:i.useCallback(e=>z(e),[z]),onItemShiftTab:i.useCallback(()=>S(!0),[]),onFocusableItemAdd:i.useCallback(()=>D(e=>e+1),[]),onFocusableItemRemove:i.useCallback(()=>D(e=>e-1),[]),children:(0,m.jsx)(c.sG.div,{tabIndex:A||0===W?-1:0,"data-orientation":a,...N,ref:R,style:{outline:"none",...e.style},onMouseDown:(0,n.mK)(e.onMouseDown,()=>{F.current=!0}),onFocus:(0,n.mK)(e.onFocus,e=>{let t=!F.current;if(e.target===e.currentTarget&&t&&!A){let t=new CustomEvent(g,b);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=E().filter(e=>e.focusable);C([e.find(e=>e.active),e.find(e=>e.id===B),...e].filter(Boolean).map(e=>e.ref.current),_)}}F.current=!1}),onBlur:(0,n.mK)(e.onBlur,()=>S(!1))})})}),R="RovingFocusGroupItem",T=i.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:r,focusable:a=!0,active:l=!1,tabStopId:o,children:d,...u}=e,p=(0,s.B)(),g=o||p,b=_(R,r),h=b.currentTabStopId===g,x=y(r),{onFocusableItemAdd:v,onFocusableItemRemove:k,currentTabStopId:j}=b;return i.useEffect(()=>{if(a)return v(),()=>k()},[a,v,k]),(0,m.jsx)(f.ItemSlot,{scope:r,id:g,focusable:a,active:l,children:(0,m.jsx)(c.sG.span,{tabIndex:h?0:-1,"data-orientation":b.orientation,...u,ref:t,onMouseDown:(0,n.mK)(e.onMouseDown,e=>{a?b.onItemFocus(g):e.preventDefault()}),onFocus:(0,n.mK)(e.onFocus,()=>b.onItemFocus(g)),onKeyDown:(0,n.mK)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void b.onItemShiftTab();if(e.target!==e.currentTarget)return;let t=function(e,t,r){var i;let n=(i=e.key,"rtl"!==r?i:"ArrowLeft"===i?"ArrowRight":"ArrowRight"===i?"ArrowLeft":i);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(n))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(n)))return B[n]}(e,b.orientation,b.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let r=x().filter(e=>
1e.focusable).map(e=>e.ref.current);if("last"===t)r.reverse();else if("prev"===t||"next"===t){"prev"===t&&r.reverse();let i=r.indexOf(e.currentTarget);r=b.loop?function(e,t){return e.map((r,i)=>e[(t+i)%e.length])}(r,i+1):r.slice(i+1)}setTimeout(()=>C(r))}}),children:"function"==typeof d?d({isCurrentTabStop:h,hasTabStop:null!=j}):d})})});T.displayName=R;var B={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function C(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=document.activeElement;for(let i of e)if(i===r||(i.focus({preventScroll:t}),document.activeElement!==r))return}var z=N,A=T},79118:(e,t,r)=>{function i(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function n(e,t){var r=i(e,t,"get");return r.get?r.get.call(e):r.value}function a(e,t,r){var n=i(e,t,"set");if(n.set)n.set.call(e,r);else{if(!n.writable)throw TypeError("attempted to set read only private field");n.value=r}return r}r.d(t,{N:()=>g});var l,o=r(12115),s=r(3468),c=r(94446),d=r(95155);function u(e){let t=function(e){let t=o.forwardRef((e,t)=>{let{children:r,...i}=e;if(o.isValidElement(r)){var n;let e,a,l=(n=r,(a=(e=Object.getOwnPropertyDescriptor(n.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?n.ref:(a=(e=Object.getOwnPropertyDescriptor(n,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?n.props.ref:n.props.ref||n.ref),s=function(e,t){let r={...t};for(let i in t){let n=e[i],a=t[i];/^on[A-Z]/.test(i)?n&&a?r[i]=(...e)=>{let t=a(...e);return n(...e),t}:n&&(r[i]=n):"style"===i?r[i]={...n,...a}:"className"===i&&(r[i]=[n,a].filter(Boolean).join(" "))}return{...e,...r}}(i,r.props);return r.type!==o.Fragment&&(s.ref=t?(0,c.t)(t,l):l),o.cloneElement(r,s)}return o.Children.count(r)>1?o.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),r=o.forwardRef((e,r)=>{let{children:i,...n}=e,a=o.Children.toArray(i),l=a.find(m);if(l){let e=l.props.children,i=a.map(t=>t!==l?t:o.Children.count(e)>1?o.Children.only(null):o.isValidElement(e)?e.props.children:null);return(0,d.jsx)(t,{...n,ref:r,children:o.isValidElement(e)?o.cloneElement(e,void 0,i):null})}return(0,d.jsx)(t,{...n,ref:r,children:i})});return r.displayName=`${e}.Slot`,r}var p=Symbol("radix.slottable");function m(e){return o.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===p}function g(e){let t=e+"CollectionProvider",[r,i]=(0,s.A)(t),[n,a]=r(t,{collectionRef:{current:null},itemMap:new Map}),l=e=>{let{scope:t,children:r}=e,i=o.useRef(null),a=o.useRef(new Map).current;return(0,d.jsx)(n,{scope:t,itemMap:a,collectionRef:i,children:r})};l.displayName=t;let p=e+"CollectionSlot",m=u(p),g=o.forwardRef((e,t)=>{let{scope:r,children:i}=e,n=a(p,r),l=(0,c.s)(t,n.collectionRef);return(0,d.jsx)(m,{ref:l,children:i})});g.displayName=p;let b=e+"CollectionItemSlot",h="data-radix-collection-item",f=u(b),y=o.forwardRef((e,t)=>{let{scope:r,children:i,...n}=e,l=o.useRef(null),s=(0,c.s)(t,l),u=a(b,r);return o.useEffect(()=>(u.itemMap.set(l,{ref:l,...n}),()=>void u.itemMap.delete(l))),(0,d.jsx)(f,{...{[h]:""},ref:s,children:i})});return y.displayName=b,[{Provider:l,Slot:g,ItemSlot:y},function(t){let r=a(e+"CollectionConsumer",t);return o.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll("[".concat(h,"]")));return Array.from(r.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[r.collectionRef,r.itemMap])},i]}var b=new WeakMap;function h(e,t){if("at"in Array.prototype)return Array.prototype.at.call(e,t);let r=function(e,t){let r=e.length,i=f(t),n=i>=0?i:r+i;return n<0||n>=r?-1:n}(e,t);return -1===r?void 0:e[r]}function f(e){return e!=e||0===e?0:Math.trunc(e)}l=new WeakMap,class e extends Map{set(e,t){return b.get(this)&&(this.has(e)?n(this,l)[n(this,l).indexOf(e)]=e:n(this,l).push(e)),super.set(e,t),this}insert(e,t,r){let i,a=this.has(t),o=n(this,l).length,s=f(e),c=s>=0?s:o+s,d=c<0||c>=o?-1:c;if(d===this.size||a&&d===this.size-1||-1===d)return this.set(t,r),this;let u=this.size+ +!a;
1s<0&&c++;let p=[...n(this,l)],m=!1;for(let e=c;e<u;e++)if(c===e){let n=p[e];p[e]===t&&(n=p[e+1]),a&&this.delete(t),i=this.get(n),this.set(t,r)}else{m||p[e-1]!==t||(m=!0);let r=p[m?e:e-1],n=i;i=this.get(r),this.delete(r),this.set(r,n)}return this}with(t,r,i){let n=new e(this);return n.insert(t,r,i),n}before(e){let t=n(this,l).indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,r){let i=n(this,l).indexOf(e);return -1===i?this:this.insert(i,t,r)}after(e){let t=n(this,l).indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,r){let i=n(this,l).indexOf(e);return -1===i?this:this.insert(i+1,t,r)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return a(this,l,[]),super.clear()}delete(e){let t=super.delete(e);return t&&n(this,l).splice(n(this,l).indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let t=h(n(this,l),e);if(void 0!==t)return this.get(t)}entryAt(e){let t=h(n(this,l),e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return n(this,l).indexOf(e)}keyAt(e){return h(n(this,l),e)}from(e,t){let r=this.indexOf(e);if(-1===r)return;let i=r+t;return i<0&&(i=0),i>=this.size&&(i=this.size-1),this.at(i)}keyFrom(e,t){let r=this.indexOf(e);if(-1===r)return;let i=r+t;return i<0&&(i=0),i>=this.size&&(i=this.size-1),this.keyAt(i)}find(e,t){let r=0;for(let i of this){if(Reflect.apply(e,t,[i,r,this]))return i;r++}}findIndex(e,t){let r=0;for(let i of this){if(Reflect.apply(e,t,[i,r,this]))return r;r++}return -1}filter(t,r){let i=[],n=0;for(let e of this)Reflect.apply(t,r,[e,n,this])&&i.push(e),n++;return new e(i)}map(t,r){let i=[],n=0;for(let e of this)i.push([e[0],Reflect.apply(t,r,[e,n,this])]),n++;return new e(i)}reduce(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let[i,n]=t,a=0,l=null!=n?n:this.at(0);for(let e of this)l=0===a&&1===t.length?e:Reflect.apply(i,this,[l,e,a,this]),a++;return l}reduceRight(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let[i,n]=t,a=null!=n?n:this.at(-1);for(let e=this.size-1;e>=0;e--){let r=this.at(e);a=e===this.size-1&&1===t.length?r:Reflect.apply(i,this,[a,r,e,this])}return a}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let r=this.keyAt(e),i=this.get(r);t.set(r,i)}return t}toSpliced(){for(var t=arguments.length,r=Array(t),i=0;i<t;i++)r[i]=arguments[i];let n=[...this.entries()];return n.splice(...r),new e(n)}slice(t,r){let i=new e,n=this.size-1;if(void 0===t)return i;t<0&&(t+=this.size),void 0!==r&&r>0&&(n=r-1);for(let e=t;e<=n;e++){let t=this.keyAt(e),r=this.get(t);i.set(t,r)}return i}every(e,t){let r=0;for(let i of this){if(!Reflect.apply(e,t,[i,r,this]))return!1;r++}return!0}some(e,t){let r=0;for(let i of this){if(Reflect.apply(e,t,[i,r,this]))return!0;r++}return!1}constructor(e){super(e),function(e,t,r){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object");t.set(e,r)}(this,l,{writable:!0,value:void 0}),a(this,l,[...super.keys()]),b.set(this,!0)}}},95068:(e,t,r)=>{r.r(t),r.d(t,{CryptoTutorialDrawer:()=>U,SHOW_CRYPTO_TUTORIAL_PARAM:()=>A.X});var i=r(95155),n=r(77202),a=r(97277),l=r(18955),o=r(20063),s=r(12115),c=function(e){return e.XRocket="xRocket",e.BestChange="BestChange",e.Bybit="Bybit",e.Tonkeeper="Tonkeeper",e.TelegramWallet="Telegram Wallet",e}({});let d=[{key:"BestChange",icon:"crypto-bestchange"},{key:"Bybit",icon:"crypto-bybit"},{key:"xRocket",icon:"crypto-xRocket-blue"},{key:"Telegram Wallet",icon:"social-telegram"},{key:"Tonkeeper",icon:"crypto-tonkeeper"}],u={xRocket:"https://xrocket.tg/",BestChange:"https://bc-bestchange.ru/exchange/",Bybit:"https://www.bybit.com/ru-RU",Tonkeeper:"https://tonkeeper.com/","Telegram Wallet":"https://wallet.tg/"};var p=r(15239),m=r(20113),g=r(4005);let b=e=>{let{number:t,title:r}=e;return(0,i.jsxs)("div",{className:"flex gap-spacing-12",children:[(0,i.jsx)(m.E,{variant:"default",size:"md",className:"h-fit min-w-6 flex items-center justify-center",children:t}),(0,i.jsx)(g.o,{as:"div",children:r})]})};var h=r(96923);let f=e=>{let{title:t,id:r,description:n,children:a,className:l}=e;return(0,i.jsxs)("div",{id:r,className:(0,h.cn)("flex flex-col gap-spacing-12 pb-spacing-16 border-b border-border-divider",l),children:["string"==typeof t?(0,i.jsx)(g.o,{variant:"body-m-semibold",children:t}):t,n&&(0,i.jsx)(g.o,{as:"div",children:n}),s.Children.map(a,e=>(0,s.isValidElement)(e)?(0,i.jsx)("div",{className:"bg-bg-secondary rounded-container-xs p-spacing-12 flex flex-col gap-spacing-12",children:e},e.key):e)]})};var y=r(8867);let x=e=>{let{blockNumber:t,method:r,blockKey:n,title:a,description:o,items:s,className:c}=e,d=(0,l.c)();return(0,i.jsx)(f,{title:a,description:o,id:n,className:c,children:s.map(e=>{let{key:n,imgSrc:a,warningText:l,notificationText:o,extraText:s,extraSecondaryText:c}=e;return(0,i.jsxs)("div",{className:"flex flex-col gap-spacing-12",children:[(0,i.jsx)(b,{title:d.rich("crypto_guide.".concat(r,".block_").concat(t,".point_").concat(n),{b:e=>(0,i.jsx)("b",{children:e}),br:()=>(0,i.jsx)("div",{className:"mt-2"})}),number:n}),l&&(0,i.jsxs)("div",{className:"flex gap-spacing-12 p-spacing-12 bg-bg-warning-subtle rounded-container-s",children:[(0,i.jsx)(y.In,{icon:"glyphs-warning",size:"m",className:"text-content-warning shrink-0"}),(0,i.jsx)(g.o,{as:"div",children:d.rich(l,{b:e=>(0,i.jsx)("b",{children:e}),br:()=>(0,i.jsx)("div",{className:"mt-2"})})})]}),o&&(0,i.jsxs)("div",{className:"flex gap-spacing-12 p-spacing-12 bg-bg-informative-subtle rounded-container-s",children:[(0,i.jsx)(y.In,{icon:"glyphs-informative",size:"m",className:"text-content-informative shrink-0"}),(0,i.jsx)(g.o,{as:"div",children:d.rich(o,{b:e=>(0,i.jsx)("b",{children:e}),br:()=>(0,i.jsx)("div",{className:"mt-2"})})})]}),null==a?void 0:a.map((e,t)=>(0,i.jsxs)("div",{className:"flex flex-col gap-spacing-12",children:[(0,i.jsx)(p.default,{src:e,alt:"instruction",loading:"eager",width:800,height:400,className:"w-full object-cover h-auto"}),s&&(0,i.jsx)(g.o,{as:"div",children:d.rich(s(t),{b:e=>(0,i.jsx)("b",{children:e}),br:()=>(0,i.jsx)("div",{className:"mt-2"})})}),c&&(0,i.jsx)(g.o,{as:"div",variant:"caption-s-regular",className:"text-content-secondary",children:d.rich(c(t),{b:e=>(0,i.jsx)("b",{children:e}),br:()=>(0,i.jsx)("div",{className:"mt-2"})})})]},e))]},n)})})},v=e=>{let{items:t,onItemClick:r}=e,n=(0,l.c)();return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(g.o,{variant:"body-m-semibold",className:"text-content-primary",children:n("crypto_guide.instruction_deposit")}),(0,i.jsx)("div",{className:"flex flex-col gap-spacing-4",children:t.map((e,t)=>(0,i.jsxs)("button",{type:"button",className:"flex gap-spacing-12 items-center transition-colors duration-300 hover:bg-bg-secondary rounded-container-s p-spacing-4",onClick:()=>r(e.id),children:[(0,i.jsx)("div",{className:"size-8 flex items-center justify-center text-bg-accent border border-border-container rounded-control-m",children:(0,i.jsx)(g.o,{variant:"body-s-semibold",children:t+1})}),(0,i.jsx)(g.o,{className:"text-start",children:n(e.title)}),(0,i.jsx)(y.In,{className:"ml-auto text-content-secondary",size:"s",icon:"glyphs-chevron-right"})]},e.id))})]})};var k=function(e){return e.FirstBlock="Bybit-first-block",e.SecondBlock="Bybit-second-block",e.ThirdBlock="Bybit-third-block",e.FourBlock="Bybit-four
1-block",e.FiveBlock="Bybit-five-block",e.SixBlock="Bybit-six-block",e}(k||{});let j=[{title:"crypto_guide.Bybit.instruction_1",id:"Bybit-first-block"},{title:"crypto_guide.Bybit.instruction_2",id:"Bybit-second-block"},{title:"crypto_guide.Bybit.instruction_3",id:"Bybit-third-block"},{title:"crypto_guide.Bybit.instruction_4",id:"Bybit-five-block"},{title:"crypto_guide.Bybit.instruction_5",id:"Bybit-six-block"}];var _=function(e){return e.FirstBlock="Telegram Wallet-first-block",e.SecondBlock="Telegram Wallet-second-block",e}(_||{});let N=[{title:"crypto_guide.Telegram Wallet.instruction_1",id:"Telegram Wallet-first-block"},{title:"crypto_guide.Telegram Wallet.instruction_2",id:"Telegram Wallet-second-block"}];var w=function(e){return e.FirstBlock="Tonkeeper-first-block",e.SecondBlock="Tonkeeper-second-block",e}(w||{});let R=[{title:"crypto_guide.Tonkeeper.instruction_1",id:"Tonkeeper-first-block"},{title:"crypto_guide.Tonkeeper.instruction_2",id:"Tonkeeper-second-block"}];var T=function(e){return e.FirstBlock="xRocket-first-block",e.SecondBlock="xRocket-second-block",e.ThirdBlock="xRocket-third-block",e.FourBlock="xRocket-four-block",e}(T||{});let B=[{title:"crypto_guide.xRocket.instruction_1",id:"xRocket-first-block"},{title:"crypto_guide.xRocket.instruction_2",id:"xRocket-second-block"},{title:"crypto_guide.xRocket.instruction_3",id:"xRocket-third-block"},{title:"crypto_guide.xRocket.instruction_4",id:"xRocket-four-block"}];var C=r(70499);let z=e=>{let{method:t,onItemClick:r}=e,n="ru"===(0,a.Ym)(),o=(()=>{let e=(0,l.c)(),t="ru"===(0,a.Ym)(),r=e=>"/images/crypto-guide/xRocket/".concat(t?"RU":"EN","/xRocket-image-").concat(t?"ru":"en","-").concat(e<10?"0".concat(e):e,".png"),n=Array.from({length:13},(e,t)=>{var i;let n=t+1;return{key:n,imgSrc:null!=(i=({3:[r(1)],4:[r(2)],9:[r(3),r(4)],10:[r(5)],12:[r(6)]})[n])?i:void 0}}),o=Array.from({length:10},(e,t)=>{var i;let n=t+1;return{key:n,imgSrc:null!=(i=({1:[r(7)],2:[r(8)],5:[r(9)],6:[r(10)]})[n])?i:void 0,warningText:2===n?"crypto_guide.xRocket.block_2.point_2_warning":void 0}}),s=Array.from({length:11},(e,t)=>{var i;let n=t+1;return{key:n,imgSrc:null!=(i=({3:[r(11)],4:[r(12)],8:[r(13)],10:[r(14)]})[n])?i:void 0,notificationText:10===n?"crypto_guide.xRocket.block_3.point_10_notification":void 0}}),c=Array.from({length:22},(e,t)=>{var i;let n=t+1;return{key:n,imgSrc:null!=(i=({3:[r(15)],4:[r(16)],5:[r(17)],7:[r(18),r(19)],8:[r(20)],9:[r(21)],10:[r(22)],11:[r(23),r(24)],12:[r(25)],16:[r(26)],17:[r(27),r(28)],18:[r(29)],20:[r(30)]})[n])?i:void 0,extraText:11===n?e=>"crypto_guide.xRocket.block_4.point_11_".concat(e+1):void 0}});return[{id:"xRocket-first-block",number:1,title:e("crypto_guide.xRocket.block_1.title"),items:n},{id:"xRocket-second-block",number:2,title:e("crypto_guide.xRocket.block_2.title"),description:e.rich("crypto_guide.xRocket.block_2.description",{br:()=>(0,i.jsx)("div",{className:"mt-2"})}),items:o},{id:"xRocket-third-block",number:3,title:e("crypto_guide.xRocket.block_3.title"),description:e.rich("crypto_guide.xRocket.block_3.description",{br:()=>(0,i.jsx)("div",{className:"mt-2"})}),items:s},{id:"xRocket-four-block",number:4,title:e("crypto_guide.xRocket.block_4.title"),items:c}]})(),d=(()=>{let e=(0,l.c)(),t="ru"===(0,a.Ym)(),r=e=>"/images/crypto-guide/Bestchange/".concat(t?"RU":"EN","/Bestchange-image-").concat(t?"ru":"eng","-").concat(e<10?"0".concat(e):e,".png"),i=Array.from({length:9},(e,t)=>{var i;let n=t+1;return{key:n,imgSrc:null!=(i=({1:[r(1)],2:[r(2)],3:[r(3)],4:[r(4)],5:[r(5)],6:[r(6)],7:[r(7)],8:[r(8),r(9)]})[n])?i:void 0,warningText:5===n?"crypto_guide.BestChange.block_1.point_5_notification":void 0}});return[{id:"best-change",number:1,title:e("crypto_guide.BestChange.block_1.title"),items:i,description:""}]})(),u=(()=>{let e=(0,l.c)(),t="ru"===(0,a.Ym)(),r=e=>"/images/crypto-guide/Bybit/".concat(t?"RU":"EN","/Bybit-image-").concat(t?"ru":"eng","-").concat(e<10?"0".concat(e):e,".png"),n=Array.from({length:3},(e,t)=>{var i;let n=t+1;return{key:n,imgSrc:null!=(i=({3:[r(1)]})[n])?i:void 0}}),o=Array.from({length:6},(e,t)=>{var i;let n=t+1;return{key:n,imgSrc:null!=(i=({1:[r(2)],2:[r(3)],3:[r(4),r(5)],4:[r(6)],5:[r(7)],6:[r(8),r(9)]})[n])?i:void 0,extraText:3===n?e=>0===e?"crypto_guide.Bybit.block_2.point_3_".concat(e+1):"":void 0}}),s=Array.from({length:7},(e,t)=>{var i;let n=t+1;return{key:n,imgSrc:null!=(i=({1:[r(10)],2:[r(11)],3:[r(12)],4:[r(13)],6:[r(14)],7:[r(15)]})[n])?i:void 0,warningText:2===n?"crypto_guide.Bybit.block_3.point_2_warning":void 0}}),c=Array.from({length:10},(e,i)=>{let n=i+1,a={1:[r(16)],2:[r(17)],3:[r(18)],4:[r(t?18:19)],5:[r(t?19:20)],6:[r(t?20:21)],7:[r(t?21:22)],8:[r(t?20:23)],9:[r(t?20:24)]};return{key:n,imgSrc:t&&[3,8,9].includes(n)||!a[n]?void 0:a[n]}}),d=t?22:25,u=Array.from({length:8},(e,t)=>{var i;let n=t+1;return{key:n,imgSrc:null!=(i=({1:[r(d)],2:[r(d+1)],4:[r(d+2)],6:[r(d+3)],8:[r(d+4)]})[n])?i:void 0}}),p=Array.from({length:8},(e,i)=>{let n=i+1,a={1:[r(d+5)],2:[r(d+6)],3:[r(d+7)],4:[r(d+8)],5:[r(d+9)],8:[r(d+10)]};return{key:n,imgSrc:(t||8!==n)&&a[n]?a[n]:void 0}});return[{id:"Bybit-first-block",number:1,title:e("crypto_guide.Bybit.block_1.title"),items:n},{id:"Bybit-second-block",number:2,title:e("crypto_guide.Bybit.block_2.title"),items:o},{id:"Bybit-third-block",number:3,title:e("crypto_guide.Bybit.block_3.title"),description:e.rich("crypto_guide.Bybit.block_3.description",{br:()=>(0,i.jsx)("div",{className:"mt-2"}),b:e=>(0,i.jsx)("b",{className:"text-content-primary",children:e})}),items:s}
1,{id:"Bybit-four-block",number:4,title:(0,i.jsxs)("div",{className:"flex gap-spacing-12 p-spacing-12 bg-bg-informative-subtle rounded-container-s",children:[(0,i.jsx)(y.In,{icon:"glyphs-informative",size:"m",className:"text-content-informative shrink-0"}),(0,i.jsx)(g.o,{children:e.rich("crypto_guide.Bybit.block_4.notification",{br:()=>(0,i.jsx)("div",{className:"mt-2"}),b:e=>(0,i.jsx)("b",{className:"text-content-primary",children:e})})})]}),items:t?c.filter(e=>![9,10].includes(e.key)):c},{id:"Bybit-five-block",number:5,title:e("crypto_guide.Bybit.block_5.title"),description:e.rich("crypto_guide.Bybit.block_5.description",{br:()=>(0,i.jsx)("div",{className:"mt-2"}),b:e=>(0,i.jsx)("b",{className:"text-content-primary",children:e})}),items:u,className:"border-none pb-0"},{type:"extra-block",content:(0,i.jsxs)("div",{className:"flex gap-spacing-12 p-spacing-12 bg-bg-informative-subtle rounded-container-s",children:[(0,i.jsx)(y.In,{icon:"glyphs-informative",size:"m",className:"text-content-informative shrink-0"}),(0,i.jsx)(g.o,{children:e("crypto_guide.Bybit.block_5.point_8_notification")})]})},{id:"Bybit-six-block",number:6,title:e("crypto_guide.Bybit.block_6.title"),items:p}]})(),m=(()=>{let e=(0,l.c)(),t="ru"===(0,a.Ym)(),r=e=>"/images/crypto-guide/Tonkeeper/".concat(t?"RU":"EN","/Tonkeeper-image-").concat(t?"ru":"eng","-").concat(e<10?"0".concat(e):e,".png"),n=Array.from({length:6},(e,i)=>{let n=i+1,a={1:[r(1)],2:[r(2)],3:[r(3)],5:[r(4)]};return{key:n,imgSrc:(t||5!==n)&&a[n]?a[n]:void 0}}),o=Array.from({length:4},(e,i)=>{var n;let a=i+1,l=t?5:4;return{key:a,imgSrc:null!=(n=({1:[r(l)],2:[r(l+1)],3:[r(l+2)],4:[r(l+3)]})[a])?n:void 0,warningText:2===a?"crypto_guide.Tonkeeper.block_2.point_2_warning":void 0}});return[{id:"Tonkeeper-first-block",number:1,title:e("crypto_guide.Tonkeeper.block_1.title"),items:n},{id:"Tonkeeper-second-block",number:2,title:e("crypto_guide.Tonkeeper.block_2.title"),description:e.rich("crypto_guide.Tonkeeper.block_2.description",{br:()=>(0,i.jsx)("div",{className:"mt-2"}),b:e=>(0,i.jsx)("b",{children:e})}),items:o}]})(),b=(()=>{let e=(0,l.c)(),t="ru"===(0,a.Ym)(),r=e=>"/images/crypto-guide/TelegramWallet/".concat(t?"RU":"EN","/TelegramWallet-image-").concat(t?"ru":"eng","-").concat(e<10?"0".concat(e):e,".png"),n=Array.from({length:6},(e,t)=>{var i;let n=t+1;return{key:n,imgSrc:null!=(i=({1:[r(1)],2:[r(2)],3:[r(3)],4:[r(4)],5:[r(5)],6:[r(6),r(7)]})[n])?i:void 0,extraSecondaryText:6===n?e=>"crypto_guide.Telegram Wallet.block_1.point_6_".concat(e):void 0}}),o=Array.from({length:6},(e,t)=>{var i;let n=t+1;return{key:n,imgSrc:null!=(i=({1:[r(13)],2:[r(14)],3:[r(15)],4:[r(16)],6:[r(17)]})[n])?i:void 0,warningText:2===n?"crypto_guide.Telegram Wallet.block_2.point_2_warning":void 0,extraSecondaryText:6===n?e=>"crypto_guide.Telegram Wallet.block_2.point_6_".concat(e):void 0}});return[{id:"Telegram Wallet-first-block",number:1,title:e("crypto_guide.Telegram Wallet.block_1.title"),items:n},{type:"extra-block",content:(0,i.jsxs)("div",{className:"bg-bg-secondary rounded-container-xs p-spacing-12 flex flex-col gap-spacing-12",children:[(0,i.jsxs)("div",{className:"flex gap-spacing-12 p-spacing-12 bg-bg-informative-subtle rounded-container-s",children:[(0,i.jsx)(y.In,{icon:"glyphs-informative",size:"m",className:"text-content-informative shrink-0"}),(0,i.jsx)(g.o,{children:e("crypto_guide.Telegram Wallet.extra_block.notification")})]}),(0,i.jsx)("ol",{className:"list-decimal flex flex-col gap-spacing-12",children:Array.from({length:5}).map((n,a)=>(t||4!==a)&&(0,i.jsxs)("li",{className:"flex flex-col gap-spacing-8 list-decimal",children:[(0,i.jsxs)(g.o,{variant:"caption-s-regular",className:"text-content-primary opacity-opacity-item-active",children:[a+1,". ",e.rich("crypto_guide.Telegram Wallet.extra_block.point_".concat(a+1),{b:e=>(0,i.jsx)("b",{children:e})})]}),(0,i.jsx)(p.default,{src:r(a+8),alt:"instruction",loading:"eager",width:800,height:400,className:"w-full object-cover h-auto"})]},a))})]})},{id:"Telegram Wallet-second-block",number:2,title:e("crypto_guide.Telegram Wallet.block_2.title"),description:e.rich("crypto_guide.Telegram Wallet.block_2.description",{br:()=>(0,i.jsx)("div",{className:"mt-2"}),b:e=>(0,i.jsx)("b",{children:e})}),items:o,className:"border-t border-border-divider pt-spacing-12"}]})(),{instructions:h,blocks:f}=(()=>{switch(t){case c.XRocket:return{instructions:B,blocks:o};case c.BestChange:return{instructions:[],blocks:d};case c.Bybit:return{instructions:j,blocks:u};case c.Tonkeeper:return{instructions:R,blocks:m};case c.TelegramWallet:return{instructions:N,blocks:b};default:return{instructions:[],blocks:[]}}})(),k=(0,s.useMemo)(()=>"/videos/crypto-guides/".concat(t,".mp4"),[t,n]);return(0,i.jsxs)("div",{className:"flex relative flex-col gap-spacing-16 pb-spacing-16 laptop:w-width-modal-desktop-m",children:[n&&(0,i.jsx)(C.C,{videoSrc:k}),h.length>0&&(0,i.jsx)(v,{items:h,onItemClick:r}),f.map(e=>(null==e?void 0:e.type)==="extra-block"?e.content:(0,i.jsx)(x,{method:t,blockNumber:e.number,blockKey:e.id,title:e.title,de
1scription:null==e?void 0:e.description,items:e.items,className:e.className},e.id))]})};var A=r(81669),S=r(85124),I=r(34863),E=r(48728),F=r(27518),W=r(60182),D=r(46557),M=r(36457),O=r(71874);let U=()=>{let e=(0,E.a8)(),t=(0,o.useSearchParams)(),r=(0,o.useRouter)(),[p,m]=(0,n.useAtom)(S._),b=(0,a.Ym)(),f=(0,l.c)(),[y,x]=(0,s.useState)(!1),[v,k]=(0,s.useState)(c.BestChange),[j,_]=(0,s.useState)(null),N=(0,s.useRef)(null),w=null==t?void 0:t.get(A.X);(0,s.useEffect)(()=>{!w||p||y||(m(!0),x(!0))},[w,p,y,m]),(0,s.useEffect)(()=>{if(!p){k(c.BestChange),w||x(!1);return}let e=requestAnimationFrame(()=>{N.current&&_(N.current)});return()=>cancelAnimationFrame(e)},[v,p,t,w,x,m,y]);let R=e=>{let t=N.current;k(e),null==t||t.scrollTo({top:0,behavior:"smooth"})},T="/images/crypto-guide/instructions-mobile".concat((0,F.S2)(b)?"-es":"",".webp"),B="/images/crypto-guide/instructions-desktop".concat((0,F.S2)(b)?"-es":"",".webp");return(0,i.jsxs)(I.L,{modalRef:N,isOpen:p,onClose:()=>{if(m(!1),w){let i=new URLSearchParams(null==t?void 0:t.toString());i.delete("crypto_tutorial");let n=i.toString(),a=n?"".concat(e,"?").concat(n):e;r.replace(a,{scroll:!1})}},mobileBannerSrc:T,desktopBannerSrc:B,bannerInner:(0,i.jsx)(g.o,{variant:"display-m",className:"absolute z-10 w-full max-w-80 top-1/2 -translate-y-1/2 left-1/2 -translate-x-1/2 text-center",children:f("wallet.tutorial_title")}),fixedHeader:v,contentContainerClassName:"relative pb-0 max-laptop:pt-0",children:[(0,i.jsxs)("div",{className:"flex flex-col laptop:flex-row relative laptop:w-[800px] laptop:gap-spacing-20 laptop:-ml-[188px]",children:[(0,i.jsx)("div",{className:"bg-bg-secondary max-laptop:hidden flex flex-col gap-spacing-2 p-spacing-4 rounded-container-m sticky top-spacing-64 h-fit w-fit",children:d.map(e=>(0,i.jsx)(D.fv,{className:(0,h.cn)("w-full",{"bg-tab-ghost-neutral-hover":v===e.key}),onClick:()=>R(e.key),prefixIcon:e.icon,children:e.key},e.key))}),(0,i.jsx)(O.tU,{defaultValue:v,onValueChange:R,className:"laptop:hidden sticky top-spacing-48 z-20 bg-bg-elevated pt-spacing-24 pb-spacing-16",children:(0,i.jsx)(O.j7,{className:"w-fit",type:"neutral",containerClassName:"overflow-x-auto hidde-scroll",children:d.map(e=>(0,i.jsx)(O.Xi,{prefixIcon:e.icon,value:e.key,className:"flex h-full",children:e.key},e.key))})}),(0,i.jsx)(z,{method:v,onItemClick:e=>{let t=N.current,r=document.getElementById(e);t&&r&&t.scrollTo({top:r.offsetTop+300,behavior:"smooth"})}})]}),(0,i.jsxs)("div",{className:"sticky bottom-spacing-16 z-20 flex flex-col gap-spacing-8 items-center",children:[(0,i.jsx)(M.e,{threshold:250,scrollContainer:j,childrenClassName:"max-desktop:flex"}),v!==c.BestChange&&(0,i.jsx)(E.N_,{target:"_blank",href:v?u[v]:"",className:"w-full pt-spacing-16 bg-bg-elevated",children:(0,i.jsx)(W.$,{className:"w-full",variant:"primary",size:"lg",postfixIcon:"glyphs-arrow-diagonal",children:f("crypto_guide.button_link",{method:v||""})})})]})]})}}}]);

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.