PageSourceSearch

https://textpulse.ai/_next/static/immutable/chunks/3la3othgmwxit.js

js textpulse.ai collected 2026-10-05 13:58:36 UTC 39,760 bytes, 10 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,991918,820783,e=>{"use strict";var t=e.i(271645);function r(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function n(...e){return t=>{let n=!1,a=e.map(e=>{let a=r(e,t);return n||"function"!=typeof a||(n=!0),a});if(n)return()=>{for(let t=0;t<a.length;t++){let n=a[t];"function"==typeof n?n():r(e[t],null)}}}}e.s(["composeRefs",0,n,"useComposedRefs",0,function(...e){return t.useCallback(n(...e),e)}],820783);var a=e.i(843476);function i(e){var r;let i,s=(r=e,(i=t.forwardRef((e,r)=>{let{children:a,...i}=e;if(t.isValidElement(a)){var s;let e,o,l=(s=a,(o=(e=Object.getOwnPropertyDescriptor(s.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?s.ref:(o=(e=Object.getOwnPropertyDescriptor(s,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?s.props.ref:s.props.ref||s.ref),c=function(e,t){let r={...t};for(let n in t){let a=e[n],i=t[n];/^on[A-Z]/.test(n)?a&&i?r[n]=(...e)=>{let t=i(...e);return a(...e),t}:a&&(r[n]=a):"style"===n?r[n]={...a,...i}:"className"===n&&(r[n]=[a,i].filter(Boolean).join(" "))}return{...e,...r}}(i,a.props);return a.type!==t.Fragment&&(c.ref=r?n(r,l):l),t.cloneElement(a,c)}return t.Children.count(a)>1?t.Children.only(null):null})).displayName=`${r}.SlotClone`,i),o=t.forwardRef((e,r)=>{let{children:n,...i}=e,o=t.Children.toArray(n),l=o.find(d);if(l){let e=l.props.children,n=o.map(r=>r!==l?r:t.Children.count(e)>1?t.Children.only(null):t.isValidElement(e)?e.props.children:null);return(0,a.jsx)(s,{...i,ref:r,children:t.isValidElement(e)?t.cloneElement(e,void 0,n):null})}return(0,a.jsx)(s,{...i,ref:r,children:n})});return o.displayName=`${e}.Slot`,o}var s=i("Slot"),o=Symbol("radix.slottable");function l(e){let t=({children:e})=>(0,a.jsx)(a.Fragment,{children:e});return t.displayName=`${e}.Slottable`,t.__radixId=o,t}var c=l("Slottable");function d(e){return t.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===o}e.s(["Root",0,s,"Slot",0,s,"Slottable",0,c,"createSlot",0,i,"createSlottable",0,l],991918)},225913,e=>{"use strict";var t=e.i(207670);let r=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,n=t.clsx;e.s(["cva",0,(e,t)=>a=>{var i;if((null==t?void 0:t.variants)==null)return n(e,null==a?void 0:a.class,null==a?void 0:a.className);let{variants:s,defaultVariants:o}=t,l=Object.keys(s).map(e=>{let t=null==a?void 0:a[e],n=null==o?void 0:o[e];if(null===t)return null;let i=r(t)||r(n);return s[e][i]}),c=a&&Object.entries(a).reduce((e,t)=>{let[r,n]=t;return void 0===n||(e[r]=n),e},{});return n(e,l,null==t||null==(i=t.compoundVariants)?void 0:i.reduce((e,t)=>{let{class:r,className:n,...a}=t;return Object.entries(a).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...o,...c}[t]):({...o,...c})[t]===r})?[...e,r,n]:e},[]),null==a?void 0:a.class,null==a?void 0:a.className)}])},88653,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(231178),a=e.i(947414),i=e.i(674008),s=e.i(821476),o=e.i(772846),l=r,c=e.i(737806);function d(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}class u extends l.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if((0,o.isHTMLElement)(t)&&e.isPresent&&!this.props.isPresent&&!1!==this.props.pop){let e=t.offsetParent,r=(0,o.isHTMLElement)(e)&&e.offsetWidth||0,n=(0,o.isHTMLElement)(e)&&e.offsetHeight||0,a=getComputedStyle(t),i=this.props.sizeRef.current;i.height=parseFloat(a.height),i.width=parseFloat(a.width),i.top=t.offsetTop,i.left=t.offsetLeft,i.right=r-i.width-i.left,i.bottom=n-i.height-i.top}return null}componentDidUpdate(){}render(){return this.props.children}}function h({children:e,isPresent:n,anchorX:a,anchorY:i,root:s,pop:o}){let m=(0,l.useId)(),p=(0,l.useRef)(null),f=(0,l.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:g}=(0,l.useContext)(c.MotionConfigContext),x=function(...e){return r.useCallback(function(...e){return t=>{let r=!1,n=e.map(e=>{let n=d(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():d(e[t],null)}}}}(...e),e)}(p,e.props?.ref??e?.ref);return(0,l.useInsertionEffect)(()=>{let{width:e,height:t,top:r,left:l,right:c,bottom:d}=f.current;if(n||!1===o||!p.current||!e||!t)return;
1let u="left"===a?`left: ${l}`:`right: ${c}`,h="bottom"===i?`bottom: ${d}`:`top: ${r}`;p.current.dataset.motionPopId=m;let x=document.createElement("style");g&&(x.nonce=g);let b=s??document.head;return b.appendChild(x),x.sheet&&x.sheet.insertRule(`
2          [data-motion-pop-id="${m}"] {
3            position: absolute !important;
4            width: ${e}px !important;
5            height: ${t}px !important;
6            ${u}px !important;
7            ${h}px !important;
8          }
9        `),()=>{p.current?.removeAttribute("data-motion-pop-id"),b.contains(x)&&b.removeChild(x)}},[n]),(0,t.jsx)(u,{isPresent:n,childRef:p,sizeRef:f,pop:o,children:!1===o?e:l.cloneElement(e,{ref:x})})}let m=({children:e,initial:n,isPresent:i,onExitComplete:o,custom:l,presenceAffectsLayout:c,mode:d,anchorX:u,anchorY:m,root:f})=>{let g=(0,a.useConstant)(p),x=(0,r.useId)(),b=!0,v=(0,r.useMemo)(()=>(b=!1,{id:x,initial:n,isPresent:i,custom:l,onExitComplete:e=>{for(let t of(g.set(e,!0),g.values()))if(!t)return;o&&o()},register:e=>(g.set(e,!1),()=>g.delete(e))}),[i,g,o]);return c&&b&&(v={...v}),(0,r.useMemo)(()=>{g.forEach((e,t)=>g.set(t,!1))},[i]),r.useEffect(()=>{i||g.size||!o||o()},[i]),e=(0,t.jsx)(h,{pop:"popLayout"===d,isPresent:i,anchorX:u,anchorY:m,root:f,children:e}),(0,t.jsx)(s.PresenceContext.Provider,{value:v,children:e})};function p(){return new Map}var f=e.i(464978);let g=e=>e.key||"";function x(e){let t=[];return r.Children.forEach(e,e=>{(0,r.isValidElement)(e)&&t.push(e)}),t}e.s(["AnimatePresence",0,({children:e,custom:s,initial:o=!0,onExitComplete:l,presenceAffectsLayout:c=!0,mode:d="sync",propagate:u=!1,anchorX:h="left",anchorY:p="top",root:b})=>{let[v,y]=(0,f.usePresence)(u),w=(0,r.useMemo)(()=>x(e),[e]),k=u&&!v?[]:w.map(g),j=(0,r.useRef)(!0),S=(0,r.useRef)(w),N=(0,a.useConstant)(()=>new Map),C=(0,r.useRef)(new Set),[z,E]=(0,r.useState)(w),[R,L]=(0,r.useState)(w);(0,i.useIsomorphicLayoutEffect)(()=>{j.current=!1,S.current=w;for(let e=0;e<R.length;e++){let t=g(R[e]);k.includes(t)?(N.delete(t),C.current.delete(t)):!0!==N.get(t)&&N.set(t,!1)}},[R,k.length,k.join("-")]);let M=[];if(w!==z){let e=[...w];for(let t=0;t<R.length;t++){let r=R[t],n=g(r);k.includes(n)||(e.splice(t,0,r),M.push(r))}return"wait"===d&&M.length&&(e=M),L(x(e)),E(w),null}let{forceRender:P}=(0,r.useContext)(n.LayoutGroupContext);return(0,t.jsx)(t.Fragment,{children:R.map(e=>{let r=g(e),n=(!u||!!v)&&(w===R||k.includes(r));return(0,t.jsx)(m,{isPresent:n,initial:(!j.current||!!o)&&void 0,custom:s,presenceAffectsLayout:c,mode:d,root:b,onExitComplete:n?void 0:()=>{if(C.current.has(r)||!N.has(r))return;C.current.add(r),N.set(r,!0);let e=!0;N.forEach(t=>{t||(e=!1)}),e&&(P?.(),L(S.current),u&&y?.(),l&&l())},anchorX:h,anchorY:p,children:e},r)})})}],88653)},972520,e=>{"use strict";let t=(0,e.i(475254).default)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);e.s(["ArrowRight",0,t],972520)},678745,e=>{"use strict";let t=(0,e.i(475254).default)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);e.s(["default",0,t])},643531,e=>{"use strict";var t=e.i(678745);e.s(["Check",()=>t.default])},631171,e=>{"use strict";let t=(0,e.i(475254).default)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);e.s(["default",0,t])},664659,e=>{"use strict";var t=e.i(631171);e.s(["ChevronDown",()=>t.default])},246349,e=>{"use strict";let t=(0,e.i(475254).default)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);e.s(["default",0,t])},463059,e=>{"use strict";var t=e.i(246349);e.s(["ChevronRight",()=>t.default])},561659,e=>{"use strict";let t=(0,e.i(475254).default)("credit-card",[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]]);e.s(["CreditCard",0,t],561659)},248256,e=>{"use strict";let t=(0,e.i(475254).default)("globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);e.s(["Globe",0,t],248256)},260289,e=>{"use strict";
9let t=(0,e.i(475254).default)("layout-dashboard",[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]]);e.s(["LayoutDashboard",0,t],260289)},292270,e=>{"use strict";let t=(0,e.i(475254).default)("log-out",[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]]);e.s(["LogOut",0,t],292270)},841947,e=>{"use strict";let t=(0,e.i(475254).default)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);e.s(["default",0,t])},37727,e=>{"use strict";var t=e.i(841947);e.s(["X",()=>t.default])},526732,e=>{"use strict";var t=e.i(247167),r=e.i(843476),n=e.i(271645);class a extends Error{constructor(e,t){e instanceof Error?super(void 0,{cause:{err:e,...e.cause,...t}}):"string"==typeof e?(t instanceof Error&&(t={err:t,...t.cause}),super(e,t)):super(void 0,e),this.name=this.constructor.name,this.type=this.constructor.type??"AuthError",this.kind=this.constructor.kind??"error",Error.captureStackTrace?.(this,this.constructor);const r=`https://errors.authjs.dev#${this.type.toLowerCase()}`;this.message+=`${this.message?". ":""}Read more at ${r}`}}class i extends a{}class s extends a{}async function o(e,t,r,n={}){let a=`${l(t)}/${e}`;try{let e={headers:{"Content-Type":"application/json",...n?.headers?.cookie?{cookie:n.headers.cookie}:{}}};n?.body&&(e.body=JSON.stringify(n.body),e.method="POST");let t=await fetch(a,e),r=await t.json();if(!t.ok)throw r;return r}catch(e){return r.error(new i(e.message,e)),null}}function l(e){return"u"<typeof window?`${e.baseUrlServer}${e.basePathServer}`:e.basePath}function c(){return Math.floor(Date.now()/1e3)}function d(e){let t=new URL("http://localhost:3000/api/auth");e&&!e.startsWith("http")&&(e=`https://${e}`);let r=new URL(e||t),n=("/"===r.pathname?t.pathname:r.pathname).replace(/\/$/,""),a=`${r.origin}${n}`;return{origin:r.origin,host:r.host,path:n,base:a,toString:()=>a}}let u={baseUrl:d(t.default.env.NEXTAUTH_URL??t.default.env.VERCEL_URL).origin,basePath:d(t.default.env.NEXTAUTH_URL).path,baseUrlServer:d(t.default.env.NEXTAUTH_URL_INTERNAL??t.default.env.NEXTAUTH_URL??t.default.env.VERCEL_URL).origin,basePathServer:d(t.default.env.NEXTAUTH_URL_INTERNAL??t.default.env.NEXTAUTH_URL).path,_lastSync:0,_session:void 0,_getSession:()=>{}},h=null;function m(){return"u"<typeof BroadcastChannel?{postMessage:()=>{},addEventListener:()=>{},removeEventListener:()=>{},name:"next-auth",onmessage:null,onmessageerror:null,close:()=>{},dispatchEvent:()=>!1}:new BroadcastChannel("next-auth")}function p(){return null===h&&(h=m()),h}let f={debug:console.debug,error:console.error,warn:console.warn},g=n.createContext?.(void 0);async function x(e){let t=await o("session",u,f,e);return(e?.broadcast??!0)&&m().postMessage({event:"session",data:{trigger:"getSession"}}),t}async function b(){let e=await o("csrf",u,f);return e?.csrfToken??""}async function v(){return o("providers",u,f)}async function y(e,t,r){let{callbackUrl:n,...a}=t??{},{redirect:i=!0,redirectTo:s=n??window.location.href,...o}=a,c=l(u),d=await v();if(!d){let e=`${c}/error`;window.location.href=e;return}if(!e||!d[e]){let e=`${c}/signin?${new URLSearchParams({callbackUrl:s})}`;window.location.href=e;return}let h=d[e].type;if("webauthn"===h)throw TypeError(`Provider id "${e}" refers to a WebAuthn provider.
10Please use \`import { signIn } from "next-auth/webauthn"\` instead.`);let m=`${c}/${"credentials"===h?"callback":"signin"}/${e}`,p=await b(),f=await fetch(`${m}?${new URLSearchParams(r)}`,{method:"post",headers:{"Content-Type":"application/x-www-form-urlencoded","X-Auth-Return-Redirect":"1"},body:new URLSearchParams({...o,csrfToken:p,callbackUrl:s})}),g=await f.json();if(i){let e=g.url??s;window.location.href=e,e.includes("#")&&window.location.reload();return}let x=new URL(g.url).searchParams.get("error")??void 0,y=new URL(g.url).searchParams.get("code")??void 0;return f.ok&&await u._getSession({event:"storage"}),{error:x,code:y,status:f.status,ok:f.ok,url:x?null:g.url}}async function w(e){let{redirect:t=!0,redirectTo:r=e?.callbackUrl??window.location.href}=e??{},n=l(u),a=await b(),i=await fetch(`${n}/signout`,{method:"post",headers:{"Content-Type":"application/x-www-form-urlencoded","X-Auth-Return-Redirect":"1"},body:new URLSearchParams({csrfToken:a,callbackUrl:r})}),s=await i.json();if(p().postMessage({event:"session",data:{trigger:"signout"}}),t){let e=s.url??r;window.location.href=e,e.includes("#")&&window.location.reload();return}return await u._getSession({event:"storage"}),s}e.s(["SessionProvider",0,function(e){if(!g)throw Error("React Context is unavailable in Server Components");let{children:t,basePath:a,refetchInterval:i,refetchWhenOffline:l}=e;a&&(u.basePath=a);let d=void 0!==e.session;u._lastSync=d?c():0;let[h,m]=n.useState(()=>(d&&(u._session=e.session),e.session)),[v,y]=n.useState(!d);n.useEffect(()=>(u._getSession=async({event:e}={})=>{try{let t="storage"===e;if(t||void 0===u._session){u._lastSync=c(),u._session=await x({broadcast:!t}),m(u._session);return}if(!e||null===u._session||c()<u._lastSync)return;u._lastSync=c(),u._session=await x(),m(u._session)}catch(e){f.error(new s(e.message,e))}finally{y(!1)}},u._getSession(),()=>{u._lastSync=0,u._session=void 0,u._getSession=()=>{}}),[]),n.useEffect(()=>{let e=()=>u._getSession({event:"storage"});return p().addEventListener("message",e),()=>p().removeEventListener("message",e)},[]),n.useEffect(()=>{let{refetchOnWindowFocus:t=!0}=e,r=()=>{t&&"visible"===document.visibilityState&&u._getSession({event:"visibilitychange"})};return document.addEventListener("visibilitychange",r,!1),()=>document.removeEventListener("visibilitychange",r,!1)},[e.refetchOnWindowFocus]);let w=function(){let[e,t]=n.useState("u">typeof navigator&&navigator.onLine),r=()=>t(!0),a=()=>t(!1);return n.useEffect(()=>(window.addEventListener("online",r),window.addEventListener("offline",a),()=>{window.removeEventListener("online",r),window.removeEventListener("offline",a)}),[]),e}(),k=!1!==l||w;n.useEffect(()=>{if(i&&k){let e=setInterval(()=>{u._session&&u._getSession({event:"poll"})},1e3*i);return()=>clearInterval(e)}},[i,k]);let j=n.useMemo(()=>({data:h,status:v?"loading":h?"authenticated":"unauthenticated",async update(e){if(v)return;y(!0);let t=await o("session",u,f,void 0===e?void 0:{body:{csrfToken:await b(),data:e}});return y(!1),t&&(m(t),p().postMessage({event:"session",data:{trigger:"getSession"}})),t}}),[h,v]);return(0,r.jsx)(g.Provider,{value:j,children:t})},"signIn",0,y,"signOut",0,w,"useSession",0,function(e){if(!g)throw Error("React Context is unavailable in Server Components");let t=n.useContext(g),{required:r,onUnauthenticated:a}=e??{},i=r&&"unauthenticated"===t.status;return(n.useEffect(()=>{if(i){let e=`${u.basePath}/signin?${new URLSearchParams({error:"SessionRequired",callbackUrl:window.location.href})}`;a?a():window.location.href=e}},[i,a]),i)?{data:t.data,update:t.update,status:"loading"}:t}],526732)},95187,(e,t,r)=>{"use strict";
10Object.defineProperty(r,"__esModule",{value:!0});var n={callServer:function(){return i.callServer},createServerReference:function(){return o.createServerReference},findSourceMapURL:function(){return s.findSourceMapURL}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let i=e.r(132120),s=e.r(92245),o=e.r(235326)},794909,(e,t,r)=>{"use strict";e.i(247167),Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return d},getImageProps:function(){return c}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let i=e.r(555682),s=e.r(908927),o=e.r(605500),l=i._(e.r(1948));function c(e){let{props:t}=(0,s.getImgProps)(e,{defaultLoader:l.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048],imageSizes:[16,32,48,64,96,128,256],qualities:[40,75,90],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let d=o.Image},657688,(e,t,r)=>{t.exports=e.r(794909)},618566,(e,t,r)=>{t.exports=e.r(976562)},992051,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(972520),a=e.i(643531),i=e.i(767083);let s={label:"Academic writing tips and AI detection guides.",placeholder:"Your email",subscribe:"Subscribe",success:"Check your inbox to confirm.",error:"Something went wrong."};e.s(["FooterEmailCapture",0,function({t:e=s}={}){let[o,l]=(0,r.useState)(""),[c,d]=(0,r.useState)("idle"),[u,h]=(0,r.useState)(null),[m,p]=(0,r.useState)("");async function f(t){if(t.preventDefault(),"loading"===c||!o.trim())return;d("loading"),h(null);let r=new FormData;r.append("email",o.trim()),r.append("source","footer"),r.append("company",m);try{let t=await (0,i.subscribe)(r);t.success?d("done"):(d("idle"),h(t.error??e.error))}catch{d("idle"),h(e.error)}}return"done"===c?(0,t.jsx)("div",{className:"mt-8 max-w-[240px] rounded-lg border border-white/15 bg-white/[0.04] p-3",children:(0,t.jsxs)("div",{className:"flex items-start gap-2 text-xs leading-snug text-white/70",children:[(0,t.jsx)(a.Check,{size:13,className:"mt-0.5 shrink-0 text-accent-hover"}),(0,t.jsx)("span",{children:e.success})]})}):(0,t.jsxs)("form",{onSubmit:f,className:"mt-8 max-w-[240px] rounded-lg border border-white/15 bg-white/[0.04] p-3",children:[(0,t.jsx)("label",{htmlFor:"footer-email",className:"mb-1.5 block text-xs leading-snug text-white/50",children:e.label}),(0,t.jsxs)("div",{className:"flex items-center rounded-md border border-white/20 bg-white/[0.06] transition-colors focus-within:border-accent",children:[(0,t.jsx)("input",{id:"footer-email",type:"email",required:!0,value:o,onChange:e=>{l(e.target.value),u&&h(null)},placeholder:e.placeholder,"aria-label":e.placeholder,className:"min-w-0 flex-1 bg-transparent px-2.5 py-1.5 text-sm text-white outline-none placeholder:text-white/35"}),(0,t.jsx)("button",{type:"submit",disabled:"loading"===c,"aria-label":e.subscribe,className:"shrink-0 cursor-pointer px-2 py-1.5 text-white/60 transition-colors hover:text-white disabled:opacity-40",children:(0,t.jsx)(n.ArrowRight,{size:14})})]}),(0,t.jsx)("input",{type:"text",name:"company",tabIndex:-1,autoComplete:"off","aria-hidden":"true",value:m,onChange:e=>p(e.target.value),className:"absolute left-[-9999px] h-0 w-0 opacity-0"}),u&&(0,t.jsx)("p",{className:"mt-1.5 text-xs leading-snug text-red-300",children:u})]})}])},538294,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(522016),a=e.i(657688),i=e.i(618566),s=e.i(526732);let o=(0,e.i(475254).default)("menu",[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]]);var l=e.i(37727),c=e.i(463059),d=e.i(664659),u=e.i(260289),h=e.i(561659),m=e.i(292270),p=e.i(975157),f=e.i(846932),g=e.i(88653),x=e.i(894013),b=e.i(643531),v=e.i(248256),y=e.i(519455),w=e.i(755146);let k=[{code:"en",name:"English"},{code:"zh",name:"中文"},{code:"es",name:"Español"},{code:"pt",name:"Português"},{code:"ar",name:"العربية"},{code:"fr",name:"Français"},{code:"de",name:"Deutsch"},{code:"ja",name:"日本語"},{code:"ko",name:"한국어"},{code:"ru",name:"Русский"},{code:"tr",name:"Türkçe"},{code:"hi",name:"हिन्दी"},{code:"vi",name:"Tiếng Việt"},{code:"id",name:"Bahasa Indonesia"},{code:"ms",name:"Bahasa Melayu"},{code:"th",name:"ไทย"},{code:"pl",name:"Polski"},{code:"it",name:"Italiano"},{code:"fa",name:"فارسی"},{code:"uk",name:"Українська"},{code:"cs",name:"Čeština"},{code:"el",name:"Ελληνικά"},{code:"hu",name:"Magyar"},{code:"bn",name:"বাংলা"},{code:"ro",name:"Română"},{code:"ur",name:"اردو"}],j=new Set(k.map(e=>e.code)),S=new Set(["app","dashboard","api","author","blog"]);function N(e,t){return"blogIndex"===e.kind?"en"===t?"/blog":`/${t}/blog`:"blog"===e.kind?"en"===t?`/blog/${e.slug}`:`/${t}/blog/${e.slug}`:"home"===e.slug?"en"===t?"/":`/${t}`:"en"===t?`/${e.slug}`:`/${t}/${e.slug}`}function C(){let e=(0,i.usePathname)(),n=(0,i.useRouter)(),a=(0,r.useMemo)(()=>{let t;
10return"blog"===(t=(e??"").replace(/\/+$/,"").split("/").filter(Boolean))[0]&&2!==t.length?{kind:"blogIndex",lang:"en",slug:""}:j.has(t[0])&&"blog"===t[1]&&3!==t.length?{kind:"blogIndex",lang:t[0],slug:""}:2===t.length&&"blog"===t[0]?{kind:"blog",lang:"en",slug:t[1]}:3===t.length&&j.has(t[0])&&"blog"===t[1]?{kind:"blog",lang:t[0],slug:t[2]}:0===t.length?{kind:"page",lang:"en",slug:"home"}:1===t.length?j.has(t[0])&&"en"!==t[0]?{kind:"page",lang:t[0],slug:"home"}:S.has(t[0])||j.has(t[0])?null:{kind:"page",lang:"en",slug:t[0]}:2===t.length&&j.has(t[0])&&"en"!==t[0]&&!S.has(t[1])?{kind:"page",lang:t[0],slug:t[1]}:null},[e]),[s,o]=(0,r.useState)(null),l=a&&"blogIndex"!==a.kind?`${a.kind}:${a.slug}`:null,c=a&&"blogIndex"!==a.kind?"blog"===a.kind?`/api/blog/langs?slug=${encodeURIComponent(a.slug)}`:`/api/pages/langs?slug=${encodeURIComponent(a.slug)}`:null;(0,r.useEffect)(()=>{if(!l||!c)return;let e=!1;return fetch(c).then(e=>e.ok?e.json():{langs:[]}).then(t=>{e||o({key:l,langs:new Set(t.langs)})}).catch(()=>{e||o({key:l,langs:new Set})}),()=>{e=!0}},[l,c]);let u=a&&s?.key===l?s.langs:null,h=a?.lang??"en";return(0,t.jsxs)(w.DropdownMenu,{children:[(0,t.jsx)(w.DropdownMenuTrigger,{asChild:!0,children:(0,t.jsxs)(y.Button,{variant:"ghost",size:"sm",className:"gap-1.5 px-2 text-sm font-medium text-text-muted hover:text-text-primary","aria-label":"Language",children:[(0,t.jsx)(v.Globe,{className:"size-3.5"}),h.toUpperCase(),(0,t.jsx)(d.ChevronDown,{className:"size-3 opacity-70"})]})}),(0,t.jsx)(w.DropdownMenuContent,{align:"end",className:"max-h-80 w-56 overflow-y-auto",children:k.map(e=>{var r;let i=e.code===h,s=(r=e.code,a&&r!==h?"blogIndex"===a.kind?N(a,r):"en"===r||u?.has(r)?N(a,r):"blog"===a.kind&&null!==u?`/${r}/blog`:null:null),o=i||null!==s;return(0,t.jsxs)(w.DropdownMenuItem,{disabled:!o,onClick:()=>{s&&n.push(s)},className:i?"font-semibold text-accent-dark":void 0,children:[(0,t.jsx)("span",{dir:"auto",className:"flex-1",children:e.name}),i?(0,t.jsx)(b.Check,{className:"size-3.5 text-accent-dark"}):o?null:(0,t.jsx)("span",{className:"rounded-full bg-surface-muted px-1.5 py-0.5 text-[11px] font-medium uppercase tracking-wide text-text-muted",children:"Soon"})]},e.code)})})]})}var z=e.i(618071);let E=new Set(["/free-tools","/contact"]),R={humanizerMenu:"AI Humanizer",humanizerPages:[{href:"/ai-humanizer",label:"For Academics & Researchers"},{href:"/ai-humanizer-for-students",label:"For Students"},{href:"/ai-humanizer-for-writers",label:"For Writers & Creators"},{href:"/ai-humanizer-for-marketing",label:"For Marketing & SEO Teams"},{href:"/ai-humanizer-for-business",label:"For Business Professionals"},{href:"/ai-humanizer-for-esl-writers",label:"For ESL Writers"}],nav:[{href:"/research",label:"Research"},{href:"/blog",label:"Blog"},{href:"/pricing",label:"Pricing"}],login:"Log in",getStarted:"Get started free",dashboard:"Dashboard",billing:"Billing",logout:"Log out",openMenu:"Open menu",closeMenu:"Close menu",accountMenu:"Account menu"};function L({name:e,email:a,t:i}){let[o,l]=(0,r.useState)(!1),c=(0,r.useRef)(null),x=(0,r.useRef)(null),b=e.split(" ").map(e=>e.charAt(0)).join("").toUpperCase().slice(0,2)||a.charAt(0).toUpperCase()||"?";(0,r.useEffect)(()=>()=>{c.current&&clearTimeout(c.current)},[]),(0,r.useEffect)(()=>{if(o)return document.addEventListener("pointerdown",e),()=>document.removeEventListener("pointerdown",e);function e(e){x.current?.contains(e.target)||l(!1)}},[o]);let v=(0,r.useCallback)(()=>{c.current&&clearTimeout(c.current),l(!0)},[]),y=(0,r.useCallback)(()=>{c.current&&clearTimeout(c.current),c.current=setTimeout(()=>l(!1),120)},[]),w="flex items-center gap-2.5 rounded-lg px-3 py-2.5 text-sm font-medium text-text-muted transition-colors duration-150 hover:bg-accent-light/40 hover:text-text-primary";return(0,t.jsxs)("div",{ref:x,className:"relative",onMouseEnter:v,onMouseLeave:y,onKeyDown:e=>{"Escape"===e.key&&l(!1)},children:[(0,t.jsxs)("button",{type:"button",onClick:()=>l(e=>!e),"aria-expanded":o,"aria-haspopup":"true","aria-label":i.accountMenu,className:(0,p.cn)("flex cursor-pointer items-center gap-1.5 rounded-full py-1 pr-2 pl-1 transition-colors duration-200",o?"bg-accent-light/60":"hover:bg-accent-light/40"),children:[(0,t.jsx)("span",{className:"flex size-8 items-center justify-center rounded-full bg-accent text-sm font-bold text-text-inverse",children:b}
10),(0,t.jsx)(d.ChevronDown,{size:14,className:(0,p.cn)("text-text-muted transition-transform duration-200",o&&"rotate-180")})]}),(0,t.jsx)(g.AnimatePresence,{children:o&&(0,t.jsx)(f.motion.div,{initial:{opacity:0,y:-3},animate:{opacity:1,y:0},exit:{opacity:0,y:-3},transition:{duration:.15,ease:"easeOut"},className:"absolute top-full right-0 pt-2",children:(0,t.jsxs)("div",{className:"w-60 rounded-xl border border-border bg-surface p-2 shadow-lg",children:[(0,t.jsxs)("div",{className:"px-3 py-2",children:[e&&(0,t.jsx)("p",{className:"truncate text-sm font-semibold text-text-primary",children:e}),a&&(0,t.jsx)("p",{className:"truncate text-sm text-text-muted",children:a})]}),(0,t.jsx)("div",{className:"my-1 h-px bg-border"}),(0,t.jsxs)(n.default,{href:"/app",onClick:()=>l(!1),className:w,children:[(0,t.jsx)(u.LayoutDashboard,{size:15}),i.dashboard]}),(0,t.jsxs)(n.default,{href:"/app/billing",onClick:()=>l(!1),className:w,children:[(0,t.jsx)(h.CreditCard,{size:15}),i.billing]}),(0,t.jsx)("div",{className:"my-1 h-px bg-border"}),(0,t.jsxs)("button",{type:"button",onClick:()=>{l(!1),(0,s.signOut)({callbackUrl:"/"})},className:(0,p.cn)(w,"w-full cursor-pointer hover:text-danger"),children:[(0,t.jsx)(m.LogOut,{size:15}),i.logout]})]})})})]})}function M({pathname:e,lang:a,t:i}){let[s,o]=(0,r.useState)(!1),l=(0,r.useRef)(null),c=e===(0,z.localizeHref)(a,"/ai-humanizer")||i.humanizerPages.some(t=>e===(0,z.localizeHref)(a,t.href));(0,r.useEffect)(()=>()=>{l.current&&clearTimeout(l.current)},[]);let u=(0,r.useCallback)(()=>{l.current&&clearTimeout(l.current),o(!0)},[]),h=(0,r.useCallback)(()=>{l.current&&clearTimeout(l.current),l.current=setTimeout(()=>o(!1),120)},[]);return(0,t.jsxs)("div",{className:"relative",onMouseEnter:u,onMouseLeave:h,onKeyDown:e=>{"Escape"===e.key&&o(!1)},children:[(0,t.jsxs)("button",{type:"button",onClick:()=>o(e=>!e),"aria-expanded":s,"aria-haspopup":"true",className:(0,p.cn)("flex cursor-pointer items-center gap-1 rounded-lg px-4 py-2 text-[15.5px] font-medium transition-colors duration-200",c||s?"text-accent":"text-text-muted hover:text-text-primary"),children:[i.humanizerMenu,(0,t.jsx)(d.ChevronDown,{size:14,className:(0,p.cn)("transition-transform duration-200",s&&"rotate-180")})]}),(0,t.jsx)(g.AnimatePresence,{children:s&&(0,t.jsx)(f.motion.div,{initial:{opacity:0,y:-3},animate:{opacity:1,y:0},exit:{opacity:0,y:-3},transition:{duration:.15,ease:"easeOut"},className:"absolute top-full left-0 pt-2",children:(0,t.jsx)("div",{className:"w-64 rounded-xl border border-border bg-surface p-2 shadow-lg",children:i.humanizerPages.map(r=>{let i=e===(0,z.localizeHref)(a,r.href);return(0,t.jsx)(n.default,{href:(0,z.localizeHref)(a,r.href),onClick:()=>o(!1),className:(0,p.cn)("block rounded-lg px-3 py-2.5 text-sm font-medium transition-colors duration-150",i?"bg-accent-light text-accent-dark":"text-text-muted hover:bg-accent-light/40 hover:text-text-primary"),children:r.label},r.href)})})})})]})}function P({pathname:e,onNavigate:a,lang:i,t:s}){let o=e===(0,z.localizeHref)(i,"/ai-humanizer")||s.humanizerPages.some(t=>e===(0,z.localizeHref)(i,t.href)),[l,u]=(0,r.useState)(o);return(0,t.jsxs)("div",{children:[(0,t.jsxs)("button",{type:"button",onClick:()=>u(e=>!e),"aria-expanded":l,className:(0,p.cn)("flex w-full cursor-pointer items-center justify-between rounded-lg px-4 py-3 text-base font-medium transition-colors duration-200",o?"bg-accent-light text-accent-dark":"text-text-primary hover:bg-surface"),children:[s.humanizerMenu,(0,t.jsx)(d.ChevronDown,{size:16,className:(0,p.cn)("text-text-muted transition-transform duration-200",l&&"rotate-180")})]}),l&&(0,t.jsx)("div",{className:"mt-1 flex flex-col gap-1 pl-4",children:s.humanizerPages.map(r=>{let s=e===(0,z.localizeHref)(i,r.href);return(0,t.jsxs)(n.default,{href:(0,z.localizeHref)(i,r.href),onClick:a,className:(0,p.cn)("flex items-center justify-between rounded-lg px-4 py-2.5 text-sm font-medium transition-colors duration-200",s?"bg-accent-light text-accent-dark":"text-text-muted hover:bg-surface hover:text-text-primary"),children:[r.label,(0,t.jsx)(c.ChevronRight,{size:14,className:"text-text-muted"})]},r.href)})})]})}e.s(["Header",0,function({lang:e="en",t:d=R}={}){let[u,h]=(0,r.useState)(!1),[m,b]=(0,r.useState)(!1),v=(0,i.usePathname)(),{data:y,status:w}
10=(0,s.useSession)(),k="authenticated"===w,j=(0,r.useCallback)(()=>h(!1),[]);return(0,r.useEffect)(()=>{function e(){b(window.scrollY>8)}return e(),window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[]),(0,r.useEffect)(()=>(u?document.body.style.overflow="hidden":document.body.style.overflow="",()=>{document.body.style.overflow=""}),[u]),(0,t.jsxs)("header",{className:(0,p.cn)("fixed top-0 right-0 left-0 z-50 transition-all duration-300 print:hidden",m?"border-b border-border bg-surface/90 backdrop-blur-md":"bg-transparent"),children:[(0,t.jsxs)("nav",{className:"mx-auto flex h-16 max-w-7xl items-center justify-between px-6 lg:px-8",children:[(0,t.jsxs)(n.default,{href:(0,z.localizeHref)(e,"/"),className:"flex items-center",onClick:j,children:[(0,t.jsx)(a.default,{src:"/img/logo.svg",alt:"TextPulse",width:160,height:28,priority:!0,className:"dark:hidden"}),(0,t.jsx)(a.default,{src:"/img/logo-dark.svg",alt:"TextPulse",width:160,height:28,priority:!0,className:"hidden dark:block"})]}),(0,t.jsxs)("div",{className:"hidden items-center gap-1.5 lg:flex",children:[(0,t.jsx)(M,{pathname:v,lang:e,t:d}),d.nav.filter(e=>!E.has(e.href)).map(r=>{let a=v===(0,z.localizeHref)(e,r.href);return(0,t.jsx)(n.default,{href:(0,z.localizeHref)(e,r.href),className:(0,p.cn)("rounded-lg px-4 py-2 text-[15.5px] font-medium transition-colors duration-200",a?"text-accent":"text-text-muted hover:text-text-primary"),children:r.label},r.href)})]}),(0,t.jsxs)("div",{className:"hidden items-center gap-3 lg:flex",children:[(0,t.jsx)(C,{}),(0,t.jsx)(x.ThemeToggle,{}),"loading"!==w?k?(0,t.jsx)(L,{name:y?.user.name??"",email:y?.user.email??"",t:d}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.default,{href:"/app/login",className:"rounded-lg px-4 py-2 text-[15.5px] font-medium text-text-muted transition-colors duration-200 hover:text-text-primary",children:d.login}),(0,t.jsx)(n.default,{href:"/app/register",className:"rounded-lg bg-accent px-5 py-2.5 text-[15px] font-semibold text-text-inverse transition-colors duration-200 hover:bg-accent-hover active:bg-accent-dark",children:d.getStarted})]}):(0,t.jsx)("div",{className:"h-10 w-44","aria-hidden":!0})]}),(0,t.jsxs)("div",{className:"flex items-center gap-1 lg:hidden",children:[(0,t.jsx)(C,{}),(0,t.jsx)(x.ThemeToggle,{}),(0,t.jsx)("button",{type:"button",onClick:()=>h(!u),className:"cursor-pointer rounded-lg p-2 text-text-muted transition-colors hover:text-text-primary","aria-label":u?d.closeMenu:d.openMenu,"aria-expanded":u,children:u?(0,t.jsx)(l.X,{size:24}):(0,t.jsx)(o,{size:24})})]})]}),(0,t.jsx)(g.AnimatePresence,{children:u&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(f.motion.div,{initial:{opacity:0}
10,animate:{opacity:1},exit:{opacity:0},transition:{duration:.25},className:"fixed inset-0 top-16 z-40 bg-black/20 backdrop-blur-sm lg:hidden",onClick:j,"aria-hidden":"true"}),(0,t.jsx)(f.motion.div,{initial:{opacity:0,y:-3},animate:{opacity:1,y:0},exit:{opacity:0,y:-3},transition:{duration:.25,ease:"easeOut"},className:"fixed top-16 right-0 left-0 z-50 border-b border-border bg-surface lg:hidden",children:(0,t.jsxs)("div",{className:"mx-auto max-w-7xl px-6 pb-6 pt-4",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,t.jsx)(P,{pathname:v,onNavigate:j,lang:e,t:d}),d.nav.filter(e=>!E.has(e.href)).map(r=>{let a=v===(0,z.localizeHref)(e,r.href);return(0,t.jsxs)(n.default,{href:(0,z.localizeHref)(e,r.href),onClick:j,className:(0,p.cn)("flex items-center justify-between rounded-lg px-4 py-3 text-base font-medium transition-colors duration-200",a?"bg-accent-light text-accent-dark":"text-text-primary hover:bg-surface"),children:[r.label,(0,t.jsx)(c.ChevronRight,{size:16,className:"text-text-muted"})]},r.href)})]}),(0,t.jsx)("div",{className:"mt-6 flex flex-col gap-3 border-t border-border pt-6",children:k?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.default,{href:"/app",onClick:j,className:"rounded-lg bg-accent px-4 py-3 text-center text-sm font-semibold text-text-inverse transition-colors duration-200 hover:bg-accent-hover active:bg-accent-dark",children:d.dashboard}),(0,t.jsx)(n.default,{href:"/app/billing",onClick:j,className:"rounded-lg border border-border px-4 py-3 text-center text-sm font-medium text-text-primary transition-colors duration-200 hover:bg-surface",children:d.billing}),(0,t.jsx)("button",{type:"button",onClick:()=>{j(),(0,s.signOut)({callbackUrl:"/"})},className:"cursor-pointer rounded-lg px-4 py-3 text-center text-sm font-medium text-text-muted transition-colors duration-200 hover:text-danger",children:d.logout})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.default,{href:"/app/login",onClick:j,className:"rounded-lg border border-border px-4 py-3 text-center text-sm font-medium text-text-primary transition-colors duration-200 hover:bg-surface",children:d.login}),(0,t.jsx)(n.default,{href:"/app/register",onClick:j,className:"rounded-lg bg-accent px-4 py-3 text-center text-sm font-semibold text-text-inverse transition-colors duration-200 hover:bg-accent-hover active:bg-accent-dark",children:d.getStarted})]})})]})})]})})]})}],538294)},894013,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(475254);let a=(0,n.default)("moon",[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]]),i=(0,n.default)("sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);e.s(["ThemeToggle",0,function({className:e}){let[n,s]=(0,r.useState)(null);return(0,r.useEffect)(()=>{let e=setTimeout(()=>{s(document.documentElement.classList.contains("dark"))},0);return()=>clearTimeout(e)},[]),(0,t.jsx)("button",{type:"button",onClick:function(){let e=!document.documentElement.classList.contains("dark");document.documentElement.classList.toggle("dark",e),s(e);try{localStorage.setItem("tp-theme",e?"dark":"light")}catch{}},"aria-label":n?"Switch to light mode":"Switch to dark mode",title:n?"Switch to light mode":"Switch to dark mode",className:"flex size-8 items-center justify-center rounded-lg text-text-muted transition-colors hover:bg-surface-muted hover:text-text-primary "+(e??""),children:null===n?(0,t.jsx)("span",{className:"size-4"}):n?(0,t.jsx)(i,{className:"size-4"}):(0,t.jsx)(a,{className:"size-4"})})}],894013)},519455,586011,e=>{"use strict";var t=e.i(843476),r=e.i(225913),n=e.i(991918);e.s(["Slot",0,n],586011);var n=n,a=e.i(975157);let i=(0,r.cva)("group/button inline-flex shrink-0 items-center justify-center rounded-lg border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-all outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 active:not-aria-[haspopup]:translate-y-
10px disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",{variants:{variant:{default:"bg-primary text-primary-foreground [a]:hover:bg-primary/80",outline:"border-border bg-background hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80 aria-expanded:bg-secondary aria-expanded:text-secondary-foreground",ghost:"hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:hover:bg-muted/50",destructive:"bg-destructive/10 text-destructive hover:bg-destructive/20 focus-visible:border-destructive/40 focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:hover:bg-destructive/30 dark:focus-visible:ring-destructive/40",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-8 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",xs:"h-6 gap-1 rounded-[min(var(--radius-md),10px)] px-2 text-sm in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3",sm:"h-7 gap-1 rounded-[min(var(--radius-md),12px)] px-2.5 text-[0.8rem] in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3.5",lg:"h-9 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-3 has-data-[icon=inline-start]:pl-3",icon:"size-8","icon-xs":"size-6 rounded-[min(var(--radius-md),10px)] in-data-[slot=button-group]:rounded-lg [&_svg:not([class*='size-'])]:size-3","icon-sm":"size-7 rounded-[min(var(--radius-md),12px)] in-data-[slot=button-group]:rounded-lg","icon-lg":"size-9"}},defaultVariants:{variant:"default",size:"default"}});e.s(["Button",0,function({className:e,variant:r="default",size:s="default",asChild:o=!1,...l}){let c=o?n.Root:"button";return(0,t.jsx)(c,{"data-slot":"button","data-variant":r,"data-size":s,className:(0,a.cn)(i({variant:r,size:s,className:e})),...l})}],519455)},767083,e=>{"use strict";var t=e.i(95187);let r=(0,t.createServerReference)("408cfe6d0ad1ef32c537e420a03fff3daeae5c8315",t.callServer,void 0,t.findSourceMapURL,"subscribe");e.s(["subscribe",0,r])},618071,e=>{"use strict";let t=["en","zh","es","pt","ar","fr","de","ja","ko","ru","tr","hi","vi","id","ms","th","pl","it","fa","uk","cs","el","hu","bn","ro","ur"];function r(e){return t.includes(e)}t.filter(e=>"en"!==e),e.s(["LANG_NAMES",0,{en:"English",zh:"中文",es:"Español",pt:"Português",ar:"العربية",fr:"Français",de:"Deutsch",ja:"日本語",ko:"한국어",ru:"Русский",tr:"Türkçe",hi:"हिन्दी",vi:"Tiếng Việt",id:"Bahasa Indonesia",ms:"Bahasa Melayu",th:"ไทย",pl:"Polski",it:"Italiano",fa:"فارسی",uk:"Українська",cs:"Čeština",el:"Ελληνικά",hu:"Magyar",bn:"বাংলা",ro:"Română",ur:"اردو"},"SUPPORTED_LANGS",0,t,"isValidLang",0,r,"localizeHref",0,function(e,t){return"en"===e||!r(e)||!t.startsWith("/")||t.startsWith("/app")||t.startsWith("/dashboard")||t.startsWith("/api")||t.startsWith("/img")||t.startsWith("/research")||t.includes(".")?t:"/"===t?`/${e}`:`/${e}${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.