From f580afb93aaddff90e8a56129b740c2e9ba98800 Mon Sep 17 00:00:00 2001 From: RedHawk989 Date: Thu, 10 Aug 2023 16:45:09 +0000 Subject: [PATCH] docs: update roadmap --- 404.html | 4 ++-- about.html | 10 +++++----- archive/fox_ir_v2_build_instructions.html | 12 ++++++------ ...about.md.fd49c172.js => about.md.a9b306c8.js} | 2 +- ...d49c172.lean.js => about.md.a9b306c8.lean.js} | 2 +- assets/app.d49a10a3.js | 1 + assets/app.ea41a7a6.js | 1 - ..._fox_ir_v2_build_instructions.md.c95da5f7.js} | 2 +- ...ir_v2_build_instructions.md.c95da5f7.lean.js} | 2 +- ...cordion.db4d26c2.js => Accordion.a318d504.js} | 2 +- ...List.78ea8d78.js => CheckBoxList.4e2280d2.js} | 2 +- assets/chunks/framework.17985c0a.js | 2 ++ assets/chunks/framework.7384f92b.js | 2 -- .../{index.3b745ef0.js => index.4ffa16ab.js} | 2 +- assets/chunks/index.9f7265df.js | 1 - assets/chunks/index.d657d51d.js | 1 + assets/chunks/theme.16007baf.js | 7 +++++++ assets/chunks/theme.3144e18a.js | 7 ------- ...act.md.8b34e956.js => contact.md.05016461.js} | 2 +- ...4e956.lean.js => contact.md.05016461.lean.js} | 2 +- assets/dev_roadmap.md.1d67b1f2.js | 1 - assets/dev_roadmap.md.1d67b1f2.lean.js | 1 - assets/dev_roadmap.md.f3dd7c17.js | 1 + assets/dev_roadmap.md.f3dd7c17.lean.js | 1 + ... => development_docs_dev_docs.md.f32aa5d4.js} | 2 +- ...evelopment_docs_dev_docs.md.f32aa5d4.lean.js} | 2 +- ....js => development_docs_pages.md.55174e30.js} | 2 +- ...> development_docs_pages.md.55174e30.lean.js} | 2 +- ...=> development_docs_standards.md.ded806e2.js} | 2 +- ...velopment_docs_standards.md.ded806e2.lean.js} | 2 +- ...ware_guide_configure_firmware.md.f3dbc3bf.js} | 2 +- ...guide_configure_firmware.md.f3dbc3bf.lean.js} | 2 +- ...> firmware_guide_environments.md.8382e06e.js} | 2 +- ...mware_guide_environments.md.8382e06e.lean.js} | 2 +- ...js => firmware_guide_firmware.md.16809ca6.js} | 2 +- ... firmware_guide_firmware.md.16809ca6.lean.js} | 2 +- ...871.js => firmware_guide_mdns.md.88fe9005.js} | 2 +- ...s => firmware_guide_mdns.md.88fe9005.lean.js} | 2 +- ...js => firmware_guide_rest_api.md.f771b252.js} | 2 +- ... firmware_guide_rest_api.md.f771b252.lean.js} | 2 +- ...> firmware_guide_setup_vscode.md.1e2f05f2.js} | 2 +- ...mware_guide_setup_vscode.md.1e2f05f2.lean.js} | 2 +- ...mware_guide_update_platformio.md.bd8c1a40.js} | 2 +- ..._guide_update_platformio.md.bd8c1a40.lean.js} | 2 +- ...de_upload_and_update_firmware.md.857677c5.js} | 2 +- ...load_and_update_firmware.md.857677c5.lean.js} | 2 +- ...f.js => getting_started_intro.md.8d6c94c1.js} | 2 +- ...=> getting_started_intro.md.8d6c94c1.lean.js} | 2 +- ...=> getting_started_led_safety.md.50db11e5.js} | 2 +- ...tting_started_led_safety.md.50db11e5.lean.js} | 2 +- ...etting_started_things_to_know.md.89b13253.js} | 2 +- ...g_started_things_to_know.md.89b13253.lean.js} | 2 +- ...build_creating_your_own_mount.md.610d1805.js} | 2 +- ..._creating_your_own_mount.md.610d1805.lean.js} | 2 +- ...js => how_to_build_full_build.md.92660a15.js} | 2 +- ... how_to_build_full_build.md.92660a15.lean.js} | 2 +- ...js => how_to_build_parts_list.md.3921b9c0.js} | 2 +- ... how_to_build_parts_list.md.3921b9c0.lean.js} | 2 +- ...index.md.8a593e29.js => index.md.e2859d78.js} | 2 +- ...a593e29.lean.js => index.md.e2859d78.lean.js} | 2 +- ...aq.md.bc5df512.js => misc_faq.md.87cf6239.js} | 2 +- ...f512.lean.js => misc_faq.md.87cf6239.lean.js} | 2 +- ...6.js => misc_vrc_avatar_setup.md.5da944e1.js} | 2 +- ...=> misc_vrc_avatar_setup.md.5da944e1.lean.js} | 2 +- ...software_guide_build_software.md.7fd62689.js} | 2 +- ...are_guide_build_software.md.7fd62689.lean.js} | 2 +- ...re_guide_eyetrackvr_app_guide.md.aeb3e08b.js} | 2 +- ...ide_eyetrackvr_app_guide.md.aeb3e08b.lean.js} | 2 +- ...s => software_guide_osc_setup.md.0ed7cc47.js} | 2 +- ...software_guide_osc_setup.md.0ed7cc47.lean.js} | 2 +- contact.html | 10 +++++----- dev_roadmap.html | 14 +++++++------- development/docs/dev_docs.html | 10 +++++----- development/docs/pages.html | 10 +++++----- development/docs/standards.html | 10 +++++----- firmware_guide/configure_firmware.html | 14 +++++++------- firmware_guide/environments.html | 12 ++++++------ firmware_guide/firmware.html | 10 +++++----- firmware_guide/mdns.html | 10 +++++----- firmware_guide/rest_api.html | 10 +++++----- firmware_guide/setup_vscode.html | 12 ++++++------ firmware_guide/update_platformio.html | 12 ++++++------ firmware_guide/upload_and_update_firmware.html | 14 +++++++------- getting_started/intro.html | 14 +++++++------- getting_started/led_safety.html | 12 ++++++------ getting_started/things_to_know.html | 10 +++++----- hashmap.json | 2 +- how_to_build/creating_your_own_mount.html | 10 +++++----- how_to_build/full_build.html | 16 ++++++++-------- how_to_build/parts_list.html | 14 +++++++------- index.html | 10 +++++----- misc/faq.html | 12 ++++++------ misc/vrc_avatar_setup.html | 12 ++++++------ software_guide/build_software.html | 14 +++++++------- software_guide/eyetrackvr_app_guide.html | 14 +++++++------- software_guide/osc_setup.html | 14 +++++++------- 96 files changed, 232 insertions(+), 232 deletions(-) rename assets/{about.md.fd49c172.js => about.md.a9b306c8.js} (72%) rename assets/{about.md.fd49c172.lean.js => about.md.a9b306c8.lean.js} (72%) create mode 100644 assets/app.d49a10a3.js delete mode 100644 assets/app.ea41a7a6.js rename assets/{archive_fox_ir_v2_build_instructions.md.4968d89f.js => archive_fox_ir_v2_build_instructions.md.c95da5f7.js} (95%) rename assets/{archive_fox_ir_v2_build_instructions.md.4968d89f.lean.js => archive_fox_ir_v2_build_instructions.md.c95da5f7.lean.js} (94%) rename assets/chunks/{Accordion.db4d26c2.js => Accordion.a318d504.js} (75%) rename assets/chunks/{CheckBoxList.78ea8d78.js => CheckBoxList.4e2280d2.js} (77%) create mode 100644 assets/chunks/framework.17985c0a.js delete mode 100644 assets/chunks/framework.7384f92b.js rename assets/chunks/{index.3b745ef0.js => index.4ffa16ab.js} (95%) delete mode 100644 assets/chunks/index.9f7265df.js create mode 100644 assets/chunks/index.d657d51d.js create mode 100644 assets/chunks/theme.16007baf.js delete mode 100644 assets/chunks/theme.3144e18a.js rename assets/{contact.md.8b34e956.js => contact.md.05016461.js} (85%) rename assets/{contact.md.8b34e956.lean.js => contact.md.05016461.lean.js} (85%) delete mode 100644 assets/dev_roadmap.md.1d67b1f2.js delete mode 100644 assets/dev_roadmap.md.1d67b1f2.lean.js create mode 100644 assets/dev_roadmap.md.f3dd7c17.js create mode 100644 assets/dev_roadmap.md.f3dd7c17.lean.js rename assets/{development_docs_dev_docs.md.129593e0.js => development_docs_dev_docs.md.f32aa5d4.js} (97%) rename assets/{development_docs_dev_docs.md.129593e0.lean.js => development_docs_dev_docs.md.f32aa5d4.lean.js} (74%) rename assets/{development_docs_pages.md.a16f2e91.js => development_docs_pages.md.55174e30.js} (98%) rename assets/{development_docs_pages.md.a16f2e91.lean.js => development_docs_pages.md.55174e30.lean.js} (70%) rename assets/{development_docs_standards.md.34f5cc0e.js => development_docs_standards.md.ded806e2.js} (98%) rename assets/{development_docs_standards.md.34f5cc0e.lean.js => development_docs_standards.md.ded806e2.lean.js} (72%) rename assets/{firmware_guide_configure_firmware.md.1156a298.js => firmware_guide_configure_firmware.md.f3dbc3bf.js} (95%) rename assets/{firmware_guide_configure_firmware.md.1156a298.lean.js => firmware_guide_configure_firmware.md.f3dbc3bf.lean.js} (81%) rename assets/{firmware_guide_environments.md.a939c975.js => firmware_guide_environments.md.8382e06e.js} (97%) rename assets/{firmware_guide_environments.md.a939c975.lean.js => firmware_guide_environments.md.8382e06e.lean.js} (77%) rename assets/{firmware_guide_firmware.md.2acb6454.js => firmware_guide_firmware.md.16809ca6.js} (92%) rename assets/{firmware_guide_firmware.md.2acb6454.lean.js => firmware_guide_firmware.md.16809ca6.lean.js} (71%) rename assets/{firmware_guide_mdns.md.6911a871.js => firmware_guide_mdns.md.88fe9005.js} (97%) rename assets/{firmware_guide_mdns.md.6911a871.lean.js => firmware_guide_mdns.md.88fe9005.lean.js} (70%) rename assets/{firmware_guide_rest_api.md.ab0c274d.js => firmware_guide_rest_api.md.f771b252.js} (99%) rename assets/{firmware_guide_rest_api.md.ab0c274d.lean.js => firmware_guide_rest_api.md.f771b252.lean.js} (71%) rename assets/{firmware_guide_setup_vscode.md.5916e117.js => firmware_guide_setup_vscode.md.1e2f05f2.js} (93%) rename assets/{firmware_guide_setup_vscode.md.5916e117.lean.js => firmware_guide_setup_vscode.md.1e2f05f2.lean.js} (84%) rename assets/{firmware_guide_update_platformio.md.9f4a42e7.js => firmware_guide_update_platformio.md.bd8c1a40.js} (93%) rename assets/{firmware_guide_update_platformio.md.9f4a42e7.lean.js => firmware_guide_update_platformio.md.bd8c1a40.lean.js} (85%) rename assets/{firmware_guide_upload_and_update_firmware.md.72da2ad7.js => firmware_guide_upload_and_update_firmware.md.857677c5.js} (98%) rename assets/{firmware_guide_upload_and_update_firmware.md.72da2ad7.lean.js => firmware_guide_upload_and_update_firmware.md.857677c5.lean.js} (92%) rename assets/{getting_started_intro.md.8a7af83f.js => getting_started_intro.md.8d6c94c1.js} (96%) rename assets/{getting_started_intro.md.8a7af83f.lean.js => getting_started_intro.md.8d6c94c1.lean.js} (76%) rename assets/{getting_started_led_safety.md.d76c624b.js => getting_started_led_safety.md.50db11e5.js} (97%) rename assets/{getting_started_led_safety.md.d76c624b.lean.js => getting_started_led_safety.md.50db11e5.lean.js} (82%) rename assets/{getting_started_things_to_know.md.ecc362de.js => getting_started_things_to_know.md.89b13253.js} (96%) rename assets/{getting_started_things_to_know.md.ecc362de.lean.js => getting_started_things_to_know.md.89b13253.lean.js} (73%) rename assets/{how_to_build_creating_your_own_mount.md.a0eff1b7.js => how_to_build_creating_your_own_mount.md.610d1805.js} (97%) rename assets/{how_to_build_creating_your_own_mount.md.a0eff1b7.lean.js => how_to_build_creating_your_own_mount.md.610d1805.lean.js} (74%) rename assets/{how_to_build_full_build.md.f2c25978.js => how_to_build_full_build.md.92660a15.js} (97%) rename assets/{how_to_build_full_build.md.f2c25978.lean.js => how_to_build_full_build.md.92660a15.lean.js} (95%) rename assets/{how_to_build_parts_list.md.954cc6fc.js => how_to_build_parts_list.md.3921b9c0.js} (97%) rename assets/{how_to_build_parts_list.md.954cc6fc.lean.js => how_to_build_parts_list.md.3921b9c0.lean.js} (93%) rename assets/{index.md.8a593e29.js => index.md.e2859d78.js} (95%) rename assets/{index.md.8a593e29.lean.js => index.md.e2859d78.lean.js} (95%) rename assets/{misc_faq.md.bc5df512.js => misc_faq.md.87cf6239.js} (89%) rename assets/{misc_faq.md.bc5df512.lean.js => misc_faq.md.87cf6239.lean.js} (89%) rename assets/{misc_vrc_avatar_setup.md.fb8562d6.js => misc_vrc_avatar_setup.md.5da944e1.js} (91%) rename assets/{misc_vrc_avatar_setup.md.fb8562d6.lean.js => misc_vrc_avatar_setup.md.5da944e1.lean.js} (86%) rename assets/{software_guide_build_software.md.df6914a0.js => software_guide_build_software.md.7fd62689.js} (93%) rename assets/{software_guide_build_software.md.df6914a0.lean.js => software_guide_build_software.md.7fd62689.lean.js} (85%) rename assets/{software_guide_eyetrackvr_app_guide.md.dfcbc709.js => software_guide_eyetrackvr_app_guide.md.aeb3e08b.js} (95%) rename assets/{software_guide_eyetrackvr_app_guide.md.dfcbc709.lean.js => software_guide_eyetrackvr_app_guide.md.aeb3e08b.lean.js} (85%) rename assets/{software_guide_osc_setup.md.a5e43cc8.js => software_guide_osc_setup.md.0ed7cc47.js} (92%) rename assets/{software_guide_osc_setup.md.a5e43cc8.lean.js => software_guide_osc_setup.md.0ed7cc47.lean.js} (87%) diff --git a/404.html b/404.html index af5417b..aab8070 100644 --- a/404.html +++ b/404.html @@ -6,13 +6,13 @@ 404 | EyeTrackVR Docs - +
Skip to content

404

PAGE NOT FOUND

But if you don't change your direction, and if you keep looking, you may end up where you are heading.

Released under the MIT License.

- diff --git a/about.html b/about.html index b891621..9a39978 100644 --- a/about.html +++ b/about.html @@ -6,16 +6,16 @@ EyeTrackVR Docs | EyeTrackVR Docs - + - - - + + +
Skip to content

Our Team

The development of EyeTrackVR is guided by an international team, some of whom have chosen to be featured below.

EyeTrackVR developers are a group of people who are passionate about the field of augmented and virtual reality.

Prohurtz

Prohurtz

Creator / Lead Software Developer / Documentor / Hardware Developer

Summer

Summer

Machine Learning Engineer / Data Scientist / App Developer

lorow

lorow

Lead Firmware Developer / App Developer

DaOfficialWizard

DaOfficialWizard

Firmware Developer / Documentation Manager / App Developer

Contributors

Those who have actively contributed to development.
Community Support

Philosophy

The guides on this website include some of our teams own notes (not all of them are polished) that we disclose for other people to use.

Here, we hope you may find something useful to you.

We advocate the Open Source model.

This is why we strive to make our work open to other people for consultation, replication and reuse.

Released under the MIT License.

- diff --git a/archive/fox_ir_v2_build_instructions.html b/archive/fox_ir_v2_build_instructions.html index 305d781..4a9a6d6 100644 --- a/archive/fox_ir_v2_build_instructions.html +++ b/archive/fox_ir_v2_build_instructions.html @@ -6,17 +6,17 @@ Fox IR V2 Buil dInstructions | EyeTrackVR Docs - + - - - - + + + +
Skip to content
On this page

Fox IR V2 Buil dInstructions

Step 15: Prepare to solder IR LED PCB V2s

Get your magnifying glass out, it's time to solder very smol things.

Gather 4 PCBs, 4 IR LEDs, and 2 ~700ohm resistors.

'img'

698ohm resistors and V2 PCBs

Here are the PCB pin-out labels:

'img'

V2

LED labels:

'img'

The green markings and notched corners mark the positive sides of the LEDs pictured above.

If you have different LEDs, please consult their datasheet.

Some terminology related to them:

5V: 5-volt power in.

GND: Ground or power out.

AR: After-Resistor this is to be used as the power in on the 2nd PCB in series as resistors are not needed on the 2nd PCB since they are on the 1st one.

SNG: Single resistor, use this as 5V in if you are using only 1 ~700ohm resistor on V3 boards (not recommended).

Negative: This marks the negative side of the LED.

Positive: This marks the positive side of the LED.

Step 17: Solder resistors on PCB V2

You only need 1 PCB to have a resistor per eye.

'img'

Tin the resistor pads.

'img'

Hold the resistor in place.

'img'

Solder one end.

'img'

Flip to the other side of the resistor and solder it.

'img'

Solder LEDs on PCB V2

'img'

Tin the pads

'img'

Place the resistor on the pads in the correct orientation.

'img'

Solder each side of the resistor. Be careful not to solder at too high of a temp, recommended soldering temp is 230C with a max of 245C.

'img'

The LED is flipped in this Image, the green dot should face AWAY from the PCB.

Wire up the PCBs V2

Basic full wiring diagram of IR PCBs V2.

'drawing'

The PCB that receives the 5V power is the one with the resistor. The second one, which gets its power from the ground pin of the first, does not have a resistor on it and its power input pin is the AR pin (After-Resistor). The 2nd PCBs ground pin goes to the ground of the system, in the diagram it is the ESPs ground pin.

Released under the MIT License.

- diff --git a/assets/about.md.fd49c172.js b/assets/about.md.a9b306c8.js similarity index 72% rename from assets/about.md.fd49c172.js rename to assets/about.md.a9b306c8.js index dac68ce..418d3ff 100644 --- a/assets/about.md.fd49c172.js +++ b/assets/about.md.a9b306c8.js @@ -1 +1 @@ -import{V as i,a as s,b as l,c as r}from"./chunks/theme.3144e18a.js";import{o as u,c,G as n,B as a,b as o,a as e,z as t}from"./chunks/framework.7384f92b.js";const h=[{name:"Prohurtz",avatar:"https://avatars.githubusercontent.com/u/48768484?v=4",title:"Creator / Lead Software Developer / Documentor / Hardware Developer",links:[{icon:"github",link:"https://github.com/RedHawk989"}]},{name:"Summer",avatar:"https://avatars.githubusercontent.com/u/115666235?v=4",title:"Machine Learning Engineer / Data Scientist / App Developer",links:[{icon:"github",link:"https://github.com/Summer404NotFound"}]},{name:"lorow",avatar:"https://avatars.githubusercontent.com/u/14099558?v=4",title:"Lead Firmware Developer / App Developer",links:[{icon:"github",link:"https://github.com/lorow"}]},{name:"DaOfficialWizard",avatar:"https://avatars.githubusercontent.com/u/45744329?v=4",title:"Firmware Developer / Documentation Manager / App Developer",links:[{icon:"github",link:"https://github.com/ZanzyTHEbar"}]}],m=[{name:"qdot",avatar:"https://avatars.githubusercontent.com/u/34539?v=4",links:[{icon:"github",link:"https://github.com/qdot"}]},{name:"dfgHiatus",avatar:"https://avatars.githubusercontent.com/u/51272212?v=4",links:[{icon:"github",link:"https://github.com/dfgHiatus"}]},{name:"PallasNeko",avatar:"https://avatars.githubusercontent.com/u/124042774?v=4",links:[{icon:"github",link:"https://github.com/PallasNeko"}]}],d=t("div",{class:"text-[#ab5ac7]"}," Our Team ",-1),p=t("br",null,null,-1),b=t("br",null,null,-1),_=t("br",null,null,-1),g=t("a",{class:"custom-links",href:"/intro",target:"_blank"},"guides",-1),v=t("br",null,null,-1),k=t("br",null,null,-1),f=t("br",null,null,-1),w=t("br",null,null,-1),T=t("a",{class:"custom-links",href:"https://en.wikipedia.org/wiki/Open-source_model",target:"_blank"},"Open Source model",-1),y=t("br",null,null,-1),P=t("br",null,null,-1),O=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"page"},"headers":[],"relativePath":"about.md","filePath":"about.md","lastUpdated":1673640425000}'),D={name:"about.md"},x=Object.assign(D,{setup(V){return(S,N)=>(u(),c("div",null,[n(o(r),null,{default:a(()=>[n(o(i),null,{title:a(()=>[d]),lead:a(()=>[e(" The development of EyeTrackVR is guided by an international team, some of whom have chosen to be featured below."),p,b,e(" EyeTrackVR developers are a group of people who are passionate about the field of augmented and virtual reality. ")]),_:1}),n(o(s),{size:"medium",members:o(h)},null,8,["members"]),n(o(l),null,{title:a(()=>[e("Contributors")]),lead:a(()=>[e("Those who have actively contributed to development."),_,e(" Community Support")]),members:a(()=>[n(o(s),{size:"small",members:o(m)},null,8,["members"])]),_:1}),n(o(l),null,{title:a(()=>[e("Philosophy")]),lead:a(()=>[e(" The "),g,e(" on this website include some of our teams own notes (not all of them are polished) that we disclose for other people to use."),v,k,e(" Here, we hope you may find something useful to you."),f,w,e(" We advocate the "),T,e("."),y,P,e(" This is why we strive to make our work open to other people for consultation, replication and reuse. ")]),_:1})]),_:1})]))}});export{O as __pageData,x as default}; +import{V as i,a as s,b as l,c as r}from"./chunks/theme.16007baf.js";import{o as u,c,C as n,y as a,b as o,a as e,v as t}from"./chunks/framework.17985c0a.js";const h=[{name:"Prohurtz",avatar:"https://avatars.githubusercontent.com/u/48768484?v=4",title:"Creator / Lead Software Developer / Documentor / Hardware Developer",links:[{icon:"github",link:"https://github.com/RedHawk989"}]},{name:"Summer",avatar:"https://avatars.githubusercontent.com/u/115666235?v=4",title:"Machine Learning Engineer / Data Scientist / App Developer",links:[{icon:"github",link:"https://github.com/Summer404NotFound"}]},{name:"lorow",avatar:"https://avatars.githubusercontent.com/u/14099558?v=4",title:"Lead Firmware Developer / App Developer",links:[{icon:"github",link:"https://github.com/lorow"}]},{name:"DaOfficialWizard",avatar:"https://avatars.githubusercontent.com/u/45744329?v=4",title:"Firmware Developer / Documentation Manager / App Developer",links:[{icon:"github",link:"https://github.com/ZanzyTHEbar"}]}],m=[{name:"qdot",avatar:"https://avatars.githubusercontent.com/u/34539?v=4",links:[{icon:"github",link:"https://github.com/qdot"}]},{name:"dfgHiatus",avatar:"https://avatars.githubusercontent.com/u/51272212?v=4",links:[{icon:"github",link:"https://github.com/dfgHiatus"}]},{name:"PallasNeko",avatar:"https://avatars.githubusercontent.com/u/124042774?v=4",links:[{icon:"github",link:"https://github.com/PallasNeko"}]}],d=t("div",{class:"text-[#ab5ac7]"}," Our Team ",-1),p=t("br",null,null,-1),b=t("br",null,null,-1),_=t("br",null,null,-1),v=t("a",{class:"custom-links",href:"/intro",target:"_blank"},"guides",-1),g=t("br",null,null,-1),k=t("br",null,null,-1),f=t("br",null,null,-1),w=t("br",null,null,-1),y=t("a",{class:"custom-links",href:"https://en.wikipedia.org/wiki/Open-source_model",target:"_blank"},"Open Source model",-1),T=t("br",null,null,-1),P=t("br",null,null,-1),x=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"page"},"headers":[],"relativePath":"about.md","filePath":"about.md","lastUpdated":1673640425000}'),D={name:"about.md"},z=Object.assign(D,{setup(V){return(S,N)=>(u(),c("div",null,[n(o(r),null,{default:a(()=>[n(o(i),null,{title:a(()=>[d]),lead:a(()=>[e(" The development of EyeTrackVR is guided by an international team, some of whom have chosen to be featured below."),p,b,e(" EyeTrackVR developers are a group of people who are passionate about the field of augmented and virtual reality. ")]),_:1}),n(o(s),{size:"medium",members:o(h)},null,8,["members"]),n(o(l),null,{title:a(()=>[e("Contributors")]),lead:a(()=>[e("Those who have actively contributed to development."),_,e(" Community Support")]),members:a(()=>[n(o(s),{size:"small",members:o(m)},null,8,["members"])]),_:1}),n(o(l),null,{title:a(()=>[e("Philosophy")]),lead:a(()=>[e(" The "),v,e(" on this website include some of our teams own notes (not all of them are polished) that we disclose for other people to use."),g,k,e(" Here, we hope you may find something useful to you."),f,w,e(" We advocate the "),y,e("."),T,P,e(" This is why we strive to make our work open to other people for consultation, replication and reuse. ")]),_:1})]),_:1})]))}});export{x as __pageData,z as default}; diff --git a/assets/about.md.fd49c172.lean.js b/assets/about.md.a9b306c8.lean.js similarity index 72% rename from assets/about.md.fd49c172.lean.js rename to assets/about.md.a9b306c8.lean.js index dac68ce..418d3ff 100644 --- a/assets/about.md.fd49c172.lean.js +++ b/assets/about.md.a9b306c8.lean.js @@ -1 +1 @@ -import{V as i,a as s,b as l,c as r}from"./chunks/theme.3144e18a.js";import{o as u,c,G as n,B as a,b as o,a as e,z as t}from"./chunks/framework.7384f92b.js";const h=[{name:"Prohurtz",avatar:"https://avatars.githubusercontent.com/u/48768484?v=4",title:"Creator / Lead Software Developer / Documentor / Hardware Developer",links:[{icon:"github",link:"https://github.com/RedHawk989"}]},{name:"Summer",avatar:"https://avatars.githubusercontent.com/u/115666235?v=4",title:"Machine Learning Engineer / Data Scientist / App Developer",links:[{icon:"github",link:"https://github.com/Summer404NotFound"}]},{name:"lorow",avatar:"https://avatars.githubusercontent.com/u/14099558?v=4",title:"Lead Firmware Developer / App Developer",links:[{icon:"github",link:"https://github.com/lorow"}]},{name:"DaOfficialWizard",avatar:"https://avatars.githubusercontent.com/u/45744329?v=4",title:"Firmware Developer / Documentation Manager / App Developer",links:[{icon:"github",link:"https://github.com/ZanzyTHEbar"}]}],m=[{name:"qdot",avatar:"https://avatars.githubusercontent.com/u/34539?v=4",links:[{icon:"github",link:"https://github.com/qdot"}]},{name:"dfgHiatus",avatar:"https://avatars.githubusercontent.com/u/51272212?v=4",links:[{icon:"github",link:"https://github.com/dfgHiatus"}]},{name:"PallasNeko",avatar:"https://avatars.githubusercontent.com/u/124042774?v=4",links:[{icon:"github",link:"https://github.com/PallasNeko"}]}],d=t("div",{class:"text-[#ab5ac7]"}," Our Team ",-1),p=t("br",null,null,-1),b=t("br",null,null,-1),_=t("br",null,null,-1),g=t("a",{class:"custom-links",href:"/intro",target:"_blank"},"guides",-1),v=t("br",null,null,-1),k=t("br",null,null,-1),f=t("br",null,null,-1),w=t("br",null,null,-1),T=t("a",{class:"custom-links",href:"https://en.wikipedia.org/wiki/Open-source_model",target:"_blank"},"Open Source model",-1),y=t("br",null,null,-1),P=t("br",null,null,-1),O=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"page"},"headers":[],"relativePath":"about.md","filePath":"about.md","lastUpdated":1673640425000}'),D={name:"about.md"},x=Object.assign(D,{setup(V){return(S,N)=>(u(),c("div",null,[n(o(r),null,{default:a(()=>[n(o(i),null,{title:a(()=>[d]),lead:a(()=>[e(" The development of EyeTrackVR is guided by an international team, some of whom have chosen to be featured below."),p,b,e(" EyeTrackVR developers are a group of people who are passionate about the field of augmented and virtual reality. ")]),_:1}),n(o(s),{size:"medium",members:o(h)},null,8,["members"]),n(o(l),null,{title:a(()=>[e("Contributors")]),lead:a(()=>[e("Those who have actively contributed to development."),_,e(" Community Support")]),members:a(()=>[n(o(s),{size:"small",members:o(m)},null,8,["members"])]),_:1}),n(o(l),null,{title:a(()=>[e("Philosophy")]),lead:a(()=>[e(" The "),g,e(" on this website include some of our teams own notes (not all of them are polished) that we disclose for other people to use."),v,k,e(" Here, we hope you may find something useful to you."),f,w,e(" We advocate the "),T,e("."),y,P,e(" This is why we strive to make our work open to other people for consultation, replication and reuse. ")]),_:1})]),_:1})]))}});export{O as __pageData,x as default}; +import{V as i,a as s,b as l,c as r}from"./chunks/theme.16007baf.js";import{o as u,c,C as n,y as a,b as o,a as e,v as t}from"./chunks/framework.17985c0a.js";const h=[{name:"Prohurtz",avatar:"https://avatars.githubusercontent.com/u/48768484?v=4",title:"Creator / Lead Software Developer / Documentor / Hardware Developer",links:[{icon:"github",link:"https://github.com/RedHawk989"}]},{name:"Summer",avatar:"https://avatars.githubusercontent.com/u/115666235?v=4",title:"Machine Learning Engineer / Data Scientist / App Developer",links:[{icon:"github",link:"https://github.com/Summer404NotFound"}]},{name:"lorow",avatar:"https://avatars.githubusercontent.com/u/14099558?v=4",title:"Lead Firmware Developer / App Developer",links:[{icon:"github",link:"https://github.com/lorow"}]},{name:"DaOfficialWizard",avatar:"https://avatars.githubusercontent.com/u/45744329?v=4",title:"Firmware Developer / Documentation Manager / App Developer",links:[{icon:"github",link:"https://github.com/ZanzyTHEbar"}]}],m=[{name:"qdot",avatar:"https://avatars.githubusercontent.com/u/34539?v=4",links:[{icon:"github",link:"https://github.com/qdot"}]},{name:"dfgHiatus",avatar:"https://avatars.githubusercontent.com/u/51272212?v=4",links:[{icon:"github",link:"https://github.com/dfgHiatus"}]},{name:"PallasNeko",avatar:"https://avatars.githubusercontent.com/u/124042774?v=4",links:[{icon:"github",link:"https://github.com/PallasNeko"}]}],d=t("div",{class:"text-[#ab5ac7]"}," Our Team ",-1),p=t("br",null,null,-1),b=t("br",null,null,-1),_=t("br",null,null,-1),v=t("a",{class:"custom-links",href:"/intro",target:"_blank"},"guides",-1),g=t("br",null,null,-1),k=t("br",null,null,-1),f=t("br",null,null,-1),w=t("br",null,null,-1),y=t("a",{class:"custom-links",href:"https://en.wikipedia.org/wiki/Open-source_model",target:"_blank"},"Open Source model",-1),T=t("br",null,null,-1),P=t("br",null,null,-1),x=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"page"},"headers":[],"relativePath":"about.md","filePath":"about.md","lastUpdated":1673640425000}'),D={name:"about.md"},z=Object.assign(D,{setup(V){return(S,N)=>(u(),c("div",null,[n(o(r),null,{default:a(()=>[n(o(i),null,{title:a(()=>[d]),lead:a(()=>[e(" The development of EyeTrackVR is guided by an international team, some of whom have chosen to be featured below."),p,b,e(" EyeTrackVR developers are a group of people who are passionate about the field of augmented and virtual reality. ")]),_:1}),n(o(s),{size:"medium",members:o(h)},null,8,["members"]),n(o(l),null,{title:a(()=>[e("Contributors")]),lead:a(()=>[e("Those who have actively contributed to development."),_,e(" Community Support")]),members:a(()=>[n(o(s),{size:"small",members:o(m)},null,8,["members"])]),_:1}),n(o(l),null,{title:a(()=>[e("Philosophy")]),lead:a(()=>[e(" The "),v,e(" on this website include some of our teams own notes (not all of them are polished) that we disclose for other people to use."),g,k,e(" Here, we hope you may find something useful to you."),f,w,e(" We advocate the "),y,e("."),T,P,e(" This is why we strive to make our work open to other people for consultation, replication and reuse. ")]),_:1})]),_:1})]))}});export{x as __pageData,z as default}; diff --git a/assets/app.d49a10a3.js b/assets/app.d49a10a3.js new file mode 100644 index 0000000..46d0b68 --- /dev/null +++ b/assets/app.d49a10a3.js @@ -0,0 +1 @@ +import{u as r,h as i,N as s,a5 as u,a6 as c,a7 as l,a8 as f,a9 as d,aa as m,ab as h,ac as g,ad as A,ae as v,D as C,d as P,k as y,af as _,ag as w,ah as T,ai as b}from"./chunks/framework.17985c0a.js";import{t as D}from"./chunks/theme.16007baf.js";const E={};const R={...D,setup(){const{lang:e}=r();i(()=>{s&&(document.cookie=`nf_lang=${e.value}; expires=Mon, 1 Jan 2024 00:00:00 UTC; path=/`)})},...E};function p(e){if(e.extends){const t=p(e.extends);return{...t,...e,async enhanceApp(a){t.enhanceApp&&await t.enhanceApp(a),e.enhanceApp&&await e.enhanceApp(a)}}}return e}const n=p(R),S=P({name:"VitePressApp",setup(){const{site:e}=r();return y(()=>{i(()=>{document.documentElement.lang=e.value.lang,document.documentElement.dir=e.value.dir})}),_(),w(),T(),n.setup&&n.setup(),()=>b(n.Layout)}});async function x(){const e=$(),t=O();t.provide(c,e);const a=l(e.route);return t.provide(f,a),t.component("Content",d),t.component("ClientOnly",m),Object.defineProperties(t.config.globalProperties,{$frontmatter:{get(){return a.frontmatter.value}},$params:{get(){return a.page.value.params}}}),n.enhanceApp&&await n.enhanceApp({app:t,router:e,siteData:h}),{app:t,router:e,data:a}}function O(){return g(S)}function $(){let e=s,t;return A(a=>{let o=v(a);return e&&(t=o),(e||t===o)&&(o=o.replace(/\.js$/,".lean.js")),s&&(e=!1),C(()=>import(o),[])},n.NotFound)}s&&x().then(({app:e,router:t,data:a})=>{t.go().then(()=>{u(t.route,a.site),e.mount("#app")})});export{x as createApp}; diff --git a/assets/app.ea41a7a6.js b/assets/app.ea41a7a6.js deleted file mode 100644 index 00886f0..0000000 --- a/assets/app.ea41a7a6.js +++ /dev/null @@ -1 +0,0 @@ -import{u as r,k as p,R as s,a7 as u,a8 as c,a9 as l,aa as f,ab as d,ac as m,ad as h,ae as g,af as A,ag as v,H as C,d as P,p as y,ah as _,ai as w,aj as R,ak as T}from"./chunks/framework.7384f92b.js";import{t as b}from"./chunks/theme.3144e18a.js";const E={};const D={...b,setup(){const{lang:e}=r();p(()=>{s&&(document.cookie=`nf_lang=${e.value}; expires=Mon, 1 Jan 2024 00:00:00 UTC; path=/`)})},...E};function i(e){if(e.extends){const t=i(e.extends);return{...t,...e,async enhanceApp(a){t.enhanceApp&&await t.enhanceApp(a),e.enhanceApp&&await e.enhanceApp(a)}}}return e}const n=i(D),S=P({name:"VitePressApp",setup(){const{site:e}=r();return y(()=>{p(()=>{document.documentElement.lang=e.value.lang,document.documentElement.dir=e.value.dir})}),_(),w(),R(),n.setup&&n.setup(),()=>T(n.Layout)}});async function j(){const e=O(),t=x();t.provide(c,e);const a=l(e.route);return t.provide(f,a),t.component("Content",d),t.component("ClientOnly",m),Object.defineProperties(t.config.globalProperties,{$frontmatter:{get(){return a.frontmatter.value}},$params:{get(){return a.page.value.params}}}),n.enhanceApp&&await n.enhanceApp({app:t,router:e,siteData:h}),{app:t,router:e,data:a}}function x(){return g(S)}function O(){let e=s,t;return A(a=>{let o=v(a);return e&&(t=o),(e||t===o)&&(o=o.replace(/\.js$/,".lean.js")),s&&(e=!1),C(()=>import(o),[])},n.NotFound)}s&&j().then(({app:e,router:t,data:a})=>{t.go().then(()=>{u(t.route,a.site),e.mount("#app")})});export{j as createApp}; diff --git a/assets/archive_fox_ir_v2_build_instructions.md.4968d89f.js b/assets/archive_fox_ir_v2_build_instructions.md.c95da5f7.js similarity index 95% rename from assets/archive_fox_ir_v2_build_instructions.md.4968d89f.js rename to assets/archive_fox_ir_v2_build_instructions.md.c95da5f7.js index 6089aff..9de6c4c 100644 --- a/assets/archive_fox_ir_v2_build_instructions.md.4968d89f.js +++ b/assets/archive_fox_ir_v2_build_instructions.md.c95da5f7.js @@ -1 +1 @@ -import{_ as o,i as t}from"./chunks/index.9f7265df.js";import{o as r,c as l,G as s,b as i,z as e,a as n,V as a}from"./chunks/framework.7384f92b.js";const d=e("h1",{class:"text-[var(--font-accent)]",id:"fox-ir-v2-buil-dinstructions",tabindex:"-1"},[n("Fox IR V2 Buil dInstructions "),e("a",{class:"header-anchor",href:"#fox-ir-v2-buil-dinstructions","aria-label":'Permalink to "Fox IR V2 Buil dInstructions {.text-[var(--font-accent)]}"'},"​")],-1),_=e("h2",{id:"step-15-prepare-to-solder-ir-led-pcb-v2s",tabindex:"-1"},[n("Step 15: Prepare to solder IR LED PCB V2s "),e("a",{class:"header-anchor",href:"#step-15-prepare-to-solder-ir-led-pcb-v2s","aria-label":'Permalink to "Step 15: Prepare to solder IR LED PCB V2s"'},"​")],-1),p=e("p",null,"Get your magnifying glass out, it's time to solder very smol things.",-1),c=e("p",null,"Gather 4 PCBs, 4 IR LEDs, and 2 ~700ohm resistors.",-1),h=e("p",null,"Here are the PCB pin-out labels:",-1),u=e("p",null,"LED labels:",-1),f=a('

If you have different LEDs, please consult their datasheet.

Some terminology related to them:

5V: 5-volt power in.

GND: Ground or power out.

AR: After-Resistor this is to be used as the power in on the 2nd PCB in series as resistors are not needed on the 2nd PCB since they are on the 1st one.

SNG: Single resistor, use this as 5V in if you are using only 1 ~700ohm resistor on V3 boards (not recommended).

Negative: This marks the negative side of the LED.

Positive: This marks the positive side of the LED.

Step 17: Solder resistors on PCB V2

You only need 1 PCB to have a resistor per eye.

',10),m=e("p",null,"Tin the resistor pads.",-1),b=e("p",null,"Hold the resistor in place.",-1),v=e("p",null,"Solder one end.",-1),x=e("p",null,"Flip to the other side of the resistor and solder it.",-1),P=e("h2",{id:"solder-leds-on-pcb-v2",tabindex:"-1"},[n("Solder LEDs on PCB V2 "),e("a",{class:"header-anchor",href:"#solder-leds-on-pcb-v2","aria-label":'Permalink to "Solder LEDs on PCB V2"'},"​")],-1),g=e("p",null,"Tin the pads",-1),B=e("p",null,"Place the resistor on the pads in the correct orientation.",-1),V=e("p",null,[n("Solder each side of the resistor. Be careful not to solder at too high of a temp, recommended soldering temp is "),e("code",null,"230C with a max of 245C"),n(".")],-1),C=e("h2",{id:"wire-up-the-pcbs-v2",tabindex:"-1"},[n("Wire up the PCBs V2 "),e("a",{class:"header-anchor",href:"#wire-up-the-pcbs-v2","aria-label":'Permalink to "Wire up the PCBs V2"'},"​")],-1),S=e("p",null,"Basic full wiring diagram of IR PCBs V2.",-1),w=e("p",null,"The PCB that receives the 5V power is the one with the resistor. The second one, which gets its power from the ground pin of the first, does not have a resistor on it and its power input pin is the AR pin (After-Resistor). The 2nd PCBs ground pin goes to the ground of the system, in the diagram it is the ESPs ground pin.",-1),k=JSON.parse('{"title":"Fox IR V2 Buil dInstructions","description":"","frontmatter":{},"headers":[],"relativePath":"archive/fox_ir_v2_build_instructions.md","filePath":"archive/fox_ir_v2_build_instructions.md","lastUpdated":1676223729000}'),T={name:"archive/fox_ir_v2_build_instructions.md"},L=Object.assign(T,{setup(I){return(D,E)=>(r(),l("div",null,[d,_,p,c,s(o,{options:i(t).fox_ir_build_instructions_one},null,8,["options"]),h,s(o,{options:i(t).fox_ir_build_instructions_two},null,8,["options"]),u,s(o,{options:i(t).fox_ir_build_instructions_three},null,8,["options"]),f,s(o,{options:i(t).fox_ir_build_instructions_four},null,8,["options"]),m,s(o,{options:i(t).fox_ir_build_instructions_five},null,8,["options"]),b,s(o,{options:i(t).fox_ir_build_instructions_six},null,8,["options"]),v,s(o,{options:i(t).fox_ir_build_instructions_seven},null,8,["options"]),x,s(o,{options:i(t).fox_ir_build_instructions_eight},null,8,["options"]),P,s(o,{options:i(t).fox_ir_build_instructions_nine},null,8,["options"]),g,s(o,{options:i(t).fox_ir_build_instructions_ten},null,8,["options"]),B,s(o,{options:i(t).fox_ir_build_instructions_eleven},null,8,["options"]),V,s(o,{options:i(t).fox_ir_build_instructions_twelve},null,8,["options"]),C,S,s(o,{options:i(t).fox_ir_build_instructions_thirteen},null,8,["options"]),w]))}});export{k as __pageData,L as default}; +import{_ as o,i as t}from"./chunks/index.d657d51d.js";import{o as r,c as l,C as s,b as i,v as e,a as n,S as a}from"./chunks/framework.17985c0a.js";const d=e("h1",{class:"text-[var(--font-accent)]",id:"fox-ir-v2-buil-dinstructions",tabindex:"-1"},[n("Fox IR V2 Buil dInstructions "),e("a",{class:"header-anchor",href:"#fox-ir-v2-buil-dinstructions","aria-label":'Permalink to "Fox IR V2 Buil dInstructions {.text-[var(--font-accent)]}"'},"​")],-1),_=e("h2",{id:"step-15-prepare-to-solder-ir-led-pcb-v2s",tabindex:"-1"},[n("Step 15: Prepare to solder IR LED PCB V2s "),e("a",{class:"header-anchor",href:"#step-15-prepare-to-solder-ir-led-pcb-v2s","aria-label":'Permalink to "Step 15: Prepare to solder IR LED PCB V2s"'},"​")],-1),p=e("p",null,"Get your magnifying glass out, it's time to solder very smol things.",-1),c=e("p",null,"Gather 4 PCBs, 4 IR LEDs, and 2 ~700ohm resistors.",-1),h=e("p",null,"Here are the PCB pin-out labels:",-1),u=e("p",null,"LED labels:",-1),f=a('

If you have different LEDs, please consult their datasheet.

Some terminology related to them:

5V: 5-volt power in.

GND: Ground or power out.

AR: After-Resistor this is to be used as the power in on the 2nd PCB in series as resistors are not needed on the 2nd PCB since they are on the 1st one.

SNG: Single resistor, use this as 5V in if you are using only 1 ~700ohm resistor on V3 boards (not recommended).

Negative: This marks the negative side of the LED.

Positive: This marks the positive side of the LED.

Step 17: Solder resistors on PCB V2

You only need 1 PCB to have a resistor per eye.

',10),m=e("p",null,"Tin the resistor pads.",-1),b=e("p",null,"Hold the resistor in place.",-1),v=e("p",null,"Solder one end.",-1),x=e("p",null,"Flip to the other side of the resistor and solder it.",-1),P=e("h2",{id:"solder-leds-on-pcb-v2",tabindex:"-1"},[n("Solder LEDs on PCB V2 "),e("a",{class:"header-anchor",href:"#solder-leds-on-pcb-v2","aria-label":'Permalink to "Solder LEDs on PCB V2"'},"​")],-1),g=e("p",null,"Tin the pads",-1),B=e("p",null,"Place the resistor on the pads in the correct orientation.",-1),V=e("p",null,[n("Solder each side of the resistor. Be careful not to solder at too high of a temp, recommended soldering temp is "),e("code",null,"230C with a max of 245C"),n(".")],-1),C=e("h2",{id:"wire-up-the-pcbs-v2",tabindex:"-1"},[n("Wire up the PCBs V2 "),e("a",{class:"header-anchor",href:"#wire-up-the-pcbs-v2","aria-label":'Permalink to "Wire up the PCBs V2"'},"​")],-1),S=e("p",null,"Basic full wiring diagram of IR PCBs V2.",-1),w=e("p",null,"The PCB that receives the 5V power is the one with the resistor. The second one, which gets its power from the ground pin of the first, does not have a resistor on it and its power input pin is the AR pin (After-Resistor). The 2nd PCBs ground pin goes to the ground of the system, in the diagram it is the ESPs ground pin.",-1),k=JSON.parse('{"title":"Fox IR V2 Buil dInstructions","description":"","frontmatter":{},"headers":[],"relativePath":"archive/fox_ir_v2_build_instructions.md","filePath":"archive/fox_ir_v2_build_instructions.md","lastUpdated":1676223729000}'),T={name:"archive/fox_ir_v2_build_instructions.md"},L=Object.assign(T,{setup(I){return(D,E)=>(r(),l("div",null,[d,_,p,c,s(o,{options:i(t).fox_ir_build_instructions_one},null,8,["options"]),h,s(o,{options:i(t).fox_ir_build_instructions_two},null,8,["options"]),u,s(o,{options:i(t).fox_ir_build_instructions_three},null,8,["options"]),f,s(o,{options:i(t).fox_ir_build_instructions_four},null,8,["options"]),m,s(o,{options:i(t).fox_ir_build_instructions_five},null,8,["options"]),b,s(o,{options:i(t).fox_ir_build_instructions_six},null,8,["options"]),v,s(o,{options:i(t).fox_ir_build_instructions_seven},null,8,["options"]),x,s(o,{options:i(t).fox_ir_build_instructions_eight},null,8,["options"]),P,s(o,{options:i(t).fox_ir_build_instructions_nine},null,8,["options"]),g,s(o,{options:i(t).fox_ir_build_instructions_ten},null,8,["options"]),B,s(o,{options:i(t).fox_ir_build_instructions_eleven},null,8,["options"]),V,s(o,{options:i(t).fox_ir_build_instructions_twelve},null,8,["options"]),C,S,s(o,{options:i(t).fox_ir_build_instructions_thirteen},null,8,["options"]),w]))}});export{k as __pageData,L as default}; diff --git a/assets/archive_fox_ir_v2_build_instructions.md.4968d89f.lean.js b/assets/archive_fox_ir_v2_build_instructions.md.c95da5f7.lean.js similarity index 94% rename from assets/archive_fox_ir_v2_build_instructions.md.4968d89f.lean.js rename to assets/archive_fox_ir_v2_build_instructions.md.c95da5f7.lean.js index 6bd61f8..94532d2 100644 --- a/assets/archive_fox_ir_v2_build_instructions.md.4968d89f.lean.js +++ b/assets/archive_fox_ir_v2_build_instructions.md.c95da5f7.lean.js @@ -1 +1 @@ -import{_ as o,i as t}from"./chunks/index.9f7265df.js";import{o as r,c as l,G as s,b as i,z as e,a as n,V as a}from"./chunks/framework.7384f92b.js";const d=e("h1",{class:"text-[var(--font-accent)]",id:"fox-ir-v2-buil-dinstructions",tabindex:"-1"},[n("Fox IR V2 Buil dInstructions "),e("a",{class:"header-anchor",href:"#fox-ir-v2-buil-dinstructions","aria-label":'Permalink to "Fox IR V2 Buil dInstructions {.text-[var(--font-accent)]}"'},"​")],-1),_=e("h2",{id:"step-15-prepare-to-solder-ir-led-pcb-v2s",tabindex:"-1"},[n("Step 15: Prepare to solder IR LED PCB V2s "),e("a",{class:"header-anchor",href:"#step-15-prepare-to-solder-ir-led-pcb-v2s","aria-label":'Permalink to "Step 15: Prepare to solder IR LED PCB V2s"'},"​")],-1),p=e("p",null,"Get your magnifying glass out, it's time to solder very smol things.",-1),c=e("p",null,"Gather 4 PCBs, 4 IR LEDs, and 2 ~700ohm resistors.",-1),h=e("p",null,"Here are the PCB pin-out labels:",-1),u=e("p",null,"LED labels:",-1),f=a("",10),m=e("p",null,"Tin the resistor pads.",-1),b=e("p",null,"Hold the resistor in place.",-1),v=e("p",null,"Solder one end.",-1),x=e("p",null,"Flip to the other side of the resistor and solder it.",-1),P=e("h2",{id:"solder-leds-on-pcb-v2",tabindex:"-1"},[n("Solder LEDs on PCB V2 "),e("a",{class:"header-anchor",href:"#solder-leds-on-pcb-v2","aria-label":'Permalink to "Solder LEDs on PCB V2"'},"​")],-1),g=e("p",null,"Tin the pads",-1),B=e("p",null,"Place the resistor on the pads in the correct orientation.",-1),V=e("p",null,[n("Solder each side of the resistor. Be careful not to solder at too high of a temp, recommended soldering temp is "),e("code",null,"230C with a max of 245C"),n(".")],-1),C=e("h2",{id:"wire-up-the-pcbs-v2",tabindex:"-1"},[n("Wire up the PCBs V2 "),e("a",{class:"header-anchor",href:"#wire-up-the-pcbs-v2","aria-label":'Permalink to "Wire up the PCBs V2"'},"​")],-1),S=e("p",null,"Basic full wiring diagram of IR PCBs V2.",-1),w=e("p",null,"The PCB that receives the 5V power is the one with the resistor. The second one, which gets its power from the ground pin of the first, does not have a resistor on it and its power input pin is the AR pin (After-Resistor). The 2nd PCBs ground pin goes to the ground of the system, in the diagram it is the ESPs ground pin.",-1),k=JSON.parse('{"title":"Fox IR V2 Buil dInstructions","description":"","frontmatter":{},"headers":[],"relativePath":"archive/fox_ir_v2_build_instructions.md","filePath":"archive/fox_ir_v2_build_instructions.md","lastUpdated":1676223729000}'),T={name:"archive/fox_ir_v2_build_instructions.md"},L=Object.assign(T,{setup(I){return(D,E)=>(r(),l("div",null,[d,_,p,c,s(o,{options:i(t).fox_ir_build_instructions_one},null,8,["options"]),h,s(o,{options:i(t).fox_ir_build_instructions_two},null,8,["options"]),u,s(o,{options:i(t).fox_ir_build_instructions_three},null,8,["options"]),f,s(o,{options:i(t).fox_ir_build_instructions_four},null,8,["options"]),m,s(o,{options:i(t).fox_ir_build_instructions_five},null,8,["options"]),b,s(o,{options:i(t).fox_ir_build_instructions_six},null,8,["options"]),v,s(o,{options:i(t).fox_ir_build_instructions_seven},null,8,["options"]),x,s(o,{options:i(t).fox_ir_build_instructions_eight},null,8,["options"]),P,s(o,{options:i(t).fox_ir_build_instructions_nine},null,8,["options"]),g,s(o,{options:i(t).fox_ir_build_instructions_ten},null,8,["options"]),B,s(o,{options:i(t).fox_ir_build_instructions_eleven},null,8,["options"]),V,s(o,{options:i(t).fox_ir_build_instructions_twelve},null,8,["options"]),C,S,s(o,{options:i(t).fox_ir_build_instructions_thirteen},null,8,["options"]),w]))}});export{k as __pageData,L as default}; +import{_ as o,i as t}from"./chunks/index.d657d51d.js";import{o as r,c as l,C as s,b as i,v as e,a as n,S as a}from"./chunks/framework.17985c0a.js";const d=e("h1",{class:"text-[var(--font-accent)]",id:"fox-ir-v2-buil-dinstructions",tabindex:"-1"},[n("Fox IR V2 Buil dInstructions "),e("a",{class:"header-anchor",href:"#fox-ir-v2-buil-dinstructions","aria-label":'Permalink to "Fox IR V2 Buil dInstructions {.text-[var(--font-accent)]}"'},"​")],-1),_=e("h2",{id:"step-15-prepare-to-solder-ir-led-pcb-v2s",tabindex:"-1"},[n("Step 15: Prepare to solder IR LED PCB V2s "),e("a",{class:"header-anchor",href:"#step-15-prepare-to-solder-ir-led-pcb-v2s","aria-label":'Permalink to "Step 15: Prepare to solder IR LED PCB V2s"'},"​")],-1),p=e("p",null,"Get your magnifying glass out, it's time to solder very smol things.",-1),c=e("p",null,"Gather 4 PCBs, 4 IR LEDs, and 2 ~700ohm resistors.",-1),h=e("p",null,"Here are the PCB pin-out labels:",-1),u=e("p",null,"LED labels:",-1),f=a("",10),m=e("p",null,"Tin the resistor pads.",-1),b=e("p",null,"Hold the resistor in place.",-1),v=e("p",null,"Solder one end.",-1),x=e("p",null,"Flip to the other side of the resistor and solder it.",-1),P=e("h2",{id:"solder-leds-on-pcb-v2",tabindex:"-1"},[n("Solder LEDs on PCB V2 "),e("a",{class:"header-anchor",href:"#solder-leds-on-pcb-v2","aria-label":'Permalink to "Solder LEDs on PCB V2"'},"​")],-1),g=e("p",null,"Tin the pads",-1),B=e("p",null,"Place the resistor on the pads in the correct orientation.",-1),V=e("p",null,[n("Solder each side of the resistor. Be careful not to solder at too high of a temp, recommended soldering temp is "),e("code",null,"230C with a max of 245C"),n(".")],-1),C=e("h2",{id:"wire-up-the-pcbs-v2",tabindex:"-1"},[n("Wire up the PCBs V2 "),e("a",{class:"header-anchor",href:"#wire-up-the-pcbs-v2","aria-label":'Permalink to "Wire up the PCBs V2"'},"​")],-1),S=e("p",null,"Basic full wiring diagram of IR PCBs V2.",-1),w=e("p",null,"The PCB that receives the 5V power is the one with the resistor. The second one, which gets its power from the ground pin of the first, does not have a resistor on it and its power input pin is the AR pin (After-Resistor). The 2nd PCBs ground pin goes to the ground of the system, in the diagram it is the ESPs ground pin.",-1),k=JSON.parse('{"title":"Fox IR V2 Buil dInstructions","description":"","frontmatter":{},"headers":[],"relativePath":"archive/fox_ir_v2_build_instructions.md","filePath":"archive/fox_ir_v2_build_instructions.md","lastUpdated":1676223729000}'),T={name:"archive/fox_ir_v2_build_instructions.md"},L=Object.assign(T,{setup(I){return(D,E)=>(r(),l("div",null,[d,_,p,c,s(o,{options:i(t).fox_ir_build_instructions_one},null,8,["options"]),h,s(o,{options:i(t).fox_ir_build_instructions_two},null,8,["options"]),u,s(o,{options:i(t).fox_ir_build_instructions_three},null,8,["options"]),f,s(o,{options:i(t).fox_ir_build_instructions_four},null,8,["options"]),m,s(o,{options:i(t).fox_ir_build_instructions_five},null,8,["options"]),b,s(o,{options:i(t).fox_ir_build_instructions_six},null,8,["options"]),v,s(o,{options:i(t).fox_ir_build_instructions_seven},null,8,["options"]),x,s(o,{options:i(t).fox_ir_build_instructions_eight},null,8,["options"]),P,s(o,{options:i(t).fox_ir_build_instructions_nine},null,8,["options"]),g,s(o,{options:i(t).fox_ir_build_instructions_ten},null,8,["options"]),B,s(o,{options:i(t).fox_ir_build_instructions_eleven},null,8,["options"]),V,s(o,{options:i(t).fox_ir_build_instructions_twelve},null,8,["options"]),C,S,s(o,{options:i(t).fox_ir_build_instructions_thirteen},null,8,["options"]),w]))}});export{k as __pageData,L as default}; diff --git a/assets/chunks/Accordion.db4d26c2.js b/assets/chunks/Accordion.a318d504.js similarity index 75% rename from assets/chunks/Accordion.db4d26c2.js rename to assets/chunks/Accordion.a318d504.js index ba7b70f..a06c6ca 100644 --- a/assets/chunks/Accordion.db4d26c2.js +++ b/assets/chunks/Accordion.a318d504.js @@ -1 +1 @@ -import{_ as l,o as t,c as r,z as o,r as i,n as c,J as d,N as p}from"./framework.7384f92b.js";const u={data(){return{isOpen:!1}},methods:{toggleAccordion(){this.isOpen=!this.isOpen}}},_=["aria-expanded","aria-controls"],h=o("path",{d:"M15 1.2l-7 7-7-7","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),f=[h],m=["id"];function w(e,n,v,g,s,a){return t(),r("div",null,[o("button",{onClick:n[0]||(n[0]=k=>a.toggleAccordion()),class:"flex items-center space-x-3","aria-expanded":s.isOpen,"aria-controls":`collapse${e._uid}`},[i(e.$slots,"title"),(t(),r("svg",{class:c(["w-3 transition-all duration-200 transform",{"rotate-180":s.isOpen,"rotate-0":!s.isOpen}]),fill:"none",stroke:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 10","aria-hidden":"true"},f,2))],8,_),d(o("div",{id:`collapse${e._uid}`},[i(e.$slots,"content")],8,m),[[p,s.isOpen]])])}const x=l(u,[["render",w]]);export{x as A}; +import{_ as l,o as t,c as r,v as o,r as i,n as c,G as d,K as p}from"./framework.17985c0a.js";const u={data(){return{isOpen:!1}},methods:{toggleAccordion(){this.isOpen=!this.isOpen}}},_=["aria-expanded","aria-controls"],h=o("path",{d:"M15 1.2l-7 7-7-7","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),f=[h],m=["id"];function v(e,n,w,g,s,a){return t(),r("div",null,[o("button",{onClick:n[0]||(n[0]=k=>a.toggleAccordion()),class:"flex items-center space-x-3","aria-expanded":s.isOpen,"aria-controls":`collapse${e._uid}`},[i(e.$slots,"title"),(t(),r("svg",{class:c(["w-3 transition-all duration-200 transform",{"rotate-180":s.isOpen,"rotate-0":!s.isOpen}]),fill:"none",stroke:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 10","aria-hidden":"true"},f,2))],8,_),d(o("div",{id:`collapse${e._uid}`},[i(e.$slots,"content")],8,m),[[p,s.isOpen]])])}const x=l(u,[["render",v]]);export{x as A}; diff --git a/assets/chunks/CheckBoxList.78ea8d78.js b/assets/chunks/CheckBoxList.4e2280d2.js similarity index 77% rename from assets/chunks/CheckBoxList.78ea8d78.js rename to assets/chunks/CheckBoxList.4e2280d2.js index 53c41ad..42e14d1 100644 --- a/assets/chunks/CheckBoxList.78ea8d78.js +++ b/assets/chunks/CheckBoxList.4e2280d2.js @@ -1 +1 @@ -import{o as e,c as t,z as o,F as _,M as a,t as n}from"./framework.7384f92b.js";const i={class:"checkboxes"},r={style:{"list-style":"none"}},h={key:0},k=o("input",{type:"checkbox",checked:""},null,-1),d={key:0},p=["href"],u={key:1},b={key:1},y=o("input",{type:"checkbox",unchecked:""},null,-1),f={key:0},x=["href"],g={key:1},L={__name:"CheckBoxList",props:["options"],setup(c){const l=c;return(B,v)=>(e(),t("div",i,[o("ul",r,[(e(!0),t(_,null,a(l.options.object,s=>(e(),t("li",null,[l.options.state?(e(),t("div",h,[k,s.link!==null||l.link!==""?(e(),t("label",d,[o("a",{href:s.link,target:"_blank"},n(s.label),9,p)])):(e(),t("label",u,n(s.label),1))])):(e(),t("div",b,[y,s.link!==null||l.link!==""?(e(),t("label",f,[o("a",{href:s.link,target:"_blank"},n(s.label),9,x)])):(e(),t("label",g,n(s.label),1))]))]))),256))])]))}};export{L as _}; +import{o as e,c as t,v as o,F as _,J as a,t as n}from"./framework.17985c0a.js";const i={class:"checkboxes"},r={style:{"list-style":"none"}},h={key:0},k=o("input",{type:"checkbox",checked:""},null,-1),d={key:0},p=["href"],u={key:1},b={key:1},y=o("input",{type:"checkbox",unchecked:""},null,-1),f={key:0},x=["href"],g={key:1},L={__name:"CheckBoxList",props:["options"],setup(c){const l=c;return(v,B)=>(e(),t("div",i,[o("ul",r,[(e(!0),t(_,null,a(l.options.object,s=>(e(),t("li",null,[l.options.state?(e(),t("div",h,[k,s.link!==null||l.link!==""?(e(),t("label",d,[o("a",{href:s.link,target:"_blank"},n(s.label),9,p)])):(e(),t("label",u,n(s.label),1))])):(e(),t("div",b,[y,s.link!==null||l.link!==""?(e(),t("label",f,[o("a",{href:s.link,target:"_blank"},n(s.label),9,x)])):(e(),t("label",g,n(s.label),1))]))]))),256))])]))}};export{L as _}; diff --git a/assets/chunks/framework.17985c0a.js b/assets/chunks/framework.17985c0a.js new file mode 100644 index 0000000..b8cbbdd --- /dev/null +++ b/assets/chunks/framework.17985c0a.js @@ -0,0 +1,2 @@ +function Qn(e,t){const n=Object.create(null),s=e.split(",");for(let r=0;r!!n[r.toLowerCase()]:r=>!!n[r]}const ee={},at=[],Oe=()=>{},Mi=()=>!1,Si=/^on[^a-z]/,Ut=e=>Si.test(e),Gn=e=>e.startsWith("onUpdate:"),ie=Object.assign,es=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Li=Object.prototype.hasOwnProperty,Y=(e,t)=>Li.call(e,t),L=Array.isArray,ut=e=>un(e)==="[object Map]",br=e=>un(e)==="[object Set]",K=e=>typeof e=="function",se=e=>typeof e=="string",ts=e=>typeof e=="symbol",te=e=>e!==null&&typeof e=="object",yr=e=>te(e)&&K(e.then)&&K(e.catch),wr=Object.prototype.toString,un=e=>wr.call(e),Ni=e=>un(e).slice(8,-1),Cr=e=>un(e)==="[object Object]",ns=e=>se(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,At=Qn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),dn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Hi=/-(\w)/g,Se=dn(e=>e.replace(Hi,(t,n)=>n?n.toUpperCase():"")),$i=/\B([A-Z])/g,it=dn(e=>e.replace($i,"-$1").toLowerCase()),hn=dn(e=>e.charAt(0).toUpperCase()+e.slice(1)),Zt=dn(e=>e?`on${hn(e)}`:""),Mt=(e,t)=>!Object.is(e,t),Qt=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Hn=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Ui=e=>{const t=se(e)?Number(e):NaN;return isNaN(t)?e:t};let Ts;const $n=()=>Ts||(Ts=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function ss(e){if(L(e)){const t={};for(let n=0;n{if(n){const s=n.split(ji);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function rs(e){let t="";if(se(e))t=e;else if(L(e))for(let n=0;nse(e)?e:e==null?"":L(e)||te(e)&&(e.toString===wr||!K(e.toString))?JSON.stringify(e,Er,2):String(e),Er=(e,t)=>t&&t.__v_isRef?Er(e,t.value):ut(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r])=>(n[`${s} =>`]=r,n),{})}:br(t)?{[`Set(${t.size})`]:[...t.values()]}:te(t)&&!L(t)&&!Cr(t)?String(t):t;let _e;class Vi{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=_e,!t&&_e&&(this.index=(_e.scopes||(_e.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=_e;try{return _e=this,t()}finally{_e=n}}}on(){_e=this}off(){_e=this.parent}stop(t){if(this._active){let n,s;for(n=0,s=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},vr=e=>(e.w&Ve)>0,Tr=e=>(e.n&Ve)>0,Yi=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s{(d==="length"||d>=c)&&l.push(a)})}else switch(n!==void 0&&l.push(o.get(n)),t){case"add":L(e)?ns(n)&&l.push(o.get("length")):(l.push(o.get(st)),ut(e)&&l.push(o.get(jn)));break;case"delete":L(e)||(l.push(o.get(st)),ut(e)&&l.push(o.get(jn)));break;case"set":ut(e)&&l.push(o.get(st));break}if(l.length===1)l[0]&&Dn(l[0]);else{const c=[];for(const a of l)a&&c.push(...a);Dn(is(c))}}function Dn(e,t){const n=L(e)?e:[...e];for(const s of n)s.computed&&Ps(s);for(const s of n)s.computed||Ps(s)}function Ps(e,t){(e!==Ae||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const Xi=Qn("__proto__,__v_isRef,__isVue"),Or=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ts)),Zi=ls(),Qi=ls(!1,!0),Gi=ls(!0),Os=eo();function eo(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=J(this);for(let i=0,o=this.length;i{e[t]=function(...n){yt();const s=J(this)[t].apply(this,n);return wt(),s}}),e}function to(e){const t=J(this);return pe(t,"has",e),t.hasOwnProperty(e)}function ls(e=!1,t=!1){return function(s,r,i){if(r==="__v_isReactive")return!e;if(r==="__v_isReadonly")return e;if(r==="__v_isShallow")return t;if(r==="__v_raw"&&i===(e?t?bo:Sr:t?Mr:Rr).get(s))return s;const o=L(s);if(!e){if(o&&Y(Os,r))return Reflect.get(Os,r,i);if(r==="hasOwnProperty")return to}const l=Reflect.get(s,r,i);return(ts(r)?Or.has(r):Xi(r))||(e||pe(s,"get",r),t)?l:ae(l)?o&&ns(r)?l:l.value:te(l)?e?Lr(l):gn(l):l}}const no=Fr(),so=Fr(!0);function Fr(e=!1){return function(n,s,r,i){let o=n[s];if(mt(o)&&ae(o)&&!ae(r))return!1;if(!e&&(!sn(r)&&!mt(r)&&(o=J(o),r=J(r)),!L(n)&&ae(o)&&!ae(r)))return o.value=r,!0;const l=L(n)&&ns(s)?Number(s)e,pn=e=>Reflect.getPrototypeOf(e);function Dt(e,t,n=!1,s=!1){e=e.__v_raw;const r=J(e),i=J(t);n||(t!==i&&pe(r,"get",t),pe(r,"get",i));const{has:o}=pn(r),l=s?cs:n?us:St;if(o.call(r,t))return l(e.get(t));if(o.call(r,i))return l(e.get(i));e!==r&&e.get(t)}function Kt(e,t=!1){const n=this.__v_raw,s=J(n),r=J(e);return t||(e!==r&&pe(s,"has",e),pe(s,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function kt(e,t=!1){return e=e.__v_raw,!t&&pe(J(e),"iterate",st),Reflect.get(e,"size",e)}function Fs(e){e=J(e);const t=J(this);return pn(t).has.call(t,e)||(t.add(e),He(t,"add",e,e)),this}function Is(e,t){t=J(t);const n=J(this),{has:s,get:r}=pn(n);let i=s.call(n,e);i||(e=J(e),i=s.call(n,e));const o=r.call(n,e);return n.set(e,t),i?Mt(t,o)&&He(n,"set",e,t):He(n,"add",e,t),this}function Rs(e){const t=J(this),{has:n,get:s}=pn(t);let r=n.call(t,e);r||(e=J(e),r=n.call(t,e)),s&&s.call(t,e);const i=t.delete(e);return r&&He(t,"delete",e,void 0),i}function Ms(){const e=J(this),t=e.size!==0,n=e.clear();return t&&He(e,"clear",void 0,void 0),n}function Wt(e,t){return function(s,r){const i=this,o=i.__v_raw,l=J(o),c=t?cs:e?us:St;return!e&&pe(l,"iterate",st),o.forEach((a,d)=>s.call(r,c(a),c(d),i))}}function Vt(e,t,n){return function(...s){const r=this.__v_raw,i=J(r),o=ut(i),l=e==="entries"||e===Symbol.iterator&&o,c=e==="keys"&&o,a=r[e](...s),d=n?cs:t?us:St;return!t&&pe(i,"iterate",c?jn:st),{next(){const{value:p,done:g}=a.next();return g?{value:p,done:g}:{value:l?[d(p[0]),d(p[1])]:d(p),done:g}},[Symbol.iterator](){return this}}}}function Ue(e){return function(...t){return e==="delete"?!1:this}}function fo(){const e={get(i){return Dt(this,i)},get size(){return kt(this)},has:Kt,add:Fs,set:Is,delete:Rs,clear:Ms,forEach:Wt(!1,!1)},t={get(i){return Dt(this,i,!1,!0)},get size(){return kt(this)},has:Kt,add:Fs,set:Is,delete:Rs,clear:Ms,forEach:Wt(!1,!0)},n={get(i){return Dt(this,i,!0)},get size(){return kt(this,!0)},has(i){return Kt.call(this,i,!0)},add:Ue("add"),set:Ue("set"),delete:Ue("delete"),clear:Ue("clear"),forEach:Wt(!0,!1)},s={get(i){return Dt(this,i,!0,!0)},get size(){return kt(this,!0)},has(i){return Kt.call(this,i,!0)},add:Ue("add"),set:Ue("set"),delete:Ue("delete"),clear:Ue("clear"),forEach:Wt(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=Vt(i,!1,!1),n[i]=Vt(i,!0,!1),t[i]=Vt(i,!1,!0),s[i]=Vt(i,!0,!0)}),[e,n,t,s]}const[ao,uo,ho,po]=fo();function fs(e,t){const n=t?e?po:ho:e?uo:ao;return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(Y(n,r)&&r in s?n:s,r,i)}const go={get:fs(!1,!1)},mo={get:fs(!1,!0)},_o={get:fs(!0,!1)},Rr=new WeakMap,Mr=new WeakMap,Sr=new WeakMap,bo=new WeakMap;function yo(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function wo(e){return e.__v_skip||!Object.isExtensible(e)?0:yo(Ni(e))}function gn(e){return mt(e)?e:as(e,!1,Ir,go,Rr)}function Co(e){return as(e,!1,co,mo,Mr)}function Lr(e){return as(e,!0,lo,_o,Sr)}function as(e,t,n,s,r){if(!te(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const o=wo(e);if(o===0)return e;const l=new Proxy(e,o===2?s:n);return r.set(e,l),l}function dt(e){return mt(e)?dt(e.__v_raw):!!(e&&e.__v_isReactive)}function mt(e){return!!(e&&e.__v_isReadonly)}function sn(e){return!!(e&&e.__v_isShallow)}function Nr(e){return dt(e)||mt(e)}function J(e){const t=e&&e.__v_raw;return t?J(t):e}function Pt(e){return nn(e,"__v_skip",!0),e}const St=e=>te(e)?gn(e):e,us=e=>te(e)?Lr(e):e;function Hr(e){ke&&Ae&&(e=J(e),Pr(e.dep||(e.dep=is())))}function $r(e,t){e=J(e);const n=e.dep;n&&Dn(n)}function ae(e){return!!(e&&e.__v_isRef===!0)}function Ur(e){return Br(e,!1)}function xo(e){return Br(e,!0)}function Br(e,t){return ae(e)?e:new Eo(e,t)}class Eo{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:J(t),this._value=n?t:St(t)}get value(){return Hr(this),this._value}set value(t){const n=this.__v_isShallow||sn(t)||mt(t);t=n?t:J(t),Mt(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:St(t),$r(this))}}function vo(e){return ae(e)?e.value:e}const To={get:(e,t,n)=>vo(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return ae(r)&&!ae(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function jr(e){return dt(e)?e:new Proxy(e,To)}class Ao{constructor(t,n,s,r){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new os(t,()=>{this._dirty||(this._dirty=!0,$r(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const t=J(this);return Hr(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Po(e,t,n=!1){let s,r;const i=K(e);return i?(s=e,r=Oe):(s=e.get,r=e.set),new Ao(s,r,i||!r,n)}function We(e,t,n,s){let r;try{r=s?e(...s):e()}catch(i){mn(i,t,n)}return r}function xe(e,t,n,s){if(K(e)){const i=We(e,t,n,s);return i&&yr(i)&&i.catch(o=>{mn(o,t,n)}),i}const r=[];for(let i=0;i>>1;Nt(fe[s])Me&&fe.splice(t,1)}function Ro(e){L(e)?ht.push(...e):(!Ne||!Ne.includes(e,e.allowRecurse?Qe+1:Qe))&&ht.push(e),kr()}function Ss(e,t=Lt?Me+1:0){for(;tNt(n)-Nt(s)),Qe=0;Qee.id==null?1/0:e.id,Mo=(e,t)=>{const n=Nt(e)-Nt(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Wr(e){Kn=!1,Lt=!0,fe.sort(Mo);const t=Oe;try{for(Me=0;Mese(T)?T.trim():T)),p&&(r=n.map(Hn))}let l,c=s[l=Zt(t)]||s[l=Zt(Se(t))];!c&&i&&(c=s[l=Zt(it(t))]),c&&xe(c,e,6,r);const a=s[l+"Once"];if(a){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,xe(a,e,6,r)}}function Vr(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let o={},l=!1;if(!K(e)){const c=a=>{const d=Vr(a,t,!0);d&&(l=!0,ie(o,d))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!l?(te(e)&&s.set(e,null),null):(L(i)?i.forEach(c=>o[c]=null):ie(o,i),te(e)&&s.set(e,o),o)}function _n(e,t){return!e||!Ut(t)?!1:(t=t.slice(2).replace(/Once$/,""),Y(e,t[0].toLowerCase()+t.slice(1))||Y(e,it(t))||Y(e,t))}let le=null,bn=null;function on(e){const t=le;return le=e,bn=e&&e.type.__scopeId||null,t}function Uc(e){bn=e}function Bc(){bn=null}function Lo(e,t=le,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&qs(-1);const i=on(t);let o;try{o=e(...r)}finally{on(i),s._d&&qs(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function On(e){const{type:t,vnode:n,proxy:s,withProxy:r,props:i,propsOptions:[o],slots:l,attrs:c,emit:a,render:d,renderCache:p,data:g,setupState:T,ctx:N,inheritAttrs:O}=e;let k,b;const C=on(e);try{if(n.shapeFlag&4){const P=r||s;k=Te(d.call(P,P,p,i,T,g,N)),b=c}else{const P=t;k=Te(P.length>1?P(i,{attrs:c,slots:l,emit:a}):P(i,null)),b=t.props?c:No(c)}}catch(P){Rt.length=0,mn(P,e,1),k=ce(be)}let H=k;if(b&&O!==!1){const P=Object.keys(b),{shapeFlag:j}=H;P.length&&j&7&&(o&&P.some(Gn)&&(b=Ho(b,o)),H=qe(H,b))}return n.dirs&&(H=qe(H),H.dirs=H.dirs?H.dirs.concat(n.dirs):n.dirs),n.transition&&(H.transition=n.transition),k=H,on(C),k}const No=e=>{let t;for(const n in e)(n==="class"||n==="style"||Ut(n))&&((t||(t={}))[n]=e[n]);return t},Ho=(e,t)=>{const n={};for(const s in e)(!Gn(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function $o(e,t,n){const{props:s,children:r,component:i}=e,{props:o,children:l,patchFlag:c}=t,a=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?Ls(s,o,a):!!o;if(c&8){const d=t.dynamicProps;for(let p=0;pe.__isSuspense;function qr(e,t){t&&t.pendingBranch?L(e)?t.effects.push(...e):t.effects.push(e):Ro(e)}function jo(e,t){return yn(e,null,t)}function jc(e,t){return yn(e,null,{flush:"post"})}const qt={};function Gt(e,t,n){return yn(e,t,n)}function yn(e,t,{immediate:n,deep:s,flush:r,onTrack:i,onTrigger:o}=ee){var l;const c=zi()===((l=oe)==null?void 0:l.scope)?oe:null;let a,d=!1,p=!1;if(ae(e)?(a=()=>e.value,d=sn(e)):dt(e)?(a=()=>e,s=!0):L(e)?(p=!0,d=e.some(P=>dt(P)||sn(P)),a=()=>e.map(P=>{if(ae(P))return P.value;if(dt(P))return tt(P);if(K(P))return We(P,c,2)})):K(e)?t?a=()=>We(e,c,2):a=()=>{if(!(c&&c.isUnmounted))return g&&g(),xe(e,c,3,[T])}:a=Oe,t&&s){const P=a;a=()=>tt(P())}let g,T=P=>{g=C.onStop=()=>{We(P,c,4)}},N;if($t)if(T=Oe,t?n&&xe(t,c,3,[a(),p?[]:void 0,T]):a(),r==="sync"){const P=Hl();N=P.__watcherHandles||(P.__watcherHandles=[])}else return Oe;let O=p?new Array(e.length).fill(qt):qt;const k=()=>{if(C.active)if(t){const P=C.run();(s||d||(p?P.some((j,q)=>Mt(j,O[q])):Mt(P,O)))&&(g&&g(),xe(t,c,3,[P,O===qt?void 0:p&&O[0]===qt?[]:O,T]),O=P)}else C.run()};k.allowRecurse=!!t;let b;r==="sync"?b=k:r==="post"?b=()=>de(k,c&&c.suspense):(k.pre=!0,c&&(k.id=c.uid),b=()=>hs(k));const C=new os(a,b);t?n?k():O=C.run():r==="post"?de(C.run.bind(C),c&&c.suspense):C.run();const H=()=>{C.stop(),c&&c.scope&&es(c.scope.effects,C)};return N&&N.push(H),H}function Do(e,t,n){const s=this.proxy,r=se(e)?e.includes(".")?zr(s,e):()=>s[e]:e.bind(s,s);let i;K(t)?i=t:(i=t.handler,n=t);const o=oe;bt(this);const l=yn(r,i.bind(s),n);return o?bt(o):rt(),l}function zr(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r{tt(n,t)});else if(Cr(e))for(const n in e)tt(e[n],t);return e}function Dc(e,t){const n=le;if(n===null)return e;const s=Tn(n)||n.proxy,r=e.dirs||(e.dirs=[]);for(let i=0;i{e.isMounted=!0}),Gr(()=>{e.isUnmounting=!0}),e}const ye=[Function,Array],Yr={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ye,onEnter:ye,onAfterEnter:ye,onEnterCancelled:ye,onBeforeLeave:ye,onLeave:ye,onAfterLeave:ye,onLeaveCancelled:ye,onBeforeAppear:ye,onAppear:ye,onAfterAppear:ye,onAppearCancelled:ye},ko={name:"BaseTransition",props:Yr,setup(e,{slots:t}){const n=_i(),s=Ko();let r;return()=>{const i=t.default&&Xr(t.default(),!0);if(!i||!i.length)return;let o=i[0];if(i.length>1){for(const O of i)if(O.type!==be){o=O;break}}const l=J(e),{mode:c}=l;if(s.isLeaving)return Fn(o);const a=Ns(o);if(!a)return Fn(o);const d=kn(a,l,s,n);Wn(a,d);const p=n.subTree,g=p&&Ns(p);let T=!1;const{getTransitionKey:N}=a.type;if(N){const O=N();r===void 0?r=O:O!==r&&(r=O,T=!0)}if(g&&g.type!==be&&(!Ge(a,g)||T)){const O=kn(g,l,s,n);if(Wn(g,O),c==="out-in")return s.isLeaving=!0,O.afterLeave=()=>{s.isLeaving=!1,n.update.active!==!1&&n.update()},Fn(o);c==="in-out"&&a.type!==be&&(O.delayLeave=(k,b,C)=>{const H=Jr(s,g);H[String(g.key)]=g,k._leaveCb=()=>{b(),k._leaveCb=void 0,delete d.delayedLeave},d.delayedLeave=C})}return o}}},Wo=ko;function Jr(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function kn(e,t,n,s){const{appear:r,mode:i,persisted:o=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:a,onEnterCancelled:d,onBeforeLeave:p,onLeave:g,onAfterLeave:T,onLeaveCancelled:N,onBeforeAppear:O,onAppear:k,onAfterAppear:b,onAppearCancelled:C}=t,H=String(e.key),P=Jr(n,e),j=(E,U)=>{E&&xe(E,s,9,U)},q=(E,U)=>{const $=U[1];j(E,U),L(E)?E.every(W=>W.length<=1)&&$():E.length<=1&&$()},D={mode:i,persisted:o,beforeEnter(E){let U=l;if(!n.isMounted)if(r)U=O||l;else return;E._leaveCb&&E._leaveCb(!0);const $=P[H];$&&Ge(e,$)&&$.el._leaveCb&&$.el._leaveCb(),j(U,[E])},enter(E){let U=c,$=a,W=d;if(!n.isMounted)if(r)U=k||c,$=b||a,W=C||d;else return;let F=!1;const V=E._enterCb=R=>{F||(F=!0,R?j(W,[E]):j($,[E]),D.delayedLeave&&D.delayedLeave(),E._enterCb=void 0)};U?q(U,[E,V]):V()},leave(E,U){const $=String(e.key);if(E._enterCb&&E._enterCb(!0),n.isUnmounting)return U();j(p,[E]);let W=!1;const F=E._leaveCb=V=>{W||(W=!0,U(),V?j(N,[E]):j(T,[E]),E._leaveCb=void 0,P[$]===e&&delete P[$])};P[$]=e,g?q(g,[E,F]):F()},clone(E){return kn(E,t,n,s)}};return D}function Fn(e){if(wn(e))return e=qe(e),e.children=null,e}function Ns(e){return wn(e)?e.children?e.children[0]:void 0:e}function Wn(e,t){e.shapeFlag&6&&e.component?Wn(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Xr(e,t=!1,n){let s=[],r=0;for(let i=0;i1)for(let i=0;iie({name:e.name},t,{setup:e}))():e}const pt=e=>!!e.type.__asyncLoader,wn=e=>e.type.__isKeepAlive;function Vo(e,t){Qr(e,"a",t)}function qo(e,t){Qr(e,"da",t)}function Qr(e,t,n=oe){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Cn(t,s,n),n){let r=n.parent;for(;r&&r.parent;)wn(r.parent.vnode)&&zo(s,t,n,r),r=r.parent}}function zo(e,t,n,s){const r=Cn(t,e,s,!0);En(()=>{es(s[t],r)},n)}function Cn(e,t,n=oe,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;yt(),bt(n);const l=xe(t,n,e,o);return rt(),wt(),l});return s?r.unshift(i):r.push(i),i}}const $e=e=>(t,n=oe)=>(!$t||e==="sp")&&Cn(e,(...s)=>t(...s),n),Yo=$e("bm"),xn=$e("m"),Jo=$e("bu"),Xo=$e("u"),Gr=$e("bum"),En=$e("um"),Zo=$e("sp"),Qo=$e("rtg"),Go=$e("rtc");function el(e,t=oe){Cn("ec",e,t)}const ps="components";function Kc(e,t){return ti(ps,e,!0,t)||e}const ei=Symbol.for("v-ndc");function kc(e){return se(e)?ti(ps,e,!1)||e:e||ei}function ti(e,t,n=!0,s=!1){const r=le||oe;if(r){const i=r.type;if(e===ps){const l=Sl(i,!1);if(l&&(l===t||l===Se(t)||l===hn(Se(t))))return i}const o=Hs(r[e]||i[e],t)||Hs(r.appContext[e],t);return!o&&s?i:o}}function Hs(e,t){return e&&(e[t]||e[Se(t)]||e[hn(Se(t))])}function Wc(e,t,n,s){let r;const i=n&&n[s];if(L(e)||se(e)){r=new Array(e.length);for(let o=0,l=e.length;ot(o,l,void 0,i&&i[l]));else{const o=Object.keys(e);r=new Array(o.length);for(let l=0,c=o.length;lan(t)?!(t.type===be||t.type===he&&!ni(t.children)):!0)?e:null}function qc(e,t){const n={};for(const s in e)n[t&&/[A-Z]/.test(s)?`on:${s}`:Zt(s)]=e[s];return n}const Vn=e=>e?bi(e)?Tn(e)||e.proxy:Vn(e.parent):null,Ot=ie(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Vn(e.parent),$root:e=>Vn(e.root),$emit:e=>e.emit,$options:e=>gs(e),$forceUpdate:e=>e.f||(e.f=()=>hs(e.update)),$nextTick:e=>e.n||(e.n=Kr.bind(e.proxy)),$watch:e=>Do.bind(e)}),In=(e,t)=>e!==ee&&!e.__isScriptSetup&&Y(e,t),tl={get({_:e},t){const{ctx:n,setupState:s,data:r,props:i,accessCache:o,type:l,appContext:c}=e;let a;if(t[0]!=="$"){const T=o[t];if(T!==void 0)switch(T){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(In(s,t))return o[t]=1,s[t];if(r!==ee&&Y(r,t))return o[t]=2,r[t];if((a=e.propsOptions[0])&&Y(a,t))return o[t]=3,i[t];if(n!==ee&&Y(n,t))return o[t]=4,n[t];qn&&(o[t]=0)}}const d=Ot[t];let p,g;if(d)return t==="$attrs"&&pe(e,"get",t),d(e);if((p=l.__cssModules)&&(p=p[t]))return p;if(n!==ee&&Y(n,t))return o[t]=4,n[t];if(g=c.config.globalProperties,Y(g,t))return g[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:i}=e;return In(r,t)?(r[t]=n,!0):s!==ee&&Y(s,t)?(s[t]=n,!0):Y(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:i}},o){let l;return!!n[o]||e!==ee&&Y(e,o)||In(t,o)||(l=i[0])&&Y(l,o)||Y(s,o)||Y(Ot,o)||Y(r.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Y(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function zc(){return nl().slots}function nl(){const e=_i();return e.setupContext||(e.setupContext=wi(e))}function $s(e){return L(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let qn=!0;function sl(e){const t=gs(e),n=e.proxy,s=e.ctx;qn=!1,t.beforeCreate&&Us(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:l,provide:c,inject:a,created:d,beforeMount:p,mounted:g,beforeUpdate:T,updated:N,activated:O,deactivated:k,beforeDestroy:b,beforeUnmount:C,destroyed:H,unmounted:P,render:j,renderTracked:q,renderTriggered:D,errorCaptured:E,serverPrefetch:U,expose:$,inheritAttrs:W,components:F,directives:V,filters:R}=t;if(a&&rl(a,s,null),o)for(const ne in o){const Q=o[ne];K(Q)&&(s[ne]=Q.bind(n))}if(r){const ne=r.call(n,n);te(ne)&&(e.data=gn(ne))}if(qn=!0,i)for(const ne in i){const Q=i[ne],ze=K(Q)?Q.bind(n,n):K(Q.get)?Q.get.bind(n,n):Oe,Bt=!K(Q)&&K(Q.set)?Q.set.bind(n):Oe,Ye=ve({get:ze,set:Bt});Object.defineProperty(s,ne,{enumerable:!0,configurable:!0,get:()=>Ye.value,set:Fe=>Ye.value=Fe})}if(l)for(const ne in l)si(l[ne],s,n,ne);if(c){const ne=K(c)?c.call(n):c;Reflect.ownKeys(ne).forEach(Q=>{al(Q,ne[Q])})}d&&Us(d,e,"c");function X(ne,Q){L(Q)?Q.forEach(ze=>ne(ze.bind(n))):Q&&ne(Q.bind(n))}if(X(Yo,p),X(xn,g),X(Jo,T),X(Xo,N),X(Vo,O),X(qo,k),X(el,E),X(Go,q),X(Qo,D),X(Gr,C),X(En,P),X(Zo,U),L($))if($.length){const ne=e.exposed||(e.exposed={});$.forEach(Q=>{Object.defineProperty(ne,Q,{get:()=>n[Q],set:ze=>n[Q]=ze})})}else e.exposed||(e.exposed={});j&&e.render===Oe&&(e.render=j),W!=null&&(e.inheritAttrs=W),F&&(e.components=F),V&&(e.directives=V)}function rl(e,t,n=Oe){L(e)&&(e=zn(e));for(const s in e){const r=e[s];let i;te(r)?"default"in r?i=gt(r.from||s,r.default,!0):i=gt(r.from||s):i=gt(r),ae(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[s]=i}}function Us(e,t,n){xe(L(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function si(e,t,n,s){const r=s.includes(".")?zr(n,s):()=>n[s];if(se(e)){const i=t[e];K(i)&&Gt(r,i)}else if(K(e))Gt(r,e.bind(n));else if(te(e))if(L(e))e.forEach(i=>si(i,t,n,s));else{const i=K(e.handler)?e.handler.bind(n):t[e.handler];K(i)&&Gt(r,i,e)}}function gs(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(a=>ln(c,a,o,!0)),ln(c,t,o)),te(t)&&i.set(t,c),c}function ln(e,t,n,s=!1){const{mixins:r,extends:i}=t;i&&ln(e,i,n,!0),r&&r.forEach(o=>ln(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const l=il[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const il={data:Bs,props:js,emits:js,methods:Tt,computed:Tt,beforeCreate:ue,created:ue,beforeMount:ue,mounted:ue,beforeUpdate:ue,updated:ue,beforeDestroy:ue,beforeUnmount:ue,destroyed:ue,unmounted:ue,activated:ue,deactivated:ue,errorCaptured:ue,serverPrefetch:ue,components:Tt,directives:Tt,watch:ll,provide:Bs,inject:ol};function Bs(e,t){return t?e?function(){return ie(K(e)?e.call(this,this):e,K(t)?t.call(this,this):t)}:t:e}function ol(e,t){return Tt(zn(e),zn(t))}function zn(e){if(L(e)){const t={};for(let n=0;n1)return n&&K(t)?t.call(s&&s.proxy):t}}function ul(e,t,n,s=!1){const r={},i={};nn(i,vn,1),e.propsDefaults=Object.create(null),ii(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);n?e.props=s?r:Co(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function dl(e,t,n,s){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,l=J(r),[c]=e.propsOptions;let a=!1;if((s||o>0)&&!(o&16)){if(o&8){const d=e.vnode.dynamicProps;for(let p=0;p{c=!0;const[g,T]=oi(p,t,!0);ie(o,g),T&&l.push(...T)};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!i&&!c)return te(e)&&s.set(e,at),at;if(L(i))for(let d=0;d-1,T[1]=O<0||N-1||Y(T,"default"))&&l.push(p)}}}const a=[o,l];return te(e)&&s.set(e,a),a}function Ds(e){return e[0]!=="$"}function Ks(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function ks(e,t){return Ks(e)===Ks(t)}function Ws(e,t){return L(t)?t.findIndex(n=>ks(n,e)):K(t)&&ks(t,e)?0:-1}const li=e=>e[0]==="_"||e==="$stable",ms=e=>L(e)?e.map(Te):[Te(e)],hl=(e,t,n)=>{if(t._n)return t;const s=Lo((...r)=>ms(t(...r)),n);return s._c=!1,s},ci=(e,t,n)=>{const s=e._ctx;for(const r in e){if(li(r))continue;const i=e[r];if(K(i))t[r]=hl(r,i,s);else if(i!=null){const o=ms(i);t[r]=()=>o}}},fi=(e,t)=>{const n=ms(t);e.slots.default=()=>n},pl=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=J(t),nn(t,"_",n)):ci(t,e.slots={})}else e.slots={},t&&fi(e,t);nn(e.slots,vn,1)},gl=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,o=ee;if(s.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:(ie(r,t),!n&&l===1&&delete r._):(i=!t.$stable,ci(t,r)),o=t}else t&&(fi(e,t),o={default:1});if(i)for(const l in r)!li(l)&&!(l in o)&&delete r[l]};function fn(e,t,n,s,r=!1){if(L(e)){e.forEach((g,T)=>fn(g,t&&(L(t)?t[T]:t),n,s,r));return}if(pt(s)&&!r)return;const i=s.shapeFlag&4?Tn(s.component)||s.component.proxy:s.el,o=r?null:i,{i:l,r:c}=e,a=t&&t.r,d=l.refs===ee?l.refs={}:l.refs,p=l.setupState;if(a!=null&&a!==c&&(se(a)?(d[a]=null,Y(p,a)&&(p[a]=null)):ae(a)&&(a.value=null)),K(c))We(c,l,12,[o,d]);else{const g=se(c),T=ae(c);if(g||T){const N=()=>{if(e.f){const O=g?Y(p,c)?p[c]:d[c]:c.value;r?L(O)&&es(O,i):L(O)?O.includes(i)||O.push(i):g?(d[c]=[i],Y(p,c)&&(p[c]=d[c])):(c.value=[i],e.k&&(d[e.k]=c.value))}else g?(d[c]=o,Y(p,c)&&(p[c]=o)):T&&(c.value=o,e.k&&(d[e.k]=o))};o?(N.id=-1,de(N,n)):N()}}}let Be=!1;const zt=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",Yt=e=>e.nodeType===8;function ml(e){const{mt:t,p:n,o:{patchProp:s,createText:r,nextSibling:i,parentNode:o,remove:l,insert:c,createComment:a}}=e,d=(b,C)=>{if(!C.hasChildNodes()){n(null,b,C),rn(),C._vnode=b;return}Be=!1,p(C.firstChild,b,null,null,null),rn(),C._vnode=b,Be&&console.error("Hydration completed but contains mismatches.")},p=(b,C,H,P,j,q=!1)=>{const D=Yt(b)&&b.data==="[",E=()=>O(b,C,H,P,j,D),{type:U,ref:$,shapeFlag:W,patchFlag:F}=C;let V=b.nodeType;C.el=b,F===-2&&(q=!1,C.dynamicChildren=null);let R=null;switch(U){case _t:V!==3?C.children===""?(c(C.el=r(""),o(b),b),R=b):R=E():(b.data!==C.children&&(Be=!0,b.data=C.children),R=i(b));break;case be:V!==8||D?R=E():R=i(b);break;case It:if(D&&(b=i(b),V=b.nodeType),V===1||V===3){R=b;const ge=!C.children.length;for(let X=0;X{q=q||!!C.dynamicChildren;const{type:D,props:E,patchFlag:U,shapeFlag:$,dirs:W}=C,F=D==="input"&&W||D==="option";if(F||U!==-1){if(W&&Re(C,null,H,"created"),E)if(F||!q||U&48)for(const R in E)(F&&R.endsWith("value")||Ut(R)&&!At(R))&&s(b,R,null,E[R],!1,void 0,H);else E.onClick&&s(b,"onClick",null,E.onClick,!1,void 0,H);let V;if((V=E&&E.onVnodeBeforeMount)&&we(V,H,C),W&&Re(C,null,H,"beforeMount"),((V=E&&E.onVnodeMounted)||W)&&qr(()=>{V&&we(V,H,C),W&&Re(C,null,H,"mounted")},P),$&16&&!(E&&(E.innerHTML||E.textContent))){let R=T(b.firstChild,C,b,H,P,j,q);for(;R;){Be=!0;const ge=R;R=R.nextSibling,l(ge)}}else $&8&&b.textContent!==C.children&&(Be=!0,b.textContent=C.children)}return b.nextSibling},T=(b,C,H,P,j,q,D)=>{D=D||!!C.dynamicChildren;const E=C.children,U=E.length;for(let $=0;${const{slotScopeIds:D}=C;D&&(j=j?j.concat(D):D);const E=o(b),U=T(i(b),C,E,H,P,j,q);return U&&Yt(U)&&U.data==="]"?i(C.anchor=U):(Be=!0,c(C.anchor=a("]"),E,U),U)},O=(b,C,H,P,j,q)=>{if(Be=!0,C.el=null,q){const U=k(b);for(;;){const $=i(b);if($&&$!==U)l($);else break}}const D=i(b),E=o(b);return l(b),n(null,C,E,D,H,P,zt(E),j),D},k=b=>{let C=0;for(;b;)if(b=i(b),b&&Yt(b)&&(b.data==="["&&C++,b.data==="]")){if(C===0)return i(b);C--}return b};return[d,p]}const de=qr;function _l(e){return bl(e,ml)}function bl(e,t){const n=$n();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:o,createText:l,createComment:c,setText:a,setElementText:d,parentNode:p,nextSibling:g,setScopeId:T=Oe,insertStaticContent:N}=e,O=(f,u,h,_=null,m=null,x=null,A=!1,w=null,v=!!u.dynamicChildren)=>{if(f===u)return;f&&!Ge(f,u)&&(_=jt(f),Fe(f,m,x,!0),f=null),u.patchFlag===-2&&(v=!1,u.dynamicChildren=null);const{type:y,ref:M,shapeFlag:I}=u;switch(y){case _t:k(f,u,h,_);break;case be:b(f,u,h,_);break;case It:f==null&&C(u,h,_,A);break;case he:F(f,u,h,_,m,x,A,w,v);break;default:I&1?j(f,u,h,_,m,x,A,w,v):I&6?V(f,u,h,_,m,x,A,w,v):(I&64||I&128)&&y.process(f,u,h,_,m,x,A,w,v,ot)}M!=null&&m&&fn(M,f&&f.ref,x,u||f,!u)},k=(f,u,h,_)=>{if(f==null)s(u.el=l(u.children),h,_);else{const m=u.el=f.el;u.children!==f.children&&a(m,u.children)}},b=(f,u,h,_)=>{f==null?s(u.el=c(u.children||""),h,_):u.el=f.el},C=(f,u,h,_)=>{[f.el,f.anchor]=N(f.children,u,h,_,f.el,f.anchor)},H=({el:f,anchor:u},h,_)=>{let m;for(;f&&f!==u;)m=g(f),s(f,h,_),f=m;s(u,h,_)},P=({el:f,anchor:u})=>{let h;for(;f&&f!==u;)h=g(f),r(f),f=h;r(u)},j=(f,u,h,_,m,x,A,w,v)=>{A=A||u.type==="svg",f==null?q(u,h,_,m,x,A,w,v):U(f,u,m,x,A,w,v)},q=(f,u,h,_,m,x,A,w)=>{let v,y;const{type:M,props:I,shapeFlag:S,transition:B,dirs:z}=f;if(v=f.el=o(f.type,x,I&&I.is,I),S&8?d(v,f.children):S&16&&E(f.children,v,null,_,m,x&&M!=="foreignObject",A,w),z&&Re(f,null,_,"created"),D(v,f,f.scopeId,A,_),I){for(const Z in I)Z!=="value"&&!At(Z)&&i(v,Z,null,I[Z],x,f.children,_,m,Le);"value"in I&&i(v,"value",null,I.value),(y=I.onVnodeBeforeMount)&&we(y,_,f)}z&&Re(f,null,_,"beforeMount");const G=(!m||m&&!m.pendingBranch)&&B&&!B.persisted;G&&B.beforeEnter(v),s(v,u,h),((y=I&&I.onVnodeMounted)||G||z)&&de(()=>{y&&we(y,_,f),G&&B.enter(v),z&&Re(f,null,_,"mounted")},m)},D=(f,u,h,_,m)=>{if(h&&T(f,h),_)for(let x=0;x<_.length;x++)T(f,_[x]);if(m){let x=m.subTree;if(u===x){const A=m.vnode;D(f,A,A.scopeId,A.slotScopeIds,m.parent)}}},E=(f,u,h,_,m,x,A,w,v=0)=>{for(let y=v;y{const w=u.el=f.el;let{patchFlag:v,dynamicChildren:y,dirs:M}=u;v|=f.patchFlag&16;const I=f.props||ee,S=u.props||ee;let B;h&&Je(h,!1),(B=S.onVnodeBeforeUpdate)&&we(B,h,u,f),M&&Re(u,f,h,"beforeUpdate"),h&&Je(h,!0);const z=m&&u.type!=="foreignObject";if(y?$(f.dynamicChildren,y,w,h,_,z,x):A||Q(f,u,w,null,h,_,z,x,!1),v>0){if(v&16)W(w,u,I,S,h,_,m);else if(v&2&&I.class!==S.class&&i(w,"class",null,S.class,m),v&4&&i(w,"style",I.style,S.style,m),v&8){const G=u.dynamicProps;for(let Z=0;Z{B&&we(B,h,u,f),M&&Re(u,f,h,"updated")},_)},$=(f,u,h,_,m,x,A)=>{for(let w=0;w{if(h!==_){if(h!==ee)for(const w in h)!At(w)&&!(w in _)&&i(f,w,h[w],null,A,u.children,m,x,Le);for(const w in _){if(At(w))continue;const v=_[w],y=h[w];v!==y&&w!=="value"&&i(f,w,y,v,A,u.children,m,x,Le)}"value"in _&&i(f,"value",h.value,_.value)}},F=(f,u,h,_,m,x,A,w,v)=>{const y=u.el=f?f.el:l(""),M=u.anchor=f?f.anchor:l("");let{patchFlag:I,dynamicChildren:S,slotScopeIds:B}=u;B&&(w=w?w.concat(B):B),f==null?(s(y,h,_),s(M,h,_),E(u.children,h,M,m,x,A,w,v)):I>0&&I&64&&S&&f.dynamicChildren?($(f.dynamicChildren,S,h,m,x,A,w),(u.key!=null||m&&u===m.subTree)&&_s(f,u,!0)):Q(f,u,h,M,m,x,A,w,v)},V=(f,u,h,_,m,x,A,w,v)=>{u.slotScopeIds=w,f==null?u.shapeFlag&512?m.ctx.activate(u,h,_,A,v):R(u,h,_,m,x,A,v):ge(f,u,v)},R=(f,u,h,_,m,x,A)=>{const w=f.component=Fl(f,_,m);if(wn(f)&&(w.ctx.renderer=ot),Il(w),w.asyncDep){if(m&&m.registerDep(w,X),!f.el){const v=w.subTree=ce(be);b(null,v,u,h)}return}X(w,f,u,h,m,x,A)},ge=(f,u,h)=>{const _=u.component=f.component;if($o(f,u,h))if(_.asyncDep&&!_.asyncResolved){ne(_,u,h);return}else _.next=u,Io(_.update),_.update();else u.el=f.el,_.vnode=u},X=(f,u,h,_,m,x,A)=>{const w=()=>{if(f.isMounted){let{next:M,bu:I,u:S,parent:B,vnode:z}=f,G=M,Z;Je(f,!1),M?(M.el=z.el,ne(f,M,A)):M=z,I&&Qt(I),(Z=M.props&&M.props.onVnodeBeforeUpdate)&&we(Z,B,M,z),Je(f,!0);const re=On(f),Ee=f.subTree;f.subTree=re,O(Ee,re,p(Ee.el),jt(Ee),f,m,x),M.el=re.el,G===null&&Uo(f,re.el),S&&de(S,m),(Z=M.props&&M.props.onVnodeUpdated)&&de(()=>we(Z,B,M,z),m)}else{let M;const{el:I,props:S}=u,{bm:B,m:z,parent:G}=f,Z=pt(u);if(Je(f,!1),B&&Qt(B),!Z&&(M=S&&S.onVnodeBeforeMount)&&we(M,G,u),Je(f,!0),I&&Pn){const re=()=>{f.subTree=On(f),Pn(I,f.subTree,f,m,null)};Z?u.type.__asyncLoader().then(()=>!f.isUnmounted&&re()):re()}else{const re=f.subTree=On(f);O(null,re,h,_,f,m,x),u.el=re.el}if(z&&de(z,m),!Z&&(M=S&&S.onVnodeMounted)){const re=u;de(()=>we(M,G,re),m)}(u.shapeFlag&256||G&&pt(G.vnode)&&G.vnode.shapeFlag&256)&&f.a&&de(f.a,m),f.isMounted=!0,u=h=_=null}},v=f.effect=new os(w,()=>hs(y),f.scope),y=f.update=()=>v.run();y.id=f.uid,Je(f,!0),y()},ne=(f,u,h)=>{u.component=f;const _=f.vnode.props;f.vnode=u,f.next=null,dl(f,u.props,_,h),gl(f,u.children,h),yt(),Ss(),wt()},Q=(f,u,h,_,m,x,A,w,v=!1)=>{const y=f&&f.children,M=f?f.shapeFlag:0,I=u.children,{patchFlag:S,shapeFlag:B}=u;if(S>0){if(S&128){Bt(y,I,h,_,m,x,A,w,v);return}else if(S&256){ze(y,I,h,_,m,x,A,w,v);return}}B&8?(M&16&&Le(y,m,x),I!==y&&d(h,I)):M&16?B&16?Bt(y,I,h,_,m,x,A,w,v):Le(y,m,x,!0):(M&8&&d(h,""),B&16&&E(I,h,_,m,x,A,w,v))},ze=(f,u,h,_,m,x,A,w,v)=>{f=f||at,u=u||at;const y=f.length,M=u.length,I=Math.min(y,M);let S;for(S=0;SM?Le(f,m,x,!0,!1,I):E(u,h,_,m,x,A,w,v,I)},Bt=(f,u,h,_,m,x,A,w,v)=>{let y=0;const M=u.length;let I=f.length-1,S=M-1;for(;y<=I&&y<=S;){const B=f[y],z=u[y]=v?Ke(u[y]):Te(u[y]);if(Ge(B,z))O(B,z,h,null,m,x,A,w,v);else break;y++}for(;y<=I&&y<=S;){const B=f[I],z=u[S]=v?Ke(u[S]):Te(u[S]);if(Ge(B,z))O(B,z,h,null,m,x,A,w,v);else break;I--,S--}if(y>I){if(y<=S){const B=S+1,z=BS)for(;y<=I;)Fe(f[y],m,x,!0),y++;else{const B=y,z=y,G=new Map;for(y=z;y<=S;y++){const me=u[y]=v?Ke(u[y]):Te(u[y]);me.key!=null&&G.set(me.key,y)}let Z,re=0;const Ee=S-z+1;let lt=!1,xs=0;const Ct=new Array(Ee);for(y=0;y=Ee){Fe(me,m,x,!0);continue}let Ie;if(me.key!=null)Ie=G.get(me.key);else for(Z=z;Z<=S;Z++)if(Ct[Z-z]===0&&Ge(me,u[Z])){Ie=Z;break}Ie===void 0?Fe(me,m,x,!0):(Ct[Ie-z]=y+1,Ie>=xs?xs=Ie:lt=!0,O(me,u[Ie],h,null,m,x,A,w,v),re++)}const Es=lt?yl(Ct):at;for(Z=Es.length-1,y=Ee-1;y>=0;y--){const me=z+y,Ie=u[me],vs=me+1{const{el:x,type:A,transition:w,children:v,shapeFlag:y}=f;if(y&6){Ye(f.component.subTree,u,h,_);return}if(y&128){f.suspense.move(u,h,_);return}if(y&64){A.move(f,u,h,ot);return}if(A===he){s(x,u,h);for(let I=0;Iw.enter(x),m);else{const{leave:I,delayLeave:S,afterLeave:B}=w,z=()=>s(x,u,h),G=()=>{I(x,()=>{z(),B&&B()})};S?S(x,z,G):G()}else s(x,u,h)},Fe=(f,u,h,_=!1,m=!1)=>{const{type:x,props:A,ref:w,children:v,dynamicChildren:y,shapeFlag:M,patchFlag:I,dirs:S}=f;if(w!=null&&fn(w,null,h,f,!0),M&256){u.ctx.deactivate(f);return}const B=M&1&&S,z=!pt(f);let G;if(z&&(G=A&&A.onVnodeBeforeUnmount)&&we(G,u,f),M&6)Ri(f.component,h,_);else{if(M&128){f.suspense.unmount(h,_);return}B&&Re(f,null,u,"beforeUnmount"),M&64?f.type.remove(f,u,h,m,ot,_):y&&(x!==he||I>0&&I&64)?Le(y,u,h,!1,!0):(x===he&&I&384||!m&&M&16)&&Le(v,u,h),_&&ws(f)}(z&&(G=A&&A.onVnodeUnmounted)||B)&&de(()=>{G&&we(G,u,f),B&&Re(f,null,u,"unmounted")},h)},ws=f=>{const{type:u,el:h,anchor:_,transition:m}=f;if(u===he){Ii(h,_);return}if(u===It){P(f);return}const x=()=>{r(h),m&&!m.persisted&&m.afterLeave&&m.afterLeave()};if(f.shapeFlag&1&&m&&!m.persisted){const{leave:A,delayLeave:w}=m,v=()=>A(h,x);w?w(f.el,x,v):v()}else x()},Ii=(f,u)=>{let h;for(;f!==u;)h=g(f),r(f),f=h;r(u)},Ri=(f,u,h)=>{const{bum:_,scope:m,update:x,subTree:A,um:w}=f;_&&Qt(_),m.stop(),x&&(x.active=!1,Fe(A,f,u,h)),w&&de(w,u),de(()=>{f.isUnmounted=!0},u),u&&u.pendingBranch&&!u.isUnmounted&&f.asyncDep&&!f.asyncResolved&&f.suspenseId===u.pendingId&&(u.deps--,u.deps===0&&u.resolve())},Le=(f,u,h,_=!1,m=!1,x=0)=>{for(let A=x;Af.shapeFlag&6?jt(f.component.subTree):f.shapeFlag&128?f.suspense.next():g(f.anchor||f.el),Cs=(f,u,h)=>{f==null?u._vnode&&Fe(u._vnode,null,null,!0):O(u._vnode||null,f,u,null,null,null,h),Ss(),rn(),u._vnode=f},ot={p:O,um:Fe,m:Ye,r:ws,mt:R,mc:E,pc:Q,pbc:$,n:jt,o:e};let An,Pn;return t&&([An,Pn]=t(ot)),{render:Cs,hydrate:An,createApp:fl(Cs,An)}}function Je({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function _s(e,t,n=!1){const s=e.children,r=t.children;if(L(s)&&L(r))for(let i=0;i>1,e[n[l]]0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}const wl=e=>e.__isTeleport,Ft=e=>e&&(e.disabled||e.disabled===""),Vs=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Jn=(e,t)=>{const n=e&&e.to;return se(n)?t?t(n):null:n},Cl={__isTeleport:!0,process(e,t,n,s,r,i,o,l,c,a){const{mc:d,pc:p,pbc:g,o:{insert:T,querySelector:N,createText:O,createComment:k}}=a,b=Ft(t.props);let{shapeFlag:C,children:H,dynamicChildren:P}=t;if(e==null){const j=t.el=O(""),q=t.anchor=O("");T(j,n,s),T(q,n,s);const D=t.target=Jn(t.props,N),E=t.targetAnchor=O("");D&&(T(E,D),o=o||Vs(D));const U=($,W)=>{C&16&&d(H,$,W,r,i,o,l,c)};b?U(n,q):D&&U(D,E)}else{t.el=e.el;const j=t.anchor=e.anchor,q=t.target=e.target,D=t.targetAnchor=e.targetAnchor,E=Ft(e.props),U=E?n:q,$=E?j:D;if(o=o||Vs(q),P?(g(e.dynamicChildren,P,U,r,i,o,l),_s(e,t,!0)):c||p(e,t,U,$,r,i,o,l,!1),b)E||Jt(t,n,j,a,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const W=t.target=Jn(t.props,N);W&&Jt(t,W,null,a,0)}else E&&Jt(t,q,D,a,1)}ai(t)},remove(e,t,n,s,{um:r,o:{remove:i}},o){const{shapeFlag:l,children:c,anchor:a,targetAnchor:d,target:p,props:g}=e;if(p&&i(d),(o||!Ft(g))&&(i(a),l&16))for(let T=0;T0?Pe||at:null,El(),Ht>0&&Pe&&Pe.push(e),e}function Jc(e,t,n,s,r,i){return di(gi(e,t,n,s,r,i,!0))}function hi(e,t,n,s,r){return di(ce(e,t,n,s,r,!0))}function an(e){return e?e.__v_isVNode===!0:!1}function Ge(e,t){return e.type===t.type&&e.key===t.key}const vn="__vInternal",pi=({key:e})=>e??null,en=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?se(e)||ae(e)||K(e)?{i:le,r:e,k:t,f:!!n}:e:null);function gi(e,t=null,n=null,s=0,r=null,i=e===he?0:1,o=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&pi(t),ref:t&&en(t),scopeId:bn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:le};return l?(bs(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=se(n)?8:16),Ht>0&&!o&&Pe&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&Pe.push(c),c}const ce=vl;function vl(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===ei)&&(e=be),an(e)){const l=qe(e,t,!0);return n&&bs(l,n),Ht>0&&!i&&Pe&&(l.shapeFlag&6?Pe[Pe.indexOf(e)]=l:Pe.push(l)),l.patchFlag|=-2,l}if(Ll(e)&&(e=e.__vccOpts),t){t=Tl(t);let{class:l,style:c}=t;l&&!se(l)&&(t.class=rs(l)),te(c)&&(Nr(c)&&!L(c)&&(c=ie({},c)),t.style=ss(c))}const o=se(e)?1:Bo(e)?128:wl(e)?64:te(e)?4:K(e)?2:0;return gi(e,t,n,s,r,o,i,!0)}function Tl(e){return e?Nr(e)||vn in e?ie({},e):e:null}function qe(e,t,n=!1){const{props:s,ref:r,patchFlag:i,children:o}=e,l=t?Al(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&pi(l),ref:t&&t.ref?n&&r?L(r)?r.concat(en(t)):[r,en(t)]:en(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==he?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&qe(e.ssContent),ssFallback:e.ssFallback&&qe(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function mi(e=" ",t=0){return ce(_t,null,e,t)}function Xc(e,t){const n=ce(It,null,e);return n.staticCount=t,n}function Zc(e="",t=!1){return t?(ui(),hi(be,null,e)):ce(be,null,e)}function Te(e){return e==null||typeof e=="boolean"?ce(be):L(e)?ce(he,null,e.slice()):typeof e=="object"?Ke(e):ce(_t,null,String(e))}function Ke(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:qe(e)}function bs(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(L(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),bs(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(vn in t)?t._ctx=le:r===3&&le&&(le.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else K(t)?(t={default:t,_ctx:le},n=32):(t=String(t),s&64?(n=16,t=[mi(t)]):n=8);e.children=t,e.shapeFlag|=n}function Al(...e){const t={};for(let n=0;noe||le;let ys,ct,zs="__VUE_INSTANCE_SETTERS__";(ct=$n()[zs])||(ct=$n()[zs]=[]),ct.push(e=>oe=e),ys=e=>{ct.length>1?ct.forEach(t=>t(e)):ct[0](e)};const bt=e=>{ys(e),e.scope.on()},rt=()=>{oe&&oe.scope.off(),ys(null)};function bi(e){return e.vnode.shapeFlag&4}let $t=!1;function Il(e,t=!1){$t=t;const{props:n,children:s}=e.vnode,r=bi(e);ul(e,n,r,t),pl(e,s);const i=r?Rl(e,t):void 0;return $t=!1,i}function Rl(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Pt(new Proxy(e.ctx,tl));const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?wi(e):null;bt(e),yt();const i=We(s,e,0,[e.props,r]);if(wt(),rt(),yr(i)){if(i.then(rt,rt),t)return i.then(o=>{Ys(e,o,t)}).catch(o=>{mn(o,e,0)});e.asyncDep=i}else Ys(e,i,t)}else yi(e,t)}function Ys(e,t,n){K(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:te(t)&&(e.setupState=jr(t)),yi(e,n)}let Js;function yi(e,t,n){const s=e.type;if(!e.render){if(!t&&Js&&!s.render){const r=s.template||gs(e).template;if(r){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:l,compilerOptions:c}=s,a=ie(ie({isCustomElement:i,delimiters:l},o),c);s.render=Js(r,a)}}e.render=s.render||Oe}bt(e),yt(),sl(e),wt(),rt()}function Ml(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return pe(e,"get","$attrs"),t[n]}}))}function wi(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return Ml(e)},slots:e.slots,emit:e.emit,expose:t}}function Tn(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(jr(Pt(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Ot)return Ot[n](e)},has(t,n){return n in t||n in Ot}}))}function Sl(e,t=!0){return K(e)?e.displayName||e.name:e.name||t&&e.__name}function Ll(e){return K(e)&&"__vccOpts"in e}const ve=(e,t)=>Po(e,t,$t);function Xn(e,t,n){const s=arguments.length;return s===2?te(t)&&!L(t)?an(t)?ce(e,null,[t]):ce(e,t):ce(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&an(n)&&(n=[n]),ce(e,t,n))}const Nl=Symbol.for("v-scx"),Hl=()=>gt(Nl),$l="3.3.4",Ul="http://www.w3.org/2000/svg",et=typeof document<"u"?document:null,Xs=et&&et.createElement("template"),Bl={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t?et.createElementNS(Ul,e):et.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>et.createTextNode(e),createComment:e=>et.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>et.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,i){const o=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{Xs.innerHTML=s?`${e}`:e;const l=Xs.content;if(s){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function jl(e,t,n){const s=e._vtc;s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function Dl(e,t,n){const s=e.style,r=se(n);if(n&&!r){if(t&&!se(t))for(const i in t)n[i]==null&&Zn(s,i,"");for(const i in n)Zn(s,i,n[i])}else{const i=s.display;r?t!==n&&(s.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(s.display=i)}}const Zs=/\s*!important$/;function Zn(e,t,n){if(L(n))n.forEach(s=>Zn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Kl(e,t);Zs.test(n)?e.setProperty(it(s),n.replace(Zs,""),"important"):e[s]=n}}const Qs=["Webkit","Moz","ms"],Rn={};function Kl(e,t){const n=Rn[t];if(n)return n;let s=Se(t);if(s!=="filter"&&s in e)return Rn[t]=s;s=hn(s);for(let r=0;rMn||(Yl.then(()=>Mn=0),Mn=Date.now());function Xl(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;xe(Zl(s,n.value),t,5,[s])};return n.value=e,n.attached=Jl(),n}function Zl(e,t){if(L(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const tr=/^on[a-z]/,Ql=(e,t,n,s,r=!1,i,o,l,c)=>{t==="class"?jl(e,s,r):t==="style"?Dl(e,n,s):Ut(t)?Gn(t)||ql(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Gl(e,t,s,r))?Wl(e,t,s,i,o,l,c):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),kl(e,t,s,r))};function Gl(e,t,n,s){return s?!!(t==="innerHTML"||t==="textContent"||t in e&&tr.test(t)&&K(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||tr.test(t)&&se(n)?!1:t in e}const je="transition",xt="animation",Ci=(e,{slots:t})=>Xn(Wo,ec(e),t);Ci.displayName="Transition";const xi={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};Ci.props=ie({},Yr,xi);const Xe=(e,t=[])=>{L(e)?e.forEach(n=>n(...t)):e&&e(...t)},nr=e=>e?L(e)?e.some(t=>t.length>1):e.length>1:!1;function ec(e){const t={};for(const F in e)F in xi||(t[F]=e[F]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:a=o,appearToClass:d=l,leaveFromClass:p=`${n}-leave-from`,leaveActiveClass:g=`${n}-leave-active`,leaveToClass:T=`${n}-leave-to`}=e,N=tc(r),O=N&&N[0],k=N&&N[1],{onBeforeEnter:b,onEnter:C,onEnterCancelled:H,onLeave:P,onLeaveCancelled:j,onBeforeAppear:q=b,onAppear:D=C,onAppearCancelled:E=H}=t,U=(F,V,R)=>{Ze(F,V?d:l),Ze(F,V?a:o),R&&R()},$=(F,V)=>{F._isLeaving=!1,Ze(F,p),Ze(F,T),Ze(F,g),V&&V()},W=F=>(V,R)=>{const ge=F?D:C,X=()=>U(V,F,R);Xe(ge,[V,X]),sr(()=>{Ze(V,F?c:i),De(V,F?d:l),nr(ge)||rr(V,s,O,X)})};return ie(t,{onBeforeEnter(F){Xe(b,[F]),De(F,i),De(F,o)},onBeforeAppear(F){Xe(q,[F]),De(F,c),De(F,a)},onEnter:W(!1),onAppear:W(!0),onLeave(F,V){F._isLeaving=!0;const R=()=>$(F,V);De(F,p),rc(),De(F,g),sr(()=>{F._isLeaving&&(Ze(F,p),De(F,T),nr(P)||rr(F,s,k,R))}),Xe(P,[F,R])},onEnterCancelled(F){U(F,!1),Xe(H,[F])},onAppearCancelled(F){U(F,!0),Xe(E,[F])},onLeaveCancelled(F){$(F),Xe(j,[F])}})}function tc(e){if(e==null)return null;if(te(e))return[Sn(e.enter),Sn(e.leave)];{const t=Sn(e);return[t,t]}}function Sn(e){return Ui(e)}function De(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function Ze(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function sr(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let nc=0;function rr(e,t,n,s){const r=e._endId=++nc,i=()=>{r===e._endId&&s()};if(n)return setTimeout(i,n);const{type:o,timeout:l,propCount:c}=sc(e,t);if(!o)return s();const a=o+"end";let d=0;const p=()=>{e.removeEventListener(a,g),i()},g=T=>{T.target===e&&++d>=c&&p()};setTimeout(()=>{d(n[N]||"").split(", "),r=s(`${je}Delay`),i=s(`${je}Duration`),o=ir(r,i),l=s(`${xt}Delay`),c=s(`${xt}Duration`),a=ir(l,c);let d=null,p=0,g=0;t===je?o>0&&(d=je,p=o,g=i.length):t===xt?a>0&&(d=xt,p=a,g=c.length):(p=Math.max(o,a),d=p>0?o>a?je:xt:null,g=d?d===je?i.length:c.length:0);const T=d===je&&/\b(transform|all)(,|$)/.test(s(`${je}Property`).toString());return{type:d,timeout:p,propCount:g,hasTransform:T}}function ir(e,t){for(;e.lengthor(n)+or(e[s])))}function or(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function rc(){return document.body.offsetHeight}const lr=e=>{const t=e.props["onUpdate:modelValue"]||!1;return L(t)?n=>Qt(t,n):t};function ic(e){e.target.composing=!0}function cr(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Qc={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e._assign=lr(r);const i=s||r.props&&r.props.type==="number";ft(e,t?"change":"input",o=>{if(o.target.composing)return;let l=e.value;n&&(l=l.trim()),i&&(l=Hn(l)),e._assign(l)}),n&&ft(e,"change",()=>{e.value=e.value.trim()}),t||(ft(e,"compositionstart",ic),ft(e,"compositionend",cr),ft(e,"change",cr))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:s,number:r}},i){if(e._assign=lr(i),e.composing||document.activeElement===e&&e.type!=="range"&&(n||s&&e.value.trim()===t||(r||e.type==="number")&&Hn(e.value)===t))return;const o=t??"";e.value!==o&&(e.value=o)}},oc=["ctrl","shift","alt","meta"],lc={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>oc.some(n=>e[`${n}Key`]&&!t.includes(n))},Gc=(e,t)=>(n,...s)=>{for(let r=0;rn=>{if(!("key"in n))return;const s=it(n.key);if(t.some(r=>r===s||cc[r]===s))return e(n)},tf={beforeMount(e,{value:t},{transition:n}){e._vod=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Et(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),Et(e,!0),s.enter(e)):s.leave(e,()=>{Et(e,!1)}):Et(e,t))},beforeUnmount(e,{value:t}){Et(e,t)}};function Et(e,t){e.style.display=t?e._vod:"none"}const fc=ie({patchProp:Ql},Bl);let Ln,fr=!1;function ac(){return Ln=fr?Ln:_l(fc),fr=!0,Ln}const nf=(...e)=>{const t=ac().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=uc(s);if(r)return n(r,!0,r instanceof SVGElement)},t};function uc(e){return se(e)?document.querySelector(e):e}const sf=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},dc=window.__VP_SITE_DATA__,Ei=/^[a-z]+:/i,rf=/^pathname:\/\//,of="vitepress-theme-appearance",vi=/#.*$/,hc=/(index)?\.(md|html)$/,Ce=typeof document<"u",Ti={relativePath:"",filePath:"",title:"404",description:"Not Found",headers:[],frontmatter:{sidebar:!1,layout:"page"},lastUpdated:0,isNotFound:!0};function pc(e,t,n=!1){if(t===void 0)return!1;if(e=ar(`/${e}`),n)return new RegExp(t).test(e);if(ar(t)!==e)return!1;const s=t.match(vi);return s?(Ce?location.hash:"")===s[0]:!0}function ar(e){return decodeURI(e).replace(vi,"").replace(hc,"")}function gc(e){return Ei.test(e)}function mc(e,t){var s,r,i,o,l,c,a;const n=Object.keys(e.locales).find(d=>d!=="root"&&!gc(d)&&pc(t,`/${d}/`,!0))||"root";return Object.assign({},e,{localeIndex:n,lang:((s=e.locales[n])==null?void 0:s.lang)??e.lang,dir:((r=e.locales[n])==null?void 0:r.dir)??e.dir,title:((i=e.locales[n])==null?void 0:i.title)??e.title,titleTemplate:((o=e.locales[n])==null?void 0:o.titleTemplate)??e.titleTemplate,description:((l=e.locales[n])==null?void 0:l.description)??e.description,head:Pi(e.head,((c=e.locales[n])==null?void 0:c.head)??[]),themeConfig:{...e.themeConfig,...(a=e.locales[n])==null?void 0:a.themeConfig}})}function Ai(e,t){const n=t.title||e.title,s=t.titleTemplate??e.titleTemplate;if(typeof s=="string"&&s.includes(":title"))return s.replace(/:title/g,n);const r=_c(e.title,s);return`${n}${r}`}function _c(e,t){return t===!1?"":t===!0||t===void 0?` | ${e}`:e===t?"":` | ${t}`}function bc(e,t){const[n,s]=t;if(n!=="meta")return!1;const r=Object.entries(s)[0];return r==null?!1:e.some(([i,o])=>i===n&&o[r[0]]===r[1])}function Pi(e,t){return[...e.filter(n=>!bc(t,n)),...t]}const yc=/[\u0000-\u001F"#$&*+,:;<=>?[\]^`{|}\u007F]/g,wc=/^[a-z]:/i;function ur(e){const t=wc.exec(e),n=t?t[0]:"";return n+e.slice(n.length).replace(yc,"_").replace(/(^|\/)_+(?=[^/]*$)/,"$1")}const Cc=Symbol(),nt=xo(dc);function lf(e){const t=ve(()=>mc(nt.value,e.data.relativePath));return{site:t,theme:ve(()=>t.value.themeConfig),page:ve(()=>e.data),frontmatter:ve(()=>e.data.frontmatter),params:ve(()=>e.data.params),lang:ve(()=>t.value.lang),dir:ve(()=>t.value.dir),localeIndex:ve(()=>t.value.localeIndex||"root"),title:ve(()=>Ai(t.value,e.data)),description:ve(()=>e.data.description||t.value.description),isDark:Ur(!1)}}function cf(){const e=gt(Cc);if(!e)throw new Error("vitepress data not properly injected in app");return e}function xc(e,t){return`${e}${t}`.replace(/\/+/g,"/")}function dr(e){return Ei.test(e)||e.startsWith(".")?e:xc(nt.value.base,e)}function Ec(e){let t=e.replace(/\.html$/,"");if(t=decodeURIComponent(t),t=t.replace(/\/$/,"/index"),Ce){const n="/";t=ur(t.slice(n.length).replace(/\//g,"_")||"index")+".md";let s=__VP_HASH_MAP__[t.toLowerCase()];s||(t=t.endsWith("_index.md")?t.slice(0,-9)+".md":t.slice(0,-3)+"_index.md",s=__VP_HASH_MAP__[t.toLowerCase()]),t=`${n}assets/${t}.${s}.js`}else t=`./${ur(t.slice(1).replace(/\//g,"_"))}.md.js`;return t}let tn=[];function ff(e){tn.push(e),En(()=>{tn=tn.filter(t=>t!==e)})}const vc=Symbol(),hr="http://a.com",Tc=()=>({path:"/",component:null,data:Ti});function af(e,t){const n=gn(Tc()),s={route:n,go:r};async function r(l=Ce?location.href:"/"){var a,d;await((a=s.onBeforeRouteChange)==null?void 0:a.call(s,l));const c=new URL(l,hr);nt.value.cleanUrls||!c.pathname.endsWith("/")&&!c.pathname.endsWith(".html")&&(c.pathname+=".html",l=c.pathname+c.search+c.hash),Ce&&l!==location.href&&(history.replaceState({scrollPosition:window.scrollY},document.title),history.pushState(null,"",l)),await o(l),await((d=s.onAfterRouteChanged)==null?void 0:d.call(s,l))}let i=null;async function o(l,c=0,a=!1){const d=new URL(l,hr),p=i=d.pathname;try{let g=await e(p);if(i===p){i=null;const{default:T,__pageData:N}=g;if(!T)throw new Error(`Invalid route component: ${T}`);n.path=Ce?p:dr(p),n.component=Pt(T),n.data=Pt(N),Ce&&Kr(()=>{let O=nt.value.base+N.relativePath.replace(/(?:(^|\/)index)?\.md$/,"$1");if(!nt.value.cleanUrls&&!O.endsWith("/")&&(O+=".html"),O!==d.pathname&&(d.pathname=O,l=O+d.search+d.hash,history.replaceState(null,"",l)),d.hash&&!c){let k=null;try{k=document.querySelector(decodeURIComponent(d.hash))}catch(b){console.warn(b)}if(k){pr(k,d.hash);return}}window.scrollTo(0,c)})}}catch(g){if(!/fetch/.test(g.message)&&!/^\/404(\.html|\/)?$/.test(l)&&console.error(g),!a)try{const T=await fetch(nt.value.base+"hashmap.json");window.__VP_HASH_MAP__=await T.json(),await o(l,c,!0);return}catch{}i===p&&(i=null,n.path=Ce?p:dr(p),n.component=t?Pt(t):null,n.data=Ti)}}return Ce&&(window.addEventListener("click",l=>{if(l.target.closest("button"))return;const a=l.target.closest("a");if(a&&!a.closest(".vp-raw")&&(a instanceof SVGElement||!a.download)){const{target:d}=a,{href:p,origin:g,pathname:T,hash:N,search:O}=new URL(a.href instanceof SVGAnimatedString?a.href.animVal:a.href,a.baseURI),k=window.location,b=T.match(/\.\w+$/);!l.ctrlKey&&!l.shiftKey&&!l.altKey&&!l.metaKey&&d!=="_blank"&&g===k.origin&&!(b&&b[0]!==".html")&&(l.preventDefault(),T===k.pathname&&O===k.search?N&&(N!==k.hash&&(history.pushState(null,"",N),window.dispatchEvent(new Event("hashchange"))),pr(a,N,a.classList.contains("header-anchor"))):r(p))}},{capture:!0}),window.addEventListener("popstate",l=>{o(location.href,l.state&&l.state.scrollPosition||0)}),window.addEventListener("hashchange",l=>{l.preventDefault()})),s}function Ac(){const e=gt(vc);if(!e)throw new Error("useRouter() is called without provider.");return e}function Oi(){return Ac().route}function pr(e,t,n=!1){let s=null;try{s=e.classList.contains("header-anchor")?e:document.querySelector(decodeURIComponent(t))}catch(r){console.warn(r)}if(s){const r=nt.value.scrollOffset;let i=0;if(typeof r=="number")i=r;else if(typeof r=="string")i=gr(r);else if(Array.isArray(r))for(const c of r){const a=gr(c);if(a){i=a;break}}const o=parseInt(window.getComputedStyle(s).paddingTop,10),l=window.scrollY+s.getBoundingClientRect().top-i+o;!n||Math.abs(l-window.scrollY)>window.innerHeight?window.scrollTo(0,l):window.scrollTo({left:0,top:l,behavior:"smooth"})}}function gr(e){const t=document.querySelector(e);if(!t)return 0;const n=t.getBoundingClientRect().bottom;return n<0?0:n+24}const mr=()=>tn.forEach(e=>e()),uf=Zr({name:"VitePressContent",props:{as:{type:[Object,String],default:"div"}},setup(e){const t=Oi();return()=>Xn(e.as,{style:{position:"relative"}},[t.component?Xn(t.component,{onVnodeMounted:mr,onVnodeUpdated:mr}):"404 Page Not Found"])}}),Pc="modulepreload",Oc=function(e){return"/"+e},_r={},df=function(t,n,s){if(!n||n.length===0)return t();const r=document.getElementsByTagName("link");return Promise.all(n.map(i=>{if(i=Oc(i),i in _r)return;_r[i]=!0;const o=i.endsWith(".css"),l=o?'[rel="stylesheet"]':"";if(!!s)for(let d=r.length-1;d>=0;d--){const p=r[d];if(p.href===i&&(!o||p.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${l}`))return;const a=document.createElement("link");if(a.rel=o?"stylesheet":Pc,o||(a.as="script",a.crossOrigin=""),a.href=i,document.head.appendChild(a),o)return new Promise((d,p)=>{a.addEventListener("load",d),a.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${i}`)))})})).then(()=>t()).catch(i=>{const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=i,window.dispatchEvent(o),!o.defaultPrevented)throw i})};function hf(e,t){let n=[],s=!0;const r=i=>{if(s){s=!1;return}n.forEach(o=>document.head.removeChild(o)),n=[],i.forEach(o=>{const l=Fc(o);document.head.appendChild(l),n.push(l)})};jo(()=>{const i=e.data,o=t.value,l=i&&i.description,c=i&&i.frontmatter.head||[];document.title=Ai(o,i),document.querySelector("meta[name=description]").setAttribute("content",l||o.description),r(Pi(o.head,Rc(c)))})}function Fc([e,t,n]){const s=document.createElement(e);for(const r in t)s.setAttribute(r,t[r]);return n&&(s.innerHTML=n),s}function Ic(e){return e[0]==="meta"&&e[1]&&e[1].name==="description"}function Rc(e){return e.filter(t=>!Ic(t))}const Nn=new Set,Fi=()=>document.createElement("link"),Mc=e=>{const t=Fi();t.rel="prefetch",t.href=e,document.head.appendChild(t)},Sc=e=>{const t=new XMLHttpRequest;t.open("GET",e,t.withCredentials=!0),t.send()};let Xt;const Lc=Ce&&(Xt=Fi())&&Xt.relList&&Xt.relList.supports&&Xt.relList.supports("prefetch")?Mc:Sc;function pf(){if(!Ce||!window.IntersectionObserver)return;let e;if((e=navigator.connection)&&(e.saveData||/2g/.test(e.effectiveType)))return;const t=window.requestIdleCallback||setTimeout;let n=null;const s=()=>{n&&n.disconnect(),n=new IntersectionObserver(i=>{i.forEach(o=>{if(o.isIntersecting){const l=o.target;n.unobserve(l);const{pathname:c}=l;if(!Nn.has(c)){Nn.add(c);const a=Ec(c);Lc(a)}}})}),t(()=>{document.querySelectorAll("#app a").forEach(i=>{const{target:o}=i,{hostname:l,pathname:c}=new URL(i.href instanceof SVGAnimatedString?i.href.animVal:i.href,i.baseURI),a=c.match(/\.\w+$/);a&&a[0]!==".html"||o!=="_blank"&&l===location.hostname&&(c!==location.pathname?n.observe(i):Nn.add(c))})})};xn(s);const r=Oi();Gt(()=>r.path,s),En(()=>{n&&n.disconnect()})}const gf=Zr({setup(e,{slots:t}){const n=Ur(!1);return xn(()=>{n.value=!0}),()=>n.value&&t.default?t.default():null}});function mf(){if(Ce){const e=new Map;window.addEventListener("click",t=>{var s;const n=t.target;if(n.matches('div[class*="language-"] > button.copy')){const r=n.parentElement,i=(s=n.nextElementSibling)==null?void 0:s.nextElementSibling;if(!r||!i)return;const o=/language-(shellscript|shell|bash|sh|zsh)/.test(r.className);let l="";i.querySelectorAll("span.line:not(.diff.remove)").forEach(c=>l+=(c.textContent||"")+` +`),l=l.slice(0,-1),o&&(l=l.replace(/^ *(\$|>) /gm,"").trim()),Nc(l).then(()=>{n.classList.add("copied"),clearTimeout(e.get(n));const c=setTimeout(()=>{n.classList.remove("copied"),n.blur(),e.delete(n)},2e3);e.set(n,c)})}})}}async function Nc(e){try{return navigator.clipboard.writeText(e)}catch{const t=document.createElement("textarea"),n=document.activeElement;t.value=e,t.setAttribute("readonly",""),t.style.contain="strict",t.style.position="absolute",t.style.left="-9999px",t.style.fontSize="12pt";const s=document.getSelection(),r=s?s.rangeCount>0&&s.getRangeAt(0):null;document.body.appendChild(t),t.select(),t.selectionStart=0,t.selectionEnd=e.length,document.execCommand("copy"),document.body.removeChild(t),r&&(s.removeAllRanges(),s.addRange(r)),n&&n.focus()}}function _f(){Ce&&window.addEventListener("click",e=>{var n,s;const t=e.target;if(t.matches(".vp-code-group input")){const r=(n=t.parentElement)==null?void 0:n.parentElement,i=Array.from((r==null?void 0:r.querySelectorAll("input"))||[]).indexOf(t),o=r==null?void 0:r.querySelector('div[class*="language-"].active'),l=(s=r==null?void 0:r.querySelectorAll('div[class*="language-"]:not(.language-id)'))==null?void 0:s[i];o&&l&&o!==l&&(o.classList.remove("active"),l.classList.add("active"))}})}export{ss as $,Kc as A,Al as B,ce as C,df as D,Yc as E,he as F,Dc as G,Gc as H,Qc as I,Wc as J,tf as K,kc as L,Ei as M,Ce as N,Lr as O,rf as P,Uc as Q,Bc as R,Xc as S,Ci as T,of as U,gt as V,al as W,Xo as X,ff as Y,xo as Z,sf as _,mi as a,Kr as a0,qc as a1,ef as a2,jc as a3,zc as a4,hf as a5,vc as a6,lf as a7,Cc as a8,uf as a9,gf as aa,nt as ab,nf as ac,af as ad,Ec as ae,pf as af,mf as ag,_f as ah,Xn as ai,vo as b,Jc as c,Zr as d,$c as e,Ur as f,zi as g,jo as h,ve as i,_i as j,xn as k,gc as l,dr as m,rs as n,ui as o,pc as p,Oi as q,Vc as r,En as s,Hc as t,cf as u,gi as v,Gt as w,hi as x,Lo as y,Zc as z}; diff --git a/assets/chunks/framework.7384f92b.js b/assets/chunks/framework.7384f92b.js deleted file mode 100644 index 3c2181f..0000000 --- a/assets/chunks/framework.7384f92b.js +++ /dev/null @@ -1,2 +0,0 @@ -function Qn(e,t){const n=Object.create(null),s=e.split(",");for(let r=0;r!!n[r.toLowerCase()]:r=>!!n[r]}const te={},at=[],Pe=()=>{},Mi=()=>!1,Si=/^on[^a-z]/,Ut=e=>Si.test(e),Gn=e=>e.startsWith("onUpdate:"),ie=Object.assign,es=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Li=Object.prototype.hasOwnProperty,Y=(e,t)=>Li.call(e,t),L=Array.isArray,ut=e=>dn(e)==="[object Map]",vr=e=>dn(e)==="[object Set]",K=e=>typeof e=="function",se=e=>typeof e=="string",ts=e=>typeof e=="symbol",ee=e=>e!==null&&typeof e=="object",Cr=e=>ee(e)&&K(e.then)&&K(e.catch),xr=Object.prototype.toString,dn=e=>xr.call(e),Ni=e=>dn(e).slice(8,-1),Er=e=>dn(e)==="[object Object]",ns=e=>se(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,At=Qn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),hn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Hi=/-(\w)/g,Se=hn(e=>e.replace(Hi,(t,n)=>n?n.toUpperCase():"")),$i=/\B([A-Z])/g,it=hn(e=>e.replace($i,"-$1").toLowerCase()),pn=hn(e=>e.charAt(0).toUpperCase()+e.slice(1)),Zt=hn(e=>e?`on${pn(e)}`:""),Mt=(e,t)=>!Object.is(e,t),Qt=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},$n=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Ui=e=>{const t=se(e)?Number(e):NaN;return isNaN(t)?e:t};let Ps;const Un=()=>Ps||(Ps=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function ss(e){if(L(e)){const t={};for(let n=0;n{if(n){const s=n.split(Bi);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function rs(e){let t="";if(se(e))t=e;else if(L(e))for(let n=0;nse(e)?e:e==null?"":L(e)||ee(e)&&(e.toString===xr||!K(e.toString))?JSON.stringify(e,Ar,2):String(e),Ar=(e,t)=>t&&t.__v_isRef?Ar(e,t.value):ut(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r])=>(n[`${s} =>`]=r,n),{})}:vr(t)?{[`Set(${t.size})`]:[...t.values()]}:ee(t)&&!L(t)&&!Er(t)?String(t):t;let _e;class Vi{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=_e,!t&&_e&&(this.index=(_e.scopes||(_e.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=_e;try{return _e=this,t()}finally{_e=n}}}on(){_e=this}off(){_e=this.parent}stop(t){if(this._active){let n,s;for(n=0,s=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},Rr=e=>(e.w&Ve)>0,Pr=e=>(e.n&Ve)>0,Yi=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s{(d==="length"||d>=c)&&l.push(a)})}else switch(n!==void 0&&l.push(o.get(n)),t){case"add":L(e)?ns(n)&&l.push(o.get("length")):(l.push(o.get(st)),ut(e)&&l.push(o.get(Bn)));break;case"delete":L(e)||(l.push(o.get(st)),ut(e)&&l.push(o.get(Bn)));break;case"set":ut(e)&&l.push(o.get(st));break}if(l.length===1)l[0]&&Dn(l[0]);else{const c=[];for(const a of l)a&&c.push(...a);Dn(is(c))}}function Dn(e,t){const n=L(e)?e:[...e];for(const s of n)s.computed&&Os(s);for(const s of n)s.computed||Os(s)}function Os(e,t){(e!==Ae||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function Xi(e,t){var n;return(n=sn.get(e))==null?void 0:n.get(t)}const Zi=Qn("__proto__,__v_isRef,__isVue"),Fr=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ts)),Qi=ls(),Gi=ls(!1,!0),eo=ls(!0),Fs=to();function to(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=J(this);for(let i=0,o=this.length;i{e[t]=function(...n){yt();const s=J(this)[t].apply(this,n);return wt(),s}}),e}function no(e){const t=J(this);return pe(t,"has",e),t.hasOwnProperty(e)}function ls(e=!1,t=!1){return function(s,r,i){if(r==="__v_isReactive")return!e;if(r==="__v_isReadonly")return e;if(r==="__v_isShallow")return t;if(r==="__v_raw"&&i===(e?t?yo:Hr:t?Nr:Lr).get(s))return s;const o=L(s);if(!e){if(o&&Y(Fs,r))return Reflect.get(Fs,r,i);if(r==="hasOwnProperty")return no}const l=Reflect.get(s,r,i);return(ts(r)?Fr.has(r):Zi(r))||(e||pe(s,"get",r),t)?l:le(l)?o&&ns(r)?l:l.value:ee(l)?e?$r(l):mn(l):l}}const so=Mr(),ro=Mr(!0);function Mr(e=!1){return function(n,s,r,i){let o=n[s];if(mt(o)&&le(o)&&!le(r))return!1;if(!e&&(!rn(r)&&!mt(r)&&(o=J(o),r=J(r)),!L(n)&&le(o)&&!le(r)))return o.value=r,!0;const l=L(n)&&ns(s)?Number(s)e,gn=e=>Reflect.getPrototypeOf(e);function Dt(e,t,n=!1,s=!1){e=e.__v_raw;const r=J(e),i=J(t);n||(t!==i&&pe(r,"get",t),pe(r,"get",i));const{has:o}=gn(r),l=s?cs:n?us:St;if(o.call(r,t))return l(e.get(t));if(o.call(r,i))return l(e.get(i));e!==r&&e.get(t)}function Kt(e,t=!1){const n=this.__v_raw,s=J(n),r=J(e);return t||(e!==r&&pe(s,"has",e),pe(s,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function kt(e,t=!1){return e=e.__v_raw,!t&&pe(J(e),"iterate",st),Reflect.get(e,"size",e)}function Ms(e){e=J(e);const t=J(this);return gn(t).has.call(t,e)||(t.add(e),He(t,"add",e,e)),this}function Ss(e,t){t=J(t);const n=J(this),{has:s,get:r}=gn(n);let i=s.call(n,e);i||(e=J(e),i=s.call(n,e));const o=r.call(n,e);return n.set(e,t),i?Mt(t,o)&&He(n,"set",e,t):He(n,"add",e,t),this}function Ls(e){const t=J(this),{has:n,get:s}=gn(t);let r=n.call(t,e);r||(e=J(e),r=n.call(t,e)),s&&s.call(t,e);const i=t.delete(e);return r&&He(t,"delete",e,void 0),i}function Ns(){const e=J(this),t=e.size!==0,n=e.clear();return t&&He(e,"clear",void 0,void 0),n}function Wt(e,t){return function(s,r){const i=this,o=i.__v_raw,l=J(o),c=t?cs:e?us:St;return!e&&pe(l,"iterate",st),o.forEach((a,d)=>s.call(r,c(a),c(d),i))}}function Vt(e,t,n){return function(...s){const r=this.__v_raw,i=J(r),o=ut(i),l=e==="entries"||e===Symbol.iterator&&o,c=e==="keys"&&o,a=r[e](...s),d=n?cs:t?us:St;return!t&&pe(i,"iterate",c?Bn:st),{next(){const{value:p,done:g}=a.next();return g?{value:p,done:g}:{value:l?[d(p[0]),d(p[1])]:d(p),done:g}},[Symbol.iterator](){return this}}}}function Ue(e){return function(...t){return e==="delete"?!1:this}}function ao(){const e={get(i){return Dt(this,i)},get size(){return kt(this)},has:Kt,add:Ms,set:Ss,delete:Ls,clear:Ns,forEach:Wt(!1,!1)},t={get(i){return Dt(this,i,!1,!0)},get size(){return kt(this)},has:Kt,add:Ms,set:Ss,delete:Ls,clear:Ns,forEach:Wt(!1,!0)},n={get(i){return Dt(this,i,!0)},get size(){return kt(this,!0)},has(i){return Kt.call(this,i,!0)},add:Ue("add"),set:Ue("set"),delete:Ue("delete"),clear:Ue("clear"),forEach:Wt(!0,!1)},s={get(i){return Dt(this,i,!0,!0)},get size(){return kt(this,!0)},has(i){return Kt.call(this,i,!0)},add:Ue("add"),set:Ue("set"),delete:Ue("delete"),clear:Ue("clear"),forEach:Wt(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=Vt(i,!1,!1),n[i]=Vt(i,!0,!1),t[i]=Vt(i,!1,!0),s[i]=Vt(i,!0,!0)}),[e,n,t,s]}const[uo,ho,po,go]=ao();function fs(e,t){const n=t?e?go:po:e?ho:uo;return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(Y(n,r)&&r in s?n:s,r,i)}const mo={get:fs(!1,!1)},_o={get:fs(!1,!0)},bo={get:fs(!0,!1)},Lr=new WeakMap,Nr=new WeakMap,Hr=new WeakMap,yo=new WeakMap;function wo(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function vo(e){return e.__v_skip||!Object.isExtensible(e)?0:wo(Ni(e))}function mn(e){return mt(e)?e:as(e,!1,Sr,mo,Lr)}function Co(e){return as(e,!1,fo,_o,Nr)}function $r(e){return as(e,!0,co,bo,Hr)}function as(e,t,n,s,r){if(!ee(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const o=vo(e);if(o===0)return e;const l=new Proxy(e,o===2?s:n);return r.set(e,l),l}function dt(e){return mt(e)?dt(e.__v_raw):!!(e&&e.__v_isReactive)}function mt(e){return!!(e&&e.__v_isReadonly)}function rn(e){return!!(e&&e.__v_isShallow)}function Ur(e){return dt(e)||mt(e)}function J(e){const t=e&&e.__v_raw;return t?J(t):e}function Rt(e){return nn(e,"__v_skip",!0),e}const St=e=>ee(e)?mn(e):e,us=e=>ee(e)?$r(e):e;function ds(e){ke&&Ae&&(e=J(e),Or(e.dep||(e.dep=is())))}function hs(e,t){e=J(e);const n=e.dep;n&&Dn(n)}function le(e){return!!(e&&e.__v_isRef===!0)}function ps(e){return jr(e,!1)}function xo(e){return jr(e,!0)}function jr(e,t){return le(e)?e:new Eo(e,t)}class Eo{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:J(t),this._value=n?t:St(t)}get value(){return ds(this),this._value}set value(t){const n=this.__v_isShallow||rn(t)||mt(t);t=n?t:J(t),Mt(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:St(t),hs(this))}}function To(e){return le(e)?e.value:e}const Ao={get:(e,t,n)=>To(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return le(r)&&!le(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function Br(e){return dt(e)?e:new Proxy(e,Ao)}class Ro{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:s}=t(()=>ds(this),()=>hs(this));this._get=n,this._set=s}get value(){return this._get()}set value(t){this._set(t)}}function kc(e){return new Ro(e)}class Po{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Xi(J(this._object),this._key)}}class Io{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Wc(e,t,n){return le(e)?e:K(e)?new Io(e):ee(e)&&arguments.length>1?Oo(e,t,n):ps(e)}function Oo(e,t,n){const s=e[t];return le(s)?s:new Po(e,t,n)}class Fo{constructor(t,n,s,r){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new os(t,()=>{this._dirty||(this._dirty=!0,hs(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const t=J(this);return ds(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Mo(e,t,n=!1){let s,r;const i=K(e);return i?(s=e,r=Pe):(s=e.get,r=e.set),new Fo(s,r,i||!r,n)}function We(e,t,n,s){let r;try{r=s?e(...s):e()}catch(i){_n(i,t,n)}return r}function Ce(e,t,n,s){if(K(e)){const i=We(e,t,n,s);return i&&Cr(i)&&i.catch(o=>{_n(o,t,n)}),i}const r=[];for(let i=0;i>>1;Nt(ae[s])Me&&ae.splice(t,1)}function Ho(e){L(e)?ht.push(...e):(!Ne||!Ne.includes(e,e.allowRecurse?Qe+1:Qe))&&ht.push(e),kr()}function Hs(e,t=Lt?Me+1:0){for(;tNt(n)-Nt(s)),Qe=0;Qee.id==null?1/0:e.id,$o=(e,t)=>{const n=Nt(e)-Nt(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Wr(e){Kn=!1,Lt=!0,ae.sort($o);const t=Pe;try{for(Me=0;Mese(T)?T.trim():T)),p&&(r=n.map($n))}let l,c=s[l=Zt(t)]||s[l=Zt(Se(t))];!c&&i&&(c=s[l=Zt(it(t))]),c&&Ce(c,e,6,r);const a=s[l+"Once"];if(a){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Ce(a,e,6,r)}}function Vr(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let o={},l=!1;if(!K(e)){const c=a=>{const d=Vr(a,t,!0);d&&(l=!0,ie(o,d))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!l?(ee(e)&&s.set(e,null),null):(L(i)?i.forEach(c=>o[c]=null):ie(o,i),ee(e)&&s.set(e,o),o)}function bn(e,t){return!e||!Ut(t)?!1:(t=t.slice(2).replace(/Once$/,""),Y(e,t[0].toLowerCase()+t.slice(1))||Y(e,it(t))||Y(e,t))}let ce=null,yn=null;function ln(e){const t=ce;return ce=e,yn=e&&e.type.__scopeId||null,t}function Vc(e){yn=e}function qc(){yn=null}function jo(e,t=ce,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&Js(-1);const i=ln(t);let o;try{o=e(...r)}finally{ln(i),s._d&&Js(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function In(e){const{type:t,vnode:n,proxy:s,withProxy:r,props:i,propsOptions:[o],slots:l,attrs:c,emit:a,render:d,renderCache:p,data:g,setupState:T,ctx:N,inheritAttrs:P}=e;let k,b;const v=ln(e);try{if(n.shapeFlag&4){const R=r||s;k=Te(d.call(R,R,p,i,T,g,N)),b=c}else{const R=t;k=Te(R.length>1?R(i,{attrs:c,slots:l,emit:a}):R(i,null)),b=t.props?c:Bo(c)}}catch(R){Ft.length=0,_n(R,e,1),k=fe(be)}let H=k;if(b&&P!==!1){const R=Object.keys(b),{shapeFlag:B}=H;R.length&&B&7&&(o&&R.some(Gn)&&(b=Do(b,o)),H=qe(H,b))}return n.dirs&&(H=qe(H),H.dirs=H.dirs?H.dirs.concat(n.dirs):n.dirs),n.transition&&(H.transition=n.transition),k=H,ln(v),k}const Bo=e=>{let t;for(const n in e)(n==="class"||n==="style"||Ut(n))&&((t||(t={}))[n]=e[n]);return t},Do=(e,t)=>{const n={};for(const s in e)(!Gn(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Ko(e,t,n){const{props:s,children:r,component:i}=e,{props:o,children:l,patchFlag:c}=t,a=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?$s(s,o,a):!!o;if(c&8){const d=t.dynamicProps;for(let p=0;pe.__isSuspense;function qr(e,t){t&&t.pendingBranch?L(e)?t.effects.push(...e):t.effects.push(e):Ho(e)}function Vo(e,t){return wn(e,null,t)}function zc(e,t){return wn(e,null,{flush:"post"})}const qt={};function Gt(e,t,n){return wn(e,t,n)}function wn(e,t,{immediate:n,deep:s,flush:r,onTrack:i,onTrigger:o}=te){var l;const c=zi()===((l=oe)==null?void 0:l.scope)?oe:null;let a,d=!1,p=!1;if(le(e)?(a=()=>e.value,d=rn(e)):dt(e)?(a=()=>e,s=!0):L(e)?(p=!0,d=e.some(R=>dt(R)||rn(R)),a=()=>e.map(R=>{if(le(R))return R.value;if(dt(R))return tt(R);if(K(R))return We(R,c,2)})):K(e)?t?a=()=>We(e,c,2):a=()=>{if(!(c&&c.isUnmounted))return g&&g(),Ce(e,c,3,[T])}:a=Pe,t&&s){const R=a;a=()=>tt(R())}let g,T=R=>{g=v.onStop=()=>{We(R,c,4)}},N;if($t)if(T=Pe,t?n&&Ce(t,c,3,[a(),p?[]:void 0,T]):a(),r==="sync"){const R=Dl();N=R.__watcherHandles||(R.__watcherHandles=[])}else return Pe;let P=p?new Array(e.length).fill(qt):qt;const k=()=>{if(v.active)if(t){const R=v.run();(s||d||(p?R.some((B,q)=>Mt(B,P[q])):Mt(R,P)))&&(g&&g(),Ce(t,c,3,[R,P===qt?void 0:p&&P[0]===qt?[]:P,T]),P=R)}else v.run()};k.allowRecurse=!!t;let b;r==="sync"?b=k:r==="post"?b=()=>de(k,c&&c.suspense):(k.pre=!0,c&&(k.id=c.uid),b=()=>ms(k));const v=new os(a,b);t?n?k():P=v.run():r==="post"?de(v.run.bind(v),c&&c.suspense):v.run();const H=()=>{v.stop(),c&&c.scope&&es(c.scope.effects,v)};return N&&N.push(H),H}function qo(e,t,n){const s=this.proxy,r=se(e)?e.includes(".")?zr(s,e):()=>s[e]:e.bind(s,s);let i;K(t)?i=t:(i=t.handler,n=t);const o=oe;bt(this);const l=wn(r,i.bind(s),n);return o?bt(o):rt(),l}function zr(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r{tt(n,t)});else if(Er(e))for(const n in e)tt(e[n],t);return e}function Yc(e,t){const n=ce;if(n===null)return e;const s=An(n)||n.proxy,r=e.dirs||(e.dirs=[]);for(let i=0;i{e.isMounted=!0}),Gr(()=>{e.isUnmounting=!0}),e}const ye=[Function,Array],Yr={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ye,onEnter:ye,onAfterEnter:ye,onEnterCancelled:ye,onBeforeLeave:ye,onLeave:ye,onAfterLeave:ye,onLeaveCancelled:ye,onBeforeAppear:ye,onAppear:ye,onAfterAppear:ye,onAppearCancelled:ye},Yo={name:"BaseTransition",props:Yr,setup(e,{slots:t}){const n=_i(),s=zo();let r;return()=>{const i=t.default&&Xr(t.default(),!0);if(!i||!i.length)return;let o=i[0];if(i.length>1){for(const P of i)if(P.type!==be){o=P;break}}const l=J(e),{mode:c}=l;if(s.isLeaving)return On(o);const a=Us(o);if(!a)return On(o);const d=kn(a,l,s,n);Wn(a,d);const p=n.subTree,g=p&&Us(p);let T=!1;const{getTransitionKey:N}=a.type;if(N){const P=N();r===void 0?r=P:P!==r&&(r=P,T=!0)}if(g&&g.type!==be&&(!Ge(a,g)||T)){const P=kn(g,l,s,n);if(Wn(g,P),c==="out-in")return s.isLeaving=!0,P.afterLeave=()=>{s.isLeaving=!1,n.update.active!==!1&&n.update()},On(o);c==="in-out"&&a.type!==be&&(P.delayLeave=(k,b,v)=>{const H=Jr(s,g);H[String(g.key)]=g,k._leaveCb=()=>{b(),k._leaveCb=void 0,delete d.delayedLeave},d.delayedLeave=v})}return o}}},Jo=Yo;function Jr(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function kn(e,t,n,s){const{appear:r,mode:i,persisted:o=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:a,onEnterCancelled:d,onBeforeLeave:p,onLeave:g,onAfterLeave:T,onLeaveCancelled:N,onBeforeAppear:P,onAppear:k,onAfterAppear:b,onAppearCancelled:v}=t,H=String(e.key),R=Jr(n,e),B=(x,U)=>{x&&Ce(x,s,9,U)},q=(x,U)=>{const $=U[1];B(x,U),L(x)?x.every(W=>W.length<=1)&&$():x.length<=1&&$()},D={mode:i,persisted:o,beforeEnter(x){let U=l;if(!n.isMounted)if(r)U=P||l;else return;x._leaveCb&&x._leaveCb(!0);const $=R[H];$&&Ge(e,$)&&$.el._leaveCb&&$.el._leaveCb(),B(U,[x])},enter(x){let U=c,$=a,W=d;if(!n.isMounted)if(r)U=k||c,$=b||a,W=v||d;else return;let I=!1;const V=x._enterCb=F=>{I||(I=!0,F?B(W,[x]):B($,[x]),D.delayedLeave&&D.delayedLeave(),x._enterCb=void 0)};U?q(U,[x,V]):V()},leave(x,U){const $=String(e.key);if(x._enterCb&&x._enterCb(!0),n.isUnmounting)return U();B(p,[x]);let W=!1;const I=x._leaveCb=V=>{W||(W=!0,U(),V?B(N,[x]):B(T,[x]),x._leaveCb=void 0,R[$]===e&&delete R[$])};R[$]=e,g?q(g,[x,I]):I()},clone(x){return kn(x,t,n,s)}};return D}function On(e){if(vn(e))return e=qe(e),e.children=null,e}function Us(e){return vn(e)?e.children?e.children[0]:void 0:e}function Wn(e,t){e.shapeFlag&6&&e.component?Wn(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Xr(e,t=!1,n){let s=[],r=0;for(let i=0;i1)for(let i=0;iie({name:e.name},t,{setup:e}))():e}const pt=e=>!!e.type.__asyncLoader,vn=e=>e.type.__isKeepAlive;function Xo(e,t){Qr(e,"a",t)}function Zo(e,t){Qr(e,"da",t)}function Qr(e,t,n=oe){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Cn(t,s,n),n){let r=n.parent;for(;r&&r.parent;)vn(r.parent.vnode)&&Qo(s,t,n,r),r=r.parent}}function Qo(e,t,n,s){const r=Cn(t,e,s,!0);En(()=>{es(s[t],r)},n)}function Cn(e,t,n=oe,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;yt(),bt(n);const l=Ce(t,n,e,o);return rt(),wt(),l});return s?r.unshift(i):r.push(i),i}}const $e=e=>(t,n=oe)=>(!$t||e==="sp")&&Cn(e,(...s)=>t(...s),n),Go=$e("bm"),xn=$e("m"),el=$e("bu"),tl=$e("u"),Gr=$e("bum"),En=$e("um"),nl=$e("sp"),sl=$e("rtg"),rl=$e("rtc");function il(e,t=oe){Cn("ec",e,t)}const _s="components";function Jc(e,t){return ti(_s,e,!0,t)||e}const ei=Symbol.for("v-ndc");function Xc(e){return se(e)?ti(_s,e,!1)||e:e||ei}function ti(e,t,n=!0,s=!1){const r=ce||oe;if(r){const i=r.type;if(e===_s){const l=Ul(i,!1);if(l&&(l===t||l===Se(t)||l===pn(Se(t))))return i}const o=js(r[e]||i[e],t)||js(r.appContext[e],t);return!o&&s?i:o}}function js(e,t){return e&&(e[t]||e[Se(t)]||e[pn(Se(t))])}function Zc(e,t,n,s){let r;const i=n&&n[s];if(L(e)||se(e)){r=new Array(e.length);for(let o=0,l=e.length;ot(o,l,void 0,i&&i[l]));else{const o=Object.keys(e);r=new Array(o.length);for(let l=0,c=o.length;lun(t)?!(t.type===be||t.type===he&&!ni(t.children)):!0)?e:null}function Gc(e,t){const n={};for(const s in e)n[t&&/[A-Z]/.test(s)?`on:${s}`:Zt(s)]=e[s];return n}const Vn=e=>e?bi(e)?An(e)||e.proxy:Vn(e.parent):null,Pt=ie(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Vn(e.parent),$root:e=>Vn(e.root),$emit:e=>e.emit,$options:e=>bs(e),$forceUpdate:e=>e.f||(e.f=()=>ms(e.update)),$nextTick:e=>e.n||(e.n=Kr.bind(e.proxy)),$watch:e=>qo.bind(e)}),Fn=(e,t)=>e!==te&&!e.__isScriptSetup&&Y(e,t),ol={get({_:e},t){const{ctx:n,setupState:s,data:r,props:i,accessCache:o,type:l,appContext:c}=e;let a;if(t[0]!=="$"){const T=o[t];if(T!==void 0)switch(T){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(Fn(s,t))return o[t]=1,s[t];if(r!==te&&Y(r,t))return o[t]=2,r[t];if((a=e.propsOptions[0])&&Y(a,t))return o[t]=3,i[t];if(n!==te&&Y(n,t))return o[t]=4,n[t];qn&&(o[t]=0)}}const d=Pt[t];let p,g;if(d)return t==="$attrs"&&pe(e,"get",t),d(e);if((p=l.__cssModules)&&(p=p[t]))return p;if(n!==te&&Y(n,t))return o[t]=4,n[t];if(g=c.config.globalProperties,Y(g,t))return g[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:i}=e;return Fn(r,t)?(r[t]=n,!0):s!==te&&Y(s,t)?(s[t]=n,!0):Y(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:i}},o){let l;return!!n[o]||e!==te&&Y(e,o)||Fn(t,o)||(l=i[0])&&Y(l,o)||Y(s,o)||Y(Pt,o)||Y(r.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Y(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function ef(){return ll().slots}function ll(){const e=_i();return e.setupContext||(e.setupContext=wi(e))}function Bs(e){return L(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let qn=!0;function cl(e){const t=bs(e),n=e.proxy,s=e.ctx;qn=!1,t.beforeCreate&&Ds(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:l,provide:c,inject:a,created:d,beforeMount:p,mounted:g,beforeUpdate:T,updated:N,activated:P,deactivated:k,beforeDestroy:b,beforeUnmount:v,destroyed:H,unmounted:R,render:B,renderTracked:q,renderTriggered:D,errorCaptured:x,serverPrefetch:U,expose:$,inheritAttrs:W,components:I,directives:V,filters:F}=t;if(a&&fl(a,s,null),o)for(const ne in o){const Q=o[ne];K(Q)&&(s[ne]=Q.bind(n))}if(r){const ne=r.call(n,n);ee(ne)&&(e.data=mn(ne))}if(qn=!0,i)for(const ne in i){const Q=i[ne],ze=K(Q)?Q.bind(n,n):K(Q.get)?Q.get.bind(n,n):Pe,jt=!K(Q)&&K(Q.set)?Q.set.bind(n):Pe,Ye=Ee({get:ze,set:jt});Object.defineProperty(s,ne,{enumerable:!0,configurable:!0,get:()=>Ye.value,set:Ie=>Ye.value=Ie})}if(l)for(const ne in l)si(l[ne],s,n,ne);if(c){const ne=K(c)?c.call(n):c;Reflect.ownKeys(ne).forEach(Q=>{gl(Q,ne[Q])})}d&&Ds(d,e,"c");function X(ne,Q){L(Q)?Q.forEach(ze=>ne(ze.bind(n))):Q&&ne(Q.bind(n))}if(X(Go,p),X(xn,g),X(el,T),X(tl,N),X(Xo,P),X(Zo,k),X(il,x),X(rl,q),X(sl,D),X(Gr,v),X(En,R),X(nl,U),L($))if($.length){const ne=e.exposed||(e.exposed={});$.forEach(Q=>{Object.defineProperty(ne,Q,{get:()=>n[Q],set:ze=>n[Q]=ze})})}else e.exposed||(e.exposed={});B&&e.render===Pe&&(e.render=B),W!=null&&(e.inheritAttrs=W),I&&(e.components=I),V&&(e.directives=V)}function fl(e,t,n=Pe){L(e)&&(e=zn(e));for(const s in e){const r=e[s];let i;ee(r)?"default"in r?i=gt(r.from||s,r.default,!0):i=gt(r.from||s):i=gt(r),le(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[s]=i}}function Ds(e,t,n){Ce(L(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function si(e,t,n,s){const r=s.includes(".")?zr(n,s):()=>n[s];if(se(e)){const i=t[e];K(i)&&Gt(r,i)}else if(K(e))Gt(r,e.bind(n));else if(ee(e))if(L(e))e.forEach(i=>si(i,t,n,s));else{const i=K(e.handler)?e.handler.bind(n):t[e.handler];K(i)&&Gt(r,i,e)}}function bs(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(a=>cn(c,a,o,!0)),cn(c,t,o)),ee(t)&&i.set(t,c),c}function cn(e,t,n,s=!1){const{mixins:r,extends:i}=t;i&&cn(e,i,n,!0),r&&r.forEach(o=>cn(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const l=al[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const al={data:Ks,props:ks,emits:ks,methods:Tt,computed:Tt,beforeCreate:ue,created:ue,beforeMount:ue,mounted:ue,beforeUpdate:ue,updated:ue,beforeDestroy:ue,beforeUnmount:ue,destroyed:ue,unmounted:ue,activated:ue,deactivated:ue,errorCaptured:ue,serverPrefetch:ue,components:Tt,directives:Tt,watch:dl,provide:Ks,inject:ul};function Ks(e,t){return t?e?function(){return ie(K(e)?e.call(this,this):e,K(t)?t.call(this,this):t)}:t:e}function ul(e,t){return Tt(zn(e),zn(t))}function zn(e){if(L(e)){const t={};for(let n=0;n1)return n&&K(t)?t.call(s&&s.proxy):t}}function ml(e,t,n,s=!1){const r={},i={};nn(i,Tn,1),e.propsDefaults=Object.create(null),ii(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);n?e.props=s?r:Co(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function _l(e,t,n,s){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,l=J(r),[c]=e.propsOptions;let a=!1;if((s||o>0)&&!(o&16)){if(o&8){const d=e.vnode.dynamicProps;for(let p=0;p{c=!0;const[g,T]=oi(p,t,!0);ie(o,g),T&&l.push(...T)};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!i&&!c)return ee(e)&&s.set(e,at),at;if(L(i))for(let d=0;d-1,T[1]=P<0||N-1||Y(T,"default"))&&l.push(p)}}}const a=[o,l];return ee(e)&&s.set(e,a),a}function Ws(e){return e[0]!=="$"}function Vs(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function qs(e,t){return Vs(e)===Vs(t)}function zs(e,t){return L(t)?t.findIndex(n=>qs(n,e)):K(t)&&qs(t,e)?0:-1}const li=e=>e[0]==="_"||e==="$stable",ys=e=>L(e)?e.map(Te):[Te(e)],bl=(e,t,n)=>{if(t._n)return t;const s=jo((...r)=>ys(t(...r)),n);return s._c=!1,s},ci=(e,t,n)=>{const s=e._ctx;for(const r in e){if(li(r))continue;const i=e[r];if(K(i))t[r]=bl(r,i,s);else if(i!=null){const o=ys(i);t[r]=()=>o}}},fi=(e,t)=>{const n=ys(t);e.slots.default=()=>n},yl=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=J(t),nn(t,"_",n)):ci(t,e.slots={})}else e.slots={},t&&fi(e,t);nn(e.slots,Tn,1)},wl=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,o=te;if(s.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:(ie(r,t),!n&&l===1&&delete r._):(i=!t.$stable,ci(t,r)),o=t}else t&&(fi(e,t),o={default:1});if(i)for(const l in r)!li(l)&&!(l in o)&&delete r[l]};function an(e,t,n,s,r=!1){if(L(e)){e.forEach((g,T)=>an(g,t&&(L(t)?t[T]:t),n,s,r));return}if(pt(s)&&!r)return;const i=s.shapeFlag&4?An(s.component)||s.component.proxy:s.el,o=r?null:i,{i:l,r:c}=e,a=t&&t.r,d=l.refs===te?l.refs={}:l.refs,p=l.setupState;if(a!=null&&a!==c&&(se(a)?(d[a]=null,Y(p,a)&&(p[a]=null)):le(a)&&(a.value=null)),K(c))We(c,l,12,[o,d]);else{const g=se(c),T=le(c);if(g||T){const N=()=>{if(e.f){const P=g?Y(p,c)?p[c]:d[c]:c.value;r?L(P)&&es(P,i):L(P)?P.includes(i)||P.push(i):g?(d[c]=[i],Y(p,c)&&(p[c]=d[c])):(c.value=[i],e.k&&(d[e.k]=c.value))}else g?(d[c]=o,Y(p,c)&&(p[c]=o)):T&&(c.value=o,e.k&&(d[e.k]=o))};o?(N.id=-1,de(N,n)):N()}}}let je=!1;const zt=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",Yt=e=>e.nodeType===8;function vl(e){const{mt:t,p:n,o:{patchProp:s,createText:r,nextSibling:i,parentNode:o,remove:l,insert:c,createComment:a}}=e,d=(b,v)=>{if(!v.hasChildNodes()){n(null,b,v),on(),v._vnode=b;return}je=!1,p(v.firstChild,b,null,null,null),on(),v._vnode=b,je&&console.error("Hydration completed but contains mismatches.")},p=(b,v,H,R,B,q=!1)=>{const D=Yt(b)&&b.data==="[",x=()=>P(b,v,H,R,B,D),{type:U,ref:$,shapeFlag:W,patchFlag:I}=v;let V=b.nodeType;v.el=b,I===-2&&(q=!1,v.dynamicChildren=null);let F=null;switch(U){case _t:V!==3?v.children===""?(c(v.el=r(""),o(b),b),F=b):F=x():(b.data!==v.children&&(je=!0,b.data=v.children),F=i(b));break;case be:V!==8||D?F=x():F=i(b);break;case Ot:if(D&&(b=i(b),V=b.nodeType),V===1||V===3){F=b;const ge=!v.children.length;for(let X=0;X{q=q||!!v.dynamicChildren;const{type:D,props:x,patchFlag:U,shapeFlag:$,dirs:W}=v,I=D==="input"&&W||D==="option";if(I||U!==-1){if(W&&Fe(v,null,H,"created"),x)if(I||!q||U&48)for(const F in x)(I&&F.endsWith("value")||Ut(F)&&!At(F))&&s(b,F,null,x[F],!1,void 0,H);else x.onClick&&s(b,"onClick",null,x.onClick,!1,void 0,H);let V;if((V=x&&x.onVnodeBeforeMount)&&we(V,H,v),W&&Fe(v,null,H,"beforeMount"),((V=x&&x.onVnodeMounted)||W)&&qr(()=>{V&&we(V,H,v),W&&Fe(v,null,H,"mounted")},R),$&16&&!(x&&(x.innerHTML||x.textContent))){let F=T(b.firstChild,v,b,H,R,B,q);for(;F;){je=!0;const ge=F;F=F.nextSibling,l(ge)}}else $&8&&b.textContent!==v.children&&(je=!0,b.textContent=v.children)}return b.nextSibling},T=(b,v,H,R,B,q,D)=>{D=D||!!v.dynamicChildren;const x=v.children,U=x.length;for(let $=0;${const{slotScopeIds:D}=v;D&&(B=B?B.concat(D):D);const x=o(b),U=T(i(b),v,x,H,R,B,q);return U&&Yt(U)&&U.data==="]"?i(v.anchor=U):(je=!0,c(v.anchor=a("]"),x,U),U)},P=(b,v,H,R,B,q)=>{if(je=!0,v.el=null,q){const U=k(b);for(;;){const $=i(b);if($&&$!==U)l($);else break}}const D=i(b),x=o(b);return l(b),n(null,v,x,D,H,R,zt(x),B),D},k=b=>{let v=0;for(;b;)if(b=i(b),b&&Yt(b)&&(b.data==="["&&v++,b.data==="]")){if(v===0)return i(b);v--}return b};return[d,p]}const de=qr;function Cl(e){return xl(e,vl)}function xl(e,t){const n=Un();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:o,createText:l,createComment:c,setText:a,setElementText:d,parentNode:p,nextSibling:g,setScopeId:T=Pe,insertStaticContent:N}=e,P=(f,u,h,_=null,m=null,C=null,A=!1,w=null,E=!!u.dynamicChildren)=>{if(f===u)return;f&&!Ge(f,u)&&(_=Bt(f),Ie(f,m,C,!0),f=null),u.patchFlag===-2&&(E=!1,u.dynamicChildren=null);const{type:y,ref:M,shapeFlag:O}=u;switch(y){case _t:k(f,u,h,_);break;case be:b(f,u,h,_);break;case Ot:f==null&&v(u,h,_,A);break;case he:I(f,u,h,_,m,C,A,w,E);break;default:O&1?B(f,u,h,_,m,C,A,w,E):O&6?V(f,u,h,_,m,C,A,w,E):(O&64||O&128)&&y.process(f,u,h,_,m,C,A,w,E,ot)}M!=null&&m&&an(M,f&&f.ref,C,u||f,!u)},k=(f,u,h,_)=>{if(f==null)s(u.el=l(u.children),h,_);else{const m=u.el=f.el;u.children!==f.children&&a(m,u.children)}},b=(f,u,h,_)=>{f==null?s(u.el=c(u.children||""),h,_):u.el=f.el},v=(f,u,h,_)=>{[f.el,f.anchor]=N(f.children,u,h,_,f.el,f.anchor)},H=({el:f,anchor:u},h,_)=>{let m;for(;f&&f!==u;)m=g(f),s(f,h,_),f=m;s(u,h,_)},R=({el:f,anchor:u})=>{let h;for(;f&&f!==u;)h=g(f),r(f),f=h;r(u)},B=(f,u,h,_,m,C,A,w,E)=>{A=A||u.type==="svg",f==null?q(u,h,_,m,C,A,w,E):U(f,u,m,C,A,w,E)},q=(f,u,h,_,m,C,A,w)=>{let E,y;const{type:M,props:O,shapeFlag:S,transition:j,dirs:z}=f;if(E=f.el=o(f.type,C,O&&O.is,O),S&8?d(E,f.children):S&16&&x(f.children,E,null,_,m,C&&M!=="foreignObject",A,w),z&&Fe(f,null,_,"created"),D(E,f,f.scopeId,A,_),O){for(const Z in O)Z!=="value"&&!At(Z)&&i(E,Z,null,O[Z],C,f.children,_,m,Le);"value"in O&&i(E,"value",null,O.value),(y=O.onVnodeBeforeMount)&&we(y,_,f)}z&&Fe(f,null,_,"beforeMount");const G=(!m||m&&!m.pendingBranch)&&j&&!j.persisted;G&&j.beforeEnter(E),s(E,u,h),((y=O&&O.onVnodeMounted)||G||z)&&de(()=>{y&&we(y,_,f),G&&j.enter(E),z&&Fe(f,null,_,"mounted")},m)},D=(f,u,h,_,m)=>{if(h&&T(f,h),_)for(let C=0;C<_.length;C++)T(f,_[C]);if(m){let C=m.subTree;if(u===C){const A=m.vnode;D(f,A,A.scopeId,A.slotScopeIds,m.parent)}}},x=(f,u,h,_,m,C,A,w,E=0)=>{for(let y=E;y{const w=u.el=f.el;let{patchFlag:E,dynamicChildren:y,dirs:M}=u;E|=f.patchFlag&16;const O=f.props||te,S=u.props||te;let j;h&&Je(h,!1),(j=S.onVnodeBeforeUpdate)&&we(j,h,u,f),M&&Fe(u,f,h,"beforeUpdate"),h&&Je(h,!0);const z=m&&u.type!=="foreignObject";if(y?$(f.dynamicChildren,y,w,h,_,z,C):A||Q(f,u,w,null,h,_,z,C,!1),E>0){if(E&16)W(w,u,O,S,h,_,m);else if(E&2&&O.class!==S.class&&i(w,"class",null,S.class,m),E&4&&i(w,"style",O.style,S.style,m),E&8){const G=u.dynamicProps;for(let Z=0;Z{j&&we(j,h,u,f),M&&Fe(u,f,h,"updated")},_)},$=(f,u,h,_,m,C,A)=>{for(let w=0;w{if(h!==_){if(h!==te)for(const w in h)!At(w)&&!(w in _)&&i(f,w,h[w],null,A,u.children,m,C,Le);for(const w in _){if(At(w))continue;const E=_[w],y=h[w];E!==y&&w!=="value"&&i(f,w,y,E,A,u.children,m,C,Le)}"value"in _&&i(f,"value",h.value,_.value)}},I=(f,u,h,_,m,C,A,w,E)=>{const y=u.el=f?f.el:l(""),M=u.anchor=f?f.anchor:l("");let{patchFlag:O,dynamicChildren:S,slotScopeIds:j}=u;j&&(w=w?w.concat(j):j),f==null?(s(y,h,_),s(M,h,_),x(u.children,h,M,m,C,A,w,E)):O>0&&O&64&&S&&f.dynamicChildren?($(f.dynamicChildren,S,h,m,C,A,w),(u.key!=null||m&&u===m.subTree)&&ws(f,u,!0)):Q(f,u,h,M,m,C,A,w,E)},V=(f,u,h,_,m,C,A,w,E)=>{u.slotScopeIds=w,f==null?u.shapeFlag&512?m.ctx.activate(u,h,_,A,E):F(u,h,_,m,C,A,E):ge(f,u,E)},F=(f,u,h,_,m,C,A)=>{const w=f.component=Ll(f,_,m);if(vn(f)&&(w.ctx.renderer=ot),Nl(w),w.asyncDep){if(m&&m.registerDep(w,X),!f.el){const E=w.subTree=fe(be);b(null,E,u,h)}return}X(w,f,u,h,m,C,A)},ge=(f,u,h)=>{const _=u.component=f.component;if(Ko(f,u,h))if(_.asyncDep&&!_.asyncResolved){ne(_,u,h);return}else _.next=u,No(_.update),_.update();else u.el=f.el,_.vnode=u},X=(f,u,h,_,m,C,A)=>{const w=()=>{if(f.isMounted){let{next:M,bu:O,u:S,parent:j,vnode:z}=f,G=M,Z;Je(f,!1),M?(M.el=z.el,ne(f,M,A)):M=z,O&&Qt(O),(Z=M.props&&M.props.onVnodeBeforeUpdate)&&we(Z,j,M,z),Je(f,!0);const re=In(f),xe=f.subTree;f.subTree=re,P(xe,re,p(xe.el),Bt(xe),f,m,C),M.el=re.el,G===null&&ko(f,re.el),S&&de(S,m),(Z=M.props&&M.props.onVnodeUpdated)&&de(()=>we(Z,j,M,z),m)}else{let M;const{el:O,props:S}=u,{bm:j,m:z,parent:G}=f,Z=pt(u);if(Je(f,!1),j&&Qt(j),!Z&&(M=S&&S.onVnodeBeforeMount)&&we(M,G,u),Je(f,!0),O&&Pn){const re=()=>{f.subTree=In(f),Pn(O,f.subTree,f,m,null)};Z?u.type.__asyncLoader().then(()=>!f.isUnmounted&&re()):re()}else{const re=f.subTree=In(f);P(null,re,h,_,f,m,C),u.el=re.el}if(z&&de(z,m),!Z&&(M=S&&S.onVnodeMounted)){const re=u;de(()=>we(M,G,re),m)}(u.shapeFlag&256||G&&pt(G.vnode)&&G.vnode.shapeFlag&256)&&f.a&&de(f.a,m),f.isMounted=!0,u=h=_=null}},E=f.effect=new os(w,()=>ms(y),f.scope),y=f.update=()=>E.run();y.id=f.uid,Je(f,!0),y()},ne=(f,u,h)=>{u.component=f;const _=f.vnode.props;f.vnode=u,f.next=null,_l(f,u.props,_,h),wl(f,u.children,h),yt(),Hs(),wt()},Q=(f,u,h,_,m,C,A,w,E=!1)=>{const y=f&&f.children,M=f?f.shapeFlag:0,O=u.children,{patchFlag:S,shapeFlag:j}=u;if(S>0){if(S&128){jt(y,O,h,_,m,C,A,w,E);return}else if(S&256){ze(y,O,h,_,m,C,A,w,E);return}}j&8?(M&16&&Le(y,m,C),O!==y&&d(h,O)):M&16?j&16?jt(y,O,h,_,m,C,A,w,E):Le(y,m,C,!0):(M&8&&d(h,""),j&16&&x(O,h,_,m,C,A,w,E))},ze=(f,u,h,_,m,C,A,w,E)=>{f=f||at,u=u||at;const y=f.length,M=u.length,O=Math.min(y,M);let S;for(S=0;SM?Le(f,m,C,!0,!1,O):x(u,h,_,m,C,A,w,E,O)},jt=(f,u,h,_,m,C,A,w,E)=>{let y=0;const M=u.length;let O=f.length-1,S=M-1;for(;y<=O&&y<=S;){const j=f[y],z=u[y]=E?Ke(u[y]):Te(u[y]);if(Ge(j,z))P(j,z,h,null,m,C,A,w,E);else break;y++}for(;y<=O&&y<=S;){const j=f[O],z=u[S]=E?Ke(u[S]):Te(u[S]);if(Ge(j,z))P(j,z,h,null,m,C,A,w,E);else break;O--,S--}if(y>O){if(y<=S){const j=S+1,z=jS)for(;y<=O;)Ie(f[y],m,C,!0),y++;else{const j=y,z=y,G=new Map;for(y=z;y<=S;y++){const me=u[y]=E?Ke(u[y]):Te(u[y]);me.key!=null&&G.set(me.key,y)}let Z,re=0;const xe=S-z+1;let lt=!1,Ts=0;const vt=new Array(xe);for(y=0;y=xe){Ie(me,m,C,!0);continue}let Oe;if(me.key!=null)Oe=G.get(me.key);else for(Z=z;Z<=S;Z++)if(vt[Z-z]===0&&Ge(me,u[Z])){Oe=Z;break}Oe===void 0?Ie(me,m,C,!0):(vt[Oe-z]=y+1,Oe>=Ts?Ts=Oe:lt=!0,P(me,u[Oe],h,null,m,C,A,w,E),re++)}const As=lt?El(vt):at;for(Z=As.length-1,y=xe-1;y>=0;y--){const me=z+y,Oe=u[me],Rs=me+1{const{el:C,type:A,transition:w,children:E,shapeFlag:y}=f;if(y&6){Ye(f.component.subTree,u,h,_);return}if(y&128){f.suspense.move(u,h,_);return}if(y&64){A.move(f,u,h,ot);return}if(A===he){s(C,u,h);for(let O=0;Ow.enter(C),m);else{const{leave:O,delayLeave:S,afterLeave:j}=w,z=()=>s(C,u,h),G=()=>{O(C,()=>{z(),j&&j()})};S?S(C,z,G):G()}else s(C,u,h)},Ie=(f,u,h,_=!1,m=!1)=>{const{type:C,props:A,ref:w,children:E,dynamicChildren:y,shapeFlag:M,patchFlag:O,dirs:S}=f;if(w!=null&&an(w,null,h,f,!0),M&256){u.ctx.deactivate(f);return}const j=M&1&&S,z=!pt(f);let G;if(z&&(G=A&&A.onVnodeBeforeUnmount)&&we(G,u,f),M&6)Fi(f.component,h,_);else{if(M&128){f.suspense.unmount(h,_);return}j&&Fe(f,null,u,"beforeUnmount"),M&64?f.type.remove(f,u,h,m,ot,_):y&&(C!==he||O>0&&O&64)?Le(y,u,h,!1,!0):(C===he&&O&384||!m&&M&16)&&Le(E,u,h),_&&xs(f)}(z&&(G=A&&A.onVnodeUnmounted)||j)&&de(()=>{G&&we(G,u,f),j&&Fe(f,null,u,"unmounted")},h)},xs=f=>{const{type:u,el:h,anchor:_,transition:m}=f;if(u===he){Oi(h,_);return}if(u===Ot){R(f);return}const C=()=>{r(h),m&&!m.persisted&&m.afterLeave&&m.afterLeave()};if(f.shapeFlag&1&&m&&!m.persisted){const{leave:A,delayLeave:w}=m,E=()=>A(h,C);w?w(f.el,C,E):E()}else C()},Oi=(f,u)=>{let h;for(;f!==u;)h=g(f),r(f),f=h;r(u)},Fi=(f,u,h)=>{const{bum:_,scope:m,update:C,subTree:A,um:w}=f;_&&Qt(_),m.stop(),C&&(C.active=!1,Ie(A,f,u,h)),w&&de(w,u),de(()=>{f.isUnmounted=!0},u),u&&u.pendingBranch&&!u.isUnmounted&&f.asyncDep&&!f.asyncResolved&&f.suspenseId===u.pendingId&&(u.deps--,u.deps===0&&u.resolve())},Le=(f,u,h,_=!1,m=!1,C=0)=>{for(let A=C;Af.shapeFlag&6?Bt(f.component.subTree):f.shapeFlag&128?f.suspense.next():g(f.anchor||f.el),Es=(f,u,h)=>{f==null?u._vnode&&Ie(u._vnode,null,null,!0):P(u._vnode||null,f,u,null,null,null,h),Hs(),on(),u._vnode=f},ot={p:P,um:Ie,m:Ye,r:xs,mt:F,mc:x,pc:Q,pbc:$,n:Bt,o:e};let Rn,Pn;return t&&([Rn,Pn]=t(ot)),{render:Es,hydrate:Rn,createApp:pl(Es,Rn)}}function Je({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function ws(e,t,n=!1){const s=e.children,r=t.children;if(L(s)&&L(r))for(let i=0;i>1,e[n[l]]0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}const Tl=e=>e.__isTeleport,It=e=>e&&(e.disabled||e.disabled===""),Ys=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Jn=(e,t)=>{const n=e&&e.to;return se(n)?t?t(n):null:n},Al={__isTeleport:!0,process(e,t,n,s,r,i,o,l,c,a){const{mc:d,pc:p,pbc:g,o:{insert:T,querySelector:N,createText:P,createComment:k}}=a,b=It(t.props);let{shapeFlag:v,children:H,dynamicChildren:R}=t;if(e==null){const B=t.el=P(""),q=t.anchor=P("");T(B,n,s),T(q,n,s);const D=t.target=Jn(t.props,N),x=t.targetAnchor=P("");D&&(T(x,D),o=o||Ys(D));const U=($,W)=>{v&16&&d(H,$,W,r,i,o,l,c)};b?U(n,q):D&&U(D,x)}else{t.el=e.el;const B=t.anchor=e.anchor,q=t.target=e.target,D=t.targetAnchor=e.targetAnchor,x=It(e.props),U=x?n:q,$=x?B:D;if(o=o||Ys(q),R?(g(e.dynamicChildren,R,U,r,i,o,l),ws(e,t,!0)):c||p(e,t,U,$,r,i,o,l,!1),b)x||Jt(t,n,B,a,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const W=t.target=Jn(t.props,N);W&&Jt(t,W,null,a,0)}else x&&Jt(t,q,D,a,1)}ai(t)},remove(e,t,n,s,{um:r,o:{remove:i}},o){const{shapeFlag:l,children:c,anchor:a,targetAnchor:d,target:p,props:g}=e;if(p&&i(d),(o||!It(g))&&(i(a),l&16))for(let T=0;T0?Re||at:null,Pl(),Ht>0&&Re&&Re.push(e),e}function nf(e,t,n,s,r,i){return di(gi(e,t,n,s,r,i,!0))}function hi(e,t,n,s,r){return di(fe(e,t,n,s,r,!0))}function un(e){return e?e.__v_isVNode===!0:!1}function Ge(e,t){return e.type===t.type&&e.key===t.key}const Tn="__vInternal",pi=({key:e})=>e??null,en=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?se(e)||le(e)||K(e)?{i:ce,r:e,k:t,f:!!n}:e:null);function gi(e,t=null,n=null,s=0,r=null,i=e===he?0:1,o=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&pi(t),ref:t&&en(t),scopeId:yn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:ce};return l?(vs(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=se(n)?8:16),Ht>0&&!o&&Re&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&Re.push(c),c}const fe=Il;function Il(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===ei)&&(e=be),un(e)){const l=qe(e,t,!0);return n&&vs(l,n),Ht>0&&!i&&Re&&(l.shapeFlag&6?Re[Re.indexOf(e)]=l:Re.push(l)),l.patchFlag|=-2,l}if(jl(e)&&(e=e.__vccOpts),t){t=Ol(t);let{class:l,style:c}=t;l&&!se(l)&&(t.class=rs(l)),ee(c)&&(Ur(c)&&!L(c)&&(c=ie({},c)),t.style=ss(c))}const o=se(e)?1:Wo(e)?128:Tl(e)?64:ee(e)?4:K(e)?2:0;return gi(e,t,n,s,r,o,i,!0)}function Ol(e){return e?Ur(e)||Tn in e?ie({},e):e:null}function qe(e,t,n=!1){const{props:s,ref:r,patchFlag:i,children:o}=e,l=t?Fl(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&pi(l),ref:t&&t.ref?n&&r?L(r)?r.concat(en(t)):[r,en(t)]:en(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==he?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&qe(e.ssContent),ssFallback:e.ssFallback&&qe(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function mi(e=" ",t=0){return fe(_t,null,e,t)}function sf(e,t){const n=fe(Ot,null,e);return n.staticCount=t,n}function rf(e="",t=!1){return t?(ui(),hi(be,null,e)):fe(be,null,e)}function Te(e){return e==null||typeof e=="boolean"?fe(be):L(e)?fe(he,null,e.slice()):typeof e=="object"?Ke(e):fe(_t,null,String(e))}function Ke(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:qe(e)}function vs(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(L(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),vs(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(Tn in t)?t._ctx=ce:r===3&&ce&&(ce.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else K(t)?(t={default:t,_ctx:ce},n=32):(t=String(t),s&64?(n=16,t=[mi(t)]):n=8);e.children=t,e.shapeFlag|=n}function Fl(...e){const t={};for(let n=0;noe||ce;let Cs,ct,Xs="__VUE_INSTANCE_SETTERS__";(ct=Un()[Xs])||(ct=Un()[Xs]=[]),ct.push(e=>oe=e),Cs=e=>{ct.length>1?ct.forEach(t=>t(e)):ct[0](e)};const bt=e=>{Cs(e),e.scope.on()},rt=()=>{oe&&oe.scope.off(),Cs(null)};function bi(e){return e.vnode.shapeFlag&4}let $t=!1;function Nl(e,t=!1){$t=t;const{props:n,children:s}=e.vnode,r=bi(e);ml(e,n,r,t),yl(e,s);const i=r?Hl(e,t):void 0;return $t=!1,i}function Hl(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Rt(new Proxy(e.ctx,ol));const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?wi(e):null;bt(e),yt();const i=We(s,e,0,[e.props,r]);if(wt(),rt(),Cr(i)){if(i.then(rt,rt),t)return i.then(o=>{Zs(e,o,t)}).catch(o=>{_n(o,e,0)});e.asyncDep=i}else Zs(e,i,t)}else yi(e,t)}function Zs(e,t,n){K(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ee(t)&&(e.setupState=Br(t)),yi(e,n)}let Qs;function yi(e,t,n){const s=e.type;if(!e.render){if(!t&&Qs&&!s.render){const r=s.template||bs(e).template;if(r){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:l,compilerOptions:c}=s,a=ie(ie({isCustomElement:i,delimiters:l},o),c);s.render=Qs(r,a)}}e.render=s.render||Pe}bt(e),yt(),cl(e),wt(),rt()}function $l(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return pe(e,"get","$attrs"),t[n]}}))}function wi(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return $l(e)},slots:e.slots,emit:e.emit,expose:t}}function An(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Br(Rt(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Pt)return Pt[n](e)},has(t,n){return n in t||n in Pt}}))}function Ul(e,t=!0){return K(e)?e.displayName||e.name:e.name||t&&e.__name}function jl(e){return K(e)&&"__vccOpts"in e}const Ee=(e,t)=>Mo(e,t,$t);function Xn(e,t,n){const s=arguments.length;return s===2?ee(t)&&!L(t)?un(t)?fe(e,null,[t]):fe(e,t):fe(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&un(n)&&(n=[n]),fe(e,t,n))}const Bl=Symbol.for("v-scx"),Dl=()=>gt(Bl),Kl="3.3.4",kl="http://www.w3.org/2000/svg",et=typeof document<"u"?document:null,Gs=et&&et.createElement("template"),Wl={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t?et.createElementNS(kl,e):et.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>et.createTextNode(e),createComment:e=>et.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>et.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,i){const o=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{Gs.innerHTML=s?`${e}`:e;const l=Gs.content;if(s){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function Vl(e,t,n){const s=e._vtc;s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function ql(e,t,n){const s=e.style,r=se(n);if(n&&!r){if(t&&!se(t))for(const i in t)n[i]==null&&Zn(s,i,"");for(const i in n)Zn(s,i,n[i])}else{const i=s.display;r?t!==n&&(s.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(s.display=i)}}const er=/\s*!important$/;function Zn(e,t,n){if(L(n))n.forEach(s=>Zn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=zl(e,t);er.test(n)?e.setProperty(it(s),n.replace(er,""),"important"):e[s]=n}}const tr=["Webkit","Moz","ms"],Mn={};function zl(e,t){const n=Mn[t];if(n)return n;let s=Se(t);if(s!=="filter"&&s in e)return Mn[t]=s;s=pn(s);for(let r=0;rSn||(Gl.then(()=>Sn=0),Sn=Date.now());function tc(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Ce(nc(s,n.value),t,5,[s])};return n.value=e,n.attached=ec(),n}function nc(e,t){if(L(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const rr=/^on[a-z]/,sc=(e,t,n,s,r=!1,i,o,l,c)=>{t==="class"?Vl(e,s,r):t==="style"?ql(e,n,s):Ut(t)?Gn(t)||Zl(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):rc(e,t,s,r))?Jl(e,t,s,i,o,l,c):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Yl(e,t,s,r))};function rc(e,t,n,s){return s?!!(t==="innerHTML"||t==="textContent"||t in e&&rr.test(t)&&K(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||rr.test(t)&&se(n)?!1:t in e}const Be="transition",Ct="animation",vi=(e,{slots:t})=>Xn(Jo,ic(e),t);vi.displayName="Transition";const Ci={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};vi.props=ie({},Yr,Ci);const Xe=(e,t=[])=>{L(e)?e.forEach(n=>n(...t)):e&&e(...t)},ir=e=>e?L(e)?e.some(t=>t.length>1):e.length>1:!1;function ic(e){const t={};for(const I in e)I in Ci||(t[I]=e[I]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:a=o,appearToClass:d=l,leaveFromClass:p=`${n}-leave-from`,leaveActiveClass:g=`${n}-leave-active`,leaveToClass:T=`${n}-leave-to`}=e,N=oc(r),P=N&&N[0],k=N&&N[1],{onBeforeEnter:b,onEnter:v,onEnterCancelled:H,onLeave:R,onLeaveCancelled:B,onBeforeAppear:q=b,onAppear:D=v,onAppearCancelled:x=H}=t,U=(I,V,F)=>{Ze(I,V?d:l),Ze(I,V?a:o),F&&F()},$=(I,V)=>{I._isLeaving=!1,Ze(I,p),Ze(I,T),Ze(I,g),V&&V()},W=I=>(V,F)=>{const ge=I?D:v,X=()=>U(V,I,F);Xe(ge,[V,X]),or(()=>{Ze(V,I?c:i),De(V,I?d:l),ir(ge)||lr(V,s,P,X)})};return ie(t,{onBeforeEnter(I){Xe(b,[I]),De(I,i),De(I,o)},onBeforeAppear(I){Xe(q,[I]),De(I,c),De(I,a)},onEnter:W(!1),onAppear:W(!0),onLeave(I,V){I._isLeaving=!0;const F=()=>$(I,V);De(I,p),fc(),De(I,g),or(()=>{I._isLeaving&&(Ze(I,p),De(I,T),ir(R)||lr(I,s,k,F))}),Xe(R,[I,F])},onEnterCancelled(I){U(I,!1),Xe(H,[I])},onAppearCancelled(I){U(I,!0),Xe(x,[I])},onLeaveCancelled(I){$(I),Xe(B,[I])}})}function oc(e){if(e==null)return null;if(ee(e))return[Ln(e.enter),Ln(e.leave)];{const t=Ln(e);return[t,t]}}function Ln(e){return Ui(e)}function De(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function Ze(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function or(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let lc=0;function lr(e,t,n,s){const r=e._endId=++lc,i=()=>{r===e._endId&&s()};if(n)return setTimeout(i,n);const{type:o,timeout:l,propCount:c}=cc(e,t);if(!o)return s();const a=o+"end";let d=0;const p=()=>{e.removeEventListener(a,g),i()},g=T=>{T.target===e&&++d>=c&&p()};setTimeout(()=>{d(n[N]||"").split(", "),r=s(`${Be}Delay`),i=s(`${Be}Duration`),o=cr(r,i),l=s(`${Ct}Delay`),c=s(`${Ct}Duration`),a=cr(l,c);let d=null,p=0,g=0;t===Be?o>0&&(d=Be,p=o,g=i.length):t===Ct?a>0&&(d=Ct,p=a,g=c.length):(p=Math.max(o,a),d=p>0?o>a?Be:Ct:null,g=d?d===Be?i.length:c.length:0);const T=d===Be&&/\b(transform|all)(,|$)/.test(s(`${Be}Property`).toString());return{type:d,timeout:p,propCount:g,hasTransform:T}}function cr(e,t){for(;e.lengthfr(n)+fr(e[s])))}function fr(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function fc(){return document.body.offsetHeight}const ar=e=>{const t=e.props["onUpdate:modelValue"]||!1;return L(t)?n=>Qt(t,n):t};function ac(e){e.target.composing=!0}function ur(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const of={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e._assign=ar(r);const i=s||r.props&&r.props.type==="number";ft(e,t?"change":"input",o=>{if(o.target.composing)return;let l=e.value;n&&(l=l.trim()),i&&(l=$n(l)),e._assign(l)}),n&&ft(e,"change",()=>{e.value=e.value.trim()}),t||(ft(e,"compositionstart",ac),ft(e,"compositionend",ur),ft(e,"change",ur))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:s,number:r}},i){if(e._assign=ar(i),e.composing||document.activeElement===e&&e.type!=="range"&&(n||s&&e.value.trim()===t||(r||e.type==="number")&&$n(e.value)===t))return;const o=t??"";e.value!==o&&(e.value=o)}},uc=["ctrl","shift","alt","meta"],dc={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>uc.some(n=>e[`${n}Key`]&&!t.includes(n))},lf=(e,t)=>(n,...s)=>{for(let r=0;rn=>{if(!("key"in n))return;const s=it(n.key);if(t.some(r=>r===s||hc[r]===s))return e(n)},ff={beforeMount(e,{value:t},{transition:n}){e._vod=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):xt(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),xt(e,!0),s.enter(e)):s.leave(e,()=>{xt(e,!1)}):xt(e,t))},beforeUnmount(e,{value:t}){xt(e,t)}};function xt(e,t){e.style.display=t?e._vod:"none"}const pc=ie({patchProp:sc},Wl);let Nn,dr=!1;function gc(){return Nn=dr?Nn:Cl(pc),dr=!0,Nn}const af=(...e)=>{const t=gc().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=mc(s);if(r)return n(r,!0,r instanceof SVGElement)},t};function mc(e){return se(e)?document.querySelector(e):e}const uf=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},_c=window.__VP_SITE_DATA__,xi=/^[a-z]+:/i,df=/^pathname:\/\//,hf="vitepress-theme-appearance",Ei=/#.*$/,bc=/(index)?\.(md|html)$/,ve=typeof document<"u",Ti={relativePath:"",filePath:"",title:"404",description:"Not Found",headers:[],frontmatter:{sidebar:!1,layout:"page"},lastUpdated:0,isNotFound:!0};function yc(e,t,n=!1){if(t===void 0)return!1;if(e=hr(`/${e}`),n)return new RegExp(t).test(e);if(hr(t)!==e)return!1;const s=t.match(Ei);return s?(ve?location.hash:"")===s[0]:!0}function hr(e){return decodeURI(e).replace(Ei,"").replace(bc,"")}function wc(e){return xi.test(e)}function vc(e,t){var s,r,i,o,l,c,a;const n=Object.keys(e.locales).find(d=>d!=="root"&&!wc(d)&&yc(t,`/${d}/`,!0))||"root";return Object.assign({},e,{localeIndex:n,lang:((s=e.locales[n])==null?void 0:s.lang)??e.lang,dir:((r=e.locales[n])==null?void 0:r.dir)??e.dir,title:((i=e.locales[n])==null?void 0:i.title)??e.title,titleTemplate:((o=e.locales[n])==null?void 0:o.titleTemplate)??e.titleTemplate,description:((l=e.locales[n])==null?void 0:l.description)??e.description,head:Ri(e.head,((c=e.locales[n])==null?void 0:c.head)??[]),themeConfig:{...e.themeConfig,...(a=e.locales[n])==null?void 0:a.themeConfig}})}function Ai(e,t){const n=t.title||e.title,s=t.titleTemplate??e.titleTemplate;if(typeof s=="string"&&s.includes(":title"))return s.replace(/:title/g,n);const r=Cc(e.title,s);return`${n}${r}`}function Cc(e,t){return t===!1?"":t===!0||t===void 0?` | ${e}`:e===t?"":` | ${t}`}function xc(e,t){const[n,s]=t;if(n!=="meta")return!1;const r=Object.entries(s)[0];return r==null?!1:e.some(([i,o])=>i===n&&o[r[0]]===r[1])}function Ri(e,t){return[...e.filter(n=>!xc(t,n)),...t]}const Ec=/[\u0000-\u001F"#$&*+,:;<=>?[\]^`{|}\u007F]/g,Tc=/^[a-z]:/i;function pr(e){const t=Tc.exec(e),n=t?t[0]:"";return n+e.slice(n.length).replace(Ec,"_").replace(/(^|\/)_+(?=[^/]*$)/,"$1")}const Ac=Symbol(),nt=xo(_c);function pf(e){const t=Ee(()=>vc(nt.value,e.data.relativePath));return{site:t,theme:Ee(()=>t.value.themeConfig),page:Ee(()=>e.data),frontmatter:Ee(()=>e.data.frontmatter),params:Ee(()=>e.data.params),lang:Ee(()=>t.value.lang),dir:Ee(()=>t.value.dir),localeIndex:Ee(()=>t.value.localeIndex||"root"),title:Ee(()=>Ai(t.value,e.data)),description:Ee(()=>e.data.description||t.value.description),isDark:ps(!1)}}function gf(){const e=gt(Ac);if(!e)throw new Error("vitepress data not properly injected in app");return e}function Rc(e,t){return`${e}${t}`.replace(/\/+/g,"/")}function gr(e){return xi.test(e)||e.startsWith(".")?e:Rc(nt.value.base,e)}function Pc(e){let t=e.replace(/\.html$/,"");if(t=decodeURIComponent(t),t=t.replace(/\/$/,"/index"),ve){const n="/";t=pr(t.slice(n.length).replace(/\//g,"_")||"index")+".md";let s=__VP_HASH_MAP__[t.toLowerCase()];s||(t=t.endsWith("_index.md")?t.slice(0,-9)+".md":t.slice(0,-3)+"_index.md",s=__VP_HASH_MAP__[t.toLowerCase()]),t=`${n}assets/${t}.${s}.js`}else t=`./${pr(t.slice(1).replace(/\//g,"_"))}.md.js`;return t}let tn=[];function mf(e){tn.push(e),En(()=>{tn=tn.filter(t=>t!==e)})}const Ic=Symbol(),mr="http://a.com",Oc=()=>({path:"/",component:null,data:Ti});function _f(e,t){const n=mn(Oc()),s={route:n,go:r};async function r(l=ve?location.href:"/"){var a,d;await((a=s.onBeforeRouteChange)==null?void 0:a.call(s,l));const c=new URL(l,mr);nt.value.cleanUrls||!c.pathname.endsWith("/")&&!c.pathname.endsWith(".html")&&(c.pathname+=".html",l=c.pathname+c.search+c.hash),ve&&l!==location.href&&(history.replaceState({scrollPosition:window.scrollY},document.title),history.pushState(null,"",l)),await o(l),await((d=s.onAfterRouteChanged)==null?void 0:d.call(s,l))}let i=null;async function o(l,c=0,a=!1){const d=new URL(l,mr),p=i=d.pathname;try{let g=await e(p);if(i===p){i=null;const{default:T,__pageData:N}=g;if(!T)throw new Error(`Invalid route component: ${T}`);n.path=ve?p:gr(p),n.component=Rt(T),n.data=Rt(N),ve&&Kr(()=>{let P=nt.value.base+N.relativePath.replace(/(?:(^|\/)index)?\.md$/,"$1");if(!nt.value.cleanUrls&&!P.endsWith("/")&&(P+=".html"),P!==d.pathname&&(d.pathname=P,l=P+d.search+d.hash,history.replaceState(null,"",l)),d.hash&&!c){let k=null;try{k=document.querySelector(decodeURIComponent(d.hash))}catch(b){console.warn(b)}if(k){_r(k,d.hash);return}}window.scrollTo(0,c)})}}catch(g){if(!/fetch/.test(g.message)&&!/^\/404(\.html|\/)?$/.test(l)&&console.error(g),!a)try{const T=await fetch(nt.value.base+"hashmap.json");window.__VP_HASH_MAP__=await T.json(),await o(l,c,!0);return}catch{}i===p&&(i=null,n.path=ve?p:gr(p),n.component=t?Rt(t):null,n.data=Ti)}}return ve&&(window.addEventListener("click",l=>{if(l.target.closest("button"))return;const a=l.target.closest("a");if(a&&!a.closest(".vp-raw")&&(a instanceof SVGElement||!a.download)){const{target:d}=a,{href:p,origin:g,pathname:T,hash:N,search:P}=new URL(a.href instanceof SVGAnimatedString?a.href.animVal:a.href,a.baseURI),k=window.location,b=T.match(/\.\w+$/);!l.ctrlKey&&!l.shiftKey&&!l.altKey&&!l.metaKey&&d!=="_blank"&&g===k.origin&&!(b&&b[0]!==".html")&&(l.preventDefault(),T===k.pathname&&P===k.search?N&&(N!==k.hash&&(history.pushState(null,"",N),window.dispatchEvent(new Event("hashchange"))),_r(a,N,a.classList.contains("header-anchor"))):r(p))}},{capture:!0}),window.addEventListener("popstate",l=>{o(location.href,l.state&&l.state.scrollPosition||0)}),window.addEventListener("hashchange",l=>{l.preventDefault()})),s}function Fc(){const e=gt(Ic);if(!e)throw new Error("useRouter() is called without provider.");return e}function Pi(){return Fc().route}function _r(e,t,n=!1){let s=null;try{s=e.classList.contains("header-anchor")?e:document.querySelector(decodeURIComponent(t))}catch(r){console.warn(r)}if(s){const r=nt.value.scrollOffset;let i=0;if(typeof r=="number")i=r;else if(typeof r=="string")i=br(r);else if(Array.isArray(r))for(const c of r){const a=br(c);if(a){i=a;break}}const o=parseInt(window.getComputedStyle(s).paddingTop,10),l=window.scrollY+s.getBoundingClientRect().top-i+o;!n||Math.abs(l-window.scrollY)>window.innerHeight?window.scrollTo(0,l):window.scrollTo({left:0,top:l,behavior:"smooth"})}}function br(e){const t=document.querySelector(e);if(!t)return 0;const n=t.getBoundingClientRect().bottom;return n<0?0:n+24}const yr=()=>tn.forEach(e=>e()),bf=Zr({name:"VitePressContent",props:{as:{type:[Object,String],default:"div"}},setup(e){const t=Pi();return()=>Xn(e.as,{style:{position:"relative"}},[t.component?Xn(t.component,{onVnodeMounted:yr,onVnodeUpdated:yr}):"404 Page Not Found"])}}),Mc="modulepreload",Sc=function(e){return"/"+e},wr={},yf=function(t,n,s){if(!n||n.length===0)return t();const r=document.getElementsByTagName("link");return Promise.all(n.map(i=>{if(i=Sc(i),i in wr)return;wr[i]=!0;const o=i.endsWith(".css"),l=o?'[rel="stylesheet"]':"";if(!!s)for(let d=r.length-1;d>=0;d--){const p=r[d];if(p.href===i&&(!o||p.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${l}`))return;const a=document.createElement("link");if(a.rel=o?"stylesheet":Mc,o||(a.as="script",a.crossOrigin=""),a.href=i,document.head.appendChild(a),o)return new Promise((d,p)=>{a.addEventListener("load",d),a.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${i}`)))})})).then(()=>t()).catch(i=>{const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=i,window.dispatchEvent(o),!o.defaultPrevented)throw i})};function wf(e,t){let n=[],s=!0;const r=i=>{if(s){s=!1;return}n.forEach(o=>document.head.removeChild(o)),n=[],i.forEach(o=>{const l=Lc(o);document.head.appendChild(l),n.push(l)})};Vo(()=>{const i=e.data,o=t.value,l=i&&i.description,c=i&&i.frontmatter.head||[];document.title=Ai(o,i),document.querySelector("meta[name=description]").setAttribute("content",l||o.description),r(Ri(o.head,Hc(c)))})}function Lc([e,t,n]){const s=document.createElement(e);for(const r in t)s.setAttribute(r,t[r]);return n&&(s.innerHTML=n),s}function Nc(e){return e[0]==="meta"&&e[1]&&e[1].name==="description"}function Hc(e){return e.filter(t=>!Nc(t))}const Hn=new Set,Ii=()=>document.createElement("link"),$c=e=>{const t=Ii();t.rel="prefetch",t.href=e,document.head.appendChild(t)},Uc=e=>{const t=new XMLHttpRequest;t.open("GET",e,t.withCredentials=!0),t.send()};let Xt;const jc=ve&&(Xt=Ii())&&Xt.relList&&Xt.relList.supports&&Xt.relList.supports("prefetch")?$c:Uc;function vf(){if(!ve||!window.IntersectionObserver)return;let e;if((e=navigator.connection)&&(e.saveData||/2g/.test(e.effectiveType)))return;const t=window.requestIdleCallback||setTimeout;let n=null;const s=()=>{n&&n.disconnect(),n=new IntersectionObserver(i=>{i.forEach(o=>{if(o.isIntersecting){const l=o.target;n.unobserve(l);const{pathname:c}=l;if(!Hn.has(c)){Hn.add(c);const a=Pc(c);jc(a)}}})}),t(()=>{document.querySelectorAll("#app a").forEach(i=>{const{target:o}=i,{hostname:l,pathname:c}=new URL(i.href instanceof SVGAnimatedString?i.href.animVal:i.href,i.baseURI),a=c.match(/\.\w+$/);a&&a[0]!==".html"||o!=="_blank"&&l===location.hostname&&(c!==location.pathname?n.observe(i):Hn.add(c))})})};xn(s);const r=Pi();Gt(()=>r.path,s),En(()=>{n&&n.disconnect()})}const Cf=Zr({setup(e,{slots:t}){const n=ps(!1);return xn(()=>{n.value=!0}),()=>n.value&&t.default?t.default():null}});function xf(){if(ve){const e=new Map;window.addEventListener("click",t=>{var s;const n=t.target;if(n.matches('div[class*="language-"] > button.copy')){const r=n.parentElement,i=(s=n.nextElementSibling)==null?void 0:s.nextElementSibling;if(!r||!i)return;const o=/language-(shellscript|shell|bash|sh|zsh)/.test(r.className);let l="";i.querySelectorAll("span.line:not(.diff.remove)").forEach(c=>l+=(c.textContent||"")+` -`),l=l.slice(0,-1),o&&(l=l.replace(/^ *(\$|>) /gm,"").trim()),Bc(l).then(()=>{n.classList.add("copied"),clearTimeout(e.get(n));const c=setTimeout(()=>{n.classList.remove("copied"),n.blur(),e.delete(n)},2e3);e.set(n,c)})}})}}async function Bc(e){try{return navigator.clipboard.writeText(e)}catch{const t=document.createElement("textarea"),n=document.activeElement;t.value=e,t.setAttribute("readonly",""),t.style.contain="strict",t.style.position="absolute",t.style.left="-9999px",t.style.fontSize="12pt";const s=document.getSelection(),r=s?s.rangeCount>0&&s.getRangeAt(0):null;document.body.appendChild(t),t.select(),t.selectionStart=0,t.selectionEnd=e.length,document.execCommand("copy"),document.body.removeChild(t),r&&(s.removeAllRanges(),s.addRange(r)),n&&n.focus()}}function Ef(){ve&&window.addEventListener("click",e=>{var n,s;const t=e.target;if(t.matches(".vp-code-group input")){const r=(n=t.parentElement)==null?void 0:n.parentElement,i=Array.from((r==null?void 0:r.querySelectorAll("input"))||[]).indexOf(t),o=r==null?void 0:r.querySelector('div[class*="language-"].active'),l=(s=r==null?void 0:r.querySelectorAll('div[class*="language-"]:not(.language-id)'))==null?void 0:s[i];o&&l&&o!==l&&(o.classList.remove("active"),l.classList.add("active"))}})}export{mf as $,hi as A,jo as B,rf as C,Jc as D,Fl as E,he as F,fe as G,yf as H,tf as I,Yc as J,lf as K,of as L,Zc as M,ff as N,Xc as O,df as P,xi as Q,ve as R,Vc as S,vi as T,qc as U,sf as V,hf as W,gt as X,gl as Y,tl as Z,uf as _,mi as a,xo as a0,ss as a1,Kr as a2,Gc as a3,cf as a4,zc as a5,ef as a6,wf as a7,Ic as a8,pf as a9,Ac as aa,bf as ab,Cf as ac,nt as ad,af as ae,_f as af,Pc as ag,vf as ah,xf as ai,Ef as aj,Xn as ak,To as b,nf as c,Zr as d,Wc as e,$r as f,kc as g,ps as h,zi as i,Kc as j,Vo as k,Ee as l,_i as m,rs as n,ui as o,xn as p,wc as q,Qc as r,gr as s,Dc as t,gf as u,yc as v,Gt as w,Pi as x,En as y,gi as z}; diff --git a/assets/chunks/index.3b745ef0.js b/assets/chunks/index.4ffa16ab.js similarity index 95% rename from assets/chunks/index.3b745ef0.js rename to assets/chunks/index.4ffa16ab.js index e06f9a0..624e28d 100644 --- a/assets/chunks/index.3b745ef0.js +++ b/assets/chunks/index.4ffa16ab.js @@ -1 +1 @@ -import{D as n,o as r,c as s,z as e,G as i,t as _,n as o,r as x}from"./framework.7384f92b.js";const c={class:"my-2 max-w-xs rounded-lg bg-white px-4 py-4 shadow-xl ring-1 ring-slate-900/5 dark:bg-slate-800"},d={class:"drop-shadow-lg"},b={__name:"Alerts",props:["options"],setup(t){return(l,p)=>{const a=n("Badge");return r(),s("div",c,[e("div",null,[e("span",d,[i(a,{type:t.options.type,text:t.options.badge_content},null,8,["type","text"])])]),e("div",{class:o(["mt-2 pl-1 text-2xl font-bold tracking-tight text-slate-900",t.options.title_color])},_(t.options.title),3),e("p",{class:o(["mt-2 pl-1 text-sm",t.options.text_color])},[x(l.$slots,"content")],2)])}}},u={user_warning:{type:"warning",title:"",title_color:"text-[orange]",text_color:"text-slate-500 dark:text-slate-400",badge_content:"CAUTION"},led_power_warning:{type:"danger",title:"Please pay attention",title_color:"text-[#b63a61] dark:text-[#ea4b7d]",text_color:"text-orange-400 dark:text-orange-500",badge_content:"WARNING"},parts_list_one:{type:"warning",title:"",title_color:"text-[orange]",text_color:"text-slate-500 dark:text-slate-400",badge_content:"CAUTION"},parts_list_two:{type:"info",title:"",title_color:"text-[blue]",text_color:"text-slate-500 dark:text-slate-400",badge_content:"NOTE"},parts_list_three:{type:"info",title:"",title_color:"text-[blue]",text_color:"text-slate-500 dark:text-slate-400",badge_content:"NOTE"},parts_list_four:{type:"info",title:"",title_color:"text-[blue]",text_color:"text-slate-500 dark:text-slate-400",badge_content:"NOTE"},parts_list_five:{type:"warning",title:"",title_color:"text-[orange]",text_color:"text-slate-500 dark:text-slate-400",badge_content:"CAUTION"},parts_list_six:{type:"tip",title:"",title_color:"text-[green]",text_color:"text-slate-500 dark:text-slate-400",badge_content:"TIP"},upload_firmware_one:{type:"info",title:"",title_color:"text-[blue]",text_color:"text-slate-500 dark:text-slate-400",badge_content:"NOTE"},configure_firmware_one:{type:"info",title:"",title_color:"text-[blue]",text_color:"text-slate-500 dark:text-slate-400",badge_content:"NOTE"},build_software_one:{type:"info",title:"",title_color:"text-[blue]",text_color:"text-slate-500 dark:text-slate-400",badge_content:"NOTE"},eyetrack_vr_guide_one:{type:"info",title:"",title_color:"text-[blue]",text_color:"text-slate-500 dark:text-slate-400",badge_content:"NOTE"},eyetrack_vr_guide_two:{type:"info",title:"",title_color:"text-[blue]",text_color:"text-slate-500 dark:text-slate-400",badge_content:"NOTE"},vrc_avatar_setup:{type:"info",title:"",title_color:"text-[blue]",text_color:"text-slate-500 dark:text-slate-400",badge_content:"NOTE"},end_one:{type:"info",title:"",title_color:"text-[blue]",text_color:"text-slate-500 dark:text-slate-400",badge_content:"NOTE"}};export{b as _,u as a}; +import{A as n,o as r,c as s,v as e,C as i,t as _,n as o,r as x}from"./framework.17985c0a.js";const c={class:"my-2 max-w-xs rounded-lg bg-white px-4 py-4 shadow-xl ring-1 ring-slate-900/5 dark:bg-slate-800"},d={class:"drop-shadow-lg"},b={__name:"Alerts",props:["options"],setup(t){return(l,p)=>{const a=n("Badge");return r(),s("div",c,[e("div",null,[e("span",d,[i(a,{type:t.options.type,text:t.options.badge_content},null,8,["type","text"])])]),e("div",{class:o(["mt-2 pl-1 text-2xl font-bold tracking-tight text-slate-900",t.options.title_color])},_(t.options.title),3),e("p",{class:o(["mt-2 pl-1 text-sm",t.options.text_color])},[x(l.$slots,"content")],2)])}}},u={user_warning:{type:"warning",title:"",title_color:"text-[orange]",text_color:"text-slate-500 dark:text-slate-400",badge_content:"CAUTION"},led_power_warning:{type:"danger",title:"Please pay attention",title_color:"text-[#b63a61] dark:text-[#ea4b7d]",text_color:"text-orange-400 dark:text-orange-500",badge_content:"WARNING"},parts_list_one:{type:"warning",title:"",title_color:"text-[orange]",text_color:"text-slate-500 dark:text-slate-400",badge_content:"CAUTION"},parts_list_two:{type:"info",title:"",title_color:"text-[blue]",text_color:"text-slate-500 dark:text-slate-400",badge_content:"NOTE"},parts_list_three:{type:"info",title:"",title_color:"text-[blue]",text_color:"text-slate-500 dark:text-slate-400",badge_content:"NOTE"},parts_list_four:{type:"info",title:"",title_color:"text-[blue]",text_color:"text-slate-500 dark:text-slate-400",badge_content:"NOTE"},parts_list_five:{type:"warning",title:"",title_color:"text-[orange]",text_color:"text-slate-500 dark:text-slate-400",badge_content:"CAUTION"},parts_list_six:{type:"tip",title:"",title_color:"text-[green]",text_color:"text-slate-500 dark:text-slate-400",badge_content:"TIP"},upload_firmware_one:{type:"info",title:"",title_color:"text-[blue]",text_color:"text-slate-500 dark:text-slate-400",badge_content:"NOTE"},configure_firmware_one:{type:"info",title:"",title_color:"text-[blue]",text_color:"text-slate-500 dark:text-slate-400",badge_content:"NOTE"},build_software_one:{type:"info",title:"",title_color:"text-[blue]",text_color:"text-slate-500 dark:text-slate-400",badge_content:"NOTE"},eyetrack_vr_guide_one:{type:"info",title:"",title_color:"text-[blue]",text_color:"text-slate-500 dark:text-slate-400",badge_content:"NOTE"},eyetrack_vr_guide_two:{type:"info",title:"",title_color:"text-[blue]",text_color:"text-slate-500 dark:text-slate-400",badge_content:"NOTE"},vrc_avatar_setup:{type:"info",title:"",title_color:"text-[blue]",text_color:"text-slate-500 dark:text-slate-400",badge_content:"NOTE"},end_one:{type:"info",title:"",title_color:"text-[blue]",text_color:"text-slate-500 dark:text-slate-400",badge_content:"NOTE"}};export{b as _,u as a}; diff --git a/assets/chunks/index.9f7265df.js b/assets/chunks/index.9f7265df.js deleted file mode 100644 index cbfbafe..0000000 --- a/assets/chunks/index.9f7265df.js +++ /dev/null @@ -1 +0,0 @@ -import{o as i,c as a,z as m,a1 as o,a as p,t as e,C as r}from"./framework.7384f92b.js";const n={align:"center",class:"mb-4"},h=["href"],l=["src","alt"],_=["href"],d=["src","alt"],s={key:2},x=m("br",null,null,-1),g=["href"],u={class:"iconify","data-icon":"mdi:open-in-new","data-inline":"false"},v={__name:"ImageComponent",props:["options"],setup(t){return(c,w)=>(i(),a("div",n,[m("figure",null,[t.options.url_2?(i(),a("a",{key:0,class:"no_icon",target:"_blank",rel:"noopener",href:t.options.url_2},[m("img",{class:"docimage max-w-full h-auto rounded-lg",src:t.options.url,alt:t.options.alt,style:o(t.options.max_width)},null,12,l)],8,h)):(i(),a("a",{key:1,class:"no_icon",target:"_blank",rel:"noopener",href:t.options.url},[m("img",{class:"docimage max-w-full h-auto rounded-lg",src:t.options.url,alt:t.options.alt,style:o(t.options.max_width)},null,12,d)],8,_)),t.options.caption?(i(),a("figcaption",s,[x,p(" "+e(t.options.caption)+" ",1),t.options.caption_link?(i(),a("a",{key:0,href:t.options.caption_link,target:"_blank"},[m("span",u,e(t.options.caption_link),1)],8,g)):r("",!0)])):r("",!0)])]))}},b={image_one:{url:"https://i.imgur.com/j18rRI7.jpg",alt:"'img of components'",caption:"'ESPs, cams, a programmer and a USB connector'",max_width:"max-width: 400px;"},discord_content:{url:"https://discord.com/api/guilds/946212245187199026/widget.png?style=banner3",url_2:"https://discord.gg/kkXYbVykZX",alt:"'discord banner'",max_width:"max-width: 400px;"},external_antenna:{url:"https://i.imgur.com/OzpxFMD.png",alt:"'img of external antenna'",caption:"Image from:",caption_link:"https://randomnerdtutorials.com/esp32-cam-connect-external-antenna",max_width:"max-width: 400px;"},external_antenna_resistors:{url:"https://i.imgur.com/RIFpNqW.jpg",alt:"'img of external antenna resistors'",max_width:"max-width: 400px;"},camera_socket:{url:"https://i.imgur.com/T5asLGN.jpg",alt:"'img of camera socket'",max_width:"max-width: 400px;"},camera_socket_clip:{url:"https://i.imgur.com/Z8b8Sin.jpg",alt:"'img of camera clip'",max_width:"max-width: 400px;"},camera_cable:{url:"https://i.imgur.com/dDBIi9j.jpg",alt:"'img of camera cable'",max_width:"max-width: 400px;"},camera_clip_close:{url:"https://i.imgur.com/VnFi5XS.jpg",alt:"'img of camera cable'",max_width:"max-width: 400px;"},_7_12_one:{url:"https://i.imgur.com/LsLPAcd.jpg",alt:"",max_width:"max-width: 400px;"},_7_12_two:{url:"https://i.imgur.com/Cdu9lSN.jpg",alt:"",max_width:"max-width: 400px;"},_7_12_three:{url:"https://i.imgur.com/QlRrWNn.jpg",alt:"",max_width:"max-width: 400px;"},_13_18_one:{url:"https://i.imgur.com/DhnmLBG.jpg",alt:"",max_width:"max-width: 400px;"},_13_18_two:{url:"https://i.imgur.com/PWA0gtq.jpg",alt:"",max_width:"max-width: 400px;"},_13_18_three:{url:"https://i.imgur.com/0zXY79j.jpg",alt:"",caption:"357ohm resistors and V3 PCBs",max_width:"max-width: 400px;"},_13_18_four:{url:"https://i.imgur.com/n1noWKq.png",alt:"",caption:"V3",max_width:"max-width: 400px;"},_13_18_five:{url:"https://i.imgur.com/Ap8OAWY.png",alt:"",caption:"The green markings and notched corners mark the positive sides of the LEDs pictured above.",max_width:"max-width: 400px;"},_13_18_six:{url:"https://i.imgur.com/gb4etdB.jpg",alt:"",caption:"",max_width:"max-width: 400px;"},_13_18_seven:{url:"https://i.imgur.com/ev5QFch.jpg",alt:"",caption:"",max_width:"max-width: 400px;"},_13_18_eight:{url:"https://i.imgur.com/8jCQOHw.jpg",alt:"",caption:"",max_width:"max-width: 400px;"},_13_18_nine:{url:"https://i.imgur.com/CHUb7Iv.jpg",alt:"",caption:"",max_width:"max-width: 400px;"},_13_18_ten:{url:"https://i.imgur.com/jZYAm5O.jpg",alt:"",caption:"",max_width:"max-width: 400px;"},end_one:{url:"https://i.imgur.com/pjvLHJL.jpg",alt:"",caption:"",max_width:"max-width: 400px;"},end_two:{url:"https://i.imgur.com/RbHZQhl.jpg",alt:"",caption:"",max_width:"max-width: 400px;"},end_three:{url:"https://i.imgur.com/VyClWvp.jpg",alt:"",caption:"",max_width:"max-width: 400px;"},end_four:{url:"https://i.imgur.com/tFCQTqE.jpg",alt:"",caption:"",max_width:"max-width: 400px;"},end_five:{url:"https://i.imgur.com/tFCQTqE.jpeg",alt:"",caption:"",max_width:"max-width: 400px;"},end_six:{url:"https://i.imgur.com/pqDgpYP.png",alt:"",caption:"",max_width:"max-width: 500px;"},end_seven:{url:"https://i.imgur.com/bEq6Ww0.jpg",alt:"",caption:"",max_width:"max-width: 400px;"},end_eight:{url:"https://i.imgur.com/r2Jo45t.png",alt:"",caption:"",max_width:"max-width: 400px;"},end_nine:{url:"https://i.imgur.com/a6ERUFx.png",alt:"",caption:"",max_width:"max-width: 500px;"},end_ten:{url:"https://i.imgur.com/Wy89UWy.jpg",alt:"",caption:"",max_width:"max-width: 500px;"},end_eleven:{url:"https://i.imgur.com/LtKOLWo.jpg",alt:"",caption:"",max_width:"max-width: 500px;"},end_twelve:{url:"https://i.imgur.com/9mty1bv.png",alt:"",caption:"",max_width:"max-width: 500px;"},end_thirteen:{url:"https://i.imgur.com/ArLO1ls.jpg",alt:"",caption:"",max_width:"max-width: 500px;"},end_fourteen:{url:"https://i.imgur.com/ZIecsMM.jpg",alt:"",caption:"",max_width:"max-width: 500px;"},end_fifteen:{url:"https://i.imgur.com/tYD1KKe.png",alt:"",caption:"",max_width:"max-width: 500px;"},end_sixteen:{url:"https://i.imgur.com/3rCRU5A.jpg",alt:"",caption:"",max_width:"max-width: 500px;"},upload_firmware_image_one:{url:"https://i.imgur.com/dSPSpkY.png",alt:"'platformio serial monitor button'",max_width:"max-width: 500px;"},upload_firmware_image_two:{url:"https://i.imgur.com/PoHP3NC.png",alt:"'img of platformio serial monitor'",max_width:"max-width: 600px;"},upload_firmware_build_button:{url:"https://i.imgur.com/5E5u5Jz.png",alt:"'Selecting platformio environment'",max_width:"max-width: 600px;"},upload_firmware_webpage:{url:"https://i.imgur.com/wMXdZcJ.png",alt:"'Firmware uploading web page'",max_width:"max-width: 600px;"},upload_firmware_webpage_directory:{url:"https://i.imgur.com/KnnB28z.png",alt:"'An example of how the bin file directory looks like'",max_width:"max-width: 600px;"},upload_firmware_webpage_directory_file:{url:"https://i.imgur.com/Ujx3iaG.png",alt:"'An example of how the bin file looks like'",max_width:"max-width: 600px;"},upload_firmware_webpage_upload_finished:{url:"https://i.imgur.com/O2KzHAN.png",alt:"'A finished OTA upload'",max_width:"max-width: 600px;"},upload_firmware_select_env:{url:"https://i.imgur.com/8sn6FSe.png",alt:"'An example of how the popup list of envs looks like'",max_width:"max-width: 600px;"},upload_firmware_select_env_dropdown:{url:"https://i.imgur.com/nRpuBSI.png",alt:"'An example of how the button for selecting env looks like'",max_width:"max-width: 600px;"},ant_logo_platformio:{url:"https://i.imgur.com/B6zK6n8.png",alt:"Platformio logo button",max_width:"max-width: 600px;"},platformio_quick_access:{url:"https://i.imgur.com/94Xgg9k.png",alt:"Platformio logo Quick Access Section",max_width:"max-width: 600px;"},platformio_quick_access_miscellaneous:{url:"https://i.imgur.com/Zoolr2M.png",alt:"Platformio miscellaneous section",max_width:"max-width: 600px;"},platformio_quick_access_upgrade_core:{url:"https://i.imgur.com/nOF817M.png",alt:"Platformio upgrade core button",max_width:"max-width: 600px;"},platformio_pio_home:{url:"https://i.imgur.com/M7ZYAtU.png",alt:"Platformio open home",max_width:"max-width: 600px;"},platformio_pio_sidebar_platforms:{url:"https://i.imgur.com/LgnU4HG.png",alt:"Platformio platforms sidebar",max_width:"max-width: 600px;"},platformio_pio_sidebar_platforms_updates:{url:"https://i.imgur.com/ZsKos2E.png",alt:"Platformio platforms sections",max_width:"max-width: 600px;"},platformio_pio_espressif32:{url:"https://i.imgur.com/mQdM6X2.png",alt:"Platformio platforms update view",max_width:"max-width: 600px;"},setup_vscode_image_one:{url:"https://i.imgur.com/jXPXIFz.gif",alt:"'img'",max_width:"max-width: 500px;"},setup_vscode_image_two:{url:"https://i.imgur.com/hAm3Zu0.gif",alt:"'img'",max_width:"max-width: 500px;"},setup_vscode_image_three:{url:"https://i.imgur.com/ebV0IgT.gif",alt:"'img'",max_width:"max-width: 500px;"},setup_vscode_image_four:{url:"https://i.imgur.com/DWO5vkE.png",alt:"'img'",max_width:"max-width: 500px;"},setup_vscode_image_five:{url:"https://i.imgur.com/fJs4GJR.png",alt:"'img'",max_width:"max-width: 500px;"},setup_vscode_image_six:{url:"https://i.imgur.com/YbXpX7t.png",alt:"'img'",max_width:"max-width: 500px;"},setup_vscode_image_seven:{url:"https://i.imgur.com/c61Cpaz.gif",alt:"'img'",max_width:"max-width: 500px;"},configure_firmware_one:{url:"https://i.imgur.com/1Ficr7f.png",alt:"'img'",max_width:"max-width: 500px;"},configure_firmware_two:{url:"https://i.imgur.com/Sq4iQJe.png",alt:"'img'",max_width:"max-width: 500px;"},eyetrack_vr_guide_one:{url:"https://i.imgur.com/olwRFYI.png",alt:"'img'",max_width:"max-width: 500px;"},eyetrack_vr_guide_two:{url:"https://i.imgur.com/Ugzzgbh.png",alt:"'img'",max_width:"max-width: 500px;"},eyetrack_vr_guide_three:{url:"https://i.imgur.com/z6V7A71.png",alt:"'img'",max_width:"max-width: 500px;"},eyetrack_vr_guide_four:{url:"https://i.imgur.com/MJb2h74.png",alt:"'img'",caption:"See the Awating Eye Cropping Settings text?",max_width:"max-width: 500px;"},eyetrack_vr_guide_five:{url:"https://i.imgur.com/1pNYITS.png",alt:"'img'",caption:":O It's my eye!",max_width:"max-width: 500px;"},eyetrack_vr_guide_six:{url:"https://i.imgur.com/HZSvFBv.png",alt:"'img'",max_width:"max-width: 500px;"},eyetrack_vr_guide_seven:{url:"https://i.imgur.com/xXTB3sM.png",alt:"'img'",caption:"It's crooked!",max_width:"max-width: 500px;"},eyetrack_vr_guide_eight:{url:"https://i.imgur.com/blsrpCX.png",alt:"'img'",caption:"Much better!",max_width:"max-width: 500px;"},eyetrack_vr_guide_nine:{url:"https://i.imgur.com/30fFadH.png",alt:"'img'",caption:"Much better!",max_width:"max-width: 500px;"},eyetrack_vr_guide_ten:{url:"https://i.imgur.com/ZjpKfCV.png",alt:"'img'",caption:"Much better!",max_width:"max-width: 500px;"},eyetrack_vr_guide_eleven:{url:"https://i.imgur.com/KPUn8S1.png",alt:"'img'",caption:"Much better!",max_width:"max-width: 500px;"},fox_ir_build_instructions_one:{url:"https://i.imgur.com/WyoVdcR.jpg",alt:"'img'",caption:"698ohm resistors and V2 PCBs",max_width:"max-width: 400px;"},fox_ir_build_instructions_two:{url:"https://i.imgur.com/sNB6ju2.png",alt:"'img'",caption:"V2",max_width:"max-width: 400px;"},fox_ir_build_instructions_three:{url:"https://i.imgur.com/Ap8OAWY.png",alt:"'img'",caption:"The green markings and notched corners mark the positive sides of the LEDs pictured above.",max_width:"max-width: 400px;"},fox_ir_build_instructions_four:{url:"https://i.imgur.com/ayQ5vkf.jpg",alt:"'img'",max_width:"max-width: 400px;"},fox_ir_build_instructions_five:{url:"https://i.imgur.com/DpFwecO.jpg",alt:"'img'",max_width:"max-width: 400px;"},fox_ir_build_instructions_six:{url:"https://i.imgur.com/50ydMrl.jpg",alt:"'img'",max_width:"max-width: 400px;"},fox_ir_build_instructions_seven:{url:"https://i.imgur.com/Qq3cvxi.jpg",alt:"'img'",max_width:"max-width: 400px;"},fox_ir_build_instructions_eight:{url:"https://i.imgur.com/yWGaKaC.jpg",alt:"'img'",max_width:"max-width: 400px;"},fox_ir_build_instructions_nine:{url:"https://i.imgur.com/Ql4zYCq.jpg",alt:"'img'",max_width:"max-width: 400px;"},fox_ir_build_instructions_ten:{url:"https://i.imgur.com/Xrczoyv.jpg",alt:"'img'",max_width:"max-width: 400px;"},fox_ir_build_instructions_eleven:{url:"https://i.imgur.com/KKgP8qs.jpg",alt:"'img'",max_width:"max-width: 400px;"},fox_ir_build_instructions_twelve:{url:"https://i.imgur.com/SvbHAuY.jpg",alt:"'img'",caption:"The LED is flipped in this Image, the green dot should face AWAY from the PCB.",max_width:"max-width: 400px;"},fox_ir_build_instructions_thirteen:{url:"https://i.imgur.com/gopjVG3.png",alt:"'drawing'",max_width:"max-width: 500px;"},pio_upgrade_command:{url:"https://i.imgur.com/taDa3vj.png",alt:"pio upgrade command in the terminal",max_width:"max-width: 500px;"},unity_vrc_expressions:{url:"https://i.imgur.com/hdbJQ0h.png",alt:"Screenshot showing expressions section of vrc avatar descriptor",max_width:"max-width: 600px;"},unity_vrc_expressions_add_fields:{url:"https://i.imgur.com/VGA0zqb.png",alt:"Screenshot showing adding parameters to parameter menu",max_width:"max-width: 600px;"},unity_vrc_expressions_fields:{url:"https://i.imgur.com/hkcT013.png",alt:"Screenshot showing the params that need to be added",max_width:"max-width: 600px;"},unity_vrc_empty_control:{url:"https://i.imgur.com/PluHjmI.png",alt:"Screenshot showing the the empty controls field",max_width:"max-width: 600px;"},unity_vrc_control_setup:{url:"https://i.imgur.com/XgN2230.png",alt:"Screenshot showing the the controls setup",max_width:"max-width: 600px;"},esp_board_env:{url:"https://i.imgur.com/5BbQmCE.gif",alt:"GIF showing a switch of board enviroments.",max_width:"max-width: 600px;"}};export{v as _,b as i}; diff --git a/assets/chunks/index.d657d51d.js b/assets/chunks/index.d657d51d.js new file mode 100644 index 0000000..216c7b5 --- /dev/null +++ b/assets/chunks/index.d657d51d.js @@ -0,0 +1 @@ +import{o as i,c as a,v as m,$ as o,a as p,t as e,z as r}from"./framework.17985c0a.js";const n={align:"center",class:"mb-4"},h=["href"],l=["src","alt"],_=["href"],d=["src","alt"],s={key:2},x=m("br",null,null,-1),g=["href"],u={class:"iconify","data-icon":"mdi:open-in-new","data-inline":"false"},v={__name:"ImageComponent",props:["options"],setup(t){return(c,w)=>(i(),a("div",n,[m("figure",null,[t.options.url_2?(i(),a("a",{key:0,class:"no_icon",target:"_blank",rel:"noopener",href:t.options.url_2},[m("img",{class:"docimage max-w-full h-auto rounded-lg",src:t.options.url,alt:t.options.alt,style:o(t.options.max_width)},null,12,l)],8,h)):(i(),a("a",{key:1,class:"no_icon",target:"_blank",rel:"noopener",href:t.options.url},[m("img",{class:"docimage max-w-full h-auto rounded-lg",src:t.options.url,alt:t.options.alt,style:o(t.options.max_width)},null,12,d)],8,_)),t.options.caption?(i(),a("figcaption",s,[x,p(" "+e(t.options.caption)+" ",1),t.options.caption_link?(i(),a("a",{key:0,href:t.options.caption_link,target:"_blank"},[m("span",u,e(t.options.caption_link),1)],8,g)):r("",!0)])):r("",!0)])]))}},b={image_one:{url:"https://i.imgur.com/j18rRI7.jpg",alt:"'img of components'",caption:"'ESPs, cams, a programmer and a USB connector'",max_width:"max-width: 400px;"},discord_content:{url:"https://discord.com/api/guilds/946212245187199026/widget.png?style=banner3",url_2:"https://discord.gg/kkXYbVykZX",alt:"'discord banner'",max_width:"max-width: 400px;"},external_antenna:{url:"https://i.imgur.com/OzpxFMD.png",alt:"'img of external antenna'",caption:"Image from:",caption_link:"https://randomnerdtutorials.com/esp32-cam-connect-external-antenna",max_width:"max-width: 400px;"},external_antenna_resistors:{url:"https://i.imgur.com/RIFpNqW.jpg",alt:"'img of external antenna resistors'",max_width:"max-width: 400px;"},camera_socket:{url:"https://i.imgur.com/T5asLGN.jpg",alt:"'img of camera socket'",max_width:"max-width: 400px;"},camera_socket_clip:{url:"https://i.imgur.com/Z8b8Sin.jpg",alt:"'img of camera clip'",max_width:"max-width: 400px;"},camera_cable:{url:"https://i.imgur.com/dDBIi9j.jpg",alt:"'img of camera cable'",max_width:"max-width: 400px;"},camera_clip_close:{url:"https://i.imgur.com/VnFi5XS.jpg",alt:"'img of camera cable'",max_width:"max-width: 400px;"},_7_12_one:{url:"https://i.imgur.com/LsLPAcd.jpg",alt:"",max_width:"max-width: 400px;"},_7_12_two:{url:"https://i.imgur.com/Cdu9lSN.jpg",alt:"",max_width:"max-width: 400px;"},_7_12_three:{url:"https://i.imgur.com/QlRrWNn.jpg",alt:"",max_width:"max-width: 400px;"},_13_18_one:{url:"https://i.imgur.com/DhnmLBG.jpg",alt:"",max_width:"max-width: 400px;"},_13_18_two:{url:"https://i.imgur.com/PWA0gtq.jpg",alt:"",max_width:"max-width: 400px;"},_13_18_three:{url:"https://i.imgur.com/0zXY79j.jpg",alt:"",caption:"357ohm resistors and V3 PCBs",max_width:"max-width: 400px;"},_13_18_four:{url:"https://i.imgur.com/n1noWKq.png",alt:"",caption:"V3",max_width:"max-width: 400px;"},_13_18_five:{url:"https://i.imgur.com/Ap8OAWY.png",alt:"",caption:"The green markings and notched corners mark the positive sides of the LEDs pictured above.",max_width:"max-width: 400px;"},_13_18_six:{url:"https://i.imgur.com/gb4etdB.jpg",alt:"",caption:"",max_width:"max-width: 400px;"},_13_18_seven:{url:"https://i.imgur.com/ev5QFch.jpg",alt:"",caption:"",max_width:"max-width: 400px;"},_13_18_eight:{url:"https://i.imgur.com/8jCQOHw.jpg",alt:"",caption:"",max_width:"max-width: 400px;"},_13_18_nine:{url:"https://i.imgur.com/CHUb7Iv.jpg",alt:"",caption:"",max_width:"max-width: 400px;"},_13_18_ten:{url:"https://i.imgur.com/jZYAm5O.jpg",alt:"",caption:"",max_width:"max-width: 400px;"},end_one:{url:"https://i.imgur.com/pjvLHJL.jpg",alt:"",caption:"",max_width:"max-width: 400px;"},end_two:{url:"https://i.imgur.com/RbHZQhl.jpg",alt:"",caption:"",max_width:"max-width: 400px;"},end_three:{url:"https://i.imgur.com/VyClWvp.jpg",alt:"",caption:"",max_width:"max-width: 400px;"},end_four:{url:"https://i.imgur.com/tFCQTqE.jpg",alt:"",caption:"",max_width:"max-width: 400px;"},end_five:{url:"https://i.imgur.com/tFCQTqE.jpeg",alt:"",caption:"",max_width:"max-width: 400px;"},end_six:{url:"https://i.imgur.com/pqDgpYP.png",alt:"",caption:"",max_width:"max-width: 500px;"},end_seven:{url:"https://i.imgur.com/bEq6Ww0.jpg",alt:"",caption:"",max_width:"max-width: 400px;"},end_eight:{url:"https://i.imgur.com/r2Jo45t.png",alt:"",caption:"",max_width:"max-width: 400px;"},end_nine:{url:"https://i.imgur.com/a6ERUFx.png",alt:"",caption:"",max_width:"max-width: 500px;"},end_ten:{url:"https://i.imgur.com/Wy89UWy.jpg",alt:"",caption:"",max_width:"max-width: 500px;"},end_eleven:{url:"https://i.imgur.com/LtKOLWo.jpg",alt:"",caption:"",max_width:"max-width: 500px;"},end_twelve:{url:"https://i.imgur.com/9mty1bv.png",alt:"",caption:"",max_width:"max-width: 500px;"},end_thirteen:{url:"https://i.imgur.com/ArLO1ls.jpg",alt:"",caption:"",max_width:"max-width: 500px;"},end_fourteen:{url:"https://i.imgur.com/ZIecsMM.jpg",alt:"",caption:"",max_width:"max-width: 500px;"},end_fifteen:{url:"https://i.imgur.com/tYD1KKe.png",alt:"",caption:"",max_width:"max-width: 500px;"},end_sixteen:{url:"https://i.imgur.com/3rCRU5A.jpg",alt:"",caption:"",max_width:"max-width: 500px;"},upload_firmware_image_one:{url:"https://i.imgur.com/dSPSpkY.png",alt:"'platformio serial monitor button'",max_width:"max-width: 500px;"},upload_firmware_image_two:{url:"https://i.imgur.com/PoHP3NC.png",alt:"'img of platformio serial monitor'",max_width:"max-width: 600px;"},upload_firmware_build_button:{url:"https://i.imgur.com/5E5u5Jz.png",alt:"'Selecting platformio environment'",max_width:"max-width: 600px;"},upload_firmware_webpage:{url:"https://i.imgur.com/wMXdZcJ.png",alt:"'Firmware uploading web page'",max_width:"max-width: 600px;"},upload_firmware_webpage_directory:{url:"https://i.imgur.com/KnnB28z.png",alt:"'An example of how the bin file directory looks like'",max_width:"max-width: 600px;"},upload_firmware_webpage_directory_file:{url:"https://i.imgur.com/Ujx3iaG.png",alt:"'An example of how the bin file looks like'",max_width:"max-width: 600px;"},upload_firmware_webpage_upload_finished:{url:"https://i.imgur.com/O2KzHAN.png",alt:"'A finished OTA upload'",max_width:"max-width: 600px;"},upload_firmware_select_env:{url:"https://i.imgur.com/8sn6FSe.png",alt:"'An example of how the popup list of envs looks like'",max_width:"max-width: 600px;"},upload_firmware_select_env_dropdown:{url:"https://i.imgur.com/nRpuBSI.png",alt:"'An example of how the button for selecting env looks like'",max_width:"max-width: 600px;"},ant_logo_platformio:{url:"https://i.imgur.com/B6zK6n8.png",alt:"Platformio logo button",max_width:"max-width: 600px;"},platformio_quick_access:{url:"https://i.imgur.com/94Xgg9k.png",alt:"Platformio logo Quick Access Section",max_width:"max-width: 600px;"},platformio_quick_access_miscellaneous:{url:"https://i.imgur.com/Zoolr2M.png",alt:"Platformio miscellaneous section",max_width:"max-width: 600px;"},platformio_quick_access_upgrade_core:{url:"https://i.imgur.com/nOF817M.png",alt:"Platformio upgrade core button",max_width:"max-width: 600px;"},platformio_pio_home:{url:"https://i.imgur.com/M7ZYAtU.png",alt:"Platformio open home",max_width:"max-width: 600px;"},platformio_pio_sidebar_platforms:{url:"https://i.imgur.com/LgnU4HG.png",alt:"Platformio platforms sidebar",max_width:"max-width: 600px;"},platformio_pio_sidebar_platforms_updates:{url:"https://i.imgur.com/ZsKos2E.png",alt:"Platformio platforms sections",max_width:"max-width: 600px;"},platformio_pio_espressif32:{url:"https://i.imgur.com/mQdM6X2.png",alt:"Platformio platforms update view",max_width:"max-width: 600px;"},setup_vscode_image_one:{url:"https://i.imgur.com/jXPXIFz.gif",alt:"'img'",max_width:"max-width: 500px;"},setup_vscode_image_two:{url:"https://i.imgur.com/hAm3Zu0.gif",alt:"'img'",max_width:"max-width: 500px;"},setup_vscode_image_three:{url:"https://i.imgur.com/ebV0IgT.gif",alt:"'img'",max_width:"max-width: 500px;"},setup_vscode_image_four:{url:"https://i.imgur.com/DWO5vkE.png",alt:"'img'",max_width:"max-width: 500px;"},setup_vscode_image_five:{url:"https://i.imgur.com/fJs4GJR.png",alt:"'img'",max_width:"max-width: 500px;"},setup_vscode_image_six:{url:"https://i.imgur.com/YbXpX7t.png",alt:"'img'",max_width:"max-width: 500px;"},setup_vscode_image_seven:{url:"https://i.imgur.com/c61Cpaz.gif",alt:"'img'",max_width:"max-width: 500px;"},configure_firmware_one:{url:"https://i.imgur.com/1Ficr7f.png",alt:"'img'",max_width:"max-width: 500px;"},configure_firmware_two:{url:"https://i.imgur.com/Sq4iQJe.png",alt:"'img'",max_width:"max-width: 500px;"},eyetrack_vr_guide_one:{url:"https://i.imgur.com/olwRFYI.png",alt:"'img'",max_width:"max-width: 500px;"},eyetrack_vr_guide_two:{url:"https://i.imgur.com/Ugzzgbh.png",alt:"'img'",max_width:"max-width: 500px;"},eyetrack_vr_guide_three:{url:"https://i.imgur.com/z6V7A71.png",alt:"'img'",max_width:"max-width: 500px;"},eyetrack_vr_guide_four:{url:"https://i.imgur.com/MJb2h74.png",alt:"'img'",caption:"See the Awating Eye Cropping Settings text?",max_width:"max-width: 500px;"},eyetrack_vr_guide_five:{url:"https://i.imgur.com/1pNYITS.png",alt:"'img'",caption:":O It's my eye!",max_width:"max-width: 500px;"},eyetrack_vr_guide_six:{url:"https://i.imgur.com/HZSvFBv.png",alt:"'img'",max_width:"max-width: 500px;"},eyetrack_vr_guide_seven:{url:"https://i.imgur.com/xXTB3sM.png",alt:"'img'",caption:"It's crooked!",max_width:"max-width: 500px;"},eyetrack_vr_guide_eight:{url:"https://i.imgur.com/blsrpCX.png",alt:"'img'",caption:"Much better!",max_width:"max-width: 500px;"},eyetrack_vr_guide_nine:{url:"https://i.imgur.com/30fFadH.png",alt:"'img'",caption:"Much better!",max_width:"max-width: 500px;"},eyetrack_vr_guide_ten:{url:"https://i.imgur.com/ZjpKfCV.png",alt:"'img'",caption:"Much better!",max_width:"max-width: 500px;"},eyetrack_vr_guide_eleven:{url:"https://i.imgur.com/KPUn8S1.png",alt:"'img'",caption:"Much better!",max_width:"max-width: 500px;"},fox_ir_build_instructions_one:{url:"https://i.imgur.com/WyoVdcR.jpg",alt:"'img'",caption:"698ohm resistors and V2 PCBs",max_width:"max-width: 400px;"},fox_ir_build_instructions_two:{url:"https://i.imgur.com/sNB6ju2.png",alt:"'img'",caption:"V2",max_width:"max-width: 400px;"},fox_ir_build_instructions_three:{url:"https://i.imgur.com/Ap8OAWY.png",alt:"'img'",caption:"The green markings and notched corners mark the positive sides of the LEDs pictured above.",max_width:"max-width: 400px;"},fox_ir_build_instructions_four:{url:"https://i.imgur.com/ayQ5vkf.jpg",alt:"'img'",max_width:"max-width: 400px;"},fox_ir_build_instructions_five:{url:"https://i.imgur.com/DpFwecO.jpg",alt:"'img'",max_width:"max-width: 400px;"},fox_ir_build_instructions_six:{url:"https://i.imgur.com/50ydMrl.jpg",alt:"'img'",max_width:"max-width: 400px;"},fox_ir_build_instructions_seven:{url:"https://i.imgur.com/Qq3cvxi.jpg",alt:"'img'",max_width:"max-width: 400px;"},fox_ir_build_instructions_eight:{url:"https://i.imgur.com/yWGaKaC.jpg",alt:"'img'",max_width:"max-width: 400px;"},fox_ir_build_instructions_nine:{url:"https://i.imgur.com/Ql4zYCq.jpg",alt:"'img'",max_width:"max-width: 400px;"},fox_ir_build_instructions_ten:{url:"https://i.imgur.com/Xrczoyv.jpg",alt:"'img'",max_width:"max-width: 400px;"},fox_ir_build_instructions_eleven:{url:"https://i.imgur.com/KKgP8qs.jpg",alt:"'img'",max_width:"max-width: 400px;"},fox_ir_build_instructions_twelve:{url:"https://i.imgur.com/SvbHAuY.jpg",alt:"'img'",caption:"The LED is flipped in this Image, the green dot should face AWAY from the PCB.",max_width:"max-width: 400px;"},fox_ir_build_instructions_thirteen:{url:"https://i.imgur.com/gopjVG3.png",alt:"'drawing'",max_width:"max-width: 500px;"},pio_upgrade_command:{url:"https://i.imgur.com/taDa3vj.png",alt:"pio upgrade command in the terminal",max_width:"max-width: 500px;"},unity_vrc_expressions:{url:"https://i.imgur.com/hdbJQ0h.png",alt:"Screenshot showing expressions section of vrc avatar descriptor",max_width:"max-width: 600px;"},unity_vrc_expressions_add_fields:{url:"https://i.imgur.com/VGA0zqb.png",alt:"Screenshot showing adding parameters to parameter menu",max_width:"max-width: 600px;"},unity_vrc_expressions_fields:{url:"https://i.imgur.com/hkcT013.png",alt:"Screenshot showing the params that need to be added",max_width:"max-width: 600px;"},unity_vrc_empty_control:{url:"https://i.imgur.com/PluHjmI.png",alt:"Screenshot showing the the empty controls field",max_width:"max-width: 600px;"},unity_vrc_control_setup:{url:"https://i.imgur.com/XgN2230.png",alt:"Screenshot showing the the controls setup",max_width:"max-width: 600px;"},esp_board_env:{url:"https://i.imgur.com/5BbQmCE.gif",alt:"GIF showing a switch of board enviroments.",max_width:"max-width: 600px;"}};export{v as _,b as i}; diff --git a/assets/chunks/theme.16007baf.js b/assets/chunks/theme.16007baf.js new file mode 100644 index 0000000..6146fc1 --- /dev/null +++ b/assets/chunks/theme.16007baf.js @@ -0,0 +1,7 @@ +import{d as k,o as i,c as l,r as p,a as E,t as L,n as A,_ as g,u as nt,b as d,g as gt,e as yt,f as M,w as ee,h as ae,i as S,j as bt,k as J,l as $t,P as kt,m as be,p as te,q as le,s as xe,v as c,F as B,x as V,y as h,z as f,T as Ae,A as Y,B as _e,C as m,D as Pt,E as Vt,G as Ke,H as ot,I as wt,J as D,K as St,L as Q,M as at,N as Lt,O as Mt,Q as R,R as U,S as Ct,U as Ye,V as Be,W as pe,X as It,Y as ie,Z as Ne,$ as Tt,a0 as xt,a1 as At,a2 as Bt,a3 as Nt,a4 as zt}from"./framework.17985c0a.js";const Ht=k({__name:"VPBadge",props:{text:{},type:{}},setup(t){return(e,s)=>(i(),l("span",{class:A(["VPBadge",e.type??"tip"])},[p(e.$slots,"default",{},()=>[E(L(e.text),1)],!0)],2))}});const Et=g(Ht,[["__scopeId","data-v-e233384c"]]),I=nt;function it(t){return gt()?(yt(t),!0):!1}function ze(t){return typeof t=="function"?t():d(t)}const Dt=typeof window<"u",Ot=()=>{};function Ft(t){var e;const s=ze(t);return(e=s==null?void 0:s.$el)!=null?e:s}const He=Dt?window:void 0;function jt(...t){let e,s,n,o;if(typeof t[0]=="string"||Array.isArray(t[0])?([s,n,o]=t,e=He):[e,s,n,o]=t,!e)return Ot;Array.isArray(s)||(s=[s]),Array.isArray(n)||(n=[n]);const a=[],r=()=>{a.forEach(b=>b()),a.length=0},_=(b,$,P,y)=>(b.addEventListener($,P,y),()=>b.removeEventListener($,P,y)),u=ee(()=>[Ft(e),ze(o)],([b,$])=>{r(),b&&a.push(...s.flatMap(P=>n.map(y=>_(b,P,y,$))))},{immediate:!0,flush:"post"}),v=()=>{u(),r()};return it(v),v}function qt(){const t=M(!1);return bt()&&J(()=>{t.value=!0}),t}function Gt(t){const e=qt();return S(()=>(e.value,!!t()))}function Me(t,e={}){const{window:s=He}=e,n=Gt(()=>s&&"matchMedia"in s&&typeof s.matchMedia=="function");let o;const a=M(!1),r=v=>{a.value=v.matches},_=()=>{o&&("removeEventListener"in o?o.removeEventListener("change",r):o.removeListener(r))},u=ae(()=>{n.value&&(_(),o=s.matchMedia(ze(t)),"addEventListener"in o?o.addEventListener("change",r):o.addListener(r),a.value=o.matches)});return it(()=>{u(),_(),o=void 0}),a}function Rt({window:t=He}={}){if(!t)return{x:M(0),y:M(0)};const e=M(t.scrollX),s=M(t.scrollY);return jt(t,"scroll",()=>{e.value=t.scrollX,s.value=t.scrollY},{capture:!1,passive:!0}),{x:e,y:s}}function Ut(t,e){let s,n=!1;return()=>{s&&clearTimeout(s),n?s=setTimeout(t,e):(t(),n=!0,setTimeout(()=>{n=!1},e))}}function Ce(t){return/^\//.test(t)?t:`/${t}`}function re(t){if($t(t))return t.replace(kt,"");const{site:e}=I(),{pathname:s,search:n,hash:o}=new URL(t,"http://example.com"),a=s.endsWith("/")||s.endsWith(".html")?t:t.replace(/(?:(^\.+)\/)?.*$/,`$1${s.replace(/(\.md)?$/,e.value.cleanUrls?"":".html")}${n}${o}`);return be(a)}function rt(t,e){if(Array.isArray(t))return t;if(t==null)return[];e=Ce(e);const s=Object.keys(t).sort((n,o)=>o.split("/").length-n.split("/").length).find(n=>e.startsWith(Ce(n)));return s?t[s]:[]}function Wt(t){const e=[];let s=0;for(const n in t){const o=t[n];if(o.items){s=e.push(o);continue}e[s]||e.push({items:[]}),e[s].items.push(o)}return e}function Kt(t){const e=[];function s(n){for(const o of n)o.text&&o.link&&e.push({text:o.text,link:o.link}),o.items&&s(o.items)}return s(t),e}function Ie(t,e){return Array.isArray(e)?e.some(s=>Ie(t,s)):te(t,e.link)?!0:e.items?Ie(t,e.items):!1}function K(){const t=le(),{theme:e,frontmatter:s}=I(),n=Me("(min-width: 960px)"),o=M(!1),a=S(()=>{const w=e.value.sidebar,N=t.data.relativePath;return w?rt(w,N):[]}),r=S(()=>s.value.sidebar!==!1&&a.value.length>0&&s.value.layout!=="home"),_=S(()=>u?s.value.aside==null?e.value.aside==="left":s.value.aside==="left":!1),u=S(()=>s.value.layout==="home"?!1:s.value.aside!=null?!!s.value.aside:e.value.aside!==!1),v=S(()=>r.value&&n.value),b=S(()=>r.value?Wt(a.value):[]);function $(){o.value=!0}function P(){o.value=!1}function y(){o.value?P():$()}return{isOpen:o,sidebar:a,sidebarGroups:b,hasSidebar:r,hasAside:u,leftAside:_,isSidebarEnabled:v,open:$,close:P,toggle:y}}function Yt(t,e){let s;ae(()=>{s=t.value?document.activeElement:void 0}),J(()=>{window.addEventListener("keyup",n)}),xe(()=>{window.removeEventListener("keyup",n)});function n(o){o.key==="Escape"&&t.value&&(e(),s==null||s.focus())}}function Xt(t){const{page:e}=I(),s=M(!1),n=S(()=>t.value.collapsed!=null),o=S(()=>!!t.value.link),a=S(()=>te(e.value.relativePath,t.value.link)),r=S(()=>a.value?!0:t.value.items?Ie(e.value.relativePath,t.value.items):!1),_=S(()=>!!(t.value.items&&t.value.items.length));ae(()=>{s.value=!!(n.value&&t.value.collapsed)}),ae(()=>{(a.value||r.value)&&(s.value=!1)});function u(){n.value&&(s.value=!s.value)}return{collapsed:s,collapsible:n,isLink:o,isActiveLink:a,hasActiveLink:r,hasChildren:_,toggle:u}}const Jt=k({__name:"VPSkipLink",setup(t){const e=le(),s=M();ee(()=>e.path,()=>s.value.focus());function n({target:o}){const a=document.querySelector(decodeURIComponent(o.hash));if(a){const r=()=>{a.removeAttribute("tabindex"),a.removeEventListener("blur",r)};a.setAttribute("tabindex","-1"),a.addEventListener("blur",r),a.focus(),window.scrollTo(0,0)}}return(o,a)=>(i(),l(B,null,[c("span",{ref_key:"backToTop",ref:s,tabindex:"-1"},null,512),c("a",{href:"#VPContent",class:"VPSkipLink visually-hidden",onClick:n}," Skip to content ")],64))}});const Qt=g(Jt,[["__scopeId","data-v-994b33bc"]]),Zt={key:0,class:"VPBackdrop"},es=k({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(t){return(e,s)=>(i(),V(Ae,{name:"fade"},{default:h(()=>[e.show?(i(),l("div",Zt)):f("",!0)]),_:1}))}});const ts=g(es,[["__scopeId","data-v-b2600058"]]);function ss(){const t=M(!1);function e(){t.value=!0,window.addEventListener("resize",o)}function s(){t.value=!1,window.removeEventListener("resize",o)}function n(){t.value?s():e()}function o(){window.outerWidth>=768&&s()}const a=le();return ee(()=>a.path,s),{isScreenOpen:t,openScreen:e,closeScreen:s,toggleScreen:n}}function ce({removeCurrent:t=!0,correspondingLink:e=!1}={}){const{site:s,localeIndex:n,page:o,theme:a}=I(),r=S(()=>{var u,v;return{label:(u=s.value.locales[n.value])==null?void 0:u.label,link:((v=s.value.locales[n.value])==null?void 0:v.link)||(n.value==="root"?"/":`/${n.value}/`)}});return{localeLinks:S(()=>Object.entries(s.value.locales).flatMap(([u,v])=>t&&r.value.label===v.label?[]:{text:v.label,link:ns(v.link||(u==="root"?"/":`/${u}/`),a.value.i18nRouting!==!1&&e,o.value.relativePath.slice(r.value.link.length-1),!s.value.cleanUrls)})),currentLang:r}}function ns(t,e,s,n){return e?t.replace(/\/$/,"")+Ce(s.replace(/(^|\/)?index.md$/,"$1").replace(/\.md$/,n?".html":"")):t}const os=["src","alt"],as={inheritAttrs:!1},is=k({...as,__name:"VPImage",props:{image:{},alt:{}},setup(t){return(e,s)=>{const n=Y("VPImage",!0);return e.image?(i(),l(B,{key:0},[typeof e.image=="string"||"src"in e.image?(i(),l("img",_e({key:0,class:"VPImage"},typeof e.image=="string"?e.$attrs:{...e.image,...e.$attrs},{src:d(be)(typeof e.image=="string"?e.image:e.image.src),alt:e.alt??(typeof e.image=="string"?"":e.image.alt||"")}),null,16,os)):(i(),l(B,{key:1},[m(n,_e({class:"dark",image:e.image.dark,alt:e.image.alt},e.$attrs),null,16,["image","alt"]),m(n,_e({class:"light",image:e.image.light,alt:e.image.alt},e.$attrs),null,16,["image","alt"])],64))],64)):f("",!0)}}});const Ee=g(is,[["__scopeId","data-v-74766fef"]]),rs=["href"],ls=k({__name:"VPNavBarTitle",setup(t){const{site:e,theme:s}=I(),{hasSidebar:n}=K(),{currentLang:o}=ce();return(a,r)=>(i(),l("div",{class:A(["VPNavBarTitle",{"has-sidebar":d(n)}])},[c("a",{class:"title",href:d(re)(d(o).link)},[p(a.$slots,"nav-bar-title-before",{},void 0,!0),d(s).logo?(i(),V(Ee,{key:0,class:"logo",image:d(s).logo},null,8,["image"])):f("",!0),d(s).siteTitle?(i(),l(B,{key:1},[E(L(d(s).siteTitle),1)],64)):d(s).siteTitle===void 0?(i(),l(B,{key:2},[E(L(d(e).title),1)],64)):f("",!0),p(a.$slots,"nav-bar-title-after",{},void 0,!0)],8,rs)],2))}});const cs=g(ls,[["__scopeId","data-v-2f5df328"]]),us="/assets/flex-logo.2489261b.svg";function we(t,e){return typeof t>"u"?e:t}function Xe(t){const e=Array(t);for(let s=0;s=this.minlength&&(_||!r[b])){let P=de(u,o,v),y="";switch(this.tokenize){case"full":if(3<$){for(let w=0;w<$;w++)for(let N=$;N>w;N--)if(N-w>=this.minlength){const C=de(u,o,v,$,w);y=b.substring(w,N),this.push_index(r,y,C,t,s)}break}case"reverse":if(2<$){for(let w=$-1;0=this.minlength){const N=de(u,o,v,$,w);this.push_index(r,y,N,t,s)}y=""}case"forward":if(1<$){for(let w=0;w<$;w++)y+=b[w],y.length>=this.minlength&&this.push_index(r,y,P,t,s);break}default:if(this.boost&&(P=Math.min(0|P/this.boost(e,b,v),u-1)),this.push_index(r,b,P,t,s),_&&1=this.minlength&&!w[b]){w[b]=1;const T=de(N+(o/2>N?0:1),o,v,H-1,x-1),z=this.bidirectional&&b>C;this.push_index(a,z?C:b,T,t,s,z?b:C)}}}}}this.fastupdate||(this.register[t]=1)}}return this};function de(t,e,s,n,o){return s&&1=this.minlength&&!$[y]){if(!this.optimize&&!a&&!this.map[y])return r;P[N++]=y,$[y]=1}t=P,n=t.length}if(!n)return r;e||(e=100);let u,v=this.depth&&1=s)))));y++);if(v)return o?Ze(_,s,0):void(t[t.length]=_)}return!e&&_};function Ze(t,e,s){return t=t.length===1?t[0]:_s(t),s||t.length>e?t.slice(s,s+e):t}function et(t,e,s,n){if(s){const o=n&&e>s;t=t[o?e:s],t=t&&t[o?s:e]}else t=t[e];return t}F.prototype.contain=function(t){return!!this.register[t]},F.prototype.update=function(t,e){return this.remove(t).add(t,e)},F.prototype.remove=function(t,e){const s=this.register[t];if(s){if(this.fastupdate)for(let n,o=0;o{if(a.value){for(var x=$.value.search(a.value,{enrich:!0}),T=[],z=0;z!x||!x.length?[]:x.reduce((z,O)=>(z[T(O)]||(z[T(O)]=[]),z[T(O)].push(O),z),{}),C=()=>{setTimeout(()=>{_.value&&_.value.focus()},100),H(),o.value=!0};J(async()=>{var O,G;const x=await Pt(()=>import("./virtual_search-data.9ffa9226.js"),[]);u.value=x.default.INDEX_DATA,v.value=x.default.PREVIEW_LOOKUP,b.value=x.default.Options,r.value=window.location.origin+be(s.value==="root"?"/":s.value),P.value=((O=b.value)==null?void 0:O.buttonLabel)||P.value,y.value=((G=b.value)==null?void 0:G.placeholder)||y.value;var T=new F(b.value);T.import("reg",u.value.reg),T.import("cfg",u.value.cfg),T.import("map",u.value.map),T.import("ctx",u.value.ctx),$.value=T,n.value.innerHTML=/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)?"⌘":"Ctrl";const z=q=>{var ue;q.key==="k"&&(q.ctrlKey||q.metaKey)&&(q.preventDefault(),C()),q.key==="Escape"&&((ue=a.value)==null?void 0:ue.length)==0&&o.value&&(o.value=!1)};window.addEventListener("keydown",z)});function H(){o.value=!1,a.value=""}return(x,T)=>{const z=Y("ClientOnly");return i(),l("div",xs,[m(z,null,{default:h(()=>[(i(),V(Vt,{to:"body"},[Ke(c("div",{class:"VPPluginSearch-modal-back",onClick:T[2]||(T[2]=O=>o.value=!1)},[c("div",{class:"VPPluginSearch-modal",onClick:T[1]||(T[1]=ot(()=>{},["stop"]))},[c("form",As,[Bs,Ke(c("input",{class:"DocSearch-Input","aria-autocomplete":"both","aria-labelledby":"docsearch-label",id:"docsearch-input",autocomplete:"off",autocorrect:"off",autocapitalize:"off",enterkeyhint:"search",spellcheck:"false",autofocus:"true","onUpdate:modelValue":T[0]||(T[0]=O=>a.value=O),placeholder:y.value,maxlength:"64",type:"search",ref_key:"input",ref:_},null,8,Ns),[[wt,a.value]])]),c("div",zs,[(i(!0),l(B,null,D(N(w.value,O=>O.link.split("/").slice(0,-1).join("-")),(O,G)=>(i(),l("div",{key:G},[c("span",Hs,L(G?G.toString()[0].toUpperCase()+G.toString().slice(1):"Home"),1),(i(!0),l(B,null,D(O,q=>(i(),l("a",{href:r.value+q.link,key:q.id,onClick:H},[c("div",Ds,[c("span",Os,L(q.link.includes("#")?"#":"▤"),1),c("div",Fs,[c("h3",null,L(q.title),1),c("p",null,[c("div",{innerHTML:q.preview},null,8,js)])]),qs])],8,Es))),128))]))),128))]),Gs])],512),[[St,o.value]])]))]),_:1}),c("div",{id:"docsearch",onClick:T[3]||(T[3]=O=>C())},[c("button",Rs,[c("span",Us,[Ws,c("span",Ks,L(P.value),1)]),c("span",Ys,[c("span",{class:"DocSearch-Button-Key",ref_key:"metaKey",ref:n},"Meta",512),Xs])])])])}}});const Qs={},Zs={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",height:"24px",viewBox:"0 0 24 24",width:"24px"},en=c("path",{d:"M0 0h24v24H0V0z",fill:"none"},null,-1),tn=c("path",{d:"M9 5v2h6.59L4 18.59 5.41 20 17 8.41V15h2V5H9z"},null,-1),sn=[en,tn];function nn(t,e){return i(),l("svg",Zs,sn)}const on=g(Qs,[["render",nn]]),an=k({__name:"VPLink",props:{tag:{},href:{},noIcon:{type:Boolean},target:{},rel:{}},setup(t){const e=t,s=S(()=>e.tag??e.href?"a":"span"),n=S(()=>e.href&&at.test(e.href));return(o,a)=>(i(),V(Q(s.value),{class:A(["VPLink",{link:o.href}]),href:o.href?d(re)(o.href):void 0,target:o.target||(n.value?"_blank":void 0),rel:o.rel||(n.value?"noreferrer":void 0)},{default:h(()=>[p(o.$slots,"default",{},void 0,!0),n.value&&!o.noIcon?(i(),V(on,{key:0,class:"icon"})):f("",!0)]),_:3},8,["class","href","target","rel"]))}});const W=g(an,[["__scopeId","data-v-87683ad2"]]),rn=k({__name:"VPNavBarMenuLink",props:{item:{}},setup(t){const{page:e}=I();return(s,n)=>(i(),V(W,{class:A({VPNavBarMenuLink:!0,active:d(te)(d(e).relativePath,s.item.activeMatch||s.item.link,!!s.item.activeMatch)}),href:s.item.link,target:s.item.target,rel:s.item.rel,tabindex:"0"},{default:h(()=>[E(L(s.item.text),1)]),_:1},8,["class","href","target","rel"]))}});const ln=g(rn,[["__scopeId","data-v-f652bfb4"]]),De=M();let lt=!1,Le=0;function cn(t){const e=M(!1);if(Lt){!lt&&un(),Le++;const s=ee(De,n=>{var o,a,r;n===t.el.value||(o=t.el.value)!=null&&o.contains(n)?(e.value=!0,(a=t.onFocus)==null||a.call(t)):(e.value=!1,(r=t.onBlur)==null||r.call(t))});xe(()=>{s(),Le--,Le||dn()})}return Mt(e)}function un(){document.addEventListener("focusin",ct),lt=!0,De.value=document.activeElement}function dn(){document.removeEventListener("focusin",ct)}function ct(){De.value=document.activeElement}const _n={},pn={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},hn=c("path",{d:"M12,16c-0.3,0-0.5-0.1-0.7-0.3l-6-6c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l5.3,5.3l5.3-5.3c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-6,6C12.5,15.9,12.3,16,12,16z"},null,-1),vn=[hn];function fn(t,e){return i(),l("svg",pn,vn)}const ut=g(_n,[["render",fn]]),mn={},gn={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},yn=c("circle",{cx:"12",cy:"12",r:"2"},null,-1),bn=c("circle",{cx:"19",cy:"12",r:"2"},null,-1),$n=c("circle",{cx:"5",cy:"12",r:"2"},null,-1),kn=[yn,bn,$n];function Pn(t,e){return i(),l("svg",gn,kn)}const Vn=g(mn,[["render",Pn]]),wn={class:"VPMenuLink"},Sn=k({__name:"VPMenuLink",props:{item:{}},setup(t){const{page:e}=I();return(s,n)=>(i(),l("div",wn,[m(W,{class:A({active:d(te)(d(e).relativePath,s.item.activeMatch||s.item.link,!!s.item.activeMatch)}),href:s.item.link,target:s.item.target,rel:s.item.rel},{default:h(()=>[E(L(s.item.text),1)]),_:1},8,["class","href","target","rel"])]))}});const $e=g(Sn,[["__scopeId","data-v-be8d031a"]]),Ln={class:"VPMenuGroup"},Mn={key:0,class:"title"},Cn=k({__name:"VPMenuGroup",props:{text:{},items:{}},setup(t){return(e,s)=>(i(),l("div",Ln,[e.text?(i(),l("p",Mn,L(e.text),1)):f("",!0),(i(!0),l(B,null,D(e.items,n=>(i(),l(B,null,["link"in n?(i(),V($e,{key:0,item:n},null,8,["item"])):f("",!0)],64))),256))]))}});const In=g(Cn,[["__scopeId","data-v-2bec9359"]]),Tn={class:"VPMenu"},xn={key:0,class:"items"},An=k({__name:"VPMenu",props:{items:{}},setup(t){return(e,s)=>(i(),l("div",Tn,[e.items?(i(),l("div",xn,[(i(!0),l(B,null,D(e.items,n=>(i(),l(B,{key:n.text},["link"in n?(i(),V($e,{key:0,item:n},null,8,["item"])):(i(),V(In,{key:1,text:n.text,items:n.items},null,8,["text","items"]))],64))),128))])):f("",!0),p(e.$slots,"default",{},void 0,!0)]))}});const Bn=g(An,[["__scopeId","data-v-7bffa9cd"]]),Nn=["aria-expanded","aria-label"],zn={key:0,class:"text"},Hn={class:"menu"},En=k({__name:"VPFlyout",props:{icon:{},button:{},label:{},items:{}},setup(t){const e=M(!1),s=M();cn({el:s,onBlur:n});function n(){e.value=!1}return(o,a)=>(i(),l("div",{class:"VPFlyout",ref_key:"el",ref:s,onMouseenter:a[1]||(a[1]=r=>e.value=!0),onMouseleave:a[2]||(a[2]=r=>e.value=!1)},[c("button",{type:"button",class:"button","aria-haspopup":"true","aria-expanded":e.value,"aria-label":o.label,onClick:a[0]||(a[0]=r=>e.value=!e.value)},[o.button||o.icon?(i(),l("span",zn,[o.icon?(i(),V(Q(o.icon),{key:0,class:"option-icon"})):f("",!0),E(" "+L(o.button)+" ",1),m(ut,{class:"text-icon"})])):(i(),V(Vn,{key:1,class:"icon"}))],8,Nn),c("div",Hn,[m(Bn,{items:o.items},{default:h(()=>[p(o.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}});const Oe=g(En,[["__scopeId","data-v-64c29883"]]),Dn=k({__name:"VPNavBarMenuGroup",props:{item:{}},setup(t){const{page:e}=I();return(s,n)=>(i(),V(Oe,{class:A({VPNavBarMenuGroup:!0,active:d(te)(d(e).relativePath,s.item.activeMatch,!!s.item.activeMatch)}),button:s.item.text,items:s.item.items},null,8,["class","button","items"]))}}),On=t=>(R("data-v-c6c3e6d4"),t=t(),U(),t),Fn={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},jn=On(()=>c("span",{id:"main-nav-aria-label",class:"visually-hidden"},"Main Navigation",-1)),qn=k({__name:"VPNavBarMenu",setup(t){const{theme:e}=I();return(s,n)=>d(e).nav?(i(),l("nav",Fn,[jn,(i(!0),l(B,null,D(d(e).nav,o=>(i(),l(B,{key:o.text},["link"in o?(i(),V(ln,{key:0,item:o},null,8,["item"])):(i(),V(Dn,{key:1,item:o},null,8,["item"]))],64))),128))])):f("",!0)}});const Gn=g(qn,[["__scopeId","data-v-c6c3e6d4"]]),Rn={},Un={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Wn=c("path",{d:"M0 0h24v24H0z",fill:"none"},null,-1),Kn=c("path",{d:" M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z ",class:"css-c4d79v"},null,-1),Yn=[Wn,Kn];function Xn(t,e){return i(),l("svg",Un,Yn)}const dt=g(Rn,[["render",Xn]]),Jn={class:"items"},Qn={class:"title"},Zn=k({__name:"VPNavBarTranslations",setup(t){const{theme:e}=I(),{localeLinks:s,currentLang:n}=ce({correspondingLink:!0});return(o,a)=>d(s).length&&d(n).label?(i(),V(Oe,{key:0,class:"VPNavBarTranslations",icon:dt,label:d(e).langMenuLabel||"Change language"},{default:h(()=>[c("div",Jn,[c("p",Qn,L(d(n).label),1),(i(!0),l(B,null,D(d(s),r=>(i(),V($e,{key:r.link,item:r},null,8,["item"]))),128))])]),_:1},8,["label"])):f("",!0)}});const eo=g(Zn,[["__scopeId","data-v-3bf1c934"]]);const to={},so={class:"VPSwitch",type:"button",role:"switch"},no={class:"check"},oo={key:0,class:"icon"};function ao(t,e){return i(),l("button",so,[c("span",no,[t.$slots.default?(i(),l("span",oo,[p(t.$slots,"default",{},void 0,!0)])):f("",!0)])])}const io=g(to,[["render",ao],["__scopeId","data-v-0a2eba70"]]),ro={},lo={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},co=Ct('',9),uo=[co];function _o(t,e){return i(),l("svg",lo,uo)}const po=g(ro,[["render",_o]]),ho={},vo={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},fo=c("path",{d:"M12.1,22c-0.3,0-0.6,0-0.9,0c-5.5-0.5-9.5-5.4-9-10.9c0.4-4.8,4.2-8.6,9-9c0.4,0,0.8,0.2,1,0.5c0.2,0.3,0.2,0.8-0.1,1.1c-2,2.7-1.4,6.4,1.3,8.4c2.1,1.6,5,1.6,7.1,0c0.3-0.2,0.7-0.3,1.1-0.1c0.3,0.2,0.5,0.6,0.5,1c-0.2,2.7-1.5,5.1-3.6,6.8C16.6,21.2,14.4,22,12.1,22zM9.3,4.4c-2.9,1-5,3.6-5.2,6.8c-0.4,4.4,2.8,8.3,7.2,8.7c2.1,0.2,4.2-0.4,5.8-1.8c1.1-0.9,1.9-2.1,2.4-3.4c-2.5,0.9-5.3,0.5-7.5-1.1C9.2,11.4,8.1,7.7,9.3,4.4z"},null,-1),mo=[fo];function go(t,e){return i(),l("svg",vo,mo)}const yo=g(ho,[["render",go]]),bo=k({__name:"VPSwitchAppearance",setup(t){const{site:e,isDark:s}=I(),n=M(!1),o=typeof localStorage<"u"?a():()=>{};J(()=>{n.value=document.documentElement.classList.contains("dark")});function a(){const r=window.matchMedia("(prefers-color-scheme: dark)"),_=document.documentElement.classList;let u=localStorage.getItem(Ye),v=e.value.appearance==="dark"&&u==null||(u==="auto"||u==null?r.matches:u==="dark");r.onchange=P=>{u==="auto"&&$(v=P.matches)};function b(){$(v=!v),u=v?r.matches?"auto":"dark":r.matches?"light":"auto",localStorage.setItem(Ye,u)}function $(P){const y=document.createElement("style");y.type="text/css",y.appendChild(document.createTextNode(`:not(.VPSwitchAppearance):not(.VPSwitchAppearance *) { + -webkit-transition: none !important; + -moz-transition: none !important; + -o-transition: none !important; + -ms-transition: none !important; + transition: none !important; +}`)),document.head.appendChild(y),n.value=P,_[P?"add":"remove"]("dark"),window.getComputedStyle(y).opacity,document.head.removeChild(y)}return b}return ee(n,r=>{s.value=r}),(r,_)=>(i(),V(io,{title:"toggle dark mode",class:"VPSwitchAppearance","aria-checked":n.value,onClick:d(o)},{default:h(()=>[m(po,{class:"sun"}),m(yo,{class:"moon"})]),_:1},8,["aria-checked","onClick"]))}});const Fe=g(bo,[["__scopeId","data-v-019e2ece"]]),$o={key:0,class:"VPNavBarAppearance"},ko=k({__name:"VPNavBarAppearance",setup(t){const{site:e}=I();return(s,n)=>d(e).appearance?(i(),l("div",$o,[m(Fe)])):f("",!0)}});const Po=g(ko,[["__scopeId","data-v-88042fc7"]]),Vo={discord:'Discord',facebook:'Facebook',github:'GitHub',instagram:'Instagram',linkedin:'LinkedIn',mastodon:'Mastodon',slack:'Slack',twitter:'Twitter',youtube:'YouTube'},wo=["href","aria-label","innerHTML"],So=k({__name:"VPSocialLink",props:{icon:{},link:{}},setup(t){const e=t,s=S(()=>typeof e.icon=="object"?e.icon.svg:Vo[e.icon]);return(n,o)=>(i(),l("a",{class:"VPSocialLink",href:n.link,"aria-label":typeof n.icon=="string"?n.icon:"",target:"_blank",rel:"noopener",innerHTML:s.value},null,8,wo))}});const Lo=g(So,[["__scopeId","data-v-ca994af5"]]),Mo={class:"VPSocialLinks"},Co=k({__name:"VPSocialLinks",props:{links:{}},setup(t){return(e,s)=>(i(),l("div",Mo,[(i(!0),l(B,null,D(e.links,({link:n,icon:o})=>(i(),V(Lo,{key:n,icon:o,link:n},null,8,["icon","link"]))),128))]))}});const ke=g(Co,[["__scopeId","data-v-ffd34ab1"]]),Io=k({__name:"VPNavBarSocialLinks",setup(t){const{theme:e}=I();return(s,n)=>d(e).socialLinks?(i(),V(ke,{key:0,class:"VPNavBarSocialLinks",links:d(e).socialLinks},null,8,["links"])):f("",!0)}});const To=g(Io,[["__scopeId","data-v-08b35e6f"]]),xo={key:0,class:"group translations"},Ao={class:"trans-title"},Bo={key:1,class:"group"},No={class:"item appearance"},zo={class:"label"},Ho={class:"appearance-action"},Eo={key:2,class:"group"},Do={class:"item social-links"},Oo=k({__name:"VPNavBarExtra",setup(t){const{site:e,theme:s}=I(),{localeLinks:n,currentLang:o}=ce({correspondingLink:!0}),a=S(()=>n.value.length&&o.value.label||e.value.appearance||s.value.socialLinks);return(r,_)=>a.value?(i(),V(Oe,{key:0,class:"VPNavBarExtra",label:"extra navigation"},{default:h(()=>[d(n).length&&d(o).label?(i(),l("div",xo,[c("p",Ao,L(d(o).label),1),(i(!0),l(B,null,D(d(n),u=>(i(),V($e,{key:u.link,item:u},null,8,["item"]))),128))])):f("",!0),d(e).appearance?(i(),l("div",Bo,[c("div",No,[c("p",zo,L(d(s).darkModeSwitchLabel||"Appearance"),1),c("div",Ho,[m(Fe)])])])):f("",!0),d(s).socialLinks?(i(),l("div",Eo,[c("div",Do,[m(ke,{class:"social-links-list",links:d(s).socialLinks},null,8,["links"])])])):f("",!0)]),_:1})):f("",!0)}});const Fo=g(Oo,[["__scopeId","data-v-47bb42ad"]]),jo=t=>(R("data-v-670493dd"),t=t(),U(),t),qo=["aria-expanded"],Go=jo(()=>c("span",{class:"container"},[c("span",{class:"top"}),c("span",{class:"middle"}),c("span",{class:"bottom"})],-1)),Ro=[Go],Uo=k({__name:"VPNavBarHamburger",props:{active:{type:Boolean}},emits:["click"],setup(t){return(e,s)=>(i(),l("button",{type:"button",class:A(["VPNavBarHamburger",{active:e.active}]),"aria-label":"mobile navigation","aria-expanded":e.active,"aria-controls":"VPNavScreen",onClick:s[0]||(s[0]=n=>e.$emit("click"))},Ro,10,qo))}});const Wo=g(Uo,[["__scopeId","data-v-670493dd"]]),Ko=t=>(R("data-v-884e8224"),t=t(),U(),t),Yo={class:"container"},Xo={class:"title"},Jo={class:"content"},Qo=Ko(()=>c("div",{class:"curtain"},null,-1)),Zo={class:"content-body"},ea=k({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(t){const{y:e}=Rt(),{hasSidebar:s}=K(),n=S(()=>({"has-sidebar":s.value,fill:e.value>0}));return(o,a)=>(i(),l("div",{class:A(["VPNavBar",n.value])},[c("div",Yo,[c("div",Xo,[m(cs,null,{"nav-bar-title-before":h(()=>[p(o.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":h(()=>[p(o.$slots,"nav-bar-title-after",{},void 0,!0)]),_:3})]),c("div",Jo,[Qo,c("div",Zo,[p(o.$slots,"nav-bar-content-before",{},void 0,!0),m(Js,{class:"search"}),m(Gn,{class:"menu"}),m(eo,{class:"translations"}),m(Po,{class:"appearance"}),m(To,{class:"social-links"}),m(Fo,{class:"extra"}),p(o.$slots,"nav-bar-content-after",{},void 0,!0),m(Wo,{class:"hamburger",active:o.isScreenOpen,onClick:a[0]||(a[0]=r=>o.$emit("toggle-screen"))},null,8,["active"])])])])],2))}});const ta=g(ea,[["__scopeId","data-v-884e8224"]]);function sa(t){if(Array.isArray(t)){for(var e=0,s=Array(t.length);e1),Z=[],ge=!1,qe=-1,ne=void 0,X=void 0,oe=void 0,_t=function(e){return Z.some(function(s){return!!(s.options.allowTouchMove&&s.options.allowTouchMove(e))})},ye=function(e){var s=e||window.event;return _t(s.target)||s.touches.length>1?!0:(s.preventDefault&&s.preventDefault(),!1)},na=function(e){if(oe===void 0){var s=!!e&&e.reserveScrollBarGap===!0,n=window.innerWidth-document.documentElement.clientWidth;if(s&&n>0){var o=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right"),10);oe=document.body.style.paddingRight,document.body.style.paddingRight=o+n+"px"}}ne===void 0&&(ne=document.body.style.overflow,document.body.style.overflow="hidden")},oa=function(){oe!==void 0&&(document.body.style.paddingRight=oe,oe=void 0),ne!==void 0&&(document.body.style.overflow=ne,ne=void 0)},aa=function(){return window.requestAnimationFrame(function(){if(X===void 0){X={position:document.body.style.position,top:document.body.style.top,left:document.body.style.left};var e=window,s=e.scrollY,n=e.scrollX,o=e.innerHeight;document.body.style.position="fixed",document.body.style.top=-s,document.body.style.left=-n,setTimeout(function(){return window.requestAnimationFrame(function(){var a=o-window.innerHeight;a&&s>=o&&(document.body.style.top=-(s+a))})},300)}})},ia=function(){if(X!==void 0){var e=-parseInt(document.body.style.top,10),s=-parseInt(document.body.style.left,10);document.body.style.position=X.position,document.body.style.top=X.top,document.body.style.left=X.left,window.scrollTo(s,e),X=void 0}},ra=function(e){return e?e.scrollHeight-e.scrollTop<=e.clientHeight:!1},la=function(e,s){var n=e.targetTouches[0].clientY-qe;return _t(e.target)?!1:s&&s.scrollTop===0&&n>0||ra(s)&&n<0?ye(e):(e.stopPropagation(),!0)},pt=function(e,s){if(!e){console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");return}if(!Z.some(function(o){return o.targetElement===e})){var n={targetElement:e,options:s||{}};Z=[].concat(sa(Z),[n]),me?aa():na(s),me&&(e.ontouchstart=function(o){o.targetTouches.length===1&&(qe=o.targetTouches[0].clientY)},e.ontouchmove=function(o){o.targetTouches.length===1&&la(o,e)},ge||(document.addEventListener("touchmove",ye,je?{passive:!1}:void 0),ge=!0))}},ht=function(){me&&(Z.forEach(function(e){e.targetElement.ontouchstart=null,e.targetElement.ontouchmove=null}),ge&&(document.removeEventListener("touchmove",ye,je?{passive:!1}:void 0),ge=!1),qe=-1),me?ia():oa(),Z=[]};const ca=k({__name:"VPNavScreenMenuLink",props:{item:{}},setup(t){const e=Be("close-screen");return(s,n)=>(i(),V(W,{class:"VPNavScreenMenuLink",href:s.item.link,target:s.item.target,rel:s.item.rel,onClick:d(e)},{default:h(()=>[E(L(s.item.text),1)]),_:1},8,["href","target","rel","onClick"]))}});const ua=g(ca,[["__scopeId","data-v-9ad676a8"]]),da={},_a={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},pa=c("path",{d:"M18.9,10.9h-6v-6c0-0.6-0.4-1-1-1s-1,0.4-1,1v6h-6c-0.6,0-1,0.4-1,1s0.4,1,1,1h6v6c0,0.6,0.4,1,1,1s1-0.4,1-1v-6h6c0.6,0,1-0.4,1-1S19.5,10.9,18.9,10.9z"},null,-1),ha=[pa];function va(t,e){return i(),l("svg",_a,ha)}const fa=g(da,[["render",va]]),ma=k({__name:"VPNavScreenMenuGroupLink",props:{item:{}},setup(t){const e=Be("close-screen");return(s,n)=>(i(),V(W,{class:"VPNavScreenMenuGroupLink",href:s.item.link,target:s.item.target,rel:s.item.rel,onClick:d(e)},{default:h(()=>[E(L(s.item.text),1)]),_:1},8,["href","target","rel","onClick"]))}});const vt=g(ma,[["__scopeId","data-v-142902a8"]]),ga={class:"VPNavScreenMenuGroupSection"},ya={key:0,class:"title"},ba=k({__name:"VPNavScreenMenuGroupSection",props:{text:{},items:{}},setup(t){return(e,s)=>(i(),l("div",ga,[e.text?(i(),l("p",ya,L(e.text),1)):f("",!0),(i(!0),l(B,null,D(e.items,n=>(i(),V(vt,{key:n.text,item:n},null,8,["item"]))),128))]))}});const $a=g(ba,[["__scopeId","data-v-836cddb8"]]),ka=["aria-controls","aria-expanded"],Pa={class:"button-text"},Va=["id"],wa={key:1,class:"group"},Sa=k({__name:"VPNavScreenMenuGroup",props:{text:{},items:{}},setup(t){const e=t,s=M(!1),n=S(()=>`NavScreenGroup-${e.text.replace(" ","-").toLowerCase()}`);function o(){s.value=!s.value}return(a,r)=>(i(),l("div",{class:A(["VPNavScreenMenuGroup",{open:s.value}])},[c("button",{class:"button","aria-controls":n.value,"aria-expanded":s.value,onClick:o},[c("span",Pa,L(a.text),1),m(fa,{class:"button-icon"})],8,ka),c("div",{id:n.value,class:"items"},[(i(!0),l(B,null,D(a.items,_=>(i(),l(B,{key:_.text},["link"in _?(i(),l("div",{key:_.text,class:"item"},[m(vt,{item:_},null,8,["item"])])):(i(),l("div",wa,[m($a,{text:_.text,items:_.items},null,8,["text","items"])]))],64))),128))],8,Va)],2))}});const La=g(Sa,[["__scopeId","data-v-75ae20ac"]]),Ma={key:0,class:"VPNavScreenMenu"},Ca=k({__name:"VPNavScreenMenu",setup(t){const{theme:e}=I();return(s,n)=>d(e).nav?(i(),l("nav",Ma,[(i(!0),l(B,null,D(d(e).nav,o=>(i(),l(B,{key:o.text},["link"in o?(i(),V(ua,{key:0,item:o},null,8,["item"])):(i(),V(La,{key:1,text:o.text||"",items:o.items},null,8,["text","items"]))],64))),128))])):f("",!0)}}),Ia={key:0,class:"VPNavScreenAppearance"},Ta={class:"text"},xa=k({__name:"VPNavScreenAppearance",setup(t){const{site:e,theme:s}=I();return(n,o)=>d(e).appearance?(i(),l("div",Ia,[c("p",Ta,L(d(s).darkModeSwitchLabel||"Appearance"),1),m(Fe)])):f("",!0)}});const Aa=g(xa,[["__scopeId","data-v-8d2d8cf1"]]),Ba={class:"list"},Na=k({__name:"VPNavScreenTranslations",setup(t){const{localeLinks:e,currentLang:s}=ce({correspondingLink:!0}),n=M(!1);function o(){n.value=!n.value}return(a,r)=>d(e).length&&d(s).label?(i(),l("div",{key:0,class:A(["VPNavScreenTranslations",{open:n.value}])},[c("button",{class:"title",onClick:o},[m(dt,{class:"icon lang"}),E(" "+L(d(s).label)+" ",1),m(ut,{class:"icon chevron"})]),c("ul",Ba,[(i(!0),l(B,null,D(d(e),_=>(i(),l("li",{key:_.link,class:"item"},[m(W,{class:"link",href:_.link},{default:h(()=>[E(L(_.text),1)]),_:2},1032,["href"])]))),128))])],2)):f("",!0)}});const za=g(Na,[["__scopeId","data-v-b72581fd"]]),Ha=k({__name:"VPNavScreenSocialLinks",setup(t){const{theme:e}=I();return(s,n)=>d(e).socialLinks?(i(),V(ke,{key:0,class:"VPNavScreenSocialLinks",links:d(e).socialLinks},null,8,["links"])):f("",!0)}}),Ea={class:"container"},Da=k({__name:"VPNavScreen",props:{open:{type:Boolean}},setup(t){const e=M(null);function s(){pt(e.value,{reserveScrollBarGap:!0})}function n(){ht()}return(o,a)=>(i(),V(Ae,{name:"fade",onEnter:s,onAfterLeave:n},{default:h(()=>[o.open?(i(),l("div",{key:0,class:"VPNavScreen",ref_key:"screen",ref:e},[c("div",Ea,[p(o.$slots,"nav-screen-content-before",{},void 0,!0),m(Ca,{class:"menu"}),m(za,{class:"translations"}),m(Aa,{class:"appearance"}),m(Ha,{class:"social-links"}),p(o.$slots,"nav-screen-content-after",{},void 0,!0)])],512)):f("",!0)]),_:3}))}});const Oa=g(Da,[["__scopeId","data-v-ea8d6f65"]]),Fa={class:"VPNav"},ja=k({__name:"VPNav",setup(t){const{isScreenOpen:e,closeScreen:s,toggleScreen:n}=ss();return pe("close-screen",s),(o,a)=>(i(),l("header",Fa,[m(ta,{"is-screen-open":d(e),onToggleScreen:d(n)},{"nav-bar-title-before":h(()=>[p(o.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":h(()=>[p(o.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":h(()=>[p(o.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":h(()=>[p(o.$slots,"nav-bar-content-after",{},void 0,!0)]),_:3},8,["is-screen-open","onToggleScreen"]),m(Oa,{open:d(e)},{"nav-screen-content-before":h(()=>[p(o.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":h(()=>[p(o.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])]))}});const qa=g(ja,[["__scopeId","data-v-b1949460"]]),Ga={},Ra={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Ua=c("path",{d:"M17,11H3c-0.6,0-1-0.4-1-1s0.4-1,1-1h14c0.6,0,1,0.4,1,1S17.6,11,17,11z"},null,-1),Wa=c("path",{d:"M21,7H3C2.4,7,2,6.6,2,6s0.4-1,1-1h18c0.6,0,1,0.4,1,1S21.6,7,21,7z"},null,-1),Ka=c("path",{d:"M21,15H3c-0.6,0-1-0.4-1-1s0.4-1,1-1h18c0.6,0,1,0.4,1,1S21.6,15,21,15z"},null,-1),Ya=c("path",{d:"M17,19H3c-0.6,0-1-0.4-1-1s0.4-1,1-1h14c0.6,0,1,0.4,1,1S17.6,19,17,19z"},null,-1),Xa=[Ua,Wa,Ka,Ya];function Ja(t,e){return i(),l("svg",Ra,Xa)}const Qa=g(Ga,[["render",Ja]]);function Za(){const{hasSidebar:t}=K(),e=Me("(min-width: 960px)"),s=Me("(min-width: 1280px)");return{isAsideEnabled:S(()=>!s.value&&!e.value?!1:t.value?s.value:e.value)}}const ei=71;function Ge(t){return typeof t.outline=="object"&&!Array.isArray(t.outline)&&t.outline.label||t.outlineTitle||"On this page"}function Re(t){const e=[...document.querySelectorAll(".VPDoc h2,h3,h4,h5,h6")].filter(s=>s.id&&s.hasChildNodes()).map(s=>{const n=Number(s.tagName[1]);return{title:ti(s),link:"#"+s.id,level:n}});return si(e,t)}function ti(t){let e="";for(const s of t.childNodes)if(s.nodeType===1){if(s.classList.contains("VPBadge")||s.classList.contains("header-anchor"))continue;e+=s.textContent}else s.nodeType===3&&(e+=s.textContent);return e.trim()}function si(t,e){if(e===!1)return[];const s=(typeof e=="object"&&!Array.isArray(e)?e.level:e)||2,[n,o]=typeof s=="number"?[s,s]:s==="deep"?[2,6]:s;t=t.filter(r=>r.level>=n&&r.level<=o);const a=[];e:for(let r=0;r=0;u--){const v=t[u];if(v.level<_.level){(v.children||(v.children=[])).push(_);continue e}}a.push(_)}}return a}function ni(t,e){const{isAsideEnabled:s}=Za(),n=Ut(a,100);let o=null;J(()=>{requestAnimationFrame(a),window.addEventListener("scroll",n)}),It(()=>{r(location.hash)}),xe(()=>{window.removeEventListener("scroll",n)});function a(){if(!s.value)return;const _=[].slice.call(t.value.querySelectorAll(".outline-link")),u=[].slice.call(document.querySelectorAll(".content .header-anchor")).filter(y=>_.some(w=>w.hash===y.hash&&y.offsetParent!==null)),v=window.scrollY,b=window.innerHeight,$=document.body.offsetHeight,P=Math.abs(v+b-$)<1;if(u.length&&P){r(u[u.length-1].hash);return}for(let y=0;y{const o=Y("VPDocOutlineItem",!0);return i(),l("ul",{class:A(s.root?"root":"nested")},[(i(!0),l(B,null,D(s.headers,({children:a,link:r,title:_})=>(i(),l("li",null,[c("a",{class:"outline-link",href:r,onClick:e,title:_},L(_),9,ai),a!=null&&a.length?(i(),V(o,{key:0,headers:a},null,8,["headers"])):f("",!0)]))),256))],2)}}});const Ue=g(ii,[["__scopeId","data-v-efc119ee"]]),ri={},li={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},ci=c("path",{d:"M9,19c-0.3,0-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4l5.3-5.3L8.3,6.7c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l6,6c0.4,0.4,0.4,1,0,1.4l-6,6C9.5,18.9,9.3,19,9,19z"},null,-1),ui=[ci];function di(t,e){return i(),l("svg",li,ui)}const We=g(ri,[["render",di]]),_i=k({__name:"VPLocalNavOutlineDropdown",setup(t){const{frontmatter:e,theme:s}=I(),n=M(!1),o=M(0),a=M();ie(()=>{n.value=!1});function r(){n.value=!n.value,o.value=window.innerHeight+Math.min(window.scrollY-64,0)}function _(b){b.target.classList.contains("outline-link")&&(a.value&&(a.value.style.transition="none"),xt(()=>{n.value=!1}))}function u(){n.value=!1,window.scrollTo({top:0,left:0,behavior:"smooth"})}const v=Ne([]);return ie(()=>{v.value=Re(e.value.outline??s.value.outline)}),(b,$)=>(i(),l("div",{class:"VPLocalNavOutlineDropdown",style:Tt({"--vp-vh":o.value+"px"})},[v.value.length>0?(i(),l("button",{key:0,onClick:r,class:A({open:n.value})},[E(L(d(Ge)(d(s)))+" ",1),m(We,{class:"icon"})],2)):(i(),l("button",{key:1,onClick:u},L(d(s).returnToTopLabel||"Return to top"),1)),m(Ae,{name:"flyout"},{default:h(()=>[n.value?(i(),l("div",{key:0,ref_key:"items",ref:a,class:"items",onClick:_},[c("a",{class:"top-link",href:"#",onClick:u},L(d(s).returnToTopLabel||"Return to top"),1),m(Ue,{headers:v.value},null,8,["headers"])],512)):f("",!0)]),_:1})],4))}});const pi=g(_i,[["__scopeId","data-v-07aca99e"]]),hi={key:0,class:"VPLocalNav"},vi=["aria-expanded"],fi={class:"menu-text"},mi=k({__name:"VPLocalNav",props:{open:{type:Boolean}},emits:["open-menu"],setup(t){const{theme:e,frontmatter:s}=I(),{hasSidebar:n}=K();return(o,a)=>d(s).layout!=="home"?(i(),l("div",hi,[d(n)?(i(),l("button",{key:0,class:"menu","aria-expanded":o.open,"aria-controls":"VPSidebarNav",onClick:a[0]||(a[0]=r=>o.$emit("open-menu"))},[m(Qa,{class:"menu-icon"}),c("span",fi,L(d(e).sidebarMenuLabel||"Menu"),1)],8,vi)):f("",!0),m(pi)])):f("",!0)}});const gi=g(mi,[["__scopeId","data-v-9a33564b"]]),yi=t=>(R("data-v-77d7a963"),t=t(),U(),t),bi=["role","tabindex"],$i=yi(()=>c("div",{class:"indicator"},null,-1)),ki=["onKeydown"],Pi={key:1,class:"items"},Vi=k({__name:"VPSidebarItem",props:{item:{},depth:{}},setup(t){const e=t,{collapsed:s,collapsible:n,isLink:o,isActiveLink:a,hasActiveLink:r,hasChildren:_,toggle:u}=Xt(S(()=>e.item)),v=S(()=>_.value?"section":"div"),b=S(()=>o.value?"a":"div"),$=S(()=>_.value?e.depth+2===7?"p":`h${e.depth+2}`:"p"),P=S(()=>o.value?void 0:"button"),y=S(()=>[[`level-${e.depth}`],{collapsible:n.value},{collapsed:s.value},{"is-link":o.value},{"is-active":a.value},{"has-active":r.value}]);function w(C){"key"in C&&C.key!=="Enter"||!e.item.link&&u()}function N(){e.item.link&&u()}return(C,H)=>{const x=Y("VPSidebarItem",!0);return i(),V(Q(v.value),{class:A(["VPSidebarItem",y.value])},{default:h(()=>[C.item.text?(i(),l("div",_e({key:0,class:"item",role:P.value},At(C.item.items?{click:w,keydown:w}:{},!0),{tabindex:C.item.items&&0}),[$i,C.item.link?(i(),V(W,{key:0,tag:b.value,class:"link",href:C.item.link},{default:h(()=>[(i(),V(Q($.value),{class:"text",innerHTML:C.item.text},null,8,["innerHTML"]))]),_:1},8,["tag","href"])):(i(),V(Q($.value),{key:1,class:"text",innerHTML:C.item.text},null,8,["innerHTML"])),C.item.collapsed!=null?(i(),l("div",{key:2,class:"caret",role:"button","aria-label":"toggle section",onClick:N,onKeydown:Bt(N,["enter"]),tabindex:"0"},[m(We,{class:"caret-icon"})],40,ki)):f("",!0)],16,bi)):f("",!0),C.item.items&&C.item.items.length?(i(),l("div",Pi,[C.depth<5?(i(!0),l(B,{key:0},D(C.item.items,T=>(i(),V(x,{key:T.text,item:T,depth:C.depth+1},null,8,["item","depth"]))),128)):f("",!0)])):f("",!0)]),_:1},8,["class"])}}});const wi=g(Vi,[["__scopeId","data-v-77d7a963"]]),ft=t=>(R("data-v-a2c0de1b"),t=t(),U(),t),Si=ft(()=>c("div",{class:"curtain"},null,-1)),Li={class:"nav",id:"VPSidebarNav","aria-labelledby":"sidebar-aria-label",tabindex:"-1"},Mi=ft(()=>c("span",{class:"visually-hidden",id:"sidebar-aria-label"}," Sidebar Navigation ",-1)),Ci=k({__name:"VPSidebar",props:{open:{type:Boolean}},setup(t){const e=t,{sidebarGroups:s,hasSidebar:n}=K();let o=M(null);function a(){pt(o.value,{reserveScrollBarGap:!0})}function r(){ht()}return Nt(async()=>{var _;e.open?(a(),(_=o.value)==null||_.focus()):r()}),(_,u)=>d(n)?(i(),l("aside",{key:0,class:A(["VPSidebar",{open:_.open}]),ref_key:"navEl",ref:o,onClick:u[0]||(u[0]=ot(()=>{},["stop"]))},[Si,c("nav",Li,[Mi,p(_.$slots,"sidebar-nav-before",{},void 0,!0),(i(!0),l(B,null,D(d(s),v=>(i(),l("div",{key:v.text,class:"group"},[m(wi,{item:v,depth:0},null,8,["item"])]))),128)),p(_.$slots,"sidebar-nav-after",{},void 0,!0)])],2)):f("",!0)}});const Ii=g(Ci,[["__scopeId","data-v-a2c0de1b"]]),Ti={},xi={class:"VPPage"};function Ai(t,e){const s=Y("Content");return i(),l("div",xi,[p(t.$slots,"page-top"),m(s),p(t.$slots,"page-bottom")])}const Bi=g(Ti,[["render",Ai]]),Ni=k({__name:"VPButton",props:{tag:{},size:{},theme:{},text:{},href:{}},setup(t){const e=t,s=S(()=>[e.size??"medium",e.theme??"brand"]),n=S(()=>e.href&&at.test(e.href)),o=S(()=>e.tag?e.tag:e.href?"a":"button");return(a,r)=>(i(),V(Q(o.value),{class:A(["VPButton",s.value]),href:a.href?d(re)(a.href):void 0,target:n.value?"_blank":void 0,rel:n.value?"noreferrer":void 0},{default:h(()=>[E(L(a.text),1)]),_:1},8,["class","href","target","rel"]))}});const zi=g(Ni,[["__scopeId","data-v-a4b757f0"]]),Hi=t=>(R("data-v-3b95c4f3"),t=t(),U(),t),Ei={class:"container"},Di={class:"main"},Oi={key:0,class:"name"},Fi={class:"clip"},ji={key:1,class:"text"},qi={key:2,class:"tagline"},Gi={key:0,class:"actions"},Ri={key:0,class:"image"},Ui={class:"image-container"},Wi=Hi(()=>c("div",{class:"image-bg"},null,-1)),Ki=k({__name:"VPHero",props:{name:{},text:{},tagline:{},image:{},actions:{}},setup(t){const e=Be("hero-image-slot-exists");return(s,n)=>(i(),l("div",{class:A(["VPHero",{"has-image":s.image||d(e)}])},[c("div",Ei,[c("div",Di,[p(s.$slots,"home-hero-info",{},()=>[s.name?(i(),l("h1",Oi,[c("span",Fi,L(s.name),1)])):f("",!0),s.text?(i(),l("p",ji,L(s.text),1)):f("",!0),s.tagline?(i(),l("p",qi,L(s.tagline),1)):f("",!0)],!0),s.actions?(i(),l("div",Gi,[(i(!0),l(B,null,D(s.actions,o=>(i(),l("div",{key:o.link,class:"action"},[m(zi,{tag:"a",size:"medium",theme:o.theme,text:o.text,href:o.link},null,8,["theme","text","href"])]))),128))])):f("",!0)]),s.image||d(e)?(i(),l("div",Ri,[c("div",Ui,[Wi,p(s.$slots,"home-hero-image",{},()=>[s.image?(i(),V(Ee,{key:0,class:"image-src",image:s.image},null,8,["image"])):f("",!0)],!0)])])):f("",!0)])],2))}});const Yi=g(Ki,[["__scopeId","data-v-3b95c4f3"]]),Xi=k({__name:"VPHomeHero",setup(t){const{frontmatter:e}=I();return(s,n)=>d(e).hero?(i(),V(Yi,{key:0,class:"VPHomeHero",name:d(e).hero.name,text:d(e).hero.text,tagline:d(e).hero.tagline,image:d(e).hero.image,actions:d(e).hero.actions},{"home-hero-info":h(()=>[p(s.$slots,"home-hero-info")]),"home-hero-image":h(()=>[p(s.$slots,"home-hero-image")]),_:3},8,["name","text","tagline","image","actions"])):f("",!0)}}),Ji={},Qi={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Zi=c("path",{d:"M19.9,12.4c0.1-0.2,0.1-0.5,0-0.8c-0.1-0.1-0.1-0.2-0.2-0.3l-7-7c-0.4-0.4-1-0.4-1.4,0s-0.4,1,0,1.4l5.3,5.3H5c-0.6,0-1,0.4-1,1s0.4,1,1,1h11.6l-5.3,5.3c-0.4,0.4-0.4,1,0,1.4c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3l7-7C19.8,12.6,19.9,12.5,19.9,12.4z"},null,-1),er=[Zi];function tr(t,e){return i(),l("svg",Qi,er)}const sr=g(Ji,[["render",tr]]),nr={class:"box"},or=["innerHTML"],ar=["innerHTML"],ir=["innerHTML"],rr={key:3,class:"link-text"},lr={class:"link-text-value"},cr=k({__name:"VPFeature",props:{icon:{},title:{},details:{},link:{},linkText:{}},setup(t){return(e,s)=>(i(),V(W,{class:"VPFeature",href:e.link,"no-icon":!0},{default:h(()=>[c("article",nr,[typeof e.icon=="object"?(i(),V(Ee,{key:0,image:e.icon,alt:e.icon.alt,height:e.icon.height,width:e.icon.width},null,8,["image","alt","height","width"])):e.icon?(i(),l("div",{key:1,class:"icon",innerHTML:e.icon},null,8,or)):f("",!0),c("h2",{class:"title",innerHTML:e.title},null,8,ar),e.details?(i(),l("p",{key:2,class:"details",innerHTML:e.details},null,8,ir)):f("",!0),e.linkText?(i(),l("div",rr,[c("p",lr,[E(L(e.linkText)+" ",1),m(sr,{class:"link-text-icon"})])])):f("",!0)])]),_:1},8,["href"]))}});const ur=g(cr,[["__scopeId","data-v-fdb307a3"]]),dr={key:0,class:"VPFeatures"},_r={class:"container"},pr={class:"items"},hr=k({__name:"VPFeatures",props:{features:{}},setup(t){const e=t,s=S(()=>{const n=e.features.length;if(n){if(n===2)return"grid-2";if(n===3)return"grid-3";if(n%3===0)return"grid-6";if(n>3)return"grid-4"}else return});return(n,o)=>n.features?(i(),l("div",dr,[c("div",_r,[c("div",pr,[(i(!0),l(B,null,D(n.features,a=>(i(),l("div",{key:a.title,class:A(["item",[s.value]])},[m(ur,{icon:a.icon,title:a.title,details:a.details,link:a.link,"link-text":a.linkText},null,8,["icon","title","details","link","link-text"])],2))),128))])])])):f("",!0)}});const vr=g(hr,[["__scopeId","data-v-3ffdf97e"]]),fr=k({__name:"VPHomeFeatures",setup(t){const{frontmatter:e}=I();return(s,n)=>d(e).features?(i(),V(vr,{key:0,class:"VPHomeFeatures",features:d(e).features},null,8,["features"])):f("",!0)}}),mr={class:"VPHome"},gr=k({__name:"VPHome",setup(t){return(e,s)=>{const n=Y("Content");return i(),l("div",mr,[p(e.$slots,"home-hero-before",{},void 0,!0),m(Xi,null,{"home-hero-info":h(()=>[p(e.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-image":h(()=>[p(e.$slots,"home-hero-image",{},void 0,!0)]),_:3}),p(e.$slots,"home-hero-after",{},void 0,!0),p(e.$slots,"home-features-before",{},void 0,!0),m(fr),p(e.$slots,"home-features-after",{},void 0,!0),m(n)])}}});const yr=g(gr,[["__scopeId","data-v-8ebac4ee"]]),br=t=>(R("data-v-c3ff47cc"),t=t(),U(),t),$r={class:"content"},kr={class:"outline-title"},Pr={"aria-labelledby":"doc-outline-aria-label"},Vr=br(()=>c("span",{class:"visually-hidden",id:"doc-outline-aria-label"}," Table of Contents for current page ",-1)),wr=k({__name:"VPDocAsideOutline",setup(t){const{frontmatter:e,theme:s}=I(),n=Ne([]);ie(()=>{n.value=Re(e.value.outline??s.value.outline)});const o=M(),a=M();return ni(o,a),(r,_)=>(i(),l("div",{class:A(["VPDocAsideOutline",{"has-outline":n.value.length>0}]),ref_key:"container",ref:o},[c("div",$r,[c("div",{class:"outline-marker",ref_key:"marker",ref:a},null,512),c("div",kr,L(d(Ge)(d(s))),1),c("nav",Pr,[Vr,m(Ue,{headers:n.value,root:!0},null,8,["headers"])])])],2))}});const Sr=g(wr,[["__scopeId","data-v-c3ff47cc"]]),Lr={class:"VPDocAsideCarbonAds"},Mr=k({__name:"VPDocAsideCarbonAds",props:{carbonAds:{}},setup(t){const e=()=>null;return(s,n)=>(i(),l("div",Lr,[m(d(e),{"carbon-ads":s.carbonAds},null,8,["carbon-ads"])]))}}),Cr=t=>(R("data-v-79cae1a0"),t=t(),U(),t),Ir={class:"VPDocAside"},Tr=Cr(()=>c("div",{class:"spacer"},null,-1)),xr=k({__name:"VPDocAside",setup(t){const{theme:e}=I();return(s,n)=>(i(),l("div",Ir,[p(s.$slots,"aside-top",{},void 0,!0),p(s.$slots,"aside-outline-before",{},void 0,!0),m(Sr),p(s.$slots,"aside-outline-after",{},void 0,!0),Tr,p(s.$slots,"aside-ads-before",{},void 0,!0),d(e).carbonAds?(i(),V(Mr,{key:0,"carbon-ads":d(e).carbonAds},null,8,["carbon-ads"])):f("",!0),p(s.$slots,"aside-ads-after",{},void 0,!0),p(s.$slots,"aside-bottom",{},void 0,!0)]))}});const Ar=g(xr,[["__scopeId","data-v-79cae1a0"]]);function Br(){const{theme:t,page:e}=I();return S(()=>{const{text:s="Edit this page",pattern:n=""}=t.value.editLink||{};let o;return typeof n=="function"?o=n(e.value):o=n.replace(/:path/g,e.value.filePath),{url:o,text:s}})}function Nr(){const{page:t,theme:e,frontmatter:s}=I();return S(()=>{var r,_,u,v;const n=rt(e.value.sidebar,t.value.relativePath),o=Kt(n),a=o.findIndex(b=>te(t.value.relativePath,b.link));return{prev:s.value.prev===!1?void 0:{text:(typeof s.value.prev=="string"?s.value.prev:typeof s.value.prev=="object"?s.value.prev.text:void 0)??((r=o[a-1])==null?void 0:r.text),link:(typeof s.value.prev=="object"?s.value.prev.link:void 0)??((_=o[a-1])==null?void 0:_.link)},next:s.value.next===!1?void 0:{text:(typeof s.value.next=="string"?s.value.next:typeof s.value.next=="object"?s.value.next.text:void 0)??((u=o[a+1])==null?void 0:u.text),link:(typeof s.value.next=="object"?s.value.next.link:void 0)??((v=o[a+1])==null?void 0:v.link)}}})}const zr={},Hr={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Er=c("path",{d:"M18,23H4c-1.7,0-3-1.3-3-3V6c0-1.7,1.3-3,3-3h7c0.6,0,1,0.4,1,1s-0.4,1-1,1H4C3.4,5,3,5.4,3,6v14c0,0.6,0.4,1,1,1h14c0.6,0,1-0.4,1-1v-7c0-0.6,0.4-1,1-1s1,0.4,1,1v7C21,21.7,19.7,23,18,23z"},null,-1),Dr=c("path",{d:"M8,17c-0.3,0-0.5-0.1-0.7-0.3C7,16.5,6.9,16.1,7,15.8l1-4c0-0.2,0.1-0.3,0.3-0.5l9.5-9.5c1.2-1.2,3.2-1.2,4.4,0c1.2,1.2,1.2,3.2,0,4.4l-9.5,9.5c-0.1,0.1-0.3,0.2-0.5,0.3l-4,1C8.2,17,8.1,17,8,17zM9.9,12.5l-0.5,2.1l2.1-0.5l9.3-9.3c0.4-0.4,0.4-1.1,0-1.6c-0.4-0.4-1.2-0.4-1.6,0l0,0L9.9,12.5z M18.5,2.5L18.5,2.5L18.5,2.5z"},null,-1),Or=[Er,Dr];function Fr(t,e){return i(),l("svg",Hr,Or)}const jr=g(zr,[["render",Fr]]),qr={class:"VPLastUpdated"},Gr=["datetime"],Rr=k({__name:"VPDocFooterLastUpdated",setup(t){const{theme:e,page:s,lang:n}=I(),o=S(()=>new Date(s.value.lastUpdated)),a=S(()=>o.value.toISOString()),r=M("");return J(()=>{ae(()=>{r.value=o.value.toLocaleString(n.value)})}),(_,u)=>(i(),l("p",qr,[E(L(d(e).lastUpdatedText||"Last updated")+": ",1),c("time",{datetime:a.value},L(r.value),9,Gr)]))}});const Ur=g(Rr,[["__scopeId","data-v-f00606ba"]]),Wr={key:0,class:"VPDocFooter"},Kr={key:0,class:"edit-info"},Yr={key:0,class:"edit-link"},Xr={key:1,class:"last-updated"},Jr={key:1,class:"prev-next"},Qr={class:"pager"},Zr=["href"],el=["innerHTML"],tl=["innerHTML"],sl=["href"],nl=["innerHTML"],ol=["innerHTML"],al=k({__name:"VPDocFooter",setup(t){const{theme:e,page:s,frontmatter:n}=I(),o=Br(),a=Nr(),r=S(()=>e.value.editLink&&n.value.editLink!==!1),_=S(()=>s.value.lastUpdated&&n.value.lastUpdated!==!1),u=S(()=>r.value||_.value||a.value.prev||a.value.next);return(v,b)=>{var $,P,y,w,N,C,H;return u.value?(i(),l("footer",Wr,[p(v.$slots,"doc-footer-before",{},void 0,!0),r.value||_.value?(i(),l("div",Kr,[r.value?(i(),l("div",Yr,[m(W,{class:"edit-link-button",href:d(o).url,"no-icon":!0},{default:h(()=>[m(jr,{class:"edit-link-icon","aria-label":"edit icon"}),E(" "+L(d(o).text),1)]),_:1},8,["href"])])):f("",!0),_.value?(i(),l("div",Xr,[m(Ur)])):f("",!0)])):f("",!0),($=d(a).prev)!=null&&$.link||(P=d(a).next)!=null&&P.link?(i(),l("div",Jr,[c("div",Qr,[(y=d(a).prev)!=null&&y.link?(i(),l("a",{key:0,class:"pager-link prev",href:d(re)(d(a).prev.link)},[c("span",{class:"desc",innerHTML:((w=d(e).docFooter)==null?void 0:w.prev)||"Previous page"},null,8,el),c("span",{class:"title",innerHTML:d(a).prev.text},null,8,tl)],8,Zr)):f("",!0)]),c("div",{class:A(["pager",{"has-prev":(N=d(a).prev)==null?void 0:N.link}])},[(C=d(a).next)!=null&&C.link?(i(),l("a",{key:0,class:"pager-link next",href:d(re)(d(a).next.link)},[c("span",{class:"desc",innerHTML:((H=d(e).docFooter)==null?void 0:H.next)||"Next page"},null,8,nl),c("span",{class:"title",innerHTML:d(a).next.text},null,8,ol)],8,sl)):f("",!0)],2)])):f("",!0)])):f("",!0)}}});const il=g(al,[["__scopeId","data-v-31cb5067"]]),rl={key:0,class:"VPDocOutlineDropdown"},ll={key:0,class:"items"},cl=k({__name:"VPDocOutlineDropdown",setup(t){const{frontmatter:e,theme:s}=I(),n=M(!1);ie(()=>{n.value=!1});const o=Ne([]);return ie(()=>{o.value=Re(e.value.outline??s.value.outline)}),(a,r)=>o.value.length>0?(i(),l("div",rl,[c("button",{onClick:r[0]||(r[0]=_=>n.value=!n.value),class:A({open:n.value})},[E(L(d(Ge)(d(s)))+" ",1),m(We,{class:"icon"})],2),n.value?(i(),l("div",ll,[m(Ue,{headers:o.value},null,8,["headers"])])):f("",!0)])):f("",!0)}});const ul=g(cl,[["__scopeId","data-v-f751778e"]]),dl=t=>(R("data-v-5aafa2ac"),t=t(),U(),t),_l={class:"container"},pl=dl(()=>c("div",{class:"aside-curtain"},null,-1)),hl={class:"aside-container"},vl={class:"aside-content"},fl={class:"content"},ml={class:"content-container"},gl={class:"main"},yl=k({__name:"VPDoc",setup(t){const e=le(),{hasSidebar:s,hasAside:n,leftAside:o}=K(),a=S(()=>e.path.replace(/[./]+/g,"_").replace(/_html$/,""));return(r,_)=>{const u=Y("Content");return i(),l("div",{class:A(["VPDoc",{"has-sidebar":d(s),"has-aside":d(n)}])},[p(r.$slots,"doc-top",{},void 0,!0),c("div",_l,[d(n)?(i(),l("div",{key:0,class:A(["aside",{"left-aside":d(o)}])},[pl,c("div",hl,[c("div",vl,[m(Ar,null,{"aside-top":h(()=>[p(r.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":h(()=>[p(r.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":h(()=>[p(r.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":h(()=>[p(r.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":h(()=>[p(r.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":h(()=>[p(r.$slots,"aside-ads-after",{},void 0,!0)]),_:3})])])],2)):f("",!0),c("div",fl,[c("div",ml,[p(r.$slots,"doc-before",{},void 0,!0),m(ul),c("main",gl,[m(u,{class:A(["vp-doc",a.value])},null,8,["class"])]),m(il,null,{"doc-footer-before":h(()=>[p(r.$slots,"doc-footer-before",{},void 0,!0)]),_:3}),p(r.$slots,"doc-after",{},void 0,!0)])])]),p(r.$slots,"doc-bottom",{},void 0,!0)],2)}}});const bl=g(yl,[["__scopeId","data-v-5aafa2ac"]]),Pe=t=>(R("data-v-42c0c3ae"),t=t(),U(),t),$l={class:"NotFound"},kl=Pe(()=>c("p",{class:"code"},"404",-1)),Pl=Pe(()=>c("h1",{class:"title"},"PAGE NOT FOUND",-1)),Vl=Pe(()=>c("div",{class:"divider"},null,-1)),wl=Pe(()=>c("blockquote",{class:"quote"}," But if you don't change your direction, and if you keep looking, you may end up where you are heading. ",-1)),Sl={class:"action"},Ll=["href"],Ml=k({__name:"NotFound",setup(t){const{site:e}=I(),{localeLinks:s}=ce({removeCurrent:!1}),n=M("/");return J(()=>{var a;const o=window.location.pathname.replace(e.value.base,"").replace(/(^.*?\/).*$/,"/$1");s.value.length&&(n.value=((a=s.value.find(({link:r})=>r.startsWith(o)))==null?void 0:a.link)||s.value[0].link)}),(o,a)=>(i(),l("div",$l,[kl,Pl,Vl,wl,c("div",Sl,[c("a",{class:"link",href:d(be)(n.value),"aria-label":"go to home"}," Take me home ",8,Ll)])]))}});const Cl=g(Ml,[["__scopeId","data-v-42c0c3ae"]]),Il=k({__name:"VPContent",setup(t){const{page:e,frontmatter:s}=I(),{hasSidebar:n}=K();return(o,a)=>(i(),l("div",{class:A(["VPContent",{"has-sidebar":d(n),"is-home":d(s).layout==="home"}]),id:"VPContent"},[d(e).isNotFound?p(o.$slots,"not-found",{key:0},()=>[m(Cl)],!0):d(s).layout==="page"?(i(),V(Bi,{key:1},{"page-top":h(()=>[p(o.$slots,"page-top",{},void 0,!0)]),"page-bottom":h(()=>[p(o.$slots,"page-bottom",{},void 0,!0)]),_:3})):d(s).layout==="home"?(i(),V(yr,{key:2},{"home-hero-before":h(()=>[p(o.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info":h(()=>[p(o.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-image":h(()=>[p(o.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":h(()=>[p(o.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":h(()=>[p(o.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":h(()=>[p(o.$slots,"home-features-after",{},void 0,!0)]),_:3})):(i(),V(bl,{key:3},{"doc-top":h(()=>[p(o.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":h(()=>[p(o.$slots,"doc-bottom",{},void 0,!0)]),"doc-footer-before":h(()=>[p(o.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":h(()=>[p(o.$slots,"doc-before",{},void 0,!0)]),"doc-after":h(()=>[p(o.$slots,"doc-after",{},void 0,!0)]),"aside-top":h(()=>[p(o.$slots,"aside-top",{},void 0,!0)]),"aside-outline-before":h(()=>[p(o.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":h(()=>[p(o.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":h(()=>[p(o.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":h(()=>[p(o.$slots,"aside-ads-after",{},void 0,!0)]),"aside-bottom":h(()=>[p(o.$slots,"aside-bottom",{},void 0,!0)]),_:3}))],2))}});const Tl=g(Il,[["__scopeId","data-v-7f38fbbe"]]),xl={class:"container"},Al=["innerHTML"],Bl=["innerHTML"],Nl=k({__name:"VPFooter",setup(t){const{theme:e}=I(),{hasSidebar:s}=K();return(n,o)=>d(e).footer?(i(),l("footer",{key:0,class:A(["VPFooter",{"has-sidebar":d(s)}])},[c("div",xl,[d(e).footer.message?(i(),l("p",{key:0,class:"message",innerHTML:d(e).footer.message},null,8,Al)):f("",!0),d(e).footer.copyright?(i(),l("p",{key:1,class:"copyright",innerHTML:d(e).footer.copyright},null,8,Bl)):f("",!0)])],2)):f("",!0)}});const zl=g(Nl,[["__scopeId","data-v-2425ede7"]]),Hl={key:0,class:"Layout"},El=k({__name:"Layout",setup(t){const{isOpen:e,open:s,close:n}=K(),o=le();ee(()=>o.path,n),Yt(e,n),pe("close-sidebar",n),pe("is-sidebar-open",e);const{frontmatter:a}=I(),r=zt(),_=S(()=>!!r["home-hero-image"]);return pe("hero-image-slot-exists",_),(u,v)=>{const b=Y("Content");return d(a).layout!==!1?(i(),l("div",Hl,[p(u.$slots,"layout-top",{},void 0,!0),m(Qt),m(ts,{class:"backdrop",show:d(e),onClick:d(n)},null,8,["show","onClick"]),m(qa,null,{"nav-bar-title-before":h(()=>[p(u.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":h(()=>[p(u.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":h(()=>[p(u.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":h(()=>[p(u.$slots,"nav-bar-content-after",{},void 0,!0)]),"nav-screen-content-before":h(()=>[p(u.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":h(()=>[p(u.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3}),m(gi,{open:d(e),onOpenMenu:d(s)},null,8,["open","onOpenMenu"]),m(Ii,{open:d(e)},{"sidebar-nav-before":h(()=>[p(u.$slots,"sidebar-nav-before",{},void 0,!0)]),"sidebar-nav-after":h(()=>[p(u.$slots,"sidebar-nav-after",{},void 0,!0)]),_:3},8,["open"]),m(Tl,null,{"page-top":h(()=>[p(u.$slots,"page-top",{},void 0,!0)]),"page-bottom":h(()=>[p(u.$slots,"page-bottom",{},void 0,!0)]),"not-found":h(()=>[p(u.$slots,"not-found",{},void 0,!0)]),"home-hero-before":h(()=>[p(u.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info":h(()=>[p(u.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-image":h(()=>[p(u.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":h(()=>[p(u.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":h(()=>[p(u.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":h(()=>[p(u.$slots,"home-features-after",{},void 0,!0)]),"doc-footer-before":h(()=>[p(u.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":h(()=>[p(u.$slots,"doc-before",{},void 0,!0)]),"doc-after":h(()=>[p(u.$slots,"doc-after",{},void 0,!0)]),"doc-top":h(()=>[p(u.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":h(()=>[p(u.$slots,"doc-bottom",{},void 0,!0)]),"aside-top":h(()=>[p(u.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":h(()=>[p(u.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":h(()=>[p(u.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":h(()=>[p(u.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":h(()=>[p(u.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":h(()=>[p(u.$slots,"aside-ads-after",{},void 0,!0)]),_:3}),m(zl),p(u.$slots,"layout-bottom",{},void 0,!0)])):(i(),V(b,{key:1}))}}});const Dl=g(El,[["__scopeId","data-v-bd8710d4"]]),Ol={},Fl={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},jl=c("path",{d:"M12,22.2c-0.3,0-0.5-0.1-0.7-0.3l-8.8-8.8c-2.5-2.5-2.5-6.7,0-9.2c2.5-2.5,6.7-2.5,9.2,0L12,4.3l0.4-0.4c0,0,0,0,0,0C13.6,2.7,15.2,2,16.9,2c0,0,0,0,0,0c1.7,0,3.4,0.7,4.6,1.9l0,0c1.2,1.2,1.9,2.9,1.9,4.6c0,1.7-0.7,3.4-1.9,4.6l-8.8,8.8C12.5,22.1,12.3,22.2,12,22.2zM7,4C5.9,4,4.7,4.4,3.9,5.3c-1.8,1.8-1.8,4.6,0,6.4l8.1,8.1l8.1-8.1c0.9-0.9,1.3-2,1.3-3.2c0-1.2-0.5-2.3-1.3-3.2l0,0C19.3,4.5,18.2,4,17,4c0,0,0,0,0,0c-1.2,0-2.3,0.5-3.2,1.3c0,0,0,0,0,0l-1.1,1.1c-0.4,0.4-1,0.4-1.4,0l-1.1-1.1C9.4,4.4,8.2,4,7,4z"},null,-1),ql=[jl];function Gl(t,e){return i(),l("svg",Fl,ql)}const Rl=g(Ol,[["render",Gl]]);const Ul={},Wl={class:"VPTeamPage"};function Kl(t,e){return i(),l("div",Wl,[p(t.$slots,"default")])}const wc=g(Ul,[["render",Kl],["__scopeId","data-v-05fecbf1"]]);const Yl={},Xl={class:"VPTeamPageTitle"},Jl={key:0,class:"title"},Ql={key:1,class:"lead"};function Zl(t,e){return i(),l("div",Xl,[t.$slots.title?(i(),l("h1",Jl,[p(t.$slots,"title",{},void 0,!0)])):f("",!0),t.$slots.lead?(i(),l("p",Ql,[p(t.$slots,"lead",{},void 0,!0)])):f("",!0)])}const Sc=g(Yl,[["render",Zl],["__scopeId","data-v-6ce551d6"]]);const ec={},tc=t=>(R("data-v-1ac32f26"),t=t(),U(),t),sc={class:"VPTeamPageSection"},nc={class:"title"},oc=tc(()=>c("div",{class:"title-line"},null,-1)),ac={key:0,class:"title-text"},ic={key:0,class:"lead"},rc={key:1,class:"members"};function lc(t,e){return i(),l("section",sc,[c("div",nc,[oc,t.$slots.title?(i(),l("h2",ac,[p(t.$slots,"title",{},void 0,!0)])):f("",!0)]),t.$slots.lead?(i(),l("p",ic,[p(t.$slots,"lead",{},void 0,!0)])):f("",!0),t.$slots.members?(i(),l("div",rc,[p(t.$slots,"members",{},void 0,!0)])):f("",!0)])}const Lc=g(ec,[["render",lc],["__scopeId","data-v-1ac32f26"]]),cc={class:"profile"},uc={class:"avatar"},dc=["src","alt"],_c={class:"data"},pc={class:"name"},hc={key:0,class:"affiliation"},vc={key:0,class:"title"},fc={key:1,class:"at"},mc=["innerHTML"],gc={key:2,class:"links"},yc={key:0,class:"sp"},bc=k({__name:"VPTeamMembersItem",props:{size:{},member:{}},setup(t){return(e,s)=>(i(),l("article",{class:A(["VPTeamMembersItem",[e.size??"medium"]])},[c("div",cc,[c("figure",uc,[c("img",{class:"avatar-img",src:e.member.avatar,alt:e.member.name},null,8,dc)]),c("div",_c,[c("h1",pc,L(e.member.name),1),e.member.title||e.member.org?(i(),l("p",hc,[e.member.title?(i(),l("span",vc,L(e.member.title),1)):f("",!0),e.member.title&&e.member.org?(i(),l("span",fc," @ ")):f("",!0),e.member.org?(i(),V(W,{key:2,class:A(["org",{link:e.member.orgLink}]),href:e.member.orgLink,"no-icon":""},{default:h(()=>[E(L(e.member.org),1)]),_:1},8,["class","href"])):f("",!0)])):f("",!0),e.member.desc?(i(),l("p",{key:1,class:"desc",innerHTML:e.member.desc},null,8,mc)):f("",!0),e.member.links?(i(),l("div",gc,[m(ke,{links:e.member.links},null,8,["links"])])):f("",!0)])]),e.member.sponsor?(i(),l("div",yc,[m(W,{class:"sp-link",href:e.member.sponsor,"no-icon":""},{default:h(()=>[m(Rl,{class:"sp-icon"}),E(" Sponsor ")]),_:1},8,["href"])])):f("",!0)],2))}});const $c=g(bc,[["__scopeId","data-v-cb9b61e6"]]),kc={class:"container"},Pc=k({__name:"VPTeamMembers",props:{size:{},members:{}},setup(t){const e=t,s=S(()=>[e.size??"medium",`count-${e.members.length}`]);return(n,o)=>(i(),l("div",{class:A(["VPTeamMembers",s.value])},[c("div",kc,[(i(!0),l(B,null,D(n.members,a=>(i(),l("div",{key:a.name,class:"item"},[m($c,{size:n.size,member:a},null,8,["size","member"])]))),128))])],2))}});const Mc=g(Pc,[["__scopeId","data-v-ed08c3d1"]]),Cc={Layout:Dl,enhanceApp:({app:t})=>{t.component("Badge",Et)}};export{Sc as V,Mc as a,Lc as b,wc as c,Cc as t}; diff --git a/assets/chunks/theme.3144e18a.js b/assets/chunks/theme.3144e18a.js deleted file mode 100644 index 847027e..0000000 --- a/assets/chunks/theme.3144e18a.js +++ /dev/null @@ -1,7 +0,0 @@ -import{d as k,o as i,c as l,r as p,a as E,t as M,n as A,_ as g,u as nt,b as d,e as bt,f as st,g as $t,h as L,i as kt,j as Pt,w as ee,k as ae,l as S,m as Vt,p as J,q as wt,P as St,s as be,v as te,x as le,y as xe,z as c,F as B,A as V,B as h,C as f,T as Ae,D as Y,E as _e,G as m,H as Lt,I as Mt,J as We,K as ot,L as Ct,M as D,N as It,O as Q,Q as at,R as Tt,S as R,U,V as xt,W as Ke,X as Be,Y as pe,Z as At,$ as ie,a0 as Ne,a1 as Bt,a2 as Nt,a3 as zt,a4 as Ht,a5 as Et,a6 as Dt}from"./framework.7384f92b.js";const Ot=k({__name:"VPBadge",props:{text:{},type:{}},setup(t){return(e,n)=>(i(),l("span",{class:A(["VPBadge",e.type??"tip"])},[p(e.$slots,"default",{},()=>[E(M(e.text),1)],!0)],2))}});const Ft=g(Ot,[["__scopeId","data-v-e233384c"]]),I=nt;function it(t){return kt()?(Pt(t),!0):!1}function rt(t){return typeof t=="function"?t():d(t)}const jt=typeof window<"u",lt=()=>{};function qt(...t){if(t.length!==1)return bt(...t);const e=t[0];return typeof e=="function"?st($t(()=>({get:e,set:lt}))):L(e)}function Gt(t){var e;const n=rt(t);return(e=n==null?void 0:n.$el)!=null?e:n}const ze=jt?window:void 0;function Rt(...t){let e,n,s,o;if(typeof t[0]=="string"||Array.isArray(t[0])?([n,s,o]=t,e=ze):[e,n,s,o]=t,!e)return lt;Array.isArray(n)||(n=[n]),Array.isArray(s)||(s=[s]);const a=[],r=()=>{a.forEach(b=>b()),a.length=0},_=(b,$,P,y)=>(b.addEventListener($,P,y),()=>b.removeEventListener($,P,y)),u=ee(()=>[Gt(e),rt(o)],([b,$])=>{r(),b&&a.push(...n.flatMap(P=>s.map(y=>_(b,P,y,$))))},{immediate:!0,flush:"post"}),v=()=>{u(),r()};return it(v),v}function Ut(){const t=L(!1);return Vt()&&J(()=>{t.value=!0}),t}function Wt(t){const e=Ut();return S(()=>(e.value,!!t()))}function Me(t,e={}){const{window:n=ze}=e,s=Wt(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let o;const a=L(!1),r=()=>{o&&("removeEventListener"in o?o.removeEventListener("change",_):o.removeListener(_))},_=()=>{s.value&&(r(),o=n.matchMedia(qt(t).value),a.value=!!(o!=null&&o.matches),o&&("addEventListener"in o?o.addEventListener("change",_):o.addListener(_)))};return ae(_),it(()=>r()),a}function Kt({window:t=ze}={}){if(!t)return{x:L(0),y:L(0)};const e=L(t.scrollX),n=L(t.scrollY);return Rt(t,"scroll",()=>{e.value=t.scrollX,n.value=t.scrollY},{capture:!1,passive:!0}),{x:e,y:n}}function Yt(t,e){let n,s=!1;return()=>{n&&clearTimeout(n),s?n=setTimeout(t,e):(t(),s=!0,setTimeout(()=>{s=!1},e))}}function Ce(t){return/^\//.test(t)?t:`/${t}`}function re(t){if(wt(t))return t.replace(St,"");const{site:e}=I(),{pathname:n,search:s,hash:o}=new URL(t,"http://example.com"),a=n.endsWith("/")||n.endsWith(".html")?t:t.replace(/(?:(^\.+)\/)?.*$/,`$1${n.replace(/(\.md)?$/,e.value.cleanUrls?"":".html")}${s}${o}`);return be(a)}function ct(t,e){if(Array.isArray(t))return t;if(t==null)return[];e=Ce(e);const n=Object.keys(t).sort((s,o)=>o.split("/").length-s.split("/").length).find(s=>e.startsWith(Ce(s)));return n?t[n]:[]}function Xt(t){const e=[];let n=0;for(const s in t){const o=t[s];if(o.items){n=e.push(o);continue}e[n]||e.push({items:[]}),e[n].items.push(o)}return e}function Jt(t){const e=[];function n(s){for(const o of s)o.text&&o.link&&e.push({text:o.text,link:o.link}),o.items&&n(o.items)}return n(t),e}function Ie(t,e){return Array.isArray(e)?e.some(n=>Ie(t,n)):te(t,e.link)?!0:e.items?Ie(t,e.items):!1}function K(){const t=le(),{theme:e,frontmatter:n}=I(),s=Me("(min-width: 960px)"),o=L(!1),a=S(()=>{const w=e.value.sidebar,N=t.data.relativePath;return w?ct(w,N):[]}),r=S(()=>n.value.sidebar!==!1&&a.value.length>0&&n.value.layout!=="home"),_=S(()=>u?n.value.aside==null?e.value.aside==="left":n.value.aside==="left":!1),u=S(()=>n.value.layout==="home"?!1:n.value.aside!=null?!!n.value.aside:e.value.aside!==!1),v=S(()=>r.value&&s.value),b=S(()=>r.value?Xt(a.value):[]);function $(){o.value=!0}function P(){o.value=!1}function y(){o.value?P():$()}return{isOpen:o,sidebar:a,sidebarGroups:b,hasSidebar:r,hasAside:u,leftAside:_,isSidebarEnabled:v,open:$,close:P,toggle:y}}function Qt(t,e){let n;ae(()=>{n=t.value?document.activeElement:void 0}),J(()=>{window.addEventListener("keyup",s)}),xe(()=>{window.removeEventListener("keyup",s)});function s(o){o.key==="Escape"&&t.value&&(e(),n==null||n.focus())}}function Zt(t){const{page:e}=I(),n=L(!1),s=S(()=>t.value.collapsed!=null),o=S(()=>!!t.value.link),a=S(()=>te(e.value.relativePath,t.value.link)),r=S(()=>a.value?!0:t.value.items?Ie(e.value.relativePath,t.value.items):!1),_=S(()=>!!(t.value.items&&t.value.items.length));ae(()=>{n.value=!!(s.value&&t.value.collapsed)}),ae(()=>{(a.value||r.value)&&(n.value=!1)});function u(){s.value&&(n.value=!n.value)}return{collapsed:n,collapsible:s,isLink:o,isActiveLink:a,hasActiveLink:r,hasChildren:_,toggle:u}}const en=k({__name:"VPSkipLink",setup(t){const e=le(),n=L();ee(()=>e.path,()=>n.value.focus());function s({target:o}){const a=document.querySelector(decodeURIComponent(o.hash));if(a){const r=()=>{a.removeAttribute("tabindex"),a.removeEventListener("blur",r)};a.setAttribute("tabindex","-1"),a.addEventListener("blur",r),a.focus(),window.scrollTo(0,0)}}return(o,a)=>(i(),l(B,null,[c("span",{ref_key:"backToTop",ref:n,tabindex:"-1"},null,512),c("a",{href:"#VPContent",class:"VPSkipLink visually-hidden",onClick:s}," Skip to content ")],64))}});const tn=g(en,[["__scopeId","data-v-994b33bc"]]),nn={key:0,class:"VPBackdrop"},sn=k({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(t){return(e,n)=>(i(),V(Ae,{name:"fade"},{default:h(()=>[e.show?(i(),l("div",nn)):f("",!0)]),_:1}))}});const on=g(sn,[["__scopeId","data-v-b2600058"]]);function an(){const t=L(!1);function e(){t.value=!0,window.addEventListener("resize",o)}function n(){t.value=!1,window.removeEventListener("resize",o)}function s(){t.value?n():e()}function o(){window.outerWidth>=768&&n()}const a=le();return ee(()=>a.path,n),{isScreenOpen:t,openScreen:e,closeScreen:n,toggleScreen:s}}function ce({removeCurrent:t=!0,correspondingLink:e=!1}={}){const{site:n,localeIndex:s,page:o,theme:a}=I(),r=S(()=>{var u,v;return{label:(u=n.value.locales[s.value])==null?void 0:u.label,link:((v=n.value.locales[s.value])==null?void 0:v.link)||(s.value==="root"?"/":`/${s.value}/`)}});return{localeLinks:S(()=>Object.entries(n.value.locales).flatMap(([u,v])=>t&&r.value.label===v.label?[]:{text:v.label,link:rn(v.link||(u==="root"?"/":`/${u}/`),a.value.i18nRouting!==!1&&e,o.value.relativePath.slice(r.value.link.length-1),!n.value.cleanUrls)})),currentLang:r}}function rn(t,e,n,s){return e?t.replace(/\/$/,"")+Ce(n.replace(/(^|\/)?index.md$/,"$1").replace(/\.md$/,s?".html":"")):t}const ln=["src","alt"],cn={inheritAttrs:!1},un=k({...cn,__name:"VPImage",props:{image:{},alt:{}},setup(t){return(e,n)=>{const s=Y("VPImage",!0);return e.image?(i(),l(B,{key:0},[typeof e.image=="string"||"src"in e.image?(i(),l("img",_e({key:0,class:"VPImage"},typeof e.image=="string"?e.$attrs:{...e.image,...e.$attrs},{src:d(be)(typeof e.image=="string"?e.image:e.image.src),alt:e.alt??(typeof e.image=="string"?"":e.image.alt||"")}),null,16,ln)):(i(),l(B,{key:1},[m(s,_e({class:"dark",image:e.image.dark,alt:e.image.alt},e.$attrs),null,16,["image","alt"]),m(s,_e({class:"light",image:e.image.light,alt:e.image.alt},e.$attrs),null,16,["image","alt"])],64))],64)):f("",!0)}}});const He=g(un,[["__scopeId","data-v-74766fef"]]),dn=["href"],_n=k({__name:"VPNavBarTitle",setup(t){const{site:e,theme:n}=I(),{hasSidebar:s}=K(),{currentLang:o}=ce();return(a,r)=>(i(),l("div",{class:A(["VPNavBarTitle",{"has-sidebar":d(s)}])},[c("a",{class:"title",href:d(re)(d(o).link)},[p(a.$slots,"nav-bar-title-before",{},void 0,!0),d(n).logo?(i(),V(He,{key:0,class:"logo",image:d(n).logo},null,8,["image"])):f("",!0),d(n).siteTitle?(i(),l(B,{key:1},[E(M(d(n).siteTitle),1)],64)):d(n).siteTitle===void 0?(i(),l(B,{key:2},[E(M(d(e).title),1)],64)):f("",!0),p(a.$slots,"nav-bar-title-after",{},void 0,!0)],8,dn)],2))}});const pn=g(_n,[["__scopeId","data-v-2f5df328"]]),hn="/assets/flex-logo.2489261b.svg";function we(t,e){return typeof t>"u"?e:t}function Ye(t){const e=Array(t);for(let n=0;n=this.minlength&&(_||!r[b])){let P=de(u,o,v),y="";switch(this.tokenize){case"full":if(3<$){for(let w=0;w<$;w++)for(let N=$;N>w;N--)if(N-w>=this.minlength){const C=de(u,o,v,$,w);y=b.substring(w,N),this.push_index(r,y,C,t,n)}break}case"reverse":if(2<$){for(let w=$-1;0=this.minlength){const N=de(u,o,v,$,w);this.push_index(r,y,N,t,n)}y=""}case"forward":if(1<$){for(let w=0;w<$;w++)y+=b[w],y.length>=this.minlength&&this.push_index(r,y,P,t,n);break}default:if(this.boost&&(P=Math.min(0|P/this.boost(e,b,v),u-1)),this.push_index(r,b,P,t,n),_&&1=this.minlength&&!w[b]){w[b]=1;const T=de(N+(o/2>N?0:1),o,v,H-1,x-1),z=this.bidirectional&&b>C;this.push_index(a,z?C:b,T,t,n,z?b:C)}}}}}this.fastupdate||(this.register[t]=1)}}return this};function de(t,e,n,s,o){return n&&1=this.minlength&&!$[y]){if(!this.optimize&&!a&&!this.map[y])return r;P[N++]=y,$[y]=1}t=P,s=t.length}if(!s)return r;e||(e=100);let u,v=this.depth&&1=n)))));y++);if(v)return o?Qe(_,n,0):void(t[t.length]=_)}return!e&&_};function Qe(t,e,n){return t=t.length===1?t[0]:fn(t),n||t.length>e?t.slice(n,n+e):t}function Ze(t,e,n,s){if(n){const o=s&&e>n;t=t[o?e:n],t=t&&t[o?n:e]}else t=t[e];return t}F.prototype.contain=function(t){return!!this.register[t]},F.prototype.update=function(t,e){return this.remove(t).add(t,e)},F.prototype.remove=function(t,e){const n=this.register[t];if(n){if(this.fastupdate)for(let s,o=0;o{if(a.value){for(var x=$.value.search(a.value,{enrich:!0}),T=[],z=0;z!x||!x.length?[]:x.reduce((z,O)=>(z[T(O)]||(z[T(O)]=[]),z[T(O)].push(O),z),{}),C=()=>{setTimeout(()=>{_.value&&_.value.focus()},100),H(),o.value=!0};J(async()=>{var O,G;const x=await Lt(()=>import("./virtual_search-data.9ffa9226.js"),[]);u.value=x.default.INDEX_DATA,v.value=x.default.PREVIEW_LOOKUP,b.value=x.default.Options,r.value=window.location.origin+be(n.value==="root"?"/":n.value),P.value=((O=b.value)==null?void 0:O.buttonLabel)||P.value,y.value=((G=b.value)==null?void 0:G.placeholder)||y.value;var T=new F(b.value);T.import("reg",u.value.reg),T.import("cfg",u.value.cfg),T.import("map",u.value.map),T.import("ctx",u.value.ctx),$.value=T,s.value.innerHTML=/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)?"⌘":"Ctrl";const z=q=>{var ue;q.key==="k"&&(q.ctrlKey||q.metaKey)&&(q.preventDefault(),C()),q.key==="Escape"&&((ue=a.value)==null?void 0:ue.length)==0&&o.value&&(o.value=!1)};window.addEventListener("keydown",z)});function H(){o.value=!1,a.value=""}return(x,T)=>{const z=Y("ClientOnly");return i(),l("div",zn,[m(z,null,{default:h(()=>[(i(),V(Mt,{to:"body"},[We(c("div",{class:"VPPluginSearch-modal-back",onClick:T[2]||(T[2]=O=>o.value=!1)},[c("div",{class:"VPPluginSearch-modal",onClick:T[1]||(T[1]=ot(()=>{},["stop"]))},[c("form",Hn,[En,We(c("input",{class:"DocSearch-Input","aria-autocomplete":"both","aria-labelledby":"docsearch-label",id:"docsearch-input",autocomplete:"off",autocorrect:"off",autocapitalize:"off",enterkeyhint:"search",spellcheck:"false",autofocus:"true","onUpdate:modelValue":T[0]||(T[0]=O=>a.value=O),placeholder:y.value,maxlength:"64",type:"search",ref_key:"input",ref:_},null,8,Dn),[[Ct,a.value]])]),c("div",On,[(i(!0),l(B,null,D(N(w.value,O=>O.link.split("/").slice(0,-1).join("-")),(O,G)=>(i(),l("div",{key:G},[c("span",Fn,M(G?G.toString()[0].toUpperCase()+G.toString().slice(1):"Home"),1),(i(!0),l(B,null,D(O,q=>(i(),l("a",{href:r.value+q.link,key:q.id,onClick:H},[c("div",qn,[c("span",Gn,M(q.link.includes("#")?"#":"▤"),1),c("div",Rn,[c("h3",null,M(q.title),1),c("p",null,[c("div",{innerHTML:q.preview},null,8,Un)])]),Wn])],8,jn))),128))]))),128))]),Kn])],512),[[It,o.value]])]))]),_:1}),c("div",{id:"docsearch",onClick:T[3]||(T[3]=O=>C())},[c("button",Yn,[c("span",Xn,[Jn,c("span",Qn,M(P.value),1)]),c("span",Zn,[c("span",{class:"DocSearch-Button-Key",ref_key:"metaKey",ref:s},"Meta",512),es])])])])}}});const ns={},ss={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",height:"24px",viewBox:"0 0 24 24",width:"24px"},os=c("path",{d:"M0 0h24v24H0V0z",fill:"none"},null,-1),as=c("path",{d:"M9 5v2h6.59L4 18.59 5.41 20 17 8.41V15h2V5H9z"},null,-1),is=[os,as];function rs(t,e){return i(),l("svg",ss,is)}const ls=g(ns,[["render",rs]]),cs=k({__name:"VPLink",props:{tag:{},href:{},noIcon:{type:Boolean},target:{},rel:{}},setup(t){const e=t,n=S(()=>e.tag??e.href?"a":"span"),s=S(()=>e.href&&at.test(e.href));return(o,a)=>(i(),V(Q(n.value),{class:A(["VPLink",{link:o.href}]),href:o.href?d(re)(o.href):void 0,target:o.target||(s.value?"_blank":void 0),rel:o.rel||(s.value?"noreferrer":void 0)},{default:h(()=>[p(o.$slots,"default",{},void 0,!0),s.value&&!o.noIcon?(i(),V(ls,{key:0,class:"icon"})):f("",!0)]),_:3},8,["class","href","target","rel"]))}});const W=g(cs,[["__scopeId","data-v-87683ad2"]]),us=k({__name:"VPNavBarMenuLink",props:{item:{}},setup(t){const{page:e}=I();return(n,s)=>(i(),V(W,{class:A({VPNavBarMenuLink:!0,active:d(te)(d(e).relativePath,n.item.activeMatch||n.item.link,!!n.item.activeMatch)}),href:n.item.link,target:n.item.target,rel:n.item.rel,tabindex:"0"},{default:h(()=>[E(M(n.item.text),1)]),_:1},8,["class","href","target","rel"]))}});const ds=g(us,[["__scopeId","data-v-f652bfb4"]]),Ee=L();let ut=!1,Le=0;function _s(t){const e=L(!1);if(Tt){!ut&&ps(),Le++;const n=ee(Ee,s=>{var o,a,r;s===t.el.value||(o=t.el.value)!=null&&o.contains(s)?(e.value=!0,(a=t.onFocus)==null||a.call(t)):(e.value=!1,(r=t.onBlur)==null||r.call(t))});xe(()=>{n(),Le--,Le||hs()})}return st(e)}function ps(){document.addEventListener("focusin",dt),ut=!0,Ee.value=document.activeElement}function hs(){document.removeEventListener("focusin",dt)}function dt(){Ee.value=document.activeElement}const vs={},fs={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},ms=c("path",{d:"M12,16c-0.3,0-0.5-0.1-0.7-0.3l-6-6c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l5.3,5.3l5.3-5.3c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-6,6C12.5,15.9,12.3,16,12,16z"},null,-1),gs=[ms];function ys(t,e){return i(),l("svg",fs,gs)}const _t=g(vs,[["render",ys]]),bs={},$s={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},ks=c("circle",{cx:"12",cy:"12",r:"2"},null,-1),Ps=c("circle",{cx:"19",cy:"12",r:"2"},null,-1),Vs=c("circle",{cx:"5",cy:"12",r:"2"},null,-1),ws=[ks,Ps,Vs];function Ss(t,e){return i(),l("svg",$s,ws)}const Ls=g(bs,[["render",Ss]]),Ms={class:"VPMenuLink"},Cs=k({__name:"VPMenuLink",props:{item:{}},setup(t){const{page:e}=I();return(n,s)=>(i(),l("div",Ms,[m(W,{class:A({active:d(te)(d(e).relativePath,n.item.activeMatch||n.item.link,!!n.item.activeMatch)}),href:n.item.link,target:n.item.target,rel:n.item.rel},{default:h(()=>[E(M(n.item.text),1)]),_:1},8,["class","href","target","rel"])]))}});const $e=g(Cs,[["__scopeId","data-v-be8d031a"]]),Is={class:"VPMenuGroup"},Ts={key:0,class:"title"},xs=k({__name:"VPMenuGroup",props:{text:{},items:{}},setup(t){return(e,n)=>(i(),l("div",Is,[e.text?(i(),l("p",Ts,M(e.text),1)):f("",!0),(i(!0),l(B,null,D(e.items,s=>(i(),l(B,null,["link"in s?(i(),V($e,{key:0,item:s},null,8,["item"])):f("",!0)],64))),256))]))}});const As=g(xs,[["__scopeId","data-v-2bec9359"]]),Bs={class:"VPMenu"},Ns={key:0,class:"items"},zs=k({__name:"VPMenu",props:{items:{}},setup(t){return(e,n)=>(i(),l("div",Bs,[e.items?(i(),l("div",Ns,[(i(!0),l(B,null,D(e.items,s=>(i(),l(B,{key:s.text},["link"in s?(i(),V($e,{key:0,item:s},null,8,["item"])):(i(),V(As,{key:1,text:s.text,items:s.items},null,8,["text","items"]))],64))),128))])):f("",!0),p(e.$slots,"default",{},void 0,!0)]))}});const Hs=g(zs,[["__scopeId","data-v-7bffa9cd"]]),Es=["aria-expanded","aria-label"],Ds={key:0,class:"text"},Os={class:"menu"},Fs=k({__name:"VPFlyout",props:{icon:{},button:{},label:{},items:{}},setup(t){const e=L(!1),n=L();_s({el:n,onBlur:s});function s(){e.value=!1}return(o,a)=>(i(),l("div",{class:"VPFlyout",ref_key:"el",ref:n,onMouseenter:a[1]||(a[1]=r=>e.value=!0),onMouseleave:a[2]||(a[2]=r=>e.value=!1)},[c("button",{type:"button",class:"button","aria-haspopup":"true","aria-expanded":e.value,"aria-label":o.label,onClick:a[0]||(a[0]=r=>e.value=!e.value)},[o.button||o.icon?(i(),l("span",Ds,[o.icon?(i(),V(Q(o.icon),{key:0,class:"option-icon"})):f("",!0),E(" "+M(o.button)+" ",1),m(_t,{class:"text-icon"})])):(i(),V(Ls,{key:1,class:"icon"}))],8,Es),c("div",Os,[m(Hs,{items:o.items},{default:h(()=>[p(o.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}});const De=g(Fs,[["__scopeId","data-v-64c29883"]]),js=k({__name:"VPNavBarMenuGroup",props:{item:{}},setup(t){const{page:e}=I();return(n,s)=>(i(),V(De,{class:A({VPNavBarMenuGroup:!0,active:d(te)(d(e).relativePath,n.item.activeMatch,!!n.item.activeMatch)}),button:n.item.text,items:n.item.items},null,8,["class","button","items"]))}}),qs=t=>(R("data-v-c6c3e6d4"),t=t(),U(),t),Gs={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},Rs=qs(()=>c("span",{id:"main-nav-aria-label",class:"visually-hidden"},"Main Navigation",-1)),Us=k({__name:"VPNavBarMenu",setup(t){const{theme:e}=I();return(n,s)=>d(e).nav?(i(),l("nav",Gs,[Rs,(i(!0),l(B,null,D(d(e).nav,o=>(i(),l(B,{key:o.text},["link"in o?(i(),V(ds,{key:0,item:o},null,8,["item"])):(i(),V(js,{key:1,item:o},null,8,["item"]))],64))),128))])):f("",!0)}});const Ws=g(Us,[["__scopeId","data-v-c6c3e6d4"]]),Ks={},Ys={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Xs=c("path",{d:"M0 0h24v24H0z",fill:"none"},null,-1),Js=c("path",{d:" M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z ",class:"css-c4d79v"},null,-1),Qs=[Xs,Js];function Zs(t,e){return i(),l("svg",Ys,Qs)}const pt=g(Ks,[["render",Zs]]),eo={class:"items"},to={class:"title"},no=k({__name:"VPNavBarTranslations",setup(t){const{theme:e}=I(),{localeLinks:n,currentLang:s}=ce({correspondingLink:!0});return(o,a)=>d(n).length&&d(s).label?(i(),V(De,{key:0,class:"VPNavBarTranslations",icon:pt,label:d(e).langMenuLabel||"Change language"},{default:h(()=>[c("div",eo,[c("p",to,M(d(s).label),1),(i(!0),l(B,null,D(d(n),r=>(i(),V($e,{key:r.link,item:r},null,8,["item"]))),128))])]),_:1},8,["label"])):f("",!0)}});const so=g(no,[["__scopeId","data-v-3bf1c934"]]);const oo={},ao={class:"VPSwitch",type:"button",role:"switch"},io={class:"check"},ro={key:0,class:"icon"};function lo(t,e){return i(),l("button",ao,[c("span",io,[t.$slots.default?(i(),l("span",ro,[p(t.$slots,"default",{},void 0,!0)])):f("",!0)])])}const co=g(oo,[["render",lo],["__scopeId","data-v-0a2eba70"]]),uo={},_o={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},po=xt('',9),ho=[po];function vo(t,e){return i(),l("svg",_o,ho)}const fo=g(uo,[["render",vo]]),mo={},go={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},yo=c("path",{d:"M12.1,22c-0.3,0-0.6,0-0.9,0c-5.5-0.5-9.5-5.4-9-10.9c0.4-4.8,4.2-8.6,9-9c0.4,0,0.8,0.2,1,0.5c0.2,0.3,0.2,0.8-0.1,1.1c-2,2.7-1.4,6.4,1.3,8.4c2.1,1.6,5,1.6,7.1,0c0.3-0.2,0.7-0.3,1.1-0.1c0.3,0.2,0.5,0.6,0.5,1c-0.2,2.7-1.5,5.1-3.6,6.8C16.6,21.2,14.4,22,12.1,22zM9.3,4.4c-2.9,1-5,3.6-5.2,6.8c-0.4,4.4,2.8,8.3,7.2,8.7c2.1,0.2,4.2-0.4,5.8-1.8c1.1-0.9,1.9-2.1,2.4-3.4c-2.5,0.9-5.3,0.5-7.5-1.1C9.2,11.4,8.1,7.7,9.3,4.4z"},null,-1),bo=[yo];function $o(t,e){return i(),l("svg",go,bo)}const ko=g(mo,[["render",$o]]),Po=k({__name:"VPSwitchAppearance",setup(t){const{site:e,isDark:n}=I(),s=L(!1),o=typeof localStorage<"u"?a():()=>{};J(()=>{s.value=document.documentElement.classList.contains("dark")});function a(){const r=window.matchMedia("(prefers-color-scheme: dark)"),_=document.documentElement.classList;let u=localStorage.getItem(Ke),v=e.value.appearance==="dark"&&u==null||(u==="auto"||u==null?r.matches:u==="dark");r.onchange=P=>{u==="auto"&&$(v=P.matches)};function b(){$(v=!v),u=v?r.matches?"auto":"dark":r.matches?"light":"auto",localStorage.setItem(Ke,u)}function $(P){const y=document.createElement("style");y.type="text/css",y.appendChild(document.createTextNode(`:not(.VPSwitchAppearance):not(.VPSwitchAppearance *) { - -webkit-transition: none !important; - -moz-transition: none !important; - -o-transition: none !important; - -ms-transition: none !important; - transition: none !important; -}`)),document.head.appendChild(y),s.value=P,_[P?"add":"remove"]("dark"),window.getComputedStyle(y).opacity,document.head.removeChild(y)}return b}return ee(s,r=>{n.value=r}),(r,_)=>(i(),V(co,{title:"toggle dark mode",class:"VPSwitchAppearance","aria-checked":s.value,onClick:d(o)},{default:h(()=>[m(fo,{class:"sun"}),m(ko,{class:"moon"})]),_:1},8,["aria-checked","onClick"]))}});const Oe=g(Po,[["__scopeId","data-v-019e2ece"]]),Vo={key:0,class:"VPNavBarAppearance"},wo=k({__name:"VPNavBarAppearance",setup(t){const{site:e}=I();return(n,s)=>d(e).appearance?(i(),l("div",Vo,[m(Oe)])):f("",!0)}});const So=g(wo,[["__scopeId","data-v-88042fc7"]]),Lo={discord:'Discord',facebook:'Facebook',github:'GitHub',instagram:'Instagram',linkedin:'LinkedIn',mastodon:'Mastodon',slack:'Slack',twitter:'Twitter',youtube:'YouTube'},Mo=["href","aria-label","innerHTML"],Co=k({__name:"VPSocialLink",props:{icon:{},link:{}},setup(t){const e=t,n=S(()=>typeof e.icon=="object"?e.icon.svg:Lo[e.icon]);return(s,o)=>(i(),l("a",{class:"VPSocialLink",href:s.link,"aria-label":typeof s.icon=="string"?s.icon:"",target:"_blank",rel:"noopener",innerHTML:n.value},null,8,Mo))}});const Io=g(Co,[["__scopeId","data-v-ca994af5"]]),To={class:"VPSocialLinks"},xo=k({__name:"VPSocialLinks",props:{links:{}},setup(t){return(e,n)=>(i(),l("div",To,[(i(!0),l(B,null,D(e.links,({link:s,icon:o})=>(i(),V(Io,{key:s,icon:o,link:s},null,8,["icon","link"]))),128))]))}});const ke=g(xo,[["__scopeId","data-v-ffd34ab1"]]),Ao=k({__name:"VPNavBarSocialLinks",setup(t){const{theme:e}=I();return(n,s)=>d(e).socialLinks?(i(),V(ke,{key:0,class:"VPNavBarSocialLinks",links:d(e).socialLinks},null,8,["links"])):f("",!0)}});const Bo=g(Ao,[["__scopeId","data-v-08b35e6f"]]),No={key:0,class:"group translations"},zo={class:"trans-title"},Ho={key:1,class:"group"},Eo={class:"item appearance"},Do={class:"label"},Oo={class:"appearance-action"},Fo={key:2,class:"group"},jo={class:"item social-links"},qo=k({__name:"VPNavBarExtra",setup(t){const{site:e,theme:n}=I(),{localeLinks:s,currentLang:o}=ce({correspondingLink:!0}),a=S(()=>s.value.length&&o.value.label||e.value.appearance||n.value.socialLinks);return(r,_)=>a.value?(i(),V(De,{key:0,class:"VPNavBarExtra",label:"extra navigation"},{default:h(()=>[d(s).length&&d(o).label?(i(),l("div",No,[c("p",zo,M(d(o).label),1),(i(!0),l(B,null,D(d(s),u=>(i(),V($e,{key:u.link,item:u},null,8,["item"]))),128))])):f("",!0),d(e).appearance?(i(),l("div",Ho,[c("div",Eo,[c("p",Do,M(d(n).darkModeSwitchLabel||"Appearance"),1),c("div",Oo,[m(Oe)])])])):f("",!0),d(n).socialLinks?(i(),l("div",Fo,[c("div",jo,[m(ke,{class:"social-links-list",links:d(n).socialLinks},null,8,["links"])])])):f("",!0)]),_:1})):f("",!0)}});const Go=g(qo,[["__scopeId","data-v-47bb42ad"]]),Ro=t=>(R("data-v-670493dd"),t=t(),U(),t),Uo=["aria-expanded"],Wo=Ro(()=>c("span",{class:"container"},[c("span",{class:"top"}),c("span",{class:"middle"}),c("span",{class:"bottom"})],-1)),Ko=[Wo],Yo=k({__name:"VPNavBarHamburger",props:{active:{type:Boolean}},emits:["click"],setup(t){return(e,n)=>(i(),l("button",{type:"button",class:A(["VPNavBarHamburger",{active:e.active}]),"aria-label":"mobile navigation","aria-expanded":e.active,"aria-controls":"VPNavScreen",onClick:n[0]||(n[0]=s=>e.$emit("click"))},Ko,10,Uo))}});const Xo=g(Yo,[["__scopeId","data-v-670493dd"]]),Jo=t=>(R("data-v-884e8224"),t=t(),U(),t),Qo={class:"container"},Zo={class:"title"},ea={class:"content"},ta=Jo(()=>c("div",{class:"curtain"},null,-1)),na={class:"content-body"},sa=k({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(t){const{y:e}=Kt(),{hasSidebar:n}=K(),s=S(()=>({"has-sidebar":n.value,fill:e.value>0}));return(o,a)=>(i(),l("div",{class:A(["VPNavBar",s.value])},[c("div",Qo,[c("div",Zo,[m(pn,null,{"nav-bar-title-before":h(()=>[p(o.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":h(()=>[p(o.$slots,"nav-bar-title-after",{},void 0,!0)]),_:3})]),c("div",ea,[ta,c("div",na,[p(o.$slots,"nav-bar-content-before",{},void 0,!0),m(ts,{class:"search"}),m(Ws,{class:"menu"}),m(so,{class:"translations"}),m(So,{class:"appearance"}),m(Bo,{class:"social-links"}),m(Go,{class:"extra"}),p(o.$slots,"nav-bar-content-after",{},void 0,!0),m(Xo,{class:"hamburger",active:o.isScreenOpen,onClick:a[0]||(a[0]=r=>o.$emit("toggle-screen"))},null,8,["active"])])])])],2))}});const oa=g(sa,[["__scopeId","data-v-884e8224"]]);function aa(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e1),Z=[],ge=!1,je=-1,se=void 0,X=void 0,oe=void 0,ht=function(e){return Z.some(function(n){return!!(n.options.allowTouchMove&&n.options.allowTouchMove(e))})},ye=function(e){var n=e||window.event;return ht(n.target)||n.touches.length>1?!0:(n.preventDefault&&n.preventDefault(),!1)},ia=function(e){if(oe===void 0){var n=!!e&&e.reserveScrollBarGap===!0,s=window.innerWidth-document.documentElement.clientWidth;if(n&&s>0){var o=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right"),10);oe=document.body.style.paddingRight,document.body.style.paddingRight=o+s+"px"}}se===void 0&&(se=document.body.style.overflow,document.body.style.overflow="hidden")},ra=function(){oe!==void 0&&(document.body.style.paddingRight=oe,oe=void 0),se!==void 0&&(document.body.style.overflow=se,se=void 0)},la=function(){return window.requestAnimationFrame(function(){if(X===void 0){X={position:document.body.style.position,top:document.body.style.top,left:document.body.style.left};var e=window,n=e.scrollY,s=e.scrollX,o=e.innerHeight;document.body.style.position="fixed",document.body.style.top=-n,document.body.style.left=-s,setTimeout(function(){return window.requestAnimationFrame(function(){var a=o-window.innerHeight;a&&n>=o&&(document.body.style.top=-(n+a))})},300)}})},ca=function(){if(X!==void 0){var e=-parseInt(document.body.style.top,10),n=-parseInt(document.body.style.left,10);document.body.style.position=X.position,document.body.style.top=X.top,document.body.style.left=X.left,window.scrollTo(n,e),X=void 0}},ua=function(e){return e?e.scrollHeight-e.scrollTop<=e.clientHeight:!1},da=function(e,n){var s=e.targetTouches[0].clientY-je;return ht(e.target)?!1:n&&n.scrollTop===0&&s>0||ua(n)&&s<0?ye(e):(e.stopPropagation(),!0)},vt=function(e,n){if(!e){console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");return}if(!Z.some(function(o){return o.targetElement===e})){var s={targetElement:e,options:n||{}};Z=[].concat(aa(Z),[s]),me?la():ia(n),me&&(e.ontouchstart=function(o){o.targetTouches.length===1&&(je=o.targetTouches[0].clientY)},e.ontouchmove=function(o){o.targetTouches.length===1&&da(o,e)},ge||(document.addEventListener("touchmove",ye,Fe?{passive:!1}:void 0),ge=!0))}},ft=function(){me&&(Z.forEach(function(e){e.targetElement.ontouchstart=null,e.targetElement.ontouchmove=null}),ge&&(document.removeEventListener("touchmove",ye,Fe?{passive:!1}:void 0),ge=!1),je=-1),me?ca():ra(),Z=[]};const _a=k({__name:"VPNavScreenMenuLink",props:{item:{}},setup(t){const e=Be("close-screen");return(n,s)=>(i(),V(W,{class:"VPNavScreenMenuLink",href:n.item.link,target:n.item.target,rel:n.item.rel,onClick:d(e)},{default:h(()=>[E(M(n.item.text),1)]),_:1},8,["href","target","rel","onClick"]))}});const pa=g(_a,[["__scopeId","data-v-9ad676a8"]]),ha={},va={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},fa=c("path",{d:"M18.9,10.9h-6v-6c0-0.6-0.4-1-1-1s-1,0.4-1,1v6h-6c-0.6,0-1,0.4-1,1s0.4,1,1,1h6v6c0,0.6,0.4,1,1,1s1-0.4,1-1v-6h6c0.6,0,1-0.4,1-1S19.5,10.9,18.9,10.9z"},null,-1),ma=[fa];function ga(t,e){return i(),l("svg",va,ma)}const ya=g(ha,[["render",ga]]),ba=k({__name:"VPNavScreenMenuGroupLink",props:{item:{}},setup(t){const e=Be("close-screen");return(n,s)=>(i(),V(W,{class:"VPNavScreenMenuGroupLink",href:n.item.link,target:n.item.target,rel:n.item.rel,onClick:d(e)},{default:h(()=>[E(M(n.item.text),1)]),_:1},8,["href","target","rel","onClick"]))}});const mt=g(ba,[["__scopeId","data-v-142902a8"]]),$a={class:"VPNavScreenMenuGroupSection"},ka={key:0,class:"title"},Pa=k({__name:"VPNavScreenMenuGroupSection",props:{text:{},items:{}},setup(t){return(e,n)=>(i(),l("div",$a,[e.text?(i(),l("p",ka,M(e.text),1)):f("",!0),(i(!0),l(B,null,D(e.items,s=>(i(),V(mt,{key:s.text,item:s},null,8,["item"]))),128))]))}});const Va=g(Pa,[["__scopeId","data-v-836cddb8"]]),wa=["aria-controls","aria-expanded"],Sa={class:"button-text"},La=["id"],Ma={key:1,class:"group"},Ca=k({__name:"VPNavScreenMenuGroup",props:{text:{},items:{}},setup(t){const e=t,n=L(!1),s=S(()=>`NavScreenGroup-${e.text.replace(" ","-").toLowerCase()}`);function o(){n.value=!n.value}return(a,r)=>(i(),l("div",{class:A(["VPNavScreenMenuGroup",{open:n.value}])},[c("button",{class:"button","aria-controls":s.value,"aria-expanded":n.value,onClick:o},[c("span",Sa,M(a.text),1),m(ya,{class:"button-icon"})],8,wa),c("div",{id:s.value,class:"items"},[(i(!0),l(B,null,D(a.items,_=>(i(),l(B,{key:_.text},["link"in _?(i(),l("div",{key:_.text,class:"item"},[m(mt,{item:_},null,8,["item"])])):(i(),l("div",Ma,[m(Va,{text:_.text,items:_.items},null,8,["text","items"])]))],64))),128))],8,La)],2))}});const Ia=g(Ca,[["__scopeId","data-v-75ae20ac"]]),Ta={key:0,class:"VPNavScreenMenu"},xa=k({__name:"VPNavScreenMenu",setup(t){const{theme:e}=I();return(n,s)=>d(e).nav?(i(),l("nav",Ta,[(i(!0),l(B,null,D(d(e).nav,o=>(i(),l(B,{key:o.text},["link"in o?(i(),V(pa,{key:0,item:o},null,8,["item"])):(i(),V(Ia,{key:1,text:o.text||"",items:o.items},null,8,["text","items"]))],64))),128))])):f("",!0)}}),Aa={key:0,class:"VPNavScreenAppearance"},Ba={class:"text"},Na=k({__name:"VPNavScreenAppearance",setup(t){const{site:e,theme:n}=I();return(s,o)=>d(e).appearance?(i(),l("div",Aa,[c("p",Ba,M(d(n).darkModeSwitchLabel||"Appearance"),1),m(Oe)])):f("",!0)}});const za=g(Na,[["__scopeId","data-v-8d2d8cf1"]]),Ha={class:"list"},Ea=k({__name:"VPNavScreenTranslations",setup(t){const{localeLinks:e,currentLang:n}=ce({correspondingLink:!0}),s=L(!1);function o(){s.value=!s.value}return(a,r)=>d(e).length&&d(n).label?(i(),l("div",{key:0,class:A(["VPNavScreenTranslations",{open:s.value}])},[c("button",{class:"title",onClick:o},[m(pt,{class:"icon lang"}),E(" "+M(d(n).label)+" ",1),m(_t,{class:"icon chevron"})]),c("ul",Ha,[(i(!0),l(B,null,D(d(e),_=>(i(),l("li",{key:_.link,class:"item"},[m(W,{class:"link",href:_.link},{default:h(()=>[E(M(_.text),1)]),_:2},1032,["href"])]))),128))])],2)):f("",!0)}});const Da=g(Ea,[["__scopeId","data-v-b72581fd"]]),Oa=k({__name:"VPNavScreenSocialLinks",setup(t){const{theme:e}=I();return(n,s)=>d(e).socialLinks?(i(),V(ke,{key:0,class:"VPNavScreenSocialLinks",links:d(e).socialLinks},null,8,["links"])):f("",!0)}}),Fa={class:"container"},ja=k({__name:"VPNavScreen",props:{open:{type:Boolean}},setup(t){const e=L(null);function n(){vt(e.value,{reserveScrollBarGap:!0})}function s(){ft()}return(o,a)=>(i(),V(Ae,{name:"fade",onEnter:n,onAfterLeave:s},{default:h(()=>[o.open?(i(),l("div",{key:0,class:"VPNavScreen",ref_key:"screen",ref:e},[c("div",Fa,[p(o.$slots,"nav-screen-content-before",{},void 0,!0),m(xa,{class:"menu"}),m(Da,{class:"translations"}),m(za,{class:"appearance"}),m(Oa,{class:"social-links"}),p(o.$slots,"nav-screen-content-after",{},void 0,!0)])],512)):f("",!0)]),_:3}))}});const qa=g(ja,[["__scopeId","data-v-ea8d6f65"]]),Ga={class:"VPNav"},Ra=k({__name:"VPNav",setup(t){const{isScreenOpen:e,closeScreen:n,toggleScreen:s}=an();return pe("close-screen",n),(o,a)=>(i(),l("header",Ga,[m(oa,{"is-screen-open":d(e),onToggleScreen:d(s)},{"nav-bar-title-before":h(()=>[p(o.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":h(()=>[p(o.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":h(()=>[p(o.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":h(()=>[p(o.$slots,"nav-bar-content-after",{},void 0,!0)]),_:3},8,["is-screen-open","onToggleScreen"]),m(qa,{open:d(e)},{"nav-screen-content-before":h(()=>[p(o.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":h(()=>[p(o.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])]))}});const Ua=g(Ra,[["__scopeId","data-v-b1949460"]]),Wa={},Ka={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Ya=c("path",{d:"M17,11H3c-0.6,0-1-0.4-1-1s0.4-1,1-1h14c0.6,0,1,0.4,1,1S17.6,11,17,11z"},null,-1),Xa=c("path",{d:"M21,7H3C2.4,7,2,6.6,2,6s0.4-1,1-1h18c0.6,0,1,0.4,1,1S21.6,7,21,7z"},null,-1),Ja=c("path",{d:"M21,15H3c-0.6,0-1-0.4-1-1s0.4-1,1-1h18c0.6,0,1,0.4,1,1S21.6,15,21,15z"},null,-1),Qa=c("path",{d:"M17,19H3c-0.6,0-1-0.4-1-1s0.4-1,1-1h14c0.6,0,1,0.4,1,1S17.6,19,17,19z"},null,-1),Za=[Ya,Xa,Ja,Qa];function ei(t,e){return i(),l("svg",Ka,Za)}const ti=g(Wa,[["render",ei]]);function ni(){const{hasSidebar:t}=K(),e=Me("(min-width: 960px)"),n=Me("(min-width: 1280px)");return{isAsideEnabled:S(()=>!n.value&&!e.value?!1:t.value?n.value:e.value)}}const si=71;function qe(t){return typeof t.outline=="object"&&!Array.isArray(t.outline)&&t.outline.label||t.outlineTitle||"On this page"}function Ge(t){const e=[...document.querySelectorAll(".VPDoc h2,h3,h4,h5,h6")].filter(n=>n.id&&n.hasChildNodes()).map(n=>{const s=Number(n.tagName[1]);return{title:oi(n),link:"#"+n.id,level:s}});return ai(e,t)}function oi(t){let e="";for(const n of t.childNodes)if(n.nodeType===1){if(n.classList.contains("VPBadge")||n.classList.contains("header-anchor"))continue;e+=n.textContent}else n.nodeType===3&&(e+=n.textContent);return e.trim()}function ai(t,e){if(e===!1)return[];const n=(typeof e=="object"&&!Array.isArray(e)?e.level:e)||2,[s,o]=typeof n=="number"?[n,n]:n==="deep"?[2,6]:n;t=t.filter(r=>r.level>=s&&r.level<=o);const a=[];e:for(let r=0;r=0;u--){const v=t[u];if(v.level<_.level){(v.children||(v.children=[])).push(_);continue e}}a.push(_)}}return a}function ii(t,e){const{isAsideEnabled:n}=ni(),s=Yt(a,100);let o=null;J(()=>{requestAnimationFrame(a),window.addEventListener("scroll",s)}),At(()=>{r(location.hash)}),xe(()=>{window.removeEventListener("scroll",s)});function a(){if(!n.value)return;const _=[].slice.call(t.value.querySelectorAll(".outline-link")),u=[].slice.call(document.querySelectorAll(".content .header-anchor")).filter(y=>_.some(w=>w.hash===y.hash&&y.offsetParent!==null)),v=window.scrollY,b=window.innerHeight,$=document.body.offsetHeight,P=Math.abs(v+b-$)<1;if(u.length&&P){r(u[u.length-1].hash);return}for(let y=0;y{const o=Y("VPDocOutlineItem",!0);return i(),l("ul",{class:A(n.root?"root":"nested")},[(i(!0),l(B,null,D(n.headers,({children:a,link:r,title:_})=>(i(),l("li",null,[c("a",{class:"outline-link",href:r,onClick:e,title:_},M(_),9,li),a!=null&&a.length?(i(),V(o,{key:0,headers:a},null,8,["headers"])):f("",!0)]))),256))],2)}}});const Re=g(ci,[["__scopeId","data-v-efc119ee"]]),ui={},di={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},_i=c("path",{d:"M9,19c-0.3,0-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4l5.3-5.3L8.3,6.7c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l6,6c0.4,0.4,0.4,1,0,1.4l-6,6C9.5,18.9,9.3,19,9,19z"},null,-1),pi=[_i];function hi(t,e){return i(),l("svg",di,pi)}const Ue=g(ui,[["render",hi]]),vi=k({__name:"VPLocalNavOutlineDropdown",setup(t){const{frontmatter:e,theme:n}=I(),s=L(!1),o=L(0),a=L();ie(()=>{s.value=!1});function r(){s.value=!s.value,o.value=window.innerHeight+Math.min(window.scrollY-64,0)}function _(b){b.target.classList.contains("outline-link")&&(a.value&&(a.value.style.transition="none"),Nt(()=>{s.value=!1}))}function u(){s.value=!1,window.scrollTo({top:0,left:0,behavior:"smooth"})}const v=Ne([]);return ie(()=>{v.value=Ge(e.value.outline??n.value.outline)}),(b,$)=>(i(),l("div",{class:"VPLocalNavOutlineDropdown",style:Bt({"--vp-vh":o.value+"px"})},[v.value.length>0?(i(),l("button",{key:0,onClick:r,class:A({open:s.value})},[E(M(d(qe)(d(n)))+" ",1),m(Ue,{class:"icon"})],2)):(i(),l("button",{key:1,onClick:u},M(d(n).returnToTopLabel||"Return to top"),1)),m(Ae,{name:"flyout"},{default:h(()=>[s.value?(i(),l("div",{key:0,ref_key:"items",ref:a,class:"items",onClick:_},[c("a",{class:"top-link",href:"#",onClick:u},M(d(n).returnToTopLabel||"Return to top"),1),m(Re,{headers:v.value},null,8,["headers"])],512)):f("",!0)]),_:1})],4))}});const fi=g(vi,[["__scopeId","data-v-07aca99e"]]),mi={key:0,class:"VPLocalNav"},gi=["aria-expanded"],yi={class:"menu-text"},bi=k({__name:"VPLocalNav",props:{open:{type:Boolean}},emits:["open-menu"],setup(t){const{theme:e,frontmatter:n}=I(),{hasSidebar:s}=K();return(o,a)=>d(n).layout!=="home"?(i(),l("div",mi,[d(s)?(i(),l("button",{key:0,class:"menu","aria-expanded":o.open,"aria-controls":"VPSidebarNav",onClick:a[0]||(a[0]=r=>o.$emit("open-menu"))},[m(ti,{class:"menu-icon"}),c("span",yi,M(d(e).sidebarMenuLabel||"Menu"),1)],8,gi)):f("",!0),m(fi)])):f("",!0)}});const $i=g(bi,[["__scopeId","data-v-9a33564b"]]),ki=t=>(R("data-v-77d7a963"),t=t(),U(),t),Pi=["role","tabindex"],Vi=ki(()=>c("div",{class:"indicator"},null,-1)),wi=["onKeydown"],Si={key:1,class:"items"},Li=k({__name:"VPSidebarItem",props:{item:{},depth:{}},setup(t){const e=t,{collapsed:n,collapsible:s,isLink:o,isActiveLink:a,hasActiveLink:r,hasChildren:_,toggle:u}=Zt(S(()=>e.item)),v=S(()=>_.value?"section":"div"),b=S(()=>o.value?"a":"div"),$=S(()=>_.value?e.depth+2===7?"p":`h${e.depth+2}`:"p"),P=S(()=>o.value?void 0:"button"),y=S(()=>[[`level-${e.depth}`],{collapsible:s.value},{collapsed:n.value},{"is-link":o.value},{"is-active":a.value},{"has-active":r.value}]);function w(C){"key"in C&&C.key!=="Enter"||!e.item.link&&u()}function N(){e.item.link&&u()}return(C,H)=>{const x=Y("VPSidebarItem",!0);return i(),V(Q(v.value),{class:A(["VPSidebarItem",y.value])},{default:h(()=>[C.item.text?(i(),l("div",_e({key:0,class:"item",role:P.value},zt(C.item.items?{click:w,keydown:w}:{},!0),{tabindex:C.item.items&&0}),[Vi,C.item.link?(i(),V(W,{key:0,tag:b.value,class:"link",href:C.item.link},{default:h(()=>[(i(),V(Q($.value),{class:"text",innerHTML:C.item.text},null,8,["innerHTML"]))]),_:1},8,["tag","href"])):(i(),V(Q($.value),{key:1,class:"text",innerHTML:C.item.text},null,8,["innerHTML"])),C.item.collapsed!=null?(i(),l("div",{key:2,class:"caret",role:"button","aria-label":"toggle section",onClick:N,onKeydown:Ht(N,["enter"]),tabindex:"0"},[m(Ue,{class:"caret-icon"})],40,wi)):f("",!0)],16,Pi)):f("",!0),C.item.items&&C.item.items.length?(i(),l("div",Si,[C.depth<5?(i(!0),l(B,{key:0},D(C.item.items,T=>(i(),V(x,{key:T.text,item:T,depth:C.depth+1},null,8,["item","depth"]))),128)):f("",!0)])):f("",!0)]),_:1},8,["class"])}}});const Mi=g(Li,[["__scopeId","data-v-77d7a963"]]),gt=t=>(R("data-v-a2c0de1b"),t=t(),U(),t),Ci=gt(()=>c("div",{class:"curtain"},null,-1)),Ii={class:"nav",id:"VPSidebarNav","aria-labelledby":"sidebar-aria-label",tabindex:"-1"},Ti=gt(()=>c("span",{class:"visually-hidden",id:"sidebar-aria-label"}," Sidebar Navigation ",-1)),xi=k({__name:"VPSidebar",props:{open:{type:Boolean}},setup(t){const e=t,{sidebarGroups:n,hasSidebar:s}=K();let o=L(null);function a(){vt(o.value,{reserveScrollBarGap:!0})}function r(){ft()}return Et(async()=>{var _;e.open?(a(),(_=o.value)==null||_.focus()):r()}),(_,u)=>d(s)?(i(),l("aside",{key:0,class:A(["VPSidebar",{open:_.open}]),ref_key:"navEl",ref:o,onClick:u[0]||(u[0]=ot(()=>{},["stop"]))},[Ci,c("nav",Ii,[Ti,p(_.$slots,"sidebar-nav-before",{},void 0,!0),(i(!0),l(B,null,D(d(n),v=>(i(),l("div",{key:v.text,class:"group"},[m(Mi,{item:v,depth:0},null,8,["item"])]))),128)),p(_.$slots,"sidebar-nav-after",{},void 0,!0)])],2)):f("",!0)}});const Ai=g(xi,[["__scopeId","data-v-a2c0de1b"]]),Bi={},Ni={class:"VPPage"};function zi(t,e){const n=Y("Content");return i(),l("div",Ni,[p(t.$slots,"page-top"),m(n),p(t.$slots,"page-bottom")])}const Hi=g(Bi,[["render",zi]]),Ei=k({__name:"VPButton",props:{tag:{},size:{},theme:{},text:{},href:{}},setup(t){const e=t,n=S(()=>[e.size??"medium",e.theme??"brand"]),s=S(()=>e.href&&at.test(e.href)),o=S(()=>e.tag?e.tag:e.href?"a":"button");return(a,r)=>(i(),V(Q(o.value),{class:A(["VPButton",n.value]),href:a.href?d(re)(a.href):void 0,target:s.value?"_blank":void 0,rel:s.value?"noreferrer":void 0},{default:h(()=>[E(M(a.text),1)]),_:1},8,["class","href","target","rel"]))}});const Di=g(Ei,[["__scopeId","data-v-a4b757f0"]]),Oi=t=>(R("data-v-3b95c4f3"),t=t(),U(),t),Fi={class:"container"},ji={class:"main"},qi={key:0,class:"name"},Gi={class:"clip"},Ri={key:1,class:"text"},Ui={key:2,class:"tagline"},Wi={key:0,class:"actions"},Ki={key:0,class:"image"},Yi={class:"image-container"},Xi=Oi(()=>c("div",{class:"image-bg"},null,-1)),Ji=k({__name:"VPHero",props:{name:{},text:{},tagline:{},image:{},actions:{}},setup(t){const e=Be("hero-image-slot-exists");return(n,s)=>(i(),l("div",{class:A(["VPHero",{"has-image":n.image||d(e)}])},[c("div",Fi,[c("div",ji,[p(n.$slots,"home-hero-info",{},()=>[n.name?(i(),l("h1",qi,[c("span",Gi,M(n.name),1)])):f("",!0),n.text?(i(),l("p",Ri,M(n.text),1)):f("",!0),n.tagline?(i(),l("p",Ui,M(n.tagline),1)):f("",!0)],!0),n.actions?(i(),l("div",Wi,[(i(!0),l(B,null,D(n.actions,o=>(i(),l("div",{key:o.link,class:"action"},[m(Di,{tag:"a",size:"medium",theme:o.theme,text:o.text,href:o.link},null,8,["theme","text","href"])]))),128))])):f("",!0)]),n.image||d(e)?(i(),l("div",Ki,[c("div",Yi,[Xi,p(n.$slots,"home-hero-image",{},()=>[n.image?(i(),V(He,{key:0,class:"image-src",image:n.image},null,8,["image"])):f("",!0)],!0)])])):f("",!0)])],2))}});const Qi=g(Ji,[["__scopeId","data-v-3b95c4f3"]]),Zi=k({__name:"VPHomeHero",setup(t){const{frontmatter:e}=I();return(n,s)=>d(e).hero?(i(),V(Qi,{key:0,class:"VPHomeHero",name:d(e).hero.name,text:d(e).hero.text,tagline:d(e).hero.tagline,image:d(e).hero.image,actions:d(e).hero.actions},{"home-hero-info":h(()=>[p(n.$slots,"home-hero-info")]),"home-hero-image":h(()=>[p(n.$slots,"home-hero-image")]),_:3},8,["name","text","tagline","image","actions"])):f("",!0)}}),er={},tr={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},nr=c("path",{d:"M19.9,12.4c0.1-0.2,0.1-0.5,0-0.8c-0.1-0.1-0.1-0.2-0.2-0.3l-7-7c-0.4-0.4-1-0.4-1.4,0s-0.4,1,0,1.4l5.3,5.3H5c-0.6,0-1,0.4-1,1s0.4,1,1,1h11.6l-5.3,5.3c-0.4,0.4-0.4,1,0,1.4c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3l7-7C19.8,12.6,19.9,12.5,19.9,12.4z"},null,-1),sr=[nr];function or(t,e){return i(),l("svg",tr,sr)}const ar=g(er,[["render",or]]),ir={class:"box"},rr=["innerHTML"],lr=["innerHTML"],cr=["innerHTML"],ur={key:3,class:"link-text"},dr={class:"link-text-value"},_r=k({__name:"VPFeature",props:{icon:{},title:{},details:{},link:{},linkText:{}},setup(t){return(e,n)=>(i(),V(W,{class:"VPFeature",href:e.link,"no-icon":!0},{default:h(()=>[c("article",ir,[typeof e.icon=="object"?(i(),V(He,{key:0,image:e.icon,alt:e.icon.alt,height:e.icon.height,width:e.icon.width},null,8,["image","alt","height","width"])):e.icon?(i(),l("div",{key:1,class:"icon",innerHTML:e.icon},null,8,rr)):f("",!0),c("h2",{class:"title",innerHTML:e.title},null,8,lr),e.details?(i(),l("p",{key:2,class:"details",innerHTML:e.details},null,8,cr)):f("",!0),e.linkText?(i(),l("div",ur,[c("p",dr,[E(M(e.linkText)+" ",1),m(ar,{class:"link-text-icon"})])])):f("",!0)])]),_:1},8,["href"]))}});const pr=g(_r,[["__scopeId","data-v-fdb307a3"]]),hr={key:0,class:"VPFeatures"},vr={class:"container"},fr={class:"items"},mr=k({__name:"VPFeatures",props:{features:{}},setup(t){const e=t,n=S(()=>{const s=e.features.length;if(s){if(s===2)return"grid-2";if(s===3)return"grid-3";if(s%3===0)return"grid-6";if(s>3)return"grid-4"}else return});return(s,o)=>s.features?(i(),l("div",hr,[c("div",vr,[c("div",fr,[(i(!0),l(B,null,D(s.features,a=>(i(),l("div",{key:a.title,class:A(["item",[n.value]])},[m(pr,{icon:a.icon,title:a.title,details:a.details,link:a.link,"link-text":a.linkText},null,8,["icon","title","details","link","link-text"])],2))),128))])])])):f("",!0)}});const gr=g(mr,[["__scopeId","data-v-3ffdf97e"]]),yr=k({__name:"VPHomeFeatures",setup(t){const{frontmatter:e}=I();return(n,s)=>d(e).features?(i(),V(gr,{key:0,class:"VPHomeFeatures",features:d(e).features},null,8,["features"])):f("",!0)}}),br={class:"VPHome"},$r=k({__name:"VPHome",setup(t){return(e,n)=>{const s=Y("Content");return i(),l("div",br,[p(e.$slots,"home-hero-before",{},void 0,!0),m(Zi,null,{"home-hero-info":h(()=>[p(e.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-image":h(()=>[p(e.$slots,"home-hero-image",{},void 0,!0)]),_:3}),p(e.$slots,"home-hero-after",{},void 0,!0),p(e.$slots,"home-features-before",{},void 0,!0),m(yr),p(e.$slots,"home-features-after",{},void 0,!0),m(s)])}}});const kr=g($r,[["__scopeId","data-v-8ebac4ee"]]),Pr=t=>(R("data-v-c3ff47cc"),t=t(),U(),t),Vr={class:"content"},wr={class:"outline-title"},Sr={"aria-labelledby":"doc-outline-aria-label"},Lr=Pr(()=>c("span",{class:"visually-hidden",id:"doc-outline-aria-label"}," Table of Contents for current page ",-1)),Mr=k({__name:"VPDocAsideOutline",setup(t){const{frontmatter:e,theme:n}=I(),s=Ne([]);ie(()=>{s.value=Ge(e.value.outline??n.value.outline)});const o=L(),a=L();return ii(o,a),(r,_)=>(i(),l("div",{class:A(["VPDocAsideOutline",{"has-outline":s.value.length>0}]),ref_key:"container",ref:o},[c("div",Vr,[c("div",{class:"outline-marker",ref_key:"marker",ref:a},null,512),c("div",wr,M(d(qe)(d(n))),1),c("nav",Sr,[Lr,m(Re,{headers:s.value,root:!0},null,8,["headers"])])])],2))}});const Cr=g(Mr,[["__scopeId","data-v-c3ff47cc"]]),Ir={class:"VPDocAsideCarbonAds"},Tr=k({__name:"VPDocAsideCarbonAds",props:{carbonAds:{}},setup(t){const e=()=>null;return(n,s)=>(i(),l("div",Ir,[m(d(e),{"carbon-ads":n.carbonAds},null,8,["carbon-ads"])]))}}),xr=t=>(R("data-v-79cae1a0"),t=t(),U(),t),Ar={class:"VPDocAside"},Br=xr(()=>c("div",{class:"spacer"},null,-1)),Nr=k({__name:"VPDocAside",setup(t){const{theme:e}=I();return(n,s)=>(i(),l("div",Ar,[p(n.$slots,"aside-top",{},void 0,!0),p(n.$slots,"aside-outline-before",{},void 0,!0),m(Cr),p(n.$slots,"aside-outline-after",{},void 0,!0),Br,p(n.$slots,"aside-ads-before",{},void 0,!0),d(e).carbonAds?(i(),V(Tr,{key:0,"carbon-ads":d(e).carbonAds},null,8,["carbon-ads"])):f("",!0),p(n.$slots,"aside-ads-after",{},void 0,!0),p(n.$slots,"aside-bottom",{},void 0,!0)]))}});const zr=g(Nr,[["__scopeId","data-v-79cae1a0"]]);function Hr(){const{theme:t,page:e}=I();return S(()=>{const{text:n="Edit this page",pattern:s=""}=t.value.editLink||{};let o;return typeof s=="function"?o=s(e.value):o=s.replace(/:path/g,e.value.filePath),{url:o,text:n}})}function Er(){const{page:t,theme:e,frontmatter:n}=I();return S(()=>{var r,_,u,v;const s=ct(e.value.sidebar,t.value.relativePath),o=Jt(s),a=o.findIndex(b=>te(t.value.relativePath,b.link));return{prev:n.value.prev===!1?void 0:{text:(typeof n.value.prev=="string"?n.value.prev:typeof n.value.prev=="object"?n.value.prev.text:void 0)??((r=o[a-1])==null?void 0:r.text),link:(typeof n.value.prev=="object"?n.value.prev.link:void 0)??((_=o[a-1])==null?void 0:_.link)},next:n.value.next===!1?void 0:{text:(typeof n.value.next=="string"?n.value.next:typeof n.value.next=="object"?n.value.next.text:void 0)??((u=o[a+1])==null?void 0:u.text),link:(typeof n.value.next=="object"?n.value.next.link:void 0)??((v=o[a+1])==null?void 0:v.link)}}})}const Dr={},Or={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Fr=c("path",{d:"M18,23H4c-1.7,0-3-1.3-3-3V6c0-1.7,1.3-3,3-3h7c0.6,0,1,0.4,1,1s-0.4,1-1,1H4C3.4,5,3,5.4,3,6v14c0,0.6,0.4,1,1,1h14c0.6,0,1-0.4,1-1v-7c0-0.6,0.4-1,1-1s1,0.4,1,1v7C21,21.7,19.7,23,18,23z"},null,-1),jr=c("path",{d:"M8,17c-0.3,0-0.5-0.1-0.7-0.3C7,16.5,6.9,16.1,7,15.8l1-4c0-0.2,0.1-0.3,0.3-0.5l9.5-9.5c1.2-1.2,3.2-1.2,4.4,0c1.2,1.2,1.2,3.2,0,4.4l-9.5,9.5c-0.1,0.1-0.3,0.2-0.5,0.3l-4,1C8.2,17,8.1,17,8,17zM9.9,12.5l-0.5,2.1l2.1-0.5l9.3-9.3c0.4-0.4,0.4-1.1,0-1.6c-0.4-0.4-1.2-0.4-1.6,0l0,0L9.9,12.5z M18.5,2.5L18.5,2.5L18.5,2.5z"},null,-1),qr=[Fr,jr];function Gr(t,e){return i(),l("svg",Or,qr)}const Rr=g(Dr,[["render",Gr]]),Ur={class:"VPLastUpdated"},Wr=["datetime"],Kr=k({__name:"VPDocFooterLastUpdated",setup(t){const{theme:e,page:n,lang:s}=I(),o=S(()=>new Date(n.value.lastUpdated)),a=S(()=>o.value.toISOString()),r=L("");return J(()=>{ae(()=>{r.value=o.value.toLocaleString(s.value)})}),(_,u)=>(i(),l("p",Ur,[E(M(d(e).lastUpdatedText||"Last updated")+": ",1),c("time",{datetime:a.value},M(r.value),9,Wr)]))}});const Yr=g(Kr,[["__scopeId","data-v-f00606ba"]]),Xr={key:0,class:"VPDocFooter"},Jr={key:0,class:"edit-info"},Qr={key:0,class:"edit-link"},Zr={key:1,class:"last-updated"},el={key:1,class:"prev-next"},tl={class:"pager"},nl=["href"],sl=["innerHTML"],ol=["innerHTML"],al=["href"],il=["innerHTML"],rl=["innerHTML"],ll=k({__name:"VPDocFooter",setup(t){const{theme:e,page:n,frontmatter:s}=I(),o=Hr(),a=Er(),r=S(()=>e.value.editLink&&s.value.editLink!==!1),_=S(()=>n.value.lastUpdated&&s.value.lastUpdated!==!1),u=S(()=>r.value||_.value||a.value.prev||a.value.next);return(v,b)=>{var $,P,y,w,N,C,H;return u.value?(i(),l("footer",Xr,[p(v.$slots,"doc-footer-before",{},void 0,!0),r.value||_.value?(i(),l("div",Jr,[r.value?(i(),l("div",Qr,[m(W,{class:"edit-link-button",href:d(o).url,"no-icon":!0},{default:h(()=>[m(Rr,{class:"edit-link-icon","aria-label":"edit icon"}),E(" "+M(d(o).text),1)]),_:1},8,["href"])])):f("",!0),_.value?(i(),l("div",Zr,[m(Yr)])):f("",!0)])):f("",!0),($=d(a).prev)!=null&&$.link||(P=d(a).next)!=null&&P.link?(i(),l("div",el,[c("div",tl,[(y=d(a).prev)!=null&&y.link?(i(),l("a",{key:0,class:"pager-link prev",href:d(re)(d(a).prev.link)},[c("span",{class:"desc",innerHTML:((w=d(e).docFooter)==null?void 0:w.prev)||"Previous page"},null,8,sl),c("span",{class:"title",innerHTML:d(a).prev.text},null,8,ol)],8,nl)):f("",!0)]),c("div",{class:A(["pager",{"has-prev":(N=d(a).prev)==null?void 0:N.link}])},[(C=d(a).next)!=null&&C.link?(i(),l("a",{key:0,class:"pager-link next",href:d(re)(d(a).next.link)},[c("span",{class:"desc",innerHTML:((H=d(e).docFooter)==null?void 0:H.next)||"Next page"},null,8,il),c("span",{class:"title",innerHTML:d(a).next.text},null,8,rl)],8,al)):f("",!0)],2)])):f("",!0)])):f("",!0)}}});const cl=g(ll,[["__scopeId","data-v-31cb5067"]]),ul={key:0,class:"VPDocOutlineDropdown"},dl={key:0,class:"items"},_l=k({__name:"VPDocOutlineDropdown",setup(t){const{frontmatter:e,theme:n}=I(),s=L(!1);ie(()=>{s.value=!1});const o=Ne([]);return ie(()=>{o.value=Ge(e.value.outline??n.value.outline)}),(a,r)=>o.value.length>0?(i(),l("div",ul,[c("button",{onClick:r[0]||(r[0]=_=>s.value=!s.value),class:A({open:s.value})},[E(M(d(qe)(d(n)))+" ",1),m(Ue,{class:"icon"})],2),s.value?(i(),l("div",dl,[m(Re,{headers:o.value},null,8,["headers"])])):f("",!0)])):f("",!0)}});const pl=g(_l,[["__scopeId","data-v-f751778e"]]),hl=t=>(R("data-v-5aafa2ac"),t=t(),U(),t),vl={class:"container"},fl=hl(()=>c("div",{class:"aside-curtain"},null,-1)),ml={class:"aside-container"},gl={class:"aside-content"},yl={class:"content"},bl={class:"content-container"},$l={class:"main"},kl=k({__name:"VPDoc",setup(t){const e=le(),{hasSidebar:n,hasAside:s,leftAside:o}=K(),a=S(()=>e.path.replace(/[./]+/g,"_").replace(/_html$/,""));return(r,_)=>{const u=Y("Content");return i(),l("div",{class:A(["VPDoc",{"has-sidebar":d(n),"has-aside":d(s)}])},[p(r.$slots,"doc-top",{},void 0,!0),c("div",vl,[d(s)?(i(),l("div",{key:0,class:A(["aside",{"left-aside":d(o)}])},[fl,c("div",ml,[c("div",gl,[m(zr,null,{"aside-top":h(()=>[p(r.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":h(()=>[p(r.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":h(()=>[p(r.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":h(()=>[p(r.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":h(()=>[p(r.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":h(()=>[p(r.$slots,"aside-ads-after",{},void 0,!0)]),_:3})])])],2)):f("",!0),c("div",yl,[c("div",bl,[p(r.$slots,"doc-before",{},void 0,!0),m(pl),c("main",$l,[m(u,{class:A(["vp-doc",a.value])},null,8,["class"])]),m(cl,null,{"doc-footer-before":h(()=>[p(r.$slots,"doc-footer-before",{},void 0,!0)]),_:3}),p(r.$slots,"doc-after",{},void 0,!0)])])]),p(r.$slots,"doc-bottom",{},void 0,!0)],2)}}});const Pl=g(kl,[["__scopeId","data-v-5aafa2ac"]]),Pe=t=>(R("data-v-42c0c3ae"),t=t(),U(),t),Vl={class:"NotFound"},wl=Pe(()=>c("p",{class:"code"},"404",-1)),Sl=Pe(()=>c("h1",{class:"title"},"PAGE NOT FOUND",-1)),Ll=Pe(()=>c("div",{class:"divider"},null,-1)),Ml=Pe(()=>c("blockquote",{class:"quote"}," But if you don't change your direction, and if you keep looking, you may end up where you are heading. ",-1)),Cl={class:"action"},Il=["href"],Tl=k({__name:"NotFound",setup(t){const{site:e}=I(),{localeLinks:n}=ce({removeCurrent:!1}),s=L("/");return J(()=>{var a;const o=window.location.pathname.replace(e.value.base,"").replace(/(^.*?\/).*$/,"/$1");n.value.length&&(s.value=((a=n.value.find(({link:r})=>r.startsWith(o)))==null?void 0:a.link)||n.value[0].link)}),(o,a)=>(i(),l("div",Vl,[wl,Sl,Ll,Ml,c("div",Cl,[c("a",{class:"link",href:d(be)(s.value),"aria-label":"go to home"}," Take me home ",8,Il)])]))}});const xl=g(Tl,[["__scopeId","data-v-42c0c3ae"]]),Al=k({__name:"VPContent",setup(t){const{page:e,frontmatter:n}=I(),{hasSidebar:s}=K();return(o,a)=>(i(),l("div",{class:A(["VPContent",{"has-sidebar":d(s),"is-home":d(n).layout==="home"}]),id:"VPContent"},[d(e).isNotFound?p(o.$slots,"not-found",{key:0},()=>[m(xl)],!0):d(n).layout==="page"?(i(),V(Hi,{key:1},{"page-top":h(()=>[p(o.$slots,"page-top",{},void 0,!0)]),"page-bottom":h(()=>[p(o.$slots,"page-bottom",{},void 0,!0)]),_:3})):d(n).layout==="home"?(i(),V(kr,{key:2},{"home-hero-before":h(()=>[p(o.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info":h(()=>[p(o.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-image":h(()=>[p(o.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":h(()=>[p(o.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":h(()=>[p(o.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":h(()=>[p(o.$slots,"home-features-after",{},void 0,!0)]),_:3})):(i(),V(Pl,{key:3},{"doc-top":h(()=>[p(o.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":h(()=>[p(o.$slots,"doc-bottom",{},void 0,!0)]),"doc-footer-before":h(()=>[p(o.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":h(()=>[p(o.$slots,"doc-before",{},void 0,!0)]),"doc-after":h(()=>[p(o.$slots,"doc-after",{},void 0,!0)]),"aside-top":h(()=>[p(o.$slots,"aside-top",{},void 0,!0)]),"aside-outline-before":h(()=>[p(o.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":h(()=>[p(o.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":h(()=>[p(o.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":h(()=>[p(o.$slots,"aside-ads-after",{},void 0,!0)]),"aside-bottom":h(()=>[p(o.$slots,"aside-bottom",{},void 0,!0)]),_:3}))],2))}});const Bl=g(Al,[["__scopeId","data-v-7f38fbbe"]]),Nl={class:"container"},zl=["innerHTML"],Hl=["innerHTML"],El=k({__name:"VPFooter",setup(t){const{theme:e}=I(),{hasSidebar:n}=K();return(s,o)=>d(e).footer?(i(),l("footer",{key:0,class:A(["VPFooter",{"has-sidebar":d(n)}])},[c("div",Nl,[d(e).footer.message?(i(),l("p",{key:0,class:"message",innerHTML:d(e).footer.message},null,8,zl)):f("",!0),d(e).footer.copyright?(i(),l("p",{key:1,class:"copyright",innerHTML:d(e).footer.copyright},null,8,Hl)):f("",!0)])],2)):f("",!0)}});const Dl=g(El,[["__scopeId","data-v-2425ede7"]]),Ol={key:0,class:"Layout"},Fl=k({__name:"Layout",setup(t){const{isOpen:e,open:n,close:s}=K(),o=le();ee(()=>o.path,s),Qt(e,s),pe("close-sidebar",s),pe("is-sidebar-open",e);const{frontmatter:a}=I(),r=Dt(),_=S(()=>!!r["home-hero-image"]);return pe("hero-image-slot-exists",_),(u,v)=>{const b=Y("Content");return d(a).layout!==!1?(i(),l("div",Ol,[p(u.$slots,"layout-top",{},void 0,!0),m(tn),m(on,{class:"backdrop",show:d(e),onClick:d(s)},null,8,["show","onClick"]),m(Ua,null,{"nav-bar-title-before":h(()=>[p(u.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":h(()=>[p(u.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":h(()=>[p(u.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":h(()=>[p(u.$slots,"nav-bar-content-after",{},void 0,!0)]),"nav-screen-content-before":h(()=>[p(u.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":h(()=>[p(u.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3}),m($i,{open:d(e),onOpenMenu:d(n)},null,8,["open","onOpenMenu"]),m(Ai,{open:d(e)},{"sidebar-nav-before":h(()=>[p(u.$slots,"sidebar-nav-before",{},void 0,!0)]),"sidebar-nav-after":h(()=>[p(u.$slots,"sidebar-nav-after",{},void 0,!0)]),_:3},8,["open"]),m(Bl,null,{"page-top":h(()=>[p(u.$slots,"page-top",{},void 0,!0)]),"page-bottom":h(()=>[p(u.$slots,"page-bottom",{},void 0,!0)]),"not-found":h(()=>[p(u.$slots,"not-found",{},void 0,!0)]),"home-hero-before":h(()=>[p(u.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info":h(()=>[p(u.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-image":h(()=>[p(u.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":h(()=>[p(u.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":h(()=>[p(u.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":h(()=>[p(u.$slots,"home-features-after",{},void 0,!0)]),"doc-footer-before":h(()=>[p(u.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":h(()=>[p(u.$slots,"doc-before",{},void 0,!0)]),"doc-after":h(()=>[p(u.$slots,"doc-after",{},void 0,!0)]),"doc-top":h(()=>[p(u.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":h(()=>[p(u.$slots,"doc-bottom",{},void 0,!0)]),"aside-top":h(()=>[p(u.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":h(()=>[p(u.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":h(()=>[p(u.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":h(()=>[p(u.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":h(()=>[p(u.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":h(()=>[p(u.$slots,"aside-ads-after",{},void 0,!0)]),_:3}),m(Dl),p(u.$slots,"layout-bottom",{},void 0,!0)])):(i(),V(b,{key:1}))}}});const jl=g(Fl,[["__scopeId","data-v-bd8710d4"]]),ql={},Gl={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Rl=c("path",{d:"M12,22.2c-0.3,0-0.5-0.1-0.7-0.3l-8.8-8.8c-2.5-2.5-2.5-6.7,0-9.2c2.5-2.5,6.7-2.5,9.2,0L12,4.3l0.4-0.4c0,0,0,0,0,0C13.6,2.7,15.2,2,16.9,2c0,0,0,0,0,0c1.7,0,3.4,0.7,4.6,1.9l0,0c1.2,1.2,1.9,2.9,1.9,4.6c0,1.7-0.7,3.4-1.9,4.6l-8.8,8.8C12.5,22.1,12.3,22.2,12,22.2zM7,4C5.9,4,4.7,4.4,3.9,5.3c-1.8,1.8-1.8,4.6,0,6.4l8.1,8.1l8.1-8.1c0.9-0.9,1.3-2,1.3-3.2c0-1.2-0.5-2.3-1.3-3.2l0,0C19.3,4.5,18.2,4,17,4c0,0,0,0,0,0c-1.2,0-2.3,0.5-3.2,1.3c0,0,0,0,0,0l-1.1,1.1c-0.4,0.4-1,0.4-1.4,0l-1.1-1.1C9.4,4.4,8.2,4,7,4z"},null,-1),Ul=[Rl];function Wl(t,e){return i(),l("svg",Gl,Ul)}const Kl=g(ql,[["render",Wl]]);const Yl={},Xl={class:"VPTeamPage"};function Jl(t,e){return i(),l("div",Xl,[p(t.$slots,"default")])}const Mc=g(Yl,[["render",Jl],["__scopeId","data-v-05fecbf1"]]);const Ql={},Zl={class:"VPTeamPageTitle"},ec={key:0,class:"title"},tc={key:1,class:"lead"};function nc(t,e){return i(),l("div",Zl,[t.$slots.title?(i(),l("h1",ec,[p(t.$slots,"title",{},void 0,!0)])):f("",!0),t.$slots.lead?(i(),l("p",tc,[p(t.$slots,"lead",{},void 0,!0)])):f("",!0)])}const Cc=g(Ql,[["render",nc],["__scopeId","data-v-6ce551d6"]]);const sc={},oc=t=>(R("data-v-1ac32f26"),t=t(),U(),t),ac={class:"VPTeamPageSection"},ic={class:"title"},rc=oc(()=>c("div",{class:"title-line"},null,-1)),lc={key:0,class:"title-text"},cc={key:0,class:"lead"},uc={key:1,class:"members"};function dc(t,e){return i(),l("section",ac,[c("div",ic,[rc,t.$slots.title?(i(),l("h2",lc,[p(t.$slots,"title",{},void 0,!0)])):f("",!0)]),t.$slots.lead?(i(),l("p",cc,[p(t.$slots,"lead",{},void 0,!0)])):f("",!0),t.$slots.members?(i(),l("div",uc,[p(t.$slots,"members",{},void 0,!0)])):f("",!0)])}const Ic=g(sc,[["render",dc],["__scopeId","data-v-1ac32f26"]]),_c={class:"profile"},pc={class:"avatar"},hc=["src","alt"],vc={class:"data"},fc={class:"name"},mc={key:0,class:"affiliation"},gc={key:0,class:"title"},yc={key:1,class:"at"},bc=["innerHTML"],$c={key:2,class:"links"},kc={key:0,class:"sp"},Pc=k({__name:"VPTeamMembersItem",props:{size:{},member:{}},setup(t){return(e,n)=>(i(),l("article",{class:A(["VPTeamMembersItem",[e.size??"medium"]])},[c("div",_c,[c("figure",pc,[c("img",{class:"avatar-img",src:e.member.avatar,alt:e.member.name},null,8,hc)]),c("div",vc,[c("h1",fc,M(e.member.name),1),e.member.title||e.member.org?(i(),l("p",mc,[e.member.title?(i(),l("span",gc,M(e.member.title),1)):f("",!0),e.member.title&&e.member.org?(i(),l("span",yc," @ ")):f("",!0),e.member.org?(i(),V(W,{key:2,class:A(["org",{link:e.member.orgLink}]),href:e.member.orgLink,"no-icon":""},{default:h(()=>[E(M(e.member.org),1)]),_:1},8,["class","href"])):f("",!0)])):f("",!0),e.member.desc?(i(),l("p",{key:1,class:"desc",innerHTML:e.member.desc},null,8,bc)):f("",!0),e.member.links?(i(),l("div",$c,[m(ke,{links:e.member.links},null,8,["links"])])):f("",!0)])]),e.member.sponsor?(i(),l("div",kc,[m(W,{class:"sp-link",href:e.member.sponsor,"no-icon":""},{default:h(()=>[m(Kl,{class:"sp-icon"}),E(" Sponsor ")]),_:1},8,["href"])])):f("",!0)],2))}});const Vc=g(Pc,[["__scopeId","data-v-cb9b61e6"]]),wc={class:"container"},Sc=k({__name:"VPTeamMembers",props:{size:{},members:{}},setup(t){const e=t,n=S(()=>[e.size??"medium",`count-${e.members.length}`]);return(s,o)=>(i(),l("div",{class:A(["VPTeamMembers",n.value])},[c("div",wc,[(i(!0),l(B,null,D(s.members,a=>(i(),l("div",{key:a.name,class:"item"},[m(Vc,{size:s.size,member:a},null,8,["size","member"])]))),128))])],2))}});const Tc=g(Sc,[["__scopeId","data-v-ed08c3d1"]]),xc={Layout:jl,enhanceApp:({app:t})=>{t.component("Badge",Ft)}};export{Cc as V,Tc as a,Ic as b,Mc as c,xc as t}; diff --git a/assets/contact.md.8b34e956.js b/assets/contact.md.05016461.js similarity index 85% rename from assets/contact.md.8b34e956.js rename to assets/contact.md.05016461.js index 958bedf..d6bd9ae 100644 --- a/assets/contact.md.8b34e956.js +++ b/assets/contact.md.05016461.js @@ -1 +1 @@ -import{_ as e,o as a,c as o,z as t,a as s}from"./chunks/framework.7384f92b.js";const f=JSON.parse('{"title":"","description":"","frontmatter":{},"headers":[],"relativePath":"contact.md","filePath":"contact.md","lastUpdated":1673564209000}'),r={name:"contact.md"},c=t("div",{align:"center",class:"rounded-md"},[t("h1",{class:"text-[#ab5ac7]"},"Contact Us"),t("br"),s(" Please join our Discord for updates and any questions. "),t("br"),t("br"),t("iframe",{class:"rounded-md",id:"discord-widget",src:"https://discord.com/widget?id=946212245187199026&theme=dark",width:"350",height:"500",allowtransparency:"true",frameborder:"0",sandbox:"allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts",target:"_blank"})],-1),d=[c];function n(i,l,p,m,_,u){return a(),o("div",null,d)}const b=e(r,[["render",n]]);export{f as __pageData,b as default}; +import{_ as e,o as a,c as o,v as t,a as s}from"./chunks/framework.17985c0a.js";const f=JSON.parse('{"title":"","description":"","frontmatter":{},"headers":[],"relativePath":"contact.md","filePath":"contact.md","lastUpdated":1673564209000}'),r={name:"contact.md"},c=t("div",{align:"center",class:"rounded-md"},[t("h1",{class:"text-[#ab5ac7]"},"Contact Us"),t("br"),s(" Please join our Discord for updates and any questions. "),t("br"),t("br"),t("iframe",{class:"rounded-md",id:"discord-widget",src:"https://discord.com/widget?id=946212245187199026&theme=dark",width:"350",height:"500",allowtransparency:"true",frameborder:"0",sandbox:"allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts",target:"_blank"})],-1),d=[c];function n(i,l,p,m,_,u){return a(),o("div",null,d)}const b=e(r,[["render",n]]);export{f as __pageData,b as default}; diff --git a/assets/contact.md.8b34e956.lean.js b/assets/contact.md.05016461.lean.js similarity index 85% rename from assets/contact.md.8b34e956.lean.js rename to assets/contact.md.05016461.lean.js index 958bedf..d6bd9ae 100644 --- a/assets/contact.md.8b34e956.lean.js +++ b/assets/contact.md.05016461.lean.js @@ -1 +1 @@ -import{_ as e,o as a,c as o,z as t,a as s}from"./chunks/framework.7384f92b.js";const f=JSON.parse('{"title":"","description":"","frontmatter":{},"headers":[],"relativePath":"contact.md","filePath":"contact.md","lastUpdated":1673564209000}'),r={name:"contact.md"},c=t("div",{align:"center",class:"rounded-md"},[t("h1",{class:"text-[#ab5ac7]"},"Contact Us"),t("br"),s(" Please join our Discord for updates and any questions. "),t("br"),t("br"),t("iframe",{class:"rounded-md",id:"discord-widget",src:"https://discord.com/widget?id=946212245187199026&theme=dark",width:"350",height:"500",allowtransparency:"true",frameborder:"0",sandbox:"allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts",target:"_blank"})],-1),d=[c];function n(i,l,p,m,_,u){return a(),o("div",null,d)}const b=e(r,[["render",n]]);export{f as __pageData,b as default}; +import{_ as e,o as a,c as o,v as t,a as s}from"./chunks/framework.17985c0a.js";const f=JSON.parse('{"title":"","description":"","frontmatter":{},"headers":[],"relativePath":"contact.md","filePath":"contact.md","lastUpdated":1673564209000}'),r={name:"contact.md"},c=t("div",{align:"center",class:"rounded-md"},[t("h1",{class:"text-[#ab5ac7]"},"Contact Us"),t("br"),s(" Please join our Discord for updates and any questions. "),t("br"),t("br"),t("iframe",{class:"rounded-md",id:"discord-widget",src:"https://discord.com/widget?id=946212245187199026&theme=dark",width:"350",height:"500",allowtransparency:"true",frameborder:"0",sandbox:"allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts",target:"_blank"})],-1),d=[c];function n(i,l,p,m,_,u){return a(),o("div",null,d)}const b=e(r,[["render",n]]);export{f as __pageData,b as default}; diff --git a/assets/dev_roadmap.md.1d67b1f2.js b/assets/dev_roadmap.md.1d67b1f2.js deleted file mode 100644 index 3cce874..0000000 --- a/assets/dev_roadmap.md.1d67b1f2.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as t}from"./chunks/CheckBoxList.78ea8d78.js";import{o as r,c as n,G as o,b as l,z as e,a}from"./chunks/framework.7384f92b.js";const s={state:!0,object:[{label:"Tracking algorithm"},{label:"Calibration"},{label:"GUI"},{label:"PCB Design for IR emitters"},{label:"Dual Eye support"},{label:"Firmware"},{label:"Better documentation over things (setup, wiring etc.)"},{label:"Setup dynamic WiFi credentials at runtime"},{label:"OTA using Platformio"}]},i={state:!1,object:[{label:"Variable eye openness tracking"},{label:"Release of V1 to the masses"},{label:"Auto ROI cropping"},{label:"Auto threshold's"},{label:"Setup flashing of ESPs through anything other than VSC"},{label:"New GUI"},{label:"Power regulator board"},{label:"New IR LED PCB (only for the power reg board)"}]},d={state:!1,object:[{label:"Support for binary parameters"},{label:"Dynamic foveated rendering via OpenXR (not a guarantee)"},{label:"Custom ESP-CAM boards"}]},c=e("h1",{class:"text-[var(--font-accent)]",id:"eyetrackvr-development-roadmap",tabindex:"-1"},[a("EyeTrackVR Development Roadmap "),e("a",{class:"header-anchor",href:"#eyetrackvr-development-roadmap","aria-label":'Permalink to "EyeTrackVR Development Roadmap {.text-[var(--font-accent)]}"'},"​")],-1),p=e("p",null,"This will contain a list of features that are in progress, completed, and planned.",-1),m=e("h2",{id:"completed",tabindex:"-1"},[a("Completed "),e("a",{class:"header-anchor",href:"#completed","aria-label":'Permalink to "Completed"'},"​")],-1),b=e("h2",{id:"in-progress",tabindex:"-1"},[a("In Progress "),e("a",{class:"header-anchor",href:"#in-progress","aria-label":'Permalink to "In Progress"'},"​")],-1),h=e("h2",{id:"planned",tabindex:"-1"},[a("Planned "),e("a",{class:"header-anchor",href:"#planned","aria-label":'Permalink to "Planned"'},"​")],-1),k=JSON.parse('{"title":"EyeTrackVR Development Roadmap","description":"","frontmatter":{},"headers":[],"relativePath":"dev_roadmap.md","filePath":"dev_roadmap.md","lastUpdated":1676223729000}'),u={name:"dev_roadmap.md"},y=Object.assign(u,{setup(_){return(f,g)=>(r(),n("div",null,[c,p,m,o(t,{options:{...l(s)}},null,8,["options"]),b,o(t,{options:{...l(i)}},null,8,["options"]),h,o(t,{options:{...l(d)}},null,8,["options"])]))}});export{k as __pageData,y as default}; diff --git a/assets/dev_roadmap.md.1d67b1f2.lean.js b/assets/dev_roadmap.md.1d67b1f2.lean.js deleted file mode 100644 index 3cce874..0000000 --- a/assets/dev_roadmap.md.1d67b1f2.lean.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as t}from"./chunks/CheckBoxList.78ea8d78.js";import{o as r,c as n,G as o,b as l,z as e,a}from"./chunks/framework.7384f92b.js";const s={state:!0,object:[{label:"Tracking algorithm"},{label:"Calibration"},{label:"GUI"},{label:"PCB Design for IR emitters"},{label:"Dual Eye support"},{label:"Firmware"},{label:"Better documentation over things (setup, wiring etc.)"},{label:"Setup dynamic WiFi credentials at runtime"},{label:"OTA using Platformio"}]},i={state:!1,object:[{label:"Variable eye openness tracking"},{label:"Release of V1 to the masses"},{label:"Auto ROI cropping"},{label:"Auto threshold's"},{label:"Setup flashing of ESPs through anything other than VSC"},{label:"New GUI"},{label:"Power regulator board"},{label:"New IR LED PCB (only for the power reg board)"}]},d={state:!1,object:[{label:"Support for binary parameters"},{label:"Dynamic foveated rendering via OpenXR (not a guarantee)"},{label:"Custom ESP-CAM boards"}]},c=e("h1",{class:"text-[var(--font-accent)]",id:"eyetrackvr-development-roadmap",tabindex:"-1"},[a("EyeTrackVR Development Roadmap "),e("a",{class:"header-anchor",href:"#eyetrackvr-development-roadmap","aria-label":'Permalink to "EyeTrackVR Development Roadmap {.text-[var(--font-accent)]}"'},"​")],-1),p=e("p",null,"This will contain a list of features that are in progress, completed, and planned.",-1),m=e("h2",{id:"completed",tabindex:"-1"},[a("Completed "),e("a",{class:"header-anchor",href:"#completed","aria-label":'Permalink to "Completed"'},"​")],-1),b=e("h2",{id:"in-progress",tabindex:"-1"},[a("In Progress "),e("a",{class:"header-anchor",href:"#in-progress","aria-label":'Permalink to "In Progress"'},"​")],-1),h=e("h2",{id:"planned",tabindex:"-1"},[a("Planned "),e("a",{class:"header-anchor",href:"#planned","aria-label":'Permalink to "Planned"'},"​")],-1),k=JSON.parse('{"title":"EyeTrackVR Development Roadmap","description":"","frontmatter":{},"headers":[],"relativePath":"dev_roadmap.md","filePath":"dev_roadmap.md","lastUpdated":1676223729000}'),u={name:"dev_roadmap.md"},y=Object.assign(u,{setup(_){return(f,g)=>(r(),n("div",null,[c,p,m,o(t,{options:{...l(s)}},null,8,["options"]),b,o(t,{options:{...l(i)}},null,8,["options"]),h,o(t,{options:{...l(d)}},null,8,["options"])]))}});export{k as __pageData,y as default}; diff --git a/assets/dev_roadmap.md.f3dd7c17.js b/assets/dev_roadmap.md.f3dd7c17.js new file mode 100644 index 0000000..459ced6 --- /dev/null +++ b/assets/dev_roadmap.md.f3dd7c17.js @@ -0,0 +1 @@ +import{_ as t}from"./chunks/CheckBoxList.4e2280d2.js";import{o as r,c as n,C as o,b as l,v as e,a}from"./chunks/framework.17985c0a.js";const s={state:!0,object:[{label:"Tracking algorithm"},{label:"Calibration"},{label:"GUI"},{label:"PCB Design for IR emitters"},{label:"Dual Eye support"},{label:"Firmware"},{label:"Better documentation over things (setup, wiring etc.)"},{label:"Setup dynamic WiFi credentials at runtime"},{label:"OTA using Platformio"},{label:"Auto threshold's"},{label:"New LED Power regulator board (V4)"},{label:"New IR LED PCB (only for the power reg board) (V4)"}]},i={state:!1,object:[{label:"Variable eye openness tracking (being improved)"},{label:"Release of V1 to the masses"},{label:"Auto ROI cropping"},{label:"Setup flashing of ESPs through anything other than VSC"},{label:"New GUI"},{label:"New backend for GUI"},{label:"V5 hardware (focus on wired usage)"}]},d={state:!1,object:[{label:"HELP NEEDED: Dynamic foveated rendering via OpenXR (not a guarantee)"},{label:"HELP NEEDED: 3D point calibration via OpenXR/SteamVR overlay"},{label:"Custom cam boards/cameras?"}]},c=e("h1",{class:"text-[var(--font-accent)]",id:"eyetrackvr-development-roadmap",tabindex:"-1"},[a("EyeTrackVR Development Roadmap "),e("a",{class:"header-anchor",href:"#eyetrackvr-development-roadmap","aria-label":'Permalink to "EyeTrackVR Development Roadmap {.text-[var(--font-accent)]}"'},"​")],-1),p=e("p",null,"This will contain a list of features that are in progress, completed, and planned.",-1),m=e("h2",{id:"completed",tabindex:"-1"},[a("Completed "),e("a",{class:"header-anchor",href:"#completed","aria-label":'Permalink to "Completed"'},"​")],-1),b=e("h2",{id:"in-progress",tabindex:"-1"},[a("In Progress "),e("a",{class:"header-anchor",href:"#in-progress","aria-label":'Permalink to "In Progress"'},"​")],-1),h=e("h2",{id:"planned",tabindex:"-1"},[a("Planned "),e("a",{class:"header-anchor",href:"#planned","aria-label":'Permalink to "Planned"'},"​")],-1),E=JSON.parse('{"title":"EyeTrackVR Development Roadmap","description":"","frontmatter":{},"headers":[],"relativePath":"dev_roadmap.md","filePath":"dev_roadmap.md","lastUpdated":1676223729000}'),u={name:"dev_roadmap.md"},k=Object.assign(u,{setup(f){return(_,g)=>(r(),n("div",null,[c,p,m,o(t,{options:{...l(s)}},null,8,["options"]),b,o(t,{options:{...l(i)}},null,8,["options"]),h,o(t,{options:{...l(d)}},null,8,["options"])]))}});export{E as __pageData,k as default}; diff --git a/assets/dev_roadmap.md.f3dd7c17.lean.js b/assets/dev_roadmap.md.f3dd7c17.lean.js new file mode 100644 index 0000000..459ced6 --- /dev/null +++ b/assets/dev_roadmap.md.f3dd7c17.lean.js @@ -0,0 +1 @@ +import{_ as t}from"./chunks/CheckBoxList.4e2280d2.js";import{o as r,c as n,C as o,b as l,v as e,a}from"./chunks/framework.17985c0a.js";const s={state:!0,object:[{label:"Tracking algorithm"},{label:"Calibration"},{label:"GUI"},{label:"PCB Design for IR emitters"},{label:"Dual Eye support"},{label:"Firmware"},{label:"Better documentation over things (setup, wiring etc.)"},{label:"Setup dynamic WiFi credentials at runtime"},{label:"OTA using Platformio"},{label:"Auto threshold's"},{label:"New LED Power regulator board (V4)"},{label:"New IR LED PCB (only for the power reg board) (V4)"}]},i={state:!1,object:[{label:"Variable eye openness tracking (being improved)"},{label:"Release of V1 to the masses"},{label:"Auto ROI cropping"},{label:"Setup flashing of ESPs through anything other than VSC"},{label:"New GUI"},{label:"New backend for GUI"},{label:"V5 hardware (focus on wired usage)"}]},d={state:!1,object:[{label:"HELP NEEDED: Dynamic foveated rendering via OpenXR (not a guarantee)"},{label:"HELP NEEDED: 3D point calibration via OpenXR/SteamVR overlay"},{label:"Custom cam boards/cameras?"}]},c=e("h1",{class:"text-[var(--font-accent)]",id:"eyetrackvr-development-roadmap",tabindex:"-1"},[a("EyeTrackVR Development Roadmap "),e("a",{class:"header-anchor",href:"#eyetrackvr-development-roadmap","aria-label":'Permalink to "EyeTrackVR Development Roadmap {.text-[var(--font-accent)]}"'},"​")],-1),p=e("p",null,"This will contain a list of features that are in progress, completed, and planned.",-1),m=e("h2",{id:"completed",tabindex:"-1"},[a("Completed "),e("a",{class:"header-anchor",href:"#completed","aria-label":'Permalink to "Completed"'},"​")],-1),b=e("h2",{id:"in-progress",tabindex:"-1"},[a("In Progress "),e("a",{class:"header-anchor",href:"#in-progress","aria-label":'Permalink to "In Progress"'},"​")],-1),h=e("h2",{id:"planned",tabindex:"-1"},[a("Planned "),e("a",{class:"header-anchor",href:"#planned","aria-label":'Permalink to "Planned"'},"​")],-1),E=JSON.parse('{"title":"EyeTrackVR Development Roadmap","description":"","frontmatter":{},"headers":[],"relativePath":"dev_roadmap.md","filePath":"dev_roadmap.md","lastUpdated":1676223729000}'),u={name:"dev_roadmap.md"},k=Object.assign(u,{setup(f){return(_,g)=>(r(),n("div",null,[c,p,m,o(t,{options:{...l(s)}},null,8,["options"]),b,o(t,{options:{...l(i)}},null,8,["options"]),h,o(t,{options:{...l(d)}},null,8,["options"])]))}});export{E as __pageData,k as default}; diff --git a/assets/development_docs_dev_docs.md.129593e0.js b/assets/development_docs_dev_docs.md.f32aa5d4.js similarity index 97% rename from assets/development_docs_dev_docs.md.129593e0.js rename to assets/development_docs_dev_docs.md.f32aa5d4.js index b2c70f7..640857f 100644 --- a/assets/development_docs_dev_docs.md.129593e0.js +++ b/assets/development_docs_dev_docs.md.f32aa5d4.js @@ -1 +1 @@ -import{_ as e,o as a,c as t,V as s}from"./chunks/framework.7384f92b.js";const b=JSON.parse('{"title":"Development Documentation for the EyeTrackVR Docs Site","description":"","frontmatter":{},"headers":[],"relativePath":"development/docs/dev_docs.md","filePath":"development/docs/dev_docs.md","lastUpdated":1689147044000}'),r={name:"development/docs/dev_docs.md"},o=s('

Development Documentation for the EyeTrackVR Docs Site

This is the documentation for the EyeTrackVR Docs site. It is built using VitePress.

Getting Started

Prerequisites

  • Node.js (v14.15.4 or higher)
  • Yarn (v1.22.10 or higher)
  • Git (v2.30.1 or higher)
  • VSCode (v1.56.2 or higher)

Installation

  1. Clone the repo

    sh
    git clone https://github.com/EyeTrackVR/EyeTrackVR-Docs.git
  2. Navigate to the vitepress folder

    sh
    cd vitepress
  3. Install Yarn packages

    sh
    yarn
  4. Start the dev server

    sh
    yarn dev
  5. Open the site in your browser

Contributing

Project Structure

  1. Familiarize yourself with the VitePress documentation.
  2. Then, move on to our project specific documentation below.

Standards

  • All documentation should be written in Markdown or Vue components.
  • All file names are snake case and lowercase letters.
  • Do not make naming changes to the vitepress folder.
  • Do not make major changes to the vitepress folder structure without proir consultation of team members.
  • For Vue componentes, follow the Vue3 docs.
',12),n=[o];function l(i,c,d,p,h,u){return a(),t("div",null,n)}const g=e(r,[["render",l]]);export{b as __pageData,g as default}; +import{_ as e,o as a,c as t,S as s}from"./chunks/framework.17985c0a.js";const b=JSON.parse('{"title":"Development Documentation for the EyeTrackVR Docs Site","description":"","frontmatter":{},"headers":[],"relativePath":"development/docs/dev_docs.md","filePath":"development/docs/dev_docs.md","lastUpdated":1689147044000}'),r={name:"development/docs/dev_docs.md"},o=s('

Development Documentation for the EyeTrackVR Docs Site

This is the documentation for the EyeTrackVR Docs site. It is built using VitePress.

Getting Started

Prerequisites

  • Node.js (v14.15.4 or higher)
  • Yarn (v1.22.10 or higher)
  • Git (v2.30.1 or higher)
  • VSCode (v1.56.2 or higher)

Installation

  1. Clone the repo

    sh
    git clone https://github.com/EyeTrackVR/EyeTrackVR-Docs.git
  2. Navigate to the vitepress folder

    sh
    cd vitepress
  3. Install Yarn packages

    sh
    yarn
  4. Start the dev server

    sh
    yarn dev
  5. Open the site in your browser

Contributing

Project Structure

  1. Familiarize yourself with the VitePress documentation.
  2. Then, move on to our project specific documentation below.

Standards

  • All documentation should be written in Markdown or Vue components.
  • All file names are snake case and lowercase letters.
  • Do not make naming changes to the vitepress folder.
  • Do not make major changes to the vitepress folder structure without proir consultation of team members.
  • For Vue componentes, follow the Vue3 docs.
',12),n=[o];function l(i,c,d,p,h,u){return a(),t("div",null,n)}const g=e(r,[["render",l]]);export{b as __pageData,g as default}; diff --git a/assets/development_docs_dev_docs.md.129593e0.lean.js b/assets/development_docs_dev_docs.md.f32aa5d4.lean.js similarity index 74% rename from assets/development_docs_dev_docs.md.129593e0.lean.js rename to assets/development_docs_dev_docs.md.f32aa5d4.lean.js index ee35e10..2dac2ee 100644 --- a/assets/development_docs_dev_docs.md.129593e0.lean.js +++ b/assets/development_docs_dev_docs.md.f32aa5d4.lean.js @@ -1 +1 @@ -import{_ as e,o as a,c as t,V as s}from"./chunks/framework.7384f92b.js";const b=JSON.parse('{"title":"Development Documentation for the EyeTrackVR Docs Site","description":"","frontmatter":{},"headers":[],"relativePath":"development/docs/dev_docs.md","filePath":"development/docs/dev_docs.md","lastUpdated":1689147044000}'),r={name:"development/docs/dev_docs.md"},o=s("",12),n=[o];function l(i,c,d,p,h,u){return a(),t("div",null,n)}const g=e(r,[["render",l]]);export{b as __pageData,g as default}; +import{_ as e,o as a,c as t,S as s}from"./chunks/framework.17985c0a.js";const b=JSON.parse('{"title":"Development Documentation for the EyeTrackVR Docs Site","description":"","frontmatter":{},"headers":[],"relativePath":"development/docs/dev_docs.md","filePath":"development/docs/dev_docs.md","lastUpdated":1689147044000}'),r={name:"development/docs/dev_docs.md"},o=s("",12),n=[o];function l(i,c,d,p,h,u){return a(),t("div",null,n)}const g=e(r,[["render",l]]);export{b as __pageData,g as default}; diff --git a/assets/development_docs_pages.md.a16f2e91.js b/assets/development_docs_pages.md.55174e30.js similarity index 98% rename from assets/development_docs_pages.md.a16f2e91.js rename to assets/development_docs_pages.md.55174e30.js index 6696ead..a86a7de 100644 --- a/assets/development_docs_pages.md.a16f2e91.js +++ b/assets/development_docs_pages.md.55174e30.js @@ -1,4 +1,4 @@ -import{_ as e,o as s,c as a,V as o}from"./chunks/framework.7384f92b.js";const u=JSON.parse('{"title":"Pages","description":"","frontmatter":{},"headers":[],"relativePath":"development/docs/pages.md","filePath":"development/docs/pages.md","lastUpdated":1677868200000}'),n={name:"development/docs/pages.md"},t=o(`

Pages

This section will cover how to add or edit pages on the docs website.

Please use the Github Markdown flavour for your Markdown files.

Please look at other pages to see how they are formatted, and for examples of how to use Markdown.

Adding a Page

To add a page, you will need to create a new Markdown file in the vitepress/docs/src/pages folder. The file name will be the URL of the page. For example, if you create a file called my_page.md, the URL will be https://docs.eyetrackvr.dev//my_page.

Sub-directories

You can also create sub-directories in the vitepress/docs/src/pages folder. For example, if you create a file called my_page.md in a folder called my_folder, the URL will be https://docs.eyetrackvr.dev//my_folder/my_page.

This is useful for organizing pages into categories.

Adding a Page to the Sidebar

To add a page to the sidebar, you will need to add the page to the vitepress/docs/src/custom/theme/index.js file.

To do this, you will need to add the page to the sidebar object.

For example, if you want to add a page called my_page.md to the sidebar, you will need to add the following to the sidebar object:

js
{
+import{_ as e,o as s,c as a,S as o}from"./chunks/framework.17985c0a.js";const u=JSON.parse('{"title":"Pages","description":"","frontmatter":{},"headers":[],"relativePath":"development/docs/pages.md","filePath":"development/docs/pages.md","lastUpdated":1677868200000}'),n={name:"development/docs/pages.md"},t=o(`

Pages

This section will cover how to add or edit pages on the docs website.

Please use the Github Markdown flavour for your Markdown files.

Please look at other pages to see how they are formatted, and for examples of how to use Markdown.

Adding a Page

To add a page, you will need to create a new Markdown file in the vitepress/docs/src/pages folder. The file name will be the URL of the page. For example, if you create a file called my_page.md, the URL will be https://docs.eyetrackvr.dev//my_page.

Sub-directories

You can also create sub-directories in the vitepress/docs/src/pages folder. For example, if you create a file called my_page.md in a folder called my_folder, the URL will be https://docs.eyetrackvr.dev//my_folder/my_page.

This is useful for organizing pages into categories.

Adding a Page to the Sidebar

To add a page to the sidebar, you will need to add the page to the vitepress/docs/src/custom/theme/index.js file.

To do this, you will need to add the page to the sidebar object.

For example, if you want to add a page called my_page.md to the sidebar, you will need to add the following to the sidebar object:

js
{
     text: "Getting Started",
     collapsible: true,
     items: [
diff --git a/assets/development_docs_pages.md.a16f2e91.lean.js b/assets/development_docs_pages.md.55174e30.lean.js
similarity index 70%
rename from assets/development_docs_pages.md.a16f2e91.lean.js
rename to assets/development_docs_pages.md.55174e30.lean.js
index 82ffed1..c219598 100644
--- a/assets/development_docs_pages.md.a16f2e91.lean.js
+++ b/assets/development_docs_pages.md.55174e30.lean.js
@@ -1 +1 @@
-import{_ as e,o as s,c as a,V as o}from"./chunks/framework.7384f92b.js";const u=JSON.parse('{"title":"Pages","description":"","frontmatter":{},"headers":[],"relativePath":"development/docs/pages.md","filePath":"development/docs/pages.md","lastUpdated":1677868200000}'),n={name:"development/docs/pages.md"},t=o("",24),l=[t];function p(c,r,i,d,F,y){return s(),a("div",null,l)}const D=e(n,[["render",p]]);export{u as __pageData,D as default};
+import{_ as e,o as s,c as a,S as o}from"./chunks/framework.17985c0a.js";const u=JSON.parse('{"title":"Pages","description":"","frontmatter":{},"headers":[],"relativePath":"development/docs/pages.md","filePath":"development/docs/pages.md","lastUpdated":1677868200000}'),n={name:"development/docs/pages.md"},t=o("",24),l=[t];function p(c,r,i,d,F,y){return s(),a("div",null,l)}const D=e(n,[["render",p]]);export{u as __pageData,D as default};
diff --git a/assets/development_docs_standards.md.34f5cc0e.js b/assets/development_docs_standards.md.ded806e2.js
similarity index 98%
rename from assets/development_docs_standards.md.34f5cc0e.js
rename to assets/development_docs_standards.md.ded806e2.js
index ed4a750..cf8d08a 100644
--- a/assets/development_docs_standards.md.34f5cc0e.js
+++ b/assets/development_docs_standards.md.ded806e2.js
@@ -1,4 +1,4 @@
-import{_ as e,o as s,c as a,V as n}from"./chunks/framework.7384f92b.js";const y=JSON.parse('{"title":"Standards Guide","description":"","frontmatter":{},"headers":[],"relativePath":"development/docs/standards.md","filePath":"development/docs/standards.md","lastUpdated":1677868200000}'),t={name:"development/docs/standards.md"},o=n(`

Standards Guide

Listed here are the standards that are used for the EyeTrackVR project. These standards are used to ensure that the project is consistent and easy to understand.

Code Standards

General

It is by design that we use a static-site framework for the documentation site. This is to ensure that the documentation is easy to maintain and extend. This is also to ensure that the documentation is easy to understand.

We have only a few rules for the documentation site:

  • All code should be written in English.
  • All code should be written in a way that is easy to understand.
  • All code should be written in a way that is easy to maintain.
  • All code should be written in a way that is easy to extend.
  • Our git commit style is to be followed, in english only.

Git Commit Style

We use the Conventional Commits standard for our git commit style. This is to ensure that our git commits are easy to understand and easy to maintain. This is also to ensure that our git commits are easy to extend.

Git commits are used to with the Semantic Release tool to automatically generate the changelog and versioning for the project. As such, it is important that we follow the Conventional Commits standard, with our own rule customizations.

The following is a list of the customizations that we have made to the Conventional Commits standard:

  • We use the BREAKING CHANGE(S) or BREAKING text to indicate a breaking change.

Our git commit style is as follows:

bash
<type>[optional scope]: <description>
+import{_ as e,o as s,c as a,S as n}from"./chunks/framework.17985c0a.js";const y=JSON.parse('{"title":"Standards Guide","description":"","frontmatter":{},"headers":[],"relativePath":"development/docs/standards.md","filePath":"development/docs/standards.md","lastUpdated":1677868200000}'),t={name:"development/docs/standards.md"},o=n(`

Standards Guide

Listed here are the standards that are used for the EyeTrackVR project. These standards are used to ensure that the project is consistent and easy to understand.

Code Standards

General

It is by design that we use a static-site framework for the documentation site. This is to ensure that the documentation is easy to maintain and extend. This is also to ensure that the documentation is easy to understand.

We have only a few rules for the documentation site:

  • All code should be written in English.
  • All code should be written in a way that is easy to understand.
  • All code should be written in a way that is easy to maintain.
  • All code should be written in a way that is easy to extend.
  • Our git commit style is to be followed, in english only.

Git Commit Style

We use the Conventional Commits standard for our git commit style. This is to ensure that our git commits are easy to understand and easy to maintain. This is also to ensure that our git commits are easy to extend.

Git commits are used to with the Semantic Release tool to automatically generate the changelog and versioning for the project. As such, it is important that we follow the Conventional Commits standard, with our own rule customizations.

The following is a list of the customizations that we have made to the Conventional Commits standard:

  • We use the BREAKING CHANGE(S) or BREAKING text to indicate a breaking change.

Our git commit style is as follows:

bash
<type>[optional scope]: <description>
 
 [optional body]
 
diff --git a/assets/development_docs_standards.md.34f5cc0e.lean.js b/assets/development_docs_standards.md.ded806e2.lean.js
similarity index 72%
rename from assets/development_docs_standards.md.34f5cc0e.lean.js
rename to assets/development_docs_standards.md.ded806e2.lean.js
index bfc0481..31db69b 100644
--- a/assets/development_docs_standards.md.34f5cc0e.lean.js
+++ b/assets/development_docs_standards.md.ded806e2.lean.js
@@ -1 +1 @@
-import{_ as e,o as s,c as a,V as n}from"./chunks/framework.7384f92b.js";const y=JSON.parse('{"title":"Standards Guide","description":"","frontmatter":{},"headers":[],"relativePath":"development/docs/standards.md","filePath":"development/docs/standards.md","lastUpdated":1677868200000}'),t={name:"development/docs/standards.md"},o=n("",18),l=[o];function i(r,c,p,d,h,m){return s(),a("div",null,l)}const C=e(t,[["render",i]]);export{y as __pageData,C as default};
+import{_ as e,o as s,c as a,S as n}from"./chunks/framework.17985c0a.js";const y=JSON.parse('{"title":"Standards Guide","description":"","frontmatter":{},"headers":[],"relativePath":"development/docs/standards.md","filePath":"development/docs/standards.md","lastUpdated":1677868200000}'),t={name:"development/docs/standards.md"},o=n("",18),l=[o];function i(r,c,p,d,h,m){return s(),a("div",null,l)}const C=e(t,[["render",i]]);export{y as __pageData,C as default};
diff --git a/assets/firmware_guide_configure_firmware.md.1156a298.js b/assets/firmware_guide_configure_firmware.md.f3dbc3bf.js
similarity index 95%
rename from assets/firmware_guide_configure_firmware.md.1156a298.js
rename to assets/firmware_guide_configure_firmware.md.f3dbc3bf.js
index 6b8cab7..2123918 100644
--- a/assets/firmware_guide_configure_firmware.md.1156a298.js
+++ b/assets/firmware_guide_configure_firmware.md.f3dbc3bf.js
@@ -1 +1 @@
-import{_ as s,a as d}from"./chunks/index.3b745ef0.js";import{_ as n,i}from"./chunks/index.9f7265df.js";import{o as h,c,G as t,b as a,B as l,z as e,a as o,V as r}from"./chunks/framework.7384f92b.js";const u=e("h1",{class:"text-[var(--font-accent)]",id:"configuring-the-firmware",tabindex:"-1"},[o("Configuring the firmware "),e("a",{class:"header-anchor",href:"#configuring-the-firmware","aria-label":'Permalink to "Configuring the firmware {.text-[var(--font-accent)]}"'},"​")],-1),p=e("h2",{id:"once-you-have-opened-the-project-you-should-see-something-on-the-left-side-like-this",tabindex:"-1"},[o("Once you have opened the project, you should see something on the left side like this "),e("a",{class:"header-anchor",href:"#once-you-have-opened-the-project-you-should-see-something-on-the-left-side-like-this","aria-label":'Permalink to "Once you have opened the project, you should see something on the left side like this"'},"​")],-1),f=e("h2",{id:"open-the-ini-user-config-ini-file",tabindex:"-1"},[o("Open the "),e("code",null,"ini/user_config.ini"),o(" file "),e("a",{class:"header-anchor",href:"#open-the-ini-user-config-ini-file","aria-label":'Permalink to "Open the `ini/user_config.ini` file"'},"​")],-1),m=r('

INFO

These settings are applicable only when using Wi-Fi for communication with your computer. If you are using USB, you can skip to reading about Environments.

Replace the placeholder text with your correct SSID (WiFi access point name), and password respectfully.

INFO

Special characters such as ! and @ are not supported. If you have a special character in your password or ssid, you will need to change it.

Spaces are not supported either. If you have a space in either, you will need to change it.

The firmware supports AP mode, but it is not recommended. If you are using AP mode, you will need to set the enableadhoc to 1.

Then, you will need to set the ap_ssid to the name of your AP, and ap_password to the password of your AP.

You can choose to leave the ap_ssid and ap_password as defaults, but you will need to set the enableadhoc to 1.

Note: If you are enabling AP mode for both ESPs, you will need to set the ap_ssid and ap_password to different values for both ESPs. It is best to set AP mode only for one ESP, and leave the other ESP in STA mode. Connect the other ESP to the AP of the ESP in AP mode. Then connect your computer to the AP of the ESP in AP mode. This will allow you to connect to the ESP in AP mode, and the ESP in STA mode.

',3),w=e("p",null," Make sure your wifi router has a 2.4 GHz band. While most do, this is not always the case. Setting each band (5GHz, and 2.4GHz) to different SSIDs is recommended, though not required. ",-1),_=r('

Double check that you have correctly entered your WiFi credentials and that said wifi network has a 2.4GHz band.

Additonal configuration

mDNS

If you do not wish to manually keep track of the ESPs IP addresses and ports, you can enable the mDNS feature. This will allow you to connect to the ESPs using the following format: http://<some_name>.local. This will only work if you are connected to the same network as the ESPs, and if you have enabled mDNS on your computer. If you are using Windows, you can enable mDNS by following this guide.

OTA

The firmware supports OTA updates. This means that you can update the firmware without having to connect to the ESPs. To enable OTA updates, you will need to set the enableota to 1. Then, you will need to set the otapassword to the password you wish to use to update the firmware. You will need to use this password to update the firmware. If you do not wish to use a password, you can set the otapassword to nothing. This will allow you to update the firmware without a password. However, this is not recommended, as anyone on your network will be able to update the firmware.

You will also need to set the otaserverip to the IP address of the ESP you wish to update. This is the IP address of the ESP you wish to update. If you are using mDNS, you can use the mDNS name of the ESP you wish to update. For example, if you are updating the ESP with the dns set to http://esp32.local, you will need to set the otaserverip to http://esp32.local.

REST API

The firmware also supports a fully featured REST API. This means that you can control the ESPs using a REST API. This feature is enabled by defauly, and can not be turned off.

This feature is used more for advanced users, and is not required for basic operation.

The REST API was developed to be used by our new app (still in development). However, it can be used by any REST API client, you can not send POST requests to the ESPs using a browser though, so some REST API functionality can only be used by tools like Thunder Client or Postman.

The full REST API is documented here.

Environments

The firmware supports multiple environments. This means that we have full support for multiple types of ESPs. Each ESP is configured to be in a different environment. If you are using a different ESP, you will need to change the environment to the correct one.

Please reference the Firmware Enviroments Page for more information.

Coming Soon

We are working on a new app that will allow you to configure the firmware, flash the boards, and connect to Social VR Games using a GUI. This will make it easier to configure the firmware, and will allow you to configure the firmware without having to use/download VSCode or our platformio project. We are hard at work on this, but do not currently have a release date. Please check back frequently.

Now, move on to uploading the firmware

',17),k=JSON.parse('{"title":"Configuring the firmware","description":"","frontmatter":{},"headers":[],"relativePath":"firmware_guide/configure_firmware.md","filePath":"firmware_guide/configure_firmware.md","lastUpdated":1687799549000}'),g={name:"firmware_guide/configure_firmware.md"},E=Object.assign(g,{setup(y){return(b,P)=>(h(),c("div",null,[u,p,t(n,{options:a(i).configure_firmware_one},null,8,["options"]),f,t(n,{options:a(i).configure_firmware_two},null,8,["options"]),m,t(s,{options:a(d).parts_list_one},{content:l(()=>[w]),_:1},8,["options"]),_]))}});export{k as __pageData,E as default}; +import{_ as s,a as d}from"./chunks/index.4ffa16ab.js";import{_ as n,i}from"./chunks/index.d657d51d.js";import{o as h,c,C as t,b as a,y as l,v as e,a as o,S as r}from"./chunks/framework.17985c0a.js";const u=e("h1",{class:"text-[var(--font-accent)]",id:"configuring-the-firmware",tabindex:"-1"},[o("Configuring the firmware "),e("a",{class:"header-anchor",href:"#configuring-the-firmware","aria-label":'Permalink to "Configuring the firmware {.text-[var(--font-accent)]}"'},"​")],-1),p=e("h2",{id:"once-you-have-opened-the-project-you-should-see-something-on-the-left-side-like-this",tabindex:"-1"},[o("Once you have opened the project, you should see something on the left side like this "),e("a",{class:"header-anchor",href:"#once-you-have-opened-the-project-you-should-see-something-on-the-left-side-like-this","aria-label":'Permalink to "Once you have opened the project, you should see something on the left side like this"'},"​")],-1),f=e("h2",{id:"open-the-ini-user-config-ini-file",tabindex:"-1"},[o("Open the "),e("code",null,"ini/user_config.ini"),o(" file "),e("a",{class:"header-anchor",href:"#open-the-ini-user-config-ini-file","aria-label":'Permalink to "Open the `ini/user_config.ini` file"'},"​")],-1),m=r('

INFO

These settings are applicable only when using Wi-Fi for communication with your computer. If you are using USB, you can skip to reading about Environments.

Replace the placeholder text with your correct SSID (WiFi access point name), and password respectfully.

INFO

Special characters such as ! and @ are not supported. If you have a special character in your password or ssid, you will need to change it.

Spaces are not supported either. If you have a space in either, you will need to change it.

The firmware supports AP mode, but it is not recommended. If you are using AP mode, you will need to set the enableadhoc to 1.

Then, you will need to set the ap_ssid to the name of your AP, and ap_password to the password of your AP.

You can choose to leave the ap_ssid and ap_password as defaults, but you will need to set the enableadhoc to 1.

Note: If you are enabling AP mode for both ESPs, you will need to set the ap_ssid and ap_password to different values for both ESPs. It is best to set AP mode only for one ESP, and leave the other ESP in STA mode. Connect the other ESP to the AP of the ESP in AP mode. Then connect your computer to the AP of the ESP in AP mode. This will allow you to connect to the ESP in AP mode, and the ESP in STA mode.

',3),w=e("p",null," Make sure your wifi router has a 2.4 GHz band. While most do, this is not always the case. Setting each band (5GHz, and 2.4GHz) to different SSIDs is recommended, though not required. ",-1),_=r('

Double check that you have correctly entered your WiFi credentials and that said wifi network has a 2.4GHz band.

Additonal configuration

mDNS

If you do not wish to manually keep track of the ESPs IP addresses and ports, you can enable the mDNS feature. This will allow you to connect to the ESPs using the following format: http://<some_name>.local. This will only work if you are connected to the same network as the ESPs, and if you have enabled mDNS on your computer. If you are using Windows, you can enable mDNS by following this guide.

OTA

The firmware supports OTA updates. This means that you can update the firmware without having to connect to the ESPs. To enable OTA updates, you will need to set the enableota to 1. Then, you will need to set the otapassword to the password you wish to use to update the firmware. You will need to use this password to update the firmware. If you do not wish to use a password, you can set the otapassword to nothing. This will allow you to update the firmware without a password. However, this is not recommended, as anyone on your network will be able to update the firmware.

You will also need to set the otaserverip to the IP address of the ESP you wish to update. This is the IP address of the ESP you wish to update. If you are using mDNS, you can use the mDNS name of the ESP you wish to update. For example, if you are updating the ESP with the dns set to http://esp32.local, you will need to set the otaserverip to http://esp32.local.

REST API

The firmware also supports a fully featured REST API. This means that you can control the ESPs using a REST API. This feature is enabled by defauly, and can not be turned off.

This feature is used more for advanced users, and is not required for basic operation.

The REST API was developed to be used by our new app (still in development). However, it can be used by any REST API client, you can not send POST requests to the ESPs using a browser though, so some REST API functionality can only be used by tools like Thunder Client or Postman.

The full REST API is documented here.

Environments

The firmware supports multiple environments. This means that we have full support for multiple types of ESPs. Each ESP is configured to be in a different environment. If you are using a different ESP, you will need to change the environment to the correct one.

Please reference the Firmware Enviroments Page for more information.

Coming Soon

We are working on a new app that will allow you to configure the firmware, flash the boards, and connect to Social VR Games using a GUI. This will make it easier to configure the firmware, and will allow you to configure the firmware without having to use/download VSCode or our platformio project. We are hard at work on this, but do not currently have a release date. Please check back frequently.

Now, move on to uploading the firmware

',17),k=JSON.parse('{"title":"Configuring the firmware","description":"","frontmatter":{},"headers":[],"relativePath":"firmware_guide/configure_firmware.md","filePath":"firmware_guide/configure_firmware.md","lastUpdated":1687799549000}'),y={name:"firmware_guide/configure_firmware.md"},E=Object.assign(y,{setup(g){return(b,P)=>(h(),c("div",null,[u,p,t(n,{options:a(i).configure_firmware_one},null,8,["options"]),f,t(n,{options:a(i).configure_firmware_two},null,8,["options"]),m,t(s,{options:a(d).parts_list_one},{content:l(()=>[w]),_:1},8,["options"]),_]))}});export{k as __pageData,E as default}; diff --git a/assets/firmware_guide_configure_firmware.md.1156a298.lean.js b/assets/firmware_guide_configure_firmware.md.f3dbc3bf.lean.js similarity index 81% rename from assets/firmware_guide_configure_firmware.md.1156a298.lean.js rename to assets/firmware_guide_configure_firmware.md.f3dbc3bf.lean.js index ea70b2a..34f3c54 100644 --- a/assets/firmware_guide_configure_firmware.md.1156a298.lean.js +++ b/assets/firmware_guide_configure_firmware.md.f3dbc3bf.lean.js @@ -1 +1 @@ -import{_ as s,a as d}from"./chunks/index.3b745ef0.js";import{_ as n,i}from"./chunks/index.9f7265df.js";import{o as h,c,G as t,b as a,B as l,z as e,a as o,V as r}from"./chunks/framework.7384f92b.js";const u=e("h1",{class:"text-[var(--font-accent)]",id:"configuring-the-firmware",tabindex:"-1"},[o("Configuring the firmware "),e("a",{class:"header-anchor",href:"#configuring-the-firmware","aria-label":'Permalink to "Configuring the firmware {.text-[var(--font-accent)]}"'},"​")],-1),p=e("h2",{id:"once-you-have-opened-the-project-you-should-see-something-on-the-left-side-like-this",tabindex:"-1"},[o("Once you have opened the project, you should see something on the left side like this "),e("a",{class:"header-anchor",href:"#once-you-have-opened-the-project-you-should-see-something-on-the-left-side-like-this","aria-label":'Permalink to "Once you have opened the project, you should see something on the left side like this"'},"​")],-1),f=e("h2",{id:"open-the-ini-user-config-ini-file",tabindex:"-1"},[o("Open the "),e("code",null,"ini/user_config.ini"),o(" file "),e("a",{class:"header-anchor",href:"#open-the-ini-user-config-ini-file","aria-label":'Permalink to "Open the `ini/user_config.ini` file"'},"​")],-1),m=r("",3),w=e("p",null," Make sure your wifi router has a 2.4 GHz band. While most do, this is not always the case. Setting each band (5GHz, and 2.4GHz) to different SSIDs is recommended, though not required. ",-1),_=r("",17),k=JSON.parse('{"title":"Configuring the firmware","description":"","frontmatter":{},"headers":[],"relativePath":"firmware_guide/configure_firmware.md","filePath":"firmware_guide/configure_firmware.md","lastUpdated":1687799549000}'),g={name:"firmware_guide/configure_firmware.md"},E=Object.assign(g,{setup(y){return(b,P)=>(h(),c("div",null,[u,p,t(n,{options:a(i).configure_firmware_one},null,8,["options"]),f,t(n,{options:a(i).configure_firmware_two},null,8,["options"]),m,t(s,{options:a(d).parts_list_one},{content:l(()=>[w]),_:1},8,["options"]),_]))}});export{k as __pageData,E as default}; +import{_ as s,a as d}from"./chunks/index.4ffa16ab.js";import{_ as n,i}from"./chunks/index.d657d51d.js";import{o as h,c,C as t,b as a,y as l,v as e,a as o,S as r}from"./chunks/framework.17985c0a.js";const u=e("h1",{class:"text-[var(--font-accent)]",id:"configuring-the-firmware",tabindex:"-1"},[o("Configuring the firmware "),e("a",{class:"header-anchor",href:"#configuring-the-firmware","aria-label":'Permalink to "Configuring the firmware {.text-[var(--font-accent)]}"'},"​")],-1),p=e("h2",{id:"once-you-have-opened-the-project-you-should-see-something-on-the-left-side-like-this",tabindex:"-1"},[o("Once you have opened the project, you should see something on the left side like this "),e("a",{class:"header-anchor",href:"#once-you-have-opened-the-project-you-should-see-something-on-the-left-side-like-this","aria-label":'Permalink to "Once you have opened the project, you should see something on the left side like this"'},"​")],-1),f=e("h2",{id:"open-the-ini-user-config-ini-file",tabindex:"-1"},[o("Open the "),e("code",null,"ini/user_config.ini"),o(" file "),e("a",{class:"header-anchor",href:"#open-the-ini-user-config-ini-file","aria-label":'Permalink to "Open the `ini/user_config.ini` file"'},"​")],-1),m=r("",3),w=e("p",null," Make sure your wifi router has a 2.4 GHz band. While most do, this is not always the case. Setting each band (5GHz, and 2.4GHz) to different SSIDs is recommended, though not required. ",-1),_=r("",17),k=JSON.parse('{"title":"Configuring the firmware","description":"","frontmatter":{},"headers":[],"relativePath":"firmware_guide/configure_firmware.md","filePath":"firmware_guide/configure_firmware.md","lastUpdated":1687799549000}'),y={name:"firmware_guide/configure_firmware.md"},E=Object.assign(y,{setup(g){return(b,P)=>(h(),c("div",null,[u,p,t(n,{options:a(i).configure_firmware_one},null,8,["options"]),f,t(n,{options:a(i).configure_firmware_two},null,8,["options"]),m,t(s,{options:a(d).parts_list_one},{content:l(()=>[w]),_:1},8,["options"]),_]))}});export{k as __pageData,E as default}; diff --git a/assets/firmware_guide_environments.md.a939c975.js b/assets/firmware_guide_environments.md.8382e06e.js similarity index 97% rename from assets/firmware_guide_environments.md.a939c975.js rename to assets/firmware_guide_environments.md.8382e06e.js index 742fdcc..649c5ab 100644 --- a/assets/firmware_guide_environments.md.a939c975.js +++ b/assets/firmware_guide_environments.md.8382e06e.js @@ -1 +1 @@ -import{_ as e,i as o}from"./chunks/index.9f7265df.js";import{o as i,c as t,G as s,b as n,V as a}from"./chunks/framework.7384f92b.js";const r=a('

Firmware Environments

What is it?

A firmware environment is a way to store the custom firmware config for a specific device. This is useful if you want to have multiple devices with different firmware configs.

We use environments to store the firmware config for each device, so that you can easily switch between them.

Environments are broken up into two distinct parts:

  • The build type (e.g. debug, release)
  • The board type (e.g. espaithinker, esp32cam)

Build Types

We now have a couple of options letting us decide how we want to build the firmware.

  • Debug - The debug environment is the default environment and does not need to be specified. It has a lot of logging so it is useful for getting everything setup for the first time and to see what is going on.

  • _release - Has a lot less debugging, may also be missing some things available only in debug for debug purposes, this should be flashed when everything is working.

Examples:
xiaosenses3 - This is the debug environment.
xiaosenses3_release - This is the release environment for daily use.

Tip

We recommend starting with a debug environment, and then switching to release once everything is working. A debug environnement should not be used permanently.

Board Types

We currently support for several different boards, and we are working on adding more.

Warning

It is important to note that the esp32AIThinker environment is the default environment. Only switch your environment if you have another board or an environment is not working.

Most esp32Cams from Aliexpress will work with the esp32AIThinker environment, but some may require the esp32cam environment. Test the default environment first, and if it does not work, try the esp32cam environment.

Currently supported boards:

  • esp32AIThinker - This is the default environment. This is for the ESP32-AI-THINKER and generic alibaba/aliexpress/amazon esp cam boards.
  • esp32Cam - This is for the special ESP32-CAM, it is unlikely that you will need to use this environment.
  • esp32M5Stack - This is for ESP32M5Stack.
  • esp32WRover - This is for the ESP32WRover.
  • esp-eye - This is for the ESP-EYE (not the S3 variant).
  • wrooms3 - For FREENOVE-ESP32-S3 (wireless mode)
  • wrooms3QIO - For FREENOVE-ESP32-S3 (wireless mode, for boards with octal flash)
  • wrooms3USB - For FREENOVE-ESP32-S3 (wired mode)
  • wrooms3QIOUSB - For FREENOVE-ESP32-S3 (wired mode, for boards with octal flash)
  • xiaosenses3 - For SeedStudio's XAIO ESP32-S3 Sense (wireless mode)
  • xiaosenses3_USB - For SeedStudio's XAIO ESP32-S3 Sense (wired mode)

You can change the board enviroment by changing the default_envs argument in platformio.ini to a supported board like shown:

',17),u=JSON.parse('{"title":"Firmware Environments","description":"","frontmatter":{},"headers":[],"relativePath":"firmware_guide/environments.md","filePath":"firmware_guide/environments.md","lastUpdated":1687804210000}'),d={name:"firmware_guide/environments.md"},f=Object.assign(d,{setup(l){return(c,m)=>(i(),t("div",null,[r,s(e,{options:n(o).esp_board_env},null,8,["options"])]))}});export{u as __pageData,f as default}; +import{_ as e,i as o}from"./chunks/index.d657d51d.js";import{o as i,c as t,C as s,b as n,S as a}from"./chunks/framework.17985c0a.js";const r=a('

Firmware Environments

What is it?

A firmware environment is a way to store the custom firmware config for a specific device. This is useful if you want to have multiple devices with different firmware configs.

We use environments to store the firmware config for each device, so that you can easily switch between them.

Environments are broken up into two distinct parts:

  • The build type (e.g. debug, release)
  • The board type (e.g. espaithinker, esp32cam)

Build Types

We now have a couple of options letting us decide how we want to build the firmware.

  • Debug - The debug environment is the default environment and does not need to be specified. It has a lot of logging so it is useful for getting everything setup for the first time and to see what is going on.

  • _release - Has a lot less debugging, may also be missing some things available only in debug for debug purposes, this should be flashed when everything is working.

Examples:
xiaosenses3 - This is the debug environment.
xiaosenses3_release - This is the release environment for daily use.

Tip

We recommend starting with a debug environment, and then switching to release once everything is working. A debug environnement should not be used permanently.

Board Types

We currently support for several different boards, and we are working on adding more.

Warning

It is important to note that the esp32AIThinker environment is the default environment. Only switch your environment if you have another board or an environment is not working.

Most esp32Cams from Aliexpress will work with the esp32AIThinker environment, but some may require the esp32cam environment. Test the default environment first, and if it does not work, try the esp32cam environment.

Currently supported boards:

  • esp32AIThinker - This is the default environment. This is for the ESP32-AI-THINKER and generic alibaba/aliexpress/amazon esp cam boards.
  • esp32Cam - This is for the special ESP32-CAM, it is unlikely that you will need to use this environment.
  • esp32M5Stack - This is for ESP32M5Stack.
  • esp32WRover - This is for the ESP32WRover.
  • esp-eye - This is for the ESP-EYE (not the S3 variant).
  • wrooms3 - For FREENOVE-ESP32-S3 (wireless mode)
  • wrooms3QIO - For FREENOVE-ESP32-S3 (wireless mode, for boards with octal flash)
  • wrooms3USB - For FREENOVE-ESP32-S3 (wired mode)
  • wrooms3QIOUSB - For FREENOVE-ESP32-S3 (wired mode, for boards with octal flash)
  • xiaosenses3 - For SeedStudio's XAIO ESP32-S3 Sense (wireless mode)
  • xiaosenses3_USB - For SeedStudio's XAIO ESP32-S3 Sense (wired mode)

You can change the board enviroment by changing the default_envs argument in platformio.ini to a supported board like shown:

',17),u=JSON.parse('{"title":"Firmware Environments","description":"","frontmatter":{},"headers":[],"relativePath":"firmware_guide/environments.md","filePath":"firmware_guide/environments.md","lastUpdated":1687804210000}'),d={name:"firmware_guide/environments.md"},f=Object.assign(d,{setup(l){return(c,m)=>(i(),t("div",null,[r,s(e,{options:n(o).esp_board_env},null,8,["options"])]))}});export{u as __pageData,f as default}; diff --git a/assets/firmware_guide_environments.md.a939c975.lean.js b/assets/firmware_guide_environments.md.8382e06e.lean.js similarity index 77% rename from assets/firmware_guide_environments.md.a939c975.lean.js rename to assets/firmware_guide_environments.md.8382e06e.lean.js index 771dc37..383f392 100644 --- a/assets/firmware_guide_environments.md.a939c975.lean.js +++ b/assets/firmware_guide_environments.md.8382e06e.lean.js @@ -1 +1 @@ -import{_ as e,i as o}from"./chunks/index.9f7265df.js";import{o as i,c as t,G as s,b as n,V as a}from"./chunks/framework.7384f92b.js";const r=a("",17),u=JSON.parse('{"title":"Firmware Environments","description":"","frontmatter":{},"headers":[],"relativePath":"firmware_guide/environments.md","filePath":"firmware_guide/environments.md","lastUpdated":1687804210000}'),d={name:"firmware_guide/environments.md"},f=Object.assign(d,{setup(l){return(c,m)=>(i(),t("div",null,[r,s(e,{options:n(o).esp_board_env},null,8,["options"])]))}});export{u as __pageData,f as default}; +import{_ as e,i as o}from"./chunks/index.d657d51d.js";import{o as i,c as t,C as s,b as n,S as a}from"./chunks/framework.17985c0a.js";const r=a("",17),u=JSON.parse('{"title":"Firmware Environments","description":"","frontmatter":{},"headers":[],"relativePath":"firmware_guide/environments.md","filePath":"firmware_guide/environments.md","lastUpdated":1687804210000}'),d={name:"firmware_guide/environments.md"},f=Object.assign(d,{setup(l){return(c,m)=>(i(),t("div",null,[r,s(e,{options:n(o).esp_board_env},null,8,["options"])]))}});export{u as __pageData,f as default}; diff --git a/assets/firmware_guide_firmware.md.2acb6454.js b/assets/firmware_guide_firmware.md.16809ca6.js similarity index 92% rename from assets/firmware_guide_firmware.md.2acb6454.js rename to assets/firmware_guide_firmware.md.16809ca6.js index 50d3ab7..0e9700e 100644 --- a/assets/firmware_guide_firmware.md.2acb6454.js +++ b/assets/firmware_guide_firmware.md.16809ca6.js @@ -1 +1 @@ -import{_ as e,o as a,c as t,V as o}from"./chunks/framework.7384f92b.js";const f=JSON.parse('{"title":"What is this?","description":"","frontmatter":{},"headers":[],"relativePath":"firmware_guide/firmware.md","filePath":"firmware_guide/firmware.md","lastUpdated":1676590091000}'),r={name:"firmware_guide/firmware.md"},s=o('

What is this?

Firmware is the second part of the equation to get your trackers going. It lives on the ESP32 chip, and is responsible for streaming video data from the tracker.

What should I download and where?

Current testing has been on our own solution called OpenIris, found here. To check the status of the project, please visit the Development Road Map

How do download this?

Follow the steps described here

',6),i=[s];function d(h,n,l,c,_,p){return a(),t("div",null,i)}const u=e(r,[["render",d]]);export{f as __pageData,u as default}; +import{_ as e,o as a,c as t,S as o}from"./chunks/framework.17985c0a.js";const f=JSON.parse('{"title":"What is this?","description":"","frontmatter":{},"headers":[],"relativePath":"firmware_guide/firmware.md","filePath":"firmware_guide/firmware.md","lastUpdated":1676590091000}'),r={name:"firmware_guide/firmware.md"},s=o('

What is this?

Firmware is the second part of the equation to get your trackers going. It lives on the ESP32 chip, and is responsible for streaming video data from the tracker.

What should I download and where?

Current testing has been on our own solution called OpenIris, found here. To check the status of the project, please visit the Development Road Map

How do download this?

Follow the steps described here

',6),i=[s];function d(h,n,l,c,_,p){return a(),t("div",null,i)}const u=e(r,[["render",d]]);export{f as __pageData,u as default}; diff --git a/assets/firmware_guide_firmware.md.2acb6454.lean.js b/assets/firmware_guide_firmware.md.16809ca6.lean.js similarity index 71% rename from assets/firmware_guide_firmware.md.2acb6454.lean.js rename to assets/firmware_guide_firmware.md.16809ca6.lean.js index 5802af3..c80c67e 100644 --- a/assets/firmware_guide_firmware.md.2acb6454.lean.js +++ b/assets/firmware_guide_firmware.md.16809ca6.lean.js @@ -1 +1 @@ -import{_ as e,o as a,c as t,V as o}from"./chunks/framework.7384f92b.js";const f=JSON.parse('{"title":"What is this?","description":"","frontmatter":{},"headers":[],"relativePath":"firmware_guide/firmware.md","filePath":"firmware_guide/firmware.md","lastUpdated":1676590091000}'),r={name:"firmware_guide/firmware.md"},s=o("",6),i=[s];function d(h,n,l,c,_,p){return a(),t("div",null,i)}const u=e(r,[["render",d]]);export{f as __pageData,u as default}; +import{_ as e,o as a,c as t,S as o}from"./chunks/framework.17985c0a.js";const f=JSON.parse('{"title":"What is this?","description":"","frontmatter":{},"headers":[],"relativePath":"firmware_guide/firmware.md","filePath":"firmware_guide/firmware.md","lastUpdated":1676590091000}'),r={name:"firmware_guide/firmware.md"},s=o("",6),i=[s];function d(h,n,l,c,_,p){return a(),t("div",null,i)}const u=e(r,[["render",d]]);export{f as __pageData,u as default}; diff --git a/assets/firmware_guide_mdns.md.6911a871.js b/assets/firmware_guide_mdns.md.88fe9005.js similarity index 97% rename from assets/firmware_guide_mdns.md.6911a871.js rename to assets/firmware_guide_mdns.md.88fe9005.js index 13fe0d2..6f61da7 100644 --- a/assets/firmware_guide_mdns.md.6911a871.js +++ b/assets/firmware_guide_mdns.md.88fe9005.js @@ -1 +1 @@ -import{_ as e,o as t,c as o,V as a}from"./chunks/framework.7384f92b.js";const m=JSON.parse('{"title":"MDNS","description":"","frontmatter":{},"headers":[],"relativePath":"firmware_guide/mdns.md","filePath":"firmware_guide/mdns.md","lastUpdated":1689147044000}'),n={name:"firmware_guide/mdns.md"},s=a('

MDNS

What is it?

mDNS is a protocol that allows you to connect to a device using a name instead of an IP address. This is useful if you do not know the IP address of the device, or if you do not want to keep track of the IP address of the device. This is also useful if you are using a device that does not have a static IP address.

In the mDNS protocol the IP address of the device can change, but the name of the device will always be the same. This means that you can connect to the device using the name of the device, even if the IP address of the device changes.

How to use it

Enable mDNS

The mDNS is enabled by default on the new firmware, and can not be disabled.

To use it, all you need to do is set the name of the device in the firmware config file.

This setting can be located under the [wifi] section of the ini/user_config.ini file.

ini
mdnsname = "openiristracker" # do not add .local

By default, the name of the device is openiristracker, however you can change it to whatever you want.

Change the name

Since you have two ESP32 devices, you need to make sure that the name of the device is different for each device. If you do not change the name of the device, you will not be able to connect to both devices at the same time.

Connect to the device

To connect to the device, you need to use the name of the device followed by .local. For example, if the name of the device is esp32, you can connect to the device using http://esp32.local.

Prerequisites Bonjour

Bonjour is required to use the mDNS protocol for windows and mac only. If you are using Windows, you can download Bonjour from here. If you are using macOS, Bonjour is already installed.

You can also get the fully tested Bonjour package from us here (for Windows only).

Troubleshooting

Can not connect to the device

If you can not connect to the device, make sure that the name of the device is correct. If the name of the device is correct, make sure that the device is connected to the network.

If the device is connected to the network, try to restart the device. If the device is still not connected, try to restart the router.

',21),i=[s];function c(r,d,h,l,u,p){return t(),o("div",null,i)}const v=e(n,[["render",c]]);export{m as __pageData,v as default}; +import{_ as e,o as t,c as o,S as a}from"./chunks/framework.17985c0a.js";const m=JSON.parse('{"title":"MDNS","description":"","frontmatter":{},"headers":[],"relativePath":"firmware_guide/mdns.md","filePath":"firmware_guide/mdns.md","lastUpdated":1689147044000}'),n={name:"firmware_guide/mdns.md"},s=a('

MDNS

What is it?

mDNS is a protocol that allows you to connect to a device using a name instead of an IP address. This is useful if you do not know the IP address of the device, or if you do not want to keep track of the IP address of the device. This is also useful if you are using a device that does not have a static IP address.

In the mDNS protocol the IP address of the device can change, but the name of the device will always be the same. This means that you can connect to the device using the name of the device, even if the IP address of the device changes.

How to use it

Enable mDNS

The mDNS is enabled by default on the new firmware, and can not be disabled.

To use it, all you need to do is set the name of the device in the firmware config file.

This setting can be located under the [wifi] section of the ini/user_config.ini file.

ini
mdnsname = "openiristracker" # do not add .local

By default, the name of the device is openiristracker, however you can change it to whatever you want.

Change the name

Since you have two ESP32 devices, you need to make sure that the name of the device is different for each device. If you do not change the name of the device, you will not be able to connect to both devices at the same time.

Connect to the device

To connect to the device, you need to use the name of the device followed by .local. For example, if the name of the device is esp32, you can connect to the device using http://esp32.local.

Prerequisites Bonjour

Bonjour is required to use the mDNS protocol for windows and mac only. If you are using Windows, you can download Bonjour from here. If you are using macOS, Bonjour is already installed.

You can also get the fully tested Bonjour package from us here (for Windows only).

Troubleshooting

Can not connect to the device

If you can not connect to the device, make sure that the name of the device is correct. If the name of the device is correct, make sure that the device is connected to the network.

If the device is connected to the network, try to restart the device. If the device is still not connected, try to restart the router.

',21),i=[s];function c(r,d,h,l,u,p){return t(),o("div",null,i)}const v=e(n,[["render",c]]);export{m as __pageData,v as default}; diff --git a/assets/firmware_guide_mdns.md.6911a871.lean.js b/assets/firmware_guide_mdns.md.88fe9005.lean.js similarity index 70% rename from assets/firmware_guide_mdns.md.6911a871.lean.js rename to assets/firmware_guide_mdns.md.88fe9005.lean.js index 932e732..08623f1 100644 --- a/assets/firmware_guide_mdns.md.6911a871.lean.js +++ b/assets/firmware_guide_mdns.md.88fe9005.lean.js @@ -1 +1 @@ -import{_ as e,o as t,c as o,V as a}from"./chunks/framework.7384f92b.js";const m=JSON.parse('{"title":"MDNS","description":"","frontmatter":{},"headers":[],"relativePath":"firmware_guide/mdns.md","filePath":"firmware_guide/mdns.md","lastUpdated":1689147044000}'),n={name:"firmware_guide/mdns.md"},s=a("",21),i=[s];function c(r,d,h,l,u,p){return t(),o("div",null,i)}const v=e(n,[["render",c]]);export{m as __pageData,v as default}; +import{_ as e,o as t,c as o,S as a}from"./chunks/framework.17985c0a.js";const m=JSON.parse('{"title":"MDNS","description":"","frontmatter":{},"headers":[],"relativePath":"firmware_guide/mdns.md","filePath":"firmware_guide/mdns.md","lastUpdated":1689147044000}'),n={name:"firmware_guide/mdns.md"},s=a("",21),i=[s];function c(r,d,h,l,u,p){return t(),o("div",null,i)}const v=e(n,[["render",c]]);export{m as __pageData,v as default}; diff --git a/assets/firmware_guide_rest_api.md.ab0c274d.js b/assets/firmware_guide_rest_api.md.f771b252.js similarity index 99% rename from assets/firmware_guide_rest_api.md.ab0c274d.js rename to assets/firmware_guide_rest_api.md.f771b252.js index 02ddd16..ef53001 100644 --- a/assets/firmware_guide_rest_api.md.ab0c274d.js +++ b/assets/firmware_guide_rest_api.md.f771b252.js @@ -1,4 +1,4 @@ -import{_ as s,o as e,c as t,V as a}from"./chunks/framework.7384f92b.js";const h=JSON.parse('{"title":"REST API","description":"","frontmatter":{},"headers":[],"relativePath":"firmware_guide/rest_api.md","filePath":"firmware_guide/rest_api.md","lastUpdated":1676223729000}'),n={name:"firmware_guide/rest_api.md"},l=a(`

REST API

What is it?

A REST API is a way to communicate with the ESP devices using HTTP requests. This is useful if you want to control the device from a computer or a mobile device.

We developed a REST API for this project so that we can control the devices more easily from our new app.

How to use it

REST API Client

Any REST API client can be used to communicate with the ESP devices. We recommend using Thunder Client to test the REST API, as it's free and is a vscode extension.

For basic GET requests, you can use your browser of choice.

Standard

The REST API follows the following standard:

txt
http://{device_name}.local:81/control/builtin/command/{endpoint}?{param}={value}&{param}={value}

For example, if the name of the device is esp32, you can connect to the device using http://esp32.local:81/control/builtin/command/<endpoint>.

Endpoints

Note

Any endpoint marked with ** is currently not implemented, and will be implemented in the future.

If you would like to help us implement these endpoints, please contact us.

We are also open to suggestions for new endpoints.

Note: Any endpoint that makes changes to the config will require a call to /save to write the changes to the flash. This is to prevent the flash from being written to too often, which can cause the flash to wear out. The device will write the changes to the flash and then restart itself after a call to /save.

The REST API has the following endpoints:

EndpointMethodDescription
/pingGETReturns the status of the device.
/saveGETWrites any changes to the flash.
/restartDeviceGETRestarts the ESP itself.
/restartCameraGETRestarts the camera.
/resetConfigGETClears the current config in memory and RAM
/getStoredConfigGETReturns a JSON object of the devices current config.
/setTxPowerPOSTSets the Transmission Power of the ESPs
/setDevicePOSTSets the OTA and mDNS settings
/setCameraPOSTSets all of the camera settings
/wifiPOSTAdds a new wifi network, or writes over an existing one
/wifiDELETEDeletes a wifi network **

Note

/wifi uses the POST method to add a new wifi network, and the DELETE method to delete a wifi network.

Params

The REST API has the following params:

Feature not a bug

All params for a given URL are required, even if you are not changing that params value.

If you do not supply a param, that param will be set to default settings.

URL params are passed in the URL as a query string, using the following format:

http://<device_name>.local:81/control/builtin/command/<endpoint>?<param>=<value>&<param>=<value>

/wifi

Note

We allow you to store up to 3 wifi networks in memory. If you try to add more than 3, the oldest network will be overwritten.

ParamDescription
ssidThe ssid of the network.
passwordThe password of the network.
networkNameThe unique name (given by you) to refer to that network in memory.
channelThe channel for the wifi network to broadcast on
only 1 - 14 are allowed.
powerThe Transmittion power of the ESP for that network config.
adhocWhether to enable AP mode or not.

Note - Transmission Power

You must follow the following format for the power param:

Using the following enum, you pass the number to the right of the = sign that corresponds with the power in dBm that you wish to use.

cpp
typedef enum {
+import{_ as s,o as e,c as t,S as a}from"./chunks/framework.17985c0a.js";const h=JSON.parse('{"title":"REST API","description":"","frontmatter":{},"headers":[],"relativePath":"firmware_guide/rest_api.md","filePath":"firmware_guide/rest_api.md","lastUpdated":1676223729000}'),n={name:"firmware_guide/rest_api.md"},l=a(`

REST API

What is it?

A REST API is a way to communicate with the ESP devices using HTTP requests. This is useful if you want to control the device from a computer or a mobile device.

We developed a REST API for this project so that we can control the devices more easily from our new app.

How to use it

REST API Client

Any REST API client can be used to communicate with the ESP devices. We recommend using Thunder Client to test the REST API, as it's free and is a vscode extension.

For basic GET requests, you can use your browser of choice.

Standard

The REST API follows the following standard:

txt
http://{device_name}.local:81/control/builtin/command/{endpoint}?{param}={value}&{param}={value}

For example, if the name of the device is esp32, you can connect to the device using http://esp32.local:81/control/builtin/command/<endpoint>.

Endpoints

Note

Any endpoint marked with ** is currently not implemented, and will be implemented in the future.

If you would like to help us implement these endpoints, please contact us.

We are also open to suggestions for new endpoints.

Note: Any endpoint that makes changes to the config will require a call to /save to write the changes to the flash. This is to prevent the flash from being written to too often, which can cause the flash to wear out. The device will write the changes to the flash and then restart itself after a call to /save.

The REST API has the following endpoints:

EndpointMethodDescription
/pingGETReturns the status of the device.
/saveGETWrites any changes to the flash.
/restartDeviceGETRestarts the ESP itself.
/restartCameraGETRestarts the camera.
/resetConfigGETClears the current config in memory and RAM
/getStoredConfigGETReturns a JSON object of the devices current config.
/setTxPowerPOSTSets the Transmission Power of the ESPs
/setDevicePOSTSets the OTA and mDNS settings
/setCameraPOSTSets all of the camera settings
/wifiPOSTAdds a new wifi network, or writes over an existing one
/wifiDELETEDeletes a wifi network **

Note

/wifi uses the POST method to add a new wifi network, and the DELETE method to delete a wifi network.

Params

The REST API has the following params:

Feature not a bug

All params for a given URL are required, even if you are not changing that params value.

If you do not supply a param, that param will be set to default settings.

URL params are passed in the URL as a query string, using the following format:

http://<device_name>.local:81/control/builtin/command/<endpoint>?<param>=<value>&<param>=<value>

/wifi

Note

We allow you to store up to 3 wifi networks in memory. If you try to add more than 3, the oldest network will be overwritten.

ParamDescription
ssidThe ssid of the network.
passwordThe password of the network.
networkNameThe unique name (given by you) to refer to that network in memory.
channelThe channel for the wifi network to broadcast on
only 1 - 14 are allowed.
powerThe Transmittion power of the ESP for that network config.
adhocWhether to enable AP mode or not.

Note - Transmission Power

You must follow the following format for the power param:

Using the following enum, you pass the number to the right of the = sign that corresponds with the power in dBm that you wish to use.

cpp
typedef enum {
     WIFI_POWER_19_5dBm = 78,// 19.5dBm
     WIFI_POWER_19dBm = 76,// 19dBm
     WIFI_POWER_18_5dBm = 74,// 18.5dBm
diff --git a/assets/firmware_guide_rest_api.md.ab0c274d.lean.js b/assets/firmware_guide_rest_api.md.f771b252.lean.js
similarity index 71%
rename from assets/firmware_guide_rest_api.md.ab0c274d.lean.js
rename to assets/firmware_guide_rest_api.md.f771b252.lean.js
index 323cbf1..5b12124 100644
--- a/assets/firmware_guide_rest_api.md.ab0c274d.lean.js
+++ b/assets/firmware_guide_rest_api.md.f771b252.lean.js
@@ -1 +1 @@
-import{_ as s,o as e,c as t,V as a}from"./chunks/framework.7384f92b.js";const h=JSON.parse('{"title":"REST API","description":"","frontmatter":{},"headers":[],"relativePath":"firmware_guide/rest_api.md","filePath":"firmware_guide/rest_api.md","lastUpdated":1676223729000}'),n={name:"firmware_guide/rest_api.md"},l=a("",33),o=[l];function p(r,c,i,d,y,F){return e(),t("div",null,o)}const u=s(n,[["render",p]]);export{h as __pageData,u as default};
+import{_ as s,o as e,c as t,S as a}from"./chunks/framework.17985c0a.js";const h=JSON.parse('{"title":"REST API","description":"","frontmatter":{},"headers":[],"relativePath":"firmware_guide/rest_api.md","filePath":"firmware_guide/rest_api.md","lastUpdated":1676223729000}'),n={name:"firmware_guide/rest_api.md"},l=a("",33),o=[l];function p(r,c,i,d,y,F){return e(),t("div",null,o)}const u=s(n,[["render",p]]);export{h as __pageData,u as default};
diff --git a/assets/firmware_guide_setup_vscode.md.5916e117.js b/assets/firmware_guide_setup_vscode.md.1e2f05f2.js
similarity index 93%
rename from assets/firmware_guide_setup_vscode.md.5916e117.js
rename to assets/firmware_guide_setup_vscode.md.1e2f05f2.js
index 8687868..c90fbbd 100644
--- a/assets/firmware_guide_setup_vscode.md.5916e117.js
+++ b/assets/firmware_guide_setup_vscode.md.1e2f05f2.js
@@ -1 +1 @@
-import{_ as o,i as a}from"./chunks/index.9f7265df.js";import{o as i,c as s,G as n,b as r,V as l,z as e,a as t}from"./chunks/framework.7384f92b.js";const d=l('

Setting up the environment

This procedure will show how to prepare your system for uploading the firmware to your tracker.

1. Install Visual Studio Code

Download the latest Visual Studio Code and install it.

Download


',6),h=e("h3",{id:"install",tabindex:"-1"},[t("Install "),e("a",{class:"header-anchor",href:"#install","aria-label":'Permalink to "Install"'},"​")],-1),c=e("br",null,null,-1),_=l('

2. Install the drivers

In order to flash the firmware, you'll need some drivers, mainly the CH340 drivers, here's where to get them from:

https://learn.sparkfun.com/tutorials/how-to-install-ch340-drivers/all

3. Install PlatformIO IDE

Once Visual Studio Code is installed, open it and install PlatformIO IDE for VSCode, an extension that will allow you to connect to the tracker, build and upload the firmware.

',5),p=l('

4. Clone the firmware project

Make sure you close any current projects you have open or open a new window before moving forward with these steps.

  1. Go to https://github.com/EyeTrackVR/OpenIris and clone the latest version from the main branch.
    1. If you do not have git installed please install it from here.

    2. Open Git Bash.

',3),u=e("ol",null,[e("li",null,[t("Change the directory to the directory that you want the firmware to be cloned. Ex: "),e("code",null,"cd C:/")])],-1),m=e("ol",null,[e("li",null,[t("Clone the repository by entering the command: "),e("code",null,"git clone https://github.com/EyeTrackVR/OpenIris.git")])],-1),f=e("p",null,[t("For more info about cloning please refer to "),e("a",{href:"https://docs.github.com/en/repositories/creating-and-managing-repositories/cloning-a-repository",target:"_blank",rel:"noreferrer"},"this documentation")],-1),g=e("p",null,[e("em",null,[e("strong",null,"Do not download as a zip")]),t(" - please only properly clone the project, take note of the path you run the clone command in, this is where the files will be downloaded. When we open it in PlatformIO later, this path will be needed.")],-1),w=e("ol",null,[e("li",null,[t("Open the firmware in VSCode by going to PlatformIO, selecting open, then navigating to "),e("code",null,"OpenIris/ESP"),t(" folder and opening it.")])],-1),v=e("p",null,[e("em",null,[t("This is an adaptation from SlimeVR. Some Credit goes to the SlimeVR team "),e("a",{href:"https://docs.slimevr.dev/firmware/setup-and-install.html",target:"_blank",rel:"noreferrer"},"adapted from here")])],-1),V=JSON.parse('{"title":"Setting up the environment","description":"","frontmatter":{},"headers":[],"relativePath":"firmware_guide/setup_vscode.md","filePath":"firmware_guide/setup_vscode.md","lastUpdated":1689532703000}'),b={name:"firmware_guide/setup_vscode.md"},P=Object.assign(b,{setup(I){return(k,S)=>(i(),s("div",null,[d,n(o,{options:r(a).setup_vscode_image_one},null,8,["options"]),h,c,n(o,{options:r(a).setup_vscode_image_two},null,8,["options"]),_,n(o,{options:r(a).setup_vscode_image_three},null,8,["options"]),p,n(o,{options:r(a).setup_vscode_image_four},null,8,["options"]),u,n(o,{options:r(a).setup_vscode_image_five},null,8,["options"]),m,n(o,{options:r(a).setup_vscode_image_six},null,8,["options"]),f,g,w,n(o,{options:r(a).setup_vscode_image_seven},null,8,["options"]),v]))}});export{V as __pageData,P as default}; +import{_ as o,i as a}from"./chunks/index.d657d51d.js";import{o as i,c as s,C as n,b as r,S as l,v as e,a as t}from"./chunks/framework.17985c0a.js";const d=l('

Setting up the environment

This procedure will show how to prepare your system for uploading the firmware to your tracker.

1. Install Visual Studio Code

Download the latest Visual Studio Code and install it.

Download


',6),h=e("h3",{id:"install",tabindex:"-1"},[t("Install "),e("a",{class:"header-anchor",href:"#install","aria-label":'Permalink to "Install"'},"​")],-1),c=e("br",null,null,-1),_=l('

2. Install the drivers

In order to flash the firmware, you'll need some drivers, mainly the CH340 drivers, here's where to get them from:

https://learn.sparkfun.com/tutorials/how-to-install-ch340-drivers/all

3. Install PlatformIO IDE

Once Visual Studio Code is installed, open it and install PlatformIO IDE for VSCode, an extension that will allow you to connect to the tracker, build and upload the firmware.

',5),p=l('

4. Clone the firmware project

Make sure you close any current projects you have open or open a new window before moving forward with these steps.

  1. Go to https://github.com/EyeTrackVR/OpenIris and clone the latest version from the main branch.
    1. If you do not have git installed please install it from here.

    2. Open Git Bash.

',3),u=e("ol",null,[e("li",null,[t("Change the directory to the directory that you want the firmware to be cloned. Ex: "),e("code",null,"cd C:/")])],-1),m=e("ol",null,[e("li",null,[t("Clone the repository by entering the command: "),e("code",null,"git clone https://github.com/EyeTrackVR/OpenIris.git")])],-1),f=e("p",null,[t("For more info about cloning please refer to "),e("a",{href:"https://docs.github.com/en/repositories/creating-and-managing-repositories/cloning-a-repository",target:"_blank",rel:"noreferrer"},"this documentation")],-1),g=e("p",null,[e("em",null,[e("strong",null,"Do not download as a zip")]),t(" - please only properly clone the project, take note of the path you run the clone command in, this is where the files will be downloaded. When we open it in PlatformIO later, this path will be needed.")],-1),w=e("ol",null,[e("li",null,[t("Open the firmware in VSCode by going to PlatformIO, selecting open, then navigating to "),e("code",null,"OpenIris/ESP"),t(" folder and opening it.")])],-1),v=e("p",null,[e("em",null,[t("This is an adaptation from SlimeVR. Some Credit goes to the SlimeVR team "),e("a",{href:"https://docs.slimevr.dev/firmware/setup-and-install.html",target:"_blank",rel:"noreferrer"},"adapted from here")])],-1),P=JSON.parse('{"title":"Setting up the environment","description":"","frontmatter":{},"headers":[],"relativePath":"firmware_guide/setup_vscode.md","filePath":"firmware_guide/setup_vscode.md","lastUpdated":1689532703000}'),b={name:"firmware_guide/setup_vscode.md"},V=Object.assign(b,{setup(I){return(k,S)=>(i(),s("div",null,[d,n(o,{options:r(a).setup_vscode_image_one},null,8,["options"]),h,c,n(o,{options:r(a).setup_vscode_image_two},null,8,["options"]),_,n(o,{options:r(a).setup_vscode_image_three},null,8,["options"]),p,n(o,{options:r(a).setup_vscode_image_four},null,8,["options"]),u,n(o,{options:r(a).setup_vscode_image_five},null,8,["options"]),m,n(o,{options:r(a).setup_vscode_image_six},null,8,["options"]),f,g,w,n(o,{options:r(a).setup_vscode_image_seven},null,8,["options"]),v]))}});export{P as __pageData,V as default}; diff --git a/assets/firmware_guide_setup_vscode.md.5916e117.lean.js b/assets/firmware_guide_setup_vscode.md.1e2f05f2.lean.js similarity index 84% rename from assets/firmware_guide_setup_vscode.md.5916e117.lean.js rename to assets/firmware_guide_setup_vscode.md.1e2f05f2.lean.js index 0c27c88..6813779 100644 --- a/assets/firmware_guide_setup_vscode.md.5916e117.lean.js +++ b/assets/firmware_guide_setup_vscode.md.1e2f05f2.lean.js @@ -1 +1 @@ -import{_ as o,i as a}from"./chunks/index.9f7265df.js";import{o as i,c as s,G as n,b as r,V as l,z as e,a as t}from"./chunks/framework.7384f92b.js";const d=l("",6),h=e("h3",{id:"install",tabindex:"-1"},[t("Install "),e("a",{class:"header-anchor",href:"#install","aria-label":'Permalink to "Install"'},"​")],-1),c=e("br",null,null,-1),_=l("",5),p=l("",3),u=e("ol",null,[e("li",null,[t("Change the directory to the directory that you want the firmware to be cloned. Ex: "),e("code",null,"cd C:/")])],-1),m=e("ol",null,[e("li",null,[t("Clone the repository by entering the command: "),e("code",null,"git clone https://github.com/EyeTrackVR/OpenIris.git")])],-1),f=e("p",null,[t("For more info about cloning please refer to "),e("a",{href:"https://docs.github.com/en/repositories/creating-and-managing-repositories/cloning-a-repository",target:"_blank",rel:"noreferrer"},"this documentation")],-1),g=e("p",null,[e("em",null,[e("strong",null,"Do not download as a zip")]),t(" - please only properly clone the project, take note of the path you run the clone command in, this is where the files will be downloaded. When we open it in PlatformIO later, this path will be needed.")],-1),w=e("ol",null,[e("li",null,[t("Open the firmware in VSCode by going to PlatformIO, selecting open, then navigating to "),e("code",null,"OpenIris/ESP"),t(" folder and opening it.")])],-1),v=e("p",null,[e("em",null,[t("This is an adaptation from SlimeVR. Some Credit goes to the SlimeVR team "),e("a",{href:"https://docs.slimevr.dev/firmware/setup-and-install.html",target:"_blank",rel:"noreferrer"},"adapted from here")])],-1),V=JSON.parse('{"title":"Setting up the environment","description":"","frontmatter":{},"headers":[],"relativePath":"firmware_guide/setup_vscode.md","filePath":"firmware_guide/setup_vscode.md","lastUpdated":1689532703000}'),b={name:"firmware_guide/setup_vscode.md"},P=Object.assign(b,{setup(I){return(k,S)=>(i(),s("div",null,[d,n(o,{options:r(a).setup_vscode_image_one},null,8,["options"]),h,c,n(o,{options:r(a).setup_vscode_image_two},null,8,["options"]),_,n(o,{options:r(a).setup_vscode_image_three},null,8,["options"]),p,n(o,{options:r(a).setup_vscode_image_four},null,8,["options"]),u,n(o,{options:r(a).setup_vscode_image_five},null,8,["options"]),m,n(o,{options:r(a).setup_vscode_image_six},null,8,["options"]),f,g,w,n(o,{options:r(a).setup_vscode_image_seven},null,8,["options"]),v]))}});export{V as __pageData,P as default}; +import{_ as o,i as a}from"./chunks/index.d657d51d.js";import{o as i,c as s,C as n,b as r,S as l,v as e,a as t}from"./chunks/framework.17985c0a.js";const d=l("",6),h=e("h3",{id:"install",tabindex:"-1"},[t("Install "),e("a",{class:"header-anchor",href:"#install","aria-label":'Permalink to "Install"'},"​")],-1),c=e("br",null,null,-1),_=l("",5),p=l("",3),u=e("ol",null,[e("li",null,[t("Change the directory to the directory that you want the firmware to be cloned. Ex: "),e("code",null,"cd C:/")])],-1),m=e("ol",null,[e("li",null,[t("Clone the repository by entering the command: "),e("code",null,"git clone https://github.com/EyeTrackVR/OpenIris.git")])],-1),f=e("p",null,[t("For more info about cloning please refer to "),e("a",{href:"https://docs.github.com/en/repositories/creating-and-managing-repositories/cloning-a-repository",target:"_blank",rel:"noreferrer"},"this documentation")],-1),g=e("p",null,[e("em",null,[e("strong",null,"Do not download as a zip")]),t(" - please only properly clone the project, take note of the path you run the clone command in, this is where the files will be downloaded. When we open it in PlatformIO later, this path will be needed.")],-1),w=e("ol",null,[e("li",null,[t("Open the firmware in VSCode by going to PlatformIO, selecting open, then navigating to "),e("code",null,"OpenIris/ESP"),t(" folder and opening it.")])],-1),v=e("p",null,[e("em",null,[t("This is an adaptation from SlimeVR. Some Credit goes to the SlimeVR team "),e("a",{href:"https://docs.slimevr.dev/firmware/setup-and-install.html",target:"_blank",rel:"noreferrer"},"adapted from here")])],-1),P=JSON.parse('{"title":"Setting up the environment","description":"","frontmatter":{},"headers":[],"relativePath":"firmware_guide/setup_vscode.md","filePath":"firmware_guide/setup_vscode.md","lastUpdated":1689532703000}'),b={name:"firmware_guide/setup_vscode.md"},V=Object.assign(b,{setup(I){return(k,S)=>(i(),s("div",null,[d,n(o,{options:r(a).setup_vscode_image_one},null,8,["options"]),h,c,n(o,{options:r(a).setup_vscode_image_two},null,8,["options"]),_,n(o,{options:r(a).setup_vscode_image_three},null,8,["options"]),p,n(o,{options:r(a).setup_vscode_image_four},null,8,["options"]),u,n(o,{options:r(a).setup_vscode_image_five},null,8,["options"]),m,n(o,{options:r(a).setup_vscode_image_six},null,8,["options"]),f,g,w,n(o,{options:r(a).setup_vscode_image_seven},null,8,["options"]),v]))}});export{P as __pageData,V as default}; diff --git a/assets/firmware_guide_update_platformio.md.9f4a42e7.js b/assets/firmware_guide_update_platformio.md.bd8c1a40.js similarity index 93% rename from assets/firmware_guide_update_platformio.md.9f4a42e7.js rename to assets/firmware_guide_update_platformio.md.bd8c1a40.js index a25735d..fb6cf6f 100644 --- a/assets/firmware_guide_update_platformio.md.9f4a42e7.js +++ b/assets/firmware_guide_update_platformio.md.bd8c1a40.js @@ -1 +1 @@ -import{_ as a,i as e}from"./chunks/index.9f7265df.js";import{o as s,c as r,G as i,b as l,V as n,z as o,a as t}from"./chunks/framework.7384f92b.js";const d=n('

Updating Platformio

Sometimes, when building and uploading the firmware, you may run into bizarre, even-though the code is correct - platformio will refuse to build and instead will complain with some weird error.

It usually means that either PlatformIO, or ArduinoSDK got and update and that's the moment when this guide may come in handy.

Updating PlatformIO itself

There are two ways to update your platformio installation

Via CLI

You can update it easily by simply typing in one command into your terminal.

',7),c=n('
  1. Open a terminal / command prompt
  2. Type pio upgrade and press enter
  3. Wait for it to finish
  4. Done

Via PlatformIO in Visual Studio Code

You can also update it using the platformio tab in your Visual Studio Code.

  1. Open VSC
  2. Click on that little and icon on the sidebar
',4),p=o("ol",{start:"3"},[o("li",null,[t("A side panel will open, there will be a couple of sections, one of them called "),o("code",null,"Quick Access"),t(", open it.")])],-1),u=o("ol",{start:"4"},[o("li",null,[t("In "),o("code",null,"Quick Access"),t(" section, click on the "),o("code",null,"Miscelleneous"),t(" tab")])],-1),_=o("ol",{start:"5"},[o("li",null,[t("Then, click on the "),o("code",null,"Upgrade PlatformIO Core")])],-1),h=n('
  1. Wait for it to finnish and done!

Upgrading the SDK

You'll also need to upgrade the SDK from timem to do this

Upgrading the SDK via VSC

  1. Follow the guide above up until clicking on the Quick Access section.
  2. Instead, open the PIO Home and select Open
',5),m=o("ol",{start:"3"},[o("li",null,[t("This will open a window for PlatformIO dashboard, in there, click on a "),o("code",null,"Platforms"),t(" button on the sidebar")])],-1),f=o("ol",{start:"4"},[o("li",null,[t("Once there, you should see a couple of tabs next to the side bard, things like "),o("code",null,"Installed"),t(" or "),o("code",null,"Embedded"),t(". Click on "),o("code",null,"Updates")])],-1),g=o("ol",{start:"5"},[o("li",null,[t("Locate a platform called "),o("code",null,"Espressif 32"),t(" and click on "),o("code",null,"Update to ")])],-1),b=o("ol",{start:"6"},[o("li",null,"Wait until it is done and that's it!")],-1),v=JSON.parse('{"title":"Updating Platformio","description":"","frontmatter":{},"headers":[],"relativePath":"firmware_guide/update_platformio.md","filePath":"firmware_guide/update_platformio.md","lastUpdated":1678402493000}'),k={name:"firmware_guide/update_platformio.md"},w=Object.assign(k,{setup(P){return(S,T)=>(s(),r("div",null,[d,i(a,{options:l(e).pio_upgrade_command},null,8,["options"]),c,i(a,{options:l(e).ant_logo_platformio},null,8,["options"]),p,i(a,{options:l(e).platformio_quick_access},null,8,["options"]),u,i(a,{options:l(e).platformio_quick_access_miscellaneous},null,8,["options"]),_,i(a,{options:l(e).platformio_quick_access_upgrade_core},null,8,["options"]),h,i(a,{options:l(e).platformio_pio_home},null,8,["options"]),m,i(a,{options:l(e).platformio_pio_sidebar_platforms},null,8,["options"]),f,i(a,{options:l(e).platformio_pio_sidebar_platforms_updates},null,8,["options"]),g,i(a,{options:l(e).platformio_pio_espressif32},null,8,["options"]),b]))}});export{v as __pageData,w as default}; +import{_ as a,i as e}from"./chunks/index.d657d51d.js";import{o as s,c as r,C as i,b as l,S as n,v as o,a as t}from"./chunks/framework.17985c0a.js";const d=n('

Updating Platformio

Sometimes, when building and uploading the firmware, you may run into bizarre, even-though the code is correct - platformio will refuse to build and instead will complain with some weird error.

It usually means that either PlatformIO, or ArduinoSDK got and update and that's the moment when this guide may come in handy.

Updating PlatformIO itself

There are two ways to update your platformio installation

Via CLI

You can update it easily by simply typing in one command into your terminal.

',7),c=n('
  1. Open a terminal / command prompt
  2. Type pio upgrade and press enter
  3. Wait for it to finish
  4. Done

Via PlatformIO in Visual Studio Code

You can also update it using the platformio tab in your Visual Studio Code.

  1. Open VSC
  2. Click on that little and icon on the sidebar
',4),p=o("ol",{start:"3"},[o("li",null,[t("A side panel will open, there will be a couple of sections, one of them called "),o("code",null,"Quick Access"),t(", open it.")])],-1),u=o("ol",{start:"4"},[o("li",null,[t("In "),o("code",null,"Quick Access"),t(" section, click on the "),o("code",null,"Miscelleneous"),t(" tab")])],-1),_=o("ol",{start:"5"},[o("li",null,[t("Then, click on the "),o("code",null,"Upgrade PlatformIO Core")])],-1),h=n('
  1. Wait for it to finnish and done!

Upgrading the SDK

You'll also need to upgrade the SDK from timem to do this

Upgrading the SDK via VSC

  1. Follow the guide above up until clicking on the Quick Access section.
  2. Instead, open the PIO Home and select Open
',5),m=o("ol",{start:"3"},[o("li",null,[t("This will open a window for PlatformIO dashboard, in there, click on a "),o("code",null,"Platforms"),t(" button on the sidebar")])],-1),f=o("ol",{start:"4"},[o("li",null,[t("Once there, you should see a couple of tabs next to the side bard, things like "),o("code",null,"Installed"),t(" or "),o("code",null,"Embedded"),t(". Click on "),o("code",null,"Updates")])],-1),g=o("ol",{start:"5"},[o("li",null,[t("Locate a platform called "),o("code",null,"Espressif 32"),t(" and click on "),o("code",null,"Update to ")])],-1),b=o("ol",{start:"6"},[o("li",null,"Wait until it is done and that's it!")],-1),V=JSON.parse('{"title":"Updating Platformio","description":"","frontmatter":{},"headers":[],"relativePath":"firmware_guide/update_platformio.md","filePath":"firmware_guide/update_platformio.md","lastUpdated":1678402493000}'),k={name:"firmware_guide/update_platformio.md"},w=Object.assign(k,{setup(P){return(S,T)=>(s(),r("div",null,[d,i(a,{options:l(e).pio_upgrade_command},null,8,["options"]),c,i(a,{options:l(e).ant_logo_platformio},null,8,["options"]),p,i(a,{options:l(e).platformio_quick_access},null,8,["options"]),u,i(a,{options:l(e).platformio_quick_access_miscellaneous},null,8,["options"]),_,i(a,{options:l(e).platformio_quick_access_upgrade_core},null,8,["options"]),h,i(a,{options:l(e).platformio_pio_home},null,8,["options"]),m,i(a,{options:l(e).platformio_pio_sidebar_platforms},null,8,["options"]),f,i(a,{options:l(e).platformio_pio_sidebar_platforms_updates},null,8,["options"]),g,i(a,{options:l(e).platformio_pio_espressif32},null,8,["options"]),b]))}});export{V as __pageData,w as default}; diff --git a/assets/firmware_guide_update_platformio.md.9f4a42e7.lean.js b/assets/firmware_guide_update_platformio.md.bd8c1a40.lean.js similarity index 85% rename from assets/firmware_guide_update_platformio.md.9f4a42e7.lean.js rename to assets/firmware_guide_update_platformio.md.bd8c1a40.lean.js index 62bf4b3..be66928 100644 --- a/assets/firmware_guide_update_platformio.md.9f4a42e7.lean.js +++ b/assets/firmware_guide_update_platformio.md.bd8c1a40.lean.js @@ -1 +1 @@ -import{_ as a,i as e}from"./chunks/index.9f7265df.js";import{o as s,c as r,G as i,b as l,V as n,z as o,a as t}from"./chunks/framework.7384f92b.js";const d=n("",7),c=n("",4),p=o("ol",{start:"3"},[o("li",null,[t("A side panel will open, there will be a couple of sections, one of them called "),o("code",null,"Quick Access"),t(", open it.")])],-1),u=o("ol",{start:"4"},[o("li",null,[t("In "),o("code",null,"Quick Access"),t(" section, click on the "),o("code",null,"Miscelleneous"),t(" tab")])],-1),_=o("ol",{start:"5"},[o("li",null,[t("Then, click on the "),o("code",null,"Upgrade PlatformIO Core")])],-1),h=n("",5),m=o("ol",{start:"3"},[o("li",null,[t("This will open a window for PlatformIO dashboard, in there, click on a "),o("code",null,"Platforms"),t(" button on the sidebar")])],-1),f=o("ol",{start:"4"},[o("li",null,[t("Once there, you should see a couple of tabs next to the side bard, things like "),o("code",null,"Installed"),t(" or "),o("code",null,"Embedded"),t(". Click on "),o("code",null,"Updates")])],-1),g=o("ol",{start:"5"},[o("li",null,[t("Locate a platform called "),o("code",null,"Espressif 32"),t(" and click on "),o("code",null,"Update to ")])],-1),b=o("ol",{start:"6"},[o("li",null,"Wait until it is done and that's it!")],-1),v=JSON.parse('{"title":"Updating Platformio","description":"","frontmatter":{},"headers":[],"relativePath":"firmware_guide/update_platformio.md","filePath":"firmware_guide/update_platformio.md","lastUpdated":1678402493000}'),k={name:"firmware_guide/update_platformio.md"},w=Object.assign(k,{setup(P){return(S,T)=>(s(),r("div",null,[d,i(a,{options:l(e).pio_upgrade_command},null,8,["options"]),c,i(a,{options:l(e).ant_logo_platformio},null,8,["options"]),p,i(a,{options:l(e).platformio_quick_access},null,8,["options"]),u,i(a,{options:l(e).platformio_quick_access_miscellaneous},null,8,["options"]),_,i(a,{options:l(e).platformio_quick_access_upgrade_core},null,8,["options"]),h,i(a,{options:l(e).platformio_pio_home},null,8,["options"]),m,i(a,{options:l(e).platformio_pio_sidebar_platforms},null,8,["options"]),f,i(a,{options:l(e).platformio_pio_sidebar_platforms_updates},null,8,["options"]),g,i(a,{options:l(e).platformio_pio_espressif32},null,8,["options"]),b]))}});export{v as __pageData,w as default}; +import{_ as a,i as e}from"./chunks/index.d657d51d.js";import{o as s,c as r,C as i,b as l,S as n,v as o,a as t}from"./chunks/framework.17985c0a.js";const d=n("",7),c=n("",4),p=o("ol",{start:"3"},[o("li",null,[t("A side panel will open, there will be a couple of sections, one of them called "),o("code",null,"Quick Access"),t(", open it.")])],-1),u=o("ol",{start:"4"},[o("li",null,[t("In "),o("code",null,"Quick Access"),t(" section, click on the "),o("code",null,"Miscelleneous"),t(" tab")])],-1),_=o("ol",{start:"5"},[o("li",null,[t("Then, click on the "),o("code",null,"Upgrade PlatformIO Core")])],-1),h=n("",5),m=o("ol",{start:"3"},[o("li",null,[t("This will open a window for PlatformIO dashboard, in there, click on a "),o("code",null,"Platforms"),t(" button on the sidebar")])],-1),f=o("ol",{start:"4"},[o("li",null,[t("Once there, you should see a couple of tabs next to the side bard, things like "),o("code",null,"Installed"),t(" or "),o("code",null,"Embedded"),t(". Click on "),o("code",null,"Updates")])],-1),g=o("ol",{start:"5"},[o("li",null,[t("Locate a platform called "),o("code",null,"Espressif 32"),t(" and click on "),o("code",null,"Update to ")])],-1),b=o("ol",{start:"6"},[o("li",null,"Wait until it is done and that's it!")],-1),V=JSON.parse('{"title":"Updating Platformio","description":"","frontmatter":{},"headers":[],"relativePath":"firmware_guide/update_platformio.md","filePath":"firmware_guide/update_platformio.md","lastUpdated":1678402493000}'),k={name:"firmware_guide/update_platformio.md"},w=Object.assign(k,{setup(P){return(S,T)=>(s(),r("div",null,[d,i(a,{options:l(e).pio_upgrade_command},null,8,["options"]),c,i(a,{options:l(e).ant_logo_platformio},null,8,["options"]),p,i(a,{options:l(e).platformio_quick_access},null,8,["options"]),u,i(a,{options:l(e).platformio_quick_access_miscellaneous},null,8,["options"]),_,i(a,{options:l(e).platformio_quick_access_upgrade_core},null,8,["options"]),h,i(a,{options:l(e).platformio_pio_home},null,8,["options"]),m,i(a,{options:l(e).platformio_pio_sidebar_platforms},null,8,["options"]),f,i(a,{options:l(e).platformio_pio_sidebar_platforms_updates},null,8,["options"]),g,i(a,{options:l(e).platformio_pio_espressif32},null,8,["options"]),b]))}});export{V as __pageData,w as default}; diff --git a/assets/firmware_guide_upload_and_update_firmware.md.72da2ad7.js b/assets/firmware_guide_upload_and_update_firmware.md.857677c5.js similarity index 98% rename from assets/firmware_guide_upload_and_update_firmware.md.72da2ad7.js rename to assets/firmware_guide_upload_and_update_firmware.md.857677c5.js index 1508b77..17c0adb 100644 --- a/assets/firmware_guide_upload_and_update_firmware.md.72da2ad7.js +++ b/assets/firmware_guide_upload_and_update_firmware.md.857677c5.js @@ -1,4 +1,4 @@ -import{_ as s,a as l}from"./chunks/index.3b745ef0.js";import{_ as a,i as r}from"./chunks/index.9f7265df.js";import{o as u,c as d,G as o,B as p,b as t,V as i,z as e,a as n}from"./chunks/framework.7384f92b.js";const h=i('

Building and uploading the firmware manually

Uploading your firmware must initially be done over cable. Once you have the tracker connected to your WiFi after your first firmware update, you can opt to use OTA in the future.

1. Connect your tracker to your PC

Option 1: Connect ESP32-CAM via the programmer

First, connect your ESP32-Cam to your programmer. In the case of the ESP32-Cam-MB board, it's as simple as sticking it into the socket the way it came in the package and then connecting it to your PC with a micro-USB cable.

In some cases, there is a button labeled IOO on the programmer. If that button exists make sure to hold it in while you plug the programmer into your PC, once plugged in you can release the button.

In the case of an FTDI programmer, the steps aren't as easy, so grab this guide for how to set it up.

Option 2: Connect ESP32-S3 via USB-C directly

To begin, connect your ESP32-S3 board directly to your PC.

On the initial attempt, you may have to adjust the USB mode by pressing the BOOT button and holding it down, then pressing the RESET button while still holding down BOOT, and finally releasing the BOOT button. This will produce a sound indicating the connection of a new device.

Once completed, you should be all set to proceed.

2. Build your firmware

  1. Press the build button at the bottom of Visual Studio Code.

This builds the firmware, but does not send it to the ESP yet.

img

3. Upload your firmware

  • If you are using the OTA method, skip to the OTA section below.

  • Once the firmware has been built, press the upload button to upload the firmware.

    This sends the firmware to the ESP. img

',17),c=e("p",null," The MB board does the resetting for you. If you're using the FTDI programmer, follow the guide linked above (the one from randomnerdtutorials) ",-1),m=i('
  • If the upload is successful, you should get an output that looks like this:

    img

Congratulations! You have now successfully uploaded the firmware to your EyeTrackVR Tracker!

If you have trouble with uploading your firmware over cable check the following:

  1. Make sure your USB cable from the tracker is plugged firmly into your PC.
  2. Make sure that your USB cable is a data and charging cable (it is suggested you try other cables or devices with the cable).
  3. Make sure that your drivers are up-to-date.
  4. Some ports might not work, try other ones.

Additionally, this can be caused by software hogging COM ports (VSCode and Cura can be the cause of this).

Uploading via OTA

What is it?

OTA stands for Over The Air, and it is a way to update your firmware without having to connect your device to your computer.

How do I use it?

To use OTA, you need to have working firmware on your ESPs first. Follow the manual building guide

Once you have manually flashed the firmware at least once, you can use the OTA environment to upate your ESPs.

Coming Soon

Currently, we only support OTA using the provided web interface, but we are working on a new app, where you will be able to upload your firmware to your ESPs over WiFi straight from the app.

For firmware versions 1.1.0 and up:

Since version 1.1.0 we've switched from using OTA via platformio to a more user-friendly approach.

',14),f=e("p",null," You don't have to have the trackers connected to your pc for any of these steps, just powered on and connected to the Wi-Fi. ",-1),_=e("ol",null,[e("li",null,[n("Build the firmware using your current environment, if you've switched to an OTA env in the past - repeat those steps but select the environment without the "),e("code",null,"_OTA"),n(" suffix. Next, press the checkmark button to build it without uploading.")])],-1),g=i('
  1. Turn on your trackers and wait for them to connect to Wi-Fi

  2. Locate their ip or mDNS name. For mDNS, the default is: http://openiristracker.local/

  3. Having done that, open http://<your-up-or-mdns-name>:81/update in your browser

for example: http://openiristracker.local/

This should open a page similar to this:

',3),y=e("p",null,[n("Click on the select file button, and navigate to where you cloned the project and then to the "),e("code",null,"ESP/"),n(" directory.")],-1),w=e("p",null,[n("Once there, open "),e("code",null,".pio\\build\\your-environment"),n(" like so:")],-1),b=e("blockquote",null,[e("p",null,[n("By default, windows treats files and directories with a dot in front of their name as hidden. To change that - "),e("a",{href:"https://support.microsoft.com/en-us/windows/view-hidden-files-and-folders-in-windows-97fbc472-c603-9d90-91d0-1166d1d9f4b5",target:"_blank",rel:"noreferrer"},"see here")])],-1),v=e("p",null,[n("You'll find a couple files in there, select the one named "),e("code",null,"your-environment-vVersion-feature"),n(".")],-1),k=e("p",null,"like this one:",-1),T=e("ol",{start:"5"},[e("li",null,"Press upload and wait for it to finish. Done!")],-1),C=i(`

For firmware versions of 1.0.0 and under:

  1. Retrieve the IP or mDNS name of the tracker you wish to flash. The IP can be found through network monitoring applications, or by viewing tracker output in a serial monitor.
  2. In the ini/user_config.ini file:
    • Put IP or hostname of device into config file

Like so:

ini
[ota]
+import{_ as s,a as l}from"./chunks/index.4ffa16ab.js";import{_ as a,i as r}from"./chunks/index.d657d51d.js";import{o as u,c as d,C as o,y as p,b as t,S as i,v as e,a as n}from"./chunks/framework.17985c0a.js";const h=i('

Building and uploading the firmware manually

Uploading your firmware must initially be done over cable. Once you have the tracker connected to your WiFi after your first firmware update, you can opt to use OTA in the future.

1. Connect your tracker to your PC

Option 1: Connect ESP32-CAM via the programmer

First, connect your ESP32-Cam to your programmer. In the case of the ESP32-Cam-MB board, it's as simple as sticking it into the socket the way it came in the package and then connecting it to your PC with a micro-USB cable.

In some cases, there is a button labeled IOO on the programmer. If that button exists make sure to hold it in while you plug the programmer into your PC, once plugged in you can release the button.

In the case of an FTDI programmer, the steps aren't as easy, so grab this guide for how to set it up.

Option 2: Connect ESP32-S3 via USB-C directly

To begin, connect your ESP32-S3 board directly to your PC.

On the initial attempt, you may have to adjust the USB mode by pressing the BOOT button and holding it down, then pressing the RESET button while still holding down BOOT, and finally releasing the BOOT button. This will produce a sound indicating the connection of a new device.

Once completed, you should be all set to proceed.

2. Build your firmware

  1. Press the build button at the bottom of Visual Studio Code.

This builds the firmware, but does not send it to the ESP yet.

img

3. Upload your firmware

  • If you are using the OTA method, skip to the OTA section below.

  • Once the firmware has been built, press the upload button to upload the firmware.

    This sends the firmware to the ESP. img

',17),c=e("p",null," The MB board does the resetting for you. If you're using the FTDI programmer, follow the guide linked above (the one from randomnerdtutorials) ",-1),m=i('
  • If the upload is successful, you should get an output that looks like this:

    img

Congratulations! You have now successfully uploaded the firmware to your EyeTrackVR Tracker!

If you have trouble with uploading your firmware over cable check the following:

  1. Make sure your USB cable from the tracker is plugged firmly into your PC.
  2. Make sure that your USB cable is a data and charging cable (it is suggested you try other cables or devices with the cable).
  3. Make sure that your drivers are up-to-date.
  4. Some ports might not work, try other ones.

Additionally, this can be caused by software hogging COM ports (VSCode and Cura can be the cause of this).

Uploading via OTA

What is it?

OTA stands for Over The Air, and it is a way to update your firmware without having to connect your device to your computer.

How do I use it?

To use OTA, you need to have working firmware on your ESPs first. Follow the manual building guide

Once you have manually flashed the firmware at least once, you can use the OTA environment to upate your ESPs.

Coming Soon

Currently, we only support OTA using the provided web interface, but we are working on a new app, where you will be able to upload your firmware to your ESPs over WiFi straight from the app.

For firmware versions 1.1.0 and up:

Since version 1.1.0 we've switched from using OTA via platformio to a more user-friendly approach.

',14),f=e("p",null," You don't have to have the trackers connected to your pc for any of these steps, just powered on and connected to the Wi-Fi. ",-1),_=e("ol",null,[e("li",null,[n("Build the firmware using your current environment, if you've switched to an OTA env in the past - repeat those steps but select the environment without the "),e("code",null,"_OTA"),n(" suffix. Next, press the checkmark button to build it without uploading.")])],-1),g=i('
  1. Turn on your trackers and wait for them to connect to Wi-Fi

  2. Locate their ip or mDNS name. For mDNS, the default is: http://openiristracker.local/

  3. Having done that, open http://<your-up-or-mdns-name>:81/update in your browser

for example: http://openiristracker.local/

This should open a page similar to this:

',3),y=e("p",null,[n("Click on the select file button, and navigate to where you cloned the project and then to the "),e("code",null,"ESP/"),n(" directory.")],-1),w=e("p",null,[n("Once there, open "),e("code",null,".pio\\build\\your-environment"),n(" like so:")],-1),b=e("blockquote",null,[e("p",null,[n("By default, windows treats files and directories with a dot in front of their name as hidden. To change that - "),e("a",{href:"https://support.microsoft.com/en-us/windows/view-hidden-files-and-folders-in-windows-97fbc472-c603-9d90-91d0-1166d1d9f4b5",target:"_blank",rel:"noreferrer"},"see here")])],-1),v=e("p",null,[n("You'll find a couple files in there, select the one named "),e("code",null,"your-environment-vVersion-feature"),n(".")],-1),k=e("p",null,"like this one:",-1),T=e("ol",{start:"5"},[e("li",null,"Press upload and wait for it to finish. Done!")],-1),C=i(`

For firmware versions of 1.0.0 and under:

  1. Retrieve the IP or mDNS name of the tracker you wish to flash. The IP can be found through network monitoring applications, or by viewing tracker output in a serial monitor.
  2. In the ini/user_config.ini file:
    • Put IP or hostname of device into config file

Like so:

ini
[ota]
 enableota = 1
 otaserverip = "openiristrackerL.local" # here we use a custom mDNS name
 otapassword = "12345678"
diff --git a/assets/firmware_guide_upload_and_update_firmware.md.72da2ad7.lean.js b/assets/firmware_guide_upload_and_update_firmware.md.857677c5.lean.js
similarity index 92%
rename from assets/firmware_guide_upload_and_update_firmware.md.72da2ad7.lean.js
rename to assets/firmware_guide_upload_and_update_firmware.md.857677c5.lean.js
index c8e4f8a..3bb2ebf 100644
--- a/assets/firmware_guide_upload_and_update_firmware.md.72da2ad7.lean.js
+++ b/assets/firmware_guide_upload_and_update_firmware.md.857677c5.lean.js
@@ -1 +1 @@
-import{_ as s,a as l}from"./chunks/index.3b745ef0.js";import{_ as a,i as r}from"./chunks/index.9f7265df.js";import{o as u,c as d,G as o,B as p,b as t,V as i,z as e,a as n}from"./chunks/framework.7384f92b.js";const h=i("",17),c=e("p",null," The MB board does the resetting for you. If you're using the FTDI programmer, follow the guide linked above (the one from randomnerdtutorials) ",-1),m=i("",14),f=e("p",null," You don't have to have the trackers connected to your pc for any of these steps, just powered on and connected to the Wi-Fi. ",-1),_=e("ol",null,[e("li",null,[n("Build the firmware using your current environment, if you've switched to an OTA env in the past - repeat those steps but select the environment without the "),e("code",null,"_OTA"),n(" suffix. Next, press the checkmark button to build it without uploading.")])],-1),g=i("",3),y=e("p",null,[n("Click on the select file button, and navigate to where you cloned the project and then to the "),e("code",null,"ESP/"),n(" directory.")],-1),w=e("p",null,[n("Once there, open "),e("code",null,".pio\\build\\your-environment"),n(" like so:")],-1),b=e("blockquote",null,[e("p",null,[n("By default, windows treats files and directories with a dot in front of their name as hidden. To change that - "),e("a",{href:"https://support.microsoft.com/en-us/windows/view-hidden-files-and-folders-in-windows-97fbc472-c603-9d90-91d0-1166d1d9f4b5",target:"_blank",rel:"noreferrer"},"see here")])],-1),v=e("p",null,[n("You'll find a couple files in there, select the one named "),e("code",null,"your-environment-vVersion-feature"),n(".")],-1),k=e("p",null,"like this one:",-1),T=e("ol",{start:"5"},[e("li",null,"Press upload and wait for it to finish. Done!")],-1),C=i("",8),S=e("p",null,"This will open a list of all available environments, select the one that matches your board and has a _OTA suffix",-1),A=i("",3),P=e("p",null,"Now, press the restart button on the esp itself. watch the monitor for output like this:",-1),D=i("",5),I=e("p",null," Skip this step if the update message denotes that the config had changed. If it does so, retype your credentials in the updated files. ",-1),F=i("",6),U=JSON.parse('{"title":"Building and uploading the firmware manually","description":"","frontmatter":{},"headers":[],"relativePath":"firmware_guide/upload_and_update_firmware.md","filePath":"firmware_guide/upload_and_update_firmware.md","lastUpdated":1682366995000}'),O={name:"firmware_guide/upload_and_update_firmware.md"},R=Object.assign(O,{setup(q){return(E,x)=>(u(),d("div",null,[h,o(s,{options:t(l).upload_firmware_one},{content:p(()=>[c]),_:1},8,["options"]),m,o(s,{options:t(l).upload_firmware_one},{content:p(()=>[f]),_:1},8,["options"]),_,o(a,{options:t(r).upload_firmware_build_button},null,8,["options"]),g,o(a,{options:t(r).upload_firmware_webpage},null,8,["options"]),y,w,b,o(a,{options:t(r).upload_firmware_webpage_directory},null,8,["options"]),v,k,o(a,{options:t(r).upload_firmware_webpage_directory_file},null,8,["options"]),T,o(a,{options:t(r).upload_firmware_webpage_upload_finished},null,8,["options"]),C,o(a,{options:t(r).upload_firmware_select_env},null,8,["options"]),S,o(a,{options:t(r).upload_firmware_select_env_dropdown},null,8,["options"]),A,o(a,{options:t(r).upload_firmware_image_one},null,8,["options"]),P,o(a,{options:t(r).upload_firmware_image_two},null,8,["options"]),D,o(s,{options:t(l).user_warning},{content:p(()=>[I]),_:1},8,["options"]),F]))}});export{U as __pageData,R as default};
+import{_ as s,a as l}from"./chunks/index.4ffa16ab.js";import{_ as a,i as r}from"./chunks/index.d657d51d.js";import{o as u,c as d,C as o,y as p,b as t,S as i,v as e,a as n}from"./chunks/framework.17985c0a.js";const h=i("",17),c=e("p",null," The MB board does the resetting for you. If you're using the FTDI programmer, follow the guide linked above (the one from randomnerdtutorials) ",-1),m=i("",14),f=e("p",null," You don't have to have the trackers connected to your pc for any of these steps, just powered on and connected to the Wi-Fi. ",-1),_=e("ol",null,[e("li",null,[n("Build the firmware using your current environment, if you've switched to an OTA env in the past - repeat those steps but select the environment without the "),e("code",null,"_OTA"),n(" suffix. Next, press the checkmark button to build it without uploading.")])],-1),g=i("",3),y=e("p",null,[n("Click on the select file button, and navigate to where you cloned the project and then to the "),e("code",null,"ESP/"),n(" directory.")],-1),w=e("p",null,[n("Once there, open "),e("code",null,".pio\\build\\your-environment"),n(" like so:")],-1),b=e("blockquote",null,[e("p",null,[n("By default, windows treats files and directories with a dot in front of their name as hidden. To change that - "),e("a",{href:"https://support.microsoft.com/en-us/windows/view-hidden-files-and-folders-in-windows-97fbc472-c603-9d90-91d0-1166d1d9f4b5",target:"_blank",rel:"noreferrer"},"see here")])],-1),v=e("p",null,[n("You'll find a couple files in there, select the one named "),e("code",null,"your-environment-vVersion-feature"),n(".")],-1),k=e("p",null,"like this one:",-1),T=e("ol",{start:"5"},[e("li",null,"Press upload and wait for it to finish. Done!")],-1),C=i("",8),S=e("p",null,"This will open a list of all available environments, select the one that matches your board and has a _OTA suffix",-1),A=i("",3),P=e("p",null,"Now, press the restart button on the esp itself. watch the monitor for output like this:",-1),D=i("",5),I=e("p",null," Skip this step if the update message denotes that the config had changed. If it does so, retype your credentials in the updated files. ",-1),F=i("",6),U=JSON.parse('{"title":"Building and uploading the firmware manually","description":"","frontmatter":{},"headers":[],"relativePath":"firmware_guide/upload_and_update_firmware.md","filePath":"firmware_guide/upload_and_update_firmware.md","lastUpdated":1682366995000}'),O={name:"firmware_guide/upload_and_update_firmware.md"},R=Object.assign(O,{setup(q){return(E,x)=>(u(),d("div",null,[h,o(s,{options:t(l).upload_firmware_one},{content:p(()=>[c]),_:1},8,["options"]),m,o(s,{options:t(l).upload_firmware_one},{content:p(()=>[f]),_:1},8,["options"]),_,o(a,{options:t(r).upload_firmware_build_button},null,8,["options"]),g,o(a,{options:t(r).upload_firmware_webpage},null,8,["options"]),y,w,b,o(a,{options:t(r).upload_firmware_webpage_directory},null,8,["options"]),v,k,o(a,{options:t(r).upload_firmware_webpage_directory_file},null,8,["options"]),T,o(a,{options:t(r).upload_firmware_webpage_upload_finished},null,8,["options"]),C,o(a,{options:t(r).upload_firmware_select_env},null,8,["options"]),S,o(a,{options:t(r).upload_firmware_select_env_dropdown},null,8,["options"]),A,o(a,{options:t(r).upload_firmware_image_one},null,8,["options"]),P,o(a,{options:t(r).upload_firmware_image_two},null,8,["options"]),D,o(s,{options:t(l).user_warning},{content:p(()=>[I]),_:1},8,["options"]),F]))}});export{U as __pageData,R as default};
diff --git a/assets/getting_started_intro.md.8a7af83f.js b/assets/getting_started_intro.md.8d6c94c1.js
similarity index 96%
rename from assets/getting_started_intro.md.8a7af83f.js
rename to assets/getting_started_intro.md.8d6c94c1.js
index 87e3545..468dd11 100644
--- a/assets/getting_started_intro.md.8a7af83f.js
+++ b/assets/getting_started_intro.md.8d6c94c1.js
@@ -1 +1 @@
-import{_ as s,a as i}from"./chunks/index.3b745ef0.js";import{_ as l,i as d}from"./chunks/index.9f7265df.js";import{o as c,c as h,G as a,B as n,b as r,V as t,z as e,a as o}from"./chunks/framework.7384f92b.js";const u=t('

EyeTrackVR

Open source and affordable VR eye tracker platform for Social VR Games via OSC and UDP protocol.

Want to get started? Check out the getting started page and then the full build guide.

',4),_=e("p",null," This project is in active development. However, it is working for most users. ",-1),p=t('

About IR Emitter Safety

Please exercise caution when messing around with IR emitters.

IR can be dangerous to your eyes once at a certain power level. It is not recommended to use different emitters unless you know exactly what you are doing as it could result in harm to your eyes. If you doubt yourself, just do exactly what we do. Don't use different emitters, dont use differnt means of power, etc.

DANGER

It is important that you DO NOT BYPASS (OR NOT DO) ANY SAFETY FEATURES PUT IN PLACE. This can result in irreversible bodily harm.

The safety measures were put in place to REDUCE the potential failure risk. All further safety responsibilities are on the user. This includes visually checking with an IR camera that the brightness is correct and that you do not feel warmth or experience short-term effects after being exposed to the IR light (symptoms such as dark spots or dry/warm feeling eyes while actively using). While we strive to make EyeTrackVR as safe as possible, we do not hold any responsibility for damage done.

',5),f=e("p",null,[o(" Make sure you are using "),e("ins",{class:"text-red-400 dark:text-red-500"},"non-focused"),o(" emitters and no more than "),e("ins",{class:"font-bold"},"5 mW/sr"),o(" total power. ")],-1),m=t('
Want to see the safety data sheets?

Effect of infrared radiation on the lens

AN002_Details on photobiological safety of LED light sources

Training-library Nir Stds

ICNIRP: Guidelines of limits of exposure to broad-band incoherent optical radiation (0.38 to 3 µm)

Hardware

Please check out our parts list and hardware repo. for information regauring hardware.

Firmware

Our firmware called OpenIris is made by lorow found here.

Headset support

In theory, we are compatible with every VR headset. However, mounts may not have been made yet. Please take a look at our list of 3d printable mounts and see if your headset is on the list. If it is not listed, It is recommended that you try to make a mount, or wait for a skilled community member to create one.

Contact

Please join our discord for updates and any questions. We hope to see you there!

',9),b=t('

Licenses

GitHub license

All software is under the MIT License. All documentation, including the Wiki, is under the Creative Commons CC-BY-SA-4.0 license.

',3),R=JSON.parse('{"title":"EyeTrackVR","description":"","frontmatter":{},"headers":[],"relativePath":"getting_started/intro.md","filePath":"getting_started/intro.md","lastUpdated":1689709860000}'),y={name:"getting_started/intro.md"},I=Object.assign(y,{setup(g){return(k,w)=>(c(),h("div",null,[u,a(s,{options:r(i).user_warning},{content:n(()=>[_]),_:1},8,["options"]),p,a(s,{options:r(i).led_power_warning},{content:n(()=>[f]),_:1},8,["options"]),m,a(l,{options:r(d).discord_content},null,8,["options"]),b]))}});export{R as __pageData,I as default}; +import{_ as s,a as i}from"./chunks/index.4ffa16ab.js";import{_ as l,i as d}from"./chunks/index.d657d51d.js";import{o as c,c as h,C as a,y as n,b as r,S as t,v as e,a as o}from"./chunks/framework.17985c0a.js";const u=t('

EyeTrackVR

Open source and affordable VR eye tracker platform for Social VR Games via OSC and UDP protocol.

Want to get started? Check out the getting started page and then the full build guide.

',4),_=e("p",null," This project is in active development. However, it is working for most users. ",-1),p=t('

About IR Emitter Safety

Please exercise caution when messing around with IR emitters.

IR can be dangerous to your eyes once at a certain power level. It is not recommended to use different emitters unless you know exactly what you are doing as it could result in harm to your eyes. If you doubt yourself, just do exactly what we do. Don't use different emitters, dont use differnt means of power, etc.

DANGER

It is important that you DO NOT BYPASS (OR NOT DO) ANY SAFETY FEATURES PUT IN PLACE. This can result in irreversible bodily harm.

The safety measures were put in place to REDUCE the potential failure risk. All further safety responsibilities are on the user. This includes visually checking with an IR camera that the brightness is correct and that you do not feel warmth or experience short-term effects after being exposed to the IR light (symptoms such as dark spots or dry/warm feeling eyes while actively using). While we strive to make EyeTrackVR as safe as possible, we do not hold any responsibility for damage done.

',5),f=e("p",null,[o(" Make sure you are using "),e("ins",{class:"text-red-400 dark:text-red-500"},"non-focused"),o(" emitters and no more than "),e("ins",{class:"font-bold"},"5 mW/sr"),o(" total power. ")],-1),m=t('
Want to see the safety data sheets?

Effect of infrared radiation on the lens

AN002_Details on photobiological safety of LED light sources

Training-library Nir Stds

ICNIRP: Guidelines of limits of exposure to broad-band incoherent optical radiation (0.38 to 3 µm)

Hardware

Please check out our parts list and hardware repo. for information regauring hardware.

Firmware

Our firmware called OpenIris is made by lorow found here.

Headset support

In theory, we are compatible with every VR headset. However, mounts may not have been made yet. Please take a look at our list of 3d printable mounts and see if your headset is on the list. If it is not listed, It is recommended that you try to make a mount, or wait for a skilled community member to create one.

Contact

Please join our discord for updates and any questions. We hope to see you there!

',9),b=t('

Licenses

GitHub license

All software is under the MIT License. All documentation, including the Wiki, is under the Creative Commons CC-BY-SA-4.0 license.

',3),R=JSON.parse('{"title":"EyeTrackVR","description":"","frontmatter":{},"headers":[],"relativePath":"getting_started/intro.md","filePath":"getting_started/intro.md","lastUpdated":1689709860000}'),y={name:"getting_started/intro.md"},I=Object.assign(y,{setup(g){return(k,w)=>(c(),h("div",null,[u,a(s,{options:r(i).user_warning},{content:n(()=>[_]),_:1},8,["options"]),p,a(s,{options:r(i).led_power_warning},{content:n(()=>[f]),_:1},8,["options"]),m,a(l,{options:r(d).discord_content},null,8,["options"]),b]))}});export{R as __pageData,I as default}; diff --git a/assets/getting_started_intro.md.8a7af83f.lean.js b/assets/getting_started_intro.md.8d6c94c1.lean.js similarity index 76% rename from assets/getting_started_intro.md.8a7af83f.lean.js rename to assets/getting_started_intro.md.8d6c94c1.lean.js index d280a09..c18d60c 100644 --- a/assets/getting_started_intro.md.8a7af83f.lean.js +++ b/assets/getting_started_intro.md.8d6c94c1.lean.js @@ -1 +1 @@ -import{_ as s,a as i}from"./chunks/index.3b745ef0.js";import{_ as l,i as d}from"./chunks/index.9f7265df.js";import{o as c,c as h,G as a,B as n,b as r,V as t,z as e,a as o}from"./chunks/framework.7384f92b.js";const u=t("",4),_=e("p",null," This project is in active development. However, it is working for most users. ",-1),p=t("",5),f=e("p",null,[o(" Make sure you are using "),e("ins",{class:"text-red-400 dark:text-red-500"},"non-focused"),o(" emitters and no more than "),e("ins",{class:"font-bold"},"5 mW/sr"),o(" total power. ")],-1),m=t("",9),b=t("",3),R=JSON.parse('{"title":"EyeTrackVR","description":"","frontmatter":{},"headers":[],"relativePath":"getting_started/intro.md","filePath":"getting_started/intro.md","lastUpdated":1689709860000}'),y={name:"getting_started/intro.md"},I=Object.assign(y,{setup(g){return(k,w)=>(c(),h("div",null,[u,a(s,{options:r(i).user_warning},{content:n(()=>[_]),_:1},8,["options"]),p,a(s,{options:r(i).led_power_warning},{content:n(()=>[f]),_:1},8,["options"]),m,a(l,{options:r(d).discord_content},null,8,["options"]),b]))}});export{R as __pageData,I as default}; +import{_ as s,a as i}from"./chunks/index.4ffa16ab.js";import{_ as l,i as d}from"./chunks/index.d657d51d.js";import{o as c,c as h,C as a,y as n,b as r,S as t,v as e,a as o}from"./chunks/framework.17985c0a.js";const u=t("",4),_=e("p",null," This project is in active development. However, it is working for most users. ",-1),p=t("",5),f=e("p",null,[o(" Make sure you are using "),e("ins",{class:"text-red-400 dark:text-red-500"},"non-focused"),o(" emitters and no more than "),e("ins",{class:"font-bold"},"5 mW/sr"),o(" total power. ")],-1),m=t("",9),b=t("",3),R=JSON.parse('{"title":"EyeTrackVR","description":"","frontmatter":{},"headers":[],"relativePath":"getting_started/intro.md","filePath":"getting_started/intro.md","lastUpdated":1689709860000}'),y={name:"getting_started/intro.md"},I=Object.assign(y,{setup(g){return(k,w)=>(c(),h("div",null,[u,a(s,{options:r(i).user_warning},{content:n(()=>[_]),_:1},8,["options"]),p,a(s,{options:r(i).led_power_warning},{content:n(()=>[f]),_:1},8,["options"]),m,a(l,{options:r(d).discord_content},null,8,["options"]),b]))}});export{R as __pageData,I as default}; diff --git a/assets/getting_started_led_safety.md.d76c624b.js b/assets/getting_started_led_safety.md.50db11e5.js similarity index 97% rename from assets/getting_started_led_safety.md.d76c624b.js rename to assets/getting_started_led_safety.md.50db11e5.js index 2bbba68..809c218 100644 --- a/assets/getting_started_led_safety.md.d76c624b.js +++ b/assets/getting_started_led_safety.md.50db11e5.js @@ -1 +1 @@ -import{_ as t,a}from"./chunks/index.3b745ef0.js";import{o,c as s,G as r,B as i,b as n,V as e,z as l}from"./chunks/framework.7384f92b.js";const u=e('

About IR Emitter Safety

Please exercise caution when messing around with IR emitters.

IR can be dangerous to your eyes once at a certain power level. It is not recommended to use different emitters unless you know exactly what you are doing as it could result in harm to your eyes. If you doubt yourself or are not understand something, just do exactly what we do. Don't use different emitters, don't use different means of power, etc.

DANGER

It is important that you DO NOT BYPASS (OR NOT DO) ANY SAFETY FEATURES PUT IN PLACE. This can result in irreversible bodily harm.

The safety measures were put in place to REDUCE the potential failure risk. All further safety responsibilities are on the user. This includes visually checking with an IR camera that the brightness is correct and that you do not feel warmth, excessive eye-strain or experience short-term effects after being exposed to the IR light (symptoms such as dark spots or dry/warm feeling eyes while actively using). While we strive to make EyeTrackVR as safe as possible, we do not hold any responsibility for damage done.

What we care about:

We care about power exposure "W" to the cornea, which we can normalize over the exposed area to Irradiance "mW/cm^2" This number gives us the amount of IR radiation being released into the normalized area. We don't really care about "mA", or "V" alone, as by themselves these do not give us the exposure levels which we need to ensure safety.

Irradiance also needs to take in to account distance of the light source (LED) as the further away you get from a source the weaker the intensity gets. (You can test this by looking at a light source from far away, and as you move closer, the brighter and more painful it is to look at) We do this by using Radiance "mW/cm2/sr" to normalize for the distance. The "sr" is a steradian. Think of it like a cone shape, getting bigger and broader as we move away from the source object.

The International Commission on Non-Ionizing Radiation Protection's Guidelines of limits of exposure to broad-band incoherent optical radiation (0.38 to 3 µm) states:

"To avoid thermal injury of the cornea and possible delayed effects on the lens of the eye (cataractogenesis), infrared radiation (780nm < > λ < > 3μm) should be limited to 100 W m⁻² (10 mW cm⁻²) for lengthy exposures (> 1000 s)"

So 10 mW/cm2 is the max recommended limit given by this source. In my opinion this is still quite high, you will definitely feel some warmth and likely eyestrain after a while.

It is known that when outside and not directly looking at the sun, your eyes get exposed to about 1 mW/cm2 or IR radiation. This is the target I set for hardware generally.

',12),h=l("p",null,' This math is assuming the LED is directly in front of your pupil, and your pupil is not moving. In real world this is not the case. We have multiple LEDs around your eye, and your eye moves. When you look to the side, your pupil is not receiving all of the light from all LEDs and the distance grows as well. Properly calculating for this is hard and not worth the time. I chose to show that the "worst case scenario" is still well withing safety margins. ',-1),c=e('

V3 Hardware Safety Outline and Exposure Numbers:

For all of this math we will assume the "worst" to ensure we are well within safety.

if powered with 5V, using 700 ohms of resistance, V3 Hardware will draw 0.00314... Amps. We will round up and convert this to 3.2mA.

(5V - 1.4V - 1.4V) / 700 ohm = 0.00314 ≈ 3.2mA

The LED datasheet lists the intensity at 20mA to be a minimum of 2 and max of 5. We will assume the worst and use 5mW/sr.

5 mW/sr * (3.2mA / 20mA) = 0.8 mW/sr

Now, we need to account for distance. My number is based on a worst case scenario of 1cm of distance. (typically is is higher on average.) We convert 1cm to 1cm2/sr

0.8 mW/sr / 1cm2/sr = 0.8 mW/cm2

Now, this is only for 1 LED, in the case of V3 we have 2 so we can:

0.8 mW/cm2 * 2 = 1.6 mW/cm2

This value is well below the limit, and close to normal sun exposure outside. If the LEDs were further than 1cm (which they typically are) the exposure would be even less.

V4 Hardware Safety Outline and Exposure Numbers:

For all of this math we will assume the "worst" to ensure we are well within safety.

V4 hardware is actively limited to ~2.4 mA

The LED datasheet lists the intensity at 20mA to be a minimum of 2 and max of 5. We will assume the worst and use 5mW/sr.

5 mW/sr * (2.4mA / 20mA) = 0.6 mW/sr

Now, we need to account for distance. My number is based on a worst case scenario of 1cm of distance. (typically is is higher on average.) We convert 1cm to 1cm2/sr

0.6 mW/sr / 1cm2/sr = 0.6 mW/cm2

Now, this is only for 1 LED, in the case of V4 we have 4 so we can:

0.6 mW/cm2 * 4 = 2.4 mW/cm2

This value is well below the limit, and not far from sun exposure. If the LEDs were further than 1cm (which they typically are) the exposure would be even less. And with typical eye movement they are less.

',21),b=JSON.parse('{"title":"V3 Hardware Safety Outline and Exposure Numbers:","description":"","frontmatter":{},"headers":[],"relativePath":"getting_started/led_safety.md","filePath":"getting_started/led_safety.md","lastUpdated":1689792906000}'),d={name:"getting_started/led_safety.md"},g=Object.assign(d,{setup(m){return(p,f)=>(o(),s("div",null,[u,r(t,{options:n(a).build_software_one},{content:i(()=>[h]),_:1},8,["options"]),c]))}});export{b as __pageData,g as default}; +import{_ as t,a}from"./chunks/index.4ffa16ab.js";import{o,c as s,C as r,y as i,b as n,S as e,v as l}from"./chunks/framework.17985c0a.js";const u=e('

About IR Emitter Safety

Please exercise caution when messing around with IR emitters.

IR can be dangerous to your eyes once at a certain power level. It is not recommended to use different emitters unless you know exactly what you are doing as it could result in harm to your eyes. If you doubt yourself or are not understand something, just do exactly what we do. Don't use different emitters, don't use different means of power, etc.

DANGER

It is important that you DO NOT BYPASS (OR NOT DO) ANY SAFETY FEATURES PUT IN PLACE. This can result in irreversible bodily harm.

The safety measures were put in place to REDUCE the potential failure risk. All further safety responsibilities are on the user. This includes visually checking with an IR camera that the brightness is correct and that you do not feel warmth, excessive eye-strain or experience short-term effects after being exposed to the IR light (symptoms such as dark spots or dry/warm feeling eyes while actively using). While we strive to make EyeTrackVR as safe as possible, we do not hold any responsibility for damage done.

What we care about:

We care about power exposure "W" to the cornea, which we can normalize over the exposed area to Irradiance "mW/cm^2" This number gives us the amount of IR radiation being released into the normalized area. We don't really care about "mA", or "V" alone, as by themselves these do not give us the exposure levels which we need to ensure safety.

Irradiance also needs to take in to account distance of the light source (LED) as the further away you get from a source the weaker the intensity gets. (You can test this by looking at a light source from far away, and as you move closer, the brighter and more painful it is to look at) We do this by using Radiance "mW/cm2/sr" to normalize for the distance. The "sr" is a steradian. Think of it like a cone shape, getting bigger and broader as we move away from the source object.

The International Commission on Non-Ionizing Radiation Protection's Guidelines of limits of exposure to broad-band incoherent optical radiation (0.38 to 3 µm) states:

"To avoid thermal injury of the cornea and possible delayed effects on the lens of the eye (cataractogenesis), infrared radiation (780nm < > λ < > 3μm) should be limited to 100 W m⁻² (10 mW cm⁻²) for lengthy exposures (> 1000 s)"

So 10 mW/cm2 is the max recommended limit given by this source. In my opinion this is still quite high, you will definitely feel some warmth and likely eyestrain after a while.

It is known that when outside and not directly looking at the sun, your eyes get exposed to about 1 mW/cm2 or IR radiation. This is the target I set for hardware generally.

',12),h=l("p",null,' This math is assuming the LED is directly in front of your pupil, and your pupil is not moving. In real world this is not the case. We have multiple LEDs around your eye, and your eye moves. When you look to the side, your pupil is not receiving all of the light from all LEDs and the distance grows as well. Properly calculating for this is hard and not worth the time. I chose to show that the "worst case scenario" is still well withing safety margins. ',-1),c=e('

V3 Hardware Safety Outline and Exposure Numbers:

For all of this math we will assume the "worst" to ensure we are well within safety.

if powered with 5V, using 700 ohms of resistance, V3 Hardware will draw 0.00314... Amps. We will round up and convert this to 3.2mA.

(5V - 1.4V - 1.4V) / 700 ohm = 0.00314 ≈ 3.2mA

The LED datasheet lists the intensity at 20mA to be a minimum of 2 and max of 5. We will assume the worst and use 5mW/sr.

5 mW/sr * (3.2mA / 20mA) = 0.8 mW/sr

Now, we need to account for distance. My number is based on a worst case scenario of 1cm of distance. (typically is is higher on average.) We convert 1cm to 1cm2/sr

0.8 mW/sr / 1cm2/sr = 0.8 mW/cm2

Now, this is only for 1 LED, in the case of V3 we have 2 so we can:

0.8 mW/cm2 * 2 = 1.6 mW/cm2

This value is well below the limit, and close to normal sun exposure outside. If the LEDs were further than 1cm (which they typically are) the exposure would be even less.

V4 Hardware Safety Outline and Exposure Numbers:

For all of this math we will assume the "worst" to ensure we are well within safety.

V4 hardware is actively limited to ~2.4 mA

The LED datasheet lists the intensity at 20mA to be a minimum of 2 and max of 5. We will assume the worst and use 5mW/sr.

5 mW/sr * (2.4mA / 20mA) = 0.6 mW/sr

Now, we need to account for distance. My number is based on a worst case scenario of 1cm of distance. (typically is is higher on average.) We convert 1cm to 1cm2/sr

0.6 mW/sr / 1cm2/sr = 0.6 mW/cm2

Now, this is only for 1 LED, in the case of V4 we have 4 so we can:

0.6 mW/cm2 * 4 = 2.4 mW/cm2

This value is well below the limit, and not far from sun exposure. If the LEDs were further than 1cm (which they typically are) the exposure would be even less. And with typical eye movement they are less.

',21),b=JSON.parse('{"title":"V3 Hardware Safety Outline and Exposure Numbers:","description":"","frontmatter":{},"headers":[],"relativePath":"getting_started/led_safety.md","filePath":"getting_started/led_safety.md","lastUpdated":1689792906000}'),d={name:"getting_started/led_safety.md"},g=Object.assign(d,{setup(m){return(p,f)=>(o(),s("div",null,[u,r(t,{options:n(a).build_software_one},{content:i(()=>[h]),_:1},8,["options"]),c]))}});export{b as __pageData,g as default}; diff --git a/assets/getting_started_led_safety.md.d76c624b.lean.js b/assets/getting_started_led_safety.md.50db11e5.lean.js similarity index 82% rename from assets/getting_started_led_safety.md.d76c624b.lean.js rename to assets/getting_started_led_safety.md.50db11e5.lean.js index 2af4194..146a4b7 100644 --- a/assets/getting_started_led_safety.md.d76c624b.lean.js +++ b/assets/getting_started_led_safety.md.50db11e5.lean.js @@ -1 +1 @@ -import{_ as t,a}from"./chunks/index.3b745ef0.js";import{o,c as s,G as r,B as i,b as n,V as e,z as l}from"./chunks/framework.7384f92b.js";const u=e("",12),h=l("p",null,' This math is assuming the LED is directly in front of your pupil, and your pupil is not moving. In real world this is not the case. We have multiple LEDs around your eye, and your eye moves. When you look to the side, your pupil is not receiving all of the light from all LEDs and the distance grows as well. Properly calculating for this is hard and not worth the time. I chose to show that the "worst case scenario" is still well withing safety margins. ',-1),c=e("",21),b=JSON.parse('{"title":"V3 Hardware Safety Outline and Exposure Numbers:","description":"","frontmatter":{},"headers":[],"relativePath":"getting_started/led_safety.md","filePath":"getting_started/led_safety.md","lastUpdated":1689792906000}'),d={name:"getting_started/led_safety.md"},g=Object.assign(d,{setup(m){return(p,f)=>(o(),s("div",null,[u,r(t,{options:n(a).build_software_one},{content:i(()=>[h]),_:1},8,["options"]),c]))}});export{b as __pageData,g as default}; +import{_ as t,a}from"./chunks/index.4ffa16ab.js";import{o,c as s,C as r,y as i,b as n,S as e,v as l}from"./chunks/framework.17985c0a.js";const u=e("",12),h=l("p",null,' This math is assuming the LED is directly in front of your pupil, and your pupil is not moving. In real world this is not the case. We have multiple LEDs around your eye, and your eye moves. When you look to the side, your pupil is not receiving all of the light from all LEDs and the distance grows as well. Properly calculating for this is hard and not worth the time. I chose to show that the "worst case scenario" is still well withing safety margins. ',-1),c=e("",21),b=JSON.parse('{"title":"V3 Hardware Safety Outline and Exposure Numbers:","description":"","frontmatter":{},"headers":[],"relativePath":"getting_started/led_safety.md","filePath":"getting_started/led_safety.md","lastUpdated":1689792906000}'),d={name:"getting_started/led_safety.md"},g=Object.assign(d,{setup(m){return(p,f)=>(o(),s("div",null,[u,r(t,{options:n(a).build_software_one},{content:i(()=>[h]),_:1},8,["options"]),c]))}});export{b as __pageData,g as default}; diff --git a/assets/getting_started_things_to_know.md.ecc362de.js b/assets/getting_started_things_to_know.md.89b13253.js similarity index 96% rename from assets/getting_started_things_to_know.md.ecc362de.js rename to assets/getting_started_things_to_know.md.89b13253.js index 1fde711..869bd18 100644 --- a/assets/getting_started_things_to_know.md.ecc362de.js +++ b/assets/getting_started_things_to_know.md.89b13253.js @@ -1 +1 @@ -import{_ as e,o as t,c as a,V as o}from"./chunks/framework.7384f92b.js";const p=JSON.parse('{"title":"Things To Know Before You Start","description":"","frontmatter":{},"headers":[],"relativePath":"getting_started/things_to_know.md","filePath":"getting_started/things_to_know.md","lastUpdated":1689711036000}'),r={name:"getting_started/things_to_know.md"},i=o('

Things To Know Before You Start

This page will be an overview of things to know and understand before you start this project

Software is not final

Bugs can and will occur which may hinder the experience or useability at times. Do not expect 100% reliable and perfect function. Not all features are fully developed yet.

Firmware may have user difficulties

Our firmware has not been tested widely so issues may creep up.

IR emitters are dangerous

If handled wrong or precautions are ignored you can and will cause damage to your eyes. Please make sure to only buy linked ones or ones with specs that match exactly. We will not be responsible for damaged caused if you go your own route.

Documentation may be incomplete

Important steps may be missing.

You will need to set up your avatar to use this

This will require some basic Unity knowledge and owning your own avatar. Note: 2.0 beta app uses VRC's Native eye tracking which does NOT require a special avatar

Once you have acknowledged the items above, move on to the Full Build Guide

',13),n=[i];function s(l,d,u,h,c,f){return t(),a("div",null,n)}const w=e(r,[["render",s]]);export{p as __pageData,w as default}; +import{_ as e,o as t,c as a,S as o}from"./chunks/framework.17985c0a.js";const p=JSON.parse('{"title":"Things To Know Before You Start","description":"","frontmatter":{},"headers":[],"relativePath":"getting_started/things_to_know.md","filePath":"getting_started/things_to_know.md","lastUpdated":1689711036000}'),r={name:"getting_started/things_to_know.md"},i=o('

Things To Know Before You Start

This page will be an overview of things to know and understand before you start this project

Software is not final

Bugs can and will occur which may hinder the experience or useability at times. Do not expect 100% reliable and perfect function. Not all features are fully developed yet.

Firmware may have user difficulties

Our firmware has not been tested widely so issues may creep up.

IR emitters are dangerous

If handled wrong or precautions are ignored you can and will cause damage to your eyes. Please make sure to only buy linked ones or ones with specs that match exactly. We will not be responsible for damaged caused if you go your own route.

Documentation may be incomplete

Important steps may be missing.

You will need to set up your avatar to use this

This will require some basic Unity knowledge and owning your own avatar. Note: 2.0 beta app uses VRC's Native eye tracking which does NOT require a special avatar

Once you have acknowledged the items above, move on to the Full Build Guide

',13),n=[i];function s(l,d,u,h,c,f){return t(),a("div",null,n)}const w=e(r,[["render",s]]);export{p as __pageData,w as default}; diff --git a/assets/getting_started_things_to_know.md.ecc362de.lean.js b/assets/getting_started_things_to_know.md.89b13253.lean.js similarity index 73% rename from assets/getting_started_things_to_know.md.ecc362de.lean.js rename to assets/getting_started_things_to_know.md.89b13253.lean.js index 41588cf..8fa1b1c 100644 --- a/assets/getting_started_things_to_know.md.ecc362de.lean.js +++ b/assets/getting_started_things_to_know.md.89b13253.lean.js @@ -1 +1 @@ -import{_ as e,o as t,c as a,V as o}from"./chunks/framework.7384f92b.js";const p=JSON.parse('{"title":"Things To Know Before You Start","description":"","frontmatter":{},"headers":[],"relativePath":"getting_started/things_to_know.md","filePath":"getting_started/things_to_know.md","lastUpdated":1689711036000}'),r={name:"getting_started/things_to_know.md"},i=o("",13),n=[i];function s(l,d,u,h,c,f){return t(),a("div",null,n)}const w=e(r,[["render",s]]);export{p as __pageData,w as default}; +import{_ as e,o as t,c as a,S as o}from"./chunks/framework.17985c0a.js";const p=JSON.parse('{"title":"Things To Know Before You Start","description":"","frontmatter":{},"headers":[],"relativePath":"getting_started/things_to_know.md","filePath":"getting_started/things_to_know.md","lastUpdated":1689711036000}'),r={name:"getting_started/things_to_know.md"},i=o("",13),n=[i];function s(l,d,u,h,c,f){return t(),a("div",null,n)}const w=e(r,[["render",s]]);export{p as __pageData,w as default}; diff --git a/assets/how_to_build_creating_your_own_mount.md.a0eff1b7.js b/assets/how_to_build_creating_your_own_mount.md.610d1805.js similarity index 97% rename from assets/how_to_build_creating_your_own_mount.md.a0eff1b7.js rename to assets/how_to_build_creating_your_own_mount.md.610d1805.js index f812025..c968ab6 100644 --- a/assets/how_to_build_creating_your_own_mount.md.a0eff1b7.js +++ b/assets/how_to_build_creating_your_own_mount.md.610d1805.js @@ -1 +1 @@ -import{_ as e,o as t,c as a,V as o}from"./chunks/framework.7384f92b.js";const w=JSON.parse('{"title":"Creating Your Own Mount","description":"","frontmatter":{},"headers":[],"relativePath":"how_to_build/creating_your_own_mount.md","filePath":"how_to_build/creating_your_own_mount.md","lastUpdated":1689147044000}'),r={name:"how_to_build/creating_your_own_mount.md"},n=o('

Creating Your Own Mount

This page will include a basic rundown on how to create your own camera mount for a headset that may not have any existing community mounts

So, you have a headset that does not have any mounts or none that work well for you. Here I will show some simple steps to get some form of a mount working.

Step 1: Find a way to mount to your headsets lens

The easiest way to get started is to find a lens protector for your headset. Either go to a website like Thingiverse or just do a search for "3d printed lens protector for {your headset here}"

Example: Here is a lens protector for the Quest 1/2 and Rift S https://www.thingiverse.com/thing:3653631

Step 2: Find a camera mount

Now, you need a way to attach the camera. We have a basic design that qdot created (taken from his mount) on the hardware GitHub here

Alternatively, you can create your own mount if you have the skills.

Step 3: Place the camera mount where it will give a good camera angle

The "Ideal" location is a place that gives a good view of the pupil when looking to all extremes, the lower corners do a good job at getting there, or nearly there.

You want to put the camera as close to the headset's lens as possible to achieve the biggest view of the eye. I recommend looking at other headset mounts for inspiration.

Step 4: Mount your LEDs

You can either add parts to your mount for holding the LED boards or just glue them on. It's up to you and what works best for you, experiment!

Step 5: Test everything

It is unlikely you will get a perfect mount on the first try. Print, test, adjust, and repeat until you have a satisfactory mount. Good luck!

Step 6: Get your mounts listed

Send me the mount to be added to the docs here! You can upload it to Thingiverse or similar services, or just send me the .STLs via discord (Prohurtz#0001)

',18),i=[n];function s(h,u,l,d,c,m){return t(),a("div",null,i)}const y=e(r,[["render",s]]);export{w as __pageData,y as default}; +import{_ as e,o as t,c as a,S as o}from"./chunks/framework.17985c0a.js";const w=JSON.parse('{"title":"Creating Your Own Mount","description":"","frontmatter":{},"headers":[],"relativePath":"how_to_build/creating_your_own_mount.md","filePath":"how_to_build/creating_your_own_mount.md","lastUpdated":1689147044000}'),r={name:"how_to_build/creating_your_own_mount.md"},n=o('

Creating Your Own Mount

This page will include a basic rundown on how to create your own camera mount for a headset that may not have any existing community mounts

So, you have a headset that does not have any mounts or none that work well for you. Here I will show some simple steps to get some form of a mount working.

Step 1: Find a way to mount to your headsets lens

The easiest way to get started is to find a lens protector for your headset. Either go to a website like Thingiverse or just do a search for "3d printed lens protector for {your headset here}"

Example: Here is a lens protector for the Quest 1/2 and Rift S https://www.thingiverse.com/thing:3653631

Step 2: Find a camera mount

Now, you need a way to attach the camera. We have a basic design that qdot created (taken from his mount) on the hardware GitHub here

Alternatively, you can create your own mount if you have the skills.

Step 3: Place the camera mount where it will give a good camera angle

The "Ideal" location is a place that gives a good view of the pupil when looking to all extremes, the lower corners do a good job at getting there, or nearly there.

You want to put the camera as close to the headset's lens as possible to achieve the biggest view of the eye. I recommend looking at other headset mounts for inspiration.

Step 4: Mount your LEDs

You can either add parts to your mount for holding the LED boards or just glue them on. It's up to you and what works best for you, experiment!

Step 5: Test everything

It is unlikely you will get a perfect mount on the first try. Print, test, adjust, and repeat until you have a satisfactory mount. Good luck!

Step 6: Get your mounts listed

Send me the mount to be added to the docs here! You can upload it to Thingiverse or similar services, or just send me the .STLs via discord (Prohurtz#0001)

',18),i=[n];function s(h,u,l,d,c,m){return t(),a("div",null,i)}const y=e(r,[["render",s]]);export{w as __pageData,y as default}; diff --git a/assets/how_to_build_creating_your_own_mount.md.a0eff1b7.lean.js b/assets/how_to_build_creating_your_own_mount.md.610d1805.lean.js similarity index 74% rename from assets/how_to_build_creating_your_own_mount.md.a0eff1b7.lean.js rename to assets/how_to_build_creating_your_own_mount.md.610d1805.lean.js index d43b381..442676d 100644 --- a/assets/how_to_build_creating_your_own_mount.md.a0eff1b7.lean.js +++ b/assets/how_to_build_creating_your_own_mount.md.610d1805.lean.js @@ -1 +1 @@ -import{_ as e,o as t,c as a,V as o}from"./chunks/framework.7384f92b.js";const w=JSON.parse('{"title":"Creating Your Own Mount","description":"","frontmatter":{},"headers":[],"relativePath":"how_to_build/creating_your_own_mount.md","filePath":"how_to_build/creating_your_own_mount.md","lastUpdated":1689147044000}'),r={name:"how_to_build/creating_your_own_mount.md"},n=o("",18),i=[n];function s(h,u,l,d,c,m){return t(),a("div",null,i)}const y=e(r,[["render",s]]);export{w as __pageData,y as default}; +import{_ as e,o as t,c as a,S as o}from"./chunks/framework.17985c0a.js";const w=JSON.parse('{"title":"Creating Your Own Mount","description":"","frontmatter":{},"headers":[],"relativePath":"how_to_build/creating_your_own_mount.md","filePath":"how_to_build/creating_your_own_mount.md","lastUpdated":1689147044000}'),r={name:"how_to_build/creating_your_own_mount.md"},n=o("",18),i=[n];function s(h,u,l,d,c,m){return t(),a("div",null,i)}const y=e(r,[["render",s]]);export{w as __pageData,y as default}; diff --git a/assets/how_to_build_full_build.md.f2c25978.js b/assets/how_to_build_full_build.md.92660a15.js similarity index 97% rename from assets/how_to_build_full_build.md.f2c25978.js rename to assets/how_to_build_full_build.md.92660a15.js index 3474bf5..996822c 100644 --- a/assets/how_to_build_full_build.md.f2c25978.js +++ b/assets/how_to_build_full_build.md.92660a15.js @@ -1 +1 @@ -import{_ as r,a as l}from"./chunks/index.3b745ef0.js";import{_ as h}from"./chunks/CheckBoxList.78ea8d78.js";import{_ as a,i as s}from"./chunks/index.9f7265df.js";import{o as d,c as p,G as t,b as o,z as e,B as c,V as i,a as n}from"./chunks/framework.7384f92b.js";const u={state:!0,object:[{label:"2 ESP 32 CAM boards"},{label:"2 160 degree cameras"},{label:"1 USB board to power your ESPs"},{label:"1 Programmer board(buying an extra is reccomended)"},{label:"IR emitters, resistors, and preferably PCBs"},{label:"Lower gauge wire to power ESPs"},{label:"Higher gauge wire to power IR LEDs"},{label:"3d printer to print mounts. (Buying them from some place like JLCPCB is also an option)"},{label:"Glue of some form, hot glue highly recommended."}]},_=i('

Build Guide

This page will contain a step-by-step assembly guide

This guide provides a walkthrough on the assembly of a wireless eye tracking.

Nevertheless, it's worth noting that these instructions are also mostly applicable to those who are using wired trackers.

Step 1: Make sure your have read the Things to know before you start guide

This will give you a basic overview of the project's status and what to expect currently.

Step 2: Order all the parts listed on our Parts list

Please take note of the fact that hardware still may change, although with more developments it seems like we are going to stick with current hardware.

Step 3: Wait for things to arrive

Long shipping times from China are f u n. Please allow anywhere from 2 weeks to 2 months for everything to arrive.

Step 4: Gather up all of your hardware

Make sure you have at least the following:

',12),m=e("h2",{id:"step-5-install-external-antennas-or-shield-esp-antenna-with-an-antistatic-bag",tabindex:"-1"},[n("Step 5: Install external antennas or shield ESP antenna with an antistatic bag "),e("a",{class:"header-anchor",href:"#step-5-install-external-antennas-or-shield-esp-antenna-with-an-antistatic-bag","aria-label":'Permalink to "Step 5: Install external antennas or shield ESP antenna with an antistatic bag"'},"​")],-1),f=e("p",null,"Some ESP-CAM boards have issues with signal integrity, there are 2 things you can do to help/solve the issues.",-1),g=e("p",null,"The first option is to use an external antenna.",-1),w=e("p",null,[n("This is the best solution when it comes to the final result. If you have Vive/Tundra trackers, this is a "),e("strong",null,"REQUIRED"),n(" step. The interference from the trackers will make your ESP stream unusable. An antistatic bag does not help in this case. Unfortunately, removing the antenna is not super easy, you have to either move a resistor or, remove it and bridge 2 solder pads. The image attached below shows the orientation of the pads that need to be connected for which mode. You can not bridge all connections and have both antennas active at the same time. The 0-ohm resistor does not need to be on the board, you can simply bridge the connections.")],-1),b=e("p",null,"Below is an example of bridging the connections and attaching an antenna.",-1),y=e("div",{align:"center"},[e("iframe",{width:"500",height:"300",src:"https://www.youtube.com/embed/aBTZuvg5sM8",title:"How to add an external antenna to an ESP32-CAM (2 methods)",frameborder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowfullscreen:""})],-1),v=e("p",null,"The second option is to cover the ESP's antenna with an antistatic bag. This can help aid problems, and can completely solve them in some cases. Best of all, it is completely free! However, it should be noted that it performs worse than an external antenna and in certain cases will not solve the issue like if you have Vive trackers.",-1),S=e("div",{align:"center"},[e("iframe",{width:"500",height:"300",src:"https://www.youtube.com/embed/wS4PS3Mw250",title:"Covering an ESP32-CAM's antenna with anti-static bag",frameborder:"0",allow:"accelerometer; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowfullscreen:""})],-1),k=e("h2",{id:"step-6-attach-cameras-to-esps",tabindex:"-1"},[n("Step 6: Attach cameras to ESPs "),e("a",{class:"header-anchor",href:"#step-6-attach-cameras-to-esps","aria-label":'Permalink to "Step 6: Attach cameras to ESPs"'},"​")],-1),P=e("p",null,"Look at your ESP and locate the camera ribbon cable connector as circled below.",-1),T=e("p",null,"Flip the gray part up to allow the cameras to be connected. Do not force it, or shove objects into it to open, fingernails are fine.",-1),E=e("p",null,"Now slide in a camera, please note that the pins are facing down, you should only see the black part.",-1),x=e("p",null,"Once the camera has been slid in, press the gray part of the connector back down. There will be a small amount of force but still be gentle. Note the ammount of black coming out of the connector.",-1),C=e("h2",{id:"step-7-connect-esp-to-the-programmer-to-flash",tabindex:"-1"},[n("Step 7: Connect ESP to the programmer to flash "),e("a",{class:"header-anchor",href:"#step-7-connect-esp-to-the-programmer-to-flash","aria-label":'Permalink to "Step 7: Connect ESP to the programmer to flash"'},"​")],-1),I=e("p",null,"Why flash before you have it assembled? It's simple, to make sure they actually work before you spend time soldering to them.",-1),D=e("p",null,"Slide your ESP into the programmer, and note the USB port goes away from the ESP's camera.",-1),B=i('

Step 8: Configure Visual Studio Code and prepare to flash the firmware

Check out our guide on Setting up VS Code

Once VS Code is set up, move on to the next step.

Step 9: Plug in your ESP and flash the firmware

Our guide, Building and uploading the firmware manually has steps on how to do this. After it has flashed, make sure you get a video stream in your browser, then power it down and flash your next ESP.

Step 10: Connect your power wires to a USB Type-A board

WARNING

Powering from the programmer board will not work correctly. This delivers a lower voltage which results in dim LEDs and video artifacts. These are highly likely mess up tracking.

Get two pairs of wire, preferably two different colors, Cut them to length (56mm in my case) and twist together two for ground and two for 5V. Here I used speaker wire where the copper denotes positive and silver negative. Then, strip the wires to about 3mm of exposed wire.

',8),A=e("h2",{id:"step-11-cut-wires-for-ir-leds",tabindex:"-1"},[n("Step 11: Cut wires for IR LEDs "),e("a",{class:"header-anchor",href:"#step-11-cut-wires-for-ir-leds","aria-label":'Permalink to "Step 11: Cut wires for IR LEDs"'},"​")],-1),V=e("p",null,"To find the optimal length, take a piece of wire and a marker and mock up your wire route, and mark the wire, cut it, then make another at the same size for the other eye. You will need 3 different cuts of wire. 2 short ones for connecting the 2 PCBs per eye together, 2 Longer ones for power, or ground and 2 slightly longer ones for power or ground for the LED near the camera at the bottom.",-1),q=e("p",null,"Once cut, strip them to around 4mm of exposed wire.",-1),L=e("h2",{id:"step-12-twist-the-positive-usb-wire-and-positive-ir-led-wires-together-and-tin-them",tabindex:"-1"},[n("Step 12: Twist the positive USB wire and positive IR LED wires together and tin them "),e("a",{class:"header-anchor",href:"#step-12-twist-the-positive-usb-wire-and-positive-ir-led-wires-together-and-tin-them","aria-label":'Permalink to "Step 12: Twist the positive USB wire and positive IR LED wires together and tin them"'},"​")],-1),N=e("p",null,"Once twisted together add solder to keep them together. This makes the connection much easier.",-1),R=e("h2",{id:"step-13-solder-the-positive-wire-to-esp",tabindex:"-1"},[n("Step 13: Solder the positive wire to ESP "),e("a",{class:"header-anchor",href:"#step-13-solder-the-positive-wire-to-esp","aria-label":'Permalink to "Step 13: Solder the positive wire to ESP"'},"​")],-1),G=e("p",null,"Lay the wire on the outside of the 5V pin and apply solder.",-1),O=i('

Step 14: Solder the negative wire to ESP

Repeat Step 12 but with the negative wires.

INFO

As a user in our discord has learned, you can short the IO12 pin with the ground pin (GND) without issues.

In the below example I put it on the top of the pin, It will be a week-ish joint but that's where glue comes in handy.

',4),U=i('

Step 15: Wire up the 2nd ESP

Repeat steps 12-14 with the 2nd ESP.

Step 16: Prepare to solder IR LED PCBs

Get your magnifying glass out, it's time to solder very smol things.

Gather 4 PCBs, 4 IR LEDs, and either 4 ~350ohm.

',5),W=e("p",null,"Here are the PCB pin-out labels:",-1),H=e("p",null,"LED labels:",-1),M=i('

If you have different LEDs, please consult their datasheet.

Some terminology related to them:

5V: 5-volt power in.

GND: Ground or power out.

AR: After-Resistor this is to be used as the power in on the 2nd PCB in series as resistors are not needed on the 2nd PCB since they are on the 1st one.

SNG: Single resistor, use this as 5V in if you are using only 1 ~700ohm resistor on V3 boards (not recommended).

Negative: This marks the negative side of the LED.

Positive: This marks the positive side of the LED.

Step 18: Solder resistors on PCB V3

You only need 1 PCB to have resistors per eye.

Tin the resistor pads. Note: in this example, I use too much solder, it should only be enough to lightly cover the pad.

',11),j=e("p",null,"Next, grab a resistor and hold it on the pads.",-1),F=e("p",null,"While holding the resistor add solder to your soldering iron and apply it to the resistor.",-1),z=e("p",null,"I like to do this by having a piece of my solder stick up in the air and then put it on my iron that way.",-1),Y=e("p",null,"Flip the PCB and solder the other end.",-1),$=e("p",null,"Now repeat for the other one.",-1),J=e("h2",{id:"solder-leds-on-pcb-v3",tabindex:"-1"},[n("Solder LEDs on PCB V3 "),e("a",{class:"header-anchor",href:"#solder-leds-on-pcb-v3","aria-label":'Permalink to "Solder LEDs on PCB V3"'},"​")],-1),Q=e("p",null,"Tin the LED pads.",-1),Z=e("p",null,"Orientate the LED and hold it in place.",-1),K=e("p",null,"Solder one end.",-1),X=e("p",null,"Flip around and solder the other end.",-1),ee=e("h2",{id:"wire-up-the-pcbs-v3",tabindex:"-1"},[n("Wire up the PCBs V3 "),e("a",{class:"header-anchor",href:"#wire-up-the-pcbs-v3","aria-label":'Permalink to "Wire up the PCBs V3"'},"​")],-1),te=e("div",{class:"warning custom-block"},[e("p",{class:"custom-block-title"},"WARNING"),e("p",null,"Pay attention to the direction of the LEDs on the PCBs.")],-1),oe=e("p",null,"If the green dot is facing inwards toward the text like in the picture below:",-1),ae=e("p",null,"Use the following diagram:",-1),se=e("p",null,"If the green dot is facing away from the text like the picture below:",-1),ne=e("p",null,"Use the following diagram:",-1),ie=i('

Step 19: 3D print mounts

Head to the 3D printed parts section of the parts list here.

Find which parts are for your headset and print them. Some may work better or worse, it is recommended to test all of them if there are multiple, print one of each kind. If none work, try making an edit yourself if you have the skills. If you have made a mount make sure to ping me, Prohurtz#0001, so I can add them to the list.

Having trouble getting them to fit? Try resizing the mounts up, or down a little to ensure a good fit.

There are 2 different types of mounts, how to secure the camera to each type will be documented below.

Type 1

',6),re=e("p",null,"This uses a method of sliding in the camera. Generally, this is the recommended mounting method as it generally requires no glue.",-1),le=e("p",null,"Place the camera into the mount",-1),he=e("p",null,"Slowly apply pressure inwards until the camera snaps into place.",-1),de={align:"center"},pe=e("p",null," There is a good chance of breaking the mount when putting in the camera. If this happens you may be able to save the mount depending on where the break was. A small dab of hot glue around the camera is likely all that is needed. ",-1),ce=e("h3",{id:"type-2",tabindex:"-1"},[n("Type 2 "),e("a",{class:"header-anchor",href:"#type-2","aria-label":'Permalink to "Type 2"'},"​")],-1),ue=e("p",null,"This uses the method of gluing the camera.",-1),_e=e("p",null,"Apply a bit of glue to the bottom of the camera mount.",-1),me=e("p",null,"Place the camera on the mount.",-1),fe=e("h2",{id:"ir-led-mounting",tabindex:"-1"},[n("IR LED mounting "),e("a",{class:"header-anchor",href:"#ir-led-mounting","aria-label":'Permalink to "IR LED mounting"'},"​")],-1),ge=e("p",null,"This again differs from mount to mount.",-1),we=e("p",null,"In some cases, there are designated spots for the LEDs to go.",-1),be=e("p",null,"In others there are no specified spots, you will have to mess around to find what works best. This image shows the optimal/near-optimal position for the LEDs. Hot glue is your friend with this.",-1),ye=e("div",{class:"tip custom-block"},[e("p",{class:"custom-block-title"},"TIP"),e("p",null,"Use rubbing alcohol to easily remove hot glue.")],-1),Ie=JSON.parse('{"title":"Build Guide","description":"","frontmatter":{},"headers":[],"relativePath":"how_to_build/full_build.md","filePath":"how_to_build/full_build.md","lastUpdated":1682366995000}'),ve={name:"how_to_build/full_build.md"},De=Object.assign(ve,{setup(Se){return(ke,Pe)=>(d(),p("div",null,[_,t(h,{options:{...o(u)}},null,8,["options"]),t(a,{options:o(s).image_one},null,8,["options"]),m,f,g,w,t(a,{options:o(s).external_antenna},null,8,["options"]),b,t(a,{options:o(s).external_antenna_resistors},null,8,["options"]),y,v,S,k,P,t(a,{options:o(s).camera_socket},null,8,["options"]),T,t(a,{options:o(s).camera_socket_clip},null,8,["options"]),E,t(a,{options:o(s).camera_cable},null,8,["options"]),x,t(a,{options:o(s).camera_clip_close},null,8,["options"]),C,I,D,t(a,{options:o(s)._7_12_one},null,8,["options"]),B,t(a,{options:o(s)._7_12_two},null,8,["options"]),A,V,q,L,N,t(a,{options:o(s)._7_12_three},null,8,["options"]),R,G,t(a,{options:o(s)._13_18_one},null,8,["options"]),O,t(a,{options:o(s)._13_18_two},null,8,["options"]),U,t(a,{options:o(s)._13_18_three},null,8,["options"]),W,t(a,{options:o(s)._13_18_four},null,8,["options"]),H,t(a,{options:o(s)._13_18_five},null,8,["options"]),M,t(a,{options:o(s)._13_18_six},null,8,["options"]),j,t(a,{options:o(s)._13_18_seven},null,8,["options"]),F,z,t(a,{options:o(s)._13_18_eight},null,8,["options"]),Y,t(a,{options:o(s)._13_18_nine},null,8,["options"]),$,t(a,{options:o(s)._13_18_ten},null,8,["options"]),J,Q,t(a,{options:o(s).end_one},null,8,["options"]),Z,t(a,{options:o(s).end_two},null,8,["options"]),K,t(a,{options:o(s).end_three},null,8,["options"]),X,t(a,{options:o(s).end_four},null,8,["options"]),ee,te,oe,t(a,{options:o(s).end_five},null,8,["options"]),ae,t(a,{options:o(s).end_six},null,8,["options"]),se,t(a,{options:o(s).end_seven},null,8,["options"]),ne,t(a,{options:o(s).end_eight},null,8,["options"]),ie,t(a,{options:o(s).end_nine},null,8,["options"]),re,le,t(a,{options:o(s).end_ten},null,8,["options"]),he,t(a,{options:o(s).end_eleven},null,8,["options"]),e("div",de,[t(r,{options:o(l).end_one},{content:c(()=>[pe]),_:1},8,["options"])]),ce,t(a,{options:o(s).end_twelve},null,8,["options"]),ue,_e,t(a,{options:o(s).end_thirteen},null,8,["options"]),me,t(a,{options:o(s).end_fourteen},null,8,["options"]),fe,ge,we,t(a,{options:o(s).end_fifteen},null,8,["options"]),be,t(a,{options:o(s).end_sixteen},null,8,["options"]),ye]))}});export{Ie as __pageData,De as default}; +import{_ as r,a as l}from"./chunks/index.4ffa16ab.js";import{_ as h}from"./chunks/CheckBoxList.4e2280d2.js";import{_ as a,i as s}from"./chunks/index.d657d51d.js";import{o as d,c as p,C as t,b as o,v as e,y as c,S as i,a as n}from"./chunks/framework.17985c0a.js";const u={state:!0,object:[{label:"2 ESP 32 CAM boards"},{label:"2 160 degree cameras"},{label:"1 USB board to power your ESPs"},{label:"1 Programmer board(buying an extra is reccomended)"},{label:"IR emitters, resistors, and preferably PCBs"},{label:"Lower gauge wire to power ESPs"},{label:"Higher gauge wire to power IR LEDs"},{label:"3d printer to print mounts. (Buying them from some place like JLCPCB is also an option)"},{label:"Glue of some form, hot glue highly recommended."}]},_=i('

Build Guide

This page will contain a step-by-step assembly guide

This guide provides a walkthrough on the assembly of a wireless eye tracking.

Nevertheless, it's worth noting that these instructions are also mostly applicable to those who are using wired trackers.

Step 1: Make sure your have read the Things to know before you start guide

This will give you a basic overview of the project's status and what to expect currently.

Step 2: Order all the parts listed on our Parts list

Please take note of the fact that hardware still may change, although with more developments it seems like we are going to stick with current hardware.

Step 3: Wait for things to arrive

Long shipping times from China are f u n. Please allow anywhere from 2 weeks to 2 months for everything to arrive.

Step 4: Gather up all of your hardware

Make sure you have at least the following:

',12),m=e("h2",{id:"step-5-install-external-antennas-or-shield-esp-antenna-with-an-antistatic-bag",tabindex:"-1"},[n("Step 5: Install external antennas or shield ESP antenna with an antistatic bag "),e("a",{class:"header-anchor",href:"#step-5-install-external-antennas-or-shield-esp-antenna-with-an-antistatic-bag","aria-label":'Permalink to "Step 5: Install external antennas or shield ESP antenna with an antistatic bag"'},"​")],-1),f=e("p",null,"Some ESP-CAM boards have issues with signal integrity, there are 2 things you can do to help/solve the issues.",-1),g=e("p",null,"The first option is to use an external antenna.",-1),w=e("p",null,[n("This is the best solution when it comes to the final result. If you have Vive/Tundra trackers, this is a "),e("strong",null,"REQUIRED"),n(" step. The interference from the trackers will make your ESP stream unusable. An antistatic bag does not help in this case. Unfortunately, removing the antenna is not super easy, you have to either move a resistor or, remove it and bridge 2 solder pads. The image attached below shows the orientation of the pads that need to be connected for which mode. You can not bridge all connections and have both antennas active at the same time. The 0-ohm resistor does not need to be on the board, you can simply bridge the connections.")],-1),b=e("p",null,"Below is an example of bridging the connections and attaching an antenna.",-1),y=e("div",{align:"center"},[e("iframe",{width:"500",height:"300",src:"https://www.youtube.com/embed/aBTZuvg5sM8",title:"How to add an external antenna to an ESP32-CAM (2 methods)",frameborder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowfullscreen:""})],-1),v=e("p",null,"The second option is to cover the ESP's antenna with an antistatic bag. This can help aid problems, and can completely solve them in some cases. Best of all, it is completely free! However, it should be noted that it performs worse than an external antenna and in certain cases will not solve the issue like if you have Vive trackers.",-1),S=e("div",{align:"center"},[e("iframe",{width:"500",height:"300",src:"https://www.youtube.com/embed/wS4PS3Mw250",title:"Covering an ESP32-CAM's antenna with anti-static bag",frameborder:"0",allow:"accelerometer; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowfullscreen:""})],-1),k=e("h2",{id:"step-6-attach-cameras-to-esps",tabindex:"-1"},[n("Step 6: Attach cameras to ESPs "),e("a",{class:"header-anchor",href:"#step-6-attach-cameras-to-esps","aria-label":'Permalink to "Step 6: Attach cameras to ESPs"'},"​")],-1),P=e("p",null,"Look at your ESP and locate the camera ribbon cable connector as circled below.",-1),T=e("p",null,"Flip the gray part up to allow the cameras to be connected. Do not force it, or shove objects into it to open, fingernails are fine.",-1),E=e("p",null,"Now slide in a camera, please note that the pins are facing down, you should only see the black part.",-1),x=e("p",null,"Once the camera has been slid in, press the gray part of the connector back down. There will be a small amount of force but still be gentle. Note the ammount of black coming out of the connector.",-1),C=e("h2",{id:"step-7-connect-esp-to-the-programmer-to-flash",tabindex:"-1"},[n("Step 7: Connect ESP to the programmer to flash "),e("a",{class:"header-anchor",href:"#step-7-connect-esp-to-the-programmer-to-flash","aria-label":'Permalink to "Step 7: Connect ESP to the programmer to flash"'},"​")],-1),I=e("p",null,"Why flash before you have it assembled? It's simple, to make sure they actually work before you spend time soldering to them.",-1),D=e("p",null,"Slide your ESP into the programmer, and note the USB port goes away from the ESP's camera.",-1),A=i('

Step 8: Configure Visual Studio Code and prepare to flash the firmware

Check out our guide on Setting up VS Code

Once VS Code is set up, move on to the next step.

Step 9: Plug in your ESP and flash the firmware

Our guide, Building and uploading the firmware manually has steps on how to do this. After it has flashed, make sure you get a video stream in your browser, then power it down and flash your next ESP.

Step 10: Connect your power wires to a USB Type-A board

WARNING

Powering from the programmer board will not work correctly. This delivers a lower voltage which results in dim LEDs and video artifacts. These are highly likely mess up tracking.

Get two pairs of wire, preferably two different colors, Cut them to length (56mm in my case) and twist together two for ground and two for 5V. Here I used speaker wire where the copper denotes positive and silver negative. Then, strip the wires to about 3mm of exposed wire.

',8),B=e("h2",{id:"step-11-cut-wires-for-ir-leds",tabindex:"-1"},[n("Step 11: Cut wires for IR LEDs "),e("a",{class:"header-anchor",href:"#step-11-cut-wires-for-ir-leds","aria-label":'Permalink to "Step 11: Cut wires for IR LEDs"'},"​")],-1),V=e("p",null,"To find the optimal length, take a piece of wire and a marker and mock up your wire route, and mark the wire, cut it, then make another at the same size for the other eye. You will need 3 different cuts of wire. 2 short ones for connecting the 2 PCBs per eye together, 2 Longer ones for power, or ground and 2 slightly longer ones for power or ground for the LED near the camera at the bottom.",-1),q=e("p",null,"Once cut, strip them to around 4mm of exposed wire.",-1),L=e("h2",{id:"step-12-twist-the-positive-usb-wire-and-positive-ir-led-wires-together-and-tin-them",tabindex:"-1"},[n("Step 12: Twist the positive USB wire and positive IR LED wires together and tin them "),e("a",{class:"header-anchor",href:"#step-12-twist-the-positive-usb-wire-and-positive-ir-led-wires-together-and-tin-them","aria-label":'Permalink to "Step 12: Twist the positive USB wire and positive IR LED wires together and tin them"'},"​")],-1),N=e("p",null,"Once twisted together add solder to keep them together. This makes the connection much easier.",-1),R=e("h2",{id:"step-13-solder-the-positive-wire-to-esp",tabindex:"-1"},[n("Step 13: Solder the positive wire to ESP "),e("a",{class:"header-anchor",href:"#step-13-solder-the-positive-wire-to-esp","aria-label":'Permalink to "Step 13: Solder the positive wire to ESP"'},"​")],-1),G=e("p",null,"Lay the wire on the outside of the 5V pin and apply solder.",-1),O=i('

Step 14: Solder the negative wire to ESP

Repeat Step 12 but with the negative wires.

INFO

As a user in our discord has learned, you can short the IO12 pin with the ground pin (GND) without issues.

In the below example I put it on the top of the pin, It will be a week-ish joint but that's where glue comes in handy.

',4),U=i('

Step 15: Wire up the 2nd ESP

Repeat steps 12-14 with the 2nd ESP.

Step 16: Prepare to solder IR LED PCBs

Get your magnifying glass out, it's time to solder very smol things.

Gather 4 PCBs, 4 IR LEDs, and either 4 ~350ohm.

',5),W=e("p",null,"Here are the PCB pin-out labels:",-1),H=e("p",null,"LED labels:",-1),M=i('

If you have different LEDs, please consult their datasheet.

Some terminology related to them:

5V: 5-volt power in.

GND: Ground or power out.

AR: After-Resistor this is to be used as the power in on the 2nd PCB in series as resistors are not needed on the 2nd PCB since they are on the 1st one.

SNG: Single resistor, use this as 5V in if you are using only 1 ~700ohm resistor on V3 boards (not recommended).

Negative: This marks the negative side of the LED.

Positive: This marks the positive side of the LED.

Step 18: Solder resistors on PCB V3

You only need 1 PCB to have resistors per eye.

Tin the resistor pads. Note: in this example, I use too much solder, it should only be enough to lightly cover the pad.

',11),j=e("p",null,"Next, grab a resistor and hold it on the pads.",-1),F=e("p",null,"While holding the resistor add solder to your soldering iron and apply it to the resistor.",-1),z=e("p",null,"I like to do this by having a piece of my solder stick up in the air and then put it on my iron that way.",-1),Y=e("p",null,"Flip the PCB and solder the other end.",-1),$=e("p",null,"Now repeat for the other one.",-1),J=e("h2",{id:"solder-leds-on-pcb-v3",tabindex:"-1"},[n("Solder LEDs on PCB V3 "),e("a",{class:"header-anchor",href:"#solder-leds-on-pcb-v3","aria-label":'Permalink to "Solder LEDs on PCB V3"'},"​")],-1),Q=e("p",null,"Tin the LED pads.",-1),Z=e("p",null,"Orientate the LED and hold it in place.",-1),K=e("p",null,"Solder one end.",-1),X=e("p",null,"Flip around and solder the other end.",-1),ee=e("h2",{id:"wire-up-the-pcbs-v3",tabindex:"-1"},[n("Wire up the PCBs V3 "),e("a",{class:"header-anchor",href:"#wire-up-the-pcbs-v3","aria-label":'Permalink to "Wire up the PCBs V3"'},"​")],-1),te=e("div",{class:"warning custom-block"},[e("p",{class:"custom-block-title"},"WARNING"),e("p",null,"Pay attention to the direction of the LEDs on the PCBs.")],-1),oe=e("p",null,"If the green dot is facing inwards toward the text like in the picture below:",-1),ae=e("p",null,"Use the following diagram:",-1),se=e("p",null,"If the green dot is facing away from the text like the picture below:",-1),ne=e("p",null,"Use the following diagram:",-1),ie=i('

Step 19: 3D print mounts

Head to the 3D printed parts section of the parts list here.

Find which parts are for your headset and print them. Some may work better or worse, it is recommended to test all of them if there are multiple, print one of each kind. If none work, try making an edit yourself if you have the skills. If you have made a mount make sure to ping me, Prohurtz#0001, so I can add them to the list.

Having trouble getting them to fit? Try resizing the mounts up, or down a little to ensure a good fit.

There are 2 different types of mounts, how to secure the camera to each type will be documented below.

Type 1

',6),re=e("p",null,"This uses a method of sliding in the camera. Generally, this is the recommended mounting method as it generally requires no glue.",-1),le=e("p",null,"Place the camera into the mount",-1),he=e("p",null,"Slowly apply pressure inwards until the camera snaps into place.",-1),de={align:"center"},pe=e("p",null," There is a good chance of breaking the mount when putting in the camera. If this happens you may be able to save the mount depending on where the break was. A small dab of hot glue around the camera is likely all that is needed. ",-1),ce=e("h3",{id:"type-2",tabindex:"-1"},[n("Type 2 "),e("a",{class:"header-anchor",href:"#type-2","aria-label":'Permalink to "Type 2"'},"​")],-1),ue=e("p",null,"This uses the method of gluing the camera.",-1),_e=e("p",null,"Apply a bit of glue to the bottom of the camera mount.",-1),me=e("p",null,"Place the camera on the mount.",-1),fe=e("h2",{id:"ir-led-mounting",tabindex:"-1"},[n("IR LED mounting "),e("a",{class:"header-anchor",href:"#ir-led-mounting","aria-label":'Permalink to "IR LED mounting"'},"​")],-1),ge=e("p",null,"This again differs from mount to mount.",-1),we=e("p",null,"In some cases, there are designated spots for the LEDs to go.",-1),be=e("p",null,"In others there are no specified spots, you will have to mess around to find what works best. This image shows the optimal/near-optimal position for the LEDs. Hot glue is your friend with this.",-1),ye=e("div",{class:"tip custom-block"},[e("p",{class:"custom-block-title"},"TIP"),e("p",null,"Use rubbing alcohol to easily remove hot glue.")],-1),Ie=JSON.parse('{"title":"Build Guide","description":"","frontmatter":{},"headers":[],"relativePath":"how_to_build/full_build.md","filePath":"how_to_build/full_build.md","lastUpdated":1682366995000}'),ve={name:"how_to_build/full_build.md"},De=Object.assign(ve,{setup(Se){return(ke,Pe)=>(d(),p("div",null,[_,t(h,{options:{...o(u)}},null,8,["options"]),t(a,{options:o(s).image_one},null,8,["options"]),m,f,g,w,t(a,{options:o(s).external_antenna},null,8,["options"]),b,t(a,{options:o(s).external_antenna_resistors},null,8,["options"]),y,v,S,k,P,t(a,{options:o(s).camera_socket},null,8,["options"]),T,t(a,{options:o(s).camera_socket_clip},null,8,["options"]),E,t(a,{options:o(s).camera_cable},null,8,["options"]),x,t(a,{options:o(s).camera_clip_close},null,8,["options"]),C,I,D,t(a,{options:o(s)._7_12_one},null,8,["options"]),A,t(a,{options:o(s)._7_12_two},null,8,["options"]),B,V,q,L,N,t(a,{options:o(s)._7_12_three},null,8,["options"]),R,G,t(a,{options:o(s)._13_18_one},null,8,["options"]),O,t(a,{options:o(s)._13_18_two},null,8,["options"]),U,t(a,{options:o(s)._13_18_three},null,8,["options"]),W,t(a,{options:o(s)._13_18_four},null,8,["options"]),H,t(a,{options:o(s)._13_18_five},null,8,["options"]),M,t(a,{options:o(s)._13_18_six},null,8,["options"]),j,t(a,{options:o(s)._13_18_seven},null,8,["options"]),F,z,t(a,{options:o(s)._13_18_eight},null,8,["options"]),Y,t(a,{options:o(s)._13_18_nine},null,8,["options"]),$,t(a,{options:o(s)._13_18_ten},null,8,["options"]),J,Q,t(a,{options:o(s).end_one},null,8,["options"]),Z,t(a,{options:o(s).end_two},null,8,["options"]),K,t(a,{options:o(s).end_three},null,8,["options"]),X,t(a,{options:o(s).end_four},null,8,["options"]),ee,te,oe,t(a,{options:o(s).end_five},null,8,["options"]),ae,t(a,{options:o(s).end_six},null,8,["options"]),se,t(a,{options:o(s).end_seven},null,8,["options"]),ne,t(a,{options:o(s).end_eight},null,8,["options"]),ie,t(a,{options:o(s).end_nine},null,8,["options"]),re,le,t(a,{options:o(s).end_ten},null,8,["options"]),he,t(a,{options:o(s).end_eleven},null,8,["options"]),e("div",de,[t(r,{options:o(l).end_one},{content:c(()=>[pe]),_:1},8,["options"])]),ce,t(a,{options:o(s).end_twelve},null,8,["options"]),ue,_e,t(a,{options:o(s).end_thirteen},null,8,["options"]),me,t(a,{options:o(s).end_fourteen},null,8,["options"]),fe,ge,we,t(a,{options:o(s).end_fifteen},null,8,["options"]),be,t(a,{options:o(s).end_sixteen},null,8,["options"]),ye]))}});export{Ie as __pageData,De as default}; diff --git a/assets/how_to_build_full_build.md.f2c25978.lean.js b/assets/how_to_build_full_build.md.92660a15.lean.js similarity index 95% rename from assets/how_to_build_full_build.md.f2c25978.lean.js rename to assets/how_to_build_full_build.md.92660a15.lean.js index 37c3716..b049a03 100644 --- a/assets/how_to_build_full_build.md.f2c25978.lean.js +++ b/assets/how_to_build_full_build.md.92660a15.lean.js @@ -1 +1 @@ -import{_ as r,a as l}from"./chunks/index.3b745ef0.js";import{_ as h}from"./chunks/CheckBoxList.78ea8d78.js";import{_ as a,i as s}from"./chunks/index.9f7265df.js";import{o as d,c as p,G as t,b as o,z as e,B as c,V as i,a as n}from"./chunks/framework.7384f92b.js";const u={state:!0,object:[{label:"2 ESP 32 CAM boards"},{label:"2 160 degree cameras"},{label:"1 USB board to power your ESPs"},{label:"1 Programmer board(buying an extra is reccomended)"},{label:"IR emitters, resistors, and preferably PCBs"},{label:"Lower gauge wire to power ESPs"},{label:"Higher gauge wire to power IR LEDs"},{label:"3d printer to print mounts. (Buying them from some place like JLCPCB is also an option)"},{label:"Glue of some form, hot glue highly recommended."}]},_=i("",12),m=e("h2",{id:"step-5-install-external-antennas-or-shield-esp-antenna-with-an-antistatic-bag",tabindex:"-1"},[n("Step 5: Install external antennas or shield ESP antenna with an antistatic bag "),e("a",{class:"header-anchor",href:"#step-5-install-external-antennas-or-shield-esp-antenna-with-an-antistatic-bag","aria-label":'Permalink to "Step 5: Install external antennas or shield ESP antenna with an antistatic bag"'},"​")],-1),f=e("p",null,"Some ESP-CAM boards have issues with signal integrity, there are 2 things you can do to help/solve the issues.",-1),g=e("p",null,"The first option is to use an external antenna.",-1),w=e("p",null,[n("This is the best solution when it comes to the final result. If you have Vive/Tundra trackers, this is a "),e("strong",null,"REQUIRED"),n(" step. The interference from the trackers will make your ESP stream unusable. An antistatic bag does not help in this case. Unfortunately, removing the antenna is not super easy, you have to either move a resistor or, remove it and bridge 2 solder pads. The image attached below shows the orientation of the pads that need to be connected for which mode. You can not bridge all connections and have both antennas active at the same time. The 0-ohm resistor does not need to be on the board, you can simply bridge the connections.")],-1),b=e("p",null,"Below is an example of bridging the connections and attaching an antenna.",-1),y=e("div",{align:"center"},[e("iframe",{width:"500",height:"300",src:"https://www.youtube.com/embed/aBTZuvg5sM8",title:"How to add an external antenna to an ESP32-CAM (2 methods)",frameborder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowfullscreen:""})],-1),v=e("p",null,"The second option is to cover the ESP's antenna with an antistatic bag. This can help aid problems, and can completely solve them in some cases. Best of all, it is completely free! However, it should be noted that it performs worse than an external antenna and in certain cases will not solve the issue like if you have Vive trackers.",-1),S=e("div",{align:"center"},[e("iframe",{width:"500",height:"300",src:"https://www.youtube.com/embed/wS4PS3Mw250",title:"Covering an ESP32-CAM's antenna with anti-static bag",frameborder:"0",allow:"accelerometer; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowfullscreen:""})],-1),k=e("h2",{id:"step-6-attach-cameras-to-esps",tabindex:"-1"},[n("Step 6: Attach cameras to ESPs "),e("a",{class:"header-anchor",href:"#step-6-attach-cameras-to-esps","aria-label":'Permalink to "Step 6: Attach cameras to ESPs"'},"​")],-1),P=e("p",null,"Look at your ESP and locate the camera ribbon cable connector as circled below.",-1),T=e("p",null,"Flip the gray part up to allow the cameras to be connected. Do not force it, or shove objects into it to open, fingernails are fine.",-1),E=e("p",null,"Now slide in a camera, please note that the pins are facing down, you should only see the black part.",-1),x=e("p",null,"Once the camera has been slid in, press the gray part of the connector back down. There will be a small amount of force but still be gentle. Note the ammount of black coming out of the connector.",-1),C=e("h2",{id:"step-7-connect-esp-to-the-programmer-to-flash",tabindex:"-1"},[n("Step 7: Connect ESP to the programmer to flash "),e("a",{class:"header-anchor",href:"#step-7-connect-esp-to-the-programmer-to-flash","aria-label":'Permalink to "Step 7: Connect ESP to the programmer to flash"'},"​")],-1),I=e("p",null,"Why flash before you have it assembled? It's simple, to make sure they actually work before you spend time soldering to them.",-1),D=e("p",null,"Slide your ESP into the programmer, and note the USB port goes away from the ESP's camera.",-1),B=i("",8),A=e("h2",{id:"step-11-cut-wires-for-ir-leds",tabindex:"-1"},[n("Step 11: Cut wires for IR LEDs "),e("a",{class:"header-anchor",href:"#step-11-cut-wires-for-ir-leds","aria-label":'Permalink to "Step 11: Cut wires for IR LEDs"'},"​")],-1),V=e("p",null,"To find the optimal length, take a piece of wire and a marker and mock up your wire route, and mark the wire, cut it, then make another at the same size for the other eye. You will need 3 different cuts of wire. 2 short ones for connecting the 2 PCBs per eye together, 2 Longer ones for power, or ground and 2 slightly longer ones for power or ground for the LED near the camera at the bottom.",-1),q=e("p",null,"Once cut, strip them to around 4mm of exposed wire.",-1),L=e("h2",{id:"step-12-twist-the-positive-usb-wire-and-positive-ir-led-wires-together-and-tin-them",tabindex:"-1"},[n("Step 12: Twist the positive USB wire and positive IR LED wires together and tin them "),e("a",{class:"header-anchor",href:"#step-12-twist-the-positive-usb-wire-and-positive-ir-led-wires-together-and-tin-them","aria-label":'Permalink to "Step 12: Twist the positive USB wire and positive IR LED wires together and tin them"'},"​")],-1),N=e("p",null,"Once twisted together add solder to keep them together. This makes the connection much easier.",-1),R=e("h2",{id:"step-13-solder-the-positive-wire-to-esp",tabindex:"-1"},[n("Step 13: Solder the positive wire to ESP "),e("a",{class:"header-anchor",href:"#step-13-solder-the-positive-wire-to-esp","aria-label":'Permalink to "Step 13: Solder the positive wire to ESP"'},"​")],-1),G=e("p",null,"Lay the wire on the outside of the 5V pin and apply solder.",-1),O=i("",4),U=i("",5),W=e("p",null,"Here are the PCB pin-out labels:",-1),H=e("p",null,"LED labels:",-1),M=i("",11),j=e("p",null,"Next, grab a resistor and hold it on the pads.",-1),F=e("p",null,"While holding the resistor add solder to your soldering iron and apply it to the resistor.",-1),z=e("p",null,"I like to do this by having a piece of my solder stick up in the air and then put it on my iron that way.",-1),Y=e("p",null,"Flip the PCB and solder the other end.",-1),$=e("p",null,"Now repeat for the other one.",-1),J=e("h2",{id:"solder-leds-on-pcb-v3",tabindex:"-1"},[n("Solder LEDs on PCB V3 "),e("a",{class:"header-anchor",href:"#solder-leds-on-pcb-v3","aria-label":'Permalink to "Solder LEDs on PCB V3"'},"​")],-1),Q=e("p",null,"Tin the LED pads.",-1),Z=e("p",null,"Orientate the LED and hold it in place.",-1),K=e("p",null,"Solder one end.",-1),X=e("p",null,"Flip around and solder the other end.",-1),ee=e("h2",{id:"wire-up-the-pcbs-v3",tabindex:"-1"},[n("Wire up the PCBs V3 "),e("a",{class:"header-anchor",href:"#wire-up-the-pcbs-v3","aria-label":'Permalink to "Wire up the PCBs V3"'},"​")],-1),te=e("div",{class:"warning custom-block"},[e("p",{class:"custom-block-title"},"WARNING"),e("p",null,"Pay attention to the direction of the LEDs on the PCBs.")],-1),oe=e("p",null,"If the green dot is facing inwards toward the text like in the picture below:",-1),ae=e("p",null,"Use the following diagram:",-1),se=e("p",null,"If the green dot is facing away from the text like the picture below:",-1),ne=e("p",null,"Use the following diagram:",-1),ie=i("",6),re=e("p",null,"This uses a method of sliding in the camera. Generally, this is the recommended mounting method as it generally requires no glue.",-1),le=e("p",null,"Place the camera into the mount",-1),he=e("p",null,"Slowly apply pressure inwards until the camera snaps into place.",-1),de={align:"center"},pe=e("p",null," There is a good chance of breaking the mount when putting in the camera. If this happens you may be able to save the mount depending on where the break was. A small dab of hot glue around the camera is likely all that is needed. ",-1),ce=e("h3",{id:"type-2",tabindex:"-1"},[n("Type 2 "),e("a",{class:"header-anchor",href:"#type-2","aria-label":'Permalink to "Type 2"'},"​")],-1),ue=e("p",null,"This uses the method of gluing the camera.",-1),_e=e("p",null,"Apply a bit of glue to the bottom of the camera mount.",-1),me=e("p",null,"Place the camera on the mount.",-1),fe=e("h2",{id:"ir-led-mounting",tabindex:"-1"},[n("IR LED mounting "),e("a",{class:"header-anchor",href:"#ir-led-mounting","aria-label":'Permalink to "IR LED mounting"'},"​")],-1),ge=e("p",null,"This again differs from mount to mount.",-1),we=e("p",null,"In some cases, there are designated spots for the LEDs to go.",-1),be=e("p",null,"In others there are no specified spots, you will have to mess around to find what works best. This image shows the optimal/near-optimal position for the LEDs. Hot glue is your friend with this.",-1),ye=e("div",{class:"tip custom-block"},[e("p",{class:"custom-block-title"},"TIP"),e("p",null,"Use rubbing alcohol to easily remove hot glue.")],-1),Ie=JSON.parse('{"title":"Build Guide","description":"","frontmatter":{},"headers":[],"relativePath":"how_to_build/full_build.md","filePath":"how_to_build/full_build.md","lastUpdated":1682366995000}'),ve={name:"how_to_build/full_build.md"},De=Object.assign(ve,{setup(Se){return(ke,Pe)=>(d(),p("div",null,[_,t(h,{options:{...o(u)}},null,8,["options"]),t(a,{options:o(s).image_one},null,8,["options"]),m,f,g,w,t(a,{options:o(s).external_antenna},null,8,["options"]),b,t(a,{options:o(s).external_antenna_resistors},null,8,["options"]),y,v,S,k,P,t(a,{options:o(s).camera_socket},null,8,["options"]),T,t(a,{options:o(s).camera_socket_clip},null,8,["options"]),E,t(a,{options:o(s).camera_cable},null,8,["options"]),x,t(a,{options:o(s).camera_clip_close},null,8,["options"]),C,I,D,t(a,{options:o(s)._7_12_one},null,8,["options"]),B,t(a,{options:o(s)._7_12_two},null,8,["options"]),A,V,q,L,N,t(a,{options:o(s)._7_12_three},null,8,["options"]),R,G,t(a,{options:o(s)._13_18_one},null,8,["options"]),O,t(a,{options:o(s)._13_18_two},null,8,["options"]),U,t(a,{options:o(s)._13_18_three},null,8,["options"]),W,t(a,{options:o(s)._13_18_four},null,8,["options"]),H,t(a,{options:o(s)._13_18_five},null,8,["options"]),M,t(a,{options:o(s)._13_18_six},null,8,["options"]),j,t(a,{options:o(s)._13_18_seven},null,8,["options"]),F,z,t(a,{options:o(s)._13_18_eight},null,8,["options"]),Y,t(a,{options:o(s)._13_18_nine},null,8,["options"]),$,t(a,{options:o(s)._13_18_ten},null,8,["options"]),J,Q,t(a,{options:o(s).end_one},null,8,["options"]),Z,t(a,{options:o(s).end_two},null,8,["options"]),K,t(a,{options:o(s).end_three},null,8,["options"]),X,t(a,{options:o(s).end_four},null,8,["options"]),ee,te,oe,t(a,{options:o(s).end_five},null,8,["options"]),ae,t(a,{options:o(s).end_six},null,8,["options"]),se,t(a,{options:o(s).end_seven},null,8,["options"]),ne,t(a,{options:o(s).end_eight},null,8,["options"]),ie,t(a,{options:o(s).end_nine},null,8,["options"]),re,le,t(a,{options:o(s).end_ten},null,8,["options"]),he,t(a,{options:o(s).end_eleven},null,8,["options"]),e("div",de,[t(r,{options:o(l).end_one},{content:c(()=>[pe]),_:1},8,["options"])]),ce,t(a,{options:o(s).end_twelve},null,8,["options"]),ue,_e,t(a,{options:o(s).end_thirteen},null,8,["options"]),me,t(a,{options:o(s).end_fourteen},null,8,["options"]),fe,ge,we,t(a,{options:o(s).end_fifteen},null,8,["options"]),be,t(a,{options:o(s).end_sixteen},null,8,["options"]),ye]))}});export{Ie as __pageData,De as default}; +import{_ as r,a as l}from"./chunks/index.4ffa16ab.js";import{_ as h}from"./chunks/CheckBoxList.4e2280d2.js";import{_ as a,i as s}from"./chunks/index.d657d51d.js";import{o as d,c as p,C as t,b as o,v as e,y as c,S as i,a as n}from"./chunks/framework.17985c0a.js";const u={state:!0,object:[{label:"2 ESP 32 CAM boards"},{label:"2 160 degree cameras"},{label:"1 USB board to power your ESPs"},{label:"1 Programmer board(buying an extra is reccomended)"},{label:"IR emitters, resistors, and preferably PCBs"},{label:"Lower gauge wire to power ESPs"},{label:"Higher gauge wire to power IR LEDs"},{label:"3d printer to print mounts. (Buying them from some place like JLCPCB is also an option)"},{label:"Glue of some form, hot glue highly recommended."}]},_=i("",12),m=e("h2",{id:"step-5-install-external-antennas-or-shield-esp-antenna-with-an-antistatic-bag",tabindex:"-1"},[n("Step 5: Install external antennas or shield ESP antenna with an antistatic bag "),e("a",{class:"header-anchor",href:"#step-5-install-external-antennas-or-shield-esp-antenna-with-an-antistatic-bag","aria-label":'Permalink to "Step 5: Install external antennas or shield ESP antenna with an antistatic bag"'},"​")],-1),f=e("p",null,"Some ESP-CAM boards have issues with signal integrity, there are 2 things you can do to help/solve the issues.",-1),g=e("p",null,"The first option is to use an external antenna.",-1),w=e("p",null,[n("This is the best solution when it comes to the final result. If you have Vive/Tundra trackers, this is a "),e("strong",null,"REQUIRED"),n(" step. The interference from the trackers will make your ESP stream unusable. An antistatic bag does not help in this case. Unfortunately, removing the antenna is not super easy, you have to either move a resistor or, remove it and bridge 2 solder pads. The image attached below shows the orientation of the pads that need to be connected for which mode. You can not bridge all connections and have both antennas active at the same time. The 0-ohm resistor does not need to be on the board, you can simply bridge the connections.")],-1),b=e("p",null,"Below is an example of bridging the connections and attaching an antenna.",-1),y=e("div",{align:"center"},[e("iframe",{width:"500",height:"300",src:"https://www.youtube.com/embed/aBTZuvg5sM8",title:"How to add an external antenna to an ESP32-CAM (2 methods)",frameborder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowfullscreen:""})],-1),v=e("p",null,"The second option is to cover the ESP's antenna with an antistatic bag. This can help aid problems, and can completely solve them in some cases. Best of all, it is completely free! However, it should be noted that it performs worse than an external antenna and in certain cases will not solve the issue like if you have Vive trackers.",-1),S=e("div",{align:"center"},[e("iframe",{width:"500",height:"300",src:"https://www.youtube.com/embed/wS4PS3Mw250",title:"Covering an ESP32-CAM's antenna with anti-static bag",frameborder:"0",allow:"accelerometer; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowfullscreen:""})],-1),k=e("h2",{id:"step-6-attach-cameras-to-esps",tabindex:"-1"},[n("Step 6: Attach cameras to ESPs "),e("a",{class:"header-anchor",href:"#step-6-attach-cameras-to-esps","aria-label":'Permalink to "Step 6: Attach cameras to ESPs"'},"​")],-1),P=e("p",null,"Look at your ESP and locate the camera ribbon cable connector as circled below.",-1),T=e("p",null,"Flip the gray part up to allow the cameras to be connected. Do not force it, or shove objects into it to open, fingernails are fine.",-1),E=e("p",null,"Now slide in a camera, please note that the pins are facing down, you should only see the black part.",-1),x=e("p",null,"Once the camera has been slid in, press the gray part of the connector back down. There will be a small amount of force but still be gentle. Note the ammount of black coming out of the connector.",-1),C=e("h2",{id:"step-7-connect-esp-to-the-programmer-to-flash",tabindex:"-1"},[n("Step 7: Connect ESP to the programmer to flash "),e("a",{class:"header-anchor",href:"#step-7-connect-esp-to-the-programmer-to-flash","aria-label":'Permalink to "Step 7: Connect ESP to the programmer to flash"'},"​")],-1),I=e("p",null,"Why flash before you have it assembled? It's simple, to make sure they actually work before you spend time soldering to them.",-1),D=e("p",null,"Slide your ESP into the programmer, and note the USB port goes away from the ESP's camera.",-1),A=i("",8),B=e("h2",{id:"step-11-cut-wires-for-ir-leds",tabindex:"-1"},[n("Step 11: Cut wires for IR LEDs "),e("a",{class:"header-anchor",href:"#step-11-cut-wires-for-ir-leds","aria-label":'Permalink to "Step 11: Cut wires for IR LEDs"'},"​")],-1),V=e("p",null,"To find the optimal length, take a piece of wire and a marker and mock up your wire route, and mark the wire, cut it, then make another at the same size for the other eye. You will need 3 different cuts of wire. 2 short ones for connecting the 2 PCBs per eye together, 2 Longer ones for power, or ground and 2 slightly longer ones for power or ground for the LED near the camera at the bottom.",-1),q=e("p",null,"Once cut, strip them to around 4mm of exposed wire.",-1),L=e("h2",{id:"step-12-twist-the-positive-usb-wire-and-positive-ir-led-wires-together-and-tin-them",tabindex:"-1"},[n("Step 12: Twist the positive USB wire and positive IR LED wires together and tin them "),e("a",{class:"header-anchor",href:"#step-12-twist-the-positive-usb-wire-and-positive-ir-led-wires-together-and-tin-them","aria-label":'Permalink to "Step 12: Twist the positive USB wire and positive IR LED wires together and tin them"'},"​")],-1),N=e("p",null,"Once twisted together add solder to keep them together. This makes the connection much easier.",-1),R=e("h2",{id:"step-13-solder-the-positive-wire-to-esp",tabindex:"-1"},[n("Step 13: Solder the positive wire to ESP "),e("a",{class:"header-anchor",href:"#step-13-solder-the-positive-wire-to-esp","aria-label":'Permalink to "Step 13: Solder the positive wire to ESP"'},"​")],-1),G=e("p",null,"Lay the wire on the outside of the 5V pin and apply solder.",-1),O=i("",4),U=i("",5),W=e("p",null,"Here are the PCB pin-out labels:",-1),H=e("p",null,"LED labels:",-1),M=i("",11),j=e("p",null,"Next, grab a resistor and hold it on the pads.",-1),F=e("p",null,"While holding the resistor add solder to your soldering iron and apply it to the resistor.",-1),z=e("p",null,"I like to do this by having a piece of my solder stick up in the air and then put it on my iron that way.",-1),Y=e("p",null,"Flip the PCB and solder the other end.",-1),$=e("p",null,"Now repeat for the other one.",-1),J=e("h2",{id:"solder-leds-on-pcb-v3",tabindex:"-1"},[n("Solder LEDs on PCB V3 "),e("a",{class:"header-anchor",href:"#solder-leds-on-pcb-v3","aria-label":'Permalink to "Solder LEDs on PCB V3"'},"​")],-1),Q=e("p",null,"Tin the LED pads.",-1),Z=e("p",null,"Orientate the LED and hold it in place.",-1),K=e("p",null,"Solder one end.",-1),X=e("p",null,"Flip around and solder the other end.",-1),ee=e("h2",{id:"wire-up-the-pcbs-v3",tabindex:"-1"},[n("Wire up the PCBs V3 "),e("a",{class:"header-anchor",href:"#wire-up-the-pcbs-v3","aria-label":'Permalink to "Wire up the PCBs V3"'},"​")],-1),te=e("div",{class:"warning custom-block"},[e("p",{class:"custom-block-title"},"WARNING"),e("p",null,"Pay attention to the direction of the LEDs on the PCBs.")],-1),oe=e("p",null,"If the green dot is facing inwards toward the text like in the picture below:",-1),ae=e("p",null,"Use the following diagram:",-1),se=e("p",null,"If the green dot is facing away from the text like the picture below:",-1),ne=e("p",null,"Use the following diagram:",-1),ie=i("",6),re=e("p",null,"This uses a method of sliding in the camera. Generally, this is the recommended mounting method as it generally requires no glue.",-1),le=e("p",null,"Place the camera into the mount",-1),he=e("p",null,"Slowly apply pressure inwards until the camera snaps into place.",-1),de={align:"center"},pe=e("p",null," There is a good chance of breaking the mount when putting in the camera. If this happens you may be able to save the mount depending on where the break was. A small dab of hot glue around the camera is likely all that is needed. ",-1),ce=e("h3",{id:"type-2",tabindex:"-1"},[n("Type 2 "),e("a",{class:"header-anchor",href:"#type-2","aria-label":'Permalink to "Type 2"'},"​")],-1),ue=e("p",null,"This uses the method of gluing the camera.",-1),_e=e("p",null,"Apply a bit of glue to the bottom of the camera mount.",-1),me=e("p",null,"Place the camera on the mount.",-1),fe=e("h2",{id:"ir-led-mounting",tabindex:"-1"},[n("IR LED mounting "),e("a",{class:"header-anchor",href:"#ir-led-mounting","aria-label":'Permalink to "IR LED mounting"'},"​")],-1),ge=e("p",null,"This again differs from mount to mount.",-1),we=e("p",null,"In some cases, there are designated spots for the LEDs to go.",-1),be=e("p",null,"In others there are no specified spots, you will have to mess around to find what works best. This image shows the optimal/near-optimal position for the LEDs. Hot glue is your friend with this.",-1),ye=e("div",{class:"tip custom-block"},[e("p",{class:"custom-block-title"},"TIP"),e("p",null,"Use rubbing alcohol to easily remove hot glue.")],-1),Ie=JSON.parse('{"title":"Build Guide","description":"","frontmatter":{},"headers":[],"relativePath":"how_to_build/full_build.md","filePath":"how_to_build/full_build.md","lastUpdated":1682366995000}'),ve={name:"how_to_build/full_build.md"},De=Object.assign(ve,{setup(Se){return(ke,Pe)=>(d(),p("div",null,[_,t(h,{options:{...o(u)}},null,8,["options"]),t(a,{options:o(s).image_one},null,8,["options"]),m,f,g,w,t(a,{options:o(s).external_antenna},null,8,["options"]),b,t(a,{options:o(s).external_antenna_resistors},null,8,["options"]),y,v,S,k,P,t(a,{options:o(s).camera_socket},null,8,["options"]),T,t(a,{options:o(s).camera_socket_clip},null,8,["options"]),E,t(a,{options:o(s).camera_cable},null,8,["options"]),x,t(a,{options:o(s).camera_clip_close},null,8,["options"]),C,I,D,t(a,{options:o(s)._7_12_one},null,8,["options"]),A,t(a,{options:o(s)._7_12_two},null,8,["options"]),B,V,q,L,N,t(a,{options:o(s)._7_12_three},null,8,["options"]),R,G,t(a,{options:o(s)._13_18_one},null,8,["options"]),O,t(a,{options:o(s)._13_18_two},null,8,["options"]),U,t(a,{options:o(s)._13_18_three},null,8,["options"]),W,t(a,{options:o(s)._13_18_four},null,8,["options"]),H,t(a,{options:o(s)._13_18_five},null,8,["options"]),M,t(a,{options:o(s)._13_18_six},null,8,["options"]),j,t(a,{options:o(s)._13_18_seven},null,8,["options"]),F,z,t(a,{options:o(s)._13_18_eight},null,8,["options"]),Y,t(a,{options:o(s)._13_18_nine},null,8,["options"]),$,t(a,{options:o(s)._13_18_ten},null,8,["options"]),J,Q,t(a,{options:o(s).end_one},null,8,["options"]),Z,t(a,{options:o(s).end_two},null,8,["options"]),K,t(a,{options:o(s).end_three},null,8,["options"]),X,t(a,{options:o(s).end_four},null,8,["options"]),ee,te,oe,t(a,{options:o(s).end_five},null,8,["options"]),ae,t(a,{options:o(s).end_six},null,8,["options"]),se,t(a,{options:o(s).end_seven},null,8,["options"]),ne,t(a,{options:o(s).end_eight},null,8,["options"]),ie,t(a,{options:o(s).end_nine},null,8,["options"]),re,le,t(a,{options:o(s).end_ten},null,8,["options"]),he,t(a,{options:o(s).end_eleven},null,8,["options"]),e("div",de,[t(r,{options:o(l).end_one},{content:c(()=>[pe]),_:1},8,["options"])]),ce,t(a,{options:o(s).end_twelve},null,8,["options"]),ue,_e,t(a,{options:o(s).end_thirteen},null,8,["options"]),me,t(a,{options:o(s).end_fourteen},null,8,["options"]),fe,ge,we,t(a,{options:o(s).end_fifteen},null,8,["options"]),be,t(a,{options:o(s).end_sixteen},null,8,["options"]),ye]))}});export{Ie as __pageData,De as default}; diff --git a/assets/how_to_build_parts_list.md.954cc6fc.js b/assets/how_to_build_parts_list.md.3921b9c0.js similarity index 97% rename from assets/how_to_build_parts_list.md.954cc6fc.js rename to assets/how_to_build_parts_list.md.3921b9c0.js index 0f1123c..eb568cf 100644 --- a/assets/how_to_build_parts_list.md.954cc6fc.js +++ b/assets/how_to_build_parts_list.md.3921b9c0.js @@ -1 +1 @@ -import{_ as h,a as d}from"./chunks/index.3b745ef0.js";import{A as w}from"./chunks/Accordion.db4d26c2.js";import{o as t,c as a,F as u,M as c,A as y,B as o,z as e,t as m,C as g,b as i,G as s,a as r,V as _}from"./chunks/framework.7384f92b.js";const k={hmds:[{hmd:"Quest 2",parts:[""],hyper_links:[{url:"https://github.com/EyeTrackVR/EyeTrackVR-Hardware/tree/main/3d_Printed_Mounts/Quest_2/Prohurtz",desc:"★ Camera and IR emitter mount by Prohurtz"},{url:"https://github.com/EyeTrackVR/EyeTrackVR-Hardware/tree/main/3d_Printed_Mounts/Quest_2/lordnathan",desc:"★ ESP mount by lordnathan"},{url:"https://github.com/EyeTrackVR/EyeTrackVR-Hardware/blob/main/3d_Printed_Mounts/Quest_2/Arkfall/EyeTrack_Quest_2_Mount_v10_By_Arkfall.stl",desc:"Camera and IR emitter mount by Arkfall"},{url:"https://github.com/EyeTrackVR/EyeTrackVR-Hardware/blob/main/3d_Printed_Mounts/Quest_2/Arkfall/Quest_2_ESP_Mount_v2_By_Arkfall.stl",desc:"ESP mount by Arkfall"},{url:"https://github.com/EyeTrackVR/EyeTrackVR-Hardware/blob/main/3d_Printed_Mounts/Quest_2/Prohurtz/Quest_2_ESP_Mounts_By_Prohurtz.stl",desc:"ESP mount by Prohurtz"}],link_id:1},{hmd:"Valve Index",parts:[""],hyper_links:[{url:"https://github.com/EyeTrackVR/EyeTrackVR-Hardware/tree/main/3d_Printed_Mounts/Valve_Index/Seaweed",desc:"★ High IPD compatible 160 and 120 degree camera and IR emitter mounts by Seaweed"},{url:"https://github.com/MUTEtheCyberwolf/VALVE-INDEX-DEV-Frunk-1.0/tree/main/3D%20Print%20Files%20STL(Ascii)",desc:"★ ESP frunk mod by MUTE the Cyberwolf"},{url:"https://github.com/EyeTrackVR/EyeTrackVR-Hardware/tree/main/3d_Printed_Mounts/Valve_Index/qdot",desc:"Camera and IR emitter mount by Qdot"},{url:"https://github.com/rrazgriz/IndexEyeTrackVR/tree/main/hardware",desc:"Camera mount by Razgriz"}],link_id:2},{hmd:"Samsung Odyssey +",parts:["ESP mount: Refer to general ESP Mounts"],hyper_links:[{url:"https://github.com/EyeTrackVR/EyeTrackVR-Hardware/blob/main/3d_Printed_Mounts/Samsung_Odyssey%2B/Breakdown/Samsung%20Odyssey%2B%20Left%20by%20Breakdown.stl",desc:"★ Camera and IR emitter mount by Breakdown"}],link_id:3},{hmd:"Quest 1",parts:["ESP mount : Refer to general ESP Mounts"],hyper_links:[{url:"https://github.com/EyeTrackVR/EyeTrackVR-Hardware/blob/main/3d_Printed_Mounts/Quest_1/G0LDJAY/Quest_1_Cam_mount_v5_By_G0LDJAY.stl",desc:"★ Camera and IR emitter mount by G0LDJAY"}],link_id:4},{hmd:"Vive Pro 2",parts:["ESP mount : Refer to general ESP Mounts"],hyper_links:[{url:"https://github.com/EyeTrackVR/EyeTrackVR-Hardware/tree/main/3d_Printed_Mounts/Vive_Pro_2/StormFox",desc:"★ Camera and IR emitter mount by StormFox"},{url:"https://github.com/EyeTrackVR/EyeTrackVR-Hardware/blob/main/3d_Printed_Mounts/Vive_Pro_2/cat_who_loves_pie/Vive_Pro_2_VROptician_by_cat_who_loves_pie.stl",desc:"VROptician camera and IR emitter mount by cat_who_loves_pie"}],link_id:5},{hmd:"General ESP Mounts",parts:[""],hyper_links:[{url:"https://github.com/EyeTrackVR/EyeTrackVR-Hardware/tree/main/3d_Printed_Mounts/General_ESP32-CAM_Mounts",desc:"★ ESP mount by G0LDJAY for general HMD use (use if there are no specific HMD mounts available)"}],link_id:6}]},P={class:"font-semibold text-xl"},E={class:""},S={style:{"list-style":"none"}},x=["href"],v={__name:"PartsList",setup(b){return(p,f)=>(t(),a("div",null,[(t(!0),a(u,null,c(i(k).hmds,n=>(t(),y(w,{class:"mb-4"},{title:o(()=>[e("span",P,m(n.hmd),1)]),content:o(()=>[e("div",null,[e("span",E,[e("blockquote",null,[e("ul",S,[n.hyper_links!=p.NULL&&n.hyper_links!=""?(t(!0),a(u,{key:0},c(n.hyper_links,l=>(t(),a("p",null,[e("a",{href:l.url,target:"_blank"},m(l.desc),9,x)]))),256)):g("",!0),(t(!0),a(u,null,c(n.parts,l=>(t(),a("li",{key:l},m(l),1))),128))])])])])]),_:2},1024))),256))]))}},R=e("h1",{class:"text-[var(--font-accent)]",id:"parts-list",tabindex:"-1"},[r("Parts List "),e("a",{class:"header-anchor",href:"#parts-list","aria-label":'Permalink to "Parts List {.text-[var(--font-accent)]}"'},"​")],-1),T=e("p",null," Please note that no hardware has been fully set in stone, all purchases are at your loss if hardware changes. ",-1),A=e("p",null," It is good practice to buy more than needed in some cases, namely cameras,programmers and ESPs. This reduces the risk of a DOA (dead on arrival) causing a delay. ",-1),V=_('

ESP setup options:

DANGER

There are two primary categories of trackers supported: wireless and wired. It's super important that you really look at all your options and consider your use case before making a decision.

Option 1: Wireless over WiFi 2.4 GHz

This offers a good starting point as the ESP boards are cheaper than wired capable trackers. However, they can be a bit more temperamental and if you are using a wired headset, they start to make less sense.

Pros:

  • Wider user adoption and greater support
  • Low weight, less cables, easier to manage

Cons:

  • Requires two external antennas for optimal streaming quality
  • Requires WiFi 2.4 GHz router or access point in reasonable proximity
  • Risk of radio interference with FBT and other WiFi 2.4 GHz devices
  • ESP32-CAM uses more power and heats up due to radio module power needs

Option 2: Wired over USB Serial (in beta)

This is our latest setup recommended for users with wired headsets such as the Valve Index.

Pros:

  • Much better performance and higher framerates up to 70 FPS with lower latency
  • No conflicts with advanced FBT setups such as Vive or Tundra Trackers
  • Can be wireless or wired
  • Less soldering required

Cons:

  • Requires USB port i.e. on Valve Index and USB hub mounted on your headset
  • Can be more costly

Required parts

With that in mind, here are the required parts for the setup.

Tracker boards:

    • 2x XIAO ESP32-S3 Sense Modules
      Very small size, wireless and wired support, does not require an additional programmer or separate antennas: SeedStudio

    alternatively:

    • 2x Freenove ESP 32-S3 WROOM
      Much larger, price may be higher than the XIAOs, supports wired and wireless as well, does not need a separate programmer, does not support a separate antenna. Amazon
  • A cheaper, wireless only alternative:

    • 2x ESPCAM32 Modules - They are cheaper, requires a separate programmer board, supports only wireless streaming and may require some soldering for attaching separate antennas: AliExpress
      This board also requires a special programmer board in order to flash the firmware. You'll need only one: AliExpress for just programmers or Amazon for 3 ESP32-Cams and programmers without the proper cameras

    • 2x External antennas for ESPs Required if you're running vive/tundra full body tracking or having issues with streaming. See the full build guide on how to configure the ESP board for antenna use.

Cameras

Camera modules:

The cameras that come with the boards will not work, they have an IR filter inside.

The filter can be removed, but doing so may break your cameras. Here's how to do it: https://www.youtube.com/watch?v=QYH-FWvDbDc

DANGER

If you decide to remove the filter, wear eye protection while doing so, the removal of the filter will shatter it.

  • 2x OV2640 160° FOV IR / Night vers 75mm (850nm)

AliExpress

Amazon alternative (note that you will have to manually remove the IR filter)

Things worth noting:

  • There is an experimental option to purchase OV2640 120° FOV cameras and manually remove the IR filters. This can result in a clearer view of the eye, but it's not a default recommendation.

  • If the cameras are Dead on Arrival (DOA), keep in mind that you can swap the lenses with the ones that come with the stock cameras that were included with the ESP32 boards though, they do require extension cables.

  • Optional Ribbon extensions:

Certain mounts may require a cable extension (ex: MUTE's frunk mod) To use a mount like that you will need a cable and a connector for each camera. Headsets like the Quest 2 do not require extensions if the camera boards are mounted at the bottom of the headset, near the facial interface.

Extensions (select 0.5mm pitch type A) AliExpress (200mm for MUTE's)

Connectors (select 24P) Aliexpress

USB Hubs - for if you are building the wired version

  • 1x USB 3.0+ hub Ensure that it is of good quality, lightweight, compact in size, and I suggest including three ports - one for the face tracker and two for ESP32-S3 boards. Ensure that you acquire appropriate USB-A to USB-C adapters wherever required, such as for the Valve Index which has only one USB-A port.

  • 2x USB C cables (as short as possible) to connect both ESPs As the ESP32-S3 has USB-C connectors, you may require some USB-C to USB-A cables depending on your USB hub. It's worth noting that the HTC Face Tracker requires a USB-C port, so you may need to consider this requirement as well.

Wires and adapters

IR emitters

We recommend getting the official kits:

Alternatively you can source the parts for V3 yourself:

DANGER

If they look like something you would find in a TV remote, do NOT use them. Even if you think you can alter them THEY WILL NOT WORK AND PUT YOU AT RISK. If you aren't exactly sure what you are doing, buy them from the LCSC or Digikey link.

DO NOT BUY FOCUSED ONES!

',41),q=e("p",null,"4x Unfocused SMD IR emitters",-1),C=e("p",null," The smaller ones can not be soldered at temps above 245C or they will burn. Low temp solder is recommended. ",-1),I=e("ul",null,[e("li",null,[e("a",{href:"https://www.lcsc.com/product-detail/Infrared-IR-LEDs_XINGLIGHT-XL-3216HIRC-850_C965891.html",target:"_blank",rel:"noreferrer"},"(Recommended) from LCSC here"),r(".")]),e("li",null,[e("a",{href:"https://www.digikey.com/en/products/detail/inolux/IN-P32ZTIR/10384796",target:"_blank",rel:"noreferrer"},"(Alternative) from Digikey here"),r("."),e("br"),r(" The difference between them is the ones from LCSC are rated for lower power, which means in the event of a short or mishap they should be safer, as well as being smaller in footprint, hence why they are recommended.")])],-1),B=e("li",null,[e("p",null,[r("4x IR emitter PCBs (highly recommended) Gerber files and schematics located "),e("a",{href:"https://github.com/EyeTrackVR/EyeTrackVR-Hardware/tree/main/IR%20Emmitter",target:"_blank",rel:"noreferrer"},"here.")])],-1),M=e("li",null,[e("p",null,"4x 350ohm 1206 SMD resistors for IR emitters (If you are not using PCBs for the emitters then buying regular through-hole resistors is acceptable)")],-1),D=e("li",null,[e("p",null,[e("a",{href:"https://www.digikey.com/en/products/detail/stackpole-electronics-inc/RMCF1206FT357R/1759919",target:"_blank",rel:"noreferrer"},"357 ohm Digikey here")])],-1),O=e("li",null,[e("p",null,[e("a",{href:"https://lcsc.com/product-detail/Chip-Resistor-Surface-Mount_BOURNS-CR1206-FX-3480ELF_C205328.html",target:"_blank",rel:"noreferrer"},"348 ohm LCSC here")])],-1),z=e("p",null,"This ensures you get the correct IR emitter parts. If you are a Patreon please check out discount codes available to you, and also check out unit pricing.",-1),H=e("ul",null,[e("li",null,[r("1x Wire to power IR emitters"),e("br"),e("a",{href:"https://www.aliexpress.com/item/3256804720067942.html",target:"_blank",rel:"noreferrer"},"34 AWG AliExpress")])],-1),L=e("h2",{id:"_3d-printed-mounts",tabindex:"-1"},[r("3D Printed Mounts "),e("a",{class:"header-anchor",href:"#_3d-printed-mounts","aria-label":'Permalink to "3D Printed Mounts"'},"​")],-1),F=e("p",null,[r("Mounts with a "),e("code",null,"★"),r(" next to them are the recommended mounts for the respected hmd. This is based on user feedback on what works best for most people.")],-1),W=e("p",null," You'll need both - a mount for the IR emitters and a mount for the camera boards, some files include both, some don't. ",-1),N=_('

Misc parts/tools

AliExpress (Generic)
Amazon (Generic)

  • 2x-4x Heatsinks (Optional) - for the ESP32-CAM AliExpress (14mm for ESP, 8mm for voltage regulator)

Other Headsets

If you own another headset not listed above, that means there are no mounts designed for them yet. If you have basic skills in modeling or think up a solution to mount cams and emitters, please try to make a mount and then let us in the discord know so it can be added here. Any headset that can fit the camera is potentially compatible. If you are willing, give it a shot to design a mount for the rest of the community.

Check out our basic guide on making your own mount here.

',7),U=e("p",null," If you have a headset mount that is not listed above, please let us know in the discord so it can be added here. ",-1),Z=JSON.parse('{"title":"Parts List","description":"","frontmatter":{},"headers":[],"relativePath":"how_to_build/parts_list.md","filePath":"how_to_build/parts_list.md","lastUpdated":1689604501000}'),G={name:"how_to_build/parts_list.md"},J=Object.assign(G,{setup(b){return(p,f)=>(t(),a("div",null,[R,s(h,{options:i(d).parts_list_one},{content:o(()=>[T]),_:1},8,["options"]),s(h,{options:i(d).parts_list_three},{content:o(()=>[A]),_:1},8,["options"]),V,e("ul",null,[e("li",null,[q,s(h,{options:i(d).parts_list_four},{content:o(()=>[C]),_:1},8,["options"]),I]),B,M,D,O]),z,H,L,F,s(h,{options:i(d).parts_list_three},{content:o(()=>[W]),_:1},8,["options"]),s(v),N,s(h,{options:i(d).parts_list_six},{content:o(()=>[U]),_:1},8,["options"])]))}});export{Z as __pageData,J as default}; +import{_ as h,a as d}from"./chunks/index.4ffa16ab.js";import{A as w}from"./chunks/Accordion.a318d504.js";import{o as t,c as a,F as u,J as c,x as y,y as o,v as e,t as m,z as g,b as i,C as s,a as r,S as _}from"./chunks/framework.17985c0a.js";const k={hmds:[{hmd:"Quest 2",parts:[""],hyper_links:[{url:"https://github.com/EyeTrackVR/EyeTrackVR-Hardware/tree/main/3d_Printed_Mounts/Quest_2/Prohurtz",desc:"★ Camera and IR emitter mount by Prohurtz"},{url:"https://github.com/EyeTrackVR/EyeTrackVR-Hardware/tree/main/3d_Printed_Mounts/Quest_2/lordnathan",desc:"★ ESP mount by lordnathan"},{url:"https://github.com/EyeTrackVR/EyeTrackVR-Hardware/blob/main/3d_Printed_Mounts/Quest_2/Arkfall/EyeTrack_Quest_2_Mount_v10_By_Arkfall.stl",desc:"Camera and IR emitter mount by Arkfall"},{url:"https://github.com/EyeTrackVR/EyeTrackVR-Hardware/blob/main/3d_Printed_Mounts/Quest_2/Arkfall/Quest_2_ESP_Mount_v2_By_Arkfall.stl",desc:"ESP mount by Arkfall"},{url:"https://github.com/EyeTrackVR/EyeTrackVR-Hardware/blob/main/3d_Printed_Mounts/Quest_2/Prohurtz/Quest_2_ESP_Mounts_By_Prohurtz.stl",desc:"ESP mount by Prohurtz"}],link_id:1},{hmd:"Valve Index",parts:[""],hyper_links:[{url:"https://github.com/EyeTrackVR/EyeTrackVR-Hardware/tree/main/3d_Printed_Mounts/Valve_Index/Seaweed",desc:"★ High IPD compatible 160 and 120 degree camera and IR emitter mounts by Seaweed"},{url:"https://github.com/MUTEtheCyberwolf/VALVE-INDEX-DEV-Frunk-1.0/tree/main/3D%20Print%20Files%20STL(Ascii)",desc:"★ ESP frunk mod by MUTE the Cyberwolf"},{url:"https://github.com/EyeTrackVR/EyeTrackVR-Hardware/tree/main/3d_Printed_Mounts/Valve_Index/qdot",desc:"Camera and IR emitter mount by Qdot"},{url:"https://github.com/rrazgriz/IndexEyeTrackVR/tree/main/hardware",desc:"Camera mount by Razgriz"}],link_id:2},{hmd:"Samsung Odyssey +",parts:["ESP mount: Refer to general ESP Mounts"],hyper_links:[{url:"https://github.com/EyeTrackVR/EyeTrackVR-Hardware/blob/main/3d_Printed_Mounts/Samsung_Odyssey%2B/Breakdown/Samsung%20Odyssey%2B%20Left%20by%20Breakdown.stl",desc:"★ Camera and IR emitter mount by Breakdown"}],link_id:3},{hmd:"Quest 1",parts:["ESP mount : Refer to general ESP Mounts"],hyper_links:[{url:"https://github.com/EyeTrackVR/EyeTrackVR-Hardware/blob/main/3d_Printed_Mounts/Quest_1/G0LDJAY/Quest_1_Cam_mount_v5_By_G0LDJAY.stl",desc:"★ Camera and IR emitter mount by G0LDJAY"}],link_id:4},{hmd:"Vive Pro 2",parts:["ESP mount : Refer to general ESP Mounts"],hyper_links:[{url:"https://github.com/EyeTrackVR/EyeTrackVR-Hardware/tree/main/3d_Printed_Mounts/Vive_Pro_2/StormFox",desc:"★ Camera and IR emitter mount by StormFox"},{url:"https://github.com/EyeTrackVR/EyeTrackVR-Hardware/blob/main/3d_Printed_Mounts/Vive_Pro_2/cat_who_loves_pie/Vive_Pro_2_VROptician_by_cat_who_loves_pie.stl",desc:"VROptician camera and IR emitter mount by cat_who_loves_pie"}],link_id:5},{hmd:"General ESP Mounts",parts:[""],hyper_links:[{url:"https://github.com/EyeTrackVR/EyeTrackVR-Hardware/tree/main/3d_Printed_Mounts/General_ESP32-CAM_Mounts",desc:"★ ESP mount by G0LDJAY for general HMD use (use if there are no specific HMD mounts available)"}],link_id:6}]},P={class:"font-semibold text-xl"},E={class:""},S={style:{"list-style":"none"}},x=["href"],v={__name:"PartsList",setup(b){return(p,f)=>(t(),a("div",null,[(t(!0),a(u,null,c(i(k).hmds,n=>(t(),y(w,{class:"mb-4"},{title:o(()=>[e("span",P,m(n.hmd),1)]),content:o(()=>[e("div",null,[e("span",E,[e("blockquote",null,[e("ul",S,[n.hyper_links!=p.NULL&&n.hyper_links!=""?(t(!0),a(u,{key:0},c(n.hyper_links,l=>(t(),a("p",null,[e("a",{href:l.url,target:"_blank"},m(l.desc),9,x)]))),256)):g("",!0),(t(!0),a(u,null,c(n.parts,l=>(t(),a("li",{key:l},m(l),1))),128))])])])])]),_:2},1024))),256))]))}},R=e("h1",{class:"text-[var(--font-accent)]",id:"parts-list",tabindex:"-1"},[r("Parts List "),e("a",{class:"header-anchor",href:"#parts-list","aria-label":'Permalink to "Parts List {.text-[var(--font-accent)]}"'},"​")],-1),T=e("p",null," Please note that no hardware has been fully set in stone, all purchases are at your loss if hardware changes. ",-1),A=e("p",null," It is good practice to buy more than needed in some cases, namely cameras,programmers and ESPs. This reduces the risk of a DOA (dead on arrival) causing a delay. ",-1),V=_('

ESP setup options:

DANGER

There are two primary categories of trackers supported: wireless and wired. It's super important that you really look at all your options and consider your use case before making a decision.

Option 1: Wireless over WiFi 2.4 GHz

This offers a good starting point as the ESP boards are cheaper than wired capable trackers. However, they can be a bit more temperamental and if you are using a wired headset, they start to make less sense.

Pros:

  • Wider user adoption and greater support
  • Low weight, less cables, easier to manage

Cons:

  • Requires two external antennas for optimal streaming quality
  • Requires WiFi 2.4 GHz router or access point in reasonable proximity
  • Risk of radio interference with FBT and other WiFi 2.4 GHz devices
  • ESP32-CAM uses more power and heats up due to radio module power needs

Option 2: Wired over USB Serial (in beta)

This is our latest setup recommended for users with wired headsets such as the Valve Index.

Pros:

  • Much better performance and higher framerates up to 70 FPS with lower latency
  • No conflicts with advanced FBT setups such as Vive or Tundra Trackers
  • Can be wireless or wired
  • Less soldering required

Cons:

  • Requires USB port i.e. on Valve Index and USB hub mounted on your headset
  • Can be more costly

Required parts

With that in mind, here are the required parts for the setup.

Tracker boards:

    • 2x XIAO ESP32-S3 Sense Modules
      Very small size, wireless and wired support, does not require an additional programmer or separate antennas: SeedStudio

    alternatively:

    • 2x Freenove ESP 32-S3 WROOM
      Much larger, price may be higher than the XIAOs, supports wired and wireless as well, does not need a separate programmer, does not support a separate antenna. Amazon
  • A cheaper, wireless only alternative:

    • 2x ESPCAM32 Modules - They are cheaper, requires a separate programmer board, supports only wireless streaming and may require some soldering for attaching separate antennas: AliExpress
      This board also requires a special programmer board in order to flash the firmware. You'll need only one: AliExpress for just programmers or Amazon for 3 ESP32-Cams and programmers without the proper cameras

    • 2x External antennas for ESPs Required if you're running vive/tundra full body tracking or having issues with streaming. See the full build guide on how to configure the ESP board for antenna use.

Cameras

Camera modules:

The cameras that come with the boards will not work, they have an IR filter inside.

The filter can be removed, but doing so may break your cameras. Here's how to do it: https://www.youtube.com/watch?v=QYH-FWvDbDc

DANGER

If you decide to remove the filter, wear eye protection while doing so, the removal of the filter will shatter it.

  • 2x OV2640 160° FOV IR / Night vers 75mm (850nm)

AliExpress

Amazon alternative (note that you will have to manually remove the IR filter)

Things worth noting:

  • There is an experimental option to purchase OV2640 120° FOV cameras and manually remove the IR filters. This can result in a clearer view of the eye, but it's not a default recommendation.

  • If the cameras are Dead on Arrival (DOA), keep in mind that you can swap the lenses with the ones that come with the stock cameras that were included with the ESP32 boards though, they do require extension cables.

  • Optional Ribbon extensions:

Certain mounts may require a cable extension (ex: MUTE's frunk mod) To use a mount like that you will need a cable and a connector for each camera. Headsets like the Quest 2 do not require extensions if the camera boards are mounted at the bottom of the headset, near the facial interface.

Extensions (select 0.5mm pitch type A) AliExpress (200mm for MUTE's)

Connectors (select 24P) Aliexpress

USB Hubs - for if you are building the wired version

  • 1x USB 3.0+ hub Ensure that it is of good quality, lightweight, compact in size, and I suggest including three ports - one for the face tracker and two for ESP32-S3 boards. Ensure that you acquire appropriate USB-A to USB-C adapters wherever required, such as for the Valve Index which has only one USB-A port.

  • 2x USB C cables (as short as possible) to connect both ESPs As the ESP32-S3 has USB-C connectors, you may require some USB-C to USB-A cables depending on your USB hub. It's worth noting that the HTC Face Tracker requires a USB-C port, so you may need to consider this requirement as well.

Wires and adapters

IR emitters

We recommend getting the official kits:

Alternatively you can source the parts for V3 yourself:

DANGER

If they look like something you would find in a TV remote, do NOT use them. Even if you think you can alter them THEY WILL NOT WORK AND PUT YOU AT RISK. If you aren't exactly sure what you are doing, buy them from the LCSC or Digikey link.

DO NOT BUY FOCUSED ONES!

',41),q=e("p",null,"4x Unfocused SMD IR emitters",-1),C=e("p",null," The smaller ones can not be soldered at temps above 245C or they will burn. Low temp solder is recommended. ",-1),I=e("ul",null,[e("li",null,[e("a",{href:"https://www.lcsc.com/product-detail/Infrared-IR-LEDs_XINGLIGHT-XL-3216HIRC-850_C965891.html",target:"_blank",rel:"noreferrer"},"(Recommended) from LCSC here"),r(".")]),e("li",null,[e("a",{href:"https://www.digikey.com/en/products/detail/inolux/IN-P32ZTIR/10384796",target:"_blank",rel:"noreferrer"},"(Alternative) from Digikey here"),r("."),e("br"),r(" The difference between them is the ones from LCSC are rated for lower power, which means in the event of a short or mishap they should be safer, as well as being smaller in footprint, hence why they are recommended.")])],-1),B=e("li",null,[e("p",null,[r("4x IR emitter PCBs (highly recommended) Gerber files and schematics located "),e("a",{href:"https://github.com/EyeTrackVR/EyeTrackVR-Hardware/tree/main/IR%20Emmitter",target:"_blank",rel:"noreferrer"},"here.")])],-1),M=e("li",null,[e("p",null,"4x 350ohm 1206 SMD resistors for IR emitters (If you are not using PCBs for the emitters then buying regular through-hole resistors is acceptable)")],-1),D=e("li",null,[e("p",null,[e("a",{href:"https://www.digikey.com/en/products/detail/stackpole-electronics-inc/RMCF1206FT357R/1759919",target:"_blank",rel:"noreferrer"},"357 ohm Digikey here")])],-1),O=e("li",null,[e("p",null,[e("a",{href:"https://lcsc.com/product-detail/Chip-Resistor-Surface-Mount_BOURNS-CR1206-FX-3480ELF_C205328.html",target:"_blank",rel:"noreferrer"},"348 ohm LCSC here")])],-1),z=e("p",null,"This ensures you get the correct IR emitter parts. If you are a Patreon please check out discount codes available to you, and also check out unit pricing.",-1),H=e("ul",null,[e("li",null,[r("1x Wire to power IR emitters"),e("br"),e("a",{href:"https://www.aliexpress.com/item/3256804720067942.html",target:"_blank",rel:"noreferrer"},"34 AWG AliExpress")])],-1),L=e("h2",{id:"_3d-printed-mounts",tabindex:"-1"},[r("3D Printed Mounts "),e("a",{class:"header-anchor",href:"#_3d-printed-mounts","aria-label":'Permalink to "3D Printed Mounts"'},"​")],-1),F=e("p",null,[r("Mounts with a "),e("code",null,"★"),r(" next to them are the recommended mounts for the respected hmd. This is based on user feedback on what works best for most people.")],-1),W=e("p",null," You'll need both - a mount for the IR emitters and a mount for the camera boards, some files include both, some don't. ",-1),N=_('

Misc parts/tools

AliExpress (Generic)
Amazon (Generic)

  • 2x-4x Heatsinks (Optional) - for the ESP32-CAM AliExpress (14mm for ESP, 8mm for voltage regulator)

Other Headsets

If you own another headset not listed above, that means there are no mounts designed for them yet. If you have basic skills in modeling or think up a solution to mount cams and emitters, please try to make a mount and then let us in the discord know so it can be added here. Any headset that can fit the camera is potentially compatible. If you are willing, give it a shot to design a mount for the rest of the community.

Check out our basic guide on making your own mount here.

',7),U=e("p",null," If you have a headset mount that is not listed above, please let us know in the discord so it can be added here. ",-1),J=JSON.parse('{"title":"Parts List","description":"","frontmatter":{},"headers":[],"relativePath":"how_to_build/parts_list.md","filePath":"how_to_build/parts_list.md","lastUpdated":1689604501000}'),G={name:"how_to_build/parts_list.md"},Z=Object.assign(G,{setup(b){return(p,f)=>(t(),a("div",null,[R,s(h,{options:i(d).parts_list_one},{content:o(()=>[T]),_:1},8,["options"]),s(h,{options:i(d).parts_list_three},{content:o(()=>[A]),_:1},8,["options"]),V,e("ul",null,[e("li",null,[q,s(h,{options:i(d).parts_list_four},{content:o(()=>[C]),_:1},8,["options"]),I]),B,M,D,O]),z,H,L,F,s(h,{options:i(d).parts_list_three},{content:o(()=>[W]),_:1},8,["options"]),s(v),N,s(h,{options:i(d).parts_list_six},{content:o(()=>[U]),_:1},8,["options"])]))}});export{J as __pageData,Z as default}; diff --git a/assets/how_to_build_parts_list.md.954cc6fc.lean.js b/assets/how_to_build_parts_list.md.3921b9c0.lean.js similarity index 93% rename from assets/how_to_build_parts_list.md.954cc6fc.lean.js rename to assets/how_to_build_parts_list.md.3921b9c0.lean.js index b184d15..785dae8 100644 --- a/assets/how_to_build_parts_list.md.954cc6fc.lean.js +++ b/assets/how_to_build_parts_list.md.3921b9c0.lean.js @@ -1 +1 @@ -import{_ as h,a as d}from"./chunks/index.3b745ef0.js";import{A as w}from"./chunks/Accordion.db4d26c2.js";import{o as t,c as a,F as u,M as c,A as y,B as o,z as e,t as m,C as g,b as i,G as s,a as r,V as _}from"./chunks/framework.7384f92b.js";const k={hmds:[{hmd:"Quest 2",parts:[""],hyper_links:[{url:"https://github.com/EyeTrackVR/EyeTrackVR-Hardware/tree/main/3d_Printed_Mounts/Quest_2/Prohurtz",desc:"★ Camera and IR emitter mount by Prohurtz"},{url:"https://github.com/EyeTrackVR/EyeTrackVR-Hardware/tree/main/3d_Printed_Mounts/Quest_2/lordnathan",desc:"★ ESP mount by lordnathan"},{url:"https://github.com/EyeTrackVR/EyeTrackVR-Hardware/blob/main/3d_Printed_Mounts/Quest_2/Arkfall/EyeTrack_Quest_2_Mount_v10_By_Arkfall.stl",desc:"Camera and IR emitter mount by Arkfall"},{url:"https://github.com/EyeTrackVR/EyeTrackVR-Hardware/blob/main/3d_Printed_Mounts/Quest_2/Arkfall/Quest_2_ESP_Mount_v2_By_Arkfall.stl",desc:"ESP mount by Arkfall"},{url:"https://github.com/EyeTrackVR/EyeTrackVR-Hardware/blob/main/3d_Printed_Mounts/Quest_2/Prohurtz/Quest_2_ESP_Mounts_By_Prohurtz.stl",desc:"ESP mount by Prohurtz"}],link_id:1},{hmd:"Valve Index",parts:[""],hyper_links:[{url:"https://github.com/EyeTrackVR/EyeTrackVR-Hardware/tree/main/3d_Printed_Mounts/Valve_Index/Seaweed",desc:"★ High IPD compatible 160 and 120 degree camera and IR emitter mounts by Seaweed"},{url:"https://github.com/MUTEtheCyberwolf/VALVE-INDEX-DEV-Frunk-1.0/tree/main/3D%20Print%20Files%20STL(Ascii)",desc:"★ ESP frunk mod by MUTE the Cyberwolf"},{url:"https://github.com/EyeTrackVR/EyeTrackVR-Hardware/tree/main/3d_Printed_Mounts/Valve_Index/qdot",desc:"Camera and IR emitter mount by Qdot"},{url:"https://github.com/rrazgriz/IndexEyeTrackVR/tree/main/hardware",desc:"Camera mount by Razgriz"}],link_id:2},{hmd:"Samsung Odyssey +",parts:["ESP mount: Refer to general ESP Mounts"],hyper_links:[{url:"https://github.com/EyeTrackVR/EyeTrackVR-Hardware/blob/main/3d_Printed_Mounts/Samsung_Odyssey%2B/Breakdown/Samsung%20Odyssey%2B%20Left%20by%20Breakdown.stl",desc:"★ Camera and IR emitter mount by Breakdown"}],link_id:3},{hmd:"Quest 1",parts:["ESP mount : Refer to general ESP Mounts"],hyper_links:[{url:"https://github.com/EyeTrackVR/EyeTrackVR-Hardware/blob/main/3d_Printed_Mounts/Quest_1/G0LDJAY/Quest_1_Cam_mount_v5_By_G0LDJAY.stl",desc:"★ Camera and IR emitter mount by G0LDJAY"}],link_id:4},{hmd:"Vive Pro 2",parts:["ESP mount : Refer to general ESP Mounts"],hyper_links:[{url:"https://github.com/EyeTrackVR/EyeTrackVR-Hardware/tree/main/3d_Printed_Mounts/Vive_Pro_2/StormFox",desc:"★ Camera and IR emitter mount by StormFox"},{url:"https://github.com/EyeTrackVR/EyeTrackVR-Hardware/blob/main/3d_Printed_Mounts/Vive_Pro_2/cat_who_loves_pie/Vive_Pro_2_VROptician_by_cat_who_loves_pie.stl",desc:"VROptician camera and IR emitter mount by cat_who_loves_pie"}],link_id:5},{hmd:"General ESP Mounts",parts:[""],hyper_links:[{url:"https://github.com/EyeTrackVR/EyeTrackVR-Hardware/tree/main/3d_Printed_Mounts/General_ESP32-CAM_Mounts",desc:"★ ESP mount by G0LDJAY for general HMD use (use if there are no specific HMD mounts available)"}],link_id:6}]},P={class:"font-semibold text-xl"},E={class:""},S={style:{"list-style":"none"}},x=["href"],v={__name:"PartsList",setup(b){return(p,f)=>(t(),a("div",null,[(t(!0),a(u,null,c(i(k).hmds,n=>(t(),y(w,{class:"mb-4"},{title:o(()=>[e("span",P,m(n.hmd),1)]),content:o(()=>[e("div",null,[e("span",E,[e("blockquote",null,[e("ul",S,[n.hyper_links!=p.NULL&&n.hyper_links!=""?(t(!0),a(u,{key:0},c(n.hyper_links,l=>(t(),a("p",null,[e("a",{href:l.url,target:"_blank"},m(l.desc),9,x)]))),256)):g("",!0),(t(!0),a(u,null,c(n.parts,l=>(t(),a("li",{key:l},m(l),1))),128))])])])])]),_:2},1024))),256))]))}},R=e("h1",{class:"text-[var(--font-accent)]",id:"parts-list",tabindex:"-1"},[r("Parts List "),e("a",{class:"header-anchor",href:"#parts-list","aria-label":'Permalink to "Parts List {.text-[var(--font-accent)]}"'},"​")],-1),T=e("p",null," Please note that no hardware has been fully set in stone, all purchases are at your loss if hardware changes. ",-1),A=e("p",null," It is good practice to buy more than needed in some cases, namely cameras,programmers and ESPs. This reduces the risk of a DOA (dead on arrival) causing a delay. ",-1),V=_("",41),q=e("p",null,"4x Unfocused SMD IR emitters",-1),C=e("p",null," The smaller ones can not be soldered at temps above 245C or they will burn. Low temp solder is recommended. ",-1),I=e("ul",null,[e("li",null,[e("a",{href:"https://www.lcsc.com/product-detail/Infrared-IR-LEDs_XINGLIGHT-XL-3216HIRC-850_C965891.html",target:"_blank",rel:"noreferrer"},"(Recommended) from LCSC here"),r(".")]),e("li",null,[e("a",{href:"https://www.digikey.com/en/products/detail/inolux/IN-P32ZTIR/10384796",target:"_blank",rel:"noreferrer"},"(Alternative) from Digikey here"),r("."),e("br"),r(" The difference between them is the ones from LCSC are rated for lower power, which means in the event of a short or mishap they should be safer, as well as being smaller in footprint, hence why they are recommended.")])],-1),B=e("li",null,[e("p",null,[r("4x IR emitter PCBs (highly recommended) Gerber files and schematics located "),e("a",{href:"https://github.com/EyeTrackVR/EyeTrackVR-Hardware/tree/main/IR%20Emmitter",target:"_blank",rel:"noreferrer"},"here.")])],-1),M=e("li",null,[e("p",null,"4x 350ohm 1206 SMD resistors for IR emitters (If you are not using PCBs for the emitters then buying regular through-hole resistors is acceptable)")],-1),D=e("li",null,[e("p",null,[e("a",{href:"https://www.digikey.com/en/products/detail/stackpole-electronics-inc/RMCF1206FT357R/1759919",target:"_blank",rel:"noreferrer"},"357 ohm Digikey here")])],-1),O=e("li",null,[e("p",null,[e("a",{href:"https://lcsc.com/product-detail/Chip-Resistor-Surface-Mount_BOURNS-CR1206-FX-3480ELF_C205328.html",target:"_blank",rel:"noreferrer"},"348 ohm LCSC here")])],-1),z=e("p",null,"This ensures you get the correct IR emitter parts. If you are a Patreon please check out discount codes available to you, and also check out unit pricing.",-1),H=e("ul",null,[e("li",null,[r("1x Wire to power IR emitters"),e("br"),e("a",{href:"https://www.aliexpress.com/item/3256804720067942.html",target:"_blank",rel:"noreferrer"},"34 AWG AliExpress")])],-1),L=e("h2",{id:"_3d-printed-mounts",tabindex:"-1"},[r("3D Printed Mounts "),e("a",{class:"header-anchor",href:"#_3d-printed-mounts","aria-label":'Permalink to "3D Printed Mounts"'},"​")],-1),F=e("p",null,[r("Mounts with a "),e("code",null,"★"),r(" next to them are the recommended mounts for the respected hmd. This is based on user feedback on what works best for most people.")],-1),W=e("p",null," You'll need both - a mount for the IR emitters and a mount for the camera boards, some files include both, some don't. ",-1),N=_("",7),U=e("p",null," If you have a headset mount that is not listed above, please let us know in the discord so it can be added here. ",-1),Z=JSON.parse('{"title":"Parts List","description":"","frontmatter":{},"headers":[],"relativePath":"how_to_build/parts_list.md","filePath":"how_to_build/parts_list.md","lastUpdated":1689604501000}'),G={name:"how_to_build/parts_list.md"},J=Object.assign(G,{setup(b){return(p,f)=>(t(),a("div",null,[R,s(h,{options:i(d).parts_list_one},{content:o(()=>[T]),_:1},8,["options"]),s(h,{options:i(d).parts_list_three},{content:o(()=>[A]),_:1},8,["options"]),V,e("ul",null,[e("li",null,[q,s(h,{options:i(d).parts_list_four},{content:o(()=>[C]),_:1},8,["options"]),I]),B,M,D,O]),z,H,L,F,s(h,{options:i(d).parts_list_three},{content:o(()=>[W]),_:1},8,["options"]),s(v),N,s(h,{options:i(d).parts_list_six},{content:o(()=>[U]),_:1},8,["options"])]))}});export{Z as __pageData,J as default}; +import{_ as h,a as d}from"./chunks/index.4ffa16ab.js";import{A as w}from"./chunks/Accordion.a318d504.js";import{o as t,c as a,F as u,J as c,x as y,y as o,v as e,t as m,z as g,b as i,C as s,a as r,S as _}from"./chunks/framework.17985c0a.js";const k={hmds:[{hmd:"Quest 2",parts:[""],hyper_links:[{url:"https://github.com/EyeTrackVR/EyeTrackVR-Hardware/tree/main/3d_Printed_Mounts/Quest_2/Prohurtz",desc:"★ Camera and IR emitter mount by Prohurtz"},{url:"https://github.com/EyeTrackVR/EyeTrackVR-Hardware/tree/main/3d_Printed_Mounts/Quest_2/lordnathan",desc:"★ ESP mount by lordnathan"},{url:"https://github.com/EyeTrackVR/EyeTrackVR-Hardware/blob/main/3d_Printed_Mounts/Quest_2/Arkfall/EyeTrack_Quest_2_Mount_v10_By_Arkfall.stl",desc:"Camera and IR emitter mount by Arkfall"},{url:"https://github.com/EyeTrackVR/EyeTrackVR-Hardware/blob/main/3d_Printed_Mounts/Quest_2/Arkfall/Quest_2_ESP_Mount_v2_By_Arkfall.stl",desc:"ESP mount by Arkfall"},{url:"https://github.com/EyeTrackVR/EyeTrackVR-Hardware/blob/main/3d_Printed_Mounts/Quest_2/Prohurtz/Quest_2_ESP_Mounts_By_Prohurtz.stl",desc:"ESP mount by Prohurtz"}],link_id:1},{hmd:"Valve Index",parts:[""],hyper_links:[{url:"https://github.com/EyeTrackVR/EyeTrackVR-Hardware/tree/main/3d_Printed_Mounts/Valve_Index/Seaweed",desc:"★ High IPD compatible 160 and 120 degree camera and IR emitter mounts by Seaweed"},{url:"https://github.com/MUTEtheCyberwolf/VALVE-INDEX-DEV-Frunk-1.0/tree/main/3D%20Print%20Files%20STL(Ascii)",desc:"★ ESP frunk mod by MUTE the Cyberwolf"},{url:"https://github.com/EyeTrackVR/EyeTrackVR-Hardware/tree/main/3d_Printed_Mounts/Valve_Index/qdot",desc:"Camera and IR emitter mount by Qdot"},{url:"https://github.com/rrazgriz/IndexEyeTrackVR/tree/main/hardware",desc:"Camera mount by Razgriz"}],link_id:2},{hmd:"Samsung Odyssey +",parts:["ESP mount: Refer to general ESP Mounts"],hyper_links:[{url:"https://github.com/EyeTrackVR/EyeTrackVR-Hardware/blob/main/3d_Printed_Mounts/Samsung_Odyssey%2B/Breakdown/Samsung%20Odyssey%2B%20Left%20by%20Breakdown.stl",desc:"★ Camera and IR emitter mount by Breakdown"}],link_id:3},{hmd:"Quest 1",parts:["ESP mount : Refer to general ESP Mounts"],hyper_links:[{url:"https://github.com/EyeTrackVR/EyeTrackVR-Hardware/blob/main/3d_Printed_Mounts/Quest_1/G0LDJAY/Quest_1_Cam_mount_v5_By_G0LDJAY.stl",desc:"★ Camera and IR emitter mount by G0LDJAY"}],link_id:4},{hmd:"Vive Pro 2",parts:["ESP mount : Refer to general ESP Mounts"],hyper_links:[{url:"https://github.com/EyeTrackVR/EyeTrackVR-Hardware/tree/main/3d_Printed_Mounts/Vive_Pro_2/StormFox",desc:"★ Camera and IR emitter mount by StormFox"},{url:"https://github.com/EyeTrackVR/EyeTrackVR-Hardware/blob/main/3d_Printed_Mounts/Vive_Pro_2/cat_who_loves_pie/Vive_Pro_2_VROptician_by_cat_who_loves_pie.stl",desc:"VROptician camera and IR emitter mount by cat_who_loves_pie"}],link_id:5},{hmd:"General ESP Mounts",parts:[""],hyper_links:[{url:"https://github.com/EyeTrackVR/EyeTrackVR-Hardware/tree/main/3d_Printed_Mounts/General_ESP32-CAM_Mounts",desc:"★ ESP mount by G0LDJAY for general HMD use (use if there are no specific HMD mounts available)"}],link_id:6}]},P={class:"font-semibold text-xl"},E={class:""},S={style:{"list-style":"none"}},x=["href"],v={__name:"PartsList",setup(b){return(p,f)=>(t(),a("div",null,[(t(!0),a(u,null,c(i(k).hmds,n=>(t(),y(w,{class:"mb-4"},{title:o(()=>[e("span",P,m(n.hmd),1)]),content:o(()=>[e("div",null,[e("span",E,[e("blockquote",null,[e("ul",S,[n.hyper_links!=p.NULL&&n.hyper_links!=""?(t(!0),a(u,{key:0},c(n.hyper_links,l=>(t(),a("p",null,[e("a",{href:l.url,target:"_blank"},m(l.desc),9,x)]))),256)):g("",!0),(t(!0),a(u,null,c(n.parts,l=>(t(),a("li",{key:l},m(l),1))),128))])])])])]),_:2},1024))),256))]))}},R=e("h1",{class:"text-[var(--font-accent)]",id:"parts-list",tabindex:"-1"},[r("Parts List "),e("a",{class:"header-anchor",href:"#parts-list","aria-label":'Permalink to "Parts List {.text-[var(--font-accent)]}"'},"​")],-1),T=e("p",null," Please note that no hardware has been fully set in stone, all purchases are at your loss if hardware changes. ",-1),A=e("p",null," It is good practice to buy more than needed in some cases, namely cameras,programmers and ESPs. This reduces the risk of a DOA (dead on arrival) causing a delay. ",-1),V=_("",41),q=e("p",null,"4x Unfocused SMD IR emitters",-1),C=e("p",null," The smaller ones can not be soldered at temps above 245C or they will burn. Low temp solder is recommended. ",-1),I=e("ul",null,[e("li",null,[e("a",{href:"https://www.lcsc.com/product-detail/Infrared-IR-LEDs_XINGLIGHT-XL-3216HIRC-850_C965891.html",target:"_blank",rel:"noreferrer"},"(Recommended) from LCSC here"),r(".")]),e("li",null,[e("a",{href:"https://www.digikey.com/en/products/detail/inolux/IN-P32ZTIR/10384796",target:"_blank",rel:"noreferrer"},"(Alternative) from Digikey here"),r("."),e("br"),r(" The difference between them is the ones from LCSC are rated for lower power, which means in the event of a short or mishap they should be safer, as well as being smaller in footprint, hence why they are recommended.")])],-1),B=e("li",null,[e("p",null,[r("4x IR emitter PCBs (highly recommended) Gerber files and schematics located "),e("a",{href:"https://github.com/EyeTrackVR/EyeTrackVR-Hardware/tree/main/IR%20Emmitter",target:"_blank",rel:"noreferrer"},"here.")])],-1),M=e("li",null,[e("p",null,"4x 350ohm 1206 SMD resistors for IR emitters (If you are not using PCBs for the emitters then buying regular through-hole resistors is acceptable)")],-1),D=e("li",null,[e("p",null,[e("a",{href:"https://www.digikey.com/en/products/detail/stackpole-electronics-inc/RMCF1206FT357R/1759919",target:"_blank",rel:"noreferrer"},"357 ohm Digikey here")])],-1),O=e("li",null,[e("p",null,[e("a",{href:"https://lcsc.com/product-detail/Chip-Resistor-Surface-Mount_BOURNS-CR1206-FX-3480ELF_C205328.html",target:"_blank",rel:"noreferrer"},"348 ohm LCSC here")])],-1),z=e("p",null,"This ensures you get the correct IR emitter parts. If you are a Patreon please check out discount codes available to you, and also check out unit pricing.",-1),H=e("ul",null,[e("li",null,[r("1x Wire to power IR emitters"),e("br"),e("a",{href:"https://www.aliexpress.com/item/3256804720067942.html",target:"_blank",rel:"noreferrer"},"34 AWG AliExpress")])],-1),L=e("h2",{id:"_3d-printed-mounts",tabindex:"-1"},[r("3D Printed Mounts "),e("a",{class:"header-anchor",href:"#_3d-printed-mounts","aria-label":'Permalink to "3D Printed Mounts"'},"​")],-1),F=e("p",null,[r("Mounts with a "),e("code",null,"★"),r(" next to them are the recommended mounts for the respected hmd. This is based on user feedback on what works best for most people.")],-1),W=e("p",null," You'll need both - a mount for the IR emitters and a mount for the camera boards, some files include both, some don't. ",-1),N=_("",7),U=e("p",null," If you have a headset mount that is not listed above, please let us know in the discord so it can be added here. ",-1),J=JSON.parse('{"title":"Parts List","description":"","frontmatter":{},"headers":[],"relativePath":"how_to_build/parts_list.md","filePath":"how_to_build/parts_list.md","lastUpdated":1689604501000}'),G={name:"how_to_build/parts_list.md"},Z=Object.assign(G,{setup(b){return(p,f)=>(t(),a("div",null,[R,s(h,{options:i(d).parts_list_one},{content:o(()=>[T]),_:1},8,["options"]),s(h,{options:i(d).parts_list_three},{content:o(()=>[A]),_:1},8,["options"]),V,e("ul",null,[e("li",null,[q,s(h,{options:i(d).parts_list_four},{content:o(()=>[C]),_:1},8,["options"]),I]),B,M,D,O]),z,H,L,F,s(h,{options:i(d).parts_list_three},{content:o(()=>[W]),_:1},8,["options"]),s(v),N,s(h,{options:i(d).parts_list_six},{content:o(()=>[U]),_:1},8,["options"])]))}});export{J as __pageData,Z as default}; diff --git a/assets/index.md.8a593e29.js b/assets/index.md.e2859d78.js similarity index 95% rename from assets/index.md.8a593e29.js rename to assets/index.md.e2859d78.js index edc5ed7..caf6428 100644 --- a/assets/index.md.8a593e29.js +++ b/assets/index.md.e2859d78.js @@ -1 +1 @@ -import{_ as e,o as t,c as o}from"./chunks/framework.7384f92b.js";const u=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"home","hero":{"name":"EyeTrackVR Docs","text":"Opensource and affordable VR eye tracking.","image":{"src":"/logo_light.png","alt":"ETRVR logo"},"tagline":"For Social VR Games via OSC and UDP protocol.","actions":[{"theme":"brand","text":"Get Started","link":"/getting_started/intro"},{"theme":"alt","text":"View on GitHub","link":"https://github.com/EyeTrackVR/EyeTrackVR"}]},"features":[{"icon":"⚡️","title":"Open Source","details":"fully open source and free to use."},{"icon":"🎉","title":"Community Driven","details":"built by you for you."},{"icon":"💰","title":"Affordable","details":"affordable and easy to use."},{"icon":"🎮","title":"Nearly All VR Headsets","details":"EyeTrackVR works with nearly all VR headsets."},{"icon":"🔨","title":"Completely DIY","details":"completely DIY and easy to build."},{"icon":"🌐","title":"Open Platform","details":"open platform and works with any Social VR game."},{"icon":"🔏","title":"Privacy Focused","details":"privacy focused and does not collect any data, hosted on your own PC."},{"icon":"📡","title":"Open Protocol","details":"EyeTrackVR uses the Open Sound Control (OSC) protocol."}]},"headers":[],"relativePath":"index.md","filePath":"index.md","lastUpdated":1689147044000}'),a={name:"index.md"};function n(i,l,r,s,c,d){return t(),o("div")}const m=e(a,[["render",n]]);export{u as __pageData,m as default}; +import{_ as e,o as t,c as o}from"./chunks/framework.17985c0a.js";const u=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"home","hero":{"name":"EyeTrackVR Docs","text":"Opensource and affordable VR eye tracking.","image":{"src":"/logo_light.png","alt":"ETRVR logo"},"tagline":"For Social VR Games via OSC and UDP protocol.","actions":[{"theme":"brand","text":"Get Started","link":"/getting_started/intro"},{"theme":"alt","text":"View on GitHub","link":"https://github.com/EyeTrackVR/EyeTrackVR"}]},"features":[{"icon":"⚡️","title":"Open Source","details":"fully open source and free to use."},{"icon":"🎉","title":"Community Driven","details":"built by you for you."},{"icon":"💰","title":"Affordable","details":"affordable and easy to use."},{"icon":"🎮","title":"Nearly All VR Headsets","details":"EyeTrackVR works with nearly all VR headsets."},{"icon":"🔨","title":"Completely DIY","details":"completely DIY and easy to build."},{"icon":"🌐","title":"Open Platform","details":"open platform and works with any Social VR game."},{"icon":"🔏","title":"Privacy Focused","details":"privacy focused and does not collect any data, hosted on your own PC."},{"icon":"📡","title":"Open Protocol","details":"EyeTrackVR uses the Open Sound Control (OSC) protocol."}]},"headers":[],"relativePath":"index.md","filePath":"index.md","lastUpdated":1689147044000}'),a={name:"index.md"};function n(i,l,r,s,c,d){return t(),o("div")}const m=e(a,[["render",n]]);export{u as __pageData,m as default}; diff --git a/assets/index.md.8a593e29.lean.js b/assets/index.md.e2859d78.lean.js similarity index 95% rename from assets/index.md.8a593e29.lean.js rename to assets/index.md.e2859d78.lean.js index edc5ed7..caf6428 100644 --- a/assets/index.md.8a593e29.lean.js +++ b/assets/index.md.e2859d78.lean.js @@ -1 +1 @@ -import{_ as e,o as t,c as o}from"./chunks/framework.7384f92b.js";const u=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"home","hero":{"name":"EyeTrackVR Docs","text":"Opensource and affordable VR eye tracking.","image":{"src":"/logo_light.png","alt":"ETRVR logo"},"tagline":"For Social VR Games via OSC and UDP protocol.","actions":[{"theme":"brand","text":"Get Started","link":"/getting_started/intro"},{"theme":"alt","text":"View on GitHub","link":"https://github.com/EyeTrackVR/EyeTrackVR"}]},"features":[{"icon":"⚡️","title":"Open Source","details":"fully open source and free to use."},{"icon":"🎉","title":"Community Driven","details":"built by you for you."},{"icon":"💰","title":"Affordable","details":"affordable and easy to use."},{"icon":"🎮","title":"Nearly All VR Headsets","details":"EyeTrackVR works with nearly all VR headsets."},{"icon":"🔨","title":"Completely DIY","details":"completely DIY and easy to build."},{"icon":"🌐","title":"Open Platform","details":"open platform and works with any Social VR game."},{"icon":"🔏","title":"Privacy Focused","details":"privacy focused and does not collect any data, hosted on your own PC."},{"icon":"📡","title":"Open Protocol","details":"EyeTrackVR uses the Open Sound Control (OSC) protocol."}]},"headers":[],"relativePath":"index.md","filePath":"index.md","lastUpdated":1689147044000}'),a={name:"index.md"};function n(i,l,r,s,c,d){return t(),o("div")}const m=e(a,[["render",n]]);export{u as __pageData,m as default}; +import{_ as e,o as t,c as o}from"./chunks/framework.17985c0a.js";const u=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"home","hero":{"name":"EyeTrackVR Docs","text":"Opensource and affordable VR eye tracking.","image":{"src":"/logo_light.png","alt":"ETRVR logo"},"tagline":"For Social VR Games via OSC and UDP protocol.","actions":[{"theme":"brand","text":"Get Started","link":"/getting_started/intro"},{"theme":"alt","text":"View on GitHub","link":"https://github.com/EyeTrackVR/EyeTrackVR"}]},"features":[{"icon":"⚡️","title":"Open Source","details":"fully open source and free to use."},{"icon":"🎉","title":"Community Driven","details":"built by you for you."},{"icon":"💰","title":"Affordable","details":"affordable and easy to use."},{"icon":"🎮","title":"Nearly All VR Headsets","details":"EyeTrackVR works with nearly all VR headsets."},{"icon":"🔨","title":"Completely DIY","details":"completely DIY and easy to build."},{"icon":"🌐","title":"Open Platform","details":"open platform and works with any Social VR game."},{"icon":"🔏","title":"Privacy Focused","details":"privacy focused and does not collect any data, hosted on your own PC."},{"icon":"📡","title":"Open Protocol","details":"EyeTrackVR uses the Open Sound Control (OSC) protocol."}]},"headers":[],"relativePath":"index.md","filePath":"index.md","lastUpdated":1689147044000}'),a={name:"index.md"};function n(i,l,r,s,c,d){return t(),o("div")}const m=e(a,[["render",n]]);export{u as __pageData,m as default}; diff --git a/assets/misc_faq.md.bc5df512.js b/assets/misc_faq.md.87cf6239.js similarity index 89% rename from assets/misc_faq.md.bc5df512.js rename to assets/misc_faq.md.87cf6239.js index bda9f66..fe4ae4b 100644 --- a/assets/misc_faq.md.bc5df512.js +++ b/assets/misc_faq.md.87cf6239.js @@ -1 +1 @@ -import{A as c}from"./chunks/Accordion.db4d26c2.js";import{o as s,c as a,F as d,M as h,A as u,B as o,z as e,t as n,C as p,b as f,G as _,a as m}from"./chunks/framework.7384f92b.js";const y={faq:[{question:"What is the goal of this project?",answer:"To provide an open source, affordable VR eye tracker for Social games like VRChat as well as provide an open eye tracking platform.",hyper_link:"",link_description:""},{question:"What headsets will be supported?",answer:"Any headset that the hardware can fit in with community mounts or a mount you design.",hyper_link:"",link_description:""},{question:"How will this work?",answer:"Currently, a camera is mounted inside the headset for each eye. The camera streams through wifi to a PC client which processes and sends eye tracking data to an OSC endpoint ex VRChat.",hyper_link:"",link_description:""},{question:"What features will be supported?",answer:"The goal is eye tracking with eye openness, and some form of pupil dilation. A far away aspiration of this project is some form of weak foveated rendering because it's cool and any small performance increase in VR is welcome.",hyper_link:"",link_description:""},{question:"When will this be completed?",answer:"When it's done 😉 I have a semi busy life so development may slow and speed up inconsistently.",hyper_link:"",link_description:""},{question:"Will IR damage my eyes?",answer:"This project has safety in mind. If you do all of the safety measures that we put into place and visually test the amount of IR light you will be fine. Please note we have not finished development of all safety stuff so be careful.",hyper_link:"https://dammedia.osram.info/media/bin/osram-dam-2496608/AN002_Details%20on%20photobiological%20safety%20of%20LED%20light%20sources.pdf",link_description:" here is a pdf with safety information"},{question:"How expensive will this be?",answer:"My goal is to keep it as cheap as possible with around $75 as the absolute max, with current setups being around $30-80. aaaa",hyper_link:"",link_description:""},{question:"How do I set up my avatar?",answer:"Check out the VR Chat face tracking wiki on our github. Keep in mind that we currently only support float parameters. ",hyper_link:"",link_description:""},{question:"What hardware does this use / How do I build?",answer:"Checkout our build guides on this site for specific information, hardware may change and evolve over time.",hyper_link:"",link_description:""},{question:"Where are the docs?",answer:"All of our documentation is located on this website, all future documentation will be found here as well.",hyper_link:"",link_description:""}]},k={class:"font-semibold text-xl"},w={class:""},q={style:{"list-style":"none"}},g={key:0},b=["href"],v={__name:"FAQ",setup(r){return(i,l)=>(s(),a("div",null,[(s(!0),a(d,null,h(f(y).faq,t=>(s(),u(c,{class:"mb-4"},{title:o(()=>[e("span",k,n(t.question),1)]),content:o(()=>[e("div",null,[e("span",w,[e("blockquote",null,[e("ul",q,[e("li",null,n(t.answer),1),t.hyper_link!=i.NULL&&t.hyper_link!=""?(s(),a("p",g,[e("a",{href:t.hyper_link,target:"_blank"},n(t.link_description),9,b)])):p("",!0)])])])])]),_:2},1024))),256))]))}},x=e("h1",{class:"text-[var(--font-accent)]",id:"frequently-asked-questions",tabindex:"-1"},[m("Frequently Asked Questions "),e("a",{class:"header-anchor",href:"#frequently-asked-questions","aria-label":'Permalink to "Frequently Asked Questions {.text-[var(--font-accent)]}"'},"​")],-1),A=e("br",null,null,-1),C=e("hr",null,null,-1),R=JSON.parse('{"title":"Frequently Asked Questions","description":"","frontmatter":{},"headers":[],"relativePath":"misc/faq.md","filePath":"misc/faq.md","lastUpdated":1676223729000}'),V={name:"misc/faq.md"},F=Object.assign(V,{setup(r){return(i,l)=>(s(),a("div",null,[x,A,C,_(v)]))}});export{R as __pageData,F as default}; +import{A as c}from"./chunks/Accordion.a318d504.js";import{o as s,c as a,F as d,J as h,x as u,y as o,v as e,t as n,z as p,b as f,C as _,a as m}from"./chunks/framework.17985c0a.js";const y={faq:[{question:"What is the goal of this project?",answer:"To provide an open source, affordable VR eye tracker for Social games like VRChat as well as provide an open eye tracking platform.",hyper_link:"",link_description:""},{question:"What headsets will be supported?",answer:"Any headset that the hardware can fit in with community mounts or a mount you design.",hyper_link:"",link_description:""},{question:"How will this work?",answer:"Currently, a camera is mounted inside the headset for each eye. The camera streams through wifi to a PC client which processes and sends eye tracking data to an OSC endpoint ex VRChat.",hyper_link:"",link_description:""},{question:"What features will be supported?",answer:"The goal is eye tracking with eye openness, and some form of pupil dilation. A far away aspiration of this project is some form of weak foveated rendering because it's cool and any small performance increase in VR is welcome.",hyper_link:"",link_description:""},{question:"When will this be completed?",answer:"When it's done 😉 I have a semi busy life so development may slow and speed up inconsistently.",hyper_link:"",link_description:""},{question:"Will IR damage my eyes?",answer:"This project has safety in mind. If you do all of the safety measures that we put into place and visually test the amount of IR light you will be fine. Please note we have not finished development of all safety stuff so be careful.",hyper_link:"https://dammedia.osram.info/media/bin/osram-dam-2496608/AN002_Details%20on%20photobiological%20safety%20of%20LED%20light%20sources.pdf",link_description:" here is a pdf with safety information"},{question:"How expensive will this be?",answer:"My goal is to keep it as cheap as possible with around $75 as the absolute max, with current setups being around $30-80. aaaa",hyper_link:"",link_description:""},{question:"How do I set up my avatar?",answer:"Check out the VR Chat face tracking wiki on our github. Keep in mind that we currently only support float parameters. ",hyper_link:"",link_description:""},{question:"What hardware does this use / How do I build?",answer:"Checkout our build guides on this site for specific information, hardware may change and evolve over time.",hyper_link:"",link_description:""},{question:"Where are the docs?",answer:"All of our documentation is located on this website, all future documentation will be found here as well.",hyper_link:"",link_description:""}]},k={class:"font-semibold text-xl"},w={class:""},q={style:{"list-style":"none"}},g={key:0},b=["href"],v={__name:"FAQ",setup(r){return(i,l)=>(s(),a("div",null,[(s(!0),a(d,null,h(f(y).faq,t=>(s(),u(c,{class:"mb-4"},{title:o(()=>[e("span",k,n(t.question),1)]),content:o(()=>[e("div",null,[e("span",w,[e("blockquote",null,[e("ul",q,[e("li",null,n(t.answer),1),t.hyper_link!=i.NULL&&t.hyper_link!=""?(s(),a("p",g,[e("a",{href:t.hyper_link,target:"_blank"},n(t.link_description),9,b)])):p("",!0)])])])])]),_:2},1024))),256))]))}},x=e("h1",{class:"text-[var(--font-accent)]",id:"frequently-asked-questions",tabindex:"-1"},[m("Frequently Asked Questions "),e("a",{class:"header-anchor",href:"#frequently-asked-questions","aria-label":'Permalink to "Frequently Asked Questions {.text-[var(--font-accent)]}"'},"​")],-1),C=e("br",null,null,-1),A=e("hr",null,null,-1),R=JSON.parse('{"title":"Frequently Asked Questions","description":"","frontmatter":{},"headers":[],"relativePath":"misc/faq.md","filePath":"misc/faq.md","lastUpdated":1676223729000}'),V={name:"misc/faq.md"},F=Object.assign(V,{setup(r){return(i,l)=>(s(),a("div",null,[x,C,A,_(v)]))}});export{R as __pageData,F as default}; diff --git a/assets/misc_faq.md.bc5df512.lean.js b/assets/misc_faq.md.87cf6239.lean.js similarity index 89% rename from assets/misc_faq.md.bc5df512.lean.js rename to assets/misc_faq.md.87cf6239.lean.js index bda9f66..fe4ae4b 100644 --- a/assets/misc_faq.md.bc5df512.lean.js +++ b/assets/misc_faq.md.87cf6239.lean.js @@ -1 +1 @@ -import{A as c}from"./chunks/Accordion.db4d26c2.js";import{o as s,c as a,F as d,M as h,A as u,B as o,z as e,t as n,C as p,b as f,G as _,a as m}from"./chunks/framework.7384f92b.js";const y={faq:[{question:"What is the goal of this project?",answer:"To provide an open source, affordable VR eye tracker for Social games like VRChat as well as provide an open eye tracking platform.",hyper_link:"",link_description:""},{question:"What headsets will be supported?",answer:"Any headset that the hardware can fit in with community mounts or a mount you design.",hyper_link:"",link_description:""},{question:"How will this work?",answer:"Currently, a camera is mounted inside the headset for each eye. The camera streams through wifi to a PC client which processes and sends eye tracking data to an OSC endpoint ex VRChat.",hyper_link:"",link_description:""},{question:"What features will be supported?",answer:"The goal is eye tracking with eye openness, and some form of pupil dilation. A far away aspiration of this project is some form of weak foveated rendering because it's cool and any small performance increase in VR is welcome.",hyper_link:"",link_description:""},{question:"When will this be completed?",answer:"When it's done 😉 I have a semi busy life so development may slow and speed up inconsistently.",hyper_link:"",link_description:""},{question:"Will IR damage my eyes?",answer:"This project has safety in mind. If you do all of the safety measures that we put into place and visually test the amount of IR light you will be fine. Please note we have not finished development of all safety stuff so be careful.",hyper_link:"https://dammedia.osram.info/media/bin/osram-dam-2496608/AN002_Details%20on%20photobiological%20safety%20of%20LED%20light%20sources.pdf",link_description:" here is a pdf with safety information"},{question:"How expensive will this be?",answer:"My goal is to keep it as cheap as possible with around $75 as the absolute max, with current setups being around $30-80. aaaa",hyper_link:"",link_description:""},{question:"How do I set up my avatar?",answer:"Check out the VR Chat face tracking wiki on our github. Keep in mind that we currently only support float parameters. ",hyper_link:"",link_description:""},{question:"What hardware does this use / How do I build?",answer:"Checkout our build guides on this site for specific information, hardware may change and evolve over time.",hyper_link:"",link_description:""},{question:"Where are the docs?",answer:"All of our documentation is located on this website, all future documentation will be found here as well.",hyper_link:"",link_description:""}]},k={class:"font-semibold text-xl"},w={class:""},q={style:{"list-style":"none"}},g={key:0},b=["href"],v={__name:"FAQ",setup(r){return(i,l)=>(s(),a("div",null,[(s(!0),a(d,null,h(f(y).faq,t=>(s(),u(c,{class:"mb-4"},{title:o(()=>[e("span",k,n(t.question),1)]),content:o(()=>[e("div",null,[e("span",w,[e("blockquote",null,[e("ul",q,[e("li",null,n(t.answer),1),t.hyper_link!=i.NULL&&t.hyper_link!=""?(s(),a("p",g,[e("a",{href:t.hyper_link,target:"_blank"},n(t.link_description),9,b)])):p("",!0)])])])])]),_:2},1024))),256))]))}},x=e("h1",{class:"text-[var(--font-accent)]",id:"frequently-asked-questions",tabindex:"-1"},[m("Frequently Asked Questions "),e("a",{class:"header-anchor",href:"#frequently-asked-questions","aria-label":'Permalink to "Frequently Asked Questions {.text-[var(--font-accent)]}"'},"​")],-1),A=e("br",null,null,-1),C=e("hr",null,null,-1),R=JSON.parse('{"title":"Frequently Asked Questions","description":"","frontmatter":{},"headers":[],"relativePath":"misc/faq.md","filePath":"misc/faq.md","lastUpdated":1676223729000}'),V={name:"misc/faq.md"},F=Object.assign(V,{setup(r){return(i,l)=>(s(),a("div",null,[x,A,C,_(v)]))}});export{R as __pageData,F as default}; +import{A as c}from"./chunks/Accordion.a318d504.js";import{o as s,c as a,F as d,J as h,x as u,y as o,v as e,t as n,z as p,b as f,C as _,a as m}from"./chunks/framework.17985c0a.js";const y={faq:[{question:"What is the goal of this project?",answer:"To provide an open source, affordable VR eye tracker for Social games like VRChat as well as provide an open eye tracking platform.",hyper_link:"",link_description:""},{question:"What headsets will be supported?",answer:"Any headset that the hardware can fit in with community mounts or a mount you design.",hyper_link:"",link_description:""},{question:"How will this work?",answer:"Currently, a camera is mounted inside the headset for each eye. The camera streams through wifi to a PC client which processes and sends eye tracking data to an OSC endpoint ex VRChat.",hyper_link:"",link_description:""},{question:"What features will be supported?",answer:"The goal is eye tracking with eye openness, and some form of pupil dilation. A far away aspiration of this project is some form of weak foveated rendering because it's cool and any small performance increase in VR is welcome.",hyper_link:"",link_description:""},{question:"When will this be completed?",answer:"When it's done 😉 I have a semi busy life so development may slow and speed up inconsistently.",hyper_link:"",link_description:""},{question:"Will IR damage my eyes?",answer:"This project has safety in mind. If you do all of the safety measures that we put into place and visually test the amount of IR light you will be fine. Please note we have not finished development of all safety stuff so be careful.",hyper_link:"https://dammedia.osram.info/media/bin/osram-dam-2496608/AN002_Details%20on%20photobiological%20safety%20of%20LED%20light%20sources.pdf",link_description:" here is a pdf with safety information"},{question:"How expensive will this be?",answer:"My goal is to keep it as cheap as possible with around $75 as the absolute max, with current setups being around $30-80. aaaa",hyper_link:"",link_description:""},{question:"How do I set up my avatar?",answer:"Check out the VR Chat face tracking wiki on our github. Keep in mind that we currently only support float parameters. ",hyper_link:"",link_description:""},{question:"What hardware does this use / How do I build?",answer:"Checkout our build guides on this site for specific information, hardware may change and evolve over time.",hyper_link:"",link_description:""},{question:"Where are the docs?",answer:"All of our documentation is located on this website, all future documentation will be found here as well.",hyper_link:"",link_description:""}]},k={class:"font-semibold text-xl"},w={class:""},q={style:{"list-style":"none"}},g={key:0},b=["href"],v={__name:"FAQ",setup(r){return(i,l)=>(s(),a("div",null,[(s(!0),a(d,null,h(f(y).faq,t=>(s(),u(c,{class:"mb-4"},{title:o(()=>[e("span",k,n(t.question),1)]),content:o(()=>[e("div",null,[e("span",w,[e("blockquote",null,[e("ul",q,[e("li",null,n(t.answer),1),t.hyper_link!=i.NULL&&t.hyper_link!=""?(s(),a("p",g,[e("a",{href:t.hyper_link,target:"_blank"},n(t.link_description),9,b)])):p("",!0)])])])])]),_:2},1024))),256))]))}},x=e("h1",{class:"text-[var(--font-accent)]",id:"frequently-asked-questions",tabindex:"-1"},[m("Frequently Asked Questions "),e("a",{class:"header-anchor",href:"#frequently-asked-questions","aria-label":'Permalink to "Frequently Asked Questions {.text-[var(--font-accent)]}"'},"​")],-1),C=e("br",null,null,-1),A=e("hr",null,null,-1),R=JSON.parse('{"title":"Frequently Asked Questions","description":"","frontmatter":{},"headers":[],"relativePath":"misc/faq.md","filePath":"misc/faq.md","lastUpdated":1676223729000}'),V={name:"misc/faq.md"},F=Object.assign(V,{setup(r){return(i,l)=>(s(),a("div",null,[x,C,A,_(v)]))}});export{R as __pageData,F as default}; diff --git a/assets/misc_vrc_avatar_setup.md.fb8562d6.js b/assets/misc_vrc_avatar_setup.md.5da944e1.js similarity index 91% rename from assets/misc_vrc_avatar_setup.md.fb8562d6.js rename to assets/misc_vrc_avatar_setup.md.5da944e1.js index 8e01279..7adf05f 100644 --- a/assets/misc_vrc_avatar_setup.md.fb8562d6.js +++ b/assets/misc_vrc_avatar_setup.md.5da944e1.js @@ -1 +1 @@ -import{_ as t,a}from"./chunks/index.3b745ef0.js";import{o as r,c as o,z as e,G as s,B as c,b as n,a as i,V as d}from"./chunks/framework.7384f92b.js";const l=e("h1",{class:"text-[var(--font-accent)]",id:"how-to-set-up-your-avatar-for-eye-tracking",tabindex:"-1"},[i("How to set up your avatar for eye tracking: "),e("a",{class:"header-anchor",href:"#how-to-set-up-your-avatar-for-eye-tracking","aria-label":'Permalink to "How to set up your avatar for eye tracking: {.text-[var(--font-accent)]}"'},"​")],-1),p=e("p",null,"Here is an avatar setup video created by a contributor:",-1),u=e("div",{align:"center"},[e("iframe",{width:"500",height:"300",src:"https://www.youtube.com/embed/Dfm-tkaruq0",title:"Add eye tracking support to your VRChat avatar",frameborder:"1",allow:"encrypted-media;",allowfullscreen:""})],-1),_=d('

Another good resource is the VRC Face Tracking Wiki and their Discord.

We currently use the following paramaters

LeftEyeX

RightEyeX

EyesY

LeftEyeLidExpandedSqueeze

RightEyeLidExpandedSqueeze

',7),h={align:"center"},f=e("p",null," We currently only support float parameters, please adjust your setup accordingly. ",-1),b=JSON.parse('{"title":"How to set up your avatar for eye tracking:","description":"","frontmatter":{},"headers":[],"relativePath":"misc/vrc_avatar_setup.md","filePath":"misc/vrc_avatar_setup.md","lastUpdated":1677196572000}'),m={name:"misc/vrc_avatar_setup.md"},x=Object.assign(m,{setup(y){return(g,v)=>(r(),o("div",null,[l,p,u,_,e("div",h,[s(t,{options:n(a).vrc_avatar_setup},{content:c(()=>[f]),_:1},8,["options"])])]))}});export{b as __pageData,x as default}; +import{_ as t,a}from"./chunks/index.4ffa16ab.js";import{o as r,c as o,v as e,C as s,y as c,b as n,a as i,S as d}from"./chunks/framework.17985c0a.js";const l=e("h1",{class:"text-[var(--font-accent)]",id:"how-to-set-up-your-avatar-for-eye-tracking",tabindex:"-1"},[i("How to set up your avatar for eye tracking: "),e("a",{class:"header-anchor",href:"#how-to-set-up-your-avatar-for-eye-tracking","aria-label":'Permalink to "How to set up your avatar for eye tracking: {.text-[var(--font-accent)]}"'},"​")],-1),p=e("p",null,"Here is an avatar setup video created by a contributor:",-1),u=e("div",{align:"center"},[e("iframe",{width:"500",height:"300",src:"https://www.youtube.com/embed/Dfm-tkaruq0",title:"Add eye tracking support to your VRChat avatar",frameborder:"1",allow:"encrypted-media;",allowfullscreen:""})],-1),_=d('

Another good resource is the VRC Face Tracking Wiki and their Discord.

We currently use the following paramaters

LeftEyeX

RightEyeX

EyesY

LeftEyeLidExpandedSqueeze

RightEyeLidExpandedSqueeze

',7),h={align:"center"},f=e("p",null," We currently only support float parameters, please adjust your setup accordingly. ",-1),b=JSON.parse('{"title":"How to set up your avatar for eye tracking:","description":"","frontmatter":{},"headers":[],"relativePath":"misc/vrc_avatar_setup.md","filePath":"misc/vrc_avatar_setup.md","lastUpdated":1677196572000}'),m={name:"misc/vrc_avatar_setup.md"},x=Object.assign(m,{setup(y){return(g,v)=>(r(),o("div",null,[l,p,u,_,e("div",h,[s(t,{options:n(a).vrc_avatar_setup},{content:c(()=>[f]),_:1},8,["options"])])]))}});export{b as __pageData,x as default}; diff --git a/assets/misc_vrc_avatar_setup.md.fb8562d6.lean.js b/assets/misc_vrc_avatar_setup.md.5da944e1.lean.js similarity index 86% rename from assets/misc_vrc_avatar_setup.md.fb8562d6.lean.js rename to assets/misc_vrc_avatar_setup.md.5da944e1.lean.js index 0e30418..0c2ff35 100644 --- a/assets/misc_vrc_avatar_setup.md.fb8562d6.lean.js +++ b/assets/misc_vrc_avatar_setup.md.5da944e1.lean.js @@ -1 +1 @@ -import{_ as t,a}from"./chunks/index.3b745ef0.js";import{o as r,c as o,z as e,G as s,B as c,b as n,a as i,V as d}from"./chunks/framework.7384f92b.js";const l=e("h1",{class:"text-[var(--font-accent)]",id:"how-to-set-up-your-avatar-for-eye-tracking",tabindex:"-1"},[i("How to set up your avatar for eye tracking: "),e("a",{class:"header-anchor",href:"#how-to-set-up-your-avatar-for-eye-tracking","aria-label":'Permalink to "How to set up your avatar for eye tracking: {.text-[var(--font-accent)]}"'},"​")],-1),p=e("p",null,"Here is an avatar setup video created by a contributor:",-1),u=e("div",{align:"center"},[e("iframe",{width:"500",height:"300",src:"https://www.youtube.com/embed/Dfm-tkaruq0",title:"Add eye tracking support to your VRChat avatar",frameborder:"1",allow:"encrypted-media;",allowfullscreen:""})],-1),_=d("",7),h={align:"center"},f=e("p",null," We currently only support float parameters, please adjust your setup accordingly. ",-1),b=JSON.parse('{"title":"How to set up your avatar for eye tracking:","description":"","frontmatter":{},"headers":[],"relativePath":"misc/vrc_avatar_setup.md","filePath":"misc/vrc_avatar_setup.md","lastUpdated":1677196572000}'),m={name:"misc/vrc_avatar_setup.md"},x=Object.assign(m,{setup(y){return(g,v)=>(r(),o("div",null,[l,p,u,_,e("div",h,[s(t,{options:n(a).vrc_avatar_setup},{content:c(()=>[f]),_:1},8,["options"])])]))}});export{b as __pageData,x as default}; +import{_ as t,a}from"./chunks/index.4ffa16ab.js";import{o as r,c as o,v as e,C as s,y as c,b as n,a as i,S as d}from"./chunks/framework.17985c0a.js";const l=e("h1",{class:"text-[var(--font-accent)]",id:"how-to-set-up-your-avatar-for-eye-tracking",tabindex:"-1"},[i("How to set up your avatar for eye tracking: "),e("a",{class:"header-anchor",href:"#how-to-set-up-your-avatar-for-eye-tracking","aria-label":'Permalink to "How to set up your avatar for eye tracking: {.text-[var(--font-accent)]}"'},"​")],-1),p=e("p",null,"Here is an avatar setup video created by a contributor:",-1),u=e("div",{align:"center"},[e("iframe",{width:"500",height:"300",src:"https://www.youtube.com/embed/Dfm-tkaruq0",title:"Add eye tracking support to your VRChat avatar",frameborder:"1",allow:"encrypted-media;",allowfullscreen:""})],-1),_=d("",7),h={align:"center"},f=e("p",null," We currently only support float parameters, please adjust your setup accordingly. ",-1),b=JSON.parse('{"title":"How to set up your avatar for eye tracking:","description":"","frontmatter":{},"headers":[],"relativePath":"misc/vrc_avatar_setup.md","filePath":"misc/vrc_avatar_setup.md","lastUpdated":1677196572000}'),m={name:"misc/vrc_avatar_setup.md"},x=Object.assign(m,{setup(y){return(g,v)=>(r(),o("div",null,[l,p,u,_,e("div",h,[s(t,{options:n(a).vrc_avatar_setup},{content:c(()=>[f]),_:1},8,["options"])])]))}});export{b as __pageData,x as default}; diff --git a/assets/software_guide_build_software.md.df6914a0.js b/assets/software_guide_build_software.md.7fd62689.js similarity index 93% rename from assets/software_guide_build_software.md.df6914a0.js rename to assets/software_guide_build_software.md.7fd62689.js index c2c1cf8..c281fd5 100644 --- a/assets/software_guide_build_software.md.df6914a0.js +++ b/assets/software_guide_build_software.md.7fd62689.js @@ -1 +1 @@ -import{_ as r,a as n}from"./chunks/index.3b745ef0.js";import{_ as i}from"./chunks/CheckBoxList.78ea8d78.js";import{o as l,c as s,G as o,B as d,b as a,z as e,a as t,V as h}from"./chunks/framework.7384f92b.js";const p={state:!0,object:[{label:"Python 3.11.0",link:"https://www.python.org/downloads/release/python-3110/"},{label:"Poetry",link:"https://python-poetry.org/"},{label:"Windows/Linux PC",link:""}]},u=e("h1",{class:"text-[var(--font-accent)]",id:"build-the-app-from-source",tabindex:"-1"},[t("Build the app from source "),e("a",{class:"header-anchor",href:"#build-the-app-from-source","aria-label":'Permalink to "Build the app from source {.text-[var(--font-accent)]}"'},"​")],-1),c=e("h2",{id:"this-guide-will-show-how-to-build-the-app-from-source",tabindex:"-1"},[t("This guide will show how to build the app from source "),e("a",{class:"header-anchor",href:"#this-guide-will-show-how-to-build-the-app-from-source","aria-label":'Permalink to "This guide will show how to build the app from source"'},"​")],-1),m=e("p",null," This is NOT a required step, you do not need to build the app from source. ",-1),_=e("h2",{id:"requirements",tabindex:"-1"},[t("Requirements "),e("a",{class:"header-anchor",href:"#requirements","aria-label":'Permalink to "Requirements"'},"​")],-1),f=h('

Install Python

EyeTrackVR is currently using Python 3.11.0 Before you continue, please install it.

Installing Poetry

Since version 0.1.7 of EyeTrackVR, we have been using Poetry to manage app dependencies. To build the app, you must first install Poetry to fetch the required dependencies.

To install Poetry open Windows Powershell and run the following command (Invoke-WebRequest -Uri https://install.python-poetry.org -UseBasicParsing).Content | py -

Poetry Documentation

Install the required Python modules

After cloning the project and installing Poetry, open a command prompt in the EyeTrackApp folder. Then run the command: poetry install

This should install all of the required modules.

Build the app

Now, you should be ready to build the app. With a command prompt open in the EyeTrackApp folder, run the command poetry run pyinstaller eyetrackapp.spec

Give it time to build the app. Once done, the app should be under dist/eyetrackapp

',12),T=JSON.parse('{"title":"Build the app from source","description":"","frontmatter":{},"headers":[],"relativePath":"software_guide/build_software.md","filePath":"software_guide/build_software.md","lastUpdated":1689710614000}'),y={name:"software_guide/build_software.md"},x=Object.assign(y,{setup(b){return(w,P)=>(l(),s("div",null,[u,c,o(r,{options:a(n).build_software_one},{content:d(()=>[m]),_:1},8,["options"]),_,o(i,{options:{...a(p)}},null,8,["options"]),f]))}});export{T as __pageData,x as default}; +import{_ as r,a as n}from"./chunks/index.4ffa16ab.js";import{_ as i}from"./chunks/CheckBoxList.4e2280d2.js";import{o as l,c as s,C as o,y as d,b as a,v as e,a as t,S as h}from"./chunks/framework.17985c0a.js";const p={state:!0,object:[{label:"Python 3.11.0",link:"https://www.python.org/downloads/release/python-3110/"},{label:"Poetry",link:"https://python-poetry.org/"},{label:"Windows/Linux PC",link:""}]},u=e("h1",{class:"text-[var(--font-accent)]",id:"build-the-app-from-source",tabindex:"-1"},[t("Build the app from source "),e("a",{class:"header-anchor",href:"#build-the-app-from-source","aria-label":'Permalink to "Build the app from source {.text-[var(--font-accent)]}"'},"​")],-1),c=e("h2",{id:"this-guide-will-show-how-to-build-the-app-from-source",tabindex:"-1"},[t("This guide will show how to build the app from source "),e("a",{class:"header-anchor",href:"#this-guide-will-show-how-to-build-the-app-from-source","aria-label":'Permalink to "This guide will show how to build the app from source"'},"​")],-1),m=e("p",null," This is NOT a required step, you do not need to build the app from source. ",-1),_=e("h2",{id:"requirements",tabindex:"-1"},[t("Requirements "),e("a",{class:"header-anchor",href:"#requirements","aria-label":'Permalink to "Requirements"'},"​")],-1),f=h('

Install Python

EyeTrackVR is currently using Python 3.11.0 Before you continue, please install it.

Installing Poetry

Since version 0.1.7 of EyeTrackVR, we have been using Poetry to manage app dependencies. To build the app, you must first install Poetry to fetch the required dependencies.

To install Poetry open Windows Powershell and run the following command (Invoke-WebRequest -Uri https://install.python-poetry.org -UseBasicParsing).Content | py -

Poetry Documentation

Install the required Python modules

After cloning the project and installing Poetry, open a command prompt in the EyeTrackApp folder. Then run the command: poetry install

This should install all of the required modules.

Build the app

Now, you should be ready to build the app. With a command prompt open in the EyeTrackApp folder, run the command poetry run pyinstaller eyetrackapp.spec

Give it time to build the app. Once done, the app should be under dist/eyetrackapp

',12),T=JSON.parse('{"title":"Build the app from source","description":"","frontmatter":{},"headers":[],"relativePath":"software_guide/build_software.md","filePath":"software_guide/build_software.md","lastUpdated":1689710614000}'),y={name:"software_guide/build_software.md"},x=Object.assign(y,{setup(b){return(w,P)=>(l(),s("div",null,[u,c,o(r,{options:a(n).build_software_one},{content:d(()=>[m]),_:1},8,["options"]),_,o(i,{options:{...a(p)}},null,8,["options"]),f]))}});export{T as __pageData,x as default}; diff --git a/assets/software_guide_build_software.md.df6914a0.lean.js b/assets/software_guide_build_software.md.7fd62689.lean.js similarity index 85% rename from assets/software_guide_build_software.md.df6914a0.lean.js rename to assets/software_guide_build_software.md.7fd62689.lean.js index 253677b..1698599 100644 --- a/assets/software_guide_build_software.md.df6914a0.lean.js +++ b/assets/software_guide_build_software.md.7fd62689.lean.js @@ -1 +1 @@ -import{_ as r,a as n}from"./chunks/index.3b745ef0.js";import{_ as i}from"./chunks/CheckBoxList.78ea8d78.js";import{o as l,c as s,G as o,B as d,b as a,z as e,a as t,V as h}from"./chunks/framework.7384f92b.js";const p={state:!0,object:[{label:"Python 3.11.0",link:"https://www.python.org/downloads/release/python-3110/"},{label:"Poetry",link:"https://python-poetry.org/"},{label:"Windows/Linux PC",link:""}]},u=e("h1",{class:"text-[var(--font-accent)]",id:"build-the-app-from-source",tabindex:"-1"},[t("Build the app from source "),e("a",{class:"header-anchor",href:"#build-the-app-from-source","aria-label":'Permalink to "Build the app from source {.text-[var(--font-accent)]}"'},"​")],-1),c=e("h2",{id:"this-guide-will-show-how-to-build-the-app-from-source",tabindex:"-1"},[t("This guide will show how to build the app from source "),e("a",{class:"header-anchor",href:"#this-guide-will-show-how-to-build-the-app-from-source","aria-label":'Permalink to "This guide will show how to build the app from source"'},"​")],-1),m=e("p",null," This is NOT a required step, you do not need to build the app from source. ",-1),_=e("h2",{id:"requirements",tabindex:"-1"},[t("Requirements "),e("a",{class:"header-anchor",href:"#requirements","aria-label":'Permalink to "Requirements"'},"​")],-1),f=h("",12),T=JSON.parse('{"title":"Build the app from source","description":"","frontmatter":{},"headers":[],"relativePath":"software_guide/build_software.md","filePath":"software_guide/build_software.md","lastUpdated":1689710614000}'),y={name:"software_guide/build_software.md"},x=Object.assign(y,{setup(b){return(w,P)=>(l(),s("div",null,[u,c,o(r,{options:a(n).build_software_one},{content:d(()=>[m]),_:1},8,["options"]),_,o(i,{options:{...a(p)}},null,8,["options"]),f]))}});export{T as __pageData,x as default}; +import{_ as r,a as n}from"./chunks/index.4ffa16ab.js";import{_ as i}from"./chunks/CheckBoxList.4e2280d2.js";import{o as l,c as s,C as o,y as d,b as a,v as e,a as t,S as h}from"./chunks/framework.17985c0a.js";const p={state:!0,object:[{label:"Python 3.11.0",link:"https://www.python.org/downloads/release/python-3110/"},{label:"Poetry",link:"https://python-poetry.org/"},{label:"Windows/Linux PC",link:""}]},u=e("h1",{class:"text-[var(--font-accent)]",id:"build-the-app-from-source",tabindex:"-1"},[t("Build the app from source "),e("a",{class:"header-anchor",href:"#build-the-app-from-source","aria-label":'Permalink to "Build the app from source {.text-[var(--font-accent)]}"'},"​")],-1),c=e("h2",{id:"this-guide-will-show-how-to-build-the-app-from-source",tabindex:"-1"},[t("This guide will show how to build the app from source "),e("a",{class:"header-anchor",href:"#this-guide-will-show-how-to-build-the-app-from-source","aria-label":'Permalink to "This guide will show how to build the app from source"'},"​")],-1),m=e("p",null," This is NOT a required step, you do not need to build the app from source. ",-1),_=e("h2",{id:"requirements",tabindex:"-1"},[t("Requirements "),e("a",{class:"header-anchor",href:"#requirements","aria-label":'Permalink to "Requirements"'},"​")],-1),f=h("",12),T=JSON.parse('{"title":"Build the app from source","description":"","frontmatter":{},"headers":[],"relativePath":"software_guide/build_software.md","filePath":"software_guide/build_software.md","lastUpdated":1689710614000}'),y={name:"software_guide/build_software.md"},x=Object.assign(y,{setup(b){return(w,P)=>(l(),s("div",null,[u,c,o(r,{options:a(n).build_software_one},{content:d(()=>[m]),_:1},8,["options"]),_,o(i,{options:{...a(p)}},null,8,["options"]),f]))}});export{T as __pageData,x as default}; diff --git a/assets/software_guide_eyetrackvr_app_guide.md.dfcbc709.js b/assets/software_guide_eyetrackvr_app_guide.md.aeb3e08b.js similarity index 95% rename from assets/software_guide_eyetrackvr_app_guide.md.dfcbc709.js rename to assets/software_guide_eyetrackvr_app_guide.md.aeb3e08b.js index f6d1e44..fb6314c 100644 --- a/assets/software_guide_eyetrackvr_app_guide.md.dfcbc709.js +++ b/assets/software_guide_eyetrackvr_app_guide.md.aeb3e08b.js @@ -1 +1 @@ -import{_ as s,a as l}from"./chunks/index.3b745ef0.js";import{_ as o,i as r}from"./chunks/index.9f7265df.js";import{o as d,c as h,G as t,b as a,B as c,V as n,z as e,a as i}from"./chunks/framework.7384f92b.js";const p=n('

How to install, run and adjust the EyeTrackVR app.

Step 1: Download the EyeTrackVR Installer and install the EyeTrackVR app

Go to the latest GitHub release here and download the Setup.exe file.

Follow the prompts and the app should be installed.

Step 2: Run the EyeTrackVR app

If the Create Desktop Shortcut option was checked you should see an icon on your desktop, double click it to run.

You then should be greeted with a GUI that looks like this:

',7),u=n('

Step 3: Getting familiar with settings and terminology

Let's go over some basic terminology you will find in the app.

Starting from the top:

Right eye

Shows the right eye feed and settings only.

Left eye

Shows the left eye feed and settings only.

Both eyes

Shows both eyes' feed and settings.

Camera Address

This is where you enter the IP address of your camera. Alternatively, it can be used to put the cam number for wired cameras or pass in a video file.

Tracking Mode

This changes the GUI to the tracking mode where it outputs values.

Cropping Mode

This is where you will crop out your eye.

Threshold

This is used to cut out things that aren't dark like your pupil.

Rotation

For our method to work best, you want your eye to be level. Use this slider to adjust it to where that is the case.

Restart Calibrationn

This will start a calibration mode for your eye where you look to all extremes.

Recenter Eye

This will recenter your eye to whatever point you are looking at.

Step 4: Adding your cameras to the software and configuring them

Wireless configuration

Power your ESPs and find what the IP address is for your right eye. This can be done by opening both Cameras in a browser and then holding your finger over your right eye camera.

Copy that IP address and then close the browser tab with it open.

Enter that IP address into the app's Camera Address field.

Press the Save and Restart Tracking button.

Wired configuration (experimental)

Note this is a Beta app feature only. Please use the latest Open Beta in the Discord.

Find your ESPs in Device Manager and figure out their COM port numbers i. e. COM4.

Enter that COM port number into the app's Camera Address field.

Press the Save and Restart Tracking button.

Setting up ROI

Don't see your camera feed? That's because we haven't set an ROI.

',36),y=e("p",null,[i("Now press the "),e("code",null,"Cropping Mode"),i(" button. You should see a feed of your camera.")],-1),_=e("p",null,"Put your headset on and use an application to see your desktop. (Virtual desktop, SteamVR desktop, etc.)",-1),g=e("p",null,"You should see something like this:",-1),f=e("p",null,"Now, Draw a rectangle that selects your eye.",-1),m=e("p",null,"A good example of an ROI",-1),b=e("p",null,[i("Head back over to the "),e("code",null,"Tracking mode"),i(".")],-1),k=e("p",null,[i("We will now adjust our rotation by moving the "),e("code",null,"Rotation"),i(" slider.")],-1),w=e("p",null,"From this:",-1),T=e("p",null,"To this:",-1),v=e("p",null,"Now we will adjust our threshold.",-1),P=e("p",null,"Continuing with your headset on, move the slider all the way up. start slowly backing it off until mainly only your pupil is being visualized in the threshold viewer.",-1),q=e("p",null,"Example of a threshold being too low:",-1),x=e("p",null,"Example of too high of a threshold:",-1),R=e("p",null,"Example of a good threshold:",-1),S=n('

Repeat everything in this step for your left eye.

Step 5: Calibrating your eyes

Once your eye is trackable by the software we need to calibrate it.

Press the Restart Calibration button and look around. The important part is that you look to all extremes, all the way up, left, etc. Once you have done so, wait for the Mode to say Tracking

The next step is to center your eye.

Look straight forward and press the Recenter Eye button.

Your eye is now fully calibrated.

Repeat for your other eye.

',8),C=e("p",null," To best center both eyes, look at one spot and hit the 'Recenter Eye' button for each eye without moving your eyes. ",-1),E=e("h2",{id:"see-anything-outdated-on-this-guide-let-me-know-prohurtz-0001",tabindex:"-1"},[i("See anything outdated on this guide? Let me know! "),e("code",null,"Prohurtz#0001"),i(),e("a",{class:"header-anchor",href:"#see-anything-outdated-on-this-guide-let-me-know-prohurtz-0001","aria-label":'Permalink to "See anything outdated on this guide? Let me know! `Prohurtz#0001`"'},"​")],-1),M=JSON.parse('{"title":"How to install, run and adjust the EyeTrackVR app.","description":"","frontmatter":{},"headers":[],"relativePath":"software_guide/eyetrackvr_app_guide.md","filePath":"software_guide/eyetrackvr_app_guide.md","lastUpdated":1689147044000}'),V={name:"software_guide/eyetrackvr_app_guide.md"},j=Object.assign(V,{setup(I){return(A,N)=>(d(),h("div",null,[p,t(o,{options:a(r).eyetrack_vr_guide_three},null,8,["options"]),u,t(o,{options:a(r).eyetrack_vr_guide_four},null,8,["options"]),y,_,g,t(o,{options:a(r).eyetrack_vr_guide_five},null,8,["options"]),f,m,t(o,{options:a(r).eyetrack_vr_guide_six},null,8,["options"]),b,k,w,t(o,{options:a(r).eyetrack_vr_guide_seven},null,8,["options"]),T,t(o,{options:a(r).eyetrack_vr_guide_eight},null,8,["options"]),v,P,q,t(o,{options:a(r).eyetrack_vr_guide_nine},null,8,["options"]),x,t(o,{options:a(r).eyetrack_vr_guide_ten},null,8,["options"]),R,t(o,{options:a(r).eyetrack_vr_guide_eleven},null,8,["options"]),S,t(s,{options:a(l).eyetrack_vr_guide_two},{content:c(()=>[C]),_:1},8,["options"]),E]))}});export{M as __pageData,j as default}; +import{_ as s,a as l}from"./chunks/index.4ffa16ab.js";import{_ as o,i as r}from"./chunks/index.d657d51d.js";import{o as d,c as h,C as t,b as a,y as c,S as n,v as e,a as i}from"./chunks/framework.17985c0a.js";const p=n('

How to install, run and adjust the EyeTrackVR app.

Step 1: Download the EyeTrackVR Installer and install the EyeTrackVR app

Go to the latest GitHub release here and download the Setup.exe file.

Follow the prompts and the app should be installed.

Step 2: Run the EyeTrackVR app

If the Create Desktop Shortcut option was checked you should see an icon on your desktop, double click it to run.

You then should be greeted with a GUI that looks like this:

',7),u=n('

Step 3: Getting familiar with settings and terminology

Let's go over some basic terminology you will find in the app.

Starting from the top:

Right eye

Shows the right eye feed and settings only.

Left eye

Shows the left eye feed and settings only.

Both eyes

Shows both eyes' feed and settings.

Camera Address

This is where you enter the IP address of your camera. Alternatively, it can be used to put the cam number for wired cameras or pass in a video file.

Tracking Mode

This changes the GUI to the tracking mode where it outputs values.

Cropping Mode

This is where you will crop out your eye.

Threshold

This is used to cut out things that aren't dark like your pupil.

Rotation

For our method to work best, you want your eye to be level. Use this slider to adjust it to where that is the case.

Restart Calibrationn

This will start a calibration mode for your eye where you look to all extremes.

Recenter Eye

This will recenter your eye to whatever point you are looking at.

Step 4: Adding your cameras to the software and configuring them

Wireless configuration

Power your ESPs and find what the IP address is for your right eye. This can be done by opening both Cameras in a browser and then holding your finger over your right eye camera.

Copy that IP address and then close the browser tab with it open.

Enter that IP address into the app's Camera Address field.

Press the Save and Restart Tracking button.

Wired configuration (experimental)

Note this is a Beta app feature only. Please use the latest Open Beta in the Discord.

Find your ESPs in Device Manager and figure out their COM port numbers i. e. COM4.

Enter that COM port number into the app's Camera Address field.

Press the Save and Restart Tracking button.

Setting up ROI

Don't see your camera feed? That's because we haven't set an ROI.

',36),y=e("p",null,[i("Now press the "),e("code",null,"Cropping Mode"),i(" button. You should see a feed of your camera.")],-1),_=e("p",null,"Put your headset on and use an application to see your desktop. (Virtual desktop, SteamVR desktop, etc.)",-1),g=e("p",null,"You should see something like this:",-1),f=e("p",null,"Now, Draw a rectangle that selects your eye.",-1),m=e("p",null,"A good example of an ROI",-1),b=e("p",null,[i("Head back over to the "),e("code",null,"Tracking mode"),i(".")],-1),k=e("p",null,[i("We will now adjust our rotation by moving the "),e("code",null,"Rotation"),i(" slider.")],-1),w=e("p",null,"From this:",-1),T=e("p",null,"To this:",-1),v=e("p",null,"Now we will adjust our threshold.",-1),P=e("p",null,"Continuing with your headset on, move the slider all the way up. start slowly backing it off until mainly only your pupil is being visualized in the threshold viewer.",-1),q=e("p",null,"Example of a threshold being too low:",-1),x=e("p",null,"Example of too high of a threshold:",-1),R=e("p",null,"Example of a good threshold:",-1),S=n('

Repeat everything in this step for your left eye.

Step 5: Calibrating your eyes

Once your eye is trackable by the software we need to calibrate it.

Press the Restart Calibration button and look around. The important part is that you look to all extremes, all the way up, left, etc. Once you have done so, wait for the Mode to say Tracking

The next step is to center your eye.

Look straight forward and press the Recenter Eye button.

Your eye is now fully calibrated.

Repeat for your other eye.

',8),C=e("p",null," To best center both eyes, look at one spot and hit the 'Recenter Eye' button for each eye without moving your eyes. ",-1),E=e("h2",{id:"see-anything-outdated-on-this-guide-let-me-know-prohurtz-0001",tabindex:"-1"},[i("See anything outdated on this guide? Let me know! "),e("code",null,"Prohurtz#0001"),i(),e("a",{class:"header-anchor",href:"#see-anything-outdated-on-this-guide-let-me-know-prohurtz-0001","aria-label":'Permalink to "See anything outdated on this guide? Let me know! `Prohurtz#0001`"'},"​")],-1),j=JSON.parse('{"title":"How to install, run and adjust the EyeTrackVR app.","description":"","frontmatter":{},"headers":[],"relativePath":"software_guide/eyetrackvr_app_guide.md","filePath":"software_guide/eyetrackvr_app_guide.md","lastUpdated":1689147044000}'),V={name:"software_guide/eyetrackvr_app_guide.md"},B=Object.assign(V,{setup(I){return(A,N)=>(d(),h("div",null,[p,t(o,{options:a(r).eyetrack_vr_guide_three},null,8,["options"]),u,t(o,{options:a(r).eyetrack_vr_guide_four},null,8,["options"]),y,_,g,t(o,{options:a(r).eyetrack_vr_guide_five},null,8,["options"]),f,m,t(o,{options:a(r).eyetrack_vr_guide_six},null,8,["options"]),b,k,w,t(o,{options:a(r).eyetrack_vr_guide_seven},null,8,["options"]),T,t(o,{options:a(r).eyetrack_vr_guide_eight},null,8,["options"]),v,P,q,t(o,{options:a(r).eyetrack_vr_guide_nine},null,8,["options"]),x,t(o,{options:a(r).eyetrack_vr_guide_ten},null,8,["options"]),R,t(o,{options:a(r).eyetrack_vr_guide_eleven},null,8,["options"]),S,t(s,{options:a(l).eyetrack_vr_guide_two},{content:c(()=>[C]),_:1},8,["options"]),E]))}});export{j as __pageData,B as default}; diff --git a/assets/software_guide_eyetrackvr_app_guide.md.dfcbc709.lean.js b/assets/software_guide_eyetrackvr_app_guide.md.aeb3e08b.lean.js similarity index 85% rename from assets/software_guide_eyetrackvr_app_guide.md.dfcbc709.lean.js rename to assets/software_guide_eyetrackvr_app_guide.md.aeb3e08b.lean.js index 42bec3a..d71f46b 100644 --- a/assets/software_guide_eyetrackvr_app_guide.md.dfcbc709.lean.js +++ b/assets/software_guide_eyetrackvr_app_guide.md.aeb3e08b.lean.js @@ -1 +1 @@ -import{_ as s,a as l}from"./chunks/index.3b745ef0.js";import{_ as o,i as r}from"./chunks/index.9f7265df.js";import{o as d,c as h,G as t,b as a,B as c,V as n,z as e,a as i}from"./chunks/framework.7384f92b.js";const p=n("",7),u=n("",36),y=e("p",null,[i("Now press the "),e("code",null,"Cropping Mode"),i(" button. You should see a feed of your camera.")],-1),_=e("p",null,"Put your headset on and use an application to see your desktop. (Virtual desktop, SteamVR desktop, etc.)",-1),g=e("p",null,"You should see something like this:",-1),f=e("p",null,"Now, Draw a rectangle that selects your eye.",-1),m=e("p",null,"A good example of an ROI",-1),b=e("p",null,[i("Head back over to the "),e("code",null,"Tracking mode"),i(".")],-1),k=e("p",null,[i("We will now adjust our rotation by moving the "),e("code",null,"Rotation"),i(" slider.")],-1),w=e("p",null,"From this:",-1),T=e("p",null,"To this:",-1),v=e("p",null,"Now we will adjust our threshold.",-1),P=e("p",null,"Continuing with your headset on, move the slider all the way up. start slowly backing it off until mainly only your pupil is being visualized in the threshold viewer.",-1),q=e("p",null,"Example of a threshold being too low:",-1),x=e("p",null,"Example of too high of a threshold:",-1),R=e("p",null,"Example of a good threshold:",-1),S=n("",8),C=e("p",null," To best center both eyes, look at one spot and hit the 'Recenter Eye' button for each eye without moving your eyes. ",-1),E=e("h2",{id:"see-anything-outdated-on-this-guide-let-me-know-prohurtz-0001",tabindex:"-1"},[i("See anything outdated on this guide? Let me know! "),e("code",null,"Prohurtz#0001"),i(),e("a",{class:"header-anchor",href:"#see-anything-outdated-on-this-guide-let-me-know-prohurtz-0001","aria-label":'Permalink to "See anything outdated on this guide? Let me know! `Prohurtz#0001`"'},"​")],-1),M=JSON.parse('{"title":"How to install, run and adjust the EyeTrackVR app.","description":"","frontmatter":{},"headers":[],"relativePath":"software_guide/eyetrackvr_app_guide.md","filePath":"software_guide/eyetrackvr_app_guide.md","lastUpdated":1689147044000}'),V={name:"software_guide/eyetrackvr_app_guide.md"},j=Object.assign(V,{setup(I){return(A,N)=>(d(),h("div",null,[p,t(o,{options:a(r).eyetrack_vr_guide_three},null,8,["options"]),u,t(o,{options:a(r).eyetrack_vr_guide_four},null,8,["options"]),y,_,g,t(o,{options:a(r).eyetrack_vr_guide_five},null,8,["options"]),f,m,t(o,{options:a(r).eyetrack_vr_guide_six},null,8,["options"]),b,k,w,t(o,{options:a(r).eyetrack_vr_guide_seven},null,8,["options"]),T,t(o,{options:a(r).eyetrack_vr_guide_eight},null,8,["options"]),v,P,q,t(o,{options:a(r).eyetrack_vr_guide_nine},null,8,["options"]),x,t(o,{options:a(r).eyetrack_vr_guide_ten},null,8,["options"]),R,t(o,{options:a(r).eyetrack_vr_guide_eleven},null,8,["options"]),S,t(s,{options:a(l).eyetrack_vr_guide_two},{content:c(()=>[C]),_:1},8,["options"]),E]))}});export{M as __pageData,j as default}; +import{_ as s,a as l}from"./chunks/index.4ffa16ab.js";import{_ as o,i as r}from"./chunks/index.d657d51d.js";import{o as d,c as h,C as t,b as a,y as c,S as n,v as e,a as i}from"./chunks/framework.17985c0a.js";const p=n("",7),u=n("",36),y=e("p",null,[i("Now press the "),e("code",null,"Cropping Mode"),i(" button. You should see a feed of your camera.")],-1),_=e("p",null,"Put your headset on and use an application to see your desktop. (Virtual desktop, SteamVR desktop, etc.)",-1),g=e("p",null,"You should see something like this:",-1),f=e("p",null,"Now, Draw a rectangle that selects your eye.",-1),m=e("p",null,"A good example of an ROI",-1),b=e("p",null,[i("Head back over to the "),e("code",null,"Tracking mode"),i(".")],-1),k=e("p",null,[i("We will now adjust our rotation by moving the "),e("code",null,"Rotation"),i(" slider.")],-1),w=e("p",null,"From this:",-1),T=e("p",null,"To this:",-1),v=e("p",null,"Now we will adjust our threshold.",-1),P=e("p",null,"Continuing with your headset on, move the slider all the way up. start slowly backing it off until mainly only your pupil is being visualized in the threshold viewer.",-1),q=e("p",null,"Example of a threshold being too low:",-1),x=e("p",null,"Example of too high of a threshold:",-1),R=e("p",null,"Example of a good threshold:",-1),S=n("",8),C=e("p",null," To best center both eyes, look at one spot and hit the 'Recenter Eye' button for each eye without moving your eyes. ",-1),E=e("h2",{id:"see-anything-outdated-on-this-guide-let-me-know-prohurtz-0001",tabindex:"-1"},[i("See anything outdated on this guide? Let me know! "),e("code",null,"Prohurtz#0001"),i(),e("a",{class:"header-anchor",href:"#see-anything-outdated-on-this-guide-let-me-know-prohurtz-0001","aria-label":'Permalink to "See anything outdated on this guide? Let me know! `Prohurtz#0001`"'},"​")],-1),j=JSON.parse('{"title":"How to install, run and adjust the EyeTrackVR app.","description":"","frontmatter":{},"headers":[],"relativePath":"software_guide/eyetrackvr_app_guide.md","filePath":"software_guide/eyetrackvr_app_guide.md","lastUpdated":1689147044000}'),V={name:"software_guide/eyetrackvr_app_guide.md"},B=Object.assign(V,{setup(I){return(A,N)=>(d(),h("div",null,[p,t(o,{options:a(r).eyetrack_vr_guide_three},null,8,["options"]),u,t(o,{options:a(r).eyetrack_vr_guide_four},null,8,["options"]),y,_,g,t(o,{options:a(r).eyetrack_vr_guide_five},null,8,["options"]),f,m,t(o,{options:a(r).eyetrack_vr_guide_six},null,8,["options"]),b,k,w,t(o,{options:a(r).eyetrack_vr_guide_seven},null,8,["options"]),T,t(o,{options:a(r).eyetrack_vr_guide_eight},null,8,["options"]),v,P,q,t(o,{options:a(r).eyetrack_vr_guide_nine},null,8,["options"]),x,t(o,{options:a(r).eyetrack_vr_guide_ten},null,8,["options"]),R,t(o,{options:a(r).eyetrack_vr_guide_eleven},null,8,["options"]),S,t(s,{options:a(l).eyetrack_vr_guide_two},{content:c(()=>[C]),_:1},8,["options"]),E]))}});export{j as __pageData,B as default}; diff --git a/assets/software_guide_osc_setup.md.a5e43cc8.js b/assets/software_guide_osc_setup.md.0ed7cc47.js similarity index 92% rename from assets/software_guide_osc_setup.md.a5e43cc8.js rename to assets/software_guide_osc_setup.md.0ed7cc47.js index 1f72c68..3d6e8c7 100644 --- a/assets/software_guide_osc_setup.md.a5e43cc8.js +++ b/assets/software_guide_osc_setup.md.0ed7cc47.js @@ -1 +1 @@ -import{_ as r,a as l}from"./chunks/index.3b745ef0.js";import{_ as a,i as n}from"./chunks/index.9f7265df.js";import{o as c,c as d,G as t,B as h,b as o,z as e,a as i,V as s}from"./chunks/framework.7384f92b.js";const p=e("h1",{id:"setting-up-recalibration-and-recentering-from-vrchat",tabindex:"-1"},[i("Setting up recalibration and recentering from VRChat. "),e("a",{class:"header-anchor",href:"#setting-up-recalibration-and-recentering-from-vrchat","aria-label":'Permalink to "Setting up recalibration and recentering from VRChat."'},"​")],-1),u=e("p",null,"ETVR has a mechanism that allows you to recalibrate and recenter your tracking without the need to interact with the app directly, here's how to setup your avatar to make use of OSC to trigger this from within VRC itself.",-1),_=e("p",null," Note, while this page explains how to do it from the point of view of vrchat, it can be done in Neos and CVR too, all the app listens to are two OSC messages. ",-1),m=s('

Setting up your parameters

Adding parameters

You'll need to add two parameters to your Parameters config, those being:

  • etvr_recalibrate: Bool
  • etvr_recenter: Bool

Both of them do not have to be synced, meaning they won't increase your total memory count.

To do this, in Unity, select your avatar on the scene and find Avatar Descriptor in the inspector. In it, find the section named "expressions", expand it and click on the file assigned to the "parameters" field, that's your Parameters config.

',6),f=e("p",null,[i("Clicking on it will highligh the associated asset in the asset browser, click on the highlighted file to get its content to show in the inspector panel. Now, in the inspector click on the "),e("code",null,"Add"),i(" button to add the parameters mentioned above, both of them need to be of type Bool, they don't need to be synced nor saved.")],-1),g=e("p",null,"That's it for the parameters.",-1),b=e("h3",{id:"adding-buttons-to-the-menu",tabindex:"-1"},[i("Adding buttons to the menu "),e("a",{class:"header-anchor",href:"#adding-buttons-to-the-menu","aria-label":'Permalink to "Adding buttons to the menu"'},"​")],-1),y=e("p",null,"Now, you will need to add actual buttons for them in your gesture menu.",-1),v=e("p",null,"The expressions section mentioned above also contains the menu, you can use that to either add the buttons there directly or create a small submenu to make it less cluttered, here we will add them directly.",-1),w=e("p",null,'Once you have the menu file opened in the inspector, click on the "add control" button. This will add an empty action slot, expand it.',-1),k=e("p",null,`You'll see a bunch of fields, like name, icon, type and parameter. Firstly, let's give it a friendly name like "recalibrate eyes" or "recenter tracking" depending on the action you want to assign to them.`,-1),C=e("p",null,"Leave the type as is - as a button, it's more convenient as it bounces back into the off state by itself.",-1),T=e("p",null,[i("Now, in the parameter section, click on the "),e("code",null,"[None]"),i(" and select one of the parameters you have created in the previous section.")],-1),V=s('

Repeat the steps for the other one.

Once done simply build and upload the updated version of your avatar.

And that's it, you now should be able to recenter and recalibrate your tracking form inside of VRC!

Reseting the OSC config in case the parameters don't work

Sometimes VRChat won't regenerate the config files that it to communicate the changes to anyone that's listening, to fix this it's enough to simply delete the auto generated configuration files and let VRC remake them.

They are stored under

C:\\Users\\<user>\\AppData\\LocalLow\\VRChat\\VRChat\\OSC\\<your user uuid>\\Avatars\\

Deleting the contents of the Avatars directory will resolve the issue.

Other platforms

Like mentioned in the note, this functionality is not limited to VRC.

The app itself listens to OSC messages sent on port 9001 to two addresses:

  • /avatar/parameters/etvr_recenter
  • /avatar/parameters/etvr_recalibrate

It only needs to receive a Bool value of True to trigger the recenter and calibration.

The port and the adresses can be changed in the app settings, if need be.

',14),O=JSON.parse('{"title":"Setting up recalibration and recentering from VRChat.","description":"","frontmatter":{},"headers":[],"relativePath":"software_guide/osc_setup.md","filePath":"software_guide/osc_setup.md","lastUpdated":1682887355000}'),x={name:"software_guide/osc_setup.md"},B=Object.assign(x,{setup(S){return(R,A)=>(c(),d("div",null,[p,u,t(r,{options:o(l).parts_list_two},{content:h(()=>[_]),_:1},8,["options"]),m,t(a,{options:o(n).unity_vrc_expressions},null,8,["options"]),f,t(a,{options:o(n).unity_vrc_expressions_add_fields},null,8,["options"]),t(a,{options:o(n).unity_vrc_expressions_fields},null,8,["options"]),g,b,y,v,t(a,{options:o(n).unity_vrc_expressions},null,8,["options"]),w,t(a,{options:o(n).unity_vrc_empty_control},null,8,["options"]),k,C,T,t(a,{options:o(n).unity_vrc_control_setup},null,8,["options"]),V]))}});export{O as __pageData,B as default}; +import{_ as r,a as l}from"./chunks/index.4ffa16ab.js";import{_ as a,i as n}from"./chunks/index.d657d51d.js";import{o as c,c as d,C as t,y as h,b as o,v as e,a as i,S as s}from"./chunks/framework.17985c0a.js";const p=e("h1",{id:"setting-up-recalibration-and-recentering-from-vrchat",tabindex:"-1"},[i("Setting up recalibration and recentering from VRChat. "),e("a",{class:"header-anchor",href:"#setting-up-recalibration-and-recentering-from-vrchat","aria-label":'Permalink to "Setting up recalibration and recentering from VRChat."'},"​")],-1),u=e("p",null,"ETVR has a mechanism that allows you to recalibrate and recenter your tracking without the need to interact with the app directly, here's how to setup your avatar to make use of OSC to trigger this from within VRC itself.",-1),_=e("p",null," Note, while this page explains how to do it from the point of view of vrchat, it can be done in Neos and CVR too, all the app listens to are two OSC messages. ",-1),m=s('

Setting up your parameters

Adding parameters

You'll need to add two parameters to your Parameters config, those being:

  • etvr_recalibrate: Bool
  • etvr_recenter: Bool

Both of them do not have to be synced, meaning they won't increase your total memory count.

To do this, in Unity, select your avatar on the scene and find Avatar Descriptor in the inspector. In it, find the section named "expressions", expand it and click on the file assigned to the "parameters" field, that's your Parameters config.

',6),f=e("p",null,[i("Clicking on it will highligh the associated asset in the asset browser, click on the highlighted file to get its content to show in the inspector panel. Now, in the inspector click on the "),e("code",null,"Add"),i(" button to add the parameters mentioned above, both of them need to be of type Bool, they don't need to be synced nor saved.")],-1),g=e("p",null,"That's it for the parameters.",-1),b=e("h3",{id:"adding-buttons-to-the-menu",tabindex:"-1"},[i("Adding buttons to the menu "),e("a",{class:"header-anchor",href:"#adding-buttons-to-the-menu","aria-label":'Permalink to "Adding buttons to the menu"'},"​")],-1),y=e("p",null,"Now, you will need to add actual buttons for them in your gesture menu.",-1),v=e("p",null,"The expressions section mentioned above also contains the menu, you can use that to either add the buttons there directly or create a small submenu to make it less cluttered, here we will add them directly.",-1),w=e("p",null,'Once you have the menu file opened in the inspector, click on the "add control" button. This will add an empty action slot, expand it.',-1),k=e("p",null,`You'll see a bunch of fields, like name, icon, type and parameter. Firstly, let's give it a friendly name like "recalibrate eyes" or "recenter tracking" depending on the action you want to assign to them.`,-1),C=e("p",null,"Leave the type as is - as a button, it's more convenient as it bounces back into the off state by itself.",-1),T=e("p",null,[i("Now, in the parameter section, click on the "),e("code",null,"[None]"),i(" and select one of the parameters you have created in the previous section.")],-1),S=s('

Repeat the steps for the other one.

Once done simply build and upload the updated version of your avatar.

And that's it, you now should be able to recenter and recalibrate your tracking form inside of VRC!

Reseting the OSC config in case the parameters don't work

Sometimes VRChat won't regenerate the config files that it to communicate the changes to anyone that's listening, to fix this it's enough to simply delete the auto generated configuration files and let VRC remake them.

They are stored under

C:\\Users\\<user>\\AppData\\LocalLow\\VRChat\\VRChat\\OSC\\<your user uuid>\\Avatars\\

Deleting the contents of the Avatars directory will resolve the issue.

Other platforms

Like mentioned in the note, this functionality is not limited to VRC.

The app itself listens to OSC messages sent on port 9001 to two addresses:

  • /avatar/parameters/etvr_recenter
  • /avatar/parameters/etvr_recalibrate

It only needs to receive a Bool value of True to trigger the recenter and calibration.

The port and the adresses can be changed in the app settings, if need be.

',14),O=JSON.parse('{"title":"Setting up recalibration and recentering from VRChat.","description":"","frontmatter":{},"headers":[],"relativePath":"software_guide/osc_setup.md","filePath":"software_guide/osc_setup.md","lastUpdated":1682887355000}'),x={name:"software_guide/osc_setup.md"},B=Object.assign(x,{setup(V){return(R,A)=>(c(),d("div",null,[p,u,t(r,{options:o(l).parts_list_two},{content:h(()=>[_]),_:1},8,["options"]),m,t(a,{options:o(n).unity_vrc_expressions},null,8,["options"]),f,t(a,{options:o(n).unity_vrc_expressions_add_fields},null,8,["options"]),t(a,{options:o(n).unity_vrc_expressions_fields},null,8,["options"]),g,b,y,v,t(a,{options:o(n).unity_vrc_expressions},null,8,["options"]),w,t(a,{options:o(n).unity_vrc_empty_control},null,8,["options"]),k,C,T,t(a,{options:o(n).unity_vrc_control_setup},null,8,["options"]),S]))}});export{O as __pageData,B as default}; diff --git a/assets/software_guide_osc_setup.md.a5e43cc8.lean.js b/assets/software_guide_osc_setup.md.0ed7cc47.lean.js similarity index 87% rename from assets/software_guide_osc_setup.md.a5e43cc8.lean.js rename to assets/software_guide_osc_setup.md.0ed7cc47.lean.js index ef6fe1c..491a089 100644 --- a/assets/software_guide_osc_setup.md.a5e43cc8.lean.js +++ b/assets/software_guide_osc_setup.md.0ed7cc47.lean.js @@ -1 +1 @@ -import{_ as r,a as l}from"./chunks/index.3b745ef0.js";import{_ as a,i as n}from"./chunks/index.9f7265df.js";import{o as c,c as d,G as t,B as h,b as o,z as e,a as i,V as s}from"./chunks/framework.7384f92b.js";const p=e("h1",{id:"setting-up-recalibration-and-recentering-from-vrchat",tabindex:"-1"},[i("Setting up recalibration and recentering from VRChat. "),e("a",{class:"header-anchor",href:"#setting-up-recalibration-and-recentering-from-vrchat","aria-label":'Permalink to "Setting up recalibration and recentering from VRChat."'},"​")],-1),u=e("p",null,"ETVR has a mechanism that allows you to recalibrate and recenter your tracking without the need to interact with the app directly, here's how to setup your avatar to make use of OSC to trigger this from within VRC itself.",-1),_=e("p",null," Note, while this page explains how to do it from the point of view of vrchat, it can be done in Neos and CVR too, all the app listens to are two OSC messages. ",-1),m=s("",6),f=e("p",null,[i("Clicking on it will highligh the associated asset in the asset browser, click on the highlighted file to get its content to show in the inspector panel. Now, in the inspector click on the "),e("code",null,"Add"),i(" button to add the parameters mentioned above, both of them need to be of type Bool, they don't need to be synced nor saved.")],-1),g=e("p",null,"That's it for the parameters.",-1),b=e("h3",{id:"adding-buttons-to-the-menu",tabindex:"-1"},[i("Adding buttons to the menu "),e("a",{class:"header-anchor",href:"#adding-buttons-to-the-menu","aria-label":'Permalink to "Adding buttons to the menu"'},"​")],-1),y=e("p",null,"Now, you will need to add actual buttons for them in your gesture menu.",-1),v=e("p",null,"The expressions section mentioned above also contains the menu, you can use that to either add the buttons there directly or create a small submenu to make it less cluttered, here we will add them directly.",-1),w=e("p",null,'Once you have the menu file opened in the inspector, click on the "add control" button. This will add an empty action slot, expand it.',-1),k=e("p",null,`You'll see a bunch of fields, like name, icon, type and parameter. Firstly, let's give it a friendly name like "recalibrate eyes" or "recenter tracking" depending on the action you want to assign to them.`,-1),C=e("p",null,"Leave the type as is - as a button, it's more convenient as it bounces back into the off state by itself.",-1),T=e("p",null,[i("Now, in the parameter section, click on the "),e("code",null,"[None]"),i(" and select one of the parameters you have created in the previous section.")],-1),V=s("",14),O=JSON.parse('{"title":"Setting up recalibration and recentering from VRChat.","description":"","frontmatter":{},"headers":[],"relativePath":"software_guide/osc_setup.md","filePath":"software_guide/osc_setup.md","lastUpdated":1682887355000}'),x={name:"software_guide/osc_setup.md"},B=Object.assign(x,{setup(S){return(R,A)=>(c(),d("div",null,[p,u,t(r,{options:o(l).parts_list_two},{content:h(()=>[_]),_:1},8,["options"]),m,t(a,{options:o(n).unity_vrc_expressions},null,8,["options"]),f,t(a,{options:o(n).unity_vrc_expressions_add_fields},null,8,["options"]),t(a,{options:o(n).unity_vrc_expressions_fields},null,8,["options"]),g,b,y,v,t(a,{options:o(n).unity_vrc_expressions},null,8,["options"]),w,t(a,{options:o(n).unity_vrc_empty_control},null,8,["options"]),k,C,T,t(a,{options:o(n).unity_vrc_control_setup},null,8,["options"]),V]))}});export{O as __pageData,B as default}; +import{_ as r,a as l}from"./chunks/index.4ffa16ab.js";import{_ as a,i as n}from"./chunks/index.d657d51d.js";import{o as c,c as d,C as t,y as h,b as o,v as e,a as i,S as s}from"./chunks/framework.17985c0a.js";const p=e("h1",{id:"setting-up-recalibration-and-recentering-from-vrchat",tabindex:"-1"},[i("Setting up recalibration and recentering from VRChat. "),e("a",{class:"header-anchor",href:"#setting-up-recalibration-and-recentering-from-vrchat","aria-label":'Permalink to "Setting up recalibration and recentering from VRChat."'},"​")],-1),u=e("p",null,"ETVR has a mechanism that allows you to recalibrate and recenter your tracking without the need to interact with the app directly, here's how to setup your avatar to make use of OSC to trigger this from within VRC itself.",-1),_=e("p",null," Note, while this page explains how to do it from the point of view of vrchat, it can be done in Neos and CVR too, all the app listens to are two OSC messages. ",-1),m=s("",6),f=e("p",null,[i("Clicking on it will highligh the associated asset in the asset browser, click on the highlighted file to get its content to show in the inspector panel. Now, in the inspector click on the "),e("code",null,"Add"),i(" button to add the parameters mentioned above, both of them need to be of type Bool, they don't need to be synced nor saved.")],-1),g=e("p",null,"That's it for the parameters.",-1),b=e("h3",{id:"adding-buttons-to-the-menu",tabindex:"-1"},[i("Adding buttons to the menu "),e("a",{class:"header-anchor",href:"#adding-buttons-to-the-menu","aria-label":'Permalink to "Adding buttons to the menu"'},"​")],-1),y=e("p",null,"Now, you will need to add actual buttons for them in your gesture menu.",-1),v=e("p",null,"The expressions section mentioned above also contains the menu, you can use that to either add the buttons there directly or create a small submenu to make it less cluttered, here we will add them directly.",-1),w=e("p",null,'Once you have the menu file opened in the inspector, click on the "add control" button. This will add an empty action slot, expand it.',-1),k=e("p",null,`You'll see a bunch of fields, like name, icon, type and parameter. Firstly, let's give it a friendly name like "recalibrate eyes" or "recenter tracking" depending on the action you want to assign to them.`,-1),C=e("p",null,"Leave the type as is - as a button, it's more convenient as it bounces back into the off state by itself.",-1),T=e("p",null,[i("Now, in the parameter section, click on the "),e("code",null,"[None]"),i(" and select one of the parameters you have created in the previous section.")],-1),S=s("",14),O=JSON.parse('{"title":"Setting up recalibration and recentering from VRChat.","description":"","frontmatter":{},"headers":[],"relativePath":"software_guide/osc_setup.md","filePath":"software_guide/osc_setup.md","lastUpdated":1682887355000}'),x={name:"software_guide/osc_setup.md"},B=Object.assign(x,{setup(V){return(R,A)=>(c(),d("div",null,[p,u,t(r,{options:o(l).parts_list_two},{content:h(()=>[_]),_:1},8,["options"]),m,t(a,{options:o(n).unity_vrc_expressions},null,8,["options"]),f,t(a,{options:o(n).unity_vrc_expressions_add_fields},null,8,["options"]),t(a,{options:o(n).unity_vrc_expressions_fields},null,8,["options"]),g,b,y,v,t(a,{options:o(n).unity_vrc_expressions},null,8,["options"]),w,t(a,{options:o(n).unity_vrc_empty_control},null,8,["options"]),k,C,T,t(a,{options:o(n).unity_vrc_control_setup},null,8,["options"]),S]))}});export{O as __pageData,B as default}; diff --git a/contact.html b/contact.html index b93d99a..a643dd5 100644 --- a/contact.html +++ b/contact.html @@ -6,16 +6,16 @@ EyeTrackVR Docs | EyeTrackVR Docs - + - - - + + + - diff --git a/dev_roadmap.html b/dev_roadmap.html index 5ec1d3b..769ab05 100644 --- a/dev_roadmap.html +++ b/dev_roadmap.html @@ -6,17 +6,17 @@ EyeTrackVR Development Roadmap | EyeTrackVR Docs - + - - - - + + + + -
Skip to content

Released under the MIT License.

- diff --git a/development/docs/dev_docs.html b/development/docs/dev_docs.html index 6c5b52c..92bd569 100644 --- a/development/docs/dev_docs.html +++ b/development/docs/dev_docs.html @@ -6,16 +6,16 @@ Development Documentation for the EyeTrackVR Docs Site | EyeTrackVR Docs - + - - - + + +
Skip to content
On this page

Development Documentation for the EyeTrackVR Docs Site

This is the documentation for the EyeTrackVR Docs site. It is built using VitePress.

Getting Started

Prerequisites

  • Node.js (v14.15.4 or higher)
  • Yarn (v1.22.10 or higher)
  • Git (v2.30.1 or higher)
  • VSCode (v1.56.2 or higher)

Installation

  1. Clone the repo

    sh
    git clone https://github.com/EyeTrackVR/EyeTrackVR-Docs.git
  2. Navigate to the vitepress folder

    sh
    cd vitepress
  3. Install Yarn packages

    sh
    yarn
  4. Start the dev server

    sh
    yarn dev
  5. Open the site in your browser

Contributing

Project Structure

  1. Familiarize yourself with the VitePress documentation.
  2. Then, move on to our project specific documentation below.

Standards

  • All documentation should be written in Markdown or Vue components.
  • All file names are snake case and lowercase letters.
  • Do not make naming changes to the vitepress folder.
  • Do not make major changes to the vitepress folder structure without proir consultation of team members.
  • For Vue componentes, follow the Vue3 docs.

Released under the MIT License.

- diff --git a/development/docs/pages.html b/development/docs/pages.html index 685e30d..2b94c26 100644 --- a/development/docs/pages.html +++ b/development/docs/pages.html @@ -6,11 +6,11 @@ Pages | EyeTrackVR Docs - + - - - + + + @@ -23,7 +23,7 @@ { text: "My Page", link: "/my_folder/my_page" }, // Add this line - subdir then file ], },

Note

The link property does not require a file extension. Please do not add it.

Title Style

The title style is the style of the title that appears at the top of the page.

We like to keep this cohesive, so please use the following style:

md
# My Page {.text-[var(--font-accent)]}

This will give the title a nice orange colour.

The {} are required, and the .text-[#e67e22] is the colour using TailWindCSS classes. You can also use our built in CSS variables {.text-[var(--font-accent)]}. You will find these in the src/styles/theme.css file. You can change this to any colour you like, but please keep it consistent with the rest of the site.

Tip

This entire site supports TailWindCSS classes. You can find the documentation here.

All classes you wish to add, must be prefaced with a . when inside of the {}.

When using classes on HTML elements, you can use the class attribute. For example:

html
<h1 class="text-[#e67e22]">My Page</h1>

Editing a Page

To edit a page, you will need to edit the Markdown file in the vitepress/docs/src/pages folder.

Released under the MIT License.

- diff --git a/development/docs/standards.html b/development/docs/standards.html index abab072..0710612 100644 --- a/development/docs/standards.html +++ b/development/docs/standards.html @@ -6,11 +6,11 @@ Standards Guide | EyeTrackVR Docs - + - - - + + + @@ -23,7 +23,7 @@ - added new thing # some detail about the new thing BREAKING CHANGE: this is a breaking change #this line is optionaland only used if needed

Released under the MIT License.

- diff --git a/firmware_guide/configure_firmware.html b/firmware_guide/configure_firmware.html index 85419e4..9ed56e7 100644 --- a/firmware_guide/configure_firmware.html +++ b/firmware_guide/configure_firmware.html @@ -6,18 +6,18 @@ Configuring the firmware | EyeTrackVR Docs - + - - - - - + + + + +
Skip to content
On this page

Configuring the firmware

Once you have opened the project, you should see something on the left side like this

'img'

Open the ini/user_config.ini file

'img'

INFO

These settings are applicable only when using Wi-Fi for communication with your computer. If you are using USB, you can skip to reading about Environments.

Replace the placeholder text with your correct SSID (WiFi access point name), and password respectfully.

INFO

Special characters such as ! and @ are not supported. If you have a special character in your password or ssid, you will need to change it.

Spaces are not supported either. If you have a space in either, you will need to change it.

The firmware supports AP mode, but it is not recommended. If you are using AP mode, you will need to set the enableadhoc to 1.

Then, you will need to set the ap_ssid to the name of your AP, and ap_password to the password of your AP.

You can choose to leave the ap_ssid and ap_password as defaults, but you will need to set the enableadhoc to 1.

Note: If you are enabling AP mode for both ESPs, you will need to set the ap_ssid and ap_password to different values for both ESPs. It is best to set AP mode only for one ESP, and leave the other ESP in STA mode. Connect the other ESP to the AP of the ESP in AP mode. Then connect your computer to the AP of the ESP in AP mode. This will allow you to connect to the ESP in AP mode, and the ESP in STA mode.

CAUTION

Make sure your wifi router has a 2.4 GHz band. While most do, this is not always the case. Setting each band (5GHz, and 2.4GHz) to different SSIDs is recommended, though not required.

Double check that you have correctly entered your WiFi credentials and that said wifi network has a 2.4GHz band.

Additonal configuration

mDNS

If you do not wish to manually keep track of the ESPs IP addresses and ports, you can enable the mDNS feature. This will allow you to connect to the ESPs using the following format: http://<some_name>.local. This will only work if you are connected to the same network as the ESPs, and if you have enabled mDNS on your computer. If you are using Windows, you can enable mDNS by following this guide.

OTA

The firmware supports OTA updates. This means that you can update the firmware without having to connect to the ESPs. To enable OTA updates, you will need to set the enableota to 1. Then, you will need to set the otapassword to the password you wish to use to update the firmware. You will need to use this password to update the firmware. If you do not wish to use a password, you can set the otapassword to nothing. This will allow you to update the firmware without a password. However, this is not recommended, as anyone on your network will be able to update the firmware.

You will also need to set the otaserverip to the IP address of the ESP you wish to update. This is the IP address of the ESP you wish to update. If you are using mDNS, you can use the mDNS name of the ESP you wish to update. For example, if you are updating the ESP with the dns set to http://esp32.local, you will need to set the otaserverip to http://esp32.local.

REST API

The firmware also supports a fully featured REST API. This means that you can control the ESPs using a REST API. This feature is enabled by defauly, and can not be turned off.

This feature is used more for advanced users, and is not required for basic operation.

The REST API was developed to be used by our new app (still in development). However, it can be used by any REST API client, you can not send POST requests to the ESPs using a browser though, so some REST API functionality can only be used by tools like Thunder Client or Postman.

The full REST API is documented here.

Environments

The firmware supports multiple environments. This means that we have full support for multiple types of ESPs. Each ESP is configured to be in a different environment. If you are using a different ESP, you will need to change the environment to the correct one.

Please reference the Firmware Enviroments Page for more information.

Coming Soon

We are working on a new app that will allow you to configure the firmware, flash the boards, and connect to Social VR Games using a GUI. This will make it easier to configure the firmware, and will allow you to configure the firmware without having to use/download VSCode or our platformio project. We are hard at work on this, but do not currently have a release date. Please check back frequently.

Now, move on to uploading the firmware

Released under the MIT License.

- diff --git a/firmware_guide/environments.html b/firmware_guide/environments.html index b7c61bc..7e505d0 100644 --- a/firmware_guide/environments.html +++ b/firmware_guide/environments.html @@ -6,17 +6,17 @@ Firmware Environments | EyeTrackVR Docs - + - - - - + + + +
Skip to content
On this page

Firmware Environments

What is it?

A firmware environment is a way to store the custom firmware config for a specific device. This is useful if you want to have multiple devices with different firmware configs.

We use environments to store the firmware config for each device, so that you can easily switch between them.

Environments are broken up into two distinct parts:

  • The build type (e.g. debug, release)
  • The board type (e.g. espaithinker, esp32cam)

Build Types

We now have a couple of options letting us decide how we want to build the firmware.

  • Debug - The debug environment is the default environment and does not need to be specified. It has a lot of logging so it is useful for getting everything setup for the first time and to see what is going on.

  • _release - Has a lot less debugging, may also be missing some things available only in debug for debug purposes, this should be flashed when everything is working.

Examples:
xiaosenses3 - This is the debug environment.
xiaosenses3_release - This is the release environment for daily use.

Tip

We recommend starting with a debug environment, and then switching to release once everything is working. A debug environnement should not be used permanently.

Board Types

We currently support for several different boards, and we are working on adding more.

Warning

It is important to note that the esp32AIThinker environment is the default environment. Only switch your environment if you have another board or an environment is not working.

Most esp32Cams from Aliexpress will work with the esp32AIThinker environment, but some may require the esp32cam environment. Test the default environment first, and if it does not work, try the esp32cam environment.

Currently supported boards:

  • esp32AIThinker - This is the default environment. This is for the ESP32-AI-THINKER and generic alibaba/aliexpress/amazon esp cam boards.
  • esp32Cam - This is for the special ESP32-CAM, it is unlikely that you will need to use this environment.
  • esp32M5Stack - This is for ESP32M5Stack.
  • esp32WRover - This is for the ESP32WRover.
  • esp-eye - This is for the ESP-EYE (not the S3 variant).
  • wrooms3 - For FREENOVE-ESP32-S3 (wireless mode)
  • wrooms3QIO - For FREENOVE-ESP32-S3 (wireless mode, for boards with octal flash)
  • wrooms3USB - For FREENOVE-ESP32-S3 (wired mode)
  • wrooms3QIOUSB - For FREENOVE-ESP32-S3 (wired mode, for boards with octal flash)
  • xiaosenses3 - For SeedStudio's XAIO ESP32-S3 Sense (wireless mode)
  • xiaosenses3_USB - For SeedStudio's XAIO ESP32-S3 Sense (wired mode)

You can change the board enviroment by changing the default_envs argument in platformio.ini to a supported board like shown:

GIF showing a switch of board enviroments.

Released under the MIT License.

- diff --git a/firmware_guide/firmware.html b/firmware_guide/firmware.html index 9cb3b60..8e6abfa 100644 --- a/firmware_guide/firmware.html +++ b/firmware_guide/firmware.html @@ -6,16 +6,16 @@ What is this? | EyeTrackVR Docs - + - - - + + +
Skip to content
On this page

What is this?

Firmware is the second part of the equation to get your trackers going. It lives on the ESP32 chip, and is responsible for streaming video data from the tracker.

What should I download and where?

Current testing has been on our own solution called OpenIris, found here. To check the status of the project, please visit the Development Road Map

How do download this?

Follow the steps described here

Released under the MIT License.

- diff --git a/firmware_guide/mdns.html b/firmware_guide/mdns.html index 5efbebe..1234766 100644 --- a/firmware_guide/mdns.html +++ b/firmware_guide/mdns.html @@ -6,16 +6,16 @@ MDNS | EyeTrackVR Docs - + - - - + + +
Skip to content
On this page

MDNS

What is it?

mDNS is a protocol that allows you to connect to a device using a name instead of an IP address. This is useful if you do not know the IP address of the device, or if you do not want to keep track of the IP address of the device. This is also useful if you are using a device that does not have a static IP address.

In the mDNS protocol the IP address of the device can change, but the name of the device will always be the same. This means that you can connect to the device using the name of the device, even if the IP address of the device changes.

How to use it

Enable mDNS

The mDNS is enabled by default on the new firmware, and can not be disabled.

To use it, all you need to do is set the name of the device in the firmware config file.

This setting can be located under the [wifi] section of the ini/user_config.ini file.

ini
mdnsname = "openiristracker" # do not add .local

By default, the name of the device is openiristracker, however you can change it to whatever you want.

Change the name

Since you have two ESP32 devices, you need to make sure that the name of the device is different for each device. If you do not change the name of the device, you will not be able to connect to both devices at the same time.

Connect to the device

To connect to the device, you need to use the name of the device followed by .local. For example, if the name of the device is esp32, you can connect to the device using http://esp32.local.

Prerequisites Bonjour

Bonjour is required to use the mDNS protocol for windows and mac only. If you are using Windows, you can download Bonjour from here. If you are using macOS, Bonjour is already installed.

You can also get the fully tested Bonjour package from us here (for Windows only).

Troubleshooting

Can not connect to the device

If you can not connect to the device, make sure that the name of the device is correct. If the name of the device is correct, make sure that the device is connected to the network.

If the device is connected to the network, try to restart the device. If the device is still not connected, try to restart the router.

Released under the MIT License.

- diff --git a/firmware_guide/rest_api.html b/firmware_guide/rest_api.html index b8cb147..f0a0a0b 100644 --- a/firmware_guide/rest_api.html +++ b/firmware_guide/rest_api.html @@ -6,11 +6,11 @@ REST API | EyeTrackVR Docs - + - - - + + + @@ -41,7 +41,7 @@ WIFI_POWER_2dBm = 8,// 2dBm WIFI_POWER_MINUS_1dBm = -4// -1dBm } wifi_power_t;
ParamDescription
txPowerThe power level to set.

Camera Params

Coming Soon

We are currently working on this section of documentation.

Released under the MIT License.

- diff --git a/firmware_guide/setup_vscode.html b/firmware_guide/setup_vscode.html index a6bdc43..3d9e957 100644 --- a/firmware_guide/setup_vscode.html +++ b/firmware_guide/setup_vscode.html @@ -6,17 +6,17 @@ Setting up the environment | EyeTrackVR Docs - + - - - - + + + +
Skip to content
On this page

Setting up the environment

This procedure will show how to prepare your system for uploading the firmware to your tracker.

1. Install Visual Studio Code

Download the latest Visual Studio Code and install it.

Download


'img'

Install


'img'

2. Install the drivers

In order to flash the firmware, you'll need some drivers, mainly the CH340 drivers, here's where to get them from:

https://learn.sparkfun.com/tutorials/how-to-install-ch340-drivers/all

3. Install PlatformIO IDE

Once Visual Studio Code is installed, open it and install PlatformIO IDE for VSCode, an extension that will allow you to connect to the tracker, build and upload the firmware.

'img'

4. Clone the firmware project

Make sure you close any current projects you have open or open a new window before moving forward with these steps.

  1. Go to https://github.com/EyeTrackVR/OpenIris and clone the latest version from the main branch.
    1. If you do not have git installed please install it from here.

    2. Open Git Bash.

'img'
  1. Change the directory to the directory that you want the firmware to be cloned. Ex: cd C:/
'img'
  1. Clone the repository by entering the command: git clone https://github.com/EyeTrackVR/OpenIris.git
'img'

For more info about cloning please refer to this documentation

Do not download as a zip - please only properly clone the project, take note of the path you run the clone command in, this is where the files will be downloaded. When we open it in PlatformIO later, this path will be needed.

  1. Open the firmware in VSCode by going to PlatformIO, selecting open, then navigating to OpenIris/ESP folder and opening it.
'img'

This is an adaptation from SlimeVR. Some Credit goes to the SlimeVR team adapted from here

Released under the MIT License.

- diff --git a/firmware_guide/update_platformio.html b/firmware_guide/update_platformio.html index 986e797..1d81877 100644 --- a/firmware_guide/update_platformio.html +++ b/firmware_guide/update_platformio.html @@ -6,17 +6,17 @@ Updating Platformio | EyeTrackVR Docs - + - - - - + + + +
Skip to content
On this page

Updating Platformio

Sometimes, when building and uploading the firmware, you may run into bizarre, even-though the code is correct - platformio will refuse to build and instead will complain with some weird error.

It usually means that either PlatformIO, or ArduinoSDK got and update and that's the moment when this guide may come in handy.

Updating PlatformIO itself

There are two ways to update your platformio installation

Via CLI

You can update it easily by simply typing in one command into your terminal.

pio upgrade command in the terminal
  1. Open a terminal / command prompt
  2. Type pio upgrade and press enter
  3. Wait for it to finish
  4. Done

Via PlatformIO in Visual Studio Code

You can also update it using the platformio tab in your Visual Studio Code.

  1. Open VSC
  2. Click on that little and icon on the sidebar
Platformio logo button
  1. A side panel will open, there will be a couple of sections, one of them called Quick Access, open it.
Platformio logo Quick Access Section
  1. In Quick Access section, click on the Miscelleneous tab
Platformio miscellaneous section
  1. Then, click on the Upgrade PlatformIO Core
Platformio upgrade core button
  1. Wait for it to finnish and done!

Upgrading the SDK

You'll also need to upgrade the SDK from timem to do this

Upgrading the SDK via VSC

  1. Follow the guide above up until clicking on the Quick Access section.
  2. Instead, open the PIO Home and select Open
Platformio open home
  1. This will open a window for PlatformIO dashboard, in there, click on a Platforms button on the sidebar
Platformio platforms sidebar
  1. Once there, you should see a couple of tabs next to the side bard, things like Installed or Embedded. Click on Updates
Platformio platforms sections
  1. Locate a platform called Espressif 32 and click on Update to <version>
Platformio platforms update view
  1. Wait until it is done and that's it!

Released under the MIT License.

- diff --git a/firmware_guide/upload_and_update_firmware.html b/firmware_guide/upload_and_update_firmware.html index dd8e529..cba4b8f 100644 --- a/firmware_guide/upload_and_update_firmware.html +++ b/firmware_guide/upload_and_update_firmware.html @@ -6,13 +6,13 @@ Building and uploading the firmware manually | EyeTrackVR Docs - + - - - - - + + + + + @@ -21,7 +21,7 @@ otaserverip = "openiristrackerL.local" # here we use a custom mDNS name otapassword = "12345678" otaserverport = 3232
  1. Change to OTA env

To do that, in visual studio code, locate the uplaod button, next to it will be listed a couple of buttons and your current environment.

For example, if you have a working esp32AIThinker environment, you would change your environment to esp32AIThinker_OTA.

Click on it.

'An example of how the popup list of envs looks like'

This will open a list of all available environments, select the one that matches your board and has a _OTA suffix

'An example of how the button for selecting env looks like'
  1. Restart the ESPs, they must be power cycled
  2. Press the upload button to upload the firmware.

    img
  3. Do not touch esps or move them during OTA upload
  4. Wait around 1 minute.
  5. Repeat for as many trackers as you need.

Finding the IP address of your tracker

Connect your tracker to your PC and then open a serial monitor in VSC by pressing the plug icon.

'platformio serial monitor button'

Now, press the restart button on the esp itself. watch the monitor for output like this:

'img of platformio serial monitor'

The text, highlighted in green for demonstration, is the stream address of the camera. Take note of this for input into the software.

Keep in mind while testing and getting set up, the ESP can only have one client, to use the camera in the app, make sure you close the browser tab you tested it in.

Updating the firmware to the newest version

To update the firmware you'll need to follow a couple of steps.

  1. Open a terminal and enter the directory you've cloned OpenIris into, for example cd C:/OpenIris/

  2. Save your current changes to the config using git stash

  3. Download the newest changes from the repo using git pull

  4. Apply your saved changes so that you don't have to retype your WI-FI credentials using git stash apply

CAUTION

Skip this step if the update message denotes that the config had changed. If it does so, retype your credentials in the updated files.

4.1. If anything went wrong, you can reset everything to the default state using git reset --hard and then retyping your credentials

  1. Upload your firmware following steps from the uploading section

Troubleshooting

If you encountered an issue while following these steps check the FAQ.

If you don't find an answer to your question there ask in #questions channel in the discord, we will be happy to help.

Adapted from the SlimeVR docs, Some Credit goes to the SlimeVR team here

Released under the MIT License.

- diff --git a/getting_started/intro.html b/getting_started/intro.html index bbc4eb0..80b12df 100644 --- a/getting_started/intro.html +++ b/getting_started/intro.html @@ -6,18 +6,18 @@ EyeTrackVR | EyeTrackVR Docs - + - - - - - + + + + +
Skip to content
On this page

EyeTrackVR

Open source and affordable VR eye tracker platform for Social VR Games via OSC and UDP protocol.

Want to get started? Check out the getting started page and then the full build guide.

CAUTION

This project is in active development. However, it is working for most users.

About IR Emitter Safety

Please exercise caution when messing around with IR emitters.

IR can be dangerous to your eyes once at a certain power level. It is not recommended to use different emitters unless you know exactly what you are doing as it could result in harm to your eyes. If you doubt yourself, just do exactly what we do. Don't use different emitters, dont use differnt means of power, etc.

DANGER

It is important that you DO NOT BYPASS (OR NOT DO) ANY SAFETY FEATURES PUT IN PLACE. This can result in irreversible bodily harm.

The safety measures were put in place to REDUCE the potential failure risk. All further safety responsibilities are on the user. This includes visually checking with an IR camera that the brightness is correct and that you do not feel warmth or experience short-term effects after being exposed to the IR light (symptoms such as dark spots or dry/warm feeling eyes while actively using). While we strive to make EyeTrackVR as safe as possible, we do not hold any responsibility for damage done.

WARNING
Please pay attention

Make sure you are using non-focused emitters and no more than 5 mW/sr total power.

Want to see the safety data sheets?

Effect of infrared radiation on the lens

AN002_Details on photobiological safety of LED light sources

Training-library Nir Stds

ICNIRP: Guidelines of limits of exposure to broad-band incoherent optical radiation (0.38 to 3 µm)

Hardware

Please check out our parts list and hardware repo. for information regauring hardware.

Firmware

Our firmware called OpenIris is made by lorow found here.

Headset support

In theory, we are compatible with every VR headset. However, mounts may not have been made yet. Please take a look at our list of 3d printable mounts and see if your headset is on the list. If it is not listed, It is recommended that you try to make a mount, or wait for a skilled community member to create one.

Contact

Please join our discord for updates and any questions. We hope to see you there!

'discord banner'

Licenses

GitHub license

All software is under the MIT License. All documentation, including the Wiki, is under the Creative Commons CC-BY-SA-4.0 license.

Released under the MIT License.

- diff --git a/getting_started/led_safety.html b/getting_started/led_safety.html index c5cdd4a..e61672c 100644 --- a/getting_started/led_safety.html +++ b/getting_started/led_safety.html @@ -6,17 +6,17 @@ V3 Hardware Safety Outline and Exposure Numbers: | EyeTrackVR Docs - + - - - - + + + +
Skip to content
On this page

About IR Emitter Safety

Please exercise caution when messing around with IR emitters.

IR can be dangerous to your eyes once at a certain power level. It is not recommended to use different emitters unless you know exactly what you are doing as it could result in harm to your eyes. If you doubt yourself or are not understand something, just do exactly what we do. Don't use different emitters, don't use different means of power, etc.

DANGER

It is important that you DO NOT BYPASS (OR NOT DO) ANY SAFETY FEATURES PUT IN PLACE. This can result in irreversible bodily harm.

The safety measures were put in place to REDUCE the potential failure risk. All further safety responsibilities are on the user. This includes visually checking with an IR camera that the brightness is correct and that you do not feel warmth, excessive eye-strain or experience short-term effects after being exposed to the IR light (symptoms such as dark spots or dry/warm feeling eyes while actively using). While we strive to make EyeTrackVR as safe as possible, we do not hold any responsibility for damage done.

What we care about:

We care about power exposure "W" to the cornea, which we can normalize over the exposed area to Irradiance "mW/cm^2" This number gives us the amount of IR radiation being released into the normalized area. We don't really care about "mA", or "V" alone, as by themselves these do not give us the exposure levels which we need to ensure safety.

Irradiance also needs to take in to account distance of the light source (LED) as the further away you get from a source the weaker the intensity gets. (You can test this by looking at a light source from far away, and as you move closer, the brighter and more painful it is to look at) We do this by using Radiance "mW/cm2/sr" to normalize for the distance. The "sr" is a steradian. Think of it like a cone shape, getting bigger and broader as we move away from the source object.

The International Commission on Non-Ionizing Radiation Protection's Guidelines of limits of exposure to broad-band incoherent optical radiation (0.38 to 3 µm) states:

"To avoid thermal injury of the cornea and possible delayed effects on the lens of the eye (cataractogenesis), infrared radiation (780nm < > λ < > 3μm) should be limited to 100 W m⁻² (10 mW cm⁻²) for lengthy exposures (> 1000 s)"

So 10 mW/cm2 is the max recommended limit given by this source. In my opinion this is still quite high, you will definitely feel some warmth and likely eyestrain after a while.

It is known that when outside and not directly looking at the sun, your eyes get exposed to about 1 mW/cm2 or IR radiation. This is the target I set for hardware generally.

NOTE

This math is assuming the LED is directly in front of your pupil, and your pupil is not moving. In real world this is not the case. We have multiple LEDs around your eye, and your eye moves. When you look to the side, your pupil is not receiving all of the light from all LEDs and the distance grows as well. Properly calculating for this is hard and not worth the time. I chose to show that the "worst case scenario" is still well withing safety margins.

V3 Hardware Safety Outline and Exposure Numbers:

For all of this math we will assume the "worst" to ensure we are well within safety.

if powered with 5V, using 700 ohms of resistance, V3 Hardware will draw 0.00314... Amps. We will round up and convert this to 3.2mA.

(5V - 1.4V - 1.4V) / 700 ohm = 0.00314 ≈ 3.2mA

The LED datasheet lists the intensity at 20mA to be a minimum of 2 and max of 5. We will assume the worst and use 5mW/sr.

5 mW/sr * (3.2mA / 20mA) = 0.8 mW/sr

Now, we need to account for distance. My number is based on a worst case scenario of 1cm of distance. (typically is is higher on average.) We convert 1cm to 1cm2/sr

0.8 mW/sr / 1cm2/sr = 0.8 mW/cm2

Now, this is only for 1 LED, in the case of V3 we have 2 so we can:

0.8 mW/cm2 * 2 = 1.6 mW/cm2

This value is well below the limit, and close to normal sun exposure outside. If the LEDs were further than 1cm (which they typically are) the exposure would be even less.

V4 Hardware Safety Outline and Exposure Numbers:

For all of this math we will assume the "worst" to ensure we are well within safety.

V4 hardware is actively limited to ~2.4 mA

The LED datasheet lists the intensity at 20mA to be a minimum of 2 and max of 5. We will assume the worst and use 5mW/sr.

5 mW/sr * (2.4mA / 20mA) = 0.6 mW/sr

Now, we need to account for distance. My number is based on a worst case scenario of 1cm of distance. (typically is is higher on average.) We convert 1cm to 1cm2/sr

0.6 mW/sr / 1cm2/sr = 0.6 mW/cm2

Now, this is only for 1 LED, in the case of V4 we have 4 so we can:

0.6 mW/cm2 * 4 = 2.4 mW/cm2

This value is well below the limit, and not far from sun exposure. If the LEDs were further than 1cm (which they typically are) the exposure would be even less. And with typical eye movement they are less.

Released under the MIT License.

- diff --git a/getting_started/things_to_know.html b/getting_started/things_to_know.html index e5d8dfa..2395d25 100644 --- a/getting_started/things_to_know.html +++ b/getting_started/things_to_know.html @@ -6,16 +6,16 @@ Things To Know Before You Start | EyeTrackVR Docs - + - - - + + +
Skip to content
On this page

Things To Know Before You Start

This page will be an overview of things to know and understand before you start this project

Software is not final

Bugs can and will occur which may hinder the experience or useability at times. Do not expect 100% reliable and perfect function. Not all features are fully developed yet.

Firmware may have user difficulties

Our firmware has not been tested widely so issues may creep up.

IR emitters are dangerous

If handled wrong or precautions are ignored you can and will cause damage to your eyes. Please make sure to only buy linked ones or ones with specs that match exactly. We will not be responsible for damaged caused if you go your own route.

Documentation may be incomplete

Important steps may be missing.

You will need to set up your avatar to use this

This will require some basic Unity knowledge and owning your own avatar. Note: 2.0 beta app uses VRC's Native eye tracking which does NOT require a special avatar

Once you have acknowledged the items above, move on to the Full Build Guide

Released under the MIT License.

- diff --git a/hashmap.json b/hashmap.json index c33b754..a2b9a9b 100644 --- a/hashmap.json +++ b/hashmap.json @@ -1 +1 @@ -{"how_to_build_creating_your_own_mount.md":"a0eff1b7","contact.md":"8b34e956","development_docs_dev_docs.md":"129593e0","development_docs_pages.md":"a16f2e91","development_docs_standards.md":"34f5cc0e","firmware_guide_configure_firmware.md":"1156a298","firmware_guide_environments.md":"a939c975","firmware_guide_firmware.md":"2acb6454","index.md":"8a593e29","dev_roadmap.md":"1d67b1f2","misc_faq.md":"bc5df512","misc_vrc_avatar_setup.md":"fb8562d6","getting_started_things_to_know.md":"ecc362de","software_guide_build_software.md":"df6914a0","software_guide_osc_setup.md":"a5e43cc8","about.md":"fd49c172","firmware_guide_update_platformio.md":"9f4a42e7","archive_fox_ir_v2_build_instructions.md":"4968d89f","how_to_build_full_build.md":"f2c25978","firmware_guide_setup_vscode.md":"5916e117","firmware_guide_upload_and_update_firmware.md":"72da2ad7","firmware_guide_rest_api.md":"ab0c274d","firmware_guide_mdns.md":"6911a871","getting_started_led_safety.md":"d76c624b","how_to_build_parts_list.md":"954cc6fc","software_guide_eyetrackvr_app_guide.md":"dfcbc709","getting_started_intro.md":"8a7af83f"} +{"dev_roadmap.md":"f3dd7c17","development_docs_dev_docs.md":"f32aa5d4","contact.md":"05016461","development_docs_pages.md":"55174e30","development_docs_standards.md":"ded806e2","how_to_build_full_build.md":"92660a15","how_to_build_parts_list.md":"3921b9c0","index.md":"e2859d78","misc_vrc_avatar_setup.md":"5da944e1","software_guide_build_software.md":"7fd62689","firmware_guide_configure_firmware.md":"f3dbc3bf","software_guide_eyetrackvr_app_guide.md":"aeb3e08b","firmware_guide_environments.md":"8382e06e","firmware_guide_rest_api.md":"f771b252","firmware_guide_setup_vscode.md":"1e2f05f2","firmware_guide_upload_and_update_firmware.md":"857677c5","getting_started_intro.md":"8d6c94c1","how_to_build_creating_your_own_mount.md":"610d1805","firmware_guide_mdns.md":"88fe9005","archive_fox_ir_v2_build_instructions.md":"c95da5f7","software_guide_osc_setup.md":"0ed7cc47","firmware_guide_update_platformio.md":"bd8c1a40","misc_faq.md":"87cf6239","firmware_guide_firmware.md":"16809ca6","getting_started_things_to_know.md":"89b13253","getting_started_led_safety.md":"50db11e5","about.md":"a9b306c8"} diff --git a/how_to_build/creating_your_own_mount.html b/how_to_build/creating_your_own_mount.html index 1c4c0e2..1ec917a 100644 --- a/how_to_build/creating_your_own_mount.html +++ b/how_to_build/creating_your_own_mount.html @@ -6,16 +6,16 @@ Creating Your Own Mount | EyeTrackVR Docs - + - - - + + +
Skip to content
On this page

Creating Your Own Mount

This page will include a basic rundown on how to create your own camera mount for a headset that may not have any existing community mounts

So, you have a headset that does not have any mounts or none that work well for you. Here I will show some simple steps to get some form of a mount working.

Step 1: Find a way to mount to your headsets lens

The easiest way to get started is to find a lens protector for your headset. Either go to a website like Thingiverse or just do a search for "3d printed lens protector for {your headset here}"

Example: Here is a lens protector for the Quest 1/2 and Rift S https://www.thingiverse.com/thing:3653631

Step 2: Find a camera mount

Now, you need a way to attach the camera. We have a basic design that qdot created (taken from his mount) on the hardware GitHub here

Alternatively, you can create your own mount if you have the skills.

Step 3: Place the camera mount where it will give a good camera angle

The "Ideal" location is a place that gives a good view of the pupil when looking to all extremes, the lower corners do a good job at getting there, or nearly there.

You want to put the camera as close to the headset's lens as possible to achieve the biggest view of the eye. I recommend looking at other headset mounts for inspiration.

Step 4: Mount your LEDs

You can either add parts to your mount for holding the LED boards or just glue them on. It's up to you and what works best for you, experiment!

Step 5: Test everything

It is unlikely you will get a perfect mount on the first try. Print, test, adjust, and repeat until you have a satisfactory mount. Good luck!

Step 6: Get your mounts listed

Send me the mount to be added to the docs here! You can upload it to Thingiverse or similar services, or just send me the .STLs via discord (Prohurtz#0001)

Released under the MIT License.

- diff --git a/how_to_build/full_build.html b/how_to_build/full_build.html index 482b438..d0303e0 100644 --- a/how_to_build/full_build.html +++ b/how_to_build/full_build.html @@ -6,19 +6,19 @@ Build Guide | EyeTrackVR Docs - + - - - - - - + + + + + +
Skip to content
On this page

Build Guide

This page will contain a step-by-step assembly guide

This guide provides a walkthrough on the assembly of a wireless eye tracking.

Nevertheless, it's worth noting that these instructions are also mostly applicable to those who are using wired trackers.

Step 1: Make sure your have read the Things to know before you start guide

This will give you a basic overview of the project's status and what to expect currently.

Step 2: Order all the parts listed on our Parts list

Please take note of the fact that hardware still may change, although with more developments it seems like we are going to stick with current hardware.

Step 3: Wait for things to arrive

Long shipping times from China are f u n. Please allow anywhere from 2 weeks to 2 months for everything to arrive.

Step 4: Gather up all of your hardware

Make sure you have at least the following:

'img of components'

'ESPs, cams, a programmer and a USB connector'

Step 5: Install external antennas or shield ESP antenna with an antistatic bag

Some ESP-CAM boards have issues with signal integrity, there are 2 things you can do to help/solve the issues.

The first option is to use an external antenna.

This is the best solution when it comes to the final result. If you have Vive/Tundra trackers, this is a REQUIRED step. The interference from the trackers will make your ESP stream unusable. An antistatic bag does not help in this case. Unfortunately, removing the antenna is not super easy, you have to either move a resistor or, remove it and bridge 2 solder pads. The image attached below shows the orientation of the pads that need to be connected for which mode. You can not bridge all connections and have both antennas active at the same time. The 0-ohm resistor does not need to be on the board, you can simply bridge the connections.

Below is an example of bridging the connections and attaching an antenna.

'img of external antenna resistors'

The second option is to cover the ESP's antenna with an antistatic bag. This can help aid problems, and can completely solve them in some cases. Best of all, it is completely free! However, it should be noted that it performs worse than an external antenna and in certain cases will not solve the issue like if you have Vive trackers.

Step 6: Attach cameras to ESPs

Look at your ESP and locate the camera ribbon cable connector as circled below.

'img of camera socket'

Flip the gray part up to allow the cameras to be connected. Do not force it, or shove objects into it to open, fingernails are fine.

'img of camera clip'

Now slide in a camera, please note that the pins are facing down, you should only see the black part.

'img of camera cable'

Once the camera has been slid in, press the gray part of the connector back down. There will be a small amount of force but still be gentle. Note the ammount of black coming out of the connector.

'img of camera cable'

Step 7: Connect ESP to the programmer to flash

Why flash before you have it assembled? It's simple, to make sure they actually work before you spend time soldering to them.

Slide your ESP into the programmer, and note the USB port goes away from the ESP's camera.

Step 8: Configure Visual Studio Code and prepare to flash the firmware

Check out our guide on Setting up VS Code

Once VS Code is set up, move on to the next step.

Step 9: Plug in your ESP and flash the firmware

Our guide, Building and uploading the firmware manually has steps on how to do this. After it has flashed, make sure you get a video stream in your browser, then power it down and flash your next ESP.

Step 10: Connect your power wires to a USB Type-A board

WARNING

Powering from the programmer board will not work correctly. This delivers a lower voltage which results in dim LEDs and video artifacts. These are highly likely mess up tracking.

Get two pairs of wire, preferably two different colors, Cut them to length (56mm in my case) and twist together two for ground and two for 5V. Here I used speaker wire where the copper denotes positive and silver negative. Then, strip the wires to about 3mm of exposed wire.

Step 11: Cut wires for IR LEDs

To find the optimal length, take a piece of wire and a marker and mock up your wire route, and mark the wire, cut it, then make another at the same size for the other eye. You will need 3 different cuts of wire. 2 short ones for connecting the 2 PCBs per eye together, 2 Longer ones for power, or ground and 2 slightly longer ones for power or ground for the LED near the camera at the bottom.

Once cut, strip them to around 4mm of exposed wire.

Step 12: Twist the positive USB wire and positive IR LED wires together and tin them

Once twisted together add solder to keep them together. This makes the connection much easier.

Step 13: Solder the positive wire to ESP

Lay the wire on the outside of the 5V pin and apply solder.

Step 14: Solder the negative wire to ESP

Repeat Step 12 but with the negative wires.

INFO

As a user in our discord has learned, you can short the IO12 pin with the ground pin (GND) without issues.

In the below example I put it on the top of the pin, It will be a week-ish joint but that's where glue comes in handy.

Step 15: Wire up the 2nd ESP

Repeat steps 12-14 with the 2nd ESP.

Step 16: Prepare to solder IR LED PCBs

Get your magnifying glass out, it's time to solder very smol things.

Gather 4 PCBs, 4 IR LEDs, and either 4 ~350ohm.


357ohm resistors and V3 PCBs

Here are the PCB pin-out labels:


V3

LED labels:


The green markings and notched corners mark the positive sides of the LEDs pictured above.

If you have different LEDs, please consult their datasheet.

Some terminology related to them:

5V: 5-volt power in.

GND: Ground or power out.

AR: After-Resistor this is to be used as the power in on the 2nd PCB in series as resistors are not needed on the 2nd PCB since they are on the 1st one.

SNG: Single resistor, use this as 5V in if you are using only 1 ~700ohm resistor on V3 boards (not recommended).

Negative: This marks the negative side of the LED.

Positive: This marks the positive side of the LED.

Step 18: Solder resistors on PCB V3

You only need 1 PCB to have resistors per eye.

Tin the resistor pads. Note: in this example, I use too much solder, it should only be enough to lightly cover the pad.

Next, grab a resistor and hold it on the pads.

While holding the resistor add solder to your soldering iron and apply it to the resistor.

I like to do this by having a piece of my solder stick up in the air and then put it on my iron that way.

Flip the PCB and solder the other end.

Now repeat for the other one.

Solder LEDs on PCB V3

Tin the LED pads.

Orientate the LED and hold it in place.

Solder one end.

Flip around and solder the other end.

Wire up the PCBs V3

WARNING

Pay attention to the direction of the LEDs on the PCBs.

If the green dot is facing inwards toward the text like in the picture below:

Use the following diagram:

If the green dot is facing away from the text like the picture below:

Use the following diagram:

Step 19: 3D print mounts

Head to the 3D printed parts section of the parts list here.

Find which parts are for your headset and print them. Some may work better or worse, it is recommended to test all of them if there are multiple, print one of each kind. If none work, try making an edit yourself if you have the skills. If you have made a mount make sure to ping me, Prohurtz#0001, so I can add them to the list.

Having trouble getting them to fit? Try resizing the mounts up, or down a little to ensure a good fit.

There are 2 different types of mounts, how to secure the camera to each type will be documented below.

Type 1

This uses a method of sliding in the camera. Generally, this is the recommended mounting method as it generally requires no glue.

Place the camera into the mount

Slowly apply pressure inwards until the camera snaps into place.

NOTE

There is a good chance of breaking the mount when putting in the camera. If this happens you may be able to save the mount depending on where the break was. A small dab of hot glue around the camera is likely all that is needed.

Type 2

This uses the method of gluing the camera.

Apply a bit of glue to the bottom of the camera mount.

Place the camera on the mount.

IR LED mounting

This again differs from mount to mount.

In some cases, there are designated spots for the LEDs to go.

In others there are no specified spots, you will have to mess around to find what works best. This image shows the optimal/near-optimal position for the LEDs. Hot glue is your friend with this.

TIP

Use rubbing alcohol to easily remove hot glue.

Released under the MIT License.

- diff --git a/how_to_build/parts_list.html b/how_to_build/parts_list.html index 500bd48..6d417e9 100644 --- a/how_to_build/parts_list.html +++ b/how_to_build/parts_list.html @@ -6,18 +6,18 @@ Parts List | EyeTrackVR Docs - + - - - - - + + + + +
Skip to content
On this page

Parts List

CAUTION

Please note that no hardware has been fully set in stone, all purchases are at your loss if hardware changes.

NOTE

It is good practice to buy more than needed in some cases, namely cameras,programmers and ESPs. This reduces the risk of a DOA (dead on arrival) causing a delay.

ESP setup options:

DANGER

There are two primary categories of trackers supported: wireless and wired. It's super important that you really look at all your options and consider your use case before making a decision.

Option 1: Wireless over WiFi 2.4 GHz

This offers a good starting point as the ESP boards are cheaper than wired capable trackers. However, they can be a bit more temperamental and if you are using a wired headset, they start to make less sense.

Pros:

  • Wider user adoption and greater support
  • Low weight, less cables, easier to manage

Cons:

  • Requires two external antennas for optimal streaming quality
  • Requires WiFi 2.4 GHz router or access point in reasonable proximity
  • Risk of radio interference with FBT and other WiFi 2.4 GHz devices
  • ESP32-CAM uses more power and heats up due to radio module power needs

Option 2: Wired over USB Serial (in beta)

This is our latest setup recommended for users with wired headsets such as the Valve Index.

Pros:

  • Much better performance and higher framerates up to 70 FPS with lower latency
  • No conflicts with advanced FBT setups such as Vive or Tundra Trackers
  • Can be wireless or wired
  • Less soldering required

Cons:

  • Requires USB port i.e. on Valve Index and USB hub mounted on your headset
  • Can be more costly

Required parts

With that in mind, here are the required parts for the setup.

Tracker boards:

    • 2x XIAO ESP32-S3 Sense Modules
      Very small size, wireless and wired support, does not require an additional programmer or separate antennas: SeedStudio

    alternatively:

    • 2x Freenove ESP 32-S3 WROOM
      Much larger, price may be higher than the XIAOs, supports wired and wireless as well, does not need a separate programmer, does not support a separate antenna. Amazon
  • A cheaper, wireless only alternative:

    • 2x ESPCAM32 Modules - They are cheaper, requires a separate programmer board, supports only wireless streaming and may require some soldering for attaching separate antennas: AliExpress
      This board also requires a special programmer board in order to flash the firmware. You'll need only one: AliExpress for just programmers or Amazon for 3 ESP32-Cams and programmers without the proper cameras

    • 2x External antennas for ESPs Required if you're running vive/tundra full body tracking or having issues with streaming. See the full build guide on how to configure the ESP board for antenna use.

Cameras

Camera modules:

The cameras that come with the boards will not work, they have an IR filter inside.

The filter can be removed, but doing so may break your cameras. Here's how to do it: https://www.youtube.com/watch?v=QYH-FWvDbDc

DANGER

If you decide to remove the filter, wear eye protection while doing so, the removal of the filter will shatter it.

  • 2x OV2640 160° FOV IR / Night vers 75mm (850nm)

AliExpress

Amazon alternative (note that you will have to manually remove the IR filter)

Things worth noting:

  • There is an experimental option to purchase OV2640 120° FOV cameras and manually remove the IR filters. This can result in a clearer view of the eye, but it's not a default recommendation.

  • If the cameras are Dead on Arrival (DOA), keep in mind that you can swap the lenses with the ones that come with the stock cameras that were included with the ESP32 boards though, they do require extension cables.

  • Optional Ribbon extensions:

Certain mounts may require a cable extension (ex: MUTE's frunk mod) To use a mount like that you will need a cable and a connector for each camera. Headsets like the Quest 2 do not require extensions if the camera boards are mounted at the bottom of the headset, near the facial interface.

Extensions (select 0.5mm pitch type A) AliExpress (200mm for MUTE's)

Connectors (select 24P) Aliexpress

USB Hubs - for if you are building the wired version

  • 1x USB 3.0+ hub Ensure that it is of good quality, lightweight, compact in size, and I suggest including three ports - one for the face tracker and two for ESP32-S3 boards. Ensure that you acquire appropriate USB-A to USB-C adapters wherever required, such as for the Valve Index which has only one USB-A port.

  • 2x USB C cables (as short as possible) to connect both ESPs As the ESP32-S3 has USB-C connectors, you may require some USB-C to USB-A cables depending on your USB hub. It's worth noting that the HTC Face Tracker requires a USB-C port, so you may need to consider this requirement as well.

Wires and adapters

IR emitters

We recommend getting the official kits:

Alternatively you can source the parts for V3 yourself:

DANGER

If they look like something you would find in a TV remote, do NOT use them. Even if you think you can alter them THEY WILL NOT WORK AND PUT YOU AT RISK. If you aren't exactly sure what you are doing, buy them from the LCSC or Digikey link.

DO NOT BUY FOCUSED ONES!

  • 4x Unfocused SMD IR emitters

    NOTE

    The smaller ones can not be soldered at temps above 245C or they will burn. Low temp solder is recommended.

  • 4x IR emitter PCBs (highly recommended) Gerber files and schematics located here.

  • 4x 350ohm 1206 SMD resistors for IR emitters (If you are not using PCBs for the emitters then buying regular through-hole resistors is acceptable)

  • 357 ohm Digikey here

  • 348 ohm LCSC here

This ensures you get the correct IR emitter parts. If you are a Patreon please check out discount codes available to you, and also check out unit pricing.

3D Printed Mounts

Mounts with a next to them are the recommended mounts for the respected hmd. This is based on user feedback on what works best for most people.

NOTE

You'll need both - a mount for the IR emitters and a mount for the camera boards, some files include both, some don't.

Misc parts/tools

AliExpress (Generic)
Amazon (Generic)

  • 2x-4x Heatsinks (Optional) - for the ESP32-CAM AliExpress (14mm for ESP, 8mm for voltage regulator)

Other Headsets

If you own another headset not listed above, that means there are no mounts designed for them yet. If you have basic skills in modeling or think up a solution to mount cams and emitters, please try to make a mount and then let us in the discord know so it can be added here. Any headset that can fit the camera is potentially compatible. If you are willing, give it a shot to design a mount for the rest of the community.

Check out our basic guide on making your own mount here.

TIP

If you have a headset mount that is not listed above, please let us know in the discord so it can be added here.

Released under the MIT License.

- diff --git a/index.html b/index.html index 27af73e..ed82660 100644 --- a/index.html +++ b/index.html @@ -6,16 +6,16 @@ EyeTrackVR Docs | EyeTrackVR Docs - + - - - + + +
Skip to content

EyeTrackVR Docs

Opensource and affordable VR eye tracking.

For Social VR Games via OSC and UDP protocol.

ETRVR logo
⚡️

Open Source

fully open source and free to use.

🎉

Community Driven

built by you for you.

💰

Affordable

affordable and easy to use.

🎮

Nearly All VR Headsets

EyeTrackVR works with nearly all VR headsets.

🔨

Completely DIY

completely DIY and easy to build.

🌐

Open Platform

open platform and works with any Social VR game.

🔏

Privacy Focused

privacy focused and does not collect any data, hosted on your own PC.

📡

Open Protocol

EyeTrackVR uses the Open Sound Control (OSC) protocol.

Released under the MIT License.

- diff --git a/misc/faq.html b/misc/faq.html index 580a255..d9cddac 100644 --- a/misc/faq.html +++ b/misc/faq.html @@ -6,17 +6,17 @@ Frequently Asked Questions | EyeTrackVR Docs - + - - - - + + + +
Skip to content
On this page

Frequently Asked Questions



Released under the MIT License.

- diff --git a/misc/vrc_avatar_setup.html b/misc/vrc_avatar_setup.html index f6b71f9..e990e27 100644 --- a/misc/vrc_avatar_setup.html +++ b/misc/vrc_avatar_setup.html @@ -6,17 +6,17 @@ How to set up your avatar for eye tracking: | EyeTrackVR Docs - + - - - - + + + +
Skip to content
On this page

How to set up your avatar for eye tracking:

Here is an avatar setup video created by a contributor:

Another good resource is the VRC Face Tracking Wiki and their Discord.

We currently use the following paramaters

LeftEyeX

RightEyeX

EyesY

LeftEyeLidExpandedSqueeze

RightEyeLidExpandedSqueeze

NOTE

We currently only support float parameters, please adjust your setup accordingly.

Released under the MIT License.

- diff --git a/software_guide/build_software.html b/software_guide/build_software.html index cad64bb..944b50b 100644 --- a/software_guide/build_software.html +++ b/software_guide/build_software.html @@ -6,18 +6,18 @@ Build the app from source | EyeTrackVR Docs - + - - - - - + + + + +
Skip to content
On this page

Build the app from source

This guide will show how to build the app from source

NOTE

This is NOT a required step, you do not need to build the app from source.

Requirements

Install Python

EyeTrackVR is currently using Python 3.11.0 Before you continue, please install it.

Installing Poetry

Since version 0.1.7 of EyeTrackVR, we have been using Poetry to manage app dependencies. To build the app, you must first install Poetry to fetch the required dependencies.

To install Poetry open Windows Powershell and run the following command (Invoke-WebRequest -Uri https://install.python-poetry.org -UseBasicParsing).Content | py -

Poetry Documentation

Install the required Python modules

After cloning the project and installing Poetry, open a command prompt in the EyeTrackApp folder. Then run the command: poetry install

This should install all of the required modules.

Build the app

Now, you should be ready to build the app. With a command prompt open in the EyeTrackApp folder, run the command poetry run pyinstaller eyetrackapp.spec

Give it time to build the app. Once done, the app should be under dist/eyetrackapp

Released under the MIT License.

- diff --git a/software_guide/eyetrackvr_app_guide.html b/software_guide/eyetrackvr_app_guide.html index 66b94e9..772899e 100644 --- a/software_guide/eyetrackvr_app_guide.html +++ b/software_guide/eyetrackvr_app_guide.html @@ -6,18 +6,18 @@ How to install, run and adjust the EyeTrackVR app. | EyeTrackVR Docs - + - - - - - + + + + +
Skip to content
On this page

How to install, run and adjust the EyeTrackVR app.

Step 1: Download the EyeTrackVR Installer and install the EyeTrackVR app

Go to the latest GitHub release here and download the Setup.exe file.

Follow the prompts and the app should be installed.

Step 2: Run the EyeTrackVR app

If the Create Desktop Shortcut option was checked you should see an icon on your desktop, double click it to run.

You then should be greeted with a GUI that looks like this:

'img'

Step 3: Getting familiar with settings and terminology

Let's go over some basic terminology you will find in the app.

Starting from the top:

Right eye

Shows the right eye feed and settings only.

Left eye

Shows the left eye feed and settings only.

Both eyes

Shows both eyes' feed and settings.

Camera Address

This is where you enter the IP address of your camera. Alternatively, it can be used to put the cam number for wired cameras or pass in a video file.

Tracking Mode

This changes the GUI to the tracking mode where it outputs values.

Cropping Mode

This is where you will crop out your eye.

Threshold

This is used to cut out things that aren't dark like your pupil.

Rotation

For our method to work best, you want your eye to be level. Use this slider to adjust it to where that is the case.

Restart Calibrationn

This will start a calibration mode for your eye where you look to all extremes.

Recenter Eye

This will recenter your eye to whatever point you are looking at.

Step 4: Adding your cameras to the software and configuring them

Wireless configuration

Power your ESPs and find what the IP address is for your right eye. This can be done by opening both Cameras in a browser and then holding your finger over your right eye camera.

Copy that IP address and then close the browser tab with it open.

Enter that IP address into the app's Camera Address field.

Press the Save and Restart Tracking button.

Wired configuration (experimental)

Note this is a Beta app feature only. Please use the latest Open Beta in the Discord.

Find your ESPs in Device Manager and figure out their COM port numbers i. e. COM4.

Enter that COM port number into the app's Camera Address field.

Press the Save and Restart Tracking button.

Setting up ROI

Don't see your camera feed? That's because we haven't set an ROI.

'img'

See the Awating Eye Cropping Settings text?

Now press the Cropping Mode button. You should see a feed of your camera.

Put your headset on and use an application to see your desktop. (Virtual desktop, SteamVR desktop, etc.)

You should see something like this:

'img'

:O It's my eye!

Now, Draw a rectangle that selects your eye.

A good example of an ROI

'img'

Head back over to the Tracking mode.

We will now adjust our rotation by moving the Rotation slider.

From this:

'img'

It's crooked!

To this:

'img'

Much better!

Now we will adjust our threshold.

Continuing with your headset on, move the slider all the way up. start slowly backing it off until mainly only your pupil is being visualized in the threshold viewer.

Example of a threshold being too low:

'img'

Much better!

Example of too high of a threshold:

'img'

Much better!

Example of a good threshold:

'img'

Much better!

Repeat everything in this step for your left eye.

Step 5: Calibrating your eyes

Once your eye is trackable by the software we need to calibrate it.

Press the Restart Calibration button and look around. The important part is that you look to all extremes, all the way up, left, etc. Once you have done so, wait for the Mode to say Tracking

The next step is to center your eye.

Look straight forward and press the Recenter Eye button.

Your eye is now fully calibrated.

Repeat for your other eye.

NOTE

To best center both eyes, look at one spot and hit the 'Recenter Eye' button for each eye without moving your eyes.

See anything outdated on this guide? Let me know! Prohurtz#0001

Released under the MIT License.

- diff --git a/software_guide/osc_setup.html b/software_guide/osc_setup.html index a754d23..b6df1e3 100644 --- a/software_guide/osc_setup.html +++ b/software_guide/osc_setup.html @@ -6,18 +6,18 @@ Setting up recalibration and recentering from VRChat. | EyeTrackVR Docs - + - - - - - + + + + +
Skip to content
On this page

Setting up recalibration and recentering from VRChat.

ETVR has a mechanism that allows you to recalibrate and recenter your tracking without the need to interact with the app directly, here's how to setup your avatar to make use of OSC to trigger this from within VRC itself.

NOTE

Note, while this page explains how to do it from the point of view of vrchat, it can be done in Neos and CVR too, all the app listens to are two OSC messages.

Setting up your parameters

Adding parameters

You'll need to add two parameters to your Parameters config, those being:

  • etvr_recalibrate: Bool
  • etvr_recenter: Bool

Both of them do not have to be synced, meaning they won't increase your total memory count.

To do this, in Unity, select your avatar on the scene and find Avatar Descriptor in the inspector. In it, find the section named "expressions", expand it and click on the file assigned to the "parameters" field, that's your Parameters config.

Screenshot showing expressions section of vrc avatar descriptor

Clicking on it will highligh the associated asset in the asset browser, click on the highlighted file to get its content to show in the inspector panel. Now, in the inspector click on the Add button to add the parameters mentioned above, both of them need to be of type Bool, they don't need to be synced nor saved.

Screenshot showing adding parameters to parameter menu
Screenshot showing the params that need to be added

That's it for the parameters.

Adding buttons to the menu

Now, you will need to add actual buttons for them in your gesture menu.

The expressions section mentioned above also contains the menu, you can use that to either add the buttons there directly or create a small submenu to make it less cluttered, here we will add them directly.

Screenshot showing expressions section of vrc avatar descriptor

Once you have the menu file opened in the inspector, click on the "add control" button. This will add an empty action slot, expand it.

Screenshot showing the the empty controls field

You'll see a bunch of fields, like name, icon, type and parameter. Firstly, let's give it a friendly name like "recalibrate eyes" or "recenter tracking" depending on the action you want to assign to them.

Leave the type as is - as a button, it's more convenient as it bounces back into the off state by itself.

Now, in the parameter section, click on the [None] and select one of the parameters you have created in the previous section.

Screenshot showing the the controls setup

Repeat the steps for the other one.

Once done simply build and upload the updated version of your avatar.

And that's it, you now should be able to recenter and recalibrate your tracking form inside of VRC!

Reseting the OSC config in case the parameters don't work

Sometimes VRChat won't regenerate the config files that it to communicate the changes to anyone that's listening, to fix this it's enough to simply delete the auto generated configuration files and let VRC remake them.

They are stored under

C:\Users\<user>\AppData\LocalLow\VRChat\VRChat\OSC\<your user uuid>\Avatars\

Deleting the contents of the Avatars directory will resolve the issue.

Other platforms

Like mentioned in the note, this functionality is not limited to VRC.

The app itself listens to OSC messages sent on port 9001 to two addresses:

  • /avatar/parameters/etvr_recenter
  • /avatar/parameters/etvr_recalibrate

It only needs to receive a Bool value of True to trigger the recenter and calibration.

The port and the adresses can be changed in the app settings, if need be.

Released under the MIT License.

-