@3dverse/ui-lib 0.1.2 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -1,17 +1,17 @@
1
- var X={container:"t",inner:"o",innerShape:"i",shape:"a",shapeAlt:"n"};import{jsx as we,jsxs as Ct}from"react/jsx-runtime";var Pe=["#EDB5FB","#FBB5B5","#F4D35B","#B5FBF7","#B5DDFB","#B5C2FB","#CBB5FB","#189AB4","#75E6DA","#D4F1F4","#EF7C8E","#FAE8E0","#B6E2D3","#D8A7B1","#F6EEE0","#E4B7A0","#C38370","#94DFE6","#EBDCC7","#B5EECB","#DCC5C3","#D6E1EB","#ADC4D7","#FACB80","#FBD8B0","#feb191","#a2f9c6"],re=[{},{borderWidth:"2px",borderStyle:"solid",borderColor:"currentColor",backgroundColor:"transparent"},{scale:"0.75"},{scale:"0.5"},{borderRadius:"9999px"},{borderRadius:"9999px",borderWidth:"2px",borderStyle:"solid",borderColor:"currentColor",backgroundColor:"transparent"},{borderRadius:"9999px",height:"50%",translate:"0 50%"},{borderRadius:"9999px",scale:"0.5"},{borderTopLeftRadius:"9999px",borderTopRightRadius:"9999px"},{borderTopRightRadius:"9999px",borderBottomRightRadius:"9999px"},{borderBottomRightRadius:"9999px",borderBottomLeftRadius:"9999px"},{borderTopLeftRadius:"9999px",borderBottomLeftRadius:"9999px"},{borderTopLeftRadius:"9999px",borderTopRightRadius:"9999px",height:"50%"},{borderTopRightRadius:"9999px",borderBottomRightRadius:"9999px",width:"50%"},{borderBottomRightRadius:"9999px",borderBottomLeftRadius:"9999px",height:"50%"},{borderTopLeftRadius:"9999px",borderBottomLeftRadius:"9999px",width:"50%"},{borderBottomRightRadius:"9999px",borderTopLeftRadius:"9999px"},{borderBottomLeftRadius:"9999px",borderTopRightRadius:"9999px"},{},{},{borderRadius:"100% 0% 100% 0% / 100% 100% 0% 0%"},{borderRadius:"100% 0% 100% 0% / 100% 100% 0% 0%",transform:"rotate(180deg)"},{borderRadius:"100% 0% 100% 0% / 100% 100% 0% 0%",transform:"rotate(180deg) scaleY(-1)"},{borderRadius:"100% 0% 100% 0% / 100% 100% 0% 0%",transform:"scaleY(-1)"},{clipPath:"polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%)"},{clipPath:"polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%)"},{clipPath:'path("M12 4.248c-3.148-5.402-12-3.825-12 2.944 0 4.661 5.571 9.427 12 15.808 6.43-6.381 12-11.147 12-15.808 0-6.792-8.875-8.306-12-2.944z")'},{clipPath:"polygon(0 0, 0% 100%, 100% 100%)"},{clipPath:"polygon(61% 50%, 100% 0, 100% 100%, 0% 100%)"}],De=re.length,Se=Pe.length,ze=[0,180,270],ke=101,$e=200,je=301,It=({id:e,shape:t,colors:i,className:a,style:r})=>{let n=Number(e?.replace(/\D/g,"").replace(/-/g,"")),s=[Pe[i?.[0]??Math.floor(n%ke%Se)],Pe[i?.[1]??Math.floor(n%$e%Se)],Pe[i?.[2]??Math.floor(n%je%Se)]],c=t||[Math.floor(n%ke%De),Math.floor(n%$e%De),Math.floor(n%je%De)],D=ze[n%ke%ze.length];return we("div",{role:"img","aria-label":"Project icon",className:`${X.container} ${a}`,style:{"--gradient-from":s[1],"--gradient-to":s[2],"--gradient-stops":"var(--gradient-from), var(--gradient-to)",...r},children:Ct("div",{className:X.innerShape,style:{color:s[0],rotate:`${D}deg`},children:[we("span",{className:X.shape,style:{...re[c[0]],boxShadow:"5px 0px 0px 6px color-mix(in srgb, currentColor 40%, transparent), 4px 0px 0px 32px color-mix(in srgb, currentColor 30%, transparent)"}}),we("span",{className:`${X.shape} ${X.shapeAlt}`,style:re[c[1]]}),we("span",{className:X.shape,style:re[c[2]]})]})})};import{entityComponents as kt}from"@3dverse/design-tokens";import{Icon as Nt,cn as Tt}from"@3dverse/ui-lib";import{entityComponents as Ge}from"@3dverse/design-tokens";import{Icon as Rt,cn as Dt}from"@3dverse/ui-lib";import{Fragment as He,jsx as Ne}from"react/jsx-runtime";var Te=({componentId:e,variant:t="default",style:i,className:a=""})=>{if(!Ge[e])return Ne(He,{children:e});let{color:r,fontAwesome:n}=Ge[e];return n?Ne(Rt,{className:Dt("flex! justify-center items-center h-[2.5em] w-auto! aspect-square shrink-0 text-base text-current bg-current/20 rounded-full","fal",n,a),style:{color:r,boxShadow:t==="special"?"0 0 10px color-mix(in srgb, var(--entity-component-color), var(--color-bg-underground) 100%), 20px 0 0px -11px color-mix(in srgb, currentcolor, transparent 85%), -20px 0 0px -11px color-mix(in srgb, currentcolor, transparent 85%)":void 0,...i}}):Ne(He,{children:e})};var Ze={properties:{animation_controller:{description:"Drives skeletal animation using an Animation Graph and Animation Set; animates descendant skinned meshes whose skeletons are compatible with the set.",properties:{animationGraphRef:{description:"Referenced Animation Graph (UUID).",pattern:"^(00000000-0000-0000-0000-000000000000|[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})$",title:"Animation Graph Ref",type:"string","x-asset-ref":"animation_graph","x-display-type":"UUID"},animationSetRef:{description:"Referenced Animation Set (UUID).",pattern:"^(00000000-0000-0000-0000-000000000000|[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})$",title:"Animation Set Ref",type:"string","x-asset-ref":"animation_set","x-display-type":"UUID"},dataJSON:{description:"Animation Graph input parameters in JSON format.",title:"Data Json",type:"object","x-display-type":"JSON"},rootBoneEntityRef:{description:"Entity containing the Bone component for the skeleton's root bone.",properties:{linkage:{default:[],items:{description:"A unique identifier for an entity. It should be unique across all entities in the scene, but it is not guaranteed to be unique across all scenes.",pattern:"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",type:"string","x-display-type":"Entity Unique Identifier"},type:"array"},originalEUID:{default:"00000000-0000-0000-0000-000000000000",description:"A unique identifier for an entity. It should be unique across all entities in the scene, but it is not guaranteed to be unique across all scenes.",pattern:"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",type:"string","x-display-type":"Entity Unique Identifier"}},required:["originalEUID","linkage"],title:"Root Bone Entity Ref",type:"object","x-display-type":"Entity Reference"},rootMotionEnabled:{default:!1,description:"Enable root motion extraction and application to the entity transform.",title:"Root Motion Enabled",type:"boolean","x-display-type":"Boolean"}},title:"Animation Controller",type:"object","x-category":"animation"},animation_sequence_controller:{description:"Controls playback of an Animation Sequence; assigns tracks to entities.",properties:{animationSequenceRef:{description:"Referenced Animation Sequence (UUID).",pattern:"^(00000000-0000-0000-0000-000000000000|[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})$",title:"Animation Sequence Ref",type:"string","x-asset-ref":"animation_sequence","x-display-type":"UUID"},entities:{additionalProperties:{properties:{linkage:{default:[],items:{description:"A unique identifier for an entity. It should be unique across all entities in the scene, but it is not guaranteed to be unique across all scenes.",pattern:"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",type:"string","x-display-type":"Entity Unique Identifier"},type:"array"},originalEUID:{default:"00000000-0000-0000-0000-000000000000",description:"A unique identifier for an entity. It should be unique across all entities in the scene, but it is not guaranteed to be unique across all scenes.",pattern:"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",type:"string","x-display-type":"Entity Unique Identifier"}},required:["originalEUID","linkage"],type:"object","x-display-type":"Entity Reference"},description:"Map from track UUID to assigned entity.",title:"Entities",type:"object"},loop:{default:!1,description:"Loop playback when reaching the stop offset.",title:"Loop",type:"boolean","x-display-type":"Boolean"},playbackSpeed:{default:1,description:"Playback speed multiplier. Negative values play in reverse.",format:"float",title:"Playback Speed",type:"number","x-display-type":"Float"},startOffset:{default:0,description:"Normalized start offset [0, 1].",format:"float",maximum:1,minimum:0,title:"Start Offset",type:"number","x-display-type":"Float"},stopOffset:{default:1,description:"Normalized stop offset [0, 1]. When looping, playback wraps to startOffset at this point.",format:"float",maximum:1,minimum:0,title:"Stop Offset",type:"number","x-display-type":"Float"}},title:"Animation Sequence Controller",type:"object","x-category":"animation"},bone:{description:"Associates this entity with a bone in a skeleton (for attachments and transforms).",properties:{boneIndex:{description:"Zero-based index of this bone within the bound skeleton.",format:"int32",minimum:0,title:"Bone Index",type:"integer","x-display-type":"Unsigned Integer"}},title:"Bone",type:"object","x-category":"animation","x-requires":{allOf:["local_transform"]}},box_geometry:{description:"Box geometry.",properties:{dimension:{default:[1,1,1],description:"Box dimensions (width, height, depth) in meters.",items:{format:"float",type:"number"},maxItems:3,minItems:3,title:"Dimension",type:"array","x-display-type":"Vector3","x-unit":"m"},offset:{default:[0,0,0],description:"Local offset of the geometry origin (meters).",items:{format:"float",type:"number"},maxItems:3,minItems:3,title:"Offset",type:"array","x-display-type":"Vector3","x-unit":"m"}},title:"Box Geometry",type:"object","x-category":"geometry","x-requires":{allOf:["local_transform"]}},camera:{description:"Virtual camera.",properties:{dataJSON:{description:"Render Graph input parameters in JSON; schema defined by renderGraphRef.",title:"Data Json",type:"object","x-display-type":"JSON"},renderGraphRef:{description:"Referenced render graph to use for rendering from this camera.",pattern:"^(00000000-0000-0000-0000-000000000000|[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})$",title:"Render Graph Ref",type:"string","x-asset-ref":"render_graph","x-display-type":"UUID"},renderTargetIndex:{default:-1,description:"Index of the render target to blit/output to. -1 indicates the default target.",format:"int32",title:"Render Target Index",type:"integer","x-display-type":"Integer"}},title:"Camera",type:"object","x-category":"camera","x-requires":{allOf:["local_transform"],oneOf:["orthographic_lens","perspective_lens","custom_lens"]}},capsule_geometry:{description:"Capsule geometry.",properties:{axis:{default:1,description:"Alignment axis of the capsule: 0=X, 1=Y, 2=Z.",format:"int32",oneOf:[{const:0,description:"Capsule is aligned with the X Axis.",title:"X-Axis"},{const:1,description:"Capsule is aligned with the Y Axis.",title:"Y-Axis"},{const:2,description:"Capsule is aligned with the Z Axis.",title:"Z-Axis"}],title:"Axis",type:"integer","x-display-type":"Integer"},height:{default:1,description:"Height of the cylindrical mid-section (meters).",format:"float",title:"Height",type:"number","x-display-type":"Float","x-unit":"m"},offset:{default:[0,0,0],description:"Local offset of the geometry origin (meters).",items:{format:"float",type:"number"},maxItems:3,minItems:3,title:"Offset",type:"array","x-display-type":"Vector3","x-unit":"m"},radius:{default:.5,description:"Radius of the hemispherical ends (meters).",format:"float",title:"Radius",type:"number","x-display-type":"Float","x-unit":"m"}},title:"Capsule Geometry",type:"object","x-category":"geometry","x-requires":{allOf:["local_transform"]}},character_controller:{description:"Kinematic character controller for collision-constrained movement without a rigid body. Uses tuned collision handling for responsive control.",properties:{skinWidth:{default:0,description:"Collision skin width (meters).",format:"float",title:"Skin Width",type:"number","x-display-type":"Float","x-unit":"m"},slopeLimit:{default:45,description:"Maximum walkable slope (degrees). Slopes steeper than this are not walkable.",format:"float",title:"Slope Limit",type:"number","x-display-type":"Float","x-unit":"deg"},stepOffset:{default:0,description:"Maximum climbable step height. Steps higher than this cannot be climbed automatically.",format:"float",title:"Step Offset",type:"number","x-display-type":"Float","x-unit":"m"}},title:"Character Controller",type:"object","x-category":"physics","x-requires":{allOf:["local_transform","physics_material"],oneOf:["box_geometry","capsule_geometry"]}},collision_geometry_ref:{description:"Reference to a collision geometry asset used by physics.",properties:{collisionGeometryRef:{description:"Referenced collision geometry (UUID).",pattern:"^(00000000-0000-0000-0000-000000000000|[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})$",title:"Collision Geometry Ref",type:"string","x-asset-ref":"collision_geometry","x-display-type":"UUID"}},title:"Collision Geometry Reference",type:"object","x-category":"physics","x-requires":{allOf:["local_transform","physics_material"]}},constraint:{description:"6-DoF constraint built on a Joint. Defaults to fixed; selectively unlock translation and rotation on X/Y/Z and configure limits and springs.",properties:{motionLimitSpringDamping:{default:[0,0,0],description:"Linear limit spring damping per axis (N\xB7s/m).",items:{format:"float",type:"number"},maxItems:3,minItems:3,title:"Motion Limit Spring Damping",type:"array","x-display-type":"Vector3","x-unit":"N.s/m"},motionLimitSpringStiffness:{default:[0,0,0],description:"Linear limit spring stiffness per axis (N/m). >0 makes the limit soft (spring-like).",items:{format:"float",type:"number"},maxItems:3,minItems:3,title:"Motion Limit Spring Stiffness",type:"array","x-display-type":"Vector3","x-unit":"N/m"},motionLowerLimit:{default:[0,0,0],description:"Lower linear limit per axis (meters).",items:{format:"float",type:"number"},maxItems:3,minItems:3,title:"Motion Lower Limit",type:"array","x-display-type":"Vector3","x-unit":"m"},motionUpperLimit:{default:[0,0,0],description:"Upper linear limit per axis (meters).",items:{format:"float",type:"number"},maxItems:3,minItems:3,title:"Motion Upper Limit",type:"array","x-display-type":"Vector3","x-unit":"m"},swingLimitAngle:{default:[0,0],description:"Swing cone half-angles about Y and Z of the constraint frame (degrees). 0 does not restrict rotation; max 180. Used if either swing axis is limited.",items:{format:"float",type:"number"},maxItems:2,minItems:2,title:"Swing Limit Angle",type:"array","x-display-type":"Vector2","x-unit":"deg"},swingSpringDamping:{default:0,description:"Swing limit spring damping (N\xB7m\xB7s/rad).",format:"float",title:"Swing Spring Damping",type:"number","x-display-type":"Float","x-unit":"N.m.s/rad"},swingSpringStiffness:{default:0,description:"Swing limit spring stiffness (N\xB7m/rad). >0 makes the limit soft.",format:"float",title:"Swing Spring Stiffness",type:"number","x-display-type":"Float","x-unit":"N.m/rad"},twistLimitAngle:{default:[0,0],description:"Twist angle limits (min,max) around the twist axis (degrees). Range (\u2212360, 360).",items:{format:"float",type:"number"},maxItems:2,minItems:2,title:"Twist Limit Angle",type:"array","x-display-type":"Vector2","x-unit":"deg"},twistSpringDamping:{default:0,description:"Twist limit spring damping (N\xB7m\xB7s/rad).",format:"float",title:"Twist Spring Damping",type:"number","x-display-type":"Float","x-unit":"N.m.s/rad"},twistSpringStiffness:{default:0,description:"Twist limit spring stiffness (N\xB7m/rad). >0 makes the limit soft.",format:"float",title:"Twist Spring Stiffness",type:"number","x-display-type":"Float","x-unit":"N.m/rad"},unlockedMotion:{default:0,description:"Unlock motion along/around the specified axes.",format:"int32",minimum:0,title:"Unlocked Motion",type:"integer","x-bitFlags":[{description:"Unlock motion along the X axis.",name:"Along X",value:1},{description:"Unlock motion along the Y axis.",name:"Along Y",value:2},{description:"Unlock motion along the Z axis.",name:"Along Z",value:4},{description:"Unlock motion around the X axis.",name:"Around X",value:8},{description:"Unlock motion around the Y axis.",name:"Around Y",value:16},{description:"Unlock motion around the Z axis.",name:"Around Z",value:32}],"x-display-type":"Unsigned Integer"}},title:"Constraint",type:"object","x-category":"physics","x-requires":{allOf:["joint"]}},constraint_actuator:{description:"Drives a Constraint toward target position/orientation and velocities using configurable stiffness, damping, and force limits.",properties:{angularDamping:{default:[0,0,0],description:"Angular drive damping per axis (N\xB7m\xB7s/rad).",items:{format:"float",type:"number"},maxItems:3,minItems:3,title:"Angular Damping",type:"array","x-display-type":"Vector3","x-unit":"N.m.s/rad"},angularForceLimit:{default:[-1,-1,-1],description:"Max angular drive torque/impulse per axis (N\xB7m). \u22121 = unlimited.",items:{format:"float",type:"number"},maxItems:3,minItems:3,title:"Angular Force Limit",type:"array","x-display-type":"Vector3","x-unit":"N.m"},angularStiffness:{default:[0,0,0],description:"Angular drive stiffness per axis (N\xB7m/rad). >0 applies spring torque toward the goal.",items:{format:"float",type:"number"},maxItems:3,minItems:3,title:"Angular Stiffness",type:"array","x-display-type":"Vector3","x-unit":"N.m/rad"},angularVelocity:{default:[0,0,0],description:"Target angular velocity (rad/s).",items:{format:"float",type:"number"},maxItems:3,minItems:3,title:"Angular Velocity",type:"array","x-display-type":"Vector3","x-unit":"rad/s"},goalOrientation:{default:[0,0,0,1],description:"Target angular orientation.",items:{format:"float",type:"number"},maxItems:4,minItems:4,title:"Goal Orientation",type:"array","x-display-type":"Quaternion"},goalPosition:{default:[0,0,0],description:"Target linear position offset (meters).",items:{format:"float",type:"number"},maxItems:3,minItems:3,title:"Goal Position",type:"array","x-display-type":"Vector3","x-unit":"m"},linearDamping:{default:[0,0,0],description:"Linear drive damping per axis (N\xB7s/m).",items:{format:"float",type:"number"},maxItems:3,minItems:3,title:"Linear Damping",type:"array","x-display-type":"Vector3","x-unit":"N.s/m"},linearForceLimit:{default:[-1,-1,-1],description:"Max linear drive force/impulse per axis (N). \u22121 = unlimited.",items:{format:"float",type:"number"},maxItems:3,minItems:3,title:"Linear Force Limit",type:"array","x-display-type":"Vector3","x-unit":"N"},linearStiffness:{default:[0,0,0],description:"Linear drive stiffness per axis (N/m). >0 applies spring force toward the goal.",items:{format:"float",type:"number"},maxItems:3,minItems:3,title:"Linear Stiffness",type:"array","x-display-type":"Vector3","x-unit":"N/m"},linearVelocity:{default:[0,0,0],description:"Target linear velocity (m/s).",items:{format:"float",type:"number"},maxItems:3,minItems:3,title:"Linear Velocity",type:"array","x-display-type":"Vector3","x-unit":"m/s"},type:{default:1,description:"Drive type: apply as force or as acceleration.",format:"int32",oneOf:[{const:0,title:"FORCE"},{const:1,title:"ACCELERATION"}],title:"Type",type:"integer","x-display-type":"Integer"}},title:"Constraint Actuator",type:"object","x-category":"physics","x-requires":{allOf:["constraint"]}},culling_geometry:{description:"Enables culling using a simple analytic shape. Add alongside a geometry component (box, cylinder, plane, sphere).",properties:{isAdditive:{default:!0,description:"Additive: show elements inside the geometry. Subtractive: show elements outside the geometry.",title:"Is Additive",type:"boolean","x-display-type":"Boolean"}},title:"Culling Geometry",type:"object","x-category":"rendering","x-requires":{allOf:["local_transform"],oneOf:["box_geometry","cylinder_geometry","plane_geometry","sphere_geometry"]}},custom_lens:{description:"Custom projection lens using an explicit projection matrix.",properties:{cs_from_vs:{description:"Projection matrix mapping view-space to clip-space (cs_from_vs).",items:{format:"float",type:"number"},maxItems:16,minItems:16,title:"Cs From Vs",type:"array","x-display-type":"Matrix4"}},title:"Custom Lens",type:"object","x-category":"camera","x-requires":{allOf:["camera"]}},cylinder_geometry:{description:"Cylinder geometry.",properties:{axis:{default:1,description:"Alignment axis of the cylinder: 0=X, 1=Y, 2=Z.",format:"int32",oneOf:[{const:0,description:"Cylinder is aligned with the X Axis.",title:"X-Axis"},{const:1,description:"Cylinder is aligned with the Y Axis.",title:"Y-Axis"},{const:2,description:"Cylinder is aligned with the Z Axis.",title:"Z-Axis"}],title:"Axis",type:"integer","x-display-type":"Integer"},height:{default:1,description:"Height of the cylinder (meters).",format:"float",title:"Height",type:"number","x-display-type":"Float","x-unit":"m"},offset:{default:[0,0,0],description:"Local offset of the geometry origin (meters).",items:{format:"float",type:"number"},maxItems:3,minItems:3,title:"Offset",type:"array","x-display-type":"Vector3","x-unit":"m"},radius:{default:.5,description:"Radius of the cylinder (meters).",format:"float",title:"Radius",type:"number","x-display-type":"Float","x-unit":"m"}},title:"Cylinder Geometry",type:"object","x-category":"geometry","x-requires":{allOf:["local_transform"]}},debug_name:{description:"Human-readable name of the entity.",properties:{value:{description:"Entity name.",title:"Value",type:"string","x-display-type":"String"}},title:"Name",type:"object","x-category":"core"},decal_projector:{description:"Projects a material onto scene surfaces within the projector's box volume.",properties:{zIndex:{default:0,description:"Z-index ordering for decal rendering; higher values render on top of lower ones.",format:"int32",title:"Z Index",type:"integer","x-display-type":"Integer"}},title:"Decal Projector",type:"object","x-category":"rendering","x-requires":{allOf:["local_transform","material_ref","box_geometry"]}},environment:{description:"Scene environment settings, including skybox background and precomputed image-based lighting (IBL). This component is only applied in the scene where this entity lives, it is discarded for subscenes.",properties:{irradianceUUID:{description:"Diffuse irradiance cubemap used for ambient PBR lighting.",pattern:"^(00000000-0000-0000-0000-000000000000|[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})$",title:"Irradiance Uuid",type:"string","x-asset-ref":"cubemap","x-display-type":"UUID"},radianceUUID:{description:"Specular radiance cubemap (prefiltered) used for PBR reflections.",pattern:"^(00000000-0000-0000-0000-000000000000|[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})$",title:"Radiance Uuid",type:"string","x-asset-ref":"cubemap","x-display-type":"UUID"},skyboxUUID:{description:"Skybox cubemap used as the scene background (no lighting effect).",pattern:"^(00000000-0000-0000-0000-000000000000|[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})$",title:"Skybox Uuid",type:"string","x-asset-ref":"cubemap","x-display-type":"UUID"}},title:"Environment",type:"object","x-category":"lighting"},euid:{description:"Unique identifier for the entity.",properties:{value:{description:"Unique identifier value.",pattern:"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",title:"Value",type:"string","x-display-type":"Entity Unique Identifier"}},readOnly:!0,required:["value"],title:"Entity UID",type:"object","x-category":"core"},joint:{description:"Base joint connecting two bodies. By default locks relative position and orientation between constrainer and constrainee.",properties:{breakForce:{default:1e16,description:"Break force threshold (Newtons).",format:"float",title:"Break Force",type:"number","x-display-type":"Float","x-unit":"N"},breakTorque:{default:1e16,description:"Break torque threshold (N\xB7m).",format:"float",title:"Break Torque",type:"number","x-display-type":"Float","x-unit":"N.m"},constrainee:{description:"Entity with a Rigid Body to be constrained.",properties:{linkage:{default:[],items:{description:"A unique identifier for an entity. It should be unique across all entities in the scene, but it is not guaranteed to be unique across all scenes.",pattern:"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",type:"string","x-display-type":"Entity Unique Identifier"},type:"array"},originalEUID:{default:"00000000-0000-0000-0000-000000000000",description:"A unique identifier for an entity. It should be unique across all entities in the scene, but it is not guaranteed to be unique across all scenes.",pattern:"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",type:"string","x-display-type":"Entity Unique Identifier"}},required:["originalEUID","linkage"],title:"Constrainee",type:"object","x-display-type":"Entity Reference","x-required-components":["rigid_body"]},constrainer:{description:"Entity acting as constrainer (rigid/static) or null to constrain to world origin.",properties:{linkage:{default:[],items:{description:"A unique identifier for an entity. It should be unique across all entities in the scene, but it is not guaranteed to be unique across all scenes.",pattern:"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",type:"string","x-display-type":"Entity Unique Identifier"},type:"array"},originalEUID:{default:"00000000-0000-0000-0000-000000000000",description:"A unique identifier for an entity. It should be unique across all entities in the scene, but it is not guaranteed to be unique across all scenes.",pattern:"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",type:"string","x-display-type":"Entity Unique Identifier"}},required:["originalEUID","linkage"],title:"Constrainer",type:"object","x-display-type":"Entity Reference"},enableCollision:{default:!1,description:"Enable collision between constrainer and constrainee bodies.",title:"Enable Collision",type:"boolean","x-display-type":"Boolean"}},title:"Joint",type:"object","x-category":"physics","x-requires":{allOf:["local_transform"]}},label:{description:"Displays an editor-only label in the 3D view.",properties:{camera:{default:[0,0,0,0,0,0,1],description:"Camera framing parameters for navigating to the label.",items:{format:"float",type:"number","x-display-type":"Float"},title:"Camera",type:"array"},description:{description:"Label description text.",title:"Description",type:"string","x-display-type":"String"},speed:{default:15,description:"Camera travel speed (meters/second).",format:"float",title:"Speed",type:"number","x-display-type":"Float"},title:{description:"Label title text.",title:"Title",type:"string","x-display-type":"String"}},title:"Label",type:"object","x-category":"editor","x-requires":{allOf:["local_transform"]}},lineage:{description:"Records the entity's lineage through linkers and parentage.",properties:{ordinal:{default:0,description:"Ordinal index among siblings (editor-only).",format:"int32",title:"Ordinal",type:"integer","x-display-type":"Integer"},parentUUID:{description:"UUID of this entity's parent (default is root).",pattern:"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",title:"Parent Uuid",type:"string","x-display-type":"Entity Unique Identifier"}},title:"Lineage",type:"object","x-category":"core"},local_aabb:{description:"Local-space axis-aligned bounding box.",properties:{max:{description:"Local AABB maximum corner (x,y,z).",items:{format:"float",type:"number"},maxItems:3,minItems:3,title:"Max",type:"array","x-display-type":"Vector3"},min:{description:"Local AABB minimum corner (x,y,z).",items:{format:"float",type:"number"},maxItems:3,minItems:3,title:"Min",type:"array","x-display-type":"Vector3"}},title:"Local AABB",type:"object","x-category":"core"},local_transform:{description:"Local transform of the entity (position, orientation, scale).",properties:{eulerOrientation:{default:[0,0,0],description:"Local orientation as Euler angles (editor-only).",items:{format:"float",type:"number"},maxItems:3,minItems:3,title:"Orientation",type:"array","x-display-type":"Vector3","x-unit":"deg"},globalEulerOrientation:{default:[0,0,0],description:"Last global orientation entered by a user as Euler angles (may be invalid; editor-only).",items:{format:"float",type:"number"},maxItems:3,minItems:3,title:"Global Euler Orientation",type:"array","x-display-type":"Vector3","x-unit":"deg"},orientation:{default:[0,0,0,1],description:"Local orientation as a quaternion.",items:{format:"float",type:"number"},maxItems:4,minItems:4,title:"Orientation",type:"array","x-display-type":"Quaternion"},position:{default:[0,0,0],description:"Local position (x, y, z) in meters.",items:{format:"float",type:"number"},maxItems:3,minItems:3,title:"Position",type:"array","x-display-type":"Vector3","x-unit":"m"},scale:{default:[1,1,1],description:"Local non-uniform scale (x, y, z).",items:{format:"float",type:"number"},maxItems:3,minItems:3,title:"Scale",type:"array","x-display-type":"Vector3"}},title:"Transform",type:"object","x-category":"core"},material:{description:"Assigns a shader to the entity's mesh and provides its input values and specialization constants.",properties:{constantsJSON:{description:"Specialization constants (JSON); schema defined by shaderRef.",title:"Constants Json",type:"object","x-display-type":"JSON"},dataJSON:{description:"Shader input values (JSON); schema defined by shaderRef.",title:"Data Json",type:"object","x-display-type":"JSON"},isDoubleSided:{default:!1,description:"Render both front and back faces (double-sided).",title:"Is Double Sided",type:"boolean","x-display-type":"Boolean"},shaderRef:{description:"Referenced shader (UUID).",pattern:"^(00000000-0000-0000-0000-000000000000|[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})$",title:"Shader Ref",type:"string","x-asset-ref":"shader","x-display-type":"UUID"}},title:"Material",type:"object","x-category":"rendering","x-requires":{allOf:["mesh_ref"]}},material_ref:{description:"Reference to a material to use for rendering.",properties:{faceCulling:{default:0,description:"Face culling override: 0 = inherit from material, 1 = single-sided, 2 = double-sided.",format:"int32",oneOf:[{const:0,title:"Inherit from material"},{const:1,title:"Single Sided"},{const:2,title:"Double Sided"}],title:"Face Culling",type:"integer","x-display-type":"Integer"},value:{description:"Referenced material (UUID).",pattern:"^(00000000-0000-0000-0000-000000000000|[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})$",title:"Value",type:"string","x-asset-ref":"material","x-display-type":"UUID"}},title:"Material Reference",type:"object","x-category":"rendering","x-requires":{oneOf:["mesh_ref","decal_projector"]}},measure:{description:"Displays editor-only measurement annotations in the 3D view.",properties:{color:{default:[1,1,1],description:"Display color for the measurement.",items:{format:"float",type:"number"},maxItems:3,minItems:3,title:"Color",type:"array","x-display-type":"Vector3"},type:{default:0,description:"Measurement type to display.",format:"int32",minimum:0,oneOf:[{const:0,title:"Linear"},{const:1,title:"Angle"},{const:2,title:"Area"},{const:3,title:"Volume"}],title:"Type",type:"integer","x-display-type":"Unsigned Integer"}},title:"Measure",type:"object","x-category":"editor","x-requires":{allOf:["local_transform"]}},mesh_ref:{description:"Reference to a mesh to render (with submesh selection).",properties:{shadowCastingMode:{default:1,description:"Shadow casting mode for this mesh.",format:"int8",minimum:0,oneOf:[{const:0,description:"Shadow casting is disabled for this entity.",title:"Off"},{const:1,description:"Shadow casting is enabled for this entity.",title:"On"}],title:"Shadow Casting Mode",type:"integer","x-display-type":"Unsigned Byte"},submeshIndex:{default:0,description:"Index of the submesh within the mesh's submesh array.",format:"int32",title:"Submesh Index",type:"integer","x-display-type":"Integer"},value:{description:"Referenced mesh (UUID).",pattern:"^(00000000-0000-0000-0000-000000000000|[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})$",title:"Value",type:"string","x-asset-ref":"mesh","x-display-type":"UUID"}},title:"Mesh Reference",type:"object","x-category":"rendering","x-requires":{allOf:["local_transform"],oneOf:["material","material_ref"]}},morph_targets:{description:"Contains weights assigned to morph targets of the mesh referred to by the entity's mesh_ref.",properties:{weights:{additionalProperties:{format:"float",type:"number","x-display-type":"Float"},description:"Map from morph target name to weight (commonly 0..1).",title:"Weights",type:"object"}},title:"Morph Targets",type:"object","x-category":"animation","x-requires":{allOf:["local_transform"]}},orthographic_lens:{description:"Orthographic projection lens with configurable zoom and depth range.",properties:{zFar:{default:100,description:"Far clipping plane distance (meters).",format:"float",title:"Z Far",type:"number","x-display-type":"Float","x-unit":"m"},zNear:{default:0,description:"Near clipping plane distance (meters).",format:"float",title:"Z Near",type:"number","x-display-type":"Float","x-unit":"m"},zoomFactor:{default:[1,1],description:"Zoom factor applied to the orthographic extents (X,Y). 1 = no zoom.",items:{format:"float",type:"number"},maxItems:2,minItems:2,title:"Zoom Factor",type:"array","x-display-type":"Vector2"}},title:"Orthographic Lens",type:"object","x-category":"camera","x-requires":{allOf:["camera"]}},overrider:{description:"Overrides an entity from a subscene: mark for deletion, replace components, or detach specific components.",properties:{componentsToDetach:{description:"Hashes of components to detach from the overridden entity.",items:{format:"int32",type:"integer","x-display-type":"Integer"},title:"Components to Detach",type:"array"},deleter:{default:!1,description:"Mark the overridden entity as deleted in the composed scene.",title:"Deleter",type:"boolean","x-display-type":"Boolean"},entityRef:{description:"Target entity to override.",properties:{linkage:{default:[],items:{description:"A unique identifier for an entity. It should be unique across all entities in the scene, but it is not guaranteed to be unique across all scenes.",pattern:"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",type:"string","x-display-type":"Entity Unique Identifier"},type:"array"},originalEUID:{default:"00000000-0000-0000-0000-000000000000",description:"A unique identifier for an entity. It should be unique across all entities in the scene, but it is not guaranteed to be unique across all scenes.",pattern:"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",type:"string","x-display-type":"Entity Unique Identifier"}},required:["originalEUID","linkage"],title:"Entity Ref",type:"object","x-display-type":"Entity Reference"}},title:"Overrider",type:"object","x-category":"linker"},perspective_lens:{description:"Perspective projection lens with vertical field of view and near/far clipping planes.",properties:{farPlane:{default:0,description:"Far clipping plane distance (meters). Set to 0 for an infinite far plane.",format:"float",title:"Far Plane",type:"number","x-display-type":"Float","x-unit":"m"},fovy:{default:60,description:"Vertical field of view angle in degrees.",format:"float",title:"Vertical Field of View",type:"number","x-display-type":"Float","x-unit":"deg"},nearPlane:{default:.01,description:"Near clipping plane distance (meters).",format:"float",title:"Near Plane",type:"number","x-display-type":"Float","x-unit":"m"},offset:{default:[0,0],description:"Projection center offset for stereoscopic rendering (meters).",items:{format:"float",type:"number"},maxItems:2,minItems:2,title:"Offset",type:"array","x-display-type":"Vector2","x-unit":"m"}},title:"Perspective Lens",type:"object","x-category":"camera","x-requires":{allOf:["camera"]}},physics_material:{description:"Physical surface properties used for contact: friction, restitution, optional contact modification, and trigger mode.",properties:{contactVelocity:{default:[0,0,0],description:"Applied contact velocity offset when colliding (m/s). Only used if modifyContact is true.",items:{format:"float",type:"number"},maxItems:3,minItems:3,title:"Contact Velocity",type:"array","x-display-type":"Vector3","x-unit":"m/s"},dynamicFriction:{default:.5,description:"Dynamic (kinetic) friction coefficient (typically 0..1). If greater than staticFriction, staticFriction is clamped up to match. Effective value is averaged with the other surface.",format:"float",title:"Dynamic Friction",type:"number","x-display-type":"Float"},isTrigger:{default:!1,description:"Treat associated geometry as a trigger (generates events but no physical response).",title:"Is Trigger",type:"boolean","x-display-type":"Boolean"},modifyContact:{default:!1,description:"Enable contact modification (applies contactVelocity on collisions).",title:"Modify Contact",type:"boolean","x-display-type":"Boolean"},restitution:{default:0,description:"Restitution (bounciness) in [0,1]. 0 = no bounce; 1 = perfectly elastic. Effective value is averaged with the other surface.",format:"float",title:"Restitution",type:"number","x-display-type":"Float"},staticFriction:{default:.5,description:"Static friction coefficient (typically 0..1). 0 feels like ice; higher resists start of motion. Effective value is averaged with the other surface.",format:"float",title:"Static Friction",type:"number","x-display-type":"Float"}},title:"Physics Material",type:"object","x-category":"physics","x-requires":{oneOf:["box_geometry","capsule_geometry","cylinder_geometry","plane_geometry","sphere_geometry","collision_geometry_ref"]}},plane_geometry:{description:"Infinite plane geometry.",properties:{distance:{default:0,description:"Signed distance from the origin along the plane normal (meters).",format:"float",title:"Distance",type:"number","x-display-type":"Float","x-unit":"m"},normal:{default:[0,1,0],description:"Unit normal vector of the plane (in local space).",items:{format:"float",type:"number"},maxItems:3,minItems:3,title:"Normal",type:"array","x-display-type":"Vector3"}},title:"Plane Geometry",type:"object","x-category":"geometry","x-requires":{allOf:["local_transform"]}},point_cloud_ref:{description:"Reference to a point cloud.",properties:{value:{description:"Referenced point cloud (UUID).",pattern:"^(00000000-0000-0000-0000-000000000000|[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})$",title:"Value",type:"string","x-asset-ref":"point_cloud","x-display-type":"UUID"}},title:"Point Cloud Reference",type:"object","x-category":"point cloud","x-requires":{allOf:["local_transform"]}},point_light:{description:"Omnidirectional light source with physically based intensity and falloff. Acts as a point light by default; enable isDirectional to emit parallel rays. Attach a Spot Light component to add a cone cutoff. Can optionally drive the atmosphere sun direction.",properties:{color:{default:[1,1,1],description:"RGB light color in linear space [0\u20131]. Multiplies intensity.",items:{format:"float",type:"number"},maxItems:3,minItems:3,title:"Color",type:"array","x-display-type":"Vector3"},intensity:{default:1,description:"Radiant intensity (W/sr). Controls brightness for physically based shading (inverse-square falloff).",format:"float",title:"Intensity",type:"number","x-display-type":"Float","x-unit":"W/sr"},isDirectional:{default:!1,description:"Treat this as a directional light using the entity's orientation; position is ignored.",title:"Is Directional",type:"boolean","x-display-type":"Boolean"},isSun:{default:!1,description:"Use this light's direction to control the atmosphere sun direction. Only one light should be marked as the sun; multiple are undefined.",title:"Is Sun",type:"boolean","x-display-type":"Boolean"},range:{default:0,description:"Hard cutoff distance for light influence and culling (meters). Set to 0 for no hard cutoff and physically correct inverse-square attenuation.",format:"float",title:"Range",type:"number","x-display-type":"Float","x-unit":"m"}},title:"Light",type:"object","x-category":"lighting","x-requires":{allOf:["local_transform"]}},reflection_probe:{description:"Omnidirectional reflection probe that captures the local environment into a cubemap for specular reflections (IBL).",properties:{farDist:{default:100,description:"Capture far clip distance (meters).",format:"float",title:"Far Dist",type:"number","x-display-type":"Float","x-unit":"m"},nearDist:{default:.1,description:"Capture near clip distance (meters).",format:"float",title:"Near Dist",type:"number","x-display-type":"Float","x-unit":"m"},offset:{default:[0,0,0],description:"Offset of the probe capture origin relative to the entity position (meters).",items:{format:"float",type:"number"},maxItems:3,minItems:3,title:"Offset",type:"array","x-display-type":"Vector3","x-unit":"m"},quality:{default:128,description:"Reflection cubemap resolution (pixels per face). Higher values increase detail and cost.",format:"int32",title:"Quality",type:"integer","x-display-type":"Integer"}},title:"Reflection probe",type:"object","x-category":"lighting","x-requires":{allOf:["local_transform","box_geometry"]}},rigid_body:{description:"Rigid body parameters for dynamic simulation (mass, damping, limits, CCD, and kinematic/gravity behavior).",properties:{angularDamping:{default:.05,description:"Angular damping coefficient (s^-1). 0 = no damping; must be non-negative.",format:"float",minimum:0,title:"Angular Damping",type:"number","x-display-type":"Float","x-unit":"s^-1"},centerOfMass:{default:[0,0,0],description:"Center of mass relative to the entity's local transform (meters).",items:{format:"float",type:"number"},maxItems:3,minItems:3,title:"Center of Mass",type:"array","x-display-type":"Vector3","x-unit":"m"},collisionDetection:{default:0,description:"Collision detection mode (CCD). Kinematic bodies do not support Linear/Continuous CCD.",format:"int8",minimum:0,oneOf:[{const:0,description:"Discrete collision detection.",title:"Discrete"},{const:1,description:"Linear, or sweep-based, CCD. This prevents the affected rigid bodies from going through other physics bodies at high velocities (a problem also known as tunnelling). Not functional with kinematic rigid bodies.",title:"LinearContinuous"},{const:2,description:"Angular, or speculative, CCD is better at catching missed contacts generated by fast angular motions but not as good with fast linear motions. Angular CCD is cheaper but less robust compared to linear CCD.",title:"AngularContinuous"},{const:3,description:"Linear and angular CCD are enabled. This often results in best-of-both-worlds behavior. Not functional with kinematic rigid bodies.",title:"Continuous"}],title:"Collision Detection",type:"integer","x-display-type":"Unsigned Byte"},isKinematic:{default:!1,description:"Treat the rigid body as kinematic (unaffected by forces; driven by animation/app logic).",title:"Is Kinematic",type:"boolean","x-display-type":"Boolean"},linearDamping:{default:0,description:"Linear damping coefficient (s^-1). 0 = no damping; must be non-negative.",format:"float",minimum:0,title:"Linear Damping",type:"number","x-display-type":"Float","x-unit":"s^-1"},lockedAxis:{default:0,description:"Lock motion along/around the specified axes.",format:"int8",minimum:0,title:"Locked Axis",type:"integer","x-bitFlags":[{description:"Locks motion along the X axis.",name:"Linear X",value:1},{description:"Locks motion along the Y axis.",name:"Linear Y",value:2},{description:"Locks motion along the Z axis.",name:"Linear Z",value:4},{description:"Locks motion around the X axis.",name:"Angular X",value:8},{description:"Locks motion around the Y axis.",name:"Angular Y",value:16},{description:"Locks motion around the Z axis.",name:"Angular Z",value:32}],"x-display-type":"Unsigned Byte"},mass:{default:1,description:"Mass (kg). A value of 0 is treated as infinite mass (static).",format:"float",title:"Mass",type:"number","x-display-type":"Float","x-unit":"kg"},maxAngularVelocity:{default:100,description:"Maximum angular velocity (rad/s). Must be non-negative.",format:"float",minimum:0,title:"Max Angular Velocity",type:"number","x-display-type":"Float","x-unit":"rad/s"},maxLinearVelocity:{default:1e16,description:"Maximum linear velocity (m/s). Must be non-negative.",format:"float",minimum:0,title:"Max Linear Velocity",type:"number","x-display-type":"Float","x-unit":"m/s"},useGravity:{default:!0,description:"Whether the rigid body is affected by gravity.",title:"Use Gravity",type:"boolean","x-display-type":"Boolean"}},title:"Rigid Body",type:"object","x-category":"physics","x-requires":{allOf:["local_transform","physics_material"]}},scene_ref:{description:"Reference to a subscene (linker); used to compose scenes.",properties:{maxRecursionCount:{default:1,description:"Maximum recursion depth when a scene references itself.",format:"int32",minimum:0,title:"Max Recursion Count",type:"integer","x-display-type":"Unsigned Integer"},value:{description:"Referenced scene (UUID).",pattern:"^(00000000-0000-0000-0000-000000000000|[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})$",title:"Value",type:"string","x-asset-ref":"scene","x-display-type":"UUID"}},title:"Scene Reference",type:"object","x-category":"linker","x-requires":{allOf:["local_transform"]}},script_element:{description:"References a script and supplies its input values.",properties:{dataJSON:{description:"Script input values in JSON; schema defined by scriptRef.",title:"Data Json",type:"object","x-display-type":"JSON"},scriptRef:{description:"Referenced script (UUID).",pattern:"^(00000000-0000-0000-0000-000000000000|[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})$",title:"Script Ref",type:"string","x-asset-ref":"script","x-display-type":"UUID"}},title:"Script Element",type:"object","x-category":"scripting"},script_map:{description:"Holds a set of script elements keyed by UUID.",properties:{elements:{additionalProperties:{description:"References a script and supplies its input values.",properties:{dataJSON:{description:"Script input values in JSON; schema defined by scriptRef.",title:"Data Json",type:"object","x-display-type":"JSON"},scriptRef:{description:"Referenced script (UUID).",pattern:"^(00000000-0000-0000-0000-000000000000|[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})$",title:"Script Ref",type:"string","x-asset-ref":"script","x-display-type":"UUID"}},title:"Script Element",type:"object","x-category":"scripting"},description:"Map of script UUID to script element.",title:"Elements",type:"object"}},title:"Script Map",type:"object","x-category":"scripting"},shadow_caster:{description:"Enables a light to cast real-time shadows with configurable map resolution, depth range, and (for directional lights) cascades.",properties:{accumulateShadowCascades:{default:!0,description:"Directional lights only: blend/accumulate all cascades to reduce visible transitions between splits.",title:"Accumulate Shadow Cascades",type:"boolean","x-display-type":"Boolean"},bias:{default:.004,description:"Depth bias applied during shadow tests to reduce self-shadowing (acne). Increase to mitigate artifacts; too high causes peter-panning.",format:"float",title:"Bias",type:"number","x-display-type":"Float"},cascadeCount:{default:4,description:"Directional lights only: number of cascades for CSM. 0 = static shadow map, 1\u20134 = increasing cascade count.",format:"int8",oneOf:[{const:0,description:"A single, precomputed shadow map that does not depend on the camera's view. Provides consistent shadows across the scene but lacks adaptability for dynamic perspectives or varying levels of detail.",title:"Static Shadow Map"},{const:1,description:"One shadow layer for the entire view. Provides consistent but basic coverage, suitable for simple scenes or performance-critical applications.",title:"Single Cascade"},{const:2,description:"Two layers of shadow refinement enhance detail near the viewer while managing distant shadows more efficiently.",title:"Dual Cascade"},{const:3,description:"Three shadow regions create a balanced depth, offering clarity across close and mid-range distances.",title:"Triple Cascade"},{const:4,description:"Four layers provide precise and adaptive shadow detail, ensuring realistic depth and smooth transitions across a wide range of distances.",title:"Quad Cascade"}],title:"Cascade Count",type:"integer","x-display-type":"Byte"},cascadeSplitLambda:{default:.94,description:"Directional lights only: cascade split distribution for CSM. 0 = uniform (linear) splits; 1 = logarithmic (more resolution near the camera). Values in [0,1] blend between the two.",format:"float",title:"Cascade Split Lambda",type:"number","x-display-type":"Float"},farDist:{default:100,description:"Shadow camera far clip distance (meters). Use the smallest range that contains casters/receivers.",format:"float",title:"Far Dist",type:"number","x-display-type":"Float","x-unit":"m"},nearDist:{default:.1,description:"Shadow camera near clip distance (meters). Tighten to improve depth precision.",format:"float",title:"Near Dist",type:"number","x-display-type":"Float","x-unit":"m"},quality:{default:1024,description:"Shadow map resolution (pixels per side). Higher values increase detail at the cost of memory and performance.",format:"int32",oneOf:[{const:256,description:"Shadows are vague and blocky, providing just enough to indicate their general presence.",title:"Ultra-Low (256x256)"},{const:512,description:"Shadows appear soft and blurry, offering a basic sense of shape with little detail.",title:"Very Low (512x512)"},{const:1024,description:"Shadows are smoother and moderately clear but lack sharpness, giving a gentle impression of depth.",title:"Low (1024x1024)"},{const:2048,description:"Standard quality with adequate clarity for most scenes. Shadows are defined but not overly sharp.",title:"Medium-Low (2048x2048)"},{const:3072,description:"*RECOMMENDED* Shadows have clean edges and are crisp enough to make fine details noticeable in most environments.",title:"Medium (3072x3072)"},{const:4096,description:"High-quality shadows with detailed edges and accurate representation of shape and form.",title:"Medium High (4096x4096)"},{const:6144,description:"Sharp and precise shadows that maintain clarity even for intricate details. Suitable for premium visual fidelity.",title:"High (6144x6144)"},{const:8192,description:"Hyper-realistic shadows with razor-sharp detail and unparalleled depth, delivering cinematic-level quality.",title:"Ultra High (8192x8192)"}],title:"Quality",type:"integer","x-display-type":"Integer"}},title:"Shadow caster",type:"object","x-category":"lighting","x-requires":{allOf:["point_light"]}},skeleton_ref:{description:"Reference to a skeleton asset for skinning and animation.",properties:{value:{description:"Referenced skeleton (UUID).",pattern:"^(00000000-0000-0000-0000-000000000000|[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})$",title:"Value",type:"string","x-asset-ref":"skeleton","x-display-type":"UUID"}},title:"Skeleton Reference",type:"object","x-category":"animation","x-requires":{allOf:["local_transform"],oneOf:["mesh_ref","bone"]}},sound_ref:{description:"Reference to a sound asset with playback and spatialization controls.",properties:{attenuationModel:{default:0,description:"Distance attenuation model.",format:"int8",minimum:0,oneOf:[{const:0,description:"No attenuation.",title:"No Attenuation"},{const:1,description:"Inverse distance attenuation model.",title:"Inverse Distance"},{const:2,description:"Linear distance attenuation model.",title:"Linear Distance"},{const:3,description:"Exponential distance attenuation model.",title:"Exponential Distance"}],title:"Attenuation Model",type:"integer","x-display-type":"Unsigned Byte"},attenuationRolloffFactor:{default:1,description:"Rolloff factor for distance attenuation.",format:"float",minimum:0,title:"Attenuation Rolloff Factor",type:"number","x-display-type":"Float"},autoPlayOnStart:{default:!1,description:"Autoplay when the simulation starts.",title:"Auto Play on Start",type:"boolean","x-display-type":"Boolean"},dopplerFactor:{default:1,description:"Scale factor for the Doppler effect.",format:"float",minimum:0,title:"Doppler Factor",type:"number","x-display-type":"Float"},inaudibleBehavior:{default:0,description:"Behavior when the sound becomes inaudible.",format:"int8",minimum:0,oneOf:[{const:0,description:"Continue updating while inaudible.",title:"Tick"},{const:1,description:"Suspend updates while inaudible.",title:"Don't Tick"},{const:2,description:"Stop playback and release resources when inaudible.",title:"Kill"}],title:"Inaudible Behavior",type:"integer","x-display-type":"Unsigned Byte"},looping:{default:!1,description:"Whether the sound loops.",title:"Looping",type:"boolean","x-display-type":"Boolean"},maxDistance:{default:50,description:"Distance beyond which the sound is inaudible (meters).",format:"float",minimum:0,title:"Max Distance",type:"number","x-display-type":"Float","x-unit":"m"},minDistance:{default:5,description:"Distance at which the sound stays at max volume (meters).",format:"float",minimum:0,title:"Min Distance",type:"number","x-display-type":"Float","x-unit":"m"},pan:{default:0,description:"Stereo pan. \u22121 = left, 1 = right.",format:"float",maximum:1,minimum:-1,title:"Pan",type:"number","x-display-type":"Float"},playSpeed:{default:1,description:"Playback speed multiplier (1.0 = normal).",format:"float",title:"Play Speed",type:"number","x-display-type":"Float"},value:{description:"Referenced sound (UUID).",pattern:"^(00000000-0000-0000-0000-000000000000|[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})$",title:"Value",type:"string","x-asset-ref":"sound","x-display-type":"UUID"},volume:{default:1,description:"Playback volume [0..1].",format:"float",maximum:1,minimum:0,title:"Volume",type:"number","x-display-type":"Float"}},title:"Sound Reference",type:"object","x-category":"sound","x-requires":{allOf:["local_transform"]}},sphere_geometry:{description:"Sphere geometry.",properties:{offset:{default:[0,0,0],description:"Local offset of the geometry origin (meters).",items:{format:"float",type:"number"},maxItems:3,minItems:3,title:"Offset",type:"array","x-display-type":"Vector3","x-unit":"m"},radius:{default:.5,description:"Radius of the sphere (meters).",format:"float",title:"Radius",type:"number","x-display-type":"Float","x-unit":"m"}},title:"Sphere Geometry",type:"object","x-category":"geometry","x-requires":{allOf:["local_transform"]}},spline:{description:"Displays an editor-only spline in the 3D view.",properties:{color:{default:[1,1,1],description:"Display color of the curve.",items:{format:"float",type:"number"},maxItems:3,minItems:3,title:"Color",type:"array","x-display-type":"Vector3"},tension:{default:.5,description:"Catmull-Rom tension (only when type is Catmull-Rom).",format:"float",title:"Tension",type:"number","x-display-type":"Float"},type:{default:0,description:"Spline interpolation type.",format:"int32",minimum:0,oneOf:[{const:0,title:"Centripetal"},{const:1,title:"Chordal "},{const:2,title:"Catmullrom"}],title:"Type",type:"integer","x-display-type":"Unsigned Integer"}},title:"Spline",type:"object","x-category":"editor","x-requires":{allOf:["local_transform"]}},spot_light:{description:"Adds a cone cutoff to a light, producing a spotlight. Requires a Point Light component for color/intensity and falloff.",properties:{IESProfile:{description:"Optional IES photometric profile (2D texture). Modulates emitted intensity by direction; leave empty for uniform distribution.",pattern:"^(00000000-0000-0000-0000-000000000000|[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})$",title:"Ies Profile",type:"string","x-asset-ref":"texture","x-display-type":"UUID"},cutoff:{default:30,description:"Outer cone half-angle in degrees. Light intensity falls to zero outside this angle.",format:"float",title:"Cutoff",type:"number","x-display-type":"Float","x-unit":"deg"}},title:"Spot Light",type:"object","x-category":"lighting","x-requires":{allOf:["point_light"]}},tags:{description:"Free-form tags used to group and filter entities.",properties:{value:{description:"List of tags applied to this entity.",items:{type:"string","x-display-type":"String"},title:"Value",type:"array"}},title:"Tags",type:"object","x-category":"core"},vehicle_controller:{description:"Vehicle Controller parameters.",properties:{chassis:{description:"The chassis.",properties:{linkage:{default:[],items:{description:"A unique identifier for an entity. It should be unique across all entities in the scene, but it is not guaranteed to be unique across all scenes.",pattern:"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",type:"string","x-display-type":"Entity Unique Identifier"},type:"array"},originalEUID:{default:"00000000-0000-0000-0000-000000000000",description:"A unique identifier for an entity. It should be unique across all entities in the scene, but it is not guaranteed to be unique across all scenes.",pattern:"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",type:"string","x-display-type":"Entity Unique Identifier"}},required:["originalEUID","linkage"],title:"Chassis",type:"object","x-display-type":"Entity Reference"},frontLeftWheel:{description:"The front left wheel.",properties:{linkage:{default:[],items:{description:"A unique identifier for an entity. It should be unique across all entities in the scene, but it is not guaranteed to be unique across all scenes.",pattern:"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",type:"string","x-display-type":"Entity Unique Identifier"},type:"array"},originalEUID:{default:"00000000-0000-0000-0000-000000000000",description:"A unique identifier for an entity. It should be unique across all entities in the scene, but it is not guaranteed to be unique across all scenes.",pattern:"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",type:"string","x-display-type":"Entity Unique Identifier"}},required:["originalEUID","linkage"],title:"Front Left Wheel",type:"object","x-display-type":"Entity Reference"},frontRightWheel:{description:"The front right wheel.",properties:{linkage:{default:[],items:{description:"A unique identifier for an entity. It should be unique across all entities in the scene, but it is not guaranteed to be unique across all scenes.",pattern:"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",type:"string","x-display-type":"Entity Unique Identifier"},type:"array"},originalEUID:{default:"00000000-0000-0000-0000-000000000000",description:"A unique identifier for an entity. It should be unique across all entities in the scene, but it is not guaranteed to be unique across all scenes.",pattern:"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",type:"string","x-display-type":"Entity Unique Identifier"}},required:["originalEUID","linkage"],title:"Front Right Wheel",type:"object","x-display-type":"Entity Reference"},rearLeftWheel:{description:"The rear left wheel.",properties:{linkage:{default:[],items:{description:"A unique identifier for an entity. It should be unique across all entities in the scene, but it is not guaranteed to be unique across all scenes.",pattern:"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",type:"string","x-display-type":"Entity Unique Identifier"},type:"array"},originalEUID:{default:"00000000-0000-0000-0000-000000000000",description:"A unique identifier for an entity. It should be unique across all entities in the scene, but it is not guaranteed to be unique across all scenes.",pattern:"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",type:"string","x-display-type":"Entity Unique Identifier"}},required:["originalEUID","linkage"],title:"Rear Left Wheel",type:"object","x-display-type":"Entity Reference"},rearRightWheel:{description:"The rear right wheel.",properties:{linkage:{default:[],items:{description:"A unique identifier for an entity. It should be unique across all entities in the scene, but it is not guaranteed to be unique across all scenes.",pattern:"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",type:"string","x-display-type":"Entity Unique Identifier"},type:"array"},originalEUID:{default:"00000000-0000-0000-0000-000000000000",description:"A unique identifier for an entity. It should be unique across all entities in the scene, but it is not guaranteed to be unique across all scenes.",pattern:"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",type:"string","x-display-type":"Entity Unique Identifier"}},required:["originalEUID","linkage"],title:"Rear Right Wheel",type:"object","x-display-type":"Entity Reference"}},title:"Vehicle Controller",type:"object","x-category":"physics","x-requires":{allOf:["local_transform"]}},volume_filter:{description:"View filtering and display controls applied to the referenced volume.",properties:{applyGaussianFiltering:{default:!1,description:"Apply Gaussian smoothing when sampling voxels.",title:"Apply Gaussian Filtering",type:"boolean","x-display-type":"Boolean"},enable3D:{default:!0,description:"Whether this volume is visible in the 3D view.",title:"Enable3 D",type:"boolean","x-display-type":"Boolean"},enableMPR:{default:!0,description:"Whether this volume is visible in the MPR (multi-planar reconstruction) view.",title:"Enable Mpr",type:"boolean","x-display-type":"Boolean"},mprColor:{default:[1,1,1],description:"Tint applied to this volume's MPR/projection output.",items:{format:"float",type:"number"},maxItems:3,minItems:3,title:"Mpr Color",type:"array","x-display-type":"Vector3"},range:{default:[0,1],description:"Displayed voxel intensity range [min, max]. Values outside the material's valid range are clamped/ignored.",items:{format:"float",type:"number"},maxItems:2,minItems:2,title:"Range",type:"array","x-display-type":"Vector2"},sampleUnfiltered:{default:!1,description:"Sample texels without hardware filtering (nearest).",title:"Sample Unfiltered",type:"boolean","x-display-type":"Boolean"}},title:"Volume Filter",type:"object","x-category":"rendering","x-requires":{allOf:["volume_ref"]}},volume_material_ref:{description:"Reference to the volume material used for shading and transfer functions.",properties:{value:{description:"Referenced volume material (UUID).",pattern:"^(00000000-0000-0000-0000-000000000000|[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})$",title:"Value",type:"string","x-asset-ref":"volume_material","x-display-type":"UUID"}},title:"Volume Material Reference",type:"object","x-category":"rendering","x-requires":{allOf:["volume_ref"]}},volume_ref:{description:"Reference to a volumetric dataset stored as a 3D texture (voxels).",properties:{texture3dRef:{description:"Referenced 3D texture (UUID) containing the volume voxels.",pattern:"^(00000000-0000-0000-0000-000000000000|[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})$",title:"Texture3d Ref",type:"string","x-asset-ref":"texture_3d","x-display-type":"UUID"}},title:"Volume Reference",type:"object","x-category":"rendering","x-requires":{allOf:["local_transform","volume_material_ref"]}}},required:["euid"],type:"object"};import{jsx as ne,jsxs as Lt}from"react/jsx-runtime";var se=({name:e,hasLinkToReference:t=!1,className:i})=>{let a=Ze.properties[e],r=kt[e],n=e==="*_geometry"?"box_geometry; capsule_geometry; cylinder_geometry; plane_geometry; sphere_geometry":e;if(!a||!r)return ne("span",{children:e});let{color:s}=r,c=e==="*_geometry"?"/references/entity-components#box_geometry":`/references/entity-components#${e}`;return Lt("span",{className:Tt("no-underline! inline-flex items-baseline gap-2 w-fit my-0 me-1","text-[90%] font-medium tracking-wide rounded-full whitespace-nowrap cursor-default","bg-current/10 border border-transparent has-[.link-to-ref:hover]:border-current/20 transition-colors",!t&&"pr-3",i),style:{color:s},children:[ne(Te,{componentId:e,className:"h-5 text-4xs"}),ne("span",{className:"text-primary",children:a?.title}),t&&ne("a",{href:c,className:"link-to-ref px-1 mr-0.5 h-full text-xs text-current! rounded-full opacity-70 hover:opacity-100 hover:bg-ground/50 transition-all",children:ne(Nt,{className:"fal fa-external-link-square text-sm"})})]})};import{entityComponents as Et}from"@3dverse/design-tokens";import{clsx as _t}from"clsx";import{twMerge as Mt}from"tailwind-merge";function o(...e){return Mt(_t(e))}import{jsx as M,jsxs as K}from"react/jsx-runtime";function At({allOf:e,oneOf:t,withAttributes:i,className:a}){return K("article",{className:o("relative w-fit flex flex-col flex-wrap my-4 border border-primary-alpha rounded-[1.5rem]",a),children:[M("div",{className:"absolute [writing-mode:vertical-rl] rotate-180 top-1/2 -left-3 -translate-x-1/2 -translate-y-1/2 text-[.6rem] font-medium text-tertiary tracking-wider opacity-60 uppercase",children:"Entity"}),M("div",{className:"flex flex-wrap gap-2 p-2",children:e?.map(r=>M(Bt,{name:r,withAttributes:i}))}),t&&K("div",{className:"flex gap-3 pl-4 p-2 border-t border-secondary-alpha",children:[K("div",{className:"shrink-0 mt-px text-3xs text-tertiary font-medium",children:[M("i",{className:"fal fa-plus mr-1"})," One of"]}),M("div",{className:"flex flex-wrap gap-2",children:t.map(r=>M(se,{name:r}))})]})]})}var Bt=({name:e,withAttributes:t})=>{if(t&&Object.keys(t).includes(e)){let{color:i}=Et[e];return K("div",{className:"flex flex-col bg-(--entity-component-color)/5 rounded-[14px]",style:{"--entity-component-color":i},children:[M(se,{name:e,className:"w-full"}),M(Ut,{attributes:t[e]})]})}return M(se,{name:e})},Ut=({attributes:e})=>M("div",{className:"flex flex-col flex-wrap gap-1 p-2 pr-4 text-xs text-tertiary",children:Object.entries(e).map(([t,i])=>K("div",{className:"flex gap-1",children:[K("span",{className:"font-mono",children:[t,":"]}),M("span",{className:"font-mono",children:JSON.stringify(i)})]},t))});var Le={glowEffect:"d",glowEffectWide:"l"};import{jsx as Ft}from"react/jsx-runtime";var qt=({children:e,variant:t="default",className:i})=>Ft("div",{className:o(Le.glowEffect,t==="wide"&&Le.glowEffectWide,i),children:e});import{Fragment as We,jsx as l,jsxs as T}from"react/jsx-runtime";var Vt=({items:e=[],connections:t=[],gridSize:i=40,cellSize:a=70,containerWidth:r=800,containerHeight:n=400,caption:s,animateOnScroll:c=!0,className:D})=>{let B=y=>({animationFillMode:"both",...c?{animationTimeline:"view(block)",animationRange:"entry 25% entry 100%"}:{animationDelay:y}}),g=(y,f)=>{let m=(y-f)*(a/2),u=(y+f)*(a/4);return{x:m,y:u}},b=r/2,x=n/2,p=()=>{let y=[],f=i/2;for(let m=-f;m<=f;m++){let u=g(-f,m),C=g(f,m);y.push(l("line",{x1:b+u.x,y1:x+u.y,x2:b+C.x,y2:x+C.y,stroke:"rgba(100, 150, 200, 0.4)",strokeWidth:"1"},`h-${m}`))}for(let m=-f;m<=f;m++){let u=g(m,-f),C=g(m,f);y.push(l("line",{x1:b+u.x,y1:x+u.y,x2:b+C.x,y2:x+C.y,stroke:"rgba(100, 150, 200, 0.4)",strokeWidth:"1"},`v-${m}`))}return y},v=(y,f,m)=>{let C=`arrow-${y}-${m}`;return l("marker",{id:C,markerWidth:10,markerHeight:10,refX:y==="end"?6:4,refY:10/2,orient:"auto",markerUnits:"userSpaceOnUse",children:l("polygon",{points:y==="end"?`0,0 10,${10/2} 0,10`:`10,0 0,${10/2} 10,10`,fill:f})})},h=()=>t.map((y,f)=>{let{from_x:m,from_y:u,to_x:C,to_y:V,via_x:G=m,via_y:H=u,arrow_start:ue,arrow_end:ie,color:O="#fbbf24",name:oe,showDebug:ye,isAnimated:ge=!1,animationDirection:xe="end"}=y,k=[],U=[],P=m,N=u;if(k.push(g(P,N)),P!==G){let d=G;U.push({from:{x:P,y:N},to:{x:d,y:N}}),P=d,k.push(g(P,N))}if(N!==H){let d=H;U.push({from:{x:P,y:N},to:{x:P,y:d}}),N=d,k.push(g(P,N))}if(P!==C){let d=C;U.push({from:{x:P,y:N},to:{x:d,y:N}}),P=d,k.push(g(P,N))}if(N!==V){let d=V;U.push({from:{x:P,y:N},to:{x:P,y:d}}),N=d,k.push(g(P,N))}let ae=U[0],Oe=0;U.forEach(d=>{let R=d.to.x-d.from.x,Z=d.to.y-d.from.y,W=Math.hypot(R,Z);W>Oe&&(Oe=W,ae=d)});let he=g(ae.from.x,ae.from.y),be=g(ae.to.x,ae.to.y),dt=b+(he.x+be.x)/2,ct=x+(he.y+be.y)/2,mt=Math.atan2(be.y-he.y,be.x-he.x)*(180/Math.PI),ft=(d=>{let R=(d+180)%360-180;return R>90&&(R-=180),R<-90&&(R+=180),R})(mt),ut=k.map((d,R)=>{let Z=b+d.x,W=x+d.y;return R===0?`M ${Z},${W}`:`L ${Z},${W}`}).join(" "),qe=0;for(let d=1;d<k.length;d++){let R=k[d-1],Z=k[d],W=b+R.x,bt=x+R.y,vt=b+Z.x,wt=x+Z.y;qe+=Math.hypot(vt-W,wt-bt)}let Fe=Math.max(1.2,qe/150),Ve=`conn-path-${f}`,yt=`arrow-start-${f*2}`,gt=`arrow-end-${f*2+1}`,xt=()=>T("defs",{children:[ue&&v("start",O,f*2),ie&&v("end",O,f*2+1)]}),ve=({reverse:d=!1,begin:R="0s"})=>T("g",{filter:"url(#conn-glow)",children:[l("ellipse",{cx:"5",cy:"0",rx:"4",ry:"2",fill:O,opacity:"0.8"}),l("animateMotion",{dur:`${Fe}s`,repeatCount:"indefinite",begin:R,keyPoints:d?"1;0":"0;1",keyTimes:"0;1",calcMode:"linear",rotate:"auto",children:l("mpath",{xlinkHref:`#${Ve}`})})]}),ht=()=>ge?xe==="both"?T(We,{children:[l(ve,{reverse:!1,begin:"0s"}),l(ve,{reverse:!0,begin:`${Fe/2}s`})]}):xe==="start"?l(ve,{reverse:!0}):l(ve,{reverse:!1}):null;return T("g",{className:"animate-appear-top cursor-default",style:B(".2s"),children:[l(xt,{}),l("path",{id:Ve,d:ut,stroke:O,strokeWidth:"2",strokeLinecap:"round",fill:"none",markerStart:ue?`url(#${yt})`:void 0,markerEnd:ie?`url(#${gt})`:void 0,style:y.style}),ht(),oe&&l("g",{transform:`translate(${dt}, ${ct}) rotate(${ft})`,children:l("text",{x:"12",y:"12",textAnchor:"middle",dominantBaseline:"middle",className:"text-sm font-bold fill-accent",children:oe})}),ye&&l(We,{children:k.map((d,R)=>l("circle",{cx:b+d.x,cy:x+d.y,r:"3",fill:R===0?"red":R===k.length-1?"green":"blue"},R))})]},f)}),S=()=>e.map((y,f)=>{let{x:m,y:u,width:C,height:V,color:G="#52548B",name:H,showDebug:ue,image:ie}=y,O=g(m,u),oe=g(m+C,u),ye=g(m+C,u-V),ge=g(m,u-V),xe=[[b+O.x,x+O.y],[b+oe.x,x+oe.y],[b+ye.x,x+ye.y],[b+ge.x,x+ge.y]].map(([U,P])=>`${U},${P}`).join(" "),k=g(m+C/2,u-V/2);return l("g",{className:"group animate-appear-top cursor-default",style:B(),children:T("g",{className:"drop-shadow-[0_9px_7px_var(--shadow-color)] hover:drop-shadow-[0_12px_10px_var(--shadow-color)] hover:[--translate:-8px] transition-transform duration-300",style:{"--shadow-color":`color-mix(in srgb, ${G} 10%, var(--color-bg-ground))`,translate:"0 var(--translate, -4px)"},children:[l("polygon",{points:xe,fill:G,strokeLinejoin:"round",className:"opacity-80 group-hover:opacity-100 transition-opacity duration-all duration-300"}),ie&&(()=>{let U=b+O.x+5,P=x+O.y-80;return l("image",{href:ie,x:U,y:P,width:"128px"})})(),H&&T("g",{transform:`translate(${b+k.x}, ${x+k.y})`,children:[l("rect",{x:-(H.length*4+8),y:-12,width:H.length*8+16,height:24,fill:"#181a59",fillOpacity:"0.8",rx:"4"}),l("text",{x:0,y:0,textAnchor:"middle",dominantBaseline:"middle",className:"text-base",fill:"white",children:H})]}),ue&&T("text",{x:b+k.x,y:x+k.y+20,textAnchor:"middle",fill:"white",fontSize:"10",opacity:"0.7",children:["(",m,", ",u,")"]})]})},f)});return T("figure",{className:o("m-0 w-full",D),role:"img","aria-label":s,children:[T("svg",{viewBox:`0 0 ${r} ${n}`,preserveAspectRatio:"xMidYMid meet",className:"w-full",children:[T("defs",{children:[T("filter",{id:"conn-glow",x:"-50%",y:"-50%",width:"200%",height:"200%",children:[l("feGaussianBlur",{in:"SourceGraphic",stdDeviation:"3",result:"blur"}),T("feMerge",{children:[l("feMergeNode",{in:"blur"}),l("feMergeNode",{in:"SourceGraphic"})]})]}),T("mask",{id:"fadeMask",maskUnits:"objectBoundingBox",children:[T("radialGradient",{id:"fadeGradient",children:[l("stop",{offset:"40%",stopColor:"white"}),l("stop",{offset:"90%",stopColor:"black"})]}),l("rect",{width:"100%",height:"100%",fill:"url(#fadeGradient)"})]}),T("filter",{id:"text-backdrop-blur",x:"-200%",y:"-200%",width:"500%",height:"500%",children:[l("feGaussianBlur",{in:"BackgroundImage",stdDeviation:"20",result:"blurredBg"}),l("feFlood",{floodColor:"black",floodOpacity:"0.8",result:"bgColor"}),l("feComposite",{in:"bgColor",in2:"blurredBg",operator:"in",result:"coloredBlur"}),l("feComposite",{in:"coloredBlur",in2:"SourceGraphic",operator:"over",result:"final"})]})]}),l("rect",{width:r,height:n,fill:"transparent"}),l("g",{mask:"url(#fadeMask)",children:p()}),h(),S()]}),s&&l("figcaption",{className:"-translate-y-6 text-center text-sm text-tertiary text-balance",children:s})]})};import{jsx as z,jsxs as _e}from"react/jsx-runtime";var zt=({style:e,className:t=""})=>_e("svg",{viewBox:"0 0 99 20",xmlns:"http://www.w3.org/2000/svg",style:e,className:t,children:[z("path",{fill:"var(--color-wordmark-prefix, var(--color-brand))",d:"M6.059 19.351c-.92733 0-1.79833-.1733-2.613-.52-.81467-.3553-1.521-.858-2.119-1.508-.589333-.65-1.018333-1.417-1.2869999-2.301L2.666 14.294c.25133.806.689 1.4257 1.313 1.859.624.4247 1.31733.6327 2.08.624.68467-.0087 1.287-.169 1.807-.481.52-.312.92733-.7323 1.222-1.261.29467-.5373.442-1.1527.442-1.846 0-1.04-.325-1.898-.975-2.574-.64133-.676-1.482-1.014-2.522-1.014-.29467 0-.598.04333-.91.13-.30333.08667-.58933.19933-.858.338L2.991 7.924l6.604-5.837.286.78h-9.1V.279999h11.258V2.867L6.553 8.145l-.026-.884c1.17867 0 2.20133.26433 3.068.793.8667.52 1.534 1.23067 2.002 2.132.4767.8927.715 1.8937.715 3.003 0 1.196-.2817 2.2577-.845 3.185-.5547.9273-1.3043 1.6553-2.249 2.184-.936.5287-1.989.793-3.159.793Zm15.4769.039c-1.3087 0-2.4397-.325-3.393-.975-.9447-.65-1.677-1.534-2.197-2.652-.5113-1.1267-.767-2.392-.767-3.796 0-1.4127.26-2.67367.78-3.783.52-1.118 1.2567-1.99767 2.21-2.639.962-.65 2.1017-.975 3.419-.975 1.326 0 2.4397.325 3.341.975.91.64133 1.5947 1.521 2.054 2.639.468 1.118.702 2.379.702 3.783s-.234 2.665-.702 3.783c-.468 1.118-1.157 2.0063-2.067 2.665-.91.65-2.0367.975-3.38.975Zm.377-2.457c.8927 0 1.6207-.2123 2.184-.637.5633-.4247.975-1.0097 1.235-1.755.26-.7453.39-1.6033.39-2.574 0-.9707-.1343-1.8287-.403-2.574-.26-.74533-.6673-1.326-1.222-1.742-.546-.416-1.2437-.624-2.093-.624-.9013 0-1.6423.221-2.223.663-.5807.442-1.014 1.03567-1.3 1.781-.2773.7453-.416 1.5773-.416 2.496 0 .9273.1387 1.768.416 2.522.286.7453.7107 1.339 1.274 1.781.572.442 1.2913.663 2.158.663ZM25.7219 19V8.899h-.312V.279999h2.73V19h-2.418Z"}),z("path",{fill:"var(--color-wordmark, var(--color-content-secondary))",d:"m35.8333 19-5.096-14.04h2.743l3.731 10.634 3.731-10.634h2.743L38.5893 19h-2.756Zm16.1734.39c-1.3953 0-2.6217-.3033-3.679-.91-1.0487-.6153-1.8677-1.469-2.457-2.561-.5807-1.1007-.871-2.3747-.871-3.822 0-1.534.286-2.86433.858-3.991.5807-1.12667 1.3867-1.99767 2.418-2.613 1.0313-.61533 2.2317-.923 3.601-.923 1.43 0 2.6477.33367 3.653 1.001 1.0053.65867 1.755 1.599 2.249 2.821.5027 1.222.702 2.6737.598 4.355h-2.717v-.988c-.0173-1.6293-.3293-2.834-.936-3.614-.598-.78-1.5123-1.17-2.743-1.17-1.3607 0-2.3833.429-3.068 1.287-.6847.858-1.027 2.0973-1.027 3.718 0 1.5427.3423 2.7387 1.027 3.588.6847.8407 1.6727 1.261 2.964 1.261.8493 0 1.5817-.1907 2.197-.572.624-.39 1.1093-.9447 1.456-1.664l2.665.845c-.546 1.2567-1.3737 2.2317-2.483 2.925-1.1093.6847-2.3443 1.027-3.705 1.027Zm-5.005-6.643v-2.119h10.023v2.119h-10.023ZM61.5534 19V4.96h2.418v3.406l-.338-.442c.1733-.45067.3986-.86233.676-1.235.2773-.38133.598-.69333.962-.936.3553-.26.7496-.45933 1.183-.598.442-.14733.8926-.234 1.352-.26.4593-.03467.9013-.013 1.326.065v2.548c-.4594-.12133-.9707-.156-1.534-.104-.5547.052-1.066.22967-1.534.533-.442.286-.793.63267-1.053 1.04-.2514.40733-.4334.86233-.546 1.365-.1127.494-.169 1.0183-.169 1.573V19h-2.743Zm15.1758.377c-1.7073 0-3.0983-.377-4.173-1.131-1.0746-.754-1.7333-1.8157-1.976-3.185l2.782-.429c.1734.728.572 1.3043 1.196 1.729.6327.416 1.417.624 2.353.624.8494 0 1.5124-.1733 1.989-.52.4854-.3467.728-.8233.728-1.43 0-.3553-.0866-.6413-.26-.858-.1646-.2253-.5156-.4377-1.053-.637-.5373-.1993-1.3563-.4463-2.457-.741-1.2046-.312-2.1623-.6457-2.873-1.001-.702-.364-1.2046-.7843-1.508-1.261-.2946-.4853-.442-1.07033-.442-1.755 0-.84933.2254-1.59033.676-2.223.4507-.63267 1.0834-1.12233 1.898-1.469.8234-.34667 1.7854-.52 2.886-.52 1.0747 0 2.0324.169 2.873.507.8407.338 1.521.819 2.041 1.443.52.61533.832 1.339.936 2.171l-2.782.507c-.0953-.676-.4116-1.209-.949-1.599-.5373-.39-1.235-.60233-2.093-.637-.8233-.03467-1.4906.104-2.002.416-.5113.30333-.767.72367-.767 1.261 0 .312.0954.57633.286.793.1994.21667.5807.42467 1.144.624.5634.1993 1.3954.4377 2.496.715 1.1787.3033 2.1147.6413 2.808 1.014.6934.364 1.1874.8017 1.482 1.313.3034.5027.455 1.1137.455 1.833 0 1.3867-.507 2.4743-1.521 3.263-1.0053.7887-2.3963 1.183-4.173 1.183Zm15.0575.013c-1.3953 0-2.6217-.3033-3.679-.91-1.0487-.6153-1.8677-1.469-2.457-2.561-.5807-1.1007-.871-2.3747-.871-3.822 0-1.534.286-2.86433.858-3.991.5807-1.12667 1.3867-1.99767 2.418-2.613 1.0313-.61533 2.2317-.923 3.601-.923 1.43 0 2.6477.33367 3.653 1.001 1.0053.65867 1.755 1.599 2.249 2.821.5027 1.222.702 2.6737.598 4.355h-2.717v-.988c-.0173-1.6293-.3293-2.834-.936-3.614-.598-.78-1.5123-1.17-2.743-1.17-1.3607 0-2.3833.429-3.068 1.287-.6847.858-1.027 2.0973-1.027 3.718 0 1.5427.3423 2.7387 1.027 3.588.6847.8407 1.6727 1.261 2.964 1.261.8493 0 1.5817-.1907 2.197-.572.624-.39 1.1093-.9447 1.456-1.664l2.665.845c-.546 1.2567-1.3737 2.2317-2.483 2.925-1.1093.6847-2.3443 1.027-3.705 1.027Zm-5.005-6.643v-2.119h10.023v2.119h-10.023Z"})]}),Me=({style:e,className:t=""})=>_e("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:e,className:t,children:[z("path",{d:"M5.28808 19.7527L14.1837 28.4509L14.1837 39.9995L5.28302 31.294L5.28808 19.7527Z",fill:"var(--logo-color, #8d670b)"}),z("path",{d:"M33.9949 19.7527L25.0993 28.4509L25.0993 39.9995L34 31.294L33.9949 19.7527Z",fill:"var(--logo-color, #8d670b)"}),z("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M29.3294 13.2721L34.2049 19.747V31.294L24.9911 19.747V24.8481H24.9904V24.8488L14.4968 24.8488V19.7477H14.4968V19.747L5.28302 31.294L5.28302 19.7527L10.1585 13.28V9.17384C10.1585 3.05795 14.9512 0 19.744 0C22.106 0 24.468 0.742731 26.2563 2.22819C28.0966 3.75685 29.3294 6.07206 29.3294 9.17384L29.3294 13.2721L29.3294 13.2721ZM19.744 5.75545C21.2537 5.75545 22.7634 6.83514 22.7634 8.99452L22.7634 13.2748L16.7245 13.2773V8.99452C16.7245 7.40326 17.5444 6.3983 18.5799 5.97965C18.9496 5.83019 19.3468 5.75545 19.744 5.75545ZM16.7245 13.2773V13.28L22.7634 13.28L16.7245 13.28V13.2773H16.7245ZM19.7439 29.9788L14.4968 24.8488L24.9911 24.8488L19.7439 29.9788Z",fill:"url(#logo-rocket-gradient)"}),z("defs",{children:_e("linearGradient",{id:"logo-rocket-gradient",x1:"12.0755",y1:"1.88679",x2:"31.3208",y2:"32.4528",gradientUnits:"userSpaceOnUse",children:[z("stop",{"stop-color":"var(--logo-top-color, #f0c732)"}),z("stop",{offset:"1","stop-color":"var(--logo-bottom-color, #ffc800)"})]})})]});var Ee={spinnerLogo:"s",circle:"e",loaderRotate:"r"};import{jsx as Xe,jsxs as Gt}from"react/jsx-runtime";var jt=()=>Gt("div",{className:Ee.spinnerLogo,children:[Xe(Me,{}),Xe("span",{className:Ee.circle})]});import{assets as Wt}from"@3dverse/design-tokens";import{jsx as le,jsxs as Zt}from"react/jsx-runtime";var Ht="relative inline-flex items-center justify-center after:content-[''] after:absolute after:left-1/2 after:top-1/2 after:w-[125%] after:h-0.5 after:rounded-[1px] after:bg-accent after:-translate-x-1/2 after:-translate-y-1/2 after:-rotate-45 after:origin-center after:pointer-events-none";function w({variant:e,crossed:t,className:i,style:a}){return e==="shadowCast"?Zt("div",{role:"img",className:"relative text-tertiary",style:a,children:[le(w,{className:o("relative z-10",i)}),le(w,{className:o("absolute top-0 left-0 translate-x-[40%] translate-y-[15%] scale-94 text-underground/80",i),style:{filter:"drop-shadow(3px 6px 30px color-mix(in oklab, var(--color-content-tertiary) 80%, transparent))"}})]}):t?le("span",{className:Ht,style:a,"aria-hidden":!0,children:le("i",{"data-slot":"icon",className:i})}):le("i",{"data-slot":"icon",className:i,style:a,"aria-hidden":!0})}import{Fragment as Jt,jsx as pe}from"react/jsx-runtime";var Xt=({assetId:e,variant:t,weight:i,className:a=""})=>{let{color:r,fontAwesome:n}=Wt[e],s=t==="file"?`
1
+ var X={container:"t",inner:"o",innerShape:"i",shape:"a",shapeAlt:"n"};import{jsx as we,jsxs as Ct}from"react/jsx-runtime";var Pe=["#EDB5FB","#FBB5B5","#F4D35B","#B5FBF7","#B5DDFB","#B5C2FB","#CBB5FB","#189AB4","#75E6DA","#D4F1F4","#EF7C8E","#FAE8E0","#B6E2D3","#D8A7B1","#F6EEE0","#E4B7A0","#C38370","#94DFE6","#EBDCC7","#B5EECB","#DCC5C3","#D6E1EB","#ADC4D7","#FACB80","#FBD8B0","#feb191","#a2f9c6"],re=[{},{borderWidth:"2px",borderStyle:"solid",borderColor:"currentColor",backgroundColor:"transparent"},{scale:"0.75"},{scale:"0.5"},{borderRadius:"9999px"},{borderRadius:"9999px",borderWidth:"2px",borderStyle:"solid",borderColor:"currentColor",backgroundColor:"transparent"},{borderRadius:"9999px",height:"50%",translate:"0 50%"},{borderRadius:"9999px",scale:"0.5"},{borderTopLeftRadius:"9999px",borderTopRightRadius:"9999px"},{borderTopRightRadius:"9999px",borderBottomRightRadius:"9999px"},{borderBottomRightRadius:"9999px",borderBottomLeftRadius:"9999px"},{borderTopLeftRadius:"9999px",borderBottomLeftRadius:"9999px"},{borderTopLeftRadius:"9999px",borderTopRightRadius:"9999px",height:"50%"},{borderTopRightRadius:"9999px",borderBottomRightRadius:"9999px",width:"50%"},{borderBottomRightRadius:"9999px",borderBottomLeftRadius:"9999px",height:"50%"},{borderTopLeftRadius:"9999px",borderBottomLeftRadius:"9999px",width:"50%"},{borderBottomRightRadius:"9999px",borderTopLeftRadius:"9999px"},{borderBottomLeftRadius:"9999px",borderTopRightRadius:"9999px"},{},{},{borderRadius:"100% 0% 100% 0% / 100% 100% 0% 0%"},{borderRadius:"100% 0% 100% 0% / 100% 100% 0% 0%",transform:"rotate(180deg)"},{borderRadius:"100% 0% 100% 0% / 100% 100% 0% 0%",transform:"rotate(180deg) scaleY(-1)"},{borderRadius:"100% 0% 100% 0% / 100% 100% 0% 0%",transform:"scaleY(-1)"},{clipPath:"polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%)"},{clipPath:"polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%)"},{clipPath:'path("M12 4.248c-3.148-5.402-12-3.825-12 2.944 0 4.661 5.571 9.427 12 15.808 6.43-6.381 12-11.147 12-15.808 0-6.792-8.875-8.306-12-2.944z")'},{clipPath:"polygon(0 0, 0% 100%, 100% 100%)"},{clipPath:"polygon(61% 50%, 100% 0, 100% 100%, 0% 100%)"}],De=re.length,Se=Pe.length,ze=[0,180,270],ke=101,$e=200,je=301,It=({id:e,shape:t,colors:i,className:o,style:r})=>{let n=Number(e?.replace(/\D/g,"").replace(/-/g,"")),s=[Pe[i?.[0]??Math.floor(n%ke%Se)],Pe[i?.[1]??Math.floor(n%$e%Se)],Pe[i?.[2]??Math.floor(n%je%Se)]],c=t||[Math.floor(n%ke%De),Math.floor(n%$e%De),Math.floor(n%je%De)],D=ze[n%ke%ze.length];return we("div",{role:"img","aria-label":"Project icon",className:`${X.container} ${o}`,style:{"--gradient-from":s[1],"--gradient-to":s[2],"--gradient-stops":"var(--gradient-from), var(--gradient-to)",...r},children:Ct("div",{className:X.innerShape,style:{color:s[0],rotate:`${D}deg`},children:[we("span",{className:X.shape,style:{...re[c[0]],boxShadow:"5px 0px 0px 6px color-mix(in srgb, currentColor 40%, transparent), 4px 0px 0px 32px color-mix(in srgb, currentColor 30%, transparent)"}}),we("span",{className:`${X.shape} ${X.shapeAlt}`,style:re[c[1]]}),we("span",{className:X.shape,style:re[c[2]]})]})})};import{entityComponents as kt}from"@3dverse/design-tokens";import{Icon as Nt,cn as Tt}from"@3dverse/ui-lib";import{entityComponents as Ge}from"@3dverse/design-tokens";import{Icon as Rt,cn as Dt}from"@3dverse/ui-lib";import{Fragment as He,jsx as Ne}from"react/jsx-runtime";var Te=({componentId:e,variant:t="default",style:i,className:o=""})=>{if(!Ge[e])return Ne(He,{children:e});let{color:r,fontAwesome:n}=Ge[e];return n?Ne(Rt,{className:Dt("flex! justify-center items-center h-[2.5em] w-auto! aspect-square shrink-0 text-base text-current bg-current/20 rounded-full","fal",n,o),style:{color:r,boxShadow:t==="special"?"0 0 10px color-mix(in srgb, var(--entity-component-color), var(--color-bg-underground) 100%), 20px 0 0px -11px color-mix(in srgb, currentcolor, transparent 85%), -20px 0 0px -11px color-mix(in srgb, currentcolor, transparent 85%)":void 0,...i}}):Ne(He,{children:e})};var Ze={properties:{animation_controller:{description:"Drives skeletal animation using an Animation Graph and Animation Set; animates descendant skinned meshes whose skeletons are compatible with the set.",properties:{animationGraphRef:{description:"Referenced Animation Graph (UUID).",pattern:"^(00000000-0000-0000-0000-000000000000|[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})$",title:"Animation Graph Ref",type:"string","x-asset-ref":"animation_graph","x-display-type":"UUID"},animationSetRef:{description:"Referenced Animation Set (UUID).",pattern:"^(00000000-0000-0000-0000-000000000000|[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})$",title:"Animation Set Ref",type:"string","x-asset-ref":"animation_set","x-display-type":"UUID"},dataJSON:{description:"Animation Graph input parameters in JSON format.",title:"Data Json",type:"object","x-display-type":"JSON"},rootBoneEntityRef:{description:"Entity containing the Bone component for the skeleton's root bone.",properties:{linkage:{default:[],items:{description:"A unique identifier for an entity. It should be unique across all entities in the scene, but it is not guaranteed to be unique across all scenes.",pattern:"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",type:"string","x-display-type":"Entity Unique Identifier"},type:"array"},originalEUID:{default:"00000000-0000-0000-0000-000000000000",description:"A unique identifier for an entity. It should be unique across all entities in the scene, but it is not guaranteed to be unique across all scenes.",pattern:"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",type:"string","x-display-type":"Entity Unique Identifier"}},required:["originalEUID","linkage"],title:"Root Bone Entity Ref",type:"object","x-display-type":"Entity Reference"},rootMotionEnabled:{default:!1,description:"Enable root motion extraction and application to the entity transform.",title:"Root Motion Enabled",type:"boolean","x-display-type":"Boolean"}},title:"Animation Controller",type:"object","x-category":"animation"},animation_sequence_controller:{description:"Controls playback of an Animation Sequence; assigns tracks to entities.",properties:{animationSequenceRef:{description:"Referenced Animation Sequence (UUID).",pattern:"^(00000000-0000-0000-0000-000000000000|[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})$",title:"Animation Sequence Ref",type:"string","x-asset-ref":"animation_sequence","x-display-type":"UUID"},entities:{additionalProperties:{properties:{linkage:{default:[],items:{description:"A unique identifier for an entity. It should be unique across all entities in the scene, but it is not guaranteed to be unique across all scenes.",pattern:"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",type:"string","x-display-type":"Entity Unique Identifier"},type:"array"},originalEUID:{default:"00000000-0000-0000-0000-000000000000",description:"A unique identifier for an entity. It should be unique across all entities in the scene, but it is not guaranteed to be unique across all scenes.",pattern:"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",type:"string","x-display-type":"Entity Unique Identifier"}},required:["originalEUID","linkage"],type:"object","x-display-type":"Entity Reference"},description:"Map from track UUID to assigned entity.",title:"Entities",type:"object"},loop:{default:!1,description:"Loop playback when reaching the stop offset.",title:"Loop",type:"boolean","x-display-type":"Boolean"},playbackSpeed:{default:1,description:"Playback speed multiplier. Negative values play in reverse.",format:"float",title:"Playback Speed",type:"number","x-display-type":"Float"},startOffset:{default:0,description:"Normalized start offset [0, 1].",format:"float",maximum:1,minimum:0,title:"Start Offset",type:"number","x-display-type":"Float"},stopOffset:{default:1,description:"Normalized stop offset [0, 1]. When looping, playback wraps to startOffset at this point.",format:"float",maximum:1,minimum:0,title:"Stop Offset",type:"number","x-display-type":"Float"}},title:"Animation Sequence Controller",type:"object","x-category":"animation"},bone:{description:"Associates this entity with a bone in a skeleton (for attachments and transforms).",properties:{boneIndex:{description:"Zero-based index of this bone within the bound skeleton.",format:"int32",minimum:0,title:"Bone Index",type:"integer","x-display-type":"Unsigned Integer"}},title:"Bone",type:"object","x-category":"animation","x-requires":{allOf:["local_transform"]}},box_geometry:{description:"Box geometry.",properties:{dimension:{default:[1,1,1],description:"Box dimensions (width, height, depth) in meters.",items:{format:"float",type:"number"},maxItems:3,minItems:3,title:"Dimension",type:"array","x-display-type":"Vector3","x-unit":"m"},offset:{default:[0,0,0],description:"Local offset of the geometry origin (meters).",items:{format:"float",type:"number"},maxItems:3,minItems:3,title:"Offset",type:"array","x-display-type":"Vector3","x-unit":"m"}},title:"Box Geometry",type:"object","x-category":"geometry","x-requires":{allOf:["local_transform"]}},camera:{description:"Virtual camera.",properties:{dataJSON:{description:"Render Graph input parameters in JSON; schema defined by renderGraphRef.",title:"Data Json",type:"object","x-display-type":"JSON"},renderGraphRef:{description:"Referenced render graph to use for rendering from this camera.",pattern:"^(00000000-0000-0000-0000-000000000000|[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})$",title:"Render Graph Ref",type:"string","x-asset-ref":"render_graph","x-display-type":"UUID"},renderTargetIndex:{default:-1,description:"Index of the render target to blit/output to. -1 indicates the default target.",format:"int32",title:"Render Target Index",type:"integer","x-display-type":"Integer"}},title:"Camera",type:"object","x-category":"camera","x-requires":{allOf:["local_transform"],oneOf:["orthographic_lens","perspective_lens","custom_lens"]}},capsule_geometry:{description:"Capsule geometry.",properties:{axis:{default:1,description:"Alignment axis of the capsule: 0=X, 1=Y, 2=Z.",format:"int32",oneOf:[{const:0,description:"Capsule is aligned with the X Axis.",title:"X-Axis"},{const:1,description:"Capsule is aligned with the Y Axis.",title:"Y-Axis"},{const:2,description:"Capsule is aligned with the Z Axis.",title:"Z-Axis"}],title:"Axis",type:"integer","x-display-type":"Integer"},height:{default:1,description:"Height of the cylindrical mid-section (meters).",format:"float",title:"Height",type:"number","x-display-type":"Float","x-unit":"m"},offset:{default:[0,0,0],description:"Local offset of the geometry origin (meters).",items:{format:"float",type:"number"},maxItems:3,minItems:3,title:"Offset",type:"array","x-display-type":"Vector3","x-unit":"m"},radius:{default:.5,description:"Radius of the hemispherical ends (meters).",format:"float",title:"Radius",type:"number","x-display-type":"Float","x-unit":"m"}},title:"Capsule Geometry",type:"object","x-category":"geometry","x-requires":{allOf:["local_transform"]}},character_controller:{description:"Kinematic character controller for collision-constrained movement without a rigid body. Uses tuned collision handling for responsive control.",properties:{skinWidth:{default:0,description:"Collision skin width (meters).",format:"float",title:"Skin Width",type:"number","x-display-type":"Float","x-unit":"m"},slopeLimit:{default:45,description:"Maximum walkable slope (degrees). Slopes steeper than this are not walkable.",format:"float",title:"Slope Limit",type:"number","x-display-type":"Float","x-unit":"deg"},stepOffset:{default:0,description:"Maximum climbable step height. Steps higher than this cannot be climbed automatically.",format:"float",title:"Step Offset",type:"number","x-display-type":"Float","x-unit":"m"}},title:"Character Controller",type:"object","x-category":"physics","x-requires":{allOf:["local_transform","physics_material"],oneOf:["box_geometry","capsule_geometry"]}},collision_geometry_ref:{description:"Reference to a collision geometry asset used by physics.",properties:{collisionGeometryRef:{description:"Referenced collision geometry (UUID).",pattern:"^(00000000-0000-0000-0000-000000000000|[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})$",title:"Collision Geometry Ref",type:"string","x-asset-ref":"collision_geometry","x-display-type":"UUID"}},title:"Collision Geometry Reference",type:"object","x-category":"physics","x-requires":{allOf:["local_transform","physics_material"]}},constraint:{description:"6-DoF constraint built on a Joint. Defaults to fixed; selectively unlock translation and rotation on X/Y/Z and configure limits and springs.",properties:{motionLimitSpringDamping:{default:[0,0,0],description:"Linear limit spring damping per axis (N\xB7s/m).",items:{format:"float",type:"number"},maxItems:3,minItems:3,title:"Motion Limit Spring Damping",type:"array","x-display-type":"Vector3","x-unit":"N.s/m"},motionLimitSpringStiffness:{default:[0,0,0],description:"Linear limit spring stiffness per axis (N/m). >0 makes the limit soft (spring-like).",items:{format:"float",type:"number"},maxItems:3,minItems:3,title:"Motion Limit Spring Stiffness",type:"array","x-display-type":"Vector3","x-unit":"N/m"},motionLowerLimit:{default:[0,0,0],description:"Lower linear limit per axis (meters).",items:{format:"float",type:"number"},maxItems:3,minItems:3,title:"Motion Lower Limit",type:"array","x-display-type":"Vector3","x-unit":"m"},motionUpperLimit:{default:[0,0,0],description:"Upper linear limit per axis (meters).",items:{format:"float",type:"number"},maxItems:3,minItems:3,title:"Motion Upper Limit",type:"array","x-display-type":"Vector3","x-unit":"m"},swingLimitAngle:{default:[0,0],description:"Swing cone half-angles about Y and Z of the constraint frame (degrees). 0 does not restrict rotation; max 180. Used if either swing axis is limited.",items:{format:"float",type:"number"},maxItems:2,minItems:2,title:"Swing Limit Angle",type:"array","x-display-type":"Vector2","x-unit":"deg"},swingSpringDamping:{default:0,description:"Swing limit spring damping (N\xB7m\xB7s/rad).",format:"float",title:"Swing Spring Damping",type:"number","x-display-type":"Float","x-unit":"N.m.s/rad"},swingSpringStiffness:{default:0,description:"Swing limit spring stiffness (N\xB7m/rad). >0 makes the limit soft.",format:"float",title:"Swing Spring Stiffness",type:"number","x-display-type":"Float","x-unit":"N.m/rad"},twistLimitAngle:{default:[0,0],description:"Twist angle limits (min,max) around the twist axis (degrees). Range (\u2212360, 360).",items:{format:"float",type:"number"},maxItems:2,minItems:2,title:"Twist Limit Angle",type:"array","x-display-type":"Vector2","x-unit":"deg"},twistSpringDamping:{default:0,description:"Twist limit spring damping (N\xB7m\xB7s/rad).",format:"float",title:"Twist Spring Damping",type:"number","x-display-type":"Float","x-unit":"N.m.s/rad"},twistSpringStiffness:{default:0,description:"Twist limit spring stiffness (N\xB7m/rad). >0 makes the limit soft.",format:"float",title:"Twist Spring Stiffness",type:"number","x-display-type":"Float","x-unit":"N.m/rad"},unlockedMotion:{default:0,description:"Unlock motion along/around the specified axes.",format:"int32",minimum:0,title:"Unlocked Motion",type:"integer","x-bitFlags":[{description:"Unlock motion along the X axis.",name:"Along X",value:1},{description:"Unlock motion along the Y axis.",name:"Along Y",value:2},{description:"Unlock motion along the Z axis.",name:"Along Z",value:4},{description:"Unlock motion around the X axis.",name:"Around X",value:8},{description:"Unlock motion around the Y axis.",name:"Around Y",value:16},{description:"Unlock motion around the Z axis.",name:"Around Z",value:32}],"x-display-type":"Unsigned Integer"}},title:"Constraint",type:"object","x-category":"physics","x-requires":{allOf:["joint"]}},constraint_actuator:{description:"Drives a Constraint toward target position/orientation and velocities using configurable stiffness, damping, and force limits.",properties:{angularDamping:{default:[0,0,0],description:"Angular drive damping per axis (N\xB7m\xB7s/rad).",items:{format:"float",type:"number"},maxItems:3,minItems:3,title:"Angular Damping",type:"array","x-display-type":"Vector3","x-unit":"N.m.s/rad"},angularForceLimit:{default:[-1,-1,-1],description:"Max angular drive torque/impulse per axis (N\xB7m). \u22121 = unlimited.",items:{format:"float",type:"number"},maxItems:3,minItems:3,title:"Angular Force Limit",type:"array","x-display-type":"Vector3","x-unit":"N.m"},angularStiffness:{default:[0,0,0],description:"Angular drive stiffness per axis (N\xB7m/rad). >0 applies spring torque toward the goal.",items:{format:"float",type:"number"},maxItems:3,minItems:3,title:"Angular Stiffness",type:"array","x-display-type":"Vector3","x-unit":"N.m/rad"},angularVelocity:{default:[0,0,0],description:"Target angular velocity (rad/s).",items:{format:"float",type:"number"},maxItems:3,minItems:3,title:"Angular Velocity",type:"array","x-display-type":"Vector3","x-unit":"rad/s"},goalOrientation:{default:[0,0,0,1],description:"Target angular orientation.",items:{format:"float",type:"number"},maxItems:4,minItems:4,title:"Goal Orientation",type:"array","x-display-type":"Quaternion"},goalPosition:{default:[0,0,0],description:"Target linear position offset (meters).",items:{format:"float",type:"number"},maxItems:3,minItems:3,title:"Goal Position",type:"array","x-display-type":"Vector3","x-unit":"m"},linearDamping:{default:[0,0,0],description:"Linear drive damping per axis (N\xB7s/m).",items:{format:"float",type:"number"},maxItems:3,minItems:3,title:"Linear Damping",type:"array","x-display-type":"Vector3","x-unit":"N.s/m"},linearForceLimit:{default:[-1,-1,-1],description:"Max linear drive force/impulse per axis (N). \u22121 = unlimited.",items:{format:"float",type:"number"},maxItems:3,minItems:3,title:"Linear Force Limit",type:"array","x-display-type":"Vector3","x-unit":"N"},linearStiffness:{default:[0,0,0],description:"Linear drive stiffness per axis (N/m). >0 applies spring force toward the goal.",items:{format:"float",type:"number"},maxItems:3,minItems:3,title:"Linear Stiffness",type:"array","x-display-type":"Vector3","x-unit":"N/m"},linearVelocity:{default:[0,0,0],description:"Target linear velocity (m/s).",items:{format:"float",type:"number"},maxItems:3,minItems:3,title:"Linear Velocity",type:"array","x-display-type":"Vector3","x-unit":"m/s"},type:{default:1,description:"Drive type: apply as force or as acceleration.",format:"int32",oneOf:[{const:0,title:"FORCE"},{const:1,title:"ACCELERATION"}],title:"Type",type:"integer","x-display-type":"Integer"}},title:"Constraint Actuator",type:"object","x-category":"physics","x-requires":{allOf:["constraint"]}},culling_geometry:{description:"Enables culling using a simple analytic shape. Add alongside a geometry component (box, cylinder, plane, sphere).",properties:{isAdditive:{default:!0,description:"Additive: show elements inside the geometry. Subtractive: show elements outside the geometry.",title:"Is Additive",type:"boolean","x-display-type":"Boolean"}},title:"Culling Geometry",type:"object","x-category":"rendering","x-requires":{allOf:["local_transform"],oneOf:["box_geometry","cylinder_geometry","plane_geometry","sphere_geometry"]}},custom_lens:{description:"Custom projection lens using an explicit projection matrix.",properties:{cs_from_vs:{description:"Projection matrix mapping view-space to clip-space (cs_from_vs).",items:{format:"float",type:"number"},maxItems:16,minItems:16,title:"Cs From Vs",type:"array","x-display-type":"Matrix4"}},title:"Custom Lens",type:"object","x-category":"camera","x-requires":{allOf:["camera"]}},cylinder_geometry:{description:"Cylinder geometry.",properties:{axis:{default:1,description:"Alignment axis of the cylinder: 0=X, 1=Y, 2=Z.",format:"int32",oneOf:[{const:0,description:"Cylinder is aligned with the X Axis.",title:"X-Axis"},{const:1,description:"Cylinder is aligned with the Y Axis.",title:"Y-Axis"},{const:2,description:"Cylinder is aligned with the Z Axis.",title:"Z-Axis"}],title:"Axis",type:"integer","x-display-type":"Integer"},height:{default:1,description:"Height of the cylinder (meters).",format:"float",title:"Height",type:"number","x-display-type":"Float","x-unit":"m"},offset:{default:[0,0,0],description:"Local offset of the geometry origin (meters).",items:{format:"float",type:"number"},maxItems:3,minItems:3,title:"Offset",type:"array","x-display-type":"Vector3","x-unit":"m"},radius:{default:.5,description:"Radius of the cylinder (meters).",format:"float",title:"Radius",type:"number","x-display-type":"Float","x-unit":"m"}},title:"Cylinder Geometry",type:"object","x-category":"geometry","x-requires":{allOf:["local_transform"]}},debug_name:{description:"Human-readable name of the entity.",properties:{value:{description:"Entity name.",title:"Value",type:"string","x-display-type":"String"}},title:"Name",type:"object","x-category":"core"},decal_projector:{description:"Projects a material onto scene surfaces within the projector's box volume.",properties:{zIndex:{default:0,description:"Z-index ordering for decal rendering; higher values render on top of lower ones.",format:"int32",title:"Z Index",type:"integer","x-display-type":"Integer"}},title:"Decal Projector",type:"object","x-category":"rendering","x-requires":{allOf:["local_transform","material_ref","box_geometry"]}},environment:{description:"Scene environment settings, including skybox background and precomputed image-based lighting (IBL). This component is only applied in the scene where this entity lives, it is discarded for subscenes.",properties:{irradianceUUID:{description:"Diffuse irradiance cubemap used for ambient PBR lighting.",pattern:"^(00000000-0000-0000-0000-000000000000|[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})$",title:"Irradiance Uuid",type:"string","x-asset-ref":"cubemap","x-display-type":"UUID"},radianceUUID:{description:"Specular radiance cubemap (prefiltered) used for PBR reflections.",pattern:"^(00000000-0000-0000-0000-000000000000|[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})$",title:"Radiance Uuid",type:"string","x-asset-ref":"cubemap","x-display-type":"UUID"},skyboxUUID:{description:"Skybox cubemap used as the scene background (no lighting effect).",pattern:"^(00000000-0000-0000-0000-000000000000|[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})$",title:"Skybox Uuid",type:"string","x-asset-ref":"cubemap","x-display-type":"UUID"}},title:"Environment",type:"object","x-category":"lighting"},euid:{description:"Unique identifier for the entity.",properties:{value:{description:"Unique identifier value.",pattern:"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",title:"Value",type:"string","x-display-type":"Entity Unique Identifier"}},readOnly:!0,required:["value"],title:"Entity UID",type:"object","x-category":"core"},joint:{description:"Base joint connecting two bodies. By default locks relative position and orientation between constrainer and constrainee.",properties:{breakForce:{default:1e16,description:"Break force threshold (Newtons).",format:"float",title:"Break Force",type:"number","x-display-type":"Float","x-unit":"N"},breakTorque:{default:1e16,description:"Break torque threshold (N\xB7m).",format:"float",title:"Break Torque",type:"number","x-display-type":"Float","x-unit":"N.m"},constrainee:{description:"Entity with a Rigid Body to be constrained.",properties:{linkage:{default:[],items:{description:"A unique identifier for an entity. It should be unique across all entities in the scene, but it is not guaranteed to be unique across all scenes.",pattern:"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",type:"string","x-display-type":"Entity Unique Identifier"},type:"array"},originalEUID:{default:"00000000-0000-0000-0000-000000000000",description:"A unique identifier for an entity. It should be unique across all entities in the scene, but it is not guaranteed to be unique across all scenes.",pattern:"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",type:"string","x-display-type":"Entity Unique Identifier"}},required:["originalEUID","linkage"],title:"Constrainee",type:"object","x-display-type":"Entity Reference","x-required-components":["rigid_body"]},constrainer:{description:"Entity acting as constrainer (rigid/static) or null to constrain to world origin.",properties:{linkage:{default:[],items:{description:"A unique identifier for an entity. It should be unique across all entities in the scene, but it is not guaranteed to be unique across all scenes.",pattern:"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",type:"string","x-display-type":"Entity Unique Identifier"},type:"array"},originalEUID:{default:"00000000-0000-0000-0000-000000000000",description:"A unique identifier for an entity. It should be unique across all entities in the scene, but it is not guaranteed to be unique across all scenes.",pattern:"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",type:"string","x-display-type":"Entity Unique Identifier"}},required:["originalEUID","linkage"],title:"Constrainer",type:"object","x-display-type":"Entity Reference"},enableCollision:{default:!1,description:"Enable collision between constrainer and constrainee bodies.",title:"Enable Collision",type:"boolean","x-display-type":"Boolean"}},title:"Joint",type:"object","x-category":"physics","x-requires":{allOf:["local_transform"]}},label:{description:"Displays an editor-only label in the 3D view.",properties:{camera:{default:[0,0,0,0,0,0,1],description:"Camera framing parameters for navigating to the label.",items:{format:"float",type:"number","x-display-type":"Float"},title:"Camera",type:"array"},description:{description:"Label description text.",title:"Description",type:"string","x-display-type":"String"},speed:{default:15,description:"Camera travel speed (meters/second).",format:"float",title:"Speed",type:"number","x-display-type":"Float"},title:{description:"Label title text.",title:"Title",type:"string","x-display-type":"String"}},title:"Label",type:"object","x-category":"editor","x-requires":{allOf:["local_transform"]}},lineage:{description:"Records the entity's lineage through linkers and parentage.",properties:{ordinal:{default:0,description:"Ordinal index among siblings (editor-only).",format:"int32",title:"Ordinal",type:"integer","x-display-type":"Integer"},parentUUID:{description:"UUID of this entity's parent (default is root).",pattern:"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",title:"Parent Uuid",type:"string","x-display-type":"Entity Unique Identifier"}},title:"Lineage",type:"object","x-category":"core"},local_aabb:{description:"Local-space axis-aligned bounding box.",properties:{max:{description:"Local AABB maximum corner (x,y,z).",items:{format:"float",type:"number"},maxItems:3,minItems:3,title:"Max",type:"array","x-display-type":"Vector3"},min:{description:"Local AABB minimum corner (x,y,z).",items:{format:"float",type:"number"},maxItems:3,minItems:3,title:"Min",type:"array","x-display-type":"Vector3"}},title:"Local AABB",type:"object","x-category":"core"},local_transform:{description:"Local transform of the entity (position, orientation, scale).",properties:{eulerOrientation:{default:[0,0,0],description:"Local orientation as Euler angles (editor-only).",items:{format:"float",type:"number"},maxItems:3,minItems:3,title:"Orientation",type:"array","x-display-type":"Vector3","x-unit":"deg"},globalEulerOrientation:{default:[0,0,0],description:"Last global orientation entered by a user as Euler angles (may be invalid; editor-only).",items:{format:"float",type:"number"},maxItems:3,minItems:3,title:"Global Euler Orientation",type:"array","x-display-type":"Vector3","x-unit":"deg"},orientation:{default:[0,0,0,1],description:"Local orientation as a quaternion.",items:{format:"float",type:"number"},maxItems:4,minItems:4,title:"Orientation",type:"array","x-display-type":"Quaternion"},position:{default:[0,0,0],description:"Local position (x, y, z) in meters.",items:{format:"float",type:"number"},maxItems:3,minItems:3,title:"Position",type:"array","x-display-type":"Vector3","x-unit":"m"},scale:{default:[1,1,1],description:"Local non-uniform scale (x, y, z).",items:{format:"float",type:"number"},maxItems:3,minItems:3,title:"Scale",type:"array","x-display-type":"Vector3"}},title:"Transform",type:"object","x-category":"core"},material:{description:"Assigns a shader to the entity's mesh and provides its input values and specialization constants.",properties:{constantsJSON:{description:"Specialization constants (JSON); schema defined by shaderRef.",title:"Constants Json",type:"object","x-display-type":"JSON"},dataJSON:{description:"Shader input values (JSON); schema defined by shaderRef.",title:"Data Json",type:"object","x-display-type":"JSON"},isDoubleSided:{default:!1,description:"Render both front and back faces (double-sided).",title:"Is Double Sided",type:"boolean","x-display-type":"Boolean"},shaderRef:{description:"Referenced shader (UUID).",pattern:"^(00000000-0000-0000-0000-000000000000|[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})$",title:"Shader Ref",type:"string","x-asset-ref":"shader","x-display-type":"UUID"}},title:"Material",type:"object","x-category":"rendering","x-requires":{allOf:["mesh_ref"]}},material_ref:{description:"Reference to a material to use for rendering.",properties:{faceCulling:{default:0,description:"Face culling override: 0 = inherit from material, 1 = single-sided, 2 = double-sided.",format:"int32",oneOf:[{const:0,title:"Inherit from material"},{const:1,title:"Single Sided"},{const:2,title:"Double Sided"}],title:"Face Culling",type:"integer","x-display-type":"Integer"},value:{description:"Referenced material (UUID).",pattern:"^(00000000-0000-0000-0000-000000000000|[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})$",title:"Value",type:"string","x-asset-ref":"material","x-display-type":"UUID"}},title:"Material Reference",type:"object","x-category":"rendering","x-requires":{oneOf:["mesh_ref","decal_projector"]}},measure:{description:"Displays editor-only measurement annotations in the 3D view.",properties:{color:{default:[1,1,1],description:"Display color for the measurement.",items:{format:"float",type:"number"},maxItems:3,minItems:3,title:"Color",type:"array","x-display-type":"Vector3"},type:{default:0,description:"Measurement type to display.",format:"int32",minimum:0,oneOf:[{const:0,title:"Linear"},{const:1,title:"Angle"},{const:2,title:"Area"},{const:3,title:"Volume"}],title:"Type",type:"integer","x-display-type":"Unsigned Integer"}},title:"Measure",type:"object","x-category":"editor","x-requires":{allOf:["local_transform"]}},mesh_ref:{description:"Reference to a mesh to render (with submesh selection).",properties:{shadowCastingMode:{default:1,description:"Shadow casting mode for this mesh.",format:"int8",minimum:0,oneOf:[{const:0,description:"Shadow casting is disabled for this entity.",title:"Off"},{const:1,description:"Shadow casting is enabled for this entity.",title:"On"}],title:"Shadow Casting Mode",type:"integer","x-display-type":"Unsigned Byte"},submeshIndex:{default:0,description:"Index of the submesh within the mesh's submesh array.",format:"int32",title:"Submesh Index",type:"integer","x-display-type":"Integer"},value:{description:"Referenced mesh (UUID).",pattern:"^(00000000-0000-0000-0000-000000000000|[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})$",title:"Value",type:"string","x-asset-ref":"mesh","x-display-type":"UUID"}},title:"Mesh Reference",type:"object","x-category":"rendering","x-requires":{allOf:["local_transform"],oneOf:["material","material_ref"]}},morph_targets:{description:"Contains weights assigned to morph targets of the mesh referred to by the entity's mesh_ref.",properties:{weights:{additionalProperties:{format:"float",type:"number","x-display-type":"Float"},description:"Map from morph target name to weight (commonly 0..1).",title:"Weights",type:"object"}},title:"Morph Targets",type:"object","x-category":"animation","x-requires":{allOf:["local_transform"]}},orthographic_lens:{description:"Orthographic projection lens with configurable zoom and depth range.",properties:{zFar:{default:100,description:"Far clipping plane distance (meters).",format:"float",title:"Z Far",type:"number","x-display-type":"Float","x-unit":"m"},zNear:{default:0,description:"Near clipping plane distance (meters).",format:"float",title:"Z Near",type:"number","x-display-type":"Float","x-unit":"m"},zoomFactor:{default:[1,1],description:"Zoom factor applied to the orthographic extents (X,Y). 1 = no zoom.",items:{format:"float",type:"number"},maxItems:2,minItems:2,title:"Zoom Factor",type:"array","x-display-type":"Vector2"}},title:"Orthographic Lens",type:"object","x-category":"camera","x-requires":{allOf:["camera"]}},overrider:{description:"Overrides an entity from a subscene: mark for deletion, replace components, or detach specific components.",properties:{componentsToDetach:{description:"Hashes of components to detach from the overridden entity.",items:{format:"int32",type:"integer","x-display-type":"Integer"},title:"Components to Detach",type:"array"},deleter:{default:!1,description:"Mark the overridden entity as deleted in the composed scene.",title:"Deleter",type:"boolean","x-display-type":"Boolean"},entityRef:{description:"Target entity to override.",properties:{linkage:{default:[],items:{description:"A unique identifier for an entity. It should be unique across all entities in the scene, but it is not guaranteed to be unique across all scenes.",pattern:"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",type:"string","x-display-type":"Entity Unique Identifier"},type:"array"},originalEUID:{default:"00000000-0000-0000-0000-000000000000",description:"A unique identifier for an entity. It should be unique across all entities in the scene, but it is not guaranteed to be unique across all scenes.",pattern:"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",type:"string","x-display-type":"Entity Unique Identifier"}},required:["originalEUID","linkage"],title:"Entity Ref",type:"object","x-display-type":"Entity Reference"}},title:"Overrider",type:"object","x-category":"linker"},perspective_lens:{description:"Perspective projection lens with vertical field of view and near/far clipping planes.",properties:{farPlane:{default:0,description:"Far clipping plane distance (meters). Set to 0 for an infinite far plane.",format:"float",title:"Far Plane",type:"number","x-display-type":"Float","x-unit":"m"},fovy:{default:60,description:"Vertical field of view angle in degrees.",format:"float",title:"Vertical Field of View",type:"number","x-display-type":"Float","x-unit":"deg"},nearPlane:{default:.01,description:"Near clipping plane distance (meters).",format:"float",title:"Near Plane",type:"number","x-display-type":"Float","x-unit":"m"},offset:{default:[0,0],description:"Projection center offset for stereoscopic rendering (meters).",items:{format:"float",type:"number"},maxItems:2,minItems:2,title:"Offset",type:"array","x-display-type":"Vector2","x-unit":"m"}},title:"Perspective Lens",type:"object","x-category":"camera","x-requires":{allOf:["camera"]}},physics_material:{description:"Physical surface properties used for contact: friction, restitution, optional contact modification, and trigger mode.",properties:{contactVelocity:{default:[0,0,0],description:"Applied contact velocity offset when colliding (m/s). Only used if modifyContact is true.",items:{format:"float",type:"number"},maxItems:3,minItems:3,title:"Contact Velocity",type:"array","x-display-type":"Vector3","x-unit":"m/s"},dynamicFriction:{default:.5,description:"Dynamic (kinetic) friction coefficient (typically 0..1). If greater than staticFriction, staticFriction is clamped up to match. Effective value is averaged with the other surface.",format:"float",title:"Dynamic Friction",type:"number","x-display-type":"Float"},isTrigger:{default:!1,description:"Treat associated geometry as a trigger (generates events but no physical response).",title:"Is Trigger",type:"boolean","x-display-type":"Boolean"},modifyContact:{default:!1,description:"Enable contact modification (applies contactVelocity on collisions).",title:"Modify Contact",type:"boolean","x-display-type":"Boolean"},restitution:{default:0,description:"Restitution (bounciness) in [0,1]. 0 = no bounce; 1 = perfectly elastic. Effective value is averaged with the other surface.",format:"float",title:"Restitution",type:"number","x-display-type":"Float"},staticFriction:{default:.5,description:"Static friction coefficient (typically 0..1). 0 feels like ice; higher resists start of motion. Effective value is averaged with the other surface.",format:"float",title:"Static Friction",type:"number","x-display-type":"Float"}},title:"Physics Material",type:"object","x-category":"physics","x-requires":{oneOf:["box_geometry","capsule_geometry","cylinder_geometry","plane_geometry","sphere_geometry","collision_geometry_ref"]}},plane_geometry:{description:"Infinite plane geometry.",properties:{distance:{default:0,description:"Signed distance from the origin along the plane normal (meters).",format:"float",title:"Distance",type:"number","x-display-type":"Float","x-unit":"m"},normal:{default:[0,1,0],description:"Unit normal vector of the plane (in local space).",items:{format:"float",type:"number"},maxItems:3,minItems:3,title:"Normal",type:"array","x-display-type":"Vector3"}},title:"Plane Geometry",type:"object","x-category":"geometry","x-requires":{allOf:["local_transform"]}},point_cloud_ref:{description:"Reference to a point cloud.",properties:{value:{description:"Referenced point cloud (UUID).",pattern:"^(00000000-0000-0000-0000-000000000000|[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})$",title:"Value",type:"string","x-asset-ref":"point_cloud","x-display-type":"UUID"}},title:"Point Cloud Reference",type:"object","x-category":"point cloud","x-requires":{allOf:["local_transform"]}},point_light:{description:"Omnidirectional light source with physically based intensity and falloff. Acts as a point light by default; enable isDirectional to emit parallel rays. Attach a Spot Light component to add a cone cutoff. Can optionally drive the atmosphere sun direction.",properties:{color:{default:[1,1,1],description:"RGB light color in linear space [0\u20131]. Multiplies intensity.",items:{format:"float",type:"number"},maxItems:3,minItems:3,title:"Color",type:"array","x-display-type":"Vector3"},intensity:{default:1,description:"Radiant intensity (W/sr). Controls brightness for physically based shading (inverse-square falloff).",format:"float",title:"Intensity",type:"number","x-display-type":"Float","x-unit":"W/sr"},isDirectional:{default:!1,description:"Treat this as a directional light using the entity's orientation; position is ignored.",title:"Is Directional",type:"boolean","x-display-type":"Boolean"},isSun:{default:!1,description:"Use this light's direction to control the atmosphere sun direction. Only one light should be marked as the sun; multiple are undefined.",title:"Is Sun",type:"boolean","x-display-type":"Boolean"},range:{default:0,description:"Hard cutoff distance for light influence and culling (meters). Set to 0 for no hard cutoff and physically correct inverse-square attenuation.",format:"float",title:"Range",type:"number","x-display-type":"Float","x-unit":"m"}},title:"Light",type:"object","x-category":"lighting","x-requires":{allOf:["local_transform"]}},reflection_probe:{description:"Omnidirectional reflection probe that captures the local environment into a cubemap for specular reflections (IBL).",properties:{farDist:{default:100,description:"Capture far clip distance (meters).",format:"float",title:"Far Dist",type:"number","x-display-type":"Float","x-unit":"m"},nearDist:{default:.1,description:"Capture near clip distance (meters).",format:"float",title:"Near Dist",type:"number","x-display-type":"Float","x-unit":"m"},offset:{default:[0,0,0],description:"Offset of the probe capture origin relative to the entity position (meters).",items:{format:"float",type:"number"},maxItems:3,minItems:3,title:"Offset",type:"array","x-display-type":"Vector3","x-unit":"m"},quality:{default:128,description:"Reflection cubemap resolution (pixels per face). Higher values increase detail and cost.",format:"int32",title:"Quality",type:"integer","x-display-type":"Integer"}},title:"Reflection probe",type:"object","x-category":"lighting","x-requires":{allOf:["local_transform","box_geometry"]}},rigid_body:{description:"Rigid body parameters for dynamic simulation (mass, damping, limits, CCD, and kinematic/gravity behavior).",properties:{angularDamping:{default:.05,description:"Angular damping coefficient (s^-1). 0 = no damping; must be non-negative.",format:"float",minimum:0,title:"Angular Damping",type:"number","x-display-type":"Float","x-unit":"s^-1"},centerOfMass:{default:[0,0,0],description:"Center of mass relative to the entity's local transform (meters).",items:{format:"float",type:"number"},maxItems:3,minItems:3,title:"Center of Mass",type:"array","x-display-type":"Vector3","x-unit":"m"},collisionDetection:{default:0,description:"Collision detection mode (CCD). Kinematic bodies do not support Linear/Continuous CCD.",format:"int8",minimum:0,oneOf:[{const:0,description:"Discrete collision detection.",title:"Discrete"},{const:1,description:"Linear, or sweep-based, CCD. This prevents the affected rigid bodies from going through other physics bodies at high velocities (a problem also known as tunnelling). Not functional with kinematic rigid bodies.",title:"LinearContinuous"},{const:2,description:"Angular, or speculative, CCD is better at catching missed contacts generated by fast angular motions but not as good with fast linear motions. Angular CCD is cheaper but less robust compared to linear CCD.",title:"AngularContinuous"},{const:3,description:"Linear and angular CCD are enabled. This often results in best-of-both-worlds behavior. Not functional with kinematic rigid bodies.",title:"Continuous"}],title:"Collision Detection",type:"integer","x-display-type":"Unsigned Byte"},isKinematic:{default:!1,description:"Treat the rigid body as kinematic (unaffected by forces; driven by animation/app logic).",title:"Is Kinematic",type:"boolean","x-display-type":"Boolean"},linearDamping:{default:0,description:"Linear damping coefficient (s^-1). 0 = no damping; must be non-negative.",format:"float",minimum:0,title:"Linear Damping",type:"number","x-display-type":"Float","x-unit":"s^-1"},lockedAxis:{default:0,description:"Lock motion along/around the specified axes.",format:"int8",minimum:0,title:"Locked Axis",type:"integer","x-bitFlags":[{description:"Locks motion along the X axis.",name:"Linear X",value:1},{description:"Locks motion along the Y axis.",name:"Linear Y",value:2},{description:"Locks motion along the Z axis.",name:"Linear Z",value:4},{description:"Locks motion around the X axis.",name:"Angular X",value:8},{description:"Locks motion around the Y axis.",name:"Angular Y",value:16},{description:"Locks motion around the Z axis.",name:"Angular Z",value:32}],"x-display-type":"Unsigned Byte"},mass:{default:1,description:"Mass (kg). A value of 0 is treated as infinite mass (static).",format:"float",title:"Mass",type:"number","x-display-type":"Float","x-unit":"kg"},maxAngularVelocity:{default:100,description:"Maximum angular velocity (rad/s). Must be non-negative.",format:"float",minimum:0,title:"Max Angular Velocity",type:"number","x-display-type":"Float","x-unit":"rad/s"},maxLinearVelocity:{default:1e16,description:"Maximum linear velocity (m/s). Must be non-negative.",format:"float",minimum:0,title:"Max Linear Velocity",type:"number","x-display-type":"Float","x-unit":"m/s"},useGravity:{default:!0,description:"Whether the rigid body is affected by gravity.",title:"Use Gravity",type:"boolean","x-display-type":"Boolean"}},title:"Rigid Body",type:"object","x-category":"physics","x-requires":{allOf:["local_transform","physics_material"]}},scene_ref:{description:"Reference to a subscene (linker); used to compose scenes.",properties:{maxRecursionCount:{default:1,description:"Maximum recursion depth when a scene references itself.",format:"int32",minimum:0,title:"Max Recursion Count",type:"integer","x-display-type":"Unsigned Integer"},value:{description:"Referenced scene (UUID).",pattern:"^(00000000-0000-0000-0000-000000000000|[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})$",title:"Value",type:"string","x-asset-ref":"scene","x-display-type":"UUID"}},title:"Scene Reference",type:"object","x-category":"linker","x-requires":{allOf:["local_transform"]}},script_element:{description:"References a script and supplies its input values.",properties:{dataJSON:{description:"Script input values in JSON; schema defined by scriptRef.",title:"Data Json",type:"object","x-display-type":"JSON"},scriptRef:{description:"Referenced script (UUID).",pattern:"^(00000000-0000-0000-0000-000000000000|[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})$",title:"Script Ref",type:"string","x-asset-ref":"script","x-display-type":"UUID"}},title:"Script Element",type:"object","x-category":"scripting"},script_map:{description:"Holds a set of script elements keyed by UUID.",properties:{elements:{additionalProperties:{description:"References a script and supplies its input values.",properties:{dataJSON:{description:"Script input values in JSON; schema defined by scriptRef.",title:"Data Json",type:"object","x-display-type":"JSON"},scriptRef:{description:"Referenced script (UUID).",pattern:"^(00000000-0000-0000-0000-000000000000|[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})$",title:"Script Ref",type:"string","x-asset-ref":"script","x-display-type":"UUID"}},title:"Script Element",type:"object","x-category":"scripting"},description:"Map of script UUID to script element.",title:"Elements",type:"object"}},title:"Script Map",type:"object","x-category":"scripting"},shadow_caster:{description:"Enables a light to cast real-time shadows with configurable map resolution, depth range, and (for directional lights) cascades.",properties:{accumulateShadowCascades:{default:!0,description:"Directional lights only: blend/accumulate all cascades to reduce visible transitions between splits.",title:"Accumulate Shadow Cascades",type:"boolean","x-display-type":"Boolean"},bias:{default:.004,description:"Depth bias applied during shadow tests to reduce self-shadowing (acne). Increase to mitigate artifacts; too high causes peter-panning.",format:"float",title:"Bias",type:"number","x-display-type":"Float"},cascadeCount:{default:4,description:"Directional lights only: number of cascades for CSM. 0 = static shadow map, 1\u20134 = increasing cascade count.",format:"int8",oneOf:[{const:0,description:"A single, precomputed shadow map that does not depend on the camera's view. Provides consistent shadows across the scene but lacks adaptability for dynamic perspectives or varying levels of detail.",title:"Static Shadow Map"},{const:1,description:"One shadow layer for the entire view. Provides consistent but basic coverage, suitable for simple scenes or performance-critical applications.",title:"Single Cascade"},{const:2,description:"Two layers of shadow refinement enhance detail near the viewer while managing distant shadows more efficiently.",title:"Dual Cascade"},{const:3,description:"Three shadow regions create a balanced depth, offering clarity across close and mid-range distances.",title:"Triple Cascade"},{const:4,description:"Four layers provide precise and adaptive shadow detail, ensuring realistic depth and smooth transitions across a wide range of distances.",title:"Quad Cascade"}],title:"Cascade Count",type:"integer","x-display-type":"Byte"},cascadeSplitLambda:{default:.94,description:"Directional lights only: cascade split distribution for CSM. 0 = uniform (linear) splits; 1 = logarithmic (more resolution near the camera). Values in [0,1] blend between the two.",format:"float",title:"Cascade Split Lambda",type:"number","x-display-type":"Float"},farDist:{default:100,description:"Shadow camera far clip distance (meters). Use the smallest range that contains casters/receivers.",format:"float",title:"Far Dist",type:"number","x-display-type":"Float","x-unit":"m"},nearDist:{default:.1,description:"Shadow camera near clip distance (meters). Tighten to improve depth precision.",format:"float",title:"Near Dist",type:"number","x-display-type":"Float","x-unit":"m"},quality:{default:1024,description:"Shadow map resolution (pixels per side). Higher values increase detail at the cost of memory and performance.",format:"int32",oneOf:[{const:256,description:"Shadows are vague and blocky, providing just enough to indicate their general presence.",title:"Ultra-Low (256x256)"},{const:512,description:"Shadows appear soft and blurry, offering a basic sense of shape with little detail.",title:"Very Low (512x512)"},{const:1024,description:"Shadows are smoother and moderately clear but lack sharpness, giving a gentle impression of depth.",title:"Low (1024x1024)"},{const:2048,description:"Standard quality with adequate clarity for most scenes. Shadows are defined but not overly sharp.",title:"Medium-Low (2048x2048)"},{const:3072,description:"*RECOMMENDED* Shadows have clean edges and are crisp enough to make fine details noticeable in most environments.",title:"Medium (3072x3072)"},{const:4096,description:"High-quality shadows with detailed edges and accurate representation of shape and form.",title:"Medium High (4096x4096)"},{const:6144,description:"Sharp and precise shadows that maintain clarity even for intricate details. Suitable for premium visual fidelity.",title:"High (6144x6144)"},{const:8192,description:"Hyper-realistic shadows with razor-sharp detail and unparalleled depth, delivering cinematic-level quality.",title:"Ultra High (8192x8192)"}],title:"Quality",type:"integer","x-display-type":"Integer"}},title:"Shadow caster",type:"object","x-category":"lighting","x-requires":{allOf:["point_light"]}},skeleton_ref:{description:"Reference to a skeleton asset for skinning and animation.",properties:{value:{description:"Referenced skeleton (UUID).",pattern:"^(00000000-0000-0000-0000-000000000000|[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})$",title:"Value",type:"string","x-asset-ref":"skeleton","x-display-type":"UUID"}},title:"Skeleton Reference",type:"object","x-category":"animation","x-requires":{allOf:["local_transform"],oneOf:["mesh_ref","bone"]}},sound_ref:{description:"Reference to a sound asset with playback and spatialization controls.",properties:{attenuationModel:{default:0,description:"Distance attenuation model.",format:"int8",minimum:0,oneOf:[{const:0,description:"No attenuation.",title:"No Attenuation"},{const:1,description:"Inverse distance attenuation model.",title:"Inverse Distance"},{const:2,description:"Linear distance attenuation model.",title:"Linear Distance"},{const:3,description:"Exponential distance attenuation model.",title:"Exponential Distance"}],title:"Attenuation Model",type:"integer","x-display-type":"Unsigned Byte"},attenuationRolloffFactor:{default:1,description:"Rolloff factor for distance attenuation.",format:"float",minimum:0,title:"Attenuation Rolloff Factor",type:"number","x-display-type":"Float"},autoPlayOnStart:{default:!1,description:"Autoplay when the simulation starts.",title:"Auto Play on Start",type:"boolean","x-display-type":"Boolean"},dopplerFactor:{default:1,description:"Scale factor for the Doppler effect.",format:"float",minimum:0,title:"Doppler Factor",type:"number","x-display-type":"Float"},inaudibleBehavior:{default:0,description:"Behavior when the sound becomes inaudible.",format:"int8",minimum:0,oneOf:[{const:0,description:"Continue updating while inaudible.",title:"Tick"},{const:1,description:"Suspend updates while inaudible.",title:"Don't Tick"},{const:2,description:"Stop playback and release resources when inaudible.",title:"Kill"}],title:"Inaudible Behavior",type:"integer","x-display-type":"Unsigned Byte"},looping:{default:!1,description:"Whether the sound loops.",title:"Looping",type:"boolean","x-display-type":"Boolean"},maxDistance:{default:50,description:"Distance beyond which the sound is inaudible (meters).",format:"float",minimum:0,title:"Max Distance",type:"number","x-display-type":"Float","x-unit":"m"},minDistance:{default:5,description:"Distance at which the sound stays at max volume (meters).",format:"float",minimum:0,title:"Min Distance",type:"number","x-display-type":"Float","x-unit":"m"},pan:{default:0,description:"Stereo pan. \u22121 = left, 1 = right.",format:"float",maximum:1,minimum:-1,title:"Pan",type:"number","x-display-type":"Float"},playSpeed:{default:1,description:"Playback speed multiplier (1.0 = normal).",format:"float",title:"Play Speed",type:"number","x-display-type":"Float"},value:{description:"Referenced sound (UUID).",pattern:"^(00000000-0000-0000-0000-000000000000|[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})$",title:"Value",type:"string","x-asset-ref":"sound","x-display-type":"UUID"},volume:{default:1,description:"Playback volume [0..1].",format:"float",maximum:1,minimum:0,title:"Volume",type:"number","x-display-type":"Float"}},title:"Sound Reference",type:"object","x-category":"sound","x-requires":{allOf:["local_transform"]}},sphere_geometry:{description:"Sphere geometry.",properties:{offset:{default:[0,0,0],description:"Local offset of the geometry origin (meters).",items:{format:"float",type:"number"},maxItems:3,minItems:3,title:"Offset",type:"array","x-display-type":"Vector3","x-unit":"m"},radius:{default:.5,description:"Radius of the sphere (meters).",format:"float",title:"Radius",type:"number","x-display-type":"Float","x-unit":"m"}},title:"Sphere Geometry",type:"object","x-category":"geometry","x-requires":{allOf:["local_transform"]}},spline:{description:"Displays an editor-only spline in the 3D view.",properties:{color:{default:[1,1,1],description:"Display color of the curve.",items:{format:"float",type:"number"},maxItems:3,minItems:3,title:"Color",type:"array","x-display-type":"Vector3"},tension:{default:.5,description:"Catmull-Rom tension (only when type is Catmull-Rom).",format:"float",title:"Tension",type:"number","x-display-type":"Float"},type:{default:0,description:"Spline interpolation type.",format:"int32",minimum:0,oneOf:[{const:0,title:"Centripetal"},{const:1,title:"Chordal "},{const:2,title:"Catmullrom"}],title:"Type",type:"integer","x-display-type":"Unsigned Integer"}},title:"Spline",type:"object","x-category":"editor","x-requires":{allOf:["local_transform"]}},spot_light:{description:"Adds a cone cutoff to a light, producing a spotlight. Requires a Point Light component for color/intensity and falloff.",properties:{IESProfile:{description:"Optional IES photometric profile (2D texture). Modulates emitted intensity by direction; leave empty for uniform distribution.",pattern:"^(00000000-0000-0000-0000-000000000000|[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})$",title:"Ies Profile",type:"string","x-asset-ref":"texture","x-display-type":"UUID"},cutoff:{default:30,description:"Outer cone half-angle in degrees. Light intensity falls to zero outside this angle.",format:"float",title:"Cutoff",type:"number","x-display-type":"Float","x-unit":"deg"}},title:"Spot Light",type:"object","x-category":"lighting","x-requires":{allOf:["point_light"]}},tags:{description:"Free-form tags used to group and filter entities.",properties:{value:{description:"List of tags applied to this entity.",items:{type:"string","x-display-type":"String"},title:"Value",type:"array"}},title:"Tags",type:"object","x-category":"core"},vehicle_controller:{description:"Vehicle Controller parameters.",properties:{chassis:{description:"The chassis.",properties:{linkage:{default:[],items:{description:"A unique identifier for an entity. It should be unique across all entities in the scene, but it is not guaranteed to be unique across all scenes.",pattern:"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",type:"string","x-display-type":"Entity Unique Identifier"},type:"array"},originalEUID:{default:"00000000-0000-0000-0000-000000000000",description:"A unique identifier for an entity. It should be unique across all entities in the scene, but it is not guaranteed to be unique across all scenes.",pattern:"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",type:"string","x-display-type":"Entity Unique Identifier"}},required:["originalEUID","linkage"],title:"Chassis",type:"object","x-display-type":"Entity Reference"},frontLeftWheel:{description:"The front left wheel.",properties:{linkage:{default:[],items:{description:"A unique identifier for an entity. It should be unique across all entities in the scene, but it is not guaranteed to be unique across all scenes.",pattern:"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",type:"string","x-display-type":"Entity Unique Identifier"},type:"array"},originalEUID:{default:"00000000-0000-0000-0000-000000000000",description:"A unique identifier for an entity. It should be unique across all entities in the scene, but it is not guaranteed to be unique across all scenes.",pattern:"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",type:"string","x-display-type":"Entity Unique Identifier"}},required:["originalEUID","linkage"],title:"Front Left Wheel",type:"object","x-display-type":"Entity Reference"},frontRightWheel:{description:"The front right wheel.",properties:{linkage:{default:[],items:{description:"A unique identifier for an entity. It should be unique across all entities in the scene, but it is not guaranteed to be unique across all scenes.",pattern:"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",type:"string","x-display-type":"Entity Unique Identifier"},type:"array"},originalEUID:{default:"00000000-0000-0000-0000-000000000000",description:"A unique identifier for an entity. It should be unique across all entities in the scene, but it is not guaranteed to be unique across all scenes.",pattern:"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",type:"string","x-display-type":"Entity Unique Identifier"}},required:["originalEUID","linkage"],title:"Front Right Wheel",type:"object","x-display-type":"Entity Reference"},rearLeftWheel:{description:"The rear left wheel.",properties:{linkage:{default:[],items:{description:"A unique identifier for an entity. It should be unique across all entities in the scene, but it is not guaranteed to be unique across all scenes.",pattern:"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",type:"string","x-display-type":"Entity Unique Identifier"},type:"array"},originalEUID:{default:"00000000-0000-0000-0000-000000000000",description:"A unique identifier for an entity. It should be unique across all entities in the scene, but it is not guaranteed to be unique across all scenes.",pattern:"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",type:"string","x-display-type":"Entity Unique Identifier"}},required:["originalEUID","linkage"],title:"Rear Left Wheel",type:"object","x-display-type":"Entity Reference"},rearRightWheel:{description:"The rear right wheel.",properties:{linkage:{default:[],items:{description:"A unique identifier for an entity. It should be unique across all entities in the scene, but it is not guaranteed to be unique across all scenes.",pattern:"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",type:"string","x-display-type":"Entity Unique Identifier"},type:"array"},originalEUID:{default:"00000000-0000-0000-0000-000000000000",description:"A unique identifier for an entity. It should be unique across all entities in the scene, but it is not guaranteed to be unique across all scenes.",pattern:"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",type:"string","x-display-type":"Entity Unique Identifier"}},required:["originalEUID","linkage"],title:"Rear Right Wheel",type:"object","x-display-type":"Entity Reference"}},title:"Vehicle Controller",type:"object","x-category":"physics","x-requires":{allOf:["local_transform"]}},volume_filter:{description:"View filtering and display controls applied to the referenced volume.",properties:{applyGaussianFiltering:{default:!1,description:"Apply Gaussian smoothing when sampling voxels.",title:"Apply Gaussian Filtering",type:"boolean","x-display-type":"Boolean"},enable3D:{default:!0,description:"Whether this volume is visible in the 3D view.",title:"Enable3 D",type:"boolean","x-display-type":"Boolean"},enableMPR:{default:!0,description:"Whether this volume is visible in the MPR (multi-planar reconstruction) view.",title:"Enable Mpr",type:"boolean","x-display-type":"Boolean"},mprColor:{default:[1,1,1],description:"Tint applied to this volume's MPR/projection output.",items:{format:"float",type:"number"},maxItems:3,minItems:3,title:"Mpr Color",type:"array","x-display-type":"Vector3"},range:{default:[0,1],description:"Displayed voxel intensity range [min, max]. Values outside the material's valid range are clamped/ignored.",items:{format:"float",type:"number"},maxItems:2,minItems:2,title:"Range",type:"array","x-display-type":"Vector2"},sampleUnfiltered:{default:!1,description:"Sample texels without hardware filtering (nearest).",title:"Sample Unfiltered",type:"boolean","x-display-type":"Boolean"}},title:"Volume Filter",type:"object","x-category":"rendering","x-requires":{allOf:["volume_ref"]}},volume_material_ref:{description:"Reference to the volume material used for shading and transfer functions.",properties:{value:{description:"Referenced volume material (UUID).",pattern:"^(00000000-0000-0000-0000-000000000000|[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})$",title:"Value",type:"string","x-asset-ref":"volume_material","x-display-type":"UUID"}},title:"Volume Material Reference",type:"object","x-category":"rendering","x-requires":{allOf:["volume_ref"]}},volume_ref:{description:"Reference to a volumetric dataset stored as a 3D texture (voxels).",properties:{texture3dRef:{description:"Referenced 3D texture (UUID) containing the volume voxels.",pattern:"^(00000000-0000-0000-0000-000000000000|[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})$",title:"Texture3d Ref",type:"string","x-asset-ref":"texture_3d","x-display-type":"UUID"}},title:"Volume Reference",type:"object","x-category":"rendering","x-requires":{allOf:["local_transform","volume_material_ref"]}}},required:["euid"],type:"object"};import{jsx as ne,jsxs as Lt}from"react/jsx-runtime";var se=({name:e,hasLinkToReference:t=!1,className:i})=>{let o=Ze.properties[e],r=kt[e],n=e==="*_geometry"?"box_geometry; capsule_geometry; cylinder_geometry; plane_geometry; sphere_geometry":e;if(!o||!r)return ne("span",{children:e});let{color:s}=r,c=e==="*_geometry"?"/references/entity-components#box_geometry":`/references/entity-components#${e}`;return Lt("span",{className:Tt("no-underline! inline-flex items-baseline gap-2 w-fit my-0 me-1","text-[90%] font-medium tracking-wide rounded-full whitespace-nowrap cursor-default","bg-current/10 border border-transparent has-[.link-to-ref:hover]:border-current/20 transition-colors",!t&&"pr-3",i),style:{color:s},children:[ne(Te,{componentId:e,className:"h-5 text-4xs"}),ne("span",{className:"text-primary",children:o?.title}),t&&ne("a",{href:c,className:"link-to-ref px-1 mr-0.5 h-full text-xs text-current! rounded-full opacity-70 hover:opacity-100 hover:bg-ground/50 transition-all",children:ne(Nt,{className:"fal fa-external-link-square text-sm"})})]})};import{entityComponents as Et}from"@3dverse/design-tokens";import{clsx as _t}from"clsx";import{twMerge as Mt}from"tailwind-merge";function a(...e){return Mt(_t(e))}import{jsx as M,jsxs as K}from"react/jsx-runtime";function At({allOf:e,oneOf:t,withAttributes:i,className:o}){return K("article",{className:a("relative w-fit flex flex-col flex-wrap my-4 border border-primary-alpha rounded-[1.5rem]",o),children:[M("div",{className:"absolute [writing-mode:vertical-rl] rotate-180 top-1/2 -left-3 -translate-x-1/2 -translate-y-1/2 text-[.6rem] font-medium text-tertiary tracking-wider opacity-60 uppercase",children:"Entity"}),M("div",{className:"flex flex-wrap gap-2 p-2",children:e?.map(r=>M(Bt,{name:r,withAttributes:i},r))}),t&&K("div",{className:"flex gap-3 pl-4 p-2 border-t border-secondary-alpha",children:[K("div",{className:"shrink-0 mt-px text-3xs text-tertiary font-medium",children:[M("i",{className:"fal fa-plus mr-1"})," One of"]}),M("div",{className:"flex flex-wrap gap-2",children:t.map(r=>M(se,{name:r},r))})]})]})}var Bt=({name:e,withAttributes:t})=>{if(t&&Object.keys(t).includes(e)){let{color:i}=Et[e];return K("div",{className:"flex flex-col bg-(--entity-component-color)/5 rounded-[14px]",style:{"--entity-component-color":i},children:[M(se,{name:e,className:"w-full"}),M(Ut,{attributes:t[e]})]})}return M(se,{name:e})},Ut=({attributes:e})=>M("div",{className:"flex flex-col flex-wrap gap-1 p-2 pr-4 text-xs text-tertiary",children:Object.entries(e).map(([t,i])=>K("div",{className:"flex gap-1",children:[K("span",{className:"font-mono",children:[t,":"]}),M("span",{className:"font-mono",children:JSON.stringify(i)})]},t))});var Le={glowEffect:"d",glowEffectWide:"l"};import{jsx as Ft}from"react/jsx-runtime";var qt=({children:e,variant:t="default",className:i})=>Ft("div",{className:a(Le.glowEffect,t==="wide"&&Le.glowEffectWide,i),children:e});import{Fragment as We,jsx as l,jsxs as T}from"react/jsx-runtime";var Vt=({items:e=[],connections:t=[],gridSize:i=40,cellSize:o=70,containerWidth:r=800,containerHeight:n=400,caption:s,animateOnScroll:c=!0,className:D})=>{let B=y=>({animationFillMode:"both",...c?{animationTimeline:"view(block)",animationRange:"entry 25% entry 100%"}:{animationDelay:y}}),g=(y,f)=>{let m=(y-f)*(o/2),u=(y+f)*(o/4);return{x:m,y:u}},h=r/2,x=n/2,p=()=>{let y=[],f=i/2;for(let m=-f;m<=f;m++){let u=g(-f,m),I=g(f,m);y.push(l("line",{x1:h+u.x,y1:x+u.y,x2:h+I.x,y2:x+I.y,stroke:"rgba(100, 150, 200, 0.4)",strokeWidth:"1"},`h-${m}`))}for(let m=-f;m<=f;m++){let u=g(m,-f),I=g(m,f);y.push(l("line",{x1:h+u.x,y1:x+u.y,x2:h+I.x,y2:x+I.y,stroke:"rgba(100, 150, 200, 0.4)",strokeWidth:"1"},`v-${m}`))}return y},v=(y,f,m)=>{let I=`arrow-${y}-${m}`;return l("marker",{id:I,markerWidth:10,markerHeight:10,refX:y==="end"?6:4,refY:10/2,orient:"auto",markerUnits:"userSpaceOnUse",children:l("polygon",{points:y==="end"?`0,0 10,${10/2} 0,10`:`10,0 0,${10/2} 10,10`,fill:f})})},b=()=>t.map((y,f)=>{let{from_x:m,from_y:u,to_x:I,to_y:V,via_x:G=m,via_y:H=u,arrow_start:ue,arrow_end:ie,color:O="#fbbf24",name:ae,showDebug:ye,isAnimated:ge=!1,animationDirection:xe="end"}=y,k=[],U=[],P=m,N=u;if(k.push(g(P,N)),P!==G){let d=G;U.push({from:{x:P,y:N},to:{x:d,y:N}}),P=d,k.push(g(P,N))}if(N!==H){let d=H;U.push({from:{x:P,y:N},to:{x:P,y:d}}),N=d,k.push(g(P,N))}if(P!==I){let d=I;U.push({from:{x:P,y:N},to:{x:d,y:N}}),P=d,k.push(g(P,N))}if(N!==V){let d=V;U.push({from:{x:P,y:N},to:{x:P,y:d}}),N=d,k.push(g(P,N))}let oe=U[0],Oe=0;U.forEach(d=>{let C=d.to.x-d.from.x,Z=d.to.y-d.from.y,W=Math.hypot(C,Z);W>Oe&&(Oe=W,oe=d)});let be=g(oe.from.x,oe.from.y),he=g(oe.to.x,oe.to.y),dt=h+(be.x+he.x)/2,ct=x+(be.y+he.y)/2,mt=Math.atan2(he.y-be.y,he.x-be.x)*(180/Math.PI),ft=(d=>{let C=(d+180)%360-180;return C>90&&(C-=180),C<-90&&(C+=180),C})(mt),ut=k.map((d,C)=>{let Z=h+d.x,W=x+d.y;return C===0?`M ${Z},${W}`:`L ${Z},${W}`}).join(" "),qe=0;for(let d=1;d<k.length;d++){let C=k[d-1],Z=k[d],W=h+C.x,ht=x+C.y,vt=h+Z.x,wt=x+Z.y;qe+=Math.hypot(vt-W,wt-ht)}let Fe=Math.max(1.2,qe/150),Ve=`conn-path-${f}`,yt=`arrow-start-${f*2}`,gt=`arrow-end-${f*2+1}`,xt=()=>T("defs",{children:[ue&&v("start",O,f*2),ie&&v("end",O,f*2+1)]}),ve=({reverse:d=!1,begin:C="0s"})=>T("g",{filter:"url(#conn-glow)",children:[l("ellipse",{cx:"5",cy:"0",rx:"4",ry:"2",fill:O,opacity:"0.8"}),l("animateMotion",{dur:`${Fe}s`,repeatCount:"indefinite",begin:C,keyPoints:d?"1;0":"0;1",keyTimes:"0;1",calcMode:"linear",rotate:"auto",children:l("mpath",{xlinkHref:`#${Ve}`})})]}),bt=()=>ge?xe==="both"?T(We,{children:[l(ve,{reverse:!1,begin:"0s"}),l(ve,{reverse:!0,begin:`${Fe/2}s`})]}):xe==="start"?l(ve,{reverse:!0}):l(ve,{reverse:!1}):null;return T("g",{className:"animate-appear-top cursor-default",style:B(".2s"),children:[l(xt,{}),l("path",{id:Ve,d:ut,stroke:O,strokeWidth:"2",strokeLinecap:"round",fill:"none",markerStart:ue?`url(#${yt})`:void 0,markerEnd:ie?`url(#${gt})`:void 0,style:y.style}),bt(),ae&&l("g",{transform:`translate(${dt}, ${ct}) rotate(${ft})`,children:l("text",{x:"12",y:"12",textAnchor:"middle",dominantBaseline:"middle",className:"text-sm font-bold fill-accent",children:ae})}),ye&&l(We,{children:k.map((d,C)=>l("circle",{cx:h+d.x,cy:x+d.y,r:"3",fill:C===0?"red":C===k.length-1?"green":"blue"},C))})]},f)}),S=()=>e.map((y,f)=>{let{x:m,y:u,width:I,height:V,color:G="#52548B",name:H,showDebug:ue,image:ie}=y,O=g(m,u),ae=g(m+I,u),ye=g(m+I,u-V),ge=g(m,u-V),xe=[[h+O.x,x+O.y],[h+ae.x,x+ae.y],[h+ye.x,x+ye.y],[h+ge.x,x+ge.y]].map(([U,P])=>`${U},${P}`).join(" "),k=g(m+I/2,u-V/2);return l("g",{className:"group animate-appear-top cursor-default",style:B(),children:T("g",{className:"drop-shadow-[0_9px_7px_var(--shadow-color)] hover:drop-shadow-[0_12px_10px_var(--shadow-color)] hover:[--translate:-8px] transition-transform duration-300",style:{"--shadow-color":`color-mix(in srgb, ${G} 10%, var(--color-bg-ground))`,translate:"0 var(--translate, -4px)"},children:[l("polygon",{points:xe,fill:G,strokeLinejoin:"round",className:"opacity-80 group-hover:opacity-100 transition-opacity duration-all duration-300"}),ie&&(()=>{let U=h+O.x+5,P=x+O.y-80;return l("image",{href:ie,x:U,y:P,width:"128px"})})(),H&&T("g",{transform:`translate(${h+k.x}, ${x+k.y})`,children:[l("rect",{x:-(H.length*4+8),y:-12,width:H.length*8+16,height:24,fill:"#181a59",fillOpacity:"0.8",rx:"4"}),l("text",{x:0,y:0,textAnchor:"middle",dominantBaseline:"middle",className:"text-base",fill:"white",children:H})]}),ue&&T("text",{x:h+k.x,y:x+k.y+20,textAnchor:"middle",fill:"white",fontSize:"10",opacity:"0.7",children:["(",m,", ",u,")"]})]})},f)});return T("figure",{className:a("m-0 w-full",D),role:"img","aria-label":s,children:[T("svg",{viewBox:`0 0 ${r} ${n}`,preserveAspectRatio:"xMidYMid meet",className:"w-full",children:[T("defs",{children:[T("filter",{id:"conn-glow",x:"-50%",y:"-50%",width:"200%",height:"200%",children:[l("feGaussianBlur",{in:"SourceGraphic",stdDeviation:"3",result:"blur"}),T("feMerge",{children:[l("feMergeNode",{in:"blur"}),l("feMergeNode",{in:"SourceGraphic"})]})]}),T("mask",{id:"fadeMask",maskUnits:"objectBoundingBox",children:[T("radialGradient",{id:"fadeGradient",children:[l("stop",{offset:"40%",stopColor:"white"}),l("stop",{offset:"90%",stopColor:"black"})]}),l("rect",{width:"100%",height:"100%",fill:"url(#fadeGradient)"})]}),T("filter",{id:"text-backdrop-blur",x:"-200%",y:"-200%",width:"500%",height:"500%",children:[l("feGaussianBlur",{in:"BackgroundImage",stdDeviation:"20",result:"blurredBg"}),l("feFlood",{floodColor:"black",floodOpacity:"0.8",result:"bgColor"}),l("feComposite",{in:"bgColor",in2:"blurredBg",operator:"in",result:"coloredBlur"}),l("feComposite",{in:"coloredBlur",in2:"SourceGraphic",operator:"over",result:"final"})]})]}),l("rect",{width:r,height:n,fill:"transparent"}),l("g",{mask:"url(#fadeMask)",children:p()}),b(),S()]}),s&&l("figcaption",{className:"-translate-y-6 text-center text-sm text-tertiary text-balance",children:s})]})};import{jsx as z,jsxs as _e}from"react/jsx-runtime";var zt=({style:e,className:t=""})=>_e("svg",{viewBox:"0 0 99 20",xmlns:"http://www.w3.org/2000/svg",style:e,className:t,children:[z("path",{fill:"var(--color-wordmark-prefix, var(--color-brand))",d:"M6.059 19.351c-.92733 0-1.79833-.1733-2.613-.52-.81467-.3553-1.521-.858-2.119-1.508-.589333-.65-1.018333-1.417-1.2869999-2.301L2.666 14.294c.25133.806.689 1.4257 1.313 1.859.624.4247 1.31733.6327 2.08.624.68467-.0087 1.287-.169 1.807-.481.52-.312.92733-.7323 1.222-1.261.29467-.5373.442-1.1527.442-1.846 0-1.04-.325-1.898-.975-2.574-.64133-.676-1.482-1.014-2.522-1.014-.29467 0-.598.04333-.91.13-.30333.08667-.58933.19933-.858.338L2.991 7.924l6.604-5.837.286.78h-9.1V.279999h11.258V2.867L6.553 8.145l-.026-.884c1.17867 0 2.20133.26433 3.068.793.8667.52 1.534 1.23067 2.002 2.132.4767.8927.715 1.8937.715 3.003 0 1.196-.2817 2.2577-.845 3.185-.5547.9273-1.3043 1.6553-2.249 2.184-.936.5287-1.989.793-3.159.793Zm15.4769.039c-1.3087 0-2.4397-.325-3.393-.975-.9447-.65-1.677-1.534-2.197-2.652-.5113-1.1267-.767-2.392-.767-3.796 0-1.4127.26-2.67367.78-3.783.52-1.118 1.2567-1.99767 2.21-2.639.962-.65 2.1017-.975 3.419-.975 1.326 0 2.4397.325 3.341.975.91.64133 1.5947 1.521 2.054 2.639.468 1.118.702 2.379.702 3.783s-.234 2.665-.702 3.783c-.468 1.118-1.157 2.0063-2.067 2.665-.91.65-2.0367.975-3.38.975Zm.377-2.457c.8927 0 1.6207-.2123 2.184-.637.5633-.4247.975-1.0097 1.235-1.755.26-.7453.39-1.6033.39-2.574 0-.9707-.1343-1.8287-.403-2.574-.26-.74533-.6673-1.326-1.222-1.742-.546-.416-1.2437-.624-2.093-.624-.9013 0-1.6423.221-2.223.663-.5807.442-1.014 1.03567-1.3 1.781-.2773.7453-.416 1.5773-.416 2.496 0 .9273.1387 1.768.416 2.522.286.7453.7107 1.339 1.274 1.781.572.442 1.2913.663 2.158.663ZM25.7219 19V8.899h-.312V.279999h2.73V19h-2.418Z"}),z("path",{fill:"var(--color-wordmark, var(--color-content-secondary))",d:"m35.8333 19-5.096-14.04h2.743l3.731 10.634 3.731-10.634h2.743L38.5893 19h-2.756Zm16.1734.39c-1.3953 0-2.6217-.3033-3.679-.91-1.0487-.6153-1.8677-1.469-2.457-2.561-.5807-1.1007-.871-2.3747-.871-3.822 0-1.534.286-2.86433.858-3.991.5807-1.12667 1.3867-1.99767 2.418-2.613 1.0313-.61533 2.2317-.923 3.601-.923 1.43 0 2.6477.33367 3.653 1.001 1.0053.65867 1.755 1.599 2.249 2.821.5027 1.222.702 2.6737.598 4.355h-2.717v-.988c-.0173-1.6293-.3293-2.834-.936-3.614-.598-.78-1.5123-1.17-2.743-1.17-1.3607 0-2.3833.429-3.068 1.287-.6847.858-1.027 2.0973-1.027 3.718 0 1.5427.3423 2.7387 1.027 3.588.6847.8407 1.6727 1.261 2.964 1.261.8493 0 1.5817-.1907 2.197-.572.624-.39 1.1093-.9447 1.456-1.664l2.665.845c-.546 1.2567-1.3737 2.2317-2.483 2.925-1.1093.6847-2.3443 1.027-3.705 1.027Zm-5.005-6.643v-2.119h10.023v2.119h-10.023ZM61.5534 19V4.96h2.418v3.406l-.338-.442c.1733-.45067.3986-.86233.676-1.235.2773-.38133.598-.69333.962-.936.3553-.26.7496-.45933 1.183-.598.442-.14733.8926-.234 1.352-.26.4593-.03467.9013-.013 1.326.065v2.548c-.4594-.12133-.9707-.156-1.534-.104-.5547.052-1.066.22967-1.534.533-.442.286-.793.63267-1.053 1.04-.2514.40733-.4334.86233-.546 1.365-.1127.494-.169 1.0183-.169 1.573V19h-2.743Zm15.1758.377c-1.7073 0-3.0983-.377-4.173-1.131-1.0746-.754-1.7333-1.8157-1.976-3.185l2.782-.429c.1734.728.572 1.3043 1.196 1.729.6327.416 1.417.624 2.353.624.8494 0 1.5124-.1733 1.989-.52.4854-.3467.728-.8233.728-1.43 0-.3553-.0866-.6413-.26-.858-.1646-.2253-.5156-.4377-1.053-.637-.5373-.1993-1.3563-.4463-2.457-.741-1.2046-.312-2.1623-.6457-2.873-1.001-.702-.364-1.2046-.7843-1.508-1.261-.2946-.4853-.442-1.07033-.442-1.755 0-.84933.2254-1.59033.676-2.223.4507-.63267 1.0834-1.12233 1.898-1.469.8234-.34667 1.7854-.52 2.886-.52 1.0747 0 2.0324.169 2.873.507.8407.338 1.521.819 2.041 1.443.52.61533.832 1.339.936 2.171l-2.782.507c-.0953-.676-.4116-1.209-.949-1.599-.5373-.39-1.235-.60233-2.093-.637-.8233-.03467-1.4906.104-2.002.416-.5113.30333-.767.72367-.767 1.261 0 .312.0954.57633.286.793.1994.21667.5807.42467 1.144.624.5634.1993 1.3954.4377 2.496.715 1.1787.3033 2.1147.6413 2.808 1.014.6934.364 1.1874.8017 1.482 1.313.3034.5027.455 1.1137.455 1.833 0 1.3867-.507 2.4743-1.521 3.263-1.0053.7887-2.3963 1.183-4.173 1.183Zm15.0575.013c-1.3953 0-2.6217-.3033-3.679-.91-1.0487-.6153-1.8677-1.469-2.457-2.561-.5807-1.1007-.871-2.3747-.871-3.822 0-1.534.286-2.86433.858-3.991.5807-1.12667 1.3867-1.99767 2.418-2.613 1.0313-.61533 2.2317-.923 3.601-.923 1.43 0 2.6477.33367 3.653 1.001 1.0053.65867 1.755 1.599 2.249 2.821.5027 1.222.702 2.6737.598 4.355h-2.717v-.988c-.0173-1.6293-.3293-2.834-.936-3.614-.598-.78-1.5123-1.17-2.743-1.17-1.3607 0-2.3833.429-3.068 1.287-.6847.858-1.027 2.0973-1.027 3.718 0 1.5427.3423 2.7387 1.027 3.588.6847.8407 1.6727 1.261 2.964 1.261.8493 0 1.5817-.1907 2.197-.572.624-.39 1.1093-.9447 1.456-1.664l2.665.845c-.546 1.2567-1.3737 2.2317-2.483 2.925-1.1093.6847-2.3443 1.027-3.705 1.027Zm-5.005-6.643v-2.119h10.023v2.119h-10.023Z"})]}),Me=({style:e,className:t=""})=>_e("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:e,className:t,children:[z("path",{d:"M5.28808 19.7527L14.1837 28.4509L14.1837 39.9995L5.28302 31.294L5.28808 19.7527Z",fill:"var(--logo-color, #8d670b)"}),z("path",{d:"M33.9949 19.7527L25.0993 28.4509L25.0993 39.9995L34 31.294L33.9949 19.7527Z",fill:"var(--logo-color, #8d670b)"}),z("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M29.3294 13.2721L34.2049 19.747V31.294L24.9911 19.747V24.8481H24.9904V24.8488L14.4968 24.8488V19.7477H14.4968V19.747L5.28302 31.294L5.28302 19.7527L10.1585 13.28V9.17384C10.1585 3.05795 14.9512 0 19.744 0C22.106 0 24.468 0.742731 26.2563 2.22819C28.0966 3.75685 29.3294 6.07206 29.3294 9.17384L29.3294 13.2721L29.3294 13.2721ZM19.744 5.75545C21.2537 5.75545 22.7634 6.83514 22.7634 8.99452L22.7634 13.2748L16.7245 13.2773V8.99452C16.7245 7.40326 17.5444 6.3983 18.5799 5.97965C18.9496 5.83019 19.3468 5.75545 19.744 5.75545ZM16.7245 13.2773V13.28L22.7634 13.28L16.7245 13.28V13.2773H16.7245ZM19.7439 29.9788L14.4968 24.8488L24.9911 24.8488L19.7439 29.9788Z",fill:"url(#logo-rocket-gradient)"}),z("defs",{children:_e("linearGradient",{id:"logo-rocket-gradient",x1:"12.0755",y1:"1.88679",x2:"31.3208",y2:"32.4528",gradientUnits:"userSpaceOnUse",children:[z("stop",{stopColor:"var(--logo-top-color, #f0c732)"}),z("stop",{offset:"1",stopColor:"var(--logo-bottom-color, #ffc800)"})]})})]});var Ee={spinnerLogo:"s",circle:"e",loaderRotate:"r"};import{jsx as Xe,jsxs as Gt}from"react/jsx-runtime";var jt=()=>Gt("div",{className:Ee.spinnerLogo,children:[Xe(Me,{}),Xe("span",{className:Ee.circle})]});import{assets as Wt}from"@3dverse/design-tokens";import{jsx as le,jsxs as Zt}from"react/jsx-runtime";var Ht="relative inline-flex items-center justify-center after:content-[''] after:absolute after:left-1/2 after:top-1/2 after:w-[125%] after:h-0.5 after:rounded-[1px] after:bg-accent after:-translate-x-1/2 after:-translate-y-1/2 after:-rotate-45 after:origin-center after:pointer-events-none";function w({variant:e,crossed:t,className:i,style:o}){return e==="shadowCast"?Zt("div",{role:"img",className:"relative text-tertiary",style:o,children:[le(w,{className:a("relative z-10",i)}),le(w,{className:a("absolute top-0 left-0 translate-x-[40%] translate-y-[15%] scale-94 text-underground/80",i),style:{filter:"drop-shadow(3px 6px 30px color-mix(in oklab, var(--color-content-tertiary) 80%, transparent))"}})]}):t?le("span",{className:Ht,style:o,"aria-hidden":!0,children:le("i",{"data-slot":"icon",className:i})}):le("i",{"data-slot":"icon",className:i,style:o,"aria-hidden":!0})}import{Fragment as Jt,jsx as pe}from"react/jsx-runtime";var Xt=({assetId:e,variant:t,weight:i="light",className:o=""})=>{let{color:r,fontAwesome:n}=Wt[e],s=t==="file"?`
2
2
  fa-fw
3
3
  relative inline-block aspect-[1/1.15] px-[.9em] pt-[.3em] inline-flex justify-center items-center rounded-sm rounded-tr-[20%] [corner-top-right-shape:bevel] overflow-hidden
4
4
  bg-radial-[at_50%_65%] from-(--asset-color)/30 via-(--asset-color)/15 to-(--asset-color)/25 to-90%
5
5
  border border-(--asset-color)/15
6
6
  after:content-[''] after:absolute after:top-0 after:right-0 after:w-[20%] after:h-[20%] after:bg-(--asset-color) after:opacity-50
7
- ${a}
8
- `:a;return n?e==="scene"?pe(Yt,{variant:t,className:s,style:{color:r,"--asset-color":r}}):pe(w,{className:o(n,s),style:{color:r,"--asset-color":r}}):pe(Jt,{children:e})},Yt=({variant:e,className:t="",style:i})=>pe("svg",{viewBox:"0 0 16 16",className:`inline-block self-center align-middle box-content ${e==="file"?"w-[1em] px-[.4em]! h-[calc(1em*2.1)]":"w-[1em] h-[1em]"} ${t}`,fill:"currentColor",style:i,"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",children:pe("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 16C12.4183 16 16 12.4183 16 8C16 3.58172 12.4183 0 8 0C3.58172 0 0 3.58172 0 8C0 12.4183 3.58172 16 8 16ZM7.89258 3.68555C7.96094 3.66016 8.03711 3.66016 8.10742 3.68555L12.1387 5.16406L8 6.78906L3.86133 5.16211L7.89258 3.68555ZM12.1699 10.8262L8.3125 12.2402V12.2383V7.33594L12.375 5.74023V10.5332C12.375 10.6641 12.293 10.7812 12.1699 10.8262ZM8.32227 3.09766C8.11523 3.02148 7.88672 3.02148 7.67773 3.09766L3.61523 4.58789C3.24609 4.72461 3 5.07617 3 5.46875V10.5332C3 10.9258 3.24609 11.2773 3.61523 11.4121L7.67773 12.9023C7.88477 12.9785 8.11328 12.9785 8.32227 12.9023L12.3848 11.4141C12.7539 11.2773 13 10.9258 13 10.5332V5.46875C13 5.07422 12.7539 4.72266 12.3848 4.58789L8.32227 3.09766Z"})});import{jsx as Ye}from"react/jsx-runtime";var Kt=({size:e,className:t})=>{let i=e?`fa-${e}`:void 0;return Ye("svg",{viewBox:"0 0 16 16",height:"1em",className:`svg-inline--fa ${i??""} ${t??""}`,fill:"currentColor",color:"var(--asset-color-scene)","aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",children:Ye("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 16C12.4183 16 16 12.4183 16 8C16 3.58172 12.4183 0 8 0C3.58172 0 0 3.58172 0 8C0 12.4183 3.58172 16 8 16ZM7.89258 3.68555C7.96094 3.66016 8.03711 3.66016 8.10742 3.68555L12.1387 5.16406L8 6.78906L3.86133 5.16211L7.89258 3.68555ZM12.1699 10.8262L8.3125 12.2402V12.2383V7.33594L12.375 5.74023V10.5332C12.375 10.6641 12.293 10.7812 12.1699 10.8262ZM8.32227 3.09766C8.11523 3.02148 7.88672 3.02148 7.67773 3.09766L3.61523 4.58789C3.24609 4.72461 3 5.07617 3 5.46875V10.5332C3 10.9258 3.24609 11.2773 3.61523 11.4121L7.67773 12.9023C7.88477 12.9785 8.11328 12.9785 8.32227 12.9023L12.3848 11.4141C12.7539 11.2773 13 10.9258 13 10.5332V5.46875C13 5.07422 12.7539 4.72266 12.3848 4.58789L8.32227 3.09766Z"})})};import{Accordion as de}from"@base-ui/react/accordion";import{jsx as Q}from"react/jsx-runtime";function Qt({...e}){return Q(de.Root,{"data-slot":"accordion",...e})}function ei({className:e,...t}){return Q(de.Item,{"data-slot":"accordion-item",className:o("group/accordion-item",e),...t})}function ti({className:e,children:t,...i}){return Q(de.Header,{className:"flex",children:Q(de.Trigger,{"data-slot":"accordion-trigger",className:o("flex flex-1 items-center justify-between gap-3 py-2 text-left text-sm outline-none transition-colors cursor-pointer","text-secondary hover:text-primary","focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1 focus-visible:outline-ring","disabled:pointer-events-none disabled:opacity-50",e),...i,children:t})})}function ii({className:e,children:t,...i}){return Q(de.Panel,{"data-slot":"accordion-content",className:o("h-(--accordion-panel-height) overflow-hidden text-sm transition-[height] duration-200 ease-out","data-starting-style:h-0 data-ending-style:h-0"),...i,children:Q("div",{className:o("pb-3",e),children:t})})}import{Drawer as E}from"@base-ui/react/drawer";import{Button as oi}from"@base-ui/react/button";import{cva as ai}from"class-variance-authority";import{jsx as ni}from"react/jsx-runtime";var ri=ai(`
7
+ ${o}
8
+ `:o;return n?e==="scene"?pe(Yt,{variant:t,className:s,style:{color:r,"--asset-color":r}}):pe(w,{className:a(n,i==="solid"?"fas":i==="regular"?"far":"fal","text-(--asset-color)",s),style:{"--asset-color":r}}):pe(Jt,{children:e})},Yt=({variant:e,className:t="",style:i})=>pe("svg",{viewBox:"0 0 16 16",className:`inline-block self-center align-middle box-content ${e==="file"?"w-[1em] px-[.4em]! h-[calc(1em*2.1)]":"w-[1em] h-[1em]"} ${t}`,fill:"currentColor",style:i,"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",children:pe("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 16C12.4183 16 16 12.4183 16 8C16 3.58172 12.4183 0 8 0C3.58172 0 0 3.58172 0 8C0 12.4183 3.58172 16 8 16ZM7.89258 3.68555C7.96094 3.66016 8.03711 3.66016 8.10742 3.68555L12.1387 5.16406L8 6.78906L3.86133 5.16211L7.89258 3.68555ZM12.1699 10.8262L8.3125 12.2402V12.2383V7.33594L12.375 5.74023V10.5332C12.375 10.6641 12.293 10.7812 12.1699 10.8262ZM8.32227 3.09766C8.11523 3.02148 7.88672 3.02148 7.67773 3.09766L3.61523 4.58789C3.24609 4.72461 3 5.07617 3 5.46875V10.5332C3 10.9258 3.24609 11.2773 3.61523 11.4121L7.67773 12.9023C7.88477 12.9785 8.11328 12.9785 8.32227 12.9023L12.3848 11.4141C12.7539 11.2773 13 10.9258 13 10.5332V5.46875C13 5.07422 12.7539 4.72266 12.3848 4.58789L8.32227 3.09766Z"})});import{jsx as Ye}from"react/jsx-runtime";var Kt=({size:e,className:t})=>{let i=e?`fa-${e}`:void 0;return Ye("svg",{viewBox:"0 0 16 16",height:"1em",className:`svg-inline--fa ${i??""} ${t??""}`,fill:"currentColor",color:"var(--asset-color-scene)","aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",children:Ye("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 16C12.4183 16 16 12.4183 16 8C16 3.58172 12.4183 0 8 0C3.58172 0 0 3.58172 0 8C0 12.4183 3.58172 16 8 16ZM7.89258 3.68555C7.96094 3.66016 8.03711 3.66016 8.10742 3.68555L12.1387 5.16406L8 6.78906L3.86133 5.16211L7.89258 3.68555ZM12.1699 10.8262L8.3125 12.2402V12.2383V7.33594L12.375 5.74023V10.5332C12.375 10.6641 12.293 10.7812 12.1699 10.8262ZM8.32227 3.09766C8.11523 3.02148 7.88672 3.02148 7.67773 3.09766L3.61523 4.58789C3.24609 4.72461 3 5.07617 3 5.46875V10.5332C3 10.9258 3.24609 11.2773 3.61523 11.4121L7.67773 12.9023C7.88477 12.9785 8.11328 12.9785 8.32227 12.9023L12.3848 11.4141C12.7539 11.2773 13 10.9258 13 10.5332V5.46875C13 5.07422 12.7539 4.72266 12.3848 4.58789L8.32227 3.09766Z"})})};import{Accordion as de}from"@base-ui/react/accordion";import{jsx as Q}from"react/jsx-runtime";function Qt({...e}){return Q(de.Root,{"data-slot":"accordion",...e})}function ei({className:e,...t}){return Q(de.Item,{"data-slot":"accordion-item",className:a("group/accordion-item",e),...t})}function ti({className:e,children:t,...i}){return Q(de.Header,{className:"flex",children:Q(de.Trigger,{"data-slot":"accordion-trigger",className:a("flex flex-1 items-center justify-between gap-3 py-2 text-left text-sm outline-none transition-colors cursor-pointer","text-secondary hover:text-primary","focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1 focus-visible:outline-ring","disabled:pointer-events-none disabled:opacity-50",e),...i,children:t})})}function ii({className:e,children:t,...i}){return Q(de.Panel,{"data-slot":"accordion-content",className:a("h-(--accordion-panel-height) overflow-hidden text-sm transition-[height] duration-200 ease-out","data-starting-style:h-0 data-ending-style:h-0"),...i,children:Q("div",{className:a("pb-3",e),children:t})})}import{Drawer as E}from"@base-ui/react/drawer";import{Button as ai}from"@base-ui/react/button";import{cva as oi}from"class-variance-authority";import{jsx as ni}from"react/jsx-runtime";var ri=oi(`
9
9
  group/button inline-flex shrink-0 items-center justify-center
10
10
  text-sm font-normal whitespace-nowrap select-none
11
11
  bg-clip-padding outline-none transition-all
12
12
  disabled:pointer-events-none disabled:opacity-50
13
- 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
13
+ aria-invalid:border-negative aria-invalid:ring-3 aria-invalid:ring-negative/20 dark:aria-invalid:border-negative/50 dark:aria-invalid:ring-negative/40
14
14
  [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 cursor-pointer
15
15
 
16
- `,{variants:{variant:{default:"bg-primary text-(--color-bg-ground) hover:bg-primary/80",accent:"bg-accent text-black hover:text-black hover:bg-accent/90",outline:"text-primary border border-(--color-content-primary)/60 hover:border-(--color-content-primary)/80","outline-accent":"text-accent border border-accent/60 hover:border-accent/80",secondary:"bg-secondary text-secondary-foreground hover:bg-[color-mix(in_oklch,var(--secondary),var(--foreground)_5%)]",ghost:"text-secondary hover:text-primary active:text-primary","ghost-shadow":"relative text-white/80 before:content-[''] before:absolute before:inset-0 before:scale-150 before:bg-black before:opacity-50 before:rounded-full before:blur-lg before:z-[-1] [text-shadow:0_0_1px_black/40]",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",overlay:o("relative text-white hover:text-white/90","before:absolute before:inset-y-0.5 before:inset-x-0.5 before:rounded-full before:z-[-1]","before:bg-black/25 before:opacity-0 before:transition-opacity before:duration-500 before:ease-out"),"overlay-outline":o("border border-white/40","relative text-white hover:text-white/90","before:absolute before:inset-y-0.5 before:inset-x-0.5 before:rounded-full before:z-[-1]","before:bg-black/25 before:opacity-0 before:transition-opacity before:duration-500 before:ease-out")},size:{"3xs":"min-h-4 gap-1 px-1 text-4xs rounded-[min(var(--radius-md),10px)] 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","2xs":"min-h-5 gap-1 px-1 text-3xs rounded-[min(var(--radius-md),10px)] 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",xs:"min-h-6 gap-1 px-2 text-2xs rounded-[min(var(--radius-md),10px)] 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:"min-h-7 gap-1 px-2.5 text-xs rounded-[min(var(--radius-md),12px)] 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",md:"min-h-8 gap-1.5 px-3 text-sm **:data-[slot=icon]:text-xs has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",lg:"min-h-9 text-md gap-1.5 px-3 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",xl:"min-h-12 text-lg gap-1.5 px-2.5 font-medium tracking-wide has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2","icon-xs":"text-3xs size-6 rounded-[min(var(--radius-md),10px)] in-data-[slot=button-group]:rounded-lg","icon-sm":"size-7 rounded-[min(var(--radius-md),12px)] in-data-[slot=button-group]:rounded-lg","icon-md":"text-base size-8","icon-lg":"text-xl size-9","icon-xl":"text-xl size-10"},round:{true:"rounded-full",false:"rounded-xl [corner-shape:squircle]"},active:{true:"text-accent hover:text-accent",false:""}},defaultVariants:{variant:"default",size:"md"}});function L({as:e,className:t,variant:i="default",size:a="md",round:r=!1,active:n=!1,children:s,...c}){return ni(!e||e==="button"?oi:e,{"data-slot":"button",className:o(ri({variant:i,size:a,round:r,active:n}),t),"data-active":n,...c,children:s})}import{jsx as I,jsxs as Ie}from"react/jsx-runtime";function si({swipeDirection:e="down",closeOnBlur:t=!0,...i}){return I(E.Root,{"data-slot":"bottom-sheet",swipeDirection:e,disablePointerDismissal:!t,...i})}function li({...e}){return I(E.Trigger,{"data-slot":"bottom-sheet-trigger",...e})}function pi({...e}){return I(E.Portal,{"data-slot":"bottom-sheet-portal",...e})}function di({...e}){return I(E.Close,{"data-slot":"bottom-sheet-close",...e})}function ci({className:e,...t}){return I(E.Backdrop,{"data-slot":"bottom-sheet-overlay",className:o("fixed inset-0 isolate z-10100 bg-ground/40 backdrop-blur-xs transition-opacity duration-100 ease-out data-swiping:transition-none","data-open:animate-in data-open:fade-in-0 data-open:duration-100","data-closed:not-data-swipe-dismiss:animate-out data-closed:not-data-swipe-dismiss:fade-out-0 data-closed:not-data-swipe-dismiss:duration-100 data-closed:not-data-swipe-dismiss:fill-mode-forwards",e),...t,style:{opacity:"calc(1 - var(--drawer-swipe-progress, 0))"}})}function mi({className:e,...t}){return I(E.Viewport,{"data-slot":"bottom-sheet-viewport",className:o("fixed inset-x-0 bottom-0 z-10110 flex justify-center outline-none",e),...t})}function fi({className:e,children:t,showHandle:i=!0,showCloseButton:a=!1,showOverlay:r=!0,...n}){return Ie(pi,{children:[r&&I(ci,{}),I(mi,{children:Ie(E.Popup,{"data-slot":"bottom-sheet-content",className:o("relative flex w-full flex-col rounded-t-2xl bg-ground/80 backdrop-blur-lg p-4 pt-2 pb-[calc(1rem+env(safe-area-inset-bottom))] text-sm text-popover-foreground ring-1 ring-foreground/10 outline-none","data-open:animate-in data-open:slide-in-from-bottom data-open:duration-200 data-closed:animate-out data-closed:slide-out-to-bottom data-closed:duration-150 data-closed:fill-mode-forwards",e),...n,children:[i&&I("div",{className:"-mt-px mb-px flex shrink-0 justify-center touch-none select-none","aria-hidden":!0,children:I("div",{className:"h-1 w-8 rounded-full bg-(--color-content-secondary)/50"})}),t,a&&Ie(E.Close,{"data-slot":"bottom-sheet-close",render:I(L,{variant:"ghost",className:"absolute top-2 right-2",size:"icon-sm"}),children:[I(w,{className:"fas fa-xmark"}),I("span",{className:"sr-only",children:"Close"})]}),I("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-x-0 top-full h-[30vh] bg-ground/50 backdrop-blur-lg"})]})})]})}function ui({className:e,...t}){return I("div",{"data-slot":"bottom-sheet-header",className:o("flex flex-col gap-2",e),...t})}function yi({className:e,showCloseButton:t=!1,children:i,...a}){return Ie("div",{"data-slot":"bottom-sheet-footer",className:o("-mx-4 -mb-4 flex flex-col-reverse gap-2 rounded-b-xl border-t bg-muted/50 p-4 pb-[calc(1rem+env(safe-area-inset-bottom))] sm:flex-row sm:justify-end",e),...a,children:[i,t&&I(E.Close,{render:I(L,{variant:"outline"}),children:"Close"})]})}function gi({className:e,...t}){return I(E.Title,{"data-slot":"bottom-sheet-title",className:o("font-heading uppercase text-4xs leading-none font-medium text-tertiary pl-3 mt-1",e),...t})}function xi({className:e,...t}){return I(E.Description,{"data-slot":"bottom-sheet-description",className:o("text-sm text-muted-foreground *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground",e),...t})}import{jsx as bi,jsxs as Je}from"react/jsx-runtime";function hi({as:e,className:t,variant:i="ghost",size:a="md",orientation:r="vertical",round:n=!1,icon:s,rightComponent:c,isEnabled:D=!0,children:B,...g}){return Je(L,{...g,as:e,variant:i,size:a,round:n,className:o(t,D?"":"opacity-75"),children:[Je("div",{className:o("grow flex py-2",r==="inline"?"items-center gap-2":"gap-1.5 flex-col justify-between items-start"),children:[s&&bi(w,{className:s,crossed:!D}),B]}),c]})}import{jsx as ce,jsxs as Ri}from"react/jsx-runtime";var vi=({children:e,size:t="sm",className:i})=>{let a=t==="2xs"?"text-2xs":t==="3xs"?"text-3xs":"text-sm",r=["3xs","2xs"].includes(t)&&"**:data-[slot=data-item-label]:py-1.5";return ce("fieldset",{className:o("flex gap-2 items-baseline justify-center w-full px-2.5",a,r,i),children:e})},wi=({children:e,icon:t,className:i})=>Ri("div",{"data-slot":"data-item-label",className:o("relative grow flex py-2 items-baseline gap-3 text-balance",i),children:[t&&ce(w,{className:o("text-[88%] text-tertiary -translate-y-px",t)}),e]}),Pi=({children:e,className:t})=>ce("p",{className:t,children:e}),Ii=({children:e,className:t})=>ce("p",{className:o("my-px text-[88%] leading-tight text-tertiary",t),children:e}),Ci=({children:e,className:t})=>ce("div",{className:o("text-primary",t),children:e});import{Dialog as q}from"@base-ui/react/dialog";import{jsx as _,jsxs as Ce}from"react/jsx-runtime";function Di({...e}){return _(q.Root,{"data-slot":"dialog",...e})}function Si({...e}){return _(q.Trigger,{"data-slot":"dialog-trigger",...e})}function ki({...e}){return _(q.Portal,{"data-slot":"dialog-portal",...e})}function Ni({className:e,...t}){return _(q.Backdrop,{"data-slot":"dialog-overlay",className:o("fixed inset-0 isolate z-10100 bg-ground/80 duration-100 supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0",e),...t})}function Ti({className:e,children:t,showCloseButton:i=!1,...a}){return Ce(ki,{children:[_(Ni,{}),Ce(q.Popup,{"data-slot":"dialog-content",className:o("fixed top-1/2 left-1/2 z-10110 grid w-full max-w-[calc(100%-2rem)] -translate-x-1/2 -translate-y-1/2 gap-4 rounded-xl bg-popover p-4 text-sm text-popover-foreground ring-1 ring-foreground/10 duration-100 outline-none sm:max-w-sm data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",e),...a,children:[t,i&&Ce(q.Close,{"data-slot":"dialog-close",render:_(L,{variant:"ghost",className:"absolute top-2 right-2",size:"icon-sm"}),children:[_(w,{className:"fal fa-xmark"}),_("span",{className:"sr-only",children:"Close"})]})]})]})}function Li({className:e,...t}){return _("div",{"data-slot":"dialog-header",className:o("flex flex-col gap-2",e),...t})}function _i({className:e,showCloseButton:t=!1,children:i,...a}){return Ce("div",{"data-slot":"dialog-footer",className:o("-mx-4 -mb-4 flex flex-col-reverse gap-2 rounded-b-xl border-t bg-muted/50 p-4 sm:flex-row sm:justify-end",e),...a,children:[i,t&&_(q.Close,{render:_(L,{variant:"outline"}),children:"Close"})]})}function Mi({className:e,...t}){return _(q.Title,{"data-slot":"dialog-title",className:o("font-heading text-base leading-none font-medium",e),...t})}function Ei({className:e,...t}){return _(q.Description,{"data-slot":"dialog-description",className:o("text-sm text-muted-foreground *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground",e),...t})}import{jsx as Bi}from"react/jsx-runtime";var Ai=({className:e,isActive:t})=>Bi("span",{className:o("relative block w-2 h-2 rounded-full bg-current z-1 pointer-events-none","before:content-[''] before:block before:w-4 before:h-4 before:absolute before:-inset-1 before:rounded-full before:bg-inherit before:opacity-10",t?"text-positive before:animate-pulse":"text-white/40 before:animate-none",e)});import{jsx as Re,jsxs as Ke}from"react/jsx-runtime";var Ui=({icon:e,title:t,description:i,variant:a="default",className:r})=>Ke("div",{className:o("flex flex-col items-center gap-4 text-center px-3 py-7 text-balance",a==="glow"&&"glow-effect",r),children:[e&&Re("div",{className:"flex shrink-0 items-center justify-center",children:Re(w,{className:o(e,"text-2xl text-tertiary",a==="glow"&&"drop-shadow-[0_12px_6px_var(--color-bg-underground)]")})}),Ke("div",{className:"flex flex-col gap-0.5",children:[t&&Re("span",{className:"text-md",children:t}),i&&Re("span",{className:"mt-px text-3xs text-tertiary font-normal",children:i})]})]});import{jsx as qi}from"react/jsx-runtime";var Oi=({children:e,shadow:t="none",className:i,as:a,...r})=>qi(a||"div",{className:o("flex items-center bg-ground/50 backdrop-blur-sm border border-white/20 rounded-full","pointer-events-auto",t==="lg"&&"shadow-[0_20px_15px_-12px_rgba(0,0,0,.35)]",i),...r,children:e});import{jsx as Vi}from"react/jsx-runtime";var Fi=({children:e,className:t})=>Vi("kbd",{className:o("inline-flex items-center justify-center min-w-4 h-4 px-1 rounded border border-current/30 text-[0.65rem] leading-none font-normal uppercase opacity-70",t),children:e});import{jsx as $i}from"react/jsx-runtime";function zi({className:e,...t}){return $i(w,{className:o("fal fa-spinner size-6 animate-spin text-primary",e),...t})}import{Menu as F}from"@base-ui/react/menu";import{jsx as A}from"react/jsx-runtime";function ji({...e}){return A(F.Root,{"data-slot":"menu",...e})}function Gi({...e}){return A(F.Trigger,{"data-slot":"menu-trigger",...e})}function Qe({...e}){return A(F.Portal,{"data-slot":"menu-portal",...e})}function et({className:e,sideOffset:t=8,align:i="end",...a}){return A(F.Positioner,{"data-slot":"menu-positioner",sideOffset:t,align:i,className:o("z-10110 outline-none",e),...a})}function Hi({className:e,children:t,...i}){return A(Qe,{children:A(et,{children:A(F.Popup,{"data-slot":"menu-content",className:o("min-w-40 origin-(--transform-origin) bg-ground/80 backdrop-blur-lg p-1 text-xs outline-none","rounded-xl [corner-shape:squircle]","data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",e),...i,children:t})})})}function Zi({className:e,...t}){return A(F.Item,{"data-slot":"menu-item",className:o("flex cursor-pointer items-center gap-3 rounded-sm px-2 py-1 text-sm outline-none select-none","data-highlighted:bg-primary/10 data-highlighted:text-primary","data-disabled:pointer-events-none data-disabled:opacity-50","transition-colors duration-200 ease-in-out","[&_svg]:pointer-events-none [&_svg]:shrink-0 **:data-[slot=icon]:text-3xs **:data-[slot=icon]:w-3",e),...t})}function Wi({className:e,...t}){return A(F.Separator,{"data-slot":"menu-separator",className:o("-mx-1 my-1 h-px bg-foreground/10",e),...t})}function Xi({...e}){return A(F.Group,{"data-slot":"menu-group",...e})}function Yi({className:e,...t}){return A(F.GroupLabel,{"data-slot":"menu-group-label",className:o("px-2.5 py-1.5 text-xs text-tertiary",e),...t})}import{Dialog as me}from"@base-ui/react/dialog";import{jsx as fe,jsxs as tt}from"react/jsx-runtime";function Ji({open:e,onClose:t,closeIcon:i,fullScreen:a,disableBackdropClick:r,disableEscapeKeyDown:n,backdropBg:s="var(--color-underground)",className:c,style:D,children:B,...g}){return fe(me.Root,{open:e,modal:!0,disablePointerDismissal:r,onOpenChange:(b,x)=>{b||n&&x.reason==="escape-key"||t?.()},children:tt(me.Portal,{container:document.getElementById("app-container"),children:[fe(me.Backdrop,{className:"fixed inset-0",style:{background:s,opacity:.9,zIndex:D?.zIndex}}),tt(me.Popup,{className:o("fixed inset-0 flex items-center justify-center",!a&&"p-4",c),style:{...D,width:a?"100%":void 0,height:a?"100%":void 0},"aria-labelledby":g["aria-labelledby"],children:[i&&fe(me.Close,{render:fe(L,{"aria-label":"Close",variant:"ghost",size:"icon-md",className:"absolute top-4 right-4"}),children:fe(w,{className:"fal fa-xmark"})}),B]})]})})}import{jsx as Ae}from"react/jsx-runtime";var Ki=({children:e,className:t,ref:i,...a})=>Ae("aside",{ref:i,"data-slot":"panel",className:o("border border-primary/50 bg-ground/80 backdrop-blur-sm shadow-[0_10px_20px_-8px_rgba(0,0,0,.6)]","rounded-[1rem] [corner-shape:squircle]","starting:opacity-0 starting:translate-y-4 starting:scale-95 transition-all duration-350 ease-in-out","pointer-events-auto",t),...a,children:e}),Qi=({children:e,className:t,...i})=>Ae("header",{className:o("flex px-3 py-2",t),...i,children:e}),eo=({children:e,className:t,...i})=>Ae("h2",{className:o("text-[.7rem] text-secondary font-normal tracking-wider uppercase",t),...i,children:e});import{Popover as Y}from"@base-ui/react/popover";import{jsx as $}from"react/jsx-runtime";function to({...e}){return $(Y.Root,{"data-slot":"popover",...e})}function io({...e}){return $(Y.Trigger,{"data-slot":"popover-trigger",...e})}function oo({className:e,align:t="center",alignOffset:i=0,side:a="bottom",sideOffset:r=4,shadow:n,anchor:s,...c}){return $(Y.Portal,{children:$(Y.Positioner,{align:t,alignOffset:i,side:a,sideOffset:r,anchor:s,className:"z-10110",children:$(Y.Popup,{"data-slot":"popover-content",className:o("border border-primary/50 bg-ground/80 backdrop-blur-sm ","rounded-[1rem] [corner-shape:squircle]","flex w-72 origin-(--transform-origin) flex-col gap-2.5 p-2.5 text-sm text-popover-foreground outline-hidden duration-100","data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",n==="lg"?"shadow-[0_20px_15px_-12px_rgba(0,0,0,.35)]":"shadow-[0_10px_20px_-8px_rgba(0,0,0,.6)]",e),...c})})})}function ao({className:e,...t}){return $("div",{"data-slot":"popover-header",className:o("flex flex-col gap-0.5 text-sm",e),...t})}function ro({className:e,...t}){return $(Y.Title,{"data-slot":"popover-title",className:o("font-medium",e),...t})}function no({className:e,...t}){return $(Y.Description,{"data-slot":"popover-description",className:o("text-muted-foreground",e),...t})}import{jsx as lo}from"react/jsx-runtime";var so=({direction:e="horizontal",children:t,className:i,ref:a})=>lo("div",{ref:a,className:o(e==="horizontal"?"overflow-x-auto":"overflow-y-auto",e==="horizontal"?"[-webkit-mask-image:linear-gradient(to_right,transparent,black_16px,black_calc(100%-16px),transparent)]":"[-webkit-mask-image:linear-gradient(to_bottom,transparent,black_16px,black_calc(100%-16px),transparent)]",e==="horizontal"?"mask-[linear-gradient(to_right,transparent,black_16px,black_calc(100%-16px),transparent)]":"mask-[linear-gradient(to_bottom,transparent,black_16px,black_calc(100%-16px),transparent)]",i),children:t});import{Switch as it}from"@base-ui/react/switch";import{jsx as ot}from"react/jsx-runtime";function po({className:e,...t}){return ot(it.Root,{"data-slot":"switch",className:o("inline-flex h-5 w-8 shrink-0 cursor-pointer items-center rounded-full border border-transparent bg-white/20 p-0.5 transition-colors outline-none","focus-visible:ring-[3px] focus-visible:ring-ring/50","disabled:pointer-events-none disabled:opacity-50","data-checked:bg-accent",e),...t,children:ot(it.Thumb,{"data-slot":"switch-thumb",className:"block size-4 rounded-full bg-white shadow-sm transition-transform data-checked:translate-x-3"})})}import{jsx as mo}from"react/jsx-runtime";var co=({children:e,className:t,as:i})=>mo(i||"div",{className:o("flex rounded-full bg-black/10 backdrop-blur-sm filter-[drop-shadow(2px_4px_8px_rgb(0_0_0/0.6))]",t),children:e});import{forwardRef as fo}from"react";import{jsx as yo}from"react/jsx-runtime";var uo=fo(function({fullWidth:t,fullHeight:i,vertical:a,vCenter:r,hCenter:n,opposite:s,gapRight:c,gapBottom:D,className:B,style:g,...b},x){let p=!!a,v=c??D,h=p?n?"center":void 0:r?"center":void 0,S=s?"space-between":p?r?"center":void 0:n?"center":void 0;return yo("div",{ref:x,className:o("flex",p?"flex-col":"flex-row",t&&"w-full",i&&"h-full",B),style:{alignItems:h,justifyContent:S,gap:v!==void 0?`${v}rem`:void 0,...g},...b})});import{useRef as Be}from"react";import{Tabs as ee}from"@base-ui/react/tabs";import{cva as go}from"class-variance-authority";import{jsx as j,jsxs as lt}from"react/jsx-runtime";function xo({className:e,orientation:t="horizontal",...i}){return j(ee.Root,{"data-slot":"tabs","data-orientation":t,className:o("group/tabs flex gap-2 data-[orientation=horizontal]:flex-col",e),...i})}var st=go("group/tabs-list relative inline-flex w-fit items-center justify-center rounded-lg text-secondary group-data-[orientation=vertical]/tabs:h-fit group-data-[orientation=vertical]/tabs:flex-col data-[variant=line]:rounded-none",{variants:{variant:{default:"bg-muted",segment:"text-white/85 border border-white/40 rounded-full",line:"gap-1 bg-transparent"},size:{"2xs":"p-[2px] text-2xs group-data-[orientation=horizontal]/tabs:h-6",xs:"p-[2px] text-xs group-data-[orientation=horizontal]/tabs:h-6",sm:"p-[2px] text-sm group-data-[orientation=horizontal]/tabs:h-7",md:"p-[2px] text-md group-data-[orientation=horizontal]/tabs:h-8"}},defaultVariants:{variant:"default",size:"md"}}),ho=6;function bo(e){let t=e.getBoundingClientRect();return Array.from(e.querySelectorAll('[data-slot="tabs-trigger"]')).map(i=>{let a=i.getBoundingClientRect();return{el:i,left:a.left-t.left,width:a.width}})}function at(e,t){let i=t[0],a=t[t.length-1],r=Math.min(Math.max(e,i.left),a.left);for(let n=0;n<t.length-1;n++){let s=t[n],c=t[n+1];if(r>=s.left&&r<=c.left){let D=(r-s.left)/(c.left-s.left||1);return{left:r,width:s.width+D*(c.width-s.width)}}}return{left:r,width:r===i.left?i.width:a.width}}function vo(e,t){return t.reduce((i,a)=>{let r=a.left+a.width/2,n=i.left+i.width/2;return Math.abs(e-r)<Math.abs(e-n)?a:i})}var wo=[255,255,255,.85],Po=[0,0,0,1];function Io(e){let t=Math.min(Math.max(e,0),1),[i,a,r,n]=wo.map((s,c)=>s+(Po[c]-s)*t);return`rgba(${i}, ${a}, ${r}, ${n})`}function Co(e,t,i){let a=Math.min(e+t,i.left+i.width)-Math.max(e,i.left);return Math.max(0,a)/i.width}function rt(e,t,i){for(let a of i)a.el.style.color=Io(Co(e,t,a))}function nt(e){for(let t of e)t.el.style.transition="",t.el.style.color=""}function Ro({swipeable:e=!1,variant:t="default",...i}){return e&&t==="segment"?j(So,{...i}):j(Do,{variant:t,...i})}function Do({className:e,variant:t="default",size:i="md",children:a,...r}){return lt(ee.List,{"data-slot":"tabs-list","data-variant":t,"data-size":i,className:o(st({variant:t,size:i}),e),...r,children:[a,t==="segment"&&j(Ue,{})]})}function So({className:e,size:t="md",children:i,...a}){let r=Be(null),n=Be(null),s=Be(null),c=()=>r.current?.querySelector('[data-slot="tabs-indicator"]'),D=()=>{let p=c();p&&(p.style.transition="",p.style.translate="",p.style.width="")},B=()=>{let p=s.current;p&&(p.indicator.removeEventListener("transitionend",p.handler),clearTimeout(p.timeoutId),s.current=null)},g=p=>{if(p.pointerType!=="touch")return;B();let v=r.current,h=v?.querySelector('[data-slot="tabs-trigger"][data-active]');if(!v||!h)return;let S=bo(v),y=S.find(f=>f.el===h);y&&(n.current={pointerId:p.pointerId,startX:p.clientX,isDragging:!1,activeLeft:y.left,activeEl:h,triggers:S})},b=p=>{let v=n.current;if(!v||p.pointerId!==v.pointerId)return;let h=p.clientX-v.startX;if(!v.isDragging){if(Math.abs(h)<ho)return;v.isDragging=!0,r.current?.setPointerCapture(p.pointerId);let m=c();m&&(m.style.transition="none");for(let u of v.triggers)u.el.style.transition="none"}p.preventDefault();let S=c();if(!S)return;let{left:y,width:f}=at(v.activeLeft+h,v.triggers);S.style.translate=`${y}px`,S.style.width=`${f}px`,rt(y,f,v.triggers)},x=(p,v)=>{let h=n.current;if(!h||p.pointerId!==h.pointerId||(n.current=null,!h.isDragging))return;r.current?.releasePointerCapture(p.pointerId);let S=c();if(!v||!S){D(),nt(h.triggers);return}let y=p.clientX-h.startX,{left:f,width:m}=at(h.activeLeft+y,h.triggers),u=vo(f+m/2,h.triggers);S.style.transition="",S.style.translate=`${u.left}px`,S.style.width=`${u.width}px`;for(let G of h.triggers)G.el.style.transition="";rt(u.left,u.width,h.triggers),u.el!==h.activeEl&&u.el.click();let C=()=>{D(),nt(h.triggers)};S.addEventListener("transitionend",C,{once:!0});let V=window.setTimeout(()=>{s.current=null,C()},200);s.current={indicator:S,handler:C,timeoutId:V}};return lt(ee.List,{ref:r,"data-slot":"tabs-list","data-variant":"segment","data-size":t,className:o(st({variant:"segment",size:t}),"touch-pan-y",e),onPointerDown:g,onPointerMove:b,onPointerUp:p=>x(p,!0),onPointerCancel:p=>x(p,!1),...a,children:[i,j(Ue,{})]})}function Ue({className:e,...t}){return j(ee.Indicator,{"data-slot":"tabs-indicator",className:o("absolute z-[-1] h-[calc(100%-4px)]! rounded-full bg-white transition-[translate,width] duration-200 ease-in-out","group-data-[orientation=horizontal]/tabs:top-0.5 group-data-[orientation=horizontal]/tabs:left-0 group-data-[orientation=horizontal]/tabs:h-full group-data-[orientation=horizontal]/tabs:w-(--active-tab-width) group-data-[orientation=horizontal]/tabs:translate-x-(--active-tab-left)","group-data-[orientation=vertical]/tabs:top-0.5 group-data-[orientation=vertical]/tabs:left-0 group-data-[orientation=vertical]/tabs:w-full group-data-[orientation=vertical]/tabs:h-(--active-tab-height) group-data-[orientation=vertical]/tabs:translate-y-(--active-tab-top)",e),...t})}function ko({className:e,...t}){return j(ee.Tab,{"data-slot":"tabs-trigger",className:o("relative inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 px-1.5 py-0.5","text-inherit rounded-md border border-transparent whitespace-nowrap transition-all","group-data-[orientation=vertical]/tabs:w-full group-data-[orientation=vertical]/tabs:justify-start","hover:text-primary focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1 focus-visible:outline-ring","disabled:pointer-events-none disabled:opacity-50 has-data-[icon=inline-end]:pr-1 has-data-[icon=inline-start]:pl-1 aria-disabled:pointer-events-none aria-disabled:opacity-50 group-data-[variant=default]/tabs-list:text-tertiary [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4","cursor-pointer","group-data-[variant=line]/tabs-list:bg-transparent group-data-[variant=line]/tabs-list:data-active:bg-transparent","data-active:text-primary","group-data-[variant=default]/tabs-list:data-active:bg-background","group-data-[variant=segment]/tabs-list:data-active:bg-transparent group-data-[variant=segment]/tabs-list:data-active:text-black","group-data-[size=sm]/tabs-list:gap-1 group-data-[size=sm]/tabs-list:px-1.5 group-data-[size=sm]/tabs-list:py-0 group-data-[size=sm]/tabs-list:text-xs","after:absolute after:bg-foreground after:opacity-0 after:transition-opacity group-data-[orientation=horizontal]/tabs:after:inset-x-0 group-data-[orientation=horizontal]/tabs:after:bottom-[-5px] group-data-[orientation=horizontal]/tabs:after:h-0.5 group-data-[orientation=vertical]/tabs:after:inset-y-0 group-data-[orientation=vertical]/tabs:after:-right-1 group-data-[orientation=vertical]/tabs:after:w-0.5 group-data-[variant=line]/tabs-list:data-active:after:opacity-100",e),...t})}function No({className:e,...t}){return j(ee.Panel,{"data-slot":"tabs-content",className:o("flex-1 text-sm outline-none",e),...t})}import{jsx as _o}from"react/jsx-runtime";var To={title1:{className:"text-2xl font-semibold",as:"h1"},title2:{className:"text-xl font-semibold",as:"h2"},body1:{className:"text-base",as:"p"},body2:{className:"text-sm",as:"p"},body3:{className:"text-xs",as:"p"}};function Lo({as:e,format:t,color:i,align:a,className:r,...n}){let s=t?To[t]:void 0,c=e??s?.as??"p";return _o(c,{className:o(s?.className,i==="secondary"&&"text-tertiary",a==="left"&&"text-left",a==="center"&&"text-center",a==="right"&&"text-right",r),...n})}import{jsx as pt,jsxs as Eo}from"react/jsx-runtime";var Mo=({isOn:e,onToggle:t,size:i="sm",disabled:a,className:r})=>Eo(L,{variant:"ghost",size:i,onClick:t,disabled:a,"aria-pressed":e,className:r,children:[e&&pt(w,{className:"fas fa-check starting:translate-x-4 starting:opacity-0 transition-all duration-150"}),pt("span",{className:o(!e&&"text-tertiary"),children:e?"ON":"OFF"})]});import{Tooltip as J}from"@base-ui/react/tooltip";import{jsx as te,jsxs as qo}from"react/jsx-runtime";function Ao({delay:e=0,...t}){return te(J.Provider,{"data-slot":"tooltip-provider",delay:e,...t})}function Bo({...e}){return te(J.Root,{"data-slot":"tooltip",...e})}function Uo({...e}){return te(J.Trigger,{"data-slot":"tooltip-trigger",...e})}function Oo({className:e,side:t="top",sideOffset:i=4,align:a="center",alignOffset:r=0,children:n,...s}){return te(J.Portal,{children:te(J.Positioner,{align:a,alignOffset:r,side:t,sideOffset:i,className:"isolate z-50",children:qo(J.Popup,{"data-slot":"tooltip-content",className:o("z-50 inline-flex w-fit max-w-xs origin-(--transform-origin) items-center gap-1.5 rounded-md bg-foreground px-3 py-1.5 text-xs text-background has-data-[slot=kbd]:pr-1.5 data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 **:data-[slot=kbd]:relative **:data-[slot=kbd]:isolate **:data-[slot=kbd]:z-50 **:data-[slot=kbd]:rounded-sm data-[state=delayed-open]:animate-in data-[state=delayed-open]:fade-in-0 data-[state=delayed-open]:zoom-in-95 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",e),...s,children:[n,te(J.Arrow,{className:"z-50 size-2.5 translate-y-[calc(-50%-2px)] rotate-45 rounded-[2px] bg-foreground fill-foreground data-[side=bottom]:top-1 data-[side=inline-end]:top-1/2! data-[side=inline-end]:-left-1 data-[side=inline-end]:-translate-y-1/2 data-[side=inline-start]:top-1/2! data-[side=inline-start]:-right-1 data-[side=inline-start]:-translate-y-1/2 data-[side=left]:top-1/2! data-[side=left]:-right-1 data-[side=left]:-translate-y-1/2 data-[side=right]:top-1/2! data-[side=right]:-left-1 data-[side=right]:-translate-y-1/2 data-[side=top]:-bottom-2.5"})]})})})}export{Qt as Accordion,ii as AccordionContent,ei as AccordionItem,ti as AccordionTrigger,It as AppIcon,Xt as AssetIcon,si as BottomSheet,di as BottomSheetClose,fi as BottomSheetContent,xi as BottomSheetDescription,yi as BottomSheetFooter,ui as BottomSheetHeader,gi as BottomSheetTitle,li as BottomSheetTrigger,L as Button,hi as ButtonTile,vi as DataItem,Ii as DataItemDescription,wi as DataItemLabel,Pi as DataItemTitle,Ci as DataItemValue,Di as Dialog,Ti as DialogContent,Ei as DialogDescription,_i as DialogFooter,Li as DialogHeader,Mi as DialogTitle,Si as DialogTrigger,Ai as DotPing,Ui as EmptyState,se as EntityComponentBadge,Te as EntityComponentIcon,At as EntityRecipe,qt as GlowEffect,w as Icon,Kt as IconAssetScene,Oi as IslandPanel,Vt as IsometricSchema,Fi as Kbd,zi as Loader,zt as Logo3dverse,Me as Logo3dverseRocket,ji as Menu,Hi as MenuContent,Xi as MenuGroup,Yi as MenuGroupLabel,Zi as MenuItem,Qe as MenuPortal,et as MenuPositioner,Wi as MenuSeparator,Gi as MenuTrigger,Ji as Modal,co as OverlayContainer,Ki as Panel,Qi as PanelHeader,eo as PanelTitle,to as Popover,oo as PopoverContent,no as PopoverDescription,ao as PopoverHeader,ro as PopoverTitle,io as PopoverTrigger,so as ScrollableArea,jt as Spinner,uo as Stack,po as Switch,xo as Tabs,No as TabsContent,Ue as TabsIndicator,Ro as TabsList,ko as TabsTrigger,Lo as Text,Mo as ToggleButton,Bo as Tooltip,Oo as TooltipContent,Ao as TooltipProvider,Uo as TooltipTrigger,re as appIconShapes,o as cn};
16
+ `,{variants:{variant:{default:"bg-primary text-(--color-bg-ground) hover:bg-primary/90",accent:"bg-accent text-black hover:text-black hover:bg-accent-400",outline:"text-primary border border-(--color-content-primary)/50 hover:border-(--color-content-primary)/80","outline-accent":"text-accent border border-accent/50 hover:border-accent/80",secondary:"bg-secondary/10 text-secondary hover:bg-secondary/20",ghost:"text-secondary hover:text-primary active:text-primary","ghost-shadow":a("relative text-neutral-0/80 before:content-[''] before:absolute before:inset-0 before:scale-150 before:bg-neutral-1000 before:opacity-50 before:rounded-full before:blur-lg before:z-[-1] [text-shadow:0_0_1px_black/40]","data-[active=true]:z-1 data-[active=true]:before:opacity-100"),destructive:a("bg-negative/10 text-negative hover:bg-negative/20","focus-visible:border-negative/40 focus-visible:ring-negative/20 dark:bg-negative/20 dark:hover:bg-negative/30 dark:focus-visible:ring-negative/40"),link:"text-primary underline-offset-4 hover:underline",overlay:a("relative text-neutral-0 hover:text-neutral-0/90","before:absolute before:inset-y-0.5 before:inset-x-0.5 before:rounded-full before:z-[-1]","before:bg-neutral-1000/25 before:opacity-0 before:transition-opacity before:duration-500 before:ease-out","data-[active=true]:z-1 data-[active=true]:before:opacity-100"),"overlay-outline":a("border border-neutral-0/40","relative text-neutral-0 hover:text-neutral-0/90","before:absolute before:inset-y-0.5 before:inset-x-0.5 before:rounded-[inherit] before:corner-shape-[inherit] before:z-[-1]","before:bg-neutral-1000/25 before:opacity-0 before:transition-opacity before:duration-500 before:ease-out","data-[active=true]:z-1 data-[active=true]:before:opacity-100")},size:{"3xs":"min-h-4 gap-1 px-1 text-4xs rounded-[min(var(--radius-md),10px)] 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","2xs":"min-h-5 gap-1 px-1 text-3xs rounded-[min(var(--radius-md),10px)] 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",xs:"min-h-6 gap-1 px-2 text-2xs rounded-[min(var(--radius-md),10px)] 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:"min-h-7 gap-1 px-2.5 text-xs rounded-[min(var(--radius-md),12px)] 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",md:"min-h-8 gap-1.5 px-3 text-sm **:data-[slot=icon]:text-xs has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",lg:"min-h-9 text-md gap-1.5 px-3 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",xl:"min-h-12 text-lg gap-1.5 px-2.5 font-medium tracking-wide has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2","icon-xs":"text-3xs size-6 rounded-[min(var(--radius-md),10px)] in-data-[slot=button-group]:rounded-lg","icon-sm":"size-7 rounded-[min(var(--radius-md),12px)] in-data-[slot=button-group]:rounded-lg","icon-md":"text-base size-8","icon-lg":"text-xl size-9","icon-xl":"text-xl size-10"},round:{true:"rounded-full",false:"rounded-xl [corner-shape:squircle]"},active:{true:"",false:""}},defaultVariants:{variant:"default",size:"md"}});function L({as:e,className:t,variant:i="default",size:o="md",round:r=!1,active:n=!1,children:s,...c}){return ni(!e||e==="button"?ai:e,{"data-slot":"button",className:a(ri({variant:i,size:o,round:r,active:n}),t),"data-active":n,...c,children:s})}import{jsx as R,jsxs as Ie}from"react/jsx-runtime";function si({swipeDirection:e="down",closeOnBlur:t=!0,...i}){return R(E.Root,{"data-slot":"bottom-sheet",swipeDirection:e,disablePointerDismissal:!t,...i})}function li({...e}){return R(E.Trigger,{"data-slot":"bottom-sheet-trigger",...e})}function pi({...e}){return R(E.Portal,{"data-slot":"bottom-sheet-portal",...e})}function di({...e}){return R(E.Close,{"data-slot":"bottom-sheet-close",...e})}function ci({className:e,...t}){return R(E.Backdrop,{"data-slot":"bottom-sheet-overlay",className:a("fixed inset-0 isolate z-10100 bg-ground/40 backdrop-blur-xs transition-opacity duration-100 ease-out data-swiping:transition-none","data-open:animate-in data-open:fade-in-0 data-open:duration-100","data-closed:not-data-swipe-dismiss:animate-out data-closed:not-data-swipe-dismiss:fade-out-0 data-closed:not-data-swipe-dismiss:duration-100 data-closed:not-data-swipe-dismiss:fill-mode-forwards",e),...t,style:{opacity:"calc(1 - var(--drawer-swipe-progress, 0))"}})}function mi({className:e,...t}){return R(E.Viewport,{"data-slot":"bottom-sheet-viewport",className:a("fixed inset-x-0 bottom-0 z-10110 flex justify-center outline-none",e),...t})}function fi({className:e,children:t,showHandle:i=!0,showCloseButton:o=!1,showOverlay:r=!0,...n}){return Ie(pi,{children:[r&&R(ci,{}),R(mi,{children:Ie(E.Popup,{"data-slot":"bottom-sheet-content",className:a("relative flex w-full flex-col rounded-t-2xl bg-ground/80 backdrop-blur-lg p-4 pt-2 pb-[calc(1rem+env(safe-area-inset-bottom))] text-sm text-popover-foreground ring-1 ring-foreground/10 outline-none","transform-[translateY(var(--drawer-swipe-movement-y,0px))]","data-open:animate-in data-open:slide-in-from-bottom data-open:duration-200 data-closed:animate-out data-closed:slide-out-to-bottom data-closed:duration-150 data-closed:fill-mode-forwards",e),...n,children:[i&&R("div",{"data-slot":"bottom-sheet-handle",className:"self-center h-px w-8 -translate-y-1 rounded-full bg-(--color-content-secondary)/50 touch-none select-none","aria-hidden":!0}),t,o&&Ie(E.Close,{"data-slot":"bottom-sheet-close",render:R(L,{variant:"ghost",className:"absolute top-2 right-2",size:"icon-sm"}),children:[R(w,{className:"fas fa-xmark"}),R("span",{className:"sr-only",children:"Close"})]}),R("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-x-0 top-full h-[30vh] bg-ground/50 backdrop-blur-lg"})]})})]})}function ui({className:e,...t}){return R("div",{"data-slot":"bottom-sheet-header",className:a("flex flex-col gap-2",e),...t})}function yi({className:e,showCloseButton:t=!1,children:i,...o}){return Ie("div",{"data-slot":"bottom-sheet-footer",className:a("-mx-4 -mb-4 flex flex-col-reverse sm:flex-row gap-2 rounded-b-xl border-t border-tertiary bg-muted/50 p-4 pb-[calc(1rem+env(safe-area-inset-bottom))] sm:justify-end",e),...o,children:[i,t&&R(E.Close,{render:R(L,{variant:"outline"}),children:"Close"})]})}function gi({className:e,...t}){return R(E.Title,{"data-slot":"bottom-sheet-title",className:a("font-heading uppercase text-4xs leading-none font-medium text-tertiary pl-3 mt-1",e),...t})}function xi({className:e,...t}){return R(E.Description,{"data-slot":"bottom-sheet-description",className:a("text-sm text-muted-foreground *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground",e),...t})}import{jsx as hi,jsxs as Je}from"react/jsx-runtime";function bi({as:e,className:t,variant:i="ghost",size:o="md",orientation:r="vertical",round:n=!1,icon:s,rightComponent:c,isEnabled:D=!0,children:B,...g}){return Je(L,{...g,as:e,variant:i,size:o,round:n,className:a(t,D?"":"opacity-75"),children:[Je("div",{className:a("grow flex py-2",r==="inline"?"items-center gap-2":"gap-1.5 flex-col justify-between items-start"),children:[s&&hi(w,{className:s,crossed:!D}),B]}),c]})}import{jsx as ce,jsxs as Ri}from"react/jsx-runtime";var vi=({children:e,size:t="sm",className:i})=>{let o=t==="2xs"?"text-2xs":t==="3xs"?"text-3xs":"text-sm",r=["3xs","2xs"].includes(t)&&"**:data-[slot=data-item-label]:py-1.5";return ce("fieldset",{className:a("flex gap-2 items-baseline justify-center w-full px-2.5",o,r,i),children:e})},wi=({children:e,icon:t,className:i})=>Ri("div",{"data-slot":"data-item-label",className:a("relative grow flex py-2 items-baseline gap-3 text-balance",i),children:[t&&ce(w,{className:a("text-[88%] text-tertiary -translate-y-px",t)}),e]}),Pi=({children:e,className:t})=>ce("p",{className:t,children:e}),Ii=({children:e,className:t})=>ce("p",{className:a("my-px text-[88%] leading-tight text-tertiary",t),children:e}),Ci=({children:e,className:t})=>ce("div",{className:a("text-primary",t),children:e});import{Dialog as q}from"@base-ui/react/dialog";import{jsx as _,jsxs as Ce}from"react/jsx-runtime";function Di({...e}){return _(q.Root,{"data-slot":"dialog",...e})}function Si({...e}){return _(q.Trigger,{"data-slot":"dialog-trigger",...e})}function ki({...e}){return _(q.Portal,{"data-slot":"dialog-portal",...e})}function Ni({className:e,...t}){return _(q.Backdrop,{"data-slot":"dialog-overlay",className:a("fixed inset-0 isolate z-10100 bg-ground/80 duration-100 supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0",e),...t})}function Ti({className:e,children:t,showCloseButton:i=!1,...o}){return Ce(ki,{children:[_(Ni,{}),Ce(q.Popup,{"data-slot":"dialog-content",className:a("fixed top-1/2 left-1/2 z-10110 grid w-full max-w-[calc(100%-2rem)] -translate-x-1/2 -translate-y-1/2 gap-4 rounded-xl bg-popover p-4 text-sm text-popover-foreground ring-1 ring-foreground/10 duration-100 outline-none sm:max-w-sm data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",e),...o,children:[t,i&&Ce(q.Close,{"data-slot":"dialog-close",render:_(L,{variant:"ghost",className:"absolute top-2 right-2",size:"icon-sm"}),children:[_(w,{className:"fal fa-xmark"}),_("span",{className:"sr-only",children:"Close"})]})]})]})}function Li({className:e,...t}){return _("div",{"data-slot":"dialog-header",className:a("flex flex-col gap-2",e),...t})}function _i({className:e,showCloseButton:t=!1,children:i,...o}){return Ce("div",{"data-slot":"dialog-footer",className:a("-mx-4 -mb-4 flex flex-col-reverse gap-2 rounded-b-xl border-t bg-muted/50 p-4 sm:flex-row sm:justify-end",e),...o,children:[i,t&&_(q.Close,{render:_(L,{variant:"outline"}),children:"Close"})]})}function Mi({className:e,...t}){return _(q.Title,{"data-slot":"dialog-title",className:a("font-heading text-base leading-none font-medium",e),...t})}function Ei({className:e,...t}){return _(q.Description,{"data-slot":"dialog-description",className:a("text-sm text-muted-foreground *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground",e),...t})}import{jsx as Bi}from"react/jsx-runtime";var Ai=({className:e,isActive:t})=>Bi("span",{className:a("relative block w-2 h-2 rounded-full bg-current z-1 pointer-events-none","before:content-[''] before:block before:w-4 before:h-4 before:absolute before:-inset-1 before:rounded-full before:bg-inherit before:opacity-10",t?"text-positive before:animate-pulse":"text-primary/40 before:animate-none",e)});import{jsx as Re,jsxs as Ke}from"react/jsx-runtime";var Ui=({icon:e,title:t,description:i,variant:o="default",className:r})=>Ke("div",{className:a("flex flex-col items-center gap-4 text-center px-3 py-7 text-balance",o==="glow"&&"glow-effect",r),children:[e&&Re("div",{className:"flex shrink-0 items-center justify-center",children:Re(w,{className:a(e,"text-2xl text-tertiary",o==="glow"&&"drop-shadow-[0_12px_6px_var(--color-bg-underground)]")})}),Ke("div",{className:"flex flex-col gap-0.5",children:[t&&Re("span",{className:"text-md",children:t}),i&&Re("span",{className:"mt-px text-3xs text-tertiary font-normal",children:i})]})]});import{jsx as qi}from"react/jsx-runtime";var Oi=({children:e,shadow:t="none",className:i,as:o,...r})=>qi(o||"div",{className:a("flex items-center bg-ground/50 backdrop-blur-sm border border-white/20 rounded-full","pointer-events-auto",t==="lg"&&"shadow-[0_20px_15px_-12px_rgba(0,0,0,.35)]",i),...r,children:e});import{jsx as Vi}from"react/jsx-runtime";var Fi=({children:e,className:t})=>Vi("kbd",{className:a("inline-flex items-center justify-center min-w-4 h-4 px-1 rounded border border-current/30 text-[0.65rem] leading-none font-normal uppercase opacity-70",t),children:e});import{jsx as $i}from"react/jsx-runtime";function zi({className:e,...t}){return $i(w,{className:a("fal fa-spinner size-6 animate-spin text-primary",e),...t})}import{Menu as F}from"@base-ui/react/menu";import{jsx as A}from"react/jsx-runtime";function ji({...e}){return A(F.Root,{"data-slot":"menu",...e})}function Gi({...e}){return A(F.Trigger,{"data-slot":"menu-trigger",...e})}function Qe({...e}){return A(F.Portal,{"data-slot":"menu-portal",...e})}function et({className:e,sideOffset:t=8,align:i="end",...o}){return A(F.Positioner,{"data-slot":"menu-positioner",sideOffset:t,align:i,className:a("z-10110 outline-none",e),...o})}function Hi({className:e,children:t,...i}){return A(Qe,{children:A(et,{children:A(F.Popup,{"data-slot":"menu-content",className:a("min-w-40 origin-(--transform-origin) bg-ground/80 backdrop-blur-lg p-1 text-xs outline-none","rounded-xl [corner-shape:squircle]","data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",e),...i,children:t})})})}function Zi({className:e,...t}){return A(F.Item,{"data-slot":"menu-item",className:a("flex cursor-pointer items-center gap-3 rounded-sm px-2 py-1 text-sm outline-none select-none","data-highlighted:bg-primary/10 data-highlighted:text-primary","data-disabled:pointer-events-none data-disabled:opacity-50","transition-colors duration-200 ease-in-out","[&_svg]:pointer-events-none [&_svg]:shrink-0 **:data-[slot=icon]:text-3xs **:data-[slot=icon]:w-3",e),...t})}function Wi({className:e,...t}){return A(F.Separator,{"data-slot":"menu-separator",className:a("-mx-1 my-1 h-px bg-foreground/10",e),...t})}function Xi({...e}){return A(F.Group,{"data-slot":"menu-group",...e})}function Yi({className:e,...t}){return A(F.GroupLabel,{"data-slot":"menu-group-label",className:a("px-2.5 py-1.5 text-xs text-tertiary",e),...t})}import{Dialog as me}from"@base-ui/react/dialog";import{jsx as fe,jsxs as tt}from"react/jsx-runtime";function Ji({open:e,onClose:t,closeIcon:i,fullScreen:o,disableBackdropClick:r,disableEscapeKeyDown:n,backdropBg:s="var(--color-underground)",className:c,style:D,children:B,...g}){return fe(me.Root,{open:e,modal:!0,disablePointerDismissal:r,onOpenChange:(h,x)=>{h||n&&x.reason==="escape-key"||t?.()},children:tt(me.Portal,{container:document.getElementById("app-container"),children:[fe(me.Backdrop,{className:"fixed inset-0",style:{background:s,opacity:.9,zIndex:D?.zIndex}}),tt(me.Popup,{className:a("fixed inset-0 flex items-center justify-center",!o&&"p-4",c),style:{...D,width:o?"100%":void 0,height:o?"100%":void 0},"aria-labelledby":g["aria-labelledby"],children:[i&&fe(me.Close,{render:fe(L,{"aria-label":"Close",variant:"ghost",size:"icon-md",className:"absolute top-4 right-4"}),children:fe(w,{className:"fal fa-xmark"})}),B]})]})})}import{jsx as Ae}from"react/jsx-runtime";var Ki=({startingTransiton:e=!1,children:t,className:i,ref:o,...r})=>Ae("aside",{ref:o,"data-slot":"panel",className:a("border border-primary/50 bg-ground/80 backdrop-blur-sm shadow-[0_10px_20px_-8px_rgba(0,0,0,.6)]","rounded-[1rem] [corner-shape:squircle]",e&&"starting:opacity-0 starting:translate-y-4 starting:scale-95 transition-all duration-350 ease-in-out","pointer-events-auto",i),...r,children:t}),Qi=({children:e,className:t,...i})=>Ae("header",{className:a("flex px-3 py-2",t),...i,children:e}),ea=({children:e,className:t,...i})=>Ae("h2",{className:a("text-[.7rem] text-secondary font-normal tracking-wider uppercase",t),...i,children:e});import{Popover as Y}from"@base-ui/react/popover";import{jsx as $}from"react/jsx-runtime";function ta({...e}){return $(Y.Root,{"data-slot":"popover",...e})}function ia({...e}){return $(Y.Trigger,{"data-slot":"popover-trigger",...e})}function aa({className:e,align:t="center",alignOffset:i=0,side:o="bottom",sideOffset:r=4,shadow:n,anchor:s,...c}){return $(Y.Portal,{children:$(Y.Positioner,{align:t,alignOffset:i,side:o,sideOffset:r,anchor:s,className:"z-10110",children:$(Y.Popup,{"data-slot":"popover-content",className:a("border border-primary/50 bg-ground/80 backdrop-blur-sm ","rounded-[1rem] [corner-shape:squircle]","flex w-72 origin-(--transform-origin) flex-col gap-2.5 p-2.5 text-sm text-popover-foreground outline-hidden duration-100","data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",n==="lg"?"shadow-[0_20px_15px_-12px_rgba(0,0,0,.35)]":"shadow-[0_10px_20px_-8px_rgba(0,0,0,.6)]",e),...c})})})}function oa({className:e,...t}){return $("div",{"data-slot":"popover-header",className:a("flex flex-col gap-0.5 text-sm",e),...t})}function ra({className:e,...t}){return $(Y.Title,{"data-slot":"popover-title",className:a("font-medium",e),...t})}function na({className:e,...t}){return $(Y.Description,{"data-slot":"popover-description",className:a("text-muted-foreground",e),...t})}import{jsx as la}from"react/jsx-runtime";var sa=({direction:e="horizontal",children:t,className:i,ref:o})=>la("div",{ref:o,className:a(e==="horizontal"?"overflow-x-auto":"overflow-y-auto",e==="horizontal"?"[-webkit-mask-image:linear-gradient(to_right,transparent,black_16px,black_calc(100%-16px),transparent)]":"[-webkit-mask-image:linear-gradient(to_bottom,transparent,black_16px,black_calc(100%-16px),transparent)]",e==="horizontal"?"mask-[linear-gradient(to_right,transparent,black_16px,black_calc(100%-16px),transparent)]":"mask-[linear-gradient(to_bottom,transparent,black_16px,black_calc(100%-16px),transparent)]",i),children:t});import{Switch as it}from"@base-ui/react/switch";import{jsx as at}from"react/jsx-runtime";function pa({className:e,disabled:t,...i}){return at(it.Root,{"data-slot":"switch",className:a("inline-flex h-5 w-8 shrink-0 cursor-pointer items-center rounded-full border border-transparent bg-neutral-0/20 p-0.5 transition-colors outline-none","focus-visible:ring-[3px] focus-visible:ring-ring/50","data-disabled:opacity-50 data-disabled:cursor-not-allowed","data-checked:bg-accent",e),"data-disabled":t,...i,children:at(it.Thumb,{"data-slot":"switch-thumb",className:"block size-4 rounded-full bg-neutral-0 opacity-50 data-checked:opacity-100 shadow-sm transition-[translate,opacity] data-checked:translate-x-3"})})}import{jsx as ca}from"react/jsx-runtime";var da=({children:e,className:t,as:i})=>ca(i||"div",{className:a("flex rounded-full bg-neutral-1000/10 light:bg-neutral-1000/50 backdrop-blur-sm filter-[drop-shadow(2px_4px_8px_rgb(0_0_0/0.6))]",t),children:e});import{forwardRef as ma}from"react";import{jsx as ua}from"react/jsx-runtime";var fa=ma(function({fullWidth:t,fullHeight:i,vertical:o,vCenter:r,hCenter:n,opposite:s,gapRight:c,gapBottom:D,className:B,style:g,...h},x){let p=!!o,v=c??D,b=p?n?"center":void 0:r?"center":void 0,S=s?"space-between":p?r?"center":void 0:n?"center":void 0;return ua("div",{ref:x,className:a("flex",p?"flex-col":"flex-row",t&&"w-full",i&&"h-full",B),style:{alignItems:b,justifyContent:S,gap:v!==void 0?`${v}rem`:void 0,...g},...h})});import{useRef as Be}from"react";import{Tabs as ee}from"@base-ui/react/tabs";import{cva as ya}from"class-variance-authority";import{jsx as j,jsxs as lt}from"react/jsx-runtime";function ga({className:e,orientation:t="horizontal",...i}){return j(ee.Root,{"data-slot":"tabs","data-orientation":t,className:a("group/tabs flex gap-2 data-[orientation=horizontal]:flex-col",e),...i})}var st=ya("group/tabs-list relative inline-flex w-fit items-center justify-center rounded-lg text-secondary group-data-[orientation=vertical]/tabs:h-fit group-data-[orientation=vertical]/tabs:flex-col data-[variant=line]:rounded-none",{variants:{variant:{default:"bg-muted",segment:"text-white/85 border border-white/40 rounded-full",line:"gap-1 bg-transparent"},size:{"2xs":"p-[2px] text-2xs group-data-[orientation=horizontal]/tabs:h-6",xs:"p-[2px] text-xs group-data-[orientation=horizontal]/tabs:h-6",sm:"p-[2px] text-sm group-data-[orientation=horizontal]/tabs:h-7",md:"p-[2px] text-md group-data-[orientation=horizontal]/tabs:h-8"}},defaultVariants:{variant:"default",size:"md"}}),xa=6;function ba(e){let t=e.getBoundingClientRect();return Array.from(e.querySelectorAll('[data-slot="tabs-trigger"]')).map(i=>{let o=i.getBoundingClientRect();return{el:i,left:o.left-t.left,width:o.width}})}function ot(e,t){let i=t[0],o=t[t.length-1],r=Math.min(Math.max(e,i.left),o.left);for(let n=0;n<t.length-1;n++){let s=t[n],c=t[n+1];if(r>=s.left&&r<=c.left){let D=(r-s.left)/(c.left-s.left||1);return{left:r,width:s.width+D*(c.width-s.width)}}}return{left:r,width:r===i.left?i.width:o.width}}function ha(e,t){return t.reduce((i,o)=>{let r=o.left+o.width/2,n=i.left+i.width/2;return Math.abs(e-r)<Math.abs(e-n)?o:i})}var va=[255,255,255,.85],wa=[0,0,0,1];function Pa(e){let t=Math.min(Math.max(e,0),1),[i,o,r,n]=va.map((s,c)=>s+(wa[c]-s)*t);return`rgba(${i}, ${o}, ${r}, ${n})`}function Ia(e,t,i){let o=Math.min(e+t,i.left+i.width)-Math.max(e,i.left);return Math.max(0,o)/i.width}function rt(e,t,i){for(let o of i)o.el.style.color=Pa(Ia(e,t,o))}function nt(e){for(let t of e)t.el.style.transition="",t.el.style.color=""}function Ca({swipeable:e=!1,variant:t="default",...i}){return e&&t==="segment"?j(Da,{...i}):j(Ra,{variant:t,...i})}function Ra({className:e,variant:t="default",size:i="md",children:o,...r}){return lt(ee.List,{"data-slot":"tabs-list","data-variant":t,"data-size":i,className:a(st({variant:t,size:i}),e),...r,children:[o,t==="segment"&&j(Ue,{})]})}function Da({className:e,size:t="md",children:i,...o}){let r=Be(null),n=Be(null),s=Be(null),c=()=>r.current?.querySelector('[data-slot="tabs-indicator"]'),D=()=>{let p=c();p&&(p.style.transition="",p.style.translate="",p.style.width="")},B=()=>{let p=s.current;p&&(p.indicator.removeEventListener("transitionend",p.handler),clearTimeout(p.timeoutId),s.current=null)},g=p=>{if(p.pointerType!=="touch")return;B();let v=r.current,b=v?.querySelector('[data-slot="tabs-trigger"][data-active]');if(!v||!b)return;let S=ba(v),y=S.find(f=>f.el===b);y&&(n.current={pointerId:p.pointerId,startX:p.clientX,isDragging:!1,activeLeft:y.left,activeEl:b,triggers:S})},h=p=>{let v=n.current;if(!v||p.pointerId!==v.pointerId)return;let b=p.clientX-v.startX;if(!v.isDragging){if(Math.abs(b)<xa)return;v.isDragging=!0,r.current?.setPointerCapture(p.pointerId);let m=c();m&&(m.style.transition="none");for(let u of v.triggers)u.el.style.transition="none"}p.preventDefault();let S=c();if(!S)return;let{left:y,width:f}=ot(v.activeLeft+b,v.triggers);S.style.translate=`${y}px`,S.style.width=`${f}px`,rt(y,f,v.triggers)},x=(p,v)=>{let b=n.current;if(!b||p.pointerId!==b.pointerId||(n.current=null,!b.isDragging))return;r.current?.releasePointerCapture(p.pointerId);let S=c();if(!v||!S){D(),nt(b.triggers);return}let y=p.clientX-b.startX,{left:f,width:m}=ot(b.activeLeft+y,b.triggers),u=ha(f+m/2,b.triggers);S.style.transition="",S.style.translate=`${u.left}px`,S.style.width=`${u.width}px`;for(let G of b.triggers)G.el.style.transition="";rt(u.left,u.width,b.triggers),u.el!==b.activeEl&&u.el.click();let I=()=>{D(),nt(b.triggers)};S.addEventListener("transitionend",I,{once:!0});let V=window.setTimeout(()=>{s.current=null,I()},200);s.current={indicator:S,handler:I,timeoutId:V}};return lt(ee.List,{ref:r,"data-slot":"tabs-list","data-variant":"segment","data-size":t,className:a(st({variant:"segment",size:t}),"touch-pan-y",e),onPointerDown:g,onPointerMove:h,onPointerUp:p=>x(p,!0),onPointerCancel:p=>x(p,!1),...o,children:[i,j(Ue,{})]})}function Ue({className:e,...t}){return j(ee.Indicator,{"data-slot":"tabs-indicator",className:a("absolute z-[-1] h-[calc(100%-4px)]! rounded-full bg-white transition-[translate,width] duration-200 ease-in-out","group-data-[orientation=horizontal]/tabs:top-0.5 group-data-[orientation=horizontal]/tabs:left-0 group-data-[orientation=horizontal]/tabs:h-full group-data-[orientation=horizontal]/tabs:w-(--active-tab-width) group-data-[orientation=horizontal]/tabs:translate-x-(--active-tab-left)","group-data-[orientation=vertical]/tabs:top-0.5 group-data-[orientation=vertical]/tabs:left-0 group-data-[orientation=vertical]/tabs:w-full group-data-[orientation=vertical]/tabs:h-(--active-tab-height) group-data-[orientation=vertical]/tabs:translate-y-(--active-tab-top)",e),...t})}function Sa({className:e,...t}){return j(ee.Tab,{"data-slot":"tabs-trigger",className:a("relative inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 px-1.5 py-0.5","text-inherit rounded-md border border-transparent whitespace-nowrap transition-all","group-data-[orientation=vertical]/tabs:w-full group-data-[orientation=vertical]/tabs:justify-start","hover:text-primary focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1 focus-visible:outline-ring","disabled:pointer-events-none disabled:opacity-50 has-data-[icon=inline-end]:pr-1 has-data-[icon=inline-start]:pl-1 aria-disabled:pointer-events-none aria-disabled:opacity-50 group-data-[variant=default]/tabs-list:text-tertiary [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4","cursor-pointer","group-data-[variant=line]/tabs-list:bg-transparent group-data-[variant=line]/tabs-list:data-active:bg-transparent","data-active:text-primary","group-data-[variant=default]/tabs-list:data-active:bg-background","group-data-[variant=segment]/tabs-list:data-active:bg-transparent group-data-[variant=segment]/tabs-list:data-active:text-black","group-data-[size=sm]/tabs-list:gap-1 group-data-[size=sm]/tabs-list:px-1.5 group-data-[size=sm]/tabs-list:py-0 group-data-[size=sm]/tabs-list:text-xs","after:absolute after:bg-foreground after:opacity-0 after:transition-opacity group-data-[orientation=horizontal]/tabs:after:inset-x-0 group-data-[orientation=horizontal]/tabs:after:bottom-[-5px] group-data-[orientation=horizontal]/tabs:after:h-0.5 group-data-[orientation=vertical]/tabs:after:inset-y-0 group-data-[orientation=vertical]/tabs:after:-right-1 group-data-[orientation=vertical]/tabs:after:w-0.5 group-data-[variant=line]/tabs-list:data-active:after:opacity-100",e),...t})}function ka({className:e,...t}){return j(ee.Panel,{"data-slot":"tabs-content",className:a("flex-1 text-sm outline-none",e),...t})}import{jsx as La}from"react/jsx-runtime";var Na={title1:{className:"text-2xl font-semibold",as:"h1"},title2:{className:"text-xl font-semibold",as:"h2"},body1:{className:"text-base",as:"p"},body2:{className:"text-sm",as:"p"},body3:{className:"text-xs",as:"p"}};function Ta({as:e,format:t,color:i,align:o,className:r,...n}){let s=t?Na[t]:void 0,c=e??s?.as??"p";return La(c,{className:a(s?.className,i==="secondary"&&"text-tertiary",o==="left"&&"text-left",o==="center"&&"text-center",o==="right"&&"text-right",r),...n})}import{jsx as pt,jsxs as Ma}from"react/jsx-runtime";var _a=({isOn:e,onToggle:t,size:i="sm",disabled:o,className:r})=>Ma(L,{variant:"ghost",size:i,onClick:t,disabled:o,"aria-pressed":e,className:r,children:[e&&pt(w,{className:"fas fa-check starting:translate-x-4 starting:opacity-0 transition-all duration-150"}),pt("span",{className:a(!e&&"text-tertiary"),children:e?"ON":"OFF"})]});import{Tooltip as J}from"@base-ui/react/tooltip";import{jsx as te,jsxs as Oa}from"react/jsx-runtime";function Ea({delay:e=0,...t}){return te(J.Provider,{"data-slot":"tooltip-provider",delay:e,...t})}function Aa({...e}){return te(J.Root,{"data-slot":"tooltip",...e})}function Ba({...e}){return te(J.Trigger,{"data-slot":"tooltip-trigger",...e})}function Ua({className:e,side:t="top",sideOffset:i=4,align:o="center",alignOffset:r=0,children:n,...s}){return te(J.Portal,{children:te(J.Positioner,{align:o,alignOffset:r,side:t,sideOffset:i,className:"isolate z-50",children:Oa(J.Popup,{"data-slot":"tooltip-content",className:a("z-50 inline-flex w-fit max-w-xs origin-(--transform-origin) items-center gap-1.5 rounded-md bg-foreground px-3 py-1.5 text-xs text-background has-data-[slot=kbd]:pr-1.5 data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 **:data-[slot=kbd]:relative **:data-[slot=kbd]:isolate **:data-[slot=kbd]:z-50 **:data-[slot=kbd]:rounded-sm data-[state=delayed-open]:animate-in data-[state=delayed-open]:fade-in-0 data-[state=delayed-open]:zoom-in-95 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",e),...s,children:[n,te(J.Arrow,{className:"z-50 size-2.5 translate-y-[calc(-50%-2px)] rotate-45 rounded-[2px] bg-foreground fill-foreground data-[side=bottom]:top-1 data-[side=inline-end]:top-1/2! data-[side=inline-end]:-left-1 data-[side=inline-end]:-translate-y-1/2 data-[side=inline-start]:top-1/2! data-[side=inline-start]:-right-1 data-[side=inline-start]:-translate-y-1/2 data-[side=left]:top-1/2! data-[side=left]:-right-1 data-[side=left]:-translate-y-1/2 data-[side=right]:top-1/2! data-[side=right]:-left-1 data-[side=right]:-translate-y-1/2 data-[side=top]:-bottom-2.5"})]})})})}export{Qt as Accordion,ii as AccordionContent,ei as AccordionItem,ti as AccordionTrigger,It as AppIcon,Xt as AssetIcon,si as BottomSheet,di as BottomSheetClose,fi as BottomSheetContent,xi as BottomSheetDescription,yi as BottomSheetFooter,ui as BottomSheetHeader,gi as BottomSheetTitle,li as BottomSheetTrigger,L as Button,bi as ButtonTile,vi as DataItem,Ii as DataItemDescription,wi as DataItemLabel,Pi as DataItemTitle,Ci as DataItemValue,Di as Dialog,Ti as DialogContent,Ei as DialogDescription,_i as DialogFooter,Li as DialogHeader,Mi as DialogTitle,Si as DialogTrigger,Ai as DotPing,Ui as EmptyState,se as EntityComponentBadge,Te as EntityComponentIcon,At as EntityRecipe,qt as GlowEffect,w as Icon,Kt as IconAssetScene,Oi as IslandPanel,Vt as IsometricSchema,Fi as Kbd,zi as Loader,zt as Logo3dverse,Me as Logo3dverseRocket,ji as Menu,Hi as MenuContent,Xi as MenuGroup,Yi as MenuGroupLabel,Zi as MenuItem,Qe as MenuPortal,et as MenuPositioner,Wi as MenuSeparator,Gi as MenuTrigger,Ji as Modal,da as OverlayContainer,Ki as Panel,Qi as PanelHeader,ea as PanelTitle,ta as Popover,aa as PopoverContent,na as PopoverDescription,oa as PopoverHeader,ra as PopoverTitle,ia as PopoverTrigger,sa as ScrollableArea,jt as Spinner,fa as Stack,pa as Switch,ga as Tabs,ka as TabsContent,Ue as TabsIndicator,Ca as TabsList,Sa as TabsTrigger,Ta as Text,_a as ToggleButton,Aa as Tooltip,Ua as TooltipContent,Ea as TooltipProvider,Ba as TooltipTrigger,re as appIconShapes,a as cn};
17
17
  //# sourceMappingURL=index.mjs.map