1"use strict";(self.rspackChunkrezona_lab=self.rspackChunkrezona_lab||[]).push([[4309],{30435(e,t,r){r.d(t,{MobileDesktopModal:()=>x});var o=r(72361),i=r(68413);let n=r.p+"static/image/popup-desktop-hero.0ff6bc04d6.webp";var a=r(3075),l=r(80593),d=r(80079),s=r(65084);let c="studio_mgs_modal_eyebrow",u={create:"studio_mgs_modal_create_title",submit:"studio_mgs_modal_submit_title",upload:"studio_mgs_modal_upload_title"};var g=r(32397),p=r(78862),y=r(85358),b=r(41273),h=r(45976);function x(e){let{intent:t,app:r,coverUrl:x,shareHref:m,shareDisplay:f,shareEntry:_,zIndex:v=80,onCopied:w,onClose:C}=e,{t:j}=(0,l.s9)(),k=m??(0,p.B)("modal_primary"),F=_??"modal_primary",B=m??(0,p.B)("modal_url_row"),R=_??"modal_url_row",K=f??p.J5,H=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"game";return"canvas"===t?{eyebrowKey:"studio_mgs_modal_canvas_eyebrow",titleKey:"studio_mgs_modal_canvas_title",bodyKey:"studio_mgs_modal_canvas_body",primaryKey:"studio_mgs_modal_share",secondaryKey:"studio_mgs_modal_secondary",showUrlRow:!0,layout:"general"}:"remix"===e?{eyebrowKey:c,titleKey:"studio_mgs_remix_title",bodyKey:"studio_mgs_remix_body",primaryKey:"studio_mgs_remix_primary",secondaryKey:null,
1showUrlRow:!1,layout:"remix"}:{eyebrowKey:c,titleKey:u[e],bodyKey:"studio_mgs_modal_create_body",primaryKey:"studio_mgs_modal_share",secondaryKey:"studio_mgs_modal_secondary",showUrlRow:!0,layout:"general"}}(t,r),S=j(H.titleKey),E="remix"===H.layout?24:32,M="remix"===H.layout?36:39,z=/[ã-é¿¿ï¤-ï«¿ï¼-ï½ ]/.test(S),L=z?`clamp(18px, calc((min(370px, 100vw - 20px) - 48px) / ${S.length+.5}), ${E}px)`:E,I=z?M/E:`${M}px`,A=(0,i.useRef)(null),W=(0,i.useId)(),{requestClose:D,overlayAnim:U,panelAnim:V}=(0,d.o)(C);(0,h.b)(!0,D,A);let $=(0,i.useCallback)(async()=>{let e=await (0,g.e)({title:"Rezona Lab",text:j(H.bodyKey),url:k});(0,b.c5)({entry:F,intent:t,result:e}),"copied_fallback"===e?w?.(!0):"failed"===e&&w?.(!1)},[H.bodyKey,t,w,F,k,j]),G=(0,i.useCallback)(async()=>{let e=await (0,a.l)(B);(0,b.Un)({entry:R,intent:t,ok:e}),w?.(e)},[t,w,R,B]);return(0,o.jsx)("div",{role:"dialog","aria-modal":"true","aria-labelledby":W,onClick:D,style:{position:"fixed",inset:0,zIndex:v,background:y.g.overlay,display:"flex",alignItems:"center",justifyContent:"center",padding:10,...U},children:(0,o.jsxs)("div",{ref:A,tabIndex:-1,onClick:e=>e.stopPropagation(),style:{position:"relative",width:"100%",maxWidth:370,outline:"none",borderRadius:y.g.modalRadius,border:"0.5px solid transparent",background:`linear-gradient(${y.g.modalBg}, ${y.g.modalBg}) padding-box, linear-gradient(143deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%) border-box`,backdropFilter:"blur(12px)",WebkitBackdropFilter:"blur(12px)",overflow:"hidden",...V},children:[(0,o.jsx)("div",{style:{position:"absolute",inset:"0 0 auto 0",height:y.g.modalHeaderH,background:`#171717 url("${x??n}") center/cover no-repeat`}}),(0,o.jsx)("div",{style:{position:"absolute",inset:"0 0 auto 0",height:y.g.modalHeaderH,background:y.g.modalScrim}}),(0,o.jsx)("button",{type:"button","aria-label":j("studio_mgs_close"),onClick:D,style:{position:"absolute",top:20,right:20,width:32,height:32,borderRadius:"50%",border:"none",background:"rgba(0,0,0,0.5)",color:y.g.text,fontSize:16,cursor:"pointer",zIndex:1,display:"flex",alignItems:"center",justifyContent:"center"},children:(0,o.jsx)(s.US,{size:16,color:y.g.text})}),(0,o.jsxs)("div",{style:{position:"relative",padding:"32px 24px",display:"flex",flexDirection:"column",gap:24},children:[(0,o.jsxs)("div",{style:{paddingTop:160,textAlign:"center"},children:[(0,o.jsx)("p",{style:{margin:0,fontSize:12,lineHeight:"16px",color:y.g.textSoft},children:j(H.eyebrowKey)}),(0,o.jsx)("h2",{id:W,style:{margin:"5px 0",fontSize:L,fontWeight:600,lineHeight:I,color:y.g.text},children:S}),(0,o.jsx)("p",{style:{margin:0,fontSize:12,lineHeight:"16px",color:y.g.textSoft},children:j(H.bodyKey)})]}),(0,o.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:10},children:[H.showUrlRow?(0,o.jsxs)("button",{type:"button",onClick:()=>void G(),"aria-label":j("studio_mgs_copybar_button"),style:{height:42,padding:"0 12px 0 16px",display:"flex",alignItems:"center",justifyContent:"space-between",gap:8,background:"transparent",borderRadius:y.g.btnRadius,border:"1px solid rgba(255,255,255,0.20)",color:y.g.text,fontSize:14,fontWeight:500,textAlign:"left",cursor:"pointer"},children:[(0,o.jsx)("span",{style:{minWidth:0,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:K}),(0,o.jsx)(s.Td,{size:18,color:y.g.text})]}):null,(0,o.jsx)("button",{type:"button",onClick:()=>void $(),style:{height:48,display:"flex",alignItems:"center",justifyContent:"center",gap:8,border:"none",borderRadius:y.g.btnRadius,background:y.g.ctaGradient,boxShadow:y.g.ctaShadow,color:y.g.text,fontSize:16,fontWeight:600,cursor:"pointer"},children:j(H.primaryKey)}),H.secondaryKey?(0,o.jsx)("button",{type:"button",onClick:D,style:{height:48,border:"1px solid rgba(255,255,255,0.10)",borderRadius:y.g.btnRadius,background:y.g.btnSecondary,color:y.g.text,fontSize:16,fontWeight:600,cursor:"pointer"},children:j(H.secondaryKey)}):null]})]})]})})}},65084(e,t,r){var o=r(72361);function i(e){return{width:e,height:e,viewBox:"0 0 24 24",fill:"none","aria-hidden":!0,style:{display:"block",flex:"none"}}}function n(e,t){return{stroke:e,strokeWidth:t,strokeLinecap:"round",strokeLinejoin:"round"}}function a(e){let{size:t=16,color:r="currentColor",strokeWidth:a=2}=e;return(0,o.jsx)("svg",{...i(t),children:(0,o.jsx)("g",{...n(r,a),children:(0,o.jsx)("path",{d:"M12 5v14M5 12h14"})})})}function l(e){let{size:t=16,color:r="currentColor",strokeWidth:a=2}=e;return(0,o.jsx)("svg",{...i(t),children:(0,o.jsx)("g",{...n(r,a),children:(0,o.jsx)("path",{d:"M12 19V5M5 12l7-7 7 7"})})})}function d(e){let{size:t=16,color:r="currentColor",strokeWidth:a=2}=e;return(0,o.jsx)("svg",{...i(t),children:(0,o.jsx)("g",{...n(r,a),children:(0,o.jsx)("path",{d:"m6 9 6 6 6-6"})})})}function s(e){let{size:t=14,color:r="currentColor"}=e;return(0,o.jsx)("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none","aria-hidden":!0,style:{display:"block",flex:"none"},children:(0,o.jsxs)("g",{...n(r,1.5),strokeMiterlimit:10,children:[(0,o.jsx)("path",{d:"M2.08789 3.00977H10.1612C11.1296 3.00977 11.9112 3.79143 11.9112 4.75977V6.69644"}),(0,o.jsx)("path",{d:"M3.93123 1.16602L2.08789 3.00933L3.93123 4.85269"}),(0,o.jsx)("path",{d:"M11.9112 10.9894H3.83789C2.86956 10.9894 2.08789 10.2077 2.08789 9.23941V7.30273"}),(0,o.jsx)("path",{d:"M10.0684 12.8332L11.9117 10.9898L10.0684 9.14648"})]})})}function c(e){let{size:t=18,color:r="currentColor"}=e;return(0,o.jsx)("svg",{width:t,height:t,viewBox:"0 0 18 18",fill:"none","aria-hidden":!0,style:{display:"block",flex:"none"},children:(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.75 16.5C11.5863 16.5 13.1144 15.1801 13.4372 13.4372C15.1801 13.1144 16.5 11.5863 16.5 9.75V5.25C16.5 3.17893 14.8211 1.5 12.75 1.5H8.25C6.41365 1.5 4.88559 2.81994 4.56282 4.56282C2.81994 4.88559 1.5 6.41365 1.5 8.25V12.75C1.5 14.8211 3.17893 16.5 5.25 16.5H9.75ZM6.12803 4.5C6.43691 3.62611 7.27034 3 8.25 3H12.75C13.9926 3 15 4.00736 15 5.25V9.75C15 10.7297 14.3739 11.5631 13.5 11.872V8.25C13.5 6.17893 11.8211 4.5 9.75 4.5H6.12803Z",fill:r})})}function u(e){let{size:t=16,color:r="currentColor"}=e;return(0,o.jsxs)("svg",{width:t,height:t,viewBox:"0 0 16 16",fill:"none","aria-hidden":!0,style:{display:"block",flex:"none"},children:[(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.9232 4.07806C12.2487 4.4035 12.2487 4.93114 11.9232 5.25657L5.25657 11.9232C4.93114 12.2487 4.4035 12.2487 4.07806 11.9232C3.75263 11.5978 3.75263 11.0702 4.07806 10.7447L10.7447 4.07806C11.0702 3.75263 11.5978 3.75263 11.9232 4.07806Z",fill:r}),(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.9232 11.9232C11.5978 12.2487 11.0702 12.2487 10.7447 11.9232L4.07806 5.25657C3.75263 4.93114 3.75263 4.4035 4.07806 4.07806C4.4035 3.75263 4.93114 3.75263 5.25657 4.07806L11.9232 10.7447C12.2487 11.0702 12.2487 11.5978 11.9232 11.9232Z",fill:r})]})}r.d(t,{D3:()=>d,Ho:()=>s,Kp:()=>l,Td:()=>c,US:()=>u,c1:()=>a})},32397(e,t,r){var o=r(3075);async function i(e){if("u">typeof navigator&&"function"==typeof navigator.share)try{return await navigator.share(e),"shared"}catch(e){if(e instanceof Error&&"AbortError"===e.name)return"cancelled"}return await (0,o.l)(e.url)?"copied_fallback":"failed"}r.d(t,{e:()=>i})},85358(e,t,r){r.d(t,{},{g:{pageBg:"#0F1113",heroBg:"#0E1012",maxWidth:420,headerH:68,copyBarH:56,heroH:591,heroBgH:668,inset:16,text:"#FFFFFF",textSoft:"#E5E5E5",textMuted:"#A3A3A3",copyBarInk:"#171717",copyBarGradient:"radial-gradient(120% 400% at 24% 50%, #FFFFFF 0%, #FFF0E4 30%, #FFA76B 91%, #FF6800 100%)",promptRadius:24,promptPad:16,promptInputH:47,promptCtrlGap:8,ctrlH:36,ctrlBg:"rgba(64,64,64,0.20)",ctrlBorder:"linear-gradient(180deg, rgba(255,255,255,0.52) 0%, rgba(255,255,255,0.34) 55%, rgba(255,255,255,0.22) 100%)",promptBg:"linear-gradient(90deg,rgba(38,38,38,0.7) 0%,rgba(94,94,94,0.7) 100%)",promptBorder:"linear-gradient(146deg, rgba(251,146,60,1) 0%, rgba(251,146,60,0) 47.6%, rgba(251,146,60,1) 100%)",submitBg:"#FE852F",submitIcon:"#FFFFFF",cardRadius:24,coverRadius:20,cardGap:16,coverH:180,cardFooterH:37,overlay:"rgba(0,0,0,0.75)",modalBg:"#171717",modalRadius:24,modalHeaderH:320,btnRadius:8,btnSecondary:"#404040",infoCardBg:"#262626",playBtn:"#FF8029",playFrameBorder:"#404040",ctaGradient:"linear-gradient(180deg,#FFAE6B 0%,#FF8029 100%)",ctaShadow:"0 4px 0 #7C2D12",modalScrim:"linear-gradient(180deg, rgba(23,23,23,0) 41.4%, rgba(23,23,23,0.8) 74.1%, #171717 100%)",urlRowBg:"linear-gradient(138deg,#5E5E5E 0%,#262626 100%)"}})},45976(e,t,r){var o=r(68413);function i(e,t,r){(0,o.useEffect)(()=>
1{if(!e)return;let o=r.current,i=e=>{if("Escape"===e.key){e.stopPropagation(),t();return}if("Tab"!==e.key||!o)return;let r=[...o.querySelectorAll('a[href],button:not([disabled]),input:not([disabled]),select:not([disabled]),textarea:not([disabled]),[tabindex]:not([tabindex="-1"])')].filter(e=>null!==e.offsetParent);if(0===r.length)return;let i=r[0],n=r[r.length-1],a=document.activeElement;e.shiftKey&&(a===i||a===o)?(e.preventDefault(),n.focus()):e.shiftKey||a!==n||(e.preventDefault(),i.focus())};document.addEventListener("keydown",i,!0);let n=document.body.style.overflow;document.body.style.overflow="hidden";let a=document.activeElement;return o?.focus(),()=>{document.removeEventListener("keydown",i,!0),document.body.style.overflow=n,a?.focus?.()}},[e,t,r])}r.d(t,{b:()=>i})}}]);
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.