1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[198],{1300:function(e,t,n){Promise.resolve().then(n.t.bind(n,2972,23)),Promise.resolve().then(n.bind(n,9381)),Promise.resolve().then(n.bind(n,1784)),Promise.resolve().then(n.bind(n,9298)),Promise.resolve().then(n.bind(n,6823)),Promise.resolve().then(n.bind(n,337))},2023:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(8755).Z)("sparkles",[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]])},2369:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(8755).Z)("user",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]])},2489:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(8755).Z)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},9298:function(e,t,n){"use strict";n.d(t,{NewAppBanner:function(){return d}});var r=n(7437),i=n(2265),o=n(2023),l=n(2735),a=n(2489);let s="luatools-app-banner-dismissed";function d(){let[e,t]=(0,i.useState)(!1);return((0,i.useEffect)(()=>{"1"!==localStorage.getItem(s)&&t(!0)},[]),e)?(0,r.jsxs)("a",{href:"/app",style:{position:"relative",display:"flex",alignItems:"center",gap:"0.85rem",width:"100%",maxWidth:640,padding:"0.85rem 2.5rem 0.85rem 1.1rem",borderRadius:12,textDecoration:"none",background:"linear-gradient(90deg, rgba(167,139,250,0.16), rgba(99,102,241,0.10))",border:"1px solid rgba(167,139,250,0.4)",boxShadow:"0 0 0 1px rgba(167,139,250,0.05), 0 8px 24px rgba(99,102,241,0.12)"},onMouseEnter:e=>e.currentTarget.style.borderColor="rgba(167,139,250,0.7)",onMouseLeave:e=>e.currentTarget.style.borderColor="rgba(167,139,250,0.4)",children:[(0,r.jsx)("span",{style:{display:"flex",alignItems:"center",justifyContent:"center",width:36,height:36,borderRadius:9,background:"rgba(167,139,250,0.2)",color:"#c4b5fd",flexShrink:0},children:(0,r.jsx)(o.Z,{size:18})}),(0,r.jsxs)("div",{style:{flex:1,minWidth:0},children:[(0,r.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"0.5rem",marginBottom:"0.15rem"},children:[(0,r.jsx)("span",{style:{color:"#f3f4f6",fontWeight:600,fontSize:"0.95rem"},children:"The LuaTools desktop app is here"}),(0,r.jsx)("span",{style:{fontSize:"0.62rem",fontWeight:700,color:"#0a0a0f",background:"#c4b5fd",padding:"0.1rem 0.4rem",borderRadius:999,letterSpacing:"0.05em"},children:"NEW"})]}),(0,r.jsx)("span",{style:{color:"#9ca3af",fontSize:"0.82rem"},children:"Download for Windows. Installer or portable."})]}),(0,r.jsxs)("span",{style:{display:"inline-flex",alignItems:"center",gap:"0.4rem",color:"#c4b5fd",fontSize:"0.85rem",fontWeight:600,flexShrink:0},children:[(0,r.jsx)(l.Z,{size:15}),"Get it"]}),(0,r.jsx)("button",{onClick:e=>{e.preventDefault(),e.stopPropagation(),localStorage.setItem(s,"1"),t(!1)},"aria-label":"Dismiss",style:{position:"absolute",top:8,right:8,display:"flex",alignItems:"center",justifyContent:"center",width:22,height:22,padding:0,background:"none",border:"none",borderRadius:6,color:"#6b7280",cursor:"pointer"},onMouseEnter:e=>e.currentTarget.style.color="#e5e7eb",onMouseLeave:e=>e.currentTarget.style.color="#6b7280",children:(0,r.jsx)(a.Z,{size:15})})]}):null}},337:function(e,t,n){"use strict";n.d(t,{Avatar:function(){return a}});var r=n(7437),i=n(2265),o=n(2369),l=n(6711);function a(e){let{src:t,discordId:n,alt:a="",size:s=36}=e,[d,u]=(0,i.useState)(0),c=n||(0,l.dL)(t),f=(0,l.do)(t)?t:c?(0,l.Bd)(c):t||null,p=0===d&&f?f:d<=1&&c?(0,l._n)(c):null,h={width:s,height:s,borderRadius:"50%",flexShrink:0};return p?(0,r.jsx)("img",{src:p,alt:a,width:s,height:s,loading:"lazy",onError:()=>u(e=>0===e?1:2),style:{...h,objectFit:"cover"}}):(0,r.jsx)("div",{style:{...h,background:"rgba(255,255,255,0.06)",border:"1px solid rgba(255,255,255,0.08)",display:"flex",alignItems:"center",justifyContent:"center",color:"#6b7280"},children:(0,r.jsx)(o.Z,{size:Math.round(.5*s)})})}},6711:function(e,t,n){"use strict";n.d(t,{Bd:function(){return o},T$:function(){return r},_n:function(){return l},dL:function(){return s},do:function(){return a},eo:function(){return i}});let r=/^\d{17,20}$/;function i(e){var t,n,r,i,o,l,a,s,d,u,c;return{name:null!==(s=null!==(a=null===(t=e.user_metadata)||void 0===t?void 0:t.full_name)&&void 0!==a?a:null===(n=e.user_metadata)||void 0===n?void 0:n.name)&&void 0!==s?s:"unknown",id:null!==(u=null!==(d=null===(r=e.user_metadata)||void 0===r?void 0:r.provider_id)&&void 0!==d?d:null===(o=e.identities)||void 0===o?void 0:null===(i=o.find(e=>"discord"===e.provider))||void 0===i?void 0:i.id)&&void 0!==u?u:"",avatarUrl:null!==(c=null===(l=e.user_metadata)||void 0===l?void 0:l.avatar_url)&&void 0!==c?c:null}}function o(e){return"/api/avatar/".concat(e)}function l(e){let t=0;if(e&&r.test(e))try{t=Number((BigInt(e)>>BigInt(22))%BigInt(6))}catch(e){t=0}return"https://cdn.discordapp.com/embed/avatars/".concat(t,".png")}function a(e){return!!e&&e.startsWith("".concat("https://cdn.lua.tools","/"))}function s(e){if(!e)return null;let t=/^https:\/\/cdn\.discordapp\.com\/avatars\/(\d{17,20})\//.exec(e);return t?t[1]:null}}},function(e){e.O(0,[7,33,415,971,117,744],function(){return e(e.s=1300)}),_N_E=e.O()}]);
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.