PageSourceSearch

https://super.toys/_next/static/chunks/737ce0b4be405025.js?dpl=dpl_8SpYhuiwjHyiunTEUFbFFaPBbUYG

js super.toys collected 2026-10-07 13:40:52 UTC 28,422 bytes, 5 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="da14a6ae-256e-5943-0976-839af7c89792")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,214210,e=>{"use strict";var t=e.i(665323);let r=(0,t.createServerReference)("7f8fc5897977d7f1b6a59bcd2b4cbe8210771c08d9",t.callServer,void 0,t.findSourceMapURL,"toggleWishlist");e.s(["toggleWishlist",()=>r])},266393,e=>{"use strict";var t=e.i(307824),r=e.i(18229),i=e.i(432140);e.i(769907);var a=e.i(243234);e.i(795077);var o=e.i(255158),s=e.i(873770),n=e.i(398332);e.i(480212);var l=e.i(689304);e.i(831597);var d=e.i(754219),u=e.i(479156),c=e.i(214210),p=e.i(667803),f=e.i(978083),m=e.i(334151),h=e.i(115484),g=e.i(610670),b=e.i(179278),v=e.i(248322);let y=(0,g.default)(()=>e.A(757034),{loadableGenerated:{modules:[937900]},ssr:!1,loading:()=>(0,t.jsx)("div",{className:"flex h-full w-full items-center justify-center bg-white",children:(0,t.jsx)(b.Loader2,{className:"h-6 w-6 animate-spin text-neutral-300"})})}),x=!1;function w({url:e}){let i=(0,r.useRef)(null),[a,o]=(0,r.useState)(!1),[s,n]=(0,r.useState)(!1),l=(0,r.useMemo)(()=>(0,v.toCdnUrl)(e),[e]);return(0,r.useEffect)(()=>{!function(){if(x)return;x=!0;let e=document.createElement("link");e.rel="prefetch",e.href="/draco/draco_wasm_wrapper.js",e.as="script",document.head.appendChild(e);let t=document.createElement("link");t.rel="prefetch",t.href="/draco/draco_decoder.wasm",t.as="fetch",t.crossOrigin="anonymous",document.head.appendChild(t)}();let e=document.createElement("link");return e.rel="prefetch",e.href=l,e.as="fetch",e.crossOrigin="anonymous",document.head.appendChild(e),()=>{document.head.removeChild(e)}},[l]),(0,r.useEffect)(()=>{let e=i.current;if(!e)return;let t=new IntersectionObserver(([e])=>{let t=!!e?.isIntersecting;n(t),t&&o(!0)},{rootMargin:"100px"});return t.observe(e),()=>t.disconnect()},[]),(0,t.jsx)("div",{ref:i,className:"h-full w-full bg-white",children:a&&(0,t.jsx)(y,{url:l,spinning:s})})}function C({product:e,locale:g="ru",priority:b=!1,initialInWishlist:v,initialInCart:y,excludeEntityIds:x,ecommerceList:C,ecommercePosition:R}){let{t:S}=(0,a.useTranslation)("catalog"),{data:k}=(0,n.useUser)(),{trackProductClick:j}=(0,o.useEcommerce)(),{addItem:D,hasItem:P}=(0,p.useGuestCart)(),{hasItem:N,toggleItem:T}=(0,f.useGuestWishlist)(),[E,_]=(0,r.useTransition)(),[,I]=(0,r.useTransition)(),[M,A]=(0,r.useState)(!1),[O,z]=(0,r.useState)(null),L=e.images?.find(e=>e.is_primary)??e.images?.[0],$=L?.media_type??"image",H="image"===$&&L?.url?L.url:void 0,U="video"===$&&L?.url?(0,t.jsx)("video",{autoPlay:!0,loop:!0,muted:!0,playsInline:!0,preload:"metadata",poster:L.poster_url??void 0,className:"h-full w-full object-cover",children:(0,t.jsx)("source",{src:L.url})}):"model"===$&&L?.url?(0,t.jsx)(w,{url:L.url}):void 0,q=e.compare_at_price&&e.compare_at_price>e.price,F=0===e.available,W=M||y||!k&&P(e.id),B=null!==O?O:v??(!k&&N(e.id)),K=(0,s.formatCurrency)({currencyCode:"RUB",locale:g,value:e.price}),G=e.compare_at_price?(0,s.formatCurrency)({currencyCode:"RUB",locale:g,value:e.compare_at_price}):null,V=[];e.is_presale&&V.push({label:S("product.presale"),variant:"outline",position:"bottom-left",color:"#2563eb"}),q&&!F&&V.push({label:S("product.discount"),variant:"destructive",position:"bottom-right"}),e.is_blindbox&&V.push({label:S("blindbox.badge"),variant:"secondary",position:"top-right"}),e.rarity&&V.push({label:e.rarity.name,variant:"outline",position:"bottom-left",color:e.rarity.color??void 0});let X=[];if(e.publishers&&e.publishers.length>0)for(let t of[...e.publishers].sort((e,t)=>!!t.is_primary-!!e.is_primary))t.publisher?.name&&t.publisher.id!==x?.publisherId&&X.push(t.publisher.name);else e.publisher?.name&&e.publisher.id!==x?.publisherId&&X.push(e.publisher.name);if(e.authors&&e.authors.length>0){let t=[...e.authors].sort((e,t)=>!!t.is_primary-!!e.is_primary).filter(e=>e.author?.id!==x?.authorId).map(e=>
2e.author?.name).filter(Boolean);t.length>0&&X.push(t.join(" x "))}else e.author?.name&&e.author.id!==x?.authorId&&X.push(e.author.name);if(e.ips&&e.ips.length>0)for(let t of[...e.ips].sort((e,t)=>!!t.is_primary-!!e.is_primary))t.ip?.name&&t.ip.id!==x?.ipId&&X.push(t.ip.name);else e.ip?.name&&e.ip.id!==x?.ipId&&X.push(e.ip.name);let Y=X.length>0?X.slice(0,2):void 0,Z=(0,m.collectEntityNamesToRemove)(e),J=(0,m.cleanProductName)(e.name,Z,e.name_prefix),Q=e.publishers?.find(e=>e.is_primary)?.publisher??e.publishers?.[0]?.publisher??e.publisher,ee=(0,r.useCallback)(()=>{C&&j({id:e.id,name:e.name,price:e.price,brand:Q?.name,list:C,position:R})},[C,R,e.id,e.name,e.price,Q?.name,j]);return(0,t.jsx)("div",{onClick:ee,role:"presentation",children:(0,t.jsx)(l.ProductCard,{name:J,slug:e.slug,href:`/product/${e.slug}`,imageUrl:H,imageAlt:L?.alt_text??J,imageLoader:h.yandexImageLoader,mediaSlot:U,price:K,compareAtPrice:q?G:void 0,subtitle:Y,badges:V,isOutOfStock:F,outOfStockLabel:S("product.outOfStock"),addToCartLabel:S("product.addToCart"),onAddToCart:()=>{_(async()=>{try{k?(await (0,u.addToCart)({productId:e.id,quantity:1})).success&&(A(!0),d.toast.success(S("product.addedToCart","Added to cart"))):(D(e.id,1),A(!0),d.toast.success(S("product.addedToCart","Added to cart")))}catch(e){if((0,i.isRedirectError)(e))throw e;d.toast.error(S("product.addToCartError","Failed to add to cart"))}})},isAddingToCart:E,isInCart:W,goToCartLabel:S("product.goToCart","Go to cart"),cartHref:"/cart",onToggleWishlist:()=>{z(!B),I(async()=>{try{if(k){let t=await (0,c.toggleWishlist)({productId:e.id});t.success?z(t.added):z(B)}else T(e.id)}catch(e){if(z(B),(0,i.isRedirectError)(e))throw e;d.toast.error(S("product.wishlistError","Failed to update wishlist"))}})},isTogglingWishlist:!1,isInWishlist:B,addToWishlistLabel:S("product.addToWishlist","Add to wishlist"),removeFromWishlistLabel:S("product.removeFromWishlist","Remove from wishlist"),heightCm:e.height_cm,sizeCount:e.variantIndicators?.sizeCount,sizesLabel:S("product.sizes","размера"),colorVariants:e.variantIndicators?.colors,priority:b})})}e.s(["ProductCard",()=>C],266393)},686161,e=>{"use strict";var t=e.i(18229),r=e.i(291967),i=e.i(156207),a=e.i(534643),o=e.i(127864),s=e.i(144977),n=e.i(556872),l=e.i(653747),d=e.i(461194),u=e.i(307824),c="Collapsible",[p,f]=(0,i.createContextScope)(c),[m,h]=p(c),g=t.forwardRef((e,r)=>{let{__scopeCollapsible:i,open:o,defaultOpen:s,disabled:l,onOpenChange:p,...f}=e,[h,g]=(0,a.useControllableState)({prop:o,defaultProp:s??!1,onChange:p,caller:c});return(0,u.jsx)(m,{scope:i,disabled:l,contentId:(0,d.useId)(),open:h,onOpenToggle:t.useCallback(()=>g(e=>!e),[g]),children:(0,u.jsx)(n.Primitive.div,{"data-state":C(h),"data-disabled":l?"":void 0,...f,ref:r})})});g.displayName=c;var b="CollapsibleTrigger",v=t.forwardRef((e,t)=>{let{__scopeCollapsible:i,...a}=e,o=h(b,i);return(0,u.jsx)(n.Primitive.button,{type:"button","aria-controls":o.contentId,"aria-expanded":o.open||!1,"data-state":C(o.open),"data-disabled":o.disabled?"":void 0,disabled:o.disabled,...a,ref:t,onClick:(0,r.composeEventHandlers)(e.onClick,o.onOpenToggle)})});v.displayName=b;var y="CollapsibleContent",x=t.forwardRef((e,t)=>{let{forceMount:r,...i}=e,a=h(y,e.__scopeCollapsible);return(0,u.jsx)(l.Presence,{present:r||a.open,children:({present:e})=>(0,u.jsx)(w,{...i,ref:t,present:e})})});x.displayName=y;var w=t.forwardRef((e,r)=>{let{__scopeCollapsible:i,present:a,children:l,...d}=e,c=h(y,i),[p,f]=t.useState(a),m=t.useRef(null),g=(0,s.useComposedRefs)(r,m),b=t.useRef(0),v=b.current,x=t.useRef(0),w=x.current,R=c.open||p,S=t.useRef(R),k=t.useRef(void 0);return t.useEffect(()=>{let e=requestAnimationFrame(()=>S.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,o.useLayoutEffect)(()=>{let e=m.current;if(e){k.current=k.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();b.current=t.height,x.current=t.width,S.current||(e.style.transitionDuration=k.current.transitionDuration,e.style.animationName=k.current.animationName),f(a)}},[c.open,a]),(0,u.jsx)(n.Primitive.div,{"data-state":C(c.open),"data-disabled":c.disabled?"":void 0,id:c.contentId,hidden:!R,...d,ref:g,style:{"--radix-collapsible-content-height":v?`${v}px`:void 0,"--radix-collapsible-content-width":w?`${w}px`:void 0,...e.style},children:R&&l})});function C(e){return e?"open":"closed"}e.s(["Collapsible",()=>g,"CollapsibleContent",()=>x,"CollapsibleTrigger",()=>v,"Content",()=>x,"Root",()=>g,"Trigger",()=>v,"createCollapsibleScope",()=>f])},831894,e=>{"use strict";var t=e.i(686161),t=t;let r=t.Root,i=t.CollapsibleTrigger,a=t.CollapsibleContent;e.s(["Collapsible",()=>r,"CollapsibleContent",()=>
2a,"CollapsibleTrigger",()=>i],831894)},527069,e=>{"use strict";function t(e,[t,r]){return Math.min(r,Math.max(t,e))}e.s(["clamp",()=>t])},981248,e=>{"use strict";var t=e.i(307824),r=e.i(18229),i=e.i(291967),a=e.i(144977),o=e.i(156207),s=e.i(534643),n=e.i(337755),l=e.i(853233),d=e.i(556872),u="Switch",[c,p]=(0,o.createContextScope)(u),[f,m]=c(u),h=r.forwardRef((e,o)=>{let{__scopeSwitch:n,name:l,checked:c,defaultChecked:p,required:m,disabled:h,value:g="on",onCheckedChange:b,form:x,...w}=e,[C,R]=r.useState(null),S=(0,a.useComposedRefs)(o,e=>R(e)),k=r.useRef(!1),j=!C||x||!!C.closest("form"),[D,P]=(0,s.useControllableState)({prop:c,defaultProp:p??!1,onChange:b,caller:u});return(0,t.jsxs)(f,{scope:n,checked:D,disabled:h,children:[(0,t.jsx)(d.Primitive.button,{type:"button",role:"switch","aria-checked":D,"aria-required":m,"data-state":y(D),"data-disabled":h?"":void 0,disabled:h,value:g,...w,ref:S,onClick:(0,i.composeEventHandlers)(e.onClick,e=>{P(e=>!e),j&&(k.current=e.isPropagationStopped(),k.current||e.stopPropagation())})}),j&&(0,t.jsx)(v,{control:C,bubbles:!k.current,name:l,value:g,checked:D,required:m,disabled:h,form:x,style:{transform:"translateX(-100%)"}})]})});h.displayName=u;var g="SwitchThumb",b=r.forwardRef((e,r)=>{let{__scopeSwitch:i,...a}=e,o=m(g,i);return(0,t.jsx)(d.Primitive.span,{"data-state":y(o.checked),"data-disabled":o.disabled?"":void 0,...a,ref:r})});b.displayName=g;var v=r.forwardRef(({__scopeSwitch:e,control:i,checked:o,bubbles:s=!0,...d},u)=>{let c=r.useRef(null),p=(0,a.useComposedRefs)(c,u),f=(0,n.usePrevious)(o),m=(0,l.useSize)(i);return r.useEffect(()=>{let e=c.current;if(!e)return;let t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(f!==o&&t){let r=new Event("click",{bubbles:s});t.call(e,o),e.dispatchEvent(r)}},[f,o,s]),(0,t.jsx)("input",{type:"checkbox","aria-hidden":!0,defaultChecked:o,...d,tabIndex:-1,ref:p,style:{...d.style,...m,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});function y(e){return e?"checked":"unchecked"}v.displayName="SwitchBubbleInput",e.s(["Root",()=>h,"Switch",()=>h,"SwitchThumb",()=>b,"Thumb",()=>b,"createSwitchScope",()=>p],796985);var x=e.i(796985),x=x;e.i(53759);var w=e.i(541048);let C=({className:e,...r})=>(0,t.jsx)(x.Root,{className:(0,w.cn)("peer focus-visible:ring-ring focus-visible:ring-offset-background data-[state=checked]:bg-primary data-[state=unchecked]:bg-input inline-flex h-5 w-9 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent shadow-xs transition-colors focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-hidden disabled:cursor-not-allowed disabled:opacity-50",e),...r,children:(0,t.jsx)(x.Thumb,{className:(0,w.cn)("bg-background pointer-events-none block h-4 w-4 rounded-full shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-4 data-[state=unchecked]:translate-x-0")})});C.displayName=x.Root.displayName,e.s(["Switch",()=>C],981248)},443293,e=>{"use strict";let t=(0,e.i(198631).default)("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);e.s(["Plus",()=>t],443293)},941058,e=>{"use strict";var t=e.i(307824),r=e.i(18229),i=e.i(527069),a=e.i(291967),o=e.i(144977),s=e.i(156207),n=e.i(534643),l=e.i(770460),d=e.i(337755),u=e.i(853233),c=e.i(556872),p=e.i(357784),f=["PageUp","PageDown"],m=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],h={"from-left":["Home","PageDown","ArrowDown","ArrowLeft"],"from-right":["Home","PageDown","ArrowDown","ArrowRight"],"from-bottom":["Home","PageDown","ArrowDown","ArrowLeft"],"from-top":["Home","PageDown","ArrowUp","ArrowLeft"]},g="Slider",[b,v,y]=(0,p.createCollection)(g),[x,w]=(0,s.createContextScope)(g,[y]),[C,R]=x(g),S=r.forwardRef((e,o)=>{let{name:s,min:l=0,max:d=100,step:u=1,orientation:c="horizontal",disabled:p=!1,minStepsBetweenThumbs:h=0,defaultValue:g=[l],value:v,onValueChange:y=()=>{},onValueCommit:x=()=>{},inverted:w=!1,form:R,...S}=e,k=r.useRef(new Set),j=r.useRef(0),N="horizontal"===c,[T=[],E]=(0,n.useControllableState)({prop:v,defaultProp:g,onChange:e=>{let t=[...k.current];t[j.current]?.focus(),y(e)}}),_=r.useRef(T);function I(e,t,{commit:r}={commit:!1}){let a,o=(String(u).split(".")[1]||"").length,s=Math.round((Math.round((e-l)/u)*u+l)*(a=Math.pow(10,o)))/a,n=(0,i.clamp)(s,[l,d]);E((e=[])=>{let i=function(e=[],t,r){let i=[...e];return i[r]=t,i.sort((e,t)=>
2e-t)}(e,n,t);if(!function(e,t){if(t>0)return Math.min(...e.slice(0,-1).map((t,r)=>e[r+1]-t))>=t;return!0}(i,h*u))return e;{j.current=i.indexOf(n);let t=String(i)!==String(e);return t&&r&&x(i),t?i:e}})}return(0,t.jsx)(C,{scope:e.__scopeSlider,name:s,disabled:p,min:l,max:d,valueIndexToChangeRef:j,thumbs:k.current,values:T,orientation:c,form:R,children:(0,t.jsx)(b.Provider,{scope:e.__scopeSlider,children:(0,t.jsx)(b.Slot,{scope:e.__scopeSlider,children:(0,t.jsx)(N?D:P,{"aria-disabled":p,"data-disabled":p?"":void 0,...S,ref:o,onPointerDown:(0,a.composeEventHandlers)(S.onPointerDown,()=>{p||(_.current=T)}),min:l,max:d,inverted:w,onSlideStart:p?void 0:function(e){let t=function(e,t){if(1===e.length)return 0;let r=e.map(e=>Math.abs(e-t)),i=Math.min(...r);return r.indexOf(i)}(T,e);I(e,t)},onSlideMove:p?void 0:function(e){I(e,j.current)},onSlideEnd:p?void 0:function(){let e=_.current[j.current];T[j.current]!==e&&x(T)},onHomeKeyDown:()=>!p&&I(l,0,{commit:!0}),onEndKeyDown:()=>!p&&I(d,T.length-1,{commit:!0}),onStepKeyDown:({event:e,direction:t})=>{if(!p){let r=f.includes(e.key)||e.shiftKey&&m.includes(e.key),i=j.current;I(T[i]+u*(r?10:1)*t,i,{commit:!0})}}})})})})});S.displayName=g;var[k,j]=x(g,{startEdge:"left",endEdge:"right",size:"width",direction:1}),D=r.forwardRef((e,i)=>{let{min:a,max:s,dir:n,inverted:d,onSlideStart:u,onSlideMove:c,onSlideEnd:p,onStepKeyDown:f,...m}=e,[g,b]=r.useState(null),v=(0,o.useComposedRefs)(i,e=>b(e)),y=r.useRef(void 0),x=(0,l.useDirection)(n),w="ltr"===x,C=w&&!d||!w&&d;function R(e){let t=y.current||g.getBoundingClientRect(),r=$([0,t.width],C?[a,s]:[s,a]);return y.current=t,r(e-t.left)}return(0,t.jsx)(k,{scope:e.__scopeSlider,startEdge:C?"left":"right",endEdge:C?"right":"left",direction:C?1:-1,size:"width",children:(0,t.jsx)(N,{dir:x,"data-orientation":"horizontal",...m,ref:v,style:{...m.style,"--radix-slider-thumb-transform":"translateX(-50%)"},onSlideStart:e=>{let t=R(e.clientX);u?.(t)},onSlideMove:e=>{let t=R(e.clientX);c?.(t)},onSlideEnd:()=>{y.current=void 0,p?.()},onStepKeyDown:e=>{let t=h[C?"from-left":"from-right"].includes(e.key);f?.({event:e,direction:t?-1:1})}})})}),P=r.forwardRef((e,i)=>{let{min:a,max:s,inverted:n,onSlideStart:l,onSlideMove:d,onSlideEnd:u,onStepKeyDown:c,...p}=e,f=r.useRef(null),m=(0,o.useComposedRefs)(i,f),g=r.useRef(void 0),b=!n;function v(e){let t=g.current||f.current.getBoundingClientRect(),r=$([0,t.height],b?[s,a]:[a,s]);return g.current=t,r(e-t.top)}return(0,t.jsx)(k,{scope:e.__scopeSlider,startEdge:b?"bottom":"top",endEdge:b?"top":"bottom",size:"height",direction:b?1:-1,children:(0,t.jsx)(N,{"data-orientation":"vertical",...p,ref:m,style:{...p.style,"--radix-slider-thumb-transform":"translateY(50%)"},onSlideStart:e=>{let t=v(e.clientY);l?.(t)},onSlideMove:e=>{let t=v(e.clientY);d?.(t)},onSlideEnd:()=>{g.current=void 0,u?.()},onStepKeyDown:e=>{let t=h[b?"from-bottom":"from-top"].includes(e.key);c?.({event:e,direction:t?-1:1})}})})}),N=r.forwardRef((e,r)=>{let{__scopeSlider:i,onSlideStart:o,onSlideMove:s,onSlideEnd:n,onHomeKeyDown:l,onEndKeyDown:d,onStepKeyDown:u,...p}=e,h=R(g,i);return(0,t.jsx)(c.Primitive.span,{...p,ref:r,onKeyDown:(0,a.composeEventHandlers)(e.onKeyDown,e=>{"Home"===e.key?(l(e),e.preventDefault()):"End"===e.key?(d(e),e.preventDefault()):f.concat(m).includes(e.key)&&(u(e),e.preventDefault())}),onPointerDown:(0,a.composeEventHandlers)(e.onPointerDown,e=>{let t=e.target;t.setPointerCapture(e.pointerId),e.preventDefault(),h.thumbs.has(t)?t.focus():o(e)}),onPointerMove:(0,a.composeEventHandlers)(e.onPointerMove,e=>{e.target.hasPointerCapture(e.pointerId)&&s(e)}),onPointerUp:(0,a.composeEventHandlers)(e.onPointerUp,e=>{let t=e.target;t.hasPointerCapture(e.pointerId)&&(t.releasePointerCapture(e.pointerId),n(e))})})}),T="SliderTrack",E=r.forwardRef((e,r)=>{let{__scopeSlider:i,...a}=e,o=R(T,i);return(0,t.jsx)(c.Primitive.span,{"data-disabled":o.disabled?"":void 0,"data-orientation":o.orientation,...a,ref:r})});E.displayName=T;var _="SliderRange",I=r.forwardRef((e,i)=>{let{__scopeSlider:a,...s}=e,n=R(_,a),l=j(_,a),d=r.useRef(null),u=(0,o.useComposedRefs)(i,d),p=n.values.length,f=n.values.map(e=>L(e,n.min,n.max)),m=p>1?Math.min(...f):0,h=100-Math.max(...f);return(0,t.jsx)(c.Primitive.span,{"data-orientation":n.orientation,"data-disabled":n.disabled?"":void 0,...s,ref:u,style:{...e.style,[l.startEdge]:m+"%",[l.endEdge]:h+"%"}})});I.displayName=_;var M="SliderThumb",A=r.forwardRef((e,i)=>{let a=v(e.__scopeSlider),[s,n]=r.useState(null),l=(0,o.useComposedRefs)(i,e=>n(e)),d=r.useMemo(()=>s?a().findIndex(e=>e.ref.current===s):-1,[a,s]);return(0,t.jsx)(O,{...e,ref:l,index:d})}),O=r.forwardRef((e,i)=>{var s,n,l,d,p;let f,m,{__scopeSlider:h,index:g,name:v,...y}=e,x=R(M,h),w=j(M,h),[C,S]=r.useState(null),k=(0,o.useComposedRefs)(i,e=>S(e)),D=!C||x.form||!!C.closest("form"),P=(0,u.useSize)(C),N=x.values[g],T=void 0===N?0:L(N,x.min,x.max),E=(s=g,(n=x.values.length)>2?`Value ${s+1} of ${n}`:2===n?["Minimum","Maximum"][s]:void 0),_=P?.[w.size],I=_?(l=_,d=T,p=w.direction,m=$([0,50],[0,f=l/2]),(f-m(d)*p)*p):0;return r.useEffect(()=>{if(C)return x.thumbs.add(C),()=>{x.thumbs.delete(C)}},[C,x.thumbs]),(0,t.jsxs)("span",{style:{transform:"var(--radix-slider-thumb-transform)",position:"absolute",[w.startEdge]:`calc(${T}% + ${I}px)`},children:[(0,t.jsx)(b.ItemSlot,{scope:e.__scopeSlider,children:(0,t.jsx)(c.Primitive.span,{role:"slider","aria-label":e["aria-label"]||E,"aria-valuemin":x.min,"aria-valuenow":N,"aria-valuemax":x.max,"aria-orientation":x.orientation,"data-orientation":x.orientation,"data-disabled":x.disabled?"":void 0,tabIndex:x.disabled?void 0:0,...y,ref:k,style:void 0===N?{display:"none"}:e.style,onFocus:(0,a.composeEventHandlers)(e.onFocus,()=>{x.valueIndexToChangeRef.current=g})})}),D&&(0,t.jsx)(z,{name:v??(x.name?x.name+(x.values.length>1?"[]":""):void 0),form:x.form,value:N},g)]})});A.displayName=M;var z=r.forwardRef(({__scopeSlider:e,value:i,...a},s)=>{let n=r.useRef(null),l=(0,o.useComposedRefs)(n,s),u=(0,d.usePrevious)(i);return r.useEffect(()=>{let e=n.current;if(!e)return;let t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"value").set;if(u!==i&&t){let r=new Event("input",{bubbles:!0});t.call(e,i),e.dispatchEvent(r)}},[u,i]),(0,t.jsx)(c.Primitive.input,{style:{display:"none"},...a,ref:l,defaultValue:i})});function L(e,t,r){return(0,i.clamp)(100/(r-t)*(e-t),[0,100])}function $(e,t){return r=>{if(e[0]===e[1]||t[0]===t[1])return t[0];let i=(t[1]-t[0])/(e[1]-e[0]);return t[0]+i*(r-e[0])}}z.displayName="RadioBubbleInput",e.s(["Range",()=>I,"Root",()=>S,"Slider",()=>S,"SliderRange",()=>I,"SliderThumb",()=>A,"SliderTrack",()=>E,"Thumb",()=>A,"Track",()=>E,"createSliderScope",()=>w],484912);var H=e.i(484912),H=H;e.i(53759);var U=e.i(541048);let q=r.forwardRef(({className:e,thumbCount:r=1,...i},a)=>(0,t.jsxs)(H.Root,{ref:a,className:(0,U.cn)("relative flex w-full touch-none items-center select-none",e),...i,children:[(0,t.jsx)(H.Track,{className:"bg-primary/20 relative h-1.5 w-full grow overflow-hidden rounded-full",children:(0,t.jsx)(H.Range,{className:"bg-primary absolute h-full"})}),Array.from({length:r}).map((e,r)=>(0,t.jsx)(H.Thumb,{className:"border-primary/50 bg-background focus-visible:ring-ring block h-4 w-4 roun
2ded-full border shadow transition-colors focus-visible:ring-1 focus-visible:outline-none disabled:pointer-events-none disabled:opacity-50"},r))]}));q.displayName=H.Root.displayName,e.s(["Slider",()=>q],941058)},252512,e=>{"use strict";let t=(0,e.i(198631).default)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);e.s(["ArrowRight",()=>t],252512)},423714,e=>{"use strict";let t=(0,e.i(198631).default)("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);e.s(["ChevronLeft",()=>t],423714)},778854,e=>{"use strict";let t=(0,e.i(198631).default)("ruler",[["path",{d:"M21.3 15.3a2.4 2.4 0 0 1 0 3.4l-2.6 2.6a2.4 2.4 0 0 1-3.4 0L2.7 8.7a2.41 2.41 0 0 1 0-3.4l2.6-2.6a2.41 2.41 0 0 1 3.4 0Z",key:"icamh8"}],["path",{d:"m14.5 12.5 2-2",key:"inckbg"}],["path",{d:"m11.5 9.5 2-2",key:"fmmyf7"}],["path",{d:"m8.5 6.5 2-2",key:"vc6u1g"}],["path",{d:"m17.5 15.5 2-2",key:"wo5hmg"}]]);e.s(["Ruler",()=>t],778854)},573531,e=>{"use strict";var t=e.i(307824),r=e.i(294237);e.i(53759);var i=e.i(541048);let a=(0,r.cva)("focus:ring-ring inline-flex items-center rounded-md border px-1.5 py-0.5 text-xs font-semibold transition-colors focus:ring-2 focus:ring-offset-2 focus:outline-hidden",{variants:{variant:{default:"bg-primary text-primary-foreground border-transparent",secondary:"bg-secondary text-secondary-foreground border-transparent",destructive:"text-destructive border-destructive",outline:"text-foreground",success:"border-green-500 text-green-500",warning:"border-orange-500 text-orange-500",info:"border-blue-500 text-blue-500"}},defaultVariants:{variant:"default"}});function o({className:e,variant:r,...o}){return(0,t.jsx)("div",{className:(0,i.cn)(a({variant:r}),e),...o})}e.s(["Badge",()=>o])},454267,e=>{"use strict";let t=(0,e.i(198631).default)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);e.s(["Check",()=>t],454267)},308370,e=>{"use strict";var t=e.i(307824),r=e.i(547034),i=e.i(312779);e.i(53759);var a=e.i(541048);let o=i.Dialog.Root,s=i.Dialog.Trigger,n=i.Dialog.Portal,l=i.Dialog.Close,d=({className:e,...r})=>(0,t.jsx)(i.Dialog.Overlay,{className:(0,a.cn)("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/80",e),...r});d.displayName=i.Dialog.Overlay.displayName;let u=({className:e,children:o,hideCloseButton:s=!1,...l})=>(0,t.jsxs)(n,{children:[(0,t.jsx)(d,{}),(0,t.jsxs)(i.Dialog.Content,{className:(0,a.cn)("bg-background 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 fixed top-[50%] left-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border p-6 shadow-lg duration-200 sm:rounded-lg",e),...l,children:[o,!s&&(0,t.jsxs)(i.Dialog.Close,{className:"ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none",children:[(0,t.jsx)(r.Cross2Icon,{className:"h-4 w-4"}),(0,t.jsx)("span",{className:"sr-only",children:"Close"})]})]})]});u.displayName=i.Dialog.Content.displayName;let c=({className:e,...r})=>(0,t.jsx)("div",{className:(0,a.cn)("flex flex-col space-y-1.5 text-left",e),...r});c.displayName="DialogHeader";let p=({className:e,...r})=>(0,t.jsx)("div",{className:(0,a.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...r});p.displayName="DialogFooter";let f=({className:e,...r})=>(0,t.jsx)(i.Dialog.Title,{className:(0,a.cn)("text-lg leading-none font-semibold tracking-tight",e),...r});f.displayName=i.Dialog.Title.displayName;let m=({className:e,...r})=>(0,t.jsx)(i.Dialog.Description,{className:(0,a.cn)("text-muted-foreground text-sm",e),...r});m.displayName=i.Dialog.Description.displayName,e.s(["Dialog",()=>o,"DialogClose",()=>l,"DialogContent",()=>u,"DialogDescription",()=>m,"DialogFooter",()=>p,"DialogHeader",()=>c,"DialogOverlay",()=>d,"DialogPortal",()=>n,"DialogTitle",()=>f,"DialogTrigger",()=>s])},248322,e=>{"use strict";e.i(588536);let t=[384,640,750,828,1080,1200,1920],r="https://smxpyowurpaqiyqjhqoq.supabase.co";function i(e){return e.includes(r)&&e.includes("/storage/v1/object/")}function a(e,r){let i;try{i=new URL(e).pathname}catch{return e}if(r.width){let e=function(e){for(let r of t)if(r>=e)return r;return t[t.length-1]}(r.width),a=i.lastIndexOf("/"),o=i.lastIndexOf(".");i=o>a?i.slice(0,o)+`__w${e}`+i.slice(o):`${i}__w${e}`}return`https://super.toys${i}`}function o(e,t={}){return e&&i(e)?a(e,t):e}function s(e){return e?i(e)?a(e,{}):e:""}function n(e){if(!e)return"#f5f5f7";let t=0;for(let r=0;r<e.length;r++)t=e.charCodeAt(r)+((t<<5)-t);let r=Math.abs(t%360);return`hsl(${r}, 20%, 95%)`}r&&!r.includes("127.0.0.1")&&r.includes("localhost"),e.s(["IMAGE_PRESETS",0,{productCard:{width:400,height:500,quality:80,resize:"cover"}
2,productCardSmall:{width:280,height:350,quality:75,resize:"cover"},productGallery:{width:800,height:1e3,quality:85,resize:"contain"},productThumbnail:{width:100,height:100,quality:70,resize:"cover"},entityCard:{width:400,height:400,quality:80,resize:"cover"},hero:{width:1200,height:600,quality:85,resize:"cover"}},"getOptimizedImageUrl",()=>o,"getPlaceholderColor",()=>n,"toCdnUrl",()=>s],248322)},334151,e=>{"use strict";let t=["blindbox","блайндбокс","коробка-сюрприз","figure","фигурка","фигурки","series","серия","collection","коллекция","set","набор","pop!","pop","funko"],r=[/\s*\d+(?:[.,]\d+)?\s*[CСcс][MМmм]\s*&\s*\d+(?:[.,]\d+)?\s*[CСcс][MМmм]/gi,/\s+\d+(?:[.,]\d+)?\s*[CСcс][MМmм](?:\s|$)/gi,/\d+(?:[.,]\d+)?\s*[CСcс][MМmм]$/gi,/\s*&\s*&\s*/g,/\s*&\s*$/g];function i(e,i,a){let o=e,s=e;if(a){let e=a.toUpperCase();o.toUpperCase().startsWith(e)&&(s=o=o.slice(e.length).trimStart())}if(i.length>0)for(let e of i){if(!e)continue;let t=e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");if(o=(o=(o=o.replace(RegExp(`^${t}\\s*[-|xх]\\s*`,"gi"),"")).replace(RegExp(`\\s*[-|xх]\\s*${t}$`,"gi"),"")).replace(RegExp(`\\b${t}\\b`,"gi"),""),e.includes(" ")){let t=e.replace(/\s+/g,"").replace(/[.*+?^${}()|[\]\\]/g,"\\$&");o=o.replace(RegExp(`\\b${t}\\b`,"gi"),"")}}for(let e of r)o=o.replace(e,"");if(!(o=(o=o.replace(/\s+/g," ").trim()).replace(/^[-|xх]\s*/i,"").replace(/\s*[-|xх]$/i,"").trim()))return s;let n=o.toLowerCase();return t.some(e=>n===e||n===e+"s")?s:o}function a(e){let t=[];if(e.publishers&&e.publishers.length>0)for(let r of e.publishers)r.publisher?.name&&(t.push(r.publisher.name),"funko pop"===r.publisher.name.toLowerCase()&&(t.push("POP!"),t.push("Funko")));else e.publisher?.name&&(t.push(e.publisher.name),"funko pop"===e.publisher.name.toLowerCase()&&(t.push("POP!"),t.push("Funko")));if(e.authors&&e.authors.length>0)for(let r of e.authors)r.author?.name&&t.push(r.author.name);else e.author?.name&&t.push(e.author.name);if(e.ips&&e.ips.length>0)for(let r of e.ips)r.ip?.name&&t.push(r.ip.name);else e.ip?.name&&t.push(e.ip.name);return t}function o(e){let t=[];if(e.publishers&&e.publishers.length>0)for(let r of e.publishers)t.push(r.name),"funko pop"===r.name.toLowerCase()&&(t.push("POP!"),t.push("Funko"));if(e.authors&&e.authors.length>0)for(let r of e.authors)t.push(r.name);if(e.ips&&e.ips.length>0)for(let r of e.ips)t.push(r.name);return t}e.s(["cleanProductName",()=>i,"collectEntityNamesToRemove",()=>a,"collectEntityNamesToRemoveFromOrder",()=>o])},479156,e=>{"use strict";var t=e.i(665323);let r=(0,t.createServerReference)("7fd4c3cd5a47a06670ef2117b49f494ba6fbbc680f",t.callServer,void 0,t.findSourceMapURL,"addToCart");e.s(["addToCart",()=>r])}]);
3
4//# debugId=da14a6ae-256e-5943-0976-839af7c89792
5//# sourceMappingURL=e455b5ff9462c4b4.js.map

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.