(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,42592,e=>{"use strict";var t=e.i(43476),n=e.i(71645);e.s(["default",0,()=>{let[e,r]=(0,n.useState)(null);return(0,n.useEffect)(()=>{let e=async()=>{let e=window.RequestFileSystem||window.webkitRequestFileSystem;return!!e&&new Promise(t=>{e(window.TEMPORARY,100,()=>t(!1),()=>t(!0))})},t=async()=>{let e=navigator.userAgent,t=navigator.language,n=navigator.vendor,r=navigator.platform,i=screen.colorDepth,a=screen.pixelDepth,o=new Date().getTimezoneOffset(),l=Array.from(navigator.plugins).map(e=>e.name).join(","),s=document.createElement("canvas"),c=s.getContext("2d");return c.textBaseline="top",c.font="16px Arial",c.fillStyle="blue",c.fillText(e,10,50),[e,t,n,r,i,a,o,l,s.toDataURL()].join("::")};(async()=>{let n=localStorage.getItem("visitorId");if(n)return r(n);let i=await t(),a=await e(),o=Math.random().toString(36).substring(2,15),l=new TextEncoder().encode(i+o),s=Array.from(new Uint8Array(await crypto.subtle.digest("SHA-256",l))).map(e=>e.toString(16).padStart(2,"0")).join(""),c=a?`${s}-incognito`:s;localStorage.setItem("visitorId",c),r(c)})()},[]),(0,t.jsxs)("div",{children:[(0,t.jsx)("h1",{children:"Your Visitor ID"}),e?(0,t.jsx)("p",{children:e}):(0,t.jsx)("p",{children:"Generating ID..."})]})}])}]);