From f7476aed61a83e5f296ec26ab9cb2d55afeda27e Mon Sep 17 00:00:00 2001 From: iOS Date: Wed, 16 Oct 2024 09:41:22 +0200 Subject: [PATCH] post Mallorca flush --- .obsidian/plugins/cron/data.json | 2 +- .../obsidian-activity-history/data.json | 54 +- .obsidian/plugins/obsidian-commits/data.json | 940 +++++++----------- .../plugins/obsidian-dice-roller/data.json | 2 +- .../plugins/obsidian-dice-roller/main.js | 32 +- .../obsidian-dice-roller/manifest.json | 2 +- .obsidian/plugins/obsidian-memos/data.json | 2 +- .../plugins/obsidian-memos/manifest.json | 2 +- .obsidian/plugins/obsidian-memos/styles.css | 2 +- .../plugins/obsidian-read-it-later/main.js | 88 +- .../obsidian-read-it-later/manifest.json | 2 +- .../obsidian-reminder-plugin/data.json | 220 ++-- .../plugins/obsidian-tasks-plugin/main.js | 92 +- .../obsidian-tasks-plugin/manifest.json | 2 +- .obsidian/plugins/templater-obsidian/main.js | 8 +- .../plugins/templater-obsidian/manifest.json | 2 +- .obsidian/workspace-mobile.json | 58 +- 00.01 Admin/Calendars/2024-03-08.md | 2 +- 00.01 Admin/Calendars/2024-10-01.md | 2 +- 00.01 Admin/Calendars/2024-10-03.md | 2 + 00.01 Admin/Calendars/2024-10-04.md | 10 +- 00.01 Admin/Calendars/2024-10-05.md | 134 +++ 00.01 Admin/Calendars/2024-10-06.md | 138 +++ 00.01 Admin/Calendars/2024-10-07.md | 136 +++ 00.01 Admin/Calendars/2024-10-08.md | 136 +++ 00.01 Admin/Calendars/2024-10-09.md | 138 +++ 00.01 Admin/Calendars/2024-10-10.md | 136 +++ 00.01 Admin/Calendars/2024-10-11.md | 136 +++ 00.01 Admin/Calendars/2024-10-12.md | 136 +++ 00.01 Admin/Calendars/2024-10-13.md | 136 +++ 00.01 Admin/Calendars/2024-10-14.md | 136 +++ 00.01 Admin/Calendars/2024-10-15.md | 134 +++ 00.01 Admin/Calendars/2024-10-16.md | 134 +++ .../2022-03-26 💍 Fiancailles Eloi.md | 14 - .../Events/2022-04-07 🍽️ Diner Vivi.md | 9 - .../2022-04-07 🗼 Meggi-mo arrival.md | 9 - .../Events/2022-04-08 🍽️ Dej Ag.md | 9 - .../2022-04-09 🫙 Garde-meuble Granny.md | 9 - ...2-04-29 📍 Meggi-mo arrives in Lisbon.md | 7 - ...01 🍀 Meggi-mo's departure to Belfast.md | 7 - ...2-05-13 🏠 Meggi-mo is arriving in ZH.md | 9 - .../2022-06-02 🎡 Departure to London.md | 9 - .../Events/2022-06-05 🏠 Retour a Zurich.md | 9 - ...2-06-17 🎶 Gorillaz - arenes de Nimes.md | 9 - .../Events/2022-07-29 🍀 Megan - Belfast.md | 8 - .../2022-08-05 🏠 Megan & mum back.md | 8 - ...22-08-10 🍀 Meg's mum back to Belfast.md | 8 - ...2022-08-11 ⏱️ Reparation Oignon LIP.md | 13 - ...22-08-28 ⚽️ Paris SG - Monaco (1-1).md | 10 - .../2022-08-31 ⚽️ Toulouse - PSG (0-3).md | 13 - ...22-09-03 ⚽️ Nantes - Paris SG (0-3).md | 11 - .../2022-09-06 ⚽️ PSG - Juventus (2-1).md | 13 - ...2022-09-08 🏟️ Diamond League Final.md | 9 - .../Events/2022-09-13 🍽️ Diner Lorena.md | 9 - ...-09-14 ⚽️ Maccabi Haifa - PSG (1-3).md | 12 - ...2022-09-18 ⚽️ Lyon - Paris SG (0-1).md | 11 - .../2022-10-01 ⚽️ PSG - 0GC Nice (2-1).md | 13 - .../2022-10-03 🍀 Meggi in Belfast.md | 17 - .../2022-10-05 ⚽️ Benfica - PSG (1-1).md | 13 - .../2022-10-05 📍 Conference on FinTech.md | 9 - .../2022-10-07 🍀 Weekend in Belfast.md | 20 - .../2022-10-11 ⚽️ PSG - Benfica (1-1).md | 13 - ...-15 🍽️ Lunch w Marguerite & Arnold.md | 12 - ...2022-10-16 ⚽️ PSG - Marseille (1-0).md | 13 - .../2022-10-22 ☕️ Tea Time, fraterie.md | 18 - .../2022-10-23 🍽️ Lunch w Mutti.md | 12 - .../2022-10-29 ⚽️ PSG - Troyes (4-3).md | 13 - .../2022-11-02 ⚽️ Juventus - PSG (1-2).md | 13 - ...022-11-13 ⚽️ PSG - AJ Auxerre (5-0).md | 13 - .../Events/2022-11-20 🐎 Mallorca.md | 10 - ...2-11-22 ⚽️ France - Australie (4-1).md | 13 - ...022-11-26 ⚽️ France - Denmark (2-1).md | 16 - ...022-11-30 ⚽️ Tunisia - France (1-1).md | 12 - .../Events/2022-11-30 🏒 ZSC - HC Ajoie.md | 12 - ...022-12-04 ⚽️ France - Pologne (3-1).md | 14 - ...-12-10 ⚽️ France - Angleterre (2-1).md | 14 - .../Events/2022-12-10 ⛷️ Arosa.md | 12 - .../2022-12-14 ⚽️ Maroc - France (0-2).md | 14 - .../Events/2022-12-16 🎡 Meg in the UK.md | 11 - ...2-12-18 ⚽️ France - Argentine (3-3).md | 30 - .../Events/2023-01-23 🩺 Médecin.md | 13 + .../Events/2023-02-06 📍 Genève.md | 12 + .../Events/2023-02-09 🩺 Médecin.md | 13 + .../2023-02-11 💍 Mariage Eloi & Zélie.md | 91 ++ .../2023-02-19 🎞️ Tár @ Riff Raff.md | 13 + .../Events/2023-03-06 🩺 Médecin.md | 12 + ...023-03-11 🏠 Marg & Arnold à Zürich.md | 13 + ...8 🇨🇭 Molly & boyfriend in Zürich.md | 12 + .../Events/2023-04-14 🩺 Médecin.md | 13 + .../Events/2023-12-21 🏠 Arrivée Papa.md | 10 + .../Events/2023-12-27 🗼 Départ Papa.md | 10 + ... 2024-10-01 ⚽️ Arsenal - PSG (2-0).md} | 2 +- .../2024-10-06 ⚽️ OGC Nice - PSG (1-1).md | 20 + 00.02 Inbox/The House of Doors.md | 2 +- 00.03 News/Anatomy of a Murder.md | 2 +- ...s but a vehicle for what really matters.md | 91 ++ ...n accuse him of sexual assault in jail..md | 256 +++++ ... Race 2021 The Company Eric Adams Keeps.md | 158 +++ ...lost Trump interview comes back to life.md | 265 +++++ ...ilicon Valley, the New Lobbying Monster.md | 187 ++++ ...ide The Jail Block Run By Jan 6 Rioters.md | 201 ++++ ... secret online life after he died at 25.md | 47 + .../Who died and left the US $7 billion.md | 140 +++ 01.01 Life Orga/@Finances.md | 3 +- 01.01 Life Orga/@Lifestyle.md | 3 +- 01.02 Home/@Shopping list.md | 22 +- 01.02 Home/Household.md | 12 +- 01.03 Family/Evrard de Villeneuve.md | 3 +- 01.03 Family/Olympe Bédier.md | 3 +- 01.06 Health/2024-06-29 Fungal treatment.md | 20 +- 01.07 Animals/2023-07-13 Health check.md | 3 +- .../2024-09-27 Departure to Mallorca.md | 54 + .../2024-09-30 Arrival in Son Ginard.md | 55 + 01.07 Animals/@Sally.md | 3 +- 02.02 Paris/Paris SG.md | 10 - 02.03 Zürich/@@Zürich.md | 6 +- 02.03 Zürich/Schifflände.md | 117 +++ 03.01 Reading list/99 francs.md | 86 ++ .../By the Sea.md | 4 +- .../Carolyn et John.md | 8 +- 03.01 Reading list/Nouvelles sous ecstasy.md | 86 ++ ...High - a race against the limits (2024).md | 102 ++ 05.01 Computer setup/Storage and Syncing.md | 9 +- 05.02 Networks/Configuring UFW.md | 12 +- 05.02 Networks/Selfhosting.md | 3 +- 06.01 Finances/2024.ledger | 52 + 06.01 Finances/hLedger.md | 3 +- 06.02 Investments/Crypto Tasks.md | 3 +- 128 files changed, 4551 insertions(+), 1432 deletions(-) create mode 100644 00.01 Admin/Calendars/2024-10-05.md create mode 100644 00.01 Admin/Calendars/2024-10-06.md create mode 100644 00.01 Admin/Calendars/2024-10-07.md create mode 100644 00.01 Admin/Calendars/2024-10-08.md create mode 100644 00.01 Admin/Calendars/2024-10-09.md create mode 100644 00.01 Admin/Calendars/2024-10-10.md create mode 100644 00.01 Admin/Calendars/2024-10-11.md create mode 100644 00.01 Admin/Calendars/2024-10-12.md create mode 100644 00.01 Admin/Calendars/2024-10-13.md create mode 100644 00.01 Admin/Calendars/2024-10-14.md create mode 100644 00.01 Admin/Calendars/2024-10-15.md create mode 100644 00.01 Admin/Calendars/2024-10-16.md delete mode 100644 00.01 Admin/Calendars/Events/2022-03-26 💍 Fiancailles Eloi.md delete mode 100644 00.01 Admin/Calendars/Events/2022-04-07 🍽️ Diner Vivi.md delete mode 100644 00.01 Admin/Calendars/Events/2022-04-07 🗼 Meggi-mo arrival.md delete mode 100644 00.01 Admin/Calendars/Events/2022-04-08 🍽️ Dej Ag.md delete mode 100644 00.01 Admin/Calendars/Events/2022-04-09 🫙 Garde-meuble Granny.md delete mode 100644 00.01 Admin/Calendars/Events/2022-04-29 📍 Meggi-mo arrives in Lisbon.md delete mode 100644 00.01 Admin/Calendars/Events/2022-05-01 🍀 Meggi-mo's departure to Belfast.md delete mode 100644 00.01 Admin/Calendars/Events/2022-05-13 🏠 Meggi-mo is arriving in ZH.md delete mode 100644 00.01 Admin/Calendars/Events/2022-06-02 🎡 Departure to London.md delete mode 100644 00.01 Admin/Calendars/Events/2022-06-05 🏠 Retour a Zurich.md delete mode 100644 00.01 Admin/Calendars/Events/2022-06-17 🎶 Gorillaz - arenes de Nimes.md delete mode 100644 00.01 Admin/Calendars/Events/2022-07-29 🍀 Megan - Belfast.md delete mode 100644 00.01 Admin/Calendars/Events/2022-08-05 🏠 Megan & mum back.md delete mode 100644 00.01 Admin/Calendars/Events/2022-08-10 🍀 Meg's mum back to Belfast.md delete mode 100644 00.01 Admin/Calendars/Events/2022-08-11 ⏱️ Reparation Oignon LIP.md delete mode 100644 00.01 Admin/Calendars/Events/2022-08-28 ⚽️ Paris SG - Monaco (1-1).md delete mode 100644 00.01 Admin/Calendars/Events/2022-08-31 ⚽️ Toulouse - PSG (0-3).md delete mode 100644 00.01 Admin/Calendars/Events/2022-09-03 ⚽️ Nantes - Paris SG (0-3).md delete mode 100644 00.01 Admin/Calendars/Events/2022-09-06 ⚽️ PSG - Juventus (2-1).md delete mode 100644 00.01 Admin/Calendars/Events/2022-09-08 🏟️ Diamond League Final.md delete mode 100644 00.01 Admin/Calendars/Events/2022-09-13 🍽️ Diner Lorena.md delete mode 100644 00.01 Admin/Calendars/Events/2022-09-14 ⚽️ Maccabi Haifa - PSG (1-3).md delete mode 100644 00.01 Admin/Calendars/Events/2022-09-18 ⚽️ Lyon - Paris SG (0-1).md delete mode 100644 00.01 Admin/Calendars/Events/2022-10-01 ⚽️ PSG - 0GC Nice (2-1).md delete mode 100644 00.01 Admin/Calendars/Events/2022-10-03 🍀 Meggi in Belfast.md delete mode 100644 00.01 Admin/Calendars/Events/2022-10-05 ⚽️ Benfica - PSG (1-1).md delete mode 100644 00.01 Admin/Calendars/Events/2022-10-05 📍 Conference on FinTech.md delete mode 100644 00.01 Admin/Calendars/Events/2022-10-07 🍀 Weekend in Belfast.md delete mode 100644 00.01 Admin/Calendars/Events/2022-10-11 ⚽️ PSG - Benfica (1-1).md delete mode 100644 00.01 Admin/Calendars/Events/2022-10-15 🍽️ Lunch w Marguerite & Arnold.md delete mode 100644 00.01 Admin/Calendars/Events/2022-10-16 ⚽️ PSG - Marseille (1-0).md delete mode 100644 00.01 Admin/Calendars/Events/2022-10-22 ☕️ Tea Time, fraterie.md delete mode 100644 00.01 Admin/Calendars/Events/2022-10-23 🍽️ Lunch w Mutti.md delete mode 100644 00.01 Admin/Calendars/Events/2022-10-29 ⚽️ PSG - Troyes (4-3).md delete mode 100644 00.01 Admin/Calendars/Events/2022-11-02 ⚽️ Juventus - PSG (1-2).md delete mode 100644 00.01 Admin/Calendars/Events/2022-11-13 ⚽️ PSG - AJ Auxerre (5-0).md delete mode 100644 00.01 Admin/Calendars/Events/2022-11-20 🐎 Mallorca.md delete mode 100644 00.01 Admin/Calendars/Events/2022-11-22 ⚽️ France - Australie (4-1).md delete mode 100644 00.01 Admin/Calendars/Events/2022-11-26 ⚽️ France - Denmark (2-1).md delete mode 100644 00.01 Admin/Calendars/Events/2022-11-30 ⚽️ Tunisia - France (1-1).md delete mode 100644 00.01 Admin/Calendars/Events/2022-11-30 🏒 ZSC - HC Ajoie.md delete mode 100644 00.01 Admin/Calendars/Events/2022-12-04 ⚽️ France - Pologne (3-1).md delete mode 100644 00.01 Admin/Calendars/Events/2022-12-10 ⚽️ France - Angleterre (2-1).md delete mode 100644 00.01 Admin/Calendars/Events/2022-12-10 ⛷️ Arosa.md delete mode 100644 00.01 Admin/Calendars/Events/2022-12-14 ⚽️ Maroc - France (0-2).md delete mode 100644 00.01 Admin/Calendars/Events/2022-12-16 🎡 Meg in the UK.md delete mode 100644 00.01 Admin/Calendars/Events/2022-12-18 ⚽️ France - Argentine (3-3).md create mode 100644 00.01 Admin/Calendars/Events/2023-01-23 🩺 Médecin.md create mode 100644 00.01 Admin/Calendars/Events/2023-02-06 📍 Genève.md create mode 100644 00.01 Admin/Calendars/Events/2023-02-09 🩺 Médecin.md create mode 100644 00.01 Admin/Calendars/Events/2023-02-11 💍 Mariage Eloi & Zélie.md create mode 100644 00.01 Admin/Calendars/Events/2023-02-19 🎞️ Tár @ Riff Raff.md create mode 100644 00.01 Admin/Calendars/Events/2023-03-06 🩺 Médecin.md create mode 100644 00.01 Admin/Calendars/Events/2023-03-11 🏠 Marg & Arnold à Zürich.md create mode 100644 00.01 Admin/Calendars/Events/2023-03-18 🇨🇭 Molly & boyfriend in Zürich.md create mode 100644 00.01 Admin/Calendars/Events/2023-04-14 🩺 Médecin.md create mode 100644 00.01 Admin/Calendars/Events/2023-12-21 🏠 Arrivée Papa.md create mode 100644 00.01 Admin/Calendars/Events/2023-12-27 🗼 Départ Papa.md rename 00.01 Admin/Calendars/Events/{2024-10-01 ⚽️ Arsenal - PSG.md => 2024-10-01 ⚽️ Arsenal - PSG (2-0).md} (90%) create mode 100644 00.01 Admin/Calendars/Events/2024-10-06 ⚽️ OGC Nice - PSG (1-1).md create mode 100644 00.03 News/For Dikembe Mutombo, basketball was but a vehicle for what really matters.md create mode 100644 00.03 News/He was Officer 'Champagne' at Rikers. 24 women accuse him of sexual assault in jail..md create mode 100644 00.03 News/NYC Mayoral Race 2021 The Company Eric Adams Keeps.md create mode 100644 00.03 News/Opinion A lost Trump interview comes back to life.md create mode 100644 00.03 News/Silicon Valley, the New Lobbying Monster.md create mode 100644 00.03 News/The Patriot Wing Inside The Jail Block Run By Jan 6 Rioters.md create mode 100644 00.03 News/We only learnt of our son’s secret online life after he died at 25.md create mode 100644 00.03 News/Who died and left the US $7 billion.md create mode 100644 01.07 Animals/2024-09-27 Departure to Mallorca.md create mode 100644 01.07 Animals/2024-09-30 Arrival in Son Ginard.md create mode 100644 02.03 Zürich/Schifflände.md create mode 100644 03.01 Reading list/99 francs.md rename {00.02 Inbox => 03.01 Reading list}/By the Sea.md (95%) rename {00.02 Inbox => 03.01 Reading list}/Carolyn et John.md (89%) create mode 100644 03.01 Reading list/Nouvelles sous ecstasy.md create mode 100644 03.04 Cinematheque/Aiming High - a race against the limits (2024).md diff --git a/.obsidian/plugins/cron/data.json b/.obsidian/plugins/cron/data.json index 4bac03e0..64154212 100644 --- a/.obsidian/plugins/cron/data.json +++ b/.obsidian/plugins/cron/data.json @@ -19,7 +19,7 @@ "601d1cc7-a4f3-4f19-aa9f-3bddd7ab6b1d": { "locked": false, "lockedDeviceName": "iPhone", - "lastRun": "2024-10-04T08:32:12+02:00" + "lastRun": "2024-10-16T07:25:26+02:00" } } } \ No newline at end of file diff --git a/.obsidian/plugins/obsidian-activity-history/data.json b/.obsidian/plugins/obsidian-activity-history/data.json index 4b995ccb..2f4b6517 100644 --- a/.obsidian/plugins/obsidian-activity-history/data.json +++ b/.obsidian/plugins/obsidian-activity-history/data.json @@ -12,8 +12,8 @@ "checkpointList": [ { "path": "/", - "date": "2024-10-04", - "size": 10256004 + "date": "2024-10-16", + "size": 10482916 } ], "activityHistory": [ @@ -4006,7 +4006,55 @@ }, { "date": "2024-10-04", - "value": 5145 + "value": 7320 + }, + { + "date": "2024-10-05", + "value": 1825 + }, + { + "date": "2024-10-06", + "value": 87147 + }, + { + "date": "2024-10-07", + "value": 1706 + }, + { + "date": "2024-10-08", + "value": 2715 + }, + { + "date": "2024-10-09", + "value": 3195 + }, + { + "date": "2024-10-10", + "value": 1965 + }, + { + "date": "2024-10-11", + "value": 1453 + }, + { + "date": "2024-10-12", + "value": 1749 + }, + { + "date": "2024-10-13", + "value": 1629 + }, + { + "date": "2024-10-14", + "value": 146003 + }, + { + "date": "2024-10-15", + "value": 4846 + }, + { + "date": "2024-10-16", + "value": 1504 } ] } diff --git a/.obsidian/plugins/obsidian-commits/data.json b/.obsidian/plugins/obsidian-commits/data.json index 25e6dc75..74472463 100644 --- a/.obsidian/plugins/obsidian-commits/data.json +++ b/.obsidian/plugins/obsidian-commits/data.json @@ -1190,7 +1190,7 @@ "links": 0 }, "06.01 Finances/hLedger.md": { - "size": 9450, + "size": 10435, "tags": 4, "links": 3 }, @@ -1260,7 +1260,7 @@ "links": 14 }, "01.03 Family/Olympe Bédier.md": { - "size": 2004, + "size": 2231, "tags": 3, "links": 8 }, @@ -1300,7 +1300,7 @@ "links": 6 }, "01.03 Family/Evrard de Villeneuve.md": { - "size": 2108, + "size": 2347, "tags": 4, "links": 7 }, @@ -1400,7 +1400,7 @@ "links": 3 }, "02.03 Zürich/@@Zürich.md": { - "size": 8136, + "size": 9383, "tags": 3, "links": 14 }, @@ -1434,11 +1434,6 @@ "tags": 4, "links": 1 }, - "00.02 Inbox/By the Sea.md": { - "size": 1150, - "tags": 5, - "links": 1 - }, "03.01 Reading list/@Reading master.md": { "size": 3472, "tags": 2, @@ -1520,7 +1515,7 @@ "links": 19 }, "05.02 Networks/Configuring UFW.md": { - "size": 5834, + "size": 6806, "tags": 2, "links": 7 }, @@ -1570,7 +1565,7 @@ "links": 1 }, "01.02 Home/Household.md": { - "size": 4178, + "size": 4690, "tags": 2, "links": 4 }, @@ -1755,7 +1750,7 @@ "links": 8 }, "01.01 Life Orga/@Lifestyle.md": { - "size": 5320, + "size": 5863, "tags": 4, "links": 14 }, @@ -7035,7 +7030,7 @@ "links": 2 }, "01.07 Animals/2023-07-13 Health check.md": { - "size": 1135, + "size": 1292, "tags": 3, "links": 3 }, @@ -8354,311 +8349,6 @@ "tags": 0, "links": 2 }, - "00.01 Admin/Calendars/Events/2022-12-30 🏠 Stef & Kyna in Zürich.md": { - "size": 227, - "tags": 0, - "links": 2 - }, - "00.01 Admin/Calendars/Events/2022-12-26 🏠 Papa à Zürich.md": { - "size": 227, - "tags": 0, - "links": 3 - }, - "00.01 Admin/Calendars/Events/2022-12-18 ⚽️ France - Argentine (3-3).md": { - "size": 663, - "tags": 0, - "links": 1 - }, - "00.01 Admin/Calendars/Events/2022-12-16 🎡 Meg in the UK.md": { - "size": 257, - "tags": 0, - "links": 5 - }, - "00.01 Admin/Calendars/Events/2022-12-14 ⚽️ Maroc - France (0-2).md": { - "size": 216, - "tags": 0, - "links": 1 - }, - "00.01 Admin/Calendars/Events/2022-12-10 ⚽️ France - Angleterre (2-1).md": { - "size": 272, - "tags": 0, - "links": 1 - }, - "00.01 Admin/Calendars/Events/2022-12-10 ⛷️ Arosa.md": { - "size": 241, - "tags": 0, - "links": 4 - }, - "00.01 Admin/Calendars/Events/2022-12-04 ⚽️ France - Pologne (3-1).md": { - "size": 290, - "tags": 0, - "links": 1 - }, - "00.01 Admin/Calendars/Events/2022-11-30 🏒 ZSC - HC Ajoie.md": { - "size": 206, - "tags": 0, - "links": 3 - }, - "00.01 Admin/Calendars/Events/2022-11-30 ⚽️ Tunisia - France (1-1).md": { - "size": 233, - "tags": 0, - "links": 2 - }, - "00.01 Admin/Calendars/Events/2022-11-26 ⚽️ France - Denmark (2-1).md": { - "size": 288, - "tags": 0, - "links": 3 - }, - "00.01 Admin/Calendars/Events/2022-11-22 ⚽️ France - Australie (4-1).md": { - "size": 271, - "tags": 0, - "links": 3 - }, - "00.01 Admin/Calendars/Events/2022-11-20 🐎 Mallorca.md": { - "size": 194, - "tags": 0, - "links": 4 - }, - "00.01 Admin/Calendars/Events/2022-11-19 💍 Fiançailles Marguerite & Arnold.md": { - "size": 272, - "tags": 0, - "links": 4 - }, - "00.01 Admin/Calendars/Events/2022-11-13 ⚽️ PSG - AJ Auxerre (5-0).md": { - "size": 266, - "tags": 0, - "links": 2 - }, - "00.01 Admin/Calendars/Events/2022-11-02 ⚽️ Juventus - PSG (1-2).md": { - "size": 254, - "tags": 0, - "links": 2 - }, - "00.01 Admin/Calendars/Events/2022-10-29 ⚽️ PSG - Troyes (4-3).md": { - "size": 292, - "tags": 0, - "links": 2 - }, - "00.01 Admin/Calendars/Events/2022-10-23 🍽️ Lunch w Mutti.md": { - "size": 215, - "tags": 0, - "links": 4 - }, - "00.01 Admin/Calendars/Events/2022-10-22 ☕️ Tea Time, fraterie.md": { - "size": 387, - "tags": 0, - "links": 10 - }, - "00.01 Admin/Calendars/Events/2022-10-21 🗼 Weekend à Paris.md": { - "size": 274, - "tags": 0, - "links": 5 - }, - "00.01 Admin/Calendars/Events/2022-10-16 ⚽️ PSG - Marseille (1-0).md": { - "size": 221, - "tags": 0, - "links": 2 - }, - "00.01 Admin/Calendars/Events/2022-10-15 🍽️ Lunch w Marguerite & Arnold.md": { - "size": 309, - "tags": 0, - "links": 5 - }, - "00.01 Admin/Calendars/Events/2022-10-14 📍 Weekend à GVA.md": { - "size": 264, - "tags": 0, - "links": 5 - }, - "00.01 Admin/Calendars/Events/2022-10-11 ⚽️ PSG - Benfica (1-1).md": { - "size": 231, - "tags": 0, - "links": 2 - }, - "00.01 Admin/Calendars/Events/2022-10-07 🍀 Weekend in Belfast.md": { - "size": 264, - "tags": 0, - "links": 5 - }, - "00.01 Admin/Calendars/Events/2022-10-05 📍 Conference on FinTech.md": { - "size": 193, - "tags": 0, - "links": 3 - }, - "00.01 Admin/Calendars/Events/2022-10-05 ⚽️ Benfica - PSG (1-1).md": { - "size": 216, - "tags": 0, - "links": 2 - }, - "00.01 Admin/Calendars/Events/2022-10-03 🍀 Meggi in Belfast.md": { - "size": 258, - "tags": 0, - "links": 5 - }, - "00.01 Admin/Calendars/Events/2022-10-01 ⚽️ PSG - 0GC Nice (2-1).md": { - "size": 255, - "tags": 0, - "links": 2 - }, - "00.01 Admin/Calendars/Events/2022-09-18 ⚽️ Lyon - Paris SG (0-1).md": { - "size": 194, - "tags": 0, - "links": 2 - }, - "00.01 Admin/Calendars/Events/2022-09-14 ⚽️ Maccabi Haifa - PSG (1-3).md": { - "size": 261, - "tags": 0, - "links": 2 - }, - "00.01 Admin/Calendars/Events/2022-09-13 🍽️ Diner Lorena.md": { - "size": 158, - "tags": 0, - "links": 2 - }, - "00.01 Admin/Calendars/Events/2022-09-08 🏟️ Diamond League Final.md": { - "size": 235, - "tags": 0, - "links": 3 - }, - "00.01 Admin/Calendars/Events/2022-09-06 ⚽️ PSG - Juventus (2-1).md": { - "size": 237, - "tags": 0, - "links": 2 - }, - "00.01 Admin/Calendars/Events/2022-09-03 ⚽️ Nantes - Paris SG (0-3).md": { - "size": 220, - "tags": 0, - "links": 2 - }, - "00.01 Admin/Calendars/Events/2022-08-31 ⚽️ Toulouse - PSG (0-3).md": { - "size": 246, - "tags": 0, - "links": 2 - }, - "00.01 Admin/Calendars/Events/2022-08-28 ⚽️ Paris SG - Monaco (1-1).md": { - "size": 195, - "tags": 0, - "links": 2 - }, - "00.01 Admin/Calendars/Events/2022-08-11 ⏱️ Reparation Oignon LIP.md": { - "size": 239, - "tags": 0, - "links": 2 - }, - "00.01 Admin/Calendars/Events/2022-08-10 🍀 Meg's mum back to Belfast.md": { - "size": 182, - "tags": 0, - "links": 3 - }, - "00.01 Admin/Calendars/Events/2022-08-05 🏠 Megan & mum back.md": { - "size": 190, - "tags": 0, - "links": 3 - }, - "00.01 Admin/Calendars/Events/2022-07-29 🍀 Megan - Belfast.md": { - "size": 169, - "tags": 0, - "links": 3 - }, - "00.01 Admin/Calendars/Events/2022-06-17 🎶 Gorillaz - arenes de Nimes.md": { - "size": 188, - "tags": 0, - "links": 3 - }, - "00.01 Admin/Calendars/Events/2022-06-05 🏠 Retour a Zurich.md": { - "size": 174, - "tags": 0, - "links": 3 - }, - "00.01 Admin/Calendars/Events/2022-06-02 🎡 Departure to London.md": { - "size": 176, - "tags": 0, - "links": 3 - }, - "00.01 Admin/Calendars/Events/2022-05-15 🏠 Definite arrival of Meggi-mo to Züzü.md": { - "size": 208, - "tags": 0, - "links": 3 - }, - "00.01 Admin/Calendars/Events/2022-05-13 🏠 Meggi-mo is arriving in ZH.md": { - "size": 188, - "tags": 0, - "links": 3 - }, - "00.01 Admin/Calendars/Events/2022-05-01 🍀 Meggi-mo's departure to Belfast.md": { - "size": 163, - "tags": 0, - "links": 4 - }, - "00.01 Admin/Calendars/Events/2022-04-29 📍 Meggi-mo arrives in Lisbon.md": { - "size": 147, - "tags": 0, - "links": 3 - }, - "00.01 Admin/Calendars/Events/2022-04-27 📍 Arrivée à Lisbonne.md": { - "size": 149, - "tags": 0, - "links": 2 - }, - "00.01 Admin/Calendars/Events/2022-04-24 🗳️ 2nd tour élections présidentielles.md": { - "size": 192, - "tags": 0, - "links": 2 - }, - "00.01 Admin/Calendars/Events/2022-04-10 🗳️ 1er tour Présidentielle.md": { - "size": 261, - "tags": 0, - "links": 3 - }, - "00.01 Admin/Calendars/Events/2022-05-01 🏠 Départ de Lisbonne.md": { - "size": 174, - "tags": 0, - "links": 3 - }, - "00.01 Admin/Calendars/Events/2022-04-09 🫙 Garde-meuble Granny.md": { - "size": 265, - "tags": 0, - "links": 5 - }, - "00.01 Admin/Calendars/Events/2022-04-08 🍽️ Dej Ag.md": { - "size": 231, - "tags": 0, - "links": 5 - }, - "00.01 Admin/Calendars/Events/2022-04-07 🗼 Meggi-mo arrival.md": { - "size": 171, - "tags": 0, - "links": 3 - }, - "00.01 Admin/Calendars/Events/2022-04-04 🗼 Départ Papa.md": { - "size": 169, - "tags": 0, - "links": 2 - }, - "00.01 Admin/Calendars/Events/2022-03-31 🏠 Arrivée de Papa.md": { - "size": 203, - "tags": 0, - "links": 3 - }, - "00.01 Admin/Calendars/Events/2022-04-07 🍽️ Diner Vivi.md": { - "size": 208, - "tags": 0, - "links": 4 - }, - "00.01 Admin/Calendars/Events/2022-03-26 💍 Fiancailles Eloi.md": { - "size": 340, - "tags": 0, - "links": 5 - }, - "00.01 Admin/Calendars/Events/2022-03-19 🏠 Arrivée Meggi-mo.md": { - "size": 217, - "tags": 0, - "links": 3 - }, - "00.01 Admin/Calendars/Events/2022-03-24 🎡 Départ de Meggi-mo.md": { - "size": 193, - "tags": 0, - "links": 2 - }, "00.01 Admin/Calendars/Events/2023-12-16 🏒 Ice Hockey League.md": { "size": 262, "tags": 0, @@ -11269,11 +10959,6 @@ "tags": 0, "links": 1 }, - "00.02 Inbox/Carolyn et John.md": { - "size": 894, - "tags": 0, - "links": 1 - }, "00.02 Inbox/Blonde.md": { "size": 882, "tags": 0, @@ -11285,7 +10970,7 @@ "links": 3 }, "01.06 Health/2024-06-29 Fungal treatment.md": { - "size": 2857, + "size": 5012, "tags": 2, "links": 3 }, @@ -12124,11 +11809,6 @@ "tags": 0, "links": 2 }, - "00.01 Admin/Calendars/Events/2024-10-01 ⚽️ Arsenal - PSG.md": { - "size": 370, - "tags": 0, - "links": 2 - }, "00.01 Admin/Calendars/Events/2024-10-22 ⚽️ PSG - PSV Eindhoven.md": { "size": 189, "tags": 0, @@ -12207,7 +11887,7 @@ "00.03 News/Anatomy of a Murder.md": { "size": 59865, "tags": 3, - "links": 1 + "links": 2 }, "00.03 News/Why I changed my mind about volunteering.md": { "size": 28254, @@ -12457,25 +12137,175 @@ "00.01 Admin/Calendars/2024-10-03.md": { "size": 1412, "tags": 0, - "links": 5 + "links": 7 }, "00.01 Admin/Calendars/2024-10-04.md": { "size": 1282, "tags": 0, - "links": 5 + "links": 8 }, "03.01 Reading list/Diplomacy.md": { "size": 883, "tags": 2, "links": 2 + }, + "03.01 Reading list/Nouvelles sous ecstasy.md": { + "size": 885, + "tags": 2, + "links": 2 + }, + "00.01 Admin/Calendars/2024-10-05.md": { + "size": 1412, + "tags": 0, + "links": 4 + }, + "00.01 Admin/Calendars/2024-10-06.md": { + "size": 1412, + "tags": 0, + "links": 7 + }, + "00.03 News/NYC Mayoral Race 2021 The Company Eric Adams Keeps.md": { + "size": 33024, + "tags": 3, + "links": 1 + }, + "00.03 News/He was Officer 'Champagne' at Rikers. 24 women accuse him of sexual assault in jail..md": { + "size": 25252, + "tags": 4, + "links": 2 + }, + "00.03 News/For Dikembe Mutombo, basketball was but a vehicle for what really matters.md": { + "size": 9825, + "tags": 5, + "links": 2 + }, + "03.04 Cinematheque/Aiming High - a race against the limits (2024).md": { + "size": 2288, + "tags": 1, + "links": 1 + }, + "00.01 Admin/Calendars/Events/2024-10-01 ⚽️ Arsenal - PSG (2-0).md": { + "size": 370, + "tags": 0, + "links": 2 + }, + "00.01 Admin/Calendars/Events/2024-10-06 ⚽️ OGC Nice - PSG (1-1).md": { + "size": 401, + "tags": 0, + "links": 2 + }, + "00.01 Admin/Calendars/2024-10-07.md": { + "size": 1412, + "tags": 0, + "links": 6 + }, + "00.01 Admin/Calendars/2024-10-08.md": { + "size": 1255, + "tags": 0, + "links": 6 + }, + "03.01 Reading list/By the Sea.md": { + "size": 1150, + "tags": 5, + "links": 2 + }, + "00.01 Admin/Calendars/2024-10-09.md": { + "size": 1414, + "tags": 0, + "links": 9 + }, + "01.07 Animals/2024-09-27 Departure to Mallorca.md": { + "size": 742, + "tags": 3, + "links": 4 + }, + "00.01 Admin/Calendars/2024-10-10.md": { + "size": 1412, + "tags": 0, + "links": 7 + }, + "03.01 Reading list/99 francs.md": { + "size": 911, + "tags": 2, + "links": 2 + }, + "01.07 Animals/2024-09-30 Arrival in Son Ginard.md": { + "size": 769, + "tags": 3, + "links": 4 + }, + "00.01 Admin/Calendars/2024-10-11.md": { + "size": 1412, + "tags": 0, + "links": 5 + }, + "00.01 Admin/Calendars/2024-10-12.md": { + "size": 1412, + "tags": 0, + "links": 7 + }, + "00.01 Admin/Calendars/2024-10-13.md": { + "size": 1412, + "tags": 0, + "links": 7 + }, + "00.01 Admin/Calendars/2024-10-14.md": { + "size": 1412, + "tags": 0, + "links": 7 + }, + "00.03 News/Opinion A lost Trump interview comes back to life.md": { + "size": 21521, + "tags": 4, + "links": 1 + }, + "00.03 News/We only learnt of our son’s secret online life after he died at 25.md": { + "size": 1939, + "tags": 4, + "links": 1 + }, + "00.03 News/The Patriot Wing Inside The Jail Block Run By Jan 6 Rioters.md": { + "size": 46003, + "tags": 3, + "links": 1 + }, + "00.03 News/Who died and left the US $7 billion.md": { + "size": 17466, + "tags": 3, + "links": 2 + }, + "00.03 News/Silicon Valley, the New Lobbying Monster.md": { + "size": 58261, + "tags": 3, + "links": 1 + }, + "03.01 Reading list/Carolyn et John.md": { + "size": 894, + "tags": 2, + "links": 2 + }, + "00.01 Admin/Calendars/2024-10-15.md": { + "size": 1412, + "tags": 0, + "links": 5 + }, + "02.03 Zürich/Schifflände.md": { + "size": 1521, + "tags": 3, + "links": 3 + }, + "00.01 Admin/Calendars/2024-10-16.md": { + "size": 1412, + "tags": 0, + "links": 4 } }, "commitTypes": { "/": { - "Refactor": 11864, - "Create": 2984, - "Link": 14500, - "Expand": 2407 + "Refactor": 11946, + "Create": 3011, + "Link": 14577, + "Expand": 2429 } }, "dailyCommits": { @@ -12487,39 +12317,61 @@ "4": 46, "5": 18, "6": 77, - "7": 1207, - "8": 3420, - "9": 1264, - "10": 856, - "11": 641, - "12": 6854, - "13": 806, - "14": 715, - "15": 1025, - "16": 781, - "17": 949, - "18": 7480, - "19": 1088, - "20": 989, - "21": 944, - "22": 840, + "7": 1212, + "8": 3470, + "9": 1335, + "10": 873, + "11": 650, + "12": 6855, + "13": 809, + "14": 717, + "15": 1026, + "16": 797, + "17": 956, + "18": 7481, + "19": 1091, + "20": 1000, + "21": 947, + "22": 848, "23": 1473 } }, "weeklyCommits": { "/": { - "Mon": 3497, - "Tue": 2038, - "Wed": 8168, - "Thu": 1599, - "Fri": 1688, + "Mon": 3534, + "Tue": 2062, + "Wed": 8189, + "Thu": 1611, + "Fri": 1699, "Sat": 0, - "Sun": 14765 + "Sun": 14868 } }, "recentCommits": { "/": { "Expanded": [ + " @Lifestyle ", + " @@Zürich ", + " Schifflände ", + " 2024-06-29 Fungal treatment ", + " Evrard de Villeneuve ", + " Olympe Bédier ", + " 2024-06-29 Fungal treatment ", + " 2024-06-29 Fungal treatment ", + " 2023-07-13 Health check ", + " 2024-10-09 ", + " 2024-09-30 Arrival in Son Ginard ", + " 2024-09-30 Arrival in Son Ginard ", + " 2024-09-27 Departure to Mallorca ", + " 99 francs ", + " Household ", + " 2024-06-29 Fungal treatment ", + " 2024-10-06 ⚽️ OGC Nice - PSG ", + " 2024-10-06 ⚽️ OGC Nice - PSG ", + " 2024-10-06 ⚽️ OGC Nice - PSG ", + " 2024-06-29 Fungal treatment ", + " Configuring UFW ", + " hLedger ", " 2024-06-29 Fungal treatment ", " Storage and Syncing ", " 2024-06-29 Fungal treatment ", @@ -12548,31 +12400,36 @@ " 2024-09-21 Patron's Cup ", " @Shopping list ", " Configuring UFW ", - " 2024-09-18 ⚽️ PSG - FC Girona (1-0) ", - " 2024-09-18 ⚽️ PSG - FC Girona ", - " 2024-09-18 ⚽️ PSG - FC Girona ", - " Erso ", - " @Italy ", - " 2024-06-29 Fungal treatment ", - " 2024-09-17 ", - " 2024-09-17 ", - " 2024-09-14 ⚽️ PSG - Brest 29 ", - " 2024-09-14 ⚽️ PSG - Brest 29 ", - " 2024-09-14 ⚽️ PSG - Brest 29 ", - " Garde Manger ", - " 2024-06-29 Fungal treatment ", - " @Sally ", - " Household ", - " Crypto Tasks ", - " Configuring UFW ", - " 2024-09-06 ", - " 2024-09-05 ", - " 2024-06-29 Fungal treatment ", - " Ophélie Bédier ", - " 2024-09-04 ", - " 2024-11-06 ⚽️ PSG - Atletico Madrid " + " 2024-09-18 ⚽️ PSG - FC Girona (1-0) " ], "Created": [ + " 2024-10-16 ", + " Untitled ", + " 2024-10-15 ", + " Silicon Valley, the New Lobbying Monster ", + " Who died and left the US $7 billion ", + " The Patriot Wing Inside The Jail Block Run By Jan 6 Rioters ", + " We only learnt of our son’s secret online life after he died at 25 ", + " Opinion A lost Trump interview comes back to life ", + " 2024-10-14 ", + " 2024-10-13 ", + " 2024-10-12 ", + " 2024-10-11 ", + " 2024-10-10 ", + " Untitled ", + " Untitled ", + " 2024-10-09 ", + " 99 francs ", + " 2024-10-08 ", + " 2024-10-07 ", + " 2024-10-06 ⚽️ OGC Nice - PSG ", + " Aiming High - a race against the limits (2024) ", + " For Dikembe Mutombo, basketball was but a vehicle for what really matters ", + " He was Officer 'Champagne' at Rikers. 24 women accuse him of sexual assault in jail. ", + " NYC Mayoral Race 2021 The Company Eric Adams Keeps ", + " 2024-10-06 ", + " 2024-10-05 ", + " Nouvelles sous ecstasy ", " 2024-10-04 ", " 2024-10-03 ", " Turkish Eggs ", @@ -12596,36 +12453,27 @@ " How Anthony Flores and Anna Moore Scammed Dr. Mark Sawusch ", " 2024-09-24 ", " 2024-09-23 ", - " Untitled ", - " 2024-09-22 ", - " 2024-09-21 ⚽️ Reims - PSG ", - " Untitled ", - " SpaceX’s ascent in Texas was fueled by accommodating local politicians ", - " 2024-09-21 ", - " Emails Reveal How Walz Struggled to Deal With Unrest, Reach Consensus With Critics After Police Killings ", - " 2024-09-20 ", - " 2024-09-19 ", - " Untitled ", - " 2024-09-18 ", - " 2024-09-17 ", - " 2024-09-16 ", - " Russia’s Espionage War in the Arctic ", - " I Examined Donald Trump’s Ear — and His Soul — at Mar-a-Lago ", - " Inside the Dangerous, Secretive World of Extreme Fishing ", - " 2024-09-15 ", - " 2024-09-14 ⚽️ PSG - Brest 29 ", - " Untitled ", - " 2024-09-14 ", - " 2024-09-13 ", - " At Least Two Saudi Officials May Have Deliberately Assisted 911 Hijackers, New Evidence Suggests ", - " 2024-09-12 ", - " 2024-09-11 ", - " 2024-09-10 ", - " 2024-09-09 ", - " Why I changed my mind about volunteering ", - " Anatomy of a Murder " + " Untitled " ], "Renamed": [ + " Schifflände ", + " Carolyn et John ", + " Silicon Valley, the New Lobbying Monster ", + " Who died and left the US $7 billion ", + " The Patriot Wing Inside The Jail Block Run By Jan 6 Rioters ", + " We only learnt of our son’s secret online life after he died at 25 ", + " Opinion A lost Trump interview comes back to life ", + " 2024-09-30 Arrival in Son Ginard ", + " 99 francs ", + " 2024-09-30 Arrival in Son Ginard ", + " 2024-09-27 Departure to Mallorca ", + " By the Sea ", + " 2024-10-06 ⚽️ OGC Nice - PSG (1-1) ", + " 2024-10-01 ⚽️ Arsenal - PSG (2-0) ", + " For Dikembe Mutombo, basketball was but a vehicle for what really matters ", + " He was Officer 'Champagne' at Rikers. 24 women accuse him of sexual assault in jail. ", + " NYC Mayoral Race 2021 The Company Eric Adams Keeps ", + " Nouvelles sous ecstasy ", " Diplomacy ", " Turkish Eggs ", " These Are the Best Texas-Style Barbecue Joints in America – Texas Monthly ", @@ -12658,27 +12506,28 @@ " These Are the Best Texas-Style Barbecue Joints in America – Texas Monthly ", " The Accelerationists’ App How Telegram Became the “Center of Gravity” for a New Breed of Domestic Terrorists ", " 2024-11-26 ⚽️ Bayern - PSG ", - " 2024-09-01 ⚽️ LOSC - PSG (1-3) ", - " How to Make Millions as a Professional Whistleblower ", - " How Nayib Bukele's 'Iron Fist' Has Transformed El Salvador ", - " Fear and Joy in Chicago Fintan O’Toole ", - " Gaslight ", - " Underworld ", - " Qu'est-ce Qui Nous Tente ", - " Silence of Friends ", - " Couronnement de l'Art ", - " Génie & Folie ", - " If ", - " The Times They are a-changing ", - " Seehaus ", - " New Year well Wishes ", - " From Fiery Revolutionary to Sunshine State Retiree The THC-Fueled Twilight of the Last of the Chicago 7 ", - " Wien ", - " 2024-08-23 ⚽️ PSG - Montpellier (6-0) ", - " Trump Assassination Attempt Laid Bare Long-standing Vulnerabilities in the Secret Service ", - " The Vigil Keepers of January 6th " + " 2024-09-01 ⚽️ LOSC - PSG (1-3) " ], "Tagged": [ + " Schifflände ", + " Carolyn et John ", + " Silicon Valley, the New Lobbying Monster ", + " Who died and left the US $7 billion ", + " Who died and left the US $7 billion ", + " We only learnt of our son’s secret online life after he died at 25 ", + " The Patriot Wing Inside The Jail Block Run By Jan 6 Rioters ", + " We only learnt of our son’s secret online life after he died at 25 ", + " Opinion A lost Trump interview comes back to life ", + " Carolyn et John ", + " 2024-09-30 Arrival in Son Ginard ", + " 2024-09-30 Arrival in Son Ginard ", + " 2024-09-27 Departure to Mallorca ", + " 99 francs ", + " Aiming High - a race against the limits (2024) ", + " NYC Mayoral Race 2021 The Company Eric Adams Keeps ", + " He was Officer 'Champagne' at Rikers. 24 women accuse him of sexual assault in jail. ", + " For Dikembe Mutombo, basketball was but a vehicle for what really matters ", + " Nouvelles sous ecstasy ", " Inside the Dangerous, Secretive World of Extreme Fishing ", " Turkish Eggs ", " Russia’s Espionage War in the Arctic ", @@ -12710,28 +12559,11 @@ " The Accelerationists’ App How Telegram Became the “Center of Gravity” for a New Breed of Domestic Terrorists ", " Diplomacy ", " How to Make Millions as a Professional Whistleblower ", - " How to Make Millions as a Professional Whistleblower ", - " Fear and Joy in Chicago Fintan O’Toole ", - " How Nayib Bukele's 'Iron Fist' Has Transformed El Salvador ", - " Underworld ", - " Seehaus ", - " Seehaus ", - " From Fiery Revolutionary to Sunshine State Retiree The THC-Fueled Twilight of the Last of the Chicago 7 ", - " Wien ", - " Arizona Dream (1993) ", - " The Red Circle (1970) ", - " Trump Assassination Attempt Laid Bare Long-standing Vulnerabilities in the Secret Service ", - " The Vigil Keepers of January 6th ", - " The Vigil Keepers of January 6th ", - " The California Beach Town Awash in Poop ", - " How McDonald’s Found Out Its Wildly Popular Monopoly Game Was a Fraud ", - " After Nike Leaders Promised Climate Action, Their Corporate Jets Kept Flying — and Polluting ", - " Escaping Oklahoma A Worker’s Story From Inside an Illegal Marijuana Operation ", - " Armed and Underground Inside the Turbulent, Secret World of an American Militia ", - " Sleepy Hollow (1999) ", - " The Social Dilemma (2020) " + " How to Make Millions as a Professional Whistleblower " ], "Refactored": [ + " 2024-10-09 ", + " 2024-10-08 ", " Turkish Eggs ", " 2024-10-02 ", " 2024-09-30 ", @@ -12780,115 +12612,113 @@ " The Local Girls Who Inspired the Hollywood Classic “Mean Girls” ", " The Local Girls Who Inspired the Hollywood Classic “Mean Girls” ", " Juan Bautista Bossio ", - " 2024-06-17 ", - " 2024-06-13 ", - " Life - Practical infos " + " 2024-06-17 " ], "Deleted": [ - " The Ballad of Byron York Meet Conservative Media’s Saddest Stenographer ", - " Diplomacy ", - " 2021-12-04 MRCK - lil dialogue ", - " ‘The Blind Side’ Made Him Famous. But He Has a Different Story to Tell. ", - " Why CVS and Target Locking Up Products Is Backfiring ", - " Adam Nayman It was one of the most sexually explicit movies of the ‘90s. Here’s why this Tom Cruise and Nicole Kidman thriller still shocks today ", - " travel$visit ", - " travel$summary ", - " travel$stop ", - " travel$sport ", - " travel$restaurant ", - " travel$meetup ", - " travel$commute ", - " travel$accomodation ", - " travel$activity ", - " 2024-07-19 ", - " Will Ashley Biden’s Stolen Diary Take Down Project Veritas ", - " YoungBoy Never Broke Again Inside His House Arrest & Rebirth ", - " Women Have Been Misled About Menopause ", - " Winging It with the New Backcountry Barnstormers ", - " Yevgeny Prigozhin the hotdog seller who rose to the top of Putin’s war machine ", - " Why Suicide Rates Are Dropping Around the World ", - " Why nobody got paid for one of the most sampled sounds in hip-hop ", - " When Flying Private Kills ", - " Two Teens Hitchhiked to a Concert ", - " We want objective judges and doctors. Why not journalists too ", - " Why Everyone Feels Like They’re Faking It ", - " What Was Kyrie Irving Thinking ", - " Why Joe Biden’s Honeymoon With Progressives Is Coming to an End ", - " US-China 1MDB Scandal Pits FBI Against Former Fugee Pras Michel ", - " What Was Twitter, Anyway ", - " We’re Getting Midlife All Wrong ", - " Why Does It Feel Like Amazon Is Making Itself Worse ", - " What George Santos Was Really Like as a Roommate ", - " Video Shows Greece Abandoning Migrants at Sea ", - " Who Wants to Be Mayor ", - " True Crime, True Faith The Serial Killer and the Texas Mom Who Stopped Him ", - " Wall Street's Short Kings ", - " Undercover Lovers ", - " Trying to Live a Day Without Plastic ", - " Utopia to blight Surviving in Henry Ford’s lost jungle town ", - " Who Murdered Apotex Pharma Billionaire Barry Sherman and Honey ", - " Vigilantes for views The YouTube pranksters harassing suspected scam callers in India ", - " What Happened to Ana Mendieta ", - " We Are All Animals at Night Hazlitt ", - " Travis Kelce Is Going for It ", - " Tyler Gallagher of Regal Assets Took Their Millions for Gold and Vanished ", - " What Happened in Vegas David Hill ", - " Why Bill Watterson Vanished - The American Conservative ", - " What Really Happened to JFK ", - " Why Does Crypto Matter Matt Levine on BTC, ETH, Blockchain " + " 2022-12-30 🏠 Stef & Kyna in Zürich ", + " 2022-12-26 🏠 Papa à Zürich ", + " 2022-12-18 ⚽️ France - Argentine (3-3) ", + " 2022-12-16 🎡 Meg in the UK ", + " 2022-12-14 ⚽️ Maroc - France (0-2) ", + " 2022-12-10 ⚽️ France - Angleterre (2-1) ", + " 2022-12-10 ⛷️ Arosa ", + " 2022-12-04 ⚽️ France - Pologne (3-1) ", + " 2022-11-30 🏒 ZSC - HC Ajoie ", + " 2022-11-30 ⚽️ Tunisia - France (1-1) ", + " 2022-11-26 ⚽️ France - Denmark (2-1) ", + " 2022-11-22 ⚽️ France - Australie (4-1) ", + " 2022-11-20 🐎 Mallorca ", + " 2022-11-19 💍 Fiançailles Marguerite & Arnold ", + " 2022-11-13 ⚽️ PSG - AJ Auxerre (5-0) ", + " 2022-11-02 ⚽️ Juventus - PSG (1-2) ", + " 2022-10-29 ⚽️ PSG - Troyes (4-3) ", + " 2022-10-23 🍽️ Lunch w Mutti ", + " 2022-10-22 ☕️ Tea Time, fraterie ", + " 2022-10-21 🗼 Weekend à Paris ", + " 2022-10-16 ⚽️ PSG - Marseille (1-0) ", + " 2022-10-15 🍽️ Lunch w Marguerite & Arnold ", + " 2022-10-14 📍 Weekend à GVA ", + " 2022-10-11 ⚽️ PSG - Benfica (1-1) ", + " 2022-10-07 🍀 Weekend in Belfast ", + " 2022-10-05 📍 Conference on FinTech ", + " 2022-10-03 🍀 Meggi in Belfast ", + " 2022-10-05 ⚽️ Benfica - PSG (1-1) ", + " 2022-10-01 ⚽️ PSG - 0GC Nice (2-1) ", + " 2022-09-18 ⚽️ Lyon - Paris SG (0-1) ", + " 2022-09-14 ⚽️ Maccabi Haifa - PSG (1-3) ", + " 2022-09-13 🍽️ Diner Lorena ", + " 2022-09-08 🏟️ Diamond League Final ", + " 2022-09-06 ⚽️ PSG - Juventus (2-1) ", + " 2022-09-03 ⚽️ Nantes - Paris SG (0-3) ", + " 2022-08-31 ⚽️ Toulouse - PSG (0-3) ", + " 2022-08-28 ⚽️ Paris SG - Monaco (1-1) ", + " 2022-08-11 ⏱️ Reparation Oignon LIP ", + " 2022-08-10 🍀 Meg's mum back to Belfast ", + " 2022-08-05 🏠 Megan & mum back ", + " 2022-07-29 🍀 Megan - Belfast ", + " 2022-06-17 🎶 Gorillaz - arenes de Nimes ", + " 2022-06-05 🏠 Retour a Zurich ", + " 2022-06-02 🎡 Departure to London ", + " 2022-05-15 🏠 Definite arrival of Meggi-mo to Züzü ", + " 2022-05-13 🏠 Meggi-mo is arriving in ZH ", + " 2022-05-01 🏠 Départ de Lisbonne ", + " 2022-05-01 🍀 Meggi-mo's departure to Belfast ", + " 2022-04-29 📍 Meggi-mo arrives in Lisbon ", + " 2022-04-27 📍 Arrivée à Lisbonne ", + " 2022-04-24 🗳️ 2nd tour élections présidentielles " ], "Linked": [ - " Diplomacy ", - " For Laura Loomer, a Trump comeback is everything ", - " Inside the Dangerous, Secretive World of Extreme Fishing ", - " 2024-10-04 ", - " 2024-10-03 ", - " 2024-10-03 ", - " Dorothée Moulin ", - " 2024-10-02 ", - " Turkish Eggs ", - " 2024-10-02 ", - " 2024-10-02 ", - " 2024-10-01 ", - " These Are the Best Texas-Style Barbecue Joints in America – Texas Monthly ", - " 2024-10-01 ", - " 2024-10-01 ", - " Where MAGA Granddads and Resistance Moms Go to Learn America’s Most Painful History Lessons ", - " 2024-10-01 ", - " Russia’s Espionage War in the Arctic ", - " 2024-09-30 ", - " How Sparing the Parkland Shooter's Life Changed Florida's Death Penalty ", - " Opinion The Number ", - " To Understand Mississippi, I Went to Spain ", - " 2024-09-30 ", - " 2024-09-29 ", - " Independence Day (1996) ", - " 2024-09-28 ", - " 2024-09-29 ", - " 2024-09-28 ", - " 2024-09-27 ⚽️ PSG - Rennes ", - " 2024-09-27 ", - " How to Make Millions as a Professional Whistleblower ", - " 2024-09-27 ", - " 2024-09-25 Vet Clearance ", - " 2024-09-26 ", - " 2024-09-25 ", - " I Examined Donald Trump’s Ear — and His Soul — at Mar-a-Lago ", - " Green Lentil Daal ", - " At Least Two Saudi Officials May Have Deliberately Assisted 911 Hijackers, New Evidence Suggests ", - " Why I changed my mind about volunteering ", - " 2024-09-25 ", - " 2024-09-24 ", - " The Ballad of Byron York Meet Conservative Media’s Saddest Stenographer ", - " How Anthony Flores and Anna Moore Scammed Dr. Mark Sawusch ", - " For Laura Loomer, a Trump comeback is everything ", - " 2024-09-24 ", - " 2024-09-24 ", - " 2024-09-23 ", - " 2024-09-22 ", - " 2024-09-22 ", - " Antiquario da Marco ", - " 2024-09-21 ⚽️ Reims - PSG " + " 2024-10-16 ", + " 2024-10-15 ", + " Schifflände ", + " Schifflände ", + " 2024-10-15 ", + " Anatomy of a Murder ", + " Who died and left the US $7 billion ", + " For Dikembe Mutombo, basketball was but a vehicle for what really matters ", + " Carolyn et John ", + " 2024-10-14 ", + " Silicon Valley, the New Lobbying Monster ", + " Who died and left the US $7 billion ", + " The Patriot Wing Inside The Jail Block Run By Jan 6 Rioters ", + " We only learnt of our son’s secret online life after he died at 25 ", + " Opinion A lost Trump interview comes back to life ", + " 2024-10-14 ", + " 2024-10-13 ", + " 2024-10-13 ", + " 2024-10-12 ", + " He was Officer 'Champagne' at Rikers. 24 women accuse him of sexual assault in jail. ", + " 2024-10-12 ", + " 2024-10-11 ", + " 2024-10-11 ", + " 2024-10-10 ", + " 99 francs ", + " 2024-10-10 ", + " 2024-10-10 ", + " 2024-10-09 ", + " 2024-10-09 ", + " 2024-09-30 Arrival in Son Ginard ", + " 2024-09-27 Departure to Mallorca ", + " 2024-09-30 Arrival in Son Ginard ", + " 2024-09-27 Departure to Mallorca ", + " 2024-10-09 ", + " 2024-10-08 ", + " 99 francs ", + " 2024-10-08 ", + " By the Sea ", + " 2024-10-08 ", + " 2024-10-07 ", + " 2024-10-07 ", + " 2024-10-07 ", + " 2024-10-06 ⚽️ OGC Nice - PSG ", + " 2024-10-06 ", + " 2024-10-06 ", + " Aiming High - a race against the limits (2024) ", + " NYC Mayoral Race 2021 The Company Eric Adams Keeps ", + " He was Officer 'Champagne' at Rikers. 24 women accuse him of sexual assault in jail. ", + " For Dikembe Mutombo, basketball was but a vehicle for what really matters ", + " 2024-10-06 ", + " 2024-10-06 " ], "Removed Tags from": [ " For Laura Loomer, a Trump comeback is everything ", @@ -12944,6 +12774,7 @@ " The Local Girls Who Inspired the Hollywood Classic “Mean Girls” " ], "Removed Links from": [ + " 2024-10-05 ", " How a Con Man Ended Up in Solitary in Colorado Supermax Federal Prison ", " A British Nurse Was Found Guilty of Killing Seven Babies. Did She Do It ", " For the Women Who Accused the Trump Campaign of Harassment, It’s Been More Harassment ", @@ -12993,8 +12824,7 @@ " How Two Single Moms Escaped an Alleged Sex-Trafficking Ring and Ultimately Saved Each Other ", " Behind the New Iron Curtain, by Marzio G. Mian, Translated by Elettra Pauletto ", " Hippy, capitalist, guru, grocer the forgotten genius who changed British food ", - " How a Script Doctor Found His Own Voice ", - " Can a Film Star Be Too Good-Looking " + " How a Script Doctor Found His Own Voice " ] } }, diff --git a/.obsidian/plugins/obsidian-dice-roller/data.json b/.obsidian/plugins/obsidian-dice-roller/data.json index ba6bad28..a19a13ec 100644 --- a/.obsidian/plugins/obsidian-dice-roller/data.json +++ b/.obsidian/plugins/obsidian-dice-roller/data.json @@ -73,7 +73,7 @@ "showRenderNotice": true, "diceModTemplateFolders": {}, "replaceDiceModInLivePreview": true, - "version": "11.3.1", + "version": "11.3.2", "viewResults": [], "showDice": true } \ No newline at end of file diff --git a/.obsidian/plugins/obsidian-dice-roller/main.js b/.obsidian/plugins/obsidian-dice-roller/main.js index f1b63fe3..f07e8ed1 100644 --- a/.obsidian/plugins/obsidian-dice-roller/main.js +++ b/.obsidian/plugins/obsidian-dice-roller/main.js @@ -11,11 +11,11 @@ Use (?: \u2026 ) instead`);if(!V.lineBreaks&&H.test(` `)S=1;else for(;B.exec(v);)S++,L=B.lastIndex}var C={type:typeof A.type=="function"&&A.type(v)||A.defaultType,value:typeof A.value=="function"?A.value(v):v,text:v,toString:z,offset:R,lineBreaks:S,line:this.line,col:this.col},N=v.length;if(this.index+=N,this.line+=S,S!==0?this.col=N-L+1:this.col+=N,A.shouldThrow){var k=new Error(this.formatError(C,"invalid syntax"));throw k}return A.pop?this.popState():A.push?this.pushState(A.push):A.next&&this.setState(A.next),C},typeof Symbol<"u"&&Symbol.iterator){var W=function(A){this.lexer=A};W.prototype.next=function(){var A=this.lexer.next();return{value:A,done:!A}},W.prototype[Symbol.iterator]=function(){return this},M.prototype[Symbol.iterator]=function(){return new W(this)}}return M.prototype.formatError=function(A,v){if(A==null)var R=this.buffer.slice(this.index),A={text:R,offset:this.index,lineBreaks:R.indexOf(` `)===-1?0:1,line:this.line,col:this.col};var S=2,B=Math.max(A.line-S,1),L=A.line+S,C=String(L).length,N=h(this.buffer,this.line-A.line+S+1).slice(0,5),k=[];k.push(v+" at line "+A.line+" col "+A.col+":"),k.push("");for(var V=0;V{"use strict";Object.defineProperty(Wt,"__esModule",{value:!0});Wt.isNone=Wt.isSome=Wt.None=Wt.Some=Wt.OptionType=void 0;Wt.OptionType={Some:Symbol(":some"),None:Symbol(":none")};function OE(r){return typeof r>"u"?xo():eg(r)}Wt.Some=OE;Wt.None=xo();function eg(r){return{type:Wt.OptionType.Some,isSome(){return!0},isNone(){return!1},match(e){return e.some(r)},map(e){return eg(e(r))},andThen(e){return e(r)},or(e){return this},and(e){return e},unwrapOr(e){return r},unwrap(){return r}}}function xo(){return{type:Wt.OptionType.None,isSome(){return!1},isNone(){return!0},match(r){let{none:e}=r;return typeof e=="function"?e():e},map(r){return xo()},andThen(r){return xo()},or(r){return r},and(r){return xo()},unwrapOr(r){if(r==null)throw new Error("Cannot call unwrapOr with a missing value.");return r},unwrap(){throw new ReferenceError("Trying to unwrap None.")}}}function zE(r){return r.isSome()}Wt.isSome=zE;function VE(r){return r.isNone()}Wt.isNone=VE});var tg=_i($t=>{"use strict";Object.defineProperty($t,"__esModule",{value:!0});$t.isRight=$t.isLeft=$t.Right=$t.Left=$t.EitherType=void 0;var ql=Gl();$t.EitherType={Left:Symbol(":left"),Right:Symbol(":right")};function vo(r){return{type:$t.EitherType.Left,isLeft(){return!0},isRight(){return!1},left(){return(0,ql.Some)(r)},leftAndThen(e){return e(r)},right(){return ql.None},rightAndThen(e){return vo(r)},unwrap(){return r},unwrapLeft(){return r},unwrapLeftOr(e){return r},unwrapLeftOrElse(e){return r},unwrapRight(){throw new ReferenceError("Cannot unwrap Right value of Either.Left")},unwrapRightOr(e){return e},unwrapRightOrElse(e){return e(r)},match(e){return e.left(r)},map(e){return vo(e(r))},mapLeft(e){return vo(e(r))},mapRight(e){return vo(r)}}}$t.Left=vo;function wo(r){return{type:$t.EitherType.Right,isLeft(){return!1},isRight(){return!0},left(){return ql.None},leftAndThen(e){return wo(r)},right(){return(0,ql.Some)(r)},rightAndThen(e){return e(r)},unwrap(){return r},unwrapLeft(){throw new ReferenceError("Cannot unwrap Left value of Either.Right")},unwrapLeftOr(e){return e},unwrapLeftOrElse(e){return e(r)},unwrapRight(){return r},unwrapRightOr(e){return r},unwrapRightOrElse(e){return r},match(e){return e.right(r)},map(e){return wo(e(r))},mapLeft(e){return wo(r)},mapRight(e){return wo(e(r))}}}$t.Right=wo;function UE(r){return r.isLeft()}$t.isLeft=UE;function HE(r){return r.isRight()}$t.isRight=HE});var ig=_i(jt=>{"use strict";Object.defineProperty(jt,"__esModule",{value:!0});jt.isErr=jt.isOk=jt.Err=jt.Ok=jt.ResultType=void 0;var jl=Gl();jt.ResultType={Ok:Symbol(":ok"),Err:Symbol(":err")};function Wl(r){return{type:jt.ResultType.Ok,isOk(){return!0},isErr(){return!1},ok(){return(0,jl.Some)(r)},err(){return jl.None},unwrap(){return r},unwrapOr(e){return r},unwrapOrElse(e){return r},unwrapErr(){throw new ReferenceError("Cannot unwrap Err value of Result.Ok")},match(e){return e.ok(r)},map(e){return Wl(e(r))},mapErr(e){return Wl(r)},andThen(e){return e(r)},orElse(e){return Wl(r)}}}jt.Ok=Wl;function $l(r){return{type:jt.ResultType.Err,isOk(){return!1},isErr(){return!0},ok(){return jl.None},err(){return(0,jl.Some)(r)},unwrap(){throw new ReferenceError("Cannot unwrap Ok value of Result.Err")},unwrapOr(e){return e},unwrapOrElse(e){return e(r)},unwrapErr(){return r},match(e){return e.err(r)},map(e){return $l(r)},mapErr(e){return $l(e(r))},andThen(e){return $l(r)},orElse(e){return e(r)}}}jt.Err=$l;function GE(r){return r.isOk()}jt.isOk=GE;function qE(r){return r.isErr()}jt.isErr=qE});var td=_i(Qe=>{"use strict";Object.defineProperty(Qe,"__esModule",{value:!0});Qe.Ok=Qe.isOk=Qe.isErr=Qe.Err=Qe.Some=Qe.None=Qe.isSome=Qe.isNone=Qe.Right=Qe.Left=Qe.isRight=Qe.isLeft=void 0;var Xl=tg();Object.defineProperty(Qe,"isLeft",{enumerable:!0,get:function(){return Xl.isLeft}});Object.defineProperty(Qe,"isRight",{enumerable:!0,get:function(){return Xl.isRight}});Object.defineProperty(Qe,"Left",{enumerable:!0,get:function(){return Xl.Left}});Object.defineProperty(Qe,"Right",{enumerable:!0,get:function(){return Xl.Right}});var Yl=Gl();Object.defineProperty(Qe,"isNone",{enumerable:!0,get:function(){return Yl.isNone}});Object.defineProperty(Qe,"isSome",{enumerable:!0,get:function(){return Yl.isSome}});Object.defineProperty(Qe,"None",{enumerable:!0,get:function(){return Yl.None}});Object.defineProperty(Qe,"Some",{enumerable:!0,get:function(){return Yl.Some}});var Zl=ig();Object.defineProperty(Qe,"Err",{enumerable:!0,get:function(){return Zl.Err}});Object.defineProperty(Qe,"isErr",{enumerable:!0,get:function(){return Zl.isErr}});Object.defineProperty(Qe,"isOk",{enumerable:!0,get:function(){return Zl.isOk}});Object.defineProperty(Qe,"Ok",{enumerable:!0,get:function(){return Zl.Ok}})});var ng=_i(Jl=>{"use strict";Object.defineProperty(Jl,"__esModule",{value:!0});require("obsidian");var WE=r=>{var e;return r?(e=r.plugins.plugins.dataview)===null||e===void 0?void 0:e.api:window.DataviewAPI},$E=r=>r.plugins.enabledPlugins.has("dataview");Jl.getAPI=WE;Jl.isPluginEnabled=$E});var lg=_i((Ql,_o)=>{(function(r){var e=typeof Ql=="object"&&Ql,t=typeof _o=="object"&&_o&&_o.exports==e&&_o,i=typeof global=="object"&&global;(i.global===i||i.window===i)&&(r=i);var n=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,s=/[\x01-\x7F]/g,o=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,a=/<\u20D2|=\u20E5|>\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g,l={"\xAD":"shy","\u200C":"zwnj","\u200D":"zwj","\u200E":"lrm","\u2063":"ic","\u2062":"it","\u2061":"af","\u200F":"rlm","\u200B":"ZeroWidthSpace","\u2060":"NoBreak","\u0311":"DownBreve","\u20DB":"tdot","\u20DC":"DotDot"," ":"Tab","\n":"NewLine","\u2008":"puncsp","\u205F":"MediumSpace","\u2009":"thinsp","\u200A":"hairsp","\u2004":"emsp13","\u2002":"ensp","\u2005":"emsp14","\u2003":"emsp","\u2007":"numsp","\xA0":"nbsp","\u205F\u200A":"ThickSpace","\u203E":"oline",_:"lowbar","\u2010":"dash","\u2013":"ndash","\u2014":"mdash","\u2015":"horbar",",":"comma",";":"semi","\u204F":"bsemi",":":"colon","\u2A74":"Colone","!":"excl","\xA1":"iexcl","?":"quest","\xBF":"iquest",".":"period","\u2025":"nldr","\u2026":"mldr","\xB7":"middot","'":"apos","\u2018":"lsquo","\u2019":"rsquo","\u201A":"sbquo","\u2039":"lsaquo","\u203A":"rsaquo",'"':"quot","\u201C":"ldquo","\u201D":"rdquo","\u201E":"bdquo","\xAB":"laquo","\xBB":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","\u2308":"lceil","\u2309":"rceil","\u230A":"lfloor","\u230B":"rfloor","\u2985":"lopar","\u2986":"ropar","\u298B":"lbrke","\u298C":"rbrke","\u298D":"lbrkslu","\u298E":"rbrksld","\u298F":"lbrksld","\u2990":"rbrkslu","\u2991":"langd","\u2992":"rangd","\u2993":"lparlt","\u2994":"rpargt","\u2995":"gtlPar","\u2996":"ltrPar","\u27E6":"lobrk","\u27E7":"robrk","\u27E8":"lang","\u27E9":"rang","\u27EA":"Lang","\u27EB":"Rang","\u27EC":"loang","\u27ED":"roang","\u2772":"lbbrk","\u2773":"rbbrk","\u2016":"Vert","\xA7":"sect","\xB6":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&":"amp","#":"num","%":"percnt","\u2030":"permil","\u2031":"pertenk","\u2020":"dagger","\u2021":"Dagger","\u2022":"bull","\u2043":"hybull","\u2032":"prime","\u2033":"Prime","\u2034":"tprime","\u2057":"qprime","\u2035":"bprime","\u2041":"caret","`":"grave","\xB4":"acute","\u02DC":"tilde","^":"Hat","\xAF":"macr","\u02D8":"breve","\u02D9":"dot","\xA8":"die","\u02DA":"ring","\u02DD":"dblac","\xB8":"cedil","\u02DB":"ogon","\u02C6":"circ","\u02C7":"caron","\xB0":"deg","\xA9":"copy","\xAE":"reg","\u2117":"copysr","\u2118":"wp","\u211E":"rx","\u2127":"mho","\u2129":"iiota","\u2190":"larr","\u219A":"nlarr","\u2192":"rarr","\u219B":"nrarr","\u2191":"uarr","\u2193":"darr","\u2194":"harr","\u21AE":"nharr","\u2195":"varr","\u2196":"nwarr","\u2197":"nearr","\u2198":"searr","\u2199":"swarr","\u219D":"rarrw","\u219D\u0338":"nrarrw","\u219E":"Larr","\u219F":"Uarr","\u21A0":"Rarr","\u21A1":"Darr","\u21A2":"larrtl","\u21A3":"rarrtl","\u21A4":"mapstoleft","\u21A5":"mapstoup","\u21A6":"map","\u21A7":"mapstodown","\u21A9":"larrhk","\u21AA":"rarrhk","\u21AB":"larrlp","\u21AC":"rarrlp","\u21AD":"harrw","\u21B0":"lsh","\u21B1":"rsh","\u21B2":"ldsh","\u21B3":"rdsh","\u21B5":"crarr","\u21B6":"cularr","\u21B7":"curarr","\u21BA":"olarr","\u21BB":"orarr","\u21BC":"lharu","\u21BD":"lhard","\u21BE":"uharr","\u21BF":"uharl","\u21C0":"rharu","\u21C1":"rhard","\u21C2":"dharr","\u21C3":"dharl","\u21C4":"rlarr","\u21C5":"udarr","\u21C6":"lrarr","\u21C7":"llarr","\u21C8":"uuarr","\u21C9":"rrarr","\u21CA":"ddarr","\u21CB":"lrhar","\u21CC":"rlhar","\u21D0":"lArr","\u21CD":"nlArr","\u21D1":"uArr","\u21D2":"rArr","\u21CF":"nrArr","\u21D3":"dArr","\u21D4":"iff","\u21CE":"nhArr","\u21D5":"vArr","\u21D6":"nwArr","\u21D7":"neArr","\u21D8":"seArr","\u21D9":"swArr","\u21DA":"lAarr","\u21DB":"rAarr","\u21DD":"zigrarr","\u21E4":"larrb","\u21E5":"rarrb","\u21F5":"duarr","\u21FD":"loarr","\u21FE":"roarr","\u21FF":"hoarr","\u2200":"forall","\u2201":"comp","\u2202":"part","\u2202\u0338":"npart","\u2203":"exist","\u2204":"nexist","\u2205":"empty","\u2207":"Del","\u2208":"in","\u2209":"notin","\u220B":"ni","\u220C":"notni","\u03F6":"bepsi","\u220F":"prod","\u2210":"coprod","\u2211":"sum","+":"plus","\xB1":"pm","\xF7":"div","\xD7":"times","<":"lt","\u226E":"nlt","<\u20D2":"nvlt","=":"equals","\u2260":"ne","=\u20E5":"bne","\u2A75":"Equal",">":"gt","\u226F":"ngt",">\u20D2":"nvgt","\xAC":"not","|":"vert","\xA6":"brvbar","\u2212":"minus","\u2213":"mp","\u2214":"plusdo","\u2044":"frasl","\u2216":"setmn","\u2217":"lowast","\u2218":"compfn","\u221A":"Sqrt","\u221D":"prop","\u221E":"infin","\u221F":"angrt","\u2220":"ang","\u2220\u20D2":"nang","\u2221":"angmsd","\u2222":"angsph","\u2223":"mid","\u2224":"nmid","\u2225":"par","\u2226":"npar","\u2227":"and","\u2228":"or","\u2229":"cap","\u2229\uFE00":"caps","\u222A":"cup","\u222A\uFE00":"cups","\u222B":"int","\u222C":"Int","\u222D":"tint","\u2A0C":"qint","\u222E":"oint","\u222F":"Conint","\u2230":"Cconint","\u2231":"cwint","\u2232":"cwconint","\u2233":"awconint","\u2234":"there4","\u2235":"becaus","\u2236":"ratio","\u2237":"Colon","\u2238":"minusd","\u223A":"mDDot","\u223B":"homtht","\u223C":"sim","\u2241":"nsim","\u223C\u20D2":"nvsim","\u223D":"bsim","\u223D\u0331":"race","\u223E":"ac","\u223E\u0333":"acE","\u223F":"acd","\u2240":"wr","\u2242":"esim","\u2242\u0338":"nesim","\u2243":"sime","\u2244":"nsime","\u2245":"cong","\u2247":"ncong","\u2246":"simne","\u2248":"ap","\u2249":"nap","\u224A":"ape","\u224B":"apid","\u224B\u0338":"napid","\u224C":"bcong","\u224D":"CupCap","\u226D":"NotCupCap","\u224D\u20D2":"nvap","\u224E":"bump","\u224E\u0338":"nbump","\u224F":"bumpe","\u224F\u0338":"nbumpe","\u2250":"doteq","\u2250\u0338":"nedot","\u2251":"eDot","\u2252":"efDot","\u2253":"erDot","\u2254":"colone","\u2255":"ecolon","\u2256":"ecir","\u2257":"cire","\u2259":"wedgeq","\u225A":"veeeq","\u225C":"trie","\u225F":"equest","\u2261":"equiv","\u2262":"nequiv","\u2261\u20E5":"bnequiv","\u2264":"le","\u2270":"nle","\u2264\u20D2":"nvle","\u2265":"ge","\u2271":"nge","\u2265\u20D2":"nvge","\u2266":"lE","\u2266\u0338":"nlE","\u2267":"gE","\u2267\u0338":"ngE","\u2268\uFE00":"lvnE","\u2268":"lnE","\u2269":"gnE","\u2269\uFE00":"gvnE","\u226A":"ll","\u226A\u0338":"nLtv","\u226A\u20D2":"nLt","\u226B":"gg","\u226B\u0338":"nGtv","\u226B\u20D2":"nGt","\u226C":"twixt","\u2272":"lsim","\u2274":"nlsim","\u2273":"gsim","\u2275":"ngsim","\u2276":"lg","\u2278":"ntlg","\u2277":"gl","\u2279":"ntgl","\u227A":"pr","\u2280":"npr","\u227B":"sc","\u2281":"nsc","\u227C":"prcue","\u22E0":"nprcue","\u227D":"sccue","\u22E1":"nsccue","\u227E":"prsim","\u227F":"scsim","\u227F\u0338":"NotSucceedsTilde","\u2282":"sub","\u2284":"nsub","\u2282\u20D2":"vnsub","\u2283":"sup","\u2285":"nsup","\u2283\u20D2":"vnsup","\u2286":"sube","\u2288":"nsube","\u2287":"supe","\u2289":"nsupe","\u228A\uFE00":"vsubne","\u228A":"subne","\u228B\uFE00":"vsupne","\u228B":"supne","\u228D":"cupdot","\u228E":"uplus","\u228F":"sqsub","\u228F\u0338":"NotSquareSubset","\u2290":"sqsup","\u2290\u0338":"NotSquareSuperset","\u2291":"sqsube","\u22E2":"nsqsube","\u2292":"sqsupe","\u22E3":"nsqsupe","\u2293":"sqcap","\u2293\uFE00":"sqcaps","\u2294":"sqcup","\u2294\uFE00":"sqcups","\u2295":"oplus","\u2296":"ominus","\u2297":"otimes","\u2298":"osol","\u2299":"odot","\u229A":"ocir","\u229B":"oast","\u229D":"odash","\u229E":"plusb","\u229F":"minusb","\u22A0":"timesb","\u22A1":"sdotb","\u22A2":"vdash","\u22AC":"nvdash","\u22A3":"dashv","\u22A4":"top","\u22A5":"bot","\u22A7":"models","\u22A8":"vDash","\u22AD":"nvDash","\u22A9":"Vdash","\u22AE":"nVdash","\u22AA":"Vvdash","\u22AB":"VDash","\u22AF":"nVDash","\u22B0":"prurel","\u22B2":"vltri","\u22EA":"nltri","\u22B3":"vrtri","\u22EB":"nrtri","\u22B4":"ltrie","\u22EC":"nltrie","\u22B4\u20D2":"nvltrie","\u22B5":"rtrie","\u22ED":"nrtrie","\u22B5\u20D2":"nvrtrie","\u22B6":"origof","\u22B7":"imof","\u22B8":"mumap","\u22B9":"hercon","\u22BA":"intcal","\u22BB":"veebar","\u22BD":"barvee","\u22BE":"angrtvb","\u22BF":"lrtri","\u22C0":"Wedge","\u22C1":"Vee","\u22C2":"xcap","\u22C3":"xcup","\u22C4":"diam","\u22C5":"sdot","\u22C6":"Star","\u22C7":"divonx","\u22C8":"bowtie","\u22C9":"ltimes","\u22CA":"rtimes","\u22CB":"lthree","\u22CC":"rthree","\u22CD":"bsime","\u22CE":"cuvee","\u22CF":"cuwed","\u22D0":"Sub","\u22D1":"Sup","\u22D2":"Cap","\u22D3":"Cup","\u22D4":"fork","\u22D5":"epar","\u22D6":"ltdot","\u22D7":"gtdot","\u22D8":"Ll","\u22D8\u0338":"nLl","\u22D9":"Gg","\u22D9\u0338":"nGg","\u22DA\uFE00":"lesg","\u22DA":"leg","\u22DB":"gel","\u22DB\uFE00":"gesl","\u22DE":"cuepr","\u22DF":"cuesc","\u22E6":"lnsim","\u22E7":"gnsim","\u22E8":"prnsim","\u22E9":"scnsim","\u22EE":"vellip","\u22EF":"ctdot","\u22F0":"utdot","\u22F1":"dtdot","\u22F2":"disin","\u22F3":"isinsv","\u22F4":"isins","\u22F5":"isindot","\u22F5\u0338":"notindot","\u22F6":"notinvc","\u22F7":"notinvb","\u22F9":"isinE","\u22F9\u0338":"notinE","\u22FA":"nisd","\u22FB":"xnis","\u22FC":"nis","\u22FD":"notnivc","\u22FE":"notnivb","\u2305":"barwed","\u2306":"Barwed","\u230C":"drcrop","\u230D":"dlcrop","\u230E":"urcrop","\u230F":"ulcrop","\u2310":"bnot","\u2312":"profline","\u2313":"profsurf","\u2315":"telrec","\u2316":"target","\u231C":"ulcorn","\u231D":"urcorn","\u231E":"dlcorn","\u231F":"drcorn","\u2322":"frown","\u2323":"smile","\u232D":"cylcty","\u232E":"profalar","\u2336":"topbot","\u233D":"ovbar","\u233F":"solbar","\u237C":"angzarr","\u23B0":"lmoust","\u23B1":"rmoust","\u23B4":"tbrk","\u23B5":"bbrk","\u23B6":"bbrktbrk","\u23DC":"OverParenthesis","\u23DD":"UnderParenthesis","\u23DE":"OverBrace","\u23DF":"UnderBrace","\u23E2":"trpezium","\u23E7":"elinters","\u2423":"blank","\u2500":"boxh","\u2502":"boxv","\u250C":"boxdr","\u2510":"boxdl","\u2514":"boxur","\u2518":"boxul","\u251C":"boxvr","\u2524":"boxvl","\u252C":"boxhd","\u2534":"boxhu","\u253C":"boxvh","\u2550":"boxH","\u2551":"boxV","\u2552":"boxdR","\u2553":"boxDr","\u2554":"boxDR","\u2555":"boxdL","\u2556":"boxDl","\u2557":"boxDL","\u2558":"boxuR","\u2559":"boxUr","\u255A":"boxUR","\u255B":"boxuL","\u255C":"boxUl","\u255D":"boxUL","\u255E":"boxvR","\u255F":"boxVr","\u2560":"boxVR","\u2561":"boxvL","\u2562":"boxVl","\u2563":"boxVL","\u2564":"boxHd","\u2565":"boxhD","\u2566":"boxHD","\u2567":"boxHu","\u2568":"boxhU","\u2569":"boxHU","\u256A":"boxvH","\u256B":"boxVh","\u256C":"boxVH","\u2580":"uhblk","\u2584":"lhblk","\u2588":"block","\u2591":"blk14","\u2592":"blk12","\u2593":"blk34","\u25A1":"squ","\u25AA":"squf","\u25AB":"EmptyVerySmallSquare","\u25AD":"rect","\u25AE":"marker","\u25B1":"fltns","\u25B3":"xutri","\u25B4":"utrif","\u25B5":"utri","\u25B8":"rtrif","\u25B9":"rtri","\u25BD":"xdtri","\u25BE":"dtrif","\u25BF":"dtri","\u25C2":"ltrif","\u25C3":"ltri","\u25CA":"loz","\u25CB":"cir","\u25EC":"tridot","\u25EF":"xcirc","\u25F8":"ultri","\u25F9":"urtri","\u25FA":"lltri","\u25FB":"EmptySmallSquare","\u25FC":"FilledSmallSquare","\u2605":"starf","\u2606":"star","\u260E":"phone","\u2640":"female","\u2642":"male","\u2660":"spades","\u2663":"clubs","\u2665":"hearts","\u2666":"diams","\u266A":"sung","\u2713":"check","\u2717":"cross","\u2720":"malt","\u2736":"sext","\u2758":"VerticalSeparator","\u27C8":"bsolhsub","\u27C9":"suphsol","\u27F5":"xlarr","\u27F6":"xrarr","\u27F7":"xharr","\u27F8":"xlArr","\u27F9":"xrArr","\u27FA":"xhArr","\u27FC":"xmap","\u27FF":"dzigrarr","\u2902":"nvlArr","\u2903":"nvrArr","\u2904":"nvHarr","\u2905":"Map","\u290C":"lbarr","\u290D":"rbarr","\u290E":"lBarr","\u290F":"rBarr","\u2910":"RBarr","\u2911":"DDotrahd","\u2912":"UpArrowBar","\u2913":"DownArrowBar","\u2916":"Rarrtl","\u2919":"latail","\u291A":"ratail","\u291B":"lAtail","\u291C":"rAtail","\u291D":"larrfs","\u291E":"rarrfs","\u291F":"larrbfs","\u2920":"rarrbfs","\u2923":"nwarhk","\u2924":"nearhk","\u2925":"searhk","\u2926":"swarhk","\u2927":"nwnear","\u2928":"toea","\u2929":"tosa","\u292A":"swnwar","\u2933":"rarrc","\u2933\u0338":"nrarrc","\u2935":"cudarrr","\u2936":"ldca","\u2937":"rdca","\u2938":"cudarrl","\u2939":"larrpl","\u293C":"curarrm","\u293D":"cularrp","\u2945":"rarrpl","\u2948":"harrcir","\u2949":"Uarrocir","\u294A":"lurdshar","\u294B":"ldrushar","\u294E":"LeftRightVector","\u294F":"RightUpDownVector","\u2950":"DownLeftRightVector","\u2951":"LeftUpDownVector","\u2952":"LeftVectorBar","\u2953":"RightVectorBar","\u2954":"RightUpVectorBar","\u2955":"RightDownVectorBar","\u2956":"DownLeftVectorBar","\u2957":"DownRightVectorBar","\u2958":"LeftUpVectorBar","\u2959":"LeftDownVectorBar","\u295A":"LeftTeeVector","\u295B":"RightTeeVector","\u295C":"RightUpTeeVector","\u295D":"RightDownTeeVector","\u295E":"DownLeftTeeVector","\u295F":"DownRightTeeVector","\u2960":"LeftUpTeeVector","\u2961":"LeftDownTeeVector","\u2962":"lHar","\u2963":"uHar","\u2964":"rHar","\u2965":"dHar","\u2966":"luruhar","\u2967":"ldrdhar","\u2968":"ruluhar","\u2969":"rdldhar","\u296A":"lharul","\u296B":"llhard","\u296C":"rharul","\u296D":"lrhard","\u296E":"udhar","\u296F":"duhar","\u2970":"RoundImplies","\u2971":"erarr","\u2972":"simrarr","\u2973":"larrsim","\u2974":"rarrsim","\u2975":"rarrap","\u2976":"ltlarr","\u2978":"gtrarr","\u2979":"subrarr","\u297B":"suplarr","\u297C":"lfisht","\u297D":"rfisht","\u297E":"ufisht","\u297F":"dfisht","\u299A":"vzigzag","\u299C":"vangrt","\u299D":"angrtvbd","\u29A4":"ange","\u29A5":"range","\u29A6":"dwangle","\u29A7":"uwangle","\u29A8":"angmsdaa","\u29A9":"angmsdab","\u29AA":"angmsdac","\u29AB":"angmsdad","\u29AC":"angmsdae","\u29AD":"angmsdaf","\u29AE":"angmsdag","\u29AF":"angmsdah","\u29B0":"bemptyv","\u29B1":"demptyv","\u29B2":"cemptyv","\u29B3":"raemptyv","\u29B4":"laemptyv","\u29B5":"ohbar","\u29B6":"omid","\u29B7":"opar","\u29B9":"operp","\u29BB":"olcross","\u29BC":"odsold","\u29BE":"olcir","\u29BF":"ofcir","\u29C0":"olt","\u29C1":"ogt","\u29C2":"cirscir","\u29C3":"cirE","\u29C4":"solb","\u29C5":"bsolb","\u29C9":"boxbox","\u29CD":"trisb","\u29CE":"rtriltri","\u29CF":"LeftTriangleBar","\u29CF\u0338":"NotLeftTriangleBar","\u29D0":"RightTriangleBar","\u29D0\u0338":"NotRightTriangleBar","\u29DC":"iinfin","\u29DD":"infintie","\u29DE":"nvinfin","\u29E3":"eparsl","\u29E4":"smeparsl","\u29E5":"eqvparsl","\u29EB":"lozf","\u29F4":"RuleDelayed","\u29F6":"dsol","\u2A00":"xodot","\u2A01":"xoplus","\u2A02":"xotime","\u2A04":"xuplus","\u2A06":"xsqcup","\u2A0D":"fpartint","\u2A10":"cirfnint","\u2A11":"awint","\u2A12":"rppolint","\u2A13":"scpolint","\u2A14":"npolint","\u2A15":"pointint","\u2A16":"quatint","\u2A17":"intlarhk","\u2A22":"pluscir","\u2A23":"plusacir","\u2A24":"simplus","\u2A25":"plusdu","\u2A26":"plussim","\u2A27":"plustwo","\u2A29":"mcomma","\u2A2A":"minusdu","\u2A2D":"loplus","\u2A2E":"roplus","\u2A2F":"Cross","\u2A30":"timesd","\u2A31":"timesbar","\u2A33":"smashp","\u2A34":"lotimes","\u2A35":"rotimes","\u2A36":"otimesas","\u2A37":"Otimes","\u2A38":"odiv","\u2A39":"triplus","\u2A3A":"triminus","\u2A3B":"tritime","\u2A3C":"iprod","\u2A3F":"amalg","\u2A40":"capdot","\u2A42":"ncup","\u2A43":"ncap","\u2A44":"capand","\u2A45":"cupor","\u2A46":"cupcap","\u2A47":"capcup","\u2A48":"cupbrcap","\u2A49":"capbrcup","\u2A4A":"cupcup","\u2A4B":"capcap","\u2A4C":"ccups","\u2A4D":"ccaps","\u2A50":"ccupssm","\u2A53":"And","\u2A54":"Or","\u2A55":"andand","\u2A56":"oror","\u2A57":"orslope","\u2A58":"andslope","\u2A5A":"andv","\u2A5B":"orv","\u2A5C":"andd","\u2A5D":"ord","\u2A5F":"wedbar","\u2A66":"sdote","\u2A6A":"simdot","\u2A6D":"congdot","\u2A6D\u0338":"ncongdot","\u2A6E":"easter","\u2A6F":"apacir","\u2A70":"apE","\u2A70\u0338":"napE","\u2A71":"eplus","\u2A72":"pluse","\u2A73":"Esim","\u2A77":"eDDot","\u2A78":"equivDD","\u2A79":"ltcir","\u2A7A":"gtcir","\u2A7B":"ltquest","\u2A7C":"gtquest","\u2A7D":"les","\u2A7D\u0338":"nles","\u2A7E":"ges","\u2A7E\u0338":"nges","\u2A7F":"lesdot","\u2A80":"gesdot","\u2A81":"lesdoto","\u2A82":"gesdoto","\u2A83":"lesdotor","\u2A84":"gesdotol","\u2A85":"lap","\u2A86":"gap","\u2A87":"lne","\u2A88":"gne","\u2A89":"lnap","\u2A8A":"gnap","\u2A8B":"lEg","\u2A8C":"gEl","\u2A8D":"lsime","\u2A8E":"gsime","\u2A8F":"lsimg","\u2A90":"gsiml","\u2A91":"lgE","\u2A92":"glE","\u2A93":"lesges","\u2A94":"gesles","\u2A95":"els","\u2A96":"egs","\u2A97":"elsdot","\u2A98":"egsdot","\u2A99":"el","\u2A9A":"eg","\u2A9D":"siml","\u2A9E":"simg","\u2A9F":"simlE","\u2AA0":"simgE","\u2AA1":"LessLess","\u2AA1\u0338":"NotNestedLessLess","\u2AA2":"GreaterGreater","\u2AA2\u0338":"NotNestedGreaterGreater","\u2AA4":"glj","\u2AA5":"gla","\u2AA6":"ltcc","\u2AA7":"gtcc","\u2AA8":"lescc","\u2AA9":"gescc","\u2AAA":"smt","\u2AAB":"lat","\u2AAC":"smte","\u2AAC\uFE00":"smtes","\u2AAD":"late","\u2AAD\uFE00":"lates","\u2AAE":"bumpE","\u2AAF":"pre","\u2AAF\u0338":"npre","\u2AB0":"sce","\u2AB0\u0338":"nsce","\u2AB3":"prE","\u2AB4":"scE","\u2AB5":"prnE","\u2AB6":"scnE","\u2AB7":"prap","\u2AB8":"scap","\u2AB9":"prnap","\u2ABA":"scnap","\u2ABB":"Pr","\u2ABC":"Sc","\u2ABD":"subdot","\u2ABE":"supdot","\u2ABF":"subplus","\u2AC0":"supplus","\u2AC1":"submult","\u2AC2":"supmult","\u2AC3":"subedot","\u2AC4":"supedot","\u2AC5":"subE","\u2AC5\u0338":"nsubE","\u2AC6":"supE","\u2AC6\u0338":"nsupE","\u2AC7":"subsim","\u2AC8":"supsim","\u2ACB\uFE00":"vsubnE","\u2ACB":"subnE","\u2ACC\uFE00":"vsupnE","\u2ACC":"supnE","\u2ACF":"csub","\u2AD0":"csup","\u2AD1":"csube","\u2AD2":"csupe","\u2AD3":"subsup","\u2AD4":"supsub","\u2AD5":"subsub","\u2AD6":"supsup","\u2AD7":"suphsub","\u2AD8":"supdsub","\u2AD9":"forkv","\u2ADA":"topfork","\u2ADB":"mlcp","\u2AE4":"Dashv","\u2AE6":"Vdashl","\u2AE7":"Barv","\u2AE8":"vBar","\u2AE9":"vBarv","\u2AEB":"Vbar","\u2AEC":"Not","\u2AED":"bNot","\u2AEE":"rnmid","\u2AEF":"cirmid","\u2AF0":"midcir","\u2AF1":"topcir","\u2AF2":"nhpar","\u2AF3":"parsim","\u2AFD":"parsl","\u2AFD\u20E5":"nparsl","\u266D":"flat","\u266E":"natur","\u266F":"sharp","\xA4":"curren","\xA2":"cent",$:"dollar","\xA3":"pound","\xA5":"yen","\u20AC":"euro","\xB9":"sup1","\xBD":"half","\u2153":"frac13","\xBC":"frac14","\u2155":"frac15","\u2159":"frac16","\u215B":"frac18","\xB2":"sup2","\u2154":"frac23","\u2156":"frac25","\xB3":"sup3","\xBE":"frac34","\u2157":"frac35","\u215C":"frac38","\u2158":"frac45","\u215A":"frac56","\u215D":"frac58","\u215E":"frac78","\u{1D4B6}":"ascr","\u{1D552}":"aopf","\u{1D51E}":"afr","\u{1D538}":"Aopf","\u{1D504}":"Afr","\u{1D49C}":"Ascr",\u00AA:"ordf",\u00E1:"aacute",\u00C1:"Aacute",\u00E0:"agrave",\u00C0:"Agrave",\u0103:"abreve",\u0102:"Abreve",\u00E2:"acirc",\u00C2:"Acirc",\u00E5:"aring",\u00C5:"angst",\u00E4:"auml",\u00C4:"Auml",\u00E3:"atilde",\u00C3:"Atilde",\u0105:"aogon",\u0104:"Aogon",\u0101:"amacr",\u0100:"Amacr",\u00E6:"aelig",\u00C6:"AElig","\u{1D4B7}":"bscr","\u{1D553}":"bopf","\u{1D51F}":"bfr","\u{1D539}":"Bopf",\u212C:"Bscr","\u{1D505}":"Bfr","\u{1D520}":"cfr","\u{1D4B8}":"cscr","\u{1D554}":"copf",\u212D:"Cfr","\u{1D49E}":"Cscr",\u2102:"Copf",\u0107:"cacute",\u0106:"Cacute",\u0109:"ccirc",\u0108:"Ccirc",\u010D:"ccaron",\u010C:"Ccaron",\u010B:"cdot",\u010A:"Cdot",\u00E7:"ccedil",\u00C7:"Ccedil","\u2105":"incare","\u{1D521}":"dfr","\u2146":"dd","\u{1D555}":"dopf","\u{1D4B9}":"dscr","\u{1D49F}":"Dscr","\u{1D507}":"Dfr","\u2145":"DD","\u{1D53B}":"Dopf",\u010F:"dcaron",\u010E:"Dcaron",\u0111:"dstrok",\u0110:"Dstrok",\u00F0:"eth",\u00D0:"ETH","\u2147":"ee",\u212F:"escr","\u{1D522}":"efr","\u{1D556}":"eopf",\u2130:"Escr","\u{1D508}":"Efr","\u{1D53C}":"Eopf",\u00E9:"eacute",\u00C9:"Eacute",\u00E8:"egrave",\u00C8:"Egrave",\u00EA:"ecirc",\u00CA:"Ecirc",\u011B:"ecaron",\u011A:"Ecaron",\u00EB:"euml",\u00CB:"Euml",\u0117:"edot",\u0116:"Edot",\u0119:"eogon",\u0118:"Eogon",\u0113:"emacr",\u0112:"Emacr","\u{1D523}":"ffr","\u{1D557}":"fopf","\u{1D4BB}":"fscr","\u{1D509}":"Ffr","\u{1D53D}":"Fopf",\u2131:"Fscr",\uFB00:"fflig",\uFB03:"ffilig",\uFB04:"ffllig",\uFB01:"filig",fj:"fjlig",\uFB02:"fllig",\u0192:"fnof",\u210A:"gscr","\u{1D558}":"gopf","\u{1D524}":"gfr","\u{1D4A2}":"Gscr","\u{1D53E}":"Gopf","\u{1D50A}":"Gfr",\u01F5:"gacute",\u011F:"gbreve",\u011E:"Gbreve",\u011D:"gcirc",\u011C:"Gcirc",\u0121:"gdot",\u0120:"Gdot",\u0122:"Gcedil","\u{1D525}":"hfr",\u210E:"planckh","\u{1D4BD}":"hscr","\u{1D559}":"hopf",\u210B:"Hscr",\u210C:"Hfr",\u210D:"Hopf",\u0125:"hcirc",\u0124:"Hcirc",\u210F:"hbar",\u0127:"hstrok",\u0126:"Hstrok","\u{1D55A}":"iopf","\u{1D526}":"ifr","\u{1D4BE}":"iscr","\u2148":"ii","\u{1D540}":"Iopf",\u2110:"Iscr",\u2111:"Im",\u00ED:"iacute",\u00CD:"Iacute",\u00EC:"igrave",\u00CC:"Igrave",\u00EE:"icirc",\u00CE:"Icirc",\u00EF:"iuml",\u00CF:"Iuml",\u0129:"itilde",\u0128:"Itilde",\u0130:"Idot",\u012F:"iogon",\u012E:"Iogon",\u012B:"imacr",\u012A:"Imacr",\u0133:"ijlig",\u0132:"IJlig",\u0131:"imath","\u{1D4BF}":"jscr","\u{1D55B}":"jopf","\u{1D527}":"jfr","\u{1D4A5}":"Jscr","\u{1D50D}":"Jfr","\u{1D541}":"Jopf",\u0135:"jcirc",\u0134:"Jcirc","\u0237":"jmath","\u{1D55C}":"kopf","\u{1D4C0}":"kscr","\u{1D528}":"kfr","\u{1D4A6}":"Kscr","\u{1D542}":"Kopf","\u{1D50E}":"Kfr",\u0137:"kcedil",\u0136:"Kcedil","\u{1D529}":"lfr","\u{1D4C1}":"lscr",\u2113:"ell","\u{1D55D}":"lopf",\u2112:"Lscr","\u{1D50F}":"Lfr","\u{1D543}":"Lopf",\u013A:"lacute",\u0139:"Lacute",\u013E:"lcaron",\u013D:"Lcaron",\u013C:"lcedil",\u013B:"Lcedil",\u0142:"lstrok",\u0141:"Lstrok",\u0140:"lmidot",\u013F:"Lmidot","\u{1D52A}":"mfr","\u{1D55E}":"mopf","\u{1D4C2}":"mscr","\u{1D510}":"Mfr","\u{1D544}":"Mopf",\u2133:"Mscr","\u{1D52B}":"nfr","\u{1D55F}":"nopf","\u{1D4C3}":"nscr",\u2115:"Nopf","\u{1D4A9}":"Nscr","\u{1D511}":"Nfr",\u0144:"nacute",\u0143:"Nacute",\u0148:"ncaron",\u0147:"Ncaron",\u00F1:"ntilde",\u00D1:"Ntilde",\u0146:"ncedil",\u0145:"Ncedil","\u2116":"numero",\u014B:"eng",\u014A:"ENG","\u{1D560}":"oopf","\u{1D52C}":"ofr",\u2134:"oscr","\u{1D4AA}":"Oscr","\u{1D512}":"Ofr","\u{1D546}":"Oopf",\u00BA:"ordm",\u00F3:"oacute",\u00D3:"Oacute",\u00F2:"ograve",\u00D2:"Ograve",\u00F4:"ocirc",\u00D4:"Ocirc",\u00F6:"ouml",\u00D6:"Ouml",\u0151:"odblac",\u0150:"Odblac",\u00F5:"otilde",\u00D5:"Otilde",\u00F8:"oslash",\u00D8:"Oslash",\u014D:"omacr",\u014C:"Omacr",\u0153:"oelig",\u0152:"OElig","\u{1D52D}":"pfr","\u{1D4C5}":"pscr","\u{1D561}":"popf",\u2119:"Popf","\u{1D513}":"Pfr","\u{1D4AB}":"Pscr","\u{1D562}":"qopf","\u{1D52E}":"qfr","\u{1D4C6}":"qscr","\u{1D4AC}":"Qscr","\u{1D514}":"Qfr",\u211A:"Qopf",\u0138:"kgreen","\u{1D52F}":"rfr","\u{1D563}":"ropf","\u{1D4C7}":"rscr",\u211B:"Rscr",\u211C:"Re",\u211D:"Ropf",\u0155:"racute",\u0154:"Racute",\u0159:"rcaron",\u0158:"Rcaron",\u0157:"rcedil",\u0156:"Rcedil","\u{1D564}":"sopf","\u{1D4C8}":"sscr","\u{1D530}":"sfr","\u{1D54A}":"Sopf","\u{1D516}":"Sfr","\u{1D4AE}":"Sscr","\u24C8":"oS",\u015B:"sacute",\u015A:"Sacute",\u015D:"scirc",\u015C:"Scirc",\u0161:"scaron",\u0160:"Scaron",\u015F:"scedil",\u015E:"Scedil",\u00DF:"szlig","\u{1D531}":"tfr","\u{1D4C9}":"tscr","\u{1D565}":"topf","\u{1D4AF}":"Tscr","\u{1D517}":"Tfr","\u{1D54B}":"Topf",\u0165:"tcaron",\u0164:"Tcaron",\u0163:"tcedil",\u0162:"Tcedil","\u2122":"trade",\u0167:"tstrok",\u0166:"Tstrok","\u{1D4CA}":"uscr","\u{1D566}":"uopf","\u{1D532}":"ufr","\u{1D54C}":"Uopf","\u{1D518}":"Ufr","\u{1D4B0}":"Uscr",\u00FA:"uacute",\u00DA:"Uacute",\u00F9:"ugrave",\u00D9:"Ugrave",\u016D:"ubreve",\u016C:"Ubreve",\u00FB:"ucirc",\u00DB:"Ucirc",\u016F:"uring",\u016E:"Uring",\u00FC:"uuml",\u00DC:"Uuml",\u0171:"udblac",\u0170:"Udblac",\u0169:"utilde",\u0168:"Utilde",\u0173:"uogon",\u0172:"Uogon",\u016B:"umacr",\u016A:"Umacr","\u{1D533}":"vfr","\u{1D567}":"vopf","\u{1D4CB}":"vscr","\u{1D519}":"Vfr","\u{1D54D}":"Vopf","\u{1D4B1}":"Vscr","\u{1D568}":"wopf","\u{1D4CC}":"wscr","\u{1D534}":"wfr","\u{1D4B2}":"Wscr","\u{1D54E}":"Wopf","\u{1D51A}":"Wfr",\u0175:"wcirc",\u0174:"Wcirc","\u{1D535}":"xfr","\u{1D4CD}":"xscr","\u{1D569}":"xopf","\u{1D54F}":"Xopf","\u{1D51B}":"Xfr","\u{1D4B3}":"Xscr","\u{1D536}":"yfr","\u{1D4CE}":"yscr","\u{1D56A}":"yopf","\u{1D4B4}":"Yscr","\u{1D51C}":"Yfr","\u{1D550}":"Yopf",\u00FD:"yacute",\u00DD:"Yacute",\u0177:"ycirc",\u0176:"Ycirc",\u00FF:"yuml",\u0178:"Yuml","\u{1D4CF}":"zscr","\u{1D537}":"zfr","\u{1D56B}":"zopf",\u2128:"Zfr",\u2124:"Zopf","\u{1D4B5}":"Zscr",\u017A:"zacute",\u0179:"Zacute",\u017E:"zcaron",\u017D:"Zcaron",\u017C:"zdot",\u017B:"Zdot",\u01B5:"imped",\u00FE:"thorn",\u00DE:"THORN",\u0149:"napos",\u03B1:"alpha",\u0391:"Alpha",\u03B2:"beta",\u0392:"Beta",\u03B3:"gamma",\u0393:"Gamma",\u03B4:"delta",\u0394:"Delta",\u03B5:"epsi","\u03F5":"epsiv",\u0395:"Epsilon",\u03DD:"gammad",\u03DC:"Gammad",\u03B6:"zeta",\u0396:"Zeta",\u03B7:"eta",\u0397:"Eta",\u03B8:"theta",\u03D1:"thetav",\u0398:"Theta",\u03B9:"iota",\u0399:"Iota",\u03BA:"kappa",\u03F0:"kappav",\u039A:"Kappa",\u03BB:"lambda",\u039B:"Lambda",\u03BC:"mu",\u00B5:"micro",\u039C:"Mu",\u03BD:"nu",\u039D:"Nu",\u03BE:"xi",\u039E:"Xi",\u03BF:"omicron",\u039F:"Omicron",\u03C0:"pi",\u03D6:"piv",\u03A0:"Pi",\u03C1:"rho",\u03F1:"rhov",\u03A1:"Rho",\u03C3:"sigma",\u03A3:"Sigma",\u03C2:"sigmaf",\u03C4:"tau",\u03A4:"Tau",\u03C5:"upsi",\u03A5:"Upsilon",\u03D2:"Upsi",\u03C6:"phi",\u03D5:"phiv",\u03A6:"Phi",\u03C7:"chi",\u03A7:"Chi",\u03C8:"psi",\u03A8:"Psi",\u03C9:"omega",\u03A9:"ohm",\u0430:"acy",\u0410:"Acy",\u0431:"bcy",\u0411:"Bcy",\u0432:"vcy",\u0412:"Vcy",\u0433:"gcy",\u0413:"Gcy",\u0453:"gjcy",\u0403:"GJcy",\u0434:"dcy",\u0414:"Dcy",\u0452:"djcy",\u0402:"DJcy",\u0435:"iecy",\u0415:"IEcy",\u0451:"iocy",\u0401:"IOcy",\u0454:"jukcy",\u0404:"Jukcy",\u0436:"zhcy",\u0416:"ZHcy",\u0437:"zcy",\u0417:"Zcy",\u0455:"dscy",\u0405:"DScy",\u0438:"icy",\u0418:"Icy",\u0456:"iukcy",\u0406:"Iukcy",\u0457:"yicy",\u0407:"YIcy",\u0439:"jcy",\u0419:"Jcy",\u0458:"jsercy",\u0408:"Jsercy",\u043A:"kcy",\u041A:"Kcy",\u045C:"kjcy",\u040C:"KJcy",\u043B:"lcy",\u041B:"Lcy",\u0459:"ljcy",\u0409:"LJcy",\u043C:"mcy",\u041C:"Mcy",\u043D:"ncy",\u041D:"Ncy",\u045A:"njcy",\u040A:"NJcy",\u043E:"ocy",\u041E:"Ocy",\u043F:"pcy",\u041F:"Pcy",\u0440:"rcy",\u0420:"Rcy",\u0441:"scy",\u0421:"Scy",\u0442:"tcy",\u0422:"Tcy",\u045B:"tshcy",\u040B:"TSHcy",\u0443:"ucy",\u0423:"Ucy",\u045E:"ubrcy",\u040E:"Ubrcy",\u0444:"fcy",\u0424:"Fcy",\u0445:"khcy",\u0425:"KHcy",\u0446:"tscy",\u0426:"TScy",\u0447:"chcy",\u0427:"CHcy",\u045F:"dzcy",\u040F:"DZcy",\u0448:"shcy",\u0428:"SHcy",\u0449:"shchcy",\u0429:"SHCHcy",\u044A:"hardcy",\u042A:"HARDcy",\u044B:"ycy",\u042B:"Ycy",\u044C:"softcy",\u042C:"SOFTcy",\u044D:"ecy",\u042D:"Ecy",\u044E:"yucy",\u042E:"YUcy",\u044F:"yacy",\u042F:"YAcy",\u2135:"aleph",\u2136:"beth",\u2137:"gimel",\u2138:"daleth"},c=/["&'<>`]/g,u={'"':""","&":"&","'":"'","<":"<",">":">","`":"`"},h=/&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/,d=/[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,p=/&(CounterClockwiseContourIntegral|DoubleLongLeftRightArrow|ClockwiseContourIntegral|NotNestedGreaterGreater|NotSquareSupersetEqual|DiacriticalDoubleAcute|NotRightTriangleEqual|NotSucceedsSlantEqual|NotPrecedesSlantEqual|CloseCurlyDoubleQuote|NegativeVeryThinSpace|DoubleContourIntegral|FilledVerySmallSquare|CapitalDifferentialD|OpenCurlyDoubleQuote|EmptyVerySmallSquare|NestedGreaterGreater|DoubleLongRightArrow|NotLeftTriangleEqual|NotGreaterSlantEqual|ReverseUpEquilibrium|DoubleLeftRightArrow|NotSquareSubsetEqual|NotDoubleVerticalBar|RightArrowLeftArrow|NotGreaterFullEqual|NotRightTriangleBar|SquareSupersetEqual|DownLeftRightVector|DoubleLongLeftArrow|leftrightsquigarrow|LeftArrowRightArrow|NegativeMediumSpace|blacktriangleright|RightDownVectorBar|PrecedesSlantEqual|RightDoubleBracket|SucceedsSlantEqual|NotLeftTriangleBar|RightTriangleEqual|SquareIntersection|RightDownTeeVector|ReverseEquilibrium|NegativeThickSpace|longleftrightarrow|Longleftrightarrow|LongLeftRightArrow|DownRightTeeVector|DownRightVectorBar|GreaterSlantEqual|SquareSubsetEqual|LeftDownVectorBar|LeftDoubleBracket|VerticalSeparator|rightleftharpoons|NotGreaterGreater|NotSquareSuperset|blacktriangleleft|blacktriangledown|NegativeThinSpace|LeftDownTeeVector|NotLessSlantEqual|leftrightharpoons|DoubleUpDownArrow|DoubleVerticalBar|LeftTriangleEqual|FilledSmallSquare|twoheadrightarrow|NotNestedLessLess|DownLeftTeeVector|DownLeftVectorBar|RightAngleBracket|NotTildeFullEqual|NotReverseElement|RightUpDownVector|DiacriticalTilde|NotSucceedsTilde|circlearrowright|NotPrecedesEqual|rightharpoondown|DoubleRightArrow|NotSucceedsEqual|NonBreakingSpace|NotRightTriangle|LessEqualGreater|RightUpTeeVector|LeftAngleBracket|GreaterFullEqual|DownArrowUpArrow|RightUpVectorBar|twoheadleftarrow|GreaterEqualLess|downharpoonright|RightTriangleBar|ntrianglerighteq|NotSupersetEqual|LeftUpDownVector|DiacriticalAcute|rightrightarrows|vartriangleright|UpArrowDownArrow|DiacriticalGrave|UnderParenthesis|EmptySmallSquare|LeftUpVectorBar|leftrightarrows|DownRightVector|downharpoonleft|trianglerighteq|ShortRightArrow|OverParenthesis|DoubleLeftArrow|DoubleDownArrow|NotSquareSubset|bigtriangledown|ntrianglelefteq|UpperRightArrow|curvearrowright|vartriangleleft|NotLeftTriangle|nleftrightarrow|LowerRightArrow|NotHumpDownHump|NotGreaterTilde|rightthreetimes|LeftUpTeeVector|NotGreaterEqual|straightepsilon|LeftTriangleBar|rightsquigarrow|ContourIntegral|rightleftarrows|CloseCurlyQuote|RightDownVector|LeftRightVector|nLeftrightarrow|leftharpoondown|circlearrowleft|SquareSuperset|OpenCurlyQuote|hookrightarrow|HorizontalLine|DiacriticalDot|NotLessGreater|ntriangleright|DoubleRightTee|InvisibleComma|InvisibleTimes|LowerLeftArrow|DownLeftVector|NotSubsetEqual|curvearrowleft|trianglelefteq|NotVerticalBar|TildeFullEqual|downdownarrows|NotGreaterLess|RightTeeVector|ZeroWidthSpace|looparrowright|LongRightArrow|doublebarwedge|ShortLeftArrow|ShortDownArrow|RightVectorBar|GreaterGreater|ReverseElement|rightharpoonup|LessSlantEqual|leftthreetimes|upharpoonright|rightarrowtail|LeftDownVector|Longrightarrow|NestedLessLess|UpperLeftArrow|nshortparallel|leftleftarrows|leftrightarrow|Leftrightarrow|LeftRightArrow|longrightarrow|upharpoonleft|RightArrowBar|ApplyFunction|LeftTeeVector|leftarrowtail|NotEqualTilde|varsubsetneqq|varsupsetneqq|RightTeeArrow|SucceedsEqual|SucceedsTilde|LeftVectorBar|SupersetEqual|hookleftarrow|DifferentialD|VerticalTilde|VeryThinSpace|blacktriangle|bigtriangleup|LessFullEqual|divideontimes|leftharpoonup|UpEquilibrium|ntriangleleft|RightTriangle|measuredangle|shortparallel|longleftarrow|Longleftarrow|LongLeftArrow|DoubleLeftTee|Poincareplane|PrecedesEqual|triangleright|DoubleUpArrow|RightUpVector|fallingdotseq|looparrowleft|PrecedesTilde|NotTildeEqual|NotTildeTilde|smallsetminus|Proportional|triangleleft|triangledown|UnderBracket|NotHumpEqual|exponentiale|ExponentialE|NotLessTilde|HilbertSpace|RightCeiling|blacklozenge|varsupsetneq|HumpDownHump|GreaterEqual|VerticalLine|LeftTeeArrow|NotLessEqual|DownTeeArrow|LeftTriangle|varsubsetneq|Intersection|NotCongruent|DownArrowBar|LeftUpVector|LeftArrowBar|risingdotseq|GreaterTilde|RoundImplies|SquareSubset|ShortUpArrow|NotSuperset|quaternions|precnapprox|backepsilon|preccurlyeq|OverBracket|blacksquare|MediumSpace|VerticalBar|circledcirc|circleddash|CircleMinus|CircleTimes|LessGreater|curlyeqprec|curlyeqsucc|diamondsuit|UpDownArrow|Updownarrow|RuleDelayed|Rrightarrow|updownarrow|RightVector|nRightarrow|nrightarrow|eqslantless|LeftCeiling|Equilibrium|SmallCircle|expectation|NotSucceeds|thickapprox|GreaterLess|SquareUnion|NotPrecedes|NotLessLess|straightphi|succnapprox|succcurlyeq|SubsetEqual|sqsupseteq|Proportion|Laplacetrf|ImaginaryI|supsetneqq|NotGreater|gtreqqless|NotElement|ThickSpace|TildeEqual|TildeTilde|Fouriertrf|rmoustache|EqualTilde|eqslantgtr|UnderBrace|LeftVector|UpArrowBar|nLeftarrow|nsubseteqq|subsetneqq|nsupseteqq|nleftarrow|succapprox|lessapprox|UpTeeArrow|upuparrows|curlywedge|lesseqqgtr|varepsilon|varnothing|RightFloor|complement|CirclePlus|sqsubseteq|Lleftarrow|circledast|RightArrow|Rightarrow|rightarrow|lmoustache|Bernoullis|precapprox|mapstoleft|mapstodown|longmapsto|dotsquare|downarrow|DoubleDot|nsubseteq|supsetneq|leftarrow|nsupseteq|subsetneq|ThinSpace|ngeqslant|subseteqq|HumpEqual|NotSubset|triangleq|NotCupCap|lesseqgtr|heartsuit|TripleDot|Leftarrow|Coproduct|Congruent|varpropto|complexes|gvertneqq|LeftArrow|LessTilde|supseteqq|MinusPlus|CircleDot|nleqslant|NotExists|gtreqless|nparallel|UnionPlus|LeftFloor|checkmark|CenterDot|centerdot|Mellintrf|gtrapprox|bigotimes|OverBrace|spadesuit|therefore|pitchfork|rationals|PlusMinus|Backslash|Therefore|DownBreve|backsimeq|backprime|DownArrow|nshortmid|Downarrow|lvertneqq|eqvparsl|imagline|imagpart|infintie|integers|Integral|intercal|LessLess|Uarrocir|intlarhk|sqsupset|angmsdaf|sqsubset|llcorner|vartheta|cupbrcap|lnapprox|Superset|SuchThat|succnsim|succneqq|angmsdag|biguplus|curlyvee|trpezium|Succeeds|NotTilde|bigwedge|angmsdah|angrtvbd|triminus|cwconint|fpartint|lrcorner|smeparsl|subseteq|urcorner|lurdshar|laemptyv|DDotrahd|approxeq|ldrushar|awconint|mapstoup|backcong|shortmid|triangle|geqslant|gesdotol|timesbar|circledR|circledS|setminus|multimap|naturals|scpolint|ncongdot|RightTee|boxminus|gnapprox|boxtimes|andslope|thicksim|angmsdaa|varsigma|cirfnint|rtriltri|angmsdab|rppolint|angmsdac|barwedge|drbkarow|clubsuit|thetasym|bsolhsub|capbrcup|dzigrarr|doteqdot|DotEqual|dotminus|UnderBar|NotEqual|realpart|otimesas|ulcorner|hksearow|hkswarow|parallel|PartialD|elinters|emptyset|plusacir|bbrktbrk|angmsdad|pointint|bigoplus|angmsdae|Precedes|bigsqcup|varkappa|notindot|supseteq|precneqq|precnsim|profalar|profline|profsurf|leqslant|lesdotor|raemptyv|subplus|notnivb|notnivc|subrarr|zigrarr|vzigzag|submult|subedot|Element|between|cirscir|larrbfs|larrsim|lotimes|lbrksld|lbrkslu|lozenge|ldrdhar|dbkarow|bigcirc|epsilon|simrarr|simplus|ltquest|Epsilon|luruhar|gtquest|maltese|npolint|eqcolon|npreceq|bigodot|ddagger|gtrless|bnequiv|harrcir|ddotseq|equivDD|backsim|demptyv|nsqsube|nsqsupe|Upsilon|nsubset|upsilon|minusdu|nsucceq|swarrow|nsupset|coloneq|searrow|boxplus|napprox|natural|asympeq|alefsym|congdot|nearrow|bigstar|diamond|supplus|tritime|LeftTee|nvinfin|triplus|NewLine|nvltrie|nvrtrie|nwarrow|nexists|Diamond|ruluhar|Implies|supmult|angzarr|suplarr|suphsub|questeq|because|digamma|Because|olcross|bemptyv|omicron|Omicron|rotimes|NoBreak|intprod|angrtvb|orderof|uwangle|suphsol|lesdoto|orslope|DownTee|realine|cudarrl|rdldhar|OverBar|supedot|lessdot|supdsub|topfork|succsim|rbrkslu|rbrksld|pertenk|cudarrr|isindot|planckh|lessgtr|pluscir|gesdoto|plussim|plustwo|lesssim|cularrp|rarrsim|Cayleys|notinva|notinvb|notinvc|UpArrow|Uparrow|uparrow|NotLess|dwangle|precsim|Product|curarrm|Cconint|dotplus|rarrbfs|ccupssm|Cedilla|cemptyv|notniva|quatint|frac35|frac38|frac45|frac56|frac58|frac78|tridot|xoplus|gacute|gammad|Gammad|lfisht|lfloor|bigcup|sqsupe|gbreve|Gbreve|lharul|sqsube|sqcups|Gcedil|apacir|llhard|lmidot|Lmidot|lmoust|andand|sqcaps|approx|Abreve|spades|circeq|tprime|divide|topcir|Assign|topbot|gesdot|divonx|xuplus|timesd|gesles|atilde|solbar|SOFTcy|loplus|timesb|lowast|lowbar|dlcorn|dlcrop|softcy|dollar|lparlt|thksim|lrhard|Atilde|lsaquo|smashp|bigvee|thinsp|wreath|bkarow|lsquor|lstrok|Lstrok|lthree|ltimes|ltlarr|DotDot|simdot|ltrPar|weierp|xsqcup|angmsd|sigmav|sigmaf|zeetrf|Zcaron|zcaron|mapsto|vsupne|thetav|cirmid|marker|mcomma|Zacute|vsubnE|there4|gtlPar|vsubne|bottom|gtrarr|SHCHcy|shchcy|midast|midcir|middot|minusb|minusd|gtrdot|bowtie|sfrown|mnplus|models|colone|seswar|Colone|mstpos|searhk|gtrsim|nacute|Nacute|boxbox|telrec|hairsp|Tcedil|nbumpe|scnsim|ncaron|Ncaron|ncedil|Ncedil|hamilt|Scedil|nearhk|hardcy|HARDcy|tcedil|Tcaron|commat|nequiv|nesear|tcaron|target|hearts|nexist|varrho|scedil|Scaron|scaron|hellip|Sacute|sacute|hercon|swnwar|compfn|rtimes|rthree|rsquor|rsaquo|zacute|wedgeq|homtht|barvee|barwed|Barwed|rpargt|horbar|conint|swarhk|roplus|nltrie|hslash|hstrok|Hstrok|rmoust|Conint|bprime|hybull|hyphen|iacute|Iacute|supsup|supsub|supsim|varphi|coprod|brvbar|agrave|Supset|supset|igrave|Igrave|notinE|Agrave|iiiint|iinfin|copysr|wedbar|Verbar|vangrt|becaus|incare|verbar|inodot|bullet|drcorn|intcal|drcrop|cularr|vellip|Utilde|bumpeq|cupcap|dstrok|Dstrok|CupCap|cupcup|cupdot|eacute|Eacute|supdot|iquest|easter|ecaron|Ecaron|ecolon|isinsv|utilde|itilde|Itilde|curarr|succeq|Bumpeq|cacute|ulcrop|nparsl|Cacute|nprcue|egrave|Egrave|nrarrc|nrarrw|subsup|subsub|nrtrie|jsercy|nsccue|Jsercy|kappav|kcedil|Kcedil|subsim|ulcorn|nsimeq|egsdot|veebar|kgreen|capand|elsdot|Subset|subset|curren|aacute|lacute|Lacute|emptyv|ntilde|Ntilde|lagran|lambda|Lambda|capcap|Ugrave|langle|subdot|emsp13|numero|emsp14|nvdash|nvDash|nVdash|nVDash|ugrave|ufisht|nvHarr|larrfs|nvlArr|larrhk|larrlp|larrpl|nvrArr|Udblac|nwarhk|larrtl|nwnear|oacute|Oacute|latail|lAtail|sstarf|lbrace|odblac|Odblac|lbrack|udblac|odsold|eparsl|lcaron|Lcaron|ograve|Ograve|lcedil|Lcedil|Aacute|ssmile|ssetmn|squarf|ldquor|capcup|ominus|cylcty|rharul|eqcirc|dagger|rfloor|rfisht|Dagger|daleth|equals|origof|capdot|equest|dcaron|Dcaron|rdquor|oslash|Oslash|otilde|Otilde|otimes|Otimes|urcrop|Ubreve|ubreve|Yacute|Uacute|uacute|Rcedil|rcedil|urcorn|parsim|Rcaron|Vdashl|rcaron|Tstrok|percnt|period|permil|Exists|yacute|rbrack|rbrace|phmmat|ccaron|Ccaron|planck|ccedil|plankv|tstrok|female|plusdo|plusdu|ffilig|plusmn|ffllig|Ccedil|rAtail|dfisht|bernou|ratail|Rarrtl|rarrtl|angsph|rarrpl|rarrlp|rarrhk|xwedge|xotime|forall|ForAll|Vvdash|vsupnE|preceq|bigcap|frac12|frac13|frac14|primes|rarrfs|prnsim|frac15|Square|frac16|square|lesdot|frac18|frac23|propto|prurel|rarrap|rangle|puncsp|frac25|Racute|qprime|racute|lesges|frac34|abreve|AElig|eqsim|utdot|setmn|urtri|Equal|Uring|seArr|uring|searr|dashv|Dashv|mumap|nabla|iogon|Iogon|sdote|sdotb|scsim|napid|napos|equiv|natur|Acirc|dblac|erarr|nbump|iprod|erDot|ucirc|awint|esdot|angrt|ncong|isinE|scnap|Scirc|scirc|ndash|isins|Ubrcy|nearr|neArr|isinv|nedot|ubrcy|acute|Ycirc|iukcy|Iukcy|xutri|nesim|caret|jcirc|Jcirc|caron|twixt|ddarr|sccue|exist|jmath|sbquo|ngeqq|angst|ccaps|lceil|ngsim|UpTee|delta|Delta|rtrif|nharr|nhArr|nhpar|rtrie|jukcy|Jukcy|kappa|rsquo|Kappa|nlarr|nlArr|TSHcy|rrarr|aogon|Aogon|fflig|xrarr|tshcy|ccirc|nleqq|filig|upsih|nless|dharl|nlsim|fjlig|ropar|nltri|dharr|robrk|roarr|fllig|fltns|roang|rnmid|subnE|subne|lAarr|trisb|Ccirc|acirc|ccups|blank|VDash|forkv|Vdash|langd|cedil|blk12|blk14|laquo|strns|diams|notin|vDash|larrb|blk34|block|disin|uplus|vdash|vBarv|aelig|starf|Wedge|check|xrArr|lates|lbarr|lBarr|notni|lbbrk|bcong|frasl|lbrke|frown|vrtri|vprop|vnsup|gamma|Gamma|wedge|xodot|bdquo|srarr|doteq|ldquo|boxdl|boxdL|gcirc|Gcirc|boxDl|boxDL|boxdr|boxdR|boxDr|TRADE|trade|rlhar|boxDR|vnsub|npart|vltri|rlarr|boxhd|boxhD|nprec|gescc|nrarr|nrArr|boxHd|boxHD|boxhu|boxhU|nrtri|boxHu|clubs|boxHU|times|colon|Colon|gimel|xlArr|Tilde|nsime|tilde|nsmid|nspar|THORN|thorn|xlarr|nsube|nsubE|thkap|xhArr|comma|nsucc|boxul|boxuL|nsupe|nsupE|gneqq|gnsim|boxUl|boxUL|grave|boxur|boxuR|boxUr|boxUR|lescc|angle|bepsi|boxvh|varpi|boxvH|numsp|Theta|gsime|gsiml|theta|boxVh|boxVH|boxvl|gtcir|gtdot|boxvL|boxVl|boxVL|crarr|cross|Cross|nvsim|boxvr|nwarr|nwArr|sqsup|dtdot|Uogon|lhard|lharu|dtrif|ocirc|Ocirc|lhblk|duarr|odash|sqsub|Hacek|sqcup|llarr|duhar|oelig|OElig|ofcir|boxvR|uogon|lltri|boxVr|csube|uuarr|ohbar|csupe|ctdot|olarr|olcir|harrw|oline|sqcap|omacr|Omacr|omega|Omega|boxVR|aleph|lneqq|lnsim|loang|loarr|rharu|lobrk|hcirc|operp|oplus|rhard|Hcirc|orarr|Union|order|ecirc|Ecirc|cuepr|szlig|cuesc|breve|reals|eDDot|Breve|hoarr|lopar|utrif|rdquo|Umacr|umacr|efDot|swArr|ultri|alpha|rceil|ovbar|swarr|Wcirc|wcirc|smtes|smile|bsemi|lrarr|aring|parsl|lrhar|bsime|uhblk|lrtri|cupor|Aring|uharr|uharl|slarr|rbrke|bsolb|lsime|rbbrk|RBarr|lsimg|phone|rBarr|rbarr|icirc|lsquo|Icirc|emacr|Emacr|ratio|simne|plusb|simlE|simgE|simeq|pluse|ltcir|ltdot|empty|xharr|xdtri|iexcl|Alpha|ltrie|rarrw|pound|ltrif|xcirc|bumpe|prcue|bumpE|asymp|amacr|cuvee|Sigma|sigma|iiint|udhar|iiota|ijlig|IJlig|supnE|imacr|Imacr|prime|Prime|image|prnap|eogon|Eogon|rarrc|mdash|mDDot|cuwed|imath|supne|imped|Amacr|udarr|prsim|micro|rarrb|cwint|raquo|infin|eplus|range|rangd|Ucirc|radic|minus|amalg|veeeq|rAarr|epsiv|ycirc|quest|sharp|quot|zwnj|Qscr|race|qscr|Qopf|qopf|qint|rang|Rang|Zscr|zscr|Zopf|zopf|rarr|rArr|Rarr|Pscr|pscr|prop|prod|prnE|prec|ZHcy|zhcy|prap|Zeta|zeta|Popf|popf|Zdot|plus|zdot|Yuml|yuml|phiv|YUcy|yucy|Yscr|yscr|perp|Yopf|yopf|part|para|YIcy|Ouml|rcub|yicy|YAcy|rdca|ouml|osol|Oscr|rdsh|yacy|real|oscr|xvee|andd|rect|andv|Xscr|oror|ordm|ordf|xscr|ange|aopf|Aopf|rHar|Xopf|opar|Oopf|xopf|xnis|rhov|oopf|omid|xmap|oint|apid|apos|ogon|ascr|Ascr|odot|odiv|xcup|xcap|ocir|oast|nvlt|nvle|nvgt|nvge|nvap|Wscr|wscr|auml|ntlg|ntgl|nsup|nsub|nsim|Nscr|nscr|nsce|Wopf|ring|npre|wopf|npar|Auml|Barv|bbrk|Nopf|nopf|nmid|nLtv|beta|ropf|Ropf|Beta|beth|nles|rpar|nleq|bnot|bNot|nldr|NJcy|rscr|Rscr|Vscr|vscr|rsqb|njcy|bopf|nisd|Bopf|rtri|Vopf|nGtv|ngtr|vopf|boxh|boxH|boxv|nges|ngeq|boxV|bscr|scap|Bscr|bsim|Vert|vert|bsol|bull|bump|caps|cdot|ncup|scnE|ncap|nbsp|napE|Cdot|cent|sdot|Vbar|nang|vBar|chcy|Mscr|mscr|sect|semi|CHcy|Mopf|mopf|sext|circ|cire|mldr|mlcp|cirE|comp|shcy|SHcy|vArr|varr|cong|copf|Copf|copy|COPY|malt|male|macr|lvnE|cscr|ltri|sime|ltcc|simg|Cscr|siml|csub|Uuml|lsqb|lsim|uuml|csup|Lscr|lscr|utri|smid|lpar|cups|smte|lozf|darr|Lopf|Uscr|solb|lopf|sopf|Sopf|lneq|uscr|spar|dArr|lnap|Darr|dash|Sqrt|LJcy|ljcy|lHar|dHar|Upsi|upsi|diam|lesg|djcy|DJcy|leqq|dopf|Dopf|dscr|Dscr|dscy|ldsh|ldca|squf|DScy|sscr|Sscr|dsol|lcub|late|star|Star|Uopf|Larr|lArr|larr|uopf|dtri|dzcy|sube|subE|Lang|lang|Kscr|kscr|Kopf|kopf|KJcy|kjcy|KHcy|khcy|DZcy|ecir|edot|eDot|Jscr|jscr|succ|Jopf|jopf|Edot|uHar|emsp|ensp|Iuml|iuml|eopf|isin|Iscr|iscr|Eopf|epar|sung|epsi|escr|sup1|sup2|sup3|Iota|iota|supe|supE|Iopf|iopf|IOcy|iocy|Escr|esim|Esim|imof|Uarr|QUOT|uArr|uarr|euml|IEcy|iecy|Idot|Euml|euro|excl|Hscr|hscr|Hopf|hopf|TScy|tscy|Tscr|hbar|tscr|flat|tbrk|fnof|hArr|harr|half|fopf|Fopf|tdot|gvnE|fork|trie|gtcc|fscr|Fscr|gdot|gsim|Gscr|gscr|Gopf|gopf|gneq|Gdot|tosa|gnap|Topf|topf|geqq|toea|GJcy|gjcy|tint|gesl|mid|Sfr|ggg|top|ges|gla|glE|glj|geq|gne|gEl|gel|gnE|Gcy|gcy|gap|Tfr|tfr|Tcy|tcy|Hat|Tau|Ffr|tau|Tab|hfr|Hfr|ffr|Fcy|fcy|icy|Icy|iff|ETH|eth|ifr|Ifr|Eta|eta|int|Int|Sup|sup|ucy|Ucy|Sum|sum|jcy|ENG|ufr|Ufr|eng|Jcy|jfr|els|ell|egs|Efr|efr|Jfr|uml|kcy|Kcy|Ecy|ecy|kfr|Kfr|lap|Sub|sub|lat|lcy|Lcy|leg|Dot|dot|lEg|leq|les|squ|div|die|lfr|Lfr|lgE|Dfr|dfr|Del|deg|Dcy|dcy|lne|lnE|sol|loz|smt|Cup|lrm|cup|lsh|Lsh|sim|shy|map|Map|mcy|Mcy|mfr|Mfr|mho|gfr|Gfr|sfr|cir|Chi|chi|nap|Cfr|vcy|Vcy|cfr|Scy|scy|ncy|Ncy|vee|Vee|Cap|cap|nfr|scE|sce|Nfr|nge|ngE|nGg|vfr|Vfr|ngt|bot|nGt|nis|niv|Rsh|rsh|nle|nlE|bne|Bfr|bfr|nLl|nlt|nLt|Bcy|bcy|not|Not|rlm|wfr|Wfr|npr|nsc|num|ocy|ast|Ocy|ofr|xfr|Xfr|Ofr|ogt|ohm|apE|olt|Rho|ape|rho|Rfr|rfr|ord|REG|ang|reg|orv|And|and|AMP|Rcy|amp|Afr|ycy|Ycy|yen|yfr|Yfr|rcy|par|pcy|Pcy|pfr|Pfr|phi|Phi|afr|Acy|acy|zcy|Zcy|piv|acE|acd|zfr|Zfr|pre|prE|psi|Psi|qfr|Qfr|zwj|Or|ge|Gg|gt|gg|el|oS|lt|Lt|LT|Re|lg|gl|eg|ne|Im|it|le|DD|wp|wr|nu|Nu|dd|lE|Sc|sc|pi|Pi|ee|af|ll|Ll|rx|gE|xi|pm|Xi|ic|pr|Pr|in|ni|mp|mu|ac|Mu|or|ap|Gt|GT|ii);|&(Aacute|Agrave|Atilde|Ccedil|Eacute|Egrave|Iacute|Igrave|Ntilde|Oacute|Ograve|Oslash|Otilde|Uacute|Ugrave|Yacute|aacute|agrave|atilde|brvbar|ccedil|curren|divide|eacute|egrave|frac12|frac14|frac34|iacute|igrave|iquest|middot|ntilde|oacute|ograve|oslash|otilde|plusmn|uacute|ugrave|yacute|AElig|Acirc|Aring|Ecirc|Icirc|Ocirc|THORN|Ucirc|acirc|acute|aelig|aring|cedil|ecirc|icirc|iexcl|laquo|micro|ocirc|pound|raquo|szlig|thorn|times|ucirc|Auml|COPY|Euml|Iuml|Ouml|QUOT|Uuml|auml|cent|copy|euml|iuml|macr|nbsp|ordf|ordm|ouml|para|quot|sect|sup1|sup2|sup3|uuml|yuml|AMP|ETH|REG|amp|deg|eth|not|reg|shy|uml|yen|GT|LT|gt|lt)(?!;)([=a-zA-Z0-9]?)|&#([0-9]+)(;?)|&#[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+)/g,m={aacute:"\xE1",Aacute:"\xC1",abreve:"\u0103",Abreve:"\u0102",ac:"\u223E",acd:"\u223F",acE:"\u223E\u0333",acirc:"\xE2",Acirc:"\xC2",acute:"\xB4",acy:"\u0430",Acy:"\u0410",aelig:"\xE6",AElig:"\xC6",af:"\u2061",afr:"\u{1D51E}",Afr:"\u{1D504}",agrave:"\xE0",Agrave:"\xC0",alefsym:"\u2135",aleph:"\u2135",alpha:"\u03B1",Alpha:"\u0391",amacr:"\u0101",Amacr:"\u0100",amalg:"\u2A3F",amp:"&",AMP:"&",and:"\u2227",And:"\u2A53",andand:"\u2A55",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ang:"\u2220",ange:"\u29A4",angle:"\u2220",angmsd:"\u2221",angmsdaa:"\u29A8",angmsdab:"\u29A9",angmsdac:"\u29AA",angmsdad:"\u29AB",angmsdae:"\u29AC",angmsdaf:"\u29AD",angmsdag:"\u29AE",angmsdah:"\u29AF",angrt:"\u221F",angrtvb:"\u22BE",angrtvbd:"\u299D",angsph:"\u2222",angst:"\xC5",angzarr:"\u237C",aogon:"\u0105",Aogon:"\u0104",aopf:"\u{1D552}",Aopf:"\u{1D538}",ap:"\u2248",apacir:"\u2A6F",ape:"\u224A",apE:"\u2A70",apid:"\u224B",apos:"'",ApplyFunction:"\u2061",approx:"\u2248",approxeq:"\u224A",aring:"\xE5",Aring:"\xC5",ascr:"\u{1D4B6}",Ascr:"\u{1D49C}",Assign:"\u2254",ast:"*",asymp:"\u2248",asympeq:"\u224D",atilde:"\xE3",Atilde:"\xC3",auml:"\xE4",Auml:"\xC4",awconint:"\u2233",awint:"\u2A11",backcong:"\u224C",backepsilon:"\u03F6",backprime:"\u2035",backsim:"\u223D",backsimeq:"\u22CD",Backslash:"\u2216",Barv:"\u2AE7",barvee:"\u22BD",barwed:"\u2305",Barwed:"\u2306",barwedge:"\u2305",bbrk:"\u23B5",bbrktbrk:"\u23B6",bcong:"\u224C",bcy:"\u0431",Bcy:"\u0411",bdquo:"\u201E",becaus:"\u2235",because:"\u2235",Because:"\u2235",bemptyv:"\u29B0",bepsi:"\u03F6",bernou:"\u212C",Bernoullis:"\u212C",beta:"\u03B2",Beta:"\u0392",beth:"\u2136",between:"\u226C",bfr:"\u{1D51F}",Bfr:"\u{1D505}",bigcap:"\u22C2",bigcirc:"\u25EF",bigcup:"\u22C3",bigodot:"\u2A00",bigoplus:"\u2A01",bigotimes:"\u2A02",bigsqcup:"\u2A06",bigstar:"\u2605",bigtriangledown:"\u25BD",bigtriangleup:"\u25B3",biguplus:"\u2A04",bigvee:"\u22C1",bigwedge:"\u22C0",bkarow:"\u290D",blacklozenge:"\u29EB",blacksquare:"\u25AA",blacktriangle:"\u25B4",blacktriangledown:"\u25BE",blacktriangleleft:"\u25C2",blacktriangleright:"\u25B8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20E5",bnequiv:"\u2261\u20E5",bnot:"\u2310",bNot:"\u2AED",bopf:"\u{1D553}",Bopf:"\u{1D539}",bot:"\u22A5",bottom:"\u22A5",bowtie:"\u22C8",boxbox:"\u29C9",boxdl:"\u2510",boxdL:"\u2555",boxDl:"\u2556",boxDL:"\u2557",boxdr:"\u250C",boxdR:"\u2552",boxDr:"\u2553",boxDR:"\u2554",boxh:"\u2500",boxH:"\u2550",boxhd:"\u252C",boxhD:"\u2565",boxHd:"\u2564",boxHD:"\u2566",boxhu:"\u2534",boxhU:"\u2568",boxHu:"\u2567",boxHU:"\u2569",boxminus:"\u229F",boxplus:"\u229E",boxtimes:"\u22A0",boxul:"\u2518",boxuL:"\u255B",boxUl:"\u255C",boxUL:"\u255D",boxur:"\u2514",boxuR:"\u2558",boxUr:"\u2559",boxUR:"\u255A",boxv:"\u2502",boxV:"\u2551",boxvh:"\u253C",boxvH:"\u256A",boxVh:"\u256B",boxVH:"\u256C",boxvl:"\u2524",boxvL:"\u2561",boxVl:"\u2562",boxVL:"\u2563",boxvr:"\u251C",boxvR:"\u255E",boxVr:"\u255F",boxVR:"\u2560",bprime:"\u2035",breve:"\u02D8",Breve:"\u02D8",brvbar:"\xA6",bscr:"\u{1D4B7}",Bscr:"\u212C",bsemi:"\u204F",bsim:"\u223D",bsime:"\u22CD",bsol:"\\",bsolb:"\u29C5",bsolhsub:"\u27C8",bull:"\u2022",bullet:"\u2022",bump:"\u224E",bumpe:"\u224F",bumpE:"\u2AAE",bumpeq:"\u224F",Bumpeq:"\u224E",cacute:"\u0107",Cacute:"\u0106",cap:"\u2229",Cap:"\u22D2",capand:"\u2A44",capbrcup:"\u2A49",capcap:"\u2A4B",capcup:"\u2A47",capdot:"\u2A40",CapitalDifferentialD:"\u2145",caps:"\u2229\uFE00",caret:"\u2041",caron:"\u02C7",Cayleys:"\u212D",ccaps:"\u2A4D",ccaron:"\u010D",Ccaron:"\u010C",ccedil:"\xE7",Ccedil:"\xC7",ccirc:"\u0109",Ccirc:"\u0108",Cconint:"\u2230",ccups:"\u2A4C",ccupssm:"\u2A50",cdot:"\u010B",Cdot:"\u010A",cedil:"\xB8",Cedilla:"\xB8",cemptyv:"\u29B2",cent:"\xA2",centerdot:"\xB7",CenterDot:"\xB7",cfr:"\u{1D520}",Cfr:"\u212D",chcy:"\u0447",CHcy:"\u0427",check:"\u2713",checkmark:"\u2713",chi:"\u03C7",Chi:"\u03A7",cir:"\u25CB",circ:"\u02C6",circeq:"\u2257",circlearrowleft:"\u21BA",circlearrowright:"\u21BB",circledast:"\u229B",circledcirc:"\u229A",circleddash:"\u229D",CircleDot:"\u2299",circledR:"\xAE",circledS:"\u24C8",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",cire:"\u2257",cirE:"\u29C3",cirfnint:"\u2A10",cirmid:"\u2AEF",cirscir:"\u29C2",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201D",CloseCurlyQuote:"\u2019",clubs:"\u2663",clubsuit:"\u2663",colon:":",Colon:"\u2237",colone:"\u2254",Colone:"\u2A74",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2A6D",Congruent:"\u2261",conint:"\u222E",Conint:"\u222F",ContourIntegral:"\u222E",copf:"\u{1D554}",Copf:"\u2102",coprod:"\u2210",Coproduct:"\u2210",copy:"\xA9",COPY:"\xA9",copysr:"\u2117",CounterClockwiseContourIntegral:"\u2233",crarr:"\u21B5",cross:"\u2717",Cross:"\u2A2F",cscr:"\u{1D4B8}",Cscr:"\u{1D49E}",csub:"\u2ACF",csube:"\u2AD1",csup:"\u2AD0",csupe:"\u2AD2",ctdot:"\u22EF",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22DE",cuesc:"\u22DF",cularr:"\u21B6",cularrp:"\u293D",cup:"\u222A",Cup:"\u22D3",cupbrcap:"\u2A48",cupcap:"\u2A46",CupCap:"\u224D",cupcup:"\u2A4A",cupdot:"\u228D",cupor:"\u2A45",cups:"\u222A\uFE00",curarr:"\u21B7",curarrm:"\u293C",curlyeqprec:"\u22DE",curlyeqsucc:"\u22DF",curlyvee:"\u22CE",curlywedge:"\u22CF",curren:"\xA4",curvearrowleft:"\u21B6",curvearrowright:"\u21B7",cuvee:"\u22CE",cuwed:"\u22CF",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232D",dagger:"\u2020",Dagger:"\u2021",daleth:"\u2138",darr:"\u2193",dArr:"\u21D3",Darr:"\u21A1",dash:"\u2010",dashv:"\u22A3",Dashv:"\u2AE4",dbkarow:"\u290F",dblac:"\u02DD",dcaron:"\u010F",Dcaron:"\u010E",dcy:"\u0434",Dcy:"\u0414",dd:"\u2146",DD:"\u2145",ddagger:"\u2021",ddarr:"\u21CA",DDotrahd:"\u2911",ddotseq:"\u2A77",deg:"\xB0",Del:"\u2207",delta:"\u03B4",Delta:"\u0394",demptyv:"\u29B1",dfisht:"\u297F",dfr:"\u{1D521}",Dfr:"\u{1D507}",dHar:"\u2965",dharl:"\u21C3",dharr:"\u21C2",DiacriticalAcute:"\xB4",DiacriticalDot:"\u02D9",DiacriticalDoubleAcute:"\u02DD",DiacriticalGrave:"`",DiacriticalTilde:"\u02DC",diam:"\u22C4",diamond:"\u22C4",Diamond:"\u22C4",diamondsuit:"\u2666",diams:"\u2666",die:"\xA8",DifferentialD:"\u2146",digamma:"\u03DD",disin:"\u22F2",div:"\xF7",divide:"\xF7",divideontimes:"\u22C7",divonx:"\u22C7",djcy:"\u0452",DJcy:"\u0402",dlcorn:"\u231E",dlcrop:"\u230D",dollar:"$",dopf:"\u{1D555}",Dopf:"\u{1D53B}",dot:"\u02D9",Dot:"\xA8",DotDot:"\u20DC",doteq:"\u2250",doteqdot:"\u2251",DotEqual:"\u2250",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22A1",doublebarwedge:"\u2306",DoubleContourIntegral:"\u222F",DoubleDot:"\xA8",DoubleDownArrow:"\u21D3",DoubleLeftArrow:"\u21D0",DoubleLeftRightArrow:"\u21D4",DoubleLeftTee:"\u2AE4",DoubleLongLeftArrow:"\u27F8",DoubleLongLeftRightArrow:"\u27FA",DoubleLongRightArrow:"\u27F9",DoubleRightArrow:"\u21D2",DoubleRightTee:"\u22A8",DoubleUpArrow:"\u21D1",DoubleUpDownArrow:"\u21D5",DoubleVerticalBar:"\u2225",downarrow:"\u2193",Downarrow:"\u21D3",DownArrow:"\u2193",DownArrowBar:"\u2913",DownArrowUpArrow:"\u21F5",DownBreve:"\u0311",downdownarrows:"\u21CA",downharpoonleft:"\u21C3",downharpoonright:"\u21C2",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295E",DownLeftVector:"\u21BD",DownLeftVectorBar:"\u2956",DownRightTeeVector:"\u295F",DownRightVector:"\u21C1",DownRightVectorBar:"\u2957",DownTee:"\u22A4",DownTeeArrow:"\u21A7",drbkarow:"\u2910",drcorn:"\u231F",drcrop:"\u230C",dscr:"\u{1D4B9}",Dscr:"\u{1D49F}",dscy:"\u0455",DScy:"\u0405",dsol:"\u29F6",dstrok:"\u0111",Dstrok:"\u0110",dtdot:"\u22F1",dtri:"\u25BF",dtrif:"\u25BE",duarr:"\u21F5",duhar:"\u296F",dwangle:"\u29A6",dzcy:"\u045F",DZcy:"\u040F",dzigrarr:"\u27FF",eacute:"\xE9",Eacute:"\xC9",easter:"\u2A6E",ecaron:"\u011B",Ecaron:"\u011A",ecir:"\u2256",ecirc:"\xEA",Ecirc:"\xCA",ecolon:"\u2255",ecy:"\u044D",Ecy:"\u042D",eDDot:"\u2A77",edot:"\u0117",eDot:"\u2251",Edot:"\u0116",ee:"\u2147",efDot:"\u2252",efr:"\u{1D522}",Efr:"\u{1D508}",eg:"\u2A9A",egrave:"\xE8",Egrave:"\xC8",egs:"\u2A96",egsdot:"\u2A98",el:"\u2A99",Element:"\u2208",elinters:"\u23E7",ell:"\u2113",els:"\u2A95",elsdot:"\u2A97",emacr:"\u0113",Emacr:"\u0112",empty:"\u2205",emptyset:"\u2205",EmptySmallSquare:"\u25FB",emptyv:"\u2205",EmptyVerySmallSquare:"\u25AB",emsp:"\u2003",emsp13:"\u2004",emsp14:"\u2005",eng:"\u014B",ENG:"\u014A",ensp:"\u2002",eogon:"\u0119",Eogon:"\u0118",eopf:"\u{1D556}",Eopf:"\u{1D53C}",epar:"\u22D5",eparsl:"\u29E3",eplus:"\u2A71",epsi:"\u03B5",epsilon:"\u03B5",Epsilon:"\u0395",epsiv:"\u03F5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2A96",eqslantless:"\u2A95",Equal:"\u2A75",equals:"=",EqualTilde:"\u2242",equest:"\u225F",Equilibrium:"\u21CC",equiv:"\u2261",equivDD:"\u2A78",eqvparsl:"\u29E5",erarr:"\u2971",erDot:"\u2253",escr:"\u212F",Escr:"\u2130",esdot:"\u2250",esim:"\u2242",Esim:"\u2A73",eta:"\u03B7",Eta:"\u0397",eth:"\xF0",ETH:"\xD0",euml:"\xEB",Euml:"\xCB",euro:"\u20AC",excl:"!",exist:"\u2203",Exists:"\u2203",expectation:"\u2130",exponentiale:"\u2147",ExponentialE:"\u2147",fallingdotseq:"\u2252",fcy:"\u0444",Fcy:"\u0424",female:"\u2640",ffilig:"\uFB03",fflig:"\uFB00",ffllig:"\uFB04",ffr:"\u{1D523}",Ffr:"\u{1D509}",filig:"\uFB01",FilledSmallSquare:"\u25FC",FilledVerySmallSquare:"\u25AA",fjlig:"fj",flat:"\u266D",fllig:"\uFB02",fltns:"\u25B1",fnof:"\u0192",fopf:"\u{1D557}",Fopf:"\u{1D53D}",forall:"\u2200",ForAll:"\u2200",fork:"\u22D4",forkv:"\u2AD9",Fouriertrf:"\u2131",fpartint:"\u2A0D",frac12:"\xBD",frac13:"\u2153",frac14:"\xBC",frac15:"\u2155",frac16:"\u2159",frac18:"\u215B",frac23:"\u2154",frac25:"\u2156",frac34:"\xBE",frac35:"\u2157",frac38:"\u215C",frac45:"\u2158",frac56:"\u215A",frac58:"\u215D",frac78:"\u215E",frasl:"\u2044",frown:"\u2322",fscr:"\u{1D4BB}",Fscr:"\u2131",gacute:"\u01F5",gamma:"\u03B3",Gamma:"\u0393",gammad:"\u03DD",Gammad:"\u03DC",gap:"\u2A86",gbreve:"\u011F",Gbreve:"\u011E",Gcedil:"\u0122",gcirc:"\u011D",Gcirc:"\u011C",gcy:"\u0433",Gcy:"\u0413",gdot:"\u0121",Gdot:"\u0120",ge:"\u2265",gE:"\u2267",gel:"\u22DB",gEl:"\u2A8C",geq:"\u2265",geqq:"\u2267",geqslant:"\u2A7E",ges:"\u2A7E",gescc:"\u2AA9",gesdot:"\u2A80",gesdoto:"\u2A82",gesdotol:"\u2A84",gesl:"\u22DB\uFE00",gesles:"\u2A94",gfr:"\u{1D524}",Gfr:"\u{1D50A}",gg:"\u226B",Gg:"\u22D9",ggg:"\u22D9",gimel:"\u2137",gjcy:"\u0453",GJcy:"\u0403",gl:"\u2277",gla:"\u2AA5",glE:"\u2A92",glj:"\u2AA4",gnap:"\u2A8A",gnapprox:"\u2A8A",gne:"\u2A88",gnE:"\u2269",gneq:"\u2A88",gneqq:"\u2269",gnsim:"\u22E7",gopf:"\u{1D558}",Gopf:"\u{1D53E}",grave:"`",GreaterEqual:"\u2265",GreaterEqualLess:"\u22DB",GreaterFullEqual:"\u2267",GreaterGreater:"\u2AA2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2A7E",GreaterTilde:"\u2273",gscr:"\u210A",Gscr:"\u{1D4A2}",gsim:"\u2273",gsime:"\u2A8E",gsiml:"\u2A90",gt:">",Gt:"\u226B",GT:">",gtcc:"\u2AA7",gtcir:"\u2A7A",gtdot:"\u22D7",gtlPar:"\u2995",gtquest:"\u2A7C",gtrapprox:"\u2A86",gtrarr:"\u2978",gtrdot:"\u22D7",gtreqless:"\u22DB",gtreqqless:"\u2A8C",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\uFE00",gvnE:"\u2269\uFE00",Hacek:"\u02C7",hairsp:"\u200A",half:"\xBD",hamilt:"\u210B",hardcy:"\u044A",HARDcy:"\u042A",harr:"\u2194",hArr:"\u21D4",harrcir:"\u2948",harrw:"\u21AD",Hat:"^",hbar:"\u210F",hcirc:"\u0125",Hcirc:"\u0124",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22B9",hfr:"\u{1D525}",Hfr:"\u210C",HilbertSpace:"\u210B",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21FF",homtht:"\u223B",hookleftarrow:"\u21A9",hookrightarrow:"\u21AA",hopf:"\u{1D559}",Hopf:"\u210D",horbar:"\u2015",HorizontalLine:"\u2500",hscr:"\u{1D4BD}",Hscr:"\u210B",hslash:"\u210F",hstrok:"\u0127",Hstrok:"\u0126",HumpDownHump:"\u224E",HumpEqual:"\u224F",hybull:"\u2043",hyphen:"\u2010",iacute:"\xED",Iacute:"\xCD",ic:"\u2063",icirc:"\xEE",Icirc:"\xCE",icy:"\u0438",Icy:"\u0418",Idot:"\u0130",iecy:"\u0435",IEcy:"\u0415",iexcl:"\xA1",iff:"\u21D4",ifr:"\u{1D526}",Ifr:"\u2111",igrave:"\xEC",Igrave:"\xCC",ii:"\u2148",iiiint:"\u2A0C",iiint:"\u222D",iinfin:"\u29DC",iiota:"\u2129",ijlig:"\u0133",IJlig:"\u0132",Im:"\u2111",imacr:"\u012B",Imacr:"\u012A",image:"\u2111",ImaginaryI:"\u2148",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",imof:"\u22B7",imped:"\u01B5",Implies:"\u21D2",in:"\u2208",incare:"\u2105",infin:"\u221E",infintie:"\u29DD",inodot:"\u0131",int:"\u222B",Int:"\u222C",intcal:"\u22BA",integers:"\u2124",Integral:"\u222B",intercal:"\u22BA",Intersection:"\u22C2",intlarhk:"\u2A17",intprod:"\u2A3C",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",iocy:"\u0451",IOcy:"\u0401",iogon:"\u012F",Iogon:"\u012E",iopf:"\u{1D55A}",Iopf:"\u{1D540}",iota:"\u03B9",Iota:"\u0399",iprod:"\u2A3C",iquest:"\xBF",iscr:"\u{1D4BE}",Iscr:"\u2110",isin:"\u2208",isindot:"\u22F5",isinE:"\u22F9",isins:"\u22F4",isinsv:"\u22F3",isinv:"\u2208",it:"\u2062",itilde:"\u0129",Itilde:"\u0128",iukcy:"\u0456",Iukcy:"\u0406",iuml:"\xEF",Iuml:"\xCF",jcirc:"\u0135",Jcirc:"\u0134",jcy:"\u0439",Jcy:"\u0419",jfr:"\u{1D527}",Jfr:"\u{1D50D}",jmath:"\u0237",jopf:"\u{1D55B}",Jopf:"\u{1D541}",jscr:"\u{1D4BF}",Jscr:"\u{1D4A5}",jsercy:"\u0458",Jsercy:"\u0408",jukcy:"\u0454",Jukcy:"\u0404",kappa:"\u03BA",Kappa:"\u039A",kappav:"\u03F0",kcedil:"\u0137",Kcedil:"\u0136",kcy:"\u043A",Kcy:"\u041A",kfr:"\u{1D528}",Kfr:"\u{1D50E}",kgreen:"\u0138",khcy:"\u0445",KHcy:"\u0425",kjcy:"\u045C",KJcy:"\u040C",kopf:"\u{1D55C}",Kopf:"\u{1D542}",kscr:"\u{1D4C0}",Kscr:"\u{1D4A6}",lAarr:"\u21DA",lacute:"\u013A",Lacute:"\u0139",laemptyv:"\u29B4",lagran:"\u2112",lambda:"\u03BB",Lambda:"\u039B",lang:"\u27E8",Lang:"\u27EA",langd:"\u2991",langle:"\u27E8",lap:"\u2A85",Laplacetrf:"\u2112",laquo:"\xAB",larr:"\u2190",lArr:"\u21D0",Larr:"\u219E",larrb:"\u21E4",larrbfs:"\u291F",larrfs:"\u291D",larrhk:"\u21A9",larrlp:"\u21AB",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21A2",lat:"\u2AAB",latail:"\u2919",lAtail:"\u291B",late:"\u2AAD",lates:"\u2AAD\uFE00",lbarr:"\u290C",lBarr:"\u290E",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298B",lbrksld:"\u298F",lbrkslu:"\u298D",lcaron:"\u013E",Lcaron:"\u013D",lcedil:"\u013C",Lcedil:"\u013B",lceil:"\u2308",lcub:"{",lcy:"\u043B",Lcy:"\u041B",ldca:"\u2936",ldquo:"\u201C",ldquor:"\u201E",ldrdhar:"\u2967",ldrushar:"\u294B",ldsh:"\u21B2",le:"\u2264",lE:"\u2266",LeftAngleBracket:"\u27E8",leftarrow:"\u2190",Leftarrow:"\u21D0",LeftArrow:"\u2190",LeftArrowBar:"\u21E4",LeftArrowRightArrow:"\u21C6",leftarrowtail:"\u21A2",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27E6",LeftDownTeeVector:"\u2961",LeftDownVector:"\u21C3",LeftDownVectorBar:"\u2959",LeftFloor:"\u230A",leftharpoondown:"\u21BD",leftharpoonup:"\u21BC",leftleftarrows:"\u21C7",leftrightarrow:"\u2194",Leftrightarrow:"\u21D4",LeftRightArrow:"\u2194",leftrightarrows:"\u21C6",leftrightharpoons:"\u21CB",leftrightsquigarrow:"\u21AD",LeftRightVector:"\u294E",LeftTee:"\u22A3",LeftTeeArrow:"\u21A4",LeftTeeVector:"\u295A",leftthreetimes:"\u22CB",LeftTriangle:"\u22B2",LeftTriangleBar:"\u29CF",LeftTriangleEqual:"\u22B4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVector:"\u21BF",LeftUpVectorBar:"\u2958",LeftVector:"\u21BC",LeftVectorBar:"\u2952",leg:"\u22DA",lEg:"\u2A8B",leq:"\u2264",leqq:"\u2266",leqslant:"\u2A7D",les:"\u2A7D",lescc:"\u2AA8",lesdot:"\u2A7F",lesdoto:"\u2A81",lesdotor:"\u2A83",lesg:"\u22DA\uFE00",lesges:"\u2A93",lessapprox:"\u2A85",lessdot:"\u22D6",lesseqgtr:"\u22DA",lesseqqgtr:"\u2A8B",LessEqualGreater:"\u22DA",LessFullEqual:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",LessLess:"\u2AA1",lesssim:"\u2272",LessSlantEqual:"\u2A7D",LessTilde:"\u2272",lfisht:"\u297C",lfloor:"\u230A",lfr:"\u{1D529}",Lfr:"\u{1D50F}",lg:"\u2276",lgE:"\u2A91",lHar:"\u2962",lhard:"\u21BD",lharu:"\u21BC",lharul:"\u296A",lhblk:"\u2584",ljcy:"\u0459",LJcy:"\u0409",ll:"\u226A",Ll:"\u22D8",llarr:"\u21C7",llcorner:"\u231E",Lleftarrow:"\u21DA",llhard:"\u296B",lltri:"\u25FA",lmidot:"\u0140",Lmidot:"\u013F",lmoust:"\u23B0",lmoustache:"\u23B0",lnap:"\u2A89",lnapprox:"\u2A89",lne:"\u2A87",lnE:"\u2268",lneq:"\u2A87",lneqq:"\u2268",lnsim:"\u22E6",loang:"\u27EC",loarr:"\u21FD",lobrk:"\u27E6",longleftarrow:"\u27F5",Longleftarrow:"\u27F8",LongLeftArrow:"\u27F5",longleftrightarrow:"\u27F7",Longleftrightarrow:"\u27FA",LongLeftRightArrow:"\u27F7",longmapsto:"\u27FC",longrightarrow:"\u27F6",Longrightarrow:"\u27F9",LongRightArrow:"\u27F6",looparrowleft:"\u21AB",looparrowright:"\u21AC",lopar:"\u2985",lopf:"\u{1D55D}",Lopf:"\u{1D543}",loplus:"\u2A2D",lotimes:"\u2A34",lowast:"\u2217",lowbar:"_",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",loz:"\u25CA",lozenge:"\u25CA",lozf:"\u29EB",lpar:"(",lparlt:"\u2993",lrarr:"\u21C6",lrcorner:"\u231F",lrhar:"\u21CB",lrhard:"\u296D",lrm:"\u200E",lrtri:"\u22BF",lsaquo:"\u2039",lscr:"\u{1D4C1}",Lscr:"\u2112",lsh:"\u21B0",Lsh:"\u21B0",lsim:"\u2272",lsime:"\u2A8D",lsimg:"\u2A8F",lsqb:"[",lsquo:"\u2018",lsquor:"\u201A",lstrok:"\u0142",Lstrok:"\u0141",lt:"<",Lt:"\u226A",LT:"<",ltcc:"\u2AA6",ltcir:"\u2A79",ltdot:"\u22D6",lthree:"\u22CB",ltimes:"\u22C9",ltlarr:"\u2976",ltquest:"\u2A7B",ltri:"\u25C3",ltrie:"\u22B4",ltrif:"\u25C2",ltrPar:"\u2996",lurdshar:"\u294A",luruhar:"\u2966",lvertneqq:"\u2268\uFE00",lvnE:"\u2268\uFE00",macr:"\xAF",male:"\u2642",malt:"\u2720",maltese:"\u2720",map:"\u21A6",Map:"\u2905",mapsto:"\u21A6",mapstodown:"\u21A7",mapstoleft:"\u21A4",mapstoup:"\u21A5",marker:"\u25AE",mcomma:"\u2A29",mcy:"\u043C",Mcy:"\u041C",mdash:"\u2014",mDDot:"\u223A",measuredangle:"\u2221",MediumSpace:"\u205F",Mellintrf:"\u2133",mfr:"\u{1D52A}",Mfr:"\u{1D510}",mho:"\u2127",micro:"\xB5",mid:"\u2223",midast:"*",midcir:"\u2AF0",middot:"\xB7",minus:"\u2212",minusb:"\u229F",minusd:"\u2238",minusdu:"\u2A2A",MinusPlus:"\u2213",mlcp:"\u2ADB",mldr:"\u2026",mnplus:"\u2213",models:"\u22A7",mopf:"\u{1D55E}",Mopf:"\u{1D544}",mp:"\u2213",mscr:"\u{1D4C2}",Mscr:"\u2133",mstpos:"\u223E",mu:"\u03BC",Mu:"\u039C",multimap:"\u22B8",mumap:"\u22B8",nabla:"\u2207",nacute:"\u0144",Nacute:"\u0143",nang:"\u2220\u20D2",nap:"\u2249",napE:"\u2A70\u0338",napid:"\u224B\u0338",napos:"\u0149",napprox:"\u2249",natur:"\u266E",natural:"\u266E",naturals:"\u2115",nbsp:"\xA0",nbump:"\u224E\u0338",nbumpe:"\u224F\u0338",ncap:"\u2A43",ncaron:"\u0148",Ncaron:"\u0147",ncedil:"\u0146",Ncedil:"\u0145",ncong:"\u2247",ncongdot:"\u2A6D\u0338",ncup:"\u2A42",ncy:"\u043D",Ncy:"\u041D",ndash:"\u2013",ne:"\u2260",nearhk:"\u2924",nearr:"\u2197",neArr:"\u21D7",nearrow:"\u2197",nedot:"\u2250\u0338",NegativeMediumSpace:"\u200B",NegativeThickSpace:"\u200B",NegativeThinSpace:"\u200B",NegativeVeryThinSpace:"\u200B",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",NestedGreaterGreater:"\u226B",NestedLessLess:"\u226A",NewLine:` -`,nexist:"\u2204",nexists:"\u2204",nfr:"\u{1D52B}",Nfr:"\u{1D511}",nge:"\u2271",ngE:"\u2267\u0338",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2A7E\u0338",nges:"\u2A7E\u0338",nGg:"\u22D9\u0338",ngsim:"\u2275",ngt:"\u226F",nGt:"\u226B\u20D2",ngtr:"\u226F",nGtv:"\u226B\u0338",nharr:"\u21AE",nhArr:"\u21CE",nhpar:"\u2AF2",ni:"\u220B",nis:"\u22FC",nisd:"\u22FA",niv:"\u220B",njcy:"\u045A",NJcy:"\u040A",nlarr:"\u219A",nlArr:"\u21CD",nldr:"\u2025",nle:"\u2270",nlE:"\u2266\u0338",nleftarrow:"\u219A",nLeftarrow:"\u21CD",nleftrightarrow:"\u21AE",nLeftrightarrow:"\u21CE",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2A7D\u0338",nles:"\u2A7D\u0338",nless:"\u226E",nLl:"\u22D8\u0338",nlsim:"\u2274",nlt:"\u226E",nLt:"\u226A\u20D2",nltri:"\u22EA",nltrie:"\u22EC",nLtv:"\u226A\u0338",nmid:"\u2224",NoBreak:"\u2060",NonBreakingSpace:"\xA0",nopf:"\u{1D55F}",Nopf:"\u2115",not:"\xAC",Not:"\u2AEC",NotCongruent:"\u2262",NotCupCap:"\u226D",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226F",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226B\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2A7E\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224E\u0338",NotHumpEqual:"\u224F\u0338",notin:"\u2209",notindot:"\u22F5\u0338",notinE:"\u22F9\u0338",notinva:"\u2209",notinvb:"\u22F7",notinvc:"\u22F6",NotLeftTriangle:"\u22EA",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangleEqual:"\u22EC",NotLess:"\u226E",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226A\u0338",NotLessSlantEqual:"\u2A7D\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2AA2\u0338",NotNestedLessLess:"\u2AA1\u0338",notni:"\u220C",notniva:"\u220C",notnivb:"\u22FE",notnivc:"\u22FD",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2AAF\u0338",NotPrecedesSlantEqual:"\u22E0",NotReverseElement:"\u220C",NotRightTriangle:"\u22EB",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangleEqual:"\u22ED",NotSquareSubset:"\u228F\u0338",NotSquareSubsetEqual:"\u22E2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22E3",NotSubset:"\u2282\u20D2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2AB0\u0338",NotSucceedsSlantEqual:"\u22E1",NotSucceedsTilde:"\u227F\u0338",NotSuperset:"\u2283\u20D2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",npar:"\u2226",nparallel:"\u2226",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",npr:"\u2280",nprcue:"\u22E0",npre:"\u2AAF\u0338",nprec:"\u2280",npreceq:"\u2AAF\u0338",nrarr:"\u219B",nrArr:"\u21CF",nrarrc:"\u2933\u0338",nrarrw:"\u219D\u0338",nrightarrow:"\u219B",nRightarrow:"\u21CF",nrtri:"\u22EB",nrtrie:"\u22ED",nsc:"\u2281",nsccue:"\u22E1",nsce:"\u2AB0\u0338",nscr:"\u{1D4C3}",Nscr:"\u{1D4A9}",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22E2",nsqsupe:"\u22E3",nsub:"\u2284",nsube:"\u2288",nsubE:"\u2AC5\u0338",nsubset:"\u2282\u20D2",nsubseteq:"\u2288",nsubseteqq:"\u2AC5\u0338",nsucc:"\u2281",nsucceq:"\u2AB0\u0338",nsup:"\u2285",nsupe:"\u2289",nsupE:"\u2AC6\u0338",nsupset:"\u2283\u20D2",nsupseteq:"\u2289",nsupseteqq:"\u2AC6\u0338",ntgl:"\u2279",ntilde:"\xF1",Ntilde:"\xD1",ntlg:"\u2278",ntriangleleft:"\u22EA",ntrianglelefteq:"\u22EC",ntriangleright:"\u22EB",ntrianglerighteq:"\u22ED",nu:"\u03BD",Nu:"\u039D",num:"#",numero:"\u2116",numsp:"\u2007",nvap:"\u224D\u20D2",nvdash:"\u22AC",nvDash:"\u22AD",nVdash:"\u22AE",nVDash:"\u22AF",nvge:"\u2265\u20D2",nvgt:">\u20D2",nvHarr:"\u2904",nvinfin:"\u29DE",nvlArr:"\u2902",nvle:"\u2264\u20D2",nvlt:"<\u20D2",nvltrie:"\u22B4\u20D2",nvrArr:"\u2903",nvrtrie:"\u22B5\u20D2",nvsim:"\u223C\u20D2",nwarhk:"\u2923",nwarr:"\u2196",nwArr:"\u21D6",nwarrow:"\u2196",nwnear:"\u2927",oacute:"\xF3",Oacute:"\xD3",oast:"\u229B",ocir:"\u229A",ocirc:"\xF4",Ocirc:"\xD4",ocy:"\u043E",Ocy:"\u041E",odash:"\u229D",odblac:"\u0151",Odblac:"\u0150",odiv:"\u2A38",odot:"\u2299",odsold:"\u29BC",oelig:"\u0153",OElig:"\u0152",ofcir:"\u29BF",ofr:"\u{1D52C}",Ofr:"\u{1D512}",ogon:"\u02DB",ograve:"\xF2",Ograve:"\xD2",ogt:"\u29C1",ohbar:"\u29B5",ohm:"\u03A9",oint:"\u222E",olarr:"\u21BA",olcir:"\u29BE",olcross:"\u29BB",oline:"\u203E",olt:"\u29C0",omacr:"\u014D",Omacr:"\u014C",omega:"\u03C9",Omega:"\u03A9",omicron:"\u03BF",Omicron:"\u039F",omid:"\u29B6",ominus:"\u2296",oopf:"\u{1D560}",Oopf:"\u{1D546}",opar:"\u29B7",OpenCurlyDoubleQuote:"\u201C",OpenCurlyQuote:"\u2018",operp:"\u29B9",oplus:"\u2295",or:"\u2228",Or:"\u2A54",orarr:"\u21BB",ord:"\u2A5D",order:"\u2134",orderof:"\u2134",ordf:"\xAA",ordm:"\xBA",origof:"\u22B6",oror:"\u2A56",orslope:"\u2A57",orv:"\u2A5B",oS:"\u24C8",oscr:"\u2134",Oscr:"\u{1D4AA}",oslash:"\xF8",Oslash:"\xD8",osol:"\u2298",otilde:"\xF5",Otilde:"\xD5",otimes:"\u2297",Otimes:"\u2A37",otimesas:"\u2A36",ouml:"\xF6",Ouml:"\xD6",ovbar:"\u233D",OverBar:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4",OverParenthesis:"\u23DC",par:"\u2225",para:"\xB6",parallel:"\u2225",parsim:"\u2AF3",parsl:"\u2AFD",part:"\u2202",PartialD:"\u2202",pcy:"\u043F",Pcy:"\u041F",percnt:"%",period:".",permil:"\u2030",perp:"\u22A5",pertenk:"\u2031",pfr:"\u{1D52D}",Pfr:"\u{1D513}",phi:"\u03C6",Phi:"\u03A6",phiv:"\u03D5",phmmat:"\u2133",phone:"\u260E",pi:"\u03C0",Pi:"\u03A0",pitchfork:"\u22D4",piv:"\u03D6",planck:"\u210F",planckh:"\u210E",plankv:"\u210F",plus:"+",plusacir:"\u2A23",plusb:"\u229E",pluscir:"\u2A22",plusdo:"\u2214",plusdu:"\u2A25",pluse:"\u2A72",PlusMinus:"\xB1",plusmn:"\xB1",plussim:"\u2A26",plustwo:"\u2A27",pm:"\xB1",Poincareplane:"\u210C",pointint:"\u2A15",popf:"\u{1D561}",Popf:"\u2119",pound:"\xA3",pr:"\u227A",Pr:"\u2ABB",prap:"\u2AB7",prcue:"\u227C",pre:"\u2AAF",prE:"\u2AB3",prec:"\u227A",precapprox:"\u2AB7",preccurlyeq:"\u227C",Precedes:"\u227A",PrecedesEqual:"\u2AAF",PrecedesSlantEqual:"\u227C",PrecedesTilde:"\u227E",preceq:"\u2AAF",precnapprox:"\u2AB9",precneqq:"\u2AB5",precnsim:"\u22E8",precsim:"\u227E",prime:"\u2032",Prime:"\u2033",primes:"\u2119",prnap:"\u2AB9",prnE:"\u2AB5",prnsim:"\u22E8",prod:"\u220F",Product:"\u220F",profalar:"\u232E",profline:"\u2312",profsurf:"\u2313",prop:"\u221D",Proportion:"\u2237",Proportional:"\u221D",propto:"\u221D",prsim:"\u227E",prurel:"\u22B0",pscr:"\u{1D4C5}",Pscr:"\u{1D4AB}",psi:"\u03C8",Psi:"\u03A8",puncsp:"\u2008",qfr:"\u{1D52E}",Qfr:"\u{1D514}",qint:"\u2A0C",qopf:"\u{1D562}",Qopf:"\u211A",qprime:"\u2057",qscr:"\u{1D4C6}",Qscr:"\u{1D4AC}",quaternions:"\u210D",quatint:"\u2A16",quest:"?",questeq:"\u225F",quot:'"',QUOT:'"',rAarr:"\u21DB",race:"\u223D\u0331",racute:"\u0155",Racute:"\u0154",radic:"\u221A",raemptyv:"\u29B3",rang:"\u27E9",Rang:"\u27EB",rangd:"\u2992",range:"\u29A5",rangle:"\u27E9",raquo:"\xBB",rarr:"\u2192",rArr:"\u21D2",Rarr:"\u21A0",rarrap:"\u2975",rarrb:"\u21E5",rarrbfs:"\u2920",rarrc:"\u2933",rarrfs:"\u291E",rarrhk:"\u21AA",rarrlp:"\u21AC",rarrpl:"\u2945",rarrsim:"\u2974",rarrtl:"\u21A3",Rarrtl:"\u2916",rarrw:"\u219D",ratail:"\u291A",rAtail:"\u291C",ratio:"\u2236",rationals:"\u211A",rbarr:"\u290D",rBarr:"\u290F",RBarr:"\u2910",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298C",rbrksld:"\u298E",rbrkslu:"\u2990",rcaron:"\u0159",Rcaron:"\u0158",rcedil:"\u0157",Rcedil:"\u0156",rceil:"\u2309",rcub:"}",rcy:"\u0440",Rcy:"\u0420",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201D",rdquor:"\u201D",rdsh:"\u21B3",Re:"\u211C",real:"\u211C",realine:"\u211B",realpart:"\u211C",reals:"\u211D",rect:"\u25AD",reg:"\xAE",REG:"\xAE",ReverseElement:"\u220B",ReverseEquilibrium:"\u21CB",ReverseUpEquilibrium:"\u296F",rfisht:"\u297D",rfloor:"\u230B",rfr:"\u{1D52F}",Rfr:"\u211C",rHar:"\u2964",rhard:"\u21C1",rharu:"\u21C0",rharul:"\u296C",rho:"\u03C1",Rho:"\u03A1",rhov:"\u03F1",RightAngleBracket:"\u27E9",rightarrow:"\u2192",Rightarrow:"\u21D2",RightArrow:"\u2192",RightArrowBar:"\u21E5",RightArrowLeftArrow:"\u21C4",rightarrowtail:"\u21A3",RightCeiling:"\u2309",RightDoubleBracket:"\u27E7",RightDownTeeVector:"\u295D",RightDownVector:"\u21C2",RightDownVectorBar:"\u2955",RightFloor:"\u230B",rightharpoondown:"\u21C1",rightharpoonup:"\u21C0",rightleftarrows:"\u21C4",rightleftharpoons:"\u21CC",rightrightarrows:"\u21C9",rightsquigarrow:"\u219D",RightTee:"\u22A2",RightTeeArrow:"\u21A6",RightTeeVector:"\u295B",rightthreetimes:"\u22CC",RightTriangle:"\u22B3",RightTriangleBar:"\u29D0",RightTriangleEqual:"\u22B5",RightUpDownVector:"\u294F",RightUpTeeVector:"\u295C",RightUpVector:"\u21BE",RightUpVectorBar:"\u2954",RightVector:"\u21C0",RightVectorBar:"\u2953",ring:"\u02DA",risingdotseq:"\u2253",rlarr:"\u21C4",rlhar:"\u21CC",rlm:"\u200F",rmoust:"\u23B1",rmoustache:"\u23B1",rnmid:"\u2AEE",roang:"\u27ED",roarr:"\u21FE",robrk:"\u27E7",ropar:"\u2986",ropf:"\u{1D563}",Ropf:"\u211D",roplus:"\u2A2E",rotimes:"\u2A35",RoundImplies:"\u2970",rpar:")",rpargt:"\u2994",rppolint:"\u2A12",rrarr:"\u21C9",Rrightarrow:"\u21DB",rsaquo:"\u203A",rscr:"\u{1D4C7}",Rscr:"\u211B",rsh:"\u21B1",Rsh:"\u21B1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22CC",rtimes:"\u22CA",rtri:"\u25B9",rtrie:"\u22B5",rtrif:"\u25B8",rtriltri:"\u29CE",RuleDelayed:"\u29F4",ruluhar:"\u2968",rx:"\u211E",sacute:"\u015B",Sacute:"\u015A",sbquo:"\u201A",sc:"\u227B",Sc:"\u2ABC",scap:"\u2AB8",scaron:"\u0161",Scaron:"\u0160",sccue:"\u227D",sce:"\u2AB0",scE:"\u2AB4",scedil:"\u015F",Scedil:"\u015E",scirc:"\u015D",Scirc:"\u015C",scnap:"\u2ABA",scnE:"\u2AB6",scnsim:"\u22E9",scpolint:"\u2A13",scsim:"\u227F",scy:"\u0441",Scy:"\u0421",sdot:"\u22C5",sdotb:"\u22A1",sdote:"\u2A66",searhk:"\u2925",searr:"\u2198",seArr:"\u21D8",searrow:"\u2198",sect:"\xA7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",sfr:"\u{1D530}",Sfr:"\u{1D516}",sfrown:"\u2322",sharp:"\u266F",shchcy:"\u0449",SHCHcy:"\u0429",shcy:"\u0448",SHcy:"\u0428",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",shortmid:"\u2223",shortparallel:"\u2225",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",shy:"\xAD",sigma:"\u03C3",Sigma:"\u03A3",sigmaf:"\u03C2",sigmav:"\u03C2",sim:"\u223C",simdot:"\u2A6A",sime:"\u2243",simeq:"\u2243",simg:"\u2A9E",simgE:"\u2AA0",siml:"\u2A9D",simlE:"\u2A9F",simne:"\u2246",simplus:"\u2A24",simrarr:"\u2972",slarr:"\u2190",SmallCircle:"\u2218",smallsetminus:"\u2216",smashp:"\u2A33",smeparsl:"\u29E4",smid:"\u2223",smile:"\u2323",smt:"\u2AAA",smte:"\u2AAC",smtes:"\u2AAC\uFE00",softcy:"\u044C",SOFTcy:"\u042C",sol:"/",solb:"\u29C4",solbar:"\u233F",sopf:"\u{1D564}",Sopf:"\u{1D54A}",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\uFE00",sqcup:"\u2294",sqcups:"\u2294\uFE00",Sqrt:"\u221A",sqsub:"\u228F",sqsube:"\u2291",sqsubset:"\u228F",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",squ:"\u25A1",square:"\u25A1",Square:"\u25A1",SquareIntersection:"\u2293",SquareSubset:"\u228F",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",squarf:"\u25AA",squf:"\u25AA",srarr:"\u2192",sscr:"\u{1D4C8}",Sscr:"\u{1D4AE}",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22C6",star:"\u2606",Star:"\u22C6",starf:"\u2605",straightepsilon:"\u03F5",straightphi:"\u03D5",strns:"\xAF",sub:"\u2282",Sub:"\u22D0",subdot:"\u2ABD",sube:"\u2286",subE:"\u2AC5",subedot:"\u2AC3",submult:"\u2AC1",subne:"\u228A",subnE:"\u2ACB",subplus:"\u2ABF",subrarr:"\u2979",subset:"\u2282",Subset:"\u22D0",subseteq:"\u2286",subseteqq:"\u2AC5",SubsetEqual:"\u2286",subsetneq:"\u228A",subsetneqq:"\u2ACB",subsim:"\u2AC7",subsub:"\u2AD5",subsup:"\u2AD3",succ:"\u227B",succapprox:"\u2AB8",succcurlyeq:"\u227D",Succeeds:"\u227B",SucceedsEqual:"\u2AB0",SucceedsSlantEqual:"\u227D",SucceedsTilde:"\u227F",succeq:"\u2AB0",succnapprox:"\u2ABA",succneqq:"\u2AB6",succnsim:"\u22E9",succsim:"\u227F",SuchThat:"\u220B",sum:"\u2211",Sum:"\u2211",sung:"\u266A",sup:"\u2283",Sup:"\u22D1",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",supdot:"\u2ABE",supdsub:"\u2AD8",supe:"\u2287",supE:"\u2AC6",supedot:"\u2AC4",Superset:"\u2283",SupersetEqual:"\u2287",suphsol:"\u27C9",suphsub:"\u2AD7",suplarr:"\u297B",supmult:"\u2AC2",supne:"\u228B",supnE:"\u2ACC",supplus:"\u2AC0",supset:"\u2283",Supset:"\u22D1",supseteq:"\u2287",supseteqq:"\u2AC6",supsetneq:"\u228B",supsetneqq:"\u2ACC",supsim:"\u2AC8",supsub:"\u2AD4",supsup:"\u2AD6",swarhk:"\u2926",swarr:"\u2199",swArr:"\u21D9",swarrow:"\u2199",swnwar:"\u292A",szlig:"\xDF",Tab:" ",target:"\u2316",tau:"\u03C4",Tau:"\u03A4",tbrk:"\u23B4",tcaron:"\u0165",Tcaron:"\u0164",tcedil:"\u0163",Tcedil:"\u0162",tcy:"\u0442",Tcy:"\u0422",tdot:"\u20DB",telrec:"\u2315",tfr:"\u{1D531}",Tfr:"\u{1D517}",there4:"\u2234",therefore:"\u2234",Therefore:"\u2234",theta:"\u03B8",Theta:"\u0398",thetasym:"\u03D1",thetav:"\u03D1",thickapprox:"\u2248",thicksim:"\u223C",ThickSpace:"\u205F\u200A",thinsp:"\u2009",ThinSpace:"\u2009",thkap:"\u2248",thksim:"\u223C",thorn:"\xFE",THORN:"\xDE",tilde:"\u02DC",Tilde:"\u223C",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",times:"\xD7",timesb:"\u22A0",timesbar:"\u2A31",timesd:"\u2A30",tint:"\u222D",toea:"\u2928",top:"\u22A4",topbot:"\u2336",topcir:"\u2AF1",topf:"\u{1D565}",Topf:"\u{1D54B}",topfork:"\u2ADA",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",TRADE:"\u2122",triangle:"\u25B5",triangledown:"\u25BF",triangleleft:"\u25C3",trianglelefteq:"\u22B4",triangleq:"\u225C",triangleright:"\u25B9",trianglerighteq:"\u22B5",tridot:"\u25EC",trie:"\u225C",triminus:"\u2A3A",TripleDot:"\u20DB",triplus:"\u2A39",trisb:"\u29CD",tritime:"\u2A3B",trpezium:"\u23E2",tscr:"\u{1D4C9}",Tscr:"\u{1D4AF}",tscy:"\u0446",TScy:"\u0426",tshcy:"\u045B",TSHcy:"\u040B",tstrok:"\u0167",Tstrok:"\u0166",twixt:"\u226C",twoheadleftarrow:"\u219E",twoheadrightarrow:"\u21A0",uacute:"\xFA",Uacute:"\xDA",uarr:"\u2191",uArr:"\u21D1",Uarr:"\u219F",Uarrocir:"\u2949",ubrcy:"\u045E",Ubrcy:"\u040E",ubreve:"\u016D",Ubreve:"\u016C",ucirc:"\xFB",Ucirc:"\xDB",ucy:"\u0443",Ucy:"\u0423",udarr:"\u21C5",udblac:"\u0171",Udblac:"\u0170",udhar:"\u296E",ufisht:"\u297E",ufr:"\u{1D532}",Ufr:"\u{1D518}",ugrave:"\xF9",Ugrave:"\xD9",uHar:"\u2963",uharl:"\u21BF",uharr:"\u21BE",uhblk:"\u2580",ulcorn:"\u231C",ulcorner:"\u231C",ulcrop:"\u230F",ultri:"\u25F8",umacr:"\u016B",Umacr:"\u016A",uml:"\xA8",UnderBar:"_",UnderBrace:"\u23DF",UnderBracket:"\u23B5",UnderParenthesis:"\u23DD",Union:"\u22C3",UnionPlus:"\u228E",uogon:"\u0173",Uogon:"\u0172",uopf:"\u{1D566}",Uopf:"\u{1D54C}",uparrow:"\u2191",Uparrow:"\u21D1",UpArrow:"\u2191",UpArrowBar:"\u2912",UpArrowDownArrow:"\u21C5",updownarrow:"\u2195",Updownarrow:"\u21D5",UpDownArrow:"\u2195",UpEquilibrium:"\u296E",upharpoonleft:"\u21BF",upharpoonright:"\u21BE",uplus:"\u228E",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",upsi:"\u03C5",Upsi:"\u03D2",upsih:"\u03D2",upsilon:"\u03C5",Upsilon:"\u03A5",UpTee:"\u22A5",UpTeeArrow:"\u21A5",upuparrows:"\u21C8",urcorn:"\u231D",urcorner:"\u231D",urcrop:"\u230E",uring:"\u016F",Uring:"\u016E",urtri:"\u25F9",uscr:"\u{1D4CA}",Uscr:"\u{1D4B0}",utdot:"\u22F0",utilde:"\u0169",Utilde:"\u0168",utri:"\u25B5",utrif:"\u25B4",uuarr:"\u21C8",uuml:"\xFC",Uuml:"\xDC",uwangle:"\u29A7",vangrt:"\u299C",varepsilon:"\u03F5",varkappa:"\u03F0",varnothing:"\u2205",varphi:"\u03D5",varpi:"\u03D6",varpropto:"\u221D",varr:"\u2195",vArr:"\u21D5",varrho:"\u03F1",varsigma:"\u03C2",varsubsetneq:"\u228A\uFE00",varsubsetneqq:"\u2ACB\uFE00",varsupsetneq:"\u228B\uFE00",varsupsetneqq:"\u2ACC\uFE00",vartheta:"\u03D1",vartriangleleft:"\u22B2",vartriangleright:"\u22B3",vBar:"\u2AE8",Vbar:"\u2AEB",vBarv:"\u2AE9",vcy:"\u0432",Vcy:"\u0412",vdash:"\u22A2",vDash:"\u22A8",Vdash:"\u22A9",VDash:"\u22AB",Vdashl:"\u2AE6",vee:"\u2228",Vee:"\u22C1",veebar:"\u22BB",veeeq:"\u225A",vellip:"\u22EE",verbar:"|",Verbar:"\u2016",vert:"|",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200A",vfr:"\u{1D533}",Vfr:"\u{1D519}",vltri:"\u22B2",vnsub:"\u2282\u20D2",vnsup:"\u2283\u20D2",vopf:"\u{1D567}",Vopf:"\u{1D54D}",vprop:"\u221D",vrtri:"\u22B3",vscr:"\u{1D4CB}",Vscr:"\u{1D4B1}",vsubne:"\u228A\uFE00",vsubnE:"\u2ACB\uFE00",vsupne:"\u228B\uFE00",vsupnE:"\u2ACC\uFE00",Vvdash:"\u22AA",vzigzag:"\u299A",wcirc:"\u0175",Wcirc:"\u0174",wedbar:"\u2A5F",wedge:"\u2227",Wedge:"\u22C0",wedgeq:"\u2259",weierp:"\u2118",wfr:"\u{1D534}",Wfr:"\u{1D51A}",wopf:"\u{1D568}",Wopf:"\u{1D54E}",wp:"\u2118",wr:"\u2240",wreath:"\u2240",wscr:"\u{1D4CC}",Wscr:"\u{1D4B2}",xcap:"\u22C2",xcirc:"\u25EF",xcup:"\u22C3",xdtri:"\u25BD",xfr:"\u{1D535}",Xfr:"\u{1D51B}",xharr:"\u27F7",xhArr:"\u27FA",xi:"\u03BE",Xi:"\u039E",xlarr:"\u27F5",xlArr:"\u27F8",xmap:"\u27FC",xnis:"\u22FB",xodot:"\u2A00",xopf:"\u{1D569}",Xopf:"\u{1D54F}",xoplus:"\u2A01",xotime:"\u2A02",xrarr:"\u27F6",xrArr:"\u27F9",xscr:"\u{1D4CD}",Xscr:"\u{1D4B3}",xsqcup:"\u2A06",xuplus:"\u2A04",xutri:"\u25B3",xvee:"\u22C1",xwedge:"\u22C0",yacute:"\xFD",Yacute:"\xDD",yacy:"\u044F",YAcy:"\u042F",ycirc:"\u0177",Ycirc:"\u0176",ycy:"\u044B",Ycy:"\u042B",yen:"\xA5",yfr:"\u{1D536}",Yfr:"\u{1D51C}",yicy:"\u0457",YIcy:"\u0407",yopf:"\u{1D56A}",Yopf:"\u{1D550}",yscr:"\u{1D4CE}",Yscr:"\u{1D4B4}",yucy:"\u044E",YUcy:"\u042E",yuml:"\xFF",Yuml:"\u0178",zacute:"\u017A",Zacute:"\u0179",zcaron:"\u017E",Zcaron:"\u017D",zcy:"\u0437",Zcy:"\u0417",zdot:"\u017C",Zdot:"\u017B",zeetrf:"\u2128",ZeroWidthSpace:"\u200B",zeta:"\u03B6",Zeta:"\u0396",zfr:"\u{1D537}",Zfr:"\u2128",zhcy:"\u0436",ZHcy:"\u0416",zigrarr:"\u21DD",zopf:"\u{1D56B}",Zopf:"\u2124",zscr:"\u{1D4CF}",Zscr:"\u{1D4B5}",zwj:"\u200D",zwnj:"\u200C"},y={aacute:"\xE1",Aacute:"\xC1",acirc:"\xE2",Acirc:"\xC2",acute:"\xB4",aelig:"\xE6",AElig:"\xC6",agrave:"\xE0",Agrave:"\xC0",amp:"&",AMP:"&",aring:"\xE5",Aring:"\xC5",atilde:"\xE3",Atilde:"\xC3",auml:"\xE4",Auml:"\xC4",brvbar:"\xA6",ccedil:"\xE7",Ccedil:"\xC7",cedil:"\xB8",cent:"\xA2",copy:"\xA9",COPY:"\xA9",curren:"\xA4",deg:"\xB0",divide:"\xF7",eacute:"\xE9",Eacute:"\xC9",ecirc:"\xEA",Ecirc:"\xCA",egrave:"\xE8",Egrave:"\xC8",eth:"\xF0",ETH:"\xD0",euml:"\xEB",Euml:"\xCB",frac12:"\xBD",frac14:"\xBC",frac34:"\xBE",gt:">",GT:">",iacute:"\xED",Iacute:"\xCD",icirc:"\xEE",Icirc:"\xCE",iexcl:"\xA1",igrave:"\xEC",Igrave:"\xCC",iquest:"\xBF",iuml:"\xEF",Iuml:"\xCF",laquo:"\xAB",lt:"<",LT:"<",macr:"\xAF",micro:"\xB5",middot:"\xB7",nbsp:"\xA0",not:"\xAC",ntilde:"\xF1",Ntilde:"\xD1",oacute:"\xF3",Oacute:"\xD3",ocirc:"\xF4",Ocirc:"\xD4",ograve:"\xF2",Ograve:"\xD2",ordf:"\xAA",ordm:"\xBA",oslash:"\xF8",Oslash:"\xD8",otilde:"\xF5",Otilde:"\xD5",ouml:"\xF6",Ouml:"\xD6",para:"\xB6",plusmn:"\xB1",pound:"\xA3",quot:'"',QUOT:'"',raquo:"\xBB",reg:"\xAE",REG:"\xAE",sect:"\xA7",shy:"\xAD",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",szlig:"\xDF",thorn:"\xFE",THORN:"\xDE",times:"\xD7",uacute:"\xFA",Uacute:"\xDA",ucirc:"\xFB",Ucirc:"\xDB",ugrave:"\xF9",Ugrave:"\xD9",uml:"\xA8",uuml:"\xFC",Uuml:"\xDC",yacute:"\xFD",Yacute:"\xDD",yen:"\xA5",yuml:"\xFF"},x={0:"\uFFFD",128:"\u20AC",130:"\u201A",131:"\u0192",132:"\u201E",133:"\u2026",134:"\u2020",135:"\u2021",136:"\u02C6",137:"\u2030",138:"\u0160",139:"\u2039",140:"\u0152",142:"\u017D",145:"\u2018",146:"\u2019",147:"\u201C",148:"\u201D",149:"\u2022",150:"\u2013",151:"\u2014",152:"\u02DC",153:"\u2122",154:"\u0161",155:"\u203A",156:"\u0153",158:"\u017E",159:"\u0178"},g=[1,2,3,4,5,6,7,8,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,64976,64977,64978,64979,64980,64981,64982,64983,64984,64985,64986,64987,64988,64989,64990,64991,64992,64993,64994,64995,64996,64997,64998,64999,65e3,65001,65002,65003,65004,65005,65006,65007,65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111],f=String.fromCharCode,E={},w=E.hasOwnProperty,_=function(N,k){return w.call(N,k)},M=function(N,k){for(var V=-1,U=N.length;++V=55296&&N<=57343||N>1114111?(k&&v("character reference outside the permissible Unicode range"),"\uFFFD"):_(x,N)?(k&&v("disallowed character reference"),x[N]):(k&&M(g,N)&&v("disallowed character reference"),N>65535&&(N-=65536,V+=f(N>>>10&1023|55296),N=56320|N&1023),V+=f(N),V)},W=function(N){return"&#x"+N.toString(16).toUpperCase()+";"},A=function(N){return"&#"+N+";"},v=function(N){throw Error("Parse error: "+N)},R=function(N,k){k=T(k,R.options);var V=k.strict;V&&d.test(N)&&v("forbidden code point");var U=k.encodeEverything,q=k.useNamedReferences,j=k.allowUnsafeSymbols,ne=k.decimal?A:W,ae=function(H){return ne(H.charCodeAt(0))};return U?(N=N.replace(s,function(H){return q&&_(l,H)?"&"+l[H]+";":ae(H)}),q&&(N=N.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒").replace(/fj/g,"fj")),q&&(N=N.replace(a,function(H){return"&"+l[H]+";"}))):q?(j||(N=N.replace(c,function(H){return"&"+l[H]+";"})),N=N.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒"),N=N.replace(a,function(H){return"&"+l[H]+";"})):j||(N=N.replace(c,ae)),N.replace(n,function(H){var Te=H.charCodeAt(0),ue=H.charCodeAt(1),we=(Te-55296)*1024+ue-56320+65536;return ne(we)}).replace(o,ae)};R.options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1,decimal:!1};var S=function(N,k){k=T(k,S.options);var V=k.strict;return V&&h.test(N)&&v("malformed character reference"),N.replace(p,function(U,q,j,ne,ae,H,Te,ue,we){var oe,Ce,Ae,Z,ie,te;return q?(ie=q,m[ie]):j?(ie=j,te=ne,te&&k.isAttributeValue?(V&&te=="="&&v("`&` did not start a character reference"),U):(V&&v("named character reference was not terminated by a semicolon"),y[ie]+(te||""))):ae?(Ae=ae,Ce=H,V&&!Ce&&v("character reference was not terminated by a semicolon"),oe=parseInt(Ae,10),z(oe,V)):Te?(Z=Te,Ce=ue,V&&!Ce&&v("character reference was not terminated by a semicolon"),oe=parseInt(Z,16),z(oe,V)):(V&&v("named character reference was not terminated by a semicolon"),U)})};S.options={isAttributeValue:!1,strict:!1};var B=function(N){return N.replace(c,function(k){return u[k]})},L={version:"1.2.0",encode:R,decode:S,escape:B,unescape:S};if(typeof define=="function"&&typeof define.amd=="object"&&define.amd)define(function(){return L});else if(e&&!e.nodeType)if(t)t.exports=L;else for(var C in L)_(L,C)&&(e[C]=L[C]);else r.he=L})(Ql)});var kA={};r0(kA,{default:()=>pc});module.exports=o0(kA);var is=require("obsidian");var Bl=require("obsidian");var Xn=require("obsidian");var ho=require("obsidian");var zA=require("obsidian");function Cd(r,e,t){[...r].slice(e).reverse().forEach(([n,s])=>{r.set(n+1,s)}),r.set(e,t)}function Po(r,e){return Object.entries(r).reduce((t,i)=>{let n=i[0],o=i[1]?e.parent.path.startsWith(n):e.parent.path==n;return t||o},!1)}var Mi=class r{constructor(e=[0,0,0,0,0,0,0,0,0]){this.elements=void 0,this.elements=e}identity(){let e=this.elements;e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=1,e[5]=0,e[6]=0,e[7]=0,e[8]=1}setZero(){let e=this.elements;e[0]=0,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=0,e[6]=0,e[7]=0,e[8]=0}setTrace(e){let t=this.elements;t[0]=e.x,t[4]=e.y,t[8]=e.z}getTrace(e=new b){let t=this.elements;return e.x=t[0],e.y=t[4],e.z=t[8],e}vmult(e,t=new b){let i=this.elements,n=e.x,s=e.y,o=e.z;return t.x=i[0]*n+i[1]*s+i[2]*o,t.y=i[3]*n+i[4]*s+i[5]*o,t.z=i[6]*n+i[7]*s+i[8]*o,t}smult(e){for(let t=0;t0){let s=1/n;this.x*=s,this.y*=s,this.z*=s}else this.x=0,this.y=0,this.z=0;return n}unit(e=new r){let t=this.x,i=this.y,n=this.z,s=Math.sqrt(t*t+i*i+n*n);return s>0?(s=1/s,e.x=t*s,e.y=i*s,e.z=n*s):(e.x=1,e.y=0,e.z=0),e}length(){let e=this.x,t=this.y,i=this.z;return Math.sqrt(e*e+t*t+i*i)}lengthSquared(){return this.dot(this)}distanceTo(e){let t=this.x,i=this.y,n=this.z,s=e.x,o=e.y,a=e.z;return Math.sqrt((s-t)*(s-t)+(o-i)*(o-i)+(a-n)*(a-n))}distanceSquared(e){let t=this.x,i=this.y,n=this.z,s=e.x,o=e.y,a=e.z;return(s-t)*(s-t)+(o-i)*(o-i)+(a-n)*(a-n)}scale(e,t=new r){let i=this.x,n=this.y,s=this.z;return t.x=e*i,t.y=e*n,t.z=e*s,t}vmul(e,t=new r){return t.x=e.x*this.x,t.y=e.y*this.y,t.z=e.z*this.z,t}addScaledVector(e,t,i=new r){return i.x=this.x+e*t.x,i.y=this.y+e*t.y,i.z=this.z+e*t.z,i}dot(e){return this.x*e.x+this.y*e.y+this.z*e.z}isZero(){return this.x===0&&this.y===0&&this.z===0}negate(e=new r){return e.x=-this.x,e.y=-this.y,e.z=-this.z,e}tangents(e,t){let i=this.length();if(i>0){let n=l0,s=1/i;n.set(this.x*s,this.y*s,this.z*s);let o=c0;Math.abs(n.x)<.9?(o.set(1,0,0),n.cross(o,e)):(o.set(0,1,0),n.cross(o,e)),n.cross(e,t)}else e.set(1,0,0),t.set(0,1,0)}toString(){return this.x+","+this.y+","+this.z}toArray(){return[this.x,this.y,this.z]}copy(e){return this.x=e.x,this.y=e.y,this.z=e.z,this}lerp(e,t,i){let n=this.x,s=this.y,o=this.z;i.x=n+(e.x-n)*t,i.y=s+(e.y-s)*t,i.z=o+(e.z-o)*t}almostEquals(e,t=1e-6){return!(Math.abs(this.x-e.x)>t||Math.abs(this.y-e.y)>t||Math.abs(this.z-e.z)>t)}almostZero(e=1e-6){return!(Math.abs(this.x)>e||Math.abs(this.y)>e||Math.abs(this.z)>e)}isAntiparallelTo(e,t){return this.negate(Rd),Rd.almostEquals(e,t)}clone(){return new r(this.x,this.y,this.z)}};b.ZERO=void 0;b.UNIT_X=void 0;b.UNIT_Y=void 0;b.UNIT_Z=void 0;b.ZERO=new b(0,0,0);b.UNIT_X=new b(1,0,0);b.UNIT_Y=new b(0,1,0);b.UNIT_Z=new b(0,0,1);var l0=new b,c0=new b,Rd=new b,Yt=class r{constructor(e={}){this.lowerBound=void 0,this.upperBound=void 0,this.lowerBound=new b,this.upperBound=new b,e.lowerBound&&this.lowerBound.copy(e.lowerBound),e.upperBound&&this.upperBound.copy(e.upperBound)}setFromPoints(e,t,i,n){let s=this.lowerBound,o=this.upperBound,a=i;s.copy(e[0]),a&&a.vmult(s,s),o.copy(s);for(let l=1;lo.x&&(o.x=c.x),c.xo.y&&(o.y=c.y),c.yo.z&&(o.z=c.z),c.z=s.x&&t.y<=n.y&&i.y>=s.y&&t.z<=n.z&&i.z>=s.z}getCorners(e,t,i,n,s,o,a,l){let c=this.lowerBound,u=this.upperBound;e.copy(c),t.set(u.x,c.y,c.z),i.set(u.x,u.y,c.z),n.set(c.x,u.y,u.z),s.set(u.x,c.y,u.z),o.set(c.x,u.y,c.z),a.set(c.x,c.y,u.z),l.copy(u)}toLocalFrame(e,t){let i=Ld,n=i[0],s=i[1],o=i[2],a=i[3],l=i[4],c=i[5],u=i[6],h=i[7];this.getCorners(n,s,o,a,l,c,u,h);for(let d=0;d!==8;d++){let p=i[d];e.pointToLocal(p,p)}return t.setFromPoints(i)}toWorldFrame(e,t){let i=Ld,n=i[0],s=i[1],o=i[2],a=i[3],l=i[4],c=i[5],u=i[6],h=i[7];this.getCorners(n,s,o,a,l,c,u,h);for(let d=0;d!==8;d++){let p=i[d];e.pointToWorld(p,p)}return t.setFromPoints(i)}overlapsRay(e){let{direction:t,from:i}=e,n=1/t.x,s=1/t.y,o=1/t.z,a=(this.lowerBound.x-i.x)*n,l=(this.upperBound.x-i.x)*n,c=(this.lowerBound.y-i.y)*s,u=(this.upperBound.y-i.y)*s,h=(this.lowerBound.z-i.z)*o,d=(this.upperBound.z-i.z)*o,p=Math.max(Math.max(Math.min(a,l),Math.min(c,u)),Math.min(h,d)),m=Math.min(Math.min(Math.max(a,l),Math.max(c,u)),Math.max(h,d));return!(m<0||p>m)}},Fd=new b,Ld=[new b,new b,new b,new b,new b,new b,new b,new b],Vo=class{constructor(){this.matrix=void 0,this.matrix=[]}get(e,t){let{index:i}=e,{index:n}=t;if(n>i){let s=n;n=i,i=s}return this.matrix[(i*(i+1)>>1)+n-1]}set(e,t,i){let{index:n}=e,{index:s}=t;if(s>n){let o=s;s=n,n=o}this.matrix[(n*(n+1)>>1)+s-1]=i?1:0}reset(){for(let e=0,t=this.matrix.length;e!==t;e++)this.matrix[e]=0}setNumObjects(e){this.matrix.length=e*(e-1)>>1}},Uo=class{constructor(){this._listeners=void 0}addEventListener(e,t){this._listeners===void 0&&(this._listeners={});let i=this._listeners;return i[e]===void 0&&(i[e]=[]),i[e].includes(t)||i[e].push(t),this}hasEventListener(e,t){if(this._listeners===void 0)return!1;let i=this._listeners;return!!(i[e]!==void 0&&i[e].includes(t))}hasAnyEventListener(e){return this._listeners===void 0?!1:this._listeners[e]!==void 0}removeEventListener(e,t){if(this._listeners===void 0)return this;let i=this._listeners;if(i[e]===void 0)return this;let n=i[e].indexOf(t);return n!==-1&&i[e].splice(n,1),this}dispatchEvent(e){if(this._listeners===void 0)return this;let i=this._listeners[e.type];if(i!==void 0){e.target=this;for(let n=0,s=i.length;n.499&&(i=2*Math.atan2(o,c),n=Math.PI/2,s=0),u<-.499&&(i=-2*Math.atan2(o,c),n=-Math.PI/2,s=0),i===void 0){let h=o*o,d=a*a,p=l*l;i=Math.atan2(2*a*c-2*o*l,1-2*d-2*p),n=Math.asin(2*u),s=Math.atan2(2*o*c-2*a*l,1-2*h-2*p)}break;default:throw new Error("Euler order "+t+" not supported yet.")}e.y=i,e.z=n,e.x=s}setFromEuler(e,t,i,n="XYZ"){let s=Math.cos(e/2),o=Math.cos(t/2),a=Math.cos(i/2),l=Math.sin(e/2),c=Math.sin(t/2),u=Math.sin(i/2);return n==="XYZ"?(this.x=l*o*a+s*c*u,this.y=s*c*a-l*o*u,this.z=s*o*u+l*c*a,this.w=s*o*a-l*c*u):n==="YXZ"?(this.x=l*o*a+s*c*u,this.y=s*c*a-l*o*u,this.z=s*o*u-l*c*a,this.w=s*o*a+l*c*u):n==="ZXY"?(this.x=l*o*a-s*c*u,this.y=s*c*a+l*o*u,this.z=s*o*u+l*c*a,this.w=s*o*a-l*c*u):n==="ZYX"?(this.x=l*o*a-s*c*u,this.y=s*c*a+l*o*u,this.z=s*o*u-l*c*a,this.w=s*o*a+l*c*u):n==="YZX"?(this.x=l*o*a+s*c*u,this.y=s*c*a+l*o*u,this.z=s*o*u-l*c*a,this.w=s*o*a-l*c*u):n==="XZY"&&(this.x=l*o*a-s*c*u,this.y=s*c*a-l*o*u,this.z=s*o*u+l*c*a,this.w=s*o*a+l*c*u),this}clone(){return new r(this.x,this.y,this.z,this.w)}slerp(e,t,i=new r){let n=this.x,s=this.y,o=this.z,a=this.w,l=e.x,c=e.y,u=e.z,h=e.w,d,p,m,y,x;return p=n*l+s*c+o*u+a*h,p<0&&(p=-p,l=-l,c=-c,u=-u,h=-h),1-p>1e-6?(d=Math.acos(p),m=Math.sin(d),y=Math.sin((1-t)*d)/m,x=Math.sin(t*d)/m):(y=1-t,x=t),i.x=y*n+x*l,i.y=y*s+x*c,i.z=y*o+x*u,i.w=y*a+x*h,i}integrate(e,t,i,n=new r){let s=e.x*i.x,o=e.y*i.y,a=e.z*i.z,l=this.x,c=this.y,u=this.z,h=this.w,d=t*.5;return n.x+=d*(s*h+o*u-a*c),n.y+=d*(o*h+a*l-s*u),n.z+=d*(a*h+s*c-o*l),n.w+=d*(-s*l-o*c-a*u),n}},u0=new b,h0=new b,d0={SPHERE:1,PLANE:2,BOX:4,COMPOUND:8,CONVEXPOLYHEDRON:16,HEIGHTFIELD:32,PARTICLE:64,CYLINDER:128,TRIMESH:256},me=class r{constructor(e={}){this.id=void 0,this.type=void 0,this.boundingSphereRadius=void 0,this.collisionResponse=void 0,this.collisionFilterGroup=void 0,this.collisionFilterMask=void 0,this.material=void 0,this.body=void 0,this.id=r.idCounter++,this.type=e.type||0,this.boundingSphereRadius=0,this.collisionResponse=e.collisionResponse?e.collisionResponse:!0,this.collisionFilterGroup=e.collisionFilterGroup!==void 0?e.collisionFilterGroup:1,this.collisionFilterMask=e.collisionFilterMask!==void 0?e.collisionFilterMask:-1,this.material=e.material?e.material:null,this.body=null}updateBoundingSphereRadius(){throw"computeBoundingSphereRadius() not implemented for shape type "+this.type}volume(){throw"volume() not implemented for shape type "+this.type}calculateLocalInertia(e,t){throw"calculateLocalInertia() not implemented for shape type "+this.type}calculateWorldAABB(e,t,i,n){throw"calculateWorldAABB() not implemented for shape type "+this.type}};me.idCounter=0;me.types=d0;var He=class r{constructor(e={}){this.position=void 0,this.quaternion=void 0,this.position=new b,this.quaternion=new yt,e.position&&this.position.copy(e.position),e.quaternion&&this.quaternion.copy(e.quaternion)}pointToLocal(e,t){return r.pointToLocalFrame(this.position,this.quaternion,e,t)}pointToWorld(e,t){return r.pointToWorldFrame(this.position,this.quaternion,e,t)}vectorToWorldFrame(e,t=new b){return this.quaternion.vmult(e,t),t}static pointToLocalFrame(e,t,i,n=new b){return i.vsub(e,n),t.conjugate(Bd),Bd.vmult(n,n),n}static pointToWorldFrame(e,t,i,n=new b){return t.vmult(i,n),n.vadd(e,n),n}static vectorToWorldFrame(e,t,i=new b){return e.vmult(t,i),i}static vectorToLocalFrame(e,t,i,n=new b){return t.w*=-1,t.vmult(i,n),t.w*=-1,n}},Bd=new yt,mr=class r extends me{constructor(e={}){let{vertices:t=[],faces:i=[],normals:n=[],axes:s,boundingSphereRadius:o}=e;super({type:me.types.CONVEXPOLYHEDRON}),this.vertices=void 0,this.faces=void 0,this.faceNormals=void 0,this.worldVertices=void 0,this.worldVerticesNeedsUpdate=void 0,this.worldFaceNormals=void 0,this.worldFaceNormalsNeedsUpdate=void 0,this.uniqueAxes=void 0,this.uniqueEdges=void 0,this.vertices=t,this.faces=i,this.faceNormals=n,this.faceNormals.length===0&&this.computeNormals(),o?this.boundingSphereRadius=o:this.updateBoundingSphereRadius(),this.worldVertices=[],this.worldVerticesNeedsUpdate=!0,this.worldFaceNormals=[],this.worldFaceNormalsNeedsUpdate=!0,this.uniqueAxes=s?s.slice():null,this.uniqueEdges=[],this.computeEdges()}computeEdges(){let e=this.faces,t=this.vertices,i=this.uniqueEdges;i.length=0;let n=new b;for(let s=0;s!==e.length;s++){let o=e[s],a=o.length;for(let l=0;l!==a;l++){let c=(l+1)%a;t[o[l]].vsub(t[o[c]],n),n.normalize();let u=!1;for(let h=0;h!==i.length;h++)if(i[h].almostEquals(n)||i[h].almostEquals(n)){u=!0;break}u||i.push(n.clone())}}}computeNormals(){this.faceNormals.length=this.faces.length;for(let e=0;ed&&(d=y,h=m)}let p=[];for(let m=0;m=0&&this.clipFaceAgainstHull(o,e,t,p,a,l,c)}findSeparatingAxis(e,t,i,n,s,o,a,l){let c=new b,u=new b,h=new b,d=new b,p=new b,m=new b,y=Number.MAX_VALUE,x=this;if(x.uniqueAxes)for(let g=0;g!==x.uniqueAxes.length;g++){i.vmult(x.uniqueAxes[g],c);let f=x.testSepAxis(c,e,t,i,n,s);if(f===!1)return!1;f0&&o.negate(o),!0}testSepAxis(e,t,i,n,s,o){let a=this;r.project(a,e,i,n,mc),r.project(t,e,s,o,gc);let l=mc[0],c=mc[1],u=gc[0],h=gc[1];if(l0?1/t:0,this.material=e.material||null,this.linearDamping=typeof e.linearDamping=="number"?e.linearDamping:.01,this.type=t<=0?r.STATIC:r.DYNAMIC,typeof e.type==typeof r.STATIC&&(this.type=e.type),this.allowSleep=typeof e.allowSleep<"u"?e.allowSleep:!0,this.sleepState=r.AWAKE,this.sleepSpeedLimit=typeof e.sleepSpeedLimit<"u"?e.sleepSpeedLimit:.1,this.sleepTimeLimit=typeof e.sleepTimeLimit<"u"?e.sleepTimeLimit:1,this.timeLastSleepy=0,this.wakeUpAfterNarrowphase=!1,this.torque=new b,this.quaternion=new yt,this.initQuaternion=new yt,this.previousQuaternion=new yt,this.interpolatedQuaternion=new yt,e.quaternion&&(this.quaternion.copy(e.quaternion),this.initQuaternion.copy(e.quaternion),this.previousQuaternion.copy(e.quaternion),this.interpolatedQuaternion.copy(e.quaternion)),this.angularVelocity=new b,e.angularVelocity&&this.angularVelocity.copy(e.angularVelocity),this.initAngularVelocity=new b,this.shapes=[],this.shapeOffsets=[],this.shapeOrientations=[],this.inertia=new b,this.invInertia=new b,this.invInertiaWorld=new Mi,this.invMassSolve=0,this.invInertiaSolve=new b,this.invInertiaWorldSolve=new Mi,this.fixedRotation=typeof e.fixedRotation<"u"?e.fixedRotation:!1,this.angularDamping=typeof e.angularDamping<"u"?e.angularDamping:.01,this.linearFactor=new b(1,1,1),e.linearFactor&&this.linearFactor.copy(e.linearFactor),this.angularFactor=new b(1,1,1),e.angularFactor&&this.angularFactor.copy(e.angularFactor),this.aabb=new Yt,this.aabbNeedsUpdate=!0,this.boundingRadius=0,this.wlambda=new b,this.isTrigger=!!e.isTrigger,e.shape&&this.addShape(e.shape),this.updateMassProperties()}wakeUp(){let e=this.sleepState;this.sleepState=r.AWAKE,this.wakeUpAfterNarrowphase=!1,e===r.SLEEPING&&this.dispatchEvent(r.wakeupEvent)}sleep(){this.sleepState=r.SLEEPING,this.velocity.set(0,0,0),this.angularVelocity.set(0,0,0),this.wakeUpAfterNarrowphase=!1}sleepTick(e){if(this.allowSleep){let t=this.sleepState,i=this.velocity.lengthSquared()+this.angularVelocity.lengthSquared(),n=this.sleepSpeedLimit**2;t===r.AWAKE&&in?this.wakeUp():t===r.SLEEPY&&e-this.timeLastSleepy>this.sleepTimeLimit&&(this.sleep(),this.dispatchEvent(r.sleepEvent))}}updateSolveMassProperties(){this.sleepState===r.SLEEPING||this.type===r.KINEMATIC?(this.invMassSolve=0,this.invInertiaSolve.setZero(),this.invInertiaWorldSolve.setZero()):(this.invMassSolve=this.invMass,this.invInertiaSolve.copy(this.invInertia),this.invInertiaWorldSolve.copy(this.invInertiaWorld))}pointToLocalFrame(e,t=new b){return e.vsub(this.position,t),this.quaternion.conjugate().vmult(t,t),t}vectorToLocalFrame(e,t=new b){return this.quaternion.conjugate().vmult(e,t),t}pointToWorldFrame(e,t=new b){return this.quaternion.vmult(e,t),t.vadd(this.position,t),t}vectorToWorldFrame(e,t=new b){return this.quaternion.vmult(e,t),t}addShape(e,t,i){let n=new b,s=new yt;return t&&n.copy(t),i&&s.copy(i),this.shapes.push(e),this.shapeOffsets.push(n),this.shapeOrientations.push(s),this.updateMassProperties(),this.updateBoundingRadius(),this.aabbNeedsUpdate=!0,e.body=this,this}removeShape(e){let t=this.shapes.indexOf(e);return t===-1?(console.warn("Shape does not belong to the body"),this):(this.shapes.splice(t,1),this.shapeOffsets.splice(t,1),this.shapeOrientations.splice(t,1),this.updateMassProperties(),this.updateBoundingRadius(),this.aabbNeedsUpdate=!0,e.body=null,this)}updateBoundingRadius(){let e=this.shapes,t=this.shapeOffsets,i=e.length,n=0;for(let s=0;s!==i;s++){let o=e[s];o.updateBoundingSphereRadius();let a=t[s].length(),l=o.boundingSphereRadius;a+l>n&&(n=a+l)}this.boundingRadius=n}updateAABB(){let e=this.shapes,t=this.shapeOffsets,i=this.shapeOrientations,n=e.length,s=m0,o=g0,a=this.quaternion,l=this.aabb,c=y0;for(let u=0;u!==n;u++){let h=e[u];a.vmult(t[u],s),s.vadd(this.position,s),a.mult(i[u],o),h.calculateWorldAABB(s,o,c.lowerBound,c.upperBound),u===0?l.copy(c):l.extend(c)}this.aabbNeedsUpdate=!1}updateInertiaWorld(e){let t=this.invInertia;if(!(t.x===t.y&&t.y===t.z&&!e)){let i=x0,n=v0;i.setRotationFromQuaternion(this.quaternion),i.transpose(n),i.scale(t,i),i.mmult(n,this.invInertiaWorld)}}applyForce(e,t=new b){if(this.type!==r.DYNAMIC)return;this.sleepState===r.SLEEPING&&this.wakeUp();let i=w0;t.cross(e,i),this.force.vadd(e,this.force),this.torque.vadd(i,this.torque)}applyLocalForce(e,t=new b){if(this.type!==r.DYNAMIC)return;let i=b0,n=_0;this.vectorToWorldFrame(e,i),this.vectorToWorldFrame(t,n),this.applyForce(i,n)}applyTorque(e){this.type===r.DYNAMIC&&(this.sleepState===r.SLEEPING&&this.wakeUp(),this.torque.vadd(e,this.torque))}applyImpulse(e,t=new b){if(this.type!==r.DYNAMIC)return;this.sleepState===r.SLEEPING&&this.wakeUp();let i=t,n=E0;n.copy(e),n.scale(this.invMass,n),this.velocity.vadd(n,this.velocity);let s=A0;i.cross(e,s),this.invInertiaWorld.vmult(s,s),this.angularVelocity.vadd(s,this.angularVelocity)}applyLocalImpulse(e,t=new b){if(this.type!==r.DYNAMIC)return;let i=S0,n=M0;this.vectorToWorldFrame(e,i),this.vectorToWorldFrame(t,n),this.applyImpulse(i,n)}updateMassProperties(){let e=D0;this.invMass=this.mass>0?1/this.mass:0;let t=this.inertia,i=this.fixedRotation;this.updateAABB(),e.set((this.aabb.upperBound.x-this.aabb.lowerBound.x)/2,(this.aabb.upperBound.y-this.aabb.lowerBound.y)/2,(this.aabb.upperBound.z-this.aabb.lowerBound.z)/2),wc.calculateInertia(e,this.mass,t),this.invInertia.set(t.x>0&&!i?1/t.x:0,t.y>0&&!i?1/t.y:0,t.z>0&&!i?1/t.z:0),this.updateInertiaWorld(!0)}getVelocityAtWorldPoint(e,t){let i=new b;return e.vsub(this.position,i),this.angularVelocity.cross(i,t),this.velocity.vadd(t,t),t}integrate(e,t,i){if(this.previousPosition.copy(this.position),this.previousQuaternion.copy(this.quaternion),!(this.type===r.DYNAMIC||this.type===r.KINEMATIC)||this.sleepState===r.SLEEPING)return;let n=this.velocity,s=this.angularVelocity,o=this.position,a=this.force,l=this.torque,c=this.quaternion,u=this.invMass,h=this.invInertiaWorld,d=this.linearFactor,p=u*e;n.x+=a.x*p*d.x,n.y+=a.y*p*d.y,n.z+=a.z*p*d.z;let m=h.elements,y=this.angularFactor,x=l.x*y.x,g=l.y*y.y,f=l.z*y.z;s.x+=e*(m[0]*x+m[1]*g+m[2]*f),s.y+=e*(m[3]*x+m[4]*g+m[5]*f),s.z+=e*(m[6]*x+m[7]*g+m[8]*f),o.x+=n.x*e,o.y+=n.y*e,o.z+=n.z*e,c.integrate(this.angularVelocity,e,this.angularFactor,c),t&&(i?c.normalizeFast():c.normalize()),this.aabbNeedsUpdate=!0,this.updateInertiaWorld()}};De.idCounter=0;De.COLLIDE_EVENT_NAME="collide";De.DYNAMIC=Rc.DYNAMIC;De.STATIC=Rc.STATIC;De.KINEMATIC=Rc.KINEMATIC;De.AWAKE=Fc.AWAKE;De.SLEEPY=Fc.SLEEPY;De.SLEEPING=Fc.SLEEPING;De.wakeupEvent={type:"wakeup"};De.sleepyEvent={type:"sleepy"};De.sleepEvent={type:"sleep"};var m0=new b,g0=new yt,y0=new Yt,x0=new Mi,v0=new Mi,w0=new b,b0=new b,_0=new b,E0=new b,A0=new b,S0=new b,M0=new b,D0=new b,bc=class{constructor(){this.world=void 0,this.useBoundingBoxes=void 0,this.dirty=void 0,this.world=null,this.useBoundingBoxes=!1,this.dirty=!0}collisionPairs(e,t,i){throw new Error("collisionPairs not implemented for this BroadPhase class!")}needBroadphaseCollision(e,t){return!(!(e.collisionFilterGroup&t.collisionFilterMask)||!(t.collisionFilterGroup&e.collisionFilterMask)||(e.type&De.STATIC||e.sleepState===De.SLEEPING)&&(t.type&De.STATIC||t.sleepState===De.SLEEPING))}intersectionTest(e,t,i,n){this.useBoundingBoxes?this.doBoundingBoxBroadphase(e,t,i,n):this.doBoundingSphereBroadphase(e,t,i,n)}doBoundingSphereBroadphase(e,t,i,n){let s=T0;t.position.vsub(e.position,s);let o=(e.boundingRadius+t.boundingRadius)**2;s.lengthSquared()i.lengthSquared()}aabbQuery(e,t,i){return console.warn(".aabbQuery is not implemented in this Broadphase subclass."),[]}},T0=new b,C0={keys:[]},R0=[],F0=[];var HA=new b,gr=class extends bc{constructor(){super()}collisionPairs(e,t,i){let n=e.bodies,s=n.length,o,a;for(let l=0;l!==s;l++)for(let c=0;c!==l;c++)o=n[l],a=n[c],this.needBroadphaseCollision(o,a)&&this.intersectionTest(o,a,t,i)}aabbQuery(e,t,i=[]){for(let n=0;n{}}intersectWorld(e,t){return this.mode=t.mode||r.ANY,this.result=t.result||new yr,this.skipBackfaces=!!t.skipBackfaces,this.collisionFilterMask=typeof t.collisionFilterMask<"u"?t.collisionFilterMask:-1,this.collisionFilterGroup=typeof t.collisionFilterGroup<"u"?t.collisionFilterGroup:-1,this.checkCollisionResponse=typeof t.checkCollisionResponse<"u"?t.checkCollisionResponse:!0,t.from&&this.from.copy(t.from),t.to&&this.to.copy(t.to),this.callback=t.callback||(()=>{}),this.hasHit=!1,this.result.reset(),this.updateDirection(),this.getAABB(Pd),yc.length=0,e.broadphase.aabbQuery(e,Pd,yc),this.intersectBodies(yc),this.hasHit}intersectBody(e,t){t&&(this.result=t,this.updateDirection());let i=this.checkCollisionResponse;if(i&&!e.collisionResponse||!(this.collisionFilterGroup&e.collisionFilterMask)||!(e.collisionFilterGroup&this.collisionFilterMask))return;let n=L0,s=B0;for(let o=0,a=e.shapes.length;oe.boundingSphereRadius)return;let a=this[e.type];a&&a.call(this,e,t,i,n,e)}_intersectBox(e,t,i,n,s){return this._intersectConvex(e.convexPolyhedronRepresentation,t,i,n,s)}_intersectPlane(e,t,i,n,s){let o=this.from,a=this.to,l=this.direction,c=new b(0,0,1);t.vmult(c,c);let u=new b;o.vsub(i,u);let h=u.dot(c);a.vsub(i,u);let d=u.dot(c);if(h*d>0||o.distanceTo(a)=0&&y<=1&&(o.lerp(a,y,p),p.vsub(i,m),m.normalize(),this.reportIntersection(m,p,s,n,-1)),this.result.shouldStop)return;x>=0&&x<=1&&(o.lerp(a,x,p),p.vsub(i,m),m.normalize(),this.reportIntersection(m,p,s,n,-1))}}_intersectConvex(e,t,i,n,s,o){let a=O0,l=Nd,c=o&&o.faceList||null,u=e.faces,h=e.vertices,d=e.faceNormals,p=this.direction,m=this.from,y=this.to,x=m.distanceTo(y),g=c?c.length:u.length,f=this.result;for(let E=0;!f.shouldStop&&Ex||this.reportIntersection(a,Vt,s,n,w)}}}}_intersectTrimesh(e,t,i,n,s,o){let a=z0,l=W0,c=$0,u=Nd,h=V0,d=U0,p=H0,m=q0,y=G0,x=e.indices;e.vertices;let g=this.from,f=this.to,E=this.direction;c.position.copy(i),c.quaternion.copy(t),He.vectorToLocalFrame(i,t,E,h),He.pointToLocalFrame(i,t,g,d),He.pointToLocalFrame(i,t,f,p),p.x*=e.scale.x,p.y*=e.scale.y,p.z*=e.scale.z,d.x*=e.scale.x,d.y*=e.scale.y,d.z*=e.scale.z,p.vsub(d,h),h.normalize();let w=d.distanceSquared(p);e.tree.rayQuery(this,c,l);for(let _=0,M=l.length;!this.result.shouldStop&&_!==M;_++){let T=l[_];e.getNormal(T,a),e.getVertex(x[T*3],li),li.vsub(d,u);let z=h.dot(a),W=a.dot(u)/z;if(W<0)continue;h.scale(W,Vt),Vt.vadd(d,Vt),e.getVertex(x[T*3+1],Ai),e.getVertex(x[T*3+2],Si);let A=Vt.distanceSquared(d);!(r.pointInTriangle(Vt,Ai,li,Si)||r.pointInTriangle(Vt,li,Ai,Si))||A>w||(He.vectorToWorldFrame(t,a,y),He.pointToWorldFrame(i,t,Vt,m),this.reportIntersection(y,m,s,n,T))}l.length=0}reportIntersection(e,t,i,n,s){let o=this.from,a=this.to,l=o.distanceTo(t),c=this.result;if(!(this.skipBackfaces&&e.dot(this.direction)>0))switch(c.hitFaceIndex=typeof s<"u"?s:-1,this.mode){case r.ALL:this.hasHit=!0,c.set(o,a,e,t,i,n,l),c.hasHit=!0,this.callback(c);break;case r.CLOSEST:(l=0&&(h=s*c-o*a)>=0&&u+hT.maxForce&&(p=T.maxForce-x),E[M]+=p,m+=p>0?p:-p,T.addToWlambda(p)}if(m*me;)t.pop();for(;t.length=0&&u.restitution>=0&&(a.restitution=c.restitution*u.restitution),a.si=s||i,a.sj=o||n,a}createFrictionEquationsFromContact(e,t){let i=e.bi,n=e.bj,s=e.si,o=e.sj,a=this.world,l=this.currentContactMaterial,c=l.friction,u=s.material||i.material,h=o.material||n.material;if(u&&h&&u.friction>=0&&h.friction>=0&&(c=u.friction*h.friction),c>0){let d=c*a.gravity.length(),p=i.invMass+n.invMass;p>0&&(p=1/p);let m=this.frictionEquationPool,y=m.length?m.pop():new qo(i,n,d*p),x=m.length?m.pop():new qo(i,n,d*p);return y.bi=x.bi=i,y.bj=x.bj=n,y.minForce=x.minForce=-d*p,y.maxForce=x.maxForce=d*p,y.ri.copy(e.ri),y.rj.copy(e.rj),x.ri.copy(e.ri),x.rj.copy(e.rj),e.ni.tangents(y.t,x.t),y.setSpookParams(l.frictionEquationStiffness,l.frictionEquationRelaxation,a.dt),x.setSpookParams(l.frictionEquationStiffness,l.frictionEquationRelaxation,a.dt),y.enabled=x.enabled=e.enabled,t.push(y,x),!0}return!1}createFrictionFromAverage(e){let t=this.result[this.result.length-1];if(!this.createFrictionEquationsFromContact(t,this.frictionResult)||e===1)return;let i=this.frictionResult[this.frictionResult.length-2],n=this.frictionResult[this.frictionResult.length-1];Pn.setZero(),ss.setZero(),rs.setZero();let s=t.bi;t.bj;for(let a=0;a!==e;a++)t=this.result[this.result.length-1-a],t.bi!==s?(Pn.vadd(t.ni,Pn),ss.vadd(t.ri,ss),rs.vadd(t.rj,rs)):(Pn.vsub(t.ni,Pn),ss.vadd(t.rj,ss),rs.vadd(t.ri,rs));let o=1/e;ss.scale(o,i.ri),rs.scale(o,i.rj),n.ri.copy(i.ri),n.rj.copy(i.rj),Pn.normalize(),Pn.tangents(i.t,n.t)}getContacts(e,t,i,n,s,o,a){this.contactPointPool=s,this.frictionEquationPool=a,this.result=n,this.frictionResult=o;let l=uy,c=hy,u=ly,h=cy;for(let d=0,p=e.length;d!==p;d++){let m=e[d],y=t[d],x=null;m.material&&y.material&&(x=i.getContactMaterial(m.material,y.material)||null);let g=m.type&De.KINEMATIC&&y.type&De.STATIC||m.type&De.STATIC&&y.type&De.KINEMATIC||m.type&De.KINEMATIC&&y.type&De.KINEMATIC;for(let f=0;fE.boundingSphereRadius+_.boundingSphereRadius)continue;let M=null;E.material&&_.material&&(M=i.getContactMaterial(E.material,_.material)||null),this.currentContactMaterial=M||x||i.defaultContactMaterial;let T=E.type|_.type,z=this[T];if(z){let W=!1;E.type<_.type?W=z.call(this,E,_,u,h,l,c,m,y,E,_,g):W=z.call(this,_,E,h,u,c,l,y,m,E,_,g),W&&g&&(i.shapeOverlapKeeper.set(E.id,_.id),i.bodyOverlapKeeper.set(m.id,y.id))}}}}}sphereSphere(e,t,i,n,s,o,a,l,c,u,h){if(h)return i.distanceSquared(n)<(e.radius+t.radius)**2;let d=this.createContactEquation(a,l,e,t,c,u);n.vsub(i,d.ni),d.ni.normalize(),d.ri.copy(d.ni),d.rj.copy(d.ni),d.ri.scale(e.radius,d.ri),d.rj.scale(-t.radius,d.rj),d.ri.vadd(i,d.ri),d.ri.vsub(a.position,d.ri),d.rj.vadd(n,d.rj),d.rj.vsub(l.position,d.rj),this.result.push(d),this.createFrictionEquationsFromContact(d,this.frictionResult)}spherePlane(e,t,i,n,s,o,a,l,c,u,h){let d=this.createContactEquation(a,l,e,t,c,u);if(d.ni.set(0,0,1),o.vmult(d.ni,d.ni),d.ni.negate(d.ni),d.ni.normalize(),d.ni.scale(e.radius,d.ri),i.vsub(n,Oo),d.ni.scale(d.ni.dot(Oo),Ud),Oo.vsub(Ud,d.rj),-Oo.dot(d.ni)<=e.radius){if(h)return!0;let p=d.ri,m=d.rj;p.vadd(i,p),p.vsub(a.position,p),m.vadd(n,m),m.vsub(l.position,m),this.result.push(d),this.createFrictionEquationsFromContact(d,this.frictionResult)}}boxBox(e,t,i,n,s,o,a,l,c,u,h){return e.convexPolyhedronRepresentation.material=e.material,t.convexPolyhedronRepresentation.material=t.material,e.convexPolyhedronRepresentation.collisionResponse=e.collisionResponse,t.convexPolyhedronRepresentation.collisionResponse=t.collisionResponse,this.convexConvex(e.convexPolyhedronRepresentation,t.convexPolyhedronRepresentation,i,n,s,o,a,l,e,t,h)}sphereBox(e,t,i,n,s,o,a,l,c,u,h){let d=this.v3pool,p=ky;i.vsub(n,zo),t.getSideNormals(p,o);let m=e.radius,y=!1,x=zy,g=Vy,f=Uy,E=null,w=0,_=0,M=0,T=null;for(let C=0,N=p.length;C!==N&&y===!1;C++){let k=Py;k.copy(p[C]);let V=k.length();k.normalize();let U=zo.dot(k);if(U0){let q=Iy,j=Ny;q.copy(p[(C+1)%3]),j.copy(p[(C+2)%3]);let ne=q.length(),ae=j.length();q.normalize(),j.normalize();let H=zo.dot(q),Te=zo.dot(j);if(H-ne&&Te-ae){let ue=Math.abs(U-V-m);if((T===null||uee.boundingSphereRadius+t.boundingSphereRadius)&&e.findSeparatingAxis(t,i,s,n,o,m,d,p)){let y=[],x=nx;e.clipAgainstHull(i,s,t,n,o,m,-100,100,y);let g=0;for(let f=0;f!==y.length;f++){if(h)return!0;let E=this.createContactEquation(a,l,e,t,c,u),w=E.ri,_=E.rj;m.negate(E.ni),y[f].normal.negate(x),x.scale(y[f].depth,x),y[f].point.vadd(x,w),_.copy(y[f].point),w.vsub(i,w),_.vsub(n,_),w.vadd(i,w),w.vsub(a.position,w),_.vadd(n,_),_.vsub(l.position,_),this.result.push(E),g++,this.enableFrictionReduction||this.createFrictionEquationsFromContact(E,this.frictionResult)}this.enableFrictionReduction&&g&&this.createFrictionFromAverage(g)}}sphereConvex(e,t,i,n,s,o,a,l,c,u,h){let d=this.v3pool;i.vsub(n,Hy);let p=t.faceNormals,m=t.faces,y=t.vertices,x=e.radius,g=!1;for(let f=0;f!==y.length;f++){let E=y[f],w=$y;o.vmult(E,w),n.vadd(w,w);let _=Wy;if(w.vsub(i,_),_.lengthSquared()0){let R=[];for(let S=0,B=_.length;S!==B;S++){let L=d.get();o.vmult(y[_[S]],L),n.vadd(L,L),R.push(L)}if(By(R,M,i)){if(h)return!0;g=!0;let S=this.createContactEquation(a,l,e,t,c,u);M.scale(-x,S.ri),M.negate(S.ni);let B=d.get();M.scale(-A,B);let L=d.get();M.scale(-x,L),i.vsub(n,S.rj),S.rj.vadd(L,S.rj),S.rj.vadd(B,S.rj),S.rj.vadd(n,S.rj),S.rj.vsub(l.position,S.rj),S.ri.vadd(i,S.ri),S.ri.vsub(a.position,S.ri),d.release(B),d.release(L),this.result.push(S),this.createFrictionEquationsFromContact(S,this.frictionResult);for(let C=0,N=R.length;C!==N;C++)d.release(R[C]);return}else for(let S=0;S!==_.length;S++){let B=d.get(),L=d.get();o.vmult(y[_[(S+1)%_.length]],B),o.vmult(y[_[(S+2)%_.length]],L),n.vadd(B,B),n.vadd(L,L);let C=Gy;L.vsub(B,C);let N=qy;C.unit(N);let k=d.get(),V=d.get();i.vsub(B,V);let U=V.dot(N);N.scale(U,k),k.vadd(B,k);let q=d.get();if(k.vsub(i,q),U>0&&U*Ud.length||E>d[0].length)return;g<0&&(g=0),f<0&&(f=0),E<0&&(E=0),w<0&&(w=0),g>=d.length&&(g=d.length-1),f>=d.length&&(f=d.length-1),w>=d[0].length&&(w=d[0].length-1),E>=d[0].length&&(E=d[0].length-1);let _=[];t.getRectMinMax(g,E,f,w,_);let M=_[0],T=_[1];if(x.z-p>T||x.z+p2)return}}boxHeightfield(e,t,i,n,s,o,a,l,c,u,h){return e.convexPolyhedronRepresentation.material=e.material,e.convexPolyhedronRepresentation.collisionResponse=e.collisionResponse,this.convexHeightfield(e.convexPolyhedronRepresentation,t,i,n,s,o,a,l,e,t,h)}convexHeightfield(e,t,i,n,s,o,a,l,c,u,h){let d=t.data,p=t.elementSize,m=e.boundingSphereRadius,y=dx,x=px,g=hx;He.pointToLocalFrame(n,o,i,g);let f=Math.floor((g.x-m)/p)-1,E=Math.ceil((g.x+m)/p)+1,w=Math.floor((g.y-m)/p)-1,_=Math.ceil((g.y+m)/p)+1;if(E<0||_<0||f>d.length||w>d[0].length)return;f<0&&(f=0),E<0&&(E=0),w<0&&(w=0),_<0&&(_=0),f>=d.length&&(f=d.length-1),E>=d.length&&(E=d.length-1),_>=d[0].length&&(_=d[0].length-1),w>=d[0].length&&(w=d[0].length-1);let M=[];t.getRectMinMax(f,w,E,_,M);let T=M[0],z=M[1];if(!(g.z-m>z||g.z+m0&&L<0&&(x.vsub(d,g),y.copy(m),y.normalize(),C=g.dot(y),y.scale(C,g),g.vadd(d,g),g.distanceTo(x)0&&i===!0||u<=0&&i===!1){i===null&&(i=u>0);continue}else return!1}return!0}var zo=new b,Py=new b,Iy=new b,Ny=new b,ky=[new b,new b,new b,new b,new b,new b],Oy=new b,zy=new b,Vy=new b,Uy=new b,Hy=new b,Gy=new b,qy=new b,Wy=new b,$y=new b,jy=new b,Xy=new b,Yy=new b,Zy=new b,Jy=new b,Ky=new b,Qy=new b,ex=new b,tx=new b,ix=new b,nx=new b,sx=new b,rx=new b,ox=new b,ax=new b,Hd=new yt,lx=new b,cx=new b,Gd=new b,ux=new b,hx=new b,dx=new b,px=[0],fx=new b,mx=new b,Wo=class{constructor(){this.current=void 0,this.previous=void 0,this.current=[],this.previous=[]}getKey(e,t){if(tn[s];)s++;if(i!==n[s]){for(let o=n.length-1;o>=s;o--)n[o+1]=n[o];n[s]=i}}tick(){let e=this.current;this.current=this.previous,this.previous=e,this.current.length=0}getDiff(e,t){let i=this.current,n=this.previous,s=i.length,o=n.length,a=0;for(let l=0;ln[a];)a++;c=u===n[a],c||qd(e,u)}a=0;for(let l=0;li[a];)a++;c=i[a]===u,c||qd(t,u)}}};function qd(r,e){r.push((e&4294901760)>>16,e&65535)}var Cc=class{constructor(){this.data={keys:[]}}get(e,t){if(e>t){let i=t;t=e,e=i}return this.data[e+"-"+t]}set(e,t,i){if(e>t){let s=t;t=e,e=s}let n=e+"-"+t;this.get(e,t)||this.data.keys.push(n),this.data[n]=i}reset(){let e=this.data,t=e.keys;for(;t.length>0;){let i=t.pop();delete e[i]}}},$o=class extends Uo{constructor(e={}){super(),this.dt=void 0,this.allowSleep=void 0,this.contacts=void 0,this.frictionEquations=void 0,this.quatNormalizeSkip=void 0,this.quatNormalizeFast=void 0,this.time=void 0,this.stepnumber=void 0,this.default_dt=void 0,this.nextId=void 0,this.gravity=void 0,this.broadphase=void 0,this.bodies=void 0,this.hasActiveBodies=void 0,this.solver=void 0,this.constraints=void 0,this.narrowphase=void 0,this.collisionMatrix=void 0,this.collisionMatrixPrevious=void 0,this.bodyOverlapKeeper=void 0,this.shapeOverlapKeeper=void 0,this.materials=void 0,this.contactmaterials=void 0,this.contactMaterialTable=void 0,this.defaultMaterial=void 0,this.defaultContactMaterial=void 0,this.doProfiling=void 0,this.profile=void 0,this.accumulator=void 0,this.subsystems=void 0,this.addBodyEvent=void 0,this.removeBodyEvent=void 0,this.idToBodyMap=void 0,this.dt=-1,this.allowSleep=!!e.allowSleep,this.contacts=[],this.frictionEquations=[],this.quatNormalizeSkip=e.quatNormalizeSkip!==void 0?e.quatNormalizeSkip:0,this.quatNormalizeFast=e.quatNormalizeFast!==void 0?e.quatNormalizeFast:!1,this.time=0,this.stepnumber=0,this.default_dt=1/60,this.nextId=0,this.gravity=new b,e.gravity&&this.gravity.copy(e.gravity),this.broadphase=e.broadphase!==void 0?e.broadphase:new gr,this.bodies=[],this.hasActiveBodies=!1,this.solver=e.solver!==void 0?e.solver:new Sc,this.constraints=[],this.narrowphase=new Tc(this),this.collisionMatrix=new Vo,this.collisionMatrixPrevious=new Vo,this.bodyOverlapKeeper=new Wo,this.shapeOverlapKeeper=new Wo,this.materials=[],this.contactmaterials=[],this.contactMaterialTable=new Cc,this.defaultMaterial=new on("default"),this.defaultContactMaterial=new rn(this.defaultMaterial,this.defaultMaterial,{friction:.3,restitution:0}),this.doProfiling=!1,this.profile={solve:0,makeContactConstraints:0,broadphase:0,integrate:0,narrowphase:0},this.accumulator=0,this.subsystems=[],this.addBodyEvent={type:"addBody",body:null},this.removeBodyEvent={type:"removeBody",body:null},this.idToBodyMap={},this.broadphase.setWorld(this)}getContactMaterial(e,t){return this.contactMaterialTable.get(e.id,t.id)}numObjects(){return this.bodies.length}collisionMatrixTick(){let e=this.collisionMatrixPrevious;this.collisionMatrixPrevious=this.collisionMatrix,this.collisionMatrix=e,this.collisionMatrix.reset(),this.bodyOverlapKeeper.tick(),this.shapeOverlapKeeper.tick()}addConstraint(e){this.constraints.push(e)}removeConstraint(e){let t=this.constraints.indexOf(e);t!==-1&&this.constraints.splice(t,1)}rayTest(e,t,i){i instanceof yr?this.raycastClosest(e,t,{skipBackfaces:!0},i):this.raycastAll(e,t,{skipBackfaces:!0},i)}raycastAll(e,t,i={},n){return i.mode=ti.ALL,i.from=e,i.to=t,i.callback=n,vc.intersectWorld(this,i)}raycastAny(e,t,i={},n){return i.mode=ti.ANY,i.from=e,i.to=t,i.result=n,vc.intersectWorld(this,i)}raycastClosest(e,t,i={},n){return i.mode=ti.CLOSEST,i.from=e,i.to=t,i.result=n,vc.intersectWorld(this,i)}addBody(e){this.bodies.includes(e)||(e.index=this.bodies.length,this.bodies.push(e),e.world=this,e.initPosition.copy(e.position),e.initVelocity.copy(e.velocity),e.timeLastSleepy=this.time,e instanceof De&&(e.initAngularVelocity.copy(e.angularVelocity),e.initQuaternion.copy(e.quaternion)),this.collisionMatrix.setNumObjects(this.bodies.length),this.addBodyEvent.body=e,this.idToBodyMap[e.id]=e,this.dispatchEvent(this.addBodyEvent))}removeBody(e){e.world=null;let t=this.bodies.length-1,i=this.bodies,n=i.indexOf(e);if(n!==-1){i.splice(n,1);for(let s=0;s!==i.length;s++)i[s].index=s;this.collisionMatrix.setNumObjects(t),this.removeBodyEvent.body=e,delete this.idToBodyMap[e.id],this.dispatchEvent(this.removeBodyEvent)}}getBodyById(e){return this.idToBodyMap[e]}getShapeById(e){let t=this.bodies;for(let i=0;i=e&&se*1e3)););this.accumulator=this.accumulator%e;let o=this.accumulator/e;for(let a=0;a!==this.bodies.length;a++){let l=this.bodies[a];l.previousPosition.lerp(l.position,o,l.interpolatedPosition),l.previousQuaternion.slerp(l.quaternion,o,l.interpolatedQuaternion),l.previousQuaternion.normalize()}this.time+=t}}internalStep(e){this.dt=e;let t=this.contacts,i=wx,n=bx,s=this.numObjects(),o=this.bodies,a=this.solver,l=this.gravity,c=this.doProfiling,u=this.profile,h=De.DYNAMIC,d=-1/0,p=this.constraints,m=vx;l.length();let y=l.x,x=l.y,g=l.z,f=0;for(c&&(d=bt.now()),f=0;f!==s;f++){let S=o[f];if(S.type===h){let B=S.force,L=S.mass;B.x+=L*y,B.y+=L*x,B.z+=L*g}}for(let S=0,B=this.subsystems.length;S!==B;S++)this.subsystems[S].update();c&&(d=bt.now()),i.length=0,n.length=0,this.broadphase.collisionPairs(this,i,n),c&&(u.broadphase=bt.now()-d);let E=p.length;for(f=0;f!==E;f++){let S=p[f];if(!S.collideConnected)for(let B=i.length-1;B>=0;B-=1)(S.bodyA===i[B]&&S.bodyB===n[B]||S.bodyB===i[B]&&S.bodyA===n[B])&&(i.splice(B,1),n.splice(B,1))}this.collisionMatrixTick(),c&&(d=bt.now());let w=xx,_=t.length;for(f=0;f!==_;f++)w.push(t[f]);t.length=0;let M=this.frictionEquations.length;for(f=0;f!==M;f++)m.push(this.frictionEquations[f]);for(this.frictionEquations.length=0,this.narrowphase.getContacts(i,n,this,t,w,this.frictionEquations,m),c&&(u.narrowphase=bt.now()-d),c&&(d=bt.now()),f=0;f=0&&C.material.friction>=0&&L.material.friction*C.material.friction,L.material.restitution>=0&&C.material.restitution>=0&&(B.restitution=L.material.restitution*C.material.restitution)),a.addEquation(B),L.allowSleep&&L.type===De.DYNAMIC&&L.sleepState===De.SLEEPING&&C.sleepState===De.AWAKE&&C.type!==De.STATIC){let U=C.velocity.lengthSquared()+C.angularVelocity.lengthSquared(),q=C.sleepSpeedLimit**2;U>=q*2&&(L.wakeUpAfterNarrowphase=!0)}if(C.allowSleep&&C.type===De.DYNAMIC&&C.sleepState===De.SLEEPING&&L.sleepState===De.AWAKE&&L.type!==De.STATIC){let U=L.velocity.lengthSquared()+L.angularVelocity.lengthSquared(),q=L.sleepSpeedLimit**2;U>=q*2&&(C.wakeUpAfterNarrowphase=!0)}this.collisionMatrix.set(L,C,!0),this.collisionMatrixPrevious.get(L,C)||(dr.body=C,dr.contact=B,L.dispatchEvent(dr),dr.body=L,C.dispatchEvent(dr)),this.bodyOverlapKeeper.set(L.id,C.id),this.shapeOverlapKeeper.set(N.id,k.id)}for(this.emitContactEvents(),c&&(u.makeContactConstraints=bt.now()-d,d=bt.now()),f=0;f!==s;f++){let S=o[f];S.wakeUpAfterNarrowphase&&(S.wakeUp(),S.wakeUpAfterNarrowphase=!1)}for(E=p.length,f=0;f!==E;f++){let S=p[f];S.update();for(let B=0,L=S.equations.length;B!==L;B++){let C=S.equations[B];a.addEquation(C)}}a.solve(e,this),c&&(u.solve=bt.now()-d),a.removeAllEquations();let z=Math.pow;for(f=0;f!==s;f++){let S=o[f];if(S.type&h){let B=z(1-S.linearDamping,e),L=S.velocity;L.scale(B,L);let C=S.angularVelocity;if(C){let N=z(1-S.angularDamping,e);C.scale(N,C)}}}for(this.dispatchEvent(yx),f=0;f!==s;f++){let S=o[f];S.preStep&&S.preStep.call(S)}c&&(d=bt.now());let A=this.stepnumber%(this.quatNormalizeSkip+1)===0,v=this.quatNormalizeFast;for(f=0;f!==s;f++)o[f].integrate(e,A,v);for(this.clearForces(),this.broadphase.dirty=!0,c&&(u.integrate=bt.now()-d),this.stepnumber+=1,this.dispatchEvent(gx),f=0;f!==s;f++){let S=o[f],B=S.postStep;B&&B.call(S)}let R=!0;if(this.allowSleep)for(R=!1,f=0;f!==s;f++){let S=o[f];S.sleepTick(this.time),S.sleepState!==De.SLEEPING&&(R=!0)}this.hasActiveBodies=R}emitContactEvents(){let e=this.hasAnyEventListener("beginContact"),t=this.hasAnyEventListener("endContact");if((e||t)&&this.bodyOverlapKeeper.getDiff(ki,Oi),e){for(let s=0,o=ki.length;sDate.now()-r}var gx={type:"postStep"},yx={type:"preStep"},dr={type:De.COLLIDE_EVENT_NAME,body:null,contact:null},xx=[],vx=[],wx=[],bx=[],ki=[],Oi=[],pr={type:"beginContact",bodyA:null,bodyB:null},fr={type:"endContact",bodyA:null,bodyB:null},zi={type:"beginShapeContact",bodyA:null,bodyB:null,shapeA:null,shapeB:null},Vi={type:"endShapeContact",bodyA:null,bodyB:null,shapeA:null,shapeB:null};var Lh="137";var _x=0,Ep=1,Ex=2;var rm=1,Bh=2,Tr=3,Pr=0,xt=1,Bs=2,om=1;var mn=0,Rr=1,Ap=2,Sp=3,Mp=4,Ax=5,Ss=100,Sx=101,Mx=102,Dp=103,Tp=104,Dx=200,Tx=201,Cx=202,Rx=203,am=204,lm=205,Fx=206,Lx=207,Bx=208,Px=209,Ix=210,Nx=0,kx=1,Ox=2,xu=3,zx=4,Vx=5,Ux=6,Hx=7,il=0,Gx=1,qx=2,gn=0,Wx=1,$x=2,jx=3,Xx=4,Yx=5,cm=300,co=301,uo=302,vu=303,wu=304,nl=306,Ph=307,bu=1e3,Kt=1001,_u=1002,vt=1003,Cp=1004;var Rp=1005;var Ft=1006,Zx=1007;var sl=1008;var yn=1009,Jx=1010,Kx=1011,Ir=1012,Qx=1013,Ma=1014,Vn=1015,Cs=1016,ev=1017,tv=1018,Rs=1020,iv=1021,nv=1022,Nt=1023,sv=1024,rv=1025,Hn=1026,Ps=1027,ov=1028,av=1029,lv=1030,cv=1031,uv=1033,Bc=33776,Pc=33777,Ic=33778,Nc=33779,Fp=35840,Lp=35841,Bp=35842,Pp=35843,hv=36196,Ip=37492,Np=37496,kp=37808,Op=37809,zp=37810,Vp=37811,Up=37812,Hp=37813,Gp=37814,qp=37815,Wp=37816,$p=37817,jp=37818,Xp=37819,Yp=37820,Zp=37821,Jp=36492,dv=2200,pv=2201,fv=2202,Da=2300,Ta=2301,kc=2302,Ms=2400,Ds=2401,Ca=2402,Ih=2500,um=2501,mv=0;var bn=3e3,tt=3001,gv=3200,yv=3201,Xs=0,xv=1;var Oc=7680;var vv=519,Nr=35044,Ra=35048;var Kp="300 es",Eu=1035,Xi=class{addEventListener(e,t){this._listeners===void 0&&(this._listeners={});let i=this._listeners;i[e]===void 0&&(i[e]=[]),i[e].indexOf(t)===-1&&i[e].push(t)}hasEventListener(e,t){if(this._listeners===void 0)return!1;let i=this._listeners;return i[e]!==void 0&&i[e].indexOf(t)!==-1}removeEventListener(e,t){if(this._listeners===void 0)return;let n=this._listeners[e];if(n!==void 0){let s=n.indexOf(t);s!==-1&&n.splice(s,1)}}dispatchEvent(e){if(this._listeners===void 0)return;let i=this._listeners[e.type];if(i!==void 0){e.target=this;let n=i.slice(0);for(let s=0,o=n.length;s>8&255]+St[r>>16&255]+St[r>>24&255]+"-"+St[e&255]+St[e>>8&255]+"-"+St[e>>16&15|64]+St[e>>24&255]+"-"+St[t&63|128]+St[t>>8&255]+"-"+St[t>>16&255]+St[t>>24&255]+St[i&255]+St[i>>8&255]+St[i>>16&255]+St[i>>24&255]).toUpperCase()}function Ut(r,e,t){return Math.max(e,Math.min(t,r))}function wv(r,e){return(r%e+e)%e}function Vc(r,e,t){return(1-t)*r+t*e}function Qp(r){return(r&r-1)===0&&r!==0}function bv(r){return Math.pow(2,Math.floor(Math.log(r)/Math.LN2))}var ee=class{constructor(e=0,t=0){this.x=e,this.y=t}get width(){return this.x}set width(e){this.x=e}get height(){return this.y}set height(e){this.y=e}set(e,t){return this.x=e,this.y=t,this}setScalar(e){return this.x=e,this.y=e,this}setX(e){return this.x=e,this}setY(e){return this.y=e,this}setComponent(e,t){switch(e){case 0:this.x=t;break;case 1:this.y=t;break;default:throw new Error("index is out of range: "+e)}return this}getComponent(e){switch(e){case 0:return this.x;case 1:return this.y;default:throw new Error("index is out of range: "+e)}}clone(){return new this.constructor(this.x,this.y)}copy(e){return this.x=e.x,this.y=e.y,this}add(e,t){return t!==void 0?(console.warn("THREE.Vector2: .add() now only accepts one argument. Use .addVectors( a, b ) instead."),this.addVectors(e,t)):(this.x+=e.x,this.y+=e.y,this)}addScalar(e){return this.x+=e,this.y+=e,this}addVectors(e,t){return this.x=e.x+t.x,this.y=e.y+t.y,this}addScaledVector(e,t){return this.x+=e.x*t,this.y+=e.y*t,this}sub(e,t){return t!==void 0?(console.warn("THREE.Vector2: .sub() now only accepts one argument. Use .subVectors( a, b ) instead."),this.subVectors(e,t)):(this.x-=e.x,this.y-=e.y,this)}subScalar(e){return this.x-=e,this.y-=e,this}subVectors(e,t){return this.x=e.x-t.x,this.y=e.y-t.y,this}multiply(e){return this.x*=e.x,this.y*=e.y,this}multiplyScalar(e){return this.x*=e,this.y*=e,this}divide(e){return this.x/=e.x,this.y/=e.y,this}divideScalar(e){return this.multiplyScalar(1/e)}applyMatrix3(e){let t=this.x,i=this.y,n=e.elements;return this.x=n[0]*t+n[3]*i+n[6],this.y=n[1]*t+n[4]*i+n[7],this}min(e){return this.x=Math.min(this.x,e.x),this.y=Math.min(this.y,e.y),this}max(e){return this.x=Math.max(this.x,e.x),this.y=Math.max(this.y,e.y),this}clamp(e,t){return this.x=Math.max(e.x,Math.min(t.x,this.x)),this.y=Math.max(e.y,Math.min(t.y,this.y)),this}clampScalar(e,t){return this.x=Math.max(e,Math.min(t,this.x)),this.y=Math.max(e,Math.min(t,this.y)),this}clampLength(e,t){let i=this.length();return this.divideScalar(i||1).multiplyScalar(Math.max(e,Math.min(t,i)))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}roundToZero(){return this.x=this.x<0?Math.ceil(this.x):Math.floor(this.x),this.y=this.y<0?Math.ceil(this.y):Math.floor(this.y),this}negate(){return this.x=-this.x,this.y=-this.y,this}dot(e){return this.x*e.x+this.y*e.y}cross(e){return this.x*e.y-this.y*e.x}lengthSq(){return this.x*this.x+this.y*this.y}length(){return Math.sqrt(this.x*this.x+this.y*this.y)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)}normalize(){return this.divideScalar(this.length()||1)}angle(){return Math.atan2(-this.y,-this.x)+Math.PI}distanceTo(e){return Math.sqrt(this.distanceToSquared(e))}distanceToSquared(e){let t=this.x-e.x,i=this.y-e.y;return t*t+i*i}manhattanDistanceTo(e){return Math.abs(this.x-e.x)+Math.abs(this.y-e.y)}setLength(e){return this.normalize().multiplyScalar(e)}lerp(e,t){return this.x+=(e.x-this.x)*t,this.y+=(e.y-this.y)*t,this}lerpVectors(e,t,i){return this.x=e.x+(t.x-e.x)*i,this.y=e.y+(t.y-e.y)*i,this}equals(e){return e.x===this.x&&e.y===this.y}fromArray(e,t=0){return this.x=e[t],this.y=e[t+1],this}toArray(e=[],t=0){return e[t]=this.x,e[t+1]=this.y,e}fromBufferAttribute(e,t,i){return i!==void 0&&console.warn("THREE.Vector2: offset has been removed from .fromBufferAttribute()."),this.x=e.getX(t),this.y=e.getY(t),this}rotateAround(e,t){let i=Math.cos(t),n=Math.sin(t),s=this.x-e.x,o=this.y-e.y;return this.x=s*i-o*n+e.x,this.y=s*n+o*i+e.y,this}random(){return this.x=Math.random(),this.y=Math.random(),this}*[Symbol.iterator](){yield this.x,yield this.y}};ee.prototype.isVector2=!0;var wt=class{constructor(){this.elements=[1,0,0,0,1,0,0,0,1],arguments.length>0&&console.error("THREE.Matrix3: the constructor no longer reads arguments. use .set() instead.")}set(e,t,i,n,s,o,a,l,c){let u=this.elements;return u[0]=e,u[1]=n,u[2]=a,u[3]=t,u[4]=s,u[5]=l,u[6]=i,u[7]=o,u[8]=c,this}identity(){return this.set(1,0,0,0,1,0,0,0,1),this}copy(e){let t=this.elements,i=e.elements;return t[0]=i[0],t[1]=i[1],t[2]=i[2],t[3]=i[3],t[4]=i[4],t[5]=i[5],t[6]=i[6],t[7]=i[7],t[8]=i[8],this}extractBasis(e,t,i){return e.setFromMatrix3Column(this,0),t.setFromMatrix3Column(this,1),i.setFromMatrix3Column(this,2),this}setFromMatrix4(e){let t=e.elements;return this.set(t[0],t[4],t[8],t[1],t[5],t[9],t[2],t[6],t[10]),this}multiply(e){return this.multiplyMatrices(this,e)}premultiply(e){return this.multiplyMatrices(e,this)}multiplyMatrices(e,t){let i=e.elements,n=t.elements,s=this.elements,o=i[0],a=i[3],l=i[6],c=i[1],u=i[4],h=i[7],d=i[2],p=i[5],m=i[8],y=n[0],x=n[3],g=n[6],f=n[1],E=n[4],w=n[7],_=n[2],M=n[5],T=n[8];return s[0]=o*y+a*f+l*_,s[3]=o*x+a*E+l*M,s[6]=o*g+a*w+l*T,s[1]=c*y+u*f+h*_,s[4]=c*x+u*E+h*M,s[7]=c*g+u*w+h*T,s[2]=d*y+p*f+m*_,s[5]=d*x+p*E+m*M,s[8]=d*g+p*w+m*T,this}multiplyScalar(e){let t=this.elements;return t[0]*=e,t[3]*=e,t[6]*=e,t[1]*=e,t[4]*=e,t[7]*=e,t[2]*=e,t[5]*=e,t[8]*=e,this}determinant(){let e=this.elements,t=e[0],i=e[1],n=e[2],s=e[3],o=e[4],a=e[5],l=e[6],c=e[7],u=e[8];return t*o*u-t*a*c-i*s*u+i*a*l+n*s*c-n*o*l}invert(){let e=this.elements,t=e[0],i=e[1],n=e[2],s=e[3],o=e[4],a=e[5],l=e[6],c=e[7],u=e[8],h=u*o-a*c,d=a*l-u*s,p=c*s-o*l,m=t*h+i*d+n*p;if(m===0)return this.set(0,0,0,0,0,0,0,0,0);let y=1/m;return e[0]=h*y,e[1]=(n*c-u*i)*y,e[2]=(a*i-n*o)*y,e[3]=d*y,e[4]=(u*t-n*l)*y,e[5]=(n*s-a*t)*y,e[6]=p*y,e[7]=(i*l-c*t)*y,e[8]=(o*t-i*s)*y,this}transpose(){let e,t=this.elements;return e=t[1],t[1]=t[3],t[3]=e,e=t[2],t[2]=t[6],t[6]=e,e=t[5],t[5]=t[7],t[7]=e,this}getNormalMatrix(e){return this.setFromMatrix4(e).invert().transpose()}transposeIntoArray(e){let t=this.elements;return e[0]=t[0],e[1]=t[3],e[2]=t[6],e[3]=t[1],e[4]=t[4],e[5]=t[7],e[6]=t[2],e[7]=t[5],e[8]=t[8],this}setUvTransform(e,t,i,n,s,o,a){let l=Math.cos(s),c=Math.sin(s);return this.set(i*l,i*c,-i*(l*o+c*a)+o+e,-n*c,n*l,-n*(-c*o+l*a)+a+t,0,0,1),this}scale(e,t){let i=this.elements;return i[0]*=e,i[3]*=e,i[6]*=e,i[1]*=t,i[4]*=t,i[7]*=t,this}rotate(e){let t=Math.cos(e),i=Math.sin(e),n=this.elements,s=n[0],o=n[3],a=n[6],l=n[1],c=n[4],u=n[7];return n[0]=t*s+i*l,n[3]=t*o+i*c,n[6]=t*a+i*u,n[1]=-i*s+t*l,n[4]=-i*o+t*c,n[7]=-i*a+t*u,this}translate(e,t){let i=this.elements;return i[0]+=e*i[2],i[3]+=e*i[5],i[6]+=e*i[8],i[1]+=t*i[2],i[4]+=t*i[5],i[7]+=t*i[8],this}equals(e){let t=this.elements,i=e.elements;for(let n=0;n<9;n++)if(t[n]!==i[n])return!1;return!0}fromArray(e,t=0){for(let i=0;i<9;i++)this.elements[i]=e[i+t];return this}toArray(e=[],t=0){let i=this.elements;return e[t]=i[0],e[t+1]=i[1],e[t+2]=i[2],e[t+3]=i[3],e[t+4]=i[4],e[t+5]=i[5],e[t+6]=i[6],e[t+7]=i[7],e[t+8]=i[8],e}clone(){return new this.constructor().fromArray(this.elements)}};wt.prototype.isMatrix3=!0;function hm(r){for(let e=r.length-1;e>=0;--e)if(r[e]>65535)return!0;return!1}function kr(r){return document.createElementNS("http://www.w3.org/1999/xhtml",r)}var dm={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074},ci={h:0,s:0,l:0},jo={h:0,s:0,l:0};function Uc(r,e,t){return t<0&&(t+=1),t>1&&(t-=1),t<1/6?r+(e-r)*6*t:t<1/2?e:t<2/3?r+(e-r)*6*(2/3-t):r}function Fs(r){return r<.04045?r*.0773993808:Math.pow(r*.9478672986+.0521327014,2.4)}function Hc(r){return r<.0031308?r*12.92:1.055*Math.pow(r,.41666)-.055}var ye=class{constructor(e,t,i){return t===void 0&&i===void 0?this.set(e):this.setRGB(e,t,i)}set(e){return e&&e.isColor?this.copy(e):typeof e=="number"?this.setHex(e):typeof e=="string"&&this.setStyle(e),this}setScalar(e){return this.r=e,this.g=e,this.b=e,this}setHex(e){return e=Math.floor(e),this.r=(e>>16&255)/255,this.g=(e>>8&255)/255,this.b=(e&255)/255,this}setRGB(e,t,i){return this.r=e,this.g=t,this.b=i,this}setHSL(e,t,i){if(e=wv(e,1),t=Ut(t,0,1),i=Ut(i,0,1),t===0)this.r=this.g=this.b=i;else{let n=i<=.5?i*(1+t):i+t-i*t,s=2*i-n;this.r=Uc(s,n,e+1/3),this.g=Uc(s,n,e),this.b=Uc(s,n,e-1/3)}return this}setStyle(e){function t(n){n!==void 0&&parseFloat(n)<1&&console.warn("THREE.Color: Alpha component of "+e+" will be ignored.")}let i;if(i=/^((?:rgb|hsl)a?)\(([^\)]*)\)/.exec(e)){let n,s=i[1],o=i[2];switch(s){case"rgb":case"rgba":if(n=/^\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(o))return this.r=Math.min(255,parseInt(n[1],10))/255,this.g=Math.min(255,parseInt(n[2],10))/255,this.b=Math.min(255,parseInt(n[3],10))/255,t(n[4]),this;if(n=/^\s*(\d+)\%\s*,\s*(\d+)\%\s*,\s*(\d+)\%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(o))return this.r=Math.min(100,parseInt(n[1],10))/100,this.g=Math.min(100,parseInt(n[2],10))/100,this.b=Math.min(100,parseInt(n[3],10))/100,t(n[4]),this;break;case"hsl":case"hsla":if(n=/^\s*(\d*\.?\d+)\s*,\s*(\d+)\%\s*,\s*(\d+)\%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(o)){let a=parseFloat(n[1])/360,l=parseInt(n[2],10)/100,c=parseInt(n[3],10)/100;return t(n[4]),this.setHSL(a,l,c)}break}}else if(i=/^\#([A-Fa-f\d]+)$/.exec(e)){let n=i[1],s=n.length;if(s===3)return this.r=parseInt(n.charAt(0)+n.charAt(0),16)/255,this.g=parseInt(n.charAt(1)+n.charAt(1),16)/255,this.b=parseInt(n.charAt(2)+n.charAt(2),16)/255,this;if(s===6)return this.r=parseInt(n.charAt(0)+n.charAt(1),16)/255,this.g=parseInt(n.charAt(2)+n.charAt(3),16)/255,this.b=parseInt(n.charAt(4)+n.charAt(5),16)/255,this}return e&&e.length>0?this.setColorName(e):this}setColorName(e){let t=dm[e.toLowerCase()];return t!==void 0?this.setHex(t):console.warn("THREE.Color: Unknown color "+e),this}clone(){return new this.constructor(this.r,this.g,this.b)}copy(e){return this.r=e.r,this.g=e.g,this.b=e.b,this}copySRGBToLinear(e){return this.r=Fs(e.r),this.g=Fs(e.g),this.b=Fs(e.b),this}copyLinearToSRGB(e){return this.r=Hc(e.r),this.g=Hc(e.g),this.b=Hc(e.b),this}convertSRGBToLinear(){return this.copySRGBToLinear(this),this}convertLinearToSRGB(){return this.copyLinearToSRGB(this),this}getHex(){return this.r*255<<16^this.g*255<<8^this.b*255<<0}getHexString(){return("000000"+this.getHex().toString(16)).slice(-6)}getHSL(e){let t=this.r,i=this.g,n=this.b,s=Math.max(t,i,n),o=Math.min(t,i,n),a,l,c=(o+s)/2;if(o===s)a=0,l=0;else{let u=s-o;switch(l=c<=.5?u/(s+o):u/(2-s-o),s){case t:a=(i-n)/u+(i"u")return e.src;let t;if(e instanceof HTMLCanvasElement)t=e;else{os===void 0&&(os=kr("canvas")),os.width=e.width,os.height=e.height;let i=os.getContext("2d");e instanceof ImageData?i.putImageData(e,0,0):i.drawImage(e,0,0,e.width,e.height),t=os}return t.width>2048||t.height>2048?(console.warn("THREE.ImageUtils.getDataURL: Image converted to jpg for performance reasons",e),t.toDataURL("image/jpeg",.6)):t.toDataURL("image/png")}static sRGBToLinear(e){if(typeof HTMLImageElement<"u"&&e instanceof HTMLImageElement||typeof HTMLCanvasElement<"u"&&e instanceof HTMLCanvasElement||typeof ImageBitmap<"u"&&e instanceof ImageBitmap){let t=kr("canvas");t.width=e.width,t.height=e.height;let i=t.getContext("2d");i.drawImage(e,0,0,e.width,e.height);let n=i.getImageData(0,0,e.width,e.height),s=n.data;for(let o=0;o1)switch(this.wrapS){case bu:e.x=e.x-Math.floor(e.x);break;case Kt:e.x=e.x<0?0:1;break;case _u:Math.abs(Math.floor(e.x)%2)===1?e.x=Math.ceil(e.x)-e.x:e.x=e.x-Math.floor(e.x);break}if(e.y<0||e.y>1)switch(this.wrapT){case bu:e.y=e.y-Math.floor(e.y);break;case Kt:e.y=e.y<0?0:1;break;case _u:Math.abs(Math.floor(e.y)%2)===1?e.y=Math.ceil(e.y)-e.y:e.y=e.y-Math.floor(e.y);break}return this.flipY&&(e.y=1-e.y),e}set needsUpdate(e){e===!0&&this.version++}};lt.DEFAULT_IMAGE=void 0;lt.DEFAULT_MAPPING=cm;lt.prototype.isTexture=!0;function Gc(r){return typeof HTMLImageElement<"u"&&r instanceof HTMLImageElement||typeof HTMLCanvasElement<"u"&&r instanceof HTMLCanvasElement||typeof ImageBitmap<"u"&&r instanceof ImageBitmap?Yi.getDataURL(r):r.data?{data:Array.prototype.slice.call(r.data),width:r.width,height:r.height,type:r.data.constructor.name}:(console.warn("THREE.Texture: Unable to serialize Texture."),{})}var $e=class{constructor(e=0,t=0,i=0,n=1){this.x=e,this.y=t,this.z=i,this.w=n}get width(){return this.z}set width(e){this.z=e}get height(){return this.w}set height(e){this.w=e}set(e,t,i,n){return this.x=e,this.y=t,this.z=i,this.w=n,this}setScalar(e){return this.x=e,this.y=e,this.z=e,this.w=e,this}setX(e){return this.x=e,this}setY(e){return this.y=e,this}setZ(e){return this.z=e,this}setW(e){return this.w=e,this}setComponent(e,t){switch(e){case 0:this.x=t;break;case 1:this.y=t;break;case 2:this.z=t;break;case 3:this.w=t;break;default:throw new Error("index is out of range: "+e)}return this}getComponent(e){switch(e){case 0:return this.x;case 1:return this.y;case 2:return this.z;case 3:return this.w;default:throw new Error("index is out of range: "+e)}}clone(){return new this.constructor(this.x,this.y,this.z,this.w)}copy(e){return this.x=e.x,this.y=e.y,this.z=e.z,this.w=e.w!==void 0?e.w:1,this}add(e,t){return t!==void 0?(console.warn("THREE.Vector4: .add() now only accepts one argument. Use .addVectors( a, b ) instead."),this.addVectors(e,t)):(this.x+=e.x,this.y+=e.y,this.z+=e.z,this.w+=e.w,this)}addScalar(e){return this.x+=e,this.y+=e,this.z+=e,this.w+=e,this}addVectors(e,t){return this.x=e.x+t.x,this.y=e.y+t.y,this.z=e.z+t.z,this.w=e.w+t.w,this}addScaledVector(e,t){return this.x+=e.x*t,this.y+=e.y*t,this.z+=e.z*t,this.w+=e.w*t,this}sub(e,t){return t!==void 0?(console.warn("THREE.Vector4: .sub() now only accepts one argument. Use .subVectors( a, b ) instead."),this.subVectors(e,t)):(this.x-=e.x,this.y-=e.y,this.z-=e.z,this.w-=e.w,this)}subScalar(e){return this.x-=e,this.y-=e,this.z-=e,this.w-=e,this}subVectors(e,t){return this.x=e.x-t.x,this.y=e.y-t.y,this.z=e.z-t.z,this.w=e.w-t.w,this}multiply(e){return this.x*=e.x,this.y*=e.y,this.z*=e.z,this.w*=e.w,this}multiplyScalar(e){return this.x*=e,this.y*=e,this.z*=e,this.w*=e,this}applyMatrix4(e){let t=this.x,i=this.y,n=this.z,s=this.w,o=e.elements;return this.x=o[0]*t+o[4]*i+o[8]*n+o[12]*s,this.y=o[1]*t+o[5]*i+o[9]*n+o[13]*s,this.z=o[2]*t+o[6]*i+o[10]*n+o[14]*s,this.w=o[3]*t+o[7]*i+o[11]*n+o[15]*s,this}divideScalar(e){return this.multiplyScalar(1/e)}setAxisAngleFromQuaternion(e){this.w=2*Math.acos(e.w);let t=Math.sqrt(1-e.w*e.w);return t<1e-4?(this.x=1,this.y=0,this.z=0):(this.x=e.x/t,this.y=e.y/t,this.z=e.z/t),this}setAxisAngleFromRotationMatrix(e){let t,i,n,s,l=e.elements,c=l[0],u=l[4],h=l[8],d=l[1],p=l[5],m=l[9],y=l[2],x=l[6],g=l[10];if(Math.abs(u-d)<.01&&Math.abs(h-y)<.01&&Math.abs(m-x)<.01){if(Math.abs(u+d)<.1&&Math.abs(h+y)<.1&&Math.abs(m+x)<.1&&Math.abs(c+p+g-3)<.1)return this.set(1,0,0,0),this;t=Math.PI;let E=(c+1)/2,w=(p+1)/2,_=(g+1)/2,M=(u+d)/4,T=(h+y)/4,z=(m+x)/4;return E>w&&E>_?E<.01?(i=0,n=.707106781,s=.707106781):(i=Math.sqrt(E),n=M/i,s=T/i):w>_?w<.01?(i=.707106781,n=0,s=.707106781):(n=Math.sqrt(w),i=M/n,s=z/n):_<.01?(i=.707106781,n=.707106781,s=0):(s=Math.sqrt(_),i=T/s,n=z/s),this.set(i,n,s,t),this}let f=Math.sqrt((x-m)*(x-m)+(h-y)*(h-y)+(d-u)*(d-u));return Math.abs(f)<.001&&(f=1),this.x=(x-m)/f,this.y=(h-y)/f,this.z=(d-u)/f,this.w=Math.acos((c+p+g-1)/2),this}min(e){return this.x=Math.min(this.x,e.x),this.y=Math.min(this.y,e.y),this.z=Math.min(this.z,e.z),this.w=Math.min(this.w,e.w),this}max(e){return this.x=Math.max(this.x,e.x),this.y=Math.max(this.y,e.y),this.z=Math.max(this.z,e.z),this.w=Math.max(this.w,e.w),this}clamp(e,t){return this.x=Math.max(e.x,Math.min(t.x,this.x)),this.y=Math.max(e.y,Math.min(t.y,this.y)),this.z=Math.max(e.z,Math.min(t.z,this.z)),this.w=Math.max(e.w,Math.min(t.w,this.w)),this}clampScalar(e,t){return this.x=Math.max(e,Math.min(t,this.x)),this.y=Math.max(e,Math.min(t,this.y)),this.z=Math.max(e,Math.min(t,this.z)),this.w=Math.max(e,Math.min(t,this.w)),this}clampLength(e,t){let i=this.length();return this.divideScalar(i||1).multiplyScalar(Math.max(e,Math.min(t,i)))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this.z=Math.floor(this.z),this.w=Math.floor(this.w),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this.z=Math.ceil(this.z),this.w=Math.ceil(this.w),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this.z=Math.round(this.z),this.w=Math.round(this.w),this}roundToZero(){return this.x=this.x<0?Math.ceil(this.x):Math.floor(this.x),this.y=this.y<0?Math.ceil(this.y):Math.floor(this.y),this.z=this.z<0?Math.ceil(this.z):Math.floor(this.z),this.w=this.w<0?Math.ceil(this.w):Math.floor(this.w),this}negate(){return this.x=-this.x,this.y=-this.y,this.z=-this.z,this.w=-this.w,this}dot(e){return this.x*e.x+this.y*e.y+this.z*e.z+this.w*e.w}lengthSq(){return this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w}length(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)+Math.abs(this.w)}normalize(){return this.divideScalar(this.length()||1)}setLength(e){return this.normalize().multiplyScalar(e)}lerp(e,t){return this.x+=(e.x-this.x)*t,this.y+=(e.y-this.y)*t,this.z+=(e.z-this.z)*t,this.w+=(e.w-this.w)*t,this}lerpVectors(e,t,i){return this.x=e.x+(t.x-e.x)*i,this.y=e.y+(t.y-e.y)*i,this.z=e.z+(t.z-e.z)*i,this.w=e.w+(t.w-e.w)*i,this}equals(e){return e.x===this.x&&e.y===this.y&&e.z===this.z&&e.w===this.w}fromArray(e,t=0){return this.x=e[t],this.y=e[t+1],this.z=e[t+2],this.w=e[t+3],this}toArray(e=[],t=0){return e[t]=this.x,e[t+1]=this.y,e[t+2]=this.z,e[t+3]=this.w,e}fromBufferAttribute(e,t,i){return i!==void 0&&console.warn("THREE.Vector4: offset has been removed from .fromBufferAttribute()."),this.x=e.getX(t),this.y=e.getY(t),this.z=e.getZ(t),this.w=e.getW(t),this}random(){return this.x=Math.random(),this.y=Math.random(),this.z=Math.random(),this.w=Math.random(),this}*[Symbol.iterator](){yield this.x,yield this.y,yield this.z,yield this.w}};$e.prototype.isVector4=!0;var Ht=class extends Xi{constructor(e,t,i={}){super(),this.width=e,this.height=t,this.depth=1,this.scissor=new $e(0,0,e,t),this.scissorTest=!1,this.viewport=new $e(0,0,e,t),this.texture=new lt(void 0,i.mapping,i.wrapS,i.wrapT,i.magFilter,i.minFilter,i.format,i.type,i.anisotropy,i.encoding),this.texture.isRenderTargetTexture=!0,this.texture.image={width:e,height:t,depth:1},this.texture.generateMipmaps=i.generateMipmaps!==void 0?i.generateMipmaps:!1,this.texture.internalFormat=i.internalFormat!==void 0?i.internalFormat:null,this.texture.minFilter=i.minFilter!==void 0?i.minFilter:Ft,this.depthBuffer=i.depthBuffer!==void 0?i.depthBuffer:!0,this.stencilBuffer=i.stencilBuffer!==void 0?i.stencilBuffer:!1,this.depthTexture=i.depthTexture!==void 0?i.depthTexture:null}setTexture(e){e.image={width:this.width,height:this.height,depth:this.depth},this.texture=e}setSize(e,t,i=1){(this.width!==e||this.height!==t||this.depth!==i)&&(this.width=e,this.height=t,this.depth=i,this.texture.image.width=e,this.texture.image.height=t,this.texture.image.depth=i,this.dispose()),this.viewport.set(0,0,e,t),this.scissor.set(0,0,e,t)}clone(){return new this.constructor().copy(this)}copy(e){return this.width=e.width,this.height=e.height,this.depth=e.depth,this.viewport.copy(e.viewport),this.texture=e.texture.clone(),this.texture.image=Object.assign({},e.texture.image),this.depthBuffer=e.depthBuffer,this.stencilBuffer=e.stencilBuffer,this.depthTexture=e.depthTexture,this}dispose(){this.dispatchEvent({type:"dispose"})}};Ht.prototype.isWebGLRenderTarget=!0;var Su=class extends Ht{constructor(e,t,i){super(e,t);let n=this.texture;this.texture=[];for(let s=0;s=0?1:-1,E=1-g*g;if(E>Number.EPSILON){let _=Math.sqrt(E),M=Math.atan2(_,g*f);x=Math.sin(x*M)/_,a=Math.sin(a*M)/_}let w=a*f;if(l=l*x+d*w,c=c*x+p*w,u=u*x+m*w,h=h*x+y*w,x===1-a){let _=1/Math.sqrt(l*l+c*c+u*u+h*h);l*=_,c*=_,u*=_,h*=_}}e[t]=l,e[t+1]=c,e[t+2]=u,e[t+3]=h}static multiplyQuaternionsFlat(e,t,i,n,s,o){let a=i[n],l=i[n+1],c=i[n+2],u=i[n+3],h=s[o],d=s[o+1],p=s[o+2],m=s[o+3];return e[t]=a*m+u*h+l*p-c*d,e[t+1]=l*m+u*d+c*h-a*p,e[t+2]=c*m+u*p+a*d-l*h,e[t+3]=u*m-a*h-l*d-c*p,e}get x(){return this._x}set x(e){this._x=e,this._onChangeCallback()}get y(){return this._y}set y(e){this._y=e,this._onChangeCallback()}get z(){return this._z}set z(e){this._z=e,this._onChangeCallback()}get w(){return this._w}set w(e){this._w=e,this._onChangeCallback()}set(e,t,i,n){return this._x=e,this._y=t,this._z=i,this._w=n,this._onChangeCallback(),this}clone(){return new this.constructor(this._x,this._y,this._z,this._w)}copy(e){return this._x=e.x,this._y=e.y,this._z=e.z,this._w=e.w,this._onChangeCallback(),this}setFromEuler(e,t){if(!(e&&e.isEuler))throw new Error("THREE.Quaternion: .setFromEuler() now expects an Euler rotation rather than a Vector3 and order.");let i=e._x,n=e._y,s=e._z,o=e._order,a=Math.cos,l=Math.sin,c=a(i/2),u=a(n/2),h=a(s/2),d=l(i/2),p=l(n/2),m=l(s/2);switch(o){case"XYZ":this._x=d*u*h+c*p*m,this._y=c*p*h-d*u*m,this._z=c*u*m+d*p*h,this._w=c*u*h-d*p*m;break;case"YXZ":this._x=d*u*h+c*p*m,this._y=c*p*h-d*u*m,this._z=c*u*m-d*p*h,this._w=c*u*h+d*p*m;break;case"ZXY":this._x=d*u*h-c*p*m,this._y=c*p*h+d*u*m,this._z=c*u*m+d*p*h,this._w=c*u*h-d*p*m;break;case"ZYX":this._x=d*u*h-c*p*m,this._y=c*p*h+d*u*m,this._z=c*u*m-d*p*h,this._w=c*u*h+d*p*m;break;case"YZX":this._x=d*u*h+c*p*m,this._y=c*p*h+d*u*m,this._z=c*u*m-d*p*h,this._w=c*u*h-d*p*m;break;case"XZY":this._x=d*u*h-c*p*m,this._y=c*p*h-d*u*m,this._z=c*u*m+d*p*h,this._w=c*u*h+d*p*m;break;default:console.warn("THREE.Quaternion: .setFromEuler() encountered an unknown order: "+o)}return t!==!1&&this._onChangeCallback(),this}setFromAxisAngle(e,t){let i=t/2,n=Math.sin(i);return this._x=e.x*n,this._y=e.y*n,this._z=e.z*n,this._w=Math.cos(i),this._onChangeCallback(),this}setFromRotationMatrix(e){let t=e.elements,i=t[0],n=t[4],s=t[8],o=t[1],a=t[5],l=t[9],c=t[2],u=t[6],h=t[10],d=i+a+h;if(d>0){let p=.5/Math.sqrt(d+1);this._w=.25/p,this._x=(u-l)*p,this._y=(s-c)*p,this._z=(o-n)*p}else if(i>a&&i>h){let p=2*Math.sqrt(1+i-a-h);this._w=(u-l)/p,this._x=.25*p,this._y=(n+o)/p,this._z=(s+c)/p}else if(a>h){let p=2*Math.sqrt(1+a-i-h);this._w=(s-c)/p,this._x=(n+o)/p,this._y=.25*p,this._z=(l+u)/p}else{let p=2*Math.sqrt(1+h-i-a);this._w=(o-n)/p,this._x=(s+c)/p,this._y=(l+u)/p,this._z=.25*p}return this._onChangeCallback(),this}setFromUnitVectors(e,t){let i=e.dot(t)+1;return iMath.abs(e.z)?(this._x=-e.y,this._y=e.x,this._z=0,this._w=i):(this._x=0,this._y=-e.z,this._z=e.y,this._w=i)):(this._x=e.y*t.z-e.z*t.y,this._y=e.z*t.x-e.x*t.z,this._z=e.x*t.y-e.y*t.x,this._w=i),this.normalize()}angleTo(e){return 2*Math.acos(Math.abs(Ut(this.dot(e),-1,1)))}rotateTowards(e,t){let i=this.angleTo(e);if(i===0)return this;let n=Math.min(1,t/i);return this.slerp(e,n),this}identity(){return this.set(0,0,0,1)}invert(){return this.conjugate()}conjugate(){return this._x*=-1,this._y*=-1,this._z*=-1,this._onChangeCallback(),this}dot(e){return this._x*e._x+this._y*e._y+this._z*e._z+this._w*e._w}lengthSq(){return this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w}length(){return Math.sqrt(this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w)}normalize(){let e=this.length();return e===0?(this._x=0,this._y=0,this._z=0,this._w=1):(e=1/e,this._x=this._x*e,this._y=this._y*e,this._z=this._z*e,this._w=this._w*e),this._onChangeCallback(),this}multiply(e,t){return t!==void 0?(console.warn("THREE.Quaternion: .multiply() now only accepts one argument. Use .multiplyQuaternions( a, b ) instead."),this.multiplyQuaternions(e,t)):this.multiplyQuaternions(this,e)}premultiply(e){return this.multiplyQuaternions(e,this)}multiplyQuaternions(e,t){let i=e._x,n=e._y,s=e._z,o=e._w,a=t._x,l=t._y,c=t._z,u=t._w;return this._x=i*u+o*a+n*c-s*l,this._y=n*u+o*l+s*a-i*c,this._z=s*u+o*c+i*l-n*a,this._w=o*u-i*a-n*l-s*c,this._onChangeCallback(),this}slerp(e,t){if(t===0)return this;if(t===1)return this.copy(e);let i=this._x,n=this._y,s=this._z,o=this._w,a=o*e._w+i*e._x+n*e._y+s*e._z;if(a<0?(this._w=-e._w,this._x=-e._x,this._y=-e._y,this._z=-e._z,a=-a):this.copy(e),a>=1)return this._w=o,this._x=i,this._y=n,this._z=s,this;let l=1-a*a;if(l<=Number.EPSILON){let p=1-t;return this._w=p*o+t*this._w,this._x=p*i+t*this._x,this._y=p*n+t*this._y,this._z=p*s+t*this._z,this.normalize(),this._onChangeCallback(),this}let c=Math.sqrt(l),u=Math.atan2(c,a),h=Math.sin((1-t)*u)/c,d=Math.sin(t*u)/c;return this._w=o*h+this._w*d,this._x=i*h+this._x*d,this._y=n*h+this._y*d,this._z=s*h+this._z*d,this._onChangeCallback(),this}slerpQuaternions(e,t,i){return this.copy(e).slerp(t,i)}random(){let e=Math.random(),t=Math.sqrt(1-e),i=Math.sqrt(e),n=2*Math.PI*Math.random(),s=2*Math.PI*Math.random();return this.set(t*Math.cos(n),i*Math.sin(s),i*Math.cos(s),t*Math.sin(n))}equals(e){return e._x===this._x&&e._y===this._y&&e._z===this._z&&e._w===this._w}fromArray(e,t=0){return this._x=e[t],this._y=e[t+1],this._z=e[t+2],this._w=e[t+3],this._onChangeCallback(),this}toArray(e=[],t=0){return e[t]=this._x,e[t+1]=this._y,e[t+2]=this._z,e[t+3]=this._w,e}fromBufferAttribute(e,t){return this._x=e.getX(t),this._y=e.getY(t),this._z=e.getZ(t),this._w=e.getW(t),this}_onChange(e){return this._onChangeCallback=e,this}_onChangeCallback(){}};Lt.prototype.isQuaternion=!0;var P=class{constructor(e=0,t=0,i=0){this.x=e,this.y=t,this.z=i}set(e,t,i){return i===void 0&&(i=this.z),this.x=e,this.y=t,this.z=i,this}setScalar(e){return this.x=e,this.y=e,this.z=e,this}setX(e){return this.x=e,this}setY(e){return this.y=e,this}setZ(e){return this.z=e,this}setComponent(e,t){switch(e){case 0:this.x=t;break;case 1:this.y=t;break;case 2:this.z=t;break;default:throw new Error("index is out of range: "+e)}return this}getComponent(e){switch(e){case 0:return this.x;case 1:return this.y;case 2:return this.z;default:throw new Error("index is out of range: "+e)}}clone(){return new this.constructor(this.x,this.y,this.z)}copy(e){return this.x=e.x,this.y=e.y,this.z=e.z,this}add(e,t){return t!==void 0?(console.warn("THREE.Vector3: .add() now only accepts one argument. Use .addVectors( a, b ) instead."),this.addVectors(e,t)):(this.x+=e.x,this.y+=e.y,this.z+=e.z,this)}addScalar(e){return this.x+=e,this.y+=e,this.z+=e,this}addVectors(e,t){return this.x=e.x+t.x,this.y=e.y+t.y,this.z=e.z+t.z,this}addScaledVector(e,t){return this.x+=e.x*t,this.y+=e.y*t,this.z+=e.z*t,this}sub(e,t){return t!==void 0?(console.warn("THREE.Vector3: .sub() now only accepts one argument. Use .subVectors( a, b ) instead."),this.subVectors(e,t)):(this.x-=e.x,this.y-=e.y,this.z-=e.z,this)}subScalar(e){return this.x-=e,this.y-=e,this.z-=e,this}subVectors(e,t){return this.x=e.x-t.x,this.y=e.y-t.y,this.z=e.z-t.z,this}multiply(e,t){return t!==void 0?(console.warn("THREE.Vector3: .multiply() now only accepts one argument. Use .multiplyVectors( a, b ) instead."),this.multiplyVectors(e,t)):(this.x*=e.x,this.y*=e.y,this.z*=e.z,this)}multiplyScalar(e){return this.x*=e,this.y*=e,this.z*=e,this}multiplyVectors(e,t){return this.x=e.x*t.x,this.y=e.y*t.y,this.z=e.z*t.z,this}applyEuler(e){return e&&e.isEuler||console.error("THREE.Vector3: .applyEuler() now expects an Euler rotation rather than a Vector3 and order."),this.applyQuaternion(ef.setFromEuler(e))}applyAxisAngle(e,t){return this.applyQuaternion(ef.setFromAxisAngle(e,t))}applyMatrix3(e){let t=this.x,i=this.y,n=this.z,s=e.elements;return this.x=s[0]*t+s[3]*i+s[6]*n,this.y=s[1]*t+s[4]*i+s[7]*n,this.z=s[2]*t+s[5]*i+s[8]*n,this}applyNormalMatrix(e){return this.applyMatrix3(e).normalize()}applyMatrix4(e){let t=this.x,i=this.y,n=this.z,s=e.elements,o=1/(s[3]*t+s[7]*i+s[11]*n+s[15]);return this.x=(s[0]*t+s[4]*i+s[8]*n+s[12])*o,this.y=(s[1]*t+s[5]*i+s[9]*n+s[13])*o,this.z=(s[2]*t+s[6]*i+s[10]*n+s[14])*o,this}applyQuaternion(e){let t=this.x,i=this.y,n=this.z,s=e.x,o=e.y,a=e.z,l=e.w,c=l*t+o*n-a*i,u=l*i+a*t-s*n,h=l*n+s*i-o*t,d=-s*t-o*i-a*n;return this.x=c*l+d*-s+u*-a-h*-o,this.y=u*l+d*-o+h*-s-c*-a,this.z=h*l+d*-a+c*-o-u*-s,this}project(e){return this.applyMatrix4(e.matrixWorldInverse).applyMatrix4(e.projectionMatrix)}unproject(e){return this.applyMatrix4(e.projectionMatrixInverse).applyMatrix4(e.matrixWorld)}transformDirection(e){let t=this.x,i=this.y,n=this.z,s=e.elements;return this.x=s[0]*t+s[4]*i+s[8]*n,this.y=s[1]*t+s[5]*i+s[9]*n,this.z=s[2]*t+s[6]*i+s[10]*n,this.normalize()}divide(e){return this.x/=e.x,this.y/=e.y,this.z/=e.z,this}divideScalar(e){return this.multiplyScalar(1/e)}min(e){return this.x=Math.min(this.x,e.x),this.y=Math.min(this.y,e.y),this.z=Math.min(this.z,e.z),this}max(e){return this.x=Math.max(this.x,e.x),this.y=Math.max(this.y,e.y),this.z=Math.max(this.z,e.z),this}clamp(e,t){return this.x=Math.max(e.x,Math.min(t.x,this.x)),this.y=Math.max(e.y,Math.min(t.y,this.y)),this.z=Math.max(e.z,Math.min(t.z,this.z)),this}clampScalar(e,t){return this.x=Math.max(e,Math.min(t,this.x)),this.y=Math.max(e,Math.min(t,this.y)),this.z=Math.max(e,Math.min(t,this.z)),this}clampLength(e,t){let i=this.length();return this.divideScalar(i||1).multiplyScalar(Math.max(e,Math.min(t,i)))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this.z=Math.floor(this.z),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this.z=Math.ceil(this.z),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this.z=Math.round(this.z),this}roundToZero(){return this.x=this.x<0?Math.ceil(this.x):Math.floor(this.x),this.y=this.y<0?Math.ceil(this.y):Math.floor(this.y),this.z=this.z<0?Math.ceil(this.z):Math.floor(this.z),this}negate(){return this.x=-this.x,this.y=-this.y,this.z=-this.z,this}dot(e){return this.x*e.x+this.y*e.y+this.z*e.z}lengthSq(){return this.x*this.x+this.y*this.y+this.z*this.z}length(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)}normalize(){return this.divideScalar(this.length()||1)}setLength(e){return this.normalize().multiplyScalar(e)}lerp(e,t){return this.x+=(e.x-this.x)*t,this.y+=(e.y-this.y)*t,this.z+=(e.z-this.z)*t,this}lerpVectors(e,t,i){return this.x=e.x+(t.x-e.x)*i,this.y=e.y+(t.y-e.y)*i,this.z=e.z+(t.z-e.z)*i,this}cross(e,t){return t!==void 0?(console.warn("THREE.Vector3: .cross() now only accepts one argument. Use .crossVectors( a, b ) instead."),this.crossVectors(e,t)):this.crossVectors(this,e)}crossVectors(e,t){let i=e.x,n=e.y,s=e.z,o=t.x,a=t.y,l=t.z;return this.x=n*l-s*a,this.y=s*o-i*l,this.z=i*a-n*o,this}projectOnVector(e){let t=e.lengthSq();if(t===0)return this.set(0,0,0);let i=e.dot(this)/t;return this.copy(e).multiplyScalar(i)}projectOnPlane(e){return qc.copy(this).projectOnVector(e),this.sub(qc)}reflect(e){return this.sub(qc.copy(e).multiplyScalar(2*this.dot(e)))}angleTo(e){let t=Math.sqrt(this.lengthSq()*e.lengthSq());if(t===0)return Math.PI/2;let i=this.dot(e)/t;return Math.acos(Ut(i,-1,1))}distanceTo(e){return Math.sqrt(this.distanceToSquared(e))}distanceToSquared(e){let t=this.x-e.x,i=this.y-e.y,n=this.z-e.z;return t*t+i*i+n*n}manhattanDistanceTo(e){return Math.abs(this.x-e.x)+Math.abs(this.y-e.y)+Math.abs(this.z-e.z)}setFromSpherical(e){return this.setFromSphericalCoords(e.radius,e.phi,e.theta)}setFromSphericalCoords(e,t,i){let n=Math.sin(t)*e;return this.x=n*Math.sin(i),this.y=Math.cos(t)*e,this.z=n*Math.cos(i),this}setFromCylindrical(e){return this.setFromCylindricalCoords(e.radius,e.theta,e.y)}setFromCylindricalCoords(e,t,i){return this.x=e*Math.sin(t),this.y=i,this.z=e*Math.cos(t),this}setFromMatrixPosition(e){let t=e.elements;return this.x=t[12],this.y=t[13],this.z=t[14],this}setFromMatrixScale(e){let t=this.setFromMatrixColumn(e,0).length(),i=this.setFromMatrixColumn(e,1).length(),n=this.setFromMatrixColumn(e,2).length();return this.x=t,this.y=i,this.z=n,this}setFromMatrixColumn(e,t){return this.fromArray(e.elements,t*4)}setFromMatrix3Column(e,t){return this.fromArray(e.elements,t*3)}equals(e){return e.x===this.x&&e.y===this.y&&e.z===this.z}fromArray(e,t=0){return this.x=e[t],this.y=e[t+1],this.z=e[t+2],this}toArray(e=[],t=0){return e[t]=this.x,e[t+1]=this.y,e[t+2]=this.z,e}fromBufferAttribute(e,t,i){return i!==void 0&&console.warn("THREE.Vector3: offset has been removed from .fromBufferAttribute()."),this.x=e.getX(t),this.y=e.getY(t),this.z=e.getZ(t),this}random(){return this.x=Math.random(),this.y=Math.random(),this.z=Math.random(),this}randomDirection(){let e=(Math.random()-.5)*2,t=Math.random()*Math.PI*2,i=Math.sqrt(1-e**2);return this.x=i*Math.cos(t),this.y=i*Math.sin(t),this.z=e,this}*[Symbol.iterator](){yield this.x,yield this.y,yield this.z}};P.prototype.isVector3=!0;var qc=new P,ef=new Lt,Qt=class{constructor(e=new P(1/0,1/0,1/0),t=new P(-1/0,-1/0,-1/0)){this.min=e,this.max=t}set(e,t){return this.min.copy(e),this.max.copy(t),this}setFromArray(e){let t=1/0,i=1/0,n=1/0,s=-1/0,o=-1/0,a=-1/0;for(let l=0,c=e.length;ls&&(s=u),h>o&&(o=h),d>a&&(a=d)}return this.min.set(t,i,n),this.max.set(s,o,a),this}setFromBufferAttribute(e){let t=1/0,i=1/0,n=1/0,s=-1/0,o=-1/0,a=-1/0;for(let l=0,c=e.count;ls&&(s=u),h>o&&(o=h),d>a&&(a=d)}return this.min.set(t,i,n),this.max.set(s,o,a),this}setFromPoints(e){this.makeEmpty();for(let t=0,i=e.length;tthis.max.x||e.ythis.max.y||e.zthis.max.z)}containsBox(e){return this.min.x<=e.min.x&&e.max.x<=this.max.x&&this.min.y<=e.min.y&&e.max.y<=this.max.y&&this.min.z<=e.min.z&&e.max.z<=this.max.z}getParameter(e,t){return t.set((e.x-this.min.x)/(this.max.x-this.min.x),(e.y-this.min.y)/(this.max.y-this.min.y),(e.z-this.min.z)/(this.max.z-this.min.z))}intersectsBox(e){return!(e.max.xthis.max.x||e.max.ythis.max.y||e.max.zthis.max.z)}intersectsSphere(e){return this.clampPoint(e.center,Nn),Nn.distanceToSquared(e.center)<=e.radius*e.radius}intersectsPlane(e){let t,i;return e.normal.x>0?(t=e.normal.x*this.min.x,i=e.normal.x*this.max.x):(t=e.normal.x*this.max.x,i=e.normal.x*this.min.x),e.normal.y>0?(t+=e.normal.y*this.min.y,i+=e.normal.y*this.max.y):(t+=e.normal.y*this.max.y,i+=e.normal.y*this.min.y),e.normal.z>0?(t+=e.normal.z*this.min.z,i+=e.normal.z*this.max.z):(t+=e.normal.z*this.max.z,i+=e.normal.z*this.min.z),t<=-e.constant&&i>=-e.constant}intersectsTriangle(e){if(this.isEmpty())return!1;this.getCenter(vr),Xo.subVectors(this.max,vr),as.subVectors(e.a,vr),ls.subVectors(e.b,vr),cs.subVectors(e.c,vr),an.subVectors(ls,as),ln.subVectors(cs,ls),kn.subVectors(as,cs);let t=[0,-an.z,an.y,0,-ln.z,ln.y,0,-kn.z,kn.y,an.z,0,-an.x,ln.z,0,-ln.x,kn.z,0,-kn.x,-an.y,an.x,0,-ln.y,ln.x,0,-kn.y,kn.x,0];return!$c(t,as,ls,cs,Xo)||(t=[1,0,0,0,1,0,0,0,1],!$c(t,as,ls,cs,Xo))?!1:(Yo.crossVectors(an,ln),t=[Yo.x,Yo.y,Yo.z],$c(t,as,ls,cs,Xo))}clampPoint(e,t){return t.copy(e).clamp(this.min,this.max)}distanceToPoint(e){return Nn.copy(e).clamp(this.min,this.max).sub(e).length()}getBoundingSphere(e){return this.getCenter(e.center),e.radius=this.getSize(Nn).length()*.5,e}intersect(e){return this.min.max(e.min),this.max.min(e.max),this.isEmpty()&&this.makeEmpty(),this}union(e){return this.min.min(e.min),this.max.max(e.max),this}applyMatrix4(e){return this.isEmpty()?this:(Hi[0].set(this.min.x,this.min.y,this.min.z).applyMatrix4(e),Hi[1].set(this.min.x,this.min.y,this.max.z).applyMatrix4(e),Hi[2].set(this.min.x,this.max.y,this.min.z).applyMatrix4(e),Hi[3].set(this.min.x,this.max.y,this.max.z).applyMatrix4(e),Hi[4].set(this.max.x,this.min.y,this.min.z).applyMatrix4(e),Hi[5].set(this.max.x,this.min.y,this.max.z).applyMatrix4(e),Hi[6].set(this.max.x,this.max.y,this.min.z).applyMatrix4(e),Hi[7].set(this.max.x,this.max.y,this.max.z).applyMatrix4(e),this.setFromPoints(Hi),this)}translate(e){return this.min.add(e),this.max.add(e),this}equals(e){return e.min.equals(this.min)&&e.max.equals(this.max)}};Qt.prototype.isBox3=!0;var Hi=[new P,new P,new P,new P,new P,new P,new P,new P],Nn=new P,Wc=new Qt,as=new P,ls=new P,cs=new P,an=new P,ln=new P,kn=new P,vr=new P,Xo=new P,Yo=new P,On=new P;function $c(r,e,t,i,n){for(let s=0,o=r.length-3;s<=o;s+=3){On.fromArray(r,s);let a=n.x*Math.abs(On.x)+n.y*Math.abs(On.y)+n.z*Math.abs(On.z),l=e.dot(On),c=t.dot(On),u=i.dot(On);if(Math.max(-Math.max(l,c,u),Math.min(l,c,u))>a)return!1}return!0}var Ev=new Qt,tf=new P,Zo=new P,jc=new P,Ci=class{constructor(e=new P,t=-1){this.center=e,this.radius=t}set(e,t){return this.center.copy(e),this.radius=t,this}setFromPoints(e,t){let i=this.center;t!==void 0?i.copy(t):Ev.setFromPoints(e).getCenter(i);let n=0;for(let s=0,o=e.length;sthis.radius*this.radius&&(t.sub(this.center).normalize(),t.multiplyScalar(this.radius).add(this.center)),t}getBoundingBox(e){return this.isEmpty()?(e.makeEmpty(),e):(e.set(this.center,this.center),e.expandByScalar(this.radius),e)}applyMatrix4(e){return this.center.applyMatrix4(e),this.radius=this.radius*e.getMaxScaleOnAxis(),this}translate(e){return this.center.add(e),this}expandByPoint(e){jc.subVectors(e,this.center);let t=jc.lengthSq();if(t>this.radius*this.radius){let i=Math.sqrt(t),n=(i-this.radius)*.5;this.center.add(jc.multiplyScalar(n/i)),this.radius+=n}return this}union(e){return this.center.equals(e.center)===!0?Zo.set(0,0,1).multiplyScalar(e.radius):Zo.subVectors(e.center,this.center).normalize().multiplyScalar(e.radius),this.expandByPoint(tf.copy(e.center).add(Zo)),this.expandByPoint(tf.copy(e.center).sub(Zo)),this}equals(e){return e.center.equals(this.center)&&e.radius===this.radius}clone(){return new this.constructor().copy(this)}},Gi=new P,Xc=new P,Jo=new P,cn=new P,Yc=new P,Ko=new P,Zc=new P,_n=class{constructor(e=new P,t=new P(0,0,-1)){this.origin=e,this.direction=t}set(e,t){return this.origin.copy(e),this.direction.copy(t),this}copy(e){return this.origin.copy(e.origin),this.direction.copy(e.direction),this}at(e,t){return t.copy(this.direction).multiplyScalar(e).add(this.origin)}lookAt(e){return this.direction.copy(e).sub(this.origin).normalize(),this}recast(e){return this.origin.copy(this.at(e,Gi)),this}closestPointToPoint(e,t){t.subVectors(e,this.origin);let i=t.dot(this.direction);return i<0?t.copy(this.origin):t.copy(this.direction).multiplyScalar(i).add(this.origin)}distanceToPoint(e){return Math.sqrt(this.distanceSqToPoint(e))}distanceSqToPoint(e){let t=Gi.subVectors(e,this.origin).dot(this.direction);return t<0?this.origin.distanceToSquared(e):(Gi.copy(this.direction).multiplyScalar(t).add(this.origin),Gi.distanceToSquared(e))}distanceSqToSegment(e,t,i,n){Xc.copy(e).add(t).multiplyScalar(.5),Jo.copy(t).sub(e).normalize(),cn.copy(this.origin).sub(Xc);let s=e.distanceTo(t)*.5,o=-this.direction.dot(Jo),a=cn.dot(this.direction),l=-cn.dot(Jo),c=cn.lengthSq(),u=Math.abs(1-o*o),h,d,p,m;if(u>0)if(h=o*l-a,d=o*a-l,m=s*u,h>=0)if(d>=-m)if(d<=m){let y=1/u;h*=y,d*=y,p=h*(h+o*d+2*a)+d*(o*h+d+2*l)+c}else d=s,h=Math.max(0,-(o*d+a)),p=-h*h+d*(d+2*l)+c;else d=-s,h=Math.max(0,-(o*d+a)),p=-h*h+d*(d+2*l)+c;else d<=-m?(h=Math.max(0,-(-o*s+a)),d=h>0?-s:Math.min(Math.max(-s,-l),s),p=-h*h+d*(d+2*l)+c):d<=m?(h=0,d=Math.min(Math.max(-s,-l),s),p=d*(d+2*l)+c):(h=Math.max(0,-(o*s+a)),d=h>0?s:Math.min(Math.max(-s,-l),s),p=-h*h+d*(d+2*l)+c);else d=o>0?-s:s,h=Math.max(0,-(o*d+a)),p=-h*h+d*(d+2*l)+c;return i&&i.copy(this.direction).multiplyScalar(h).add(this.origin),n&&n.copy(Jo).multiplyScalar(d).add(Xc),p}intersectSphere(e,t){Gi.subVectors(e.center,this.origin);let i=Gi.dot(this.direction),n=Gi.dot(Gi)-i*i,s=e.radius*e.radius;if(n>s)return null;let o=Math.sqrt(s-n),a=i-o,l=i+o;return a<0&&l<0?null:a<0?this.at(l,t):this.at(a,t)}intersectsSphere(e){return this.distanceSqToPoint(e.center)<=e.radius*e.radius}distanceToPlane(e){let t=e.normal.dot(this.direction);if(t===0)return e.distanceToPoint(this.origin)===0?0:null;let i=-(this.origin.dot(e.normal)+e.constant)/t;return i>=0?i:null}intersectPlane(e,t){let i=this.distanceToPlane(e);return i===null?null:this.at(i,t)}intersectsPlane(e){let t=e.distanceToPoint(this.origin);return t===0||e.normal.dot(this.direction)*t<0}intersectBox(e,t){let i,n,s,o,a,l,c=1/this.direction.x,u=1/this.direction.y,h=1/this.direction.z,d=this.origin;return c>=0?(i=(e.min.x-d.x)*c,n=(e.max.x-d.x)*c):(i=(e.max.x-d.x)*c,n=(e.min.x-d.x)*c),u>=0?(s=(e.min.y-d.y)*u,o=(e.max.y-d.y)*u):(s=(e.max.y-d.y)*u,o=(e.min.y-d.y)*u),i>o||s>n||((s>i||i!==i)&&(i=s),(o=0?(a=(e.min.z-d.z)*h,l=(e.max.z-d.z)*h):(a=(e.max.z-d.z)*h,l=(e.min.z-d.z)*h),i>l||a>n)||((a>i||i!==i)&&(i=a),(l=0?i:n,t)}intersectsBox(e){return this.intersectBox(e,Gi)!==null}intersectTriangle(e,t,i,n,s){Yc.subVectors(t,e),Ko.subVectors(i,e),Zc.crossVectors(Yc,Ko);let o=this.direction.dot(Zc),a;if(o>0){if(n)return null;a=1}else if(o<0)a=-1,o=-o;else return null;cn.subVectors(this.origin,e);let l=a*this.direction.dot(Ko.crossVectors(cn,Ko));if(l<0)return null;let c=a*this.direction.dot(Yc.cross(cn));if(c<0||l+c>o)return null;let u=-a*cn.dot(Zc);return u<0?null:this.at(u/o,s)}applyMatrix4(e){return this.origin.applyMatrix4(e),this.direction.transformDirection(e),this}equals(e){return e.origin.equals(this.origin)&&e.direction.equals(this.direction)}clone(){return new this.constructor().copy(this)}},Ee=class r{constructor(){this.elements=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],arguments.length>0&&console.error("THREE.Matrix4: the constructor no longer reads arguments. use .set() instead.")}set(e,t,i,n,s,o,a,l,c,u,h,d,p,m,y,x){let g=this.elements;return g[0]=e,g[4]=t,g[8]=i,g[12]=n,g[1]=s,g[5]=o,g[9]=a,g[13]=l,g[2]=c,g[6]=u,g[10]=h,g[14]=d,g[3]=p,g[7]=m,g[11]=y,g[15]=x,this}identity(){return this.set(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1),this}clone(){return new r().fromArray(this.elements)}copy(e){let t=this.elements,i=e.elements;return t[0]=i[0],t[1]=i[1],t[2]=i[2],t[3]=i[3],t[4]=i[4],t[5]=i[5],t[6]=i[6],t[7]=i[7],t[8]=i[8],t[9]=i[9],t[10]=i[10],t[11]=i[11],t[12]=i[12],t[13]=i[13],t[14]=i[14],t[15]=i[15],this}copyPosition(e){let t=this.elements,i=e.elements;return t[12]=i[12],t[13]=i[13],t[14]=i[14],this}setFromMatrix3(e){let t=e.elements;return this.set(t[0],t[3],t[6],0,t[1],t[4],t[7],0,t[2],t[5],t[8],0,0,0,0,1),this}extractBasis(e,t,i){return e.setFromMatrixColumn(this,0),t.setFromMatrixColumn(this,1),i.setFromMatrixColumn(this,2),this}makeBasis(e,t,i){return this.set(e.x,t.x,i.x,0,e.y,t.y,i.y,0,e.z,t.z,i.z,0,0,0,0,1),this}extractRotation(e){let t=this.elements,i=e.elements,n=1/us.setFromMatrixColumn(e,0).length(),s=1/us.setFromMatrixColumn(e,1).length(),o=1/us.setFromMatrixColumn(e,2).length();return t[0]=i[0]*n,t[1]=i[1]*n,t[2]=i[2]*n,t[3]=0,t[4]=i[4]*s,t[5]=i[5]*s,t[6]=i[6]*s,t[7]=0,t[8]=i[8]*o,t[9]=i[9]*o,t[10]=i[10]*o,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,this}makeRotationFromEuler(e){e&&e.isEuler||console.error("THREE.Matrix4: .makeRotationFromEuler() now expects a Euler rotation rather than a Vector3 and order.");let t=this.elements,i=e.x,n=e.y,s=e.z,o=Math.cos(i),a=Math.sin(i),l=Math.cos(n),c=Math.sin(n),u=Math.cos(s),h=Math.sin(s);if(e.order==="XYZ"){let d=o*u,p=o*h,m=a*u,y=a*h;t[0]=l*u,t[4]=-l*h,t[8]=c,t[1]=p+m*c,t[5]=d-y*c,t[9]=-a*l,t[2]=y-d*c,t[6]=m+p*c,t[10]=o*l}else if(e.order==="YXZ"){let d=l*u,p=l*h,m=c*u,y=c*h;t[0]=d+y*a,t[4]=m*a-p,t[8]=o*c,t[1]=o*h,t[5]=o*u,t[9]=-a,t[2]=p*a-m,t[6]=y+d*a,t[10]=o*l}else if(e.order==="ZXY"){let d=l*u,p=l*h,m=c*u,y=c*h;t[0]=d-y*a,t[4]=-o*h,t[8]=m+p*a,t[1]=p+m*a,t[5]=o*u,t[9]=y-d*a,t[2]=-o*c,t[6]=a,t[10]=o*l}else if(e.order==="ZYX"){let d=o*u,p=o*h,m=a*u,y=a*h;t[0]=l*u,t[4]=m*c-p,t[8]=d*c+y,t[1]=l*h,t[5]=y*c+d,t[9]=p*c-m,t[2]=-c,t[6]=a*l,t[10]=o*l}else if(e.order==="YZX"){let d=o*l,p=o*c,m=a*l,y=a*c;t[0]=l*u,t[4]=y-d*h,t[8]=m*h+p,t[1]=h,t[5]=o*u,t[9]=-a*u,t[2]=-c*u,t[6]=p*h+m,t[10]=d-y*h}else if(e.order==="XZY"){let d=o*l,p=o*c,m=a*l,y=a*c;t[0]=l*u,t[4]=-h,t[8]=c*u,t[1]=d*h+y,t[5]=o*u,t[9]=p*h-m,t[2]=m*h-p,t[6]=a*u,t[10]=y*h+d}return t[3]=0,t[7]=0,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,this}makeRotationFromQuaternion(e){return this.compose(Av,e,Sv)}lookAt(e,t,i){let n=this.elements;return Zt.subVectors(e,t),Zt.lengthSq()===0&&(Zt.z=1),Zt.normalize(),un.crossVectors(i,Zt),un.lengthSq()===0&&(Math.abs(i.z)===1?Zt.x+=1e-4:Zt.z+=1e-4,Zt.normalize(),un.crossVectors(i,Zt)),un.normalize(),Qo.crossVectors(Zt,un),n[0]=un.x,n[4]=Qo.x,n[8]=Zt.x,n[1]=un.y,n[5]=Qo.y,n[9]=Zt.y,n[2]=un.z,n[6]=Qo.z,n[10]=Zt.z,this}multiply(e,t){return t!==void 0?(console.warn("THREE.Matrix4: .multiply() now only accepts one argument. Use .multiplyMatrices( a, b ) instead."),this.multiplyMatrices(e,t)):this.multiplyMatrices(this,e)}premultiply(e){return this.multiplyMatrices(e,this)}multiplyMatrices(e,t){let i=e.elements,n=t.elements,s=this.elements,o=i[0],a=i[4],l=i[8],c=i[12],u=i[1],h=i[5],d=i[9],p=i[13],m=i[2],y=i[6],x=i[10],g=i[14],f=i[3],E=i[7],w=i[11],_=i[15],M=n[0],T=n[4],z=n[8],W=n[12],A=n[1],v=n[5],R=n[9],S=n[13],B=n[2],L=n[6],C=n[10],N=n[14],k=n[3],V=n[7],U=n[11],q=n[15];return s[0]=o*M+a*A+l*B+c*k,s[4]=o*T+a*v+l*L+c*V,s[8]=o*z+a*R+l*C+c*U,s[12]=o*W+a*S+l*N+c*q,s[1]=u*M+h*A+d*B+p*k,s[5]=u*T+h*v+d*L+p*V,s[9]=u*z+h*R+d*C+p*U,s[13]=u*W+h*S+d*N+p*q,s[2]=m*M+y*A+x*B+g*k,s[6]=m*T+y*v+x*L+g*V,s[10]=m*z+y*R+x*C+g*U,s[14]=m*W+y*S+x*N+g*q,s[3]=f*M+E*A+w*B+_*k,s[7]=f*T+E*v+w*L+_*V,s[11]=f*z+E*R+w*C+_*U,s[15]=f*W+E*S+w*N+_*q,this}multiplyScalar(e){let t=this.elements;return t[0]*=e,t[4]*=e,t[8]*=e,t[12]*=e,t[1]*=e,t[5]*=e,t[9]*=e,t[13]*=e,t[2]*=e,t[6]*=e,t[10]*=e,t[14]*=e,t[3]*=e,t[7]*=e,t[11]*=e,t[15]*=e,this}determinant(){let e=this.elements,t=e[0],i=e[4],n=e[8],s=e[12],o=e[1],a=e[5],l=e[9],c=e[13],u=e[2],h=e[6],d=e[10],p=e[14],m=e[3],y=e[7],x=e[11],g=e[15];return m*(+s*l*h-n*c*h-s*a*d+i*c*d+n*a*p-i*l*p)+y*(+t*l*p-t*c*d+s*o*d-n*o*p+n*c*u-s*l*u)+x*(+t*c*h-t*a*p-s*o*h+i*o*p+s*a*u-i*c*u)+g*(-n*a*u-t*l*h+t*a*d+n*o*h-i*o*d+i*l*u)}transpose(){let e=this.elements,t;return t=e[1],e[1]=e[4],e[4]=t,t=e[2],e[2]=e[8],e[8]=t,t=e[6],e[6]=e[9],e[9]=t,t=e[3],e[3]=e[12],e[12]=t,t=e[7],e[7]=e[13],e[13]=t,t=e[11],e[11]=e[14],e[14]=t,this}setPosition(e,t,i){let n=this.elements;return e.isVector3?(n[12]=e.x,n[13]=e.y,n[14]=e.z):(n[12]=e,n[13]=t,n[14]=i),this}invert(){let e=this.elements,t=e[0],i=e[1],n=e[2],s=e[3],o=e[4],a=e[5],l=e[6],c=e[7],u=e[8],h=e[9],d=e[10],p=e[11],m=e[12],y=e[13],x=e[14],g=e[15],f=h*x*c-y*d*c+y*l*p-a*x*p-h*l*g+a*d*g,E=m*d*c-u*x*c-m*l*p+o*x*p+u*l*g-o*d*g,w=u*y*c-m*h*c+m*a*p-o*y*p-u*a*g+o*h*g,_=m*h*l-u*y*l-m*a*d+o*y*d+u*a*x-o*h*x,M=t*f+i*E+n*w+s*_;if(M===0)return this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);let T=1/M;return e[0]=f*T,e[1]=(y*d*s-h*x*s-y*n*p+i*x*p+h*n*g-i*d*g)*T,e[2]=(a*x*s-y*l*s+y*n*c-i*x*c-a*n*g+i*l*g)*T,e[3]=(h*l*s-a*d*s-h*n*c+i*d*c+a*n*p-i*l*p)*T,e[4]=E*T,e[5]=(u*x*s-m*d*s+m*n*p-t*x*p-u*n*g+t*d*g)*T,e[6]=(m*l*s-o*x*s-m*n*c+t*x*c+o*n*g-t*l*g)*T,e[7]=(o*d*s-u*l*s+u*n*c-t*d*c-o*n*p+t*l*p)*T,e[8]=w*T,e[9]=(m*h*s-u*y*s-m*i*p+t*y*p+u*i*g-t*h*g)*T,e[10]=(o*y*s-m*a*s+m*i*c-t*y*c-o*i*g+t*a*g)*T,e[11]=(u*a*s-o*h*s-u*i*c+t*h*c+o*i*p-t*a*p)*T,e[12]=_*T,e[13]=(u*y*n-m*h*n+m*i*d-t*y*d-u*i*x+t*h*x)*T,e[14]=(m*a*n-o*y*n-m*i*l+t*y*l+o*i*x-t*a*x)*T,e[15]=(o*h*n-u*a*n+u*i*l-t*h*l-o*i*d+t*a*d)*T,this}scale(e){let t=this.elements,i=e.x,n=e.y,s=e.z;return t[0]*=i,t[4]*=n,t[8]*=s,t[1]*=i,t[5]*=n,t[9]*=s,t[2]*=i,t[6]*=n,t[10]*=s,t[3]*=i,t[7]*=n,t[11]*=s,this}getMaxScaleOnAxis(){let e=this.elements,t=e[0]*e[0]+e[1]*e[1]+e[2]*e[2],i=e[4]*e[4]+e[5]*e[5]+e[6]*e[6],n=e[8]*e[8]+e[9]*e[9]+e[10]*e[10];return Math.sqrt(Math.max(t,i,n))}makeTranslation(e,t,i){return this.set(1,0,0,e,0,1,0,t,0,0,1,i,0,0,0,1),this}makeRotationX(e){let t=Math.cos(e),i=Math.sin(e);return this.set(1,0,0,0,0,t,-i,0,0,i,t,0,0,0,0,1),this}makeRotationY(e){let t=Math.cos(e),i=Math.sin(e);return this.set(t,0,i,0,0,1,0,0,-i,0,t,0,0,0,0,1),this}makeRotationZ(e){let t=Math.cos(e),i=Math.sin(e);return this.set(t,-i,0,0,i,t,0,0,0,0,1,0,0,0,0,1),this}makeRotationAxis(e,t){let i=Math.cos(t),n=Math.sin(t),s=1-i,o=e.x,a=e.y,l=e.z,c=s*o,u=s*a;return this.set(c*o+i,c*a-n*l,c*l+n*a,0,c*a+n*l,u*a+i,u*l-n*o,0,c*l-n*a,u*l+n*o,s*l*l+i,0,0,0,0,1),this}makeScale(e,t,i){return this.set(e,0,0,0,0,t,0,0,0,0,i,0,0,0,0,1),this}makeShear(e,t,i,n,s,o){return this.set(1,i,s,0,e,1,o,0,t,n,1,0,0,0,0,1),this}compose(e,t,i){let n=this.elements,s=t._x,o=t._y,a=t._z,l=t._w,c=s+s,u=o+o,h=a+a,d=s*c,p=s*u,m=s*h,y=o*u,x=o*h,g=a*h,f=l*c,E=l*u,w=l*h,_=i.x,M=i.y,T=i.z;return n[0]=(1-(y+g))*_,n[1]=(p+w)*_,n[2]=(m-E)*_,n[3]=0,n[4]=(p-w)*M,n[5]=(1-(d+g))*M,n[6]=(x+f)*M,n[7]=0,n[8]=(m+E)*T,n[9]=(x-f)*T,n[10]=(1-(d+y))*T,n[11]=0,n[12]=e.x,n[13]=e.y,n[14]=e.z,n[15]=1,this}decompose(e,t,i){let n=this.elements,s=us.set(n[0],n[1],n[2]).length(),o=us.set(n[4],n[5],n[6]).length(),a=us.set(n[8],n[9],n[10]).length();this.determinant()<0&&(s=-s),e.x=n[12],e.y=n[13],e.z=n[14],ui.copy(this);let c=1/s,u=1/o,h=1/a;return ui.elements[0]*=c,ui.elements[1]*=c,ui.elements[2]*=c,ui.elements[4]*=u,ui.elements[5]*=u,ui.elements[6]*=u,ui.elements[8]*=h,ui.elements[9]*=h,ui.elements[10]*=h,t.setFromRotationMatrix(ui),i.x=s,i.y=o,i.z=a,this}makePerspective(e,t,i,n,s,o){o===void 0&&console.warn("THREE.Matrix4: .makePerspective() has been redefined and has a new signature. Please check the docs.");let a=this.elements,l=2*s/(t-e),c=2*s/(i-n),u=(t+e)/(t-e),h=(i+n)/(i-n),d=-(o+s)/(o-s),p=-2*o*s/(o-s);return a[0]=l,a[4]=0,a[8]=u,a[12]=0,a[1]=0,a[5]=c,a[9]=h,a[13]=0,a[2]=0,a[6]=0,a[10]=d,a[14]=p,a[3]=0,a[7]=0,a[11]=-1,a[15]=0,this}makeOrthographic(e,t,i,n,s,o){let a=this.elements,l=1/(t-e),c=1/(i-n),u=1/(o-s),h=(t+e)*l,d=(i+n)*c,p=(o+s)*u;return a[0]=2*l,a[4]=0,a[8]=0,a[12]=-h,a[1]=0,a[5]=2*c,a[9]=0,a[13]=-d,a[2]=0,a[6]=0,a[10]=-2*u,a[14]=-p,a[3]=0,a[7]=0,a[11]=0,a[15]=1,this}equals(e){let t=this.elements,i=e.elements;for(let n=0;n<16;n++)if(t[n]!==i[n])return!1;return!0}fromArray(e,t=0){for(let i=0;i<16;i++)this.elements[i]=e[i+t];return this}toArray(e=[],t=0){let i=this.elements;return e[t]=i[0],e[t+1]=i[1],e[t+2]=i[2],e[t+3]=i[3],e[t+4]=i[4],e[t+5]=i[5],e[t+6]=i[6],e[t+7]=i[7],e[t+8]=i[8],e[t+9]=i[9],e[t+10]=i[10],e[t+11]=i[11],e[t+12]=i[12],e[t+13]=i[13],e[t+14]=i[14],e[t+15]=i[15],e}};Ee.prototype.isMatrix4=!0;var us=new P,ui=new Ee,Av=new P(0,0,0),Sv=new P(1,1,1),un=new P,Qo=new P,Zt=new P,nf=new Ee,sf=new Lt,Is=class r{constructor(e=0,t=0,i=0,n=r.DefaultOrder){this._x=e,this._y=t,this._z=i,this._order=n}get x(){return this._x}set x(e){this._x=e,this._onChangeCallback()}get y(){return this._y}set y(e){this._y=e,this._onChangeCallback()}get z(){return this._z}set z(e){this._z=e,this._onChangeCallback()}get order(){return this._order}set order(e){this._order=e,this._onChangeCallback()}set(e,t,i,n=this._order){return this._x=e,this._y=t,this._z=i,this._order=n,this._onChangeCallback(),this}clone(){return new this.constructor(this._x,this._y,this._z,this._order)}copy(e){return this._x=e._x,this._y=e._y,this._z=e._z,this._order=e._order,this._onChangeCallback(),this}setFromRotationMatrix(e,t=this._order,i=!0){let n=e.elements,s=n[0],o=n[4],a=n[8],l=n[1],c=n[5],u=n[9],h=n[2],d=n[6],p=n[10];switch(t){case"XYZ":this._y=Math.asin(Ut(a,-1,1)),Math.abs(a)<.9999999?(this._x=Math.atan2(-u,p),this._z=Math.atan2(-o,s)):(this._x=Math.atan2(d,c),this._z=0);break;case"YXZ":this._x=Math.asin(-Ut(u,-1,1)),Math.abs(u)<.9999999?(this._y=Math.atan2(a,p),this._z=Math.atan2(l,c)):(this._y=Math.atan2(-h,s),this._z=0);break;case"ZXY":this._x=Math.asin(Ut(d,-1,1)),Math.abs(d)<.9999999?(this._y=Math.atan2(-h,p),this._z=Math.atan2(-o,c)):(this._y=0,this._z=Math.atan2(l,s));break;case"ZYX":this._y=Math.asin(-Ut(h,-1,1)),Math.abs(h)<.9999999?(this._x=Math.atan2(d,p),this._z=Math.atan2(l,s)):(this._x=0,this._z=Math.atan2(-o,c));break;case"YZX":this._z=Math.asin(Ut(l,-1,1)),Math.abs(l)<.9999999?(this._x=Math.atan2(-u,c),this._y=Math.atan2(-h,s)):(this._x=0,this._y=Math.atan2(a,p));break;case"XZY":this._z=Math.asin(-Ut(o,-1,1)),Math.abs(o)<.9999999?(this._x=Math.atan2(d,c),this._y=Math.atan2(a,s)):(this._x=Math.atan2(-u,p),this._y=0);break;default:console.warn("THREE.Euler: .setFromRotationMatrix() encountered an unknown order: "+t)}return this._order=t,i===!0&&this._onChangeCallback(),this}setFromQuaternion(e,t,i){return nf.makeRotationFromQuaternion(e),this.setFromRotationMatrix(nf,t,i)}setFromVector3(e,t=this._order){return this.set(e.x,e.y,e.z,t)}reorder(e){return sf.setFromEuler(this),this.setFromQuaternion(sf,e)}equals(e){return e._x===this._x&&e._y===this._y&&e._z===this._z&&e._order===this._order}fromArray(e){return this._x=e[0],this._y=e[1],this._z=e[2],e[3]!==void 0&&(this._order=e[3]),this._onChangeCallback(),this}toArray(e=[],t=0){return e[t]=this._x,e[t+1]=this._y,e[t+2]=this._z,e[t+3]=this._order,e}toVector3(e){return e?e.set(this._x,this._y,this._z):new P(this._x,this._y,this._z)}_onChange(e){return this._onChangeCallback=e,this}_onChangeCallback(){}};Is.prototype.isEuler=!0;Is.DefaultOrder="XYZ";Is.RotationOrders=["XYZ","YZX","ZXY","XZY","YXZ","ZYX"];var Fa=class{constructor(){this.mask=1}set(e){this.mask=(1<>>0}enable(e){this.mask|=1<1){for(let t=0;t1){for(let i=0;i0){n.children=[];for(let a=0;a0){n.animations=[];for(let a=0;a0&&(i.geometries=a),l.length>0&&(i.materials=l),c.length>0&&(i.textures=c),u.length>0&&(i.images=u),h.length>0&&(i.shapes=h),d.length>0&&(i.skeletons=d),p.length>0&&(i.animations=p)}return i.object=n,i;function o(a){let l=[];for(let c in a){let u=a[c];delete u.metadata,l.push(u)}return l}}clone(e){return new this.constructor().copy(this,e)}copy(e,t=!0){if(this.name=e.name,this.up.copy(e.up),this.position.copy(e.position),this.rotation.order=e.rotation.order,this.quaternion.copy(e.quaternion),this.scale.copy(e.scale),this.matrix.copy(e.matrix),this.matrixWorld.copy(e.matrixWorld),this.matrixAutoUpdate=e.matrixAutoUpdate,this.matrixWorldNeedsUpdate=e.matrixWorldNeedsUpdate,this.layers.mask=e.layers.mask,this.visible=e.visible,this.castShadow=e.castShadow,this.receiveShadow=e.receiveShadow,this.frustumCulled=e.frustumCulled,this.renderOrder=e.renderOrder,this.userData=JSON.parse(JSON.stringify(e.userData)),t===!0)for(let i=0;i0?n.multiplyScalar(1/Math.sqrt(s)):n.set(0,0,0)}static getBarycoord(e,t,i,n,s){hi.subVectors(n,t),Wi.subVectors(i,t),Jc.subVectors(e,t);let o=hi.dot(hi),a=hi.dot(Wi),l=hi.dot(Jc),c=Wi.dot(Wi),u=Wi.dot(Jc),h=o*c-a*a;if(h===0)return s.set(-2,-1,-1);let d=1/h,p=(c*l-a*u)*d,m=(o*u-a*l)*d;return s.set(1-p-m,m,p)}static containsPoint(e,t,i,n){return this.getBarycoord(e,t,i,n,$i),$i.x>=0&&$i.y>=0&&$i.x+$i.y<=1}static getUV(e,t,i,n,s,o,a,l){return this.getBarycoord(e,t,i,n,$i),l.set(0,0),l.addScaledVector(s,$i.x),l.addScaledVector(o,$i.y),l.addScaledVector(a,$i.z),l}static isFrontFacing(e,t,i,n){return hi.subVectors(i,t),Wi.subVectors(e,t),hi.cross(Wi).dot(n)<0}set(e,t,i){return this.a.copy(e),this.b.copy(t),this.c.copy(i),this}setFromPointsAndIndices(e,t,i,n){return this.a.copy(e[t]),this.b.copy(e[i]),this.c.copy(e[n]),this}setFromAttributeAndIndices(e,t,i,n){return this.a.fromBufferAttribute(e,t),this.b.fromBufferAttribute(e,i),this.c.fromBufferAttribute(e,n),this}clone(){return new this.constructor().copy(this)}copy(e){return this.a.copy(e.a),this.b.copy(e.b),this.c.copy(e.c),this}getArea(){return hi.subVectors(this.c,this.b),Wi.subVectors(this.a,this.b),hi.cross(Wi).length()*.5}getMidpoint(e){return e.addVectors(this.a,this.b).add(this.c).multiplyScalar(1/3)}getNormal(e){return r.getNormal(this.a,this.b,this.c,e)}getPlane(e){return e.setFromCoplanarPoints(this.a,this.b,this.c)}getBarycoord(e,t){return r.getBarycoord(e,this.a,this.b,this.c,t)}getUV(e,t,i,n,s){return r.getUV(e,this.a,this.b,this.c,t,i,n,s)}containsPoint(e){return r.containsPoint(e,this.a,this.b,this.c)}isFrontFacing(e){return r.isFrontFacing(this.a,this.b,this.c,e)}intersectsBox(e){return e.intersectsTriangle(this)}closestPointToPoint(e,t){let i=this.a,n=this.b,s=this.c,o,a;ds.subVectors(n,i),ps.subVectors(s,i),Kc.subVectors(e,i);let l=ds.dot(Kc),c=ps.dot(Kc);if(l<=0&&c<=0)return t.copy(i);Qc.subVectors(e,n);let u=ds.dot(Qc),h=ps.dot(Qc);if(u>=0&&h<=u)return t.copy(n);let d=l*h-u*c;if(d<=0&&l>=0&&u<=0)return o=l/(l-u),t.copy(i).addScaledVector(ds,o);eu.subVectors(e,s);let p=ds.dot(eu),m=ps.dot(eu);if(m>=0&&p<=m)return t.copy(s);let y=p*c-l*m;if(y<=0&&c>=0&&m<=0)return a=c/(c-m),t.copy(i).addScaledVector(ps,a);let x=u*m-p*h;if(x<=0&&h-u>=0&&p-m>=0)return uf.subVectors(s,n),a=(h-u)/(h-u+(p-m)),t.copy(n).addScaledVector(uf,a);let g=1/(x+y+d);return o=y*g,a=d*g,t.copy(i).addScaledVector(ds,o).addScaledVector(ps,a)}equals(e){return e.a.equals(this.a)&&e.b.equals(this.b)&&e.c.equals(this.c)}},Rv=0,ft=class extends Xi{constructor(){super(),Object.defineProperty(this,"id",{value:Rv++}),this.uuid=pi(),this.name="",this.type="Material",this.fog=!0,this.blending=Rr,this.side=Pr,this.vertexColors=!1,this.opacity=1,this.transparent=!1,this.blendSrc=am,this.blendDst=lm,this.blendEquation=Ss,this.blendSrcAlpha=null,this.blendDstAlpha=null,this.blendEquationAlpha=null,this.depthFunc=xu,this.depthTest=!0,this.depthWrite=!0,this.stencilWriteMask=255,this.stencilFunc=vv,this.stencilRef=0,this.stencilFuncMask=255,this.stencilFail=Oc,this.stencilZFail=Oc,this.stencilZPass=Oc,this.stencilWrite=!1,this.clippingPlanes=null,this.clipIntersection=!1,this.clipShadows=!1,this.shadowSide=null,this.colorWrite=!0,this.precision=null,this.polygonOffset=!1,this.polygonOffsetFactor=0,this.polygonOffsetUnits=0,this.dithering=!1,this.alphaToCoverage=!1,this.premultipliedAlpha=!1,this.visible=!0,this.toneMapped=!0,this.userData={},this.version=0,this._alphaTest=0}get alphaTest(){return this._alphaTest}set alphaTest(e){this._alphaTest>0!=e>0&&this.version++,this._alphaTest=e}onBuild(){}onBeforeRender(){}onBeforeCompile(){}customProgramCacheKey(){return this.onBeforeCompile.toString()}setValues(e){if(e!==void 0)for(let t in e){let i=e[t];if(i===void 0){console.warn("THREE.Material: '"+t+"' parameter is undefined.");continue}if(t==="shading"){console.warn("THREE."+this.type+": .shading has been removed. Use the boolean .flatShading instead."),this.flatShading=i===om;continue}let n=this[t];if(n===void 0){console.warn("THREE."+this.type+": '"+t+"' is not a property of this material.");continue}n&&n.isColor?n.set(i):n&&n.isVector3&&i&&i.isVector3?n.copy(i):this[t]=i}}toJSON(e){let t=e===void 0||typeof e=="string";t&&(e={textures:{},images:{}});let i={metadata:{version:4.5,type:"Material",generator:"Material.toJSON"}};i.uuid=this.uuid,i.type=this.type,this.name!==""&&(i.name=this.name),this.color&&this.color.isColor&&(i.color=this.color.getHex()),this.roughness!==void 0&&(i.roughness=this.roughness),this.metalness!==void 0&&(i.metalness=this.metalness),this.sheen!==void 0&&(i.sheen=this.sheen),this.sheenColor&&this.sheenColor.isColor&&(i.sheenColor=this.sheenColor.getHex()),this.sheenRoughness!==void 0&&(i.sheenRoughness=this.sheenRoughness),this.emissive&&this.emissive.isColor&&(i.emissive=this.emissive.getHex()),this.emissiveIntensity&&this.emissiveIntensity!==1&&(i.emissiveIntensity=this.emissiveIntensity),this.specular&&this.specular.isColor&&(i.specular=this.specular.getHex()),this.specularIntensity!==void 0&&(i.specularIntensity=this.specularIntensity),this.specularColor&&this.specularColor.isColor&&(i.specularColor=this.specularColor.getHex()),this.shininess!==void 0&&(i.shininess=this.shininess),this.clearcoat!==void 0&&(i.clearcoat=this.clearcoat),this.clearcoatRoughness!==void 0&&(i.clearcoatRoughness=this.clearcoatRoughness),this.clearcoatMap&&this.clearcoatMap.isTexture&&(i.clearcoatMap=this.clearcoatMap.toJSON(e).uuid),this.clearcoatRoughnessMap&&this.clearcoatRoughnessMap.isTexture&&(i.clearcoatRoughnessMap=this.clearcoatRoughnessMap.toJSON(e).uuid),this.clearcoatNormalMap&&this.clearcoatNormalMap.isTexture&&(i.clearcoatNormalMap=this.clearcoatNormalMap.toJSON(e).uuid,i.clearcoatNormalScale=this.clearcoatNormalScale.toArray()),this.map&&this.map.isTexture&&(i.map=this.map.toJSON(e).uuid),this.matcap&&this.matcap.isTexture&&(i.matcap=this.matcap.toJSON(e).uuid),this.alphaMap&&this.alphaMap.isTexture&&(i.alphaMap=this.alphaMap.toJSON(e).uuid),this.lightMap&&this.lightMap.isTexture&&(i.lightMap=this.lightMap.toJSON(e).uuid,i.lightMapIntensity=this.lightMapIntensity),this.aoMap&&this.aoMap.isTexture&&(i.aoMap=this.aoMap.toJSON(e).uuid,i.aoMapIntensity=this.aoMapIntensity),this.bumpMap&&this.bumpMap.isTexture&&(i.bumpMap=this.bumpMap.toJSON(e).uuid,i.bumpScale=this.bumpScale),this.normalMap&&this.normalMap.isTexture&&(i.normalMap=this.normalMap.toJSON(e).uuid,i.normalMapType=this.normalMapType,i.normalScale=this.normalScale.toArray()),this.displacementMap&&this.displacementMap.isTexture&&(i.displacementMap=this.displacementMap.toJSON(e).uuid,i.displacementScale=this.displacementScale,i.displacementBias=this.displacementBias),this.roughnessMap&&this.roughnessMap.isTexture&&(i.roughnessMap=this.roughnessMap.toJSON(e).uuid),this.metalnessMap&&this.metalnessMap.isTexture&&(i.metalnessMap=this.metalnessMap.toJSON(e).uuid),this.emissiveMap&&this.emissiveMap.isTexture&&(i.emissiveMap=this.emissiveMap.toJSON(e).uuid),this.specularMap&&this.specularMap.isTexture&&(i.specularMap=this.specularMap.toJSON(e).uuid),this.specularIntensityMap&&this.specularIntensityMap.isTexture&&(i.specularIntensityMap=this.specularIntensityMap.toJSON(e).uuid),this.specularColorMap&&this.specularColorMap.isTexture&&(i.specularColorMap=this.specularColorMap.toJSON(e).uuid),this.envMap&&this.envMap.isTexture&&(i.envMap=this.envMap.toJSON(e).uuid,this.combine!==void 0&&(i.combine=this.combine)),this.envMapIntensity!==void 0&&(i.envMapIntensity=this.envMapIntensity),this.reflectivity!==void 0&&(i.reflectivity=this.reflectivity),this.refractionRatio!==void 0&&(i.refractionRatio=this.refractionRatio),this.gradientMap&&this.gradientMap.isTexture&&(i.gradientMap=this.gradientMap.toJSON(e).uuid),this.transmission!==void 0&&(i.transmission=this.transmission),this.transmissionMap&&this.transmissionMap.isTexture&&(i.transmissionMap=this.transmissionMap.toJSON(e).uuid),this.thickness!==void 0&&(i.thickness=this.thickness),this.thicknessMap&&this.thicknessMap.isTexture&&(i.thicknessMap=this.thicknessMap.toJSON(e).uuid),this.attenuationDistance!==void 0&&(i.attenuationDistance=this.attenuationDistance),this.attenuationColor!==void 0&&(i.attenuationColor=this.attenuationColor.getHex()),this.size!==void 0&&(i.size=this.size),this.shadowSide!==null&&(i.shadowSide=this.shadowSide),this.sizeAttenuation!==void 0&&(i.sizeAttenuation=this.sizeAttenuation),this.blending!==Rr&&(i.blending=this.blending),this.side!==Pr&&(i.side=this.side),this.vertexColors&&(i.vertexColors=!0),this.opacity<1&&(i.opacity=this.opacity),this.transparent===!0&&(i.transparent=this.transparent),i.depthFunc=this.depthFunc,i.depthTest=this.depthTest,i.depthWrite=this.depthWrite,i.colorWrite=this.colorWrite,i.stencilWrite=this.stencilWrite,i.stencilWriteMask=this.stencilWriteMask,i.stencilFunc=this.stencilFunc,i.stencilRef=this.stencilRef,i.stencilFuncMask=this.stencilFuncMask,i.stencilFail=this.stencilFail,i.stencilZFail=this.stencilZFail,i.stencilZPass=this.stencilZPass,this.rotation&&this.rotation!==0&&(i.rotation=this.rotation),this.polygonOffset===!0&&(i.polygonOffset=!0),this.polygonOffsetFactor!==0&&(i.polygonOffsetFactor=this.polygonOffsetFactor),this.polygonOffsetUnits!==0&&(i.polygonOffsetUnits=this.polygonOffsetUnits),this.linewidth&&this.linewidth!==1&&(i.linewidth=this.linewidth),this.dashSize!==void 0&&(i.dashSize=this.dashSize),this.gapSize!==void 0&&(i.gapSize=this.gapSize),this.scale!==void 0&&(i.scale=this.scale),this.dithering===!0&&(i.dithering=!0),this.alphaTest>0&&(i.alphaTest=this.alphaTest),this.alphaToCoverage===!0&&(i.alphaToCoverage=this.alphaToCoverage),this.premultipliedAlpha===!0&&(i.premultipliedAlpha=this.premultipliedAlpha),this.wireframe===!0&&(i.wireframe=this.wireframe),this.wireframeLinewidth>1&&(i.wireframeLinewidth=this.wireframeLinewidth),this.wireframeLinecap!=="round"&&(i.wireframeLinecap=this.wireframeLinecap),this.wireframeLinejoin!=="round"&&(i.wireframeLinejoin=this.wireframeLinejoin),this.flatShading===!0&&(i.flatShading=this.flatShading),this.visible===!1&&(i.visible=!1),this.toneMapped===!1&&(i.toneMapped=!1),JSON.stringify(this.userData)!=="{}"&&(i.userData=this.userData);function n(s){let o=[];for(let a in s){let l=s[a];delete l.metadata,o.push(l)}return o}if(t){let s=n(e.textures),o=n(e.images);s.length>0&&(i.textures=s),o.length>0&&(i.images=o)}return i}clone(){return new this.constructor().copy(this)}copy(e){this.name=e.name,this.fog=e.fog,this.blending=e.blending,this.side=e.side,this.vertexColors=e.vertexColors,this.opacity=e.opacity,this.transparent=e.transparent,this.blendSrc=e.blendSrc,this.blendDst=e.blendDst,this.blendEquation=e.blendEquation,this.blendSrcAlpha=e.blendSrcAlpha,this.blendDstAlpha=e.blendDstAlpha,this.blendEquationAlpha=e.blendEquationAlpha,this.depthFunc=e.depthFunc,this.depthTest=e.depthTest,this.depthWrite=e.depthWrite,this.stencilWriteMask=e.stencilWriteMask,this.stencilFunc=e.stencilFunc,this.stencilRef=e.stencilRef,this.stencilFuncMask=e.stencilFuncMask,this.stencilFail=e.stencilFail,this.stencilZFail=e.stencilZFail,this.stencilZPass=e.stencilZPass,this.stencilWrite=e.stencilWrite;let t=e.clippingPlanes,i=null;if(t!==null){let n=t.length;i=new Array(n);for(let s=0;s!==n;++s)i[s]=t[s].clone()}return this.clippingPlanes=i,this.clipIntersection=e.clipIntersection,this.clipShadows=e.clipShadows,this.shadowSide=e.shadowSide,this.colorWrite=e.colorWrite,this.precision=e.precision,this.polygonOffset=e.polygonOffset,this.polygonOffsetFactor=e.polygonOffsetFactor,this.polygonOffsetUnits=e.polygonOffsetUnits,this.dithering=e.dithering,this.alphaTest=e.alphaTest,this.alphaToCoverage=e.alphaToCoverage,this.premultipliedAlpha=e.premultipliedAlpha,this.visible=e.visible,this.toneMapped=e.toneMapped,this.userData=JSON.parse(JSON.stringify(e.userData)),this}dispose(){this.dispatchEvent({type:"dispose"})}set needsUpdate(e){e===!0&&this.version++}};ft.prototype.isMaterial=!0;var zr=class extends ft{constructor(e){super(),this.type="MeshBasicMaterial",this.color=new ye(16777215),this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.specularMap=null,this.alphaMap=null,this.envMap=null,this.combine=il,this.reflectivity=1,this.refractionRatio=.98,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.map=e.map,this.lightMap=e.lightMap,this.lightMapIntensity=e.lightMapIntensity,this.aoMap=e.aoMap,this.aoMapIntensity=e.aoMapIntensity,this.specularMap=e.specularMap,this.alphaMap=e.alphaMap,this.envMap=e.envMap,this.combine=e.combine,this.reflectivity=e.reflectivity,this.refractionRatio=e.refractionRatio,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.wireframeLinecap=e.wireframeLinecap,this.wireframeLinejoin=e.wireframeLinejoin,this}};zr.prototype.isMeshBasicMaterial=!0;var Je=new P,ta=new ee,ht=class{constructor(e,t,i){if(Array.isArray(e))throw new TypeError("THREE.BufferAttribute: array should be a Typed Array.");this.name="",this.array=e,this.itemSize=t,this.count=e!==void 0?e.length/t:0,this.normalized=i===!0,this.usage=Nr,this.updateRange={offset:0,count:-1},this.version=0}onUploadCallback(){}set needsUpdate(e){e===!0&&this.version++}setUsage(e){return this.usage=e,this}copy(e){return this.name=e.name,this.array=new e.array.constructor(e.array),this.itemSize=e.itemSize,this.count=e.count,this.normalized=e.normalized,this.usage=e.usage,this}copyAt(e,t,i){e*=this.itemSize,i*=t.itemSize;for(let n=0,s=this.itemSize;n0&&(e.userData=this.userData),this.parameters!==void 0){let l=this.parameters;for(let c in l)l[c]!==void 0&&(e[c]=l[c]);return e}e.data={attributes:{}};let t=this.index;t!==null&&(e.data.index={type:t.array.constructor.name,array:Array.prototype.slice.call(t.array)});let i=this.attributes;for(let l in i){let c=i[l];e.data.attributes[l]=c.toJSON(e.data)}let n={},s=!1;for(let l in this.morphAttributes){let c=this.morphAttributes[l],u=[];for(let h=0,d=c.length;h0&&(n[l]=u,s=!0)}s&&(e.data.morphAttributes=n,e.data.morphTargetsRelative=this.morphTargetsRelative);let o=this.groups;o.length>0&&(e.data.groups=JSON.parse(JSON.stringify(o)));let a=this.boundingSphere;return a!==null&&(e.data.boundingSphere={center:a.center.toArray(),radius:a.radius}),e}clone(){return new this.constructor().copy(this)}copy(e){this.index=null,this.attributes={},this.morphAttributes={},this.groups=[],this.boundingBox=null,this.boundingSphere=null;let t={};this.name=e.name;let i=e.index;i!==null&&this.setIndex(i.clone(t));let n=e.attributes;for(let c in n){let u=n[c];this.setAttribute(c,u.clone(t))}let s=e.morphAttributes;for(let c in s){let u=[],h=s[c];for(let d=0,p=h.length;d0){let n=t[i[0]];if(n!==void 0){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let s=0,o=n.length;s0&&console.error("THREE.Mesh.updateMorphTargets() no longer supports THREE.Geometry. Use THREE.BufferGeometry instead.")}}raycast(e,t){let i=this.geometry,n=this.material,s=this.matrixWorld;if(n===void 0||(i.boundingSphere===null&&i.computeBoundingSphere(),iu.copy(i.boundingSphere),iu.applyMatrix4(s),e.ray.intersectsSphere(iu)===!1)||(hf.copy(s).invert(),ms.copy(e.ray).applyMatrix4(hf),i.boundingBox!==null&&ms.intersectsBox(i.boundingBox)===!1))return;let o;if(i.isBufferGeometry){let a=i.index,l=i.attributes.position,c=i.morphAttributes.position,u=i.morphTargetsRelative,h=i.attributes.uv,d=i.attributes.uv2,p=i.groups,m=i.drawRange;if(a!==null)if(Array.isArray(n))for(let y=0,x=p.length;yt.far?null:{distance:c,point:la.clone(),object:r}}function ca(r,e,t,i,n,s,o,a,l,c,u,h){hn.fromBufferAttribute(n,c),dn.fromBufferAttribute(n,u),pn.fromBufferAttribute(n,h);let d=r.morphTargetInfluences;if(s&&d){ia.set(0,0,0),na.set(0,0,0),sa.set(0,0,0);for(let m=0,y=s.length;m0?1:-1,u.push(V.x,V.y,V.z),h.push(j/T),h.push(1-U/z),N+=1}}for(let U=0;U\u20D2",nvHarr:"\u2904",nvinfin:"\u29DE",nvlArr:"\u2902",nvle:"\u2264\u20D2",nvlt:"<\u20D2",nvltrie:"\u22B4\u20D2",nvrArr:"\u2903",nvrtrie:"\u22B5\u20D2",nvsim:"\u223C\u20D2",nwarhk:"\u2923",nwarr:"\u2196",nwArr:"\u21D6",nwarrow:"\u2196",nwnear:"\u2927",oacute:"\xF3",Oacute:"\xD3",oast:"\u229B",ocir:"\u229A",ocirc:"\xF4",Ocirc:"\xD4",ocy:"\u043E",Ocy:"\u041E",odash:"\u229D",odblac:"\u0151",Odblac:"\u0150",odiv:"\u2A38",odot:"\u2299",odsold:"\u29BC",oelig:"\u0153",OElig:"\u0152",ofcir:"\u29BF",ofr:"\u{1D52C}",Ofr:"\u{1D512}",ogon:"\u02DB",ograve:"\xF2",Ograve:"\xD2",ogt:"\u29C1",ohbar:"\u29B5",ohm:"\u03A9",oint:"\u222E",olarr:"\u21BA",olcir:"\u29BE",olcross:"\u29BB",oline:"\u203E",olt:"\u29C0",omacr:"\u014D",Omacr:"\u014C",omega:"\u03C9",Omega:"\u03A9",omicron:"\u03BF",Omicron:"\u039F",omid:"\u29B6",ominus:"\u2296",oopf:"\u{1D560}",Oopf:"\u{1D546}",opar:"\u29B7",OpenCurlyDoubleQuote:"\u201C",OpenCurlyQuote:"\u2018",operp:"\u29B9",oplus:"\u2295",or:"\u2228",Or:"\u2A54",orarr:"\u21BB",ord:"\u2A5D",order:"\u2134",orderof:"\u2134",ordf:"\xAA",ordm:"\xBA",origof:"\u22B6",oror:"\u2A56",orslope:"\u2A57",orv:"\u2A5B",oS:"\u24C8",oscr:"\u2134",Oscr:"\u{1D4AA}",oslash:"\xF8",Oslash:"\xD8",osol:"\u2298",otilde:"\xF5",Otilde:"\xD5",otimes:"\u2297",Otimes:"\u2A37",otimesas:"\u2A36",ouml:"\xF6",Ouml:"\xD6",ovbar:"\u233D",OverBar:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4",OverParenthesis:"\u23DC",par:"\u2225",para:"\xB6",parallel:"\u2225",parsim:"\u2AF3",parsl:"\u2AFD",part:"\u2202",PartialD:"\u2202",pcy:"\u043F",Pcy:"\u041F",percnt:"%",period:".",permil:"\u2030",perp:"\u22A5",pertenk:"\u2031",pfr:"\u{1D52D}",Pfr:"\u{1D513}",phi:"\u03C6",Phi:"\u03A6",phiv:"\u03D5",phmmat:"\u2133",phone:"\u260E",pi:"\u03C0",Pi:"\u03A0",pitchfork:"\u22D4",piv:"\u03D6",planck:"\u210F",planckh:"\u210E",plankv:"\u210F",plus:"+",plusacir:"\u2A23",plusb:"\u229E",pluscir:"\u2A22",plusdo:"\u2214",plusdu:"\u2A25",pluse:"\u2A72",PlusMinus:"\xB1",plusmn:"\xB1",plussim:"\u2A26",plustwo:"\u2A27",pm:"\xB1",Poincareplane:"\u210C",pointint:"\u2A15",popf:"\u{1D561}",Popf:"\u2119",pound:"\xA3",pr:"\u227A",Pr:"\u2ABB",prap:"\u2AB7",prcue:"\u227C",pre:"\u2AAF",prE:"\u2AB3",prec:"\u227A",precapprox:"\u2AB7",preccurlyeq:"\u227C",Precedes:"\u227A",PrecedesEqual:"\u2AAF",PrecedesSlantEqual:"\u227C",PrecedesTilde:"\u227E",preceq:"\u2AAF",precnapprox:"\u2AB9",precneqq:"\u2AB5",precnsim:"\u22E8",precsim:"\u227E",prime:"\u2032",Prime:"\u2033",primes:"\u2119",prnap:"\u2AB9",prnE:"\u2AB5",prnsim:"\u22E8",prod:"\u220F",Product:"\u220F",profalar:"\u232E",profline:"\u2312",profsurf:"\u2313",prop:"\u221D",Proportion:"\u2237",Proportional:"\u221D",propto:"\u221D",prsim:"\u227E",prurel:"\u22B0",pscr:"\u{1D4C5}",Pscr:"\u{1D4AB}",psi:"\u03C8",Psi:"\u03A8",puncsp:"\u2008",qfr:"\u{1D52E}",Qfr:"\u{1D514}",qint:"\u2A0C",qopf:"\u{1D562}",Qopf:"\u211A",qprime:"\u2057",qscr:"\u{1D4C6}",Qscr:"\u{1D4AC}",quaternions:"\u210D",quatint:"\u2A16",quest:"?",questeq:"\u225F",quot:'"',QUOT:'"',rAarr:"\u21DB",race:"\u223D\u0331",racute:"\u0155",Racute:"\u0154",radic:"\u221A",raemptyv:"\u29B3",rang:"\u27E9",Rang:"\u27EB",rangd:"\u2992",range:"\u29A5",rangle:"\u27E9",raquo:"\xBB",rarr:"\u2192",rArr:"\u21D2",Rarr:"\u21A0",rarrap:"\u2975",rarrb:"\u21E5",rarrbfs:"\u2920",rarrc:"\u2933",rarrfs:"\u291E",rarrhk:"\u21AA",rarrlp:"\u21AC",rarrpl:"\u2945",rarrsim:"\u2974",rarrtl:"\u21A3",Rarrtl:"\u2916",rarrw:"\u219D",ratail:"\u291A",rAtail:"\u291C",ratio:"\u2236",rationals:"\u211A",rbarr:"\u290D",rBarr:"\u290F",RBarr:"\u2910",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298C",rbrksld:"\u298E",rbrkslu:"\u2990",rcaron:"\u0159",Rcaron:"\u0158",rcedil:"\u0157",Rcedil:"\u0156",rceil:"\u2309",rcub:"}",rcy:"\u0440",Rcy:"\u0420",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201D",rdquor:"\u201D",rdsh:"\u21B3",Re:"\u211C",real:"\u211C",realine:"\u211B",realpart:"\u211C",reals:"\u211D",rect:"\u25AD",reg:"\xAE",REG:"\xAE",ReverseElement:"\u220B",ReverseEquilibrium:"\u21CB",ReverseUpEquilibrium:"\u296F",rfisht:"\u297D",rfloor:"\u230B",rfr:"\u{1D52F}",Rfr:"\u211C",rHar:"\u2964",rhard:"\u21C1",rharu:"\u21C0",rharul:"\u296C",rho:"\u03C1",Rho:"\u03A1",rhov:"\u03F1",RightAngleBracket:"\u27E9",rightarrow:"\u2192",Rightarrow:"\u21D2",RightArrow:"\u2192",RightArrowBar:"\u21E5",RightArrowLeftArrow:"\u21C4",rightarrowtail:"\u21A3",RightCeiling:"\u2309",RightDoubleBracket:"\u27E7",RightDownTeeVector:"\u295D",RightDownVector:"\u21C2",RightDownVectorBar:"\u2955",RightFloor:"\u230B",rightharpoondown:"\u21C1",rightharpoonup:"\u21C0",rightleftarrows:"\u21C4",rightleftharpoons:"\u21CC",rightrightarrows:"\u21C9",rightsquigarrow:"\u219D",RightTee:"\u22A2",RightTeeArrow:"\u21A6",RightTeeVector:"\u295B",rightthreetimes:"\u22CC",RightTriangle:"\u22B3",RightTriangleBar:"\u29D0",RightTriangleEqual:"\u22B5",RightUpDownVector:"\u294F",RightUpTeeVector:"\u295C",RightUpVector:"\u21BE",RightUpVectorBar:"\u2954",RightVector:"\u21C0",RightVectorBar:"\u2953",ring:"\u02DA",risingdotseq:"\u2253",rlarr:"\u21C4",rlhar:"\u21CC",rlm:"\u200F",rmoust:"\u23B1",rmoustache:"\u23B1",rnmid:"\u2AEE",roang:"\u27ED",roarr:"\u21FE",robrk:"\u27E7",ropar:"\u2986",ropf:"\u{1D563}",Ropf:"\u211D",roplus:"\u2A2E",rotimes:"\u2A35",RoundImplies:"\u2970",rpar:")",rpargt:"\u2994",rppolint:"\u2A12",rrarr:"\u21C9",Rrightarrow:"\u21DB",rsaquo:"\u203A",rscr:"\u{1D4C7}",Rscr:"\u211B",rsh:"\u21B1",Rsh:"\u21B1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22CC",rtimes:"\u22CA",rtri:"\u25B9",rtrie:"\u22B5",rtrif:"\u25B8",rtriltri:"\u29CE",RuleDelayed:"\u29F4",ruluhar:"\u2968",rx:"\u211E",sacute:"\u015B",Sacute:"\u015A",sbquo:"\u201A",sc:"\u227B",Sc:"\u2ABC",scap:"\u2AB8",scaron:"\u0161",Scaron:"\u0160",sccue:"\u227D",sce:"\u2AB0",scE:"\u2AB4",scedil:"\u015F",Scedil:"\u015E",scirc:"\u015D",Scirc:"\u015C",scnap:"\u2ABA",scnE:"\u2AB6",scnsim:"\u22E9",scpolint:"\u2A13",scsim:"\u227F",scy:"\u0441",Scy:"\u0421",sdot:"\u22C5",sdotb:"\u22A1",sdote:"\u2A66",searhk:"\u2925",searr:"\u2198",seArr:"\u21D8",searrow:"\u2198",sect:"\xA7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",sfr:"\u{1D530}",Sfr:"\u{1D516}",sfrown:"\u2322",sharp:"\u266F",shchcy:"\u0449",SHCHcy:"\u0429",shcy:"\u0448",SHcy:"\u0428",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",shortmid:"\u2223",shortparallel:"\u2225",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",shy:"\xAD",sigma:"\u03C3",Sigma:"\u03A3",sigmaf:"\u03C2",sigmav:"\u03C2",sim:"\u223C",simdot:"\u2A6A",sime:"\u2243",simeq:"\u2243",simg:"\u2A9E",simgE:"\u2AA0",siml:"\u2A9D",simlE:"\u2A9F",simne:"\u2246",simplus:"\u2A24",simrarr:"\u2972",slarr:"\u2190",SmallCircle:"\u2218",smallsetminus:"\u2216",smashp:"\u2A33",smeparsl:"\u29E4",smid:"\u2223",smile:"\u2323",smt:"\u2AAA",smte:"\u2AAC",smtes:"\u2AAC\uFE00",softcy:"\u044C",SOFTcy:"\u042C",sol:"/",solb:"\u29C4",solbar:"\u233F",sopf:"\u{1D564}",Sopf:"\u{1D54A}",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\uFE00",sqcup:"\u2294",sqcups:"\u2294\uFE00",Sqrt:"\u221A",sqsub:"\u228F",sqsube:"\u2291",sqsubset:"\u228F",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",squ:"\u25A1",square:"\u25A1",Square:"\u25A1",SquareIntersection:"\u2293",SquareSubset:"\u228F",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",squarf:"\u25AA",squf:"\u25AA",srarr:"\u2192",sscr:"\u{1D4C8}",Sscr:"\u{1D4AE}",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22C6",star:"\u2606",Star:"\u22C6",starf:"\u2605",straightepsilon:"\u03F5",straightphi:"\u03D5",strns:"\xAF",sub:"\u2282",Sub:"\u22D0",subdot:"\u2ABD",sube:"\u2286",subE:"\u2AC5",subedot:"\u2AC3",submult:"\u2AC1",subne:"\u228A",subnE:"\u2ACB",subplus:"\u2ABF",subrarr:"\u2979",subset:"\u2282",Subset:"\u22D0",subseteq:"\u2286",subseteqq:"\u2AC5",SubsetEqual:"\u2286",subsetneq:"\u228A",subsetneqq:"\u2ACB",subsim:"\u2AC7",subsub:"\u2AD5",subsup:"\u2AD3",succ:"\u227B",succapprox:"\u2AB8",succcurlyeq:"\u227D",Succeeds:"\u227B",SucceedsEqual:"\u2AB0",SucceedsSlantEqual:"\u227D",SucceedsTilde:"\u227F",succeq:"\u2AB0",succnapprox:"\u2ABA",succneqq:"\u2AB6",succnsim:"\u22E9",succsim:"\u227F",SuchThat:"\u220B",sum:"\u2211",Sum:"\u2211",sung:"\u266A",sup:"\u2283",Sup:"\u22D1",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",supdot:"\u2ABE",supdsub:"\u2AD8",supe:"\u2287",supE:"\u2AC6",supedot:"\u2AC4",Superset:"\u2283",SupersetEqual:"\u2287",suphsol:"\u27C9",suphsub:"\u2AD7",suplarr:"\u297B",supmult:"\u2AC2",supne:"\u228B",supnE:"\u2ACC",supplus:"\u2AC0",supset:"\u2283",Supset:"\u22D1",supseteq:"\u2287",supseteqq:"\u2AC6",supsetneq:"\u228B",supsetneqq:"\u2ACC",supsim:"\u2AC8",supsub:"\u2AD4",supsup:"\u2AD6",swarhk:"\u2926",swarr:"\u2199",swArr:"\u21D9",swarrow:"\u2199",swnwar:"\u292A",szlig:"\xDF",Tab:" ",target:"\u2316",tau:"\u03C4",Tau:"\u03A4",tbrk:"\u23B4",tcaron:"\u0165",Tcaron:"\u0164",tcedil:"\u0163",Tcedil:"\u0162",tcy:"\u0442",Tcy:"\u0422",tdot:"\u20DB",telrec:"\u2315",tfr:"\u{1D531}",Tfr:"\u{1D517}",there4:"\u2234",therefore:"\u2234",Therefore:"\u2234",theta:"\u03B8",Theta:"\u0398",thetasym:"\u03D1",thetav:"\u03D1",thickapprox:"\u2248",thicksim:"\u223C",ThickSpace:"\u205F\u200A",thinsp:"\u2009",ThinSpace:"\u2009",thkap:"\u2248",thksim:"\u223C",thorn:"\xFE",THORN:"\xDE",tilde:"\u02DC",Tilde:"\u223C",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",times:"\xD7",timesb:"\u22A0",timesbar:"\u2A31",timesd:"\u2A30",tint:"\u222D",toea:"\u2928",top:"\u22A4",topbot:"\u2336",topcir:"\u2AF1",topf:"\u{1D565}",Topf:"\u{1D54B}",topfork:"\u2ADA",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",TRADE:"\u2122",triangle:"\u25B5",triangledown:"\u25BF",triangleleft:"\u25C3",trianglelefteq:"\u22B4",triangleq:"\u225C",triangleright:"\u25B9",trianglerighteq:"\u22B5",tridot:"\u25EC",trie:"\u225C",triminus:"\u2A3A",TripleDot:"\u20DB",triplus:"\u2A39",trisb:"\u29CD",tritime:"\u2A3B",trpezium:"\u23E2",tscr:"\u{1D4C9}",Tscr:"\u{1D4AF}",tscy:"\u0446",TScy:"\u0426",tshcy:"\u045B",TSHcy:"\u040B",tstrok:"\u0167",Tstrok:"\u0166",twixt:"\u226C",twoheadleftarrow:"\u219E",twoheadrightarrow:"\u21A0",uacute:"\xFA",Uacute:"\xDA",uarr:"\u2191",uArr:"\u21D1",Uarr:"\u219F",Uarrocir:"\u2949",ubrcy:"\u045E",Ubrcy:"\u040E",ubreve:"\u016D",Ubreve:"\u016C",ucirc:"\xFB",Ucirc:"\xDB",ucy:"\u0443",Ucy:"\u0423",udarr:"\u21C5",udblac:"\u0171",Udblac:"\u0170",udhar:"\u296E",ufisht:"\u297E",ufr:"\u{1D532}",Ufr:"\u{1D518}",ugrave:"\xF9",Ugrave:"\xD9",uHar:"\u2963",uharl:"\u21BF",uharr:"\u21BE",uhblk:"\u2580",ulcorn:"\u231C",ulcorner:"\u231C",ulcrop:"\u230F",ultri:"\u25F8",umacr:"\u016B",Umacr:"\u016A",uml:"\xA8",UnderBar:"_",UnderBrace:"\u23DF",UnderBracket:"\u23B5",UnderParenthesis:"\u23DD",Union:"\u22C3",UnionPlus:"\u228E",uogon:"\u0173",Uogon:"\u0172",uopf:"\u{1D566}",Uopf:"\u{1D54C}",uparrow:"\u2191",Uparrow:"\u21D1",UpArrow:"\u2191",UpArrowBar:"\u2912",UpArrowDownArrow:"\u21C5",updownarrow:"\u2195",Updownarrow:"\u21D5",UpDownArrow:"\u2195",UpEquilibrium:"\u296E",upharpoonleft:"\u21BF",upharpoonright:"\u21BE",uplus:"\u228E",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",upsi:"\u03C5",Upsi:"\u03D2",upsih:"\u03D2",upsilon:"\u03C5",Upsilon:"\u03A5",UpTee:"\u22A5",UpTeeArrow:"\u21A5",upuparrows:"\u21C8",urcorn:"\u231D",urcorner:"\u231D",urcrop:"\u230E",uring:"\u016F",Uring:"\u016E",urtri:"\u25F9",uscr:"\u{1D4CA}",Uscr:"\u{1D4B0}",utdot:"\u22F0",utilde:"\u0169",Utilde:"\u0168",utri:"\u25B5",utrif:"\u25B4",uuarr:"\u21C8",uuml:"\xFC",Uuml:"\xDC",uwangle:"\u29A7",vangrt:"\u299C",varepsilon:"\u03F5",varkappa:"\u03F0",varnothing:"\u2205",varphi:"\u03D5",varpi:"\u03D6",varpropto:"\u221D",varr:"\u2195",vArr:"\u21D5",varrho:"\u03F1",varsigma:"\u03C2",varsubsetneq:"\u228A\uFE00",varsubsetneqq:"\u2ACB\uFE00",varsupsetneq:"\u228B\uFE00",varsupsetneqq:"\u2ACC\uFE00",vartheta:"\u03D1",vartriangleleft:"\u22B2",vartriangleright:"\u22B3",vBar:"\u2AE8",Vbar:"\u2AEB",vBarv:"\u2AE9",vcy:"\u0432",Vcy:"\u0412",vdash:"\u22A2",vDash:"\u22A8",Vdash:"\u22A9",VDash:"\u22AB",Vdashl:"\u2AE6",vee:"\u2228",Vee:"\u22C1",veebar:"\u22BB",veeeq:"\u225A",vellip:"\u22EE",verbar:"|",Verbar:"\u2016",vert:"|",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200A",vfr:"\u{1D533}",Vfr:"\u{1D519}",vltri:"\u22B2",vnsub:"\u2282\u20D2",vnsup:"\u2283\u20D2",vopf:"\u{1D567}",Vopf:"\u{1D54D}",vprop:"\u221D",vrtri:"\u22B3",vscr:"\u{1D4CB}",Vscr:"\u{1D4B1}",vsubne:"\u228A\uFE00",vsubnE:"\u2ACB\uFE00",vsupne:"\u228B\uFE00",vsupnE:"\u2ACC\uFE00",Vvdash:"\u22AA",vzigzag:"\u299A",wcirc:"\u0175",Wcirc:"\u0174",wedbar:"\u2A5F",wedge:"\u2227",Wedge:"\u22C0",wedgeq:"\u2259",weierp:"\u2118",wfr:"\u{1D534}",Wfr:"\u{1D51A}",wopf:"\u{1D568}",Wopf:"\u{1D54E}",wp:"\u2118",wr:"\u2240",wreath:"\u2240",wscr:"\u{1D4CC}",Wscr:"\u{1D4B2}",xcap:"\u22C2",xcirc:"\u25EF",xcup:"\u22C3",xdtri:"\u25BD",xfr:"\u{1D535}",Xfr:"\u{1D51B}",xharr:"\u27F7",xhArr:"\u27FA",xi:"\u03BE",Xi:"\u039E",xlarr:"\u27F5",xlArr:"\u27F8",xmap:"\u27FC",xnis:"\u22FB",xodot:"\u2A00",xopf:"\u{1D569}",Xopf:"\u{1D54F}",xoplus:"\u2A01",xotime:"\u2A02",xrarr:"\u27F6",xrArr:"\u27F9",xscr:"\u{1D4CD}",Xscr:"\u{1D4B3}",xsqcup:"\u2A06",xuplus:"\u2A04",xutri:"\u25B3",xvee:"\u22C1",xwedge:"\u22C0",yacute:"\xFD",Yacute:"\xDD",yacy:"\u044F",YAcy:"\u042F",ycirc:"\u0177",Ycirc:"\u0176",ycy:"\u044B",Ycy:"\u042B",yen:"\xA5",yfr:"\u{1D536}",Yfr:"\u{1D51C}",yicy:"\u0457",YIcy:"\u0407",yopf:"\u{1D56A}",Yopf:"\u{1D550}",yscr:"\u{1D4CE}",Yscr:"\u{1D4B4}",yucy:"\u044E",YUcy:"\u042E",yuml:"\xFF",Yuml:"\u0178",zacute:"\u017A",Zacute:"\u0179",zcaron:"\u017E",Zcaron:"\u017D",zcy:"\u0437",Zcy:"\u0417",zdot:"\u017C",Zdot:"\u017B",zeetrf:"\u2128",ZeroWidthSpace:"\u200B",zeta:"\u03B6",Zeta:"\u0396",zfr:"\u{1D537}",Zfr:"\u2128",zhcy:"\u0436",ZHcy:"\u0416",zigrarr:"\u21DD",zopf:"\u{1D56B}",Zopf:"\u2124",zscr:"\u{1D4CF}",Zscr:"\u{1D4B5}",zwj:"\u200D",zwnj:"\u200C"},y={aacute:"\xE1",Aacute:"\xC1",acirc:"\xE2",Acirc:"\xC2",acute:"\xB4",aelig:"\xE6",AElig:"\xC6",agrave:"\xE0",Agrave:"\xC0",amp:"&",AMP:"&",aring:"\xE5",Aring:"\xC5",atilde:"\xE3",Atilde:"\xC3",auml:"\xE4",Auml:"\xC4",brvbar:"\xA6",ccedil:"\xE7",Ccedil:"\xC7",cedil:"\xB8",cent:"\xA2",copy:"\xA9",COPY:"\xA9",curren:"\xA4",deg:"\xB0",divide:"\xF7",eacute:"\xE9",Eacute:"\xC9",ecirc:"\xEA",Ecirc:"\xCA",egrave:"\xE8",Egrave:"\xC8",eth:"\xF0",ETH:"\xD0",euml:"\xEB",Euml:"\xCB",frac12:"\xBD",frac14:"\xBC",frac34:"\xBE",gt:">",GT:">",iacute:"\xED",Iacute:"\xCD",icirc:"\xEE",Icirc:"\xCE",iexcl:"\xA1",igrave:"\xEC",Igrave:"\xCC",iquest:"\xBF",iuml:"\xEF",Iuml:"\xCF",laquo:"\xAB",lt:"<",LT:"<",macr:"\xAF",micro:"\xB5",middot:"\xB7",nbsp:"\xA0",not:"\xAC",ntilde:"\xF1",Ntilde:"\xD1",oacute:"\xF3",Oacute:"\xD3",ocirc:"\xF4",Ocirc:"\xD4",ograve:"\xF2",Ograve:"\xD2",ordf:"\xAA",ordm:"\xBA",oslash:"\xF8",Oslash:"\xD8",otilde:"\xF5",Otilde:"\xD5",ouml:"\xF6",Ouml:"\xD6",para:"\xB6",plusmn:"\xB1",pound:"\xA3",quot:'"',QUOT:'"',raquo:"\xBB",reg:"\xAE",REG:"\xAE",sect:"\xA7",shy:"\xAD",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",szlig:"\xDF",thorn:"\xFE",THORN:"\xDE",times:"\xD7",uacute:"\xFA",Uacute:"\xDA",ucirc:"\xFB",Ucirc:"\xDB",ugrave:"\xF9",Ugrave:"\xD9",uml:"\xA8",uuml:"\xFC",Uuml:"\xDC",yacute:"\xFD",Yacute:"\xDD",yen:"\xA5",yuml:"\xFF"},x={0:"\uFFFD",128:"\u20AC",130:"\u201A",131:"\u0192",132:"\u201E",133:"\u2026",134:"\u2020",135:"\u2021",136:"\u02C6",137:"\u2030",138:"\u0160",139:"\u2039",140:"\u0152",142:"\u017D",145:"\u2018",146:"\u2019",147:"\u201C",148:"\u201D",149:"\u2022",150:"\u2013",151:"\u2014",152:"\u02DC",153:"\u2122",154:"\u0161",155:"\u203A",156:"\u0153",158:"\u017E",159:"\u0178"},g=[1,2,3,4,5,6,7,8,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,64976,64977,64978,64979,64980,64981,64982,64983,64984,64985,64986,64987,64988,64989,64990,64991,64992,64993,64994,64995,64996,64997,64998,64999,65e3,65001,65002,65003,65004,65005,65006,65007,65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111],f=String.fromCharCode,E={},w=E.hasOwnProperty,_=function(N,k){return w.call(N,k)},M=function(N,k){for(var V=-1,U=N.length;++V=55296&&N<=57343||N>1114111?(k&&v("character reference outside the permissible Unicode range"),"\uFFFD"):_(x,N)?(k&&v("disallowed character reference"),x[N]):(k&&M(g,N)&&v("disallowed character reference"),N>65535&&(N-=65536,V+=f(N>>>10&1023|55296),N=56320|N&1023),V+=f(N),V)},W=function(N){return"&#x"+N.toString(16).toUpperCase()+";"},A=function(N){return"&#"+N+";"},v=function(N){throw Error("Parse error: "+N)},R=function(N,k){k=T(k,R.options);var V=k.strict;V&&d.test(N)&&v("forbidden code point");var U=k.encodeEverything,q=k.useNamedReferences,j=k.allowUnsafeSymbols,ne=k.decimal?A:W,ae=function(H){return ne(H.charCodeAt(0))};return U?(N=N.replace(s,function(H){return q&&_(l,H)?"&"+l[H]+";":ae(H)}),q&&(N=N.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒").replace(/fj/g,"fj")),q&&(N=N.replace(a,function(H){return"&"+l[H]+";"}))):q?(j||(N=N.replace(c,function(H){return"&"+l[H]+";"})),N=N.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒"),N=N.replace(a,function(H){return"&"+l[H]+";"})):j||(N=N.replace(c,ae)),N.replace(n,function(H){var Te=H.charCodeAt(0),ue=H.charCodeAt(1),we=(Te-55296)*1024+ue-56320+65536;return ne(we)}).replace(o,ae)};R.options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1,decimal:!1};var S=function(N,k){k=T(k,S.options);var V=k.strict;return V&&h.test(N)&&v("malformed character reference"),N.replace(p,function(U,q,j,ne,ae,H,Te,ue,we){var oe,Ce,Ae,Z,ie,te;return q?(ie=q,m[ie]):j?(ie=j,te=ne,te&&k.isAttributeValue?(V&&te=="="&&v("`&` did not start a character reference"),U):(V&&v("named character reference was not terminated by a semicolon"),y[ie]+(te||""))):ae?(Ae=ae,Ce=H,V&&!Ce&&v("character reference was not terminated by a semicolon"),oe=parseInt(Ae,10),z(oe,V)):Te?(Z=Te,Ce=ue,V&&!Ce&&v("character reference was not terminated by a semicolon"),oe=parseInt(Z,16),z(oe,V)):(V&&v("named character reference was not terminated by a semicolon"),U)})};S.options={isAttributeValue:!1,strict:!1};var B=function(N){return N.replace(c,function(k){return u[k]})},L={version:"1.2.0",encode:R,decode:S,escape:B,unescape:S};if(typeof define=="function"&&typeof define.amd=="object"&&define.amd)define(function(){return L});else if(e&&!e.nodeType)if(t)t.exports=L;else for(var C in L)_(L,C)&&(e[C]=L[C]);else r.he=L})(Ql)});var kA={};r0(kA,{default:()=>pc});module.exports=o0(kA);var is=require("obsidian");var Bl=require("obsidian");var Xn=require("obsidian");var ho=require("obsidian");var zA=require("obsidian");function Cd(r,e,t){[...r].slice(e).reverse().forEach(([n,s])=>{r.set(n+1,s)}),r.set(e,t)}function Po(r,e){return Object.entries(r).reduce((t,i)=>{let n=i[0],o=i[1]?e.parent.path.startsWith(n):e.parent.path==n;return t||o},!1)}var Mi=class r{constructor(e=[0,0,0,0,0,0,0,0,0]){this.elements=void 0,this.elements=e}identity(){let e=this.elements;e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=1,e[5]=0,e[6]=0,e[7]=0,e[8]=1}setZero(){let e=this.elements;e[0]=0,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=0,e[6]=0,e[7]=0,e[8]=0}setTrace(e){let t=this.elements;t[0]=e.x,t[4]=e.y,t[8]=e.z}getTrace(e=new b){let t=this.elements;return e.x=t[0],e.y=t[4],e.z=t[8],e}vmult(e,t=new b){let i=this.elements,n=e.x,s=e.y,o=e.z;return t.x=i[0]*n+i[1]*s+i[2]*o,t.y=i[3]*n+i[4]*s+i[5]*o,t.z=i[6]*n+i[7]*s+i[8]*o,t}smult(e){for(let t=0;t0){let s=1/n;this.x*=s,this.y*=s,this.z*=s}else this.x=0,this.y=0,this.z=0;return n}unit(e=new r){let t=this.x,i=this.y,n=this.z,s=Math.sqrt(t*t+i*i+n*n);return s>0?(s=1/s,e.x=t*s,e.y=i*s,e.z=n*s):(e.x=1,e.y=0,e.z=0),e}length(){let e=this.x,t=this.y,i=this.z;return Math.sqrt(e*e+t*t+i*i)}lengthSquared(){return this.dot(this)}distanceTo(e){let t=this.x,i=this.y,n=this.z,s=e.x,o=e.y,a=e.z;return Math.sqrt((s-t)*(s-t)+(o-i)*(o-i)+(a-n)*(a-n))}distanceSquared(e){let t=this.x,i=this.y,n=this.z,s=e.x,o=e.y,a=e.z;return(s-t)*(s-t)+(o-i)*(o-i)+(a-n)*(a-n)}scale(e,t=new r){let i=this.x,n=this.y,s=this.z;return t.x=e*i,t.y=e*n,t.z=e*s,t}vmul(e,t=new r){return t.x=e.x*this.x,t.y=e.y*this.y,t.z=e.z*this.z,t}addScaledVector(e,t,i=new r){return i.x=this.x+e*t.x,i.y=this.y+e*t.y,i.z=this.z+e*t.z,i}dot(e){return this.x*e.x+this.y*e.y+this.z*e.z}isZero(){return this.x===0&&this.y===0&&this.z===0}negate(e=new r){return e.x=-this.x,e.y=-this.y,e.z=-this.z,e}tangents(e,t){let i=this.length();if(i>0){let n=l0,s=1/i;n.set(this.x*s,this.y*s,this.z*s);let o=c0;Math.abs(n.x)<.9?(o.set(1,0,0),n.cross(o,e)):(o.set(0,1,0),n.cross(o,e)),n.cross(e,t)}else e.set(1,0,0),t.set(0,1,0)}toString(){return this.x+","+this.y+","+this.z}toArray(){return[this.x,this.y,this.z]}copy(e){return this.x=e.x,this.y=e.y,this.z=e.z,this}lerp(e,t,i){let n=this.x,s=this.y,o=this.z;i.x=n+(e.x-n)*t,i.y=s+(e.y-s)*t,i.z=o+(e.z-o)*t}almostEquals(e,t=1e-6){return!(Math.abs(this.x-e.x)>t||Math.abs(this.y-e.y)>t||Math.abs(this.z-e.z)>t)}almostZero(e=1e-6){return!(Math.abs(this.x)>e||Math.abs(this.y)>e||Math.abs(this.z)>e)}isAntiparallelTo(e,t){return this.negate(Rd),Rd.almostEquals(e,t)}clone(){return new r(this.x,this.y,this.z)}};b.ZERO=void 0;b.UNIT_X=void 0;b.UNIT_Y=void 0;b.UNIT_Z=void 0;b.ZERO=new b(0,0,0);b.UNIT_X=new b(1,0,0);b.UNIT_Y=new b(0,1,0);b.UNIT_Z=new b(0,0,1);var l0=new b,c0=new b,Rd=new b,Yt=class r{constructor(e={}){this.lowerBound=void 0,this.upperBound=void 0,this.lowerBound=new b,this.upperBound=new b,e.lowerBound&&this.lowerBound.copy(e.lowerBound),e.upperBound&&this.upperBound.copy(e.upperBound)}setFromPoints(e,t,i,n){let s=this.lowerBound,o=this.upperBound,a=i;s.copy(e[0]),a&&a.vmult(s,s),o.copy(s);for(let l=1;lo.x&&(o.x=c.x),c.xo.y&&(o.y=c.y),c.yo.z&&(o.z=c.z),c.z=s.x&&t.y<=n.y&&i.y>=s.y&&t.z<=n.z&&i.z>=s.z}getCorners(e,t,i,n,s,o,a,l){let c=this.lowerBound,u=this.upperBound;e.copy(c),t.set(u.x,c.y,c.z),i.set(u.x,u.y,c.z),n.set(c.x,u.y,u.z),s.set(u.x,c.y,u.z),o.set(c.x,u.y,c.z),a.set(c.x,c.y,u.z),l.copy(u)}toLocalFrame(e,t){let i=Ld,n=i[0],s=i[1],o=i[2],a=i[3],l=i[4],c=i[5],u=i[6],h=i[7];this.getCorners(n,s,o,a,l,c,u,h);for(let d=0;d!==8;d++){let p=i[d];e.pointToLocal(p,p)}return t.setFromPoints(i)}toWorldFrame(e,t){let i=Ld,n=i[0],s=i[1],o=i[2],a=i[3],l=i[4],c=i[5],u=i[6],h=i[7];this.getCorners(n,s,o,a,l,c,u,h);for(let d=0;d!==8;d++){let p=i[d];e.pointToWorld(p,p)}return t.setFromPoints(i)}overlapsRay(e){let{direction:t,from:i}=e,n=1/t.x,s=1/t.y,o=1/t.z,a=(this.lowerBound.x-i.x)*n,l=(this.upperBound.x-i.x)*n,c=(this.lowerBound.y-i.y)*s,u=(this.upperBound.y-i.y)*s,h=(this.lowerBound.z-i.z)*o,d=(this.upperBound.z-i.z)*o,p=Math.max(Math.max(Math.min(a,l),Math.min(c,u)),Math.min(h,d)),m=Math.min(Math.min(Math.max(a,l),Math.max(c,u)),Math.max(h,d));return!(m<0||p>m)}},Fd=new b,Ld=[new b,new b,new b,new b,new b,new b,new b,new b],Vo=class{constructor(){this.matrix=void 0,this.matrix=[]}get(e,t){let{index:i}=e,{index:n}=t;if(n>i){let s=n;n=i,i=s}return this.matrix[(i*(i+1)>>1)+n-1]}set(e,t,i){let{index:n}=e,{index:s}=t;if(s>n){let o=s;s=n,n=o}this.matrix[(n*(n+1)>>1)+s-1]=i?1:0}reset(){for(let e=0,t=this.matrix.length;e!==t;e++)this.matrix[e]=0}setNumObjects(e){this.matrix.length=e*(e-1)>>1}},Uo=class{constructor(){this._listeners=void 0}addEventListener(e,t){this._listeners===void 0&&(this._listeners={});let i=this._listeners;return i[e]===void 0&&(i[e]=[]),i[e].includes(t)||i[e].push(t),this}hasEventListener(e,t){if(this._listeners===void 0)return!1;let i=this._listeners;return!!(i[e]!==void 0&&i[e].includes(t))}hasAnyEventListener(e){return this._listeners===void 0?!1:this._listeners[e]!==void 0}removeEventListener(e,t){if(this._listeners===void 0)return this;let i=this._listeners;if(i[e]===void 0)return this;let n=i[e].indexOf(t);return n!==-1&&i[e].splice(n,1),this}dispatchEvent(e){if(this._listeners===void 0)return this;let i=this._listeners[e.type];if(i!==void 0){e.target=this;for(let n=0,s=i.length;n.499&&(i=2*Math.atan2(o,c),n=Math.PI/2,s=0),u<-.499&&(i=-2*Math.atan2(o,c),n=-Math.PI/2,s=0),i===void 0){let h=o*o,d=a*a,p=l*l;i=Math.atan2(2*a*c-2*o*l,1-2*d-2*p),n=Math.asin(2*u),s=Math.atan2(2*o*c-2*a*l,1-2*h-2*p)}break;default:throw new Error("Euler order "+t+" not supported yet.")}e.y=i,e.z=n,e.x=s}setFromEuler(e,t,i,n="XYZ"){let s=Math.cos(e/2),o=Math.cos(t/2),a=Math.cos(i/2),l=Math.sin(e/2),c=Math.sin(t/2),u=Math.sin(i/2);return n==="XYZ"?(this.x=l*o*a+s*c*u,this.y=s*c*a-l*o*u,this.z=s*o*u+l*c*a,this.w=s*o*a-l*c*u):n==="YXZ"?(this.x=l*o*a+s*c*u,this.y=s*c*a-l*o*u,this.z=s*o*u-l*c*a,this.w=s*o*a+l*c*u):n==="ZXY"?(this.x=l*o*a-s*c*u,this.y=s*c*a+l*o*u,this.z=s*o*u+l*c*a,this.w=s*o*a-l*c*u):n==="ZYX"?(this.x=l*o*a-s*c*u,this.y=s*c*a+l*o*u,this.z=s*o*u-l*c*a,this.w=s*o*a+l*c*u):n==="YZX"?(this.x=l*o*a+s*c*u,this.y=s*c*a+l*o*u,this.z=s*o*u-l*c*a,this.w=s*o*a-l*c*u):n==="XZY"&&(this.x=l*o*a-s*c*u,this.y=s*c*a-l*o*u,this.z=s*o*u+l*c*a,this.w=s*o*a+l*c*u),this}clone(){return new r(this.x,this.y,this.z,this.w)}slerp(e,t,i=new r){let n=this.x,s=this.y,o=this.z,a=this.w,l=e.x,c=e.y,u=e.z,h=e.w,d,p,m,y,x;return p=n*l+s*c+o*u+a*h,p<0&&(p=-p,l=-l,c=-c,u=-u,h=-h),1-p>1e-6?(d=Math.acos(p),m=Math.sin(d),y=Math.sin((1-t)*d)/m,x=Math.sin(t*d)/m):(y=1-t,x=t),i.x=y*n+x*l,i.y=y*s+x*c,i.z=y*o+x*u,i.w=y*a+x*h,i}integrate(e,t,i,n=new r){let s=e.x*i.x,o=e.y*i.y,a=e.z*i.z,l=this.x,c=this.y,u=this.z,h=this.w,d=t*.5;return n.x+=d*(s*h+o*u-a*c),n.y+=d*(o*h+a*l-s*u),n.z+=d*(a*h+s*c-o*l),n.w+=d*(-s*l-o*c-a*u),n}},u0=new b,h0=new b,d0={SPHERE:1,PLANE:2,BOX:4,COMPOUND:8,CONVEXPOLYHEDRON:16,HEIGHTFIELD:32,PARTICLE:64,CYLINDER:128,TRIMESH:256},me=class r{constructor(e={}){this.id=void 0,this.type=void 0,this.boundingSphereRadius=void 0,this.collisionResponse=void 0,this.collisionFilterGroup=void 0,this.collisionFilterMask=void 0,this.material=void 0,this.body=void 0,this.id=r.idCounter++,this.type=e.type||0,this.boundingSphereRadius=0,this.collisionResponse=e.collisionResponse?e.collisionResponse:!0,this.collisionFilterGroup=e.collisionFilterGroup!==void 0?e.collisionFilterGroup:1,this.collisionFilterMask=e.collisionFilterMask!==void 0?e.collisionFilterMask:-1,this.material=e.material?e.material:null,this.body=null}updateBoundingSphereRadius(){throw"computeBoundingSphereRadius() not implemented for shape type "+this.type}volume(){throw"volume() not implemented for shape type "+this.type}calculateLocalInertia(e,t){throw"calculateLocalInertia() not implemented for shape type "+this.type}calculateWorldAABB(e,t,i,n){throw"calculateWorldAABB() not implemented for shape type "+this.type}};me.idCounter=0;me.types=d0;var He=class r{constructor(e={}){this.position=void 0,this.quaternion=void 0,this.position=new b,this.quaternion=new yt,e.position&&this.position.copy(e.position),e.quaternion&&this.quaternion.copy(e.quaternion)}pointToLocal(e,t){return r.pointToLocalFrame(this.position,this.quaternion,e,t)}pointToWorld(e,t){return r.pointToWorldFrame(this.position,this.quaternion,e,t)}vectorToWorldFrame(e,t=new b){return this.quaternion.vmult(e,t),t}static pointToLocalFrame(e,t,i,n=new b){return i.vsub(e,n),t.conjugate(Bd),Bd.vmult(n,n),n}static pointToWorldFrame(e,t,i,n=new b){return t.vmult(i,n),n.vadd(e,n),n}static vectorToWorldFrame(e,t,i=new b){return e.vmult(t,i),i}static vectorToLocalFrame(e,t,i,n=new b){return t.w*=-1,t.vmult(i,n),t.w*=-1,n}},Bd=new yt,mr=class r extends me{constructor(e={}){let{vertices:t=[],faces:i=[],normals:n=[],axes:s,boundingSphereRadius:o}=e;super({type:me.types.CONVEXPOLYHEDRON}),this.vertices=void 0,this.faces=void 0,this.faceNormals=void 0,this.worldVertices=void 0,this.worldVerticesNeedsUpdate=void 0,this.worldFaceNormals=void 0,this.worldFaceNormalsNeedsUpdate=void 0,this.uniqueAxes=void 0,this.uniqueEdges=void 0,this.vertices=t,this.faces=i,this.faceNormals=n,this.faceNormals.length===0&&this.computeNormals(),o?this.boundingSphereRadius=o:this.updateBoundingSphereRadius(),this.worldVertices=[],this.worldVerticesNeedsUpdate=!0,this.worldFaceNormals=[],this.worldFaceNormalsNeedsUpdate=!0,this.uniqueAxes=s?s.slice():null,this.uniqueEdges=[],this.computeEdges()}computeEdges(){let e=this.faces,t=this.vertices,i=this.uniqueEdges;i.length=0;let n=new b;for(let s=0;s!==e.length;s++){let o=e[s],a=o.length;for(let l=0;l!==a;l++){let c=(l+1)%a;t[o[l]].vsub(t[o[c]],n),n.normalize();let u=!1;for(let h=0;h!==i.length;h++)if(i[h].almostEquals(n)||i[h].almostEquals(n)){u=!0;break}u||i.push(n.clone())}}}computeNormals(){this.faceNormals.length=this.faces.length;for(let e=0;ed&&(d=y,h=m)}let p=[];for(let m=0;m=0&&this.clipFaceAgainstHull(o,e,t,p,a,l,c)}findSeparatingAxis(e,t,i,n,s,o,a,l){let c=new b,u=new b,h=new b,d=new b,p=new b,m=new b,y=Number.MAX_VALUE,x=this;if(x.uniqueAxes)for(let g=0;g!==x.uniqueAxes.length;g++){i.vmult(x.uniqueAxes[g],c);let f=x.testSepAxis(c,e,t,i,n,s);if(f===!1)return!1;f0&&o.negate(o),!0}testSepAxis(e,t,i,n,s,o){let a=this;r.project(a,e,i,n,mc),r.project(t,e,s,o,gc);let l=mc[0],c=mc[1],u=gc[0],h=gc[1];if(l0?1/t:0,this.material=e.material||null,this.linearDamping=typeof e.linearDamping=="number"?e.linearDamping:.01,this.type=t<=0?r.STATIC:r.DYNAMIC,typeof e.type==typeof r.STATIC&&(this.type=e.type),this.allowSleep=typeof e.allowSleep<"u"?e.allowSleep:!0,this.sleepState=r.AWAKE,this.sleepSpeedLimit=typeof e.sleepSpeedLimit<"u"?e.sleepSpeedLimit:.1,this.sleepTimeLimit=typeof e.sleepTimeLimit<"u"?e.sleepTimeLimit:1,this.timeLastSleepy=0,this.wakeUpAfterNarrowphase=!1,this.torque=new b,this.quaternion=new yt,this.initQuaternion=new yt,this.previousQuaternion=new yt,this.interpolatedQuaternion=new yt,e.quaternion&&(this.quaternion.copy(e.quaternion),this.initQuaternion.copy(e.quaternion),this.previousQuaternion.copy(e.quaternion),this.interpolatedQuaternion.copy(e.quaternion)),this.angularVelocity=new b,e.angularVelocity&&this.angularVelocity.copy(e.angularVelocity),this.initAngularVelocity=new b,this.shapes=[],this.shapeOffsets=[],this.shapeOrientations=[],this.inertia=new b,this.invInertia=new b,this.invInertiaWorld=new Mi,this.invMassSolve=0,this.invInertiaSolve=new b,this.invInertiaWorldSolve=new Mi,this.fixedRotation=typeof e.fixedRotation<"u"?e.fixedRotation:!1,this.angularDamping=typeof e.angularDamping<"u"?e.angularDamping:.01,this.linearFactor=new b(1,1,1),e.linearFactor&&this.linearFactor.copy(e.linearFactor),this.angularFactor=new b(1,1,1),e.angularFactor&&this.angularFactor.copy(e.angularFactor),this.aabb=new Yt,this.aabbNeedsUpdate=!0,this.boundingRadius=0,this.wlambda=new b,this.isTrigger=!!e.isTrigger,e.shape&&this.addShape(e.shape),this.updateMassProperties()}wakeUp(){let e=this.sleepState;this.sleepState=r.AWAKE,this.wakeUpAfterNarrowphase=!1,e===r.SLEEPING&&this.dispatchEvent(r.wakeupEvent)}sleep(){this.sleepState=r.SLEEPING,this.velocity.set(0,0,0),this.angularVelocity.set(0,0,0),this.wakeUpAfterNarrowphase=!1}sleepTick(e){if(this.allowSleep){let t=this.sleepState,i=this.velocity.lengthSquared()+this.angularVelocity.lengthSquared(),n=this.sleepSpeedLimit**2;t===r.AWAKE&&in?this.wakeUp():t===r.SLEEPY&&e-this.timeLastSleepy>this.sleepTimeLimit&&(this.sleep(),this.dispatchEvent(r.sleepEvent))}}updateSolveMassProperties(){this.sleepState===r.SLEEPING||this.type===r.KINEMATIC?(this.invMassSolve=0,this.invInertiaSolve.setZero(),this.invInertiaWorldSolve.setZero()):(this.invMassSolve=this.invMass,this.invInertiaSolve.copy(this.invInertia),this.invInertiaWorldSolve.copy(this.invInertiaWorld))}pointToLocalFrame(e,t=new b){return e.vsub(this.position,t),this.quaternion.conjugate().vmult(t,t),t}vectorToLocalFrame(e,t=new b){return this.quaternion.conjugate().vmult(e,t),t}pointToWorldFrame(e,t=new b){return this.quaternion.vmult(e,t),t.vadd(this.position,t),t}vectorToWorldFrame(e,t=new b){return this.quaternion.vmult(e,t),t}addShape(e,t,i){let n=new b,s=new yt;return t&&n.copy(t),i&&s.copy(i),this.shapes.push(e),this.shapeOffsets.push(n),this.shapeOrientations.push(s),this.updateMassProperties(),this.updateBoundingRadius(),this.aabbNeedsUpdate=!0,e.body=this,this}removeShape(e){let t=this.shapes.indexOf(e);return t===-1?(console.warn("Shape does not belong to the body"),this):(this.shapes.splice(t,1),this.shapeOffsets.splice(t,1),this.shapeOrientations.splice(t,1),this.updateMassProperties(),this.updateBoundingRadius(),this.aabbNeedsUpdate=!0,e.body=null,this)}updateBoundingRadius(){let e=this.shapes,t=this.shapeOffsets,i=e.length,n=0;for(let s=0;s!==i;s++){let o=e[s];o.updateBoundingSphereRadius();let a=t[s].length(),l=o.boundingSphereRadius;a+l>n&&(n=a+l)}this.boundingRadius=n}updateAABB(){let e=this.shapes,t=this.shapeOffsets,i=this.shapeOrientations,n=e.length,s=m0,o=g0,a=this.quaternion,l=this.aabb,c=y0;for(let u=0;u!==n;u++){let h=e[u];a.vmult(t[u],s),s.vadd(this.position,s),a.mult(i[u],o),h.calculateWorldAABB(s,o,c.lowerBound,c.upperBound),u===0?l.copy(c):l.extend(c)}this.aabbNeedsUpdate=!1}updateInertiaWorld(e){let t=this.invInertia;if(!(t.x===t.y&&t.y===t.z&&!e)){let i=x0,n=v0;i.setRotationFromQuaternion(this.quaternion),i.transpose(n),i.scale(t,i),i.mmult(n,this.invInertiaWorld)}}applyForce(e,t=new b){if(this.type!==r.DYNAMIC)return;this.sleepState===r.SLEEPING&&this.wakeUp();let i=w0;t.cross(e,i),this.force.vadd(e,this.force),this.torque.vadd(i,this.torque)}applyLocalForce(e,t=new b){if(this.type!==r.DYNAMIC)return;let i=b0,n=_0;this.vectorToWorldFrame(e,i),this.vectorToWorldFrame(t,n),this.applyForce(i,n)}applyTorque(e){this.type===r.DYNAMIC&&(this.sleepState===r.SLEEPING&&this.wakeUp(),this.torque.vadd(e,this.torque))}applyImpulse(e,t=new b){if(this.type!==r.DYNAMIC)return;this.sleepState===r.SLEEPING&&this.wakeUp();let i=t,n=E0;n.copy(e),n.scale(this.invMass,n),this.velocity.vadd(n,this.velocity);let s=A0;i.cross(e,s),this.invInertiaWorld.vmult(s,s),this.angularVelocity.vadd(s,this.angularVelocity)}applyLocalImpulse(e,t=new b){if(this.type!==r.DYNAMIC)return;let i=S0,n=M0;this.vectorToWorldFrame(e,i),this.vectorToWorldFrame(t,n),this.applyImpulse(i,n)}updateMassProperties(){let e=D0;this.invMass=this.mass>0?1/this.mass:0;let t=this.inertia,i=this.fixedRotation;this.updateAABB(),e.set((this.aabb.upperBound.x-this.aabb.lowerBound.x)/2,(this.aabb.upperBound.y-this.aabb.lowerBound.y)/2,(this.aabb.upperBound.z-this.aabb.lowerBound.z)/2),wc.calculateInertia(e,this.mass,t),this.invInertia.set(t.x>0&&!i?1/t.x:0,t.y>0&&!i?1/t.y:0,t.z>0&&!i?1/t.z:0),this.updateInertiaWorld(!0)}getVelocityAtWorldPoint(e,t){let i=new b;return e.vsub(this.position,i),this.angularVelocity.cross(i,t),this.velocity.vadd(t,t),t}integrate(e,t,i){if(this.previousPosition.copy(this.position),this.previousQuaternion.copy(this.quaternion),!(this.type===r.DYNAMIC||this.type===r.KINEMATIC)||this.sleepState===r.SLEEPING)return;let n=this.velocity,s=this.angularVelocity,o=this.position,a=this.force,l=this.torque,c=this.quaternion,u=this.invMass,h=this.invInertiaWorld,d=this.linearFactor,p=u*e;n.x+=a.x*p*d.x,n.y+=a.y*p*d.y,n.z+=a.z*p*d.z;let m=h.elements,y=this.angularFactor,x=l.x*y.x,g=l.y*y.y,f=l.z*y.z;s.x+=e*(m[0]*x+m[1]*g+m[2]*f),s.y+=e*(m[3]*x+m[4]*g+m[5]*f),s.z+=e*(m[6]*x+m[7]*g+m[8]*f),o.x+=n.x*e,o.y+=n.y*e,o.z+=n.z*e,c.integrate(this.angularVelocity,e,this.angularFactor,c),t&&(i?c.normalizeFast():c.normalize()),this.aabbNeedsUpdate=!0,this.updateInertiaWorld()}};De.idCounter=0;De.COLLIDE_EVENT_NAME="collide";De.DYNAMIC=Rc.DYNAMIC;De.STATIC=Rc.STATIC;De.KINEMATIC=Rc.KINEMATIC;De.AWAKE=Fc.AWAKE;De.SLEEPY=Fc.SLEEPY;De.SLEEPING=Fc.SLEEPING;De.wakeupEvent={type:"wakeup"};De.sleepyEvent={type:"sleepy"};De.sleepEvent={type:"sleep"};var m0=new b,g0=new yt,y0=new Yt,x0=new Mi,v0=new Mi,w0=new b,b0=new b,_0=new b,E0=new b,A0=new b,S0=new b,M0=new b,D0=new b,bc=class{constructor(){this.world=void 0,this.useBoundingBoxes=void 0,this.dirty=void 0,this.world=null,this.useBoundingBoxes=!1,this.dirty=!0}collisionPairs(e,t,i){throw new Error("collisionPairs not implemented for this BroadPhase class!")}needBroadphaseCollision(e,t){return!(!(e.collisionFilterGroup&t.collisionFilterMask)||!(t.collisionFilterGroup&e.collisionFilterMask)||(e.type&De.STATIC||e.sleepState===De.SLEEPING)&&(t.type&De.STATIC||t.sleepState===De.SLEEPING))}intersectionTest(e,t,i,n){this.useBoundingBoxes?this.doBoundingBoxBroadphase(e,t,i,n):this.doBoundingSphereBroadphase(e,t,i,n)}doBoundingSphereBroadphase(e,t,i,n){let s=T0;t.position.vsub(e.position,s);let o=(e.boundingRadius+t.boundingRadius)**2;s.lengthSquared()i.lengthSquared()}aabbQuery(e,t,i){return console.warn(".aabbQuery is not implemented in this Broadphase subclass."),[]}},T0=new b,C0={keys:[]},R0=[],F0=[];var HA=new b,gr=class extends bc{constructor(){super()}collisionPairs(e,t,i){let n=e.bodies,s=n.length,o,a;for(let l=0;l!==s;l++)for(let c=0;c!==l;c++)o=n[l],a=n[c],this.needBroadphaseCollision(o,a)&&this.intersectionTest(o,a,t,i)}aabbQuery(e,t,i=[]){for(let n=0;n{}}intersectWorld(e,t){return this.mode=t.mode||r.ANY,this.result=t.result||new yr,this.skipBackfaces=!!t.skipBackfaces,this.collisionFilterMask=typeof t.collisionFilterMask<"u"?t.collisionFilterMask:-1,this.collisionFilterGroup=typeof t.collisionFilterGroup<"u"?t.collisionFilterGroup:-1,this.checkCollisionResponse=typeof t.checkCollisionResponse<"u"?t.checkCollisionResponse:!0,t.from&&this.from.copy(t.from),t.to&&this.to.copy(t.to),this.callback=t.callback||(()=>{}),this.hasHit=!1,this.result.reset(),this.updateDirection(),this.getAABB(Pd),yc.length=0,e.broadphase.aabbQuery(e,Pd,yc),this.intersectBodies(yc),this.hasHit}intersectBody(e,t){t&&(this.result=t,this.updateDirection());let i=this.checkCollisionResponse;if(i&&!e.collisionResponse||!(this.collisionFilterGroup&e.collisionFilterMask)||!(e.collisionFilterGroup&this.collisionFilterMask))return;let n=L0,s=B0;for(let o=0,a=e.shapes.length;oe.boundingSphereRadius)return;let a=this[e.type];a&&a.call(this,e,t,i,n,e)}_intersectBox(e,t,i,n,s){return this._intersectConvex(e.convexPolyhedronRepresentation,t,i,n,s)}_intersectPlane(e,t,i,n,s){let o=this.from,a=this.to,l=this.direction,c=new b(0,0,1);t.vmult(c,c);let u=new b;o.vsub(i,u);let h=u.dot(c);a.vsub(i,u);let d=u.dot(c);if(h*d>0||o.distanceTo(a)=0&&y<=1&&(o.lerp(a,y,p),p.vsub(i,m),m.normalize(),this.reportIntersection(m,p,s,n,-1)),this.result.shouldStop)return;x>=0&&x<=1&&(o.lerp(a,x,p),p.vsub(i,m),m.normalize(),this.reportIntersection(m,p,s,n,-1))}}_intersectConvex(e,t,i,n,s,o){let a=O0,l=Nd,c=o&&o.faceList||null,u=e.faces,h=e.vertices,d=e.faceNormals,p=this.direction,m=this.from,y=this.to,x=m.distanceTo(y),g=c?c.length:u.length,f=this.result;for(let E=0;!f.shouldStop&&Ex||this.reportIntersection(a,Vt,s,n,w)}}}}_intersectTrimesh(e,t,i,n,s,o){let a=z0,l=W0,c=$0,u=Nd,h=V0,d=U0,p=H0,m=q0,y=G0,x=e.indices;e.vertices;let g=this.from,f=this.to,E=this.direction;c.position.copy(i),c.quaternion.copy(t),He.vectorToLocalFrame(i,t,E,h),He.pointToLocalFrame(i,t,g,d),He.pointToLocalFrame(i,t,f,p),p.x*=e.scale.x,p.y*=e.scale.y,p.z*=e.scale.z,d.x*=e.scale.x,d.y*=e.scale.y,d.z*=e.scale.z,p.vsub(d,h),h.normalize();let w=d.distanceSquared(p);e.tree.rayQuery(this,c,l);for(let _=0,M=l.length;!this.result.shouldStop&&_!==M;_++){let T=l[_];e.getNormal(T,a),e.getVertex(x[T*3],li),li.vsub(d,u);let z=h.dot(a),W=a.dot(u)/z;if(W<0)continue;h.scale(W,Vt),Vt.vadd(d,Vt),e.getVertex(x[T*3+1],Ai),e.getVertex(x[T*3+2],Si);let A=Vt.distanceSquared(d);!(r.pointInTriangle(Vt,Ai,li,Si)||r.pointInTriangle(Vt,li,Ai,Si))||A>w||(He.vectorToWorldFrame(t,a,y),He.pointToWorldFrame(i,t,Vt,m),this.reportIntersection(y,m,s,n,T))}l.length=0}reportIntersection(e,t,i,n,s){let o=this.from,a=this.to,l=o.distanceTo(t),c=this.result;if(!(this.skipBackfaces&&e.dot(this.direction)>0))switch(c.hitFaceIndex=typeof s<"u"?s:-1,this.mode){case r.ALL:this.hasHit=!0,c.set(o,a,e,t,i,n,l),c.hasHit=!0,this.callback(c);break;case r.CLOSEST:(l=0&&(h=s*c-o*a)>=0&&u+hT.maxForce&&(p=T.maxForce-x),E[M]+=p,m+=p>0?p:-p,T.addToWlambda(p)}if(m*me;)t.pop();for(;t.length=0&&u.restitution>=0&&(a.restitution=c.restitution*u.restitution),a.si=s||i,a.sj=o||n,a}createFrictionEquationsFromContact(e,t){let i=e.bi,n=e.bj,s=e.si,o=e.sj,a=this.world,l=this.currentContactMaterial,c=l.friction,u=s.material||i.material,h=o.material||n.material;if(u&&h&&u.friction>=0&&h.friction>=0&&(c=u.friction*h.friction),c>0){let d=c*a.gravity.length(),p=i.invMass+n.invMass;p>0&&(p=1/p);let m=this.frictionEquationPool,y=m.length?m.pop():new qo(i,n,d*p),x=m.length?m.pop():new qo(i,n,d*p);return y.bi=x.bi=i,y.bj=x.bj=n,y.minForce=x.minForce=-d*p,y.maxForce=x.maxForce=d*p,y.ri.copy(e.ri),y.rj.copy(e.rj),x.ri.copy(e.ri),x.rj.copy(e.rj),e.ni.tangents(y.t,x.t),y.setSpookParams(l.frictionEquationStiffness,l.frictionEquationRelaxation,a.dt),x.setSpookParams(l.frictionEquationStiffness,l.frictionEquationRelaxation,a.dt),y.enabled=x.enabled=e.enabled,t.push(y,x),!0}return!1}createFrictionFromAverage(e){let t=this.result[this.result.length-1];if(!this.createFrictionEquationsFromContact(t,this.frictionResult)||e===1)return;let i=this.frictionResult[this.frictionResult.length-2],n=this.frictionResult[this.frictionResult.length-1];Pn.setZero(),ss.setZero(),rs.setZero();let s=t.bi;t.bj;for(let a=0;a!==e;a++)t=this.result[this.result.length-1-a],t.bi!==s?(Pn.vadd(t.ni,Pn),ss.vadd(t.ri,ss),rs.vadd(t.rj,rs)):(Pn.vsub(t.ni,Pn),ss.vadd(t.rj,ss),rs.vadd(t.ri,rs));let o=1/e;ss.scale(o,i.ri),rs.scale(o,i.rj),n.ri.copy(i.ri),n.rj.copy(i.rj),Pn.normalize(),Pn.tangents(i.t,n.t)}getContacts(e,t,i,n,s,o,a){this.contactPointPool=s,this.frictionEquationPool=a,this.result=n,this.frictionResult=o;let l=uy,c=hy,u=ly,h=cy;for(let d=0,p=e.length;d!==p;d++){let m=e[d],y=t[d],x=null;m.material&&y.material&&(x=i.getContactMaterial(m.material,y.material)||null);let g=m.type&De.KINEMATIC&&y.type&De.STATIC||m.type&De.STATIC&&y.type&De.KINEMATIC||m.type&De.KINEMATIC&&y.type&De.KINEMATIC;for(let f=0;fE.boundingSphereRadius+_.boundingSphereRadius)continue;let M=null;E.material&&_.material&&(M=i.getContactMaterial(E.material,_.material)||null),this.currentContactMaterial=M||x||i.defaultContactMaterial;let T=E.type|_.type,z=this[T];if(z){let W=!1;E.type<_.type?W=z.call(this,E,_,u,h,l,c,m,y,E,_,g):W=z.call(this,_,E,h,u,c,l,y,m,E,_,g),W&&g&&(i.shapeOverlapKeeper.set(E.id,_.id),i.bodyOverlapKeeper.set(m.id,y.id))}}}}}sphereSphere(e,t,i,n,s,o,a,l,c,u,h){if(h)return i.distanceSquared(n)<(e.radius+t.radius)**2;let d=this.createContactEquation(a,l,e,t,c,u);n.vsub(i,d.ni),d.ni.normalize(),d.ri.copy(d.ni),d.rj.copy(d.ni),d.ri.scale(e.radius,d.ri),d.rj.scale(-t.radius,d.rj),d.ri.vadd(i,d.ri),d.ri.vsub(a.position,d.ri),d.rj.vadd(n,d.rj),d.rj.vsub(l.position,d.rj),this.result.push(d),this.createFrictionEquationsFromContact(d,this.frictionResult)}spherePlane(e,t,i,n,s,o,a,l,c,u,h){let d=this.createContactEquation(a,l,e,t,c,u);if(d.ni.set(0,0,1),o.vmult(d.ni,d.ni),d.ni.negate(d.ni),d.ni.normalize(),d.ni.scale(e.radius,d.ri),i.vsub(n,Oo),d.ni.scale(d.ni.dot(Oo),Ud),Oo.vsub(Ud,d.rj),-Oo.dot(d.ni)<=e.radius){if(h)return!0;let p=d.ri,m=d.rj;p.vadd(i,p),p.vsub(a.position,p),m.vadd(n,m),m.vsub(l.position,m),this.result.push(d),this.createFrictionEquationsFromContact(d,this.frictionResult)}}boxBox(e,t,i,n,s,o,a,l,c,u,h){return e.convexPolyhedronRepresentation.material=e.material,t.convexPolyhedronRepresentation.material=t.material,e.convexPolyhedronRepresentation.collisionResponse=e.collisionResponse,t.convexPolyhedronRepresentation.collisionResponse=t.collisionResponse,this.convexConvex(e.convexPolyhedronRepresentation,t.convexPolyhedronRepresentation,i,n,s,o,a,l,e,t,h)}sphereBox(e,t,i,n,s,o,a,l,c,u,h){let d=this.v3pool,p=ky;i.vsub(n,zo),t.getSideNormals(p,o);let m=e.radius,y=!1,x=zy,g=Vy,f=Uy,E=null,w=0,_=0,M=0,T=null;for(let C=0,N=p.length;C!==N&&y===!1;C++){let k=Py;k.copy(p[C]);let V=k.length();k.normalize();let U=zo.dot(k);if(U0){let q=Iy,j=Ny;q.copy(p[(C+1)%3]),j.copy(p[(C+2)%3]);let ne=q.length(),ae=j.length();q.normalize(),j.normalize();let H=zo.dot(q),Te=zo.dot(j);if(H-ne&&Te-ae){let ue=Math.abs(U-V-m);if((T===null||uee.boundingSphereRadius+t.boundingSphereRadius)&&e.findSeparatingAxis(t,i,s,n,o,m,d,p)){let y=[],x=nx;e.clipAgainstHull(i,s,t,n,o,m,-100,100,y);let g=0;for(let f=0;f!==y.length;f++){if(h)return!0;let E=this.createContactEquation(a,l,e,t,c,u),w=E.ri,_=E.rj;m.negate(E.ni),y[f].normal.negate(x),x.scale(y[f].depth,x),y[f].point.vadd(x,w),_.copy(y[f].point),w.vsub(i,w),_.vsub(n,_),w.vadd(i,w),w.vsub(a.position,w),_.vadd(n,_),_.vsub(l.position,_),this.result.push(E),g++,this.enableFrictionReduction||this.createFrictionEquationsFromContact(E,this.frictionResult)}this.enableFrictionReduction&&g&&this.createFrictionFromAverage(g)}}sphereConvex(e,t,i,n,s,o,a,l,c,u,h){let d=this.v3pool;i.vsub(n,Hy);let p=t.faceNormals,m=t.faces,y=t.vertices,x=e.radius,g=!1;for(let f=0;f!==y.length;f++){let E=y[f],w=$y;o.vmult(E,w),n.vadd(w,w);let _=Wy;if(w.vsub(i,_),_.lengthSquared()0){let R=[];for(let S=0,B=_.length;S!==B;S++){let L=d.get();o.vmult(y[_[S]],L),n.vadd(L,L),R.push(L)}if(By(R,M,i)){if(h)return!0;g=!0;let S=this.createContactEquation(a,l,e,t,c,u);M.scale(-x,S.ri),M.negate(S.ni);let B=d.get();M.scale(-A,B);let L=d.get();M.scale(-x,L),i.vsub(n,S.rj),S.rj.vadd(L,S.rj),S.rj.vadd(B,S.rj),S.rj.vadd(n,S.rj),S.rj.vsub(l.position,S.rj),S.ri.vadd(i,S.ri),S.ri.vsub(a.position,S.ri),d.release(B),d.release(L),this.result.push(S),this.createFrictionEquationsFromContact(S,this.frictionResult);for(let C=0,N=R.length;C!==N;C++)d.release(R[C]);return}else for(let S=0;S!==_.length;S++){let B=d.get(),L=d.get();o.vmult(y[_[(S+1)%_.length]],B),o.vmult(y[_[(S+2)%_.length]],L),n.vadd(B,B),n.vadd(L,L);let C=Gy;L.vsub(B,C);let N=qy;C.unit(N);let k=d.get(),V=d.get();i.vsub(B,V);let U=V.dot(N);N.scale(U,k),k.vadd(B,k);let q=d.get();if(k.vsub(i,q),U>0&&U*Ud.length||E>d[0].length)return;g<0&&(g=0),f<0&&(f=0),E<0&&(E=0),w<0&&(w=0),g>=d.length&&(g=d.length-1),f>=d.length&&(f=d.length-1),w>=d[0].length&&(w=d[0].length-1),E>=d[0].length&&(E=d[0].length-1);let _=[];t.getRectMinMax(g,E,f,w,_);let M=_[0],T=_[1];if(x.z-p>T||x.z+p2)return}}boxHeightfield(e,t,i,n,s,o,a,l,c,u,h){return e.convexPolyhedronRepresentation.material=e.material,e.convexPolyhedronRepresentation.collisionResponse=e.collisionResponse,this.convexHeightfield(e.convexPolyhedronRepresentation,t,i,n,s,o,a,l,e,t,h)}convexHeightfield(e,t,i,n,s,o,a,l,c,u,h){let d=t.data,p=t.elementSize,m=e.boundingSphereRadius,y=dx,x=px,g=hx;He.pointToLocalFrame(n,o,i,g);let f=Math.floor((g.x-m)/p)-1,E=Math.ceil((g.x+m)/p)+1,w=Math.floor((g.y-m)/p)-1,_=Math.ceil((g.y+m)/p)+1;if(E<0||_<0||f>d.length||w>d[0].length)return;f<0&&(f=0),E<0&&(E=0),w<0&&(w=0),_<0&&(_=0),f>=d.length&&(f=d.length-1),E>=d.length&&(E=d.length-1),_>=d[0].length&&(_=d[0].length-1),w>=d[0].length&&(w=d[0].length-1);let M=[];t.getRectMinMax(f,w,E,_,M);let T=M[0],z=M[1];if(!(g.z-m>z||g.z+m0&&L<0&&(x.vsub(d,g),y.copy(m),y.normalize(),C=g.dot(y),y.scale(C,g),g.vadd(d,g),g.distanceTo(x)0&&i===!0||u<=0&&i===!1){i===null&&(i=u>0);continue}else return!1}return!0}var zo=new b,Py=new b,Iy=new b,Ny=new b,ky=[new b,new b,new b,new b,new b,new b],Oy=new b,zy=new b,Vy=new b,Uy=new b,Hy=new b,Gy=new b,qy=new b,Wy=new b,$y=new b,jy=new b,Xy=new b,Yy=new b,Zy=new b,Jy=new b,Ky=new b,Qy=new b,ex=new b,tx=new b,ix=new b,nx=new b,sx=new b,rx=new b,ox=new b,ax=new b,Hd=new yt,lx=new b,cx=new b,Gd=new b,ux=new b,hx=new b,dx=new b,px=[0],fx=new b,mx=new b,Wo=class{constructor(){this.current=void 0,this.previous=void 0,this.current=[],this.previous=[]}getKey(e,t){if(tn[s];)s++;if(i!==n[s]){for(let o=n.length-1;o>=s;o--)n[o+1]=n[o];n[s]=i}}tick(){let e=this.current;this.current=this.previous,this.previous=e,this.current.length=0}getDiff(e,t){let i=this.current,n=this.previous,s=i.length,o=n.length,a=0;for(let l=0;ln[a];)a++;c=u===n[a],c||qd(e,u)}a=0;for(let l=0;li[a];)a++;c=i[a]===u,c||qd(t,u)}}};function qd(r,e){r.push((e&4294901760)>>16,e&65535)}var Cc=class{constructor(){this.data={keys:[]}}get(e,t){if(e>t){let i=t;t=e,e=i}return this.data[e+"-"+t]}set(e,t,i){if(e>t){let s=t;t=e,e=s}let n=e+"-"+t;this.get(e,t)||this.data.keys.push(n),this.data[n]=i}reset(){let e=this.data,t=e.keys;for(;t.length>0;){let i=t.pop();delete e[i]}}},$o=class extends Uo{constructor(e={}){super(),this.dt=void 0,this.allowSleep=void 0,this.contacts=void 0,this.frictionEquations=void 0,this.quatNormalizeSkip=void 0,this.quatNormalizeFast=void 0,this.time=void 0,this.stepnumber=void 0,this.default_dt=void 0,this.nextId=void 0,this.gravity=void 0,this.broadphase=void 0,this.bodies=void 0,this.hasActiveBodies=void 0,this.solver=void 0,this.constraints=void 0,this.narrowphase=void 0,this.collisionMatrix=void 0,this.collisionMatrixPrevious=void 0,this.bodyOverlapKeeper=void 0,this.shapeOverlapKeeper=void 0,this.materials=void 0,this.contactmaterials=void 0,this.contactMaterialTable=void 0,this.defaultMaterial=void 0,this.defaultContactMaterial=void 0,this.doProfiling=void 0,this.profile=void 0,this.accumulator=void 0,this.subsystems=void 0,this.addBodyEvent=void 0,this.removeBodyEvent=void 0,this.idToBodyMap=void 0,this.dt=-1,this.allowSleep=!!e.allowSleep,this.contacts=[],this.frictionEquations=[],this.quatNormalizeSkip=e.quatNormalizeSkip!==void 0?e.quatNormalizeSkip:0,this.quatNormalizeFast=e.quatNormalizeFast!==void 0?e.quatNormalizeFast:!1,this.time=0,this.stepnumber=0,this.default_dt=1/60,this.nextId=0,this.gravity=new b,e.gravity&&this.gravity.copy(e.gravity),this.broadphase=e.broadphase!==void 0?e.broadphase:new gr,this.bodies=[],this.hasActiveBodies=!1,this.solver=e.solver!==void 0?e.solver:new Sc,this.constraints=[],this.narrowphase=new Tc(this),this.collisionMatrix=new Vo,this.collisionMatrixPrevious=new Vo,this.bodyOverlapKeeper=new Wo,this.shapeOverlapKeeper=new Wo,this.materials=[],this.contactmaterials=[],this.contactMaterialTable=new Cc,this.defaultMaterial=new on("default"),this.defaultContactMaterial=new rn(this.defaultMaterial,this.defaultMaterial,{friction:.3,restitution:0}),this.doProfiling=!1,this.profile={solve:0,makeContactConstraints:0,broadphase:0,integrate:0,narrowphase:0},this.accumulator=0,this.subsystems=[],this.addBodyEvent={type:"addBody",body:null},this.removeBodyEvent={type:"removeBody",body:null},this.idToBodyMap={},this.broadphase.setWorld(this)}getContactMaterial(e,t){return this.contactMaterialTable.get(e.id,t.id)}numObjects(){return this.bodies.length}collisionMatrixTick(){let e=this.collisionMatrixPrevious;this.collisionMatrixPrevious=this.collisionMatrix,this.collisionMatrix=e,this.collisionMatrix.reset(),this.bodyOverlapKeeper.tick(),this.shapeOverlapKeeper.tick()}addConstraint(e){this.constraints.push(e)}removeConstraint(e){let t=this.constraints.indexOf(e);t!==-1&&this.constraints.splice(t,1)}rayTest(e,t,i){i instanceof yr?this.raycastClosest(e,t,{skipBackfaces:!0},i):this.raycastAll(e,t,{skipBackfaces:!0},i)}raycastAll(e,t,i={},n){return i.mode=ti.ALL,i.from=e,i.to=t,i.callback=n,vc.intersectWorld(this,i)}raycastAny(e,t,i={},n){return i.mode=ti.ANY,i.from=e,i.to=t,i.result=n,vc.intersectWorld(this,i)}raycastClosest(e,t,i={},n){return i.mode=ti.CLOSEST,i.from=e,i.to=t,i.result=n,vc.intersectWorld(this,i)}addBody(e){this.bodies.includes(e)||(e.index=this.bodies.length,this.bodies.push(e),e.world=this,e.initPosition.copy(e.position),e.initVelocity.copy(e.velocity),e.timeLastSleepy=this.time,e instanceof De&&(e.initAngularVelocity.copy(e.angularVelocity),e.initQuaternion.copy(e.quaternion)),this.collisionMatrix.setNumObjects(this.bodies.length),this.addBodyEvent.body=e,this.idToBodyMap[e.id]=e,this.dispatchEvent(this.addBodyEvent))}removeBody(e){e.world=null;let t=this.bodies.length-1,i=this.bodies,n=i.indexOf(e);if(n!==-1){i.splice(n,1);for(let s=0;s!==i.length;s++)i[s].index=s;this.collisionMatrix.setNumObjects(t),this.removeBodyEvent.body=e,delete this.idToBodyMap[e.id],this.dispatchEvent(this.removeBodyEvent)}}getBodyById(e){return this.idToBodyMap[e]}getShapeById(e){let t=this.bodies;for(let i=0;i=e&&se*1e3)););this.accumulator=this.accumulator%e;let o=this.accumulator/e;for(let a=0;a!==this.bodies.length;a++){let l=this.bodies[a];l.previousPosition.lerp(l.position,o,l.interpolatedPosition),l.previousQuaternion.slerp(l.quaternion,o,l.interpolatedQuaternion),l.previousQuaternion.normalize()}this.time+=t}}internalStep(e){this.dt=e;let t=this.contacts,i=wx,n=bx,s=this.numObjects(),o=this.bodies,a=this.solver,l=this.gravity,c=this.doProfiling,u=this.profile,h=De.DYNAMIC,d=-1/0,p=this.constraints,m=vx;l.length();let y=l.x,x=l.y,g=l.z,f=0;for(c&&(d=bt.now()),f=0;f!==s;f++){let S=o[f];if(S.type===h){let B=S.force,L=S.mass;B.x+=L*y,B.y+=L*x,B.z+=L*g}}for(let S=0,B=this.subsystems.length;S!==B;S++)this.subsystems[S].update();c&&(d=bt.now()),i.length=0,n.length=0,this.broadphase.collisionPairs(this,i,n),c&&(u.broadphase=bt.now()-d);let E=p.length;for(f=0;f!==E;f++){let S=p[f];if(!S.collideConnected)for(let B=i.length-1;B>=0;B-=1)(S.bodyA===i[B]&&S.bodyB===n[B]||S.bodyB===i[B]&&S.bodyA===n[B])&&(i.splice(B,1),n.splice(B,1))}this.collisionMatrixTick(),c&&(d=bt.now());let w=xx,_=t.length;for(f=0;f!==_;f++)w.push(t[f]);t.length=0;let M=this.frictionEquations.length;for(f=0;f!==M;f++)m.push(this.frictionEquations[f]);for(this.frictionEquations.length=0,this.narrowphase.getContacts(i,n,this,t,w,this.frictionEquations,m),c&&(u.narrowphase=bt.now()-d),c&&(d=bt.now()),f=0;f=0&&C.material.friction>=0&&L.material.friction*C.material.friction,L.material.restitution>=0&&C.material.restitution>=0&&(B.restitution=L.material.restitution*C.material.restitution)),a.addEquation(B),L.allowSleep&&L.type===De.DYNAMIC&&L.sleepState===De.SLEEPING&&C.sleepState===De.AWAKE&&C.type!==De.STATIC){let U=C.velocity.lengthSquared()+C.angularVelocity.lengthSquared(),q=C.sleepSpeedLimit**2;U>=q*2&&(L.wakeUpAfterNarrowphase=!0)}if(C.allowSleep&&C.type===De.DYNAMIC&&C.sleepState===De.SLEEPING&&L.sleepState===De.AWAKE&&L.type!==De.STATIC){let U=L.velocity.lengthSquared()+L.angularVelocity.lengthSquared(),q=L.sleepSpeedLimit**2;U>=q*2&&(C.wakeUpAfterNarrowphase=!0)}this.collisionMatrix.set(L,C,!0),this.collisionMatrixPrevious.get(L,C)||(dr.body=C,dr.contact=B,L.dispatchEvent(dr),dr.body=L,C.dispatchEvent(dr)),this.bodyOverlapKeeper.set(L.id,C.id),this.shapeOverlapKeeper.set(N.id,k.id)}for(this.emitContactEvents(),c&&(u.makeContactConstraints=bt.now()-d,d=bt.now()),f=0;f!==s;f++){let S=o[f];S.wakeUpAfterNarrowphase&&(S.wakeUp(),S.wakeUpAfterNarrowphase=!1)}for(E=p.length,f=0;f!==E;f++){let S=p[f];S.update();for(let B=0,L=S.equations.length;B!==L;B++){let C=S.equations[B];a.addEquation(C)}}a.solve(e,this),c&&(u.solve=bt.now()-d),a.removeAllEquations();let z=Math.pow;for(f=0;f!==s;f++){let S=o[f];if(S.type&h){let B=z(1-S.linearDamping,e),L=S.velocity;L.scale(B,L);let C=S.angularVelocity;if(C){let N=z(1-S.angularDamping,e);C.scale(N,C)}}}for(this.dispatchEvent(yx),f=0;f!==s;f++){let S=o[f];S.preStep&&S.preStep.call(S)}c&&(d=bt.now());let A=this.stepnumber%(this.quatNormalizeSkip+1)===0,v=this.quatNormalizeFast;for(f=0;f!==s;f++)o[f].integrate(e,A,v);for(this.clearForces(),this.broadphase.dirty=!0,c&&(u.integrate=bt.now()-d),this.stepnumber+=1,this.dispatchEvent(gx),f=0;f!==s;f++){let S=o[f],B=S.postStep;B&&B.call(S)}let R=!0;if(this.allowSleep)for(R=!1,f=0;f!==s;f++){let S=o[f];S.sleepTick(this.time),S.sleepState!==De.SLEEPING&&(R=!0)}this.hasActiveBodies=R}emitContactEvents(){let e=this.hasAnyEventListener("beginContact"),t=this.hasAnyEventListener("endContact");if((e||t)&&this.bodyOverlapKeeper.getDiff(ki,Oi),e){for(let s=0,o=ki.length;sDate.now()-r}var gx={type:"postStep"},yx={type:"preStep"},dr={type:De.COLLIDE_EVENT_NAME,body:null,contact:null},xx=[],vx=[],wx=[],bx=[],ki=[],Oi=[],pr={type:"beginContact",bodyA:null,bodyB:null},fr={type:"endContact",bodyA:null,bodyB:null},zi={type:"beginShapeContact",bodyA:null,bodyB:null,shapeA:null,shapeB:null},Vi={type:"endShapeContact",bodyA:null,bodyB:null,shapeA:null,shapeB:null};var Lh="137";var _x=0,Ep=1,Ex=2;var rm=1,Bh=2,Tr=3,Pr=0,xt=1,Bs=2,om=1;var mn=0,Rr=1,Ap=2,Sp=3,Mp=4,Ax=5,Ss=100,Sx=101,Mx=102,Dp=103,Tp=104,Dx=200,Tx=201,Cx=202,Rx=203,am=204,lm=205,Fx=206,Lx=207,Bx=208,Px=209,Ix=210,Nx=0,kx=1,Ox=2,xu=3,zx=4,Vx=5,Ux=6,Hx=7,il=0,Gx=1,qx=2,gn=0,Wx=1,$x=2,jx=3,Xx=4,Yx=5,cm=300,co=301,uo=302,vu=303,wu=304,nl=306,Ph=307,bu=1e3,Kt=1001,_u=1002,vt=1003,Cp=1004;var Rp=1005;var Rt=1006,Zx=1007;var sl=1008;var yn=1009,Jx=1010,Kx=1011,Ir=1012,Qx=1013,Ma=1014,Vn=1015,Cs=1016,ev=1017,tv=1018,Rs=1020,iv=1021,nv=1022,Nt=1023,sv=1024,rv=1025,Hn=1026,Ps=1027,ov=1028,av=1029,lv=1030,cv=1031,uv=1033,Bc=33776,Pc=33777,Ic=33778,Nc=33779,Fp=35840,Lp=35841,Bp=35842,Pp=35843,hv=36196,Ip=37492,Np=37496,kp=37808,Op=37809,zp=37810,Vp=37811,Up=37812,Hp=37813,Gp=37814,qp=37815,Wp=37816,$p=37817,jp=37818,Xp=37819,Yp=37820,Zp=37821,Jp=36492,dv=2200,pv=2201,fv=2202,Da=2300,Ta=2301,kc=2302,Ms=2400,Ds=2401,Ca=2402,Ih=2500,um=2501,mv=0;var bn=3e3,tt=3001,gv=3200,yv=3201,Xs=0,xv=1;var Oc=7680;var vv=519,Nr=35044,Ra=35048;var Kp="300 es",Eu=1035,Xi=class{addEventListener(e,t){this._listeners===void 0&&(this._listeners={});let i=this._listeners;i[e]===void 0&&(i[e]=[]),i[e].indexOf(t)===-1&&i[e].push(t)}hasEventListener(e,t){if(this._listeners===void 0)return!1;let i=this._listeners;return i[e]!==void 0&&i[e].indexOf(t)!==-1}removeEventListener(e,t){if(this._listeners===void 0)return;let n=this._listeners[e];if(n!==void 0){let s=n.indexOf(t);s!==-1&&n.splice(s,1)}}dispatchEvent(e){if(this._listeners===void 0)return;let i=this._listeners[e.type];if(i!==void 0){e.target=this;let n=i.slice(0);for(let s=0,o=n.length;s>8&255]+St[r>>16&255]+St[r>>24&255]+"-"+St[e&255]+St[e>>8&255]+"-"+St[e>>16&15|64]+St[e>>24&255]+"-"+St[t&63|128]+St[t>>8&255]+"-"+St[t>>16&255]+St[t>>24&255]+St[i&255]+St[i>>8&255]+St[i>>16&255]+St[i>>24&255]).toUpperCase()}function Ut(r,e,t){return Math.max(e,Math.min(t,r))}function wv(r,e){return(r%e+e)%e}function Vc(r,e,t){return(1-t)*r+t*e}function Qp(r){return(r&r-1)===0&&r!==0}function bv(r){return Math.pow(2,Math.floor(Math.log(r)/Math.LN2))}var ee=class{constructor(e=0,t=0){this.x=e,this.y=t}get width(){return this.x}set width(e){this.x=e}get height(){return this.y}set height(e){this.y=e}set(e,t){return this.x=e,this.y=t,this}setScalar(e){return this.x=e,this.y=e,this}setX(e){return this.x=e,this}setY(e){return this.y=e,this}setComponent(e,t){switch(e){case 0:this.x=t;break;case 1:this.y=t;break;default:throw new Error("index is out of range: "+e)}return this}getComponent(e){switch(e){case 0:return this.x;case 1:return this.y;default:throw new Error("index is out of range: "+e)}}clone(){return new this.constructor(this.x,this.y)}copy(e){return this.x=e.x,this.y=e.y,this}add(e,t){return t!==void 0?(console.warn("THREE.Vector2: .add() now only accepts one argument. Use .addVectors( a, b ) instead."),this.addVectors(e,t)):(this.x+=e.x,this.y+=e.y,this)}addScalar(e){return this.x+=e,this.y+=e,this}addVectors(e,t){return this.x=e.x+t.x,this.y=e.y+t.y,this}addScaledVector(e,t){return this.x+=e.x*t,this.y+=e.y*t,this}sub(e,t){return t!==void 0?(console.warn("THREE.Vector2: .sub() now only accepts one argument. Use .subVectors( a, b ) instead."),this.subVectors(e,t)):(this.x-=e.x,this.y-=e.y,this)}subScalar(e){return this.x-=e,this.y-=e,this}subVectors(e,t){return this.x=e.x-t.x,this.y=e.y-t.y,this}multiply(e){return this.x*=e.x,this.y*=e.y,this}multiplyScalar(e){return this.x*=e,this.y*=e,this}divide(e){return this.x/=e.x,this.y/=e.y,this}divideScalar(e){return this.multiplyScalar(1/e)}applyMatrix3(e){let t=this.x,i=this.y,n=e.elements;return this.x=n[0]*t+n[3]*i+n[6],this.y=n[1]*t+n[4]*i+n[7],this}min(e){return this.x=Math.min(this.x,e.x),this.y=Math.min(this.y,e.y),this}max(e){return this.x=Math.max(this.x,e.x),this.y=Math.max(this.y,e.y),this}clamp(e,t){return this.x=Math.max(e.x,Math.min(t.x,this.x)),this.y=Math.max(e.y,Math.min(t.y,this.y)),this}clampScalar(e,t){return this.x=Math.max(e,Math.min(t,this.x)),this.y=Math.max(e,Math.min(t,this.y)),this}clampLength(e,t){let i=this.length();return this.divideScalar(i||1).multiplyScalar(Math.max(e,Math.min(t,i)))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}roundToZero(){return this.x=this.x<0?Math.ceil(this.x):Math.floor(this.x),this.y=this.y<0?Math.ceil(this.y):Math.floor(this.y),this}negate(){return this.x=-this.x,this.y=-this.y,this}dot(e){return this.x*e.x+this.y*e.y}cross(e){return this.x*e.y-this.y*e.x}lengthSq(){return this.x*this.x+this.y*this.y}length(){return Math.sqrt(this.x*this.x+this.y*this.y)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)}normalize(){return this.divideScalar(this.length()||1)}angle(){return Math.atan2(-this.y,-this.x)+Math.PI}distanceTo(e){return Math.sqrt(this.distanceToSquared(e))}distanceToSquared(e){let t=this.x-e.x,i=this.y-e.y;return t*t+i*i}manhattanDistanceTo(e){return Math.abs(this.x-e.x)+Math.abs(this.y-e.y)}setLength(e){return this.normalize().multiplyScalar(e)}lerp(e,t){return this.x+=(e.x-this.x)*t,this.y+=(e.y-this.y)*t,this}lerpVectors(e,t,i){return this.x=e.x+(t.x-e.x)*i,this.y=e.y+(t.y-e.y)*i,this}equals(e){return e.x===this.x&&e.y===this.y}fromArray(e,t=0){return this.x=e[t],this.y=e[t+1],this}toArray(e=[],t=0){return e[t]=this.x,e[t+1]=this.y,e}fromBufferAttribute(e,t,i){return i!==void 0&&console.warn("THREE.Vector2: offset has been removed from .fromBufferAttribute()."),this.x=e.getX(t),this.y=e.getY(t),this}rotateAround(e,t){let i=Math.cos(t),n=Math.sin(t),s=this.x-e.x,o=this.y-e.y;return this.x=s*i-o*n+e.x,this.y=s*n+o*i+e.y,this}random(){return this.x=Math.random(),this.y=Math.random(),this}*[Symbol.iterator](){yield this.x,yield this.y}};ee.prototype.isVector2=!0;var wt=class{constructor(){this.elements=[1,0,0,0,1,0,0,0,1],arguments.length>0&&console.error("THREE.Matrix3: the constructor no longer reads arguments. use .set() instead.")}set(e,t,i,n,s,o,a,l,c){let u=this.elements;return u[0]=e,u[1]=n,u[2]=a,u[3]=t,u[4]=s,u[5]=l,u[6]=i,u[7]=o,u[8]=c,this}identity(){return this.set(1,0,0,0,1,0,0,0,1),this}copy(e){let t=this.elements,i=e.elements;return t[0]=i[0],t[1]=i[1],t[2]=i[2],t[3]=i[3],t[4]=i[4],t[5]=i[5],t[6]=i[6],t[7]=i[7],t[8]=i[8],this}extractBasis(e,t,i){return e.setFromMatrix3Column(this,0),t.setFromMatrix3Column(this,1),i.setFromMatrix3Column(this,2),this}setFromMatrix4(e){let t=e.elements;return this.set(t[0],t[4],t[8],t[1],t[5],t[9],t[2],t[6],t[10]),this}multiply(e){return this.multiplyMatrices(this,e)}premultiply(e){return this.multiplyMatrices(e,this)}multiplyMatrices(e,t){let i=e.elements,n=t.elements,s=this.elements,o=i[0],a=i[3],l=i[6],c=i[1],u=i[4],h=i[7],d=i[2],p=i[5],m=i[8],y=n[0],x=n[3],g=n[6],f=n[1],E=n[4],w=n[7],_=n[2],M=n[5],T=n[8];return s[0]=o*y+a*f+l*_,s[3]=o*x+a*E+l*M,s[6]=o*g+a*w+l*T,s[1]=c*y+u*f+h*_,s[4]=c*x+u*E+h*M,s[7]=c*g+u*w+h*T,s[2]=d*y+p*f+m*_,s[5]=d*x+p*E+m*M,s[8]=d*g+p*w+m*T,this}multiplyScalar(e){let t=this.elements;return t[0]*=e,t[3]*=e,t[6]*=e,t[1]*=e,t[4]*=e,t[7]*=e,t[2]*=e,t[5]*=e,t[8]*=e,this}determinant(){let e=this.elements,t=e[0],i=e[1],n=e[2],s=e[3],o=e[4],a=e[5],l=e[6],c=e[7],u=e[8];return t*o*u-t*a*c-i*s*u+i*a*l+n*s*c-n*o*l}invert(){let e=this.elements,t=e[0],i=e[1],n=e[2],s=e[3],o=e[4],a=e[5],l=e[6],c=e[7],u=e[8],h=u*o-a*c,d=a*l-u*s,p=c*s-o*l,m=t*h+i*d+n*p;if(m===0)return this.set(0,0,0,0,0,0,0,0,0);let y=1/m;return e[0]=h*y,e[1]=(n*c-u*i)*y,e[2]=(a*i-n*o)*y,e[3]=d*y,e[4]=(u*t-n*l)*y,e[5]=(n*s-a*t)*y,e[6]=p*y,e[7]=(i*l-c*t)*y,e[8]=(o*t-i*s)*y,this}transpose(){let e,t=this.elements;return e=t[1],t[1]=t[3],t[3]=e,e=t[2],t[2]=t[6],t[6]=e,e=t[5],t[5]=t[7],t[7]=e,this}getNormalMatrix(e){return this.setFromMatrix4(e).invert().transpose()}transposeIntoArray(e){let t=this.elements;return e[0]=t[0],e[1]=t[3],e[2]=t[6],e[3]=t[1],e[4]=t[4],e[5]=t[7],e[6]=t[2],e[7]=t[5],e[8]=t[8],this}setUvTransform(e,t,i,n,s,o,a){let l=Math.cos(s),c=Math.sin(s);return this.set(i*l,i*c,-i*(l*o+c*a)+o+e,-n*c,n*l,-n*(-c*o+l*a)+a+t,0,0,1),this}scale(e,t){let i=this.elements;return i[0]*=e,i[3]*=e,i[6]*=e,i[1]*=t,i[4]*=t,i[7]*=t,this}rotate(e){let t=Math.cos(e),i=Math.sin(e),n=this.elements,s=n[0],o=n[3],a=n[6],l=n[1],c=n[4],u=n[7];return n[0]=t*s+i*l,n[3]=t*o+i*c,n[6]=t*a+i*u,n[1]=-i*s+t*l,n[4]=-i*o+t*c,n[7]=-i*a+t*u,this}translate(e,t){let i=this.elements;return i[0]+=e*i[2],i[3]+=e*i[5],i[6]+=e*i[8],i[1]+=t*i[2],i[4]+=t*i[5],i[7]+=t*i[8],this}equals(e){let t=this.elements,i=e.elements;for(let n=0;n<9;n++)if(t[n]!==i[n])return!1;return!0}fromArray(e,t=0){for(let i=0;i<9;i++)this.elements[i]=e[i+t];return this}toArray(e=[],t=0){let i=this.elements;return e[t]=i[0],e[t+1]=i[1],e[t+2]=i[2],e[t+3]=i[3],e[t+4]=i[4],e[t+5]=i[5],e[t+6]=i[6],e[t+7]=i[7],e[t+8]=i[8],e}clone(){return new this.constructor().fromArray(this.elements)}};wt.prototype.isMatrix3=!0;function hm(r){for(let e=r.length-1;e>=0;--e)if(r[e]>65535)return!0;return!1}function kr(r){return document.createElementNS("http://www.w3.org/1999/xhtml",r)}var dm={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074},ci={h:0,s:0,l:0},jo={h:0,s:0,l:0};function Uc(r,e,t){return t<0&&(t+=1),t>1&&(t-=1),t<1/6?r+(e-r)*6*t:t<1/2?e:t<2/3?r+(e-r)*6*(2/3-t):r}function Fs(r){return r<.04045?r*.0773993808:Math.pow(r*.9478672986+.0521327014,2.4)}function Hc(r){return r<.0031308?r*12.92:1.055*Math.pow(r,.41666)-.055}var ye=class{constructor(e,t,i){return t===void 0&&i===void 0?this.set(e):this.setRGB(e,t,i)}set(e){return e&&e.isColor?this.copy(e):typeof e=="number"?this.setHex(e):typeof e=="string"&&this.setStyle(e),this}setScalar(e){return this.r=e,this.g=e,this.b=e,this}setHex(e){return e=Math.floor(e),this.r=(e>>16&255)/255,this.g=(e>>8&255)/255,this.b=(e&255)/255,this}setRGB(e,t,i){return this.r=e,this.g=t,this.b=i,this}setHSL(e,t,i){if(e=wv(e,1),t=Ut(t,0,1),i=Ut(i,0,1),t===0)this.r=this.g=this.b=i;else{let n=i<=.5?i*(1+t):i+t-i*t,s=2*i-n;this.r=Uc(s,n,e+1/3),this.g=Uc(s,n,e),this.b=Uc(s,n,e-1/3)}return this}setStyle(e){function t(n){n!==void 0&&parseFloat(n)<1&&console.warn("THREE.Color: Alpha component of "+e+" will be ignored.")}let i;if(i=/^((?:rgb|hsl)a?)\(([^\)]*)\)/.exec(e)){let n,s=i[1],o=i[2];switch(s){case"rgb":case"rgba":if(n=/^\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(o))return this.r=Math.min(255,parseInt(n[1],10))/255,this.g=Math.min(255,parseInt(n[2],10))/255,this.b=Math.min(255,parseInt(n[3],10))/255,t(n[4]),this;if(n=/^\s*(\d+)\%\s*,\s*(\d+)\%\s*,\s*(\d+)\%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(o))return this.r=Math.min(100,parseInt(n[1],10))/100,this.g=Math.min(100,parseInt(n[2],10))/100,this.b=Math.min(100,parseInt(n[3],10))/100,t(n[4]),this;break;case"hsl":case"hsla":if(n=/^\s*(\d*\.?\d+)\s*,\s*(\d+)\%\s*,\s*(\d+)\%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(o)){let a=parseFloat(n[1])/360,l=parseInt(n[2],10)/100,c=parseInt(n[3],10)/100;return t(n[4]),this.setHSL(a,l,c)}break}}else if(i=/^\#([A-Fa-f\d]+)$/.exec(e)){let n=i[1],s=n.length;if(s===3)return this.r=parseInt(n.charAt(0)+n.charAt(0),16)/255,this.g=parseInt(n.charAt(1)+n.charAt(1),16)/255,this.b=parseInt(n.charAt(2)+n.charAt(2),16)/255,this;if(s===6)return this.r=parseInt(n.charAt(0)+n.charAt(1),16)/255,this.g=parseInt(n.charAt(2)+n.charAt(3),16)/255,this.b=parseInt(n.charAt(4)+n.charAt(5),16)/255,this}return e&&e.length>0?this.setColorName(e):this}setColorName(e){let t=dm[e.toLowerCase()];return t!==void 0?this.setHex(t):console.warn("THREE.Color: Unknown color "+e),this}clone(){return new this.constructor(this.r,this.g,this.b)}copy(e){return this.r=e.r,this.g=e.g,this.b=e.b,this}copySRGBToLinear(e){return this.r=Fs(e.r),this.g=Fs(e.g),this.b=Fs(e.b),this}copyLinearToSRGB(e){return this.r=Hc(e.r),this.g=Hc(e.g),this.b=Hc(e.b),this}convertSRGBToLinear(){return this.copySRGBToLinear(this),this}convertLinearToSRGB(){return this.copyLinearToSRGB(this),this}getHex(){return this.r*255<<16^this.g*255<<8^this.b*255<<0}getHexString(){return("000000"+this.getHex().toString(16)).slice(-6)}getHSL(e){let t=this.r,i=this.g,n=this.b,s=Math.max(t,i,n),o=Math.min(t,i,n),a,l,c=(o+s)/2;if(o===s)a=0,l=0;else{let u=s-o;switch(l=c<=.5?u/(s+o):u/(2-s-o),s){case t:a=(i-n)/u+(i"u")return e.src;let t;if(e instanceof HTMLCanvasElement)t=e;else{os===void 0&&(os=kr("canvas")),os.width=e.width,os.height=e.height;let i=os.getContext("2d");e instanceof ImageData?i.putImageData(e,0,0):i.drawImage(e,0,0,e.width,e.height),t=os}return t.width>2048||t.height>2048?(console.warn("THREE.ImageUtils.getDataURL: Image converted to jpg for performance reasons",e),t.toDataURL("image/jpeg",.6)):t.toDataURL("image/png")}static sRGBToLinear(e){if(typeof HTMLImageElement<"u"&&e instanceof HTMLImageElement||typeof HTMLCanvasElement<"u"&&e instanceof HTMLCanvasElement||typeof ImageBitmap<"u"&&e instanceof ImageBitmap){let t=kr("canvas");t.width=e.width,t.height=e.height;let i=t.getContext("2d");i.drawImage(e,0,0,e.width,e.height);let n=i.getImageData(0,0,e.width,e.height),s=n.data;for(let o=0;o1)switch(this.wrapS){case bu:e.x=e.x-Math.floor(e.x);break;case Kt:e.x=e.x<0?0:1;break;case _u:Math.abs(Math.floor(e.x)%2)===1?e.x=Math.ceil(e.x)-e.x:e.x=e.x-Math.floor(e.x);break}if(e.y<0||e.y>1)switch(this.wrapT){case bu:e.y=e.y-Math.floor(e.y);break;case Kt:e.y=e.y<0?0:1;break;case _u:Math.abs(Math.floor(e.y)%2)===1?e.y=Math.ceil(e.y)-e.y:e.y=e.y-Math.floor(e.y);break}return this.flipY&&(e.y=1-e.y),e}set needsUpdate(e){e===!0&&this.version++}};lt.DEFAULT_IMAGE=void 0;lt.DEFAULT_MAPPING=cm;lt.prototype.isTexture=!0;function Gc(r){return typeof HTMLImageElement<"u"&&r instanceof HTMLImageElement||typeof HTMLCanvasElement<"u"&&r instanceof HTMLCanvasElement||typeof ImageBitmap<"u"&&r instanceof ImageBitmap?Yi.getDataURL(r):r.data?{data:Array.prototype.slice.call(r.data),width:r.width,height:r.height,type:r.data.constructor.name}:(console.warn("THREE.Texture: Unable to serialize Texture."),{})}var $e=class{constructor(e=0,t=0,i=0,n=1){this.x=e,this.y=t,this.z=i,this.w=n}get width(){return this.z}set width(e){this.z=e}get height(){return this.w}set height(e){this.w=e}set(e,t,i,n){return this.x=e,this.y=t,this.z=i,this.w=n,this}setScalar(e){return this.x=e,this.y=e,this.z=e,this.w=e,this}setX(e){return this.x=e,this}setY(e){return this.y=e,this}setZ(e){return this.z=e,this}setW(e){return this.w=e,this}setComponent(e,t){switch(e){case 0:this.x=t;break;case 1:this.y=t;break;case 2:this.z=t;break;case 3:this.w=t;break;default:throw new Error("index is out of range: "+e)}return this}getComponent(e){switch(e){case 0:return this.x;case 1:return this.y;case 2:return this.z;case 3:return this.w;default:throw new Error("index is out of range: "+e)}}clone(){return new this.constructor(this.x,this.y,this.z,this.w)}copy(e){return this.x=e.x,this.y=e.y,this.z=e.z,this.w=e.w!==void 0?e.w:1,this}add(e,t){return t!==void 0?(console.warn("THREE.Vector4: .add() now only accepts one argument. Use .addVectors( a, b ) instead."),this.addVectors(e,t)):(this.x+=e.x,this.y+=e.y,this.z+=e.z,this.w+=e.w,this)}addScalar(e){return this.x+=e,this.y+=e,this.z+=e,this.w+=e,this}addVectors(e,t){return this.x=e.x+t.x,this.y=e.y+t.y,this.z=e.z+t.z,this.w=e.w+t.w,this}addScaledVector(e,t){return this.x+=e.x*t,this.y+=e.y*t,this.z+=e.z*t,this.w+=e.w*t,this}sub(e,t){return t!==void 0?(console.warn("THREE.Vector4: .sub() now only accepts one argument. Use .subVectors( a, b ) instead."),this.subVectors(e,t)):(this.x-=e.x,this.y-=e.y,this.z-=e.z,this.w-=e.w,this)}subScalar(e){return this.x-=e,this.y-=e,this.z-=e,this.w-=e,this}subVectors(e,t){return this.x=e.x-t.x,this.y=e.y-t.y,this.z=e.z-t.z,this.w=e.w-t.w,this}multiply(e){return this.x*=e.x,this.y*=e.y,this.z*=e.z,this.w*=e.w,this}multiplyScalar(e){return this.x*=e,this.y*=e,this.z*=e,this.w*=e,this}applyMatrix4(e){let t=this.x,i=this.y,n=this.z,s=this.w,o=e.elements;return this.x=o[0]*t+o[4]*i+o[8]*n+o[12]*s,this.y=o[1]*t+o[5]*i+o[9]*n+o[13]*s,this.z=o[2]*t+o[6]*i+o[10]*n+o[14]*s,this.w=o[3]*t+o[7]*i+o[11]*n+o[15]*s,this}divideScalar(e){return this.multiplyScalar(1/e)}setAxisAngleFromQuaternion(e){this.w=2*Math.acos(e.w);let t=Math.sqrt(1-e.w*e.w);return t<1e-4?(this.x=1,this.y=0,this.z=0):(this.x=e.x/t,this.y=e.y/t,this.z=e.z/t),this}setAxisAngleFromRotationMatrix(e){let t,i,n,s,l=e.elements,c=l[0],u=l[4],h=l[8],d=l[1],p=l[5],m=l[9],y=l[2],x=l[6],g=l[10];if(Math.abs(u-d)<.01&&Math.abs(h-y)<.01&&Math.abs(m-x)<.01){if(Math.abs(u+d)<.1&&Math.abs(h+y)<.1&&Math.abs(m+x)<.1&&Math.abs(c+p+g-3)<.1)return this.set(1,0,0,0),this;t=Math.PI;let E=(c+1)/2,w=(p+1)/2,_=(g+1)/2,M=(u+d)/4,T=(h+y)/4,z=(m+x)/4;return E>w&&E>_?E<.01?(i=0,n=.707106781,s=.707106781):(i=Math.sqrt(E),n=M/i,s=T/i):w>_?w<.01?(i=.707106781,n=0,s=.707106781):(n=Math.sqrt(w),i=M/n,s=z/n):_<.01?(i=.707106781,n=.707106781,s=0):(s=Math.sqrt(_),i=T/s,n=z/s),this.set(i,n,s,t),this}let f=Math.sqrt((x-m)*(x-m)+(h-y)*(h-y)+(d-u)*(d-u));return Math.abs(f)<.001&&(f=1),this.x=(x-m)/f,this.y=(h-y)/f,this.z=(d-u)/f,this.w=Math.acos((c+p+g-1)/2),this}min(e){return this.x=Math.min(this.x,e.x),this.y=Math.min(this.y,e.y),this.z=Math.min(this.z,e.z),this.w=Math.min(this.w,e.w),this}max(e){return this.x=Math.max(this.x,e.x),this.y=Math.max(this.y,e.y),this.z=Math.max(this.z,e.z),this.w=Math.max(this.w,e.w),this}clamp(e,t){return this.x=Math.max(e.x,Math.min(t.x,this.x)),this.y=Math.max(e.y,Math.min(t.y,this.y)),this.z=Math.max(e.z,Math.min(t.z,this.z)),this.w=Math.max(e.w,Math.min(t.w,this.w)),this}clampScalar(e,t){return this.x=Math.max(e,Math.min(t,this.x)),this.y=Math.max(e,Math.min(t,this.y)),this.z=Math.max(e,Math.min(t,this.z)),this.w=Math.max(e,Math.min(t,this.w)),this}clampLength(e,t){let i=this.length();return this.divideScalar(i||1).multiplyScalar(Math.max(e,Math.min(t,i)))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this.z=Math.floor(this.z),this.w=Math.floor(this.w),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this.z=Math.ceil(this.z),this.w=Math.ceil(this.w),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this.z=Math.round(this.z),this.w=Math.round(this.w),this}roundToZero(){return this.x=this.x<0?Math.ceil(this.x):Math.floor(this.x),this.y=this.y<0?Math.ceil(this.y):Math.floor(this.y),this.z=this.z<0?Math.ceil(this.z):Math.floor(this.z),this.w=this.w<0?Math.ceil(this.w):Math.floor(this.w),this}negate(){return this.x=-this.x,this.y=-this.y,this.z=-this.z,this.w=-this.w,this}dot(e){return this.x*e.x+this.y*e.y+this.z*e.z+this.w*e.w}lengthSq(){return this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w}length(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)+Math.abs(this.w)}normalize(){return this.divideScalar(this.length()||1)}setLength(e){return this.normalize().multiplyScalar(e)}lerp(e,t){return this.x+=(e.x-this.x)*t,this.y+=(e.y-this.y)*t,this.z+=(e.z-this.z)*t,this.w+=(e.w-this.w)*t,this}lerpVectors(e,t,i){return this.x=e.x+(t.x-e.x)*i,this.y=e.y+(t.y-e.y)*i,this.z=e.z+(t.z-e.z)*i,this.w=e.w+(t.w-e.w)*i,this}equals(e){return e.x===this.x&&e.y===this.y&&e.z===this.z&&e.w===this.w}fromArray(e,t=0){return this.x=e[t],this.y=e[t+1],this.z=e[t+2],this.w=e[t+3],this}toArray(e=[],t=0){return e[t]=this.x,e[t+1]=this.y,e[t+2]=this.z,e[t+3]=this.w,e}fromBufferAttribute(e,t,i){return i!==void 0&&console.warn("THREE.Vector4: offset has been removed from .fromBufferAttribute()."),this.x=e.getX(t),this.y=e.getY(t),this.z=e.getZ(t),this.w=e.getW(t),this}random(){return this.x=Math.random(),this.y=Math.random(),this.z=Math.random(),this.w=Math.random(),this}*[Symbol.iterator](){yield this.x,yield this.y,yield this.z,yield this.w}};$e.prototype.isVector4=!0;var Ht=class extends Xi{constructor(e,t,i={}){super(),this.width=e,this.height=t,this.depth=1,this.scissor=new $e(0,0,e,t),this.scissorTest=!1,this.viewport=new $e(0,0,e,t),this.texture=new lt(void 0,i.mapping,i.wrapS,i.wrapT,i.magFilter,i.minFilter,i.format,i.type,i.anisotropy,i.encoding),this.texture.isRenderTargetTexture=!0,this.texture.image={width:e,height:t,depth:1},this.texture.generateMipmaps=i.generateMipmaps!==void 0?i.generateMipmaps:!1,this.texture.internalFormat=i.internalFormat!==void 0?i.internalFormat:null,this.texture.minFilter=i.minFilter!==void 0?i.minFilter:Rt,this.depthBuffer=i.depthBuffer!==void 0?i.depthBuffer:!0,this.stencilBuffer=i.stencilBuffer!==void 0?i.stencilBuffer:!1,this.depthTexture=i.depthTexture!==void 0?i.depthTexture:null}setTexture(e){e.image={width:this.width,height:this.height,depth:this.depth},this.texture=e}setSize(e,t,i=1){(this.width!==e||this.height!==t||this.depth!==i)&&(this.width=e,this.height=t,this.depth=i,this.texture.image.width=e,this.texture.image.height=t,this.texture.image.depth=i,this.dispose()),this.viewport.set(0,0,e,t),this.scissor.set(0,0,e,t)}clone(){return new this.constructor().copy(this)}copy(e){return this.width=e.width,this.height=e.height,this.depth=e.depth,this.viewport.copy(e.viewport),this.texture=e.texture.clone(),this.texture.image=Object.assign({},e.texture.image),this.depthBuffer=e.depthBuffer,this.stencilBuffer=e.stencilBuffer,this.depthTexture=e.depthTexture,this}dispose(){this.dispatchEvent({type:"dispose"})}};Ht.prototype.isWebGLRenderTarget=!0;var Su=class extends Ht{constructor(e,t,i){super(e,t);let n=this.texture;this.texture=[];for(let s=0;s=0?1:-1,E=1-g*g;if(E>Number.EPSILON){let _=Math.sqrt(E),M=Math.atan2(_,g*f);x=Math.sin(x*M)/_,a=Math.sin(a*M)/_}let w=a*f;if(l=l*x+d*w,c=c*x+p*w,u=u*x+m*w,h=h*x+y*w,x===1-a){let _=1/Math.sqrt(l*l+c*c+u*u+h*h);l*=_,c*=_,u*=_,h*=_}}e[t]=l,e[t+1]=c,e[t+2]=u,e[t+3]=h}static multiplyQuaternionsFlat(e,t,i,n,s,o){let a=i[n],l=i[n+1],c=i[n+2],u=i[n+3],h=s[o],d=s[o+1],p=s[o+2],m=s[o+3];return e[t]=a*m+u*h+l*p-c*d,e[t+1]=l*m+u*d+c*h-a*p,e[t+2]=c*m+u*p+a*d-l*h,e[t+3]=u*m-a*h-l*d-c*p,e}get x(){return this._x}set x(e){this._x=e,this._onChangeCallback()}get y(){return this._y}set y(e){this._y=e,this._onChangeCallback()}get z(){return this._z}set z(e){this._z=e,this._onChangeCallback()}get w(){return this._w}set w(e){this._w=e,this._onChangeCallback()}set(e,t,i,n){return this._x=e,this._y=t,this._z=i,this._w=n,this._onChangeCallback(),this}clone(){return new this.constructor(this._x,this._y,this._z,this._w)}copy(e){return this._x=e.x,this._y=e.y,this._z=e.z,this._w=e.w,this._onChangeCallback(),this}setFromEuler(e,t){if(!(e&&e.isEuler))throw new Error("THREE.Quaternion: .setFromEuler() now expects an Euler rotation rather than a Vector3 and order.");let i=e._x,n=e._y,s=e._z,o=e._order,a=Math.cos,l=Math.sin,c=a(i/2),u=a(n/2),h=a(s/2),d=l(i/2),p=l(n/2),m=l(s/2);switch(o){case"XYZ":this._x=d*u*h+c*p*m,this._y=c*p*h-d*u*m,this._z=c*u*m+d*p*h,this._w=c*u*h-d*p*m;break;case"YXZ":this._x=d*u*h+c*p*m,this._y=c*p*h-d*u*m,this._z=c*u*m-d*p*h,this._w=c*u*h+d*p*m;break;case"ZXY":this._x=d*u*h-c*p*m,this._y=c*p*h+d*u*m,this._z=c*u*m+d*p*h,this._w=c*u*h-d*p*m;break;case"ZYX":this._x=d*u*h-c*p*m,this._y=c*p*h+d*u*m,this._z=c*u*m-d*p*h,this._w=c*u*h+d*p*m;break;case"YZX":this._x=d*u*h+c*p*m,this._y=c*p*h+d*u*m,this._z=c*u*m-d*p*h,this._w=c*u*h-d*p*m;break;case"XZY":this._x=d*u*h-c*p*m,this._y=c*p*h-d*u*m,this._z=c*u*m+d*p*h,this._w=c*u*h+d*p*m;break;default:console.warn("THREE.Quaternion: .setFromEuler() encountered an unknown order: "+o)}return t!==!1&&this._onChangeCallback(),this}setFromAxisAngle(e,t){let i=t/2,n=Math.sin(i);return this._x=e.x*n,this._y=e.y*n,this._z=e.z*n,this._w=Math.cos(i),this._onChangeCallback(),this}setFromRotationMatrix(e){let t=e.elements,i=t[0],n=t[4],s=t[8],o=t[1],a=t[5],l=t[9],c=t[2],u=t[6],h=t[10],d=i+a+h;if(d>0){let p=.5/Math.sqrt(d+1);this._w=.25/p,this._x=(u-l)*p,this._y=(s-c)*p,this._z=(o-n)*p}else if(i>a&&i>h){let p=2*Math.sqrt(1+i-a-h);this._w=(u-l)/p,this._x=.25*p,this._y=(n+o)/p,this._z=(s+c)/p}else if(a>h){let p=2*Math.sqrt(1+a-i-h);this._w=(s-c)/p,this._x=(n+o)/p,this._y=.25*p,this._z=(l+u)/p}else{let p=2*Math.sqrt(1+h-i-a);this._w=(o-n)/p,this._x=(s+c)/p,this._y=(l+u)/p,this._z=.25*p}return this._onChangeCallback(),this}setFromUnitVectors(e,t){let i=e.dot(t)+1;return iMath.abs(e.z)?(this._x=-e.y,this._y=e.x,this._z=0,this._w=i):(this._x=0,this._y=-e.z,this._z=e.y,this._w=i)):(this._x=e.y*t.z-e.z*t.y,this._y=e.z*t.x-e.x*t.z,this._z=e.x*t.y-e.y*t.x,this._w=i),this.normalize()}angleTo(e){return 2*Math.acos(Math.abs(Ut(this.dot(e),-1,1)))}rotateTowards(e,t){let i=this.angleTo(e);if(i===0)return this;let n=Math.min(1,t/i);return this.slerp(e,n),this}identity(){return this.set(0,0,0,1)}invert(){return this.conjugate()}conjugate(){return this._x*=-1,this._y*=-1,this._z*=-1,this._onChangeCallback(),this}dot(e){return this._x*e._x+this._y*e._y+this._z*e._z+this._w*e._w}lengthSq(){return this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w}length(){return Math.sqrt(this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w)}normalize(){let e=this.length();return e===0?(this._x=0,this._y=0,this._z=0,this._w=1):(e=1/e,this._x=this._x*e,this._y=this._y*e,this._z=this._z*e,this._w=this._w*e),this._onChangeCallback(),this}multiply(e,t){return t!==void 0?(console.warn("THREE.Quaternion: .multiply() now only accepts one argument. Use .multiplyQuaternions( a, b ) instead."),this.multiplyQuaternions(e,t)):this.multiplyQuaternions(this,e)}premultiply(e){return this.multiplyQuaternions(e,this)}multiplyQuaternions(e,t){let i=e._x,n=e._y,s=e._z,o=e._w,a=t._x,l=t._y,c=t._z,u=t._w;return this._x=i*u+o*a+n*c-s*l,this._y=n*u+o*l+s*a-i*c,this._z=s*u+o*c+i*l-n*a,this._w=o*u-i*a-n*l-s*c,this._onChangeCallback(),this}slerp(e,t){if(t===0)return this;if(t===1)return this.copy(e);let i=this._x,n=this._y,s=this._z,o=this._w,a=o*e._w+i*e._x+n*e._y+s*e._z;if(a<0?(this._w=-e._w,this._x=-e._x,this._y=-e._y,this._z=-e._z,a=-a):this.copy(e),a>=1)return this._w=o,this._x=i,this._y=n,this._z=s,this;let l=1-a*a;if(l<=Number.EPSILON){let p=1-t;return this._w=p*o+t*this._w,this._x=p*i+t*this._x,this._y=p*n+t*this._y,this._z=p*s+t*this._z,this.normalize(),this._onChangeCallback(),this}let c=Math.sqrt(l),u=Math.atan2(c,a),h=Math.sin((1-t)*u)/c,d=Math.sin(t*u)/c;return this._w=o*h+this._w*d,this._x=i*h+this._x*d,this._y=n*h+this._y*d,this._z=s*h+this._z*d,this._onChangeCallback(),this}slerpQuaternions(e,t,i){return this.copy(e).slerp(t,i)}random(){let e=Math.random(),t=Math.sqrt(1-e),i=Math.sqrt(e),n=2*Math.PI*Math.random(),s=2*Math.PI*Math.random();return this.set(t*Math.cos(n),i*Math.sin(s),i*Math.cos(s),t*Math.sin(n))}equals(e){return e._x===this._x&&e._y===this._y&&e._z===this._z&&e._w===this._w}fromArray(e,t=0){return this._x=e[t],this._y=e[t+1],this._z=e[t+2],this._w=e[t+3],this._onChangeCallback(),this}toArray(e=[],t=0){return e[t]=this._x,e[t+1]=this._y,e[t+2]=this._z,e[t+3]=this._w,e}fromBufferAttribute(e,t){return this._x=e.getX(t),this._y=e.getY(t),this._z=e.getZ(t),this._w=e.getW(t),this}_onChange(e){return this._onChangeCallback=e,this}_onChangeCallback(){}};Ft.prototype.isQuaternion=!0;var P=class{constructor(e=0,t=0,i=0){this.x=e,this.y=t,this.z=i}set(e,t,i){return i===void 0&&(i=this.z),this.x=e,this.y=t,this.z=i,this}setScalar(e){return this.x=e,this.y=e,this.z=e,this}setX(e){return this.x=e,this}setY(e){return this.y=e,this}setZ(e){return this.z=e,this}setComponent(e,t){switch(e){case 0:this.x=t;break;case 1:this.y=t;break;case 2:this.z=t;break;default:throw new Error("index is out of range: "+e)}return this}getComponent(e){switch(e){case 0:return this.x;case 1:return this.y;case 2:return this.z;default:throw new Error("index is out of range: "+e)}}clone(){return new this.constructor(this.x,this.y,this.z)}copy(e){return this.x=e.x,this.y=e.y,this.z=e.z,this}add(e,t){return t!==void 0?(console.warn("THREE.Vector3: .add() now only accepts one argument. Use .addVectors( a, b ) instead."),this.addVectors(e,t)):(this.x+=e.x,this.y+=e.y,this.z+=e.z,this)}addScalar(e){return this.x+=e,this.y+=e,this.z+=e,this}addVectors(e,t){return this.x=e.x+t.x,this.y=e.y+t.y,this.z=e.z+t.z,this}addScaledVector(e,t){return this.x+=e.x*t,this.y+=e.y*t,this.z+=e.z*t,this}sub(e,t){return t!==void 0?(console.warn("THREE.Vector3: .sub() now only accepts one argument. Use .subVectors( a, b ) instead."),this.subVectors(e,t)):(this.x-=e.x,this.y-=e.y,this.z-=e.z,this)}subScalar(e){return this.x-=e,this.y-=e,this.z-=e,this}subVectors(e,t){return this.x=e.x-t.x,this.y=e.y-t.y,this.z=e.z-t.z,this}multiply(e,t){return t!==void 0?(console.warn("THREE.Vector3: .multiply() now only accepts one argument. Use .multiplyVectors( a, b ) instead."),this.multiplyVectors(e,t)):(this.x*=e.x,this.y*=e.y,this.z*=e.z,this)}multiplyScalar(e){return this.x*=e,this.y*=e,this.z*=e,this}multiplyVectors(e,t){return this.x=e.x*t.x,this.y=e.y*t.y,this.z=e.z*t.z,this}applyEuler(e){return e&&e.isEuler||console.error("THREE.Vector3: .applyEuler() now expects an Euler rotation rather than a Vector3 and order."),this.applyQuaternion(ef.setFromEuler(e))}applyAxisAngle(e,t){return this.applyQuaternion(ef.setFromAxisAngle(e,t))}applyMatrix3(e){let t=this.x,i=this.y,n=this.z,s=e.elements;return this.x=s[0]*t+s[3]*i+s[6]*n,this.y=s[1]*t+s[4]*i+s[7]*n,this.z=s[2]*t+s[5]*i+s[8]*n,this}applyNormalMatrix(e){return this.applyMatrix3(e).normalize()}applyMatrix4(e){let t=this.x,i=this.y,n=this.z,s=e.elements,o=1/(s[3]*t+s[7]*i+s[11]*n+s[15]);return this.x=(s[0]*t+s[4]*i+s[8]*n+s[12])*o,this.y=(s[1]*t+s[5]*i+s[9]*n+s[13])*o,this.z=(s[2]*t+s[6]*i+s[10]*n+s[14])*o,this}applyQuaternion(e){let t=this.x,i=this.y,n=this.z,s=e.x,o=e.y,a=e.z,l=e.w,c=l*t+o*n-a*i,u=l*i+a*t-s*n,h=l*n+s*i-o*t,d=-s*t-o*i-a*n;return this.x=c*l+d*-s+u*-a-h*-o,this.y=u*l+d*-o+h*-s-c*-a,this.z=h*l+d*-a+c*-o-u*-s,this}project(e){return this.applyMatrix4(e.matrixWorldInverse).applyMatrix4(e.projectionMatrix)}unproject(e){return this.applyMatrix4(e.projectionMatrixInverse).applyMatrix4(e.matrixWorld)}transformDirection(e){let t=this.x,i=this.y,n=this.z,s=e.elements;return this.x=s[0]*t+s[4]*i+s[8]*n,this.y=s[1]*t+s[5]*i+s[9]*n,this.z=s[2]*t+s[6]*i+s[10]*n,this.normalize()}divide(e){return this.x/=e.x,this.y/=e.y,this.z/=e.z,this}divideScalar(e){return this.multiplyScalar(1/e)}min(e){return this.x=Math.min(this.x,e.x),this.y=Math.min(this.y,e.y),this.z=Math.min(this.z,e.z),this}max(e){return this.x=Math.max(this.x,e.x),this.y=Math.max(this.y,e.y),this.z=Math.max(this.z,e.z),this}clamp(e,t){return this.x=Math.max(e.x,Math.min(t.x,this.x)),this.y=Math.max(e.y,Math.min(t.y,this.y)),this.z=Math.max(e.z,Math.min(t.z,this.z)),this}clampScalar(e,t){return this.x=Math.max(e,Math.min(t,this.x)),this.y=Math.max(e,Math.min(t,this.y)),this.z=Math.max(e,Math.min(t,this.z)),this}clampLength(e,t){let i=this.length();return this.divideScalar(i||1).multiplyScalar(Math.max(e,Math.min(t,i)))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this.z=Math.floor(this.z),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this.z=Math.ceil(this.z),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this.z=Math.round(this.z),this}roundToZero(){return this.x=this.x<0?Math.ceil(this.x):Math.floor(this.x),this.y=this.y<0?Math.ceil(this.y):Math.floor(this.y),this.z=this.z<0?Math.ceil(this.z):Math.floor(this.z),this}negate(){return this.x=-this.x,this.y=-this.y,this.z=-this.z,this}dot(e){return this.x*e.x+this.y*e.y+this.z*e.z}lengthSq(){return this.x*this.x+this.y*this.y+this.z*this.z}length(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)}normalize(){return this.divideScalar(this.length()||1)}setLength(e){return this.normalize().multiplyScalar(e)}lerp(e,t){return this.x+=(e.x-this.x)*t,this.y+=(e.y-this.y)*t,this.z+=(e.z-this.z)*t,this}lerpVectors(e,t,i){return this.x=e.x+(t.x-e.x)*i,this.y=e.y+(t.y-e.y)*i,this.z=e.z+(t.z-e.z)*i,this}cross(e,t){return t!==void 0?(console.warn("THREE.Vector3: .cross() now only accepts one argument. Use .crossVectors( a, b ) instead."),this.crossVectors(e,t)):this.crossVectors(this,e)}crossVectors(e,t){let i=e.x,n=e.y,s=e.z,o=t.x,a=t.y,l=t.z;return this.x=n*l-s*a,this.y=s*o-i*l,this.z=i*a-n*o,this}projectOnVector(e){let t=e.lengthSq();if(t===0)return this.set(0,0,0);let i=e.dot(this)/t;return this.copy(e).multiplyScalar(i)}projectOnPlane(e){return qc.copy(this).projectOnVector(e),this.sub(qc)}reflect(e){return this.sub(qc.copy(e).multiplyScalar(2*this.dot(e)))}angleTo(e){let t=Math.sqrt(this.lengthSq()*e.lengthSq());if(t===0)return Math.PI/2;let i=this.dot(e)/t;return Math.acos(Ut(i,-1,1))}distanceTo(e){return Math.sqrt(this.distanceToSquared(e))}distanceToSquared(e){let t=this.x-e.x,i=this.y-e.y,n=this.z-e.z;return t*t+i*i+n*n}manhattanDistanceTo(e){return Math.abs(this.x-e.x)+Math.abs(this.y-e.y)+Math.abs(this.z-e.z)}setFromSpherical(e){return this.setFromSphericalCoords(e.radius,e.phi,e.theta)}setFromSphericalCoords(e,t,i){let n=Math.sin(t)*e;return this.x=n*Math.sin(i),this.y=Math.cos(t)*e,this.z=n*Math.cos(i),this}setFromCylindrical(e){return this.setFromCylindricalCoords(e.radius,e.theta,e.y)}setFromCylindricalCoords(e,t,i){return this.x=e*Math.sin(t),this.y=i,this.z=e*Math.cos(t),this}setFromMatrixPosition(e){let t=e.elements;return this.x=t[12],this.y=t[13],this.z=t[14],this}setFromMatrixScale(e){let t=this.setFromMatrixColumn(e,0).length(),i=this.setFromMatrixColumn(e,1).length(),n=this.setFromMatrixColumn(e,2).length();return this.x=t,this.y=i,this.z=n,this}setFromMatrixColumn(e,t){return this.fromArray(e.elements,t*4)}setFromMatrix3Column(e,t){return this.fromArray(e.elements,t*3)}equals(e){return e.x===this.x&&e.y===this.y&&e.z===this.z}fromArray(e,t=0){return this.x=e[t],this.y=e[t+1],this.z=e[t+2],this}toArray(e=[],t=0){return e[t]=this.x,e[t+1]=this.y,e[t+2]=this.z,e}fromBufferAttribute(e,t,i){return i!==void 0&&console.warn("THREE.Vector3: offset has been removed from .fromBufferAttribute()."),this.x=e.getX(t),this.y=e.getY(t),this.z=e.getZ(t),this}random(){return this.x=Math.random(),this.y=Math.random(),this.z=Math.random(),this}randomDirection(){let e=(Math.random()-.5)*2,t=Math.random()*Math.PI*2,i=Math.sqrt(1-e**2);return this.x=i*Math.cos(t),this.y=i*Math.sin(t),this.z=e,this}*[Symbol.iterator](){yield this.x,yield this.y,yield this.z}};P.prototype.isVector3=!0;var qc=new P,ef=new Ft,Qt=class{constructor(e=new P(1/0,1/0,1/0),t=new P(-1/0,-1/0,-1/0)){this.min=e,this.max=t}set(e,t){return this.min.copy(e),this.max.copy(t),this}setFromArray(e){let t=1/0,i=1/0,n=1/0,s=-1/0,o=-1/0,a=-1/0;for(let l=0,c=e.length;ls&&(s=u),h>o&&(o=h),d>a&&(a=d)}return this.min.set(t,i,n),this.max.set(s,o,a),this}setFromBufferAttribute(e){let t=1/0,i=1/0,n=1/0,s=-1/0,o=-1/0,a=-1/0;for(let l=0,c=e.count;ls&&(s=u),h>o&&(o=h),d>a&&(a=d)}return this.min.set(t,i,n),this.max.set(s,o,a),this}setFromPoints(e){this.makeEmpty();for(let t=0,i=e.length;tthis.max.x||e.ythis.max.y||e.zthis.max.z)}containsBox(e){return this.min.x<=e.min.x&&e.max.x<=this.max.x&&this.min.y<=e.min.y&&e.max.y<=this.max.y&&this.min.z<=e.min.z&&e.max.z<=this.max.z}getParameter(e,t){return t.set((e.x-this.min.x)/(this.max.x-this.min.x),(e.y-this.min.y)/(this.max.y-this.min.y),(e.z-this.min.z)/(this.max.z-this.min.z))}intersectsBox(e){return!(e.max.xthis.max.x||e.max.ythis.max.y||e.max.zthis.max.z)}intersectsSphere(e){return this.clampPoint(e.center,Nn),Nn.distanceToSquared(e.center)<=e.radius*e.radius}intersectsPlane(e){let t,i;return e.normal.x>0?(t=e.normal.x*this.min.x,i=e.normal.x*this.max.x):(t=e.normal.x*this.max.x,i=e.normal.x*this.min.x),e.normal.y>0?(t+=e.normal.y*this.min.y,i+=e.normal.y*this.max.y):(t+=e.normal.y*this.max.y,i+=e.normal.y*this.min.y),e.normal.z>0?(t+=e.normal.z*this.min.z,i+=e.normal.z*this.max.z):(t+=e.normal.z*this.max.z,i+=e.normal.z*this.min.z),t<=-e.constant&&i>=-e.constant}intersectsTriangle(e){if(this.isEmpty())return!1;this.getCenter(vr),Xo.subVectors(this.max,vr),as.subVectors(e.a,vr),ls.subVectors(e.b,vr),cs.subVectors(e.c,vr),an.subVectors(ls,as),ln.subVectors(cs,ls),kn.subVectors(as,cs);let t=[0,-an.z,an.y,0,-ln.z,ln.y,0,-kn.z,kn.y,an.z,0,-an.x,ln.z,0,-ln.x,kn.z,0,-kn.x,-an.y,an.x,0,-ln.y,ln.x,0,-kn.y,kn.x,0];return!$c(t,as,ls,cs,Xo)||(t=[1,0,0,0,1,0,0,0,1],!$c(t,as,ls,cs,Xo))?!1:(Yo.crossVectors(an,ln),t=[Yo.x,Yo.y,Yo.z],$c(t,as,ls,cs,Xo))}clampPoint(e,t){return t.copy(e).clamp(this.min,this.max)}distanceToPoint(e){return Nn.copy(e).clamp(this.min,this.max).sub(e).length()}getBoundingSphere(e){return this.getCenter(e.center),e.radius=this.getSize(Nn).length()*.5,e}intersect(e){return this.min.max(e.min),this.max.min(e.max),this.isEmpty()&&this.makeEmpty(),this}union(e){return this.min.min(e.min),this.max.max(e.max),this}applyMatrix4(e){return this.isEmpty()?this:(Hi[0].set(this.min.x,this.min.y,this.min.z).applyMatrix4(e),Hi[1].set(this.min.x,this.min.y,this.max.z).applyMatrix4(e),Hi[2].set(this.min.x,this.max.y,this.min.z).applyMatrix4(e),Hi[3].set(this.min.x,this.max.y,this.max.z).applyMatrix4(e),Hi[4].set(this.max.x,this.min.y,this.min.z).applyMatrix4(e),Hi[5].set(this.max.x,this.min.y,this.max.z).applyMatrix4(e),Hi[6].set(this.max.x,this.max.y,this.min.z).applyMatrix4(e),Hi[7].set(this.max.x,this.max.y,this.max.z).applyMatrix4(e),this.setFromPoints(Hi),this)}translate(e){return this.min.add(e),this.max.add(e),this}equals(e){return e.min.equals(this.min)&&e.max.equals(this.max)}};Qt.prototype.isBox3=!0;var Hi=[new P,new P,new P,new P,new P,new P,new P,new P],Nn=new P,Wc=new Qt,as=new P,ls=new P,cs=new P,an=new P,ln=new P,kn=new P,vr=new P,Xo=new P,Yo=new P,On=new P;function $c(r,e,t,i,n){for(let s=0,o=r.length-3;s<=o;s+=3){On.fromArray(r,s);let a=n.x*Math.abs(On.x)+n.y*Math.abs(On.y)+n.z*Math.abs(On.z),l=e.dot(On),c=t.dot(On),u=i.dot(On);if(Math.max(-Math.max(l,c,u),Math.min(l,c,u))>a)return!1}return!0}var Ev=new Qt,tf=new P,Zo=new P,jc=new P,Ci=class{constructor(e=new P,t=-1){this.center=e,this.radius=t}set(e,t){return this.center.copy(e),this.radius=t,this}setFromPoints(e,t){let i=this.center;t!==void 0?i.copy(t):Ev.setFromPoints(e).getCenter(i);let n=0;for(let s=0,o=e.length;sthis.radius*this.radius&&(t.sub(this.center).normalize(),t.multiplyScalar(this.radius).add(this.center)),t}getBoundingBox(e){return this.isEmpty()?(e.makeEmpty(),e):(e.set(this.center,this.center),e.expandByScalar(this.radius),e)}applyMatrix4(e){return this.center.applyMatrix4(e),this.radius=this.radius*e.getMaxScaleOnAxis(),this}translate(e){return this.center.add(e),this}expandByPoint(e){jc.subVectors(e,this.center);let t=jc.lengthSq();if(t>this.radius*this.radius){let i=Math.sqrt(t),n=(i-this.radius)*.5;this.center.add(jc.multiplyScalar(n/i)),this.radius+=n}return this}union(e){return this.center.equals(e.center)===!0?Zo.set(0,0,1).multiplyScalar(e.radius):Zo.subVectors(e.center,this.center).normalize().multiplyScalar(e.radius),this.expandByPoint(tf.copy(e.center).add(Zo)),this.expandByPoint(tf.copy(e.center).sub(Zo)),this}equals(e){return e.center.equals(this.center)&&e.radius===this.radius}clone(){return new this.constructor().copy(this)}},Gi=new P,Xc=new P,Jo=new P,cn=new P,Yc=new P,Ko=new P,Zc=new P,_n=class{constructor(e=new P,t=new P(0,0,-1)){this.origin=e,this.direction=t}set(e,t){return this.origin.copy(e),this.direction.copy(t),this}copy(e){return this.origin.copy(e.origin),this.direction.copy(e.direction),this}at(e,t){return t.copy(this.direction).multiplyScalar(e).add(this.origin)}lookAt(e){return this.direction.copy(e).sub(this.origin).normalize(),this}recast(e){return this.origin.copy(this.at(e,Gi)),this}closestPointToPoint(e,t){t.subVectors(e,this.origin);let i=t.dot(this.direction);return i<0?t.copy(this.origin):t.copy(this.direction).multiplyScalar(i).add(this.origin)}distanceToPoint(e){return Math.sqrt(this.distanceSqToPoint(e))}distanceSqToPoint(e){let t=Gi.subVectors(e,this.origin).dot(this.direction);return t<0?this.origin.distanceToSquared(e):(Gi.copy(this.direction).multiplyScalar(t).add(this.origin),Gi.distanceToSquared(e))}distanceSqToSegment(e,t,i,n){Xc.copy(e).add(t).multiplyScalar(.5),Jo.copy(t).sub(e).normalize(),cn.copy(this.origin).sub(Xc);let s=e.distanceTo(t)*.5,o=-this.direction.dot(Jo),a=cn.dot(this.direction),l=-cn.dot(Jo),c=cn.lengthSq(),u=Math.abs(1-o*o),h,d,p,m;if(u>0)if(h=o*l-a,d=o*a-l,m=s*u,h>=0)if(d>=-m)if(d<=m){let y=1/u;h*=y,d*=y,p=h*(h+o*d+2*a)+d*(o*h+d+2*l)+c}else d=s,h=Math.max(0,-(o*d+a)),p=-h*h+d*(d+2*l)+c;else d=-s,h=Math.max(0,-(o*d+a)),p=-h*h+d*(d+2*l)+c;else d<=-m?(h=Math.max(0,-(-o*s+a)),d=h>0?-s:Math.min(Math.max(-s,-l),s),p=-h*h+d*(d+2*l)+c):d<=m?(h=0,d=Math.min(Math.max(-s,-l),s),p=d*(d+2*l)+c):(h=Math.max(0,-(o*s+a)),d=h>0?s:Math.min(Math.max(-s,-l),s),p=-h*h+d*(d+2*l)+c);else d=o>0?-s:s,h=Math.max(0,-(o*d+a)),p=-h*h+d*(d+2*l)+c;return i&&i.copy(this.direction).multiplyScalar(h).add(this.origin),n&&n.copy(Jo).multiplyScalar(d).add(Xc),p}intersectSphere(e,t){Gi.subVectors(e.center,this.origin);let i=Gi.dot(this.direction),n=Gi.dot(Gi)-i*i,s=e.radius*e.radius;if(n>s)return null;let o=Math.sqrt(s-n),a=i-o,l=i+o;return a<0&&l<0?null:a<0?this.at(l,t):this.at(a,t)}intersectsSphere(e){return this.distanceSqToPoint(e.center)<=e.radius*e.radius}distanceToPlane(e){let t=e.normal.dot(this.direction);if(t===0)return e.distanceToPoint(this.origin)===0?0:null;let i=-(this.origin.dot(e.normal)+e.constant)/t;return i>=0?i:null}intersectPlane(e,t){let i=this.distanceToPlane(e);return i===null?null:this.at(i,t)}intersectsPlane(e){let t=e.distanceToPoint(this.origin);return t===0||e.normal.dot(this.direction)*t<0}intersectBox(e,t){let i,n,s,o,a,l,c=1/this.direction.x,u=1/this.direction.y,h=1/this.direction.z,d=this.origin;return c>=0?(i=(e.min.x-d.x)*c,n=(e.max.x-d.x)*c):(i=(e.max.x-d.x)*c,n=(e.min.x-d.x)*c),u>=0?(s=(e.min.y-d.y)*u,o=(e.max.y-d.y)*u):(s=(e.max.y-d.y)*u,o=(e.min.y-d.y)*u),i>o||s>n||((s>i||i!==i)&&(i=s),(o=0?(a=(e.min.z-d.z)*h,l=(e.max.z-d.z)*h):(a=(e.max.z-d.z)*h,l=(e.min.z-d.z)*h),i>l||a>n)||((a>i||i!==i)&&(i=a),(l=0?i:n,t)}intersectsBox(e){return this.intersectBox(e,Gi)!==null}intersectTriangle(e,t,i,n,s){Yc.subVectors(t,e),Ko.subVectors(i,e),Zc.crossVectors(Yc,Ko);let o=this.direction.dot(Zc),a;if(o>0){if(n)return null;a=1}else if(o<0)a=-1,o=-o;else return null;cn.subVectors(this.origin,e);let l=a*this.direction.dot(Ko.crossVectors(cn,Ko));if(l<0)return null;let c=a*this.direction.dot(Yc.cross(cn));if(c<0||l+c>o)return null;let u=-a*cn.dot(Zc);return u<0?null:this.at(u/o,s)}applyMatrix4(e){return this.origin.applyMatrix4(e),this.direction.transformDirection(e),this}equals(e){return e.origin.equals(this.origin)&&e.direction.equals(this.direction)}clone(){return new this.constructor().copy(this)}},Ee=class r{constructor(){this.elements=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],arguments.length>0&&console.error("THREE.Matrix4: the constructor no longer reads arguments. use .set() instead.")}set(e,t,i,n,s,o,a,l,c,u,h,d,p,m,y,x){let g=this.elements;return g[0]=e,g[4]=t,g[8]=i,g[12]=n,g[1]=s,g[5]=o,g[9]=a,g[13]=l,g[2]=c,g[6]=u,g[10]=h,g[14]=d,g[3]=p,g[7]=m,g[11]=y,g[15]=x,this}identity(){return this.set(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1),this}clone(){return new r().fromArray(this.elements)}copy(e){let t=this.elements,i=e.elements;return t[0]=i[0],t[1]=i[1],t[2]=i[2],t[3]=i[3],t[4]=i[4],t[5]=i[5],t[6]=i[6],t[7]=i[7],t[8]=i[8],t[9]=i[9],t[10]=i[10],t[11]=i[11],t[12]=i[12],t[13]=i[13],t[14]=i[14],t[15]=i[15],this}copyPosition(e){let t=this.elements,i=e.elements;return t[12]=i[12],t[13]=i[13],t[14]=i[14],this}setFromMatrix3(e){let t=e.elements;return this.set(t[0],t[3],t[6],0,t[1],t[4],t[7],0,t[2],t[5],t[8],0,0,0,0,1),this}extractBasis(e,t,i){return e.setFromMatrixColumn(this,0),t.setFromMatrixColumn(this,1),i.setFromMatrixColumn(this,2),this}makeBasis(e,t,i){return this.set(e.x,t.x,i.x,0,e.y,t.y,i.y,0,e.z,t.z,i.z,0,0,0,0,1),this}extractRotation(e){let t=this.elements,i=e.elements,n=1/us.setFromMatrixColumn(e,0).length(),s=1/us.setFromMatrixColumn(e,1).length(),o=1/us.setFromMatrixColumn(e,2).length();return t[0]=i[0]*n,t[1]=i[1]*n,t[2]=i[2]*n,t[3]=0,t[4]=i[4]*s,t[5]=i[5]*s,t[6]=i[6]*s,t[7]=0,t[8]=i[8]*o,t[9]=i[9]*o,t[10]=i[10]*o,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,this}makeRotationFromEuler(e){e&&e.isEuler||console.error("THREE.Matrix4: .makeRotationFromEuler() now expects a Euler rotation rather than a Vector3 and order.");let t=this.elements,i=e.x,n=e.y,s=e.z,o=Math.cos(i),a=Math.sin(i),l=Math.cos(n),c=Math.sin(n),u=Math.cos(s),h=Math.sin(s);if(e.order==="XYZ"){let d=o*u,p=o*h,m=a*u,y=a*h;t[0]=l*u,t[4]=-l*h,t[8]=c,t[1]=p+m*c,t[5]=d-y*c,t[9]=-a*l,t[2]=y-d*c,t[6]=m+p*c,t[10]=o*l}else if(e.order==="YXZ"){let d=l*u,p=l*h,m=c*u,y=c*h;t[0]=d+y*a,t[4]=m*a-p,t[8]=o*c,t[1]=o*h,t[5]=o*u,t[9]=-a,t[2]=p*a-m,t[6]=y+d*a,t[10]=o*l}else if(e.order==="ZXY"){let d=l*u,p=l*h,m=c*u,y=c*h;t[0]=d-y*a,t[4]=-o*h,t[8]=m+p*a,t[1]=p+m*a,t[5]=o*u,t[9]=y-d*a,t[2]=-o*c,t[6]=a,t[10]=o*l}else if(e.order==="ZYX"){let d=o*u,p=o*h,m=a*u,y=a*h;t[0]=l*u,t[4]=m*c-p,t[8]=d*c+y,t[1]=l*h,t[5]=y*c+d,t[9]=p*c-m,t[2]=-c,t[6]=a*l,t[10]=o*l}else if(e.order==="YZX"){let d=o*l,p=o*c,m=a*l,y=a*c;t[0]=l*u,t[4]=y-d*h,t[8]=m*h+p,t[1]=h,t[5]=o*u,t[9]=-a*u,t[2]=-c*u,t[6]=p*h+m,t[10]=d-y*h}else if(e.order==="XZY"){let d=o*l,p=o*c,m=a*l,y=a*c;t[0]=l*u,t[4]=-h,t[8]=c*u,t[1]=d*h+y,t[5]=o*u,t[9]=p*h-m,t[2]=m*h-p,t[6]=a*u,t[10]=y*h+d}return t[3]=0,t[7]=0,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,this}makeRotationFromQuaternion(e){return this.compose(Av,e,Sv)}lookAt(e,t,i){let n=this.elements;return Zt.subVectors(e,t),Zt.lengthSq()===0&&(Zt.z=1),Zt.normalize(),un.crossVectors(i,Zt),un.lengthSq()===0&&(Math.abs(i.z)===1?Zt.x+=1e-4:Zt.z+=1e-4,Zt.normalize(),un.crossVectors(i,Zt)),un.normalize(),Qo.crossVectors(Zt,un),n[0]=un.x,n[4]=Qo.x,n[8]=Zt.x,n[1]=un.y,n[5]=Qo.y,n[9]=Zt.y,n[2]=un.z,n[6]=Qo.z,n[10]=Zt.z,this}multiply(e,t){return t!==void 0?(console.warn("THREE.Matrix4: .multiply() now only accepts one argument. Use .multiplyMatrices( a, b ) instead."),this.multiplyMatrices(e,t)):this.multiplyMatrices(this,e)}premultiply(e){return this.multiplyMatrices(e,this)}multiplyMatrices(e,t){let i=e.elements,n=t.elements,s=this.elements,o=i[0],a=i[4],l=i[8],c=i[12],u=i[1],h=i[5],d=i[9],p=i[13],m=i[2],y=i[6],x=i[10],g=i[14],f=i[3],E=i[7],w=i[11],_=i[15],M=n[0],T=n[4],z=n[8],W=n[12],A=n[1],v=n[5],R=n[9],S=n[13],B=n[2],L=n[6],C=n[10],N=n[14],k=n[3],V=n[7],U=n[11],q=n[15];return s[0]=o*M+a*A+l*B+c*k,s[4]=o*T+a*v+l*L+c*V,s[8]=o*z+a*R+l*C+c*U,s[12]=o*W+a*S+l*N+c*q,s[1]=u*M+h*A+d*B+p*k,s[5]=u*T+h*v+d*L+p*V,s[9]=u*z+h*R+d*C+p*U,s[13]=u*W+h*S+d*N+p*q,s[2]=m*M+y*A+x*B+g*k,s[6]=m*T+y*v+x*L+g*V,s[10]=m*z+y*R+x*C+g*U,s[14]=m*W+y*S+x*N+g*q,s[3]=f*M+E*A+w*B+_*k,s[7]=f*T+E*v+w*L+_*V,s[11]=f*z+E*R+w*C+_*U,s[15]=f*W+E*S+w*N+_*q,this}multiplyScalar(e){let t=this.elements;return t[0]*=e,t[4]*=e,t[8]*=e,t[12]*=e,t[1]*=e,t[5]*=e,t[9]*=e,t[13]*=e,t[2]*=e,t[6]*=e,t[10]*=e,t[14]*=e,t[3]*=e,t[7]*=e,t[11]*=e,t[15]*=e,this}determinant(){let e=this.elements,t=e[0],i=e[4],n=e[8],s=e[12],o=e[1],a=e[5],l=e[9],c=e[13],u=e[2],h=e[6],d=e[10],p=e[14],m=e[3],y=e[7],x=e[11],g=e[15];return m*(+s*l*h-n*c*h-s*a*d+i*c*d+n*a*p-i*l*p)+y*(+t*l*p-t*c*d+s*o*d-n*o*p+n*c*u-s*l*u)+x*(+t*c*h-t*a*p-s*o*h+i*o*p+s*a*u-i*c*u)+g*(-n*a*u-t*l*h+t*a*d+n*o*h-i*o*d+i*l*u)}transpose(){let e=this.elements,t;return t=e[1],e[1]=e[4],e[4]=t,t=e[2],e[2]=e[8],e[8]=t,t=e[6],e[6]=e[9],e[9]=t,t=e[3],e[3]=e[12],e[12]=t,t=e[7],e[7]=e[13],e[13]=t,t=e[11],e[11]=e[14],e[14]=t,this}setPosition(e,t,i){let n=this.elements;return e.isVector3?(n[12]=e.x,n[13]=e.y,n[14]=e.z):(n[12]=e,n[13]=t,n[14]=i),this}invert(){let e=this.elements,t=e[0],i=e[1],n=e[2],s=e[3],o=e[4],a=e[5],l=e[6],c=e[7],u=e[8],h=e[9],d=e[10],p=e[11],m=e[12],y=e[13],x=e[14],g=e[15],f=h*x*c-y*d*c+y*l*p-a*x*p-h*l*g+a*d*g,E=m*d*c-u*x*c-m*l*p+o*x*p+u*l*g-o*d*g,w=u*y*c-m*h*c+m*a*p-o*y*p-u*a*g+o*h*g,_=m*h*l-u*y*l-m*a*d+o*y*d+u*a*x-o*h*x,M=t*f+i*E+n*w+s*_;if(M===0)return this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);let T=1/M;return e[0]=f*T,e[1]=(y*d*s-h*x*s-y*n*p+i*x*p+h*n*g-i*d*g)*T,e[2]=(a*x*s-y*l*s+y*n*c-i*x*c-a*n*g+i*l*g)*T,e[3]=(h*l*s-a*d*s-h*n*c+i*d*c+a*n*p-i*l*p)*T,e[4]=E*T,e[5]=(u*x*s-m*d*s+m*n*p-t*x*p-u*n*g+t*d*g)*T,e[6]=(m*l*s-o*x*s-m*n*c+t*x*c+o*n*g-t*l*g)*T,e[7]=(o*d*s-u*l*s+u*n*c-t*d*c-o*n*p+t*l*p)*T,e[8]=w*T,e[9]=(m*h*s-u*y*s-m*i*p+t*y*p+u*i*g-t*h*g)*T,e[10]=(o*y*s-m*a*s+m*i*c-t*y*c-o*i*g+t*a*g)*T,e[11]=(u*a*s-o*h*s-u*i*c+t*h*c+o*i*p-t*a*p)*T,e[12]=_*T,e[13]=(u*y*n-m*h*n+m*i*d-t*y*d-u*i*x+t*h*x)*T,e[14]=(m*a*n-o*y*n-m*i*l+t*y*l+o*i*x-t*a*x)*T,e[15]=(o*h*n-u*a*n+u*i*l-t*h*l-o*i*d+t*a*d)*T,this}scale(e){let t=this.elements,i=e.x,n=e.y,s=e.z;return t[0]*=i,t[4]*=n,t[8]*=s,t[1]*=i,t[5]*=n,t[9]*=s,t[2]*=i,t[6]*=n,t[10]*=s,t[3]*=i,t[7]*=n,t[11]*=s,this}getMaxScaleOnAxis(){let e=this.elements,t=e[0]*e[0]+e[1]*e[1]+e[2]*e[2],i=e[4]*e[4]+e[5]*e[5]+e[6]*e[6],n=e[8]*e[8]+e[9]*e[9]+e[10]*e[10];return Math.sqrt(Math.max(t,i,n))}makeTranslation(e,t,i){return this.set(1,0,0,e,0,1,0,t,0,0,1,i,0,0,0,1),this}makeRotationX(e){let t=Math.cos(e),i=Math.sin(e);return this.set(1,0,0,0,0,t,-i,0,0,i,t,0,0,0,0,1),this}makeRotationY(e){let t=Math.cos(e),i=Math.sin(e);return this.set(t,0,i,0,0,1,0,0,-i,0,t,0,0,0,0,1),this}makeRotationZ(e){let t=Math.cos(e),i=Math.sin(e);return this.set(t,-i,0,0,i,t,0,0,0,0,1,0,0,0,0,1),this}makeRotationAxis(e,t){let i=Math.cos(t),n=Math.sin(t),s=1-i,o=e.x,a=e.y,l=e.z,c=s*o,u=s*a;return this.set(c*o+i,c*a-n*l,c*l+n*a,0,c*a+n*l,u*a+i,u*l-n*o,0,c*l-n*a,u*l+n*o,s*l*l+i,0,0,0,0,1),this}makeScale(e,t,i){return this.set(e,0,0,0,0,t,0,0,0,0,i,0,0,0,0,1),this}makeShear(e,t,i,n,s,o){return this.set(1,i,s,0,e,1,o,0,t,n,1,0,0,0,0,1),this}compose(e,t,i){let n=this.elements,s=t._x,o=t._y,a=t._z,l=t._w,c=s+s,u=o+o,h=a+a,d=s*c,p=s*u,m=s*h,y=o*u,x=o*h,g=a*h,f=l*c,E=l*u,w=l*h,_=i.x,M=i.y,T=i.z;return n[0]=(1-(y+g))*_,n[1]=(p+w)*_,n[2]=(m-E)*_,n[3]=0,n[4]=(p-w)*M,n[5]=(1-(d+g))*M,n[6]=(x+f)*M,n[7]=0,n[8]=(m+E)*T,n[9]=(x-f)*T,n[10]=(1-(d+y))*T,n[11]=0,n[12]=e.x,n[13]=e.y,n[14]=e.z,n[15]=1,this}decompose(e,t,i){let n=this.elements,s=us.set(n[0],n[1],n[2]).length(),o=us.set(n[4],n[5],n[6]).length(),a=us.set(n[8],n[9],n[10]).length();this.determinant()<0&&(s=-s),e.x=n[12],e.y=n[13],e.z=n[14],ui.copy(this);let c=1/s,u=1/o,h=1/a;return ui.elements[0]*=c,ui.elements[1]*=c,ui.elements[2]*=c,ui.elements[4]*=u,ui.elements[5]*=u,ui.elements[6]*=u,ui.elements[8]*=h,ui.elements[9]*=h,ui.elements[10]*=h,t.setFromRotationMatrix(ui),i.x=s,i.y=o,i.z=a,this}makePerspective(e,t,i,n,s,o){o===void 0&&console.warn("THREE.Matrix4: .makePerspective() has been redefined and has a new signature. Please check the docs.");let a=this.elements,l=2*s/(t-e),c=2*s/(i-n),u=(t+e)/(t-e),h=(i+n)/(i-n),d=-(o+s)/(o-s),p=-2*o*s/(o-s);return a[0]=l,a[4]=0,a[8]=u,a[12]=0,a[1]=0,a[5]=c,a[9]=h,a[13]=0,a[2]=0,a[6]=0,a[10]=d,a[14]=p,a[3]=0,a[7]=0,a[11]=-1,a[15]=0,this}makeOrthographic(e,t,i,n,s,o){let a=this.elements,l=1/(t-e),c=1/(i-n),u=1/(o-s),h=(t+e)*l,d=(i+n)*c,p=(o+s)*u;return a[0]=2*l,a[4]=0,a[8]=0,a[12]=-h,a[1]=0,a[5]=2*c,a[9]=0,a[13]=-d,a[2]=0,a[6]=0,a[10]=-2*u,a[14]=-p,a[3]=0,a[7]=0,a[11]=0,a[15]=1,this}equals(e){let t=this.elements,i=e.elements;for(let n=0;n<16;n++)if(t[n]!==i[n])return!1;return!0}fromArray(e,t=0){for(let i=0;i<16;i++)this.elements[i]=e[i+t];return this}toArray(e=[],t=0){let i=this.elements;return e[t]=i[0],e[t+1]=i[1],e[t+2]=i[2],e[t+3]=i[3],e[t+4]=i[4],e[t+5]=i[5],e[t+6]=i[6],e[t+7]=i[7],e[t+8]=i[8],e[t+9]=i[9],e[t+10]=i[10],e[t+11]=i[11],e[t+12]=i[12],e[t+13]=i[13],e[t+14]=i[14],e[t+15]=i[15],e}};Ee.prototype.isMatrix4=!0;var us=new P,ui=new Ee,Av=new P(0,0,0),Sv=new P(1,1,1),un=new P,Qo=new P,Zt=new P,nf=new Ee,sf=new Ft,Is=class r{constructor(e=0,t=0,i=0,n=r.DefaultOrder){this._x=e,this._y=t,this._z=i,this._order=n}get x(){return this._x}set x(e){this._x=e,this._onChangeCallback()}get y(){return this._y}set y(e){this._y=e,this._onChangeCallback()}get z(){return this._z}set z(e){this._z=e,this._onChangeCallback()}get order(){return this._order}set order(e){this._order=e,this._onChangeCallback()}set(e,t,i,n=this._order){return this._x=e,this._y=t,this._z=i,this._order=n,this._onChangeCallback(),this}clone(){return new this.constructor(this._x,this._y,this._z,this._order)}copy(e){return this._x=e._x,this._y=e._y,this._z=e._z,this._order=e._order,this._onChangeCallback(),this}setFromRotationMatrix(e,t=this._order,i=!0){let n=e.elements,s=n[0],o=n[4],a=n[8],l=n[1],c=n[5],u=n[9],h=n[2],d=n[6],p=n[10];switch(t){case"XYZ":this._y=Math.asin(Ut(a,-1,1)),Math.abs(a)<.9999999?(this._x=Math.atan2(-u,p),this._z=Math.atan2(-o,s)):(this._x=Math.atan2(d,c),this._z=0);break;case"YXZ":this._x=Math.asin(-Ut(u,-1,1)),Math.abs(u)<.9999999?(this._y=Math.atan2(a,p),this._z=Math.atan2(l,c)):(this._y=Math.atan2(-h,s),this._z=0);break;case"ZXY":this._x=Math.asin(Ut(d,-1,1)),Math.abs(d)<.9999999?(this._y=Math.atan2(-h,p),this._z=Math.atan2(-o,c)):(this._y=0,this._z=Math.atan2(l,s));break;case"ZYX":this._y=Math.asin(-Ut(h,-1,1)),Math.abs(h)<.9999999?(this._x=Math.atan2(d,p),this._z=Math.atan2(l,s)):(this._x=0,this._z=Math.atan2(-o,c));break;case"YZX":this._z=Math.asin(Ut(l,-1,1)),Math.abs(l)<.9999999?(this._x=Math.atan2(-u,c),this._y=Math.atan2(-h,s)):(this._x=0,this._y=Math.atan2(a,p));break;case"XZY":this._z=Math.asin(-Ut(o,-1,1)),Math.abs(o)<.9999999?(this._x=Math.atan2(d,c),this._y=Math.atan2(a,s)):(this._x=Math.atan2(-u,p),this._y=0);break;default:console.warn("THREE.Euler: .setFromRotationMatrix() encountered an unknown order: "+t)}return this._order=t,i===!0&&this._onChangeCallback(),this}setFromQuaternion(e,t,i){return nf.makeRotationFromQuaternion(e),this.setFromRotationMatrix(nf,t,i)}setFromVector3(e,t=this._order){return this.set(e.x,e.y,e.z,t)}reorder(e){return sf.setFromEuler(this),this.setFromQuaternion(sf,e)}equals(e){return e._x===this._x&&e._y===this._y&&e._z===this._z&&e._order===this._order}fromArray(e){return this._x=e[0],this._y=e[1],this._z=e[2],e[3]!==void 0&&(this._order=e[3]),this._onChangeCallback(),this}toArray(e=[],t=0){return e[t]=this._x,e[t+1]=this._y,e[t+2]=this._z,e[t+3]=this._order,e}toVector3(e){return e?e.set(this._x,this._y,this._z):new P(this._x,this._y,this._z)}_onChange(e){return this._onChangeCallback=e,this}_onChangeCallback(){}};Is.prototype.isEuler=!0;Is.DefaultOrder="XYZ";Is.RotationOrders=["XYZ","YZX","ZXY","XZY","YXZ","ZYX"];var Fa=class{constructor(){this.mask=1}set(e){this.mask=(1<>>0}enable(e){this.mask|=1<1){for(let t=0;t1){for(let i=0;i0){n.children=[];for(let a=0;a0){n.animations=[];for(let a=0;a0&&(i.geometries=a),l.length>0&&(i.materials=l),c.length>0&&(i.textures=c),u.length>0&&(i.images=u),h.length>0&&(i.shapes=h),d.length>0&&(i.skeletons=d),p.length>0&&(i.animations=p)}return i.object=n,i;function o(a){let l=[];for(let c in a){let u=a[c];delete u.metadata,l.push(u)}return l}}clone(e){return new this.constructor().copy(this,e)}copy(e,t=!0){if(this.name=e.name,this.up.copy(e.up),this.position.copy(e.position),this.rotation.order=e.rotation.order,this.quaternion.copy(e.quaternion),this.scale.copy(e.scale),this.matrix.copy(e.matrix),this.matrixWorld.copy(e.matrixWorld),this.matrixAutoUpdate=e.matrixAutoUpdate,this.matrixWorldNeedsUpdate=e.matrixWorldNeedsUpdate,this.layers.mask=e.layers.mask,this.visible=e.visible,this.castShadow=e.castShadow,this.receiveShadow=e.receiveShadow,this.frustumCulled=e.frustumCulled,this.renderOrder=e.renderOrder,this.userData=JSON.parse(JSON.stringify(e.userData)),t===!0)for(let i=0;i0?n.multiplyScalar(1/Math.sqrt(s)):n.set(0,0,0)}static getBarycoord(e,t,i,n,s){hi.subVectors(n,t),Wi.subVectors(i,t),Jc.subVectors(e,t);let o=hi.dot(hi),a=hi.dot(Wi),l=hi.dot(Jc),c=Wi.dot(Wi),u=Wi.dot(Jc),h=o*c-a*a;if(h===0)return s.set(-2,-1,-1);let d=1/h,p=(c*l-a*u)*d,m=(o*u-a*l)*d;return s.set(1-p-m,m,p)}static containsPoint(e,t,i,n){return this.getBarycoord(e,t,i,n,$i),$i.x>=0&&$i.y>=0&&$i.x+$i.y<=1}static getUV(e,t,i,n,s,o,a,l){return this.getBarycoord(e,t,i,n,$i),l.set(0,0),l.addScaledVector(s,$i.x),l.addScaledVector(o,$i.y),l.addScaledVector(a,$i.z),l}static isFrontFacing(e,t,i,n){return hi.subVectors(i,t),Wi.subVectors(e,t),hi.cross(Wi).dot(n)<0}set(e,t,i){return this.a.copy(e),this.b.copy(t),this.c.copy(i),this}setFromPointsAndIndices(e,t,i,n){return this.a.copy(e[t]),this.b.copy(e[i]),this.c.copy(e[n]),this}setFromAttributeAndIndices(e,t,i,n){return this.a.fromBufferAttribute(e,t),this.b.fromBufferAttribute(e,i),this.c.fromBufferAttribute(e,n),this}clone(){return new this.constructor().copy(this)}copy(e){return this.a.copy(e.a),this.b.copy(e.b),this.c.copy(e.c),this}getArea(){return hi.subVectors(this.c,this.b),Wi.subVectors(this.a,this.b),hi.cross(Wi).length()*.5}getMidpoint(e){return e.addVectors(this.a,this.b).add(this.c).multiplyScalar(1/3)}getNormal(e){return r.getNormal(this.a,this.b,this.c,e)}getPlane(e){return e.setFromCoplanarPoints(this.a,this.b,this.c)}getBarycoord(e,t){return r.getBarycoord(e,this.a,this.b,this.c,t)}getUV(e,t,i,n,s){return r.getUV(e,this.a,this.b,this.c,t,i,n,s)}containsPoint(e){return r.containsPoint(e,this.a,this.b,this.c)}isFrontFacing(e){return r.isFrontFacing(this.a,this.b,this.c,e)}intersectsBox(e){return e.intersectsTriangle(this)}closestPointToPoint(e,t){let i=this.a,n=this.b,s=this.c,o,a;ds.subVectors(n,i),ps.subVectors(s,i),Kc.subVectors(e,i);let l=ds.dot(Kc),c=ps.dot(Kc);if(l<=0&&c<=0)return t.copy(i);Qc.subVectors(e,n);let u=ds.dot(Qc),h=ps.dot(Qc);if(u>=0&&h<=u)return t.copy(n);let d=l*h-u*c;if(d<=0&&l>=0&&u<=0)return o=l/(l-u),t.copy(i).addScaledVector(ds,o);eu.subVectors(e,s);let p=ds.dot(eu),m=ps.dot(eu);if(m>=0&&p<=m)return t.copy(s);let y=p*c-l*m;if(y<=0&&c>=0&&m<=0)return a=c/(c-m),t.copy(i).addScaledVector(ps,a);let x=u*m-p*h;if(x<=0&&h-u>=0&&p-m>=0)return uf.subVectors(s,n),a=(h-u)/(h-u+(p-m)),t.copy(n).addScaledVector(uf,a);let g=1/(x+y+d);return o=y*g,a=d*g,t.copy(i).addScaledVector(ds,o).addScaledVector(ps,a)}equals(e){return e.a.equals(this.a)&&e.b.equals(this.b)&&e.c.equals(this.c)}},Rv=0,ft=class extends Xi{constructor(){super(),Object.defineProperty(this,"id",{value:Rv++}),this.uuid=pi(),this.name="",this.type="Material",this.fog=!0,this.blending=Rr,this.side=Pr,this.vertexColors=!1,this.opacity=1,this.transparent=!1,this.blendSrc=am,this.blendDst=lm,this.blendEquation=Ss,this.blendSrcAlpha=null,this.blendDstAlpha=null,this.blendEquationAlpha=null,this.depthFunc=xu,this.depthTest=!0,this.depthWrite=!0,this.stencilWriteMask=255,this.stencilFunc=vv,this.stencilRef=0,this.stencilFuncMask=255,this.stencilFail=Oc,this.stencilZFail=Oc,this.stencilZPass=Oc,this.stencilWrite=!1,this.clippingPlanes=null,this.clipIntersection=!1,this.clipShadows=!1,this.shadowSide=null,this.colorWrite=!0,this.precision=null,this.polygonOffset=!1,this.polygonOffsetFactor=0,this.polygonOffsetUnits=0,this.dithering=!1,this.alphaToCoverage=!1,this.premultipliedAlpha=!1,this.visible=!0,this.toneMapped=!0,this.userData={},this.version=0,this._alphaTest=0}get alphaTest(){return this._alphaTest}set alphaTest(e){this._alphaTest>0!=e>0&&this.version++,this._alphaTest=e}onBuild(){}onBeforeRender(){}onBeforeCompile(){}customProgramCacheKey(){return this.onBeforeCompile.toString()}setValues(e){if(e!==void 0)for(let t in e){let i=e[t];if(i===void 0){console.warn("THREE.Material: '"+t+"' parameter is undefined.");continue}if(t==="shading"){console.warn("THREE."+this.type+": .shading has been removed. Use the boolean .flatShading instead."),this.flatShading=i===om;continue}let n=this[t];if(n===void 0){console.warn("THREE."+this.type+": '"+t+"' is not a property of this material.");continue}n&&n.isColor?n.set(i):n&&n.isVector3&&i&&i.isVector3?n.copy(i):this[t]=i}}toJSON(e){let t=e===void 0||typeof e=="string";t&&(e={textures:{},images:{}});let i={metadata:{version:4.5,type:"Material",generator:"Material.toJSON"}};i.uuid=this.uuid,i.type=this.type,this.name!==""&&(i.name=this.name),this.color&&this.color.isColor&&(i.color=this.color.getHex()),this.roughness!==void 0&&(i.roughness=this.roughness),this.metalness!==void 0&&(i.metalness=this.metalness),this.sheen!==void 0&&(i.sheen=this.sheen),this.sheenColor&&this.sheenColor.isColor&&(i.sheenColor=this.sheenColor.getHex()),this.sheenRoughness!==void 0&&(i.sheenRoughness=this.sheenRoughness),this.emissive&&this.emissive.isColor&&(i.emissive=this.emissive.getHex()),this.emissiveIntensity&&this.emissiveIntensity!==1&&(i.emissiveIntensity=this.emissiveIntensity),this.specular&&this.specular.isColor&&(i.specular=this.specular.getHex()),this.specularIntensity!==void 0&&(i.specularIntensity=this.specularIntensity),this.specularColor&&this.specularColor.isColor&&(i.specularColor=this.specularColor.getHex()),this.shininess!==void 0&&(i.shininess=this.shininess),this.clearcoat!==void 0&&(i.clearcoat=this.clearcoat),this.clearcoatRoughness!==void 0&&(i.clearcoatRoughness=this.clearcoatRoughness),this.clearcoatMap&&this.clearcoatMap.isTexture&&(i.clearcoatMap=this.clearcoatMap.toJSON(e).uuid),this.clearcoatRoughnessMap&&this.clearcoatRoughnessMap.isTexture&&(i.clearcoatRoughnessMap=this.clearcoatRoughnessMap.toJSON(e).uuid),this.clearcoatNormalMap&&this.clearcoatNormalMap.isTexture&&(i.clearcoatNormalMap=this.clearcoatNormalMap.toJSON(e).uuid,i.clearcoatNormalScale=this.clearcoatNormalScale.toArray()),this.map&&this.map.isTexture&&(i.map=this.map.toJSON(e).uuid),this.matcap&&this.matcap.isTexture&&(i.matcap=this.matcap.toJSON(e).uuid),this.alphaMap&&this.alphaMap.isTexture&&(i.alphaMap=this.alphaMap.toJSON(e).uuid),this.lightMap&&this.lightMap.isTexture&&(i.lightMap=this.lightMap.toJSON(e).uuid,i.lightMapIntensity=this.lightMapIntensity),this.aoMap&&this.aoMap.isTexture&&(i.aoMap=this.aoMap.toJSON(e).uuid,i.aoMapIntensity=this.aoMapIntensity),this.bumpMap&&this.bumpMap.isTexture&&(i.bumpMap=this.bumpMap.toJSON(e).uuid,i.bumpScale=this.bumpScale),this.normalMap&&this.normalMap.isTexture&&(i.normalMap=this.normalMap.toJSON(e).uuid,i.normalMapType=this.normalMapType,i.normalScale=this.normalScale.toArray()),this.displacementMap&&this.displacementMap.isTexture&&(i.displacementMap=this.displacementMap.toJSON(e).uuid,i.displacementScale=this.displacementScale,i.displacementBias=this.displacementBias),this.roughnessMap&&this.roughnessMap.isTexture&&(i.roughnessMap=this.roughnessMap.toJSON(e).uuid),this.metalnessMap&&this.metalnessMap.isTexture&&(i.metalnessMap=this.metalnessMap.toJSON(e).uuid),this.emissiveMap&&this.emissiveMap.isTexture&&(i.emissiveMap=this.emissiveMap.toJSON(e).uuid),this.specularMap&&this.specularMap.isTexture&&(i.specularMap=this.specularMap.toJSON(e).uuid),this.specularIntensityMap&&this.specularIntensityMap.isTexture&&(i.specularIntensityMap=this.specularIntensityMap.toJSON(e).uuid),this.specularColorMap&&this.specularColorMap.isTexture&&(i.specularColorMap=this.specularColorMap.toJSON(e).uuid),this.envMap&&this.envMap.isTexture&&(i.envMap=this.envMap.toJSON(e).uuid,this.combine!==void 0&&(i.combine=this.combine)),this.envMapIntensity!==void 0&&(i.envMapIntensity=this.envMapIntensity),this.reflectivity!==void 0&&(i.reflectivity=this.reflectivity),this.refractionRatio!==void 0&&(i.refractionRatio=this.refractionRatio),this.gradientMap&&this.gradientMap.isTexture&&(i.gradientMap=this.gradientMap.toJSON(e).uuid),this.transmission!==void 0&&(i.transmission=this.transmission),this.transmissionMap&&this.transmissionMap.isTexture&&(i.transmissionMap=this.transmissionMap.toJSON(e).uuid),this.thickness!==void 0&&(i.thickness=this.thickness),this.thicknessMap&&this.thicknessMap.isTexture&&(i.thicknessMap=this.thicknessMap.toJSON(e).uuid),this.attenuationDistance!==void 0&&(i.attenuationDistance=this.attenuationDistance),this.attenuationColor!==void 0&&(i.attenuationColor=this.attenuationColor.getHex()),this.size!==void 0&&(i.size=this.size),this.shadowSide!==null&&(i.shadowSide=this.shadowSide),this.sizeAttenuation!==void 0&&(i.sizeAttenuation=this.sizeAttenuation),this.blending!==Rr&&(i.blending=this.blending),this.side!==Pr&&(i.side=this.side),this.vertexColors&&(i.vertexColors=!0),this.opacity<1&&(i.opacity=this.opacity),this.transparent===!0&&(i.transparent=this.transparent),i.depthFunc=this.depthFunc,i.depthTest=this.depthTest,i.depthWrite=this.depthWrite,i.colorWrite=this.colorWrite,i.stencilWrite=this.stencilWrite,i.stencilWriteMask=this.stencilWriteMask,i.stencilFunc=this.stencilFunc,i.stencilRef=this.stencilRef,i.stencilFuncMask=this.stencilFuncMask,i.stencilFail=this.stencilFail,i.stencilZFail=this.stencilZFail,i.stencilZPass=this.stencilZPass,this.rotation&&this.rotation!==0&&(i.rotation=this.rotation),this.polygonOffset===!0&&(i.polygonOffset=!0),this.polygonOffsetFactor!==0&&(i.polygonOffsetFactor=this.polygonOffsetFactor),this.polygonOffsetUnits!==0&&(i.polygonOffsetUnits=this.polygonOffsetUnits),this.linewidth&&this.linewidth!==1&&(i.linewidth=this.linewidth),this.dashSize!==void 0&&(i.dashSize=this.dashSize),this.gapSize!==void 0&&(i.gapSize=this.gapSize),this.scale!==void 0&&(i.scale=this.scale),this.dithering===!0&&(i.dithering=!0),this.alphaTest>0&&(i.alphaTest=this.alphaTest),this.alphaToCoverage===!0&&(i.alphaToCoverage=this.alphaToCoverage),this.premultipliedAlpha===!0&&(i.premultipliedAlpha=this.premultipliedAlpha),this.wireframe===!0&&(i.wireframe=this.wireframe),this.wireframeLinewidth>1&&(i.wireframeLinewidth=this.wireframeLinewidth),this.wireframeLinecap!=="round"&&(i.wireframeLinecap=this.wireframeLinecap),this.wireframeLinejoin!=="round"&&(i.wireframeLinejoin=this.wireframeLinejoin),this.flatShading===!0&&(i.flatShading=this.flatShading),this.visible===!1&&(i.visible=!1),this.toneMapped===!1&&(i.toneMapped=!1),JSON.stringify(this.userData)!=="{}"&&(i.userData=this.userData);function n(s){let o=[];for(let a in s){let l=s[a];delete l.metadata,o.push(l)}return o}if(t){let s=n(e.textures),o=n(e.images);s.length>0&&(i.textures=s),o.length>0&&(i.images=o)}return i}clone(){return new this.constructor().copy(this)}copy(e){this.name=e.name,this.fog=e.fog,this.blending=e.blending,this.side=e.side,this.vertexColors=e.vertexColors,this.opacity=e.opacity,this.transparent=e.transparent,this.blendSrc=e.blendSrc,this.blendDst=e.blendDst,this.blendEquation=e.blendEquation,this.blendSrcAlpha=e.blendSrcAlpha,this.blendDstAlpha=e.blendDstAlpha,this.blendEquationAlpha=e.blendEquationAlpha,this.depthFunc=e.depthFunc,this.depthTest=e.depthTest,this.depthWrite=e.depthWrite,this.stencilWriteMask=e.stencilWriteMask,this.stencilFunc=e.stencilFunc,this.stencilRef=e.stencilRef,this.stencilFuncMask=e.stencilFuncMask,this.stencilFail=e.stencilFail,this.stencilZFail=e.stencilZFail,this.stencilZPass=e.stencilZPass,this.stencilWrite=e.stencilWrite;let t=e.clippingPlanes,i=null;if(t!==null){let n=t.length;i=new Array(n);for(let s=0;s!==n;++s)i[s]=t[s].clone()}return this.clippingPlanes=i,this.clipIntersection=e.clipIntersection,this.clipShadows=e.clipShadows,this.shadowSide=e.shadowSide,this.colorWrite=e.colorWrite,this.precision=e.precision,this.polygonOffset=e.polygonOffset,this.polygonOffsetFactor=e.polygonOffsetFactor,this.polygonOffsetUnits=e.polygonOffsetUnits,this.dithering=e.dithering,this.alphaTest=e.alphaTest,this.alphaToCoverage=e.alphaToCoverage,this.premultipliedAlpha=e.premultipliedAlpha,this.visible=e.visible,this.toneMapped=e.toneMapped,this.userData=JSON.parse(JSON.stringify(e.userData)),this}dispose(){this.dispatchEvent({type:"dispose"})}set needsUpdate(e){e===!0&&this.version++}};ft.prototype.isMaterial=!0;var zr=class extends ft{constructor(e){super(),this.type="MeshBasicMaterial",this.color=new ye(16777215),this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.specularMap=null,this.alphaMap=null,this.envMap=null,this.combine=il,this.reflectivity=1,this.refractionRatio=.98,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.map=e.map,this.lightMap=e.lightMap,this.lightMapIntensity=e.lightMapIntensity,this.aoMap=e.aoMap,this.aoMapIntensity=e.aoMapIntensity,this.specularMap=e.specularMap,this.alphaMap=e.alphaMap,this.envMap=e.envMap,this.combine=e.combine,this.reflectivity=e.reflectivity,this.refractionRatio=e.refractionRatio,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.wireframeLinecap=e.wireframeLinecap,this.wireframeLinejoin=e.wireframeLinejoin,this}};zr.prototype.isMeshBasicMaterial=!0;var Je=new P,ta=new ee,ht=class{constructor(e,t,i){if(Array.isArray(e))throw new TypeError("THREE.BufferAttribute: array should be a Typed Array.");this.name="",this.array=e,this.itemSize=t,this.count=e!==void 0?e.length/t:0,this.normalized=i===!0,this.usage=Nr,this.updateRange={offset:0,count:-1},this.version=0}onUploadCallback(){}set needsUpdate(e){e===!0&&this.version++}setUsage(e){return this.usage=e,this}copy(e){return this.name=e.name,this.array=new e.array.constructor(e.array),this.itemSize=e.itemSize,this.count=e.count,this.normalized=e.normalized,this.usage=e.usage,this}copyAt(e,t,i){e*=this.itemSize,i*=t.itemSize;for(let n=0,s=this.itemSize;n0&&(e.userData=this.userData),this.parameters!==void 0){let l=this.parameters;for(let c in l)l[c]!==void 0&&(e[c]=l[c]);return e}e.data={attributes:{}};let t=this.index;t!==null&&(e.data.index={type:t.array.constructor.name,array:Array.prototype.slice.call(t.array)});let i=this.attributes;for(let l in i){let c=i[l];e.data.attributes[l]=c.toJSON(e.data)}let n={},s=!1;for(let l in this.morphAttributes){let c=this.morphAttributes[l],u=[];for(let h=0,d=c.length;h0&&(n[l]=u,s=!0)}s&&(e.data.morphAttributes=n,e.data.morphTargetsRelative=this.morphTargetsRelative);let o=this.groups;o.length>0&&(e.data.groups=JSON.parse(JSON.stringify(o)));let a=this.boundingSphere;return a!==null&&(e.data.boundingSphere={center:a.center.toArray(),radius:a.radius}),e}clone(){return new this.constructor().copy(this)}copy(e){this.index=null,this.attributes={},this.morphAttributes={},this.groups=[],this.boundingBox=null,this.boundingSphere=null;let t={};this.name=e.name;let i=e.index;i!==null&&this.setIndex(i.clone(t));let n=e.attributes;for(let c in n){let u=n[c];this.setAttribute(c,u.clone(t))}let s=e.morphAttributes;for(let c in s){let u=[],h=s[c];for(let d=0,p=h.length;d0){let n=t[i[0]];if(n!==void 0){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let s=0,o=n.length;s0&&console.error("THREE.Mesh.updateMorphTargets() no longer supports THREE.Geometry. Use THREE.BufferGeometry instead.")}}raycast(e,t){let i=this.geometry,n=this.material,s=this.matrixWorld;if(n===void 0||(i.boundingSphere===null&&i.computeBoundingSphere(),iu.copy(i.boundingSphere),iu.applyMatrix4(s),e.ray.intersectsSphere(iu)===!1)||(hf.copy(s).invert(),ms.copy(e.ray).applyMatrix4(hf),i.boundingBox!==null&&ms.intersectsBox(i.boundingBox)===!1))return;let o;if(i.isBufferGeometry){let a=i.index,l=i.attributes.position,c=i.morphAttributes.position,u=i.morphTargetsRelative,h=i.attributes.uv,d=i.attributes.uv2,p=i.groups,m=i.drawRange;if(a!==null)if(Array.isArray(n))for(let y=0,x=p.length;yt.far?null:{distance:c,point:la.clone(),object:r}}function ca(r,e,t,i,n,s,o,a,l,c,u,h){hn.fromBufferAttribute(n,c),dn.fromBufferAttribute(n,u),pn.fromBufferAttribute(n,h);let d=r.morphTargetInfluences;if(s&&d){ia.set(0,0,0),na.set(0,0,0),sa.set(0,0,0);for(let m=0,y=s.length;m0?1:-1,u.push(V.x,V.y,V.z),h.push(j/T),h.push(1-U/z),N+=1}}for(let U=0;U0&&(t.defines=this.defines),t.vertexShader=this.vertexShader,t.fragmentShader=this.fragmentShader;let i={};for(let n in this.extensions)this.extensions[n]===!0&&(i[n]=!0);return Object.keys(i).length>0&&(t.extensions=i),t}};Zi.prototype.isShaderMaterial=!0;var Ur=class extends Ge{constructor(){super(),this.type="Camera",this.matrixWorldInverse=new Ee,this.projectionMatrix=new Ee,this.projectionMatrixInverse=new Ee}copy(e,t){return super.copy(e,t),this.matrixWorldInverse.copy(e.matrixWorldInverse),this.projectionMatrix.copy(e.projectionMatrix),this.projectionMatrixInverse.copy(e.projectionMatrixInverse),this}getWorldDirection(e){this.updateWorldMatrix(!0,!1);let t=this.matrixWorld.elements;return e.set(-t[8],-t[9],-t[10]).normalize()}updateMatrixWorld(e){super.updateMatrixWorld(e),this.matrixWorldInverse.copy(this.matrixWorld).invert()}updateWorldMatrix(e,t){super.updateWorldMatrix(e,t),this.matrixWorldInverse.copy(this.matrixWorld).invert()}clone(){return new this.constructor().copy(this)}};Ur.prototype.isCamera=!0;var Et=class extends Ur{constructor(e=50,t=1,i=.1,n=2e3){super(),this.type="PerspectiveCamera",this.fov=e,this.zoom=1,this.near=i,this.far=n,this.focus=10,this.aspect=t,this.view=null,this.filmGauge=35,this.filmOffset=0,this.updateProjectionMatrix()}copy(e,t){return super.copy(e,t),this.fov=e.fov,this.zoom=e.zoom,this.near=e.near,this.far=e.far,this.focus=e.focus,this.aspect=e.aspect,this.view=e.view===null?null:Object.assign({},e.view),this.filmGauge=e.filmGauge,this.filmOffset=e.filmOffset,this}setFocalLength(e){let t=.5*this.getFilmHeight()/e;this.fov=Au*2*Math.atan(t),this.updateProjectionMatrix()}getFocalLength(){let e=Math.tan(zc*.5*this.fov);return .5*this.getFilmHeight()/e}getEffectiveFOV(){return Au*2*Math.atan(Math.tan(zc*.5*this.fov)/this.zoom)}getFilmWidth(){return this.filmGauge*Math.min(this.aspect,1)}getFilmHeight(){return this.filmGauge/Math.max(this.aspect,1)}setViewOffset(e,t,i,n,s,o){this.aspect=e/t,this.view===null&&(this.view={enabled:!0,fullWidth:1,fullHeight:1,offsetX:0,offsetY:0,width:1,height:1}),this.view.enabled=!0,this.view.fullWidth=e,this.view.fullHeight=t,this.view.offsetX=i,this.view.offsetY=n,this.view.width=s,this.view.height=o,this.updateProjectionMatrix()}clearViewOffset(){this.view!==null&&(this.view.enabled=!1),this.updateProjectionMatrix()}updateProjectionMatrix(){let e=this.near,t=e*Math.tan(zc*.5*this.fov)/this.zoom,i=2*t,n=this.aspect*i,s=-.5*n,o=this.view;if(this.view!==null&&this.view.enabled){let l=o.fullWidth,c=o.fullHeight;s+=o.offsetX*n/l,t-=o.offsetY*i/c,n*=o.width/l,i*=o.height/c}let a=this.filmOffset;a!==0&&(s+=e*a/this.getFilmWidth()),this.projectionMatrix.makePerspective(s,s+n,t,t-i,e,this.far),this.projectionMatrixInverse.copy(this.projectionMatrix).invert()}toJSON(e){let t=super.toJSON(e);return t.object.fov=this.fov,t.object.zoom=this.zoom,t.object.near=this.near,t.object.far=this.far,t.object.focus=this.focus,t.object.aspect=this.aspect,this.view!==null&&(t.object.view=Object.assign({},this.view)),t.object.filmGauge=this.filmGauge,t.object.filmOffset=this.filmOffset,t}};Et.prototype.isPerspectiveCamera=!0;var gs=90,ys=1,Hr=class extends Ge{constructor(e,t,i){if(super(),this.type="CubeCamera",i.isWebGLCubeRenderTarget!==!0){console.error("THREE.CubeCamera: The constructor now expects an instance of WebGLCubeRenderTarget as third parameter.");return}this.renderTarget=i;let n=new Et(gs,ys,e,t);n.layers=this.layers,n.up.set(0,-1,0),n.lookAt(new P(1,0,0)),this.add(n);let s=new Et(gs,ys,e,t);s.layers=this.layers,s.up.set(0,-1,0),s.lookAt(new P(-1,0,0)),this.add(s);let o=new Et(gs,ys,e,t);o.layers=this.layers,o.up.set(0,0,1),o.lookAt(new P(0,1,0)),this.add(o);let a=new Et(gs,ys,e,t);a.layers=this.layers,a.up.set(0,0,-1),a.lookAt(new P(0,-1,0)),this.add(a);let l=new Et(gs,ys,e,t);l.layers=this.layers,l.up.set(0,-1,0),l.lookAt(new P(0,0,1)),this.add(l);let c=new Et(gs,ys,e,t);c.layers=this.layers,c.up.set(0,-1,0),c.lookAt(new P(0,0,-1)),this.add(c)}update(e,t){this.parent===null&&this.updateMatrixWorld();let i=this.renderTarget,[n,s,o,a,l,c]=this.children,u=e.xr.enabled,h=e.getRenderTarget();e.xr.enabled=!1;let d=i.texture.generateMipmaps;i.texture.generateMipmaps=!1,e.setRenderTarget(i,0),e.render(t,n),e.setRenderTarget(i,1),e.render(t,s),e.setRenderTarget(i,2),e.render(t,o),e.setRenderTarget(i,3),e.render(t,a),e.setRenderTarget(i,4),e.render(t,l),i.texture.generateMipmaps=d,e.setRenderTarget(i,5),e.render(t,c),e.setRenderTarget(h),e.xr.enabled=u,i.texture.needsPMREMUpdate=!0}},ks=class extends lt{constructor(e,t,i,n,s,o,a,l,c,u){e=e!==void 0?e:[],t=t!==void 0?t:co,super(e,t,i,n,s,o,a,l,c,u),this.flipY=!1}get images(){return this.image}set images(e){this.image=e}};ks.prototype.isCubeTexture=!0;var Pa=class extends Ht{constructor(e,t,i){Number.isInteger(t)&&(console.warn("THREE.WebGLCubeRenderTarget: constructor signature is now WebGLCubeRenderTarget( size, options )"),t=i),super(e,e,t),t=t||{},this.texture=new ks(void 0,t.mapping,t.wrapS,t.wrapT,t.magFilter,t.minFilter,t.format,t.type,t.anisotropy,t.encoding),this.texture.isRenderTargetTexture=!0,this.texture.generateMipmaps=t.generateMipmaps!==void 0?t.generateMipmaps:!1,this.texture.minFilter=t.minFilter!==void 0?t.minFilter:Ft}fromEquirectangularTexture(e,t){this.texture.type=t.type,this.texture.format=Nt,this.texture.encoding=t.encoding,this.texture.generateMipmaps=t.generateMipmaps,this.texture.minFilter=t.minFilter,this.texture.magFilter=t.magFilter;let i={uniforms:{tEquirect:{value:null}},vertexShader:` +}`,Zi=class extends ft{constructor(e){super(),this.type="ShaderMaterial",this.defines={},this.uniforms={},this.vertexShader=Pv,this.fragmentShader=Iv,this.linewidth=1,this.wireframe=!1,this.wireframeLinewidth=1,this.fog=!1,this.lights=!1,this.clipping=!1,this.extensions={derivatives:!1,fragDepth:!1,drawBuffers:!1,shaderTextureLOD:!1},this.defaultAttributeValues={color:[1,1,1],uv:[0,0],uv2:[0,0]},this.index0AttributeName=void 0,this.uniformsNeedUpdate=!1,this.glslVersion=null,e!==void 0&&(e.attributes!==void 0&&console.error("THREE.ShaderMaterial: attributes should now be defined in THREE.BufferGeometry instead."),this.setValues(e))}copy(e){return super.copy(e),this.fragmentShader=e.fragmentShader,this.vertexShader=e.vertexShader,this.uniforms=Ns(e.uniforms),this.defines=Object.assign({},e.defines),this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.lights=e.lights,this.clipping=e.clipping,this.extensions=Object.assign({},e.extensions),this.glslVersion=e.glslVersion,this}toJSON(e){let t=super.toJSON(e);t.glslVersion=this.glslVersion,t.uniforms={};for(let n in this.uniforms){let o=this.uniforms[n].value;o&&o.isTexture?t.uniforms[n]={type:"t",value:o.toJSON(e).uuid}:o&&o.isColor?t.uniforms[n]={type:"c",value:o.getHex()}:o&&o.isVector2?t.uniforms[n]={type:"v2",value:o.toArray()}:o&&o.isVector3?t.uniforms[n]={type:"v3",value:o.toArray()}:o&&o.isVector4?t.uniforms[n]={type:"v4",value:o.toArray()}:o&&o.isMatrix3?t.uniforms[n]={type:"m3",value:o.toArray()}:o&&o.isMatrix4?t.uniforms[n]={type:"m4",value:o.toArray()}:t.uniforms[n]={value:o}}Object.keys(this.defines).length>0&&(t.defines=this.defines),t.vertexShader=this.vertexShader,t.fragmentShader=this.fragmentShader;let i={};for(let n in this.extensions)this.extensions[n]===!0&&(i[n]=!0);return Object.keys(i).length>0&&(t.extensions=i),t}};Zi.prototype.isShaderMaterial=!0;var Ur=class extends Ge{constructor(){super(),this.type="Camera",this.matrixWorldInverse=new Ee,this.projectionMatrix=new Ee,this.projectionMatrixInverse=new Ee}copy(e,t){return super.copy(e,t),this.matrixWorldInverse.copy(e.matrixWorldInverse),this.projectionMatrix.copy(e.projectionMatrix),this.projectionMatrixInverse.copy(e.projectionMatrixInverse),this}getWorldDirection(e){this.updateWorldMatrix(!0,!1);let t=this.matrixWorld.elements;return e.set(-t[8],-t[9],-t[10]).normalize()}updateMatrixWorld(e){super.updateMatrixWorld(e),this.matrixWorldInverse.copy(this.matrixWorld).invert()}updateWorldMatrix(e,t){super.updateWorldMatrix(e,t),this.matrixWorldInverse.copy(this.matrixWorld).invert()}clone(){return new this.constructor().copy(this)}};Ur.prototype.isCamera=!0;var Et=class extends Ur{constructor(e=50,t=1,i=.1,n=2e3){super(),this.type="PerspectiveCamera",this.fov=e,this.zoom=1,this.near=i,this.far=n,this.focus=10,this.aspect=t,this.view=null,this.filmGauge=35,this.filmOffset=0,this.updateProjectionMatrix()}copy(e,t){return super.copy(e,t),this.fov=e.fov,this.zoom=e.zoom,this.near=e.near,this.far=e.far,this.focus=e.focus,this.aspect=e.aspect,this.view=e.view===null?null:Object.assign({},e.view),this.filmGauge=e.filmGauge,this.filmOffset=e.filmOffset,this}setFocalLength(e){let t=.5*this.getFilmHeight()/e;this.fov=Au*2*Math.atan(t),this.updateProjectionMatrix()}getFocalLength(){let e=Math.tan(zc*.5*this.fov);return .5*this.getFilmHeight()/e}getEffectiveFOV(){return Au*2*Math.atan(Math.tan(zc*.5*this.fov)/this.zoom)}getFilmWidth(){return this.filmGauge*Math.min(this.aspect,1)}getFilmHeight(){return this.filmGauge/Math.max(this.aspect,1)}setViewOffset(e,t,i,n,s,o){this.aspect=e/t,this.view===null&&(this.view={enabled:!0,fullWidth:1,fullHeight:1,offsetX:0,offsetY:0,width:1,height:1}),this.view.enabled=!0,this.view.fullWidth=e,this.view.fullHeight=t,this.view.offsetX=i,this.view.offsetY=n,this.view.width=s,this.view.height=o,this.updateProjectionMatrix()}clearViewOffset(){this.view!==null&&(this.view.enabled=!1),this.updateProjectionMatrix()}updateProjectionMatrix(){let e=this.near,t=e*Math.tan(zc*.5*this.fov)/this.zoom,i=2*t,n=this.aspect*i,s=-.5*n,o=this.view;if(this.view!==null&&this.view.enabled){let l=o.fullWidth,c=o.fullHeight;s+=o.offsetX*n/l,t-=o.offsetY*i/c,n*=o.width/l,i*=o.height/c}let a=this.filmOffset;a!==0&&(s+=e*a/this.getFilmWidth()),this.projectionMatrix.makePerspective(s,s+n,t,t-i,e,this.far),this.projectionMatrixInverse.copy(this.projectionMatrix).invert()}toJSON(e){let t=super.toJSON(e);return t.object.fov=this.fov,t.object.zoom=this.zoom,t.object.near=this.near,t.object.far=this.far,t.object.focus=this.focus,t.object.aspect=this.aspect,this.view!==null&&(t.object.view=Object.assign({},this.view)),t.object.filmGauge=this.filmGauge,t.object.filmOffset=this.filmOffset,t}};Et.prototype.isPerspectiveCamera=!0;var gs=90,ys=1,Hr=class extends Ge{constructor(e,t,i){if(super(),this.type="CubeCamera",i.isWebGLCubeRenderTarget!==!0){console.error("THREE.CubeCamera: The constructor now expects an instance of WebGLCubeRenderTarget as third parameter.");return}this.renderTarget=i;let n=new Et(gs,ys,e,t);n.layers=this.layers,n.up.set(0,-1,0),n.lookAt(new P(1,0,0)),this.add(n);let s=new Et(gs,ys,e,t);s.layers=this.layers,s.up.set(0,-1,0),s.lookAt(new P(-1,0,0)),this.add(s);let o=new Et(gs,ys,e,t);o.layers=this.layers,o.up.set(0,0,1),o.lookAt(new P(0,1,0)),this.add(o);let a=new Et(gs,ys,e,t);a.layers=this.layers,a.up.set(0,0,-1),a.lookAt(new P(0,-1,0)),this.add(a);let l=new Et(gs,ys,e,t);l.layers=this.layers,l.up.set(0,-1,0),l.lookAt(new P(0,0,1)),this.add(l);let c=new Et(gs,ys,e,t);c.layers=this.layers,c.up.set(0,-1,0),c.lookAt(new P(0,0,-1)),this.add(c)}update(e,t){this.parent===null&&this.updateMatrixWorld();let i=this.renderTarget,[n,s,o,a,l,c]=this.children,u=e.xr.enabled,h=e.getRenderTarget();e.xr.enabled=!1;let d=i.texture.generateMipmaps;i.texture.generateMipmaps=!1,e.setRenderTarget(i,0),e.render(t,n),e.setRenderTarget(i,1),e.render(t,s),e.setRenderTarget(i,2),e.render(t,o),e.setRenderTarget(i,3),e.render(t,a),e.setRenderTarget(i,4),e.render(t,l),i.texture.generateMipmaps=d,e.setRenderTarget(i,5),e.render(t,c),e.setRenderTarget(h),e.xr.enabled=u,i.texture.needsPMREMUpdate=!0}},ks=class extends lt{constructor(e,t,i,n,s,o,a,l,c,u){e=e!==void 0?e:[],t=t!==void 0?t:co,super(e,t,i,n,s,o,a,l,c,u),this.flipY=!1}get images(){return this.image}set images(e){this.image=e}};ks.prototype.isCubeTexture=!0;var Pa=class extends Ht{constructor(e,t,i){Number.isInteger(t)&&(console.warn("THREE.WebGLCubeRenderTarget: constructor signature is now WebGLCubeRenderTarget( size, options )"),t=i),super(e,e,t),t=t||{},this.texture=new ks(void 0,t.mapping,t.wrapS,t.wrapT,t.magFilter,t.minFilter,t.format,t.type,t.anisotropy,t.encoding),this.texture.isRenderTargetTexture=!0,this.texture.generateMipmaps=t.generateMipmaps!==void 0?t.generateMipmaps:!1,this.texture.minFilter=t.minFilter!==void 0?t.minFilter:Rt}fromEquirectangularTexture(e,t){this.texture.type=t.type,this.texture.format=Nt,this.texture.encoding=t.encoding,this.texture.generateMipmaps=t.generateMipmaps,this.texture.minFilter=t.minFilter,this.texture.magFilter=t.magFilter;let i={uniforms:{tEquirect:{value:null}},vertexShader:` varying vec3 vWorldDirection; @@ -50,7 +50,7 @@ Use (?: \u2026 ) instead`);if(!V.lineBreaks&&H.test(` gl_FragColor = texture2D( tEquirect, sampleUV ); } - `},n=new Vr(5,5,5),s=new Zi({name:"CubemapFromEquirect",uniforms:Ns(i.uniforms),vertexShader:i.vertexShader,fragmentShader:i.fragmentShader,side:xt,blending:mn});s.uniforms.tEquirect.value=t;let o=new pt(n,s),a=t.minFilter;return t.minFilter===sl&&(t.minFilter=Ft),new Hr(1,10,this).update(e,o),t.minFilter=a,o.geometry.dispose(),o.material.dispose(),this}clear(e,t,i,n){let s=e.getRenderTarget();for(let o=0;o<6;o++)e.setRenderTarget(this,o),e.clear(t,i,n);e.setRenderTarget(s)}};Pa.prototype.isWebGLCubeRenderTarget=!0;var au=new P,Nv=new P,kv=new wt,di=class{constructor(e=new P(1,0,0),t=0){this.normal=e,this.constant=t}set(e,t){return this.normal.copy(e),this.constant=t,this}setComponents(e,t,i,n){return this.normal.set(e,t,i),this.constant=n,this}setFromNormalAndCoplanarPoint(e,t){return this.normal.copy(e),this.constant=-t.dot(this.normal),this}setFromCoplanarPoints(e,t,i){let n=au.subVectors(i,t).cross(Nv.subVectors(e,t)).normalize();return this.setFromNormalAndCoplanarPoint(n,e),this}copy(e){return this.normal.copy(e.normal),this.constant=e.constant,this}normalize(){let e=1/this.normal.length();return this.normal.multiplyScalar(e),this.constant*=e,this}negate(){return this.constant*=-1,this.normal.negate(),this}distanceToPoint(e){return this.normal.dot(e)+this.constant}distanceToSphere(e){return this.distanceToPoint(e.center)-e.radius}projectPoint(e,t){return t.copy(this.normal).multiplyScalar(-this.distanceToPoint(e)).add(e)}intersectLine(e,t){let i=e.delta(au),n=this.normal.dot(i);if(n===0)return this.distanceToPoint(e.start)===0?t.copy(e.start):null;let s=-(e.start.dot(this.normal)+this.constant)/n;return s<0||s>1?null:t.copy(i).multiplyScalar(s).add(e.start)}intersectsLine(e){let t=this.distanceToPoint(e.start),i=this.distanceToPoint(e.end);return t<0&&i>0||i<0&&t>0}intersectsBox(e){return e.intersectsPlane(this)}intersectsSphere(e){return e.intersectsPlane(this)}coplanarPoint(e){return e.copy(this.normal).multiplyScalar(-this.constant)}applyMatrix4(e,t){let i=t||kv.getNormalMatrix(e),n=this.coplanarPoint(au).applyMatrix4(e),s=this.normal.applyMatrix3(i).normalize();return this.constant=-n.dot(s),this}translate(e){return this.constant-=e.dot(this.normal),this}equals(e){return e.normal.equals(this.normal)&&e.constant===this.constant}clone(){return new this.constructor().copy(this)}};di.prototype.isPlane=!0;var xs=new Ci,ua=new P,Os=class{constructor(e=new di,t=new di,i=new di,n=new di,s=new di,o=new di){this.planes=[e,t,i,n,s,o]}set(e,t,i,n,s,o){let a=this.planes;return a[0].copy(e),a[1].copy(t),a[2].copy(i),a[3].copy(n),a[4].copy(s),a[5].copy(o),this}copy(e){let t=this.planes;for(let i=0;i<6;i++)t[i].copy(e.planes[i]);return this}setFromProjectionMatrix(e){let t=this.planes,i=e.elements,n=i[0],s=i[1],o=i[2],a=i[3],l=i[4],c=i[5],u=i[6],h=i[7],d=i[8],p=i[9],m=i[10],y=i[11],x=i[12],g=i[13],f=i[14],E=i[15];return t[0].setComponents(a-n,h-l,y-d,E-x).normalize(),t[1].setComponents(a+n,h+l,y+d,E+x).normalize(),t[2].setComponents(a+s,h+c,y+p,E+g).normalize(),t[3].setComponents(a-s,h-c,y-p,E-g).normalize(),t[4].setComponents(a-o,h-u,y-m,E-f).normalize(),t[5].setComponents(a+o,h+u,y+m,E+f).normalize(),this}intersectsObject(e){let t=e.geometry;return t.boundingSphere===null&&t.computeBoundingSphere(),xs.copy(t.boundingSphere).applyMatrix4(e.matrixWorld),this.intersectsSphere(xs)}intersectsSprite(e){return xs.center.set(0,0,0),xs.radius=.7071067811865476,xs.applyMatrix4(e.matrixWorld),this.intersectsSphere(xs)}intersectsSphere(e){let t=this.planes,i=e.center,n=-e.radius;for(let s=0;s<6;s++)if(t[s].distanceToPoint(i)0?e.max.x:e.min.x,ua.y=n.normal.y>0?e.max.y:e.min.y,ua.z=n.normal.z>0?e.max.z:e.min.z,n.distanceToPoint(ua)<0)return!1}return!0}containsPoint(e){let t=this.planes;for(let i=0;i<6;i++)if(t[i].distanceToPoint(e)<0)return!1;return!0}clone(){return new this.constructor().copy(this)}};function pm(){let r=null,e=!1,t=null,i=null;function n(s,o){t(s,o),i=r.requestAnimationFrame(n)}return{start:function(){e!==!0&&t!==null&&(i=r.requestAnimationFrame(n),e=!0)},stop:function(){r.cancelAnimationFrame(i),e=!1},setAnimationLoop:function(s){t=s},setContext:function(s){r=s}}}function Ov(r,e){let t=e.isWebGL2,i=new WeakMap;function n(c,u){let h=c.array,d=c.usage,p=r.createBuffer();r.bindBuffer(u,p),r.bufferData(u,h,d),c.onUploadCallback();let m=5126;return h instanceof Float32Array?m=5126:h instanceof Float64Array?console.warn("THREE.WebGLAttributes: Unsupported data buffer format: Float64Array."):h instanceof Uint16Array?c.isFloat16BufferAttribute?t?m=5131:console.warn("THREE.WebGLAttributes: Usage of Float16BufferAttribute requires WebGL2."):m=5123:h instanceof Int16Array?m=5122:h instanceof Uint32Array?m=5125:h instanceof Int32Array?m=5124:h instanceof Int8Array?m=5120:(h instanceof Uint8Array||h instanceof Uint8ClampedArray)&&(m=5121),{buffer:p,type:m,bytesPerElement:h.BYTES_PER_ELEMENT,version:c.version}}function s(c,u,h){let d=u.array,p=u.updateRange;r.bindBuffer(h,c),p.count===-1?r.bufferSubData(h,0,d):(t?r.bufferSubData(h,p.offset*d.BYTES_PER_ELEMENT,d,p.offset,p.count):r.bufferSubData(h,p.offset*d.BYTES_PER_ELEMENT,d.subarray(p.offset,p.offset+p.count)),p.count=-1)}function o(c){return c.isInterleavedBufferAttribute&&(c=c.data),i.get(c)}function a(c){c.isInterleavedBufferAttribute&&(c=c.data);let u=i.get(c);u&&(r.deleteBuffer(u.buffer),i.delete(c))}function l(c,u){if(c.isGLBufferAttribute){let d=i.get(c);(!d||d.version1?null:t.copy(i).multiplyScalar(s).add(e.start)}intersectsLine(e){let t=this.distanceToPoint(e.start),i=this.distanceToPoint(e.end);return t<0&&i>0||i<0&&t>0}intersectsBox(e){return e.intersectsPlane(this)}intersectsSphere(e){return e.intersectsPlane(this)}coplanarPoint(e){return e.copy(this.normal).multiplyScalar(-this.constant)}applyMatrix4(e,t){let i=t||kv.getNormalMatrix(e),n=this.coplanarPoint(au).applyMatrix4(e),s=this.normal.applyMatrix3(i).normalize();return this.constant=-n.dot(s),this}translate(e){return this.constant-=e.dot(this.normal),this}equals(e){return e.normal.equals(this.normal)&&e.constant===this.constant}clone(){return new this.constructor().copy(this)}};di.prototype.isPlane=!0;var xs=new Ci,ua=new P,Os=class{constructor(e=new di,t=new di,i=new di,n=new di,s=new di,o=new di){this.planes=[e,t,i,n,s,o]}set(e,t,i,n,s,o){let a=this.planes;return a[0].copy(e),a[1].copy(t),a[2].copy(i),a[3].copy(n),a[4].copy(s),a[5].copy(o),this}copy(e){let t=this.planes;for(let i=0;i<6;i++)t[i].copy(e.planes[i]);return this}setFromProjectionMatrix(e){let t=this.planes,i=e.elements,n=i[0],s=i[1],o=i[2],a=i[3],l=i[4],c=i[5],u=i[6],h=i[7],d=i[8],p=i[9],m=i[10],y=i[11],x=i[12],g=i[13],f=i[14],E=i[15];return t[0].setComponents(a-n,h-l,y-d,E-x).normalize(),t[1].setComponents(a+n,h+l,y+d,E+x).normalize(),t[2].setComponents(a+s,h+c,y+p,E+g).normalize(),t[3].setComponents(a-s,h-c,y-p,E-g).normalize(),t[4].setComponents(a-o,h-u,y-m,E-f).normalize(),t[5].setComponents(a+o,h+u,y+m,E+f).normalize(),this}intersectsObject(e){let t=e.geometry;return t.boundingSphere===null&&t.computeBoundingSphere(),xs.copy(t.boundingSphere).applyMatrix4(e.matrixWorld),this.intersectsSphere(xs)}intersectsSprite(e){return xs.center.set(0,0,0),xs.radius=.7071067811865476,xs.applyMatrix4(e.matrixWorld),this.intersectsSphere(xs)}intersectsSphere(e){let t=this.planes,i=e.center,n=-e.radius;for(let s=0;s<6;s++)if(t[s].distanceToPoint(i)0?e.max.x:e.min.x,ua.y=n.normal.y>0?e.max.y:e.min.y,ua.z=n.normal.z>0?e.max.z:e.min.z,n.distanceToPoint(ua)<0)return!1}return!0}containsPoint(e){let t=this.planes;for(let i=0;i<6;i++)if(t[i].distanceToPoint(e)<0)return!1;return!0}clone(){return new this.constructor().copy(this)}};function pm(){let r=null,e=!1,t=null,i=null;function n(s,o){t(s,o),i=r.requestAnimationFrame(n)}return{start:function(){e!==!0&&t!==null&&(i=r.requestAnimationFrame(n),e=!0)},stop:function(){r.cancelAnimationFrame(i),e=!1},setAnimationLoop:function(s){t=s},setContext:function(s){r=s}}}function Ov(r,e){let t=e.isWebGL2,i=new WeakMap;function n(c,u){let h=c.array,d=c.usage,p=r.createBuffer();r.bindBuffer(u,p),r.bufferData(u,h,d),c.onUploadCallback();let m=5126;return h instanceof Float32Array?m=5126:h instanceof Float64Array?console.warn("THREE.WebGLAttributes: Unsupported data buffer format: Float64Array."):h instanceof Uint16Array?c.isFloat16BufferAttribute?t?m=5131:console.warn("THREE.WebGLAttributes: Usage of Float16BufferAttribute requires WebGL2."):m=5123:h instanceof Int16Array?m=5122:h instanceof Uint32Array?m=5125:h instanceof Int32Array?m=5124:h instanceof Int8Array?m=5120:(h instanceof Uint8Array||h instanceof Uint8ClampedArray)&&(m=5121),{buffer:p,type:m,bytesPerElement:h.BYTES_PER_ELEMENT,version:c.version}}function s(c,u,h){let d=u.array,p=u.updateRange;r.bindBuffer(h,c),p.count===-1?r.bufferSubData(h,0,d):(t?r.bufferSubData(h,p.offset*d.BYTES_PER_ELEMENT,d,p.offset,p.count):r.bufferSubData(h,p.offset*d.BYTES_PER_ELEMENT,d.subarray(p.offset,p.offset+p.count)),p.count=-1)}function o(c){return c.isInterleavedBufferAttribute&&(c=c.data),i.get(c)}function a(c){c.isInterleavedBufferAttribute&&(c=c.data);let u=i.get(c);u&&(r.deleteBuffer(u.buffer),i.delete(c))}function l(c,u){if(c.isGLBufferAttribute){let d=i.get(c);(!d||d.version #include #include -}`,Ne={alphamap_fragment:zv,alphamap_pars_fragment:Vv,alphatest_fragment:Uv,alphatest_pars_fragment:Hv,aomap_fragment:Gv,aomap_pars_fragment:qv,begin_vertex:Wv,beginnormal_vertex:$v,bsdfs:jv,bumpmap_pars_fragment:Xv,clipping_planes_fragment:Yv,clipping_planes_pars_fragment:Zv,clipping_planes_pars_vertex:Jv,clipping_planes_vertex:Kv,color_fragment:Qv,color_pars_fragment:e2,color_pars_vertex:t2,color_vertex:i2,common:n2,cube_uv_reflection_fragment:s2,defaultnormal_vertex:r2,displacementmap_pars_vertex:o2,displacementmap_vertex:a2,emissivemap_fragment:l2,emissivemap_pars_fragment:c2,encodings_fragment:u2,encodings_pars_fragment:h2,envmap_fragment:d2,envmap_common_pars_fragment:p2,envmap_pars_fragment:f2,envmap_pars_vertex:m2,envmap_physical_pars_fragment:M2,envmap_vertex:g2,fog_vertex:y2,fog_pars_vertex:x2,fog_fragment:v2,fog_pars_fragment:w2,gradientmap_pars_fragment:b2,lightmap_fragment:_2,lightmap_pars_fragment:E2,lights_lambert_vertex:A2,lights_pars_begin:S2,lights_toon_fragment:D2,lights_toon_pars_fragment:T2,lights_phong_fragment:C2,lights_phong_pars_fragment:R2,lights_physical_fragment:F2,lights_physical_pars_fragment:L2,lights_fragment_begin:B2,lights_fragment_maps:P2,lights_fragment_end:I2,logdepthbuf_fragment:N2,logdepthbuf_pars_fragment:k2,logdepthbuf_pars_vertex:O2,logdepthbuf_vertex:z2,map_fragment:V2,map_pars_fragment:U2,map_particle_fragment:H2,map_particle_pars_fragment:G2,metalnessmap_fragment:q2,metalnessmap_pars_fragment:W2,morphnormal_vertex:$2,morphtarget_pars_vertex:j2,morphtarget_vertex:X2,normal_fragment_begin:Y2,normal_fragment_maps:Z2,normal_pars_fragment:J2,normal_pars_vertex:K2,normal_vertex:Q2,normalmap_pars_fragment:ew,clearcoat_normal_fragment_begin:tw,clearcoat_normal_fragment_maps:iw,clearcoat_pars_fragment:nw,output_fragment:sw,packing:rw,premultiplied_alpha_fragment:ow,project_vertex:aw,dithering_fragment:lw,dithering_pars_fragment:cw,roughnessmap_fragment:uw,roughnessmap_pars_fragment:hw,shadowmap_pars_fragment:dw,shadowmap_pars_vertex:pw,shadowmap_vertex:fw,shadowmask_pars_fragment:mw,skinbase_vertex:gw,skinning_pars_vertex:yw,skinning_vertex:xw,skinnormal_vertex:vw,specularmap_fragment:ww,specularmap_pars_fragment:bw,tonemapping_fragment:_w,tonemapping_pars_fragment:Ew,transmission_fragment:Aw,transmission_pars_fragment:Sw,uv_pars_fragment:Mw,uv_pars_vertex:Dw,uv_vertex:Tw,uv2_pars_fragment:Cw,uv2_pars_vertex:Rw,uv2_vertex:Fw,worldpos_vertex:Lw,background_vert:Bw,background_frag:Pw,cube_vert:Iw,cube_frag:Nw,depth_vert:kw,depth_frag:Ow,distanceRGBA_vert:zw,distanceRGBA_frag:Vw,equirect_vert:Uw,equirect_frag:Hw,linedashed_vert:Gw,linedashed_frag:qw,meshbasic_vert:Ww,meshbasic_frag:$w,meshlambert_vert:jw,meshlambert_frag:Xw,meshmatcap_vert:Yw,meshmatcap_frag:Zw,meshnormal_vert:Jw,meshnormal_frag:Kw,meshphong_vert:Qw,meshphong_frag:eb,meshphysical_vert:tb,meshphysical_frag:ib,meshtoon_vert:nb,meshtoon_frag:sb,points_vert:rb,points_frag:ob,shadow_vert:ab,shadow_frag:lb,sprite_vert:cb,sprite_frag:ub},re={common:{diffuse:{value:new ye(16777215)},opacity:{value:1},map:{value:null},uvTransform:{value:new wt},uv2Transform:{value:new wt},alphaMap:{value:null},alphaTest:{value:0}},specularmap:{specularMap:{value:null}},envmap:{envMap:{value:null},flipEnvMap:{value:-1},reflectivity:{value:1},ior:{value:1.5},refractionRatio:{value:.98}},aomap:{aoMap:{value:null},aoMapIntensity:{value:1}},lightmap:{lightMap:{value:null},lightMapIntensity:{value:1}},emissivemap:{emissiveMap:{value:null}},bumpmap:{bumpMap:{value:null},bumpScale:{value:1}},normalmap:{normalMap:{value:null},normalScale:{value:new ee(1,1)}},displacementmap:{displacementMap:{value:null},displacementScale:{value:1},displacementBias:{value:0}},roughnessmap:{roughnessMap:{value:null}},metalnessmap:{metalnessMap:{value:null}},gradientmap:{gradientMap:{value:null}},fog:{fogDensity:{value:25e-5},fogNear:{value:1},fogFar:{value:2e3},fogColor:{value:new ye(16777215)}},lights:{ambientLightColor:{value:[]},lightProbe:{value:[]},directionalLights:{value:[],properties:{direction:{},color:{}}},directionalLightShadows:{value:[],properties:{shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{}}},directionalShadowMap:{value:[]},directionalShadowMatrix:{value:[]},spotLights:{value:[],properties:{color:{},position:{},direction:{},distance:{},coneCos:{},penumbraCos:{},decay:{}}},spotLightShadows:{value:[],properties:{shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{}}},spotShadowMap:{value:[]},spotShadowMatrix:{value:[]},pointLights:{value:[],properties:{color:{},position:{},decay:{},distance:{}}},pointLightShadows:{value:[],properties:{shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{},shadowCameraNear:{},shadowCameraFar:{}}},pointShadowMap:{value:[]},pointShadowMatrix:{value:[]},hemisphereLights:{value:[],properties:{direction:{},skyColor:{},groundColor:{}}},rectAreaLights:{value:[],properties:{color:{},position:{},width:{},height:{}}},ltc_1:{value:null},ltc_2:{value:null}},points:{diffuse:{value:new ye(16777215)},opacity:{value:1},size:{value:1},scale:{value:1},map:{value:null},alphaMap:{value:null},alphaTest:{value:0},uvTransform:{value:new wt}},sprite:{diffuse:{value:new ye(16777215)},opacity:{value:1},center:{value:new ee(.5,.5)},rotation:{value:0},map:{value:null},alphaMap:{value:null},alphaTest:{value:0},uvTransform:{value:new wt}}},Ti={basic:{uniforms:Rt([re.common,re.specularmap,re.envmap,re.aomap,re.lightmap,re.fog]),vertexShader:Ne.meshbasic_vert,fragmentShader:Ne.meshbasic_frag},lambert:{uniforms:Rt([re.common,re.specularmap,re.envmap,re.aomap,re.lightmap,re.emissivemap,re.fog,re.lights,{emissive:{value:new ye(0)}}]),vertexShader:Ne.meshlambert_vert,fragmentShader:Ne.meshlambert_frag},phong:{uniforms:Rt([re.common,re.specularmap,re.envmap,re.aomap,re.lightmap,re.emissivemap,re.bumpmap,re.normalmap,re.displacementmap,re.fog,re.lights,{emissive:{value:new ye(0)},specular:{value:new ye(1118481)},shininess:{value:30}}]),vertexShader:Ne.meshphong_vert,fragmentShader:Ne.meshphong_frag},standard:{uniforms:Rt([re.common,re.envmap,re.aomap,re.lightmap,re.emissivemap,re.bumpmap,re.normalmap,re.displacementmap,re.roughnessmap,re.metalnessmap,re.fog,re.lights,{emissive:{value:new ye(0)},roughness:{value:1},metalness:{value:0},envMapIntensity:{value:1}}]),vertexShader:Ne.meshphysical_vert,fragmentShader:Ne.meshphysical_frag},toon:{uniforms:Rt([re.common,re.aomap,re.lightmap,re.emissivemap,re.bumpmap,re.normalmap,re.displacementmap,re.gradientmap,re.fog,re.lights,{emissive:{value:new ye(0)}}]),vertexShader:Ne.meshtoon_vert,fragmentShader:Ne.meshtoon_frag},matcap:{uniforms:Rt([re.common,re.bumpmap,re.normalmap,re.displacementmap,re.fog,{matcap:{value:null}}]),vertexShader:Ne.meshmatcap_vert,fragmentShader:Ne.meshmatcap_frag},points:{uniforms:Rt([re.points,re.fog]),vertexShader:Ne.points_vert,fragmentShader:Ne.points_frag},dashed:{uniforms:Rt([re.common,re.fog,{scale:{value:1},dashSize:{value:1},totalSize:{value:2}}]),vertexShader:Ne.linedashed_vert,fragmentShader:Ne.linedashed_frag},depth:{uniforms:Rt([re.common,re.displacementmap]),vertexShader:Ne.depth_vert,fragmentShader:Ne.depth_frag},normal:{uniforms:Rt([re.common,re.bumpmap,re.normalmap,re.displacementmap,{opacity:{value:1}}]),vertexShader:Ne.meshnormal_vert,fragmentShader:Ne.meshnormal_frag},sprite:{uniforms:Rt([re.sprite,re.fog]),vertexShader:Ne.sprite_vert,fragmentShader:Ne.sprite_frag},background:{uniforms:{uvTransform:{value:new wt},t2D:{value:null}},vertexShader:Ne.background_vert,fragmentShader:Ne.background_frag},cube:{uniforms:Rt([re.envmap,{opacity:{value:1}}]),vertexShader:Ne.cube_vert,fragmentShader:Ne.cube_frag},equirect:{uniforms:{tEquirect:{value:null}},vertexShader:Ne.equirect_vert,fragmentShader:Ne.equirect_frag},distanceRGBA:{uniforms:Rt([re.common,re.displacementmap,{referencePosition:{value:new P},nearDistance:{value:1},farDistance:{value:1e3}}]),vertexShader:Ne.distanceRGBA_vert,fragmentShader:Ne.distanceRGBA_frag},shadow:{uniforms:Rt([re.lights,re.fog,{color:{value:new ye(0)},opacity:{value:1}}]),vertexShader:Ne.shadow_vert,fragmentShader:Ne.shadow_frag}};Ti.physical={uniforms:Rt([Ti.standard.uniforms,{clearcoat:{value:0},clearcoatMap:{value:null},clearcoatRoughness:{value:0},clearcoatRoughnessMap:{value:null},clearcoatNormalScale:{value:new ee(1,1)},clearcoatNormalMap:{value:null},sheen:{value:0},sheenColor:{value:new ye(0)},sheenColorMap:{value:null},sheenRoughness:{value:1},sheenRoughnessMap:{value:null},transmission:{value:0},transmissionMap:{value:null},transmissionSamplerSize:{value:new ee},transmissionSamplerMap:{value:null},thickness:{value:0},thicknessMap:{value:null},attenuationDistance:{value:0},attenuationColor:{value:new ye(0)},specularIntensity:{value:1},specularIntensityMap:{value:null},specularColor:{value:new ye(1,1,1)},specularColorMap:{value:null}}]),vertexShader:Ne.meshphysical_vert,fragmentShader:Ne.meshphysical_frag};function hb(r,e,t,i,n,s){let o=new ye(0),a=n===!0?0:1,l,c,u=null,h=0,d=null;function p(y,x){let g=!1,f=x.isScene===!0?x.background:null;f&&f.isTexture&&(f=e.get(f));let E=r.xr,w=E.getSession&&E.getSession();w&&w.environmentBlendMode==="additive"&&(f=null),f===null?m(o,a):f&&f.isColor&&(m(f,1),g=!0),(r.autoClear||g)&&r.clear(r.autoClearColor,r.autoClearDepth,r.autoClearStencil),f&&(f.isCubeTexture||f.mapping===nl)?(c===void 0&&(c=new pt(new Vr(1,1,1),new Zi({name:"BackgroundCubeMaterial",uniforms:Ns(Ti.cube.uniforms),vertexShader:Ti.cube.vertexShader,fragmentShader:Ti.cube.fragmentShader,side:xt,depthTest:!1,depthWrite:!1,fog:!1})),c.geometry.deleteAttribute("normal"),c.geometry.deleteAttribute("uv"),c.onBeforeRender=function(_,M,T){this.matrixWorld.copyPosition(T.matrixWorld)},Object.defineProperty(c.material,"envMap",{get:function(){return this.uniforms.envMap.value}}),i.update(c)),c.material.uniforms.envMap.value=f,c.material.uniforms.flipEnvMap.value=f.isCubeTexture&&f.isRenderTargetTexture===!1?-1:1,(u!==f||h!==f.version||d!==r.toneMapping)&&(c.material.needsUpdate=!0,u=f,h=f.version,d=r.toneMapping),y.unshift(c,c.geometry,c.material,0,0,null)):f&&f.isTexture&&(l===void 0&&(l=new pt(new Gr(2,2),new Zi({name:"BackgroundMaterial",uniforms:Ns(Ti.background.uniforms),vertexShader:Ti.background.vertexShader,fragmentShader:Ti.background.fragmentShader,side:Pr,depthTest:!1,depthWrite:!1,fog:!1})),l.geometry.deleteAttribute("normal"),Object.defineProperty(l.material,"map",{get:function(){return this.uniforms.t2D.value}}),i.update(l)),l.material.uniforms.t2D.value=f,f.matrixAutoUpdate===!0&&f.updateMatrix(),l.material.uniforms.uvTransform.value.copy(f.matrix),(u!==f||h!==f.version||d!==r.toneMapping)&&(l.material.needsUpdate=!0,u=f,h=f.version,d=r.toneMapping),y.unshift(l,l.geometry,l.material,0,0,null))}function m(y,x){t.buffers.color.setClear(y.r,y.g,y.b,x,s)}return{getClearColor:function(){return o},setClearColor:function(y,x=1){o.set(y),a=x,m(o,a)},getClearAlpha:function(){return a},setClearAlpha:function(y){a=y,m(o,a)},render:p}}function db(r,e,t,i){let n=r.getParameter(34921),s=i.isWebGL2?null:e.get("OES_vertex_array_object"),o=i.isWebGL2||s!==null,a={},l=y(null),c=l;function u(S,B,L,C,N){let k=!1;if(o){let V=m(C,L,B);c!==V&&(c=V,d(c.object)),k=x(C,N),k&&g(C,N)}else{let V=B.wireframe===!0;(c.geometry!==C.id||c.program!==L.id||c.wireframe!==V)&&(c.geometry=C.id,c.program=L.id,c.wireframe=V,k=!0)}S.isInstancedMesh===!0&&(k=!0),N!==null&&t.update(N,34963),k&&(T(S,B,L,C),N!==null&&r.bindBuffer(34963,t.get(N).buffer))}function h(){return i.isWebGL2?r.createVertexArray():s.createVertexArrayOES()}function d(S){return i.isWebGL2?r.bindVertexArray(S):s.bindVertexArrayOES(S)}function p(S){return i.isWebGL2?r.deleteVertexArray(S):s.deleteVertexArrayOES(S)}function m(S,B,L){let C=L.wireframe===!0,N=a[S.id];N===void 0&&(N={},a[S.id]=N);let k=N[B.id];k===void 0&&(k={},N[B.id]=k);let V=k[C];return V===void 0&&(V=y(h()),k[C]=V),V}function y(S){let B=[],L=[],C=[];for(let N=0;N=0){let j=N[U];if(j===void 0&&(U==="instanceMatrix"&&S.instanceMatrix&&(j=S.instanceMatrix),U==="instanceColor"&&S.instanceColor&&(j=S.instanceColor)),j!==void 0){let ne=j.normalized,ae=j.itemSize,H=t.get(j);if(H===void 0)continue;let Te=H.buffer,ue=H.type,we=H.bytesPerElement;if(j.isInterleavedBufferAttribute){let oe=j.data,Ce=oe.stride,Ae=j.offset;if(oe&&oe.isInstancedInterleavedBuffer){for(let Z=0;Z0&&r.getShaderPrecisionFormat(35632,36338).precision>0)return"highp";T="mediump"}return T==="mediump"&&r.getShaderPrecisionFormat(35633,36337).precision>0&&r.getShaderPrecisionFormat(35632,36337).precision>0?"mediump":"lowp"}let o=typeof WebGL2RenderingContext<"u"&&r instanceof WebGL2RenderingContext||typeof WebGL2ComputeRenderingContext<"u"&&r instanceof WebGL2ComputeRenderingContext,a=t.precision!==void 0?t.precision:"highp",l=s(a);l!==a&&(console.warn("THREE.WebGLRenderer:",a,"not supported, using",l,"instead."),a=l);let c=o||e.has("WEBGL_draw_buffers"),u=t.logarithmicDepthBuffer===!0,h=r.getParameter(34930),d=r.getParameter(35660),p=r.getParameter(3379),m=r.getParameter(34076),y=r.getParameter(34921),x=r.getParameter(36347),g=r.getParameter(36348),f=r.getParameter(36349),E=d>0,w=o||e.has("OES_texture_float"),_=E&&w,M=o?r.getParameter(36183):0;return{isWebGL2:o,drawBuffers:c,getMaxAnisotropy:n,getMaxPrecision:s,precision:a,logarithmicDepthBuffer:u,maxTextures:h,maxVertexTextures:d,maxTextureSize:p,maxCubemapSize:m,maxAttributes:y,maxVertexUniforms:x,maxVaryings:g,maxFragmentUniforms:f,vertexTextures:E,floatFragmentTextures:w,floatVertexTextures:_,maxSamples:M}}function mb(r){let e=this,t=null,i=0,n=!1,s=!1,o=new di,a=new wt,l={value:null,needsUpdate:!1};this.uniform=l,this.numPlanes=0,this.numIntersection=0,this.init=function(h,d,p){let m=h.length!==0||d||i!==0||n;return n=d,t=u(h,p,0),i=h.length,m},this.beginShadows=function(){s=!0,u(null)},this.endShadows=function(){s=!1,c()},this.setState=function(h,d,p){let m=h.clippingPlanes,y=h.clipIntersection,x=h.clipShadows,g=r.get(h);if(!n||m===null||m.length===0||s&&!x)s?u(null):c();else{let f=s?0:i,E=f*4,w=g.clippingState||null;l.value=w,w=u(m,d,E,p);for(let _=0;_!==E;++_)w[_]=t[_];g.clippingState=w,this.numIntersection=y?this.numPlanes:0,this.numPlanes+=f}};function c(){l.value!==t&&(l.value=t,l.needsUpdate=i>0),e.numPlanes=i,e.numIntersection=0}function u(h,d,p,m){let y=h!==null?h.length:0,x=null;if(y!==0){if(x=l.value,m!==!0||x===null){let g=p+y*4,f=d.matrixWorldInverse;a.getNormalMatrix(f),(x===null||x.length0){let c=new Pa(l.height/2);return c.fromEquirectangularTexture(r,o),e.set(o,c),o.addEventListener("dispose",n),t(c.texture,o.mapping)}else return null}}return o}function n(o){let a=o.target;a.removeEventListener("dispose",n);let l=e.get(a);l!==void 0&&(e.delete(a),l.dispose())}function s(){e=new WeakMap}return{get:i,dispose:s}}var qr=class extends Ur{constructor(e=-1,t=1,i=1,n=-1,s=.1,o=2e3){super(),this.type="OrthographicCamera",this.zoom=1,this.view=null,this.left=e,this.right=t,this.top=i,this.bottom=n,this.near=s,this.far=o,this.updateProjectionMatrix()}copy(e,t){return super.copy(e,t),this.left=e.left,this.right=e.right,this.top=e.top,this.bottom=e.bottom,this.near=e.near,this.far=e.far,this.zoom=e.zoom,this.view=e.view===null?null:Object.assign({},e.view),this}setViewOffset(e,t,i,n,s,o){this.view===null&&(this.view={enabled:!0,fullWidth:1,fullHeight:1,offsetX:0,offsetY:0,width:1,height:1}),this.view.enabled=!0,this.view.fullWidth=e,this.view.fullHeight=t,this.view.offsetX=i,this.view.offsetY=n,this.view.width=s,this.view.height=o,this.updateProjectionMatrix()}clearViewOffset(){this.view!==null&&(this.view.enabled=!1),this.updateProjectionMatrix()}updateProjectionMatrix(){let e=(this.right-this.left)/(2*this.zoom),t=(this.top-this.bottom)/(2*this.zoom),i=(this.right+this.left)/2,n=(this.top+this.bottom)/2,s=i-e,o=i+e,a=n+t,l=n-t;if(this.view!==null&&this.view.enabled){let c=(this.right-this.left)/this.view.fullWidth/this.zoom,u=(this.top-this.bottom)/this.view.fullHeight/this.zoom;s+=c*this.view.offsetX,o=s+c*this.view.width,a-=u*this.view.offsetY,l=a-u*this.view.height}this.projectionMatrix.makeOrthographic(s,o,a,l,this.near,this.far),this.projectionMatrixInverse.copy(this.projectionMatrix).invert()}toJSON(e){let t=super.toJSON(e);return t.object.zoom=this.zoom,t.object.left=this.left,t.object.right=this.right,t.object.top=this.top,t.object.bottom=this.bottom,t.object.near=this.near,t.object.far=this.far,this.view!==null&&(t.object.view=Object.assign({},this.view)),t}};qr.prototype.isOrthographicCamera=!0;var zs=class extends Zi{constructor(e){super(e),this.type="RawShaderMaterial"}};zs.prototype.isRawShaderMaterial=!0;var Ls=4,xn=8,Di=Math.pow(2,xn),fm=[.125,.215,.35,.446,.526,.582],mm=xn-Ls+1+fm.length,vs=20,lu=new qr,{_lodPlanes:_r,_sizeLods:df,_sigmas:ha}=yb(),pf=new ye,cu=null,zn=(1+Math.sqrt(5))/2,ws=1/zn,ff=[new P(1,1,1),new P(-1,1,1),new P(1,1,-1),new P(-1,1,-1),new P(0,zn,ws),new P(0,zn,-ws),new P(ws,0,zn),new P(-ws,0,zn),new P(zn,ws,0),new P(-zn,ws,0)],Ia=class{constructor(e){this._renderer=e,this._pingPongRenderTarget=null,this._blurMaterial=xb(vs),this._equirectShader=null,this._cubemapShader=null,this._compileMaterial(this._blurMaterial)}fromScene(e,t=0,i=.1,n=100){cu=this._renderer.getRenderTarget();let s=this._allocateTargets();return this._sceneToCubeUV(e,i,n,s),t>0&&this._blur(s,0,0,t),this._applyPMREM(s),this._cleanup(s),s}fromEquirectangular(e,t=null){return this._fromTexture(e,t)}fromCubemap(e,t=null){return this._fromTexture(e,t)}compileCubemapShader(){this._cubemapShader===null&&(this._cubemapShader=yf(),this._compileMaterial(this._cubemapShader))}compileEquirectangularShader(){this._equirectShader===null&&(this._equirectShader=gf(),this._compileMaterial(this._equirectShader))}dispose(){this._blurMaterial.dispose(),this._pingPongRenderTarget!==null&&this._pingPongRenderTarget.dispose(),this._cubemapShader!==null&&this._cubemapShader.dispose(),this._equirectShader!==null&&this._equirectShader.dispose();for(let e=0;e<_r.length;e++)_r[e].dispose()}_cleanup(e){this._renderer.setRenderTarget(cu),e.scissorTest=!1,da(e,0,0,e.width,e.height)}_fromTexture(e,t){cu=this._renderer.getRenderTarget();let i=t||this._allocateTargets(e);return this._textureToCubeUV(e,i),this._applyPMREM(i),this._cleanup(i),i}_allocateTargets(e){let t={magFilter:Ft,minFilter:Ft,generateMipmaps:!1,type:Cs,format:Nt,encoding:bn,depthBuffer:!1},i=mf(t);return i.depthBuffer=!e,this._pingPongRenderTarget===null&&(this._pingPongRenderTarget=mf(t)),i}_compileMaterial(e){let t=new pt(_r[0],e);this._renderer.compile(t,lu)}_sceneToCubeUV(e,t,i,n){let a=new Et(90,1,t,i),l=[1,-1,1,1,1,1],c=[1,1,1,-1,-1,-1],u=this._renderer,h=u.autoClear,d=u.toneMapping;u.getClearColor(pf),u.toneMapping=gn,u.autoClear=!1;let p=new zr({name:"PMREM.Background",side:xt,depthWrite:!1,depthTest:!1}),m=new pt(new Vr,p),y=!1,x=e.background;x?x.isColor&&(p.color.copy(x),e.background=null,y=!0):(p.color.copy(pf),y=!0);for(let g=0;g<6;g++){let f=g%3;f===0?(a.up.set(0,l[g],0),a.lookAt(c[g],0,0)):f===1?(a.up.set(0,0,l[g]),a.lookAt(0,c[g],0)):(a.up.set(0,l[g],0),a.lookAt(0,0,c[g])),da(n,f*Di,g>2?Di:0,Di,Di),u.setRenderTarget(n),y&&u.render(m,a),u.render(e,a)}m.geometry.dispose(),m.material.dispose(),u.toneMapping=d,u.autoClear=h,e.background=x}_textureToCubeUV(e,t){let i=this._renderer,n=e.mapping===co||e.mapping===uo;n?(this._cubemapShader===null&&(this._cubemapShader=yf()),this._cubemapShader.uniforms.flipEnvMap.value=e.isRenderTargetTexture===!1?-1:1):this._equirectShader===null&&(this._equirectShader=gf());let s=n?this._cubemapShader:this._equirectShader,o=new pt(_r[0],s),a=s.uniforms;a.envMap.value=e,n||a.texelSize.value.set(1/e.image.width,1/e.image.height),da(t,0,0,3*Di,2*Di),i.setRenderTarget(t),i.render(o,lu)}_applyPMREM(e){let t=this._renderer,i=t.autoClear;t.autoClear=!1;for(let n=1;nvs&&console.warn(`sigmaRadians, ${s}, is too large and will clip, as it requested ${x} samples when the maximum is set to ${vs}`);let g=[],f=0;for(let M=0;Mxn-Ls?n-xn+Ls:0);da(t,w,_,3*E,2*E),l.setRenderTarget(t),l.render(h,lu)}};function yb(){let r=[],e=[],t=[],i=xn;for(let n=0;nxn-Ls?o=fm[n-xn+Ls-1]:n===0&&(o=0),t.push(o);let a=1/(s-1),l=-a/2,c=1+a/2,u=[l,l,c,l,c,c,l,l,c,c,l,c],h=6,d=6,p=3,m=2,y=1,x=new Float32Array(p*d*h),g=new Float32Array(m*d*h),f=new Float32Array(y*d*h);for(let w=0;w2?0:-1,T=[_,M,0,_+2/3,M,0,_+2/3,M+1,0,_,M,0,_+2/3,M+1,0,_,M+1,0];x.set(T,p*d*w),g.set(u,m*d*w);let z=[w,w,w,w,w,w];f.set(z,y*d*w)}let E=new Ke;E.setAttribute("position",new ht(x,p)),E.setAttribute("uv",new ht(g,m)),E.setAttribute("faceIndex",new ht(f,y)),r.push(E),i>Ls&&i--}return{_lodPlanes:r,_sizeLods:e,_sigmas:t}}function mf(r){let e=new Ht(3*Di,3*Di,r);return e.texture.mapping=nl,e.texture.name="PMREM.cubeUv",e.scissorTest=!0,e}function da(r,e,t,i,n){r.viewport.set(e,t,i,n),r.scissor.set(e,t,i,n)}function xb(r){let e=new Float32Array(r),t=new P(0,1,0);return new zs({name:"SphericalGaussianBlur",defines:{n:r},uniforms:{envMap:{value:null},samples:{value:1},weights:{value:e},latitudinal:{value:!1},dTheta:{value:0},mipInt:{value:0},poleAxis:{value:t}},vertexShader:Nh(),fragmentShader:` +}`,Ne={alphamap_fragment:zv,alphamap_pars_fragment:Vv,alphatest_fragment:Uv,alphatest_pars_fragment:Hv,aomap_fragment:Gv,aomap_pars_fragment:qv,begin_vertex:Wv,beginnormal_vertex:$v,bsdfs:jv,bumpmap_pars_fragment:Xv,clipping_planes_fragment:Yv,clipping_planes_pars_fragment:Zv,clipping_planes_pars_vertex:Jv,clipping_planes_vertex:Kv,color_fragment:Qv,color_pars_fragment:e2,color_pars_vertex:t2,color_vertex:i2,common:n2,cube_uv_reflection_fragment:s2,defaultnormal_vertex:r2,displacementmap_pars_vertex:o2,displacementmap_vertex:a2,emissivemap_fragment:l2,emissivemap_pars_fragment:c2,encodings_fragment:u2,encodings_pars_fragment:h2,envmap_fragment:d2,envmap_common_pars_fragment:p2,envmap_pars_fragment:f2,envmap_pars_vertex:m2,envmap_physical_pars_fragment:M2,envmap_vertex:g2,fog_vertex:y2,fog_pars_vertex:x2,fog_fragment:v2,fog_pars_fragment:w2,gradientmap_pars_fragment:b2,lightmap_fragment:_2,lightmap_pars_fragment:E2,lights_lambert_vertex:A2,lights_pars_begin:S2,lights_toon_fragment:D2,lights_toon_pars_fragment:T2,lights_phong_fragment:C2,lights_phong_pars_fragment:R2,lights_physical_fragment:F2,lights_physical_pars_fragment:L2,lights_fragment_begin:B2,lights_fragment_maps:P2,lights_fragment_end:I2,logdepthbuf_fragment:N2,logdepthbuf_pars_fragment:k2,logdepthbuf_pars_vertex:O2,logdepthbuf_vertex:z2,map_fragment:V2,map_pars_fragment:U2,map_particle_fragment:H2,map_particle_pars_fragment:G2,metalnessmap_fragment:q2,metalnessmap_pars_fragment:W2,morphnormal_vertex:$2,morphtarget_pars_vertex:j2,morphtarget_vertex:X2,normal_fragment_begin:Y2,normal_fragment_maps:Z2,normal_pars_fragment:J2,normal_pars_vertex:K2,normal_vertex:Q2,normalmap_pars_fragment:ew,clearcoat_normal_fragment_begin:tw,clearcoat_normal_fragment_maps:iw,clearcoat_pars_fragment:nw,output_fragment:sw,packing:rw,premultiplied_alpha_fragment:ow,project_vertex:aw,dithering_fragment:lw,dithering_pars_fragment:cw,roughnessmap_fragment:uw,roughnessmap_pars_fragment:hw,shadowmap_pars_fragment:dw,shadowmap_pars_vertex:pw,shadowmap_vertex:fw,shadowmask_pars_fragment:mw,skinbase_vertex:gw,skinning_pars_vertex:yw,skinning_vertex:xw,skinnormal_vertex:vw,specularmap_fragment:ww,specularmap_pars_fragment:bw,tonemapping_fragment:_w,tonemapping_pars_fragment:Ew,transmission_fragment:Aw,transmission_pars_fragment:Sw,uv_pars_fragment:Mw,uv_pars_vertex:Dw,uv_vertex:Tw,uv2_pars_fragment:Cw,uv2_pars_vertex:Rw,uv2_vertex:Fw,worldpos_vertex:Lw,background_vert:Bw,background_frag:Pw,cube_vert:Iw,cube_frag:Nw,depth_vert:kw,depth_frag:Ow,distanceRGBA_vert:zw,distanceRGBA_frag:Vw,equirect_vert:Uw,equirect_frag:Hw,linedashed_vert:Gw,linedashed_frag:qw,meshbasic_vert:Ww,meshbasic_frag:$w,meshlambert_vert:jw,meshlambert_frag:Xw,meshmatcap_vert:Yw,meshmatcap_frag:Zw,meshnormal_vert:Jw,meshnormal_frag:Kw,meshphong_vert:Qw,meshphong_frag:eb,meshphysical_vert:tb,meshphysical_frag:ib,meshtoon_vert:nb,meshtoon_frag:sb,points_vert:rb,points_frag:ob,shadow_vert:ab,shadow_frag:lb,sprite_vert:cb,sprite_frag:ub},re={common:{diffuse:{value:new ye(16777215)},opacity:{value:1},map:{value:null},uvTransform:{value:new wt},uv2Transform:{value:new wt},alphaMap:{value:null},alphaTest:{value:0}},specularmap:{specularMap:{value:null}},envmap:{envMap:{value:null},flipEnvMap:{value:-1},reflectivity:{value:1},ior:{value:1.5},refractionRatio:{value:.98}},aomap:{aoMap:{value:null},aoMapIntensity:{value:1}},lightmap:{lightMap:{value:null},lightMapIntensity:{value:1}},emissivemap:{emissiveMap:{value:null}},bumpmap:{bumpMap:{value:null},bumpScale:{value:1}},normalmap:{normalMap:{value:null},normalScale:{value:new ee(1,1)}},displacementmap:{displacementMap:{value:null},displacementScale:{value:1},displacementBias:{value:0}},roughnessmap:{roughnessMap:{value:null}},metalnessmap:{metalnessMap:{value:null}},gradientmap:{gradientMap:{value:null}},fog:{fogDensity:{value:25e-5},fogNear:{value:1},fogFar:{value:2e3},fogColor:{value:new ye(16777215)}},lights:{ambientLightColor:{value:[]},lightProbe:{value:[]},directionalLights:{value:[],properties:{direction:{},color:{}}},directionalLightShadows:{value:[],properties:{shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{}}},directionalShadowMap:{value:[]},directionalShadowMatrix:{value:[]},spotLights:{value:[],properties:{color:{},position:{},direction:{},distance:{},coneCos:{},penumbraCos:{},decay:{}}},spotLightShadows:{value:[],properties:{shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{}}},spotShadowMap:{value:[]},spotShadowMatrix:{value:[]},pointLights:{value:[],properties:{color:{},position:{},decay:{},distance:{}}},pointLightShadows:{value:[],properties:{shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{},shadowCameraNear:{},shadowCameraFar:{}}},pointShadowMap:{value:[]},pointShadowMatrix:{value:[]},hemisphereLights:{value:[],properties:{direction:{},skyColor:{},groundColor:{}}},rectAreaLights:{value:[],properties:{color:{},position:{},width:{},height:{}}},ltc_1:{value:null},ltc_2:{value:null}},points:{diffuse:{value:new ye(16777215)},opacity:{value:1},size:{value:1},scale:{value:1},map:{value:null},alphaMap:{value:null},alphaTest:{value:0},uvTransform:{value:new wt}},sprite:{diffuse:{value:new ye(16777215)},opacity:{value:1},center:{value:new ee(.5,.5)},rotation:{value:0},map:{value:null},alphaMap:{value:null},alphaTest:{value:0},uvTransform:{value:new wt}}},Ti={basic:{uniforms:Ct([re.common,re.specularmap,re.envmap,re.aomap,re.lightmap,re.fog]),vertexShader:Ne.meshbasic_vert,fragmentShader:Ne.meshbasic_frag},lambert:{uniforms:Ct([re.common,re.specularmap,re.envmap,re.aomap,re.lightmap,re.emissivemap,re.fog,re.lights,{emissive:{value:new ye(0)}}]),vertexShader:Ne.meshlambert_vert,fragmentShader:Ne.meshlambert_frag},phong:{uniforms:Ct([re.common,re.specularmap,re.envmap,re.aomap,re.lightmap,re.emissivemap,re.bumpmap,re.normalmap,re.displacementmap,re.fog,re.lights,{emissive:{value:new ye(0)},specular:{value:new ye(1118481)},shininess:{value:30}}]),vertexShader:Ne.meshphong_vert,fragmentShader:Ne.meshphong_frag},standard:{uniforms:Ct([re.common,re.envmap,re.aomap,re.lightmap,re.emissivemap,re.bumpmap,re.normalmap,re.displacementmap,re.roughnessmap,re.metalnessmap,re.fog,re.lights,{emissive:{value:new ye(0)},roughness:{value:1},metalness:{value:0},envMapIntensity:{value:1}}]),vertexShader:Ne.meshphysical_vert,fragmentShader:Ne.meshphysical_frag},toon:{uniforms:Ct([re.common,re.aomap,re.lightmap,re.emissivemap,re.bumpmap,re.normalmap,re.displacementmap,re.gradientmap,re.fog,re.lights,{emissive:{value:new ye(0)}}]),vertexShader:Ne.meshtoon_vert,fragmentShader:Ne.meshtoon_frag},matcap:{uniforms:Ct([re.common,re.bumpmap,re.normalmap,re.displacementmap,re.fog,{matcap:{value:null}}]),vertexShader:Ne.meshmatcap_vert,fragmentShader:Ne.meshmatcap_frag},points:{uniforms:Ct([re.points,re.fog]),vertexShader:Ne.points_vert,fragmentShader:Ne.points_frag},dashed:{uniforms:Ct([re.common,re.fog,{scale:{value:1},dashSize:{value:1},totalSize:{value:2}}]),vertexShader:Ne.linedashed_vert,fragmentShader:Ne.linedashed_frag},depth:{uniforms:Ct([re.common,re.displacementmap]),vertexShader:Ne.depth_vert,fragmentShader:Ne.depth_frag},normal:{uniforms:Ct([re.common,re.bumpmap,re.normalmap,re.displacementmap,{opacity:{value:1}}]),vertexShader:Ne.meshnormal_vert,fragmentShader:Ne.meshnormal_frag},sprite:{uniforms:Ct([re.sprite,re.fog]),vertexShader:Ne.sprite_vert,fragmentShader:Ne.sprite_frag},background:{uniforms:{uvTransform:{value:new wt},t2D:{value:null}},vertexShader:Ne.background_vert,fragmentShader:Ne.background_frag},cube:{uniforms:Ct([re.envmap,{opacity:{value:1}}]),vertexShader:Ne.cube_vert,fragmentShader:Ne.cube_frag},equirect:{uniforms:{tEquirect:{value:null}},vertexShader:Ne.equirect_vert,fragmentShader:Ne.equirect_frag},distanceRGBA:{uniforms:Ct([re.common,re.displacementmap,{referencePosition:{value:new P},nearDistance:{value:1},farDistance:{value:1e3}}]),vertexShader:Ne.distanceRGBA_vert,fragmentShader:Ne.distanceRGBA_frag},shadow:{uniforms:Ct([re.lights,re.fog,{color:{value:new ye(0)},opacity:{value:1}}]),vertexShader:Ne.shadow_vert,fragmentShader:Ne.shadow_frag}};Ti.physical={uniforms:Ct([Ti.standard.uniforms,{clearcoat:{value:0},clearcoatMap:{value:null},clearcoatRoughness:{value:0},clearcoatRoughnessMap:{value:null},clearcoatNormalScale:{value:new ee(1,1)},clearcoatNormalMap:{value:null},sheen:{value:0},sheenColor:{value:new ye(0)},sheenColorMap:{value:null},sheenRoughness:{value:1},sheenRoughnessMap:{value:null},transmission:{value:0},transmissionMap:{value:null},transmissionSamplerSize:{value:new ee},transmissionSamplerMap:{value:null},thickness:{value:0},thicknessMap:{value:null},attenuationDistance:{value:0},attenuationColor:{value:new ye(0)},specularIntensity:{value:1},specularIntensityMap:{value:null},specularColor:{value:new ye(1,1,1)},specularColorMap:{value:null}}]),vertexShader:Ne.meshphysical_vert,fragmentShader:Ne.meshphysical_frag};function hb(r,e,t,i,n,s){let o=new ye(0),a=n===!0?0:1,l,c,u=null,h=0,d=null;function p(y,x){let g=!1,f=x.isScene===!0?x.background:null;f&&f.isTexture&&(f=e.get(f));let E=r.xr,w=E.getSession&&E.getSession();w&&w.environmentBlendMode==="additive"&&(f=null),f===null?m(o,a):f&&f.isColor&&(m(f,1),g=!0),(r.autoClear||g)&&r.clear(r.autoClearColor,r.autoClearDepth,r.autoClearStencil),f&&(f.isCubeTexture||f.mapping===nl)?(c===void 0&&(c=new pt(new Vr(1,1,1),new Zi({name:"BackgroundCubeMaterial",uniforms:Ns(Ti.cube.uniforms),vertexShader:Ti.cube.vertexShader,fragmentShader:Ti.cube.fragmentShader,side:xt,depthTest:!1,depthWrite:!1,fog:!1})),c.geometry.deleteAttribute("normal"),c.geometry.deleteAttribute("uv"),c.onBeforeRender=function(_,M,T){this.matrixWorld.copyPosition(T.matrixWorld)},Object.defineProperty(c.material,"envMap",{get:function(){return this.uniforms.envMap.value}}),i.update(c)),c.material.uniforms.envMap.value=f,c.material.uniforms.flipEnvMap.value=f.isCubeTexture&&f.isRenderTargetTexture===!1?-1:1,(u!==f||h!==f.version||d!==r.toneMapping)&&(c.material.needsUpdate=!0,u=f,h=f.version,d=r.toneMapping),y.unshift(c,c.geometry,c.material,0,0,null)):f&&f.isTexture&&(l===void 0&&(l=new pt(new Gr(2,2),new Zi({name:"BackgroundMaterial",uniforms:Ns(Ti.background.uniforms),vertexShader:Ti.background.vertexShader,fragmentShader:Ti.background.fragmentShader,side:Pr,depthTest:!1,depthWrite:!1,fog:!1})),l.geometry.deleteAttribute("normal"),Object.defineProperty(l.material,"map",{get:function(){return this.uniforms.t2D.value}}),i.update(l)),l.material.uniforms.t2D.value=f,f.matrixAutoUpdate===!0&&f.updateMatrix(),l.material.uniforms.uvTransform.value.copy(f.matrix),(u!==f||h!==f.version||d!==r.toneMapping)&&(l.material.needsUpdate=!0,u=f,h=f.version,d=r.toneMapping),y.unshift(l,l.geometry,l.material,0,0,null))}function m(y,x){t.buffers.color.setClear(y.r,y.g,y.b,x,s)}return{getClearColor:function(){return o},setClearColor:function(y,x=1){o.set(y),a=x,m(o,a)},getClearAlpha:function(){return a},setClearAlpha:function(y){a=y,m(o,a)},render:p}}function db(r,e,t,i){let n=r.getParameter(34921),s=i.isWebGL2?null:e.get("OES_vertex_array_object"),o=i.isWebGL2||s!==null,a={},l=y(null),c=l;function u(S,B,L,C,N){let k=!1;if(o){let V=m(C,L,B);c!==V&&(c=V,d(c.object)),k=x(C,N),k&&g(C,N)}else{let V=B.wireframe===!0;(c.geometry!==C.id||c.program!==L.id||c.wireframe!==V)&&(c.geometry=C.id,c.program=L.id,c.wireframe=V,k=!0)}S.isInstancedMesh===!0&&(k=!0),N!==null&&t.update(N,34963),k&&(T(S,B,L,C),N!==null&&r.bindBuffer(34963,t.get(N).buffer))}function h(){return i.isWebGL2?r.createVertexArray():s.createVertexArrayOES()}function d(S){return i.isWebGL2?r.bindVertexArray(S):s.bindVertexArrayOES(S)}function p(S){return i.isWebGL2?r.deleteVertexArray(S):s.deleteVertexArrayOES(S)}function m(S,B,L){let C=L.wireframe===!0,N=a[S.id];N===void 0&&(N={},a[S.id]=N);let k=N[B.id];k===void 0&&(k={},N[B.id]=k);let V=k[C];return V===void 0&&(V=y(h()),k[C]=V),V}function y(S){let B=[],L=[],C=[];for(let N=0;N=0){let j=N[U];if(j===void 0&&(U==="instanceMatrix"&&S.instanceMatrix&&(j=S.instanceMatrix),U==="instanceColor"&&S.instanceColor&&(j=S.instanceColor)),j!==void 0){let ne=j.normalized,ae=j.itemSize,H=t.get(j);if(H===void 0)continue;let Te=H.buffer,ue=H.type,we=H.bytesPerElement;if(j.isInterleavedBufferAttribute){let oe=j.data,Ce=oe.stride,Ae=j.offset;if(oe&&oe.isInstancedInterleavedBuffer){for(let Z=0;Z0&&r.getShaderPrecisionFormat(35632,36338).precision>0)return"highp";T="mediump"}return T==="mediump"&&r.getShaderPrecisionFormat(35633,36337).precision>0&&r.getShaderPrecisionFormat(35632,36337).precision>0?"mediump":"lowp"}let o=typeof WebGL2RenderingContext<"u"&&r instanceof WebGL2RenderingContext||typeof WebGL2ComputeRenderingContext<"u"&&r instanceof WebGL2ComputeRenderingContext,a=t.precision!==void 0?t.precision:"highp",l=s(a);l!==a&&(console.warn("THREE.WebGLRenderer:",a,"not supported, using",l,"instead."),a=l);let c=o||e.has("WEBGL_draw_buffers"),u=t.logarithmicDepthBuffer===!0,h=r.getParameter(34930),d=r.getParameter(35660),p=r.getParameter(3379),m=r.getParameter(34076),y=r.getParameter(34921),x=r.getParameter(36347),g=r.getParameter(36348),f=r.getParameter(36349),E=d>0,w=o||e.has("OES_texture_float"),_=E&&w,M=o?r.getParameter(36183):0;return{isWebGL2:o,drawBuffers:c,getMaxAnisotropy:n,getMaxPrecision:s,precision:a,logarithmicDepthBuffer:u,maxTextures:h,maxVertexTextures:d,maxTextureSize:p,maxCubemapSize:m,maxAttributes:y,maxVertexUniforms:x,maxVaryings:g,maxFragmentUniforms:f,vertexTextures:E,floatFragmentTextures:w,floatVertexTextures:_,maxSamples:M}}function mb(r){let e=this,t=null,i=0,n=!1,s=!1,o=new di,a=new wt,l={value:null,needsUpdate:!1};this.uniform=l,this.numPlanes=0,this.numIntersection=0,this.init=function(h,d,p){let m=h.length!==0||d||i!==0||n;return n=d,t=u(h,p,0),i=h.length,m},this.beginShadows=function(){s=!0,u(null)},this.endShadows=function(){s=!1,c()},this.setState=function(h,d,p){let m=h.clippingPlanes,y=h.clipIntersection,x=h.clipShadows,g=r.get(h);if(!n||m===null||m.length===0||s&&!x)s?u(null):c();else{let f=s?0:i,E=f*4,w=g.clippingState||null;l.value=w,w=u(m,d,E,p);for(let _=0;_!==E;++_)w[_]=t[_];g.clippingState=w,this.numIntersection=y?this.numPlanes:0,this.numPlanes+=f}};function c(){l.value!==t&&(l.value=t,l.needsUpdate=i>0),e.numPlanes=i,e.numIntersection=0}function u(h,d,p,m){let y=h!==null?h.length:0,x=null;if(y!==0){if(x=l.value,m!==!0||x===null){let g=p+y*4,f=d.matrixWorldInverse;a.getNormalMatrix(f),(x===null||x.length0){let c=new Pa(l.height/2);return c.fromEquirectangularTexture(r,o),e.set(o,c),o.addEventListener("dispose",n),t(c.texture,o.mapping)}else return null}}return o}function n(o){let a=o.target;a.removeEventListener("dispose",n);let l=e.get(a);l!==void 0&&(e.delete(a),l.dispose())}function s(){e=new WeakMap}return{get:i,dispose:s}}var qr=class extends Ur{constructor(e=-1,t=1,i=1,n=-1,s=.1,o=2e3){super(),this.type="OrthographicCamera",this.zoom=1,this.view=null,this.left=e,this.right=t,this.top=i,this.bottom=n,this.near=s,this.far=o,this.updateProjectionMatrix()}copy(e,t){return super.copy(e,t),this.left=e.left,this.right=e.right,this.top=e.top,this.bottom=e.bottom,this.near=e.near,this.far=e.far,this.zoom=e.zoom,this.view=e.view===null?null:Object.assign({},e.view),this}setViewOffset(e,t,i,n,s,o){this.view===null&&(this.view={enabled:!0,fullWidth:1,fullHeight:1,offsetX:0,offsetY:0,width:1,height:1}),this.view.enabled=!0,this.view.fullWidth=e,this.view.fullHeight=t,this.view.offsetX=i,this.view.offsetY=n,this.view.width=s,this.view.height=o,this.updateProjectionMatrix()}clearViewOffset(){this.view!==null&&(this.view.enabled=!1),this.updateProjectionMatrix()}updateProjectionMatrix(){let e=(this.right-this.left)/(2*this.zoom),t=(this.top-this.bottom)/(2*this.zoom),i=(this.right+this.left)/2,n=(this.top+this.bottom)/2,s=i-e,o=i+e,a=n+t,l=n-t;if(this.view!==null&&this.view.enabled){let c=(this.right-this.left)/this.view.fullWidth/this.zoom,u=(this.top-this.bottom)/this.view.fullHeight/this.zoom;s+=c*this.view.offsetX,o=s+c*this.view.width,a-=u*this.view.offsetY,l=a-u*this.view.height}this.projectionMatrix.makeOrthographic(s,o,a,l,this.near,this.far),this.projectionMatrixInverse.copy(this.projectionMatrix).invert()}toJSON(e){let t=super.toJSON(e);return t.object.zoom=this.zoom,t.object.left=this.left,t.object.right=this.right,t.object.top=this.top,t.object.bottom=this.bottom,t.object.near=this.near,t.object.far=this.far,this.view!==null&&(t.object.view=Object.assign({},this.view)),t}};qr.prototype.isOrthographicCamera=!0;var zs=class extends Zi{constructor(e){super(e),this.type="RawShaderMaterial"}};zs.prototype.isRawShaderMaterial=!0;var Ls=4,xn=8,Di=Math.pow(2,xn),fm=[.125,.215,.35,.446,.526,.582],mm=xn-Ls+1+fm.length,vs=20,lu=new qr,{_lodPlanes:_r,_sizeLods:df,_sigmas:ha}=yb(),pf=new ye,cu=null,zn=(1+Math.sqrt(5))/2,ws=1/zn,ff=[new P(1,1,1),new P(-1,1,1),new P(1,1,-1),new P(-1,1,-1),new P(0,zn,ws),new P(0,zn,-ws),new P(ws,0,zn),new P(-ws,0,zn),new P(zn,ws,0),new P(-zn,ws,0)],Ia=class{constructor(e){this._renderer=e,this._pingPongRenderTarget=null,this._blurMaterial=xb(vs),this._equirectShader=null,this._cubemapShader=null,this._compileMaterial(this._blurMaterial)}fromScene(e,t=0,i=.1,n=100){cu=this._renderer.getRenderTarget();let s=this._allocateTargets();return this._sceneToCubeUV(e,i,n,s),t>0&&this._blur(s,0,0,t),this._applyPMREM(s),this._cleanup(s),s}fromEquirectangular(e,t=null){return this._fromTexture(e,t)}fromCubemap(e,t=null){return this._fromTexture(e,t)}compileCubemapShader(){this._cubemapShader===null&&(this._cubemapShader=yf(),this._compileMaterial(this._cubemapShader))}compileEquirectangularShader(){this._equirectShader===null&&(this._equirectShader=gf(),this._compileMaterial(this._equirectShader))}dispose(){this._blurMaterial.dispose(),this._pingPongRenderTarget!==null&&this._pingPongRenderTarget.dispose(),this._cubemapShader!==null&&this._cubemapShader.dispose(),this._equirectShader!==null&&this._equirectShader.dispose();for(let e=0;e<_r.length;e++)_r[e].dispose()}_cleanup(e){this._renderer.setRenderTarget(cu),e.scissorTest=!1,da(e,0,0,e.width,e.height)}_fromTexture(e,t){cu=this._renderer.getRenderTarget();let i=t||this._allocateTargets(e);return this._textureToCubeUV(e,i),this._applyPMREM(i),this._cleanup(i),i}_allocateTargets(e){let t={magFilter:Rt,minFilter:Rt,generateMipmaps:!1,type:Cs,format:Nt,encoding:bn,depthBuffer:!1},i=mf(t);return i.depthBuffer=!e,this._pingPongRenderTarget===null&&(this._pingPongRenderTarget=mf(t)),i}_compileMaterial(e){let t=new pt(_r[0],e);this._renderer.compile(t,lu)}_sceneToCubeUV(e,t,i,n){let a=new Et(90,1,t,i),l=[1,-1,1,1,1,1],c=[1,1,1,-1,-1,-1],u=this._renderer,h=u.autoClear,d=u.toneMapping;u.getClearColor(pf),u.toneMapping=gn,u.autoClear=!1;let p=new zr({name:"PMREM.Background",side:xt,depthWrite:!1,depthTest:!1}),m=new pt(new Vr,p),y=!1,x=e.background;x?x.isColor&&(p.color.copy(x),e.background=null,y=!0):(p.color.copy(pf),y=!0);for(let g=0;g<6;g++){let f=g%3;f===0?(a.up.set(0,l[g],0),a.lookAt(c[g],0,0)):f===1?(a.up.set(0,0,l[g]),a.lookAt(0,c[g],0)):(a.up.set(0,l[g],0),a.lookAt(0,0,c[g])),da(n,f*Di,g>2?Di:0,Di,Di),u.setRenderTarget(n),y&&u.render(m,a),u.render(e,a)}m.geometry.dispose(),m.material.dispose(),u.toneMapping=d,u.autoClear=h,e.background=x}_textureToCubeUV(e,t){let i=this._renderer,n=e.mapping===co||e.mapping===uo;n?(this._cubemapShader===null&&(this._cubemapShader=yf()),this._cubemapShader.uniforms.flipEnvMap.value=e.isRenderTargetTexture===!1?-1:1):this._equirectShader===null&&(this._equirectShader=gf());let s=n?this._cubemapShader:this._equirectShader,o=new pt(_r[0],s),a=s.uniforms;a.envMap.value=e,n||a.texelSize.value.set(1/e.image.width,1/e.image.height),da(t,0,0,3*Di,2*Di),i.setRenderTarget(t),i.render(o,lu)}_applyPMREM(e){let t=this._renderer,i=t.autoClear;t.autoClear=!1;for(let n=1;nvs&&console.warn(`sigmaRadians, ${s}, is too large and will clip, as it requested ${x} samples when the maximum is set to ${vs}`);let g=[],f=0;for(let M=0;Mxn-Ls?n-xn+Ls:0);da(t,w,_,3*E,2*E),l.setRenderTarget(t),l.render(h,lu)}};function yb(){let r=[],e=[],t=[],i=xn;for(let n=0;nxn-Ls?o=fm[n-xn+Ls-1]:n===0&&(o=0),t.push(o);let a=1/(s-1),l=-a/2,c=1+a/2,u=[l,l,c,l,c,c,l,l,c,c,l,c],h=6,d=6,p=3,m=2,y=1,x=new Float32Array(p*d*h),g=new Float32Array(m*d*h),f=new Float32Array(y*d*h);for(let w=0;w2?0:-1,T=[_,M,0,_+2/3,M,0,_+2/3,M+1,0,_,M,0,_+2/3,M+1,0,_,M+1,0];x.set(T,p*d*w),g.set(u,m*d*w);let z=[w,w,w,w,w,w];f.set(z,y*d*w)}let E=new Ke;E.setAttribute("position",new ht(x,p)),E.setAttribute("uv",new ht(g,m)),E.setAttribute("faceIndex",new ht(f,y)),r.push(E),i>Ls&&i--}return{_lodPlanes:r,_sizeLods:e,_sigmas:t}}function mf(r){let e=new Ht(3*Di,3*Di,r);return e.texture.mapping=nl,e.texture.name="PMREM.cubeUv",e.scissorTest=!0,e}function da(r,e,t,i,n){r.viewport.set(e,t,i,n),r.scissor.set(e,t,i,n)}function xb(r){let e=new Float32Array(r),t=new P(0,1,0);return new zs({name:"SphericalGaussianBlur",defines:{n:r},uniforms:{envMap:{value:null},samples:{value:1},weights:{value:e},latitudinal:{value:!1},dTheta:{value:0},mipInt:{value:0},poleAxis:{value:t}},vertexShader:Nh(),fragmentShader:` precision mediump float; precision mediump int; @@ -2962,7 +2962,7 @@ void main() { gl_Position = vec4( position, 1.0 ); } - `}function vb(r){let e=new WeakMap,t=null;function i(a){if(a&&a.isTexture){let l=a.mapping,c=l===vu||l===wu,u=l===co||l===uo;if(c||u)if(a.isRenderTargetTexture&&a.needsPMREMUpdate===!0){a.needsPMREMUpdate=!1;let h=e.get(a);return t===null&&(t=new Ia(r)),h=c?t.fromEquirectangular(a,h):t.fromCubemap(a,h),e.set(a,h),h.texture}else{if(e.has(a))return e.get(a).texture;{let h=a.image;if(c&&h&&h.height>0||u&&h&&n(h)){t===null&&(t=new Ia(r));let d=c?t.fromEquirectangular(a):t.fromCubemap(a);return e.set(a,d),a.addEventListener("dispose",s),d.texture}else return null}}}return a}function n(a){let l=0,c=6;for(let u=0;ue.maxTextureSize&&(z=Math.ceil(T/e.maxTextureSize),T=e.maxTextureSize);let W=new Float32Array(T*z*4*m),A=new Wr(W,T,z,m);A.format=Nt,A.type=Vn,A.needsUpdate=!0;let v=M*4;for(let S=0;S0)return r;let n=e*t,s=vf[n];if(s===void 0&&(s=new Float32Array(n),vf[n]=s),e!==0){i.toArray(s,0);for(let o=1,a=0;o!==e;++o)a+=t,r[o].toArray(s,a)}return s}function kt(r,e){if(r.length!==e.length)return!1;for(let t=0,i=r.length;t0||u&&h&&n(h)){t===null&&(t=new Ia(r));let d=c?t.fromEquirectangular(a):t.fromCubemap(a);return e.set(a,d),a.addEventListener("dispose",s),d.texture}else return null}}}return a}function n(a){let l=0,c=6;for(let u=0;ue.maxTextureSize&&(z=Math.ceil(T/e.maxTextureSize),T=e.maxTextureSize);let W=new Float32Array(T*z*4*m),A=new Wr(W,T,z,m);A.format=Nt,A.type=Vn,A.needsUpdate=!0;let v=M*4;for(let S=0;S0)return r;let n=e*t,s=vf[n];if(s===void 0&&(s=new Float32Array(n),vf[n]=s),e!==0){i.toArray(s,0);for(let o=1,a=0;o!==e;++o)a+=t,r[o].toArray(s,a)}return s}function kt(r,e){if(r.length!==e.length)return!1;for(let t=0,i=r.length;tu||n.y>u)&&(n.x>u&&(s.x=Math.floor(u/L.x),n.x=s.x*L.x,B.mapSize.x=s.x),n.y>u&&(s.y=Math.floor(u/L.y),n.y=s.y*L.y,B.mapSize.y=s.y)),B.map===null&&!B.isPointLightShadow&&this.type===Tr){let N={minFilter:Ft,magFilter:Ft,format:Nt};B.map=new Ht(n.x,n.y,N),B.map.texture.name=S.name+".shadowMap",B.mapPass=new Ht(n.x,n.y,N),B.camera.updateProjectionMatrix()}if(B.map===null){let N={minFilter:vt,magFilter:vt,format:Nt};B.map=new Ht(n.x,n.y,N),B.map.texture.name=S.name+".shadowMap",B.camera.updateProjectionMatrix()}r.setRenderTarget(B.map),r.clear();let C=B.getViewportCount();for(let N=0;N0){let S=v.uuid,B=M.uuid,L=c[S];L===void 0&&(L={},c[S]=L);let C=L[B];C===void 0&&(C=v.clone(),L[B]=C),v=C}return v.visible=M.visible,v.wireframe=M.wireframe,A===Tr?v.side=M.shadowSide!==null?M.shadowSide:M.side:v.side=M.shadowSide!==null?M.shadowSide:h[M.side],v.alphaMap=M.alphaMap,v.alphaTest=M.alphaTest,v.clipShadows=M.clipShadows,v.clippingPlanes=M.clippingPlanes,v.clipIntersection=M.clipIntersection,v.displacementMap=M.displacementMap,v.displacementScale=M.displacementScale,v.displacementBias=M.displacementBias,v.wireframeLinewidth=M.wireframeLinewidth,v.linewidth=M.linewidth,T.isPointLight===!0&&v.isMeshDistanceMaterial===!0&&(v.referencePosition.setFromMatrixPosition(T.matrixWorld),v.nearDistance=z,v.farDistance=W),v}function E(w,_,M,T,z){if(w.visible===!1)return;if(w.layers.test(_.layers)&&(w.isMesh||w.isLine||w.isPoints)&&(w.castShadow||w.receiveShadow&&z===Tr)&&(!w.frustumCulled||i.intersectsObject(w))){w.modelViewMatrix.multiplyMatrices(M.matrixWorldInverse,w.matrixWorld);let v=e.update(w),R=w.material;if(Array.isArray(R)){let S=v.groups;for(let B=0,L=S.length;B=1):C.indexOf("OpenGL ES")!==-1&&(L=parseFloat(/^OpenGL ES (\d)/.exec(C)[1]),B=L>=2);let N=null,k={},V=r.getParameter(3088),U=r.getParameter(2978),q=new $e().fromArray(V),j=new $e().fromArray(U);function ne(O,ge,pe){let Me=new Uint8Array(4),K=r.createTexture();r.bindTexture(O,K),r.texParameteri(O,10241,9728),r.texParameteri(O,10240,9728);for(let _e=0;_ese||I.height>se)&&(xe=se/Math.max(I.width,I.height)),xe<1||D===!0)if(typeof HTMLImageElement<"u"&&I instanceof HTMLImageElement||typeof HTMLCanvasElement<"u"&&I instanceof HTMLCanvasElement||typeof ImageBitmap<"u"&&I instanceof ImageBitmap){let Y=D?bv:Math.floor,be=Y(xe*I.width),ve=Y(xe*I.height);y===void 0&&(y=g(be,ve));let he=J?g(be,ve):y;return he.width=be,he.height=ve,he.getContext("2d").drawImage(I,0,0,be,ve),console.warn("THREE.WebGLRenderer: Texture has been resized from ("+I.width+"x"+I.height+") to ("+be+"x"+ve+")."),he}else return"data"in I&&console.warn("THREE.WebGLRenderer: Image in DataTexture is too big ("+I.width+"x"+I.height+")."),I;return I}function E(I){return Qp(I.width)&&Qp(I.height)}function w(I){return a?!1:I.wrapS!==Kt||I.wrapT!==Kt||I.minFilter!==vt&&I.minFilter!==Ft}function _(I,D){return I.generateMipmaps&&D&&I.minFilter!==vt&&I.minFilter!==Ft}function M(I){r.generateMipmap(I)}function T(I,D,J,se,xe=!1){if(a===!1)return D;if(I!==null){if(r[I]!==void 0)return r[I];console.warn("THREE.WebGLRenderer: Attempt to use non-existing WebGL internal format '"+I+"'")}let Y=D;return D===6403&&(J===5126&&(Y=33326),J===5131&&(Y=33325),J===5121&&(Y=33321)),D===33319&&(J===5126&&(Y=33328),J===5131&&(Y=33327),J===5121&&(Y=33323)),D===6408&&(J===5126&&(Y=34836),J===5131&&(Y=34842),J===5121&&(Y=se===tt&&xe===!1?35907:32856),J===32819&&(Y=32854),J===32820&&(Y=32855)),(Y===33325||Y===33326||Y===33327||Y===33328||Y===34842||Y===34836)&&e.get("EXT_color_buffer_float"),Y}function z(I,D,J){return _(I,J)===!0||I.isFramebufferTexture&&I.minFilter!==vt&&I.minFilter!==Ft?Math.log2(Math.max(D.width,D.height))+1:I.mipmaps!==void 0&&I.mipmaps.length>0?I.mipmaps.length:I.isCompressedTexture&&Array.isArray(I.image)?D.mipmaps.length:1}function W(I){return I===vt||I===Cp||I===Rp?9728:9729}function A(I){let D=I.target;D.removeEventListener("dispose",A),R(D),D.isVideoTexture&&m.delete(D),o.memory.textures--}function v(I){let D=I.target;D.removeEventListener("dispose",v),S(D)}function R(I){let D=i.get(I);D.__webglInit!==void 0&&(r.deleteTexture(D.__webglTexture),i.remove(I))}function S(I){let D=I.texture,J=i.get(I),se=i.get(D);if(I){if(se.__webglTexture!==void 0&&(r.deleteTexture(se.__webglTexture),o.memory.textures--),I.depthTexture&&I.depthTexture.dispose(),I.isWebGLCubeRenderTarget)for(let xe=0;xe<6;xe++)r.deleteFramebuffer(J.__webglFramebuffer[xe]),J.__webglDepthbuffer&&r.deleteRenderbuffer(J.__webglDepthbuffer[xe]);else r.deleteFramebuffer(J.__webglFramebuffer),J.__webglDepthbuffer&&r.deleteRenderbuffer(J.__webglDepthbuffer),J.__webglMultisampledFramebuffer&&r.deleteFramebuffer(J.__webglMultisampledFramebuffer),J.__webglColorRenderbuffer&&r.deleteRenderbuffer(J.__webglColorRenderbuffer),J.__webglDepthRenderbuffer&&r.deleteRenderbuffer(J.__webglDepthRenderbuffer);if(I.isWebGLMultipleRenderTargets)for(let xe=0,Y=D.length;xe=l&&console.warn("THREE.WebGLTextures: Trying to use "+I+" texture units while this GPU supports only "+l),B+=1,I}function N(I,D){let J=i.get(I);if(I.isVideoTexture&&de(I),I.version>0&&J.__version!==I.version){let se=I.image;if(se===void 0)console.warn("THREE.WebGLRenderer: Texture marked for update but image is undefined");else if(se.complete===!1)console.warn("THREE.WebGLRenderer: Texture marked for update but image is incomplete");else{H(J,I,D);return}}t.activeTexture(33984+D),t.bindTexture(3553,J.__webglTexture)}function k(I,D){let J=i.get(I);if(I.version>0&&J.__version!==I.version){H(J,I,D);return}t.activeTexture(33984+D),t.bindTexture(35866,J.__webglTexture)}function V(I,D){let J=i.get(I);if(I.version>0&&J.__version!==I.version){H(J,I,D);return}t.activeTexture(33984+D),t.bindTexture(32879,J.__webglTexture)}function U(I,D){let J=i.get(I);if(I.version>0&&J.__version!==I.version){Te(J,I,D);return}t.activeTexture(33984+D),t.bindTexture(34067,J.__webglTexture)}let q={[bu]:10497,[Kt]:33071,[_u]:33648},j={[vt]:9728,[Cp]:9984,[Rp]:9986,[Ft]:9729,[Zx]:9985,[sl]:9987};function ne(I,D,J){if(J?(r.texParameteri(I,10242,q[D.wrapS]),r.texParameteri(I,10243,q[D.wrapT]),(I===32879||I===35866)&&r.texParameteri(I,32882,q[D.wrapR]),r.texParameteri(I,10240,j[D.magFilter]),r.texParameteri(I,10241,j[D.minFilter])):(r.texParameteri(I,10242,33071),r.texParameteri(I,10243,33071),(I===32879||I===35866)&&r.texParameteri(I,32882,33071),(D.wrapS!==Kt||D.wrapT!==Kt)&&console.warn("THREE.WebGLRenderer: Texture is not power of two. Texture.wrapS and Texture.wrapT should be set to THREE.ClampToEdgeWrapping."),r.texParameteri(I,10240,W(D.magFilter)),r.texParameteri(I,10241,W(D.minFilter)),D.minFilter!==vt&&D.minFilter!==Ft&&console.warn("THREE.WebGLRenderer: Texture is not power of two. Texture.minFilter should be set to THREE.NearestFilter or THREE.LinearFilter.")),e.has("EXT_texture_filter_anisotropic")===!0){let se=e.get("EXT_texture_filter_anisotropic");if(D.type===Vn&&e.has("OES_texture_float_linear")===!1||a===!1&&D.type===Cs&&e.has("OES_texture_half_float_linear")===!1)return;(D.anisotropy>1||i.get(D).__currentAnisotropy)&&(r.texParameterf(I,se.TEXTURE_MAX_ANISOTROPY_EXT,Math.min(D.anisotropy,n.getMaxAnisotropy())),i.get(D).__currentAnisotropy=D.anisotropy)}}function ae(I,D){I.__webglInit===void 0&&(I.__webglInit=!0,D.addEventListener("dispose",A),I.__webglTexture=r.createTexture(),o.memory.textures++)}function H(I,D,J){let se=3553;D.isDataTexture2DArray&&(se=35866),D.isDataTexture3D&&(se=32879),ae(I,D),t.activeTexture(33984+J),t.bindTexture(se,I.__webglTexture),r.pixelStorei(37440,D.flipY),r.pixelStorei(37441,D.premultiplyAlpha),r.pixelStorei(3317,D.unpackAlignment),r.pixelStorei(37443,0);let xe=w(D)&&E(D.image)===!1,Y=f(D.image,xe,!1,u);Y=Se(D,Y);let be=E(Y)||a,ve=s.convert(D.format,D.encoding),he=s.convert(D.type),le=T(D.internalFormat,ve,he,D.encoding,D.isVideoTexture);ne(se,D,be);let Le,O=D.mipmaps,ge=a&&D.isVideoTexture!==!0,pe=I.__version===void 0,Me=z(D,Y,be);if(D.isDepthTexture)le=6402,a?D.type===Vn?le=36012:D.type===Ma?le=33190:D.type===Rs?le=35056:le=33189:D.type===Vn&&console.error("WebGLRenderer: Floating point depth texture requires WebGL2."),D.format===Hn&&le===6402&&D.type!==Ir&&D.type!==Ma&&(console.warn("THREE.WebGLRenderer: Use UnsignedShortType or UnsignedIntType for DepthFormat DepthTexture."),D.type=Ir,he=s.convert(D.type)),D.format===Ps&&le===6402&&(le=34041,D.type!==Rs&&(console.warn("THREE.WebGLRenderer: Use UnsignedInt248Type for DepthStencilFormat DepthTexture."),D.type=Rs,he=s.convert(D.type))),ge&&pe?t.texStorage2D(3553,1,le,Y.width,Y.height):t.texImage2D(3553,0,le,Y.width,Y.height,0,ve,he,null);else if(D.isDataTexture)if(O.length>0&&be){ge&&pe&&t.texStorage2D(3553,Me,le,O[0].width,O[0].height);for(let K=0,_e=O.length;K<_e;K++)Le=O[K],ge?t.texSubImage2D(3553,0,0,0,Le.width,Le.height,ve,he,Le.data):t.texImage2D(3553,K,le,Le.width,Le.height,0,ve,he,Le.data);D.generateMipmaps=!1}else ge?(pe&&t.texStorage2D(3553,Me,le,Y.width,Y.height),t.texSubImage2D(3553,0,0,0,Y.width,Y.height,ve,he,Y.data)):t.texImage2D(3553,0,le,Y.width,Y.height,0,ve,he,Y.data);else if(D.isCompressedTexture){ge&&pe&&t.texStorage2D(3553,Me,le,O[0].width,O[0].height);for(let K=0,_e=O.length;K<_e;K++)Le=O[K],D.format!==Nt?ve!==null?ge?t.compressedTexSubImage2D(3553,K,0,0,Le.width,Le.height,ve,Le.data):t.compressedTexImage2D(3553,K,le,Le.width,Le.height,0,Le.data):console.warn("THREE.WebGLRenderer: Attempt to load unsupported compressed texture format in .uploadTexture()"):ge?t.texSubImage2D(3553,K,0,0,Le.width,Le.height,ve,he,Le.data):t.texImage2D(3553,K,le,Le.width,Le.height,0,ve,he,Le.data)}else if(D.isDataTexture2DArray)ge?(pe&&t.texStorage3D(35866,Me,le,Y.width,Y.height,Y.depth),t.texSubImage3D(35866,0,0,0,0,Y.width,Y.height,Y.depth,ve,he,Y.data)):t.texImage3D(35866,0,le,Y.width,Y.height,Y.depth,0,ve,he,Y.data);else if(D.isDataTexture3D)ge?(pe&&t.texStorage3D(32879,Me,le,Y.width,Y.height,Y.depth),t.texSubImage3D(32879,0,0,0,0,Y.width,Y.height,Y.depth,ve,he,Y.data)):t.texImage3D(32879,0,le,Y.width,Y.height,Y.depth,0,ve,he,Y.data);else if(D.isFramebufferTexture)ge&&pe?t.texStorage2D(3553,Me,le,Y.width,Y.height):t.texImage2D(3553,0,le,Y.width,Y.height,0,ve,he,null);else if(O.length>0&&be){ge&&pe&&t.texStorage2D(3553,Me,le,O[0].width,O[0].height);for(let K=0,_e=O.length;K<_e;K++)Le=O[K],ge?t.texSubImage2D(3553,K,0,0,ve,he,Le):t.texImage2D(3553,K,le,ve,he,Le);D.generateMipmaps=!1}else ge?(pe&&t.texStorage2D(3553,Me,le,Y.width,Y.height),t.texSubImage2D(3553,0,0,0,ve,he,Y)):t.texImage2D(3553,0,le,ve,he,Y);_(D,be)&&M(se),I.__version=D.version,D.onUpdate&&D.onUpdate(D)}function Te(I,D,J){if(D.image.length!==6)return;ae(I,D),t.activeTexture(33984+J),t.bindTexture(34067,I.__webglTexture),r.pixelStorei(37440,D.flipY),r.pixelStorei(37441,D.premultiplyAlpha),r.pixelStorei(3317,D.unpackAlignment),r.pixelStorei(37443,0);let se=D&&(D.isCompressedTexture||D.image[0].isCompressedTexture),xe=D.image[0]&&D.image[0].isDataTexture,Y=[];for(let K=0;K<6;K++)!se&&!xe?Y[K]=f(D.image[K],!1,!0,c):Y[K]=xe?D.image[K].image:D.image[K],Y[K]=Se(D,Y[K]);let be=Y[0],ve=E(be)||a,he=s.convert(D.format,D.encoding),le=s.convert(D.type),Le=T(D.internalFormat,he,le,D.encoding),O=a&&D.isVideoTexture!==!0,ge=I.__version===void 0,pe=z(D,be,ve);ne(34067,D,ve);let Me;if(se){O&&ge&&t.texStorage2D(34067,pe,Le,be.width,be.height);for(let K=0;K<6;K++){Me=Y[K].mipmaps;for(let _e=0;_e0&&pe++,t.texStorage2D(34067,pe,Le,Y[0].width,Y[0].height));for(let K=0;K<6;K++)if(xe){O?t.texSubImage2D(34069+K,0,0,0,Y[K].width,Y[K].height,he,le,Y[K].data):t.texImage2D(34069+K,0,Le,Y[K].width,Y[K].height,0,he,le,Y[K].data);for(let _e=0;_ep+m?(c.inputState.pinching=!1,this.dispatchEvent({type:"pinchend",handedness:e.handedness,target:this})):!c.inputState.pinching&&d<=p-m&&(c.inputState.pinching=!0,this.dispatchEvent({type:"pinchstart",handedness:e.handedness,target:this}))}else l!==null&&e.gripSpace&&(s=t.getPose(e.gripSpace,i),s!==null&&(l.matrix.fromArray(s.transform.matrix),l.matrix.decompose(l.position,l.rotation,l.scale),s.linearVelocity?(l.hasLinearVelocity=!0,l.linearVelocity.copy(s.linearVelocity)):l.hasLinearVelocity=!1,s.angularVelocity?(l.hasAngularVelocity=!0,l.angularVelocity.copy(s.angularVelocity)):l.hasAngularVelocity=!1));return a!==null&&(a.visible=n!==null),l!==null&&(l.visible=s!==null),c!==null&&(c.visible=o!==null),this}},$r=class extends lt{constructor(e,t,i,n,s,o,a,l,c,u){if(u=u!==void 0?u:Hn,u!==Hn&&u!==Ps)throw new Error("DepthTexture format must be either THREE.DepthFormat or THREE.DepthStencilFormat");i===void 0&&u===Hn&&(i=Ir),i===void 0&&u===Ps&&(i=Rs),super(null,n,s,o,a,l,u,i,c),this.image={width:e,height:t},this.magFilter=a!==void 0?a:vt,this.minFilter=l!==void 0?l:vt,this.flipY=!1,this.generateMipmaps=!1}};$r.prototype.isDepthTexture=!0;var Ru=class extends Xi{constructor(e,t){super();let i=this,n=null,s=1,o=null,a="local-floor",l=e.extensions.has("WEBGL_multisampled_render_to_texture"),c=null,u=null,h=null,d=null,p=!1,m=null,y=t.getContextAttributes(),x=null,g=null,f=[],E=new Map,w=new Et;w.layers.enable(1),w.viewport=new $e;let _=new Et;_.layers.enable(2),_.viewport=new $e;let M=[w,_],T=new za;T.layers.enable(1),T.layers.enable(2);let z=null,W=null;this.cameraAutoUpdate=!0,this.enabled=!1,this.isPresenting=!1,this.getController=function(U){let q=f[U];return q===void 0&&(q=new Fr,f[U]=q),q.getTargetRaySpace()},this.getControllerGrip=function(U){let q=f[U];return q===void 0&&(q=new Fr,f[U]=q),q.getGripSpace()},this.getHand=function(U){let q=f[U];return q===void 0&&(q=new Fr,f[U]=q),q.getHandSpace()};function A(U){let q=E.get(U.inputSource);q&&q.dispatchEvent({type:U.type,data:U.inputSource})}function v(){E.forEach(function(U,q){U.disconnect(q)}),E.clear(),z=null,W=null,e.setRenderTarget(x),d=null,h=null,u=null,n=null,g=null,V.stop(),i.isPresenting=!1,i.dispatchEvent({type:"sessionend"})}this.setFramebufferScaleFactor=function(U){s=U,i.isPresenting===!0&&console.warn("THREE.WebXRManager: Cannot change framebuffer scale while presenting.")},this.setReferenceSpaceType=function(U){a=U,i.isPresenting===!0&&console.warn("THREE.WebXRManager: Cannot change reference space type while presenting.")},this.getReferenceSpace=function(){return o},this.getBaseLayer=function(){return h!==null?h:d},this.getBinding=function(){return u},this.getFrame=function(){return m},this.getSession=function(){return n},this.setSession=async function(U){if(n=U,n!==null){if(x=e.getRenderTarget(),n.addEventListener("select",A),n.addEventListener("selectstart",A),n.addEventListener("selectend",A),n.addEventListener("squeeze",A),n.addEventListener("squeezestart",A),n.addEventListener("squeezeend",A),n.addEventListener("end",v),n.addEventListener("inputsourceschange",R),y.xrCompatible!==!0&&await t.makeXRCompatible(),n.renderState.layers===void 0||e.capabilities.isWebGL2===!1){let q={antialias:n.renderState.layers===void 0?y.antialias:!0,alpha:y.alpha,depth:y.depth,stencil:y.stencil,framebufferScaleFactor:s};d=new XRWebGLLayer(n,t,q),n.updateRenderState({baseLayer:d}),g=new Ht(d.framebufferWidth,d.framebufferHeight,{format:Nt,type:yn,encoding:e.outputEncoding})}else{p=y.antialias;let q=null,j=null,ne=null;y.depth&&(ne=y.stencil?35056:33190,q=y.stencil?Ps:Hn,j=y.stencil?Rs:Ir);let ae={colorFormat:e.outputEncoding===tt?35907:32856,depthFormat:ne,scaleFactor:s};u=new XRWebGLBinding(n,t),h=u.createProjectionLayer(ae),n.updateRenderState({layers:[h]}),p?g=new Or(h.textureWidth,h.textureHeight,{format:Nt,type:yn,depthTexture:new $r(h.textureWidth,h.textureHeight,j,void 0,void 0,void 0,void 0,void 0,void 0,q),stencilBuffer:y.stencil,ignoreDepth:h.ignoreDepthValues,useRenderToTexture:l,encoding:e.outputEncoding}):g=new Ht(h.textureWidth,h.textureHeight,{format:Nt,type:yn,depthTexture:new $r(h.textureWidth,h.textureHeight,j,void 0,void 0,void 0,void 0,void 0,void 0,q),stencilBuffer:y.stencil,ignoreDepth:h.ignoreDepthValues,encoding:e.outputEncoding})}g.isXRRenderTarget=!0,this.setFoveation(1),o=await n.requestReferenceSpace(a),V.setContext(n),V.start(),i.isPresenting=!0,i.dispatchEvent({type:"sessionstart"})}};function R(U){let q=n.inputSources;for(let j=0;j0&&(g.alphaTest.value=f.alphaTest);let E=r.get(f).envMap;E&&(g.envMap.value=E,g.flipEnvMap.value=E.isCubeTexture&&E.isRenderTargetTexture===!1?-1:1,g.reflectivity.value=f.reflectivity,g.ior.value=f.ior,g.refractionRatio.value=f.refractionRatio),f.lightMap&&(g.lightMap.value=f.lightMap,g.lightMapIntensity.value=f.lightMapIntensity),f.aoMap&&(g.aoMap.value=f.aoMap,g.aoMapIntensity.value=f.aoMapIntensity);let w;f.map?w=f.map:f.specularMap?w=f.specularMap:f.displacementMap?w=f.displacementMap:f.normalMap?w=f.normalMap:f.bumpMap?w=f.bumpMap:f.roughnessMap?w=f.roughnessMap:f.metalnessMap?w=f.metalnessMap:f.alphaMap?w=f.alphaMap:f.emissiveMap?w=f.emissiveMap:f.clearcoatMap?w=f.clearcoatMap:f.clearcoatNormalMap?w=f.clearcoatNormalMap:f.clearcoatRoughnessMap?w=f.clearcoatRoughnessMap:f.specularIntensityMap?w=f.specularIntensityMap:f.specularColorMap?w=f.specularColorMap:f.transmissionMap?w=f.transmissionMap:f.thicknessMap?w=f.thicknessMap:f.sheenColorMap?w=f.sheenColorMap:f.sheenRoughnessMap&&(w=f.sheenRoughnessMap),w!==void 0&&(w.isWebGLRenderTarget&&(w=w.texture),w.matrixAutoUpdate===!0&&w.updateMatrix(),g.uvTransform.value.copy(w.matrix));let _;f.aoMap?_=f.aoMap:f.lightMap&&(_=f.lightMap),_!==void 0&&(_.isWebGLRenderTarget&&(_=_.texture),_.matrixAutoUpdate===!0&&_.updateMatrix(),g.uv2Transform.value.copy(_.matrix))}function n(g,f){g.diffuse.value.copy(f.color),g.opacity.value=f.opacity}function s(g,f){g.dashSize.value=f.dashSize,g.totalSize.value=f.dashSize+f.gapSize,g.scale.value=f.scale}function o(g,f,E,w){g.diffuse.value.copy(f.color),g.opacity.value=f.opacity,g.size.value=f.size*E,g.scale.value=w*.5,f.map&&(g.map.value=f.map),f.alphaMap&&(g.alphaMap.value=f.alphaMap),f.alphaTest>0&&(g.alphaTest.value=f.alphaTest);let _;f.map?_=f.map:f.alphaMap&&(_=f.alphaMap),_!==void 0&&(_.matrixAutoUpdate===!0&&_.updateMatrix(),g.uvTransform.value.copy(_.matrix))}function a(g,f){g.diffuse.value.copy(f.color),g.opacity.value=f.opacity,g.rotation.value=f.rotation,f.map&&(g.map.value=f.map),f.alphaMap&&(g.alphaMap.value=f.alphaMap),f.alphaTest>0&&(g.alphaTest.value=f.alphaTest);let E;f.map?E=f.map:f.alphaMap&&(E=f.alphaMap),E!==void 0&&(E.matrixAutoUpdate===!0&&E.updateMatrix(),g.uvTransform.value.copy(E.matrix))}function l(g,f){f.emissiveMap&&(g.emissiveMap.value=f.emissiveMap)}function c(g,f){g.specular.value.copy(f.specular),g.shininess.value=Math.max(f.shininess,1e-4),f.emissiveMap&&(g.emissiveMap.value=f.emissiveMap),f.bumpMap&&(g.bumpMap.value=f.bumpMap,g.bumpScale.value=f.bumpScale,f.side===xt&&(g.bumpScale.value*=-1)),f.normalMap&&(g.normalMap.value=f.normalMap,g.normalScale.value.copy(f.normalScale),f.side===xt&&g.normalScale.value.negate()),f.displacementMap&&(g.displacementMap.value=f.displacementMap,g.displacementScale.value=f.displacementScale,g.displacementBias.value=f.displacementBias)}function u(g,f){f.gradientMap&&(g.gradientMap.value=f.gradientMap),f.emissiveMap&&(g.emissiveMap.value=f.emissiveMap),f.bumpMap&&(g.bumpMap.value=f.bumpMap,g.bumpScale.value=f.bumpScale,f.side===xt&&(g.bumpScale.value*=-1)),f.normalMap&&(g.normalMap.value=f.normalMap,g.normalScale.value.copy(f.normalScale),f.side===xt&&g.normalScale.value.negate()),f.displacementMap&&(g.displacementMap.value=f.displacementMap,g.displacementScale.value=f.displacementScale,g.displacementBias.value=f.displacementBias)}function h(g,f){g.roughness.value=f.roughness,g.metalness.value=f.metalness,f.roughnessMap&&(g.roughnessMap.value=f.roughnessMap),f.metalnessMap&&(g.metalnessMap.value=f.metalnessMap),f.emissiveMap&&(g.emissiveMap.value=f.emissiveMap),f.bumpMap&&(g.bumpMap.value=f.bumpMap,g.bumpScale.value=f.bumpScale,f.side===xt&&(g.bumpScale.value*=-1)),f.normalMap&&(g.normalMap.value=f.normalMap,g.normalScale.value.copy(f.normalScale),f.side===xt&&g.normalScale.value.negate()),f.displacementMap&&(g.displacementMap.value=f.displacementMap,g.displacementScale.value=f.displacementScale,g.displacementBias.value=f.displacementBias),r.get(f).envMap&&(g.envMapIntensity.value=f.envMapIntensity)}function d(g,f,E){h(g,f),g.ior.value=f.ior,f.sheen>0&&(g.sheenColor.value.copy(f.sheenColor).multiplyScalar(f.sheen),g.sheenRoughness.value=f.sheenRoughness,f.sheenColorMap&&(g.sheenColorMap.value=f.sheenColorMap),f.sheenRoughnessMap&&(g.sheenRoughnessMap.value=f.sheenRoughnessMap)),f.clearcoat>0&&(g.clearcoat.value=f.clearcoat,g.clearcoatRoughness.value=f.clearcoatRoughness,f.clearcoatMap&&(g.clearcoatMap.value=f.clearcoatMap),f.clearcoatRoughnessMap&&(g.clearcoatRoughnessMap.value=f.clearcoatRoughnessMap),f.clearcoatNormalMap&&(g.clearcoatNormalScale.value.copy(f.clearcoatNormalScale),g.clearcoatNormalMap.value=f.clearcoatNormalMap,f.side===xt&&g.clearcoatNormalScale.value.negate())),f.transmission>0&&(g.transmission.value=f.transmission,g.transmissionSamplerMap.value=E.texture,g.transmissionSamplerSize.value.set(E.width,E.height),f.transmissionMap&&(g.transmissionMap.value=f.transmissionMap),g.thickness.value=f.thickness,f.thicknessMap&&(g.thicknessMap.value=f.thicknessMap),g.attenuationDistance.value=f.attenuationDistance,g.attenuationColor.value.copy(f.attenuationColor)),g.specularIntensity.value=f.specularIntensity,g.specularColor.value.copy(f.specularColor),f.specularIntensityMap&&(g.specularIntensityMap.value=f.specularIntensityMap),f.specularColorMap&&(g.specularColorMap.value=f.specularColorMap)}function p(g,f){f.matcap&&(g.matcap.value=f.matcap),f.bumpMap&&(g.bumpMap.value=f.bumpMap,g.bumpScale.value=f.bumpScale,f.side===xt&&(g.bumpScale.value*=-1)),f.normalMap&&(g.normalMap.value=f.normalMap,g.normalScale.value.copy(f.normalScale),f.side===xt&&g.normalScale.value.negate()),f.displacementMap&&(g.displacementMap.value=f.displacementMap,g.displacementScale.value=f.displacementScale,g.displacementBias.value=f.displacementBias)}function m(g,f){f.displacementMap&&(g.displacementMap.value=f.displacementMap,g.displacementScale.value=f.displacementScale,g.displacementBias.value=f.displacementBias)}function y(g,f){f.displacementMap&&(g.displacementMap.value=f.displacementMap,g.displacementScale.value=f.displacementScale,g.displacementBias.value=f.displacementBias),g.referencePosition.value.copy(f.referencePosition),g.nearDistance.value=f.nearDistance,g.farDistance.value=f.farDistance}function x(g,f){f.bumpMap&&(g.bumpMap.value=f.bumpMap,g.bumpScale.value=f.bumpScale,f.side===xt&&(g.bumpScale.value*=-1)),f.normalMap&&(g.normalMap.value=f.normalMap,g.normalScale.value.copy(f.normalScale),f.side===xt&&g.normalScale.value.negate()),f.displacementMap&&(g.displacementMap.value=f.displacementMap,g.displacementScale.value=f.displacementScale,g.displacementBias.value=f.displacementBias)}return{refreshFogUniforms:e,refreshMaterialUniforms:t}}function K1(){let r=kr("canvas");return r.style.display="block",r}function qe(r={}){let e=r.canvas!==void 0?r.canvas:K1(),t=r.context!==void 0?r.context:null,i=r.alpha!==void 0?r.alpha:!1,n=r.depth!==void 0?r.depth:!0,s=r.stencil!==void 0?r.stencil:!0,o=r.antialias!==void 0?r.antialias:!1,a=r.premultipliedAlpha!==void 0?r.premultipliedAlpha:!0,l=r.preserveDrawingBuffer!==void 0?r.preserveDrawingBuffer:!1,c=r.powerPreference!==void 0?r.powerPreference:"default",u=r.failIfMajorPerformanceCaveat!==void 0?r.failIfMajorPerformanceCaveat:!1,h=null,d=null,p=[],m=[];this.domElement=e,this.debug={checkShaderErrors:!0},this.autoClear=!0,this.autoClearColor=!0,this.autoClearDepth=!0,this.autoClearStencil=!0,this.sortObjects=!0,this.clippingPlanes=[],this.localClippingEnabled=!1,this.outputEncoding=bn,this.physicallyCorrectLights=!1,this.toneMapping=gn,this.toneMappingExposure=1;let y=this,x=!1,g=0,f=0,E=null,w=-1,_=null,M=new $e,T=new $e,z=null,W=e.width,A=e.height,v=1,R=null,S=null,B=new $e(0,0,W,A),L=new $e(0,0,W,A),C=!1,N=new Os,k=!1,V=!1,U=null,q=new Ee,j=new P,ne={background:null,fog:null,environment:null,overrideMaterial:null,isScene:!0};function ae(){return E===null?v:1}let H=t;function Te(F,G){for(let X=0;X0?d=m[m.length-1]:d=null,p.pop(),p.length>0?h=p[p.length-1]:h=null};function ot(F,G,X,$){if(F.visible===!1)return;if(F.layers.test(G.layers)){if(F.isGroup)X=F.renderOrder;else if(F.isLOD)F.autoUpdate===!0&&F.update(G);else if(F.isLight)d.pushLight(F),F.castShadow&&d.pushShadow(F);else if(F.isSprite){if(!F.frustumCulled||N.intersectsSprite(F)){$&&j.setFromMatrixPosition(F.matrixWorld).applyMatrix4(q);let Be=Se.update(F),Ie=F.material;Ie.visible&&h.push(F,Be,Ie,X,j.z,null)}}else if((F.isMesh||F.isLine||F.isPoints)&&(F.isSkinnedMesh&&F.skeleton.frame!==Ce.render.frame&&(F.skeleton.update(),F.skeleton.frame=Ce.render.frame),!F.frustumCulled||N.intersectsObject(F))){$&&j.setFromMatrixPosition(F.matrixWorld).applyMatrix4(q);let Be=Se.update(F),Ie=F.material;if(Array.isArray(Ie)){let Pe=Be.groups;for(let We=0,ze=Pe.length;We0&&Pi(Q,G,X),$&&oe.viewport(M.copy($)),Q.length>0&&Fo(Q,G,X),Fe.length>0&&Fo(Fe,G,X),Be.length>0&&Fo(Be,G,X)}function Pi(F,G,X){if(U===null){let Be=o===!0&&we.isWebGL2===!0?Or:Ht;U=new Be(1024,1024,{generateMipmaps:!0,type:be.convert(Cs)!==null?Cs:yn,minFilter:sl,magFilter:vt,wrapS:Kt,wrapT:Kt,useRenderToTexture:ue.has("WEBGL_multisampled_render_to_texture")})}let $=y.getRenderTarget();y.setRenderTarget(U),y.clear();let Q=y.toneMapping;y.toneMapping=gn,Fo(F,G,X),y.toneMapping=Q,Z.updateMultisampleRenderTarget(U),Z.updateRenderTargetMipmap(U),y.setRenderTarget($)}function Fo(F,G,X){let $=G.isScene===!0?G.overrideMaterial:null;for(let Q=0,Fe=F.length;Q=0&&G<=F.width-$&&X>=0&&X<=F.height-Q&&H.readPixels(G,X,$,Q,be.convert(We),be.convert(ze),Fe):console.error("THREE.WebGLRenderer.readRenderTargetPixels: readPixels from renderTarget failed. Framebuffer not complete.")}finally{let Pe=E!==null?Ae.get(E).__webglFramebuffer:null;oe.bindFramebuffer(36160,Pe)}}},this.copyFramebufferToTexture=function(F,G,X=0){if(G.isFramebufferTexture!==!0){console.error("THREE.WebGLRenderer: copyFramebufferToTexture() can only be used with FramebufferTexture.");return}let $=Math.pow(2,-X),Q=Math.floor(G.image.width*$),Fe=Math.floor(G.image.height*$);Z.setTexture2D(G,0),H.copyTexSubImage2D(3553,X,0,0,F.x,F.y,Q,Fe),oe.unbindTexture()},this.copyTextureToTexture=function(F,G,X,$=0){let Q=G.image.width,Fe=G.image.height,Be=be.convert(X.format),Ie=be.convert(X.type);Z.setTexture2D(X,0),H.pixelStorei(37440,X.flipY),H.pixelStorei(37441,X.premultiplyAlpha),H.pixelStorei(3317,X.unpackAlignment),G.isDataTexture?H.texSubImage2D(3553,$,F.x,F.y,Q,Fe,Be,Ie,G.image.data):G.isCompressedTexture?H.compressedTexSubImage2D(3553,$,F.x,F.y,G.mipmaps[0].width,G.mipmaps[0].height,Be,G.mipmaps[0].data):H.texSubImage2D(3553,$,F.x,F.y,Be,Ie,G.image),$===0&&X.generateMipmaps&&H.generateMipmap(3553),oe.unbindTexture()},this.copyTextureToTexture3D=function(F,G,X,$,Q=0){if(y.isWebGL1Renderer){console.warn("THREE.WebGLRenderer.copyTextureToTexture3D: can only be used with WebGL2.");return}let Fe=F.max.x-F.min.x+1,Be=F.max.y-F.min.y+1,Ie=F.max.z-F.min.z+1,Pe=be.convert($.format),We=be.convert($.type),ze;if($.isDataTexture3D)Z.setTexture3D($,0),ze=32879;else if($.isDataTexture2DArray)Z.setTexture2DArray($,0),ze=35866;else{console.warn("THREE.WebGLRenderer.copyTextureToTexture3D: only supports THREE.DataTexture3D and THREE.DataTexture2DArray.");return}H.pixelStorei(37440,$.flipY),H.pixelStorei(37441,$.premultiplyAlpha),H.pixelStorei(3317,$.unpackAlignment);let Ve=H.getParameter(3314),at=H.getParameter(32878),Bn=H.getParameter(3316),ns=H.getParameter(3315),Ue=H.getParameter(32877),vi=X.isCompressedTexture?X.mipmaps[0]:X.image;H.pixelStorei(3314,vi.width),H.pixelStorei(32878,vi.height),H.pixelStorei(3316,F.min.x),H.pixelStorei(3315,F.min.y),H.pixelStorei(32877,F.min.z),X.isDataTexture||X.isDataTexture3D?H.texSubImage3D(ze,Q,G.x,G.y,G.z,Fe,Be,Ie,Pe,We,vi.data):X.isCompressedTexture?(console.warn("THREE.WebGLRenderer.copyTextureToTexture3D: untested support for compressed srcTexture."),H.compressedTexSubImage3D(ze,Q,G.x,G.y,G.z,Fe,Be,Ie,Pe,vi.data)):H.texSubImage3D(ze,Q,G.x,G.y,G.z,Fe,Be,Ie,Pe,We,vi),H.pixelStorei(3314,Ve),H.pixelStorei(32878,at),H.pixelStorei(3316,Bn),H.pixelStorei(3315,ns),H.pixelStorei(32877,Ue),Q===0&&$.generateMipmaps&&H.generateMipmap(ze),oe.unbindTexture()},this.initTexture=function(F){Z.setTexture2D(F,0),oe.unbindTexture()},this.resetState=function(){g=0,f=0,E=null,oe.reset(),ve.reset()},typeof __THREE_DEVTOOLS__<"u"&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("observe",{detail:this}))}qe.prototype.isWebGLRenderer=!0;var Fu=class extends qe{};Fu.prototype.isWebGL1Renderer=!0;var Lu=class r{constructor(e,t=25e-5){this.name="",this.color=new ye(e),this.density=t}clone(){return new r(this.color,this.density)}toJSON(){return{type:"FogExp2",color:this.color.getHex(),density:this.density}}};Lu.prototype.isFogExp2=!0;var Bu=class r{constructor(e,t=1,i=1e3){this.name="",this.color=new ye(e),this.near=t,this.far=i}clone(){return new r(this.color,this.near,this.far)}toJSON(){return{type:"Fog",color:this.color.getHex(),near:this.near,far:this.far}}};Bu.prototype.isFog=!0;var Vs=class extends Ge{constructor(){super(),this.type="Scene",this.background=null,this.environment=null,this.fog=null,this.overrideMaterial=null,this.autoUpdate=!0,typeof __THREE_DEVTOOLS__<"u"&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("observe",{detail:this}))}copy(e,t){return super.copy(e,t),e.background!==null&&(this.background=e.background.clone()),e.environment!==null&&(this.environment=e.environment.clone()),e.fog!==null&&(this.fog=e.fog.clone()),e.overrideMaterial!==null&&(this.overrideMaterial=e.overrideMaterial.clone()),this.autoUpdate=e.autoUpdate,this.matrixAutoUpdate=e.matrixAutoUpdate,this}toJSON(e){let t=super.toJSON(e);return this.fog!==null&&(t.object.fog=this.fog.toJSON()),t}};Vs.prototype.isScene=!0;var Gn=class{constructor(e,t){this.array=e,this.stride=t,this.count=e!==void 0?e.length/t:0,this.usage=Nr,this.updateRange={offset:0,count:-1},this.version=0,this.uuid=pi()}onUploadCallback(){}set needsUpdate(e){e===!0&&this.version++}setUsage(e){return this.usage=e,this}copy(e){return this.array=new e.array.constructor(e.array),this.count=e.count,this.stride=e.stride,this.usage=e.usage,this}copyAt(e,t,i){e*=this.stride,i*=t.stride;for(let n=0,s=this.stride;ne.far||t.push({distance:l,point:Er.clone(),uv:Bt.getUV(Er,pa,Sr,fa,Pf,hu,If,new ee),face:null,object:this})}copy(e){return super.copy(e),e.center!==void 0&&this.center.copy(e.center),this.material=e.material,this}};Pu.prototype.isSprite=!0;function ma(r,e,t,i,n,s){As.subVectors(r,t).addScalar(.5).multiply(i),n!==void 0?(Ar.x=s*As.x-n*As.y,Ar.y=n*As.x+s*As.y):Ar.copy(As),r.copy(e),r.x+=Ar.x,r.y+=Ar.y,r.applyMatrix4(Am)}var Nf=new P,kf=new $e,Of=new $e,Q1=new P,zf=new Ee,Ua=class extends pt{constructor(e,t){super(e,t),this.type="SkinnedMesh",this.bindMode="attached",this.bindMatrix=new Ee,this.bindMatrixInverse=new Ee}copy(e){return super.copy(e),this.bindMode=e.bindMode,this.bindMatrix.copy(e.bindMatrix),this.bindMatrixInverse.copy(e.bindMatrixInverse),this.skeleton=e.skeleton,this}bind(e,t){this.skeleton=e,t===void 0&&(this.updateMatrixWorld(!0),this.skeleton.calculateInverses(),t=this.matrixWorld),this.bindMatrix.copy(t),this.bindMatrixInverse.copy(t).invert()}pose(){this.skeleton.pose()}normalizeSkinWeights(){let e=new $e,t=this.geometry.attributes.skinWeight;for(let i=0,n=t.count;il)continue;d.applyMatrix4(this.matrixWorld);let z=e.ray.origin.distanceTo(d);ze.far||t.push({distance:z,point:h.clone().applyMatrix4(this.matrixWorld),index:E,face:null,faceIndex:null,object:this})}}else{let g=Math.max(0,o.start),f=Math.min(x.count,o.start+o.count);for(let E=g,w=f-1;El)continue;d.applyMatrix4(this.matrixWorld);let M=e.ray.origin.distanceTo(d);Me.far||t.push({distance:M,point:h.clone().applyMatrix4(this.matrixWorld),index:E,face:null,faceIndex:null,object:this})}}}else i.isGeometry&&console.error("THREE.Line.raycast() no longer supports THREE.Geometry. Use THREE.BufferGeometry instead.")}updateMorphTargets(){let e=this.geometry;if(e.isBufferGeometry){let t=e.morphAttributes,i=Object.keys(t);if(i.length>0){let n=t[i[0]];if(n!==void 0){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let s=0,o=n.length;s0&&console.error("THREE.Line.updateMorphTargets() does not support THREE.Geometry. Use THREE.BufferGeometry instead.")}}};Yr.prototype.isLine=!0;var Wf=new P,$f=new P,Zr=class extends Yr{constructor(e,t){super(e,t),this.type="LineSegments"}computeLineDistances(){let e=this.geometry;if(e.isBufferGeometry)if(e.index===null){let t=e.attributes.position,i=[];for(let n=0,s=t.count;n0){let n=t[i[0]];if(n!==void 0){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let s=0,o=n.length;s0&&console.error("THREE.Points.updateMorphTargets() does not support THREE.Geometry. Use THREE.BufferGeometry instead.")}}};Vu.prototype.isPoints=!0;function Xf(r,e,t,i,n,s,o){let a=zu.distanceSqToPoint(r);if(an.far)return;s.push({distance:c,distanceToRay:Math.sqrt(a),point:l,index:e,face:null,object:o})}}var Uu=class extends lt{constructor(e,t,i,n,s,o,a,l,c){super(e,t,i,n,s,o,a,l,c),this.minFilter=o!==void 0?o:Ft,this.magFilter=s!==void 0?s:Ft,this.generateMipmaps=!1;let u=this;function h(){u.needsUpdate=!0,e.requestVideoFrameCallback(h)}"requestVideoFrameCallback"in e&&e.requestVideoFrameCallback(h)}clone(){return new this.constructor(this.image).copy(this)}update(){let e=this.image;"requestVideoFrameCallback"in e===!1&&e.readyState>=e.HAVE_CURRENT_DATA&&(this.needsUpdate=!0)}};Uu.prototype.isVideoTexture=!0;var Hu=class extends lt{constructor(e,t,i){super({width:e,height:t}),this.format=i,this.magFilter=vt,this.minFilter=vt,this.generateMipmaps=!1,this.needsUpdate=!0}};Hu.prototype.isFramebufferTexture=!0;var Gu=class extends lt{constructor(e,t,i,n,s,o,a,l,c,u,h,d){super(null,o,a,l,c,u,n,s,h,d),this.image={width:t,height:i},this.mipmaps=e,this.flipY=!1,this.generateMipmaps=!1}};Gu.prototype.isCompressedTexture=!0;var qu=class extends lt{constructor(e,t,i,n,s,o,a,l,c){super(e,t,i,n,s,o,a,l,c),this.needsUpdate=!0}};qu.prototype.isCanvasTexture=!0;var oM=new P,aM=new P,lM=new P,cM=new Bt;var Gt=class{constructor(){this.type="Curve",this.arcLengthDivisions=200}getPoint(){return console.warn("THREE.Curve: .getPoint() not implemented."),null}getPointAt(e,t){let i=this.getUtoTmapping(e);return this.getPoint(i,t)}getPoints(e=5){let t=[];for(let i=0;i<=e;i++)t.push(this.getPoint(i/e));return t}getSpacedPoints(e=5){let t=[];for(let i=0;i<=e;i++)t.push(this.getPointAt(i/e));return t}getLength(){let e=this.getLengths();return e[e.length-1]}getLengths(e=this.arcLengthDivisions){if(this.cacheArcLengths&&this.cacheArcLengths.length===e+1&&!this.needsUpdate)return this.cacheArcLengths;this.needsUpdate=!1;let t=[],i,n=this.getPoint(0),s=0;t.push(0);for(let o=1;o<=e;o++)i=this.getPoint(o/e),s+=i.distanceTo(n),t.push(s),n=i;return this.cacheArcLengths=t,t}updateArcLengths(){this.needsUpdate=!0,this.getLengths()}getUtoTmapping(e,t){let i=this.getLengths(),n=0,s=i.length,o;t?o=t:o=e*i[s-1];let a=0,l=s-1,c;for(;a<=l;)if(n=Math.floor(a+(l-a)/2),c=i[n]-o,c<0)a=n+1;else if(c>0)l=n-1;else{l=n;break}if(n=l,i[n]===o)return n/(s-1);let u=i[n],d=i[n+1]-u,p=(o-u)/d;return(n+p)/(s-1)}getTangent(e,t){let n=e-1e-4,s=e+1e-4;n<0&&(n=0),s>1&&(s=1);let o=this.getPoint(n),a=this.getPoint(s),l=t||(o.isVector2?new ee:new P);return l.copy(a).sub(o).normalize(),l}getTangentAt(e,t){let i=this.getUtoTmapping(e);return this.getTangent(i,t)}computeFrenetFrames(e,t){let i=new P,n=[],s=[],o=[],a=new P,l=new Ee;for(let p=0;p<=e;p++){let m=p/e;n[p]=this.getTangentAt(m,new P)}s[0]=new P,o[0]=new P;let c=Number.MAX_VALUE,u=Math.abs(n[0].x),h=Math.abs(n[0].y),d=Math.abs(n[0].z);u<=c&&(c=u,i.set(1,0,0)),h<=c&&(c=h,i.set(0,1,0)),d<=c&&i.set(0,0,1),a.crossVectors(n[0],i).normalize(),s[0].crossVectors(n[0],a),o[0].crossVectors(n[0],s[0]);for(let p=1;p<=e;p++){if(s[p]=s[p-1].clone(),o[p]=o[p-1].clone(),a.crossVectors(n[p-1],n[p]),a.length()>Number.EPSILON){a.normalize();let m=Math.acos(Ut(n[p-1].dot(n[p]),-1,1));s[p].applyMatrix4(l.makeRotationAxis(a,m))}o[p].crossVectors(n[p],s[p])}if(t===!0){let p=Math.acos(Ut(s[0].dot(s[e]),-1,1));p/=e,n[0].dot(a.crossVectors(s[0],s[e]))>0&&(p=-p);for(let m=1;m<=e;m++)s[m].applyMatrix4(l.makeRotationAxis(n[m],p*m)),o[m].crossVectors(n[m],s[m])}return{tangents:n,normals:s,binormals:o}}clone(){return new this.constructor().copy(this)}copy(e){return this.arcLengthDivisions=e.arcLengthDivisions,this}toJSON(){let e={metadata:{version:4.5,type:"Curve",generator:"Curve.toJSON"}};return e.arcLengthDivisions=this.arcLengthDivisions,e.type=this.type,e}fromJSON(e){return this.arcLengthDivisions=e.arcLengthDivisions,this}},Us=class extends Gt{constructor(e=0,t=0,i=1,n=1,s=0,o=Math.PI*2,a=!1,l=0){super(),this.type="EllipseCurve",this.aX=e,this.aY=t,this.xRadius=i,this.yRadius=n,this.aStartAngle=s,this.aEndAngle=o,this.aClockwise=a,this.aRotation=l}getPoint(e,t){let i=t||new ee,n=Math.PI*2,s=this.aEndAngle-this.aStartAngle,o=Math.abs(s)n;)s-=n;s0?0:(Math.floor(Math.abs(a)/s)+1)*s:l===0&&a===s-1&&(a=s-2,l=1);let c,u;this.closed||a>0?c=n[(a-1)%s]:(wa.subVectors(n[0],n[1]).add(n[0]),c=wa);let h=n[a%s],d=n[(a+1)%s];if(this.closed||a+2n.length-2?n.length-1:o+1],h=n[o>n.length-3?n.length-1:o+2];return i.set(Yf(a,l.x,c.x,u.x,h.x),Yf(a,l.y,c.y,u.y,h.y)),i}copy(e){super.copy(e),this.points=[];for(let t=0,i=e.points.length;t=i){let o=n[s]-i,a=this.curves[s],l=a.getLength(),c=l===0?0:1-o/l;return a.getPointAt(c,t)}s++}return null}getLength(){let e=this.getCurveLengths();return e[e.length-1]}updateArcLengths(){this.needsUpdate=!0,this.cacheLengths=null,this.getCurveLengths()}getCurveLengths(){if(this.cacheLengths&&this.cacheLengths.length===this.curves.length)return this.cacheLengths;let e=[],t=0;for(let i=0,n=this.curves.length;i1&&!t[t.length-1].equals(t[0])&&t.push(t[0]),t}copy(e){super.copy(e),this.curves=[];for(let t=0,i=e.curves.length;t0){let h=c.getPoint(0);h.equals(this.currentPoint)||this.lineTo(h.x,h.y)}this.curves.push(c);let u=c.getPoint(1);return this.currentPoint.copy(u),this}copy(e){return super.copy(e),this.currentPoint.copy(e.currentPoint),this}toJSON(){let e=super.toJSON();return e.currentPoint=this.currentPoint.toArray(),e}fromJSON(e){return super.fromJSON(e),this.currentPoint.fromArray(e.currentPoint),this}},Wn=class extends eo{constructor(e){super(e),this.uuid=pi(),this.type="Shape",this.holes=[]}getPointsHoles(e){let t=[];for(let i=0,n=this.holes.length;i80*t){a=c=r[0],l=u=r[1];for(let m=t;mc&&(c=h),d>u&&(u=d);p=Math.max(c-a,u-l),p=p!==0?1/p:0}return to(s,o,t,a,l,p),o}};function Mm(r,e,t,i,n){let s,o;if(n===E_(r,e,t,i)>0)for(s=e;s=e;s-=i)o=Zf(s,r[s],r[s+1],o);return o&&ol(o,o.next)&&(no(o),o=o.next),o}function En(r,e){if(!r)return r;e||(e=r);let t=r,i;do if(i=!1,!t.steiner&&(ol(t,t.next)||rt(t.prev,t,t.next)===0)){if(no(t),t=e=t.prev,t===t.next)break;i=!0}else t=t.next;while(i||t!==e);return e}function to(r,e,t,i,n,s,o){if(!r)return;!o&&s&&y_(r,i,n,s);let a=r,l,c;for(;r.prev!==r.next;){if(l=r.prev,c=r.next,s?c_(r,i,n,s):l_(r)){e.push(l.i/t),e.push(r.i/t),e.push(c.i/t),no(r),r=c.next,a=c.next;continue}if(r=c,r===a){o?o===1?(r=u_(En(r),e,t),to(r,e,t,i,n,s,2)):o===2&&h_(r,e,t,i,n,s):to(En(r),e,t,i,n,s,1);break}}}function l_(r){let e=r.prev,t=r,i=r.next;if(rt(e,t,i)>=0)return!1;let n=r.next.next;for(;n!==r.prev;){if(Ts(e.x,e.y,t.x,t.y,i.x,i.y,n.x,n.y)&&rt(n.prev,n,n.next)>=0)return!1;n=n.next}return!0}function c_(r,e,t,i){let n=r.prev,s=r,o=r.next;if(rt(n,s,o)>=0)return!1;let a=n.xs.x?n.x>o.x?n.x:o.x:s.x>o.x?s.x:o.x,u=n.y>s.y?n.y>o.y?n.y:o.y:s.y>o.y?s.y:o.y,h=ju(a,l,e,t,i),d=ju(c,u,e,t,i),p=r.prevZ,m=r.nextZ;for(;p&&p.z>=h&&m&&m.z<=d;){if(p!==r.prev&&p!==r.next&&Ts(n.x,n.y,s.x,s.y,o.x,o.y,p.x,p.y)&&rt(p.prev,p,p.next)>=0||(p=p.prevZ,m!==r.prev&&m!==r.next&&Ts(n.x,n.y,s.x,s.y,o.x,o.y,m.x,m.y)&&rt(m.prev,m,m.next)>=0))return!1;m=m.nextZ}for(;p&&p.z>=h;){if(p!==r.prev&&p!==r.next&&Ts(n.x,n.y,s.x,s.y,o.x,o.y,p.x,p.y)&&rt(p.prev,p,p.next)>=0)return!1;p=p.prevZ}for(;m&&m.z<=d;){if(m!==r.prev&&m!==r.next&&Ts(n.x,n.y,s.x,s.y,o.x,o.y,m.x,m.y)&&rt(m.prev,m,m.next)>=0)return!1;m=m.nextZ}return!0}function u_(r,e,t){let i=r;do{let n=i.prev,s=i.next.next;!ol(n,s)&&Dm(n,i,i.next,s)&&io(n,s)&&io(s,n)&&(e.push(n.i/t),e.push(i.i/t),e.push(s.i/t),no(i),no(i.next),i=r=s),i=i.next}while(i!==r);return En(i)}function h_(r,e,t,i,n,s){let o=r;do{let a=o.next.next;for(;a!==o.prev;){if(o.i!==a.i&&w_(o,a)){let l=Tm(o,a);o=En(o,o.next),l=En(l,l.next),to(o,e,t,i,n,s),to(l,e,t,i,n,s);return}a=a.next}o=o.next}while(o!==r)}function d_(r,e,t,i){let n=[],s,o,a,l,c;for(s=0,o=e.length;s=t.next.y&&t.next.y!==t.y){let d=t.x+(n-t.y)*(t.next.x-t.x)/(t.next.y-t.y);if(d<=i&&d>s){if(s=d,d===i){if(n===t.y)return t;if(n===t.next.y)return t.next}o=t.x=t.x&&t.x>=l&&i!==t.x&&Ts(no.x||t.x===o.x&&g_(o,t)))&&(o=t,u=h)),t=t.next;while(t!==a);return o}function g_(r,e){return rt(r.prev,r,e.prev)<0&&rt(e.next,r,r.next)<0}function y_(r,e,t,i){let n=r;do n.z===null&&(n.z=ju(n.x,n.y,e,t,i)),n.prevZ=n.prev,n.nextZ=n.next,n=n.next;while(n!==r);n.prevZ.nextZ=null,n.prevZ=null,x_(n)}function x_(r){let e,t,i,n,s,o,a,l,c=1;do{for(t=r,r=null,s=null,o=0;t;){for(o++,i=t,a=0,e=0;e0||l>0&&i;)a!==0&&(l===0||!i||t.z<=i.z)?(n=t,t=t.nextZ,a--):(n=i,i=i.nextZ,l--),s?s.nextZ=n:r=n,n.prevZ=s,s=n;t=i}s.nextZ=null,c*=2}while(o>1);return r}function ju(r,e,t,i,n){return r=32767*(r-t)*n,e=32767*(e-i)*n,r=(r|r<<8)&16711935,r=(r|r<<4)&252645135,r=(r|r<<2)&858993459,r=(r|r<<1)&1431655765,e=(e|e<<8)&16711935,e=(e|e<<4)&252645135,e=(e|e<<2)&858993459,e=(e|e<<1)&1431655765,r|e<<1}function v_(r){let e=r,t=r;do(e.x=0&&(r-o)*(i-a)-(t-o)*(e-a)>=0&&(t-o)*(s-a)-(n-o)*(i-a)>=0}function w_(r,e){return r.next.i!==e.i&&r.prev.i!==e.i&&!b_(r,e)&&(io(r,e)&&io(e,r)&&__(r,e)&&(rt(r.prev,r,e.prev)||rt(r,e.prev,e))||ol(r,e)&&rt(r.prev,r,r.next)>0&&rt(e.prev,e,e.next)>0)}function rt(r,e,t){return(e.y-r.y)*(t.x-e.x)-(e.x-r.x)*(t.y-e.y)}function ol(r,e){return r.x===e.x&&r.y===e.y}function Dm(r,e,t,i){let n=_a(rt(r,e,t)),s=_a(rt(r,e,i)),o=_a(rt(t,i,r)),a=_a(rt(t,i,e));return!!(n!==s&&o!==a||n===0&&ba(r,t,e)||s===0&&ba(r,i,e)||o===0&&ba(t,r,i)||a===0&&ba(t,e,i))}function ba(r,e,t){return e.x<=Math.max(r.x,t.x)&&e.x>=Math.min(r.x,t.x)&&e.y<=Math.max(r.y,t.y)&&e.y>=Math.min(r.y,t.y)}function _a(r){return r>0?1:r<0?-1:0}function b_(r,e){let t=r;do{if(t.i!==r.i&&t.next.i!==r.i&&t.i!==e.i&&t.next.i!==e.i&&Dm(t,t.next,r,e))return!0;t=t.next}while(t!==r);return!1}function io(r,e){return rt(r.prev,r,r.next)<0?rt(r,e,r.next)>=0&&rt(r,r.prev,e)>=0:rt(r,e,r.prev)<0||rt(r,r.next,e)<0}function __(r,e){let t=r,i=!1,n=(r.x+e.x)/2,s=(r.y+e.y)/2;do t.y>s!=t.next.y>s&&t.next.y!==t.y&&n<(t.next.x-t.x)*(s-t.y)/(t.next.y-t.y)+t.x&&(i=!i),t=t.next;while(t!==r);return i}function Tm(r,e){let t=new Xu(r.i,r.x,r.y),i=new Xu(e.i,e.x,e.y),n=r.next,s=e.prev;return r.next=e,e.prev=r,t.next=n,n.prev=t,i.next=t,t.prev=i,s.next=i,i.prev=s,i}function Zf(r,e,t,i){let n=new Xu(r,e,t);return i?(n.next=i.next,n.prev=i,i.next.prev=n,i.next=n):(n.prev=n,n.next=n),n}function no(r){r.next.prev=r.prev,r.prev.next=r.next,r.prevZ&&(r.prevZ.nextZ=r.nextZ),r.nextZ&&(r.nextZ.prevZ=r.prevZ)}function Xu(r,e,t){this.i=r,this.x=e,this.y=t,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}function E_(r,e,t,i){let n=0;for(let s=e,o=t-i;s2&&r[e-1].equals(r[0])&&r.pop()}function Kf(r,e){for(let t=0;tNumber.EPSILON){let J=Math.sqrt(I),se=Math.sqrt(Ze*Ze+je*je),xe=ie.x-Oe/J,Y=ie.y+Re/J,be=te.x-je/se,ve=te.y+Ze/se,he=((be-xe)*je-(ve-Y)*Ze)/(Re*je-Oe*Ze);fe=xe+Re*he-Z.x,de=Y+Oe*he-Z.y;let le=fe*fe+de*de;if(le<=2)return new ee(fe,de);Se=Math.sqrt(le/2)}else{let J=!1;Re>Number.EPSILON?Ze>Number.EPSILON&&(J=!0):Re<-Number.EPSILON?Ze<-Number.EPSILON&&(J=!0):Math.sign(Oe)===Math.sign(je)&&(J=!0),J?(fe=-Oe,de=Re,Se=Math.sqrt(I)):(fe=Re,de=Oe,Se=Math.sqrt(I/2))}return new ee(fe/Se,de/Se)}let V=[];for(let Z=0,ie=B.length,te=ie-1,fe=Z+1;Z=0;Z--){let ie=Z/x,te=p*Math.cos(ie*Math.PI/2),fe=m*Math.sin(ie*Math.PI/2)+y;for(let de=0,Se=B.length;de=0;){let fe=te,de=te-1;de<0&&(de=Z.length-1);for(let Se=0,Re=u+x*2;Se0!=e>0&&this.version++,this._sheen=e}get clearcoat(){return this._clearcoat}set clearcoat(e){this._clearcoat>0!=e>0&&this.version++,this._clearcoat=e}get transmission(){return this._transmission}set transmission(e){this._transmission>0!=e>0&&this.version++,this._transmission=e}copy(e){return super.copy(e),this.defines={STANDARD:"",PHYSICAL:""},this.clearcoat=e.clearcoat,this.clearcoatMap=e.clearcoatMap,this.clearcoatRoughness=e.clearcoatRoughness,this.clearcoatRoughnessMap=e.clearcoatRoughnessMap,this.clearcoatNormalMap=e.clearcoatNormalMap,this.clearcoatNormalScale.copy(e.clearcoatNormalScale),this.ior=e.ior,this.sheen=e.sheen,this.sheenColor.copy(e.sheenColor),this.sheenColorMap=e.sheenColorMap,this.sheenRoughness=e.sheenRoughness,this.sheenRoughnessMap=e.sheenRoughnessMap,this.transmission=e.transmission,this.transmissionMap=e.transmissionMap,this.thickness=e.thickness,this.thicknessMap=e.thicknessMap,this.attenuationDistance=e.attenuationDistance,this.attenuationColor.copy(e.attenuationColor),this.specularIntensity=e.specularIntensity,this.specularIntensityMap=e.specularIntensityMap,this.specularColor.copy(e.specularColor),this.specularColorMap=e.specularColorMap,this}};Zu.prototype.isMeshPhysicalMaterial=!0;var qs=class extends ft{constructor(e){super(),this.type="MeshPhongMaterial",this.color=new ye(16777215),this.specular=new ye(1118481),this.shininess=30,this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.emissive=new ye(0),this.emissiveIntensity=1,this.emissiveMap=null,this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=Xs,this.normalScale=new ee(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.specularMap=null,this.alphaMap=null,this.envMap=null,this.combine=il,this.reflectivity=1,this.refractionRatio=.98,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.flatShading=!1,this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.specular.copy(e.specular),this.shininess=e.shininess,this.map=e.map,this.lightMap=e.lightMap,this.lightMapIntensity=e.lightMapIntensity,this.aoMap=e.aoMap,this.aoMapIntensity=e.aoMapIntensity,this.emissive.copy(e.emissive),this.emissiveMap=e.emissiveMap,this.emissiveIntensity=e.emissiveIntensity,this.bumpMap=e.bumpMap,this.bumpScale=e.bumpScale,this.normalMap=e.normalMap,this.normalMapType=e.normalMapType,this.normalScale.copy(e.normalScale),this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.specularMap=e.specularMap,this.alphaMap=e.alphaMap,this.envMap=e.envMap,this.combine=e.combine,this.reflectivity=e.reflectivity,this.refractionRatio=e.refractionRatio,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.wireframeLinecap=e.wireframeLinecap,this.wireframeLinejoin=e.wireframeLinejoin,this.flatShading=e.flatShading,this}};qs.prototype.isMeshPhongMaterial=!0;var Ju=class extends ft{constructor(e){super(),this.defines={TOON:""},this.type="MeshToonMaterial",this.color=new ye(16777215),this.map=null,this.gradientMap=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.emissive=new ye(0),this.emissiveIntensity=1,this.emissiveMap=null,this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=Xs,this.normalScale=new ee(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.alphaMap=null,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.map=e.map,this.gradientMap=e.gradientMap,this.lightMap=e.lightMap,this.lightMapIntensity=e.lightMapIntensity,this.aoMap=e.aoMap,this.aoMapIntensity=e.aoMapIntensity,this.emissive.copy(e.emissive),this.emissiveMap=e.emissiveMap,this.emissiveIntensity=e.emissiveIntensity,this.bumpMap=e.bumpMap,this.bumpScale=e.bumpScale,this.normalMap=e.normalMap,this.normalMapType=e.normalMapType,this.normalScale.copy(e.normalScale),this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.alphaMap=e.alphaMap,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.wireframeLinecap=e.wireframeLinecap,this.wireframeLinejoin=e.wireframeLinejoin,this}};Ju.prototype.isMeshToonMaterial=!0;var Ku=class extends ft{constructor(e){super(),this.type="MeshNormalMaterial",this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=Xs,this.normalScale=new ee(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.wireframe=!1,this.wireframeLinewidth=1,this.fog=!1,this.flatShading=!1,this.setValues(e)}copy(e){return super.copy(e),this.bumpMap=e.bumpMap,this.bumpScale=e.bumpScale,this.normalMap=e.normalMap,this.normalMapType=e.normalMapType,this.normalScale.copy(e.normalScale),this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.flatShading=e.flatShading,this}};Ku.prototype.isMeshNormalMaterial=!0;var Qu=class extends ft{constructor(e){super(),this.type="MeshLambertMaterial",this.color=new ye(16777215),this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.emissive=new ye(0),this.emissiveIntensity=1,this.emissiveMap=null,this.specularMap=null,this.alphaMap=null,this.envMap=null,this.combine=il,this.reflectivity=1,this.refractionRatio=.98,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.map=e.map,this.lightMap=e.lightMap,this.lightMapIntensity=e.lightMapIntensity,this.aoMap=e.aoMap,this.aoMapIntensity=e.aoMapIntensity,this.emissive.copy(e.emissive),this.emissiveMap=e.emissiveMap,this.emissiveIntensity=e.emissiveIntensity,this.specularMap=e.specularMap,this.alphaMap=e.alphaMap,this.envMap=e.envMap,this.combine=e.combine,this.reflectivity=e.reflectivity,this.refractionRatio=e.refractionRatio,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.wireframeLinecap=e.wireframeLinecap,this.wireframeLinejoin=e.wireframeLinejoin,this}};Qu.prototype.isMeshLambertMaterial=!0;var eh=class extends ft{constructor(e){super(),this.defines={MATCAP:""},this.type="MeshMatcapMaterial",this.color=new ye(16777215),this.matcap=null,this.map=null,this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=Xs,this.normalScale=new ee(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.alphaMap=null,this.flatShading=!1,this.setValues(e)}copy(e){return super.copy(e),this.defines={MATCAP:""},this.color.copy(e.color),this.matcap=e.matcap,this.map=e.map,this.bumpMap=e.bumpMap,this.bumpScale=e.bumpScale,this.normalMap=e.normalMap,this.normalMapType=e.normalMapType,this.normalScale.copy(e.normalScale),this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.alphaMap=e.alphaMap,this.flatShading=e.flatShading,this}};eh.prototype.isMeshMatcapMaterial=!0;var th=class extends qn{constructor(e){super(),this.type="LineDashedMaterial",this.scale=1,this.dashSize=3,this.gapSize=1,this.setValues(e)}copy(e){return super.copy(e),this.scale=e.scale,this.dashSize=e.dashSize,this.gapSize=e.gapSize,this}};th.prototype.isLineDashedMaterial=!0;var it={arraySlice:function(r,e,t){return it.isTypedArray(r)?new r.constructor(r.subarray(e,t!==void 0?t:r.length)):r.slice(e,t)},convertArray:function(r,e,t){return!r||!t&&r.constructor===e?r:typeof e.BYTES_PER_ELEMENT=="number"?new e(r):Array.prototype.slice.call(r)},isTypedArray:function(r){return ArrayBuffer.isView(r)&&!(r instanceof DataView)},getKeyframeOrder:function(r){function e(n,s){return r[n]-r[s]}let t=r.length,i=new Array(t);for(let n=0;n!==t;++n)i[n]=n;return i.sort(e),i},sortedArray:function(r,e,t){let i=r.length,n=new r.constructor(i);for(let s=0,o=0;o!==i;++s){let a=t[s]*e;for(let l=0;l!==e;++l)n[o++]=r[a+l]}return n},flattenJSON:function(r,e,t,i){let n=1,s=r[0];for(;s!==void 0&&s[i]===void 0;)s=r[n++];if(s===void 0)return;let o=s[i];if(o!==void 0)if(Array.isArray(o))do o=s[i],o!==void 0&&(e.push(s.time),t.push.apply(t,o)),s=r[n++];while(s!==void 0);else if(o.toArray!==void 0)do o=s[i],o!==void 0&&(e.push(s.time),o.toArray(t,t.length)),s=r[n++];while(s!==void 0);else do o=s[i],o!==void 0&&(e.push(s.time),t.push(o)),s=r[n++];while(s!==void 0)},subclip:function(r,e,t,i,n=30){let s=r.clone();s.name=e;let o=[];for(let l=0;l=i)){h.push(c.times[p]);for(let y=0;ys.tracks[l].times[0]&&(a=s.tracks[l].times[0]);for(let l=0;l=a.times[m]){let g=m*h+u,f=g+h-u;y=it.arraySlice(a.values,g,f)}else{let g=a.createInterpolant(),f=u,E=h-u;g.evaluate(s),y=it.arraySlice(g.resultBuffer,f,E)}l==="quaternion"&&new Lt().fromArray(y).normalize().conjugate().toArray(y);let x=c.times.length;for(let g=0;g=s)){let a=t[1];e=s)break t}o=i,i=0;break i}break e}for(;i>>1;et;)--o;if(++o,s!==0||o!==n){s>=o&&(o=Math.max(o,1),s=o-1);let a=this.getValueSize();this.times=it.arraySlice(i,s,o),this.values=it.arraySlice(this.values,s*a,o*a)}return this}validate(){let e=!0,t=this.getValueSize();t-Math.floor(t)!==0&&(console.error("THREE.KeyframeTrack: Invalid value size in track.",this),e=!1);let i=this.times,n=this.values,s=i.length;s===0&&(console.error("THREE.KeyframeTrack: Track is empty.",this),e=!1);let o=null;for(let a=0;a!==s;a++){let l=i[a];if(typeof l=="number"&&isNaN(l)){console.error("THREE.KeyframeTrack: Time is not a valid number.",this,a,l),e=!1;break}if(o!==null&&o>l){console.error("THREE.KeyframeTrack: Out of order keys.",this,a,l,o),e=!1;break}o=l}if(n!==void 0&&it.isTypedArray(n))for(let a=0,l=n.length;a!==l;++a){let c=n[a];if(isNaN(c)){console.error("THREE.KeyframeTrack: Value is not a valid number.",this,a,c),e=!1;break}}return e}optimize(){let e=it.arraySlice(this.times),t=it.arraySlice(this.values),i=this.getValueSize(),n=this.getInterpolation()===kc,s=e.length-1,o=1;for(let a=1;a0){e[o]=e[s];for(let a=s*i,l=o*i,c=0;c!==i;++c)t[l+c]=t[a+c];++o}return o!==e.length?(this.times=it.arraySlice(e,0,o),this.values=it.arraySlice(t,0,o*i)):(this.times=e,this.values=t),this}clone(){let e=it.arraySlice(this.times,0),t=it.arraySlice(this.values,0),i=this.constructor,n=new i(this.name,e,t);return n.createInterpolant=this.createInterpolant,n}};ni.prototype.TimeBufferType=Float32Array;ni.prototype.ValueBufferType=Float32Array;ni.prototype.DefaultInterpolation=Ta;var An=class extends ni{};An.prototype.ValueTypeName="bool";An.prototype.ValueBufferType=Array;An.prototype.DefaultInterpolation=Da;An.prototype.InterpolantFactoryMethodLinear=void 0;An.prototype.InterpolantFactoryMethodSmooth=void 0;var Ya=class extends ni{};Ya.prototype.ValueTypeName="color";var Ws=class extends ni{};Ws.prototype.ValueTypeName="number";var sh=class extends Ri{constructor(e,t,i,n){super(e,t,i,n)}interpolate_(e,t,i,n){let s=this.resultBuffer,o=this.sampleValues,a=this.valueSize,l=(i-t)/(n-t),c=e*a;for(let u=c+a;c!==u;c+=4)Lt.slerpFlat(s,0,o,c-a,o,c,l);return s}},$n=class extends ni{InterpolantFactoryMethodLinear(e){return new sh(this.times,this.values,this.getValueSize(),e)}};$n.prototype.ValueTypeName="quaternion";$n.prototype.DefaultInterpolation=Ta;$n.prototype.InterpolantFactoryMethodSmooth=void 0;var Sn=class extends ni{};Sn.prototype.ValueTypeName="string";Sn.prototype.ValueBufferType=Array;Sn.prototype.DefaultInterpolation=Da;Sn.prototype.InterpolantFactoryMethodLinear=void 0;Sn.prototype.InterpolantFactoryMethodSmooth=void 0;var $s=class extends ni{};$s.prototype.ValueTypeName="vector";var Za=class{constructor(e,t=-1,i,n=Ih){this.name=e,this.tracks=i,this.duration=t,this.blendMode=n,this.uuid=pi(),this.duration<0&&this.resetDuration()}static parse(e){let t=[],i=e.tracks,n=1/(e.fps||1);for(let o=0,a=i.length;o!==a;++o)t.push(T_(i[o]).scale(n));let s=new this(e.name,e.duration,t,e.blendMode);return s.uuid=e.uuid,s}static toJSON(e){let t=[],i=e.tracks,n={name:e.name,duration:e.duration,tracks:t,uuid:e.uuid,blendMode:e.blendMode};for(let s=0,o=i.length;s!==o;++s)t.push(ni.toJSON(i[s]));return n}static CreateFromMorphTargetSequence(e,t,i,n){let s=t.length,o=[];for(let a=0;a1){let h=u[1],d=n[h];d||(n[h]=d=[]),d.push(c)}}let o=[];for(let a in n)o.push(this.CreateFromMorphTargetSequence(a,n[a],t,i));return o}static parseAnimation(e,t){if(!e)return console.error("THREE.AnimationClip: No animation in JSONLoader data."),null;let i=function(h,d,p,m,y){if(p.length!==0){let x=[],g=[];it.flattenJSON(p,x,g,m),x.length!==0&&y.push(new h(d,x,g))}},n=[],s=e.name||"default",o=e.fps||30,a=e.blendMode,l=e.length||-1,c=e.hierarchy||[];for(let h=0;h{t&&t(s),this.manager.itemEnd(e)},0),s;if(ji[e]!==void 0){ji[e].push({onLoad:t,onProgress:i,onError:n});return}ji[e]=[],ji[e].push({onLoad:t,onProgress:i,onError:n});let o=new Request(e,{headers:new Headers(this.requestHeader),credentials:this.withCredentials?"include":"same-origin"}),a=this.mimeType,l=this.responseType;fetch(o).then(c=>{if(c.status===200||c.status===0){if(c.status===0&&console.warn("THREE.FileLoader: HTTP Status 0 received."),typeof ReadableStream>"u"||c.body.getReader===void 0)return c;let u=ji[e],h=c.body.getReader(),d=c.headers.get("Content-Length"),p=d?parseInt(d):0,m=p!==0,y=0,x=new ReadableStream({start(g){f();function f(){h.read().then(({done:E,value:w})=>{if(E)g.close();else{y+=w.byteLength;let _=new ProgressEvent("progress",{lengthComputable:m,loaded:y,total:p});for(let M=0,T=u.length;M{switch(l){case"arraybuffer":return c.arrayBuffer();case"blob":return c.blob();case"document":return c.text().then(u=>new DOMParser().parseFromString(u,a));case"json":return c.json();default:if(a===void 0)return c.text();{let h=/charset="?([^;"\s]*)"?/i.exec(a),d=h&&h[1]?h[1].toLowerCase():void 0,p=new TextDecoder(d);return c.arrayBuffer().then(m=>p.decode(m))}}}).then(c=>{js.add(e,c);let u=ji[e];delete ji[e];for(let h=0,d=u.length;h{let u=ji[e];if(u===void 0)throw this.manager.itemError(e),c;delete ji[e];for(let h=0,d=u.length;h{this.manager.itemEnd(e)}),this.manager.itemStart(e)}setResponseType(e){return this.responseType=e,this}setMimeType(e){return this.mimeType=e,this}};var Ja=class extends Fi{constructor(e){super(e)}load(e,t,i,n){this.path!==void 0&&(e=this.path+e),e=this.manager.resolveURL(e);let s=this,o=js.get(e);if(o!==void 0)return s.manager.itemStart(e),setTimeout(function(){t&&t(o),s.manager.itemEnd(e)},0),o;let a=kr("img");function l(){u(),js.add(e,this),t&&t(this),s.manager.itemEnd(e)}function c(h){u(),n&&n(h),s.manager.itemError(e),s.manager.itemEnd(e)}function u(){a.removeEventListener("load",l,!1),a.removeEventListener("error",c,!1)}return a.addEventListener("load",l,!1),a.addEventListener("error",c,!1),e.substr(0,5)!=="data:"&&this.crossOrigin!==void 0&&(a.crossOrigin=this.crossOrigin),s.manager.itemStart(e),a.src=e,a}},ah=class extends Fi{constructor(e){super(e)}load(e,t,i,n){let s=new ks,o=new Ja(this.manager);o.setCrossOrigin(this.crossOrigin),o.setPath(this.path);let a=0;function l(c){o.load(e[c],function(u){s.images[c]=u,a++,a===6&&(s.needsUpdate=!0,t&&t(s))},void 0,n)}for(let c=0;c"u"&&console.warn("THREE.ImageBitmapLoader: createImageBitmap() not supported."),typeof fetch>"u"&&console.warn("THREE.ImageBitmapLoader: fetch() not supported."),this.options={premultiplyAlpha:"none"}}setOptions(e){return this.options=e,this}load(e,t,i,n){e===void 0&&(e=""),this.path!==void 0&&(e=this.path+e),e=this.manager.resolveURL(e);let s=this,o=js.get(e);if(o!==void 0)return s.manager.itemStart(e),setTimeout(function(){t&&t(o),s.manager.itemEnd(e)},0),o;let a={};a.credentials=this.crossOrigin==="anonymous"?"same-origin":"include",a.headers=this.requestHeader,fetch(e,a).then(function(l){return l.blob()}).then(function(l){return createImageBitmap(l,Object.assign(s.options,{colorSpaceConversion:"none"}))}).then(function(l){js.add(e,l),t&&t(l),s.manager.itemEnd(e)}).catch(function(l){n&&n(l),s.manager.itemError(e),s.manager.itemEnd(e)}),s.manager.itemStart(e)}};mh.prototype.isImageBitmapLoader=!0;var Ea,R_={getContext:function(){return Ea===void 0&&(Ea=new(window.AudioContext||window.webkitAudioContext)),Ea},setContext:function(r){Ea=r}},gh=class extends Fi{constructor(e){super(e)}load(e,t,i,n){let s=this,o=new oh(this.manager);o.setResponseType("arraybuffer"),o.setPath(this.path),o.setRequestHeader(this.requestHeader),o.setWithCredentials(this.withCredentials),o.load(e,function(a){try{let l=a.slice(0);R_.getContext().decodeAudioData(l,function(u){t(u)})}catch(l){n?n(l):console.error(l),s.manager.itemError(e)}},i,n)}},yh=class extends lo{constructor(e,t,i=1){super(void 0,i);let n=new ye().set(e),s=new ye().set(t),o=new P(n.r,n.g,n.b),a=new P(s.r,s.g,s.b),l=Math.sqrt(Math.PI),c=l*Math.sqrt(.75);this.sh.coefficients[0].copy(o).add(a).multiplyScalar(l),this.sh.coefficients[1].copy(o).sub(a).multiplyScalar(c)}};yh.prototype.isHemisphereLightProbe=!0;var xh=class extends lo{constructor(e,t=1){super(void 0,t);let i=new ye().set(e);this.sh.coefficients[0].set(i.r,i.g,i.b).multiplyScalar(2*Math.sqrt(Math.PI))}};xh.prototype.isAmbientLightProbe=!0;var vh=class extends Ge{constructor(e){super(),this.type="Audio",this.listener=e,this.context=e.context,this.gain=this.context.createGain(),this.gain.connect(e.getInput()),this.autoplay=!1,this.buffer=null,this.detune=0,this.loop=!1,this.loopStart=0,this.loopEnd=0,this.offset=0,this.duration=void 0,this.playbackRate=1,this.isPlaying=!1,this.hasPlaybackControl=!0,this.source=null,this.sourceType="empty",this._startedAt=0,this._progress=0,this._connected=!1,this.filters=[]}getOutput(){return this.gain}setNodeSource(e){return this.hasPlaybackControl=!1,this.sourceType="audioNode",this.source=e,this.connect(),this}setMediaElementSource(e){return this.hasPlaybackControl=!1,this.sourceType="mediaNode",this.source=this.context.createMediaElementSource(e),this.connect(),this}setMediaStreamSource(e){return this.hasPlaybackControl=!1,this.sourceType="mediaStreamNode",this.source=this.context.createMediaStreamSource(e),this.connect(),this}setBuffer(e){return this.buffer=e,this.sourceType="buffer",this.autoplay&&this.play(),this}play(e=0){if(this.isPlaying===!0){console.warn("THREE.Audio: Audio is already playing.");return}if(this.hasPlaybackControl===!1){console.warn("THREE.Audio: this Audio has no playback control.");return}this._startedAt=this.context.currentTime+e;let t=this.context.createBufferSource();return t.buffer=this.buffer,t.loop=this.loop,t.loopStart=this.loopStart,t.loopEnd=this.loopEnd,t.onended=this.onEnded.bind(this),t.start(this._startedAt,this._progress+this.offset,this.duration),this.isPlaying=!0,this.source=t,this.setDetune(this.detune),this.setPlaybackRate(this.playbackRate),this.connect()}pause(){if(this.hasPlaybackControl===!1){console.warn("THREE.Audio: this Audio has no playback control.");return}return this.isPlaying===!0&&(this._progress+=Math.max(this.context.currentTime-this._startedAt,0)*this.playbackRate,this.loop===!0&&(this._progress=this._progress%(this.duration||this.buffer.duration)),this.source.stop(),this.source.onended=null,this.isPlaying=!1),this}stop(){if(this.hasPlaybackControl===!1){console.warn("THREE.Audio: this Audio has no playback control.");return}return this._progress=0,this.source.stop(),this.source.onended=null,this.isPlaying=!1,this}connect(){if(this.filters.length>0){this.source.connect(this.filters[0]);for(let e=1,t=this.filters.length;e0){this.source.disconnect(this.filters[0]);for(let e=1,t=this.filters.length;e0&&this._mixBufferRegionAdditive(i,n,this._addIndex*t,1,t);for(let l=t,c=t+t;l!==c;++l)if(i[l]!==i[l+t]){a.setValue(i,n);break}}saveOriginalState(){let e=this.binding,t=this.buffer,i=this.valueSize,n=i*this._origIndex;e.getValue(t,n);for(let s=i,o=n;s!==o;++s)t[s]=t[n+s%i];this._setIdentity(),this.cumulativeWeight=0,this.cumulativeWeightAdditive=0}restoreOriginalState(){let e=this.valueSize*3;this.binding.setValue(this.buffer,e)}_setAdditiveIdentityNumeric(){let e=this._addIndex*this.valueSize,t=e+this.valueSize;for(let i=e;i=.5)for(let o=0;o!==s;++o)e[t+o]=e[i+o]}_slerp(e,t,i,n){Lt.slerpFlat(e,t,e,t,e,i,n)}_slerpAdditive(e,t,i,n,s){let o=this._workIndex*s;Lt.multiplyQuaternionsFlat(e,o,e,t,e,i),Lt.slerpFlat(e,t,e,t,e,o,n)}_lerp(e,t,i,n,s){let o=1-n;for(let a=0;a!==s;++a){let l=t+a;e[l]=e[l]*o+e[i+a]*n}}_lerpAdditive(e,t,i,n,s){for(let o=0;o!==s;++o){let a=t+o;e[a]=e[a]+e[i+o]*n}}},Oh="\\[\\]\\.:\\/",F_=new RegExp("["+Oh+"]","g"),zh="[^"+Oh+"]",L_="[^"+Oh.replace("\\.","")+"]",B_=/((?:WC+[\/:])*)/.source.replace("WC",zh),P_=/(WCOD+)?/.source.replace("WCOD",L_),I_=/(?:\.(WC+)(?:\[(.+)\])?)?/.source.replace("WC",zh),N_=/\.(WC+)(?:\[(.+)\])?/.source.replace("WC",zh),k_=new RegExp("^"+B_+P_+I_+N_+"$"),O_=["material","materials","bones"],_h=class{constructor(e,t,i){let n=i||Xe.parseTrackName(t);this._targetGroup=e,this._bindings=e.subscribe_(t,n)}getValue(e,t){this.bind();let i=this._targetGroup.nCachedObjects_,n=this._bindings[i];n!==void 0&&n.getValue(e,t)}setValue(e,t){let i=this._bindings;for(let n=this._targetGroup.nCachedObjects_,s=i.length;n!==s;++n)i[n].setValue(e,t)}bind(){let e=this._bindings;for(let t=this._targetGroup.nCachedObjects_,i=e.length;t!==i;++t)e[t].bind()}unbind(){let e=this._bindings;for(let t=this._targetGroup.nCachedObjects_,i=e.length;t!==i;++t)e[t].unbind()}},Xe=class r{constructor(e,t,i){this.path=t,this.parsedPath=i||r.parseTrackName(t),this.node=r.findNode(e,this.parsedPath.nodeName)||e,this.rootNode=e,this.getValue=this._getValue_unbound,this.setValue=this._setValue_unbound}static create(e,t,i){return e&&e.isAnimationObjectGroup?new r.Composite(e,t,i):new r(e,t,i)}static sanitizeNodeName(e){return e.replace(/\s/g,"_").replace(F_,"")}static parseTrackName(e){let t=k_.exec(e);if(!t)throw new Error("PropertyBinding: Cannot parse trackName: "+e);let i={nodeName:t[2],objectName:t[3],objectIndex:t[4],propertyName:t[5],propertyIndex:t[6]},n=i.nodeName&&i.nodeName.lastIndexOf(".");if(n!==void 0&&n!==-1){let s=i.nodeName.substring(n+1);O_.indexOf(s)!==-1&&(i.nodeName=i.nodeName.substring(0,n),i.objectName=s)}if(i.propertyName===null||i.propertyName.length===0)throw new Error("PropertyBinding: can not parse propertyName from trackName: "+e);return i}static findNode(e,t){if(!t||t===""||t==="."||t===-1||t===e.name||t===e.uuid)return e;if(e.skeleton){let i=e.skeleton.getBoneByName(t);if(i!==void 0)return i}if(e.children){let i=function(s){for(let o=0;o=s){let h=s++,d=e[h];t[d.uuid]=u,e[u]=d,t[c]=h,e[h]=l;for(let p=0,m=n;p!==m;++p){let y=i[p],x=y[h],g=y[u];y[u]=x,y[h]=g}}}this.nCachedObjects_=s}uncache(){let e=this._objects,t=this._indicesByUUID,i=this._bindings,n=i.length,s=this.nCachedObjects_,o=e.length;for(let a=0,l=arguments.length;a!==l;++a){let c=arguments[a],u=c.uuid,h=t[u];if(h!==void 0)if(delete t[u],h0&&(t[p.uuid]=h),e[h]=p,e.pop();for(let m=0,y=n;m!==y;++m){let x=i[m];x[h]=x[d],x.pop()}}}this.nCachedObjects_=s}subscribe_(e,t){let i=this._bindingsIndicesByPath,n=i[e],s=this._bindings;if(n!==void 0)return s[n];let o=this._paths,a=this._parsedPaths,l=this._objects,c=l.length,u=this.nCachedObjects_,h=new Array(c);n=s.length,i[e]=n,o.push(e),a.push(t),s.push(h);for(let d=u,p=l.length;d!==p;++d){let m=l[d];h[d]=new Xe(m,e,t)}return h}unsubscribe_(e){let t=this._bindingsIndicesByPath,i=t[e];if(i!==void 0){let n=this._paths,s=this._parsedPaths,o=this._bindings,a=o.length-1,l=o[a],c=e[a];t[c]=i,o[i]=l,o.pop(),s[i]=s[a],s.pop(),n[i]=n[a],n.pop()}}};Eh.prototype.isAnimationObjectGroup=!0;var Ah=class{constructor(e,t,i=null,n=t.blendMode){this._mixer=e,this._clip=t,this._localRoot=i,this.blendMode=n;let s=t.tracks,o=s.length,a=new Array(o),l={endingStart:Ms,endingEnd:Ms};for(let c=0;c!==o;++c){let u=s[c].createInterpolant(null);a[c]=u,u.settings=l}this._interpolantSettings=l,this._interpolants=a,this._propertyBindings=new Array(o),this._cacheIndex=null,this._byClipCacheIndex=null,this._timeScaleInterpolant=null,this._weightInterpolant=null,this.loop=pv,this._loopCount=-1,this._startTime=null,this.time=0,this.timeScale=1,this._effectiveTimeScale=1,this.weight=1,this._effectiveWeight=1,this.repetitions=1/0,this.paused=!1,this.enabled=!0,this.clampWhenFinished=!1,this.zeroSlopeAtStart=!0,this.zeroSlopeAtEnd=!0}play(){return this._mixer._activateAction(this),this}stop(){return this._mixer._deactivateAction(this),this.reset()}reset(){return this.paused=!1,this.enabled=!0,this.time=0,this._loopCount=-1,this._startTime=null,this.stopFading().stopWarping()}isRunning(){return this.enabled&&!this.paused&&this.timeScale!==0&&this._startTime===null&&this._mixer._isActiveAction(this)}isScheduled(){return this._mixer._isActiveAction(this)}startAt(e){return this._startTime=e,this}setLoop(e,t){return this.loop=e,this.repetitions=t,this}setEffectiveWeight(e){return this.weight=e,this._effectiveWeight=this.enabled?e:0,this.stopFading()}getEffectiveWeight(){return this._effectiveWeight}fadeIn(e){return this._scheduleFading(e,0,1)}fadeOut(e){return this._scheduleFading(e,1,0)}crossFadeFrom(e,t,i){if(e.fadeOut(t),this.fadeIn(t),i){let n=this._clip.duration,s=e._clip.duration,o=s/n,a=n/s;e.warp(1,o,t),this.warp(a,1,t)}return this}crossFadeTo(e,t,i){return e.crossFadeFrom(this,t,i)}stopFading(){let e=this._weightInterpolant;return e!==null&&(this._weightInterpolant=null,this._mixer._takeBackControlInterpolant(e)),this}setEffectiveTimeScale(e){return this.timeScale=e,this._effectiveTimeScale=this.paused?0:e,this.stopWarping()}getEffectiveTimeScale(){return this._effectiveTimeScale}setDuration(e){return this.timeScale=this._clip.duration/e,this.stopWarping()}syncWith(e){return this.time=e.time,this.timeScale=e.timeScale,this.stopWarping()}halt(e){return this.warp(this._effectiveTimeScale,0,e)}warp(e,t,i){let n=this._mixer,s=n.time,o=this.timeScale,a=this._timeScaleInterpolant;a===null&&(a=n._lendControlInterpolant(),this._timeScaleInterpolant=a);let l=a.parameterPositions,c=a.sampleValues;return l[0]=s,l[1]=s+i,c[0]=e/o,c[1]=t/o,this}stopWarping(){let e=this._timeScaleInterpolant;return e!==null&&(this._timeScaleInterpolant=null,this._mixer._takeBackControlInterpolant(e)),this}getMixer(){return this._mixer}getClip(){return this._clip}getRoot(){return this._localRoot||this._mixer._root}_update(e,t,i,n){if(!this.enabled){this._updateWeight(e);return}let s=this._startTime;if(s!==null){let l=(e-s)*i;if(l<0||i===0)return;this._startTime=null,t=i*l}t*=this._updateTimeScale(e);let o=this._updateTime(t),a=this._updateWeight(e);if(a>0){let l=this._interpolants,c=this._propertyBindings;switch(this.blendMode){case um:for(let u=0,h=l.length;u!==h;++u)l[u].evaluate(o),c[u].accumulateAdditive(a);break;case Ih:default:for(let u=0,h=l.length;u!==h;++u)l[u].evaluate(o),c[u].accumulate(n,a)}}}_updateWeight(e){let t=0;if(this.enabled){t=this.weight;let i=this._weightInterpolant;if(i!==null){let n=i.evaluate(e)[0];t*=n,e>i.parameterPositions[1]&&(this.stopFading(),n===0&&(this.enabled=!1))}}return this._effectiveWeight=t,t}_updateTimeScale(e){let t=0;if(!this.paused){t=this.timeScale;let i=this._timeScaleInterpolant;if(i!==null){let n=i.evaluate(e)[0];t*=n,e>i.parameterPositions[1]&&(this.stopWarping(),t===0?this.paused=!0:this.timeScale=t)}}return this._effectiveTimeScale=t,t}_updateTime(e){let t=this._clip.duration,i=this.loop,n=this.time+e,s=this._loopCount,o=i===fv;if(e===0)return s===-1?n:o&&(s&1)===1?t-n:n;if(i===dv){s===-1&&(this._loopCount=0,this._setEndings(!0,!0,!1));e:{if(n>=t)n=t;else if(n<0)n=0;else{this.time=n;break e}this.clampWhenFinished?this.paused=!0:this.enabled=!1,this.time=n,this._mixer.dispatchEvent({type:"finished",action:this,direction:e<0?-1:1})}}else{if(s===-1&&(e>=0?(s=0,this._setEndings(!0,this.repetitions===0,o)):this._setEndings(this.repetitions===0,!0,o)),n>=t||n<0){let a=Math.floor(n/t);n-=t*a,s+=Math.abs(a);let l=this.repetitions-s;if(l<=0)this.clampWhenFinished?this.paused=!0:this.enabled=!1,n=e>0?t:0,this.time=n,this._mixer.dispatchEvent({type:"finished",action:this,direction:e>0?1:-1});else{if(l===1){let c=e<0;this._setEndings(c,!c,o)}else this._setEndings(!1,!1,o);this._loopCount=s,this.time=n,this._mixer.dispatchEvent({type:"loop",action:this,loopDelta:a})}}else this.time=n;if(o&&(s&1)===1)return t-n}return n}_setEndings(e,t,i){let n=this._interpolantSettings;i?(n.endingStart=Ds,n.endingEnd=Ds):(e?n.endingStart=this.zeroSlopeAtStart?Ds:Ms:n.endingStart=Ca,t?n.endingEnd=this.zeroSlopeAtEnd?Ds:Ms:n.endingEnd=Ca)}_scheduleFading(e,t,i){let n=this._mixer,s=n.time,o=this._weightInterpolant;o===null&&(o=n._lendControlInterpolant(),this._weightInterpolant=o);let a=o.parameterPositions,l=o.sampleValues;return a[0]=s,l[0]=t,a[1]=s+e,l[1]=i,this}},Sh=class extends Xi{constructor(e){super(),this._root=e,this._initMemoryManager(),this._accuIndex=0,this.time=0,this.timeScale=1}_bindAction(e,t){let i=e._localRoot||this._root,n=e._clip.tracks,s=n.length,o=e._propertyBindings,a=e._interpolants,l=i.uuid,c=this._bindingsByRootAndName,u=c[l];u===void 0&&(u={},c[l]=u);for(let h=0;h!==s;++h){let d=n[h],p=d.name,m=u[p];if(m!==void 0)++m.referenceCount,o[h]=m;else{if(m=o[h],m!==void 0){m._cacheIndex===null&&(++m.referenceCount,this._addInactiveBinding(m,l,p));continue}let y=t&&t._propertyBindings[h].binding.parsedPath;m=new bh(Xe.create(i,p,y),d.ValueTypeName,d.getValueSize()),++m.referenceCount,this._addInactiveBinding(m,l,p),o[h]=m}a[h].resultBuffer=m.buffer}}_activateAction(e){if(!this._isActiveAction(e)){if(e._cacheIndex===null){let i=(e._localRoot||this._root).uuid,n=e._clip.uuid,s=this._actionsByClip[n];this._bindAction(e,s&&s.knownActions[0]),this._addInactiveAction(e,n,i)}let t=e._propertyBindings;for(let i=0,n=t.length;i!==n;++i){let s=t[i];s.useCount++===0&&(this._lendBinding(s),s.saveOriginalState())}this._lendAction(e)}}_deactivateAction(e){if(this._isActiveAction(e)){let t=e._propertyBindings;for(let i=0,n=t.length;i!==n;++i){let s=t[i];--s.useCount===0&&(s.restoreOriginalState(),this._takeBackBinding(s))}this._takeBackAction(e)}}_initMemoryManager(){this._actions=[],this._nActiveActions=0,this._actionsByClip={},this._bindings=[],this._nActiveBindings=0,this._bindingsByRootAndName={},this._controlInterpolants=[],this._nActiveControlInterpolants=0;let e=this;this.stats={actions:{get total(){return e._actions.length},get inUse(){return e._nActiveActions}},bindings:{get total(){return e._bindings.length},get inUse(){return e._nActiveBindings}},controlInterpolants:{get total(){return e._controlInterpolants.length},get inUse(){return e._nActiveControlInterpolants}}}}_isActiveAction(e){let t=e._cacheIndex;return t!==null&&t=0;--i)e[i].stop();return this}update(e){e*=this.timeScale;let t=this._actions,i=this._nActiveActions,n=this.time+=e,s=Math.sign(e),o=this._accuIndex^=1;for(let c=0;c!==i;++c)t[c]._update(n,e,s,o);let a=this._bindings,l=this._nActiveBindings;for(let c=0;c!==l;++c)a[c].apply(o);return this}setTime(e){this.time=0;for(let t=0;tthis.max.x||e.ythis.max.y)}containsBox(e){return this.min.x<=e.min.x&&e.max.x<=this.max.x&&this.min.y<=e.min.y&&e.max.y<=this.max.y}getParameter(e,t){return t.set((e.x-this.min.x)/(this.max.x-this.min.x),(e.y-this.min.y)/(this.max.y-this.min.y))}intersectsBox(e){return!(e.max.xthis.max.x||e.max.ythis.max.y)}clampPoint(e,t){return t.copy(e).clamp(this.min,this.max)}distanceToPoint(e){return nm.copy(e).clamp(this.min,this.max).sub(e).length()}intersect(e){return this.min.max(e.min),this.max.min(e.max),this}union(e){return this.min.min(e.min),this.max.max(e.max),this}translate(e){return this.min.add(e),this.max.add(e),this}equals(e){return e.min.equals(this.min)&&e.max.equals(this.max)}};jn.prototype.isBox2=!0;var sm=new P,Aa=new P,Ch=class{constructor(e=new P,t=new P){this.start=e,this.end=t}set(e,t){return this.start.copy(e),this.end.copy(t),this}copy(e){return this.start.copy(e.start),this.end.copy(e.end),this}getCenter(e){return e.addVectors(this.start,this.end).multiplyScalar(.5)}delta(e){return e.subVectors(this.end,this.start)}distanceSq(){return this.start.distanceToSquared(this.end)}distance(){return this.start.distanceTo(this.end)}at(e,t){return this.delta(t).multiplyScalar(e).add(this.start)}closestPointToPointParameter(e,t){sm.subVectors(e,this.start),Aa.subVectors(this.end,this.start);let i=Aa.dot(Aa),s=Aa.dot(sm)/i;return t&&(s=Ut(s,0,1)),s}closestPointToPoint(e,t,i){let n=this.closestPointToPointParameter(e,t);return this.delta(i).multiplyScalar(n).add(this.start)}applyMatrix4(e){return this.start.applyMatrix4(e),this.end.applyMatrix4(e),this}equals(e){return e.start.equals(this.start)&&e.end.equals(this.end)}clone(){return new this.constructor().copy(this)}};var fn=new P,Sa=new Ee,yu=new Ee,Rh=class extends Zr{constructor(e){let t=Cm(e),i=new Ke,n=[],s=[],o=new ye(0,0,1),a=new ye(0,1,0);for(let c=0;c0?-1:1)*.9,y:this.h*(s.y>0?-1:1)*.9,z:Math.random()*200+200},a=Math.abs(s.x/s.y);a>1?o.y/=a:o.x*=a;let l=this.makeRandomVector(n),c={x:l.x*i,y:l.y*i,z:-10},u={x:-(Math.random()*s.y*5+this.inertia*s.y),y:Math.random()*s.x*5+this.inertia*s.x,z:0},h={x:Math.random(),y:Math.random(),z:Math.random(),w:Math.random()};return{pos:o,velocity:c,angular:u,axis:h}}makeRandomVector(e){let t=Math.random()*Math.PI/5-Math.PI/5/2,i={x:e.x*Math.cos(t)-e.y*Math.sin(t),y:e.x*Math.sin(t)+e.y*Math.cos(t)};return i.x==0&&(i.x=.01),i.y==0&&(i.y=.01),i}get buffer(){return this.geometry.geometry}get result(){return this.getUpsideValue()}getUpsideValue(){let e=new P(0,0,this.sides==4?-1:1),t,i=Math.PI*2,n=this.buffer.getAttribute("normal").array;for(let o=0,a=this.buffer.groups.length;othis.sides;)o-=this.sides;for(;o<1;)o+=this.sides;t.groups[n].materialIndex=o+1}}this.updateMaterialsForValue(e-i),this.geometry.geometry=t}resetBody(){return this.body.vlambda=new b,this.body.position=new b,this.body.previousPosition=new b,this.body.initPosition=new b,this.body.velocity=new b,this.body.initVelocity=new b,this.body.force=new b,this.body.torque=new b,this.body.quaternion=new yt,this.body.initQuaternion=new yt,this.body.angularVelocity=new b,this.body.initAngularVelocity=new b,this.body.interpolatedPosition=new b,this.body.interpolatedQuaternion=new yt,this.body.inertia=new b,this.body.invInertia=new b,this.body.invInertiaWorld=new Mi,this.body.invInertiaSolve=new b,this.body.invInertiaWorldSolve=new Mi,this.body.wlambda=new b,this.body.updateMassProperties(),this}updateMaterialsForValue(e){}set(){this.geometry.position.set(this.body.position.x,this.body.position.y,this.body.position.z),this.geometry.quaternion.set(this.body.quaternion.x,this.body.quaternion.y,this.body.quaternion.z,this.body.quaternion.w)}recreate(e,t,i){this.w=t,this.h=i,this.vector=this.generateVector(e),this.stopped=!1,this.iterations=0,this.create()}create(){return this.body.position.set(this.vector.pos.x,this.vector.pos.y,this.vector.pos.z),this.body.quaternion.setFromAxisAngle(new b(this.vector.axis.x,this.vector.axis.y,this.vector.axis.z),this.vector.axis.w*Math.PI*2),this.body.angularVelocity.set(this.vector.angular.x,this.vector.angular.y,this.vector.angular.z),this.body.velocity.set(this.vector.velocity.x,this.vector.velocity.y,this.vector.velocity.z),this.body.linearDamping=.1,this.body.angularDamping=.1,this}},al=class extends Mn{constructor(t,i,n,s){super(t,i,n);this.w=t;this.h=i;this.data=n;this.sides=20;this.inertia=6;s&&(this.vector=this.generateVector(s)),this.create()}},ll=class extends Mn{constructor(t,i,n,s){super(t,i,n);this.w=t;this.h=i;this.data=n;this.sides=12;this.inertia=8;s&&(this.vector=this.generateVector(s)),this.create()}},Zs=class extends Mn{constructor(t,i,n,s,o=!1){super(t,i,n);this.w=t;this.h=i;this.data=n;this.isPercentile=o;this.sides=10;this.inertia=9;s&&(this.vector=this.generateVector(s)),this.create()}},cl=class extends Mn{constructor(t,i,n,s){super(t,i,n);this.w=t;this.h=i;this.data=n;this.sides=8;this.inertia=10;s&&(this.vector=this.generateVector(s)),this.create()}},Js=class extends Mn{constructor(t,i,n,s){super(t,i,n);this.w=t;this.h=i;this.data=n;this.sides=6;this.inertia=13;s&&(this.vector=this.generateVector(s)),this.create()}},ul=class extends Mn{constructor(t,i,n,s){super(t,i,n);this.w=t;this.h=i;this.data=n;this.sides=4;this.inertia=5;s&&(this.vector=this.generateVector(s)),this.create()}};var At=class{constructor(e,t={value:`${e}`,conditions:[],type:"dice"}){this.lexeme=t;this.modifiers=new Map;this.possibilities=[];this.results=new Map;this.shapes=new Map;this.modifiersAllowed=!0;this.static=!1;this.conditions=[];this.fudge=!1;this.shouldRender=!1;if(!/(\-?\d+)[dD]?(\d+|%|\[\d+,\s?\d+\])?/.test(`${e}`))throw new Error("Non parseable dice string passed to DiceRoll.");this.dice=`${e}`.split(" ").join(""),/^-?\d+(?:\.\d+)?$/.test(this.dice)&&(this.static=!0,this.modifiersAllowed=!1);let[,i,n="1"]=this.dice.match(/(\-?\d+)[dD](%|F|-?\d+|\[\d+(?:[ \t]*[,-][ \t]*\d+)+\])/)||[,1,"1"];i=Number(i),this.multiplier=i<0?-1:1;let s=1,o=isNaN(Number(n))?1:Number(n);this.rolls=Math.abs(Number(i))||1,/\[\d+(?:[ \t]*,[ \t]*\d+)+\]/.test(n)?this.possibilities=n.replace(/[\[\]\s]/g,"").split(",").map(a=>Number(a)):/\[\d+(?:[ \t]*-[ \t]*\d+)+\]/.test(n)?([s,o]=n.replace(/[\[\]\s]/g,"").split("-").map(a=>Number(a)),this.possibilities=Array.from({length:o-s},(a,l)=>l+s)):(n==="%"?o=100:o=Number(n),Number(o)<0&&!s&&(s=-1),Number(o)a+s)),this.conditions=this.lexeme.conditions??[]}getType(){return`${this.faces.max}`}get faces(){return{max:this.possibilities[this.possibilities.length-1],min:this.possibilities[0]}}getShapes(e){if(this.shapes.has(e))return this.shapes.get(e);let t=Mt.getDiceForRoller(this);return e!=null&&this.shapes.set(e,t),t}get text(){return`${this.result}`}get result(){if(this.static)return this.multiplier*Number(this.dice);let e=[...this.results].map(([,{usable:t,value:i}])=>t?i:0);return this.multiplier*e.reduce((t,i)=>t+i,0)}get display(){if(this.static)return`${this.result}`;let e=[`[${[...this.results].map(([,{modifiers:t,display:i}])=>`${i}${[...t].join("")}`).join(", ")}]`];return this.conditions.length&&e.push(this.conditions.map(({result:t,operator:i})=>`${i}${t}`).join("")),e.join("")}get modifierText(){let e=this.conditions.map(({value:i})=>i).join(""),t=[...this.modifiers].map(([i,{conditionals:n,value:s}])=>{let o=n.map(a=>a.value);return`${s}${o.join("")}`}).join("");return`${e}${t}`}keepLow(e=1){if(!this.modifiersAllowed){new ho.Notice("Modifiers are only allowed on dice rolls.");return}this.results.size!==1&&[...this.results].sort((t,i)=>t[1].value-i[1].value).slice(e>this.results.size?this.results.size:e-this.results.size).forEach(([t])=>{let i=this.results.get(t);i.usable=!1,i.modifiers.add("d"),this.results.set(t,{...i})})}keepHigh(e=1){if(!this.modifiersAllowed){new ho.Notice("Modifiers are only allowed on dice rolls.");return}this.results.size!==1&&[...this.results].sort((t,i)=>i[1].value-t[1].value).slice(e).forEach(([t])=>{let i=this.results.get(t);i.usable=!1,i.modifiers.add("d"),this.results.set(t,{...i})})}async reroll(e,t){if(!this.modifiersAllowed){new ho.Notice("Modifiers are only allowed on dice rolls.");return}t.length||t.push({operator:"=",comparer:this.faces.min,lexemes:[{value:`${this.faces.min}`,text:`${this.faces.min}`,type:"dice"}],value:""});let i=0,n=[...this.results].filter(([,{value:s}])=>this.checkCondition(s,t));for(;i0;){let s=[];for(let[o,a]of n)s.push(new Promise(async l=>{a.modifiers.add("r");let c=this.getShapes(o),u=await this.getValue(c);a.value=u,a.display=`${u}`,l()}));await Promise.all(s),n=n.filter(([,{value:o}])=>this.checkCondition(o,t)),i++}n.forEach(([s,o])=>{this.results.set(s,o)})}async explode(e,t,i=!1){if(!this.modifiersAllowed){new ho.Notice("Modifiers are only allowed on dice rolls.");return}t.length||t.push({operator:"=",comparer:this.faces.max,lexemes:[{value:`${this.faces.max}`,text:`${this.faces.max}`,type:"dice"}],value:""});let n=[...this.results].filter(([,{value:o}])=>this.checkCondition(o,t)),s=0;await Promise.all(n.map(async([o,a])=>{if(i){let l=await this.getValue(),c=0;for(a.modifiers.add("!"),a.value+=l,a.display=`${a.value}`,this.results.set(o,a);cthis.faces.min+t).every(t=>this.possibilities.includes(t))}async getValue(e){let t;if(this.shouldRender&&this.canRender()){let i=e??Mt.getDiceForRoller(this)??[];await Mt.addDice(i),t=this.#e(i)}else t=this.getValueSync();return t}getValueSync(){return this.getRandomValue()}getMaxPossible(){if(this.static)return Number(this.dice);let e=this.rolls;return this.modifiers.has("kl")&&(e=e-this.modifiers.get("kl").data),this.modifiers.has("kh")&&(e=e-this.modifiers.get("kh").data),e<1&&(e=0),this.multiplier===-1?this.multiplier*Math.min(...this.possibilities)*e:Math.max(...this.possibilities)*e}getMinPossible(){if(this.static)return Number(this.dice);let e=this.rolls;return this.modifiers.has("kl")&&(e=e-this.modifiers.get("kl").data),this.modifiers.has("kh")&&(e=e-this.modifiers.get("kh").data),e<1&&(e=0),this.multiplier===-1?this.multiplier*Math.max(...this.possibilities)*e:Math.min(...this.possibilities)*e}#e(e=[]){if(!e.length)return this.getValueSync();let t=e.map(i=>i.getUpsideValue());if(this.faces.max===100){let[i,n]=t;return i===10&&n==10?100:(n==10&&(n=0),i==10&&(i=0),i*10+n)}return t.reduce((i,n)=>i+n)}#t(e=0){return{usable:!0,value:e,display:`${e}`,modifiers:new Set}}async applyModifiers(){for(let[e,t]of this.modifiers)e=="kh"||e=="kl"||await this.applyModifier(e,t);this.modifiers.has("kh")&&await this.applyModifier("kh",this.modifiers.get("kh")),this.modifiers.has("kl")&&await this.applyModifier("kl",this.modifiers.get("kl"))}setResults(e){this.results=new Map([...e].map(([t,i])=>[t,this.#t(i)])),this.updateResultArray()}rollSync(){let e=new Map;for(let t=0;t{let s=await this.getValue(this.getShapes(i));e.set(i,s),n()}));await Promise.all(t)}return e}applyConditions(){for(let e of this.results.values()){let t=this.conditions.find(({operator:n})=>n==="-="||n==="=-");if(t&&e.value===t.comparer){e.value=-1,e.modifiers.add("-");continue}this.checkCondition(e.value,this.conditions)?(e.modifiers.add("*"),e.value=1):e.usable=!1}}updateResultArray(){this.resultArray=[...this.results.values()].map(e=>e.value)}async applyModifier(e,t){switch(e){case"sort":{let i;t.value=="sa"?i=[...this.results.values()].sort((n,s)=>n.value-s.value):i=[...this.results.values()].sort((n,s)=>s.value-n.value),this.results=new Map([...this.results.keys()].map(n=>[n,i[n]])),this.updateResultArray();break}case"kh":{this.keepHigh(t.data);break}case"kl":{this.keepLow(t.data);break}case"!":{await this.explode(t.data,t.conditionals);break}case"!!":{await this.explode(t.data,t.conditionals,!0);break}case"r":{await this.reroll(t.data,t.conditionals);break}case"u":{await this.makeUnique();break}case"condition":}}async makeUnique(){let e=[...this.results.values()];if(new Set(this.possibilities).sizei.value)).size==this.results.size)return;let t=0;for(;new Set(e.map(i=>i.value)).size!=this.results.size&&t<100;){let i=[];for(let[n,s]of this.results)i.push(new Promise(async o=>{let a=e.find(l=>l.value==s.value&&l!=s);a&&(a.value=await this.getValue(this.getShapes(n)),a.display=`${a.value}`,a.modifiers.add("u")),o()}));await Promise.all(i),e=[...this.results.values()],t++}}checkCondition(e,t){if(!t||!t.length)return e;let i=!1;for(let n of t){let{operator:s,comparer:o,lexemes:a}=n;if(Number.isNaN(e)||!s?.length||!o)continue;let l=new hl(o,a);if(l.rollSync(),n.result=l.result,!Number.isNaN(n.result)){switch(s){case"=":i=e===n.result;break;case"!=":case"=!":i=e!==n.result;break;case"<":i=e":i=e>n.result;break;case">=":i=e>=n.result;break}if(i)return i}}return i}allowAverage(){return!0}average(){return this.possibilities.reduce((e,t)=>e+t)/this.possibilities.length}getRandomValue(){let e=Math.floor(Math.random()*this.possibilities.length);return this.possibilities[e]}getGeometries(){return[...this.shapes.values()].flat()}async render(){this.shouldRender=!0,await this.roll(),this.shouldRender=!1}};var Rm={specular:1515554,color:15790320,shininess:60,flatShading:!0},Dn={diceColor:"#202020",textColor:"#ffffff",textFont:"Arial"},fi=class{constructor(e,t,i={diceColor:"#202020",textColor:"#aaaaaa"},n){this.w=e;this.h=t;this.options=i;this.scaler=n;this.scale=50;this.labels=[" ","0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20"];this.fontFace="Arial";this.options={...Dn,...i},this.fontFace=this.options.textFont}setColor({diceColor:e,textColor:t}){e&&(this.options.diceColor=e),t&&(this.options.textColor=t)}get radius(){return this.scale*this.scaleFactor*(this.scaler??1)}get diceColor(){return this.options.diceColor}get textColor(){return this.options.textColor}get buffer(){return this.geometry.geometry}create(){this.textureSize=this.calculateTextureSize(this.scale/2+this.scale*this.margin)*2;let e=this.getGeometry(),t=this.getMaterials();return this.geometry=new pt(e,t),this.geometry.receiveShadow=!0,this.geometry.castShadow=!0,this.body.position.set(0+this.radius*2*Math.random(),0+this.radius*2*Math.random(),0+this.radius*4),this.body.velocity.x=500*Math.random()*2-1,this.body.velocity.y=500*Math.random()*2-1,this.body.angularVelocity.x=100*Math.random(),this.body.angularVelocity.y=100*Math.random(),this}getGeometry(){let e=new Array(this.vertices.length);for(let i=0;i=0&&u=0&&c!==l+1?a.unshift([s,c],[o,u]):a.push([s,c],[o,u]),l=c)}a.length===4&&i.push([i[a[0][0]][a[0][1]],i[a[1][0]][a[1][1]],i[a[3][0]][a[3][1]],i[a[2][0]][a[2][1]],-1])}for(let s=0;s=0&&u<4){--u===-1&&(u=3);let h=i[c][u];if(o.indexOf(h)>=0){a.push(h);break}}}--l}a.push(-1),i.push(a)}return{vectors:t,faces:i}}makeGeometry(e,t){let i=new Ke;for(let h=0;hu||n.y>u)&&(n.x>u&&(s.x=Math.floor(u/L.x),n.x=s.x*L.x,B.mapSize.x=s.x),n.y>u&&(s.y=Math.floor(u/L.y),n.y=s.y*L.y,B.mapSize.y=s.y)),B.map===null&&!B.isPointLightShadow&&this.type===Tr){let N={minFilter:Rt,magFilter:Rt,format:Nt};B.map=new Ht(n.x,n.y,N),B.map.texture.name=S.name+".shadowMap",B.mapPass=new Ht(n.x,n.y,N),B.camera.updateProjectionMatrix()}if(B.map===null){let N={minFilter:vt,magFilter:vt,format:Nt};B.map=new Ht(n.x,n.y,N),B.map.texture.name=S.name+".shadowMap",B.camera.updateProjectionMatrix()}r.setRenderTarget(B.map),r.clear();let C=B.getViewportCount();for(let N=0;N0){let S=v.uuid,B=M.uuid,L=c[S];L===void 0&&(L={},c[S]=L);let C=L[B];C===void 0&&(C=v.clone(),L[B]=C),v=C}return v.visible=M.visible,v.wireframe=M.wireframe,A===Tr?v.side=M.shadowSide!==null?M.shadowSide:M.side:v.side=M.shadowSide!==null?M.shadowSide:h[M.side],v.alphaMap=M.alphaMap,v.alphaTest=M.alphaTest,v.clipShadows=M.clipShadows,v.clippingPlanes=M.clippingPlanes,v.clipIntersection=M.clipIntersection,v.displacementMap=M.displacementMap,v.displacementScale=M.displacementScale,v.displacementBias=M.displacementBias,v.wireframeLinewidth=M.wireframeLinewidth,v.linewidth=M.linewidth,T.isPointLight===!0&&v.isMeshDistanceMaterial===!0&&(v.referencePosition.setFromMatrixPosition(T.matrixWorld),v.nearDistance=z,v.farDistance=W),v}function E(w,_,M,T,z){if(w.visible===!1)return;if(w.layers.test(_.layers)&&(w.isMesh||w.isLine||w.isPoints)&&(w.castShadow||w.receiveShadow&&z===Tr)&&(!w.frustumCulled||i.intersectsObject(w))){w.modelViewMatrix.multiplyMatrices(M.matrixWorldInverse,w.matrixWorld);let v=e.update(w),R=w.material;if(Array.isArray(R)){let S=v.groups;for(let B=0,L=S.length;B=1):C.indexOf("OpenGL ES")!==-1&&(L=parseFloat(/^OpenGL ES (\d)/.exec(C)[1]),B=L>=2);let N=null,k={},V=r.getParameter(3088),U=r.getParameter(2978),q=new $e().fromArray(V),j=new $e().fromArray(U);function ne(O,ge,pe){let Me=new Uint8Array(4),K=r.createTexture();r.bindTexture(O,K),r.texParameteri(O,10241,9728),r.texParameteri(O,10240,9728);for(let _e=0;_ese||I.height>se)&&(xe=se/Math.max(I.width,I.height)),xe<1||D===!0)if(typeof HTMLImageElement<"u"&&I instanceof HTMLImageElement||typeof HTMLCanvasElement<"u"&&I instanceof HTMLCanvasElement||typeof ImageBitmap<"u"&&I instanceof ImageBitmap){let Y=D?bv:Math.floor,be=Y(xe*I.width),ve=Y(xe*I.height);y===void 0&&(y=g(be,ve));let he=J?g(be,ve):y;return he.width=be,he.height=ve,he.getContext("2d").drawImage(I,0,0,be,ve),console.warn("THREE.WebGLRenderer: Texture has been resized from ("+I.width+"x"+I.height+") to ("+be+"x"+ve+")."),he}else return"data"in I&&console.warn("THREE.WebGLRenderer: Image in DataTexture is too big ("+I.width+"x"+I.height+")."),I;return I}function E(I){return Qp(I.width)&&Qp(I.height)}function w(I){return a?!1:I.wrapS!==Kt||I.wrapT!==Kt||I.minFilter!==vt&&I.minFilter!==Rt}function _(I,D){return I.generateMipmaps&&D&&I.minFilter!==vt&&I.minFilter!==Rt}function M(I){r.generateMipmap(I)}function T(I,D,J,se,xe=!1){if(a===!1)return D;if(I!==null){if(r[I]!==void 0)return r[I];console.warn("THREE.WebGLRenderer: Attempt to use non-existing WebGL internal format '"+I+"'")}let Y=D;return D===6403&&(J===5126&&(Y=33326),J===5131&&(Y=33325),J===5121&&(Y=33321)),D===33319&&(J===5126&&(Y=33328),J===5131&&(Y=33327),J===5121&&(Y=33323)),D===6408&&(J===5126&&(Y=34836),J===5131&&(Y=34842),J===5121&&(Y=se===tt&&xe===!1?35907:32856),J===32819&&(Y=32854),J===32820&&(Y=32855)),(Y===33325||Y===33326||Y===33327||Y===33328||Y===34842||Y===34836)&&e.get("EXT_color_buffer_float"),Y}function z(I,D,J){return _(I,J)===!0||I.isFramebufferTexture&&I.minFilter!==vt&&I.minFilter!==Rt?Math.log2(Math.max(D.width,D.height))+1:I.mipmaps!==void 0&&I.mipmaps.length>0?I.mipmaps.length:I.isCompressedTexture&&Array.isArray(I.image)?D.mipmaps.length:1}function W(I){return I===vt||I===Cp||I===Rp?9728:9729}function A(I){let D=I.target;D.removeEventListener("dispose",A),R(D),D.isVideoTexture&&m.delete(D),o.memory.textures--}function v(I){let D=I.target;D.removeEventListener("dispose",v),S(D)}function R(I){let D=i.get(I);D.__webglInit!==void 0&&(r.deleteTexture(D.__webglTexture),i.remove(I))}function S(I){let D=I.texture,J=i.get(I),se=i.get(D);if(I){if(se.__webglTexture!==void 0&&(r.deleteTexture(se.__webglTexture),o.memory.textures--),I.depthTexture&&I.depthTexture.dispose(),I.isWebGLCubeRenderTarget)for(let xe=0;xe<6;xe++)r.deleteFramebuffer(J.__webglFramebuffer[xe]),J.__webglDepthbuffer&&r.deleteRenderbuffer(J.__webglDepthbuffer[xe]);else r.deleteFramebuffer(J.__webglFramebuffer),J.__webglDepthbuffer&&r.deleteRenderbuffer(J.__webglDepthbuffer),J.__webglMultisampledFramebuffer&&r.deleteFramebuffer(J.__webglMultisampledFramebuffer),J.__webglColorRenderbuffer&&r.deleteRenderbuffer(J.__webglColorRenderbuffer),J.__webglDepthRenderbuffer&&r.deleteRenderbuffer(J.__webglDepthRenderbuffer);if(I.isWebGLMultipleRenderTargets)for(let xe=0,Y=D.length;xe=l&&console.warn("THREE.WebGLTextures: Trying to use "+I+" texture units while this GPU supports only "+l),B+=1,I}function N(I,D){let J=i.get(I);if(I.isVideoTexture&&de(I),I.version>0&&J.__version!==I.version){let se=I.image;if(se===void 0)console.warn("THREE.WebGLRenderer: Texture marked for update but image is undefined");else if(se.complete===!1)console.warn("THREE.WebGLRenderer: Texture marked for update but image is incomplete");else{H(J,I,D);return}}t.activeTexture(33984+D),t.bindTexture(3553,J.__webglTexture)}function k(I,D){let J=i.get(I);if(I.version>0&&J.__version!==I.version){H(J,I,D);return}t.activeTexture(33984+D),t.bindTexture(35866,J.__webglTexture)}function V(I,D){let J=i.get(I);if(I.version>0&&J.__version!==I.version){H(J,I,D);return}t.activeTexture(33984+D),t.bindTexture(32879,J.__webglTexture)}function U(I,D){let J=i.get(I);if(I.version>0&&J.__version!==I.version){Te(J,I,D);return}t.activeTexture(33984+D),t.bindTexture(34067,J.__webglTexture)}let q={[bu]:10497,[Kt]:33071,[_u]:33648},j={[vt]:9728,[Cp]:9984,[Rp]:9986,[Rt]:9729,[Zx]:9985,[sl]:9987};function ne(I,D,J){if(J?(r.texParameteri(I,10242,q[D.wrapS]),r.texParameteri(I,10243,q[D.wrapT]),(I===32879||I===35866)&&r.texParameteri(I,32882,q[D.wrapR]),r.texParameteri(I,10240,j[D.magFilter]),r.texParameteri(I,10241,j[D.minFilter])):(r.texParameteri(I,10242,33071),r.texParameteri(I,10243,33071),(I===32879||I===35866)&&r.texParameteri(I,32882,33071),(D.wrapS!==Kt||D.wrapT!==Kt)&&console.warn("THREE.WebGLRenderer: Texture is not power of two. Texture.wrapS and Texture.wrapT should be set to THREE.ClampToEdgeWrapping."),r.texParameteri(I,10240,W(D.magFilter)),r.texParameteri(I,10241,W(D.minFilter)),D.minFilter!==vt&&D.minFilter!==Rt&&console.warn("THREE.WebGLRenderer: Texture is not power of two. Texture.minFilter should be set to THREE.NearestFilter or THREE.LinearFilter.")),e.has("EXT_texture_filter_anisotropic")===!0){let se=e.get("EXT_texture_filter_anisotropic");if(D.type===Vn&&e.has("OES_texture_float_linear")===!1||a===!1&&D.type===Cs&&e.has("OES_texture_half_float_linear")===!1)return;(D.anisotropy>1||i.get(D).__currentAnisotropy)&&(r.texParameterf(I,se.TEXTURE_MAX_ANISOTROPY_EXT,Math.min(D.anisotropy,n.getMaxAnisotropy())),i.get(D).__currentAnisotropy=D.anisotropy)}}function ae(I,D){I.__webglInit===void 0&&(I.__webglInit=!0,D.addEventListener("dispose",A),I.__webglTexture=r.createTexture(),o.memory.textures++)}function H(I,D,J){let se=3553;D.isDataTexture2DArray&&(se=35866),D.isDataTexture3D&&(se=32879),ae(I,D),t.activeTexture(33984+J),t.bindTexture(se,I.__webglTexture),r.pixelStorei(37440,D.flipY),r.pixelStorei(37441,D.premultiplyAlpha),r.pixelStorei(3317,D.unpackAlignment),r.pixelStorei(37443,0);let xe=w(D)&&E(D.image)===!1,Y=f(D.image,xe,!1,u);Y=Se(D,Y);let be=E(Y)||a,ve=s.convert(D.format,D.encoding),he=s.convert(D.type),le=T(D.internalFormat,ve,he,D.encoding,D.isVideoTexture);ne(se,D,be);let Le,O=D.mipmaps,ge=a&&D.isVideoTexture!==!0,pe=I.__version===void 0,Me=z(D,Y,be);if(D.isDepthTexture)le=6402,a?D.type===Vn?le=36012:D.type===Ma?le=33190:D.type===Rs?le=35056:le=33189:D.type===Vn&&console.error("WebGLRenderer: Floating point depth texture requires WebGL2."),D.format===Hn&&le===6402&&D.type!==Ir&&D.type!==Ma&&(console.warn("THREE.WebGLRenderer: Use UnsignedShortType or UnsignedIntType for DepthFormat DepthTexture."),D.type=Ir,he=s.convert(D.type)),D.format===Ps&&le===6402&&(le=34041,D.type!==Rs&&(console.warn("THREE.WebGLRenderer: Use UnsignedInt248Type for DepthStencilFormat DepthTexture."),D.type=Rs,he=s.convert(D.type))),ge&&pe?t.texStorage2D(3553,1,le,Y.width,Y.height):t.texImage2D(3553,0,le,Y.width,Y.height,0,ve,he,null);else if(D.isDataTexture)if(O.length>0&&be){ge&&pe&&t.texStorage2D(3553,Me,le,O[0].width,O[0].height);for(let K=0,_e=O.length;K<_e;K++)Le=O[K],ge?t.texSubImage2D(3553,0,0,0,Le.width,Le.height,ve,he,Le.data):t.texImage2D(3553,K,le,Le.width,Le.height,0,ve,he,Le.data);D.generateMipmaps=!1}else ge?(pe&&t.texStorage2D(3553,Me,le,Y.width,Y.height),t.texSubImage2D(3553,0,0,0,Y.width,Y.height,ve,he,Y.data)):t.texImage2D(3553,0,le,Y.width,Y.height,0,ve,he,Y.data);else if(D.isCompressedTexture){ge&&pe&&t.texStorage2D(3553,Me,le,O[0].width,O[0].height);for(let K=0,_e=O.length;K<_e;K++)Le=O[K],D.format!==Nt?ve!==null?ge?t.compressedTexSubImage2D(3553,K,0,0,Le.width,Le.height,ve,Le.data):t.compressedTexImage2D(3553,K,le,Le.width,Le.height,0,Le.data):console.warn("THREE.WebGLRenderer: Attempt to load unsupported compressed texture format in .uploadTexture()"):ge?t.texSubImage2D(3553,K,0,0,Le.width,Le.height,ve,he,Le.data):t.texImage2D(3553,K,le,Le.width,Le.height,0,ve,he,Le.data)}else if(D.isDataTexture2DArray)ge?(pe&&t.texStorage3D(35866,Me,le,Y.width,Y.height,Y.depth),t.texSubImage3D(35866,0,0,0,0,Y.width,Y.height,Y.depth,ve,he,Y.data)):t.texImage3D(35866,0,le,Y.width,Y.height,Y.depth,0,ve,he,Y.data);else if(D.isDataTexture3D)ge?(pe&&t.texStorage3D(32879,Me,le,Y.width,Y.height,Y.depth),t.texSubImage3D(32879,0,0,0,0,Y.width,Y.height,Y.depth,ve,he,Y.data)):t.texImage3D(32879,0,le,Y.width,Y.height,Y.depth,0,ve,he,Y.data);else if(D.isFramebufferTexture)ge&&pe?t.texStorage2D(3553,Me,le,Y.width,Y.height):t.texImage2D(3553,0,le,Y.width,Y.height,0,ve,he,null);else if(O.length>0&&be){ge&&pe&&t.texStorage2D(3553,Me,le,O[0].width,O[0].height);for(let K=0,_e=O.length;K<_e;K++)Le=O[K],ge?t.texSubImage2D(3553,K,0,0,ve,he,Le):t.texImage2D(3553,K,le,ve,he,Le);D.generateMipmaps=!1}else ge?(pe&&t.texStorage2D(3553,Me,le,Y.width,Y.height),t.texSubImage2D(3553,0,0,0,ve,he,Y)):t.texImage2D(3553,0,le,ve,he,Y);_(D,be)&&M(se),I.__version=D.version,D.onUpdate&&D.onUpdate(D)}function Te(I,D,J){if(D.image.length!==6)return;ae(I,D),t.activeTexture(33984+J),t.bindTexture(34067,I.__webglTexture),r.pixelStorei(37440,D.flipY),r.pixelStorei(37441,D.premultiplyAlpha),r.pixelStorei(3317,D.unpackAlignment),r.pixelStorei(37443,0);let se=D&&(D.isCompressedTexture||D.image[0].isCompressedTexture),xe=D.image[0]&&D.image[0].isDataTexture,Y=[];for(let K=0;K<6;K++)!se&&!xe?Y[K]=f(D.image[K],!1,!0,c):Y[K]=xe?D.image[K].image:D.image[K],Y[K]=Se(D,Y[K]);let be=Y[0],ve=E(be)||a,he=s.convert(D.format,D.encoding),le=s.convert(D.type),Le=T(D.internalFormat,he,le,D.encoding),O=a&&D.isVideoTexture!==!0,ge=I.__version===void 0,pe=z(D,be,ve);ne(34067,D,ve);let Me;if(se){O&&ge&&t.texStorage2D(34067,pe,Le,be.width,be.height);for(let K=0;K<6;K++){Me=Y[K].mipmaps;for(let _e=0;_e0&&pe++,t.texStorage2D(34067,pe,Le,Y[0].width,Y[0].height));for(let K=0;K<6;K++)if(xe){O?t.texSubImage2D(34069+K,0,0,0,Y[K].width,Y[K].height,he,le,Y[K].data):t.texImage2D(34069+K,0,Le,Y[K].width,Y[K].height,0,he,le,Y[K].data);for(let _e=0;_ep+m?(c.inputState.pinching=!1,this.dispatchEvent({type:"pinchend",handedness:e.handedness,target:this})):!c.inputState.pinching&&d<=p-m&&(c.inputState.pinching=!0,this.dispatchEvent({type:"pinchstart",handedness:e.handedness,target:this}))}else l!==null&&e.gripSpace&&(s=t.getPose(e.gripSpace,i),s!==null&&(l.matrix.fromArray(s.transform.matrix),l.matrix.decompose(l.position,l.rotation,l.scale),s.linearVelocity?(l.hasLinearVelocity=!0,l.linearVelocity.copy(s.linearVelocity)):l.hasLinearVelocity=!1,s.angularVelocity?(l.hasAngularVelocity=!0,l.angularVelocity.copy(s.angularVelocity)):l.hasAngularVelocity=!1));return a!==null&&(a.visible=n!==null),l!==null&&(l.visible=s!==null),c!==null&&(c.visible=o!==null),this}},$r=class extends lt{constructor(e,t,i,n,s,o,a,l,c,u){if(u=u!==void 0?u:Hn,u!==Hn&&u!==Ps)throw new Error("DepthTexture format must be either THREE.DepthFormat or THREE.DepthStencilFormat");i===void 0&&u===Hn&&(i=Ir),i===void 0&&u===Ps&&(i=Rs),super(null,n,s,o,a,l,u,i,c),this.image={width:e,height:t},this.magFilter=a!==void 0?a:vt,this.minFilter=l!==void 0?l:vt,this.flipY=!1,this.generateMipmaps=!1}};$r.prototype.isDepthTexture=!0;var Ru=class extends Xi{constructor(e,t){super();let i=this,n=null,s=1,o=null,a="local-floor",l=e.extensions.has("WEBGL_multisampled_render_to_texture"),c=null,u=null,h=null,d=null,p=!1,m=null,y=t.getContextAttributes(),x=null,g=null,f=[],E=new Map,w=new Et;w.layers.enable(1),w.viewport=new $e;let _=new Et;_.layers.enable(2),_.viewport=new $e;let M=[w,_],T=new za;T.layers.enable(1),T.layers.enable(2);let z=null,W=null;this.cameraAutoUpdate=!0,this.enabled=!1,this.isPresenting=!1,this.getController=function(U){let q=f[U];return q===void 0&&(q=new Fr,f[U]=q),q.getTargetRaySpace()},this.getControllerGrip=function(U){let q=f[U];return q===void 0&&(q=new Fr,f[U]=q),q.getGripSpace()},this.getHand=function(U){let q=f[U];return q===void 0&&(q=new Fr,f[U]=q),q.getHandSpace()};function A(U){let q=E.get(U.inputSource);q&&q.dispatchEvent({type:U.type,data:U.inputSource})}function v(){E.forEach(function(U,q){U.disconnect(q)}),E.clear(),z=null,W=null,e.setRenderTarget(x),d=null,h=null,u=null,n=null,g=null,V.stop(),i.isPresenting=!1,i.dispatchEvent({type:"sessionend"})}this.setFramebufferScaleFactor=function(U){s=U,i.isPresenting===!0&&console.warn("THREE.WebXRManager: Cannot change framebuffer scale while presenting.")},this.setReferenceSpaceType=function(U){a=U,i.isPresenting===!0&&console.warn("THREE.WebXRManager: Cannot change reference space type while presenting.")},this.getReferenceSpace=function(){return o},this.getBaseLayer=function(){return h!==null?h:d},this.getBinding=function(){return u},this.getFrame=function(){return m},this.getSession=function(){return n},this.setSession=async function(U){if(n=U,n!==null){if(x=e.getRenderTarget(),n.addEventListener("select",A),n.addEventListener("selectstart",A),n.addEventListener("selectend",A),n.addEventListener("squeeze",A),n.addEventListener("squeezestart",A),n.addEventListener("squeezeend",A),n.addEventListener("end",v),n.addEventListener("inputsourceschange",R),y.xrCompatible!==!0&&await t.makeXRCompatible(),n.renderState.layers===void 0||e.capabilities.isWebGL2===!1){let q={antialias:n.renderState.layers===void 0?y.antialias:!0,alpha:y.alpha,depth:y.depth,stencil:y.stencil,framebufferScaleFactor:s};d=new XRWebGLLayer(n,t,q),n.updateRenderState({baseLayer:d}),g=new Ht(d.framebufferWidth,d.framebufferHeight,{format:Nt,type:yn,encoding:e.outputEncoding})}else{p=y.antialias;let q=null,j=null,ne=null;y.depth&&(ne=y.stencil?35056:33190,q=y.stencil?Ps:Hn,j=y.stencil?Rs:Ir);let ae={colorFormat:e.outputEncoding===tt?35907:32856,depthFormat:ne,scaleFactor:s};u=new XRWebGLBinding(n,t),h=u.createProjectionLayer(ae),n.updateRenderState({layers:[h]}),p?g=new Or(h.textureWidth,h.textureHeight,{format:Nt,type:yn,depthTexture:new $r(h.textureWidth,h.textureHeight,j,void 0,void 0,void 0,void 0,void 0,void 0,q),stencilBuffer:y.stencil,ignoreDepth:h.ignoreDepthValues,useRenderToTexture:l,encoding:e.outputEncoding}):g=new Ht(h.textureWidth,h.textureHeight,{format:Nt,type:yn,depthTexture:new $r(h.textureWidth,h.textureHeight,j,void 0,void 0,void 0,void 0,void 0,void 0,q),stencilBuffer:y.stencil,ignoreDepth:h.ignoreDepthValues,encoding:e.outputEncoding})}g.isXRRenderTarget=!0,this.setFoveation(1),o=await n.requestReferenceSpace(a),V.setContext(n),V.start(),i.isPresenting=!0,i.dispatchEvent({type:"sessionstart"})}};function R(U){let q=n.inputSources;for(let j=0;j0&&(g.alphaTest.value=f.alphaTest);let E=r.get(f).envMap;E&&(g.envMap.value=E,g.flipEnvMap.value=E.isCubeTexture&&E.isRenderTargetTexture===!1?-1:1,g.reflectivity.value=f.reflectivity,g.ior.value=f.ior,g.refractionRatio.value=f.refractionRatio),f.lightMap&&(g.lightMap.value=f.lightMap,g.lightMapIntensity.value=f.lightMapIntensity),f.aoMap&&(g.aoMap.value=f.aoMap,g.aoMapIntensity.value=f.aoMapIntensity);let w;f.map?w=f.map:f.specularMap?w=f.specularMap:f.displacementMap?w=f.displacementMap:f.normalMap?w=f.normalMap:f.bumpMap?w=f.bumpMap:f.roughnessMap?w=f.roughnessMap:f.metalnessMap?w=f.metalnessMap:f.alphaMap?w=f.alphaMap:f.emissiveMap?w=f.emissiveMap:f.clearcoatMap?w=f.clearcoatMap:f.clearcoatNormalMap?w=f.clearcoatNormalMap:f.clearcoatRoughnessMap?w=f.clearcoatRoughnessMap:f.specularIntensityMap?w=f.specularIntensityMap:f.specularColorMap?w=f.specularColorMap:f.transmissionMap?w=f.transmissionMap:f.thicknessMap?w=f.thicknessMap:f.sheenColorMap?w=f.sheenColorMap:f.sheenRoughnessMap&&(w=f.sheenRoughnessMap),w!==void 0&&(w.isWebGLRenderTarget&&(w=w.texture),w.matrixAutoUpdate===!0&&w.updateMatrix(),g.uvTransform.value.copy(w.matrix));let _;f.aoMap?_=f.aoMap:f.lightMap&&(_=f.lightMap),_!==void 0&&(_.isWebGLRenderTarget&&(_=_.texture),_.matrixAutoUpdate===!0&&_.updateMatrix(),g.uv2Transform.value.copy(_.matrix))}function n(g,f){g.diffuse.value.copy(f.color),g.opacity.value=f.opacity}function s(g,f){g.dashSize.value=f.dashSize,g.totalSize.value=f.dashSize+f.gapSize,g.scale.value=f.scale}function o(g,f,E,w){g.diffuse.value.copy(f.color),g.opacity.value=f.opacity,g.size.value=f.size*E,g.scale.value=w*.5,f.map&&(g.map.value=f.map),f.alphaMap&&(g.alphaMap.value=f.alphaMap),f.alphaTest>0&&(g.alphaTest.value=f.alphaTest);let _;f.map?_=f.map:f.alphaMap&&(_=f.alphaMap),_!==void 0&&(_.matrixAutoUpdate===!0&&_.updateMatrix(),g.uvTransform.value.copy(_.matrix))}function a(g,f){g.diffuse.value.copy(f.color),g.opacity.value=f.opacity,g.rotation.value=f.rotation,f.map&&(g.map.value=f.map),f.alphaMap&&(g.alphaMap.value=f.alphaMap),f.alphaTest>0&&(g.alphaTest.value=f.alphaTest);let E;f.map?E=f.map:f.alphaMap&&(E=f.alphaMap),E!==void 0&&(E.matrixAutoUpdate===!0&&E.updateMatrix(),g.uvTransform.value.copy(E.matrix))}function l(g,f){f.emissiveMap&&(g.emissiveMap.value=f.emissiveMap)}function c(g,f){g.specular.value.copy(f.specular),g.shininess.value=Math.max(f.shininess,1e-4),f.emissiveMap&&(g.emissiveMap.value=f.emissiveMap),f.bumpMap&&(g.bumpMap.value=f.bumpMap,g.bumpScale.value=f.bumpScale,f.side===xt&&(g.bumpScale.value*=-1)),f.normalMap&&(g.normalMap.value=f.normalMap,g.normalScale.value.copy(f.normalScale),f.side===xt&&g.normalScale.value.negate()),f.displacementMap&&(g.displacementMap.value=f.displacementMap,g.displacementScale.value=f.displacementScale,g.displacementBias.value=f.displacementBias)}function u(g,f){f.gradientMap&&(g.gradientMap.value=f.gradientMap),f.emissiveMap&&(g.emissiveMap.value=f.emissiveMap),f.bumpMap&&(g.bumpMap.value=f.bumpMap,g.bumpScale.value=f.bumpScale,f.side===xt&&(g.bumpScale.value*=-1)),f.normalMap&&(g.normalMap.value=f.normalMap,g.normalScale.value.copy(f.normalScale),f.side===xt&&g.normalScale.value.negate()),f.displacementMap&&(g.displacementMap.value=f.displacementMap,g.displacementScale.value=f.displacementScale,g.displacementBias.value=f.displacementBias)}function h(g,f){g.roughness.value=f.roughness,g.metalness.value=f.metalness,f.roughnessMap&&(g.roughnessMap.value=f.roughnessMap),f.metalnessMap&&(g.metalnessMap.value=f.metalnessMap),f.emissiveMap&&(g.emissiveMap.value=f.emissiveMap),f.bumpMap&&(g.bumpMap.value=f.bumpMap,g.bumpScale.value=f.bumpScale,f.side===xt&&(g.bumpScale.value*=-1)),f.normalMap&&(g.normalMap.value=f.normalMap,g.normalScale.value.copy(f.normalScale),f.side===xt&&g.normalScale.value.negate()),f.displacementMap&&(g.displacementMap.value=f.displacementMap,g.displacementScale.value=f.displacementScale,g.displacementBias.value=f.displacementBias),r.get(f).envMap&&(g.envMapIntensity.value=f.envMapIntensity)}function d(g,f,E){h(g,f),g.ior.value=f.ior,f.sheen>0&&(g.sheenColor.value.copy(f.sheenColor).multiplyScalar(f.sheen),g.sheenRoughness.value=f.sheenRoughness,f.sheenColorMap&&(g.sheenColorMap.value=f.sheenColorMap),f.sheenRoughnessMap&&(g.sheenRoughnessMap.value=f.sheenRoughnessMap)),f.clearcoat>0&&(g.clearcoat.value=f.clearcoat,g.clearcoatRoughness.value=f.clearcoatRoughness,f.clearcoatMap&&(g.clearcoatMap.value=f.clearcoatMap),f.clearcoatRoughnessMap&&(g.clearcoatRoughnessMap.value=f.clearcoatRoughnessMap),f.clearcoatNormalMap&&(g.clearcoatNormalScale.value.copy(f.clearcoatNormalScale),g.clearcoatNormalMap.value=f.clearcoatNormalMap,f.side===xt&&g.clearcoatNormalScale.value.negate())),f.transmission>0&&(g.transmission.value=f.transmission,g.transmissionSamplerMap.value=E.texture,g.transmissionSamplerSize.value.set(E.width,E.height),f.transmissionMap&&(g.transmissionMap.value=f.transmissionMap),g.thickness.value=f.thickness,f.thicknessMap&&(g.thicknessMap.value=f.thicknessMap),g.attenuationDistance.value=f.attenuationDistance,g.attenuationColor.value.copy(f.attenuationColor)),g.specularIntensity.value=f.specularIntensity,g.specularColor.value.copy(f.specularColor),f.specularIntensityMap&&(g.specularIntensityMap.value=f.specularIntensityMap),f.specularColorMap&&(g.specularColorMap.value=f.specularColorMap)}function p(g,f){f.matcap&&(g.matcap.value=f.matcap),f.bumpMap&&(g.bumpMap.value=f.bumpMap,g.bumpScale.value=f.bumpScale,f.side===xt&&(g.bumpScale.value*=-1)),f.normalMap&&(g.normalMap.value=f.normalMap,g.normalScale.value.copy(f.normalScale),f.side===xt&&g.normalScale.value.negate()),f.displacementMap&&(g.displacementMap.value=f.displacementMap,g.displacementScale.value=f.displacementScale,g.displacementBias.value=f.displacementBias)}function m(g,f){f.displacementMap&&(g.displacementMap.value=f.displacementMap,g.displacementScale.value=f.displacementScale,g.displacementBias.value=f.displacementBias)}function y(g,f){f.displacementMap&&(g.displacementMap.value=f.displacementMap,g.displacementScale.value=f.displacementScale,g.displacementBias.value=f.displacementBias),g.referencePosition.value.copy(f.referencePosition),g.nearDistance.value=f.nearDistance,g.farDistance.value=f.farDistance}function x(g,f){f.bumpMap&&(g.bumpMap.value=f.bumpMap,g.bumpScale.value=f.bumpScale,f.side===xt&&(g.bumpScale.value*=-1)),f.normalMap&&(g.normalMap.value=f.normalMap,g.normalScale.value.copy(f.normalScale),f.side===xt&&g.normalScale.value.negate()),f.displacementMap&&(g.displacementMap.value=f.displacementMap,g.displacementScale.value=f.displacementScale,g.displacementBias.value=f.displacementBias)}return{refreshFogUniforms:e,refreshMaterialUniforms:t}}function K1(){let r=kr("canvas");return r.style.display="block",r}function qe(r={}){let e=r.canvas!==void 0?r.canvas:K1(),t=r.context!==void 0?r.context:null,i=r.alpha!==void 0?r.alpha:!1,n=r.depth!==void 0?r.depth:!0,s=r.stencil!==void 0?r.stencil:!0,o=r.antialias!==void 0?r.antialias:!1,a=r.premultipliedAlpha!==void 0?r.premultipliedAlpha:!0,l=r.preserveDrawingBuffer!==void 0?r.preserveDrawingBuffer:!1,c=r.powerPreference!==void 0?r.powerPreference:"default",u=r.failIfMajorPerformanceCaveat!==void 0?r.failIfMajorPerformanceCaveat:!1,h=null,d=null,p=[],m=[];this.domElement=e,this.debug={checkShaderErrors:!0},this.autoClear=!0,this.autoClearColor=!0,this.autoClearDepth=!0,this.autoClearStencil=!0,this.sortObjects=!0,this.clippingPlanes=[],this.localClippingEnabled=!1,this.outputEncoding=bn,this.physicallyCorrectLights=!1,this.toneMapping=gn,this.toneMappingExposure=1;let y=this,x=!1,g=0,f=0,E=null,w=-1,_=null,M=new $e,T=new $e,z=null,W=e.width,A=e.height,v=1,R=null,S=null,B=new $e(0,0,W,A),L=new $e(0,0,W,A),C=!1,N=new Os,k=!1,V=!1,U=null,q=new Ee,j=new P,ne={background:null,fog:null,environment:null,overrideMaterial:null,isScene:!0};function ae(){return E===null?v:1}let H=t;function Te(F,G){for(let X=0;X0?d=m[m.length-1]:d=null,p.pop(),p.length>0?h=p[p.length-1]:h=null};function ot(F,G,X,$){if(F.visible===!1)return;if(F.layers.test(G.layers)){if(F.isGroup)X=F.renderOrder;else if(F.isLOD)F.autoUpdate===!0&&F.update(G);else if(F.isLight)d.pushLight(F),F.castShadow&&d.pushShadow(F);else if(F.isSprite){if(!F.frustumCulled||N.intersectsSprite(F)){$&&j.setFromMatrixPosition(F.matrixWorld).applyMatrix4(q);let Be=Se.update(F),Ie=F.material;Ie.visible&&h.push(F,Be,Ie,X,j.z,null)}}else if((F.isMesh||F.isLine||F.isPoints)&&(F.isSkinnedMesh&&F.skeleton.frame!==Ce.render.frame&&(F.skeleton.update(),F.skeleton.frame=Ce.render.frame),!F.frustumCulled||N.intersectsObject(F))){$&&j.setFromMatrixPosition(F.matrixWorld).applyMatrix4(q);let Be=Se.update(F),Ie=F.material;if(Array.isArray(Ie)){let Pe=Be.groups;for(let We=0,ze=Pe.length;We0&&Pi(Q,G,X),$&&oe.viewport(M.copy($)),Q.length>0&&Fo(Q,G,X),Fe.length>0&&Fo(Fe,G,X),Be.length>0&&Fo(Be,G,X)}function Pi(F,G,X){if(U===null){let Be=o===!0&&we.isWebGL2===!0?Or:Ht;U=new Be(1024,1024,{generateMipmaps:!0,type:be.convert(Cs)!==null?Cs:yn,minFilter:sl,magFilter:vt,wrapS:Kt,wrapT:Kt,useRenderToTexture:ue.has("WEBGL_multisampled_render_to_texture")})}let $=y.getRenderTarget();y.setRenderTarget(U),y.clear();let Q=y.toneMapping;y.toneMapping=gn,Fo(F,G,X),y.toneMapping=Q,Z.updateMultisampleRenderTarget(U),Z.updateRenderTargetMipmap(U),y.setRenderTarget($)}function Fo(F,G,X){let $=G.isScene===!0?G.overrideMaterial:null;for(let Q=0,Fe=F.length;Q=0&&G<=F.width-$&&X>=0&&X<=F.height-Q&&H.readPixels(G,X,$,Q,be.convert(We),be.convert(ze),Fe):console.error("THREE.WebGLRenderer.readRenderTargetPixels: readPixels from renderTarget failed. Framebuffer not complete.")}finally{let Pe=E!==null?Ae.get(E).__webglFramebuffer:null;oe.bindFramebuffer(36160,Pe)}}},this.copyFramebufferToTexture=function(F,G,X=0){if(G.isFramebufferTexture!==!0){console.error("THREE.WebGLRenderer: copyFramebufferToTexture() can only be used with FramebufferTexture.");return}let $=Math.pow(2,-X),Q=Math.floor(G.image.width*$),Fe=Math.floor(G.image.height*$);Z.setTexture2D(G,0),H.copyTexSubImage2D(3553,X,0,0,F.x,F.y,Q,Fe),oe.unbindTexture()},this.copyTextureToTexture=function(F,G,X,$=0){let Q=G.image.width,Fe=G.image.height,Be=be.convert(X.format),Ie=be.convert(X.type);Z.setTexture2D(X,0),H.pixelStorei(37440,X.flipY),H.pixelStorei(37441,X.premultiplyAlpha),H.pixelStorei(3317,X.unpackAlignment),G.isDataTexture?H.texSubImage2D(3553,$,F.x,F.y,Q,Fe,Be,Ie,G.image.data):G.isCompressedTexture?H.compressedTexSubImage2D(3553,$,F.x,F.y,G.mipmaps[0].width,G.mipmaps[0].height,Be,G.mipmaps[0].data):H.texSubImage2D(3553,$,F.x,F.y,Be,Ie,G.image),$===0&&X.generateMipmaps&&H.generateMipmap(3553),oe.unbindTexture()},this.copyTextureToTexture3D=function(F,G,X,$,Q=0){if(y.isWebGL1Renderer){console.warn("THREE.WebGLRenderer.copyTextureToTexture3D: can only be used with WebGL2.");return}let Fe=F.max.x-F.min.x+1,Be=F.max.y-F.min.y+1,Ie=F.max.z-F.min.z+1,Pe=be.convert($.format),We=be.convert($.type),ze;if($.isDataTexture3D)Z.setTexture3D($,0),ze=32879;else if($.isDataTexture2DArray)Z.setTexture2DArray($,0),ze=35866;else{console.warn("THREE.WebGLRenderer.copyTextureToTexture3D: only supports THREE.DataTexture3D and THREE.DataTexture2DArray.");return}H.pixelStorei(37440,$.flipY),H.pixelStorei(37441,$.premultiplyAlpha),H.pixelStorei(3317,$.unpackAlignment);let Ve=H.getParameter(3314),at=H.getParameter(32878),Bn=H.getParameter(3316),ns=H.getParameter(3315),Ue=H.getParameter(32877),vi=X.isCompressedTexture?X.mipmaps[0]:X.image;H.pixelStorei(3314,vi.width),H.pixelStorei(32878,vi.height),H.pixelStorei(3316,F.min.x),H.pixelStorei(3315,F.min.y),H.pixelStorei(32877,F.min.z),X.isDataTexture||X.isDataTexture3D?H.texSubImage3D(ze,Q,G.x,G.y,G.z,Fe,Be,Ie,Pe,We,vi.data):X.isCompressedTexture?(console.warn("THREE.WebGLRenderer.copyTextureToTexture3D: untested support for compressed srcTexture."),H.compressedTexSubImage3D(ze,Q,G.x,G.y,G.z,Fe,Be,Ie,Pe,vi.data)):H.texSubImage3D(ze,Q,G.x,G.y,G.z,Fe,Be,Ie,Pe,We,vi),H.pixelStorei(3314,Ve),H.pixelStorei(32878,at),H.pixelStorei(3316,Bn),H.pixelStorei(3315,ns),H.pixelStorei(32877,Ue),Q===0&&$.generateMipmaps&&H.generateMipmap(ze),oe.unbindTexture()},this.initTexture=function(F){Z.setTexture2D(F,0),oe.unbindTexture()},this.resetState=function(){g=0,f=0,E=null,oe.reset(),ve.reset()},typeof __THREE_DEVTOOLS__<"u"&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("observe",{detail:this}))}qe.prototype.isWebGLRenderer=!0;var Fu=class extends qe{};Fu.prototype.isWebGL1Renderer=!0;var Lu=class r{constructor(e,t=25e-5){this.name="",this.color=new ye(e),this.density=t}clone(){return new r(this.color,this.density)}toJSON(){return{type:"FogExp2",color:this.color.getHex(),density:this.density}}};Lu.prototype.isFogExp2=!0;var Bu=class r{constructor(e,t=1,i=1e3){this.name="",this.color=new ye(e),this.near=t,this.far=i}clone(){return new r(this.color,this.near,this.far)}toJSON(){return{type:"Fog",color:this.color.getHex(),near:this.near,far:this.far}}};Bu.prototype.isFog=!0;var Vs=class extends Ge{constructor(){super(),this.type="Scene",this.background=null,this.environment=null,this.fog=null,this.overrideMaterial=null,this.autoUpdate=!0,typeof __THREE_DEVTOOLS__<"u"&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("observe",{detail:this}))}copy(e,t){return super.copy(e,t),e.background!==null&&(this.background=e.background.clone()),e.environment!==null&&(this.environment=e.environment.clone()),e.fog!==null&&(this.fog=e.fog.clone()),e.overrideMaterial!==null&&(this.overrideMaterial=e.overrideMaterial.clone()),this.autoUpdate=e.autoUpdate,this.matrixAutoUpdate=e.matrixAutoUpdate,this}toJSON(e){let t=super.toJSON(e);return this.fog!==null&&(t.object.fog=this.fog.toJSON()),t}};Vs.prototype.isScene=!0;var Gn=class{constructor(e,t){this.array=e,this.stride=t,this.count=e!==void 0?e.length/t:0,this.usage=Nr,this.updateRange={offset:0,count:-1},this.version=0,this.uuid=pi()}onUploadCallback(){}set needsUpdate(e){e===!0&&this.version++}setUsage(e){return this.usage=e,this}copy(e){return this.array=new e.array.constructor(e.array),this.count=e.count,this.stride=e.stride,this.usage=e.usage,this}copyAt(e,t,i){e*=this.stride,i*=t.stride;for(let n=0,s=this.stride;ne.far||t.push({distance:l,point:Er.clone(),uv:Lt.getUV(Er,pa,Sr,fa,Pf,hu,If,new ee),face:null,object:this})}copy(e){return super.copy(e),e.center!==void 0&&this.center.copy(e.center),this.material=e.material,this}};Pu.prototype.isSprite=!0;function ma(r,e,t,i,n,s){As.subVectors(r,t).addScalar(.5).multiply(i),n!==void 0?(Ar.x=s*As.x-n*As.y,Ar.y=n*As.x+s*As.y):Ar.copy(As),r.copy(e),r.x+=Ar.x,r.y+=Ar.y,r.applyMatrix4(Am)}var Nf=new P,kf=new $e,Of=new $e,Q1=new P,zf=new Ee,Ua=class extends pt{constructor(e,t){super(e,t),this.type="SkinnedMesh",this.bindMode="attached",this.bindMatrix=new Ee,this.bindMatrixInverse=new Ee}copy(e){return super.copy(e),this.bindMode=e.bindMode,this.bindMatrix.copy(e.bindMatrix),this.bindMatrixInverse.copy(e.bindMatrixInverse),this.skeleton=e.skeleton,this}bind(e,t){this.skeleton=e,t===void 0&&(this.updateMatrixWorld(!0),this.skeleton.calculateInverses(),t=this.matrixWorld),this.bindMatrix.copy(t),this.bindMatrixInverse.copy(t).invert()}pose(){this.skeleton.pose()}normalizeSkinWeights(){let e=new $e,t=this.geometry.attributes.skinWeight;for(let i=0,n=t.count;il)continue;d.applyMatrix4(this.matrixWorld);let z=e.ray.origin.distanceTo(d);ze.far||t.push({distance:z,point:h.clone().applyMatrix4(this.matrixWorld),index:E,face:null,faceIndex:null,object:this})}}else{let g=Math.max(0,o.start),f=Math.min(x.count,o.start+o.count);for(let E=g,w=f-1;El)continue;d.applyMatrix4(this.matrixWorld);let M=e.ray.origin.distanceTo(d);Me.far||t.push({distance:M,point:h.clone().applyMatrix4(this.matrixWorld),index:E,face:null,faceIndex:null,object:this})}}}else i.isGeometry&&console.error("THREE.Line.raycast() no longer supports THREE.Geometry. Use THREE.BufferGeometry instead.")}updateMorphTargets(){let e=this.geometry;if(e.isBufferGeometry){let t=e.morphAttributes,i=Object.keys(t);if(i.length>0){let n=t[i[0]];if(n!==void 0){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let s=0,o=n.length;s0&&console.error("THREE.Line.updateMorphTargets() does not support THREE.Geometry. Use THREE.BufferGeometry instead.")}}};Yr.prototype.isLine=!0;var Wf=new P,$f=new P,Zr=class extends Yr{constructor(e,t){super(e,t),this.type="LineSegments"}computeLineDistances(){let e=this.geometry;if(e.isBufferGeometry)if(e.index===null){let t=e.attributes.position,i=[];for(let n=0,s=t.count;n0){let n=t[i[0]];if(n!==void 0){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let s=0,o=n.length;s0&&console.error("THREE.Points.updateMorphTargets() does not support THREE.Geometry. Use THREE.BufferGeometry instead.")}}};Vu.prototype.isPoints=!0;function Xf(r,e,t,i,n,s,o){let a=zu.distanceSqToPoint(r);if(an.far)return;s.push({distance:c,distanceToRay:Math.sqrt(a),point:l,index:e,face:null,object:o})}}var Uu=class extends lt{constructor(e,t,i,n,s,o,a,l,c){super(e,t,i,n,s,o,a,l,c),this.minFilter=o!==void 0?o:Rt,this.magFilter=s!==void 0?s:Rt,this.generateMipmaps=!1;let u=this;function h(){u.needsUpdate=!0,e.requestVideoFrameCallback(h)}"requestVideoFrameCallback"in e&&e.requestVideoFrameCallback(h)}clone(){return new this.constructor(this.image).copy(this)}update(){let e=this.image;"requestVideoFrameCallback"in e===!1&&e.readyState>=e.HAVE_CURRENT_DATA&&(this.needsUpdate=!0)}};Uu.prototype.isVideoTexture=!0;var Hu=class extends lt{constructor(e,t,i){super({width:e,height:t}),this.format=i,this.magFilter=vt,this.minFilter=vt,this.generateMipmaps=!1,this.needsUpdate=!0}};Hu.prototype.isFramebufferTexture=!0;var Gu=class extends lt{constructor(e,t,i,n,s,o,a,l,c,u,h,d){super(null,o,a,l,c,u,n,s,h,d),this.image={width:t,height:i},this.mipmaps=e,this.flipY=!1,this.generateMipmaps=!1}};Gu.prototype.isCompressedTexture=!0;var qu=class extends lt{constructor(e,t,i,n,s,o,a,l,c){super(e,t,i,n,s,o,a,l,c),this.needsUpdate=!0}};qu.prototype.isCanvasTexture=!0;var oM=new P,aM=new P,lM=new P,cM=new Lt;var Gt=class{constructor(){this.type="Curve",this.arcLengthDivisions=200}getPoint(){return console.warn("THREE.Curve: .getPoint() not implemented."),null}getPointAt(e,t){let i=this.getUtoTmapping(e);return this.getPoint(i,t)}getPoints(e=5){let t=[];for(let i=0;i<=e;i++)t.push(this.getPoint(i/e));return t}getSpacedPoints(e=5){let t=[];for(let i=0;i<=e;i++)t.push(this.getPointAt(i/e));return t}getLength(){let e=this.getLengths();return e[e.length-1]}getLengths(e=this.arcLengthDivisions){if(this.cacheArcLengths&&this.cacheArcLengths.length===e+1&&!this.needsUpdate)return this.cacheArcLengths;this.needsUpdate=!1;let t=[],i,n=this.getPoint(0),s=0;t.push(0);for(let o=1;o<=e;o++)i=this.getPoint(o/e),s+=i.distanceTo(n),t.push(s),n=i;return this.cacheArcLengths=t,t}updateArcLengths(){this.needsUpdate=!0,this.getLengths()}getUtoTmapping(e,t){let i=this.getLengths(),n=0,s=i.length,o;t?o=t:o=e*i[s-1];let a=0,l=s-1,c;for(;a<=l;)if(n=Math.floor(a+(l-a)/2),c=i[n]-o,c<0)a=n+1;else if(c>0)l=n-1;else{l=n;break}if(n=l,i[n]===o)return n/(s-1);let u=i[n],d=i[n+1]-u,p=(o-u)/d;return(n+p)/(s-1)}getTangent(e,t){let n=e-1e-4,s=e+1e-4;n<0&&(n=0),s>1&&(s=1);let o=this.getPoint(n),a=this.getPoint(s),l=t||(o.isVector2?new ee:new P);return l.copy(a).sub(o).normalize(),l}getTangentAt(e,t){let i=this.getUtoTmapping(e);return this.getTangent(i,t)}computeFrenetFrames(e,t){let i=new P,n=[],s=[],o=[],a=new P,l=new Ee;for(let p=0;p<=e;p++){let m=p/e;n[p]=this.getTangentAt(m,new P)}s[0]=new P,o[0]=new P;let c=Number.MAX_VALUE,u=Math.abs(n[0].x),h=Math.abs(n[0].y),d=Math.abs(n[0].z);u<=c&&(c=u,i.set(1,0,0)),h<=c&&(c=h,i.set(0,1,0)),d<=c&&i.set(0,0,1),a.crossVectors(n[0],i).normalize(),s[0].crossVectors(n[0],a),o[0].crossVectors(n[0],s[0]);for(let p=1;p<=e;p++){if(s[p]=s[p-1].clone(),o[p]=o[p-1].clone(),a.crossVectors(n[p-1],n[p]),a.length()>Number.EPSILON){a.normalize();let m=Math.acos(Ut(n[p-1].dot(n[p]),-1,1));s[p].applyMatrix4(l.makeRotationAxis(a,m))}o[p].crossVectors(n[p],s[p])}if(t===!0){let p=Math.acos(Ut(s[0].dot(s[e]),-1,1));p/=e,n[0].dot(a.crossVectors(s[0],s[e]))>0&&(p=-p);for(let m=1;m<=e;m++)s[m].applyMatrix4(l.makeRotationAxis(n[m],p*m)),o[m].crossVectors(n[m],s[m])}return{tangents:n,normals:s,binormals:o}}clone(){return new this.constructor().copy(this)}copy(e){return this.arcLengthDivisions=e.arcLengthDivisions,this}toJSON(){let e={metadata:{version:4.5,type:"Curve",generator:"Curve.toJSON"}};return e.arcLengthDivisions=this.arcLengthDivisions,e.type=this.type,e}fromJSON(e){return this.arcLengthDivisions=e.arcLengthDivisions,this}},Us=class extends Gt{constructor(e=0,t=0,i=1,n=1,s=0,o=Math.PI*2,a=!1,l=0){super(),this.type="EllipseCurve",this.aX=e,this.aY=t,this.xRadius=i,this.yRadius=n,this.aStartAngle=s,this.aEndAngle=o,this.aClockwise=a,this.aRotation=l}getPoint(e,t){let i=t||new ee,n=Math.PI*2,s=this.aEndAngle-this.aStartAngle,o=Math.abs(s)n;)s-=n;s0?0:(Math.floor(Math.abs(a)/s)+1)*s:l===0&&a===s-1&&(a=s-2,l=1);let c,u;this.closed||a>0?c=n[(a-1)%s]:(wa.subVectors(n[0],n[1]).add(n[0]),c=wa);let h=n[a%s],d=n[(a+1)%s];if(this.closed||a+2n.length-2?n.length-1:o+1],h=n[o>n.length-3?n.length-1:o+2];return i.set(Yf(a,l.x,c.x,u.x,h.x),Yf(a,l.y,c.y,u.y,h.y)),i}copy(e){super.copy(e),this.points=[];for(let t=0,i=e.points.length;t=i){let o=n[s]-i,a=this.curves[s],l=a.getLength(),c=l===0?0:1-o/l;return a.getPointAt(c,t)}s++}return null}getLength(){let e=this.getCurveLengths();return e[e.length-1]}updateArcLengths(){this.needsUpdate=!0,this.cacheLengths=null,this.getCurveLengths()}getCurveLengths(){if(this.cacheLengths&&this.cacheLengths.length===this.curves.length)return this.cacheLengths;let e=[],t=0;for(let i=0,n=this.curves.length;i1&&!t[t.length-1].equals(t[0])&&t.push(t[0]),t}copy(e){super.copy(e),this.curves=[];for(let t=0,i=e.curves.length;t0){let h=c.getPoint(0);h.equals(this.currentPoint)||this.lineTo(h.x,h.y)}this.curves.push(c);let u=c.getPoint(1);return this.currentPoint.copy(u),this}copy(e){return super.copy(e),this.currentPoint.copy(e.currentPoint),this}toJSON(){let e=super.toJSON();return e.currentPoint=this.currentPoint.toArray(),e}fromJSON(e){return super.fromJSON(e),this.currentPoint.fromArray(e.currentPoint),this}},Wn=class extends eo{constructor(e){super(e),this.uuid=pi(),this.type="Shape",this.holes=[]}getPointsHoles(e){let t=[];for(let i=0,n=this.holes.length;i80*t){a=c=r[0],l=u=r[1];for(let m=t;mc&&(c=h),d>u&&(u=d);p=Math.max(c-a,u-l),p=p!==0?1/p:0}return to(s,o,t,a,l,p),o}};function Mm(r,e,t,i,n){let s,o;if(n===E_(r,e,t,i)>0)for(s=e;s=e;s-=i)o=Zf(s,r[s],r[s+1],o);return o&&ol(o,o.next)&&(no(o),o=o.next),o}function En(r,e){if(!r)return r;e||(e=r);let t=r,i;do if(i=!1,!t.steiner&&(ol(t,t.next)||rt(t.prev,t,t.next)===0)){if(no(t),t=e=t.prev,t===t.next)break;i=!0}else t=t.next;while(i||t!==e);return e}function to(r,e,t,i,n,s,o){if(!r)return;!o&&s&&y_(r,i,n,s);let a=r,l,c;for(;r.prev!==r.next;){if(l=r.prev,c=r.next,s?c_(r,i,n,s):l_(r)){e.push(l.i/t),e.push(r.i/t),e.push(c.i/t),no(r),r=c.next,a=c.next;continue}if(r=c,r===a){o?o===1?(r=u_(En(r),e,t),to(r,e,t,i,n,s,2)):o===2&&h_(r,e,t,i,n,s):to(En(r),e,t,i,n,s,1);break}}}function l_(r){let e=r.prev,t=r,i=r.next;if(rt(e,t,i)>=0)return!1;let n=r.next.next;for(;n!==r.prev;){if(Ts(e.x,e.y,t.x,t.y,i.x,i.y,n.x,n.y)&&rt(n.prev,n,n.next)>=0)return!1;n=n.next}return!0}function c_(r,e,t,i){let n=r.prev,s=r,o=r.next;if(rt(n,s,o)>=0)return!1;let a=n.xs.x?n.x>o.x?n.x:o.x:s.x>o.x?s.x:o.x,u=n.y>s.y?n.y>o.y?n.y:o.y:s.y>o.y?s.y:o.y,h=ju(a,l,e,t,i),d=ju(c,u,e,t,i),p=r.prevZ,m=r.nextZ;for(;p&&p.z>=h&&m&&m.z<=d;){if(p!==r.prev&&p!==r.next&&Ts(n.x,n.y,s.x,s.y,o.x,o.y,p.x,p.y)&&rt(p.prev,p,p.next)>=0||(p=p.prevZ,m!==r.prev&&m!==r.next&&Ts(n.x,n.y,s.x,s.y,o.x,o.y,m.x,m.y)&&rt(m.prev,m,m.next)>=0))return!1;m=m.nextZ}for(;p&&p.z>=h;){if(p!==r.prev&&p!==r.next&&Ts(n.x,n.y,s.x,s.y,o.x,o.y,p.x,p.y)&&rt(p.prev,p,p.next)>=0)return!1;p=p.prevZ}for(;m&&m.z<=d;){if(m!==r.prev&&m!==r.next&&Ts(n.x,n.y,s.x,s.y,o.x,o.y,m.x,m.y)&&rt(m.prev,m,m.next)>=0)return!1;m=m.nextZ}return!0}function u_(r,e,t){let i=r;do{let n=i.prev,s=i.next.next;!ol(n,s)&&Dm(n,i,i.next,s)&&io(n,s)&&io(s,n)&&(e.push(n.i/t),e.push(i.i/t),e.push(s.i/t),no(i),no(i.next),i=r=s),i=i.next}while(i!==r);return En(i)}function h_(r,e,t,i,n,s){let o=r;do{let a=o.next.next;for(;a!==o.prev;){if(o.i!==a.i&&w_(o,a)){let l=Tm(o,a);o=En(o,o.next),l=En(l,l.next),to(o,e,t,i,n,s),to(l,e,t,i,n,s);return}a=a.next}o=o.next}while(o!==r)}function d_(r,e,t,i){let n=[],s,o,a,l,c;for(s=0,o=e.length;s=t.next.y&&t.next.y!==t.y){let d=t.x+(n-t.y)*(t.next.x-t.x)/(t.next.y-t.y);if(d<=i&&d>s){if(s=d,d===i){if(n===t.y)return t;if(n===t.next.y)return t.next}o=t.x=t.x&&t.x>=l&&i!==t.x&&Ts(no.x||t.x===o.x&&g_(o,t)))&&(o=t,u=h)),t=t.next;while(t!==a);return o}function g_(r,e){return rt(r.prev,r,e.prev)<0&&rt(e.next,r,r.next)<0}function y_(r,e,t,i){let n=r;do n.z===null&&(n.z=ju(n.x,n.y,e,t,i)),n.prevZ=n.prev,n.nextZ=n.next,n=n.next;while(n!==r);n.prevZ.nextZ=null,n.prevZ=null,x_(n)}function x_(r){let e,t,i,n,s,o,a,l,c=1;do{for(t=r,r=null,s=null,o=0;t;){for(o++,i=t,a=0,e=0;e0||l>0&&i;)a!==0&&(l===0||!i||t.z<=i.z)?(n=t,t=t.nextZ,a--):(n=i,i=i.nextZ,l--),s?s.nextZ=n:r=n,n.prevZ=s,s=n;t=i}s.nextZ=null,c*=2}while(o>1);return r}function ju(r,e,t,i,n){return r=32767*(r-t)*n,e=32767*(e-i)*n,r=(r|r<<8)&16711935,r=(r|r<<4)&252645135,r=(r|r<<2)&858993459,r=(r|r<<1)&1431655765,e=(e|e<<8)&16711935,e=(e|e<<4)&252645135,e=(e|e<<2)&858993459,e=(e|e<<1)&1431655765,r|e<<1}function v_(r){let e=r,t=r;do(e.x=0&&(r-o)*(i-a)-(t-o)*(e-a)>=0&&(t-o)*(s-a)-(n-o)*(i-a)>=0}function w_(r,e){return r.next.i!==e.i&&r.prev.i!==e.i&&!b_(r,e)&&(io(r,e)&&io(e,r)&&__(r,e)&&(rt(r.prev,r,e.prev)||rt(r,e.prev,e))||ol(r,e)&&rt(r.prev,r,r.next)>0&&rt(e.prev,e,e.next)>0)}function rt(r,e,t){return(e.y-r.y)*(t.x-e.x)-(e.x-r.x)*(t.y-e.y)}function ol(r,e){return r.x===e.x&&r.y===e.y}function Dm(r,e,t,i){let n=_a(rt(r,e,t)),s=_a(rt(r,e,i)),o=_a(rt(t,i,r)),a=_a(rt(t,i,e));return!!(n!==s&&o!==a||n===0&&ba(r,t,e)||s===0&&ba(r,i,e)||o===0&&ba(t,r,i)||a===0&&ba(t,e,i))}function ba(r,e,t){return e.x<=Math.max(r.x,t.x)&&e.x>=Math.min(r.x,t.x)&&e.y<=Math.max(r.y,t.y)&&e.y>=Math.min(r.y,t.y)}function _a(r){return r>0?1:r<0?-1:0}function b_(r,e){let t=r;do{if(t.i!==r.i&&t.next.i!==r.i&&t.i!==e.i&&t.next.i!==e.i&&Dm(t,t.next,r,e))return!0;t=t.next}while(t!==r);return!1}function io(r,e){return rt(r.prev,r,r.next)<0?rt(r,e,r.next)>=0&&rt(r,r.prev,e)>=0:rt(r,e,r.prev)<0||rt(r,r.next,e)<0}function __(r,e){let t=r,i=!1,n=(r.x+e.x)/2,s=(r.y+e.y)/2;do t.y>s!=t.next.y>s&&t.next.y!==t.y&&n<(t.next.x-t.x)*(s-t.y)/(t.next.y-t.y)+t.x&&(i=!i),t=t.next;while(t!==r);return i}function Tm(r,e){let t=new Xu(r.i,r.x,r.y),i=new Xu(e.i,e.x,e.y),n=r.next,s=e.prev;return r.next=e,e.prev=r,t.next=n,n.prev=t,i.next=t,t.prev=i,s.next=i,i.prev=s,i}function Zf(r,e,t,i){let n=new Xu(r,e,t);return i?(n.next=i.next,n.prev=i,i.next.prev=n,i.next=n):(n.prev=n,n.next=n),n}function no(r){r.next.prev=r.prev,r.prev.next=r.next,r.prevZ&&(r.prevZ.nextZ=r.nextZ),r.nextZ&&(r.nextZ.prevZ=r.prevZ)}function Xu(r,e,t){this.i=r,this.x=e,this.y=t,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}function E_(r,e,t,i){let n=0;for(let s=e,o=t-i;s2&&r[e-1].equals(r[0])&&r.pop()}function Kf(r,e){for(let t=0;tNumber.EPSILON){let J=Math.sqrt(I),se=Math.sqrt(Ze*Ze+je*je),xe=ie.x-Oe/J,Y=ie.y+Re/J,be=te.x-je/se,ve=te.y+Ze/se,he=((be-xe)*je-(ve-Y)*Ze)/(Re*je-Oe*Ze);fe=xe+Re*he-Z.x,de=Y+Oe*he-Z.y;let le=fe*fe+de*de;if(le<=2)return new ee(fe,de);Se=Math.sqrt(le/2)}else{let J=!1;Re>Number.EPSILON?Ze>Number.EPSILON&&(J=!0):Re<-Number.EPSILON?Ze<-Number.EPSILON&&(J=!0):Math.sign(Oe)===Math.sign(je)&&(J=!0),J?(fe=-Oe,de=Re,Se=Math.sqrt(I)):(fe=Re,de=Oe,Se=Math.sqrt(I/2))}return new ee(fe/Se,de/Se)}let V=[];for(let Z=0,ie=B.length,te=ie-1,fe=Z+1;Z=0;Z--){let ie=Z/x,te=p*Math.cos(ie*Math.PI/2),fe=m*Math.sin(ie*Math.PI/2)+y;for(let de=0,Se=B.length;de=0;){let fe=te,de=te-1;de<0&&(de=Z.length-1);for(let Se=0,Re=u+x*2;Se0!=e>0&&this.version++,this._sheen=e}get clearcoat(){return this._clearcoat}set clearcoat(e){this._clearcoat>0!=e>0&&this.version++,this._clearcoat=e}get transmission(){return this._transmission}set transmission(e){this._transmission>0!=e>0&&this.version++,this._transmission=e}copy(e){return super.copy(e),this.defines={STANDARD:"",PHYSICAL:""},this.clearcoat=e.clearcoat,this.clearcoatMap=e.clearcoatMap,this.clearcoatRoughness=e.clearcoatRoughness,this.clearcoatRoughnessMap=e.clearcoatRoughnessMap,this.clearcoatNormalMap=e.clearcoatNormalMap,this.clearcoatNormalScale.copy(e.clearcoatNormalScale),this.ior=e.ior,this.sheen=e.sheen,this.sheenColor.copy(e.sheenColor),this.sheenColorMap=e.sheenColorMap,this.sheenRoughness=e.sheenRoughness,this.sheenRoughnessMap=e.sheenRoughnessMap,this.transmission=e.transmission,this.transmissionMap=e.transmissionMap,this.thickness=e.thickness,this.thicknessMap=e.thicknessMap,this.attenuationDistance=e.attenuationDistance,this.attenuationColor.copy(e.attenuationColor),this.specularIntensity=e.specularIntensity,this.specularIntensityMap=e.specularIntensityMap,this.specularColor.copy(e.specularColor),this.specularColorMap=e.specularColorMap,this}};Zu.prototype.isMeshPhysicalMaterial=!0;var qs=class extends ft{constructor(e){super(),this.type="MeshPhongMaterial",this.color=new ye(16777215),this.specular=new ye(1118481),this.shininess=30,this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.emissive=new ye(0),this.emissiveIntensity=1,this.emissiveMap=null,this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=Xs,this.normalScale=new ee(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.specularMap=null,this.alphaMap=null,this.envMap=null,this.combine=il,this.reflectivity=1,this.refractionRatio=.98,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.flatShading=!1,this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.specular.copy(e.specular),this.shininess=e.shininess,this.map=e.map,this.lightMap=e.lightMap,this.lightMapIntensity=e.lightMapIntensity,this.aoMap=e.aoMap,this.aoMapIntensity=e.aoMapIntensity,this.emissive.copy(e.emissive),this.emissiveMap=e.emissiveMap,this.emissiveIntensity=e.emissiveIntensity,this.bumpMap=e.bumpMap,this.bumpScale=e.bumpScale,this.normalMap=e.normalMap,this.normalMapType=e.normalMapType,this.normalScale.copy(e.normalScale),this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.specularMap=e.specularMap,this.alphaMap=e.alphaMap,this.envMap=e.envMap,this.combine=e.combine,this.reflectivity=e.reflectivity,this.refractionRatio=e.refractionRatio,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.wireframeLinecap=e.wireframeLinecap,this.wireframeLinejoin=e.wireframeLinejoin,this.flatShading=e.flatShading,this}};qs.prototype.isMeshPhongMaterial=!0;var Ju=class extends ft{constructor(e){super(),this.defines={TOON:""},this.type="MeshToonMaterial",this.color=new ye(16777215),this.map=null,this.gradientMap=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.emissive=new ye(0),this.emissiveIntensity=1,this.emissiveMap=null,this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=Xs,this.normalScale=new ee(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.alphaMap=null,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.map=e.map,this.gradientMap=e.gradientMap,this.lightMap=e.lightMap,this.lightMapIntensity=e.lightMapIntensity,this.aoMap=e.aoMap,this.aoMapIntensity=e.aoMapIntensity,this.emissive.copy(e.emissive),this.emissiveMap=e.emissiveMap,this.emissiveIntensity=e.emissiveIntensity,this.bumpMap=e.bumpMap,this.bumpScale=e.bumpScale,this.normalMap=e.normalMap,this.normalMapType=e.normalMapType,this.normalScale.copy(e.normalScale),this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.alphaMap=e.alphaMap,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.wireframeLinecap=e.wireframeLinecap,this.wireframeLinejoin=e.wireframeLinejoin,this}};Ju.prototype.isMeshToonMaterial=!0;var Ku=class extends ft{constructor(e){super(),this.type="MeshNormalMaterial",this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=Xs,this.normalScale=new ee(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.wireframe=!1,this.wireframeLinewidth=1,this.fog=!1,this.flatShading=!1,this.setValues(e)}copy(e){return super.copy(e),this.bumpMap=e.bumpMap,this.bumpScale=e.bumpScale,this.normalMap=e.normalMap,this.normalMapType=e.normalMapType,this.normalScale.copy(e.normalScale),this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.flatShading=e.flatShading,this}};Ku.prototype.isMeshNormalMaterial=!0;var Qu=class extends ft{constructor(e){super(),this.type="MeshLambertMaterial",this.color=new ye(16777215),this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.emissive=new ye(0),this.emissiveIntensity=1,this.emissiveMap=null,this.specularMap=null,this.alphaMap=null,this.envMap=null,this.combine=il,this.reflectivity=1,this.refractionRatio=.98,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.map=e.map,this.lightMap=e.lightMap,this.lightMapIntensity=e.lightMapIntensity,this.aoMap=e.aoMap,this.aoMapIntensity=e.aoMapIntensity,this.emissive.copy(e.emissive),this.emissiveMap=e.emissiveMap,this.emissiveIntensity=e.emissiveIntensity,this.specularMap=e.specularMap,this.alphaMap=e.alphaMap,this.envMap=e.envMap,this.combine=e.combine,this.reflectivity=e.reflectivity,this.refractionRatio=e.refractionRatio,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.wireframeLinecap=e.wireframeLinecap,this.wireframeLinejoin=e.wireframeLinejoin,this}};Qu.prototype.isMeshLambertMaterial=!0;var eh=class extends ft{constructor(e){super(),this.defines={MATCAP:""},this.type="MeshMatcapMaterial",this.color=new ye(16777215),this.matcap=null,this.map=null,this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=Xs,this.normalScale=new ee(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.alphaMap=null,this.flatShading=!1,this.setValues(e)}copy(e){return super.copy(e),this.defines={MATCAP:""},this.color.copy(e.color),this.matcap=e.matcap,this.map=e.map,this.bumpMap=e.bumpMap,this.bumpScale=e.bumpScale,this.normalMap=e.normalMap,this.normalMapType=e.normalMapType,this.normalScale.copy(e.normalScale),this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.alphaMap=e.alphaMap,this.flatShading=e.flatShading,this}};eh.prototype.isMeshMatcapMaterial=!0;var th=class extends qn{constructor(e){super(),this.type="LineDashedMaterial",this.scale=1,this.dashSize=3,this.gapSize=1,this.setValues(e)}copy(e){return super.copy(e),this.scale=e.scale,this.dashSize=e.dashSize,this.gapSize=e.gapSize,this}};th.prototype.isLineDashedMaterial=!0;var it={arraySlice:function(r,e,t){return it.isTypedArray(r)?new r.constructor(r.subarray(e,t!==void 0?t:r.length)):r.slice(e,t)},convertArray:function(r,e,t){return!r||!t&&r.constructor===e?r:typeof e.BYTES_PER_ELEMENT=="number"?new e(r):Array.prototype.slice.call(r)},isTypedArray:function(r){return ArrayBuffer.isView(r)&&!(r instanceof DataView)},getKeyframeOrder:function(r){function e(n,s){return r[n]-r[s]}let t=r.length,i=new Array(t);for(let n=0;n!==t;++n)i[n]=n;return i.sort(e),i},sortedArray:function(r,e,t){let i=r.length,n=new r.constructor(i);for(let s=0,o=0;o!==i;++s){let a=t[s]*e;for(let l=0;l!==e;++l)n[o++]=r[a+l]}return n},flattenJSON:function(r,e,t,i){let n=1,s=r[0];for(;s!==void 0&&s[i]===void 0;)s=r[n++];if(s===void 0)return;let o=s[i];if(o!==void 0)if(Array.isArray(o))do o=s[i],o!==void 0&&(e.push(s.time),t.push.apply(t,o)),s=r[n++];while(s!==void 0);else if(o.toArray!==void 0)do o=s[i],o!==void 0&&(e.push(s.time),o.toArray(t,t.length)),s=r[n++];while(s!==void 0);else do o=s[i],o!==void 0&&(e.push(s.time),t.push(o)),s=r[n++];while(s!==void 0)},subclip:function(r,e,t,i,n=30){let s=r.clone();s.name=e;let o=[];for(let l=0;l=i)){h.push(c.times[p]);for(let y=0;ys.tracks[l].times[0]&&(a=s.tracks[l].times[0]);for(let l=0;l=a.times[m]){let g=m*h+u,f=g+h-u;y=it.arraySlice(a.values,g,f)}else{let g=a.createInterpolant(),f=u,E=h-u;g.evaluate(s),y=it.arraySlice(g.resultBuffer,f,E)}l==="quaternion"&&new Ft().fromArray(y).normalize().conjugate().toArray(y);let x=c.times.length;for(let g=0;g=s)){let a=t[1];e=s)break t}o=i,i=0;break i}break e}for(;i>>1;et;)--o;if(++o,s!==0||o!==n){s>=o&&(o=Math.max(o,1),s=o-1);let a=this.getValueSize();this.times=it.arraySlice(i,s,o),this.values=it.arraySlice(this.values,s*a,o*a)}return this}validate(){let e=!0,t=this.getValueSize();t-Math.floor(t)!==0&&(console.error("THREE.KeyframeTrack: Invalid value size in track.",this),e=!1);let i=this.times,n=this.values,s=i.length;s===0&&(console.error("THREE.KeyframeTrack: Track is empty.",this),e=!1);let o=null;for(let a=0;a!==s;a++){let l=i[a];if(typeof l=="number"&&isNaN(l)){console.error("THREE.KeyframeTrack: Time is not a valid number.",this,a,l),e=!1;break}if(o!==null&&o>l){console.error("THREE.KeyframeTrack: Out of order keys.",this,a,l,o),e=!1;break}o=l}if(n!==void 0&&it.isTypedArray(n))for(let a=0,l=n.length;a!==l;++a){let c=n[a];if(isNaN(c)){console.error("THREE.KeyframeTrack: Value is not a valid number.",this,a,c),e=!1;break}}return e}optimize(){let e=it.arraySlice(this.times),t=it.arraySlice(this.values),i=this.getValueSize(),n=this.getInterpolation()===kc,s=e.length-1,o=1;for(let a=1;a0){e[o]=e[s];for(let a=s*i,l=o*i,c=0;c!==i;++c)t[l+c]=t[a+c];++o}return o!==e.length?(this.times=it.arraySlice(e,0,o),this.values=it.arraySlice(t,0,o*i)):(this.times=e,this.values=t),this}clone(){let e=it.arraySlice(this.times,0),t=it.arraySlice(this.values,0),i=this.constructor,n=new i(this.name,e,t);return n.createInterpolant=this.createInterpolant,n}};ni.prototype.TimeBufferType=Float32Array;ni.prototype.ValueBufferType=Float32Array;ni.prototype.DefaultInterpolation=Ta;var An=class extends ni{};An.prototype.ValueTypeName="bool";An.prototype.ValueBufferType=Array;An.prototype.DefaultInterpolation=Da;An.prototype.InterpolantFactoryMethodLinear=void 0;An.prototype.InterpolantFactoryMethodSmooth=void 0;var Ya=class extends ni{};Ya.prototype.ValueTypeName="color";var Ws=class extends ni{};Ws.prototype.ValueTypeName="number";var sh=class extends Ri{constructor(e,t,i,n){super(e,t,i,n)}interpolate_(e,t,i,n){let s=this.resultBuffer,o=this.sampleValues,a=this.valueSize,l=(i-t)/(n-t),c=e*a;for(let u=c+a;c!==u;c+=4)Ft.slerpFlat(s,0,o,c-a,o,c,l);return s}},$n=class extends ni{InterpolantFactoryMethodLinear(e){return new sh(this.times,this.values,this.getValueSize(),e)}};$n.prototype.ValueTypeName="quaternion";$n.prototype.DefaultInterpolation=Ta;$n.prototype.InterpolantFactoryMethodSmooth=void 0;var Sn=class extends ni{};Sn.prototype.ValueTypeName="string";Sn.prototype.ValueBufferType=Array;Sn.prototype.DefaultInterpolation=Da;Sn.prototype.InterpolantFactoryMethodLinear=void 0;Sn.prototype.InterpolantFactoryMethodSmooth=void 0;var $s=class extends ni{};$s.prototype.ValueTypeName="vector";var Za=class{constructor(e,t=-1,i,n=Ih){this.name=e,this.tracks=i,this.duration=t,this.blendMode=n,this.uuid=pi(),this.duration<0&&this.resetDuration()}static parse(e){let t=[],i=e.tracks,n=1/(e.fps||1);for(let o=0,a=i.length;o!==a;++o)t.push(T_(i[o]).scale(n));let s=new this(e.name,e.duration,t,e.blendMode);return s.uuid=e.uuid,s}static toJSON(e){let t=[],i=e.tracks,n={name:e.name,duration:e.duration,tracks:t,uuid:e.uuid,blendMode:e.blendMode};for(let s=0,o=i.length;s!==o;++s)t.push(ni.toJSON(i[s]));return n}static CreateFromMorphTargetSequence(e,t,i,n){let s=t.length,o=[];for(let a=0;a1){let h=u[1],d=n[h];d||(n[h]=d=[]),d.push(c)}}let o=[];for(let a in n)o.push(this.CreateFromMorphTargetSequence(a,n[a],t,i));return o}static parseAnimation(e,t){if(!e)return console.error("THREE.AnimationClip: No animation in JSONLoader data."),null;let i=function(h,d,p,m,y){if(p.length!==0){let x=[],g=[];it.flattenJSON(p,x,g,m),x.length!==0&&y.push(new h(d,x,g))}},n=[],s=e.name||"default",o=e.fps||30,a=e.blendMode,l=e.length||-1,c=e.hierarchy||[];for(let h=0;h{t&&t(s),this.manager.itemEnd(e)},0),s;if(ji[e]!==void 0){ji[e].push({onLoad:t,onProgress:i,onError:n});return}ji[e]=[],ji[e].push({onLoad:t,onProgress:i,onError:n});let o=new Request(e,{headers:new Headers(this.requestHeader),credentials:this.withCredentials?"include":"same-origin"}),a=this.mimeType,l=this.responseType;fetch(o).then(c=>{if(c.status===200||c.status===0){if(c.status===0&&console.warn("THREE.FileLoader: HTTP Status 0 received."),typeof ReadableStream>"u"||c.body.getReader===void 0)return c;let u=ji[e],h=c.body.getReader(),d=c.headers.get("Content-Length"),p=d?parseInt(d):0,m=p!==0,y=0,x=new ReadableStream({start(g){f();function f(){h.read().then(({done:E,value:w})=>{if(E)g.close();else{y+=w.byteLength;let _=new ProgressEvent("progress",{lengthComputable:m,loaded:y,total:p});for(let M=0,T=u.length;M{switch(l){case"arraybuffer":return c.arrayBuffer();case"blob":return c.blob();case"document":return c.text().then(u=>new DOMParser().parseFromString(u,a));case"json":return c.json();default:if(a===void 0)return c.text();{let h=/charset="?([^;"\s]*)"?/i.exec(a),d=h&&h[1]?h[1].toLowerCase():void 0,p=new TextDecoder(d);return c.arrayBuffer().then(m=>p.decode(m))}}}).then(c=>{js.add(e,c);let u=ji[e];delete ji[e];for(let h=0,d=u.length;h{let u=ji[e];if(u===void 0)throw this.manager.itemError(e),c;delete ji[e];for(let h=0,d=u.length;h{this.manager.itemEnd(e)}),this.manager.itemStart(e)}setResponseType(e){return this.responseType=e,this}setMimeType(e){return this.mimeType=e,this}};var Ja=class extends Fi{constructor(e){super(e)}load(e,t,i,n){this.path!==void 0&&(e=this.path+e),e=this.manager.resolveURL(e);let s=this,o=js.get(e);if(o!==void 0)return s.manager.itemStart(e),setTimeout(function(){t&&t(o),s.manager.itemEnd(e)},0),o;let a=kr("img");function l(){u(),js.add(e,this),t&&t(this),s.manager.itemEnd(e)}function c(h){u(),n&&n(h),s.manager.itemError(e),s.manager.itemEnd(e)}function u(){a.removeEventListener("load",l,!1),a.removeEventListener("error",c,!1)}return a.addEventListener("load",l,!1),a.addEventListener("error",c,!1),e.substr(0,5)!=="data:"&&this.crossOrigin!==void 0&&(a.crossOrigin=this.crossOrigin),s.manager.itemStart(e),a.src=e,a}},ah=class extends Fi{constructor(e){super(e)}load(e,t,i,n){let s=new ks,o=new Ja(this.manager);o.setCrossOrigin(this.crossOrigin),o.setPath(this.path);let a=0;function l(c){o.load(e[c],function(u){s.images[c]=u,a++,a===6&&(s.needsUpdate=!0,t&&t(s))},void 0,n)}for(let c=0;c"u"&&console.warn("THREE.ImageBitmapLoader: createImageBitmap() not supported."),typeof fetch>"u"&&console.warn("THREE.ImageBitmapLoader: fetch() not supported."),this.options={premultiplyAlpha:"none"}}setOptions(e){return this.options=e,this}load(e,t,i,n){e===void 0&&(e=""),this.path!==void 0&&(e=this.path+e),e=this.manager.resolveURL(e);let s=this,o=js.get(e);if(o!==void 0)return s.manager.itemStart(e),setTimeout(function(){t&&t(o),s.manager.itemEnd(e)},0),o;let a={};a.credentials=this.crossOrigin==="anonymous"?"same-origin":"include",a.headers=this.requestHeader,fetch(e,a).then(function(l){return l.blob()}).then(function(l){return createImageBitmap(l,Object.assign(s.options,{colorSpaceConversion:"none"}))}).then(function(l){js.add(e,l),t&&t(l),s.manager.itemEnd(e)}).catch(function(l){n&&n(l),s.manager.itemError(e),s.manager.itemEnd(e)}),s.manager.itemStart(e)}};mh.prototype.isImageBitmapLoader=!0;var Ea,R_={getContext:function(){return Ea===void 0&&(Ea=new(window.AudioContext||window.webkitAudioContext)),Ea},setContext:function(r){Ea=r}},gh=class extends Fi{constructor(e){super(e)}load(e,t,i,n){let s=this,o=new oh(this.manager);o.setResponseType("arraybuffer"),o.setPath(this.path),o.setRequestHeader(this.requestHeader),o.setWithCredentials(this.withCredentials),o.load(e,function(a){try{let l=a.slice(0);R_.getContext().decodeAudioData(l,function(u){t(u)})}catch(l){n?n(l):console.error(l),s.manager.itemError(e)}},i,n)}},yh=class extends lo{constructor(e,t,i=1){super(void 0,i);let n=new ye().set(e),s=new ye().set(t),o=new P(n.r,n.g,n.b),a=new P(s.r,s.g,s.b),l=Math.sqrt(Math.PI),c=l*Math.sqrt(.75);this.sh.coefficients[0].copy(o).add(a).multiplyScalar(l),this.sh.coefficients[1].copy(o).sub(a).multiplyScalar(c)}};yh.prototype.isHemisphereLightProbe=!0;var xh=class extends lo{constructor(e,t=1){super(void 0,t);let i=new ye().set(e);this.sh.coefficients[0].set(i.r,i.g,i.b).multiplyScalar(2*Math.sqrt(Math.PI))}};xh.prototype.isAmbientLightProbe=!0;var vh=class extends Ge{constructor(e){super(),this.type="Audio",this.listener=e,this.context=e.context,this.gain=this.context.createGain(),this.gain.connect(e.getInput()),this.autoplay=!1,this.buffer=null,this.detune=0,this.loop=!1,this.loopStart=0,this.loopEnd=0,this.offset=0,this.duration=void 0,this.playbackRate=1,this.isPlaying=!1,this.hasPlaybackControl=!0,this.source=null,this.sourceType="empty",this._startedAt=0,this._progress=0,this._connected=!1,this.filters=[]}getOutput(){return this.gain}setNodeSource(e){return this.hasPlaybackControl=!1,this.sourceType="audioNode",this.source=e,this.connect(),this}setMediaElementSource(e){return this.hasPlaybackControl=!1,this.sourceType="mediaNode",this.source=this.context.createMediaElementSource(e),this.connect(),this}setMediaStreamSource(e){return this.hasPlaybackControl=!1,this.sourceType="mediaStreamNode",this.source=this.context.createMediaStreamSource(e),this.connect(),this}setBuffer(e){return this.buffer=e,this.sourceType="buffer",this.autoplay&&this.play(),this}play(e=0){if(this.isPlaying===!0){console.warn("THREE.Audio: Audio is already playing.");return}if(this.hasPlaybackControl===!1){console.warn("THREE.Audio: this Audio has no playback control.");return}this._startedAt=this.context.currentTime+e;let t=this.context.createBufferSource();return t.buffer=this.buffer,t.loop=this.loop,t.loopStart=this.loopStart,t.loopEnd=this.loopEnd,t.onended=this.onEnded.bind(this),t.start(this._startedAt,this._progress+this.offset,this.duration),this.isPlaying=!0,this.source=t,this.setDetune(this.detune),this.setPlaybackRate(this.playbackRate),this.connect()}pause(){if(this.hasPlaybackControl===!1){console.warn("THREE.Audio: this Audio has no playback control.");return}return this.isPlaying===!0&&(this._progress+=Math.max(this.context.currentTime-this._startedAt,0)*this.playbackRate,this.loop===!0&&(this._progress=this._progress%(this.duration||this.buffer.duration)),this.source.stop(),this.source.onended=null,this.isPlaying=!1),this}stop(){if(this.hasPlaybackControl===!1){console.warn("THREE.Audio: this Audio has no playback control.");return}return this._progress=0,this.source.stop(),this.source.onended=null,this.isPlaying=!1,this}connect(){if(this.filters.length>0){this.source.connect(this.filters[0]);for(let e=1,t=this.filters.length;e0){this.source.disconnect(this.filters[0]);for(let e=1,t=this.filters.length;e0&&this._mixBufferRegionAdditive(i,n,this._addIndex*t,1,t);for(let l=t,c=t+t;l!==c;++l)if(i[l]!==i[l+t]){a.setValue(i,n);break}}saveOriginalState(){let e=this.binding,t=this.buffer,i=this.valueSize,n=i*this._origIndex;e.getValue(t,n);for(let s=i,o=n;s!==o;++s)t[s]=t[n+s%i];this._setIdentity(),this.cumulativeWeight=0,this.cumulativeWeightAdditive=0}restoreOriginalState(){let e=this.valueSize*3;this.binding.setValue(this.buffer,e)}_setAdditiveIdentityNumeric(){let e=this._addIndex*this.valueSize,t=e+this.valueSize;for(let i=e;i=.5)for(let o=0;o!==s;++o)e[t+o]=e[i+o]}_slerp(e,t,i,n){Ft.slerpFlat(e,t,e,t,e,i,n)}_slerpAdditive(e,t,i,n,s){let o=this._workIndex*s;Ft.multiplyQuaternionsFlat(e,o,e,t,e,i),Ft.slerpFlat(e,t,e,t,e,o,n)}_lerp(e,t,i,n,s){let o=1-n;for(let a=0;a!==s;++a){let l=t+a;e[l]=e[l]*o+e[i+a]*n}}_lerpAdditive(e,t,i,n,s){for(let o=0;o!==s;++o){let a=t+o;e[a]=e[a]+e[i+o]*n}}},Oh="\\[\\]\\.:\\/",F_=new RegExp("["+Oh+"]","g"),zh="[^"+Oh+"]",L_="[^"+Oh.replace("\\.","")+"]",B_=/((?:WC+[\/:])*)/.source.replace("WC",zh),P_=/(WCOD+)?/.source.replace("WCOD",L_),I_=/(?:\.(WC+)(?:\[(.+)\])?)?/.source.replace("WC",zh),N_=/\.(WC+)(?:\[(.+)\])?/.source.replace("WC",zh),k_=new RegExp("^"+B_+P_+I_+N_+"$"),O_=["material","materials","bones"],_h=class{constructor(e,t,i){let n=i||Xe.parseTrackName(t);this._targetGroup=e,this._bindings=e.subscribe_(t,n)}getValue(e,t){this.bind();let i=this._targetGroup.nCachedObjects_,n=this._bindings[i];n!==void 0&&n.getValue(e,t)}setValue(e,t){let i=this._bindings;for(let n=this._targetGroup.nCachedObjects_,s=i.length;n!==s;++n)i[n].setValue(e,t)}bind(){let e=this._bindings;for(let t=this._targetGroup.nCachedObjects_,i=e.length;t!==i;++t)e[t].bind()}unbind(){let e=this._bindings;for(let t=this._targetGroup.nCachedObjects_,i=e.length;t!==i;++t)e[t].unbind()}},Xe=class r{constructor(e,t,i){this.path=t,this.parsedPath=i||r.parseTrackName(t),this.node=r.findNode(e,this.parsedPath.nodeName)||e,this.rootNode=e,this.getValue=this._getValue_unbound,this.setValue=this._setValue_unbound}static create(e,t,i){return e&&e.isAnimationObjectGroup?new r.Composite(e,t,i):new r(e,t,i)}static sanitizeNodeName(e){return e.replace(/\s/g,"_").replace(F_,"")}static parseTrackName(e){let t=k_.exec(e);if(!t)throw new Error("PropertyBinding: Cannot parse trackName: "+e);let i={nodeName:t[2],objectName:t[3],objectIndex:t[4],propertyName:t[5],propertyIndex:t[6]},n=i.nodeName&&i.nodeName.lastIndexOf(".");if(n!==void 0&&n!==-1){let s=i.nodeName.substring(n+1);O_.indexOf(s)!==-1&&(i.nodeName=i.nodeName.substring(0,n),i.objectName=s)}if(i.propertyName===null||i.propertyName.length===0)throw new Error("PropertyBinding: can not parse propertyName from trackName: "+e);return i}static findNode(e,t){if(!t||t===""||t==="."||t===-1||t===e.name||t===e.uuid)return e;if(e.skeleton){let i=e.skeleton.getBoneByName(t);if(i!==void 0)return i}if(e.children){let i=function(s){for(let o=0;o=s){let h=s++,d=e[h];t[d.uuid]=u,e[u]=d,t[c]=h,e[h]=l;for(let p=0,m=n;p!==m;++p){let y=i[p],x=y[h],g=y[u];y[u]=x,y[h]=g}}}this.nCachedObjects_=s}uncache(){let e=this._objects,t=this._indicesByUUID,i=this._bindings,n=i.length,s=this.nCachedObjects_,o=e.length;for(let a=0,l=arguments.length;a!==l;++a){let c=arguments[a],u=c.uuid,h=t[u];if(h!==void 0)if(delete t[u],h0&&(t[p.uuid]=h),e[h]=p,e.pop();for(let m=0,y=n;m!==y;++m){let x=i[m];x[h]=x[d],x.pop()}}}this.nCachedObjects_=s}subscribe_(e,t){let i=this._bindingsIndicesByPath,n=i[e],s=this._bindings;if(n!==void 0)return s[n];let o=this._paths,a=this._parsedPaths,l=this._objects,c=l.length,u=this.nCachedObjects_,h=new Array(c);n=s.length,i[e]=n,o.push(e),a.push(t),s.push(h);for(let d=u,p=l.length;d!==p;++d){let m=l[d];h[d]=new Xe(m,e,t)}return h}unsubscribe_(e){let t=this._bindingsIndicesByPath,i=t[e];if(i!==void 0){let n=this._paths,s=this._parsedPaths,o=this._bindings,a=o.length-1,l=o[a],c=e[a];t[c]=i,o[i]=l,o.pop(),s[i]=s[a],s.pop(),n[i]=n[a],n.pop()}}};Eh.prototype.isAnimationObjectGroup=!0;var Ah=class{constructor(e,t,i=null,n=t.blendMode){this._mixer=e,this._clip=t,this._localRoot=i,this.blendMode=n;let s=t.tracks,o=s.length,a=new Array(o),l={endingStart:Ms,endingEnd:Ms};for(let c=0;c!==o;++c){let u=s[c].createInterpolant(null);a[c]=u,u.settings=l}this._interpolantSettings=l,this._interpolants=a,this._propertyBindings=new Array(o),this._cacheIndex=null,this._byClipCacheIndex=null,this._timeScaleInterpolant=null,this._weightInterpolant=null,this.loop=pv,this._loopCount=-1,this._startTime=null,this.time=0,this.timeScale=1,this._effectiveTimeScale=1,this.weight=1,this._effectiveWeight=1,this.repetitions=1/0,this.paused=!1,this.enabled=!0,this.clampWhenFinished=!1,this.zeroSlopeAtStart=!0,this.zeroSlopeAtEnd=!0}play(){return this._mixer._activateAction(this),this}stop(){return this._mixer._deactivateAction(this),this.reset()}reset(){return this.paused=!1,this.enabled=!0,this.time=0,this._loopCount=-1,this._startTime=null,this.stopFading().stopWarping()}isRunning(){return this.enabled&&!this.paused&&this.timeScale!==0&&this._startTime===null&&this._mixer._isActiveAction(this)}isScheduled(){return this._mixer._isActiveAction(this)}startAt(e){return this._startTime=e,this}setLoop(e,t){return this.loop=e,this.repetitions=t,this}setEffectiveWeight(e){return this.weight=e,this._effectiveWeight=this.enabled?e:0,this.stopFading()}getEffectiveWeight(){return this._effectiveWeight}fadeIn(e){return this._scheduleFading(e,0,1)}fadeOut(e){return this._scheduleFading(e,1,0)}crossFadeFrom(e,t,i){if(e.fadeOut(t),this.fadeIn(t),i){let n=this._clip.duration,s=e._clip.duration,o=s/n,a=n/s;e.warp(1,o,t),this.warp(a,1,t)}return this}crossFadeTo(e,t,i){return e.crossFadeFrom(this,t,i)}stopFading(){let e=this._weightInterpolant;return e!==null&&(this._weightInterpolant=null,this._mixer._takeBackControlInterpolant(e)),this}setEffectiveTimeScale(e){return this.timeScale=e,this._effectiveTimeScale=this.paused?0:e,this.stopWarping()}getEffectiveTimeScale(){return this._effectiveTimeScale}setDuration(e){return this.timeScale=this._clip.duration/e,this.stopWarping()}syncWith(e){return this.time=e.time,this.timeScale=e.timeScale,this.stopWarping()}halt(e){return this.warp(this._effectiveTimeScale,0,e)}warp(e,t,i){let n=this._mixer,s=n.time,o=this.timeScale,a=this._timeScaleInterpolant;a===null&&(a=n._lendControlInterpolant(),this._timeScaleInterpolant=a);let l=a.parameterPositions,c=a.sampleValues;return l[0]=s,l[1]=s+i,c[0]=e/o,c[1]=t/o,this}stopWarping(){let e=this._timeScaleInterpolant;return e!==null&&(this._timeScaleInterpolant=null,this._mixer._takeBackControlInterpolant(e)),this}getMixer(){return this._mixer}getClip(){return this._clip}getRoot(){return this._localRoot||this._mixer._root}_update(e,t,i,n){if(!this.enabled){this._updateWeight(e);return}let s=this._startTime;if(s!==null){let l=(e-s)*i;if(l<0||i===0)return;this._startTime=null,t=i*l}t*=this._updateTimeScale(e);let o=this._updateTime(t),a=this._updateWeight(e);if(a>0){let l=this._interpolants,c=this._propertyBindings;switch(this.blendMode){case um:for(let u=0,h=l.length;u!==h;++u)l[u].evaluate(o),c[u].accumulateAdditive(a);break;case Ih:default:for(let u=0,h=l.length;u!==h;++u)l[u].evaluate(o),c[u].accumulate(n,a)}}}_updateWeight(e){let t=0;if(this.enabled){t=this.weight;let i=this._weightInterpolant;if(i!==null){let n=i.evaluate(e)[0];t*=n,e>i.parameterPositions[1]&&(this.stopFading(),n===0&&(this.enabled=!1))}}return this._effectiveWeight=t,t}_updateTimeScale(e){let t=0;if(!this.paused){t=this.timeScale;let i=this._timeScaleInterpolant;if(i!==null){let n=i.evaluate(e)[0];t*=n,e>i.parameterPositions[1]&&(this.stopWarping(),t===0?this.paused=!0:this.timeScale=t)}}return this._effectiveTimeScale=t,t}_updateTime(e){let t=this._clip.duration,i=this.loop,n=this.time+e,s=this._loopCount,o=i===fv;if(e===0)return s===-1?n:o&&(s&1)===1?t-n:n;if(i===dv){s===-1&&(this._loopCount=0,this._setEndings(!0,!0,!1));e:{if(n>=t)n=t;else if(n<0)n=0;else{this.time=n;break e}this.clampWhenFinished?this.paused=!0:this.enabled=!1,this.time=n,this._mixer.dispatchEvent({type:"finished",action:this,direction:e<0?-1:1})}}else{if(s===-1&&(e>=0?(s=0,this._setEndings(!0,this.repetitions===0,o)):this._setEndings(this.repetitions===0,!0,o)),n>=t||n<0){let a=Math.floor(n/t);n-=t*a,s+=Math.abs(a);let l=this.repetitions-s;if(l<=0)this.clampWhenFinished?this.paused=!0:this.enabled=!1,n=e>0?t:0,this.time=n,this._mixer.dispatchEvent({type:"finished",action:this,direction:e>0?1:-1});else{if(l===1){let c=e<0;this._setEndings(c,!c,o)}else this._setEndings(!1,!1,o);this._loopCount=s,this.time=n,this._mixer.dispatchEvent({type:"loop",action:this,loopDelta:a})}}else this.time=n;if(o&&(s&1)===1)return t-n}return n}_setEndings(e,t,i){let n=this._interpolantSettings;i?(n.endingStart=Ds,n.endingEnd=Ds):(e?n.endingStart=this.zeroSlopeAtStart?Ds:Ms:n.endingStart=Ca,t?n.endingEnd=this.zeroSlopeAtEnd?Ds:Ms:n.endingEnd=Ca)}_scheduleFading(e,t,i){let n=this._mixer,s=n.time,o=this._weightInterpolant;o===null&&(o=n._lendControlInterpolant(),this._weightInterpolant=o);let a=o.parameterPositions,l=o.sampleValues;return a[0]=s,l[0]=t,a[1]=s+e,l[1]=i,this}},Sh=class extends Xi{constructor(e){super(),this._root=e,this._initMemoryManager(),this._accuIndex=0,this.time=0,this.timeScale=1}_bindAction(e,t){let i=e._localRoot||this._root,n=e._clip.tracks,s=n.length,o=e._propertyBindings,a=e._interpolants,l=i.uuid,c=this._bindingsByRootAndName,u=c[l];u===void 0&&(u={},c[l]=u);for(let h=0;h!==s;++h){let d=n[h],p=d.name,m=u[p];if(m!==void 0)++m.referenceCount,o[h]=m;else{if(m=o[h],m!==void 0){m._cacheIndex===null&&(++m.referenceCount,this._addInactiveBinding(m,l,p));continue}let y=t&&t._propertyBindings[h].binding.parsedPath;m=new bh(Xe.create(i,p,y),d.ValueTypeName,d.getValueSize()),++m.referenceCount,this._addInactiveBinding(m,l,p),o[h]=m}a[h].resultBuffer=m.buffer}}_activateAction(e){if(!this._isActiveAction(e)){if(e._cacheIndex===null){let i=(e._localRoot||this._root).uuid,n=e._clip.uuid,s=this._actionsByClip[n];this._bindAction(e,s&&s.knownActions[0]),this._addInactiveAction(e,n,i)}let t=e._propertyBindings;for(let i=0,n=t.length;i!==n;++i){let s=t[i];s.useCount++===0&&(this._lendBinding(s),s.saveOriginalState())}this._lendAction(e)}}_deactivateAction(e){if(this._isActiveAction(e)){let t=e._propertyBindings;for(let i=0,n=t.length;i!==n;++i){let s=t[i];--s.useCount===0&&(s.restoreOriginalState(),this._takeBackBinding(s))}this._takeBackAction(e)}}_initMemoryManager(){this._actions=[],this._nActiveActions=0,this._actionsByClip={},this._bindings=[],this._nActiveBindings=0,this._bindingsByRootAndName={},this._controlInterpolants=[],this._nActiveControlInterpolants=0;let e=this;this.stats={actions:{get total(){return e._actions.length},get inUse(){return e._nActiveActions}},bindings:{get total(){return e._bindings.length},get inUse(){return e._nActiveBindings}},controlInterpolants:{get total(){return e._controlInterpolants.length},get inUse(){return e._nActiveControlInterpolants}}}}_isActiveAction(e){let t=e._cacheIndex;return t!==null&&t=0;--i)e[i].stop();return this}update(e){e*=this.timeScale;let t=this._actions,i=this._nActiveActions,n=this.time+=e,s=Math.sign(e),o=this._accuIndex^=1;for(let c=0;c!==i;++c)t[c]._update(n,e,s,o);let a=this._bindings,l=this._nActiveBindings;for(let c=0;c!==l;++c)a[c].apply(o);return this}setTime(e){this.time=0;for(let t=0;tthis.max.x||e.ythis.max.y)}containsBox(e){return this.min.x<=e.min.x&&e.max.x<=this.max.x&&this.min.y<=e.min.y&&e.max.y<=this.max.y}getParameter(e,t){return t.set((e.x-this.min.x)/(this.max.x-this.min.x),(e.y-this.min.y)/(this.max.y-this.min.y))}intersectsBox(e){return!(e.max.xthis.max.x||e.max.ythis.max.y)}clampPoint(e,t){return t.copy(e).clamp(this.min,this.max)}distanceToPoint(e){return nm.copy(e).clamp(this.min,this.max).sub(e).length()}intersect(e){return this.min.max(e.min),this.max.min(e.max),this}union(e){return this.min.min(e.min),this.max.max(e.max),this}translate(e){return this.min.add(e),this.max.add(e),this}equals(e){return e.min.equals(this.min)&&e.max.equals(this.max)}};jn.prototype.isBox2=!0;var sm=new P,Aa=new P,Ch=class{constructor(e=new P,t=new P){this.start=e,this.end=t}set(e,t){return this.start.copy(e),this.end.copy(t),this}copy(e){return this.start.copy(e.start),this.end.copy(e.end),this}getCenter(e){return e.addVectors(this.start,this.end).multiplyScalar(.5)}delta(e){return e.subVectors(this.end,this.start)}distanceSq(){return this.start.distanceToSquared(this.end)}distance(){return this.start.distanceTo(this.end)}at(e,t){return this.delta(t).multiplyScalar(e).add(this.start)}closestPointToPointParameter(e,t){sm.subVectors(e,this.start),Aa.subVectors(this.end,this.start);let i=Aa.dot(Aa),s=Aa.dot(sm)/i;return t&&(s=Ut(s,0,1)),s}closestPointToPoint(e,t,i){let n=this.closestPointToPointParameter(e,t);return this.delta(i).multiplyScalar(n).add(this.start)}applyMatrix4(e){return this.start.applyMatrix4(e),this.end.applyMatrix4(e),this}equals(e){return e.start.equals(this.start)&&e.end.equals(this.end)}clone(){return new this.constructor().copy(this)}};var fn=new P,Sa=new Ee,yu=new Ee,Rh=class extends Zr{constructor(e){let t=Cm(e),i=new Ke,n=[],s=[],o=new ye(0,0,1),a=new ye(0,1,0);for(let c=0;c0?-1:1)*.9,y:this.h*(s.y>0?-1:1)*.9,z:Math.random()*200+200},a=Math.abs(s.x/s.y);a>1?o.y/=a:o.x*=a;let l=this.makeRandomVector(n),c={x:l.x*i,y:l.y*i,z:-10},u={x:-(Math.random()*s.y*5+this.inertia*s.y),y:Math.random()*s.x*5+this.inertia*s.x,z:0},h={x:Math.random(),y:Math.random(),z:Math.random(),w:Math.random()};return{pos:o,velocity:c,angular:u,axis:h}}makeRandomVector(e){let t=Math.random()*Math.PI/5-Math.PI/5/2,i={x:e.x*Math.cos(t)-e.y*Math.sin(t),y:e.x*Math.sin(t)+e.y*Math.cos(t)};return i.x==0&&(i.x=.01),i.y==0&&(i.y=.01),i}get buffer(){return this.geometry.geometry}get result(){return this.getUpsideValue()}getUpsideValue(){let e=new P(0,0,this.sides==4?-1:1),t,i=Math.PI*2,n=this.buffer.getAttribute("normal").array;for(let o=0,a=this.buffer.groups.length;othis.sides;)o-=this.sides;for(;o<1;)o+=this.sides;t.groups[n].materialIndex=o+1}}this.updateMaterialsForValue(e-i),this.geometry.geometry=t}resetBody(){return this.body.vlambda=new b,this.body.position=new b,this.body.previousPosition=new b,this.body.initPosition=new b,this.body.velocity=new b,this.body.initVelocity=new b,this.body.force=new b,this.body.torque=new b,this.body.quaternion=new yt,this.body.initQuaternion=new yt,this.body.angularVelocity=new b,this.body.initAngularVelocity=new b,this.body.interpolatedPosition=new b,this.body.interpolatedQuaternion=new yt,this.body.inertia=new b,this.body.invInertia=new b,this.body.invInertiaWorld=new Mi,this.body.invInertiaSolve=new b,this.body.invInertiaWorldSolve=new Mi,this.body.wlambda=new b,this.body.updateMassProperties(),this}updateMaterialsForValue(e){}set(){this.geometry.position.set(this.body.position.x,this.body.position.y,this.body.position.z),this.geometry.quaternion.set(this.body.quaternion.x,this.body.quaternion.y,this.body.quaternion.z,this.body.quaternion.w)}recreate(e,t,i){this.w=t,this.h=i,this.vector=this.generateVector(e),this.stopped=!1,this.iterations=0,this.create()}create(){return this.body.position.set(this.vector.pos.x,this.vector.pos.y,this.vector.pos.z),this.body.quaternion.setFromAxisAngle(new b(this.vector.axis.x,this.vector.axis.y,this.vector.axis.z),this.vector.axis.w*Math.PI*2),this.body.angularVelocity.set(this.vector.angular.x,this.vector.angular.y,this.vector.angular.z),this.body.velocity.set(this.vector.velocity.x,this.vector.velocity.y,this.vector.velocity.z),this.body.linearDamping=.1,this.body.angularDamping=.1,this}},al=class extends Mn{constructor(t,i,n,s){super(t,i,n);this.w=t;this.h=i;this.data=n;this.sides=20;this.inertia=6;s&&(this.vector=this.generateVector(s)),this.create()}},ll=class extends Mn{constructor(t,i,n,s){super(t,i,n);this.w=t;this.h=i;this.data=n;this.sides=12;this.inertia=8;s&&(this.vector=this.generateVector(s)),this.create()}},Zs=class extends Mn{constructor(t,i,n,s,o=!1){super(t,i,n);this.w=t;this.h=i;this.data=n;this.isPercentile=o;this.sides=10;this.inertia=9;s&&(this.vector=this.generateVector(s)),this.create()}},cl=class extends Mn{constructor(t,i,n,s){super(t,i,n);this.w=t;this.h=i;this.data=n;this.sides=8;this.inertia=10;s&&(this.vector=this.generateVector(s)),this.create()}},Js=class extends Mn{constructor(t,i,n,s){super(t,i,n);this.w=t;this.h=i;this.data=n;this.sides=6;this.inertia=13;s&&(this.vector=this.generateVector(s)),this.create()}},ul=class extends Mn{constructor(t,i,n,s){super(t,i,n);this.w=t;this.h=i;this.data=n;this.sides=4;this.inertia=5;s&&(this.vector=this.generateVector(s)),this.create()}};var At=class{constructor(e,t={value:`${e}`,conditions:[],type:"dice"}){this.lexeme=t;this.modifiers=new Map;this.possibilities=[];this.results=new Map;this.shapes=new Map;this.modifiersAllowed=!0;this.static=!1;this.conditions=[];this.fudge=!1;this.shouldRender=!1;if(!/(\-?\d+)[dD]?(\d+|%|\[\d+,\s?\d+\])?/.test(`${e}`))throw new Error("Non parseable dice string passed to DiceRoll.");this.dice=`${e}`.split(" ").join(""),/^-?\d+(?:\.\d+)?$/.test(this.dice)&&(this.static=!0,this.modifiersAllowed=!1);let[,i,n="1"]=this.dice.match(/(\-?\d+)[dD](%|F|-?\d+|\[\d+(?:[ \t]*[,-][ \t]*\d+)+\])/)||[,1,"1"];i=Number(i),this.multiplier=i<0?-1:1;let s=1,o=isNaN(Number(n))?1:Number(n);this.rolls=Math.abs(Number(i))||1,/\[\d+(?:[ \t]*,[ \t]*\d+)+\]/.test(n)?this.possibilities=n.replace(/[\[\]\s]/g,"").split(",").map(a=>Number(a)):/\[\d+(?:[ \t]*-[ \t]*\d+)+\]/.test(n)?([s,o]=n.replace(/[\[\]\s]/g,"").split("-").map(a=>Number(a)),this.possibilities=Array.from({length:o-s},(a,l)=>l+s)):(n==="%"?o=100:o=Number(n),Number(o)<0&&!s&&(s=-1),Number(o)a+s)),this.conditions=this.lexeme.conditions??[]}getType(){return`${this.faces.max}`}get faces(){return{max:this.possibilities[this.possibilities.length-1],min:this.possibilities[0]}}getShapes(e){if(this.shapes.has(e))return this.shapes.get(e);let t=Pt.getDiceForRoller(this);return e!=null&&this.shapes.set(e,t),t}get text(){return`${this.result}`}get result(){if(this.static)return this.multiplier*Number(this.dice);let e=[...this.results].map(([,{usable:t,value:i}])=>t?i:0);return this.multiplier*e.reduce((t,i)=>t+i,0)}get display(){if(this.static)return`${this.result}`;let e=[`[${[...this.results].map(([,{modifiers:t,display:i}])=>`${i}${[...t].join("")}`).join(", ")}]`];return this.conditions.length&&e.push(this.conditions.map(({result:t,operator:i})=>`${i}${t}`).join("")),e.join("")}get modifierText(){let e=this.conditions.map(({value:i})=>i).join(""),t=[...this.modifiers].map(([i,{conditionals:n,value:s}])=>{let o=n.map(a=>a.value);return`${s}${o.join("")}`}).join("");return`${e}${t}`}keepLow(e=1){if(!this.modifiersAllowed){new ho.Notice("Modifiers are only allowed on dice rolls.");return}this.results.size!==1&&[...this.results].sort((t,i)=>t[1].value-i[1].value).slice(e>this.results.size?this.results.size:e-this.results.size).forEach(([t])=>{let i=this.results.get(t);i.usable=!1,i.modifiers.add("d"),this.results.set(t,{...i})})}keepHigh(e=1){if(!this.modifiersAllowed){new ho.Notice("Modifiers are only allowed on dice rolls.");return}this.results.size!==1&&[...this.results].sort((t,i)=>i[1].value-t[1].value).slice(e).forEach(([t])=>{let i=this.results.get(t);i.usable=!1,i.modifiers.add("d"),this.results.set(t,{...i})})}async reroll(e,t){if(!this.modifiersAllowed){new ho.Notice("Modifiers are only allowed on dice rolls.");return}t.length||t.push({operator:"=",comparer:this.faces.min,lexemes:[{value:`${this.faces.min}`,text:`${this.faces.min}`,type:"dice"}],value:""});let i=0,n=[...this.results].filter(([,{value:s}])=>this.checkCondition(s,t));for(;i0;){let s=[];for(let[o,a]of n)s.push(new Promise(async l=>{a.modifiers.add("r");let c=this.getShapes(o),u=await this.getValue(c);a.value=u,a.display=`${u}`,l()}));await Promise.all(s),n=n.filter(([,{value:o}])=>this.checkCondition(o,t)),i++}n.forEach(([s,o])=>{this.results.set(s,o)})}async explode(e,t,i=!1){if(!this.modifiersAllowed){new ho.Notice("Modifiers are only allowed on dice rolls.");return}t.length||t.push({operator:"=",comparer:this.faces.max,lexemes:[{value:`${this.faces.max}`,text:`${this.faces.max}`,type:"dice"}],value:""});let n=[...this.results].filter(([,{value:o}])=>this.checkCondition(o,t)),s=0;await Promise.all(n.map(async([o,a])=>{if(i){let l=await this.getValue(),c=0;for(a.modifiers.add("!"),a.value+=l,a.display=`${a.value}`,this.results.set(o,a);cthis.faces.min+t).every(t=>this.possibilities.includes(t))}async getValue(e){let t;if(this.shouldRender&&this.canRender()){let i=e??Pt.getDiceForRoller(this)??[];await Pt.addDice(i),t=this.#e(i)}else t=this.getValueSync();return t}getValueSync(){return this.getRandomValue()}getMaxPossible(){if(this.static)return Number(this.dice);let e=this.rolls;return this.modifiers.has("kl")&&(e=e-this.modifiers.get("kl").data),this.modifiers.has("kh")&&(e=e-this.modifiers.get("kh").data),e<1&&(e=0),this.multiplier===-1?this.multiplier*Math.min(...this.possibilities)*e:Math.max(...this.possibilities)*e}getMinPossible(){if(this.static)return Number(this.dice);let e=this.rolls;return this.modifiers.has("kl")&&(e=e-this.modifiers.get("kl").data),this.modifiers.has("kh")&&(e=e-this.modifiers.get("kh").data),e<1&&(e=0),this.multiplier===-1?this.multiplier*Math.max(...this.possibilities)*e:Math.min(...this.possibilities)*e}#e(e=[]){if(!e.length)return this.getValueSync();let t=e.map(i=>i.getUpsideValue());if(this.faces.max===100){let[i,n]=t;return i===10&&n==10?100:(n==10&&(n=0),i==10&&(i=0),i*10+n)}return t.reduce((i,n)=>i+n)}#t(e=0){return{usable:!0,value:e,display:`${e}`,modifiers:new Set}}async applyModifiers(){for(let[e,t]of this.modifiers)e=="kh"||e=="kl"||await this.applyModifier(e,t);this.modifiers.has("kh")&&await this.applyModifier("kh",this.modifiers.get("kh")),this.modifiers.has("kl")&&await this.applyModifier("kl",this.modifiers.get("kl"))}setResults(e){this.results=new Map([...e].map(([t,i])=>[t,this.#t(i)])),this.updateResultArray()}rollSync(){let e=new Map;for(let t=0;t{let s=await this.getValue(this.getShapes(i));e.set(i,s),n()}));await Promise.all(t)}return e}applyConditions(){for(let e of this.results.values()){let t=this.conditions.find(({operator:n})=>n==="-="||n==="=-");if(t&&e.value===t.comparer){e.value=-1,e.modifiers.add("-");continue}this.checkCondition(e.value,this.conditions)?(e.modifiers.add("*"),e.value=1):e.usable=!1}}updateResultArray(){this.resultArray=[...this.results.values()].map(e=>e.value)}async applyModifier(e,t){switch(e){case"sort":{let i;t.value=="sa"?i=[...this.results.values()].sort((n,s)=>n.value-s.value):i=[...this.results.values()].sort((n,s)=>s.value-n.value),this.results=new Map([...this.results.keys()].map(n=>[n,i[n]])),this.updateResultArray();break}case"kh":{this.keepHigh(t.data);break}case"kl":{this.keepLow(t.data);break}case"!":{await this.explode(t.data,t.conditionals);break}case"!!":{await this.explode(t.data,t.conditionals,!0);break}case"r":{await this.reroll(t.data,t.conditionals);break}case"u":{await this.makeUnique();break}case"condition":}}async makeUnique(){let e=[...this.results.values()];if(new Set(this.possibilities).sizei.value)).size==this.results.size)return;let t=0;for(;new Set(e.map(i=>i.value)).size!=this.results.size&&t<100;){let i=[];for(let[n,s]of this.results)i.push(new Promise(async o=>{let a=e.find(l=>l.value==s.value&&l!=s);a&&(a.value=await this.getValue(this.getShapes(n)),a.display=`${a.value}`,a.modifiers.add("u")),o()}));await Promise.all(i),e=[...this.results.values()],t++}}checkCondition(e,t){if(!t||!t.length)return e;let i=!1;for(let n of t){let{operator:s,comparer:o,lexemes:a}=n;if(Number.isNaN(e)||!s?.length||!o)continue;let l=new hl(o,a);if(l.rollSync(),n.result=l.result,!Number.isNaN(n.result)){switch(s){case"=":i=e===n.result;break;case"!=":case"=!":i=e!==n.result;break;case"<":i=e":i=e>n.result;break;case">=":i=e>=n.result;break}if(i)return i}}return i}allowAverage(){return!0}average(){return this.possibilities.reduce((e,t)=>e+t)/this.possibilities.length}getRandomValue(){let e=Math.floor(Math.random()*this.possibilities.length);return this.possibilities[e]}getGeometries(){return[...this.shapes.values()].flat()}async render(){this.shouldRender=!0,await this.roll(),this.shouldRender=!1}};var Rm={specular:1515554,color:15790320,shininess:60,flatShading:!0},Dn={diceColor:"#202020",textColor:"#ffffff",textFont:"Arial"},fi=class{constructor(e,t,i={diceColor:"#202020",textColor:"#aaaaaa"},n){this.w=e;this.h=t;this.options=i;this.scaler=n;this.scale=50;this.labels=[" ","0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20"];this.fontFace="Arial";this.options={...Dn,...i},this.fontFace=this.options.textFont}setColor({diceColor:e,textColor:t}){e&&(this.options.diceColor=e),t&&(this.options.textColor=t)}get radius(){return this.scale*this.scaleFactor*(this.scaler??1)}get diceColor(){return this.options.diceColor}get textColor(){return this.options.textColor}get buffer(){return this.geometry.geometry}create(){this.textureSize=this.calculateTextureSize(this.scale/2+this.scale*this.margin)*2;let e=this.getGeometry(),t=this.getMaterials();return this.geometry=new pt(e,t),this.geometry.receiveShadow=!0,this.geometry.castShadow=!0,this.body.position.set(0+this.radius*2*Math.random(),0+this.radius*2*Math.random(),0+this.radius*4),this.body.velocity.x=500*Math.random()*2-1,this.body.velocity.y=500*Math.random()*2-1,this.body.angularVelocity.x=100*Math.random(),this.body.angularVelocity.y=100*Math.random(),this}getGeometry(){let e=new Array(this.vertices.length);for(let i=0;i=0&&u=0&&c!==l+1?a.unshift([s,c],[o,u]):a.push([s,c],[o,u]),l=c)}a.length===4&&i.push([i[a[0][0]][a[0][1]],i[a[1][0]][a[1][1]],i[a[3][0]][a[3][1]],i[a[2][0]][a[2][1]],-1])}for(let s=0;s=0&&u<4){--u===-1&&(u=3);let h=i[c][u];if(o.indexOf(h)>=0){a.push(h);break}}}--l}a.push(-1),i.push(a)}return{vectors:t,faces:i}}makeGeometry(e,t){let i=new Ke;for(let h=0;h1&&(a=a/c.length,o.font=`${a}pt '${this.fontFace}'`,l=o.measureText("M").width*1.2,n-=l*c.length/2);for(let h=0,d=c.length;h{(this.resources.get(t)??[]).push(i),this.#e(i,t)});else{let i=this.resources.get(t??e)??[];this.resources.set(t??e,i)}}track(e){if("dispose"in e&&this.#e(e),e instanceof Ge&&this.#e(e),"geometry"in e&&this.#e(e.geometry,e),"material"in e&&this.#e(e.material,e),"children"in e&&this.#e(e.children,e),e instanceof ft)for(let t of Object.values(e))t instanceof lt&&this.#e(t);return e}untrack(e){this.resources.delete(e)}dispose(){for(let[e]of this.resources)this.disposeResource(e);this.resources.clear()}disposeResource(e){"parent"in e&&e.parent&&e.parent.remove(e),"dispose"in e&&e.dispose();for(let t of this.resources.get(e)??[])this.disposeResource(t);this.resources.delete(e)}};var Dt={D4:"4",D6:"6",D8:"8",D10:"10",D12:"12",D20:"20",D100:"100",FUDGE:"fudge",STUNT:"stunt",NONE:"none"};var Vh=class r extends Xn.Component{constructor(){super();this.event=new Xn.Events;this.tracker=new Cl;this.container=createDiv("renderer-container");this.#e=new Set;this.shadows=!0;this.iterations=0;this.frame_rate=1/60;this.loaded=!1;this.#t=!1;this.#i=new WeakMap;this.colors={ambient:16777215,spotlight:16777215};this.display={currentWidth:null,currentHeight:null,containerWidth:null,containerHeight:null,aspect:null,scale:null};this.cameraHeight={max:null,close:null,medium:null,far:null};this.#n=new WeakMap;this.extraFrames=r.DEFAULT_EXTRA_FRAMES;this.renderer=new qe({alpha:!0,antialias:!0})}#e;get WIDTH(){return this.container.clientWidth/2}get HEIGHT(){return this.container.clientHeight/2}get ASPECT(){return this.WIDTH/this.HEIGHT}get scale(){return(this.WIDTH*this.WIDTH+this.HEIGHT*this.HEIGHT)/13}get canvasEl(){return this.renderer?this.renderer.domElement:null}#t;setData(t){this.data=t,this.factory?(this.factory.width=this.WIDTH,this.factory.height=this.HEIGHT,this.factory.updateDice(this.data)):this.factory=new Hh(this.WIDTH,this.HEIGHT,{diceColor:this.data.diceColor,textColor:this.data.textColor,colorfulDice:this.data.colorfulDice,scaler:this.data.scaler,textFont:this.data.textFont})}getDiceForRoller(t){return this.factory.getDiceForRoller(t,this.getVector())}#i;async addDice(t){return new Promise(i=>{this.#t||this.start();for(let n of t)n.recreate(this.getVector(),this.WIDTH,this.HEIGHT),this.scene.add(this.tracker.track(n.geometry)),this.world.add(n);this.#e.add(t),this.#i.set(t,()=>{i()})})}onload(){this.loaded=!0,this.addChild(this.factory),this.container.empty(),this.container.style.opacity="1",this.renderer.shadowMap.enabled=this.shadows,this.renderer.shadowMap.type=Bh,this.container.appendChild(this.renderer.domElement),document.body.appendChild(this.container),this.renderer.setClearColor(0,0),this.scene=new Vs,this.initScene(),this.initWorld(),this.registerDomEvent(window,"resize",()=>{this.initScene()})}onunload(){this.stop(),this.loaded=!1,cancelAnimationFrame(this.animation),this.container.detach(),this.container.empty(),this.renderer.domElement.detach(),this.factory.dispose(),this.renderer.renderLists.dispose(),this.renderer.dispose(),this.tracker.dispose(),[...this.#e.values()].flat().forEach(t=>{this.world.world.removeBody(t.body)}),this.#e=new Set}start(){this.#t&&this.unload(),this.loaded||this.load(),this.#t=!0,this.extraFrames=r.DEFAULT_EXTRA_FRAMES,this.render()}static{this.DEFAULT_EXTRA_FRAMES=30}enableShadows(){this.shadows=!0,this.renderer&&(this.renderer.shadowMap.enabled=this.shadows),this.light&&(this.light.castShadow=this.shadows),this.desk&&(this.desk.receiveShadow=this.shadows)}disableShadows(){this.shadows=!1,this.renderer&&(this.renderer.shadowMap.enabled=this.shadows),this.light&&(this.light.castShadow=this.shadows),this.desk&&(this.desk.receiveShadow=this.shadows)}get mw(){return Math.max(this.WIDTH,this.HEIGHT)}setDimensions(t){this.display.currentWidth=this.container.clientWidth/2,this.display.currentHeight=this.container.clientHeight/2,t?(this.display.containerWidth=t.w,this.display.containerHeight=t.h):(this.display.containerWidth=this.display.currentWidth,this.display.containerHeight=this.display.currentHeight),this.display.aspect=Math.min(this.display.currentWidth/this.display.containerWidth,this.display.currentHeight/this.display.containerHeight),this.display.scale=Math.sqrt(this.display.containerWidth*this.display.containerWidth+this.display.containerHeight*this.display.containerHeight)/13,this.renderer.setSize(this.display.currentWidth*2,this.display.currentHeight*2),this.cameraHeight.max=this.display.currentHeight/this.display.aspect/Math.tan(10*Math.PI/180),this.factory.width=this.display.currentWidth,this.factory.height=this.display.currentHeight,this.factory.updateDice(this.data),this.cameraHeight.medium=this.cameraHeight.max/1.5,this.cameraHeight.far=this.cameraHeight.max,this.cameraHeight.close=this.cameraHeight.max/2}initCamera(){this.camera&&this.scene.remove(this.camera),this.camera=new Et(20,this.display.currentWidth/this.display.currentHeight,1,this.cameraHeight.max*1.3),this.camera.position.z=this.cameraHeight.far,this.camera.lookAt(new P(0,0,0))}initLighting(){let t=Math.max(this.display.containerWidth,this.display.containerHeight);this.light&&this.scene.remove(this.light),this.ambientLight&&this.scene.remove(this.ambientLight),this.light=new oo(this.colors.spotlight,.25),this.light.position.set(-t/2,t/2,t*3),this.light.target.position.set(0,0,0),this.light.distance=t*5,this.light.angle=Math.PI/4,this.light.castShadow=this.shadows,this.light.shadow.camera.near=t/10,this.light.shadow.camera.far=t*5,this.light.shadow.camera.fov=50,this.light.shadow.bias=.001,this.light.shadow.mapSize.width=1024,this.light.shadow.mapSize.height=1024,this.scene.add(this.tracker.track(this.light)),this.ambientLight=new ao(16777215,.9),this.scene.add(this.tracker.track(this.ambientLight))}initDesk(){this.desk&&this.scene.remove(this.desk);let t=new so;t.opacity=.5,this.desk=new pt(new Gr(this.display.containerWidth*6,this.display.containerHeight*6,1,1),t),this.desk.receiveShadow=this.shadows,this.scene.add(this.tracker.track(this.desk))}initScene(){this.setDimensions(),this.initCamera(),this.initLighting(),this.initDesk(),this.camera.updateProjectionMatrix(),this.renderer.render(this.scene,this.camera)}initWorld(){this.world=new Uh(this.WIDTH,this.HEIGHT),this.iterations=0}finishRender(){this.event.trigger("throw-finished")}#n;static{this.Threshold=5}throwFinished(){let t=!0;for(let i of this.#e){let n=!0;for(let s of i){if(s.iterations>10/this.frame_rate&&(s.stopped=!0),s.stopped===!0)continue;let o=s.body.angularVelocity,a=s.body.velocity;if(Math.abs(o.length())5){s.stopped=!0;continue}n=!1,t=!1}else s.iterations++,s.stopped=!1,n=!1,t=!1}n&&this.#i.has(i)&&(this.#i.get(i)(),this.#i.delete(i))}return t}unrender(){this.container.style.opacity="0",cancelAnimationFrame(this.animation),this.registerInterval(window.setTimeout(()=>{this.stop()},1e3))}stop(){if(this.#t)for(let t of[...this.#e]){this.#i.has(t)&&(this.#i.get(t)(),this.#i.delete(t));for(let i of t)i.stopped=!0}this.#t=!1,this.unload()}resizeRendererToDisplaySize(){let t=this.renderer.domElement,i=window.devicePixelRatio,n=t.clientWidth*i|0,s=t.clientHeight*i|0,o=t.width!==n||t.height!==s;return o&&this.renderer.setSize(n,s,!1),o}render(){if(this.throwFinished())if(this.extraFrames>10)this.extraFrames--;else{try{if(this.data.renderTime)this.registerInterval(window.setTimeout(()=>this.unrender(),this.data.renderTime));else{let i=function(){t.unload(),document.body.removeEventListener("click",i)},t=this;this.registerDomEvent(document.body,"click",i)}}catch(t){this.event.trigger("error",t)}return}this.animation=requestAnimationFrame(()=>this.render()),this.resizeRendererToDisplaySize()&&(this.camera.aspect=this.canvasEl.clientWidth/this.canvasEl.clientHeight,this.camera.updateProjectionMatrix()),this.world.step(this.frame_rate),this.iterations++,[...this.#e.values()].forEach(t=>t.forEach(i=>i.set())),this.renderer.render(this.scene,this.camera)}getVector(){return{x:(Math.random()*2-1)*this.WIDTH,y:-(Math.random()*2-1)*this.HEIGHT}}dispose(...t){t.forEach(i=>{i.children&&this.dispose(...i.children),i.clear()})}},Mt=new Vh,Uh=class{constructor(e,t){this.WIDTH=e;this.HEIGHT=t;this.world=new $o({gravity:new b(0,0,-9.82*200)});this.ground=this.getPlane();this.diceMaterial=new on;this.deskMaterial=new on;this.barrierMaterial=new on;this.world.broadphase=new gr,this.world.allowSleep=!0,this.ground.position.set(0,0,0),this.world.addBody(this.ground),this.buildWalls()}add(...e){e.forEach(t=>{this.world.addBody(t.body)})}remove(...e){e.forEach(t=>this.world.removeBody(t.body))}step(e=1/60){let t=performance.now()/1e3;if(!this.lastCallTime)this.world.step(e);else{let i=t-this.lastCallTime;this.world.step(e,i)}this.lastCallTime=t}buildWalls(){this.world.addContactMaterial(new rn(this.deskMaterial,this.diceMaterial,{friction:.01,restitution:.5,contactEquationRelaxation:3,contactEquationStiffness:1e8})),this.world.addContactMaterial(new rn(this.barrierMaterial,this.diceMaterial,{friction:.01,restitution:1,contactEquationRelaxation:3,contactEquationStiffness:1e8})),this.world.addContactMaterial(new rn(this.diceMaterial,this.diceMaterial,{friction:.1,restitution:.5,contactEquationRelaxation:3,contactEquationStiffness:1e8})),this.world.addBody(new De({allowSleep:!1,mass:0,shape:new Ui,material:this.deskMaterial}));let e=new De({allowSleep:!1,mass:0,shape:new Ui,material:this.barrierMaterial});e.quaternion.setFromAxisAngle(new b(1,0,0),Math.PI/2),e.position.set(0,this.HEIGHT*.93,0),this.world.addBody(e),e=new De({allowSleep:!1,mass:0,shape:new Ui,material:this.barrierMaterial}),e.quaternion.setFromAxisAngle(new b(1,0,0),-Math.PI/2),e.position.set(0,-this.HEIGHT*.93,0),this.world.addBody(e),e=new De({allowSleep:!1,mass:0,shape:new Ui,material:this.barrierMaterial}),e.quaternion.setFromAxisAngle(new b(0,1,0),-Math.PI/2),e.position.set(this.WIDTH*.93,0,0),this.world.addBody(e),e=new De({allowSleep:!1,mass:0,shape:new Ui,material:this.barrierMaterial}),e.quaternion.setFromAxisAngle(new b(0,1,0),Math.PI/2),e.position.set(-this.WIDTH*.93,0,0),this.world.addBody(e)}getPlane(){return new De({type:De.STATIC,shape:new Ui})}},Hh=class extends Xn.Component{constructor(t,i,n){super();this.width=t;this.height=i;this.options=n;this.dice={};this.updateDice=(0,Xn.debounce)(t=>{this.options={...t},this.dispose(),this.buildDice()},200);this.buildDice()}get colors(){let t=this.options.diceColor,i=this.options.textColor,n=this.options.textFont;if(!this.options.colorfulDice)return{diceColor:t,textFont:n}}onunload(){this.dispose()}disposeChildren(...t){t.forEach(i=>{"dispose"in i&&i.dispose(),i.children&&this.disposeChildren(...i.children)})}dispose(){for(let t of Object.values(this.dice))this.disposeChildren(t.geometry.children)}getDiceForRoller(t,i){let n=[];switch(t.getType()){case Dt.D4:{n.push(new ul(this.width,this.height,this.clone("d4"),i));break}case Dt.FUDGE:{n.push(new Js(this.width,this.height,this.clone("fudge"),i));break}case Dt.STUNT:{n.push(new Js(this.width,this.height,this.clone("stunt"),i));break}case Dt.D6:{n.push(new Js(this.width,this.height,this.clone("d6"),i));break}case Dt.D8:{n.push(new cl(this.width,this.height,this.clone("d8"),i));break}case Dt.D10:{n.push(new Zs(this.width,this.height,this.clone("d10"),i));break}case Dt.D12:{n.push(new ll(this.width,this.height,this.clone("d12"),i));break}case Dt.D20:{n.push(new al(this.width,this.height,this.clone("d20"),i));break}case Dt.D100:{n.push(new Zs(this.width,this.height,this.clone("d100"),i,!0),new Zs(this.width,this.height,this.clone("d10"),i,!0));break}case Dt.NONE:break}return n}getDice(t,i){let n=new Map;for(let s of t.dynamic){let o=this.getDiceForRoller(s,i);o.length&&n.set(s,o)}return n}clone(t){if(!(t in this.dice))throw new Error("That dice type does not exist!");return this.dice[t].clone()}buildDice(){this.dice.d100=new ml(this.width,this.height,this.colors,this.options.scaler).create(),this.dice.d20=new dl(this.width,this.height,this.colors,this.options.scaler).create(),this.dice.d12=new pl(this.width,this.height,this.colors,this.options.scaler).create(),this.dice.d10=new fl(this.width,this.height,this.colors,this.options.scaler).create(),this.dice.d8=new gl(this.width,this.height,this.colors,this.options.scaler).create(),this.dice.d6=new Ks(this.width,this.height,this.colors,this.options.scaler).create(),this.dice.d4=new vl(this.width,this.height,this.colors,this.options.scaler).create(),this.dice.fudge=new yl(this.width,this.height,this.colors,this.options.scaler).create(),this.dice.stunt=new xl(this.width,this.height,this.colors,this.options.scaler).create(),this.dice.boost=new Dl(this.width,this.height,this.colors,this.options.scaler).create(),this.dice.ability=new Al(this.width,this.height,this.colors,this.options.scaler).create(),this.dice.difficulty=new Sl(this.width,this.height,this.colors,this.options.scaler).create(),this.dice.challenge=new _l(this.width,this.height,this.colors,this.options.scaler).create(),this.dice.proficiency=new bl(this.width,this.height,this.colors,this.options.scaler).create(),this.dice.setback=new Tl(this.width,this.height,this.colors,this.options.scaler).create()}};var Qs=(n=>(n.None="None",n.Normal="Normal",n.Up="Up",n.Down="Down",n))(Qs||{});var Ot={LEFT:"LEFT",RIGHT:"RIGHT",NONE:"NONE"};var ri=require("obsidian");var fo=class extends ri.Component{constructor(){super(...arguments);this.components=[];this.#e=new ri.Events}on(t,i,n){return this.#e.on(t,i)}once(t,i){let n=this.on(t,(...s)=>{i(...s),this.offref(n)})}off(t,i){return this.#e.off(t,i)}offref(t){return this.#e.offref(t)}trigger(t,...i){return this.#e.trigger(t,...i)}tryTrigger(t,i){return this.#e.tryTrigger(t,i)}onunload(){this.components=[]}addContexts(...t){this.components=t;for(let i of t)i.addChild(this)}#e;getRandomBetween(t,i){let n=new Uint32Array(1);crypto.getRandomValues(n);let s=n[0]/4294967296;return Math.floor(s*(i-t+1))+t}},Rl=class extends fo{constructor(t,i="",n=t.position){super();this.data=t;this.original=i;this.loaded=!1;switch(this.original||(this.original=""),this.containerEl=createSpan({cls:"dice-roller",attr:{"aria-label-position":"top","data-dice":this.original}}),this.resultEl=this.containerEl.createSpan("dice-roller-result"),this.iconEl=createSpan({cls:"dice-roller-button"}),(0,ri.setIcon)(this.iconEl,"dices"),this.iconEl.onclick=this.onClick.bind(this),n){case"LEFT":{this.containerEl.prepend(this.iconEl);break}case"RIGHT":{this.containerEl.append(this.iconEl);break}case"NONE":{this.containerEl.addClass("no-icon");break}}this.containerEl.onclick=this.onClick.bind(this)}onLoad(t){this.loaded?t():this.on("loaded",()=>t())}onunload(){this.containerEl.empty();let t=createEl("pre");t.createEl("code",{text:this.original}),this.containerEl.append(t)}setTooltip(){this.data.displayResultsInline||this.containerEl.setAttrs({"aria-label":this.tooltip})}getRandomBetween(t,i){let n=new Uint32Array(1);crypto.getRandomValues(n);let s=n[0]/4294967296;return Math.floor(s*(i-t+1))+t}async render(){this.setTooltip(),await this.build()}async onClick(t){t.stopPropagation(),t.stopImmediatePropagation(),window.getSelection()?.isCollapsed&&await this.roll()}},Yn=class extends Rl{constructor(t,i,n,s=t.position){super(t,i,s);this.data=t;this.original=i;this.lexemes=n;this.position=s;this.save=!1}setSource(t){this.source=t}getSource(){return this.source}get inlineText(){return`${this.tooltip.split(` + a`,"a","",""];this.setColor({diceColor:"#76CDDB",textColor:"#000000"})}},Tl=class extends Ml{constructor(t,i,n=Dn,s){super(t,i,n,s);this.labels=["","","","t","f","",""];this.setColor({diceColor:"#000000",textColor:"#FFFFFF"})}};var Cl=class{constructor(){this.resources=new Map}isTracking(e){return this.resources.has(e)}#e(e,t){if(Array.isArray(e))e.forEach(i=>{(this.resources.get(t)??[]).push(i),this.#e(i,t)});else{let i=this.resources.get(t??e)??[];this.resources.set(t??e,i)}}track(e){if("dispose"in e&&this.#e(e),e instanceof Ge&&this.#e(e),"geometry"in e&&this.#e(e.geometry,e),"material"in e&&this.#e(e.material,e),"children"in e&&this.#e(e.children,e),e instanceof ft)for(let t of Object.values(e))t instanceof lt&&this.#e(t);return e}untrack(e){this.resources.delete(e)}dispose(){for(let[e]of this.resources)this.disposeResource(e);this.resources.clear()}disposeResource(e){"parent"in e&&e.parent&&e.parent.remove(e),"dispose"in e&&e.dispose();for(let t of this.resources.get(e)??[])this.disposeResource(t);this.resources.delete(e)}};var Mt={D4:"4",D6:"6",D8:"8",D10:"10",D12:"12",D20:"20",D100:"100",FUDGE:"fudge",STUNT:"stunt",NONE:"none"};var Vh=class r extends Xn.Component{constructor(){super();this.event=new Xn.Events;this.tracker=new Cl;this.container=createDiv("renderer-container");this.#e=new Set;this.shadows=!0;this.iterations=0;this.frame_rate=1/60;this.loaded=!1;this.#t=!1;this.#i=new WeakMap;this.colors={ambient:16777215,spotlight:16777215};this.display={currentWidth:null,currentHeight:null,containerWidth:null,containerHeight:null,aspect:null,scale:null};this.cameraHeight={max:null,close:null,medium:null,far:null};this.#n=new WeakMap;this.extraFrames=r.DEFAULT_EXTRA_FRAMES;this.renderer=new qe({alpha:!0,antialias:!0})}#e;get WIDTH(){return this.container.clientWidth/2}get HEIGHT(){return this.container.clientHeight/2}get ASPECT(){return this.WIDTH/this.HEIGHT}get scale(){return(this.WIDTH*this.WIDTH+this.HEIGHT*this.HEIGHT)/13}get canvasEl(){return this.renderer?this.renderer.domElement:null}#t;setData(t){this.data=t,this.factory?(this.factory.width=this.WIDTH,this.factory.height=this.HEIGHT,this.factory.updateDice(this.data)):this.factory=new Hh(this.WIDTH,this.HEIGHT,{diceColor:this.data.diceColor,textColor:this.data.textColor,colorfulDice:this.data.colorfulDice,scaler:this.data.scaler,textFont:this.data.textFont})}getDiceForRoller(t){return this.factory.getDiceForRoller(t,this.getVector())}#i;async addDice(t){return new Promise(i=>{this.#t||this.start();for(let n of t)n.recreate(this.getVector(),this.WIDTH,this.HEIGHT),this.scene.add(this.tracker.track(n.geometry)),this.world.add(n);this.#e.add(t),this.#i.set(t,()=>{i()})})}onload(){this.loaded=!0,this.addChild(this.factory),this.container.empty(),this.container.style.opacity="1",this.renderer.shadowMap.enabled=this.shadows,this.renderer.shadowMap.type=Bh,this.container.appendChild(this.renderer.domElement),document.body.appendChild(this.container),this.renderer.setClearColor(0,0),this.scene=new Vs,this.initScene(),this.initWorld(),this.registerDomEvent(window,"resize",()=>{this.initScene()})}onunload(){this.stop(),this.loaded=!1,cancelAnimationFrame(this.animation),this.container.detach(),this.container.empty(),this.renderer.domElement.detach(),this.factory.dispose(),this.renderer.renderLists.dispose(),this.renderer.dispose(),this.tracker.dispose(),[...this.#e.values()].flat().forEach(t=>{this.world.world.removeBody(t.body)}),this.#e=new Set}start(){this.#t&&this.unload(),this.loaded||this.load(),this.#t=!0,this.extraFrames=r.DEFAULT_EXTRA_FRAMES,this.render()}static{this.DEFAULT_EXTRA_FRAMES=30}enableShadows(){this.shadows=!0,this.renderer&&(this.renderer.shadowMap.enabled=this.shadows),this.light&&(this.light.castShadow=this.shadows),this.desk&&(this.desk.receiveShadow=this.shadows)}disableShadows(){this.shadows=!1,this.renderer&&(this.renderer.shadowMap.enabled=this.shadows),this.light&&(this.light.castShadow=this.shadows),this.desk&&(this.desk.receiveShadow=this.shadows)}get mw(){return Math.max(this.WIDTH,this.HEIGHT)}setDimensions(t){this.display.currentWidth=this.container.clientWidth/2,this.display.currentHeight=this.container.clientHeight/2,t?(this.display.containerWidth=t.w,this.display.containerHeight=t.h):(this.display.containerWidth=this.display.currentWidth,this.display.containerHeight=this.display.currentHeight),this.display.aspect=Math.min(this.display.currentWidth/this.display.containerWidth,this.display.currentHeight/this.display.containerHeight),this.display.scale=Math.sqrt(this.display.containerWidth*this.display.containerWidth+this.display.containerHeight*this.display.containerHeight)/13,this.renderer.setSize(this.display.currentWidth*2,this.display.currentHeight*2),this.cameraHeight.max=this.display.currentHeight/this.display.aspect/Math.tan(10*Math.PI/180),this.factory.width=this.display.currentWidth,this.factory.height=this.display.currentHeight,this.factory.updateDice(this.data),this.cameraHeight.medium=this.cameraHeight.max/1.5,this.cameraHeight.far=this.cameraHeight.max,this.cameraHeight.close=this.cameraHeight.max/2}initCamera(){this.camera&&this.scene.remove(this.camera),this.camera=new Et(20,this.display.currentWidth/this.display.currentHeight,1,this.cameraHeight.max*1.3),this.camera.position.z=this.cameraHeight.far,this.camera.lookAt(new P(0,0,0))}initLighting(){let t=Math.max(this.display.containerWidth,this.display.containerHeight);this.light&&this.scene.remove(this.light),this.ambientLight&&this.scene.remove(this.ambientLight),this.light=new oo(this.colors.spotlight,.25),this.light.position.set(-t/2,t/2,t*3),this.light.target.position.set(0,0,0),this.light.distance=t*5,this.light.angle=Math.PI/4,this.light.castShadow=this.shadows,this.light.shadow.camera.near=t/10,this.light.shadow.camera.far=t*5,this.light.shadow.camera.fov=50,this.light.shadow.bias=.001,this.light.shadow.mapSize.width=1024,this.light.shadow.mapSize.height=1024,this.scene.add(this.tracker.track(this.light)),this.ambientLight=new ao(16777215,.9),this.scene.add(this.tracker.track(this.ambientLight))}initDesk(){this.desk&&this.scene.remove(this.desk);let t=new so;t.opacity=.5,this.desk=new pt(new Gr(this.display.containerWidth*6,this.display.containerHeight*6,1,1),t),this.desk.receiveShadow=this.shadows,this.scene.add(this.tracker.track(this.desk))}initScene(){this.setDimensions(),this.initCamera(),this.initLighting(),this.initDesk(),this.camera.updateProjectionMatrix(),this.renderer.render(this.scene,this.camera)}initWorld(){this.world=new Uh(this.WIDTH,this.HEIGHT),this.iterations=0}finishRender(){this.event.trigger("throw-finished")}#n;static{this.Threshold=5}throwFinished(){let t=!0;for(let i of this.#e){let n=!0;for(let s of i){if(s.iterations>10/this.frame_rate&&(s.stopped=!0),s.stopped===!0)continue;let o=s.body.angularVelocity,a=s.body.velocity;if(Math.abs(o.length())5){s.stopped=!0;continue}n=!1,t=!1}else s.iterations++,s.stopped=!1,n=!1,t=!1}n&&this.#i.has(i)&&(this.#i.get(i)(),this.#i.delete(i))}return t}unrender(){this.container.style.opacity="0",cancelAnimationFrame(this.animation),this.registerInterval(window.setTimeout(()=>{this.stop()},1e3))}stop(){if(this.#t)for(let t of[...this.#e]){this.#i.has(t)&&(this.#i.get(t)(),this.#i.delete(t));for(let i of t)i.stopped=!0}this.#t=!1,this.unload()}resizeRendererToDisplaySize(){let t=this.renderer.domElement,i=window.devicePixelRatio,n=t.clientWidth*i|0,s=t.clientHeight*i|0,o=t.width!==n||t.height!==s;return o&&this.renderer.setSize(n,s,!1),o}render(){if(this.throwFinished())if(this.extraFrames>10)this.extraFrames--;else{try{if(this.data.renderTime)this.registerInterval(window.setTimeout(()=>this.unrender(),this.data.renderTime));else{let i=function(){t.unload(),document.body.removeEventListener("click",i)},t=this;this.registerDomEvent(document.body,"click",i)}}catch(t){this.event.trigger("error",t)}return}this.animation=requestAnimationFrame(()=>this.render()),this.resizeRendererToDisplaySize()&&(this.camera.aspect=this.canvasEl.clientWidth/this.canvasEl.clientHeight,this.camera.updateProjectionMatrix()),this.world.step(this.frame_rate),this.iterations++,[...this.#e.values()].forEach(t=>t.forEach(i=>i.set())),this.renderer.render(this.scene,this.camera)}getVector(){return{x:(Math.random()*2-1)*this.WIDTH,y:-(Math.random()*2-1)*this.HEIGHT}}dispose(...t){t.forEach(i=>{i.children&&this.dispose(...i.children),i.clear()})}},Pt=new Vh,Uh=class{constructor(e,t){this.WIDTH=e;this.HEIGHT=t;this.world=new $o({gravity:new b(0,0,-9.82*200)});this.ground=this.getPlane();this.diceMaterial=new on;this.deskMaterial=new on;this.barrierMaterial=new on;this.world.broadphase=new gr,this.world.allowSleep=!0,this.ground.position.set(0,0,0),this.world.addBody(this.ground),this.buildWalls()}add(...e){e.forEach(t=>{this.world.addBody(t.body)})}remove(...e){e.forEach(t=>this.world.removeBody(t.body))}step(e=1/60){let t=performance.now()/1e3;if(!this.lastCallTime)this.world.step(e);else{let i=t-this.lastCallTime;this.world.step(e,i)}this.lastCallTime=t}buildWalls(){this.world.addContactMaterial(new rn(this.deskMaterial,this.diceMaterial,{friction:.01,restitution:.5,contactEquationRelaxation:3,contactEquationStiffness:1e8})),this.world.addContactMaterial(new rn(this.barrierMaterial,this.diceMaterial,{friction:.01,restitution:1,contactEquationRelaxation:3,contactEquationStiffness:1e8})),this.world.addContactMaterial(new rn(this.diceMaterial,this.diceMaterial,{friction:.1,restitution:.5,contactEquationRelaxation:3,contactEquationStiffness:1e8})),this.world.addBody(new De({allowSleep:!1,mass:0,shape:new Ui,material:this.deskMaterial}));let e=new De({allowSleep:!1,mass:0,shape:new Ui,material:this.barrierMaterial});e.quaternion.setFromAxisAngle(new b(1,0,0),Math.PI/2),e.position.set(0,this.HEIGHT*.93,0),this.world.addBody(e),e=new De({allowSleep:!1,mass:0,shape:new Ui,material:this.barrierMaterial}),e.quaternion.setFromAxisAngle(new b(1,0,0),-Math.PI/2),e.position.set(0,-this.HEIGHT*.93,0),this.world.addBody(e),e=new De({allowSleep:!1,mass:0,shape:new Ui,material:this.barrierMaterial}),e.quaternion.setFromAxisAngle(new b(0,1,0),-Math.PI/2),e.position.set(this.WIDTH*.93,0,0),this.world.addBody(e),e=new De({allowSleep:!1,mass:0,shape:new Ui,material:this.barrierMaterial}),e.quaternion.setFromAxisAngle(new b(0,1,0),Math.PI/2),e.position.set(-this.WIDTH*.93,0,0),this.world.addBody(e)}getPlane(){return new De({type:De.STATIC,shape:new Ui})}},Hh=class extends Xn.Component{constructor(t,i,n){super();this.width=t;this.height=i;this.options=n;this.dice={};this.updateDice=(0,Xn.debounce)(t=>{this.options={...t},this.dispose(),this.buildDice()},200);this.buildDice()}get colors(){let t=this.options.diceColor,i=this.options.textColor,n=this.options.textFont;if(!this.options.colorfulDice)return{diceColor:t,textFont:n}}onunload(){this.dispose()}disposeChildren(...t){t.forEach(i=>{"dispose"in i&&i.dispose(),i.children&&this.disposeChildren(...i.children)})}dispose(){for(let t of Object.values(this.dice))this.disposeChildren(t.geometry.children)}getDiceForRoller(t,i){let n=[];switch(t.getType()){case Mt.D4:{n.push(new ul(this.width,this.height,this.clone("d4"),i));break}case Mt.FUDGE:{n.push(new Js(this.width,this.height,this.clone("fudge"),i));break}case Mt.STUNT:{n.push(new Js(this.width,this.height,this.clone("stunt"),i));break}case Mt.D6:{n.push(new Js(this.width,this.height,this.clone("d6"),i));break}case Mt.D8:{n.push(new cl(this.width,this.height,this.clone("d8"),i));break}case Mt.D10:{n.push(new Zs(this.width,this.height,this.clone("d10"),i));break}case Mt.D12:{n.push(new ll(this.width,this.height,this.clone("d12"),i));break}case Mt.D20:{n.push(new al(this.width,this.height,this.clone("d20"),i));break}case Mt.D100:{n.push(new Zs(this.width,this.height,this.clone("d100"),i,!0),new Zs(this.width,this.height,this.clone("d10"),i,!0));break}case Mt.NONE:break}return n}getDice(t,i){let n=new Map;for(let s of t.dynamic){let o=this.getDiceForRoller(s,i);o.length&&n.set(s,o)}return n}clone(t){if(!(t in this.dice))throw new Error("That dice type does not exist!");return this.dice[t].clone()}buildDice(){this.dice.d100=new ml(this.width,this.height,this.colors,this.options.scaler).create(),this.dice.d20=new dl(this.width,this.height,this.colors,this.options.scaler).create(),this.dice.d12=new pl(this.width,this.height,this.colors,this.options.scaler).create(),this.dice.d10=new fl(this.width,this.height,this.colors,this.options.scaler).create(),this.dice.d8=new gl(this.width,this.height,this.colors,this.options.scaler).create(),this.dice.d6=new Ks(this.width,this.height,this.colors,this.options.scaler).create(),this.dice.d4=new vl(this.width,this.height,this.colors,this.options.scaler).create(),this.dice.fudge=new yl(this.width,this.height,this.colors,this.options.scaler).create(),this.dice.stunt=new xl(this.width,this.height,this.colors,this.options.scaler).create(),this.dice.boost=new Dl(this.width,this.height,this.colors,this.options.scaler).create(),this.dice.ability=new Al(this.width,this.height,this.colors,this.options.scaler).create(),this.dice.difficulty=new Sl(this.width,this.height,this.colors,this.options.scaler).create(),this.dice.challenge=new _l(this.width,this.height,this.colors,this.options.scaler).create(),this.dice.proficiency=new bl(this.width,this.height,this.colors,this.options.scaler).create(),this.dice.setback=new Tl(this.width,this.height,this.colors,this.options.scaler).create()}};var Qs=(n=>(n.None="None",n.Normal="Normal",n.Up="Up",n.Down="Down",n))(Qs||{});var Ot={LEFT:"LEFT",RIGHT:"RIGHT",NONE:"NONE"};var ri=require("obsidian");var fo=class extends ri.Component{constructor(){super(...arguments);this.components=[];this.#e=new ri.Events}on(t,i,n){return this.#e.on(t,i)}once(t,i){let n=this.on(t,(...s)=>{i(...s),this.offref(n)})}off(t,i){return this.#e.off(t,i)}offref(t){return this.#e.offref(t)}trigger(t,...i){return this.#e.trigger(t,...i)}tryTrigger(t,i){return this.#e.tryTrigger(t,i)}onunload(){this.components=[]}addContexts(...t){this.components=t;for(let i of t)i.addChild(this)}#e;getRandomBetween(t,i){let n=new Uint32Array(1);crypto.getRandomValues(n);let s=n[0]/4294967296;return Math.floor(s*(i-t+1))+t}},Rl=class extends fo{constructor(t,i="",n=t.position){super();this.data=t;this.original=i;this.loaded=!1;switch(this.original||(this.original=""),this.containerEl=createSpan({cls:"dice-roller",attr:{"aria-label-position":"top","data-dice":this.original}}),this.resultEl=this.containerEl.createSpan("dice-roller-result"),this.iconEl=createSpan({cls:"dice-roller-button"}),(0,ri.setIcon)(this.iconEl,"dices"),this.iconEl.onclick=this.onClick.bind(this),n){case"LEFT":{this.containerEl.prepend(this.iconEl);break}case"RIGHT":{this.containerEl.append(this.iconEl);break}case"NONE":{this.containerEl.addClass("no-icon");break}}this.containerEl.onclick=this.onClick.bind(this)}onLoad(t){this.loaded?t():this.on("loaded",()=>t())}onunload(){this.containerEl.empty();let t=createEl("pre");t.createEl("code",{text:this.original}),this.containerEl.append(t)}setTooltip(){this.data.displayResultsInline||this.containerEl.setAttrs({"aria-label":this.tooltip})}getRandomBetween(t,i){let n=new Uint32Array(1);crypto.getRandomValues(n);let s=n[0]/4294967296;return Math.floor(s*(i-t+1))+t}async render(){this.setTooltip(),await this.build()}async onClick(t){t.stopPropagation(),t.stopImmediatePropagation(),window.getSelection()?.isCollapsed&&await this.roll()}},Yn=class extends Rl{constructor(t,i,n,s=t.position){super(t,i,s);this.data=t;this.original=i;this.lexemes=n;this.position=s;this.save=!1}setSource(t){this.source=t}getSource(){return this.source}get inlineText(){return`${this.tooltip.split(` `).join(" -> ")} -> `}},mo=class extends Yn{constructor(t,i,n,s,o,a=t.position){super(t,i,[n],a);this.data=t;this.original=i;this.lexeme=n;this.source=s;this.app=o;this.dirtyEl=this.containerEl.createDiv({cls:"dice-roller-dirty dice-roller-button",attr:{"aria-label":"The underlying data source for this roller was modified"}});this.#t=!1;this.getPath()}async getFile(){if(this.file=this.app.metadataCache.getFirstLinkpathDest(this.path,this.source),!this.file||!(this.file instanceof ri.TFile))throw new Error("Could not load file.")}#e;async render(){super.render(),this.dirtyEl.empty()}async checkForDirtiness(t){let i=await this.hash(t);return i===this.#e?(this.dirtyEl.empty(),!1):(this.#e&&(0,ri.setIcon)(this.dirtyEl,"alert-triangle"),this.#e=i,!0)}async hash(t){return Array.from(new Uint8Array(await crypto.subtle.digest("SHA-256",new TextEncoder().encode(t))),i=>i.toString(16).padStart(2,"0")).join("")}#t;async onload(){if(this.#t)return;this.#t=!0,await this.getFile();let t=this.app.metadataCache.getFileCache(this.file),i=await this.app.vault.cachedRead(this.file);await this.getOptions(t,i),this.loaded=!0,this.trigger("loaded"),this.registerEvent(this.app.metadataCache.on("changed",async(n,s,o)=>{n===this.file&&await this.getOptions(o,s)}))}},er=class extends mo{constructor(t,i,n,s,o,a=t.position,l=!0){super(t,i,n,s,o,a);this.data=t;this.original=i;this.lexeme=n;this.app=o;this.inline=l;this.data.displayAsEmbed&&(this.containerEl.addClasses(["has-embed","markdown-embed"]),this.resultEl.addClass("internal-embed")),this.resultEl.setAttrs({src:s}),this.copy=this.containerEl.createDiv({cls:"dice-content-copy dice-roller-button no-show",attr:{"aria-label":"Copy Contents"}}),this.copy.addEventListener("click",c=>{c.stopPropagation(),navigator.clipboard.writeText(this.transformResultsToString()).then(async()=>{new ri.Notice("Result copied to clipboard.")})}),(0,ri.setIcon)(this.copy,"copy")}getEmbedClass(){return this.data.displayAsEmbed?"markdown-embed":""}},Fl=class extends Rl{constructor(t,i,n){super(t,"");this.options=i;this.rolls=n}get tooltip(){return`${this.options.toString()} -${this.results.toString()}`}async roll(){let t=[...this.options];return this.results=[...Array(this.rolls)].map(()=>{let i=t[this.getRandomBetween(0,t.length-1)];return t.splice(t.indexOf(i),1),i}).filter(i=>i),this.render(),this.trigger("new-result"),this.result=this.results[0],this.results[0]}async build(){this.resultEl.empty(),this.resultEl.setText(this.results.toString())}};var go=class extends At{constructor(t,i){super(t,i);this.dice=t;this.stack=[];let n=`${this.faces.max}`.split("");for(let s=0;st.map(i=>i.result).join(",")).join("|")}async roll(){if(!this.stack||!this.stack.length)return super.roll();this.stack.forEach(t=>t.map(i=>i.roll()))}allowAverage(){return!1}};var Gh=class extends At{getType(){return Dt.STUNT}canRender(){return!0}constructor(){super("1d6")}allowAverage(){return!1}},mi=class extends At{constructor(t,i){super(t,i);this.dice=t;this.pair=new At("2d6");this.stunt=new Gh}async roll(){await Promise.all([new Promise(async t=>{this.pair.shouldRender=this.shouldRender,await this.pair.roll(),t()}),new Promise(async t=>{this.stunt.shouldRender=this.shouldRender,await this.stunt.roll(),t()})])}get doubles(){return new Set([...this.pair.resultArray,this.stunt.result]).size<3}get result(){return this.pair.result+this.stunt.result}get display(){return`${[this.pair.display,`${this.stunt.display}${this.doubles?"S":""}`].join(", ")}`}};var yo=class extends At{constructor(){super(...arguments);this.possibilities=[-1,0,1]}getType(){return Dt.FUDGE}canRender(){return!0}};var hl=class extends fo{constructor(t,i){super();this.original=t;this.lexemes=i;this.operators={"+":(t,i)=>t+i,"-":(t,i)=>t-i,"*":(t,i)=>t*i,"/":(t,i)=>t/i,"^":(t,i)=>Math.pow(t,i)};this.stack=[];this.stackCopy=[];this.stunted="";this.dice=[]}async roll(){return this.rollSync()}rollSync(){this.stunted="",this.parseLexemes();let t=this.stack.pop();return t.rollSync(),t instanceof mi&&t.doubles&&(this.stunted=` - ${t.results.get(0).value} Stunt Points`),this.result=t.result,this.result}parseLexemes(){let t=0;for(let i of this.lexemes)switch(i.type){case"+":case"-":case"*":case"/":case"^":case"math":let n=this.stack.pop(),s=this.stack.pop();n.rollSync(),n instanceof mi&&n.doubles&&(this.stunted=` - ${n.results.get(0).value} Stunt Points`),s.rollSync(),s instanceof mi&&s.doubles&&(this.stunted=` - ${s.results.get(0).value} Stunt Points`);let o=this.operators[i.value](s.result,n.result);this.stackCopy.push(i.value),this.stack.push(new At(`${o}`,i));break;case"u":{let a=this.dice[t-1],l=i.value?Number(i.value):1;a.modifiers.set("u",{data:l,conditionals:[],value:i.text});break}case"kh":{let a=this.dice[t-1],l=i.value?Number(i.value):1;a.modifiers.set("kh",{data:l,conditionals:[],value:i.text});break}case"dl":{let a=this.dice[t-1],l=i.value?Number(i.value):1;l=a.rolls-l,a.modifiers.set("kh",{data:l,conditionals:[],value:i.text});break}case"kl":{let a=this.dice[t-1],l=i.value?Number(i.value):1;a.modifiers.set("kl",{data:l,conditionals:[],value:i.text});break}case"dh":{let a=this.dice[t-1],l=i.value?Number(i.value):1;l=a.rolls-l,a.modifiers.set("kl",{data:l,conditionals:[],value:i.text});break}case"!":{let a=this.dice[t-1],l=Number(i.value)||1;a.modifiers.set("!",{data:l,conditionals:i.conditions??[],value:i.text});break}case"!!":{let a=this.dice[t-1],l=Number(i.value)||1;a.modifiers.set("!!",{data:l,conditionals:i.conditions??[],value:i.text});break}case"r":{let a=this.dice[t-1],l=Number(i.value)||1;a.modifiers.set("r",{data:l,conditionals:i.conditions??[],value:i.text});break}case"sort":{let a=this.dice[t-1],l=Number(i.value);a.modifiers.set("sort",{data:l,conditionals:i.conditions??[],value:i.value});break}case"dice":{if(i.parenedDice&&/^d/.test(i.value)&&this.stack.length){let a=this.stack.pop();i.value=`${a.result}${i.value}`,this.dice[t]=new At(i.value,i)}this.dice[t]||(this.dice[t]=new At(i.value,i)),this.stack.push(this.dice[t]),this.stackCopy.push(this.dice[t]),t++;break}case"fudge":{this.dice[t]||(this.dice[t]=new yo(i.value,i)),this.stack.push(this.dice[t]),this.stackCopy.push(this.dice[t]),t++;break}case"stunt":{this.dice[t]||(this.dice[t]=new mi(i.value,i)),this.stack.push(this.dice[t]),this.stackCopy.push(this.dice[t]),t++;break}case"%":{this.dice[t]||(this.dice[t]=new go(i.value,i)),this.stack.push(this.dice[t]),this.stackCopy.push(this.dice[t]),t++;break}}}},qt=class extends Yn{constructor(t,i,n,s,o=t.position,a,l=t.initialDisplay,c=t.displayFormulaAfter,u=t.round,h=t.signed){super(t,i,n,o);this.data=t;this.original=i;this.lexemes=n;this.app=s;this.displayFixedText=!1;this.stunted="";this.shouldRender=!1;this.isRendering=!1;this.showFormula=!1;this.operators={"+":(t,i)=>t+i,"-":(t,i)=>t-i,"*":(t,i)=>t*i,"/":(t,i)=>t/i,"^":(t,i)=>Math.pow(t,i)};this.stack=[];this.maxStack=[];this.minStack=[];this.stackCopy=[];this.dice=[];this.hasRunOnce=!1;this.max=Number.MIN_VALUE;this.min=Number.MAX_VALUE;c&&this.containerEl.createSpan({cls:"dice-roller-formula",text:`(${i})`}),this.fixedText=a,this.expectedValue=l,this.displayFixedText=this.fixedText!=="",this.round=u,this.signed=h,this.loaded=!0,this.trigger("loaded")}onunload(){this.isRendering&&Mt.unrender(),super.onunload()}async getReplacer(){return`${this.showFormula?`${this.inlineText} `:""}${this.result}`}get resultText(){let t=[],i=0;return this.dice.forEach(n=>{let s=this.original.slice(i);t.push(s.slice(0,s.indexOf(n.lexeme.text)),n.display),i+=s.indexOf(n.lexeme.text)+n.lexeme.text.length+n.modifierText.length}),t.push(this.original.slice(i)),t.join("")}get tooltip(){return this.isRendering?this.original:this._tooltip?this._tooltip:this.expectedValue==="Roll"||this.shouldRender?this.displayFixedText?`${this.original} +${this.results.toString()}`}async roll(){let t=[...this.options];return this.results=[...Array(this.rolls)].map(()=>{let i=t[this.getRandomBetween(0,t.length-1)];return t.splice(t.indexOf(i),1),i}).filter(i=>i),this.render(),this.trigger("new-result"),this.result=this.results[0],this.results[0]}async build(){this.resultEl.empty(),this.resultEl.setText(this.results.toString())}};var go=class extends At{constructor(t,i){super(t,i);this.dice=t;this.stack=[];let n=`${this.faces.max}`.split("");for(let s=0;st.map(i=>i.result).join(",")).join("|")}async roll(){if(!this.stack||!this.stack.length)return super.roll();this.stack.forEach(t=>t.map(i=>i.roll()))}allowAverage(){return!1}};var Gh=class extends At{getType(){return Mt.STUNT}canRender(){return!0}constructor(){super("1d6")}allowAverage(){return!1}},mi=class extends At{constructor(t,i){super(t,i);this.dice=t;this.pair=new At("2d6");this.stunt=new Gh}async roll(){await Promise.all([new Promise(async t=>{this.pair.shouldRender=this.shouldRender,await this.pair.roll(),t()}),new Promise(async t=>{this.stunt.shouldRender=this.shouldRender,await this.stunt.roll(),t()})])}get doubles(){return new Set([...this.pair.resultArray,this.stunt.result]).size<3}get result(){return this.pair.result+this.stunt.result}get display(){return`${[this.pair.display,`${this.stunt.display}${this.doubles?"S":""}`].join(", ")}`}};var yo=class extends At{constructor(){super(...arguments);this.possibilities=[-1,0,1]}getType(){return Mt.FUDGE}canRender(){return!0}};var hl=class extends fo{constructor(t,i){super();this.original=t;this.lexemes=i;this.operators={"+":(t,i)=>t+i,"-":(t,i)=>t-i,"*":(t,i)=>t*i,"/":(t,i)=>t/i,"^":(t,i)=>Math.pow(t,i)};this.stack=[];this.stackCopy=[];this.stunted="";this.dice=[]}async roll(){return this.rollSync()}rollSync(){this.stunted="",this.parseLexemes();let t=this.stack.pop();return t.rollSync(),t instanceof mi&&t.doubles&&(this.stunted=` - ${t.results.get(0).value} Stunt Points`),this.result=t.result,this.result}parseLexemes(){let t=0;for(let i of this.lexemes)switch(i.type){case"+":case"-":case"*":case"/":case"^":case"math":let n=this.stack.pop(),s=this.stack.pop();n.rollSync(),n instanceof mi&&n.doubles&&(this.stunted=` - ${n.results.get(0).value} Stunt Points`),s.rollSync(),s instanceof mi&&s.doubles&&(this.stunted=` - ${s.results.get(0).value} Stunt Points`);let o=this.operators[i.value](s.result,n.result);this.stackCopy.push(i.value),this.stack.push(new At(`${o}`,i));break;case"u":{let a=this.dice[t-1],l=i.value?Number(i.value):1;a.modifiers.set("u",{data:l,conditionals:[],value:i.text});break}case"kh":{let a=this.dice[t-1],l=i.value?Number(i.value):1;a.modifiers.set("kh",{data:l,conditionals:[],value:i.text});break}case"dl":{let a=this.dice[t-1],l=i.value?Number(i.value):1;l=a.rolls-l,a.modifiers.set("kh",{data:l,conditionals:[],value:i.text});break}case"kl":{let a=this.dice[t-1],l=i.value?Number(i.value):1;a.modifiers.set("kl",{data:l,conditionals:[],value:i.text});break}case"dh":{let a=this.dice[t-1],l=i.value?Number(i.value):1;l=a.rolls-l,a.modifiers.set("kl",{data:l,conditionals:[],value:i.text});break}case"!":{let a=this.dice[t-1],l=Number(i.value)||1;a.modifiers.set("!",{data:l,conditionals:i.conditions??[],value:i.text});break}case"!!":{let a=this.dice[t-1],l=Number(i.value)||1;a.modifiers.set("!!",{data:l,conditionals:i.conditions??[],value:i.text});break}case"r":{let a=this.dice[t-1],l=Number(i.value)||1;a.modifiers.set("r",{data:l,conditionals:i.conditions??[],value:i.text});break}case"sort":{let a=this.dice[t-1],l=Number(i.value);a.modifiers.set("sort",{data:l,conditionals:i.conditions??[],value:i.value});break}case"dice":{if(i.parenedDice&&/^d/.test(i.value)&&this.stack.length){let a=this.stack.pop();i.value=`${a.result}${i.value}`,this.dice[t]=new At(i.value,i)}this.dice[t]||(this.dice[t]=new At(i.value,i)),this.stack.push(this.dice[t]),this.stackCopy.push(this.dice[t]),t++;break}case"fudge":{this.dice[t]||(this.dice[t]=new yo(i.value,i)),this.stack.push(this.dice[t]),this.stackCopy.push(this.dice[t]),t++;break}case"stunt":{this.dice[t]||(this.dice[t]=new mi(i.value,i)),this.stack.push(this.dice[t]),this.stackCopy.push(this.dice[t]),t++;break}case"%":{this.dice[t]||(this.dice[t]=new go(i.value,i)),this.stack.push(this.dice[t]),this.stackCopy.push(this.dice[t]),t++;break}}}},qt=class extends Yn{constructor(t,i,n,s,o=t.position,a,l=t.initialDisplay,c=t.displayFormulaAfter,u=t.round,h=t.signed){super(t,i,n,o);this.data=t;this.original=i;this.lexemes=n;this.app=s;this.displayFixedText=!1;this.stunted="";this.shouldRender=!1;this.isRendering=!1;this.showFormula=!1;this.operators={"+":(t,i)=>t+i,"-":(t,i)=>t-i,"*":(t,i)=>t*i,"/":(t,i)=>t/i,"^":(t,i)=>Math.pow(t,i)};this.stack=[];this.maxStack=[];this.minStack=[];this.stackCopy=[];this.dice=[];this.hasRunOnce=!1;this.max=Number.MIN_VALUE;this.min=Number.MAX_VALUE;c&&this.containerEl.createSpan({cls:"dice-roller-formula",text:`(${i})`}),this.fixedText=a,this.expectedValue=l,this.displayFixedText=this.fixedText!=="",this.round=u,this.signed=h,this.loaded=!0,this.trigger("loaded")}onunload(){this.isRendering&&Pt.unrender(),super.onunload()}async getReplacer(){return`${this.showFormula?`${this.inlineText} `:""}${this.result}`}get resultText(){let t=[],i=0;return this.dice.forEach(n=>{let s=this.original.slice(i);t.push(s.slice(0,s.indexOf(n.lexeme.text)),n.display),i+=s.indexOf(n.lexeme.text)+n.lexeme.text.length+n.modifierText.length}),t.push(this.original.slice(i)),t.join("")}get tooltip(){return this.isRendering?this.original:this._tooltip?this._tooltip:this.expectedValue==="Roll"||this.shouldRender?this.displayFixedText?`${this.original} ${this.result} = ${this.resultText}`:`${this.original} ${this.resultText}`:this.expectedValue==="Average"?this.displayFixedText?`${this.original} ${this.result} = average: ${this.resultText}`:`${this.original} average: ${this.resultText}`:`${this.original} -empty`}allowAverage(){return this.dynamic.every(t=>t.allowAverage())}async build(){if(this.resultEl.empty(),this.expectedValue==="Average"&&!this.shouldRender){if(this.allowAverage()){for(let s of this.dynamic){let o=s.average(),a=new Map;for(let l=0;l0?"+":"",n;this.expectedValue==="None"&&!this.shouldRender?(this.position!=Ot.NONE?n=[""]:n=["\xA0"],this.showFormula&&n.unshift(this.original+" -> ")):(n=[`${i}${t}`],this.showFormula&&n.unshift(this.inlineText)),this.expectedValue="Roll",this.displayFixedText?this.resultEl.setText(this.fixedText):this.resultEl.setText(n.join("")+this.stunted),this.result===this.max?this.containerEl.addClass("is-max"):this.containerEl.removeClass("is-max"),this.result===this.min?this.containerEl.addClass("is-min"):this.containerEl.removeClass("is-min")}async onClick(t){t.stopPropagation(),t.stopImmediatePropagation(),t.getModifierState("Alt")?this.expectedValue="Average":t.getModifierState("Control")&&(this.expectedValue="None"),t.getModifierState("Shift")?(await this.roll(!0),this.hasRunOnce=!0):window.getSelection()?.isCollapsed&&await this.roll()}get dynamic(){return this.dice.filter(t=>!t.static)}get static(){return this.dice.filter(t=>t.static)}get isStatic(){return this.dice.every(t=>t.static)}rollSync(){this.stunted="",this.buildDiceTree();for(let t of this.dice)t.rollSync();return this.calculate(),this._tooltip=null,this.render(),this.trigger("new-result"),this.hasRunOnce=!0,this.result}setSpinner(){this.resultEl.empty(),(0,Bl.setIcon)(this.resultEl.createDiv("should-spin"),"loader-2")}async renderDice(){this.isRendering=!0,this.setTooltip(),this.setSpinner();let t=[];for(let i of this.dice)t.push(new Promise(async n=>{await i.render(),n()}));await Promise.all(t),this.isRendering=!1,this.setTooltip()}buildDiceTree(){let t=0;for(let i of this.lexemes)switch(i.type){case"+":case"*":case"/":case"^":case"-":case"math":continue;case"u":{let n=this.dice[t-1],s=i.value?Number(i.value):1;n.modifiers.set("u",{data:s,conditionals:[],value:i.text});break}case"kh":{let n=this.dice[t-1],s=i.value?Number(i.value):1;n.modifiers.set("kh",{data:s,conditionals:[],value:i.text});break}case"dl":{let n=this.dice[t-1],s=i.value?Number(i.value):1;s=n.rolls-s,n.modifiers.set("kh",{data:s,conditionals:[],value:i.text});break}case"kl":{let n=this.dice[t-1],s=i.value?Number(i.value):1;n.modifiers.set("kl",{data:s,conditionals:[],value:i.text});break}case"dh":{let n=this.dice[t-1],s=i.value?Number(i.value):1;s=n.rolls-s,n.modifiers.set("kl",{data:s,conditionals:[],value:i.text});break}case"!":{let n=this.dice[t-1],s=Number(i.value)||1;n.modifiers.set("!",{data:s,conditionals:i.conditions??[],value:i.text});break}case"!!":{let n=this.dice[t-1],s=Number(i.value)||1;n.modifiers.set("!!",{data:s,conditionals:i.conditions??[],value:i.text});break}case"r":{let n=this.dice[t-1],s=Number(i.value)||1;n.modifiers.set("r",{data:s,conditionals:i.conditions??[],value:i.text});break}case"sort":{let n=this.dice[t-1],s=Number(i.value);n.modifiers.set("sort",{data:s,conditionals:i.conditions??[],value:i.value});break}case"dice":{if(i.parenedDice&&/^d/.test(i.value)&&this.stack.length){let n=this.stack.pop();i.value=`${n.result}${i.value}`,this.dice[t]=new At(i.value,i)}this.dice[t]||(this.dice[t]=new At(i.value,i)),t++;break}case"fudge":{this.dice[t]||(this.dice[t]=new yo(i.value,i)),t++;break}case"stunt":{this.dice[t]||(this.dice[t]=new mi(i.value,i)),t++;break}case"%":{this.dice[t]||(this.dice[t]=new go(i.value,i)),t++;break}}}async roll(t){if(this.stunted="",this.stackCopy=[],this.dice.length||this.buildDiceTree(),Mt.stop(),this.dice.forEach(i=>i.shouldRender=!1),t||this.shouldRender&&this.hasRunOnce)await this.renderDice();else for(let i of this.dice)await i.roll();return this.calculate(),this.render(),this.showRenderNotice&&(t||this.shouldRender&&this.hasRunOnce)&&new Bl.Notice(`${this.tooltip} +empty`}allowAverage(){return this.dynamic.every(t=>t.allowAverage())}async build(){if(this.resultEl.empty(),this.expectedValue==="Average"&&!this.shouldRender){if(this.allowAverage()){for(let s of this.dynamic){let o=s.average(),a=new Map;for(let l=0;l0?"+":"",n;this.expectedValue==="None"&&!this.shouldRender?(this.position!=Ot.NONE?n=[""]:n=["\xA0"],this.showFormula&&n.unshift(this.original+" -> ")):(n=[`${i}${t}`],this.showFormula&&n.unshift(this.inlineText)),this.expectedValue="Roll",this.displayFixedText?this.resultEl.setText(this.fixedText):this.resultEl.setText(n.join("")+this.stunted),this.result===this.max?this.containerEl.addClass("is-max"):this.containerEl.removeClass("is-max"),this.result===this.min?this.containerEl.addClass("is-min"):this.containerEl.removeClass("is-min")}async onClick(t){t.stopPropagation(),t.stopImmediatePropagation(),t.getModifierState("Alt")?this.expectedValue="Average":t.getModifierState("Control")&&(this.expectedValue="None"),t.getModifierState("Shift")?(await this.roll(!0),this.hasRunOnce=!0):window.getSelection()?.isCollapsed&&await this.roll()}get dynamic(){return this.dice.filter(t=>!t.static)}get static(){return this.dice.filter(t=>t.static)}get isStatic(){return this.dice.every(t=>t.static)}rollSync(){this.stunted="",this.buildDiceTree();for(let t of this.dice)t.rollSync();return this.calculate(),this._tooltip=null,this.render(),this.trigger("new-result"),this.hasRunOnce=!0,this.result}setSpinner(){this.resultEl.empty(),(0,Bl.setIcon)(this.resultEl.createDiv("should-spin"),"loader-2")}async renderDice(){this.isRendering=!0,this.setTooltip(),this.setSpinner();let t=[];for(let i of this.dice)t.push(new Promise(async n=>{await i.render(),n()}));await Promise.all(t),this.isRendering=!1,this.setTooltip()}buildDiceTree(){let t=0;for(let i of this.lexemes)switch(i.type){case"+":case"*":case"/":case"^":case"-":case"math":continue;case"u":{let n=this.dice[t-1],s=i.value?Number(i.value):1;n.modifiers.set("u",{data:s,conditionals:[],value:i.text});break}case"kh":{let n=this.dice[t-1],s=i.value?Number(i.value):1;n.modifiers.set("kh",{data:s,conditionals:[],value:i.text});break}case"dl":{let n=this.dice[t-1],s=i.value?Number(i.value):1;s=n.rolls-s,n.modifiers.set("kh",{data:s,conditionals:[],value:i.text});break}case"kl":{let n=this.dice[t-1],s=i.value?Number(i.value):1;n.modifiers.set("kl",{data:s,conditionals:[],value:i.text});break}case"dh":{let n=this.dice[t-1],s=i.value?Number(i.value):1;s=n.rolls-s,n.modifiers.set("kl",{data:s,conditionals:[],value:i.text});break}case"!":{let n=this.dice[t-1],s=Number(i.value)||1;n.modifiers.set("!",{data:s,conditionals:i.conditions??[],value:i.text});break}case"!!":{let n=this.dice[t-1],s=Number(i.value)||1;n.modifiers.set("!!",{data:s,conditionals:i.conditions??[],value:i.text});break}case"r":{let n=this.dice[t-1],s=Number(i.value)||1;n.modifiers.set("r",{data:s,conditionals:i.conditions??[],value:i.text});break}case"sort":{let n=this.dice[t-1],s=Number(i.value);n.modifiers.set("sort",{data:s,conditionals:i.conditions??[],value:i.value});break}case"dice":{if(i.parenedDice&&/^d/.test(i.value)&&this.stack.length){let n=this.stack.pop();i.value=`${n.result}${i.value}`,this.dice[t]=new At(i.value,i)}this.dice[t]||(this.dice[t]=new At(i.value,i)),t++;break}case"fudge":{this.dice[t]||(this.dice[t]=new yo(i.value,i)),t++;break}case"stunt":{this.dice[t]||(this.dice[t]=new mi(i.value,i)),t++;break}case"%":{this.dice[t]||(this.dice[t]=new go(i.value,i)),t++;break}}}async roll(t){if(this.stunted="",this.stackCopy=[],this.dice.length||this.buildDiceTree(),Pt.stop(),this.dice.forEach(i=>i.shouldRender=!1),t||this.shouldRender&&this.hasRunOnce)await this.renderDice();else for(let i of this.dice)await i.roll();return this.calculate(),this.render(),this.showRenderNotice&&(t||this.shouldRender&&this.hasRunOnce)&&new Bl.Notice(`${this.tooltip} -Result: ${this.result}`),this.trigger("new-result"),this.app.workspace.trigger("dice-roller:new-result",this),this.hasRunOnce=!0,this.result}calculate(){let t=0;for(let n of this.lexemes)switch(n.type){case"+":case"-":case"*":case"/":case"^":case"math":{let s=this.stack.pop(),o=this.stack.pop();s instanceof mi&&s.doubles&&(this.stunted=` - ${s.results.get(0).value} Stunt Points`),o instanceof mi&&o.doubles&&(this.stunted=` - ${o.results.get(0).value} Stunt Points`);let a=this.operators[n.value](o.result,s.result),l=this.operators[n.value](this.minStack.pop(),this.minStack.pop()),c=this.operators[n.value](this.maxStack.pop(),this.maxStack.pop());this.stackCopy.push(n.value),this.stack.push(new At(`${a}`,n)),this.minStack.push(l),this.maxStack.push(c);break}case"stunt":case"fudge":case"%":case"dice":this.stack.push(this.dice[t]),this.stackCopy.push(this.dice[t]),this.minStack.push(this.dice[t].getMinPossible()),this.maxStack.push(this.dice[t].getMaxPossible()),t++;default:continue}let i=this.stack.pop();this.min=this.minStack.pop(),this.max=this.maxStack.pop(),i instanceof mi&&i.doubles&&(this.stunted=` - ${i.stunt.result} Stunt Points`),this.result=i.result}};var ce=require("obsidian");var ir=require("obsidian"),U_=createSvg("svg",{attr:{viewBox:"0 0 500 500"}}),H_=createSvg("text",{attr:{class:"font",fill:"currentColor",x:"50%",y:"50%","text-anchor":"middle","dominant-baseline":"central"}}),Pl=(a=>(a.NONE="None",a.TRIANGLE="Triangle",a.SQUARE="Square",a.DIAMOND="Diamond",a.DODECAHEDRON="Dodecahedron",a.ICOSAHEDRON="Icosahedron",a.CIRCLE="Circle",a))(Pl||{}),Fm=[{id:"dice-roller-d4",shape:"Triangle",formula:"d4",text:"4"},{id:"dice-roller-d6",shape:"Square",formula:"d6",text:"6"},{id:"dice-roller-d8",shape:"Diamond",formula:"d8",text:"8"},{id:"dice-roller-d10",shape:"Diamond",formula:"d10",text:"10"},{id:"dice-roller-d12",shape:"Dodecahedron",formula:"d12",text:"12"},{id:"dice-roller-d20",shape:"Icosahedron",formula:"d20",text:"20"},{id:"dice-roller-d100",shape:"Circle",formula:"d%",text:"%"}],qh=class extends ir.Component{#e(){return U_.cloneNode(!0)}#t(){return H_.cloneNode()}#i=new Set;registerIcon(e,t,i){this.#i.add(e);let n=this.#e(),s=this.#t();s.textContent=i,n.appendChild(s);let o;switch(t){case"Triangle":o=this.getTriangle();break;case"Square":{o=this.getSquare();break}case"Diamond":{o=this.getDiamond();break}case"Dodecahedron":{o=this.getDodecahedron();break}case"Icosahedron":{o=this.getIcosahedron();break}case"Circle":{o=this.getCircle();break}case"None":o=createSvg("defs")}n.appendChild(o),(0,ir.addIcon)(e,n.outerHTML),this.register(()=>(0,ir.removeIcon)(e))}getTriangle(){return this.#n("path",{d:"M244.6,49.3L40.3,403.2c-1.7,3-0.7,6.8,2.3,8.5c0.9,0.5,2,0.8,3.1,0.8h408.6c3.4,0,6.2-2.8,6.2-6.2 c0-1.1-0.3-2.2-0.8-3.1L255.4,49.3c-1.7-3-5.5-4-8.5-2.3C246,47.6,245.2,48.4,244.6,49.3z"})}getSquare(){return this.#n("rect",{x:"87.5",y:"87.5",width:"325",height:"325",rx:"10"})}getDiamond(){return this.#n("rect",{x:"102.75",y:"102.75",width:"294.51",height:"294.51",rx:"9.8",transform:"translate(-103.55 250) rotate(-45)"})}getDodecahedron(){return this.#n("path",{d:"M244.31,29.14,52,168.87a9.72,9.72,0,0,0-3.52,10.84l73.47,226.1a9.69,9.69,0,0,0,9.21,6.69H368.87a9.69,9.69,0,0,0,9.21-6.69l73.47-226.1A9.72,9.72,0,0,0,448,168.87L255.69,29.14A9.66,9.66,0,0,0,244.31,29.14Z"})}getIcosahedron(){return this.#n("path",{d:"M55.14,143.27V356.73a10,10,0,0,0,5,8.66L245,472.11a10,10,0,0,0,10,0L439.86,365.39a10,10,0,0,0,5-8.66V143.27a10,10,0,0,0-5-8.66L255,27.89a10,10,0,0,0-10,0L60.14,134.61A10,10,0,0,0,55.14,143.27Z"})}getCircle(){return this.#n("circle",{cx:"250",cy:"250",r:"190"})}#n(e,t){return createSvg(e,{cls:"shape",attr:{...t,stroke:"currentColor"}})}onunload(){}},Il=new qh;var G_=Function.prototype.toString,Wh=Object.create,q_=Object.prototype.toString,W_=function(){function r(){this._keys=[],this._values=[]}return r.prototype.has=function(e){return!!~this._keys.indexOf(e)},r.prototype.get=function(e){return this._values[this._keys.indexOf(e)]},r.prototype.set=function(e,t){this._keys.push(e),this._values.push(t)},r}();function $_(){return new W_}function j_(){return new WeakMap}var X_=typeof WeakMap<"u"?j_:$_;function jh(r){if(!r)return Wh(null);var e=r.constructor;if(e===Object)return r===Object.prototype?{}:Wh(r);if(e&&~G_.call(e).indexOf("[native code]"))try{return new e}catch{}return Wh(r)}function Y_(r){var e="";return r.global&&(e+="g"),r.ignoreCase&&(e+="i"),r.multiline&&(e+="m"),r.unicode&&(e+="u"),r.sticky&&(e+="y"),e}function Z_(r){return r.flags}var J_=/test/g.flags==="g"?Z_:Y_;function Lm(r){var e=q_.call(r);return e.substring(8,e.length-1)}function K_(r){return r[Symbol.toStringTag]||Lm(r)}var Q_=typeof Symbol<"u"?K_:Lm,eE=Object.defineProperty,tE=Object.getOwnPropertyDescriptor,Bm=Object.getOwnPropertyNames,Xh=Object.getOwnPropertySymbols,Pm=Object.prototype,Im=Pm.hasOwnProperty,iE=Pm.propertyIsEnumerable,Nm=typeof Xh=="function";function nE(r){return Bm(r).concat(Xh(r))}var sE=Nm?nE:Bm;function kl(r,e,t){for(var i=sE(r),n=0,s=i.length,o=void 0,a=void 0;nthis.ready=!0),this}getFieldValueFromActiveFile(t){let i=this.app.workspace.getActiveFile();return!i||!this.canUseDataview||!this.ready?null:this.api.index.pages.get(i.path)?.fields.get(t)??null}get canUseDataview(){return this.app.plugins.getPlugin("dataview")!=null}async dataviewReady(){return new Promise(t=>{this.canUseDataview||t(!1),this.api&&t(!0),this.registerEvent(this.app.metadataCache.on("dataview:api-ready",()=>{this.api=(0,id.getAPI)(),t(!0)}))})}},oi=new nd;var jE=/(?:\d+[Dd])?#(?:[\p{Letter}\p{Emoji_Presentation}\w/-]+)(?:\|(?:[+-]))?(?:\|(?:[^+-]+))?/u,XE=/(?:\d+[Dd]?)?dv\((?:.+)\)(?:\|(?:[+-]))?(?:\|(?:[^+-]+))?/u,YE=/(?:.*)?(?:\[.*\]\(|\[\[)(?:.+?)#?\^(?:.+?)(?:\)|\]\])\|?(?:.+)?/u,ZE=/(?:\d+[Dd])?(?:\[.*\]\(|\[\[)(?:.+)(?:\)|\]\])\|?(?:.+)?/u,JE=/(?:\d+[Dd])?(?:\[.*\]\(|\[\[)(?:.+)(?:\)|\]\])\|line/u,KE=/[\(\^\+\-\*\/\)]/u,QE=/(?:\d+|\b)[Dd](?:%|F|-?\d+|\[\d+(?:[ \t]*[,-][ \t]*\d+)+\]|\b)/u,eA=/(?:=|=!|<|>|<=|>=|=<|=>|-=|=-)(?:\d+(?:[Dd](?:%|F|-?\d+|\[\d+(?:[ \t]*[,-][ \t]*\d+)+\]|\b))?)/u,sd=class{constructor(e){this.table=e}parse(e){let t=e.length,i=this.table,n=[],s=[],o=0;for(;oh||u===h&&c.associativity==="right")break;n.push(s.shift())}s.unshift(a)}else n.push(a)}}for(;s.length;){let a=s.shift();if(a.value!=="(")n.push(a);else throw new Error("Mismatched parentheses.")}return n}},rd=class{constructor(){this.lexer=rg.compile({WS:[{match:/[ \t]+/u},{match:/[{}]+/u}],table:YE,line:JE,section:ZE,tag:jE,dataview:XE,condition:eA,kl:{match:/kl\d*/u,value:this.clampInfinite},kh:[{match:/kh\d*/u,value:this.clampInfinite},{match:/k\d*/u,value:this.clampInfinite}],dh:{match:/dh\d*/u,value:this.clampInfinite},dl:[{match:/dl\d*/u,value:this.clampInfinite}],"!!":{match:/!!(?:i|\d+)?/u,value:this.clampInfinite},"!":{match:/!(?:i|\d+)?/u,value:this.clampInfinite},r:{match:/r(?:i|\d+)?/u,value:this.clampInfinite},u:/u/u,stunt:/1[Dd]S/u,"%":/\d+[Dd]\d+%/u,fudge:{match:/(?:\d*[Dd])?[Dd]?F/u,value:e=>{let{roll:t=this.defaultRoll}=e.match(/(?:(?\d*)[Dd])?F/).groups;return`${t}dF`}},dice:[{match:QE,value:e=>{let{roll:t=this.defaultRoll,faces:i=this.defaultFace}=e.match(/(?\d+)?[Dd](?%|-?\d+|\[\d+(?:[ \t]*[,-][ \t]*\d+)+\])?/).groups;return`${t}d${i}`}},{match:/\d+/u},{match:/\b[A-Za-z][A-Za-z0-9_]+\b/u,value:e=>oi.getFieldValueFromActiveFile(e)??e}],sort:[{match:/s(?:a|d)*/u,value:e=>e=="s"||e=="sa"?"sa":"sd"}],math:KE});this.inline=new Map;this.parser=new sd({"+":{precedence:1,associativity:"left"},"-":{precedence:1,associativity:"left"},"*":{precedence:2,associativity:"left"},"/":{precedence:2,associativity:"left"},"^":{precedence:3,associativity:"right"}})}clampInfinite(e){return/i$/.test(e)?"100":e.replace(/^\D+/g,"")}setInlineFields(e){this.inline=e}setDefaults(e,t){this.defaultRoll=e,this.defaultFace=t}setDefaultRoll(e){this.defaultRoll=e}setDefaultFace(e){this.defaultFace=e}parse(e){try{let t=Array.from(this.lexer.reset(e));return this.lexer.reset(),(0,Kl.Ok)(this.parser.parse(this.transform(t)))}catch(t){return console.error(t),(0,Kl.Err)("Could not parse")}}transform(e){e=e.filter(l=>l.type!="WS");let t=l=>l.type==="+"||l.type==="math"&&l.value==="+",i=l=>l.type==="-"||l.type==="math"&&l.value==="-",n=l=>t(l)||i(l),s=l=>l[l.length-1],o=(l,c)=>l.splice(l.length-1,1,c);e=e.reduce((l,c)=>{if(l.length==0)l.push(c);else{let u=s(l);n(u)&&n(c)?i(u)!=i(c)?i(u)||o(l,c):i(u)&&(u.type=u.type==="math"?u.type:"+",u.value="+"):l.push(c)}return l},[]);let a=[];for(let l of e)if(l.type=="condition"&&a.length>0){let c=a[a.length-1];c.conditions||(c.conditions=[]);let[u,h,d]=l.value.match(/(?=|=!|<|>|<=|>=|=<|=>|-=|=-)(?\d+(?:[Dd](?:%|F|-?\d+|\[\d+(?:[ \t]*[,-][ \t]*\d+)+\]|\b))?)/)??[],p=this.parse(d);p.isOk()&&c.conditions.push({operator:h,comparer:d,lexemes:p.unwrap(),value:l.value})}else a.push(l);return a}},nr=new rd;var bo=class extends ce.PluginSettingTab{constructor(t,i){super(t,i);this.plugin=i;this.#t=!0;this.allFolders=this.app.vault.getAllLoadedFiles().filter(t=>t instanceof ce.TFolder);this.folders=[];this.plugin=i}async getFonts(){let t=[];try{ce.Platform.isMobile&&window?.Capacitor?.isPluginAvailable("App")?t=await window?.Capacitor?.Plugins.App?.getFonts()?.catch(n=>[]):t=await require("get-fonts").getFonts().catch(n=>[])}catch{}let i=new Set;for(let n of t)i.add(n);return[...i].sort()}async display(){let{containerEl:t}=this;t.empty(),t.addClass("dice-roller-settings"),this.contentEl=this.containerEl.createDiv("dice-roller-settings-content"),this.buildGenerics(this.contentEl.createDiv()),this.buildDisplay(this.contentEl.createEl("details",{cls:"dice-roller-nested-settings"})),this.buildDice(this.contentEl.createEl("details",{cls:"dice-roller-nested-settings"})),this.buildView(this.contentEl.createEl("details",{cls:"dice-roller-nested-settings"})),this.buildRender(this.contentEl.createEl("details",{cls:"dice-roller-nested-settings"})),this.buildFormulaSettings(this.contentEl.createEl("details",{cls:"dice-roller-nested-settings"})),this.buildTables(this.contentEl.createEl("details",{cls:"dice-roller-nested-settings"})),this.buildSections(this.contentEl.createEl("details",{cls:"dice-roller-nested-settings"})),this.buildTags(this.contentEl.createEl("details",{cls:"dice-roller-nested-settings"})),this.buildDiceModTemplateFoldersSettings(this.contentEl.createEl("details",{cls:"dice-roller-nested-settings"})),t.createDiv("coffee").createEl("a",{href:"https://www.buymeacoffee.com/valentine195"}).createEl("img",{attr:{src:"https://img.buymeacoffee.com/button-api/?text=Buy me a coffee&emoji=\u2615&slug=valentine195&button_colour=e3e7ef&font_colour=262626&font_family=Inter&outline_colour=262626&coffee_colour=ff0000"}})}buildGenerics(t){t.empty()}#e(t,i){let n=t.createEl("summary");new ce.Setting(n).setHeading().setName(i),(0,ce.setIcon)(n.createDiv("collapser").createDiv("handle"),"chevron-right")}buildDisplay(t){t.empty(),this.#e(t,"Dice Display"),new ce.Setting(t).setName("Display Formula With Results").setDesc("Both the formula and the results will both be displayed in preview mode.").addToggle(i=>{i.setValue(this.plugin.data.displayResultsInline),i.onChange(async n=>{this.plugin.data.displayResultsInline=n,await this.plugin.saveSettings()})}),new ce.Setting(t).setName("Re-roll button position").setDesc("Controls position of the re-roll button").addDropdown(i=>{i.addOption(Ot.LEFT,"Left"),i.addOption(Ot.RIGHT,"Right"),i.addOption(Ot.NONE,"None"),i.setValue(this.plugin.data.position),i.onChange(async n=>{this.plugin.data.position=n,await this.plugin.saveSettings()})}),new ce.Setting(t).setName("Display Formula in Parentheses After").setDesc(createFragment(i=>{i.createSpan({text:"For example, "}),i.createEl("code",{text:"`dice: 1d6`"}),i.createSpan({text:" will become "});let n=i.createSpan("dice-roller");n.createSpan({cls:"dice-roller-result",text:"3"}),(0,ce.setIcon)(n.createSpan("dice-roller-button"),"dices"),i.createSpan({text:" (1d6). This only affects Dice Rollers."})})).addToggle(i=>{i.setValue(this.plugin.data.displayFormulaAfter),i.onChange(async n=>{this.plugin.data.displayFormulaAfter=n,await this.plugin.saveSettings()})})}buildDice(t){t.empty(),this.#e(t,"Dice Rollers"),new ce.Setting(t).setName("Default Face").setDesc("Use this as the number of faces when it is omitted.").addText(i=>{i.setValue(`${this.plugin.data.defaultFace}`),i.inputEl.onblur=async()=>{isNaN(Number(i.inputEl.value))&&new ce.Notice("The default face must be a number."),this.plugin.data.defaultFace=Number(i.inputEl.value),nr.setDefaultFace(this.plugin.data.defaultFace),await this.plugin.saveSettings()}}),new ce.Setting(t).setName("Round Results").setDesc("Determine the rounding behavior for dice results.").addDropdown(i=>{i.addOptions(Qs).setValue(this.plugin.data.round).onChange(n=>{this.plugin.data.round=n,this.plugin.saveSettings()})}),new ce.Setting(t).setName("Auto Roll dice").setDesc("On initial display, should dice be rolled or displayed empty.").addDropdown(i=>{i.addOption("None","Empty").addOption("Roll","Rolled").setValue(this.plugin.data.initialDisplay).onChange(n=>{this.plugin.data.initialDisplay=n,this.plugin.saveSettings()})}),new ce.Setting(t).setName("Show Signed Results").setDesc("Positive results will show a '+'. This setting has no effect on negative results.").addToggle(i=>{i.setValue(this.plugin.data.signed).onChange(n=>{this.plugin.data.signed=n,this.plugin.saveSettings()})}),new ce.Setting(t).setName("Always Render Dice").setDesc(createFragment(i=>{i.createSpan({text:"Dice rolled in notes will always be rendered. Use the "}),i.createEl("code",{text:"|norender"}),i.createSpan({text:" flag to prevent it."})})).addToggle(i=>{i.setValue(this.plugin.data.renderAllDice).onChange(n=>{this.plugin.data.renderAllDice=n,this.plugin.saveSettings()})}),new ce.Setting(t).setName("Log All Rolls to Dice Tray").setDesc(createFragment(i=>{i.createSpan({text:"Dice rolled in notes will be added to the Dice Tray's Results section."})})).addToggle(i=>{i.setValue(this.plugin.data.addToView).onChange(n=>{this.plugin.data.addToView=n,this.plugin.saveSettings()})})}buildTables(t){t.empty(),this.#e(t,"Table Rollers"),new ce.Setting(t).setName("Display Lookup Table Roll").setDesc("Lookup table rolls will display the rolled number along with the result.").addToggle(i=>{i.setValue(this.plugin.data.displayLookupRoll),i.onChange(async n=>{this.plugin.data.displayLookupRoll=n,await this.plugin.saveSettings()})})}buildSections(t){t.empty(),this.#e(t,"Section Rollers"),new ce.Setting(t).setName("Add Copy Button to Section Results").setDesc("Randomly rolled sections will have a copy-content button to easy add result to clipboard.").addToggle(i=>{i.setValue(this.plugin.data.copyContentButton),i.onChange(async n=>{this.plugin.data.copyContentButton=n,await this.plugin.saveSettings()})}),new ce.Setting(t).setName("Display As Embeds").setDesc("Sections returned from Section & Tag Rollers will display as embedded fields.").addToggle(i=>{i.setValue(this.plugin.data.displayAsEmbed),i.onChange(async n=>{this.plugin.data.displayAsEmbed=n,await this.plugin.saveSettings()})})}buildTags(t){t.empty(),this.#e(t,"Tag Rollers"),new ce.Setting(t).setName("Always Return Links for Tags").setDesc("Enables random link rolling with the link parameter. Override by specifying a section type.").addToggle(i=>{i.setValue(this.plugin.data.rollLinksForTags),i.onChange(async n=>{this.plugin.data.rollLinksForTags=n,await this.plugin.saveSettings()})})}buildView(t){t.empty(),this.#e(t,"Dice Tray"),new ce.Setting(t).setName("Open Dice Tray on Startup").setDesc("The dice view can always be opened using the command from the command palette.").addToggle(i=>{i.setValue(this.plugin.data.showLeafOnStartup),i.onChange(async n=>{this.plugin.data.showLeafOnStartup=n,await this.plugin.saveSettings()})}),new ce.Setting(t).setName("Dice Tray Buttons").setDesc("Add and remove the buttons available in the Dice Tray here, to customize what quick-actions are available to roll."),this.iconsEl=t.createDiv("dice-icons"),this.buildIcons()}buildIcons(){if(this.iconsEl.empty(),!this.plugin.data.icons){this.iconsEl.createSpan({cls:"no-icons",text:"No dice buttons created! Create a button to use this functionality."});return}let i=this.iconsEl.createDiv("existing-buttons has-table").createDiv("buttons-table");for(let u=0;u{s.formula=u,l.setDisabled(s.text?.length===0||s.formula?.length===0)}),new ce.TextComponent(a).setPlaceholder("Display").onChange(u=>{s.text=u,l.setDisabled(s.text?.length===0||s.formula?.length===0)});let l=new ce.ExtraButtonComponent(n.createDiv("actions")).setIcon("save").setDisabled(!0).onClick(async()=>{!s.text||!s.formula||(this.plugin.data.icons.push({...s}),this.buildIcons(),await this.plugin.view.buildButtons(),await this.plugin.saveSettings())}),c=new ce.DropdownComponent(o);for(let[u,h]of Object.entries(Pl))c.addOption(h,h);c.setValue(s.shape).onChange(u=>{s.shape=c.getValue()}),s.shape=c.getValue()}buildStaticIcon(t,i){t.empty(),t.removeClass("add-new");let n=this.plugin.data.icons[i],s=t.createDiv("shape dice-button");Il.registerIcon(n.id,n.shape,n.text),(0,ce.setIcon)(s,n.id),t.createDiv({cls:"formula",text:n.formula});let o=t.createDiv("actions");new ce.ExtraButtonComponent(o).setIcon("edit").onClick(()=>{this.buildEditIcon(t,i,n)}),new ce.ExtraButtonComponent(o).setIcon("trash").onClick(async()=>{this.plugin.data.icons.splice(i,1),await this.plugin.view.buildButtons(),this.buildIcons()})}buildEditIcon(t,i,n){t.empty(),t.addClass("add-new");let s={text:n.text,formula:n.formula,shape:n.shape,id:n.id},o=t.createDiv("shape"),a=t.createDiv("formula");new ce.TextComponent(a).setPlaceholder("Formula").setValue(s.formula).onChange(h=>{s.formula=h,c.setDisabled(s.text.length===0||s.formula.length===0)}),new ce.TextComponent(a).setPlaceholder("Display").setValue(s.text).onChange(h=>{s.text=h,c.setDisabled(s.text.length===0||s.formula.length===0)});let l=t.createDiv("actions"),c=new ce.ExtraButtonComponent(l).setIcon("checkmark").setDisabled(s.text.length===0||s.formula.length===0).onClick(async()=>{!s.text||!s.formula||(this.plugin.data.icons.splice(i,1,{...s}),await this.plugin.saveSettings(),this.buildStaticIcon(t,i),await this.plugin.view.buildButtons())});new ce.ExtraButtonComponent(l).setIcon("cross").onClick(()=>{this.buildStaticIcon(t,i)});let u=new ce.DropdownComponent(o);for(let[h,d]of Object.entries(Pl))u.addOption(d,d);u.setValue(s.shape).onChange(h=>{s.shape=h})}buildRender(t){t.empty(),this.#e(t,"Graphical Dice"),new ce.Setting(t).setName("Display graphics for Dice Tray Rolls").setDesc("Dice rolls from dice view will be displayed on screen.").addToggle(s=>{s.setValue(this.plugin.data.renderer),s.onChange(async o=>{this.plugin.data.renderer=o,await this.plugin.saveSettings()})}),new ce.Setting(t).setName("Display Time for Dice Graphics").setDesc("Rendered dice will stay on screen for this number of milliseconds. Leave blank to require a click to clear dice.").addText(s=>{s.inputEl.setAttr("type","number"),s.inputEl.onblur=o=>{Number(s.getValue())<0&&(new ce.Notice("Render time cannot be less than 0."),s.setValue("0"))},s.setValue(`${this.plugin.data.renderTime}`),s.onChange(async o=>{o&&Number(o)<0||isNaN(Number(o))||(this.plugin.data.renderTime=Number(o),Mt.setData(this.plugin.getRendererData()),await this.plugin.saveSettings())})}).addExtraButton(s=>{s.setIcon("reset").setTooltip("Reset to Default").onClick(async()=>{this.plugin.data.renderTime=zl.renderTime,await this.plugin.saveSettings(),this.buildRender(t)})}),new ce.Setting(t).setName("Use Colorful Dice").setDesc("Rendered dice will be varied colors based on the dice type. This will override manually set dice and text colors.").addToggle(s=>{s.setValue(this.plugin.data.colorfulDice),s.onChange(async o=>{this.plugin.data.colorfulDice=o,Mt.setData(this.plugin.getRendererData()),await this.plugin.saveSettings()})}),new ce.Setting(t).setName("Adjust Dice Scale").setDesc("Control the size of rendered dice.").addSlider(s=>{s.setLimits(.5,1.5,.1).setValue(this.plugin.data.scaler).onChange(o=>{this.plugin.data.scaler=o,Mt.setData(this.plugin.getRendererData()),this.plugin.saveSettings()})}),new ce.Setting(t).setName("Font for dice").setDesc("Select the font to use for the dice").addText(async s=>{let o=async()=>{this.plugin.data.textFont=s.getValue(),await this.plugin.saveSettings(),Mt.setData(this.plugin.getRendererData())};new Ul(this.app,s,await this.getFonts()).onSelect(({item:l})=>{s.setValue(l),o()}),s.setValue(this.plugin.data.textFont),s.inputEl.onblur=async()=>{o()}}),new ce.Setting(t).setName("Dice Base Color").setDesc("Rendered dice will be this color.").controlEl.createEl("input",{type:"color",value:this.plugin.data.diceColor},s=>{s.value=this.plugin.data.diceColor,s.onchange=async({target:o})=>{let a=o.value;this.plugin.data.diceColor=a,Mt.setData(this.plugin.getRendererData()),await this.plugin.saveSettings()}}),new ce.Setting(t).setName("Dice Text Color").setDesc("Rendered dice will use this color for their numbers.").controlEl.createEl("input",{type:"color",value:this.plugin.data.textColor},s=>{s.value=this.plugin.data.textColor,s.onchange=async({target:o})=>{let a=o.value;a&&(this.plugin.data.textColor=a,Mt.setData(this.plugin.getRendererData()),await this.plugin.saveSettings())}}),new ce.Setting(t).setName("Show Notice for Results").setDesc(createFragment(s=>{s.createSpan({text:"A notice will be displayed for each rendered dice roll."}),s.createEl("br"),s.createSpan({text:"Changing this setting will not effect any existing dice rollers in opened notes."})})).addToggle(s=>{s.setValue(this.plugin.data.showRenderNotice).onChange(async o=>{this.plugin.data.showRenderNotice=o,await this.plugin.saveSettings()})})}buildFormulaSettings(t){t.empty(),this.#e(t,"Saved Formulas");let i=t.createDiv("dice-roller-setting-additional-container"),n=i.createDiv();new ce.Setting(n).setName("Add Formula").setDesc("Add a new formula shortcut.").addButton(a=>a.setTooltip("Add Formula").setButtonText("+").onClick(async()=>{let c=await this.buildFormulaForm(n);c&&(this.plugin.data.formulas[c.alias]=c.formula,this.buildFormulaSettings(t),await this.plugin.saveSettings())}));let s=i.createDiv("additional"),o=this.plugin.data.formulas;for(let[a,l]of Object.entries(o)){let c=new ce.Setting(s).setName(a);c.controlEl.createSpan({text:l}),c.addExtraButton(u=>u.setIcon("edit").setTooltip("Edit").onClick(async()=>{let h=await this.buildFormulaForm(n,{alias:a,formula:l});h&&(delete this.plugin.data.formulas[a],this.plugin.data.formulas[h.alias]=h.formula,this.buildFormulaSettings(t),await this.plugin.saveSettings())})).addExtraButton(u=>u.setIcon("trash").setTooltip("Delete").onClick(async()=>{delete this.plugin.data.formulas[a],await this.plugin.saveSettings(),this.buildFormulaSettings(t)}))}Object.values(o).length||s.createSpan({text:"Create a formula to see it here!",cls:"no-formulas"})}async buildFormulaForm(t,i={alias:null,formula:null}){return new Promise(n=>{let s=t.createDiv("add-new-formula"),o=s.createDiv("formula-data");new ce.Setting(o).setName("Alias").addText(l=>{l.setValue(i.alias).onChange(c=>i.alias=c)}),new ce.Setting(o).setName("Formula").addText(l=>{l.setValue(i.formula).onChange(c=>i.formula=c)});let a=s.createDiv("formula-buttons");new ce.Setting(a).addButton(l=>l.setCta().setButtonText("Save").onClick(async()=>{s.detach(),n(i)})).addExtraButton(l=>l.setIcon("cross").setTooltip("Cancel").onClick(()=>{s.detach(),n(null)}))})}#t;buildDiceModTemplateFoldersSettings(t){t.empty(),this.#e(t,"Modify Dice"),new ce.Setting(t).setName(createFragment(i=>{i.createSpan({text:"Apply "}),i.createEl("code",{text:"dice-mod"}),i.createSpan({text:" in live-preview"})})).setDesc(createFragment(i=>{i.createSpan({text:"If not enabled "}),i.createEl("code",{text:"dice-mod"}),i.createSpan({text:" will only be applied/replaced in read mode."})})).addToggle(i=>{i.setValue(this.plugin.data.replaceDiceModInLivePreview),i.onChange(async n=>{this.plugin.data.replaceDiceModInLivePreview=n,await this.plugin.saveSettings()})}),new ce.Setting(t).setName("Escape Markdown When Modifying").setDesc(createFragment(i=>{i.createSpan({text:"Markdown characters will be escaped when using "}),i.createEl("code",{text:"dice-mod"}),i.createSpan({text:"."})})).addToggle(i=>{i.setValue(this.plugin.data.escapeDiceMod),i.onChange(async n=>{this.plugin.data.escapeDiceMod=n,await this.plugin.saveSettings()})}),new ce.Setting(t).setName("Add Formula When Using Modify Dice").setDesc(createFragment(i=>{i.createSpan({text:"Both the formula and the results will both be added to the note when using "}),i.createEl("code",{text:"dice-mod"}),i.createSpan({text:"."})})).addToggle(i=>{i.setValue(this.plugin.data.displayFormulaForMod),i.onChange(async n=>{this.plugin.data.displayFormulaForMod=n,await this.plugin.saveSettings()})}),this.pathsEl=t.createDiv("template-paths dice-roller-setting-additional-container"),this.buildPaths()}buildPaths(){if(this.#t){this.folders=this.allFolders.filter(n=>!(n.path in this.plugin.data.diceModTemplateFolders));let i=Object.entries(this.plugin.data.diceModTemplateFolders);i.sort((n,s)=>n[0].localeCompare(s[0])),this.plugin.data.diceModTemplateFolders=Object.fromEntries(i),this.#t=!1}this.pathsEl.empty(),new ce.Setting(this.pathsEl).setName("Template Folders").setDesc(createFragment(i=>{i.createSpan({text:"Define folders where "}),i.createEl("code",{text:"dice-mod"}),i.createSpan({text:" is not applied/replaced and can be used in templates."})})).setHeading();let t=this.pathsEl.createDiv("additional");for(let i in this.plugin.data.diceModTemplateFolders)this.buildStaticPath(t.createDiv(),i);this.buildEditPath(t.createDiv())}buildStaticPath(t,i){t.empty();let n=this.plugin.data.diceModTemplateFolders[i],s=new ce.Setting(t).setName(i);s.setDesc(createFragment(o=>{let a=o.createDiv({attr:{style:"display: flex;align-items: center;gap: 0.5rem;"}});n?((0,ce.setIcon)(a,"folder-tree"),a.createSpan({text:"Includes Subfolders"})):((0,ce.setIcon)(a,"folder-closed"),a.createSpan({text:"Root Only"}))})),s.addExtraButton(o=>o.setIcon("edit").onClick(()=>{this.buildEditPath(t,i)})).addExtraButton(o=>o.setIcon("trash").onClick(async()=>{delete this.plugin.data.diceModTemplateFolders[i],await this.plugin.saveSettings(),this.#t=!0,this.buildPaths()}))}buildEditPath(t,i){t.empty();let n={folder:i,useSubfolders:this.plugin.data.diceModTemplateFolders[i]??!0},s=t.createDiv("template-edit setting-item"),o=s.createDiv("template-input"),a=o.createDiv("folder-input"),l=new ce.ExtraButtonComponent(o).onClick(()=>{n.useSubfolders=!n.useSubfolders,n.useSubfolders?l.setIcon("folder-tree").setTooltip("Including Subfolders"):l.setIcon("folder-closed").setTooltip("Not Including Subfolders")});this.plugin.data.diceModTemplateFolders[i]??!0?l.setIcon("folder-tree").setTooltip("Including Subfolders"):l.setIcon("folder-closed").setTooltip("Not Including Subfolders");let c=s.createDiv("actions");i||new ce.ExtraButtonComponent(c).extraSettingsEl.setAttr("style","visibility: hidden;");let u=new ce.ExtraButtonComponent(c).setIcon(i?"checkmark":"save").setDisabled(!i).onClick(async()=>{this.plugin.data.diceModTemplateFolders[n.folder]=n.useSubfolders,await this.plugin.saveSettings(),n.folder!=i?(this.#t=!0,this.buildPaths()):this.buildStaticPath(t,i)});i&&new ce.ExtraButtonComponent(c).setIcon("cross").onClick(()=>this.buildStaticPath(t,i)),this.buildPathInput(a,u,h=>{n.folder=h},i)}buildPathInput(t,i,n,s="Folder"){let o=c=>{if(!c||!c.length||c in this.plugin.data.diceModTemplateFolders)return i.setDisabled(!0),!1;i.setDisabled(!1),n((0,ce.normalizePath)(c))},a=new ce.TextComponent(t).setPlaceholder(s).onChange(c=>{o(c)}),l=new ag.FolderInputSuggest(this.app,a,this.folders);l.onSelect(async c=>{l.close(),l.setValue(c.item.path),o(c.item.path)})}};var dt=require("obsidian");var fg=nn(lg());var PT=nn(td());var Ki=require("obsidian");var cg=/(?:(?\d+)[Dd])?#(?[\p{Letter}\p{Emoji_Presentation}\w/-]+)(?:\|(?[\+-]))?(?:\|(?[^\+-]+))?/u,ug=/(?:(?\d+)[Dd]?)?dv\((?.+)\)(?:\|(?[\+-]))?(?:\|(?[^\+-]+))?/u,hg=/(?.*)?(?:\[.*\]\(|\[\[)(?.+?)#?\^(?.+?)(?:\]\]|\))(?:\|(?
.+))?/,ec=/(?:(?\d+)[Dd])?(?:\[.*\]\(|\[\[)(?.+)(?:\]\]|\))\|?(?.+)?/;var od=class{constructor(){this.result="";this.combinedTooltip=""}},tc=class r extends mo{constructor(t,i,n,s,o,a=t.position,l){super(t,i,n,s,o,a);this.lookup=l;this.isLookup=!1;this.combinedTooltip="";this.prettyTooltip="";this.getPath()}getPath(){let{groups:t}=this.lexeme.value.match(hg)??{},{diceRoll:i="1",link:n,block:s,header:o}=t??{};if(!n||!s)throw new Error("Could not parse link.");let a=i.match(/(\d*?)[Dd]$/);if(a){let[,l="1"]=a;this.rollsFormula=l}else this.rollsFormula=i;this.rolls=1,this.path=decodeURIComponent(n.replace(/(\[|\]|\(|\))/g,"")),this.block=s.replace(/(\^|#)/g,"").trim().toLowerCase(),this.header=o}get tooltip(){return this.prettyTooltip}async getReplacer(){return this.result}async build(){this.resultEl.empty();let t=[this.result];this.data.displayResultsInline&&t.unshift(this.inlineText);let i=createSpan();Ki.MarkdownRenderer.render(this.app,t.join(""),i,this.source,new Ki.Component);let n=this.resultEl.createSpan("embedded-table-result");i.childElementCount==1&&i.firstElementChild instanceof HTMLParagraphElement?n.append(...Array.from(i.firstElementChild.childNodes)):n.append(...Array.from(i.childNodes))}prettify(t){let i=/(.*?)(\(|\)|;|\|\|)(.*)/,n=" ",s=0,o="",a=t,l;for(;l=a.match(i);){let[,c,u,h]=l;o+=c,u==")"?(s--,o+=` +Result: ${this.result}`),this.trigger("new-result"),this.app.workspace.trigger("dice-roller:new-result",this),this.hasRunOnce=!0,this.result}calculate(){let t=0;for(let n of this.lexemes)switch(n.type){case"+":case"-":case"*":case"/":case"^":case"math":{let s=this.stack.pop(),o=this.stack.pop();s instanceof mi&&s.doubles&&(this.stunted=` - ${s.results.get(0).value} Stunt Points`),o instanceof mi&&o.doubles&&(this.stunted=` - ${o.results.get(0).value} Stunt Points`);let a=this.operators[n.value](o.result,s.result),l=this.operators[n.value](this.minStack.pop(),this.minStack.pop()),c=this.operators[n.value](this.maxStack.pop(),this.maxStack.pop());this.stackCopy.push(n.value),this.stack.push(new At(`${a}`,n)),this.minStack.push(l),this.maxStack.push(c);break}case"stunt":case"fudge":case"%":case"dice":this.stack.push(this.dice[t]),this.stackCopy.push(this.dice[t]),this.minStack.push(this.dice[t].getMinPossible()),this.maxStack.push(this.dice[t].getMaxPossible()),t++;default:continue}let i=this.stack.pop();this.min=this.minStack.pop(),this.max=this.maxStack.pop(),i instanceof mi&&i.doubles&&(this.stunted=` - ${i.stunt.result} Stunt Points`),this.result=i.result}};var ce=require("obsidian");var ir=require("obsidian"),U_=createSvg("svg",{attr:{viewBox:"0 0 500 500"}}),H_=createSvg("text",{attr:{class:"font",fill:"currentColor",x:"50%",y:"50%","text-anchor":"middle","dominant-baseline":"central"}}),Pl=(a=>(a.NONE="None",a.TRIANGLE="Triangle",a.SQUARE="Square",a.DIAMOND="Diamond",a.DODECAHEDRON="Dodecahedron",a.ICOSAHEDRON="Icosahedron",a.CIRCLE="Circle",a))(Pl||{}),Fm=[{id:"dice-roller-d4",shape:"Triangle",formula:"d4",text:"4"},{id:"dice-roller-d6",shape:"Square",formula:"d6",text:"6"},{id:"dice-roller-d8",shape:"Diamond",formula:"d8",text:"8"},{id:"dice-roller-d10",shape:"Diamond",formula:"d10",text:"10"},{id:"dice-roller-d12",shape:"Dodecahedron",formula:"d12",text:"12"},{id:"dice-roller-d20",shape:"Icosahedron",formula:"d20",text:"20"},{id:"dice-roller-d100",shape:"Circle",formula:"d%",text:"%"}],qh=class extends ir.Component{#e(){return U_.cloneNode(!0)}#t(){return H_.cloneNode()}#i=new Set;registerIcon(e,t,i){this.#i.add(e);let n=this.#e(),s=this.#t();s.textContent=i,n.appendChild(s);let o;switch(t){case"Triangle":o=this.getTriangle();break;case"Square":{o=this.getSquare();break}case"Diamond":{o=this.getDiamond();break}case"Dodecahedron":{o=this.getDodecahedron();break}case"Icosahedron":{o=this.getIcosahedron();break}case"Circle":{o=this.getCircle();break}case"None":o=createSvg("defs")}n.appendChild(o),(0,ir.addIcon)(e,n.outerHTML),this.register(()=>(0,ir.removeIcon)(e))}getTriangle(){return this.#n("path",{d:"M244.6,49.3L40.3,403.2c-1.7,3-0.7,6.8,2.3,8.5c0.9,0.5,2,0.8,3.1,0.8h408.6c3.4,0,6.2-2.8,6.2-6.2 c0-1.1-0.3-2.2-0.8-3.1L255.4,49.3c-1.7-3-5.5-4-8.5-2.3C246,47.6,245.2,48.4,244.6,49.3z"})}getSquare(){return this.#n("rect",{x:"87.5",y:"87.5",width:"325",height:"325",rx:"10"})}getDiamond(){return this.#n("rect",{x:"102.75",y:"102.75",width:"294.51",height:"294.51",rx:"9.8",transform:"translate(-103.55 250) rotate(-45)"})}getDodecahedron(){return this.#n("path",{d:"M244.31,29.14,52,168.87a9.72,9.72,0,0,0-3.52,10.84l73.47,226.1a9.69,9.69,0,0,0,9.21,6.69H368.87a9.69,9.69,0,0,0,9.21-6.69l73.47-226.1A9.72,9.72,0,0,0,448,168.87L255.69,29.14A9.66,9.66,0,0,0,244.31,29.14Z"})}getIcosahedron(){return this.#n("path",{d:"M55.14,143.27V356.73a10,10,0,0,0,5,8.66L245,472.11a10,10,0,0,0,10,0L439.86,365.39a10,10,0,0,0,5-8.66V143.27a10,10,0,0,0-5-8.66L255,27.89a10,10,0,0,0-10,0L60.14,134.61A10,10,0,0,0,55.14,143.27Z"})}getCircle(){return this.#n("circle",{cx:"250",cy:"250",r:"190"})}#n(e,t){return createSvg(e,{cls:"shape",attr:{...t,stroke:"currentColor"}})}onunload(){}},Il=new qh;var G_=Function.prototype.toString,Wh=Object.create,q_=Object.prototype.toString,W_=function(){function r(){this._keys=[],this._values=[]}return r.prototype.has=function(e){return!!~this._keys.indexOf(e)},r.prototype.get=function(e){return this._values[this._keys.indexOf(e)]},r.prototype.set=function(e,t){this._keys.push(e),this._values.push(t)},r}();function $_(){return new W_}function j_(){return new WeakMap}var X_=typeof WeakMap<"u"?j_:$_;function jh(r){if(!r)return Wh(null);var e=r.constructor;if(e===Object)return r===Object.prototype?{}:Wh(r);if(e&&~G_.call(e).indexOf("[native code]"))try{return new e}catch{}return Wh(r)}function Y_(r){var e="";return r.global&&(e+="g"),r.ignoreCase&&(e+="i"),r.multiline&&(e+="m"),r.unicode&&(e+="u"),r.sticky&&(e+="y"),e}function Z_(r){return r.flags}var J_=/test/g.flags==="g"?Z_:Y_;function Lm(r){var e=q_.call(r);return e.substring(8,e.length-1)}function K_(r){return r[Symbol.toStringTag]||Lm(r)}var Q_=typeof Symbol<"u"?K_:Lm,eE=Object.defineProperty,tE=Object.getOwnPropertyDescriptor,Bm=Object.getOwnPropertyNames,Xh=Object.getOwnPropertySymbols,Pm=Object.prototype,Im=Pm.hasOwnProperty,iE=Pm.propertyIsEnumerable,Nm=typeof Xh=="function";function nE(r){return Bm(r).concat(Xh(r))}var sE=Nm?nE:Bm;function kl(r,e,t){for(var i=sE(r),n=0,s=i.length,o=void 0,a=void 0;nthis.ready=!0),this}getFieldValueFromActiveFile(t){let i=this.app.workspace.getActiveFile();return!i||!this.canUseDataview||!this.ready?null:this.api.index.pages.get(i.path)?.fields.get(t)??null}get canUseDataview(){return this.app.plugins.getPlugin("dataview")!=null}async dataviewReady(){return new Promise(t=>{this.canUseDataview||t(!1),this.api&&t(!0),this.registerEvent(this.app.metadataCache.on("dataview:api-ready",()=>{this.api=(0,id.getAPI)(),t(!0)}))})}},oi=new nd;var jE=/(?:\d+[Dd])?#(?:[\p{Letter}\p{Emoji_Presentation}\w/-]+)(?:\|(?:[+-]))?(?:\|(?:[^+-]+))?/u,XE=/(?:\d+[Dd]?)?dv\((?:.+)\)(?:\|(?:[+-]))?(?:\|(?:[^+-]+))?/u,YE=/(?:.*)?(?:\[.*\]\(|\[\[)(?:.+?)#?\^(?:.+?)(?:\)|\]\])\|?(?:.+)?/u,ZE=/(?:\d+[Dd])?(?:\[.*\]\(|\[\[)(?:.+)(?:\)|\]\])\|?(?:.+)?/u,JE=/(?:\d+[Dd])?(?:\[.*\]\(|\[\[)(?:.+)(?:\)|\]\])\|line/u,KE=/[\(\^\+\-\*\/\)]/u,QE=/(?:\d+|\b)[Dd](?:%|F|-?\d+|\[\d+(?:[ \t]*[,-][ \t]*\d+)+\]|\b)/u,eA=/(?:=|=!|<|>|<=|>=|=<|=>|-=|=-)(?:\d+(?:[Dd](?:%|F|-?\d+|\[\d+(?:[ \t]*[,-][ \t]*\d+)+\]|\b))?)/u,sd=class{constructor(e){this.table=e}parse(e){let t=e.length,i=this.table,n=[],s=[],o=0;for(;oh||u===h&&c.associativity==="right")break;n.push(s.shift())}s.unshift(a)}else n.push(a)}}for(;s.length;){let a=s.shift();if(a.value!=="(")n.push(a);else throw new Error("Mismatched parentheses.")}return n}},rd=class{constructor(){this.lexer=rg.compile({WS:[{match:/[ \t]+/u},{match:/[{}]+/u}],table:YE,line:JE,section:ZE,tag:jE,dataview:XE,condition:eA,kl:{match:/kl\d*/u,value:this.clampInfinite},kh:[{match:/kh\d*/u,value:this.clampInfinite},{match:/k\d*/u,value:this.clampInfinite}],dh:{match:/dh\d*/u,value:this.clampInfinite},dl:[{match:/dl\d*/u,value:this.clampInfinite}],"!!":{match:/!!(?:i|\d+)?/u,value:this.clampInfinite},"!":{match:/!(?:i|\d+)?/u,value:this.clampInfinite},r:{match:/r(?:i|\d+)?/u,value:this.clampInfinite},u:/u/u,stunt:/1[Dd]S/u,"%":/\d+[Dd]\d+%/u,fudge:{match:/(?:\d*[Dd])?[Dd]?F/u,value:e=>{let{roll:t=this.defaultRoll}=e.match(/(?:(?\d*)[Dd])?F/).groups;return`${t}dF`}},dice:[{match:QE,value:e=>{let{roll:t=this.defaultRoll,faces:i=this.defaultFace}=e.match(/(?\d+)?[Dd](?%|-?\d+|\[\d+(?:[ \t]*[,-][ \t]*\d+)+\])?/).groups;return`${t}d${i}`}},{match:/\d+/u},{match:/\b[A-Za-z][A-Za-z0-9_]+\b/u,value:e=>oi.getFieldValueFromActiveFile(e)??e}],sort:[{match:/s(?:a|d)*/u,value:e=>e=="s"||e=="sa"?"sa":"sd"}],math:KE});this.inline=new Map;this.parser=new sd({"+":{precedence:1,associativity:"left"},"-":{precedence:1,associativity:"left"},"*":{precedence:2,associativity:"left"},"/":{precedence:2,associativity:"left"},"^":{precedence:3,associativity:"right"}})}clampInfinite(e){return/i$/.test(e)?"100":e.replace(/^\D+/g,"")}setInlineFields(e){this.inline=e}setDefaults(e,t){this.defaultRoll=e,this.defaultFace=t}setDefaultRoll(e){this.defaultRoll=e}setDefaultFace(e){this.defaultFace=e}parse(e){try{let t=Array.from(this.lexer.reset(e));return this.lexer.reset(),(0,Kl.Ok)(this.parser.parse(this.transform(t)))}catch(t){return console.error(t),(0,Kl.Err)("Could not parse")}}transform(e){e=e.filter(l=>l.type!="WS");let t=l=>l.type==="+"||l.type==="math"&&l.value==="+",i=l=>l.type==="-"||l.type==="math"&&l.value==="-",n=l=>t(l)||i(l),s=l=>l[l.length-1],o=(l,c)=>l.splice(l.length-1,1,c);e=e.reduce((l,c)=>{if(l.length==0)l.push(c);else{let u=s(l);n(u)&&n(c)?i(u)!=i(c)?i(u)||o(l,c):i(u)&&(u.type=u.type==="math"?u.type:"+",u.value="+"):l.push(c)}return l},[]);let a=[];for(let l of e)if(l.type=="condition"&&a.length>0){let c=a[a.length-1];c.conditions||(c.conditions=[]);let[u,h,d]=l.value.match(/(?=|=!|<|>|<=|>=|=<|=>|-=|=-)(?\d+(?:[Dd](?:%|F|-?\d+|\[\d+(?:[ \t]*[,-][ \t]*\d+)+\]|\b))?)/)??[],p=this.parse(d);p.isOk()&&c.conditions.push({operator:h,comparer:d,lexemes:p.unwrap(),value:l.value})}else a.push(l);return a}},nr=new rd;var bo=class extends ce.PluginSettingTab{constructor(t,i){super(t,i);this.plugin=i;this.#t=!0;this.allFolders=this.app.vault.getAllLoadedFiles().filter(t=>t instanceof ce.TFolder);this.folders=[];this.plugin=i}async getFonts(){let t=[];try{ce.Platform.isMobile&&window?.Capacitor?.isPluginAvailable("App")?t=await window?.Capacitor?.Plugins.App?.getFonts()?.catch(n=>[]):t=await require("get-fonts").getFonts().catch(n=>[])}catch{}let i=new Set;for(let n of t)i.add(n);return[...i].sort()}async display(){let{containerEl:t}=this;t.empty(),t.addClass("dice-roller-settings"),this.contentEl=this.containerEl.createDiv("dice-roller-settings-content"),this.buildGenerics(this.contentEl.createDiv()),this.buildDisplay(this.contentEl.createEl("details",{cls:"dice-roller-nested-settings"})),this.buildDice(this.contentEl.createEl("details",{cls:"dice-roller-nested-settings"})),this.buildView(this.contentEl.createEl("details",{cls:"dice-roller-nested-settings"})),this.buildRender(this.contentEl.createEl("details",{cls:"dice-roller-nested-settings"})),this.buildFormulaSettings(this.contentEl.createEl("details",{cls:"dice-roller-nested-settings"})),this.buildTables(this.contentEl.createEl("details",{cls:"dice-roller-nested-settings"})),this.buildSections(this.contentEl.createEl("details",{cls:"dice-roller-nested-settings"})),this.buildTags(this.contentEl.createEl("details",{cls:"dice-roller-nested-settings"})),this.buildDiceModTemplateFoldersSettings(this.contentEl.createEl("details",{cls:"dice-roller-nested-settings"})),t.createDiv("coffee").createEl("a",{href:"https://www.buymeacoffee.com/valentine195"}).createEl("img",{attr:{src:"https://img.buymeacoffee.com/button-api/?text=Buy me a coffee&emoji=\u2615&slug=valentine195&button_colour=e3e7ef&font_colour=262626&font_family=Inter&outline_colour=262626&coffee_colour=ff0000"}})}buildGenerics(t){t.empty()}#e(t,i){let n=t.createEl("summary");new ce.Setting(n).setHeading().setName(i),(0,ce.setIcon)(n.createDiv("collapser").createDiv("handle"),"chevron-right")}buildDisplay(t){t.empty(),this.#e(t,"Dice Display"),new ce.Setting(t).setName("Display Formula With Results").setDesc("Both the formula and the results will both be displayed in preview mode.").addToggle(i=>{i.setValue(this.plugin.data.displayResultsInline),i.onChange(async n=>{this.plugin.data.displayResultsInline=n,await this.plugin.saveSettings()})}),new ce.Setting(t).setName("Re-roll button position").setDesc("Controls position of the re-roll button").addDropdown(i=>{i.addOption(Ot.LEFT,"Left"),i.addOption(Ot.RIGHT,"Right"),i.addOption(Ot.NONE,"None"),i.setValue(this.plugin.data.position),i.onChange(async n=>{this.plugin.data.position=n,await this.plugin.saveSettings()})}),new ce.Setting(t).setName("Display Formula in Parentheses After").setDesc(createFragment(i=>{i.createSpan({text:"For example, "}),i.createEl("code",{text:"`dice: 1d6`"}),i.createSpan({text:" will become "});let n=i.createSpan("dice-roller");n.createSpan({cls:"dice-roller-result",text:"3"}),(0,ce.setIcon)(n.createSpan("dice-roller-button"),"dices"),i.createSpan({text:" (1d6). This only affects Dice Rollers."})})).addToggle(i=>{i.setValue(this.plugin.data.displayFormulaAfter),i.onChange(async n=>{this.plugin.data.displayFormulaAfter=n,await this.plugin.saveSettings()})})}buildDice(t){t.empty(),this.#e(t,"Dice Rollers"),new ce.Setting(t).setName("Default Face").setDesc("Use this as the number of faces when it is omitted.").addText(i=>{i.setValue(`${this.plugin.data.defaultFace}`),i.inputEl.onblur=async()=>{isNaN(Number(i.inputEl.value))&&new ce.Notice("The default face must be a number."),this.plugin.data.defaultFace=Number(i.inputEl.value),nr.setDefaultFace(this.plugin.data.defaultFace),await this.plugin.saveSettings()}}),new ce.Setting(t).setName("Round Results").setDesc("Determine the rounding behavior for dice results.").addDropdown(i=>{i.addOptions(Qs).setValue(this.plugin.data.round).onChange(n=>{this.plugin.data.round=n,this.plugin.saveSettings()})}),new ce.Setting(t).setName("Auto Roll dice").setDesc("On initial display, should dice be rolled or displayed empty.").addDropdown(i=>{i.addOption("None","Empty").addOption("Roll","Rolled").setValue(this.plugin.data.initialDisplay).onChange(n=>{this.plugin.data.initialDisplay=n,this.plugin.saveSettings()})}),new ce.Setting(t).setName("Show Signed Results").setDesc("Positive results will show a '+'. This setting has no effect on negative results.").addToggle(i=>{i.setValue(this.plugin.data.signed).onChange(n=>{this.plugin.data.signed=n,this.plugin.saveSettings()})}),new ce.Setting(t).setName("Always Render Dice").setDesc(createFragment(i=>{i.createSpan({text:"Dice rolled in notes will always be rendered. Use the "}),i.createEl("code",{text:"|norender"}),i.createSpan({text:" flag to prevent it."})})).addToggle(i=>{i.setValue(this.plugin.data.renderAllDice).onChange(n=>{this.plugin.data.renderAllDice=n,this.plugin.saveSettings()})}),new ce.Setting(t).setName("Log All Rolls to Dice Tray").setDesc(createFragment(i=>{i.createSpan({text:"Dice rolled in notes will be added to the Dice Tray's Results section."})})).addToggle(i=>{i.setValue(this.plugin.data.addToView).onChange(n=>{this.plugin.data.addToView=n,this.plugin.saveSettings()})})}buildTables(t){t.empty(),this.#e(t,"Table Rollers"),new ce.Setting(t).setName("Display Lookup Table Roll").setDesc("Lookup table rolls will display the rolled number along with the result.").addToggle(i=>{i.setValue(this.plugin.data.displayLookupRoll),i.onChange(async n=>{this.plugin.data.displayLookupRoll=n,await this.plugin.saveSettings()})})}buildSections(t){t.empty(),this.#e(t,"Section Rollers"),new ce.Setting(t).setName("Add Copy Button to Section Results").setDesc("Randomly rolled sections will have a copy-content button to easy add result to clipboard.").addToggle(i=>{i.setValue(this.plugin.data.copyContentButton),i.onChange(async n=>{this.plugin.data.copyContentButton=n,await this.plugin.saveSettings()})}),new ce.Setting(t).setName("Display As Embeds").setDesc("Sections returned from Section & Tag Rollers will display as embedded fields.").addToggle(i=>{i.setValue(this.plugin.data.displayAsEmbed),i.onChange(async n=>{this.plugin.data.displayAsEmbed=n,await this.plugin.saveSettings()})})}buildTags(t){t.empty(),this.#e(t,"Tag Rollers"),new ce.Setting(t).setName("Always Return Links for Tags").setDesc("Enables random link rolling with the link parameter. Override by specifying a section type.").addToggle(i=>{i.setValue(this.plugin.data.rollLinksForTags),i.onChange(async n=>{this.plugin.data.rollLinksForTags=n,await this.plugin.saveSettings()})})}buildView(t){t.empty(),this.#e(t,"Dice Tray"),new ce.Setting(t).setName("Open Dice Tray on Startup").setDesc("The dice view can always be opened using the command from the command palette.").addToggle(i=>{i.setValue(this.plugin.data.showLeafOnStartup),i.onChange(async n=>{this.plugin.data.showLeafOnStartup=n,await this.plugin.saveSettings()})}),new ce.Setting(t).setName("Dice Tray Buttons").setDesc("Add and remove the buttons available in the Dice Tray here, to customize what quick-actions are available to roll."),this.iconsEl=t.createDiv("dice-icons"),this.buildIcons()}buildIcons(){if(this.iconsEl.empty(),!this.plugin.data.icons){this.iconsEl.createSpan({cls:"no-icons",text:"No dice buttons created! Create a button to use this functionality."});return}let i=this.iconsEl.createDiv("existing-buttons has-table").createDiv("buttons-table");for(let u=0;u{s.formula=u,l.setDisabled(s.text?.length===0||s.formula?.length===0)}),new ce.TextComponent(a).setPlaceholder("Display").onChange(u=>{s.text=u,l.setDisabled(s.text?.length===0||s.formula?.length===0)});let l=new ce.ExtraButtonComponent(n.createDiv("actions")).setIcon("save").setDisabled(!0).onClick(async()=>{!s.text||!s.formula||(this.plugin.data.icons.push({...s}),this.buildIcons(),await this.plugin.view.buildButtons(),await this.plugin.saveSettings())}),c=new ce.DropdownComponent(o);for(let[u,h]of Object.entries(Pl))c.addOption(h,h);c.setValue(s.shape).onChange(u=>{s.shape=c.getValue()}),s.shape=c.getValue()}buildStaticIcon(t,i){t.empty(),t.removeClass("add-new");let n=this.plugin.data.icons[i],s=t.createDiv("shape dice-button");Il.registerIcon(n.id,n.shape,n.text),(0,ce.setIcon)(s,n.id),t.createDiv({cls:"formula",text:n.formula});let o=t.createDiv("actions");new ce.ExtraButtonComponent(o).setIcon("edit").onClick(()=>{this.buildEditIcon(t,i,n)}),new ce.ExtraButtonComponent(o).setIcon("trash").onClick(async()=>{this.plugin.data.icons.splice(i,1),await this.plugin.view.buildButtons(),this.buildIcons()})}buildEditIcon(t,i,n){t.empty(),t.addClass("add-new");let s={text:n.text,formula:n.formula,shape:n.shape,id:n.id},o=t.createDiv("shape"),a=t.createDiv("formula");new ce.TextComponent(a).setPlaceholder("Formula").setValue(s.formula).onChange(h=>{s.formula=h,c.setDisabled(s.text.length===0||s.formula.length===0)}),new ce.TextComponent(a).setPlaceholder("Display").setValue(s.text).onChange(h=>{s.text=h,c.setDisabled(s.text.length===0||s.formula.length===0)});let l=t.createDiv("actions"),c=new ce.ExtraButtonComponent(l).setIcon("checkmark").setDisabled(s.text.length===0||s.formula.length===0).onClick(async()=>{!s.text||!s.formula||(this.plugin.data.icons.splice(i,1,{...s}),await this.plugin.saveSettings(),this.buildStaticIcon(t,i),await this.plugin.view.buildButtons())});new ce.ExtraButtonComponent(l).setIcon("cross").onClick(()=>{this.buildStaticIcon(t,i)});let u=new ce.DropdownComponent(o);for(let[h,d]of Object.entries(Pl))u.addOption(d,d);u.setValue(s.shape).onChange(h=>{s.shape=h})}buildRender(t){t.empty(),this.#e(t,"Graphical Dice"),new ce.Setting(t).setName("Display graphics for Dice Tray Rolls").setDesc("Dice rolls from dice view will be displayed on screen.").addToggle(s=>{s.setValue(this.plugin.data.renderer),s.onChange(async o=>{this.plugin.data.renderer=o,await this.plugin.saveSettings()})}),new ce.Setting(t).setName("Display Time for Dice Graphics").setDesc("Rendered dice will stay on screen for this number of milliseconds. Leave blank to require a click to clear dice.").addText(s=>{s.inputEl.setAttr("type","number"),s.inputEl.onblur=o=>{Number(s.getValue())<0&&(new ce.Notice("Render time cannot be less than 0."),s.setValue("0"))},s.setValue(`${this.plugin.data.renderTime}`),s.onChange(async o=>{o&&Number(o)<0||isNaN(Number(o))||(this.plugin.data.renderTime=Number(o),Pt.setData(this.plugin.getRendererData()),await this.plugin.saveSettings())})}).addExtraButton(s=>{s.setIcon("reset").setTooltip("Reset to Default").onClick(async()=>{this.plugin.data.renderTime=zl.renderTime,await this.plugin.saveSettings(),this.buildRender(t)})}),new ce.Setting(t).setName("Use Colorful Dice").setDesc("Rendered dice will be varied colors based on the dice type. This will override manually set dice and text colors.").addToggle(s=>{s.setValue(this.plugin.data.colorfulDice),s.onChange(async o=>{this.plugin.data.colorfulDice=o,Pt.setData(this.plugin.getRendererData()),await this.plugin.saveSettings()})}),new ce.Setting(t).setName("Adjust Dice Scale").setDesc("Control the size of rendered dice.").addSlider(s=>{s.setLimits(.5,1.5,.1).setValue(this.plugin.data.scaler).onChange(o=>{this.plugin.data.scaler=o,Pt.setData(this.plugin.getRendererData()),this.plugin.saveSettings()})}),new ce.Setting(t).setName("Font for dice").setDesc("Select the font to use for the dice").addText(async s=>{let o=async()=>{this.plugin.data.textFont=s.getValue(),await this.plugin.saveSettings(),Pt.setData(this.plugin.getRendererData())};new Ul(this.app,s,await this.getFonts()).onSelect(({item:l})=>{s.setValue(l),o()}),s.setValue(this.plugin.data.textFont),s.inputEl.onblur=async()=>{o()}}),new ce.Setting(t).setName("Dice Base Color").setDesc("Rendered dice will be this color.").controlEl.createEl("input",{type:"color",value:this.plugin.data.diceColor},s=>{s.value=this.plugin.data.diceColor,s.onchange=async({target:o})=>{let a=o.value;this.plugin.data.diceColor=a,Pt.setData(this.plugin.getRendererData()),await this.plugin.saveSettings()}}),new ce.Setting(t).setName("Dice Text Color").setDesc("Rendered dice will use this color for their numbers.").controlEl.createEl("input",{type:"color",value:this.plugin.data.textColor},s=>{s.value=this.plugin.data.textColor,s.onchange=async({target:o})=>{let a=o.value;a&&(this.plugin.data.textColor=a,Pt.setData(this.plugin.getRendererData()),await this.plugin.saveSettings())}}),new ce.Setting(t).setName("Show Notice for Results").setDesc(createFragment(s=>{s.createSpan({text:"A notice will be displayed for each rendered dice roll."}),s.createEl("br"),s.createSpan({text:"Changing this setting will not effect any existing dice rollers in opened notes."})})).addToggle(s=>{s.setValue(this.plugin.data.showRenderNotice).onChange(async o=>{this.plugin.data.showRenderNotice=o,await this.plugin.saveSettings()})})}buildFormulaSettings(t){t.empty(),this.#e(t,"Saved Formulas");let i=t.createDiv("dice-roller-setting-additional-container"),n=i.createDiv();new ce.Setting(n).setName("Add Formula").setDesc("Add a new formula shortcut.").addButton(a=>a.setTooltip("Add Formula").setButtonText("+").onClick(async()=>{let c=await this.buildFormulaForm(n);c&&(this.plugin.data.formulas[c.alias]=c.formula,this.buildFormulaSettings(t),await this.plugin.saveSettings())}));let s=i.createDiv("additional"),o=this.plugin.data.formulas;for(let[a,l]of Object.entries(o)){let c=new ce.Setting(s).setName(a);c.controlEl.createSpan({text:l}),c.addExtraButton(u=>u.setIcon("edit").setTooltip("Edit").onClick(async()=>{let h=await this.buildFormulaForm(n,{alias:a,formula:l});h&&(delete this.plugin.data.formulas[a],this.plugin.data.formulas[h.alias]=h.formula,this.buildFormulaSettings(t),await this.plugin.saveSettings())})).addExtraButton(u=>u.setIcon("trash").setTooltip("Delete").onClick(async()=>{delete this.plugin.data.formulas[a],await this.plugin.saveSettings(),this.buildFormulaSettings(t)}))}Object.values(o).length||s.createSpan({text:"Create a formula to see it here!",cls:"no-formulas"})}async buildFormulaForm(t,i={alias:null,formula:null}){return new Promise(n=>{let s=t.createDiv("add-new-formula"),o=s.createDiv("formula-data");new ce.Setting(o).setName("Alias").addText(l=>{l.setValue(i.alias).onChange(c=>i.alias=c)}),new ce.Setting(o).setName("Formula").addText(l=>{l.setValue(i.formula).onChange(c=>i.formula=c)});let a=s.createDiv("formula-buttons");new ce.Setting(a).addButton(l=>l.setCta().setButtonText("Save").onClick(async()=>{s.detach(),n(i)})).addExtraButton(l=>l.setIcon("cross").setTooltip("Cancel").onClick(()=>{s.detach(),n(null)}))})}#t;buildDiceModTemplateFoldersSettings(t){t.empty(),this.#e(t,"Modify Dice"),new ce.Setting(t).setName(createFragment(i=>{i.createSpan({text:"Apply "}),i.createEl("code",{text:"dice-mod"}),i.createSpan({text:" in live-preview"})})).setDesc(createFragment(i=>{i.createSpan({text:"If not enabled "}),i.createEl("code",{text:"dice-mod"}),i.createSpan({text:" will only be applied/replaced in read mode."})})).addToggle(i=>{i.setValue(this.plugin.data.replaceDiceModInLivePreview),i.onChange(async n=>{this.plugin.data.replaceDiceModInLivePreview=n,await this.plugin.saveSettings()})}),new ce.Setting(t).setName("Escape Markdown When Modifying").setDesc(createFragment(i=>{i.createSpan({text:"Markdown characters will be escaped when using "}),i.createEl("code",{text:"dice-mod"}),i.createSpan({text:"."})})).addToggle(i=>{i.setValue(this.plugin.data.escapeDiceMod),i.onChange(async n=>{this.plugin.data.escapeDiceMod=n,await this.plugin.saveSettings()})}),new ce.Setting(t).setName("Add Formula When Using Modify Dice").setDesc(createFragment(i=>{i.createSpan({text:"Both the formula and the results will both be added to the note when using "}),i.createEl("code",{text:"dice-mod"}),i.createSpan({text:"."})})).addToggle(i=>{i.setValue(this.plugin.data.displayFormulaForMod),i.onChange(async n=>{this.plugin.data.displayFormulaForMod=n,await this.plugin.saveSettings()})}),this.pathsEl=t.createDiv("template-paths dice-roller-setting-additional-container"),this.buildPaths()}buildPaths(){if(this.#t){this.folders=this.allFolders.filter(n=>!(n.path in this.plugin.data.diceModTemplateFolders));let i=Object.entries(this.plugin.data.diceModTemplateFolders);i.sort((n,s)=>n[0].localeCompare(s[0])),this.plugin.data.diceModTemplateFolders=Object.fromEntries(i),this.#t=!1}this.pathsEl.empty(),new ce.Setting(this.pathsEl).setName("Template Folders").setDesc(createFragment(i=>{i.createSpan({text:"Define folders where "}),i.createEl("code",{text:"dice-mod"}),i.createSpan({text:" is not applied/replaced and can be used in templates."})})).setHeading();let t=this.pathsEl.createDiv("additional");for(let i in this.plugin.data.diceModTemplateFolders)this.buildStaticPath(t.createDiv(),i);this.buildEditPath(t.createDiv())}buildStaticPath(t,i){t.empty();let n=this.plugin.data.diceModTemplateFolders[i],s=new ce.Setting(t).setName(i);s.setDesc(createFragment(o=>{let a=o.createDiv({attr:{style:"display: flex;align-items: center;gap: 0.5rem;"}});n?((0,ce.setIcon)(a,"folder-tree"),a.createSpan({text:"Includes Subfolders"})):((0,ce.setIcon)(a,"folder-closed"),a.createSpan({text:"Root Only"}))})),s.addExtraButton(o=>o.setIcon("edit").onClick(()=>{this.buildEditPath(t,i)})).addExtraButton(o=>o.setIcon("trash").onClick(async()=>{delete this.plugin.data.diceModTemplateFolders[i],await this.plugin.saveSettings(),this.#t=!0,this.buildPaths()}))}buildEditPath(t,i){t.empty();let n={folder:i,useSubfolders:this.plugin.data.diceModTemplateFolders[i]??!0},s=t.createDiv("template-edit setting-item"),o=s.createDiv("template-input"),a=o.createDiv("folder-input"),l=new ce.ExtraButtonComponent(o).onClick(()=>{n.useSubfolders=!n.useSubfolders,n.useSubfolders?l.setIcon("folder-tree").setTooltip("Including Subfolders"):l.setIcon("folder-closed").setTooltip("Not Including Subfolders")});this.plugin.data.diceModTemplateFolders[i]??!0?l.setIcon("folder-tree").setTooltip("Including Subfolders"):l.setIcon("folder-closed").setTooltip("Not Including Subfolders");let c=s.createDiv("actions");i||new ce.ExtraButtonComponent(c).extraSettingsEl.setAttr("style","visibility: hidden;");let u=new ce.ExtraButtonComponent(c).setIcon(i?"checkmark":"save").setDisabled(!i).onClick(async()=>{this.plugin.data.diceModTemplateFolders[n.folder]=n.useSubfolders,await this.plugin.saveSettings(),n.folder!=i?(this.#t=!0,this.buildPaths()):this.buildStaticPath(t,i)});i&&new ce.ExtraButtonComponent(c).setIcon("cross").onClick(()=>this.buildStaticPath(t,i)),this.buildPathInput(a,u,h=>{n.folder=h},i)}buildPathInput(t,i,n,s="Folder"){let o=c=>{if(!c||!c.length||c in this.plugin.data.diceModTemplateFolders)return i.setDisabled(!0),!1;i.setDisabled(!1),n((0,ce.normalizePath)(c))},a=new ce.TextComponent(t).setPlaceholder(s).onChange(c=>{o(c)}),l=new ag.FolderInputSuggest(this.app,a,this.folders);l.onSelect(async c=>{l.close(),l.setValue(c.item.path),o(c.item.path)})}};var dt=require("obsidian");var fg=nn(lg());var PT=nn(td());var Ki=require("obsidian");var cg=/(?:(?\d+)[Dd])?#(?[\p{Letter}\p{Emoji_Presentation}\w/-]+)(?:\|(?[\+-]))?(?:\|(?[^\+-]+))?/u,ug=/(?:(?\d+)[Dd]?)?dv\((?.+)\)(?:\|(?[\+-]))?(?:\|(?[^\+-]+))?/u,hg=/(?.*)?(?:\[.*\]\(|\[\[)(?.+?)#?\^(?.+?)(?:\]\]|\))(?:\|(?
.+))?/,ec=/(?:(?\d+)[Dd])?(?:\[.*\]\(|\[\[)(?.+)(?:\]\]|\))\|?(?.+)?/;var od=class{constructor(){this.result="";this.combinedTooltip=""}},tc=class r extends mo{constructor(t,i,n,s,o,a=t.position,l){super(t,i,n,s,o,a);this.lookup=l;this.isLookup=!1;this.combinedTooltip="";this.prettyTooltip="";this.getPath()}getPath(){let{groups:t}=this.lexeme.value.match(hg)??{},{diceRoll:i="1",link:n,block:s,header:o}=t??{};if(!n||!s)throw new Error("Could not parse link.");let a=i.match(/(\d*?)[Dd]$/);if(a){let[,l="1"]=a;this.rollsFormula=l}else this.rollsFormula=i;this.rolls=1,this.path=decodeURIComponent(n.replace(/(\[|\]|\(|\))/g,"")),this.block=s.replace(/(\^|#)/g,"").trim().toLowerCase(),this.header=o}get tooltip(){return this.prettyTooltip}async getReplacer(){return this.result}async build(){this.resultEl.empty();let t=[this.result];this.data.displayResultsInline&&t.unshift(this.inlineText);let i=createSpan();Ki.MarkdownRenderer.render(this.app,t.join(""),i,this.source,new Ki.Component);let n=this.resultEl.createSpan("embedded-table-result");i.childElementCount==1&&i.firstElementChild instanceof HTMLParagraphElement?n.append(...Array.from(i.firstElementChild.childNodes)):n.append(...Array.from(i.childNodes))}prettify(t){let i=/(.*?)(\(|\)|;|\|\|)(.*)/,n=" ",s=0,o="",a=t,l;for(;l=a.match(i);){let[,c,u,h]=l;o+=c,u==")"?(s--,o+=` `,o+=n.repeat(s),o+=")"):(u=="("?(s++,o+="("):u==";"?o+=",":u=="||"&&(o+="|"),o+=` -`,o+=n.repeat(s)),a=h}return o+=a,o}async getSubResult(t){let i=new od;typeof t=="number"?i.result=t.toString():i.result=t;let n=[];if(typeof t=="string"){let s=/(?:\`dice:)(.*?)(?:\`)/g,o=t.matchAll(s);for(let a of o){let l=a[1].trim(),c=await Tt.getRoller(l,this.source);if(c==null)continue;c.addContexts(...this.components),await c.roll();let u=await this.getSubResult(c.result),h;if(u.result instanceof Ki.TFile?h=u.result.basename:h=u.result,i.result=i.result.replace(a[0],h),c instanceof r)n.push(c.combinedTooltip);else{let[d,p]=c.tooltip.split(` -`);n.push(d+" --> "+p)}}}return i.combinedTooltip=n.join(";"),i}async getResult(){let t=[],i=[],n=this.original;if(this.rollsFormula)try{let s=await Tt.getRoller(this.rollsFormula,this.source);if(s){if(!(s instanceof qt))return this.prettyTooltip="TableRoller only supports dice rolls to select multiple elements.",new Ki.Notice(this.prettyTooltip),"ERROR";let o=s;o.addContexts(...this.components),await o.roll(),this.rolls=o.result,o.isStatic||(n=n.replace(this.rollsFormula,`${this.rollsFormula.trim()} --> ${o.resultText} > `))}}catch{return this.prettyTooltip=`TableRoller: '${this.rollsFormula}' is not a valid dice roll.`,new Ki.Notice(this.prettyTooltip),"ERROR"}for(let s=0;sh[1]===void 0&&c===h[0]||c>=h[0]&&h[1]>=c);u&&(o=this.lookupRoller.original.trim()+" --> "+`${this.lookupRoller.resultText}${this.header?" | "+this.header:""}`.trim(),l=u[1])}else{let c=[...this.options],u=this.getRandomBetween(0,c.length-1);o=c.length+" rows --> [row "+(u+1)+"]",l=c[u]}a=await this.getSubResult(l),t.push(a.result),a.combinedTooltip&&(o+=" > ("+a.combinedTooltip+")"),i.push(o)}return i.length==0?this.combinedTooltip=n:i.length==1?this.combinedTooltip=n+" "+i.join(""):this.combinedTooltip=n+" ==> ("+i.join(" ||")+")",this.prettyTooltip=this.prettify(this.combinedTooltip),t.join("||")}async roll(){return new Promise(async t=>{this.loaded?(this.result=await this.getResult(),this.render(),this.trigger("new-result"),t(this.result)):this.once("loaded",async()=>{this.result=await this.getResult(),this.render(),this.trigger("new-result"),t(this.result)})})}async getOptions(t,i){if(this.cache=t,!this.cache||!this.cache.blocks||!(this.block in this.cache.blocks))throw new Error(`Could not read file cache. Does the block reference exist? +`,o+=n.repeat(s)),a=h}return o+=a,o}async getSubResult(t){let i=new od;typeof t=="number"?i.result=t.toString():i.result=t;let n=[];if(typeof t=="string"){let s=/(?:\`dice:)(.*?)(?:\`)/g,o=t.matchAll(s);for(let a of o){let l=a[1].trim(),c=await Dt.getRoller(l,this.source);if(c==null)continue;c.addContexts(...this.components),await c.roll();let u=await this.getSubResult(c.result),h;if(u.result instanceof Ki.TFile?h=u.result.basename:h=u.result,i.result=i.result.replace(a[0],h),c instanceof r)n.push(c.combinedTooltip);else{let[d,p]=c.tooltip.split(` +`);n.push(d+" --> "+p)}}}return i.combinedTooltip=n.join(";"),i}async getResult(){let t=[],i=[],n=this.original;if(this.rollsFormula)try{let s=await Dt.getRoller(this.rollsFormula,this.source);if(s){if(!(s instanceof qt))return this.prettyTooltip="TableRoller only supports dice rolls to select multiple elements.",new Ki.Notice(this.prettyTooltip),"ERROR";let o=s;o.addContexts(...this.components),await o.roll(),this.rolls=o.result,o.isStatic||(n=n.replace(this.rollsFormula,`${this.rollsFormula.trim()} --> ${o.resultText} > `))}}catch{return this.prettyTooltip=`TableRoller: '${this.rollsFormula}' is not a valid dice roll.`,new Ki.Notice(this.prettyTooltip),"ERROR"}for(let s=0;sh[1]===void 0&&c===h[0]||c>=h[0]&&h[1]>=c);u&&(o=this.lookupRoller.original.trim()+" --> "+`${this.lookupRoller.resultText}${this.header?" | "+this.header:""}`.trim(),l=u[1])}else{let c=[...this.options],u=this.getRandomBetween(0,c.length-1);o=c.length+" rows --> [row "+(u+1)+"]",l=c[u]}a=await this.getSubResult(l),t.push(a.result),a.combinedTooltip&&(o+=" > ("+a.combinedTooltip+")"),i.push(o)}return i.length==0?this.combinedTooltip=n:i.length==1?this.combinedTooltip=n+" "+i.join(""):this.combinedTooltip=n+" ==> ("+i.join(" ||")+")",this.prettyTooltip=this.prettify(this.combinedTooltip),t.join("||")}async roll(){return new Promise(async t=>{this.loaded?(this.result=await this.getResult(),this.render(),this.trigger("new-result"),t(this.result)):this.once("loaded",async()=>{this.result=await this.getResult(),this.render(),this.trigger("new-result"),t(this.result)})})}async getOptions(t,i){if(this.cache=t,!this.cache||!this.cache.blocks||!(this.block in this.cache.blocks))throw new Error(`Could not read file cache. Does the block reference exist? ${this.path} > ${this.block}`);let n=this.cache.sections?.find(a=>a.position==this.cache.blocks[this.block].position),s=this.cache.blocks[this.block].position,o=i.slice(s.start.offset,s.end.offset);if(await this.checkForDirtiness(o))if(this.content=o,n&&n.type==="list")this.options=this.content.split(` -`);else{let a=iA(this.content);if(/dice:\s*([\s\S]+)\s*?/.test(Array.from(a.columns.keys())[0])||this.lookup){let l=await Tt.getRoller(this.lookup??Array.from(a.columns.keys())[0].split(":").pop().replace(/\`/g,""),this.source);l&&(l.addContexts(...this.components),l instanceof qt&&(this.lookupRoller=l,this.lookupRanges=a.rows.map(c=>{let[u,h]=c.replace(/\\\|/g,"{ESCAPED_PIPE}").split("|").map(m=>m.replace(/{ESCAPED_PIPE}/g,"\\|")).map(m=>m.trim()),[,d,p]=u.match(/(\d+)(?:[^\d]+?(\d+))?/)??[];if(!(!d&&!p))return[[Number(d),p?Number(p):void 0],h]}),this.isLookup=!0))}if(this.header==="xy"&&!a.columns.has("xy")){this.options=[];for(let l of Array.from(a.columns.values()).slice(1))this.options.push(...l)}else if(this.header&&a.columns.has(this.header))this.options=a.columns.get(this.header);else{if(this.header)throw new Error(`Header ${this.header} was not found in table ${this.path} > ${this.block}.`);this.options=a.rows}}}},tA=/^\|?([\s\S]+?)\|?$/,dg=/\|/g;function iA(r){let e=r.split(` +`);else{let a=iA(this.content);if(/dice:\s*([\s\S]+)\s*?/.test(Array.from(a.columns.keys())[0])||this.lookup){let l=await Dt.getRoller(this.lookup??Array.from(a.columns.keys())[0].split(":").pop().replace(/\`/g,""),this.source);l&&(l.addContexts(...this.components),l instanceof qt&&(this.lookupRoller=l,this.lookupRanges=a.rows.map(c=>{let[u,h]=c.replace(/\\\|/g,"{ESCAPED_PIPE}").split("|").map(m=>m.replace(/{ESCAPED_PIPE}/g,"\\|")).map(m=>m.trim()),[,d,p]=u.match(/(\d+)(?:[^\d]+?(\d+))?/)??[];if(!(!d&&!p))return[[Number(d),p?Number(p):void 0],h]}),this.isLookup=!0))}if(this.header==="xy"&&!a.columns.has("xy")){this.options=[];for(let l of Array.from(a.columns.values()).slice(1))this.options.push(...l)}else if(this.header&&a.columns.has(this.header))this.options=a.columns.get(this.header);else{if(this.header)throw new Error(`Header ${this.header} was not found in table ${this.path} > ${this.block}.`);this.options=a.rows}}}},tA=/^\|?([\s\S]+?)\|?$/,dg=/\|/g;function iA(r){let e=r.split(` `),i=e.map(o=>(o.trim().match(tA)??[,o.trim()])[1])[0].replace("\\|","{ESCAPED_PIPE}").split(dg),n=[],s=[];for(let o in i){let a=i[o];a.trim().length||(a=o),s.push([a.trim(),[]])}for(let o of e.slice(2)){let a=o.trim().replace(/\\\|/g,"{ESCAPED_PIPE}").split(dg).map(l=>l.replace(/{ESCAPED_PIPE}/g,"\\|")).map(l=>l.trim()).filter(l=>l.length);n.push(a.join(" | "));for(let l in a){let c=a[l].trim();!c.length||!s[l]||s[l][1].push(c)}}return{columns:new Map(s),rows:n}}var Cn=require("obsidian");function nA(r){let e="",t="abcdefghijklmnopqrstuvwxyz0123456789",i=t.length;for(let n=0;n{if(i&&i.getModifierState("Control")||i.getModifierState("Meta")){i.stopPropagation();return}};let t=this.resultEl.createDiv({cls:this.getEmbedClass()});if(!this.data.displayResultsInline){let i="type"in e?e.type:"List Item";t.setAttrs({"aria-label":`${this.file.basename}: ${i}`})}if(!e){t.createDiv({cls:"dice-no-results",text:"No results."});continue}if(Cn.MarkdownRenderer.render(this.app,this.displayFromCache(e),t.createDiv(),this.source,new Cn.Component),this.data.copyContentButton&&this.results.length>1){let i=t.createDiv({cls:"dice-content-copy dice-roller-button",attr:{"aria-label":"Copy Contents"}});i.addEventListener("click",n=>{n.stopPropagation(),navigator.clipboard.writeText(this.displayFromCache(e).trim()).then(async()=>{new Cn.Notice("Result copied to clipboard.")})}),(0,Cn.setIcon)(i,"copy")}}}displayFromCache(...e){let t=[];for(let i of e)t.push(this.content.slice(i.position.start.offset,i.position.end.offset));return t.join(` @@ -3070,15 +3070,15 @@ ${this.path}`}async build(){if(this.resultEl.empty(),this.data.displayResultsInl ${this.path}`}async build(){if(this.resultEl.empty(),this.data.displayResultsInline&&this.inline&&this.resultEl.createSpan({text:this.inlineText}),!this.results||!this.results.length){this.resultEl.createDiv({cls:"dice-no-results",text:"No results."});return}this.data.copyContentButton&&this.copy.removeClass("no-show");for(let e of this.results){this.resultEl.onclick=async i=>{if(i&&i.getModifierState("Control")||i.getModifierState("Meta")){i.stopPropagation();return}};let t=this.resultEl.createDiv({cls:this.getEmbedClass()});if(!e){t.createDiv({cls:"dice-no-results",text:"No results."});continue}if(Rn.MarkdownRenderer.render(this.app,e,t.createDiv(),this.source,new Rn.Component),this.data.copyContentButton&&this.results.length>1){let i=t.createDiv({cls:"dice-content-copy dice-roller-button",attr:{"aria-label":"Copy Contents"}});i.addEventListener("click",n=>{n.stopPropagation(),navigator.clipboard.writeText(e).then(async()=>{new Rn.Notice("Result copied to clipboard.")})}),(0,Rn.setIcon)(i,"copy")}}}transformResultsToString(){return this.results.join(` `)}getPath(){let{groups:e}=this.lexeme.value.match(ec)??{},{roll:t=1,link:i,types:n}=e??{};if(!i)throw new Error("Could not parse link.");this.rolls=(t&&!isNaN(Number(t))&&Number(t))??1,this.path=i.replace(/(\[|\])/g,""),this.types=n?.split(",")}async getOptions(e,t){if(await this.checkForDirtiness(t)){if(this.content=t,!this.content)throw new Error("Could not read file cache.");this.options=this.content.trim().split(` -`).map(i=>i.trim()).filter(i=>i&&i.length)}}async roll(){return new Promise((e,t)=>{if(!this.loaded)this.once("loaded",()=>{let i=[...this.options];this.results=[...Array(this.rolls)].map(()=>{let n=i[this.getRandomBetween(0,i.length-1)];return i.splice(i.indexOf(n),1),n}).filter(n=>n),this.render(),this.trigger("new-result"),e(this.results[0])});else{let i=[...this.options];this.results=[...Array(this.rolls)].map(()=>{let n=i[this.getRandomBetween(0,i.length-1)];return i.splice(i.indexOf(n),1),n}).filter(n=>n),this.render(),this.trigger("new-result"),e(this.results[0])}})}};var ad=class{constructor(){this.sources=new Map}initialize(e,t){this.data=e,this.app=t}#e(e){return e.some(({type:t})=>t==="table")?"table":e.some(({type:t})=>t==="section")?"section":e.some(({type:t})=>t==="dataview")?"dataview":e.some(({type:t})=>t==="tag")?"tag":e.some(({type:t})=>t==="link")?"link":e.some(({type:t})=>t==="line")?"line":"dice"}getParametersForRoller(e,t){e=e.replace(/\\\|/g,"|");let i=t?.position??Ot.LEFT,n=t?.shouldRender??this.data.renderAllDice,s=t?.showFormula??this.data.displayResultsInline,o=t?.showParens??this.data.displayFormulaAfter,a=t?.expectedValue??this.data.initialDisplay,l=t?.text??"",c=t?.round??this.data.round,u=t?.signed??this.data.signed,h=t?.lookup,d=/\|text\((.*)\)/;if(e.includes("|nodice")&&(i=Ot.NONE),e.includes("|render")&&(n=!0),e.includes("|norender")&&(n=!1),e.includes("|form")&&(s=!0),e.includes("|noform")&&(s=!1),e.includes("|avg")&&(a="Average"),e.includes("|none")&&(a="None"),e.includes("|text(")){let[,p]=e.match(d)??[null,""];l=p}return e.includes("|paren")&&(o=!0),e.includes("|noparen")&&(o=!1),e.includes("|round")&&(c="Normal"),e.includes("|noround")&&(c="None"),e.includes("|ceil")&&(c="Up"),e.includes("|floor")&&(c="Down"),e.includes("|signed")&&(u=!0),e.includes("|lookup=")&&([,h]=e.match(/\|lookup=(.+?)(?:\||$)/)??[]),e=(0,fg.decode)(e.replace(/\|(no)?(dice|render|form|paren|avg|none|round|floor|ceil|signed)/g,"").replace(/\|lookup=.+?(\||$)/,"").replace(d,"")),e in this.data.formulas&&(e=this.data.formulas[e]),{content:e,position:i,showParens:o,showFormula:s,expectedValue:a,shouldRender:n,text:l,round:c,signed:u,lookup:h}}registerSource(e,t){this.sources.set(e,t)}getRoller(e,t="",i=this.getRollerOptions(this.data)){let{content:n,position:s,showParens:o,showFormula:a,expectedValue:l,round:c,shouldRender:u,text:h,signed:d,lookup:p}=this.getParametersForRoller(e,i),m=nr.parse(n);if(m.isErr())return console.error(m.unwrapErr()),null;let y=m.unwrap();switch(this.#e(y)){case"dice":{let g=new qt(this.data,n,y,this.app,s,h,l,o,c,d);return g.showFormula=a,g.shouldRender=u,g.showRenderNotice=this.data.showRenderNotice,g.setSource(t),g}case"table":return new tc(this.data,n,y[0],t,this.app,s,p);case"section":return new sr(this.data,n,y[0],t,this.app,s);case"dataview":{if(!oi.canUseDataview)throw new Error("Tags are only supported with the Dataview plugin installed.");return new nc(this.data,n,y[0],t,this.app,s)}case"tag":{if(!oi.canUseDataview)throw new Error("Tags are only supported with the Dataview plugin installed.");return new sc(this.data,n,y[0],t,this.app,s)}case"line":return new rc(this.data,n,y[0],t,this.app,s)}}getRollerString(e,t){if(!t)return e;let i=this.sources.get(t)??this.getRollerOptions(this.data);if("position"in i&&(e+=i.position!==Ot.NONE?"":"|nodice"),"shouldRender"in i&&(e+=i.shouldRender?"|render":"|norender"),"showFormula"in i&&(e+=i.showFormula?"|form":"|noform"),"expectedValue"in i&&(i.expectedValue=="Average"&&(e+="|avg"),i.expectedValue=="None"&&(e+="|none")),"text"in i&&i.text&&(e+="|text("+i.text+")"),"showParens"in i&&(e+=i.showParens?"|paren":"|noparen"),"round"in i)switch(i.round){case"Down":{e+="|floor";break}case"Up":{e+="|ceil";break}case"Normal":{e+="|round";break}case"None":e+="|noround"}return i.signed&&(e+="|signed"),e}async getArrayRoller(e,t=1){let i=new Fl(this.data,e,t);return await i.roll(),i}async parseDice(e,t=""){let i=await this.getRoller(e,t);return{result:await i?.roll(),roller:i}}getRollerOptions(e){return{position:e.position,shouldRender:e.renderAllDice,showFormula:e.displayResultsInline,showParens:e.displayFormulaAfter,expectedValue:e.initialDisplay,round:e.round,text:null,signed:e.signed}}},Tt=new ad;var mg="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";var gg=(r=21)=>{let e="",t=crypto.getRandomValues(new Uint8Array(r));for(;r--;)e+=mg[t[r]&63];return e};function Fn(){}function rA(r,e){for(let t in e)r[t]=e[t];return r}function ld(r){return r()}function oc(){return Object.create(null)}function zt(r){r.forEach(ld)}function Eo(r){return typeof r=="function"}function ac(r,e){return r!=r?e==e:r!==e||r&&typeof r=="object"||typeof r=="function"}function yg(r){return Object.keys(r).length===0}function cd(r,e,t,i){if(r){let n=xg(r,e,t,i);return r[0](n)}}function xg(r,e,t,i){return r[1]&&i?rA(t.ctx.slice(),r[1](i(e))):t.ctx}function ud(r,e,t,i){if(r[2]&&i){let n=r[2](i(t));if(e.dirty===void 0)return n;if(typeof n=="object"){let s=[],o=Math.max(e.dirty.length,n.length);for(let a=0;a32){let e=[],t=r.ctx.length/32;for(let i=0;i{this._listeners.delete(e),this._observer.unobserve(e)}}_getObserver(){return this._observer??(this._observer=new ResizeObserver(e=>{for(let t of e)r.entries.set(t.target,t),this._listeners.get(t.target)?.(t)}))}};lc.entries="WeakMap"in pd?new WeakMap:void 0;var vg=!1;function wg(){vg=!0}function bg(){vg=!1}function Ye(r,e){r.appendChild(e)}function cc(r,e,t){let i=_g(r);if(!i.getElementById(e)){let n=ct("style");n.id=e,n.textContent=t,lA(i,n)}}function _g(r){if(!r)return document;let e=r.getRootNode?r.getRootNode():r.ownerDocument;return e&&e.host?e:r.ownerDocument}function lA(r,e){return Ye(r.head||r,e),e.sheet}function Qi(r,e,t){r.insertBefore(e,t||null)}function gi(r){r.parentNode&&r.parentNode.removeChild(r)}function ct(r){return document.createElement(r)}function Jn(r){return document.createTextNode(r)}function en(){return Jn(" ")}function Eg(){return Jn("")}function Kn(r,e,t,i){return r.addEventListener(e,t,i),()=>r.removeEventListener(e,t,i)}function mt(r,e,t){t==null?r.removeAttribute(e):r.getAttribute(e)!==t&&r.setAttribute(e,t)}function Ag(r){return Array.from(r.childNodes)}function Ao(r,e){e=""+e,r.data!==e&&(r.data=e)}function fd(r,e,t){r.classList.toggle(e,!!t)}function Sg(r){let e={};return r.childNodes.forEach(t=>{e[t.slot||"default"]=!0}),e}var or;function tn(r){or=r}var Qn=[];var Dg=[],lr=[],Tg=[],fA=Promise.resolve(),gd=!1;function Cg(){gd||(gd=!0,fA.then(uc))}function So(r){lr.push(r)}var md=new Set,ar=0;function uc(){if(ar!==0)return;let r=or;do{try{for(;arr.indexOf(i)===-1?e.push(i):t.push(i)),t.forEach(i=>i()),lr=e}var hc=new Set,es;function Mo(){es={r:0,c:[],p:es}}function Do(){es.r||zt(es.c),es=es.p}function It(r,e){r&&r.i&&(hc.delete(r),r.i(e))}function yi(r,e,t,i){if(r&&r.o){if(hc.has(r))return;hc.add(r),es.c.push(()=>{hc.delete(r),i&&(t&&r.d(1),i())}),r.o(e)}else i&&i()}function To(r){return r?.length!==void 0?r:Array.from(r)}function Fg(r,e){r.d(1),e.delete(r.key)}function Lg(r,e,t,i,n,s,o,a,l,c,u,h){let d=r.length,p=s.length,m=d,y={};for(;m--;)y[r[m].key]=m;let x=[],g=new Map,f=new Map,E=[];for(m=p;m--;){let T=h(n,s,m),z=t(T),W=o.get(z);W?i&&E.push(()=>W.p(T,e)):(W=c(z,T),W.c()),g.set(z,x[m]=W),z in y&&f.set(z,Math.abs(m-y[z]))}let w=new Set,_=new Set;function M(T){It(T,1),T.m(a,u),o.set(T.key,T),u=T.first,p--}for(;d&&p;){let T=x[p-1],z=r[d-1],W=T.key,A=z.key;T===z?(u=T.first,d--,p--):g.has(A)?!o.has(W)||w.has(W)?M(T):_.has(A)?d--:f.get(W)>f.get(A)?(_.add(W),M(T)):(w.add(A),d--):(l(z,o),d--)}for(;d--;){let T=r[d];g.has(T.key)||l(T,o)}for(;p;)M(x[p-1]);return zt(E),x}var gA=["allowfullscreen","allowpaymentrequest","async","autofocus","autoplay","checked","controls","default","defer","disabled","formnovalidate","hidden","inert","ismap","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected"],yA=new Set([...gA]);function Bg(r){r&&r.c()}function xd(r,e,t){let{fragment:i,after_update:n}=r.$$;i&&i.m(e,t),So(()=>{let s=r.$$.on_mount.map(ld).filter(Eo);r.$$.on_destroy?r.$$.on_destroy.push(...s):zt(s),r.$$.on_mount=[]}),n.forEach(So)}function vd(r,e){let t=r.$$;t.fragment!==null&&(Rg(t.after_update),zt(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function vA(r,e){r.$$.dirty[0]===-1&&(Qn.push(r),Cg(),r.$$.dirty.fill(0)),r.$$.dirty[e/31|0]|=1<{let m=p.length?p[0]:d;return c.ctx&&n(c.ctx[h],c.ctx[h]=m)&&(!c.skip_bound&&c.bound[h]&&c.bound[h](m),u&&vA(r,h)),d}):[],c.update(),u=!0,zt(c.before_update),c.fragment=i?i(c.ctx):!1,e.target){if(e.hydrate){wg();let h=Ag(e.target);c.fragment&&c.fragment.l(h),h.forEach(gi)}else c.fragment&&c.fragment.c();e.intro&&It(r.$$.fragment),xd(r,e.target,e.anchor),bg(),uc()}tn(l)}var wA;typeof HTMLElement=="function"&&(wA=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;constructor(r,e,t){super(),this.$$ctor=r,this.$$s=e,t&&this.attachShadow({mode:"open"})}addEventListener(r,e,t){if(this.$$l[r]=this.$$l[r]||[],this.$$l[r].push(e),this.$$c){let i=this.$$c.$on(r,e);this.$$l_u.set(e,i)}super.addEventListener(r,e,t)}removeEventListener(r,e,t){if(super.removeEventListener(r,e,t),this.$$c){let i=this.$$l_u.get(e);i&&(i(),this.$$l_u.delete(e))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let r=function(n){return()=>{let s;return{c:function(){s=ct("slot"),n!=="default"&&mt(s,"name",n)},m:function(l,c){Qi(l,s,c)},d:function(l){l&&gi(s)}}}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;let e={},t=Sg(this);for(let n of this.$$s)n in t&&(e[n]=[r(n)]);for(let n of this.attributes){let s=this.$$g_p(n.name);s in this.$$d||(this.$$d[s]=yd(s,n.value,this.$$p_d,"toProp"))}for(let n in this.$$p_d)!(n in this.$$d)&&this[n]!==void 0&&(this.$$d[n]=this[n],delete this[n]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:{...this.$$d,$$slots:e,$$scope:{ctx:[]}}});let i=()=>{this.$$r=!0;for(let n in this.$$p_d)if(this.$$d[n]=this.$$c.$$.ctx[this.$$c.$$.props[n]],this.$$p_d[n].reflect){let s=yd(n,this.$$d[n],this.$$p_d,"toAttribute");s==null?this.removeAttribute(this.$$p_d[n].attribute||n):this.setAttribute(this.$$p_d[n].attribute||n,s)}this.$$r=!1};this.$$c.$$.after_update.push(i),i();for(let n in this.$$l)for(let s of this.$$l[n]){let o=this.$$c.$on(n,s);this.$$l_u.set(s,o)}this.$$l={}}}attributeChangedCallback(r,e,t){this.$$r||(r=this.$$g_p(r),this.$$d[r]=yd(r,t,this.$$p_d,"toProp"),this.$$c?.$set({[r]:this.$$d[r]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{this.$$cn||(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(r){return Object.keys(this.$$p_d).find(e=>this.$$p_d[e].attribute===r||!this.$$p_d[e].attribute&&e.toLowerCase()===r)||r}});function yd(r,e,t,i){let n=t[r]?.type;if(e=n==="Boolean"&&typeof e!="boolean"?e!=null:e,!i||!t[r])return e;if(i==="toAttribute")switch(n){case"Object":case"Array":return e==null?null:JSON.stringify(e);case"Boolean":return e?"":null;case"Number":return e??null;default:return e}else switch(n){case"Object":case"Array":return e&&JSON.parse(e);case"Boolean":return e;case"Number":return e!=null?+e:e;default:return e}}var ts=class{$$=void 0;$$set=void 0;$destroy(){vd(this,1),this.$destroy=Fn}$on(e,t){if(!Eo(t))return Fn;let i=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return i.push(t),()=>{let n=i.indexOf(t);n!==-1&&i.splice(n,1)}}$set(e){this.$$set&&!yg(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}};var Pg="4";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Pg);var kg=require("obsidian");function bA(r){cc(r,"svelte-1my4lf",'.always-open.svelte-1my4lf.svelte-1my4lf{pointer-events:none}.creator-settings-container.svelte-1my4lf.svelte-1my4lf{pointer-events:initial}.calendarium-nested-settings.svelte-1my4lf.svelte-1my4lf{position:relative}.calendarium-nested-summary.svelte-1my4lf.svelte-1my4lf{outline:none;list-style:none !important;list-style-type:none !important;min-height:1rem;border-top-left-radius:0.1rem;border-top-right-radius:0.1rem;cursor:pointer;background-color:var(--creator-background-color);margin-right:0;display:flex;justify-content:space-between}.right-side.svelte-1my4lf.svelte-1my4lf{display:flex;align-items:center;gap:1rem}summary.svelte-1my4lf.svelte-1my4lf::-webkit-details-marker,summary.svelte-1my4lf.svelte-1my4lf::marker{display:none !important}.always-open.svelte-1my4lf .handle.svelte-1my4lf{display:none}.collapser.svelte-1my4lf.svelte-1my4lf{display:flex;flex-flow:column;justify-content:flex-start;align-items:flex-end;content:""}.handle.svelte-1my4lf.svelte-1my4lf{transform:rotate(0deg);transition:transform 0.25s;display:flex}details[open].svelte-1my4lf .handle.svelte-1my4lf{transform:rotate(90deg)}.creator-settings-container.svelte-1my4lf.svelte-1my4lf{padding:0.75em var(--size-4-3)}.calendarium-nested-settings.svelte-1my4lf.svelte-1my4lf{border-top:0px}')}var _A=r=>({}),Ig=r=>({class:"context"});function Ng(r){let e,t=r[8].context,i=cd(t,r,r[7],Ig);return{c(){i&&i.c()},m(n,s){i&&i.m(n,s),e=!0},p(n,s){i&&i.p&&(!e||s&128)&&hd(i,t,n,n[7],e?ud(t,n[7],s,_A):dd(n[7]),Ig)},i(n){e||(It(i,n),e=!0)},o(n){yi(i,n),e=!1},d(n){i&&i.d(n)}}}function EA(r){let e,t,i,n,s,o,a,l,c,u,h,d,p,m,y,x,g,f,E,w,_,M,T=r[0]&&Ng(r),z=r[8].default,W=cd(z,r,r[7],null);return{c(){e=ct("details"),t=ct("summary"),i=ct("div"),n=ct("div"),s=ct("div"),o=Jn(r[1]),a=en(),l=ct("div"),c=Jn(r[2]),u=en(),h=ct("div"),T&&T.c(),d=en(),p=ct("div"),m=ct("div"),y=ct("div"),g=en(),f=ct("div"),W&&W.c(),mt(s,"class","setting-item-name"),mt(l,"class","setting-item-description"),mt(n,"class","setting-item-info"),mt(i,"class","setting-item setting-item-heading"),mt(y,"class","handle svelte-1my4lf"),mt(m,"class","warning-container"),mt(p,"class","collapser svelte-1my4lf"),mt(h,"class","right-side svelte-1my4lf"),mt(t,"class","calendarium-nested-summary svelte-1my4lf"),mt(f,"class","creator-settings-container svelte-1my4lf"),mt(e,"class","creator calendarium-nested-settings setting-item svelte-1my4lf"),fd(e,"always-open",r[3])},m(A,v){Qi(A,e,v),Ye(e,t),Ye(t,i),Ye(i,n),Ye(n,s),Ye(s,o),Ye(n,a),Ye(n,l),Ye(l,c),Ye(t,u),Ye(t,h),T&&T.m(h,null),Ye(h,d),Ye(h,p),Ye(p,m),Ye(m,y),Ye(e,g),Ye(e,f),W&&W.m(f,null),e.open=r[0],w=!0,_||(M=[rr(x=r[5].call(null,y)),Kn(t,"keyup",AA),Kn(e,"toggle",r[9]),rr(E=r[4].call(null,e))],_=!0)},p(A,[v]){(!w||v&2)&&Ao(o,A[1]),(!w||v&4)&&Ao(c,A[2]),A[0]?T?(T.p(A,v),v&1&&It(T,1)):(T=Ng(A),T.c(),It(T,1),T.m(h,d)):T&&(Mo(),yi(T,1,1,()=>{T=null}),Do()),W&&W.p&&(!w||v&128)&&hd(W,z,A,A[7],w?ud(z,A[7],v,null):dd(A[7]),null),v&1&&(e.open=A[0]),(!w||v&8)&&fd(e,"always-open",A[3])},i(A){w||(It(T),It(W,A),w=!0)},o(A){yi(T),yi(W,A),w=!1},d(A){A&&gi(e),T&&T.d(),W&&W.d(A),_=!1,zt(M)}}}var AA=r=>r.preventDefault();function SA(r,e,t){let{$$slots:i={},$$scope:n}=e,{collapseIcon:s="chevron-right"}=e,{open:o=!0}=e,{name:a}=e,{desc:l=""}=e,{alwaysOpen:c=!1}=e,u=p=>{o&&p.setAttribute("open","open")},h=p=>{(0,kg.setIcon)(p,s)};function d(){o=this.open,t(0,o)}return r.$$set=p=>{"collapseIcon"in p&&t(6,s=p.collapseIcon),"open"in p&&t(0,o=p.open),"name"in p&&t(1,a=p.name),"desc"in p&&t(2,l=p.desc),"alwaysOpen"in p&&t(3,c=p.alwaysOpen),"$$scope"in p&&t(7,n=p.$$scope)},[o,a,l,c,u,h,s,n,i,d]}var wd=class extends ts{constructor(e){super(),dc(this,e,SA,EA,ac,{collapseIcon:6,open:0,name:1,desc:2,alwaysOpen:3},bA)}},bd=wd;var _d=require("obsidian");function MA(r){cc(r,"svelte-nmb05s",".saved-formulas.svelte-nmb05s{display:flex;flex-flow:column nowrap;gap:0.5rem}.formula-container.svelte-nmb05s{display:flex;justify-content:space-between;align-items:center}.formula-actions.svelte-nmb05s{display:flex;align-items:center;gap:0.25rem}")}function Og(r,e,t){let i=r.slice();return i[7]=e[t],i}function zg(r){let e,t;return e=new bd({props:{name:"Saved Formulas",open:!1,$$slots:{default:[DA]},$$scope:{ctx:r}}}),{c(){Bg(e.$$.fragment)},m(i,n){xd(e,i,n),t=!0},p(i,n){let s={};n&1031&&(s.$$scope={dirty:n,ctx:i}),e.$set(s)},i(i){t||(It(e.$$.fragment,i),t=!0)},o(i){yi(e.$$.fragment,i),t=!1},d(i){vd(e,i)}}}function Vg(r,e){let t,i,n,s,o,a,l=e[7]+"",c,u,h,d,p,m,y;function x(){return e[5](e[7])}function g(){return e[6](e[7])}return{key:r,first:null,c(){t=ct("div"),i=ct("div"),n=ct("div"),o=en(),a=ct("span"),c=Jn(l),u=en(),h=ct("div"),p=en(),mt(a,"class","formula"),mt(i,"class","formula-actions svelte-nmb05s"),mt(t,"class","formula-container svelte-nmb05s"),this.first=t},m(f,E){Qi(f,t,E),Ye(t,i),Ye(i,n),Ye(i,o),Ye(i,a),Ye(a,c),Ye(t,u),Ye(t,h),Ye(t,p),m||(y=[rr(s=e[3].call(null,n)),Kn(n,"click",x),rr(d=e[4].call(null,h)),Kn(h,"click",g)],m=!0)},p(f,E){e=f,E&1&&l!==(l=e[7]+"")&&Ao(c,l)},d(f){f&&gi(t),m=!1,zt(y)}}}function DA(r){let e,t=[],i=new Map,n=To(r[0].customFormulas),s=o=>o[7];for(let o=0;o{i=null}),Do())},i(n){t||(It(i),t=!0)},o(n){yi(i),t=!1},d(n){n&&gi(e),i&&i.d(n)}}}function CA(r,e,t){let{settings:i}=e,{plugin:n}=e,{view:s}=e,o=u=>{new _d.ExtraButtonComponent(u).setIcon("dices")},a=u=>{new _d.ExtraButtonComponent(u).setIcon("trash")},l=u=>{s.roll(u)},c=async u=>{t(0,i.customFormulas=i.customFormulas.filter(h=>h!=u),i),n.saveSettings()};return r.$$set=u=>{"settings"in u&&t(0,i=u.settings),"plugin"in u&&t(1,n=u.plugin),"view"in u&&t(2,s=u.view)},[i,n,s,o,a,l,c]}var Ed=class extends ts{constructor(e){super(),dc(this,e,CA,TA,ac,{settings:0,plugin:1,view:2},MA)}},Ug=Ed;var Li="DICE_ROLLER_VIEW",cr=class extends dt.ItemView{constructor(t,i){super(i);this.plugin=t;this.leaf=i;this.custom="";this.#e=!1;this.#t=!1;this.#i=0;this.#n=Il;this.#s=new Map;this.Formatter=new Intl.DateTimeFormat(localStorage.getItem("language")??"en-US",{dateStyle:"medium",timeStyle:"short"});this.contentEl.addClass("dice-roller-view"),this.addChild(this.#n);for(let n of this.plugin.data.icons)this.#n.registerIcon(n.id,n.shape,n.text);this.registerEvent(this.plugin.app.workspace.on("dice-roller:new-result",async n=>{(this.plugin.data.addToView||n.getSource()==Li)&&await this.addResult({result:n.result,original:n.original,resultText:n.resultText,timestamp:new Date().valueOf(),id:gg(12)})}))}get customFormulas(){return this.plugin.data.customFormulas}#e;#t;#i;#n;async onOpen(){this.display()}async display(){this.contentEl.empty(),this.gridEl=this.contentEl.createDiv("dice-roller-grid"),this.formulaEl=this.contentEl.createDiv("dice-roller-formula");let t=this.contentEl.createDiv("results-header-container");t.createEl("h4",{cls:"results-header",text:"Results"}),new dt.ExtraButtonComponent(t.createDiv("clear-all")).setIcon("trash").setTooltip("Clear All").onClick(async()=>{this.resultEl.empty(),this.resultEl.append(this.noResultsEl),this.plugin.data.viewResults=[],await this.plugin.saveSettings()});let i=this.contentEl.createDiv("dice-roller-results-container");this.resultEl=i.createDiv("dice-roller-results"),this.noResultsEl=this.resultEl.createSpan({text:"No results yet! Roll some dice to get started :)"});for(let n of this.plugin.data.viewResults)this.addResult(n,!1);this.buildButtons(),this.buildFormula()}#s;buildButtons(){this.gridEl.empty();let t=this.gridEl.createDiv("dice-buttons");for(let o of this.plugin.data.icons)this.#n.registerIcon(o.id,o.shape,o.text),new dt.ExtraButtonComponent(t.createDiv("dice-button")).setIcon(o.id).extraSettingsEl.onClickEvent(a=>{if(a.type==="auxclick"){this.roll(o.formula);return}this.#s.has(o)||this.#s.set(o,0);let l=this.#s.get(o)??0;l+=a.getModifierState("Shift")?-1:1,this.#s.set(o,l),this.setFormula()});let i=this.gridEl.createDiv("advantage-disadvantage");new dt.ExtraButtonComponent(i).setIcon("minus-square").onClick(()=>{this.#i-=1,this.setFormula()});let n=new dt.ButtonComponent(i).setButtonText("ADV").onClick(()=>{this.#e=!this.#e,this.#t=!1,this.#e?(n.setCta(),s.removeCta()):n.removeCta(),this.setFormula()});this.#e&&n.setCta();let s=new dt.ButtonComponent(i).setButtonText("DIS").onClick(()=>{this.#t=!this.#t,this.#e=!1,this.#t?(s.setCta(),n.removeCta()):s.removeCta(),this.setFormula()});this.#t&&s.setCta(),new dt.ExtraButtonComponent(i).setIcon("plus-square").onClick(()=>{this.#i+=1,this.setFormula()}),new Ug({target:this.gridEl,props:{settings:this.plugin.data,plugin:this.plugin,view:this}})}setFormula(){if(!this.#s.size&&!this.#i){this.formulaComponent.inputEl.value="";return}let t=[];for(let[n,s]of this.#s){if(!s)continue;let o=s<0?"-":"+",a=/^(?:1)?d(\d|%|F)+$/.test(n.formula)?`${Math.abs(s)}${n.formula.replace(/^1/,"")}`:`${Math.abs(s)} * (${n.formula})`,l=Tt.getRoller(n.formula,Li);l!=null&&l instanceof qt&&(l.buildDiceTree(),l.calculate(),t.push({formula:a,max:l.max,sign:o}))}t.sort((n,s)=>s.max-n.max);let i=[];for(let n=0;n0&&i.push(s.sign);let o="";n===0&&(this.#e?o="kh":this.#t&&(o="kl"),s.formula=s.formula.replace(/(d\d+)/,`$1${o}`)),i.push(`${s.formula}`)}this.#i!==0&&(i.length>0&&i.push(this.#i>0?"+":"-"),i.push(`${Math.abs(this.#i)}`)),this.formulaComponent.inputEl.value=i.join(" ")}async roll(t=this.formulaComponent.inputEl.value){if(!t)return;this.rollButton.setDisabled(!0);let i={...Tt.getRollerOptions(this.plugin.data)};i.expectedValue=="None"&&(i.expectedValue="Roll");try{let n=await Tt.getRoller(t,Li,i);if(n==null)return;if(!(n instanceof qt))throw new Error("The Dice Tray only supports dice rolls.");if(n.iconEl.detach(),n.containerEl.onclick=null,n.buildDiceTree(),!n.dice.length)throw new Error("No dice.");await n.roll(this.plugin.data.renderer).catch(s=>{throw s})}catch(n){new dt.Notice("Invalid Formula: "+n.message)}finally{this.rollButton.setDisabled(!1),this.buildButtons(),this.#s=new Map,this.#i=0,this.setFormula()}}buildFormula(){this.formulaEl.empty(),this.formulaComponent=new dt.TextAreaComponent(this.formulaEl).setPlaceholder("Dice Formula").onChange(i=>this.#s=new Map);let t=this.formulaEl.createDiv("action-buttons");this.saveButton=new dt.ExtraButtonComponent(t).setIcon("save").setTooltip("Save Formula").onClick(()=>this.save()),this.saveButton.extraSettingsEl.addClass("dice-roller-roll"),this.rollButton=new dt.ButtonComponent(t).setIcon("dices").setCta().setTooltip("Roll").onClick(()=>this.roll()),this.rollButton.buttonEl.addClass("dice-roller-roll")}save(){this.formulaComponent.inputEl.value&&(this.plugin.data.customFormulas.push(this.formulaComponent.inputEl.value),this.buildButtons(),this.plugin.saveSettings())}async addResult(t,i=!0){this.noResultsEl&&this.noResultsEl.detach();let n=createDiv("view-result"),s=n.createDiv("result-actions");new dt.ExtraButtonComponent(s).setIcon("dices").setTooltip("Roll Again").onClick(()=>this.roll(t.original)).extraSettingsEl.addClass("dice-result-reroll"),s.createSpan({text:t.original}),new dt.ExtraButtonComponent(s).setIcon("copy").setTooltip("Copy Result").onClick(async()=>{await navigator.clipboard.writeText(`${t.result}`)}).extraSettingsEl.addClass("dice-content-copy"),dt.Platform.isMobile&&n.createSpan({cls:"dice-content-result",text:`${t.resultText}`}),n.createEl("strong",{attr:{"aria-label":t.resultText},text:`${t.result}`});let l=n.createDiv("result-context");l.createEl("em",{cls:"result-timestamp",text:this.Formatter.format(t.timestamp)}),new dt.ExtraButtonComponent(l).setIcon("trash").onClick(async()=>{n.detach(),this.resultEl.children.length===0&&this.resultEl.prepend(this.noResultsEl),this.plugin.data.viewResults.splice(this.plugin.data.viewResults.findIndex(c=>c.id===t.id),1),await this.plugin.saveSettings()}),this.resultEl.prepend(n),i&&(this.plugin.data.viewResults.push(t),this.plugin.data.viewResults=this.plugin.data.viewResults.slice(0,100),await this.plugin.saveSettings())}getDisplayText(){return"Dice Tray"}getViewType(){return Li}getIcon(){return"dices"}async onClose(){await super.onClose()}};var Bi=require("@codemirror/view"),cR=require("@codemirror/state"),Hg=require("@codemirror/language"),Ln=require("obsidian");function RA(r,e,t){for(let i of r.ranges)if(i.from<=t&&i.to>=e)return!0;return!1}function FA(r,e,t){let i=e.app.workspace.getActiveFile();if(!i)return;let n=[],s=r.state.selection,o=new RegExp(".*?_?inline-code_?.*");for(let{from:a,to:l}of r.visibleRanges)(0,Hg.syntaxTree)(r.state).iterate({from:a,to:l,enter:({node:c})=>{let u=c.type;if(u.name.includes("formatting")||!o.test(u.name))return;let h=c.from,d=c.to;if(RA(s,h,d))return;let p=r.state.doc.sliceString(h,d).trim(),m=Po(e.data.diceModTemplateFolders,i);if(/^dice\-mod:\s*([\s\S]+)\s*?/.test(p)&&!m&&e.data.replaceDiceModInLivePreview){let[,f]=p.match(/dice\-mod:\s*([\s\S]+)\s*?/),E=e.app.workspace.getActiveFile(),w=Tt.getRoller(f,E.path);if(w==null)return;w.roll().then(async()=>{let M=`${await w.getReplacer()}`;e.data.escapeDiceMod&&M.replace(/([\*\[\]])/g,"\\$1");let T={from:h-1,to:d+1,insert:M},z=r.state.update({changes:T});r.dispatch(z)});return}if(!/^dice(?:\+|\-|\-mod)?:\s*([\s\S]+)\s*?/.test(p))return;let[,y]=p.match(/^dice(?:\+|\-|\-mod)?:\s*([\s\S]+)\s*?/),x=Tt.getRoller(y,i.path);if(x==null)return;x.addContexts(t,e);let g=new Ad(p,x,r,e,i);e.processor.trackRoller(i,x),n.push(Bi.Decoration.replace({widget:g,inclusive:!1,block:!1}).range(h-1,d+1))}});return Bi.Decoration.set(n,!0)}var Ad=class extends Bi.WidgetType{constructor(t,i,n,s,o){super();this.rawQuery=t;this.roller=i;this.view=n;this.plugin=s;this.file=o}eq(t){return t.rawQuery===this.rawQuery?!0:(this.plugin.processor.fileMap.get(this.file)?.remove(t.roller),!1)}toDOM(t){return this.roller.roll(),this.roller.containerEl}ignoreEvent(t){if(t.type==="mousedown"){let i=this.view.posAtCoords({x:t.x,y:t.y});if(t.shiftKey){if(i){let{editor:n}=this.view.state.field(Ln.editorEditorField).state.field(Ln.editorInfoField);n.setCursor(n.offsetToPos(i))}return!1}}return!0}};function Gg(r){return Bi.ViewPlugin.fromClass(class{constructor(e){this.component=new Ln.Component;this.component.load(),this.decorations=Bi.Decoration.none}destroy(){this.component.unload()}update(e){if(!e.state.field(Ln.editorLivePreviewField)){this.decorations=Bi.Decoration.none;return}(e.docChanged||e.viewportChanged||e.selectionSet)&&(this.decorations=FA(e.view,r,this.component)??Bi.Decoration.none)}},{decorations:e=>e.decorations})}function qg(r,e){let t=Object.keys(e).map(i=>LA(r,i,e[i]));return t.length===1?t[0]:function(){t.forEach(i=>i())}}function LA(r,e,t){let i=r[e],n=r.hasOwnProperty(e),s=t(i);return i&&Object.setPrototypeOf(s,i),Object.setPrototypeOf(o,s),r[e]=o,a;function o(...l){return s===i&&r[e]===o&&a(),s.apply(this,l)}function a(){r[e]===o&&(n?r[e]=i:delete r[e]),s!==i&&(s=i,Object.setPrototypeOf(o,i||Function))}}var ei=require("obsidian");var Co=class extends ei.Component{constructor(){super(...arguments);this.fileMap=new WeakMap}initialize(t){this.app=t.app,this.data=t.data,this.plugin=t,t.addCommand({id:"reroll",name:"Re-roll Dice",checkCallback:i=>{let n=this.app.workspace.getActiveViewOfType(ei.MarkdownView);if(n&&(n.getMode()==="preview"||n.editMode?.sourceMode==!1)&&this.fileMap.has(n.file))return i||this.fileMap.get(n.file).forEach(o=>{o.roll()}),!0}})}trackRoller(t,i){this.fileMap.has(t)||this.fileMap.set(t,[]),this.fileMap.get(t).push(i)}async postprocessor(t,i){let n=t.querySelectorAll("code");if(!n.length)return;let s=i.sourcePath,o=this.app.vault.getAbstractFileByPath(i.sourcePath),a=i.getSectionInfo(t);if(!((!o||!(o instanceof ei.TFile))&&s!="STATBLOCK_RENDERER"))for(let l=0;l{let y=m.split(` +`).map(i=>i.trim()).filter(i=>i&&i.length)}}async roll(){return new Promise((e,t)=>{if(!this.loaded)this.once("loaded",()=>{let i=[...this.options];this.results=[...Array(this.rolls)].map(()=>{let n=i[this.getRandomBetween(0,i.length-1)];return i.splice(i.indexOf(n),1),n}).filter(n=>n),this.render(),this.trigger("new-result"),e(this.results[0])});else{let i=[...this.options];this.results=[...Array(this.rolls)].map(()=>{let n=i[this.getRandomBetween(0,i.length-1)];return i.splice(i.indexOf(n),1),n}).filter(n=>n),this.render(),this.trigger("new-result"),e(this.results[0])}})}};var ad=class{constructor(){this.sources=new Map}initialize(e,t){this.data=e,this.app=t}#e(e){return e.some(({type:t})=>t==="table")?"table":e.some(({type:t})=>t==="section")?"section":e.some(({type:t})=>t==="dataview")?"dataview":e.some(({type:t})=>t==="tag")?"tag":e.some(({type:t})=>t==="link")?"link":e.some(({type:t})=>t==="line")?"line":"dice"}getParametersForRoller(e,t){e=e.replace(/\\\|/g,"|");let i=t?.position??Ot.LEFT,n=t?.shouldRender??this.data.renderAllDice,s=t?.showFormula??this.data.displayResultsInline,o=t?.showParens??this.data.displayFormulaAfter,a=t?.expectedValue??this.data.initialDisplay,l=t?.text??"",c=t?.round??this.data.round,u=t?.signed??this.data.signed,h=t?.lookup,d=/\|text\((.*)\)/;if(e.includes("|nodice")&&(i=Ot.NONE),e.includes("|render")&&(n=!0),e.includes("|norender")&&(n=!1),e.includes("|form")&&(s=!0),e.includes("|noform")&&(s=!1),e.includes("|avg")&&(a="Average"),e.includes("|none")&&(a="None"),e.includes("|text(")){let[,p]=e.match(d)??[null,""];l=p}return e.includes("|paren")&&(o=!0),e.includes("|noparen")&&(o=!1),e.includes("|round")&&(c="Normal"),e.includes("|noround")&&(c="None"),e.includes("|ceil")&&(c="Up"),e.includes("|floor")&&(c="Down"),e.includes("|signed")&&(u=!0),e.includes("|lookup=")&&([,h]=e.match(/\|lookup=(.+?)(?:\||$)/)??[]),e=(0,fg.decode)(e.replace(/\|(no)?(dice|render|form|paren|avg|none|round|floor|ceil|signed)/g,"").replace(/\|lookup=.+?(\||$)/,"").replace(d,"")),e in this.data.formulas&&(e=this.data.formulas[e]),{content:e,position:i,showParens:o,showFormula:s,expectedValue:a,shouldRender:n,text:l,round:c,signed:u,lookup:h}}registerSource(e,t){this.sources.set(e,t)}getRoller(e,t="",i=this.getRollerOptions(this.data)){let{content:n,position:s,showParens:o,showFormula:a,expectedValue:l,round:c,shouldRender:u,text:h,signed:d,lookup:p}=this.getParametersForRoller(e,i),m=nr.parse(n);if(m.isErr())return console.error(m.unwrapErr()),null;let y=m.unwrap();switch(this.#e(y)){case"dice":{let g=new qt(this.data,n,y,this.app,s,h,l,o,c,d);return g.showFormula=a,g.shouldRender=u,g.showRenderNotice=this.data.showRenderNotice,g.setSource(t),g}case"table":return new tc(this.data,n,y[0],t,this.app,s,p);case"section":return new sr(this.data,n,y[0],t,this.app,s);case"dataview":{if(!oi.canUseDataview)throw new Error("Tags are only supported with the Dataview plugin installed.");return new nc(this.data,n,y[0],t,this.app,s)}case"tag":{if(!oi.canUseDataview)throw new Error("Tags are only supported with the Dataview plugin installed.");return new sc(this.data,n,y[0],t,this.app,s)}case"line":return new rc(this.data,n,y[0],t,this.app,s)}}getRollerString(e,t){if(!t)return e;let i=this.sources.get(t)??this.getRollerOptions(this.data);if("position"in i&&(e+=i.position!==Ot.NONE?"":"|nodice"),"shouldRender"in i&&(e+=i.shouldRender?"|render":"|norender"),"showFormula"in i&&(e+=i.showFormula?"|form":"|noform"),"expectedValue"in i&&(i.expectedValue=="Average"&&(e+="|avg"),i.expectedValue=="None"&&(e+="|none")),"text"in i&&i.text&&(e+="|text("+i.text+")"),"showParens"in i&&(e+=i.showParens?"|paren":"|noparen"),"round"in i)switch(i.round){case"Down":{e+="|floor";break}case"Up":{e+="|ceil";break}case"Normal":{e+="|round";break}case"None":e+="|noround"}return i.signed&&(e+="|signed"),e}async getArrayRoller(e,t=1){let i=new Fl(this.data,e,t);return await i.roll(),i}async parseDice(e,t=""){let i=await this.getRoller(e,t);return{result:await i?.roll(),roller:i}}getRollerOptions(e){return{position:e.position,shouldRender:e.renderAllDice,showFormula:e.displayResultsInline,showParens:e.displayFormulaAfter,expectedValue:e.initialDisplay,round:e.round,text:null,signed:e.signed}}},Dt=new ad;var mg="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";var gg=(r=21)=>{let e="",t=crypto.getRandomValues(new Uint8Array(r));for(;r--;)e+=mg[t[r]&63];return e};function Fn(){}function rA(r,e){for(let t in e)r[t]=e[t];return r}function ld(r){return r()}function oc(){return Object.create(null)}function zt(r){r.forEach(ld)}function Eo(r){return typeof r=="function"}function ac(r,e){return r!=r?e==e:r!==e||r&&typeof r=="object"||typeof r=="function"}function yg(r){return Object.keys(r).length===0}function cd(r,e,t,i){if(r){let n=xg(r,e,t,i);return r[0](n)}}function xg(r,e,t,i){return r[1]&&i?rA(t.ctx.slice(),r[1](i(e))):t.ctx}function ud(r,e,t,i){if(r[2]&&i){let n=r[2](i(t));if(e.dirty===void 0)return n;if(typeof n=="object"){let s=[],o=Math.max(e.dirty.length,n.length);for(let a=0;a32){let e=[],t=r.ctx.length/32;for(let i=0;i{this._listeners.delete(e),this._observer.unobserve(e)}}_getObserver(){return this._observer??(this._observer=new ResizeObserver(e=>{for(let t of e)r.entries.set(t.target,t),this._listeners.get(t.target)?.(t)}))}};lc.entries="WeakMap"in pd?new WeakMap:void 0;var vg=!1;function wg(){vg=!0}function bg(){vg=!1}function Ye(r,e){r.appendChild(e)}function cc(r,e,t){let i=_g(r);if(!i.getElementById(e)){let n=ct("style");n.id=e,n.textContent=t,lA(i,n)}}function _g(r){if(!r)return document;let e=r.getRootNode?r.getRootNode():r.ownerDocument;return e&&e.host?e:r.ownerDocument}function lA(r,e){return Ye(r.head||r,e),e.sheet}function Qi(r,e,t){r.insertBefore(e,t||null)}function gi(r){r.parentNode&&r.parentNode.removeChild(r)}function ct(r){return document.createElement(r)}function Jn(r){return document.createTextNode(r)}function en(){return Jn(" ")}function Eg(){return Jn("")}function Kn(r,e,t,i){return r.addEventListener(e,t,i),()=>r.removeEventListener(e,t,i)}function mt(r,e,t){t==null?r.removeAttribute(e):r.getAttribute(e)!==t&&r.setAttribute(e,t)}function Ag(r){return Array.from(r.childNodes)}function Ao(r,e){e=""+e,r.data!==e&&(r.data=e)}function fd(r,e,t){r.classList.toggle(e,!!t)}function Sg(r){let e={};return r.childNodes.forEach(t=>{e[t.slot||"default"]=!0}),e}var or;function tn(r){or=r}var Qn=[];var Dg=[],lr=[],Tg=[],fA=Promise.resolve(),gd=!1;function Cg(){gd||(gd=!0,fA.then(uc))}function So(r){lr.push(r)}var md=new Set,ar=0;function uc(){if(ar!==0)return;let r=or;do{try{for(;arr.indexOf(i)===-1?e.push(i):t.push(i)),t.forEach(i=>i()),lr=e}var hc=new Set,es;function Mo(){es={r:0,c:[],p:es}}function Do(){es.r||zt(es.c),es=es.p}function It(r,e){r&&r.i&&(hc.delete(r),r.i(e))}function yi(r,e,t,i){if(r&&r.o){if(hc.has(r))return;hc.add(r),es.c.push(()=>{hc.delete(r),i&&(t&&r.d(1),i())}),r.o(e)}else i&&i()}function To(r){return r?.length!==void 0?r:Array.from(r)}function Fg(r,e){r.d(1),e.delete(r.key)}function Lg(r,e,t,i,n,s,o,a,l,c,u,h){let d=r.length,p=s.length,m=d,y={};for(;m--;)y[r[m].key]=m;let x=[],g=new Map,f=new Map,E=[];for(m=p;m--;){let T=h(n,s,m),z=t(T),W=o.get(z);W?i&&E.push(()=>W.p(T,e)):(W=c(z,T),W.c()),g.set(z,x[m]=W),z in y&&f.set(z,Math.abs(m-y[z]))}let w=new Set,_=new Set;function M(T){It(T,1),T.m(a,u),o.set(T.key,T),u=T.first,p--}for(;d&&p;){let T=x[p-1],z=r[d-1],W=T.key,A=z.key;T===z?(u=T.first,d--,p--):g.has(A)?!o.has(W)||w.has(W)?M(T):_.has(A)?d--:f.get(W)>f.get(A)?(_.add(W),M(T)):(w.add(A),d--):(l(z,o),d--)}for(;d--;){let T=r[d];g.has(T.key)||l(T,o)}for(;p;)M(x[p-1]);return zt(E),x}var gA=["allowfullscreen","allowpaymentrequest","async","autofocus","autoplay","checked","controls","default","defer","disabled","formnovalidate","hidden","inert","ismap","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected"],yA=new Set([...gA]);function Bg(r){r&&r.c()}function xd(r,e,t){let{fragment:i,after_update:n}=r.$$;i&&i.m(e,t),So(()=>{let s=r.$$.on_mount.map(ld).filter(Eo);r.$$.on_destroy?r.$$.on_destroy.push(...s):zt(s),r.$$.on_mount=[]}),n.forEach(So)}function vd(r,e){let t=r.$$;t.fragment!==null&&(Rg(t.after_update),zt(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function vA(r,e){r.$$.dirty[0]===-1&&(Qn.push(r),Cg(),r.$$.dirty.fill(0)),r.$$.dirty[e/31|0]|=1<{let m=p.length?p[0]:d;return c.ctx&&n(c.ctx[h],c.ctx[h]=m)&&(!c.skip_bound&&c.bound[h]&&c.bound[h](m),u&&vA(r,h)),d}):[],c.update(),u=!0,zt(c.before_update),c.fragment=i?i(c.ctx):!1,e.target){if(e.hydrate){wg();let h=Ag(e.target);c.fragment&&c.fragment.l(h),h.forEach(gi)}else c.fragment&&c.fragment.c();e.intro&&It(r.$$.fragment),xd(r,e.target,e.anchor),bg(),uc()}tn(l)}var wA;typeof HTMLElement=="function"&&(wA=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;constructor(r,e,t){super(),this.$$ctor=r,this.$$s=e,t&&this.attachShadow({mode:"open"})}addEventListener(r,e,t){if(this.$$l[r]=this.$$l[r]||[],this.$$l[r].push(e),this.$$c){let i=this.$$c.$on(r,e);this.$$l_u.set(e,i)}super.addEventListener(r,e,t)}removeEventListener(r,e,t){if(super.removeEventListener(r,e,t),this.$$c){let i=this.$$l_u.get(e);i&&(i(),this.$$l_u.delete(e))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let r=function(n){return()=>{let s;return{c:function(){s=ct("slot"),n!=="default"&&mt(s,"name",n)},m:function(l,c){Qi(l,s,c)},d:function(l){l&&gi(s)}}}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;let e={},t=Sg(this);for(let n of this.$$s)n in t&&(e[n]=[r(n)]);for(let n of this.attributes){let s=this.$$g_p(n.name);s in this.$$d||(this.$$d[s]=yd(s,n.value,this.$$p_d,"toProp"))}for(let n in this.$$p_d)!(n in this.$$d)&&this[n]!==void 0&&(this.$$d[n]=this[n],delete this[n]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:{...this.$$d,$$slots:e,$$scope:{ctx:[]}}});let i=()=>{this.$$r=!0;for(let n in this.$$p_d)if(this.$$d[n]=this.$$c.$$.ctx[this.$$c.$$.props[n]],this.$$p_d[n].reflect){let s=yd(n,this.$$d[n],this.$$p_d,"toAttribute");s==null?this.removeAttribute(this.$$p_d[n].attribute||n):this.setAttribute(this.$$p_d[n].attribute||n,s)}this.$$r=!1};this.$$c.$$.after_update.push(i),i();for(let n in this.$$l)for(let s of this.$$l[n]){let o=this.$$c.$on(n,s);this.$$l_u.set(s,o)}this.$$l={}}}attributeChangedCallback(r,e,t){this.$$r||(r=this.$$g_p(r),this.$$d[r]=yd(r,t,this.$$p_d,"toProp"),this.$$c?.$set({[r]:this.$$d[r]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{this.$$cn||(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(r){return Object.keys(this.$$p_d).find(e=>this.$$p_d[e].attribute===r||!this.$$p_d[e].attribute&&e.toLowerCase()===r)||r}});function yd(r,e,t,i){let n=t[r]?.type;if(e=n==="Boolean"&&typeof e!="boolean"?e!=null:e,!i||!t[r])return e;if(i==="toAttribute")switch(n){case"Object":case"Array":return e==null?null:JSON.stringify(e);case"Boolean":return e?"":null;case"Number":return e??null;default:return e}else switch(n){case"Object":case"Array":return e&&JSON.parse(e);case"Boolean":return e;case"Number":return e!=null?+e:e;default:return e}}var ts=class{$$=void 0;$$set=void 0;$destroy(){vd(this,1),this.$destroy=Fn}$on(e,t){if(!Eo(t))return Fn;let i=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return i.push(t),()=>{let n=i.indexOf(t);n!==-1&&i.splice(n,1)}}$set(e){this.$$set&&!yg(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}};var Pg="4";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Pg);var kg=require("obsidian");function bA(r){cc(r,"svelte-1my4lf",'.always-open.svelte-1my4lf.svelte-1my4lf{pointer-events:none}.creator-settings-container.svelte-1my4lf.svelte-1my4lf{pointer-events:initial}.calendarium-nested-settings.svelte-1my4lf.svelte-1my4lf{position:relative}.calendarium-nested-summary.svelte-1my4lf.svelte-1my4lf{outline:none;list-style:none !important;list-style-type:none !important;min-height:1rem;border-top-left-radius:0.1rem;border-top-right-radius:0.1rem;cursor:pointer;background-color:var(--creator-background-color);margin-right:0;display:flex;justify-content:space-between}.right-side.svelte-1my4lf.svelte-1my4lf{display:flex;align-items:center;gap:1rem}summary.svelte-1my4lf.svelte-1my4lf::-webkit-details-marker,summary.svelte-1my4lf.svelte-1my4lf::marker{display:none !important}.always-open.svelte-1my4lf .handle.svelte-1my4lf{display:none}.collapser.svelte-1my4lf.svelte-1my4lf{display:flex;flex-flow:column;justify-content:flex-start;align-items:flex-end;content:""}.handle.svelte-1my4lf.svelte-1my4lf{transform:rotate(0deg);transition:transform 0.25s;display:flex}details[open].svelte-1my4lf .handle.svelte-1my4lf{transform:rotate(90deg)}.creator-settings-container.svelte-1my4lf.svelte-1my4lf{padding:0.75em var(--size-4-3)}.calendarium-nested-settings.svelte-1my4lf.svelte-1my4lf{border-top:0px}')}var _A=r=>({}),Ig=r=>({class:"context"});function Ng(r){let e,t=r[8].context,i=cd(t,r,r[7],Ig);return{c(){i&&i.c()},m(n,s){i&&i.m(n,s),e=!0},p(n,s){i&&i.p&&(!e||s&128)&&hd(i,t,n,n[7],e?ud(t,n[7],s,_A):dd(n[7]),Ig)},i(n){e||(It(i,n),e=!0)},o(n){yi(i,n),e=!1},d(n){i&&i.d(n)}}}function EA(r){let e,t,i,n,s,o,a,l,c,u,h,d,p,m,y,x,g,f,E,w,_,M,T=r[0]&&Ng(r),z=r[8].default,W=cd(z,r,r[7],null);return{c(){e=ct("details"),t=ct("summary"),i=ct("div"),n=ct("div"),s=ct("div"),o=Jn(r[1]),a=en(),l=ct("div"),c=Jn(r[2]),u=en(),h=ct("div"),T&&T.c(),d=en(),p=ct("div"),m=ct("div"),y=ct("div"),g=en(),f=ct("div"),W&&W.c(),mt(s,"class","setting-item-name"),mt(l,"class","setting-item-description"),mt(n,"class","setting-item-info"),mt(i,"class","setting-item setting-item-heading"),mt(y,"class","handle svelte-1my4lf"),mt(m,"class","warning-container"),mt(p,"class","collapser svelte-1my4lf"),mt(h,"class","right-side svelte-1my4lf"),mt(t,"class","calendarium-nested-summary svelte-1my4lf"),mt(f,"class","creator-settings-container svelte-1my4lf"),mt(e,"class","creator calendarium-nested-settings setting-item svelte-1my4lf"),fd(e,"always-open",r[3])},m(A,v){Qi(A,e,v),Ye(e,t),Ye(t,i),Ye(i,n),Ye(n,s),Ye(s,o),Ye(n,a),Ye(n,l),Ye(l,c),Ye(t,u),Ye(t,h),T&&T.m(h,null),Ye(h,d),Ye(h,p),Ye(p,m),Ye(m,y),Ye(e,g),Ye(e,f),W&&W.m(f,null),e.open=r[0],w=!0,_||(M=[rr(x=r[5].call(null,y)),Kn(t,"keyup",AA),Kn(e,"toggle",r[9]),rr(E=r[4].call(null,e))],_=!0)},p(A,[v]){(!w||v&2)&&Ao(o,A[1]),(!w||v&4)&&Ao(c,A[2]),A[0]?T?(T.p(A,v),v&1&&It(T,1)):(T=Ng(A),T.c(),It(T,1),T.m(h,d)):T&&(Mo(),yi(T,1,1,()=>{T=null}),Do()),W&&W.p&&(!w||v&128)&&hd(W,z,A,A[7],w?ud(z,A[7],v,null):dd(A[7]),null),v&1&&(e.open=A[0]),(!w||v&8)&&fd(e,"always-open",A[3])},i(A){w||(It(T),It(W,A),w=!0)},o(A){yi(T),yi(W,A),w=!1},d(A){A&&gi(e),T&&T.d(),W&&W.d(A),_=!1,zt(M)}}}var AA=r=>r.preventDefault();function SA(r,e,t){let{$$slots:i={},$$scope:n}=e,{collapseIcon:s="chevron-right"}=e,{open:o=!0}=e,{name:a}=e,{desc:l=""}=e,{alwaysOpen:c=!1}=e,u=p=>{o&&p.setAttribute("open","open")},h=p=>{(0,kg.setIcon)(p,s)};function d(){o=this.open,t(0,o)}return r.$$set=p=>{"collapseIcon"in p&&t(6,s=p.collapseIcon),"open"in p&&t(0,o=p.open),"name"in p&&t(1,a=p.name),"desc"in p&&t(2,l=p.desc),"alwaysOpen"in p&&t(3,c=p.alwaysOpen),"$$scope"in p&&t(7,n=p.$$scope)},[o,a,l,c,u,h,s,n,i,d]}var wd=class extends ts{constructor(e){super(),dc(this,e,SA,EA,ac,{collapseIcon:6,open:0,name:1,desc:2,alwaysOpen:3},bA)}},bd=wd;var _d=require("obsidian");function MA(r){cc(r,"svelte-nmb05s",".saved-formulas.svelte-nmb05s{display:flex;flex-flow:column nowrap;gap:0.5rem}.formula-container.svelte-nmb05s{display:flex;justify-content:space-between;align-items:center}.formula-actions.svelte-nmb05s{display:flex;align-items:center;gap:0.25rem}")}function Og(r,e,t){let i=r.slice();return i[7]=e[t],i}function zg(r){let e,t;return e=new bd({props:{name:"Saved Formulas",open:!1,$$slots:{default:[DA]},$$scope:{ctx:r}}}),{c(){Bg(e.$$.fragment)},m(i,n){xd(e,i,n),t=!0},p(i,n){let s={};n&1031&&(s.$$scope={dirty:n,ctx:i}),e.$set(s)},i(i){t||(It(e.$$.fragment,i),t=!0)},o(i){yi(e.$$.fragment,i),t=!1},d(i){vd(e,i)}}}function Vg(r,e){let t,i,n,s,o,a,l=e[7]+"",c,u,h,d,p,m,y;function x(){return e[5](e[7])}function g(){return e[6](e[7])}return{key:r,first:null,c(){t=ct("div"),i=ct("div"),n=ct("div"),o=en(),a=ct("span"),c=Jn(l),u=en(),h=ct("div"),p=en(),mt(a,"class","formula"),mt(i,"class","formula-actions svelte-nmb05s"),mt(t,"class","formula-container svelte-nmb05s"),this.first=t},m(f,E){Qi(f,t,E),Ye(t,i),Ye(i,n),Ye(i,o),Ye(i,a),Ye(a,c),Ye(t,u),Ye(t,h),Ye(t,p),m||(y=[rr(s=e[3].call(null,n)),Kn(n,"click",x),rr(d=e[4].call(null,h)),Kn(h,"click",g)],m=!0)},p(f,E){e=f,E&1&&l!==(l=e[7]+"")&&Ao(c,l)},d(f){f&&gi(t),m=!1,zt(y)}}}function DA(r){let e,t=[],i=new Map,n=To(r[0].customFormulas),s=o=>o[7];for(let o=0;o{i=null}),Do())},i(n){t||(It(i),t=!0)},o(n){yi(i),t=!1},d(n){n&&gi(e),i&&i.d(n)}}}function CA(r,e,t){let{settings:i}=e,{plugin:n}=e,{view:s}=e,o=u=>{new _d.ExtraButtonComponent(u).setIcon("dices")},a=u=>{new _d.ExtraButtonComponent(u).setIcon("trash")},l=u=>{s.roll(u)},c=async u=>{t(0,i.customFormulas=i.customFormulas.filter(h=>h!=u),i),n.saveSettings()};return r.$$set=u=>{"settings"in u&&t(0,i=u.settings),"plugin"in u&&t(1,n=u.plugin),"view"in u&&t(2,s=u.view)},[i,n,s,o,a,l,c]}var Ed=class extends ts{constructor(e){super(),dc(this,e,CA,TA,ac,{settings:0,plugin:1,view:2},MA)}},Ug=Ed;var Li="DICE_ROLLER_VIEW",cr=class extends dt.ItemView{constructor(t,i){super(i);this.plugin=t;this.leaf=i;this.custom="";this.#e=!1;this.#t=!1;this.#i=0;this.#n=Il;this.#s=new Map;this.Formatter=new Intl.DateTimeFormat(localStorage.getItem("language")??"en-US",{dateStyle:"medium",timeStyle:"short"});this.contentEl.addClass("dice-roller-view"),this.addChild(this.#n);for(let n of this.plugin.data.icons)this.#n.registerIcon(n.id,n.shape,n.text);this.registerEvent(this.plugin.app.workspace.on("dice-roller:new-result",async n=>{(this.plugin.data.addToView||n.getSource()==Li)&&await this.addResult({result:n.result,original:n.original,resultText:n.resultText,timestamp:new Date().valueOf(),id:gg(12)})}))}get customFormulas(){return this.plugin.data.customFormulas}#e;#t;#i;#n;async onOpen(){this.display()}async display(){this.contentEl.empty(),this.gridEl=this.contentEl.createDiv("dice-roller-grid"),this.formulaEl=this.contentEl.createDiv("dice-roller-formula");let t=this.contentEl.createDiv("results-header-container");t.createEl("h4",{cls:"results-header",text:"Results"}),new dt.ExtraButtonComponent(t.createDiv("clear-all")).setIcon("trash").setTooltip("Clear All").onClick(async()=>{this.resultEl.empty(),this.resultEl.append(this.noResultsEl),this.plugin.data.viewResults=[],await this.plugin.saveSettings()});let i=this.contentEl.createDiv("dice-roller-results-container");this.resultEl=i.createDiv("dice-roller-results"),this.noResultsEl=this.resultEl.createSpan({text:"No results yet! Roll some dice to get started :)"});for(let n of this.plugin.data.viewResults)this.addResult(n,!1);this.buildButtons(),this.buildFormula()}#s;buildButtons(){this.gridEl.empty();let t=this.gridEl.createDiv("dice-buttons");for(let o of this.plugin.data.icons)this.#n.registerIcon(o.id,o.shape,o.text),new dt.ExtraButtonComponent(t.createDiv("dice-button")).setIcon(o.id).extraSettingsEl.onClickEvent(a=>{if(a.type==="auxclick"){this.roll(o.formula);return}this.#s.has(o)||this.#s.set(o,0);let l=this.#s.get(o)??0;l+=a.getModifierState("Shift")?-1:1,this.#s.set(o,l),this.setFormula()});let i=this.gridEl.createDiv("advantage-disadvantage");new dt.ExtraButtonComponent(i).setIcon("minus-square").onClick(()=>{this.#i-=1,this.setFormula()});let n=new dt.ButtonComponent(i).setButtonText("ADV").onClick(()=>{this.#e=!this.#e,this.#t=!1,this.#e?(n.setCta(),s.removeCta()):n.removeCta(),this.setFormula()});this.#e&&n.setCta();let s=new dt.ButtonComponent(i).setButtonText("DIS").onClick(()=>{this.#t=!this.#t,this.#e=!1,this.#t?(s.setCta(),n.removeCta()):s.removeCta(),this.setFormula()});this.#t&&s.setCta(),new dt.ExtraButtonComponent(i).setIcon("plus-square").onClick(()=>{this.#i+=1,this.setFormula()}),new Ug({target:this.gridEl,props:{settings:this.plugin.data,plugin:this.plugin,view:this}})}setFormula(){if(!this.#s.size&&!this.#i){this.formulaComponent.inputEl.value="";return}let t=[];for(let[n,s]of this.#s){if(!s)continue;let o=s<0?"-":"+",a=/^(?:1)?d(\d|%|F)+$/.test(n.formula)?`${Math.abs(s)}${n.formula.replace(/^1/,"")}`:`${Math.abs(s)} * (${n.formula})`,l=Dt.getRoller(n.formula,Li);l!=null&&l instanceof qt&&(l.buildDiceTree(),l.calculate(),t.push({formula:a,max:l.max,sign:o}))}t.sort((n,s)=>s.max-n.max);let i=[];for(let n=0;n0&&i.push(s.sign);let o="";n===0&&(this.#e?o="kh":this.#t&&(o="kl"),s.formula=s.formula.replace(/(d\d+)/,`$1${o}`)),i.push(`${s.formula}`)}this.#i!==0&&(i.length>0&&i.push(this.#i>0?"+":"-"),i.push(`${Math.abs(this.#i)}`)),this.formulaComponent.inputEl.value=i.join(" ")}async roll(t=this.formulaComponent.inputEl.value){if(!t)return;this.rollButton.setDisabled(!0);let i={...Dt.getRollerOptions(this.plugin.data)};i.expectedValue=="None"&&(i.expectedValue="Roll");try{let n=await Dt.getRoller(t,Li,i);if(n==null)return;if(!(n instanceof qt))throw new Error("The Dice Tray only supports dice rolls.");if(n.iconEl.detach(),n.containerEl.onclick=null,n.buildDiceTree(),!n.dice.length)throw new Error("No dice.");await n.roll(this.plugin.data.renderer).catch(s=>{throw s})}catch(n){new dt.Notice("Invalid Formula: "+n.message)}finally{this.rollButton.setDisabled(!1),this.buildButtons(),this.#s=new Map,this.#i=0,this.setFormula()}}buildFormula(){this.formulaEl.empty(),this.formulaComponent=new dt.TextAreaComponent(this.formulaEl).setPlaceholder("Dice Formula").onChange(i=>this.#s=new Map);let t=this.formulaEl.createDiv("action-buttons");this.saveButton=new dt.ExtraButtonComponent(t).setIcon("save").setTooltip("Save Formula").onClick(()=>this.save()),this.saveButton.extraSettingsEl.addClass("dice-roller-roll"),this.rollButton=new dt.ButtonComponent(t).setIcon("dices").setCta().setTooltip("Roll").onClick(()=>this.roll()),this.rollButton.buttonEl.addClass("dice-roller-roll")}save(){this.formulaComponent.inputEl.value&&(this.plugin.data.customFormulas.push(this.formulaComponent.inputEl.value),this.buildButtons(),this.plugin.saveSettings())}async addResult(t,i=!0){this.noResultsEl&&this.noResultsEl.detach();let n=createDiv("view-result"),s=n.createDiv("result-actions");new dt.ExtraButtonComponent(s).setIcon("dices").setTooltip("Roll Again").onClick(()=>this.roll(t.original)).extraSettingsEl.addClass("dice-result-reroll"),s.createSpan({text:t.original}),new dt.ExtraButtonComponent(s).setIcon("copy").setTooltip("Copy Result").onClick(async()=>{await navigator.clipboard.writeText(`${t.result}`)}).extraSettingsEl.addClass("dice-content-copy"),dt.Platform.isMobile&&n.createSpan({cls:"dice-content-result",text:`${t.resultText}`}),n.createEl("strong",{attr:{"aria-label":t.resultText},text:`${t.result}`});let l=n.createDiv("result-context");l.createEl("em",{cls:"result-timestamp",text:this.Formatter.format(t.timestamp)}),new dt.ExtraButtonComponent(l).setIcon("trash").onClick(async()=>{n.detach(),this.resultEl.children.length===0&&this.resultEl.prepend(this.noResultsEl),this.plugin.data.viewResults.splice(this.plugin.data.viewResults.findIndex(c=>c.id===t.id),1),await this.plugin.saveSettings()}),this.resultEl.prepend(n),i&&(this.plugin.data.viewResults.push(t),this.plugin.data.viewResults=this.plugin.data.viewResults.slice(0,100),await this.plugin.saveSettings())}getDisplayText(){return"Dice Tray"}getViewType(){return Li}getIcon(){return"dices"}async onClose(){await super.onClose()}};var Bi=require("@codemirror/view"),cR=require("@codemirror/state"),Hg=require("@codemirror/language"),Ln=require("obsidian");function RA(r,e,t){for(let i of r.ranges)if(i.from<=t&&i.to>=e)return!0;return!1}function FA(r,e,t){let i=e.app.workspace.getActiveFile();if(!i)return;let n=[],s=r.state.selection,o=new RegExp(".*?_?inline-code_?.*");for(let{from:a,to:l}of r.visibleRanges)(0,Hg.syntaxTree)(r.state).iterate({from:a,to:l,enter:({node:c})=>{let u=c.type;if(u.name.includes("formatting")||!o.test(u.name))return;let h=c.from,d=c.to;if(RA(s,h,d))return;let p=r.state.doc.sliceString(h,d).trim(),m=Po(e.data.diceModTemplateFolders,i);if(/^dice\-mod:\s*([\s\S]+)\s*?/.test(p)&&!m&&e.data.replaceDiceModInLivePreview){let[,f]=p.match(/dice\-mod:\s*([\s\S]+)\s*?/),E=e.app.workspace.getActiveFile(),w=Dt.getRoller(f,E.path);if(w==null)return;w.roll().then(async()=>{let M=`${await w.getReplacer()}`;e.data.escapeDiceMod&&M.replace(/([\*\[\]])/g,"\\$1");let T={from:h-1,to:d+1,insert:M},z=r.state.update({changes:T});r.dispatch(z)});return}if(!/^dice(?:\+|\-|\-mod)?:\s*([\s\S]+)\s*?/.test(p))return;let[,y]=p.match(/^dice(?:\+|\-|\-mod)?:\s*([\s\S]+)\s*?/),x=Dt.getRoller(y,i.path);if(x==null)return;x.addContexts(t,e);let g=new Ad(p,x,r,e,i);e.processor.trackRoller(i,x),n.push(Bi.Decoration.replace({widget:g,inclusive:!1,block:!1}).range(h-1,d+1))}});return Bi.Decoration.set(n,!0)}var Ad=class extends Bi.WidgetType{constructor(t,i,n,s,o){super();this.rawQuery=t;this.roller=i;this.view=n;this.plugin=s;this.file=o}eq(t){return t.rawQuery===this.rawQuery?!0:(this.plugin.processor.fileMap.get(this.file)?.remove(t.roller),!1)}toDOM(t){return this.roller.roll(),this.roller.containerEl}ignoreEvent(t){if(t.type==="mousedown"){let i=this.view.posAtCoords({x:t.x,y:t.y});if(t.shiftKey){if(i){let{editor:n}=this.view.state.field(Ln.editorEditorField).state.field(Ln.editorInfoField);n.setCursor(n.offsetToPos(i))}return!1}}return!0}};function Gg(r){return Bi.ViewPlugin.fromClass(class{constructor(e){this.component=new Ln.Component;this.component.load(),this.decorations=Bi.Decoration.none}destroy(){this.component.unload()}update(e){if(!e.state.field(Ln.editorLivePreviewField)){this.decorations=Bi.Decoration.none;return}(e.docChanged||e.viewportChanged||e.selectionSet)&&(this.decorations=FA(e.view,r,this.component)??Bi.Decoration.none)}},{decorations:e=>e.decorations})}function qg(r,e){let t=Object.keys(e).map(i=>LA(r,i,e[i]));return t.length===1?t[0]:function(){t.forEach(i=>i())}}function LA(r,e,t){let i=r[e],n=r.hasOwnProperty(e),s=t(i);return i&&Object.setPrototypeOf(s,i),Object.setPrototypeOf(o,s),r[e]=o,a;function o(...l){return s===i&&r[e]===o&&a(),s.apply(this,l)}function a(){r[e]===o&&(n?r[e]=i:delete r[e]),s!==i&&(s=i,Object.setPrototypeOf(o,i||Function))}}var ei=require("obsidian");var Co=class extends ei.Component{constructor(){super(...arguments);this.fileMap=new WeakMap}initialize(t){this.app=t.app,this.data=t.data,this.plugin=t,t.addCommand({id:"reroll",name:"Re-roll Dice",checkCallback:i=>{let n=this.app.workspace.getActiveViewOfType(ei.MarkdownView);if(n&&(n.getMode()==="preview"||n.editMode?.sourceMode==!1)&&this.fileMap.has(n.file))return i||this.fileMap.get(n.file).forEach(o=>{o.roll()}),!0}})}trackRoller(t,i){this.fileMap.has(t)||this.fileMap.set(t,[]),this.fileMap.get(t).push(i)}async postprocessor(t,i){let n=t.querySelectorAll("code");if(!n.length)return;let s=i.sourcePath,o=this.app.vault.getAbstractFileByPath(i.sourcePath),a=i.getSectionInfo(t);if(!((!o||!(o instanceof ei.TFile))&&s!="STATBLOCK_RENDERER"))for(let l=0;l{let y=m.split(` `),x=y.slice(a.lineStart,a.lineEnd+1);return this.data.escapeDiceMod?x=x.join(` `).replace(`\`${u}\``,p.replace(/([\*\[\]])/g,"\\$1")).split(` `):x=x.join(` `).replace(`\`${u}\``,p).split(` `),y.splice(a.lineStart,a.lineEnd-a.lineStart+1,...x),y.join(` -`)});continue}try{let d=Tt.getRoller(h,i.sourcePath);if(d==null)return;if(d.onLoad(async()=>{await d.roll(),c.replaceWith(d.containerEl)}),d.addContexts(i,this.plugin),!o||!(o instanceof ei.TFile))continue;this.trackRoller(o,d);let p=this.app.workspace.getActiveViewOfType(ei.MarkdownView);if(p&&this.fileMap.has(o)&&this.fileMap.get(o).length===1){let m=this,y=qg(p,{onUnloadFile:function(x){return async function(g){return g==o&&(m.fileMap.delete(o),y()),await x.call(this,g)}}});p.register(y),p.register(()=>this.fileMap.delete(o))}}catch(d){console.error(d),new ei.Notice(`There was an error parsing the dice string: ${c.innerText}. +`)});continue}try{let d=Dt.getRoller(h,i.sourcePath);if(d==null)return;if(d.onLoad(async()=>{await d.roll(),c.replaceWith(d.containerEl)}),d.addContexts(i,this.plugin),!o||!(o instanceof ei.TFile))continue;this.trackRoller(o,d);let p=this.app.workspace.getActiveViewOfType(ei.MarkdownView);if(p&&this.fileMap.has(o)&&this.fileMap.get(o).length===1){let m=this,y=qg(p,{onUnloadFile:function(x){return async function(g){return g==o&&(m.fileMap.delete(o),y()),await x.call(this,g)}}});p.register(y),p.register(()=>this.fileMap.delete(o))}}catch(d){console.error(d),new ei.Notice(`There was an error parsing the dice string: ${c.innerText}. -${d}`,5e3);continue}}}processContent(t){let i=this.data.displayFormulaForMod;return t.includes("|noform")&&(i=!1),t.includes("|form")&&(i=!0),i}};var BA=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,Sd=r=>{if(typeof r!="string")throw new TypeError("Invalid argument expected string");let e=r.match(BA);if(!e)throw new Error(`Invalid argument not valid semver ('${r}' received)`);return e.shift(),e},Wg=r=>r==="*"||r==="x"||r==="X",$g=r=>{let e=parseInt(r,10);return isNaN(e)?r:e},PA=(r,e)=>typeof r!=typeof e?[String(r),String(e)]:[r,e],IA=(r,e)=>{if(Wg(r)||Wg(e))return 0;let[t,i]=PA($g(r),$g(e));return t>i?1:t{for(let t=0;t{let t=Sd(r),i=Sd(e),n=t.pop(),s=i.pop(),o=Md(t,i);return o!==0?o:n&&s?Md(n.split("."),s.split(".")):n||s?n?-1:1:0};var Ro=(r,e,t)=>{NA(t);let i=jg(r,e);return Yg[t].includes(i)},Yg={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1],"!=":[-1,1]},Xg=Object.keys(Yg),NA=r=>{if(typeof r!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof r}`);if(Xg.indexOf(r)===-1)throw new Error(`Invalid operator, expected one of ${Xg.join("|")}`)};var pc=class extends is.Plugin{constructor(){super(...arguments);this.api=Tt}getRendererData(){return{diceColor:this.data.diceColor,textColor:this.data.textColor,colorfulDice:this.data.colorfulDice,scaler:this.data.scaler,renderTime:this.data.renderTime,textFont:this.data.textFont}}async onload(){console.log("DiceRoller plugin loaded"),await this.loadSettings(),Mt.setData(this.getRendererData()),this.addChild(Mt),this.api.initialize(this.data,this.app),window.DiceRoller=this.api,this.register(()=>delete window.DiceRoller),this.addChild(oi.initialize(this.app)),nr.setDefaults(this.data.defaultRoll,this.data.defaultFace),this.addSettingTab(new bo(this.app,this)),this.registerView(Li,t=>new cr(this,t)),this.registerEvent(this.app.workspace.on("dice-roller:render-dice",async t=>{let i=await Tt.getRoller(t,"external");if(i!=null){if(!(i instanceof qt)){new is.Notice("The Dice View only supports dice rolls.");return}if(await i.roll(),!i.dice.length){new is.Notice("Invalid formula.");return}try{await i.roll(!0)}catch(n){new is.Notice("There was an error rendering the roll."),console.error(n)}this.app.workspace.trigger("dice-roller:rendered-result",i.result)}})),this.addCommand({id:"open-view",name:"Open Dice View",callback:()=>{this.view?this.app.workspace.revealLeaf(this.view.leaf):this.addDiceView()}}),this.processor=new Co,this.processor.initialize(this),this.registerMarkdownPostProcessor((t,i)=>this.processor.postprocessor(t,i)),this.registerEditorExtension([Gg(this)]),this.app.workspace.onLayoutReady(async()=>{this.addDiceView(!0)}),this.app.workspace.trigger("dice-roller:loaded")}get view(){let t=this.app.workspace.getLeavesOfType(Li),i=t.length?t[0]:null;if(i&&i.view&&i.view instanceof cr)return i.view}async addDiceView(t=!1){t&&!this.data.showLeafOnStartup||this.app.workspace.getLeavesOfType(Li).length||await this.app.workspace.getRightLeaf(!1).setViewState({type:Li})}async loadSettings(){let t=Object.assign({},zl,await this.loadData()),i=!1;typeof t.version!="string"&&delete t.version,Ro("11.2.0",t.version??"0.0.0",">")&&!("position"in t)&&(t.position=t.showDice?Ot.RIGHT:Ot.NONE,delete t.showDice,i=!0),Ro("11.0.0",t.version??"0.0.0",">")&&(delete t.persistResults,delete t.results,i=!0),Ro(t.version??"0.0.0",this.manifest.version,"!=")&&(t.version=this.manifest.version,i=!0),this.data=Ol(t),i&&await this.saveSettings()}async saveSettings(){await this.saveData(this.data)}async getArrayRoller(t,i=1){return new is.Notice("Using the Dice Roller plugin directly will be deprecated in a future version. Please use `window.DiceRoller` instead."),this.api.getArrayRoller(t,i)}onunload(){console.log("DiceRoller unloaded"),this.app.workspace.getLeavesOfType(Li).forEach(t=>t.detach()),"__THREE__"in window&&delete window.__THREE__,this.app.workspace.trigger("dice-roller:unloaded")}}; +${d}`,5e3);continue}}}processContent(t){let i=this.data.displayFormulaForMod;return t.includes("|noform")&&(i=!1),t.includes("|form")&&(i=!0),i}};var BA=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,Sd=r=>{if(typeof r!="string")throw new TypeError("Invalid argument expected string");let e=r.match(BA);if(!e)throw new Error(`Invalid argument not valid semver ('${r}' received)`);return e.shift(),e},Wg=r=>r==="*"||r==="x"||r==="X",$g=r=>{let e=parseInt(r,10);return isNaN(e)?r:e},PA=(r,e)=>typeof r!=typeof e?[String(r),String(e)]:[r,e],IA=(r,e)=>{if(Wg(r)||Wg(e))return 0;let[t,i]=PA($g(r),$g(e));return t>i?1:t{for(let t=0;t{let t=Sd(r),i=Sd(e),n=t.pop(),s=i.pop(),o=Md(t,i);return o!==0?o:n&&s?Md(n.split("."),s.split(".")):n||s?n?-1:1:0};var Ro=(r,e,t)=>{NA(t);let i=jg(r,e);return Yg[t].includes(i)},Yg={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1],"!=":[-1,1]},Xg=Object.keys(Yg),NA=r=>{if(typeof r!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof r}`);if(Xg.indexOf(r)===-1)throw new Error(`Invalid operator, expected one of ${Xg.join("|")}`)};var pc=class extends is.Plugin{constructor(){super(...arguments);this.api=Dt}getRendererData(){return{diceColor:this.data.diceColor,textColor:this.data.textColor,colorfulDice:this.data.colorfulDice,scaler:this.data.scaler,renderTime:this.data.renderTime,textFont:this.data.textFont}}async onload(){console.log("DiceRoller plugin loaded"),await this.loadSettings(),Pt.setData(this.getRendererData()),this.api.initialize(this.data,this.app),window.DiceRoller=this.api,this.register(()=>delete window.DiceRoller),this.addChild(oi.initialize(this.app)),nr.setDefaults(this.data.defaultRoll,this.data.defaultFace),this.addSettingTab(new bo(this.app,this)),this.registerView(Li,t=>new cr(this,t)),this.registerEvent(this.app.workspace.on("dice-roller:render-dice",async t=>{let i=await Dt.getRoller(t,"external");if(i!=null){if(!(i instanceof qt)){new is.Notice("The Dice View only supports dice rolls.");return}if(await i.roll(),!i.dice.length){new is.Notice("Invalid formula.");return}try{await i.roll(!0)}catch(n){new is.Notice("There was an error rendering the roll."),console.error(n)}this.app.workspace.trigger("dice-roller:rendered-result",i.result)}})),this.addCommand({id:"open-view",name:"Open Dice View",callback:()=>{this.view?this.app.workspace.revealLeaf(this.view.leaf):this.addDiceView()}}),this.processor=new Co,this.processor.initialize(this),this.registerMarkdownPostProcessor((t,i)=>this.processor.postprocessor(t,i)),this.registerEditorExtension([Gg(this)]),this.app.workspace.onLayoutReady(async()=>{this.addDiceView(!0)}),this.app.workspace.trigger("dice-roller:loaded")}get view(){let t=this.app.workspace.getLeavesOfType(Li),i=t.length?t[0]:null;if(i&&i.view&&i.view instanceof cr)return i.view}async addDiceView(t=!1){t&&!this.data.showLeafOnStartup||this.app.workspace.getLeavesOfType(Li).length||await this.app.workspace.getRightLeaf(!1).setViewState({type:Li})}async loadSettings(){let t=Object.assign({},zl,await this.loadData()),i=!1;typeof t.version!="string"&&delete t.version,Ro("11.2.0",t.version??"0.0.0",">")&&!("position"in t)&&(t.position=t.showDice?Ot.RIGHT:Ot.NONE,delete t.showDice,i=!0),Ro("11.0.0",t.version??"0.0.0",">")&&(delete t.persistResults,delete t.results,i=!0),Ro(t.version??"0.0.0",this.manifest.version,"!=")&&(t.version=this.manifest.version,i=!0),this.data=Ol(t),i&&await this.saveSettings()}async saveSettings(){await this.saveData(this.data)}async getArrayRoller(t,i=1){return new is.Notice("Using the Dice Roller plugin directly will be deprecated in a future version. Please use `window.DiceRoller` instead."),this.api.getArrayRoller(t,i)}onunload(){console.log("DiceRoller unloaded"),this.app.workspace.getLeavesOfType(Li).forEach(t=>t.detach()),"__THREE__"in window&&delete window.__THREE__,this.app.workspace.trigger("dice-roller:unloaded")}}; /*! Bundled license information: he/he.js: diff --git a/.obsidian/plugins/obsidian-dice-roller/manifest.json b/.obsidian/plugins/obsidian-dice-roller/manifest.json index 50e290d3..d1926dec 100644 --- a/.obsidian/plugins/obsidian-dice-roller/manifest.json +++ b/.obsidian/plugins/obsidian-dice-roller/manifest.json @@ -1,7 +1,7 @@ { "id": "obsidian-dice-roller", "name": "Dice Roller", - "version": "11.3.1", + "version": "11.3.2", "minAppVersion": "0.12.15", "description": "Inline dice rolling for Obsidian.md", "author": "Jeremy Valentine", diff --git a/.obsidian/plugins/obsidian-memos/data.json b/.obsidian/plugins/obsidian-memos/data.json index 385b56da..7990d072 100644 --- a/.obsidian/plugins/obsidian-memos/data.json +++ b/.obsidian/plugins/obsidian-memos/data.json @@ -86,7 +86,7 @@ "MomentsIcon": "https://images.pexels.com/photos/256514/pexels-photo-256514.jpeg", "MomentsQuote": "Share your thino with the world", "DefaultThemeForThino": "classic", - "LastUpdatedVersion": "2.4.56", + "LastUpdatedVersion": "2.4.57", "ShareToThinoWithText": false, "ShareToThinoWithTextAppend": "", "ShareToThinoWithTextPrepend": "", diff --git a/.obsidian/plugins/obsidian-memos/manifest.json b/.obsidian/plugins/obsidian-memos/manifest.json index f221737d..da6b4473 100644 --- a/.obsidian/plugins/obsidian-memos/manifest.json +++ b/.obsidian/plugins/obsidian-memos/manifest.json @@ -2,7 +2,7 @@ "id": "obsidian-memos", "name": "Thino", "description": "Capturing ideas and save them into daily notes. (Closed source)", - "version": "2.4.56", + "version": "2.4.57", "author": "Boninall", "authorUrl": "https://github.com/Quorafind/", "isDesktopOnly": false, diff --git a/.obsidian/plugins/obsidian-memos/styles.css b/.obsidian/plugins/obsidian-memos/styles.css index b50029c6..371bd743 100644 --- a/.obsidian/plugins/obsidian-memos/styles.css +++ b/.obsidian/plugins/obsidian-memos/styles.css @@ -1 +1 @@ -div[data-type=thino_view] #root{display:flex;flex-direction:row;justify-content:flex-start;align-items:flex-start;width:100%;height:100%}div[data-type=thino_view]{font-family:var(--font-interface),-apple-system,BlinkMacSystemFont,"PingFang SC","Noto Sans","Noto Sans CJK SC","Microsoft YaHei UI","Microsoft YaHei","WenQuanYi Micro Hei",sans-serif,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";-webkit-font-smoothing:subpixel-antialiased}body.hide-pro .pro{display:none!important}body.hide-pro .user-pro-badge{visibility:hidden!important}div[data-type=thino_view] .view-content:not(.images-wrapper) img{max-width:100%;cursor:pointer;border-radius:var(--radius-s)}div[data-type=thino_view] .view-content:has(>.modern){padding:var(--size-4-4)}div[data-type=thino_view]{margin:0;padding:0;box-sizing:border-box;color:var(--memos-text-hover);-webkit-tap-highlight-color:transparent}div[data-type=thino_view] .callout{border:unset}div[data-type=thino_view] code{font-family:ubuntu-mono,SFMono-Regular,Menlo,Consolas,PT Mono,Liberation Mono,Courier,monospace;padding:2px 4px;border-radius:4px}div[data-type=thino_view] pre,div[data-type=thino_view] pre *{font-family:ubuntu-mono,SFMono-Regular,Menlo,Consolas,PT Mono,Liberation Mono,Courier,monospace}div[data-type=thino_view] textarea{resize:none}div[data-type=thino_view] label,div[data-type=thino_view] input:not([type=checkbox]),div[data-type=thino_view] button:not(.rdp,.mod-cta),div[data-type=thino_view] textarea,div[data-type=thino_view] img{background-color:transparent;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;border:none;outline:none}div[data-type=thino_view] input:not([type=checkbox]):-webkit-autofill,div[data-type=thino_view] input:not([type=checkbox]):-webkit-autofill:hover,div[data-type=thino_view] input:not([type=checkbox]):-webkit-autofill:focus,div[data-type=thino_view] input:not([type=checkbox]):-webkit-autofill:active{box-shadow:0 0 0 30px var(--memos-memo-bg) inset!important}div[data-type=thino_view] a:not(:has(svg)){cursor:pointer;text-underline-offset:2px}div[data-type=thino_view] a:not(:has(svg)):hover{background-color:var(--memos-bg-lightgray)}div[data-type=thino_view] a.tag{border:unset}div[data-type=thino_view] a.is-unresolved{cursor:pointer;color:var(--memos-text-unresolved-blue);text-underline-offset:2px}div[data-type=thino_view] a.is-unresolved:hover{background-color:var(--memos-bg-gray)}div[data-type=thino_view] .btn:not(.mod-cta){border:unset;background-color:unset;font-size:unset;-webkit-user-select:none;user-select:none;cursor:pointer;text-align:center;display:flex;align-items:center;justify-content:center}div[data-type=thino_view] hr.menu-hr{border-top:1px solid;margin:0}.thino-hidden{display:none!important}.dialog-wrapper .btn-group,.dialog-wrapper .btns-container{fill:var(--memos-memo-bg-primary);display:flex;align-items:center;justify-content:center;gap:var(--size-2-2)}.dialog-wrapper button.btn{box-shadow:none}.dialog-wrapper .btn{border:unset;background-color:unset;font-size:unset;-webkit-user-select:none;user-select:none;cursor:pointer;text-align:center;display:flex;align-items:center;justify-content:center}.dialog-wrapper hr.menu-hr{margin:0}.dialog-wrapper svg:not(.svg-icon){fill:var(--memos-text-muted)}.thino-url{text-decoration:underline;color:var(--memos-text-blue)}.thino-inline-widget{display:inline-block;vertical-align:middle}.suggestion-container:has(.thino-image-suggest-item){width:200px;min-width:200px}.suggestion-container:has(.thino-image-suggest-item) .thino-image-suggest-item{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:var(--size-2-2)}.suggestion-container:has(.thino-image-suggest-item) .thino-image-suggest-item .suggestion-name{font-size:var(--thino-ui-small);color:var(--memos-text-black)}.suggestion-container:has(.thino-image-suggest-item) .thino-image-suggest-item .suggestion-path{font-size:var(--font-ui-smaller);color:var(--memos-text-faint)}.is-mobile div[data-type=thino_view].tiny-view .view-header-nav-buttons,.is-mobile div[data-type=thino_view].tiny-view .view-actions{display:none}.is-mobile div[data-type=thino_view].tiny-view .view-header-title-container .memos-review-entry-wrapper{display:none!important}.is-mobile div[data-type=thino_view].tiny-view .section-header-container>.memos-header-search-section .thino-inline-filter-container,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-container{position:fixed}.is-mobile div[data-type=thino_view].mobile-view .search-bar-container>.quickly-action-wrapper{position:fixed}.is-mobile div[data-type=thino_view].tiny-view .view-content .memos-header-container{display:none}.is-mobile div[data-type=thino_view].mobile-view .view-header-title-container .memos-header-container{padding:0;margin:0}.is-mobile div[data-type=thino_view].mobile-view:has(section[data-path="/archive"]#page-wrapper,section[data-path="/recycle"]#page-wrapper,section[data-path="/review"]#page-wrapper) .view-header-title-container .memos-header-container{visibility:hidden}.is-mobile div[data-type=thino_view].mobile-view .search-bar-container>.search-bar-inputer{background-color:var(--memos-bg-gray)}.is-mobile div[data-type=thino_view].tiny-view .section-header-container>.title-text,div[data-type=thino_view] .memos-header-container>.title-text{margin-right:0}.is-mobile div[data-type=thino_view].tiny-view .section-header-container>.memos-header-search-section .thino-inline-filter-wrapper,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-wrapper{border-color:var(--memos-bg-gray)}.is-mobile div[data-type=thino_view].tiny-view .section-header-container>.memos-header-search-section .memos-view-switcher-wrapper,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .memos-view-switcher-wrapper{border-color:var(--memos-bg-gray)}.thino-changelog-modal img{width:100%;max-width:100%}.thino-changelog-modal .thino-changelog-title{display:flex;justify-content:center;align-items:center}.thino-changelog-modal .thino-changelog-title .thino-changelog-version{margin-left:var(--size-4-4);padding:var(--size-2-2);border-radius:var(--memos-radius-m);background-color:var(--thino-background-secondary);font-size:var(--thino-ui-medium);color:var(--memos-text-muted)}.thino-input-dialog .modal{height:270px}.thino-input-dialog .modal .modal-content{display:flex;flex-direction:column}.thino-input-dialog .modal .modal-content input{width:100%}body.thino-focus div[data-type=thino_view] .memos-sidebar-wrapper,body.thino-focus div[data-type=thino_view] .memolist-wrapper,body.thino-focus div[data-type=thino_view] .section-header-container{float:left;background-repeat:no-repeat;background-position:center;background-size:cover;-webkit-filter:blur(6px);-moz-filter:blur(6px);-o-filter:blur(6px);-ms-filter:blur(6px);filter:blur(6px)}body.thino-focus div[data-type=thino_view] .memo-editor-wrapper{border:1px solid var(--memos-bg-accent);box-shadow:var(--shadow-l)}body.thino-focus div[data-type=thino_view] .memo-editor-wrapper .common-editor-wrapper .common-editor-inputer{min-height:120px;max-height:400px}body.thino-hide-side-bar div[data-type=thino_view]:not(.mobile-view) aside.memos-sidebar-wrapper{display:none}body.thino-hide-side-bar div[data-type=thino_view]:not(.mobile-view) #page-wrapper:is(.memos-waterfall-view,.memos-table-view,.memos-calendar-view){width:90%}body.thino-hide-side-bar div[data-type=thino_view]:not(.mobile-view) #page-wrapper:is(.memos-waterfall-view,.memos-table-view,.memos-calendar-view) .content-wrapper{width:100%;max-width:100%}body.thino-hide-side-bar div[data-type=thino_view]:not(.mobile-view) #page-wrapper{justify-content:center}body.thino-hide-side-bar div[data-type=thino_view]:not(.mobile-view) #page-wrapper .content-wrapper{padding-left:0;width:500px}body.thino-hide-side-bar div[data-type=thino_view]:not(.mobile-view) .memos-list-view.modern{padding-right:unset!important}body.thino-hide-tags div[data-type=thino_view] .tags-container,body.thino-hide-query-list div[data-type=thino_view] .queries-container{display:none!important}body.thino-share-page div[data-type=thino_view] #page-wrapper:not(.modern) .memolist-wrapper .memolist-container{background-color:var(--thino-background-primary)!important}body.thino-share-page div[data-type=thino_view] .daily-thinos-view-wrapper .daily-thinos-view-container{background-color:var(--thino-background-primary)!important}div[data-type=thino_view] button:not(.rdp,.mod-cta).scroll-to-bottom-button{background-color:var(--thino-background-secondary)}div[data-type=thino_view] button:not(.rdp,.mod-cta).scroll-to-bottom-button.to-bottom{right:48%;border-radius:var(--radius-m);bottom:5px;cursor:pointer;width:60px;height:30px;outline:0px;position:absolute;box-shadow:var(--shadow-s)}div[data-type=thino_view] button:not(.rdp,.mod-cta).scroll-to-bottom-button.to-bottom:before{content:"Bottom"}div[data-type=thino_view] button:not(.rdp,.mod-cta).scroll-to-bottom-button.to-top{right:48%;border-radius:var(--radius-m);bottom:5px;cursor:pointer;width:60px;height:30px;outline:0px;position:absolute;box-shadow:var(--shadow-s)}div[data-type=thino_view] button:not(.rdp,.mod-cta).scroll-to-bottom-button.to-top:before{content:"Top"}div[data-type=thino_view] .memolist-scrollview::-webkit-scrollbar{width:0;height:0;cursor:pointer}div[data-type=thino_view] .memolist-scrollview::-webkit-scrollbar-thumb{width:0;height:0;border-radius:8px;background-color:#d5d5d5}div[data-type=thino_view] .memolist-scrollview::-webkit-scrollbar-thumb:hover{background-color:#ccc}div[data-type=thino_view] .memolist-scrollview::-webkit-scrollbar{display:none}body.thino-show-status div[data-type=thino_view]:not(:has(.daily-thinos-view-wrapper)):has(.memos-sidebar-wrapper .heatmap-date-picker-wrapper) .user-banner-container .status-text-container{display:flex}body.thino-show-status div[data-type=thino_view]:has(.heatmap-date-picker-wrapper) .user-banner-container{height:140px}.dialog-wrapper{display:flex;flex-direction:column;justify-content:flex-start;align-items:center;position:fixed;top:0;left:0;width:100%;height:100%;background-color:transparent;z-index:50;transition:all .2s ease;overflow-x:hidden;overflow-y:scroll;padding:64px 0}.dialog-wrapper::-webkit-scrollbar{width:0;height:0;cursor:pointer}.dialog-wrapper::-webkit-scrollbar-thumb{width:0;height:0;border-radius:8px;background-color:#d5d5d5}.dialog-wrapper::-webkit-scrollbar-thumb:hover{background-color:#ccc}.dialog-wrapper::-webkit-scrollbar{display:none}.dialog-wrapper .callout{border:unset}.dialog-wrapper.showup{background-color:var(--memos-dialog-cover)}.dialog-wrapper.showoff{display:none}.dialog-wrapper>.dialog-container{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;background-color:var(--memos-memo-bg);padding:16px;border-radius:8px}.dialog-wrapper>.dialog-container>.dialog-header-container{display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%;margin-bottom:16px}.dialog-wrapper>.dialog-container>.dialog-header-container>.title-text>.icon-text{margin-right:6px;font-size:var(--font-ui-medium)}.dialog-wrapper>.dialog-container>.dialog-header-container .btn{width:24px;height:24px;padding:0;margin-right:0;border-radius:4px;background-color:transparent;cursor:pointer}.dialog-wrapper>.dialog-container>.dialog-header-container .btn>.icon-img{width:20px;height:20px}.dialog-wrapper>.dialog-container>.dialog-header-container .btn:hover{background-color:var(--memos-memo-bg-primary)}.dialog-wrapper>.dialog-container>.dialog-header-container .btn.copying svg{animation:rotate-infinite 2s linear infinite}.dialog-wrapper>.dialog-container>.dialog-content-container{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;width:100%;-webkit-user-select:text;user-select:text}.dialog-wrapper>.dialog-container>.dialog-footer-container{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;width:100%;margin-top:16px}@keyframes rotate-infinite{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media only screen and (max-width: 875px){.dialog-wrapper{width:100%;padding:0 16px}.dialog-wrapper>.dialog-container{max-width:100%}.dialog-wrapper>.dialog-container>.dialog-content-container{width:100%!important}}.about-site-dialog>.dialog-container{width:420px}.about-site-dialog>.dialog-container>.dialog-content-container{line-height:1.8}.about-site-dialog>.dialog-container>.dialog-content-container>p{margin:2px 0}.about-site-dialog>.dialog-container>.dialog-content-container>hr{margin:4px 0;width:100%;height:1px;background-color:#d3d3d3;border:none}.about-site-dialog>.dialog-container>.dialog-content-container .normal-text{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;font-size:var(--font-ui-small);color:gray;white-space:pre-wrap;font-family:ubuntu-mono,SFMono-Regular,Menlo,Consolas,PT Mono,Liberation Mono,Courier,monospace}.about-site-dialog>.dialog-container>.dialog-content-container .pre-text{font-family:ubuntu-mono,SFMono-Regular,Menlo,Consolas,PT Mono,Liberation Mono,Courier,monospace}@media only screen and (max-width: 875px){.dialog-wrapper.about-site-dialog{padding:64px 16px 24px}}div[data-type=thino_view] .menu-btns-popup{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;position:absolute;margin-top:4px;margin-left:90px;padding:4px;width:180px;border-radius:8px;z-index:20;box-shadow:var(--memos-memo-shadow);background-color:var(--memos-memo-bg)}div[data-type=thino_view] .menu-btns-popup:hover{display:flex}div[data-type=thino_view] .menu-btns-popup>.btn{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;width:100%;padding:8px 4px;font-size:var(--thino-ui-small);line-height:1.6;border-radius:4px;text-align:left;box-shadow:none;background-color:var(--memos-memo-bg);--icon-size: 16px}div[data-type=thino_view] .menu-btns-popup>.btn>.icon{display:flex;justify-content:center;align-items:center;width:28px;text-align:center;margin-right:4px;font-size:var(--thino-ui-small)}div[data-type=thino_view] .menu-btns-popup>.btn:hover{background-color:var(--memos-bg-whitegray)}div[data-type=thino_view].mobile-view .menu-btns-popup{margin-left:64px;margin-top:-10px}.menu.more-action-btns-wrapper .menu-item:has(.menu-item-title){gap:var(--size-4-3)}.menu.more-action-btns-wrapper .menu-item:has(.menu-item-title).is-disabled{padding:0;padding-right:var(--size-4-1)}.menu.more-action-btns-wrapper .menu-item:has(.menu-item-title).is-disabled .menu-item-title{text-align:end;color:var(--memos-text-faint);font-size:var(--font-ui-small)}.menu.more-action-btns-wrapper .menu-item.more-action-menu-item.more-action-btn-group.more-action-menu-item{gap:var(--size-2-1);padding:var(--size-2-1) var(--size-4-1)}.menu.more-action-btns-wrapper .menu-item.more-action-menu-item.more-action-btn-group.more-action-menu-item.selected{background-color:unset}div[data-type=thino_view] .user-banner-container{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;width:100%;height:140px;padding:var(--size-2-2) var(--size-4-2);padding-bottom:var(--size-4-2);gap:var(--size-4-3)}div[data-type=thino_view] .user-banner-container>.userinfo-header-container{display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%;padding:0 0 0 12px;flex-wrap:nowrap;margin-bottom:4px}div[data-type=thino_view] .user-banner-container>.userinfo-header-container>.userinfo-container{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:var(--size-4-2)}div[data-type=thino_view] .user-banner-container>.userinfo-header-container>.userinfo-container .thino-user-icon{display:flex;align-items:center;justify-content:center;width:32px;height:32px;--icon-size: 18px;border-radius:var(--size-4-2);min-width:32px;min-height:32px;background-position:center;background-repeat:no-repeat;background-size:cover}div[data-type=thino_view] .user-banner-container>.userinfo-header-container>.userinfo-container .thino-user-icon:has(svg){border:1px solid var(--memos-memo-border);background-color:var(--memos-memo-bg);box-shadow:var(--shadow-s)}div[data-type=thino_view] .user-banner-container>.userinfo-header-container>.userinfo-container .thino-user-info{max-width:120px;display:flex;flex-direction:column;height:100%;gap:var(--size-2-1)}div[data-type=thino_view] .user-banner-container>.userinfo-header-container>.userinfo-container .thino-user-info>.username-container{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:var(--size-2-2)}div[data-type=thino_view] .user-banner-container>.userinfo-header-container>.userinfo-container .thino-user-info>.username-container>.username-text{max-width:110px;font-weight:700;font-size:var(--font-ui-small);line-height:20px;color:var(--memos-text-black);overflow:hidden;text-overflow:ellipsis;cursor:pointer;flex-shrink:0;white-space:nowrap}div[data-type=thino_view] .user-banner-container>.userinfo-header-container>.userinfo-container .thino-user-info>.username-container>.user-pro-badge{padding:var(--size-2-1) var(--size-2-2);cursor:pointer;border-radius:var(--memos-radius-m);color:var(--memos-text-white);opacity:.7;font-size:var(--thino-ui-tiny);font-weight:700;background:var(--memos-bg-gray)}div[data-type=thino_view] .user-banner-container>.userinfo-header-container>.userinfo-container .thino-user-info>.username-container>.user-pro-badge.activated{color:var(--memos-text-lightgray);background:var(--memos-bg-blue);opacity:1}div[data-type=thino_view] .user-banner-container>.userinfo-header-container>.userinfo-container .thino-user-info>.thino-user-quote{font-size:var(--thino-ui-tiny);color:var(--memos-text-faint);font-weight:700;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:120px}div[data-type=thino_view] .user-banner-container>.userinfo-header-container>.btn-group{display:flex;gap:var(--size-4-2)}div[data-type=thino_view] .user-banner-container>.userinfo-header-container>.btn-group .refresh-icon{padding:var(--size-2-2);border-radius:var(--size-2-2);flex-shrink:0;display:flex;align-items:center;justify-content:center;color:var(--memos-text-faint);--icon-size: 18px}div[data-type=thino_view] .user-banner-container>.userinfo-header-container>.btn-group .refresh-icon:hover{color:var(--memos-accent-hover);background-color:var(--memos-icon-hover)}div[data-type=thino_view] .user-banner-container>.userinfo-header-container>.btn-group .action-btn{flex-shrink:0;-webkit-user-select:none;user-select:none;border:none;background-color:unset;box-shadow:unset}div[data-type=thino_view] .user-banner-container>.userinfo-header-container>.btn-group .action-btn.menu-popup-btn{display:flex;flex-direction:column;justify-content:center;align-items:center;--icon-size: 18px;cursor:pointer}div[data-type=thino_view] .user-banner-container>.userinfo-header-container>.btn-group .action-btn.menu-popup-btn>.icon-img{width:20px;height:auto}div[data-type=thino_view] .user-banner-container>.status-text-container{display:flex;flex-direction:row;justify-content:space-between;align-items:flex-start;padding:0 24px;width:100%;-webkit-user-select:none;user-select:none}div[data-type=thino_view] .user-banner-container>.status-text-container>.status-text{display:flex;flex-direction:column;justify-content:flex-start;align-items:center}div[data-type=thino_view] .user-banner-container>.status-text-container>.status-text>.amount-text{font-weight:700;font-size:28px;line-height:1.8;color:var(--memos-text-black);opacity:.8}div[data-type=thino_view] .user-banner-container>.status-text-container>.status-text>.type-text{color:gray;font-size:var(--font-ui-smaller);font-family:ubuntu-mono,SFMono-Regular,Menlo,Consolas,PT Mono,Liberation Mono,Courier,monospace}div[data-type=thino_view] .user-banner-container>.status-text-container>.duration-text{cursor:pointer}div[data-type=thino_view] .user-banner-container>.status-text-container.text-overflow .amount-text{font-size:22px;padding-bottom:6px}@media only screen and (max-width: 875px){div[data-type=thino_view] .user-banner-container{height:170px;z-index:1;padding-top:16px!important}div[data-type=thino_view] .user-banner-container>.userinfo-header-container{padding:0 16px}div[data-type=thino_view] .user-banner-container>.userinfo-header-container>.action-btn{width:60px}div[data-type=thino_view] .user-banner-container>.userinfo-header-container>.username-container>.username-text{font-size:16px}div[data-type=thino_view] .user-banner-container>.status-text-container{padding:0 16px}div[data-type=thino_view] .user-banner-container>.status-text-container>.status-text>.amount-text{font-size:32px}div[data-type=thino_view] .user-banner-container>.status-text-container>.status-text>.type-text{font-size:var(--thino-ui-small)}}.block-language-thino .thino-embed-container .status-text-container{display:flex;flex-direction:row;justify-content:space-between;align-items:flex-start;gap:var(--size-4-8);padding:0 24px;width:100%;-webkit-user-select:none;user-select:none}.block-language-thino .thino-embed-container .status-text-container>.status-text{display:flex;flex-direction:column;justify-content:flex-start;align-items:center}.block-language-thino .thino-embed-container .status-text-container>.status-text>.amount-text{font-weight:700;font-size:28px;line-height:1.8;color:var(--memos-text-black);opacity:.8}.block-language-thino .thino-embed-container .status-text-container>.status-text>.type-text{color:gray;font-size:var(--font-ui-smaller);font-family:ubuntu-mono,SFMono-Regular,Menlo,Consolas,PT Mono,Liberation Mono,Courier,monospace}.block-language-thino .thino-embed-container .status-text-container>.duration-text{cursor:pointer}.block-language-thino .thino-embed-container .status-text-container.text-overflow .amount-text{font-size:22px;padding-bottom:6px}div[data-type=thino_view].mobile-view .user-banner-container{height:170px;z-index:1;padding-top:16px!important;padding-left:var(--size-2-2)}div[data-type=thino_view].mobile-view .user-banner-container>.userinfo-header-container{padding:0 16px}div[data-type=thino_view].mobile-view .user-banner-container>.userinfo-header-container>.action-btn{width:60px}div[data-type=thino_view].mobile-view .user-banner-container>.userinfo-header-container>.username-container>.username-text{font-size:18px}div[data-type=thino_view].mobile-view .user-banner-container>.status-text-container{padding:0 16px}div[data-type=thino_view].mobile-view .user-banner-container>.status-text-container>.status-text>.amount-text{font-size:32px}div[data-type=thino_view].mobile-view .user-banner-container>.status-text-container>.status-text>.type-text{font-size:var(--thino-ui-small)}div[data-type=thino_view].mobile-view .user-banner-container>.status-text-container.text-overflow .amount-text{font-size:22px;padding-bottom:6px}.theme-dark div[data-type=thino_view] .user-banner-container .user-pro-badge.activated{color:var(--memos-text-muted)!important;background:var(--memos-bg-light-blue)!important;opacity:1}div[data-type=thino_view]:not(:has(.daily-thinos-view-wrapper)):has(.memos-sidebar-wrapper .heatmap-date-picker-wrapper) .user-banner-container .status-text-container{display:none}div[data-type=thino_view]:not(:has(.daily-thinos-view-wrapper)):has(.heatmap-date-picker-wrapper) .user-banner-container:hover{height:140px}div[data-type=thino_view]:not(:has(.daily-thinos-view-wrapper)):has(.heatmap-date-picker-wrapper) .user-banner-container:hover .status-text-container{display:flex}div[data-type=thino_view]:has(.heatmap-date-picker-wrapper) .user-banner-container{height:auto}div[data-type=thino_view] .search-bar-container,.thino-canvas-filter-group .search-bar-container{width:160px;transition:width .3s ease-in-out;display:flex}div[data-type=thino_view] .search-bar-container>.search-bar-inputer,.thino-canvas-filter-group .search-bar-container>.search-bar-inputer{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;background-color:var(--memos-bg-searchbar-lightgray);width:100%;height:40px;padding:4px 16px;border-radius:8px}div[data-type=thino_view] .search-bar-container>.search-bar-inputer>.icon-img,.thino-canvas-filter-group .search-bar-container>.search-bar-inputer>.icon-img{margin-right:var(--size-2-2);width:var(--size-4-4);height:auto;opacity:.6}div[data-type=thino_view] .search-bar-container>.search-bar-inputer>.text-input,.thino-canvas-filter-group .search-bar-container>.search-bar-inputer>.text-input{width:100%;font-size:var(--font-ui-medium);color:var(--memos-text-hover)}div[data-type=thino_view] .search-bar-container>.search-bar-inputer>.text-input:focus-visible,.thino-canvas-filter-group .search-bar-container>.search-bar-inputer>.text-input:focus-visible{box-shadow:unset}div[data-type=thino_view] .search-bar-container>.search-bar-inputer:hover+.quickly-action-wrapper,.thino-canvas-filter-group .search-bar-container>.search-bar-inputer:hover+.quickly-action-wrapper{display:flex}div[data-type=thino_view] .search-bar-container>.quickly-action-wrapper,.thino-canvas-filter-group .search-bar-container>.quickly-action-wrapper{display:none;position:absolute;top:50px;right:-7px;z-index:12;padding:8px;width:320px}div[data-type=thino_view] .search-bar-container>.quickly-action-wrapper>.quickly-action-container,.thino-canvas-filter-group .search-bar-container>.quickly-action-wrapper>.quickly-action-container{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;width:100%;background-color:var(--memos-memo-bg);padding:8px 16px;border-radius:8px;box-shadow:var(--memos-memo-shadow)}div[data-type=thino_view] .search-bar-container>.quickly-action-wrapper>.quickly-action-container>.title-text,.thino-canvas-filter-group .search-bar-container>.quickly-action-wrapper>.quickly-action-container>.title-text{color:var(--memos-text-hover);font-size:var(--font-ui-smaller)}div[data-type=thino_view] .search-bar-container>.quickly-action-wrapper>.quickly-action-container>.types-container,.thino-canvas-filter-group .search-bar-container>.quickly-action-wrapper>.quickly-action-container>.types-container{display:flex;flex-direction:row;justify-content:flex-start;align-items:flex-start;width:100%;font-size:var(--font-ui-small);margin-top:8px}div[data-type=thino_view] .search-bar-container>.quickly-action-wrapper>.quickly-action-container>.types-container>.section-text,.thino-canvas-filter-group .search-bar-container>.quickly-action-wrapper>.quickly-action-container>.types-container>.section-text{color:gray;margin-right:4px;flex-shrink:0;line-height:26px}div[data-type=thino_view] .search-bar-container>.quickly-action-wrapper>.quickly-action-container>.types-container>.values-container,.thino-canvas-filter-group .search-bar-container>.quickly-action-wrapper>.quickly-action-container>.types-container>.values-container{display:flex;flex-direction:row;justify-content:flex-start;align-items:flex-start;flex-wrap:wrap;-webkit-user-select:none;user-select:none}div[data-type=thino_view] .search-bar-container>.quickly-action-wrapper>.quickly-action-container>.types-container>.values-container>div,.thino-canvas-filter-group .search-bar-container>.quickly-action-wrapper>.quickly-action-container>.types-container>.values-container>div{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;line-height:26px}div[data-type=thino_view] .search-bar-container>.quickly-action-wrapper>.quickly-action-container>.types-container>.values-container>div .type-item,.thino-canvas-filter-group .search-bar-container>.quickly-action-wrapper>.quickly-action-container>.types-container>.values-container>div .type-item{cursor:pointer;padding:0 4px;border-radius:6px}div[data-type=thino_view] .search-bar-container>.quickly-action-wrapper>.quickly-action-container>.types-container>.values-container>div .type-item:hover,.thino-canvas-filter-group .search-bar-container>.quickly-action-wrapper>.quickly-action-container>.types-container>.values-container>div .type-item:hover{background-color:var(--memos-bg-whitegray)}div[data-type=thino_view] .search-bar-container>.quickly-action-wrapper>.quickly-action-container>.types-container>.values-container>div .type-item.selected,.thino-canvas-filter-group .search-bar-container>.quickly-action-wrapper>.quickly-action-container>.types-container>.values-container>div .type-item.selected{background-color:var(--memos-text-green);color:var(--memos-text-hover)}div[data-type=thino_view] .search-bar-container>.quickly-action-wrapper>.quickly-action-container>.types-container>.values-container>div .split-text,.thino-canvas-filter-group .search-bar-container>.quickly-action-wrapper>.quickly-action-container>.types-container>.values-container>div .split-text{color:var(--memos-text-lightgray);margin:0 2px}div[data-type=thino_view] .search-bar-container>.quickly-action-wrapper:hover,.thino-canvas-filter-group .search-bar-container>.quickly-action-wrapper:hover{display:flex}div[data-type=thino_view] .search-bar-container:has(.search-bar-inputer:focus-within),.thino-canvas-filter-group .search-bar-container:has(.search-bar-inputer:focus-within){width:100%;max-width:300px;transition:width .3s ease-in-out}div[data-type=thino_view].mobile-view .search-bar-container,.is-phone .thino-canvas-filter-group .search-bar-container{width:120px;transition:width .3s ease-in-out}div[data-type=thino_view].mobile-view .search-bar-container>.search-bar-inputer,.is-phone .thino-canvas-filter-group .search-bar-container>.search-bar-inputer{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;background-color:var(--memos-bg-searchbar-lightgray);height:40px;padding:var(--size-2-2) var(--size-4-3);border-radius:8px;width:120%}div[data-type=thino_view].mobile-view .search-bar-container>.search-bar-inputer>.text-input,.is-phone .thino-canvas-filter-group .search-bar-container>.search-bar-inputer>.text-input{width:100%;font-size:var(--font-ui-medium);color:var(--memos-text-hover)}div[data-type=thino_view].mobile-view .search-bar-container>.search-bar-inputer:hover+.quickly-action-wrapper,.is-phone .thino-canvas-filter-group .search-bar-container>.search-bar-inputer:hover+.quickly-action-wrapper{display:flex}div[data-type=thino_view].mobile-view .search-bar-container>.quickly-action-wrapper,.is-phone .thino-canvas-filter-group .search-bar-container>.quickly-action-wrapper{display:none;position:absolute;top:42px;z-index:12;padding:8px 20px 8px 8px;width:320px}div[data-type=thino_view].mobile-view .search-bar-container>.quickly-action-wrapper>.quickly-action-container,.is-phone .thino-canvas-filter-group .search-bar-container>.quickly-action-wrapper>.quickly-action-container{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;width:100%;background-color:var(--memos-memo-bg);padding:8px 16px;border-radius:8px;box-shadow:var(--memos-memo-shadow)}div[data-type=thino_view].mobile-view .search-bar-container>.quickly-action-wrapper>.quickly-action-container>.title-text,.is-phone .thino-canvas-filter-group .search-bar-container>.quickly-action-wrapper>.quickly-action-container>.title-text{color:gray;font-size:var(--font-ui-smaller)}div[data-type=thino_view].mobile-view .search-bar-container>.quickly-action-wrapper>.quickly-action-container>.types-container,.is-phone .thino-canvas-filter-group .search-bar-container>.quickly-action-wrapper>.quickly-action-container>.types-container{display:flex;flex-direction:row;justify-content:flex-start;align-items:flex-start;width:100%;font-size:var(--font-ui-small);margin-top:8px}div[data-type=thino_view].mobile-view .search-bar-container>.quickly-action-wrapper>.quickly-action-container>.types-container>.section-text,.is-phone .thino-canvas-filter-group .search-bar-container>.quickly-action-wrapper>.quickly-action-container>.types-container>.section-text{color:gray;margin-right:4px;flex-shrink:0;line-height:26px}div[data-type=thino_view].mobile-view .search-bar-container>.quickly-action-wrapper>.quickly-action-container>.types-container>.values-container,.is-phone .thino-canvas-filter-group .search-bar-container>.quickly-action-wrapper>.quickly-action-container>.types-container>.values-container{display:flex;flex-direction:row;justify-content:flex-start;align-items:flex-start;flex-wrap:wrap;-webkit-user-select:none;user-select:none}div[data-type=thino_view].mobile-view .search-bar-container>.quickly-action-wrapper>.quickly-action-container>.types-container>.values-container>div,.is-phone .thino-canvas-filter-group .search-bar-container>.quickly-action-wrapper>.quickly-action-container>.types-container>.values-container>div{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;line-height:26px}div[data-type=thino_view].mobile-view .search-bar-container>.quickly-action-wrapper>.quickly-action-container>.types-container>.values-container>div .type-item,.is-phone .thino-canvas-filter-group .search-bar-container>.quickly-action-wrapper>.quickly-action-container>.types-container>.values-container>div .type-item{cursor:pointer;padding:0 4px;border-radius:6px}div[data-type=thino_view].mobile-view .search-bar-container>.quickly-action-wrapper>.quickly-action-container>.types-container>.values-container>div .type-item:hover,.is-phone .thino-canvas-filter-group .search-bar-container>.quickly-action-wrapper>.quickly-action-container>.types-container>.values-container>div .type-item:hover{background-color:var(--memos-bg-lightgray)}div[data-type=thino_view].mobile-view .search-bar-container>.quickly-action-wrapper>.quickly-action-container>.types-container>.values-container>div .type-item.selected,.is-phone .thino-canvas-filter-group .search-bar-container>.quickly-action-wrapper>.quickly-action-container>.types-container>.values-container>div .type-item.selected{background-color:var(--memos-text-green);color:var(--memos-text-hover)}div[data-type=thino_view].mobile-view .search-bar-container>.quickly-action-wrapper>.quickly-action-container>.types-container>.values-container>div .split-text,.is-phone .thino-canvas-filter-group .search-bar-container>.quickly-action-wrapper>.quickly-action-container>.types-container>.values-container>div .split-text{color:#d3d3d3;margin:0 2px}div[data-type=thino_view].mobile-view .search-bar-container>.quickly-action-wrapper:hover,.is-phone .thino-canvas-filter-group .search-bar-container>.quickly-action-wrapper:hover{display:flex}div[data-type=thino_view].mobile-view .search-bar-container:has(.search-bar-inputer:focus-within),.is-phone .thino-canvas-filter-group .search-bar-container:has(.search-bar-inputer:focus-within){width:100%;max-width:300px;transition:width .3s ease-in-out}.theme-dark .search-bar-container .search-bar-inputer{border:var(--memos-text-muted)}div[data-type=thino_view] .common-editor-inputer .thino-editor-placeholder:before{content:attr(data-ph);color:var(--memos-text-faint);position:absolute}div[data-type=thino_view] .common-editor-inputer .cm-table-widget .thino-editor-placeholder:before{content:unset}div[data-type=thino_view] .common-editor-wrapper,.thino-editor-modal .common-editor-wrapper{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;position:relative;width:100%;height:auto;background-color:var(--memos-memo-bg)}div[data-type=thino_view] .common-editor-wrapper .common-editor-inputer,.thino-editor-modal .common-editor-wrapper .common-editor-inputer{display:inline-block;width:100%;min-height:48px;max-height:300px;font-size:var(--font-ui-medium);line-height:24px;resize:none;overflow-x:hidden;background-color:transparent;z-index:1;margin-bottom:4px;white-space:pre-wrap}div[data-type=thino_view] .common-editor-wrapper .common-editor-inputer::-webkit-scrollbar,.thino-editor-modal .common-editor-wrapper .common-editor-inputer::-webkit-scrollbar{width:0;height:0;cursor:pointer}div[data-type=thino_view] .common-editor-wrapper .common-editor-inputer::-webkit-scrollbar-thumb,.thino-editor-modal .common-editor-wrapper .common-editor-inputer::-webkit-scrollbar-thumb{width:0;height:0;border-radius:8px;background-color:#d5d5d5}div[data-type=thino_view] .common-editor-wrapper .common-editor-inputer::-webkit-scrollbar-thumb:hover,.thino-editor-modal .common-editor-wrapper .common-editor-inputer::-webkit-scrollbar-thumb:hover{background-color:#ccc}div[data-type=thino_view] .common-editor-wrapper .common-editor-inputer::-webkit-scrollbar,.thino-editor-modal .common-editor-wrapper .common-editor-inputer::-webkit-scrollbar{display:none}div[data-type=thino_view] .common-editor-wrapper .common-editor-inputer .markdown-source-view.mod-cm6 .cm-editor,.thino-editor-modal .common-editor-wrapper .common-editor-inputer .markdown-source-view.mod-cm6 .cm-editor{height:100%;min-height:fit-content}div[data-type=thino_view] .common-editor-wrapper .common-editor-inputer .markdown-source-view.mod-cm6 .cm-editor .cm-gutters,.thino-editor-modal .common-editor-wrapper .common-editor-inputer .markdown-source-view.mod-cm6 .cm-editor .cm-gutters{display:none}div[data-type=thino_view] .common-editor-wrapper .common-editor-inputer .markdown-source-view.mod-cm6 .cm-editor .cm-content,.thino-editor-modal .common-editor-wrapper .common-editor-inputer .markdown-source-view.mod-cm6 .cm-editor .cm-content{padding-bottom:0!important}div[data-type=thino_view] .common-editor-wrapper .common-editor-inputer::placeholder,.thino-editor-modal .common-editor-wrapper .common-editor-inputer::placeholder{padding-left:2px}div[data-type=thino_view] .common-editor-wrapper .common-editor-inputer:focus::placeholder,.thino-editor-modal .common-editor-wrapper .common-editor-inputer:focus::placeholder{color:var(--memos-text-lightgray)}div[data-type=thino_view] .common-editor-wrapper>.common-tools-wrapper,.thino-editor-modal .common-editor-wrapper>.common-tools-wrapper{display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%}div[data-type=thino_view] .common-editor-wrapper>.common-tools-wrapper>.common-tools-container,.thino-editor-modal .common-editor-wrapper>.common-tools-wrapper>.common-tools-container{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;cursor:pointer;gap:var(--size-2-1)}div[data-type=thino_view] .common-editor-wrapper>.common-tools-wrapper>.common-tools-container .show-editor,.thino-editor-modal .common-editor-wrapper>.common-tools-wrapper>.common-tools-container .show-editor{margin-right:var(--size-2-1);padding:1px;display:flex;align-items:center;justify-content:center}div[data-type=thino_view] .common-editor-wrapper>.common-tools-wrapper>.common-tools-container .action-btn.split-line,.thino-editor-modal .common-editor-wrapper>.common-tools-wrapper>.common-tools-container .action-btn.split-line{padding:unset;cursor:default;height:100%;transform:rotate(90deg);margin-left:calc(var(--size-4-1) * -1);margin-right:calc(var(--size-2-1) * -1)}div[data-type=thino_view] .common-editor-wrapper>.common-tools-wrapper>.common-tools-container .action-btn.split-line:before,.thino-editor-modal .common-editor-wrapper>.common-tools-wrapper>.common-tools-container .action-btn.split-line:before{content:"";display:block;width:var(--icon-size);height:1px;background-color:var(--memos-text-faint)}div[data-type=thino_view] .common-editor-wrapper>.common-tools-wrapper>.common-tools-container .location-wrapper,.thino-editor-modal .common-editor-wrapper>.common-tools-wrapper>.common-tools-container .location-wrapper{height:26px;align-items:center;box-shadow:var(--input-shadow);color:var(--memos-text-muted);background-color:var(--memos-location-wrapper-bg);border-radius:var(--radius-s);cursor:pointer}div[data-type=thino_view] .common-editor-wrapper>.common-tools-wrapper>.common-tools-container .location-wrapper.action-btn,.thino-editor-modal .common-editor-wrapper>.common-tools-wrapper>.common-tools-container .location-wrapper.action-btn{box-shadow:0 0 0 1px var(--memos-memo-bg-hover);padding:var(--size-2-2)}div[data-type=thino_view] .common-editor-wrapper>.common-tools-wrapper>.common-tools-container .location-wrapper .file-location-btn,.thino-editor-modal .common-editor-wrapper>.common-tools-wrapper>.common-tools-container .location-wrapper .file-location-btn{display:flex}div[data-type=thino_view] .common-editor-wrapper>.common-tools-wrapper>.common-tools-container .location-wrapper:hover,.thino-editor-modal .common-editor-wrapper>.common-tools-wrapper>.common-tools-container .location-wrapper:hover{color:var(--memos-text-accent);box-shadow:var(--input-shadow-hover)}div[data-type=thino_view] .common-editor-wrapper>.common-tools-wrapper>.common-tools-container>.action-btn,.thino-editor-modal .common-editor-wrapper>.common-tools-wrapper>.common-tools-container>.action-btn{display:flex;align-items:center;justify-content:center;margin-right:var(--size-2-1);padding:1px;border:none;-webkit-user-select:none;user-select:none;cursor:pointer;--icon-size: 18px}div[data-type=thino_view] .common-editor-wrapper>.common-tools-wrapper>.common-tools-container>.action-btn:hover,.thino-editor-modal .common-editor-wrapper>.common-tools-wrapper>.common-tools-container>.action-btn:hover{opacity:.8}div[data-type=thino_view] .common-editor-wrapper>.common-tools-wrapper>.common-tools-container>.action-btn.show-editor,.thino-editor-modal .common-editor-wrapper>.common-tools-wrapper>.common-tools-container>.action-btn.show-editor{margin-right:var(--size-2-1);padding:1px;display:flex;align-items:center;justify-content:center}div[data-type=thino_view] .common-editor-wrapper>.common-tools-wrapper>.common-tools-container>svg:hover,.thino-editor-modal .common-editor-wrapper>.common-tools-wrapper>.common-tools-container>svg:hover{color:var(--memos-accent-hover)}div[data-type=thino_view] .common-editor-wrapper>.common-tools-wrapper>.btns-container,.thino-editor-modal .common-editor-wrapper>.common-tools-wrapper>.btns-container{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;flex-grow:0;flex-shrink:0}div[data-type=thino_view] .common-editor-wrapper>.common-tools-wrapper>.btns-container>.cancel-btn,.thino-editor-modal .common-editor-wrapper>.common-tools-wrapper>.btns-container>.cancel-btn{color:var(--memos-text-muted);background-color:transparent;margin-right:8px;line-height:18px;cursor:pointer}div[data-type=thino_view] .common-editor-wrapper>.common-tools-wrapper>.btns-container>.confirm-btn,.thino-editor-modal .common-editor-wrapper>.common-tools-wrapper>.btns-container>.confirm-btn{cursor:pointer;padding:0 12px;height:var(--size-4-8);background-color:var(--memos-bg-accent);color:var(--memos-editor-save-btn-color)}div[data-type=thino_view] .common-editor-wrapper>.common-tools-wrapper>.btns-container>.confirm-btn:disabled,.thino-editor-modal .common-editor-wrapper>.common-tools-wrapper>.btns-container>.confirm-btn:disabled{cursor:not-allowed;opacity:.6}div[data-type=thino_view] .common-editor-wrapper>.common-tools-wrapper>.btns-container>.confirm-btn>.icon-text,.thino-editor-modal .common-editor-wrapper>.common-tools-wrapper>.btns-container>.confirm-btn>.icon-text{margin-left:4px}div[data-type=thino_view] .scroll::-webkit-scrollbar,.thino-editor-modal .scroll::-webkit-scrollbar{display:none}div[data-type=thino_view] .memo-editor-wrapper .confirm-btn,.thino-editor-modal .memo-editor-wrapper .confirm-btn{margin-right:unset}.thino-editor-modal .common-editor-wrapper .common-editor-inputer{min-height:320px;max-height:600px;border:1px solid var(--memos-memo-border)}div[data-type=thino_view] .memo-editor-wrapper .cm-scroller::-webkit-scrollbar{display:none}.rta{position:relative;font-size:var(--font-ui-medium);width:100%;height:100%;z-index:10}.rta>::-webkit-scrollbar{width:2px;height:16px;background-color:var(--memos-bg-whitegray)}.rta>::-webkit-scrollbar-track{background-color:var(--memos-bg-whitegray)}.rta ::-webkit-scrollbar-thumb{background-color:var(--memos-bg-black)}.rta ::-webkit-scrollbar-track-piece{background-color:var(--memos-memo-bg)}.rta__loader.rta__loader--empty-suggestion-data{display:none;border-radius:3px;box-shadow:0 0 5px var(--memos-memo-bg-primary);padding:5px}.rta--loading .rta__loader.rta__loader--suggestion-data{display:none;position:absolute;top:0;left:0;width:100%;height:100%;background:var(--memos-memo-bg)}.rta--loading .rta__loader.rta__loader--suggestion-data>*{display:none;position:relative;top:50%}.rta__textarea{width:100%;height:100%;font-size:1em}.rta__autocomplete{position:absolute;display:block;margin-top:1em}.rta__autocomplete--top{margin-top:0;margin-bottom:1em}.rta__list{margin:0;padding:0;background:var(--memos-memo-bg);border:1px solid var(--memos-memo-bg-primary);border-radius:0;box-shadow:0 0 10px var(--memos-memo-bg-primary);list-style:none}.rta__entity{background:var(--memos-memo-bg);width:100%;text-align:left;outline:none}.rta__entity:hover{cursor:pointer}.rta__item{text-overflow:"ellipsis";line-height:30px}.rta__item:first-child{border-radius:8px 8px 0 0}.rta__item:not(:last-child){border-bottom:1px solid var(--memos-bg-whitegray)}.rta__item:last-child{border-radius:0}.rta__entity>*{padding-left:4px;padding-right:4px}.rta__entity--selected{color:var(--memos-memo-bg);text-decoration:none;background:var(--memos-editor-suggest-color)}div[data-type=thino_view].mobile-view .rta__textarea{max-height:140px;overflow-y:scroll}.thino-suggestion{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:var(--size-2-1);padding:var(--size-4-2)}.thino-suggestion .thino-suggestion-time{color:var(--memos-text-lightgray);font-size:var(--font-ui-smaller)}.thino-suggestion .thino-suggestion-container{height:var(--size-4-12)}.thino-suggestion .thino-suggestion-container .thino-suggestion-content{margin-top:var(--size-2-2);font-size:var(--font-ui-small);max-height:var(--size-4-12);max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:normal;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical}div[data-type=thino_view] .memo-editor-wrapper,.thino-editor-modal .memo-editor-wrapper{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;position:relative;width:100%;height:auto;background-color:var(--memos-memo-bg);padding:16px;border-radius:8px;border:1px solid var(--memos-bg-lightgray)}div[data-type=thino_view] .memo-editor-wrapper.edit-ing,.thino-editor-modal .memo-editor-wrapper.edit-ing{border-color:var(--memos-text-blue)}div[data-type=thino_view] .memo-editor-wrapper.fullscreen-editor,.thino-editor-modal .memo-editor-wrapper.fullscreen-editor,div[data-type=thino_view] .memo-editor-wrapper.fullscreen-editor .memo-editor,.thino-editor-modal .memo-editor-wrapper.fullscreen-editor .memo-editor{height:100%}div[data-type=thino_view] .memo-editor-wrapper.fullscreen-editor .memo-editor .common-editor-inputer,.thino-editor-modal .memo-editor-wrapper.fullscreen-editor .memo-editor .common-editor-inputer{height:100%;min-height:unset;max-height:unset}div[data-type=thino_view] .memo-editor-wrapper>.tip-text,.thino-editor-modal .memo-editor-wrapper>.tip-text{font-size:var(--font-ui-smaller);line-height:20px;margin-top:0;color:var(--memos-text-lightgray)}div[data-type=thino_view] .memo-editor-wrapper>.memo-editor,.thino-editor-modal .memo-editor-wrapper>.memo-editor{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;position:relative;width:100%;height:auto;background-color:var(--memos-memo-bg)}div[data-type=thino_view] .memo-editor-wrapper>.date-picker,.thino-editor-modal .memo-editor-wrapper>.date-picker{position:absolute;z-index:20}.is-mobile:has(.mobile-navbar) div[data-type=thino_view].mobile-view .memo-editor-wrapper.fullscreen-editor{height:calc(100% - max() - var(--icon-l));padding-bottom:var(--size-4-2)}.is-mobile:not(.is-tablet):has(.mobile-toolbar) .thino-editor-modal{padding-bottom:var(--size-4-9)}div[data-type=thino_view].mobile-view .memo-editor-wrapper{width:calc(100% - 24px);margin:auto}div[data-type=thino_view].mobile-view .memos-chat-view:has(.chat-view.fluent-style) .memo-editor-wrapper{margin:unset}.rotate-hidden{animation:rotateAndHide .4s forwards}@keyframes rotateAndHide{0%{transform:rotate(0)}to{transform:rotate(180deg)}}.thino-editor-modal .memo-editor-wrapper{padding:0;border:unset}.theme-dark div[data-type=thino_view] .memo-editor-wrapper,.theme-dark .thino-editor-modal .memo-editor-wrapper{border:1px solid var(--memos-bg-gray)}.thino-editor-modal{padding-top:var(--size-4-6)}.thino-editor-modal .action-btn.show-editor{display:none!important}.thino-editor-modal .modal-close-button{z-index:99}.thino-editor-modal .markdown-source-view{min-height:200px}.block-language-thino .thino-editor-modal{padding-top:0}.thino-embed-container.thino-editor-modal{padding-top:16px}.thino-embed-container.thino-editor-modal .memo-editor-wrapper{padding:16px;border:1px solid var(--memos-bg-lightgray)}.thino-embed-container.thino-editor-modal .memo-editor-wrapper .common-editor-inputer{min-height:120px}.thino-editor-codeblock{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:var(--size-4-4)}.thino-editor-codeblock.view-error{display:flex;justify-content:center;align-items:center;padding:var(--size-4-4);color:var(--text-error)}.block-language-thino{display:grid;grid-template-columns:repeat(2,1fr);grid-column-gap:8px;grid-row-gap:8px;width:100%}.block-language-thino .thino-embed-container{width:100%;display:flex;align-items:center;justify-content:center;padding:var(--size-4-4);border:1px solid var(--memos-bg-lightgray);background:var(--memos-memo-bg);flex-direction:column;gap:var(--size-4-2)}.block-language-thino .thino-embed-container>div:first-child{justify-content:center}.block-language-thino>:only-child{grid-column:1 / -1}div[data-embed-type=daily].thino-embed-container,div[data-embed-type=list].thino-embed-container{display:flex;justify-content:flex-start;max-height:400px;overflow-y:scroll;overflow-x:hidden}div[data-embed-type=daily].thino-embed-container::-webkit-scrollbar,div[data-embed-type=list].thino-embed-container::-webkit-scrollbar{width:0;height:0;cursor:pointer}div[data-embed-type=daily].thino-embed-container::-webkit-scrollbar-thumb,div[data-embed-type=list].thino-embed-container::-webkit-scrollbar-thumb{width:0;height:0;border-radius:8px;background-color:#d5d5d5}div[data-embed-type=daily].thino-embed-container::-webkit-scrollbar-thumb:hover,div[data-embed-type=list].thino-embed-container::-webkit-scrollbar-thumb:hover{background-color:#ccc}div[data-embed-type=daily].thino-embed-container::-webkit-scrollbar,div[data-embed-type=list].thino-embed-container::-webkit-scrollbar{display:none}div[data-embed-type=daily].thino-embed-container .thino-list-container,div[data-embed-type=list].thino-embed-container .thino-list-container{display:flex;justify-content:flex-start;flex-direction:column;width:100%;gap:var(--size-4-2)}div[data-embed-type=daily].thino-embed-container .thino-list-container::-webkit-scrollbar,div[data-embed-type=list].thino-embed-container .thino-list-container::-webkit-scrollbar{width:0;height:0;cursor:pointer}div[data-embed-type=daily].thino-embed-container .thino-list-container::-webkit-scrollbar-thumb,div[data-embed-type=list].thino-embed-container .thino-list-container::-webkit-scrollbar-thumb{width:0;height:0;border-radius:8px;background-color:#d5d5d5}div[data-embed-type=daily].thino-embed-container .thino-list-container::-webkit-scrollbar-thumb:hover,div[data-embed-type=list].thino-embed-container .thino-list-container::-webkit-scrollbar-thumb:hover{background-color:#ccc}div[data-embed-type=daily].thino-embed-container .thino-list-container::-webkit-scrollbar,div[data-embed-type=list].thino-embed-container .thino-list-container::-webkit-scrollbar{display:none}div[data-type=thino_view] .memo-wrapper .memo-editor-wrapper{padding:0;border:unset}div[data-type=thino_view] .memo-wrapper .memo-editor-wrapper .action-btn.show-editor{display:none!important}div[data-type=thino_view] .memo-editor-wrapper .embedded-backlinks{display:none}div[data-type=thino_view] .memo-editor-wrapper influx-element{display:none}.rdp{margin:1em;border-style:solid;border-width:1px;border-color:var(--rdp-border-color);color:var(--rdp-text-color);overflow:auto}.rdp .rdp-vhidden{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:absolute!important;top:0;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(1px,1px,1px,1px)!important}.rdp .rdp-button_reset{appearance:none;position:relative;margin:0;padding:0;cursor:default;color:inherit;outline:none;background:none;font:inherit;-moz-appearance:none;-webkit-appearance:none}.rdp .rdp-button{border:2px solid transparent}.rdp .rdp-button[disabled]{opacity:.25}.rdp .rdp-button:not([disabled]){cursor:pointer}.rdp .rdp-button:focus:not([disabled]),.rdp .rdp-button:active:not([disabled]){color:inherit;border:var(--rdp-outline);background-color:var(--rdp-background-color)}.rdp .rdp-button:hover:not([disabled]){background-color:var(--rdp-background-color)}.rdp .rdp-months{display:flex;background:var(--memos-memo-bg);padding:4px}.rdp .rdp-month{margin:0 1em}.rdp .rdp-month:first-child{margin-left:0}.rdp .rdp-month:last-child{margin-right:0}.rdp .rdp-table{margin:0;max-width:calc(var(--rdp-cell-size) * 7);border-collapse:collapse}.rdp .rdp-with_weeknumber .rdp-table{max-width:calc(var(--rdp-cell-size) * 8);border-collapse:collapse}.rdp .rdp-caption{display:flex;align-items:center;justify-content:space-between;padding:0;text-align:left}.rdp .rdp-multiple_months .rdp-caption{position:relative;display:block;text-align:center}.rdp .rdp-caption_dropdowns{position:relative;display:inline-flex}.rdp .rdp-caption_label{position:relative;z-index:1;display:inline-flex;align-items:center;margin:0;padding:0 .25em;white-space:nowrap;color:currentColor;border:2px solid transparent;font-family:inherit;font-size:140%;font-weight:700}.rdp .rdp-nav{white-space:nowrap}.rdp .rdp-multiple_months .rdp-caption_start .rdp-nav{position:absolute;top:50%;left:0;transform:translateY(-50%)}.rdp .rdp-multiple_months .rdp-caption_end .rdp-nav{position:absolute;top:50%;right:0;transform:translateY(-50%)}.rdp .rdp-nav_button{display:inline-flex;align-items:center;justify-content:center;width:var(--rdp-cell-size);height:var(--rdp-cell-size);padding:.25em;border-radius:100%}.rdp .rdp-dropdown_year,.rdp .rdp-dropdown_month{position:relative;display:inline-flex;align-items:center}.rdp .rdp-dropdown{-webkit-appearance:none;-moz-appearance:none;appearance:none;position:absolute;z-index:2;top:0;bottom:0;left:0;width:100%;margin:0;padding:0;cursor:inherit;opacity:0;border:none;background-color:transparent;font-family:inherit;font-size:inherit;line-height:inherit}.rdp .rdp-dropdown[disabled]{opacity:unset;color:unset}.rdp .rdp-dropdown:focus:not([disabled])+.rdp-caption_label,.rdp .rdp-dropdown:active:not([disabled])+.rdp-caption_label{border:var(--rdp-outline);border-radius:6px;background-color:var(--rdp-background-color)}.rdp .rdp-dropdown_icon{margin:0 0 0 5px}.rdp .rdp-head{border:0}.rdp .rdp-head_row,.rdp .rdp-row{height:100%}.rdp .rdp-head_cell{vertical-align:middle;text-transform:uppercase;font-size:.75em;font-weight:700;text-align:center;height:var(--rdp-cell-size);padding:0}.rdp .rdp-tbody{border:0}.rdp .rdp-foot{margin:.5em}.rdp .rdp-cell{width:var(--rdp-cell-size);height:var(--rdp-cell-size);padding:0;text-align:center}.rdp .rdp-weeknumber{font-size:.75em}.rdp .rdp-weeknumber,.rdp .rdp-day{display:flex;overflow:hidden;align-items:center;justify-content:center;box-sizing:border-box;width:var(--rdp-cell-size);max-width:var(--rdp-cell-size);height:var(--rdp-cell-size);margin:0;border:2px solid transparent;border-radius:100%}.rdp .rdp-day_today:not(.rdp-day_outside){font-weight:700}.rdp .rdp-day_selected:not([disabled]),.rdp .rdp-day_selected:focus:not([disabled]),.rdp .rdp-day_selected:active:not([disabled]),.rdp .rdp-day_selected:hover:not([disabled]){color:var(--memos-memo-bg);background-color:var(--rdp-accent-color)}.rdp .rdp-day_selected:focus:not([disabled]){border:var(--rdp-outline-selected)}.rdp .rdp:not([dir=rtl]) .rdp-day_range_start:not(.rdp-day_range_end){border-top-right-radius:0;border-bottom-right-radius:0}.rdp .rdp:not([dir=rtl]) .rdp-day_range_end:not(.rdp-day_range_start){border-top-left-radius:0;border-bottom-left-radius:0}.rdp .rdp[dir=rtl] .rdp-day_range_start:not(.rdp-day_range_end){border-top-left-radius:0;border-bottom-left-radius:0}.rdp .rdp[dir=rtl] .rdp-day_range_end:not(.rdp-day_range_start){border-top-right-radius:0;border-bottom-right-radius:0}.rdp .rdp-day_range_end.rdp-day_range_start{border-radius:100%}.rdp .rdp-day_range_middle{border-radius:0}.date-picker-wrapper{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;padding:16px;color:var(--memos-text-hover);background-color:var(--memos-memo-bg-primary);border-radius:var(--memos-radius-m)}.date-picker-wrapper>.date-picker-header{display:flex;flex-direction:row;justify-content:center;align-items:center;width:100%}.date-picker-wrapper>.date-picker-header>.btn-text{width:24px;height:24px;border-radius:4px;cursor:pointer;-webkit-user-select:none;user-select:none;display:flex;align-items:center;justify-content:center}.date-picker-wrapper>.date-picker-header>.btn-text>.icon-img{width:100%;height:auto}.date-picker-wrapper>.date-picker-header>.btn-text:hover{background-color:var(--memos-bg-lightgray)}.date-picker-wrapper>.date-picker-header>.normal-text{display:flex;gap:var(--size-2-2);margin:0 4px;line-height:24px;font-size:var(--thino-ui-small);position:relative}.date-picker-wrapper>.date-picker-header>.normal-text>.btn{gap:var(--size-2-2)}.date-picker-wrapper>.date-picker-header>.normal-text>.btn:hover{text-decoration:underline}.date-picker-wrapper>.date-picker-header>.normal-text>.year-picker-wrapper{position:absolute;top:var(--size-4-6);left:0;width:140px;height:auto;padding:var(--size-4-2);background:var(--memos-more-action-bg);border-radius:var(--memos-radius-m);box-shadow:var(--memos-memo-shadow)}.date-picker-wrapper>.date-picker-header>.normal-text>.year-picker-wrapper .year-picker-header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--memos-text-faint);padding-bottom:var(--size-2-2);padding-left:var(--size-4-3)}.date-picker-wrapper>.date-picker-header>.normal-text>.year-picker-wrapper .year-picker-header .year-picker-header-btns{display:flex;flex-direction:row;align-items:center;justify-content:center}.date-picker-wrapper>.date-picker-header>.normal-text>.year-picker-wrapper .year-picker-header .year-picker-header-btns>.btn{padding:var(--size-2-1);border-radius:var(--memos-radius-s);cursor:pointer}.date-picker-wrapper>.date-picker-header>.normal-text>.year-picker-wrapper .year-picker-header .year-picker-header-btns>.btn:hover{background-color:var(--memos-bg-lightgray)}.date-picker-wrapper>.date-picker-header>.normal-text>.year-picker-wrapper .year-picker-body{margin-top:var(--size-2-2)}.date-picker-wrapper>.date-picker-header>.normal-text>.year-picker-wrapper .year-picker-body .year-picker-body-list{display:grid;grid-template-columns:repeat(2,1fr);justify-items:center;align-items:center;gap:var(--size-2-2)}.date-picker-wrapper>.date-picker-header>.normal-text>.year-picker-wrapper .year-picker-body .year-picker-body-list .year-picker-body-item{padding:var(--size-2-2);cursor:pointer;width:100%;height:100%;text-align:center;border-radius:var(--memos-radius-m)}.date-picker-wrapper>.date-picker-header>.normal-text>.year-picker-wrapper .year-picker-body .year-picker-body-list .year-picker-body-item.selected{border:2px dashed var(--memos-bg-accent)}.date-picker-wrapper>.date-picker-header>.normal-text>.year-picker-wrapper .year-picker-body .year-picker-body-list .year-picker-body-item:hover{background-color:var(--memos-bg-lightgray)}.date-picker-wrapper>.date-picker-header>.normal-text>.month-picker-wrapper{position:absolute;top:var(--size-4-6);left:0;width:120px;height:auto;padding:var(--size-4-2);background:var(--memos-more-action-bg);border-radius:var(--memos-radius-m);box-shadow:var(--memos-memo-shadow)}.date-picker-wrapper>.date-picker-header>.normal-text>.month-picker-wrapper .month-picker-header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--memos-text-faint);padding-bottom:var(--size-2-2);padding-left:var(--size-4-3)}.date-picker-wrapper>.date-picker-header>.normal-text>.month-picker-wrapper .month-picker-header .month-picker-header-btns{display:flex;flex-direction:row;align-items:center;justify-content:center}.date-picker-wrapper>.date-picker-header>.normal-text>.month-picker-wrapper .month-picker-header .month-picker-header-btns>.btn{padding:var(--size-2-1);border-radius:var(--memos-radius-s);cursor:pointer}.date-picker-wrapper>.date-picker-header>.normal-text>.month-picker-wrapper .month-picker-header .month-picker-header-btns>.btn:hover{background-color:var(--memos-bg-lightgray)}.date-picker-wrapper>.date-picker-header>.normal-text>.month-picker-wrapper .month-picker-body{margin-top:var(--size-2-2)}.date-picker-wrapper>.date-picker-header>.normal-text>.month-picker-wrapper .month-picker-body .month-picker-body-list{display:grid;grid-template-columns:repeat(2,1fr);justify-items:center;align-items:center;gap:var(--size-2-2)}.date-picker-wrapper>.date-picker-header>.normal-text>.month-picker-wrapper .month-picker-body .month-picker-body-list .month-picker-body-item{padding:var(--size-2-2);cursor:pointer;width:100%;height:100%;text-align:center;border-radius:var(--memos-radius-m)}.date-picker-wrapper>.date-picker-header>.normal-text>.month-picker-wrapper .month-picker-body .month-picker-body-list .month-picker-body-item.selected{border:2px dashed var(--memos-bg-accent)}.date-picker-wrapper>.date-picker-header>.normal-text>.month-picker-wrapper .month-picker-body .month-picker-body-list .month-picker-body-item:hover{background-color:var(--memos-bg-lightgray)}.date-picker-wrapper>.date-picker-day-container{display:flex;flex-direction:row;justify-content:flex-start;align-items:flex-start;width:280px;flex-wrap:wrap;margin:auto}.date-picker-wrapper>.date-picker-day-container>.date-picker-day-header{display:flex;flex-direction:row;justify-content:space-around;align-items:center;width:100%}.date-picker-wrapper>.date-picker-day-container>.date-picker-day-header>.day-item{display:flex;flex-direction:column;justify-content:center;align-items:center;width:36px;height:36px;-webkit-user-select:none;user-select:none;color:gray;font-size:var(--font-ui-small);margin:2px 0}.date-picker-wrapper>.date-picker-day-container>.date-picker-day-content{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));grid-template-rows:repeat(5,1fr);grid-column-gap:4px;grid-row-gap:4px;justify-items:center;width:100%}.date-picker-wrapper>.date-picker-day-container>.date-picker-day-content>.day-item{display:flex;flex-direction:column;justify-content:center;align-items:center;width:36px;height:36px;border-radius:50%;font-size:var(--thino-ui-small);-webkit-user-select:none;user-select:none;cursor:pointer;margin:2px}.date-picker-wrapper>.date-picker-day-container>.date-picker-day-content>.day-item>.day-item-dots{display:flex;flex-direction:row;justify-content:center;align-items:center}.date-picker-wrapper>.date-picker-day-container>.date-picker-day-content>.day-item>.day-item-dots>.day-item-dot{width:2px;height:2px;border-radius:50%;background-color:var(--memos-text-hover);margin:0 2px}.date-picker-wrapper>.date-picker-day-container>.date-picker-day-content>.day-item:hover{background-color:var(--memos-bg-lightgray)}.date-picker-wrapper>.date-picker-day-container>.date-picker-day-content>.day-item.current{background-color:var(--memos-bg-light-blue);font-size:16px;color:var(--memos-text-blue);font-weight:700}.date-picker-wrapper>.date-picker-day-container>.date-picker-day-content>.day-item.selected{border:1px dashed var(--memos-bg-accent)}.date-picker-wrapper>.date-picker-day-container>.date-picker-day-content>.day-item.null{background-color:unset;cursor:unset}.is-mobile .suggestion-container:has(.date-picker-wrapper){height:fit-content;max-height:fit-content}.suggestion-container:has(.date-picker-wrapper){height:fit-content;max-height:fit-content}.suggestion-container:has(.date-picker-wrapper) .date-picker-wrapper{padding:0}.suggestion-container:has(.date-picker-wrapper) .date-picker-wrapper>.date-picker-day-content{grid-column-gap:1px;grid-row-gap:1px}.suggestion-container:has(.date-picker-wrapper) .date-picker-wrapper>.date-picker-day-content .day-item{width:var(--size-4-4);height:var(--size-4-4)}.modal-content:has(.date-picker-wrapper){align-items:center;flex-direction:row}.modal-content:has(.date-picker-wrapper) .quick-date-btn-group{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;height:100%;width:92px;font-size:var(--font-ui-smaller);gap:var(--size-4-2);padding-top:var(--size-4-2);padding-left:var(--size-2-2);padding-right:var(--size-2-2);color:var(--memos-text-muted)}.modal-content:has(.date-picker-wrapper) .quick-date-btn-group>.quick-date-btn{width:100%;padding:var(--size-2-1);padding-top:var(--size-2-2);padding-bottom:var(--size-2-2);border-radius:var(--memos-radius-m)}.modal-content:has(.date-picker-wrapper) .quick-date-btn-group>.quick-date-btn:hover{background:var(--memos-bg-lightgray)}.modal-content .date-picker-wrapper{background-color:unset}.modal-content .date-picker-wrapper .date-picker-day-container{width:100%;margin:0}div[data-type=thino_view] .filter-query-container{display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%;flex-wrap:wrap;padding:4px 12px;font-size:var(--font-ui-small);line-height:1.8}div[data-type=thino_view] .filter-query-container>.filter-query{display:flex;flex-direction:row;justify-content:flex-start;align-items:flex-start}div[data-type=thino_view] .filter-query-container>.filter-query>.tip-text{padding:2px 0;margin-left:-6px;margin-right:3px;color:var(--memos-text-black)}div[data-type=thino_view] .filter-query-container>.filter-query>.filter-item-container{display:flex;flex-direction:row;justify-content:center;align-items:center;padding:2px 8px 2px 4px;margin-right:6px;cursor:pointer;background-color:var(--memos-filter-bg);border-radius:4px;max-width:200px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}div[data-type=thino_view] .filter-query-container>.filter-query>.filter-item-container>.icon-text{letter-spacing:2px}div[data-type=thino_view] .filter-query-container>.filter-query>.filter-item-container>.path-text{color:var(--memos-text-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}div[data-type=thino_view] .filter-query-container>.filter-query>.filter-item-container>.btn{--icon-size: var(--size-4-4);margin-left:var(--size-2-1)}div[data-type=thino_view] .filter-query-container>.filter-query>.filter-item-container>.day-picker-component-group{display:flex;flex-direction:row;justify-content:center;align-items:center;gap:var(--size-2-1)}div[data-type=thino_view] .filter-query-container>.filter-query>.filter-item-container>.day-picker-component-group .text-btn.calendar-btn{text-decoration:underline;cursor:pointer}div[data-type=thino_view] .filter-query-container>.filter-query>.filter-item-container>.day-picker-component-group .text-btn.calendar-btn:hover{color:var(--memos-text-muted)}div[data-type=thino_view] .filter-query-container>.filter-query>.filter-item-container>.day-picker-component-group .menu-btns-popup{display:flex;flex-direction:row;justify-content:flex-start;align-items:flex-start;position:fixed;margin-top:unset;margin-left:unset;padding:4px;width:auto;border-radius:8px;z-index:20;box-shadow:var(--memos-memo-shadow);background-color:var(--memos-memo-bg)}div[data-type=thino_view] .filter-query-container>.filter-query>.filter-item-container>.day-picker-component-group .menu-btns-popup .quick-date-btn-group{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;height:100%;width:92px;font-size:var(--font-ui-smaller);gap:var(--size-4-2);padding-top:var(--size-4-2);padding-left:var(--size-2-2);padding-right:var(--size-2-2);color:var(--memos-text-muted)}div[data-type=thino_view] .filter-query-container>.filter-query>.filter-item-container>.day-picker-component-group .menu-btns-popup .quick-date-btn-group>.quick-date-btn{width:100%;padding:var(--size-2-1);padding-top:var(--size-2-2);padding-bottom:var(--size-2-2);border-radius:var(--memos-radius-m)}div[data-type=thino_view] .filter-query-container>.filter-query>.filter-item-container>.day-picker-component-group .menu-btns-popup .quick-date-btn-group>.quick-date-btn:hover{background:var(--memos-bg-lightgray)}div[data-type=thino_view] .filter-query-container>.filter-query>.filter-item-container>.day-picker-component-group .menu-btns-popup .calendar-date-picker{background-color:var(--memos-memo-bg);padding:var(--size-2-2)}div[data-type=thino_view] .filter-query-container>.filter-query>.filter-item-container>.day-picker-component-group .menu-btns-popup:has(.quick-date-btn-group) .calendar-date-picker{border-radius:unset;border-left:1px solid var(--memos-bg-lightgray)}div[data-type=thino_view] .filter-query-container>.filter-query>.filter-item-container:not(:has(.day-picker-component-group)):hover{text-decoration:line-through}div[data-type=thino_view] .filter-query-container>.filter-query>.filter-item-container:has(.btn.close-btn:hover){text-decoration:line-through}div[data-type=thino_view] .filter-query-container>.filter-query>.filter-item-container[data-filter-type=tag]{justify-content:flex-start}div[data-type=thino_view] .filter-query-container>.thino-filter-items{display:flex;flex-direction:row;justify-content:center;align-items:center;gap:var(--size-4-2)}div[data-type=thino_view] .filter-query-container>.thino-filter-items>.thinos-count{font-size:var(--font-ui-small)}div[data-type=thino_view] .filter-query-container>.thino-filter-items>.copy-memo{padding-right:6px;cursor:pointer;--icon-size: var(--size-4-4)}div[data-type=thino_view] .filter-query-container>.thino-filter-items>.copy-memo:hover{opacity:.8;filter:contrast(1) brightness(1) invert(.5)}div[data-type=thino_view].mobile-view .filter-query-container{padding-left:20px}.thino-bulk-action-dialog .modal{width:400px}.thino-bulk-action-dialog .modal-content{display:flex;justify-content:space-around;align-items:center;gap:var(--size-4-2)}div[data-type=thino_view] .memolist-container.share-image .memo-content-text{overflow-x:hidden;overflow-y:hidden}div[data-type=thino_view] .memos-moments-view .content-wrapper:has(.share-image) .thino-moment-wrapper{border-bottom:1px solid var(--memos-memo-border)}.thino-bulk-action-dialog.tag-actions .thino-tag-operation{display:flex;flex-direction:column;padding:20px;border-radius:8px;width:100%}.thino-bulk-action-dialog.tag-actions .thino-tag-operation .tag-operation-title{font-size:24px;text-align:center;color:var(--memos-text-muted)}.thino-bulk-action-dialog.tag-actions .thino-tag-operation .tag-operation-content{display:flex;flex-direction:column}.thino-bulk-action-dialog.tag-actions .thino-tag-operation .tag-operation-content .tag-operation-content-title{color:var(--memos-text-muted);margin:10px 0}.thino-bulk-action-dialog.tag-actions .thino-tag-operation .tag-operation-content .tag-operation-content-title .name{font-size:18px}.thino-bulk-action-dialog.tag-actions .thino-tag-operation .tag-operation-content .tag-operation-content-title .desc{font-size:var(--font-ui-smaller)}.thino-bulk-action-dialog.tag-actions .thino-tag-operation .tag-operation-content .tag-operation-content-title.selected-tags{padding-top:var(--size-4-2);border-top:1px solid var(--memos-bg-lightgray)}.thino-bulk-action-dialog.tag-actions .thino-tag-operation .tag-operation-content .tag-operation-content-tags{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:15px;color:var(--memos-text-muted)}.thino-bulk-action-dialog.tag-actions .thino-tag-operation .tag-operation-content .tag-operation-content-tags .tag-operation-content-tag{display:inline-flex;align-items:center;padding:5px 10px;background-color:var(--memos-bg-whitegray);border-radius:4px;cursor:pointer;transition:background-color .3s}.thino-bulk-action-dialog.tag-actions .thino-tag-operation .tag-operation-content .tag-operation-content-tags .tag-operation-content-tag:hover{background-color:var(--memos-bg-accent)}.thino-bulk-action-dialog.tag-actions .thino-tag-operation .tag-operation-content .tag-operation-content-tags .tag-operation-content-tag-removed{background-color:var(--memos-bg-accent);text-decoration:line-through}.thino-bulk-action-dialog.tag-actions .thino-tag-operation .tag-operation-content .tag-operation-content-inputer{margin-bottom:15px}.thino-bulk-action-dialog.tag-actions .thino-tag-operation .tag-operation-content .tag-operation-content-inputer input{width:100%;padding:8px;border:1px solid #ccc;border-radius:4px}.thino-bulk-action-dialog.tag-actions .thino-tag-operation .tag-operation-content .tag-operation-settings{padding-top:var(--size-4-2);border-top:1px solid var(--memos-bg-lightgray)}.thino-bulk-action-dialog.tag-actions .thino-tag-operation .tag-operation-content .tag-operation-content-btn-group{display:flex;justify-content:flex-end;gap:10px}.thino-bulk-action-dialog.tag-actions .thino-tag-operation .tag-operation-content .tag-operation-content-btn-group button{padding:8px 16px;border:none;border-radius:4px;cursor:pointer;transition:background-color .3s}.thino-bulk-action-dialog.tag-actions .thino-tag-operation .tag-operation-content .tag-operation-content-btn-group button.cancel-btn{background-color:var(--memos-bg-light-blue)}.thino-bulk-action-dialog.tag-actions .thino-tag-operation .tag-operation-content .tag-operation-content-btn-group button.cancel-btn:hover{background-color:var(--memos-bg-gray)}.thino-bulk-action-dialog.tag-actions .thino-tag-operation .tag-operation-content .tag-operation-content-btn-group button.save-btn{background-color:var(--memos-editor-save-btn-bg);color:var(--memos-editor-save-btn-color)}.thino-bulk-action-dialog.tag-actions .thino-tag-operation .tag-operation-content .tag-operation-content-btn-group button.save-btn:hover{background-color:var(--memos-editor-save-btn-bg)}.thino-bulk-action-dialog.tag-actions .thino-tag-operation:has(.tag-operation-content:not(:has(.exist-tags))) .tag-operation-title{margin-bottom:0}.thino-bulk-action-dialog.tag-actions .setting-item{border-top:unset}.preview-image-dialog{padding:0}.preview-image-dialog>.dialog-container{display:flex;flex-direction:column;justify-content:center;align-items:center;position:relative;width:100%;height:100%;background-color:var(--memos-memo-modal-bg);padding:0}.preview-image-dialog>.dialog-container>.close-btn{position:fixed;top:36px;right:36px;width:40px;height:40px;padding:4px;cursor:pointer;border-radius:4px;background-color:var(--memos-text-lightgray);z-index:1}.preview-image-dialog>.dialog-container>.close-btn>.icon-img{width:28px;height:28px;fill:var(--memos-text-muted)}.preview-image-dialog>.dialog-container>.close-btn:hover{opacity:.8}.preview-image-dialog>.dialog-container>.img-container{width:100%;height:100%;display:flex;flex-direction:column;overflow:auto}.preview-image-dialog>.dialog-container>.img-container::-webkit-scrollbar{width:0;height:0;cursor:pointer}.preview-image-dialog>.dialog-container>.img-container::-webkit-scrollbar-thumb{width:0;height:0;border-radius:8px;background-color:#d5d5d5}.preview-image-dialog>.dialog-container>.img-container::-webkit-scrollbar-thumb:hover{background-color:#ccc}.preview-image-dialog>.dialog-container>.img-container::-webkit-scrollbar{display:none}.preview-image-dialog>.dialog-container>.img-container>img{padding:16px;width:auto;max-width:300%;margin:auto;-webkit-user-drag:none}.preview-image-dialog>.dialog-container>.img-container>.loading-text{color:var(--memos-text-hover);font-size:24px;margin:auto;border-bottom:2px solid var(--memos-memo-border);padding:8px 4px}.preview-image-dialog>.dialog-container>.action-btns-container{display:flex;flex-direction:row;justify-content:center;align-items:center;position:fixed;bottom:36px;z-index:1}.preview-image-dialog>.dialog-container>.action-btns-container>.btn{display:flex;flex-direction:row;justify-content:center;align-items:center;width:48px;height:48px;font-size:20px;margin-right:16px;border-radius:4px;background-color:var(--memos-text-lightgray);box-shadow:var(--memos-memo-shadow)}.preview-image-dialog>.dialog-container>.action-btns-container>.btn:last-child{margin-right:0}.preview-image-dialog>.dialog-container>.action-btns-container>.btn:hover,.preview-image-dialog>.dialog-container>.action-btns-container>.btn:active{opacity:.8}@media only screen and (max-width: 875px){.preview-image-dialog{padding:0}.preview-image-dialog>.dialog-container{max-width:100%}.preview-image-dialog>.dialog-container>.img-container>img{padding:6px}}.share-memo-image-dialog>.dialog-container{width:max(32%,480px);padding:0;background-color:var(--memos-bg-lightgray)}.share-memo-image-dialog>.dialog-container>.dialog-header-container{padding:8px 16px 8px 24px;margin-bottom:0;background-color:var(--memos-memo-bg);border-top-left-radius:8px;border-top-right-radius:8px;font-family:RobotoDraft,Roboto,sans-serif;-webkit-font-smoothing:antialiased}.share-memo-image-dialog>.dialog-container>.dialog-content-container{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;position:relative;width:100%;min-height:128px}.share-memo-image-dialog>.dialog-container>.dialog-content-container>.setting-item{display:flex;align-items:center;padding:8px 24px;width:100%;background:var(--memos-memo-bg);border-bottom:1px solid var(--background-modifier-border);border-top:unset}.share-memo-image-dialog>.dialog-container>.dialog-content-container>.tip-words-container{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;width:100%;border-bottom:1px solid var(--memos-bg-lightgray);background-color:var(--memos-memo-bg);padding:0 24px 8px}.share-memo-image-dialog>.dialog-container>.dialog-content-container>.tip-words-container>.tip-text{color:var(--memos-text-gray);font-size:var(--font-ui-small);line-height:24px}.share-memo-image-dialog>.dialog-container>.dialog-content-container>.tip-words-container.loading>.tip-text{animation:1s linear 1s infinite alternate breathing}@keyframes breathing{0%{opacity:1}to{opacity:.4}}.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container{display:flex;flex-direction:column;justify-content:flex-start;width:100%;max-width:100%;height:auto;-webkit-user-select:none;user-select:none;position:relative;align-items:center;padding:var(--size-4-6);padding-top:28px;padding-bottom:var(--size-4-8);background:var(--thino-background-primary)}.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-shortcut-img{position:absolute;top:0;left:0;z-index:1;width:100%;height:auto;border-bottom-left-radius:8px;border-bottom-right-radius:8px}.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background{display:flex;justify-content:center;align-items:center;width:100%;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;position:relative;border-radius:16px;overflow:hidden;-webkit-box-shadow:var(--memos-share-memo-shadow-webkit);box-shadow:var(--shadow-s)}.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.property-image{height:6em;width:100%;position:Absolute;top:0}.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.time-text{width:100%;padding:20px 24px 0;font-size:var(--font-ui-small);color:var(--memos-time-text-color);background-color:var(--memos-bg-lightgray)}.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.background-container{height:6em;background:transparent}.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.thino-user-header{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;padding-left:var(--size-4-6);width:100%;font-size:var(--font-ui-small);background:var(--memos-memo-bg);color:var(--memos-text-faint);padding-top:var(--size-4-3)}.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.thino-user-header .thino-user-icon{display:flex;border-radius:100%;width:34px;height:34px;--icon-size: 18px;background-position:center;background-repeat:no-repeat;background-size:cover;align-items:center;justify-content:center}.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.thino-user-header .thino-user-icon:has(svg:only-child){border:1px solid var(--thino-modifier-border)}.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.thino-user-header .thino-user-info{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;height:100%;width:fit-content;margin-left:var(--size-4-3);gap:var(--size-4-1)}.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.thino-user-header .thino-user-info .thino-user-name{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;height:100%;width:100%;font-size:var(--thino-ui-small);color:var(--memos-text-muted)}.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.thino-user-header .thino-user-info .thino-user-quote{display:flex;flex-direction:column;justify-content:flex-start;align-items:center;height:100%;width:100%;font-size:var(--font-ui-smaller)}.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.thino-time-footer{display:flex;align-items:center;justify-content:flex-end;padding-right:var(--size-4-6);width:100%;font-size:var(--font-ui-small);background:var(--memos-memo-bg);color:var(--memos-text-faint)}.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.memo-content-text{padding-right:8%;padding-bottom:12px;padding-left:9%;padding-top:var(--size-4-1);width:100%;word-wrap:break-word;font-size:var(--font-ui-medium);background-color:var(--memos-memo-bg)}.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.memo-content-text>p:has(img){display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;width:100%;height:auto}.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.memo-content-text>p:has(img)::-webkit-scrollbar{width:0;height:0;cursor:pointer}.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.memo-content-text>p:has(img)::-webkit-scrollbar-thumb{width:0;height:0;border-radius:8px;background-color:#d5d5d5}.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.memo-content-text>p:has(img)::-webkit-scrollbar-thumb:hover{background-color:#ccc}.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.memo-content-text>p:has(img)::-webkit-scrollbar{display:none}.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.memo-content-text>p:has(img)>img{width:100%;height:auto;border-radius:4px}.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.images-container{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;width:100%;height:auto;padding:0 20px 8px;background-color:var(--memos-memo-bg)}.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.images-container::-webkit-scrollbar{width:0;height:0;cursor:pointer}.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.images-container::-webkit-scrollbar-thumb{width:0;height:0;border-radius:8px;background-color:#d5d5d5}.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.images-container::-webkit-scrollbar-thumb:hover{background-color:#ccc}.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.images-container::-webkit-scrollbar{display:none}.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.images-container>img{width:100%;height:auto;margin-bottom:8px;border-radius:4px}.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.watermark-container{display:flex;flex-direction:row;justify-content:space-between;align-items:center;flex-wrap:nowrap;width:100%;padding:16px 26px;height:64px;font-size:10px;background:var(--memos-memo-bg)}.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.watermark-container>.normal-text.footer-start{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;width:100%;font-size:var(--font-ui-smaller);line-height:20px;color:var(--memos-bg-lightgray)}.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.watermark-container>.normal-text.footer-start .property-social-icons{width:1em;height:1em;background-color:var(--memos-bg-black)}.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.watermark-container>.normal-text.footer-start>.name-text{font-size:var(--font-ui-small);color:var(--memos-text-black);margin-left:8px;line-height:20px;text-wrap:nowrap}.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.watermark-container>.normal-text.footer-start>.icon-text{font-size:var(--font-ui-medium);margin-right:6px}.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.watermark-container>.normal-text.footer-end{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;width:100%;font-size:var(--font-ui-smaller);line-height:20px;color:var(--memos-text-gray)}.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.watermark-container>.normal-text.footer-end>.name-text{font-size:var(--font-ui-small);color:var(--memos-text-black);margin-left:4px;line-height:20px;text-wrap:nowrap}.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.watermark-container>.normal-text.footer-end>.icon-text{font-size:var(--font-ui-medium);margin-right:6px}.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container a.tag{border:unset}.share-memo-image-dialog>.dialog-container>.dialog-content-container.minimal .property-image{display:none}.share-memo-image-dialog>.dialog-container>.dialog-content-container.minimal .background-container{display:none}.share-memo-image-dialog>.dialog-container>.dialog-content-container.minimal .memo-container>.memo-background>.thino-user-header{padding-top:var(--size-4-5)}.share-memo-image-dialog>.dialog-container>.dialog-content-container.clean{position:relative}.share-memo-image-dialog>.dialog-container>.dialog-content-container.clean .background-container{display:none}.share-memo-image-dialog>.dialog-container>.dialog-content-container.clean .memo-container>.memo-shortcut-img{z-index:2}.share-memo-image-dialog>.dialog-container>.dialog-content-container.clean .memo-container>.memo-background{z-index:1}.share-memo-image-dialog>.dialog-container>.dialog-content-container.clean .memo-container>.memo-background .property-image{position:absolute;width:100%;height:100%;object-fit:cover;opacity:.2;background-size:cover;background-repeat:no-repeat;background-position:center;z-index:10}.share-memo-image-dialog>.dialog-container>.dialog-content-container.clean .memo-container>.memo-background>.thino-user-header{padding-top:var(--size-4-5);background:var(--thino-share-background-color);z-index:20}.share-memo-image-dialog>.dialog-container>.dialog-content-container.clean .memo-container>.memo-background>.thino-time-footer{background:var(--thino-share-background-color);z-index:20}.share-memo-image-dialog>.dialog-container>.dialog-content-container.clean .memo-container>.memo-background>.memo-content-text{background:var(--thino-share-background-color);z-index:20}.share-memo-image-dialog>.dialog-container>.dialog-content-container.clean .memo-container>.memo-background>.watermark-container{background:var(--thino-share-background-color);z-index:20}.share-memo-image-dialog>.dialog-container>.dialog-content-container.gradient .property-image{display:none}.share-memo-image-dialog>.dialog-container>.dialog-content-container.gradient .background-container{display:none}.share-memo-image-dialog>.dialog-container>.dialog-content-container.gradient .memo-container{background:linear-gradient(to bottom right,#ffc3a0,#ffafbd)}.share-memo-image-dialog>.dialog-container>.dialog-content-container.gradient .memo-container>.memo-background{background:#fffc;opacity:.8}.share-memo-image-dialog>.dialog-container>.dialog-content-container.gradient .memo-container>.memo-background>.thino-user-header{padding-top:var(--size-4-5)}.is-phone .dialog-wrapper.share-memo-image-dialog{padding:64px 16px 24px;justify-content:unset}.is-phone .dialog-wrapper.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.time-text{font-size:var(--font-ui-smaller)}.is-phone .dialog-wrapper.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.thino-user-header{padding-left:var(--size-4-4);padding-right:var(--size-4-4)}.is-phone .dialog-wrapper.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.thino-user-header .thino-user-icon{width:32px;height:32px;min-width:32px;min-height:32px}.is-phone .dialog-wrapper.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.thino-user-header .thino-user-info .thino-user-name{font-size:var(--font-ui-smaller)}.is-phone .dialog-wrapper.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.thino-user-header .thino-user-info .thino-user-quote{font-size:11px}.is-phone .dialog-wrapper.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.memo-content-text{word-break:break-all;font-size:var(--font-size-small)}.is-phone .dialog-wrapper.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.thino-time-footer{font-size:var(--font-ui-smaller)}.is-phone .dialog-wrapper.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.watermark-container{padding:16px 20px}.is-phone .dialog-wrapper.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.watermark-container .normal-text.footer-start .property-social-icons{width:.8rem;height:.8rem}.is-phone .dialog-wrapper.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.watermark-container .normal-text .name-text{font-size:var(--font-ui-smaller)}.is-phone .dialog-wrapper.share-memo-image-dialog::-webkit-scrollbar{display:none}div[data-type=thino_view] .content-wrapper:has(.moments-view:not(.show-editor)) .memo-editor-wrapper:not(.mod-editor-bottom){display:none}div[data-type=thino_view] .content-wrapper:has(.moments-view:not(.show-editor)) .section-header-container{display:none}div[data-type=thino_view] .memos-moments-view#page-wrapper .memolist-wrapper .memolist-container .day-mark{justify-content:flex-end}div[data-type=thino_view] .memos-moments-view#page-wrapper .memolist-wrapper .memolist-container .day-mark.folded:before{width:100%}div[data-type=thino_view] .memos-moments-view#page-wrapper .memolist-wrapper .memolist-container .day-mark.folded:after{display:none}div[data-type=thino_view] .thino-moment-container:has(.memo-wrapper>.memo-editor-wrapper) .thino-moment-user-name{display:none}div[data-type=thino_view]:not(.mobile-view) .content-wrapper:has(.moments-view:not(.show-editor)) .section-header-container{display:inherit}div[data-type=thino_view]:not(.mobile-view) .memos-moments-view .section-header-container.memos-header-container{opacity:0;height:4px;transition:.3s all ease-in .2s}div[data-type=thino_view]:not(.mobile-view) .memos-moments-view .section-header-container.memos-header-container:has(~.memo-editor-wrapper:not(.edit-ing)):has(~.filter-query-container.thino-hidden):has(~.memolist-wrapper .moments-view-background-wrapper:hover){height:40px;opacity:1;transition:.6s all ease-in .2s}div[data-type=thino_view]:not(.mobile-view) .memos-moments-view .section-header-container.memos-header-container:hover{height:40px;opacity:1}div[data-type=thino_view].mobile-view .content-wrapper:has(.moments-view:not(.show-editor)){padding-top:var(--size-2-2)}div[data-type=thino_view].mobile-view .content-wrapper:has(.moments-view:not(.show-editor)) .section-header-container{display:flex;padding-left:12px;padding-right:12px;padding-bottom:0}div[data-type=thino_view].mobile-view .content-wrapper:has(.moments-view:not(.show-editor)) .memo-editor-wrapper:not(.mod-editor-bottom){display:none}.is-mobile:not(.is-tablet) div[data-type=thino_view].mobile-view .content-wrapper:has(.moments-view:not(.show-editor)) .memo-editor-wrapper:not(.mod-editor-bottom){display:none}.is-mobile:not(.is-tablet) div[data-type=thino_view].mobile-view .content-wrapper:has(.moments-view:not(.show-editor)) .section-header-container{display:none}div[data-type=thino_view].mobile-view .memolist-wrapper:has(.moments-view){padding-left:0;padding-right:0}div[data-type=thino_view].mobile-view .view-content:has(.moments-view){padding-left:0;padding-right:0}.is-mobile:not(.is-tablet) div[data-type=thino_view].mobile-view .view-content:not(:has(.show-editor.moments-view)){padding-top:0}.is-mobile div[data-type=thino_view].mobile-view .view-content:has(.filter-query-container:not(.thino-hidden)){padding-top:var(--size-4-3)}div[data-type=thino_view].mobile-view .view-content:not(:has(.show-editor.moments-view)){padding-top:var(--size-4-2)}div[data-type=thino_view].mobile-view .thino-moment-wrapper{padding-left:var(--size-4-2);padding-right:var(--size-4-2)}div[data-type=thino_view].tiny-view .moments-view .moments-view-background-wrapper .moments-view-background{height:220px!important}div[data-type=thino_view] .moments-view{width:100%;display:flex;flex-direction:column;gap:var(--size-4-2)}div[data-type=thino_view] .moments-view .moments-view-background-wrapper{position:relative;width:100%;height:fit-content}div[data-type=thino_view] .moments-view .moments-view-background-wrapper .moments-show-editor-btn{--icon-size: var(--size-4-6);color:var(--thino-modern-text-faint-hover);position:absolute;display:flex;align-items:center;justify-content:center;right:var(--size-4-8);top:var(--size-4-4)}div[data-type=thino_view] .moments-view .moments-view-background-wrapper .moments-view-background{width:100%;height:290px;background-repeat:no-repeat;background-size:cover;background-position:center}div[data-type=thino_view] .moments-view .moments-view-background-wrapper .moments-view-background-overlay{margin-right:var(--size-4-4);margin-top:-72px;display:flex;flex-direction:column;align-items:flex-end;justify-content:flex-end;gap:var(--size-4-2);margin-bottom:var(--size-4-3)}div[data-type=thino_view] .moments-view .moments-view-background-wrapper .moments-view-background-overlay .moments-view-user-idea{font-weight:500;min-height:18px}div[data-type=thino_view] .moments-view .moments-view-background-wrapper .moments-view-background-overlay .moments-view-user-info{display:flex;flex-direction:row;margin-top:32px;gap:var(--size-4-2);align-items:center}div[data-type=thino_view] .moments-view .moments-view-background-wrapper .moments-view-background-overlay .moments-view-user-info .moments-view-user-name{white-space:nowrap;margin-right:var(--size-4-2);font-size:var(--thino-ui-small);color:var(--thino-modern-text-faint-hover);font-weight:700;padding-bottom:var(--size-4-2)}div[data-type=thino_view] .moments-view .moments-view-background-wrapper .moments-view-background-overlay .moments-view-user-info .moments-view-user-icon{width:52px;height:52px;background-repeat:no-repeat;background-size:cover;border-radius:var(--memos-radius-l);background-position:center;display:flex;align-items:center;justify-content:center;background-color:var(--memos-memo-bg-primary);--icon-size: 22px}div[data-type=thino_view] .moments-view .thino-moment-wrapper{display:flex;flex-direction:row;width:100%;min-height:105px;gap:var(--size-4-2);padding-top:var(--size-2-2);padding-bottom:var(--size-4-2);padding-left:var(--size-2-2);padding-right:var(--size-2-2);position:relative}div[data-type=thino_view] .moments-view .thino-moment-wrapper .thino-moment-icon{width:32px;min-width:32px;height:var(--size-4-8);background-repeat:no-repeat;background-size:cover;border-radius:var(--radius-m);display:flex;align-items:center;justify-content:center;background-color:var(--memos-memo-bg-primary);--icon-size: 14px}div[data-type=thino_view] .moments-view .thino-moment-wrapper .thino-moment-container{width:100%;padding-top:var(--size-2-1);display:flex;flex-direction:column}div[data-type=thino_view] .moments-view .thino-moment-wrapper .thino-moment-container .thino-moment-user-name{color:var(--color-blue-tint);font-size:var(--thino-ui-small);font-weight:700}div[data-type=thino_view] .moments-view .thino-moment-wrapper .thino-moment-container .thino-moment-user-content{display:flex;height:100%;flex-direction:column}div[data-type=thino_view] .moments-view .thino-moment-wrapper .thino-moment-container .thino-moment-user-content .memo-wrapper{height:100%;flex-direction:column-reverse;border:unset;padding-left:0;padding-right:0;padding-bottom:0;padding-top:var(--size-2-2);background-color:unset}div[data-type=thino_view] .moments-view .thino-moment-wrapper .thino-moment-container .thino-moment-user-content .memo-wrapper .memo-content-text{padding-bottom:var(--size-4-3)}div[data-type=thino_view] .moments-view .thino-moment-wrapper .thino-moment-container .thino-moment-user-content .memo-wrapper p:first-child{margin-block-start:0}div[data-type=thino_view] .moments-view .thino-moment-wrapper .thino-moment-container .thino-moment-user-content .memo-wrapper p{margin-block-start:calc(var(--p-spacing) * .5);margin-block-end:calc(var(--p-spacing) * .5)}div[data-type=thino_view] .moments-view .thino-moment-wrapper .thino-moment-container .thino-moment-user-content .memo-wrapper .memo-top-wrapper .time-text{font-size:13px;color:var(--thino-modern-text-faint);font-weight:500}div[data-type=thino_view] .moments-view .thino-moment-wrapper .thino-moment-container .thino-moment-user-content .memo-wrapper .memo-top-wrapper .time-text:hover{color:var(--memos-text-muted)}div[data-type=thino_view] .moments-view .thino-moment-wrapper .thino-moment-container .thino-moment-user-content .memo-wrapper .memo-top-wrapper .btn.more-action-btn{background-color:var(--thino-button-text-faint);padding:var(--size-2-1);border-radius:var(--memos-radius-m)}div[data-type=thino_view] .moments-view .thino-moment-wrapper .thino-moment-container .thino-moment-user-content .memo-wrapper .memo-top-wrapper .btns-container{gap:var(--size-4-2)}div[data-type=thino_view] .moments-view .thino-moment-wrapper .thino-moment-container .thino-moment-user-content .memo-wrapper .memo-top-wrapper .btns-container>.btn{margin-right:0;color:var(--memos-text-faint)}div[data-type=thino_view] .moments-view .thino-moment-wrapper .thino-moment-container .thino-moment-user-content .memo-wrapper .memo-top-wrapper .btns-container>.more-action-btns-wrapper{top:calc(100% - 14px);right:-10px}div[data-type=thino_view] .moments-view .thino-moment-wrapper .thino-moment-container .thino-moment-user-content .memo-wrapper:hover{border:unset}div[data-type=thino_view] .moments-view .thino-moment-wrapper .thino-moment-container .thino-moment-time-menu-group{display:flex;justify-content:space-between;width:100%;align-items:center}div[data-type=thino_view] .moments-view .thino-moment-wrapper .thino-moment-container .thino-moment-time-menu-group .thino-moment-time{font-size:13px;color:var(--thino-modern-text-faint);font-weight:700}div[data-type=thino_view] .moments-view .thino-moment-wrapper .thino-moment-container .thino-moment-time-menu-group .thino-moment-menu{background-color:var(--thino-background-primary);padding:var(--size-2-2);border-radius:var(--memos-radius-m)}div[data-type=thino_view] .moments-view .thino-moment-wrapper .thino-moment-container .thino-moment-time-menu-group .thino-moment-menu .thino-moment-menu-icon{display:flex}div[data-type=thino_view] .moments-view .thino-moment-wrapper:after{display:block;width:100%;content:"";flex:1;height:1px;background:linear-gradient(to right,var(--thino-divider),var(--thino-divider-hover) 50%,var(--thino-divider));position:absolute;bottom:0}.dialog-wrapper.memo-card-dialog>.dialog-container{padding:var(--size-4-4);background-color:transparent}.dialog-wrapper.memo-card-dialog>.dialog-container>*{flex-shrink:0}.dialog-wrapper.memo-card-dialog>.dialog-container>.memo-card-container{position:relative;display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;width:512px;min-height:64px;max-width:100%;padding:12px 24px;margin-bottom:12px;border-radius:8px;background-color:var(--memos-bg-paper-yellow)}.dialog-wrapper.memo-card-dialog>.dialog-container>.memo-card-container>*{z-index:1}.dialog-wrapper.memo-card-dialog>.dialog-container>.memo-card-container>.header-container{display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%;height:auto;padding-bottom:0;margin-bottom:0;margin-top:0}.dialog-wrapper.memo-card-dialog>.dialog-container>.memo-card-container>.header-container>.time-text{font-size:var(--thino-ui-small);color:gray;font-family:ubuntu-mono,SFMono-Regular,Menlo,Consolas,PT Mono,Liberation Mono,Courier,monospace}.dialog-wrapper.memo-card-dialog>.dialog-container>.memo-card-container>.header-container>.btns-container{display:flex;flex-direction:row;justify-content:flex-end;align-items:center}.dialog-wrapper.memo-card-dialog>.dialog-container>.memo-card-container>.header-container>.btns-container>.btn{background-color:transparent;padding:var(--size-2-2);width:var(--size-4-6);margin-right:var(--size-4-2)}.dialog-wrapper.memo-card-dialog>.dialog-container>.memo-card-container>.header-container>.btns-container>.btn:hover{background-color:var(--memos-memo-bg)}.dialog-wrapper.memo-card-dialog>.dialog-container>.memo-card-container>.header-container>.btns-container>.btn>.icon-img{width:20px;height:20px}.dialog-wrapper.memo-card-dialog>.dialog-container>.memo-card-container>.memo-container{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;width:100%;padding-top:8px}.dialog-wrapper.memo-card-dialog>.dialog-container>.memo-card-container>.memo-container>.memo-content-text{width:100%;font-size:16px;line-height:1.6;word-wrap:break-word;word-break:break-all;padding-top:4px}.dialog-wrapper.memo-card-dialog>.dialog-container>.memo-card-container>.memo-container>.memo-content-text .tag-span{font-size:var(--thino-ui-small);color:var(--memos-text-blue);background-color:unset;padding:0 6px 0 4px;margin:0 0 0 4px;cursor:unset}.dialog-wrapper.memo-card-dialog>.dialog-container>.memo-card-container>.memo-container>.images-wrapper{display:flex;flex-direction:row;justify-content:flex-start;align-items:flex-start;margin-top:8px;width:100%;overflow-x:auto;overflow-y:hidden;padding-bottom:2px}.dialog-wrapper.memo-card-dialog>.dialog-container>.memo-card-container>.memo-container>.images-wrapper::-webkit-scrollbar{width:0;height:2px;cursor:pointer}.dialog-wrapper.memo-card-dialog>.dialog-container>.memo-card-container>.memo-container>.images-wrapper::-webkit-scrollbar-thumb{width:0;height:2px;border-radius:8px;background-color:#d5d5d5}.dialog-wrapper.memo-card-dialog>.dialog-container>.memo-card-container>.memo-container>.images-wrapper::-webkit-scrollbar-thumb:hover{background-color:#ccc}.dialog-wrapper.memo-card-dialog>.dialog-container>.memo-card-container>.memo-container>.images-wrapper>.memo-img{margin-right:8px;width:auto;height:128px;flex-shrink:0;flex-grow:0;overflow-y:hidden}.dialog-wrapper.memo-card-dialog>.dialog-container>.memo-card-container>.memo-container>.images-wrapper>.memo-img::-webkit-scrollbar{width:0;height:0;cursor:pointer}.dialog-wrapper.memo-card-dialog>.dialog-container>.memo-card-container>.memo-container>.images-wrapper>.memo-img::-webkit-scrollbar-thumb{width:0;height:0;border-radius:8px;background-color:#d5d5d5}.dialog-wrapper.memo-card-dialog>.dialog-container>.memo-card-container>.memo-container>.images-wrapper>.memo-img::-webkit-scrollbar-thumb:hover{background-color:#ccc}.dialog-wrapper.memo-card-dialog>.dialog-container>.memo-card-container>.memo-container>.images-wrapper>.memo-img::-webkit-scrollbar{display:none}.dialog-wrapper.memo-card-dialog>.dialog-container>.memo-card-container>.memo-container>.images-wrapper>.memo-img:hover{border-color:var(--memos-bg-lightgray)}.dialog-wrapper.memo-card-dialog>.dialog-container>.memo-card-container>.memo-container>.images-wrapper>.memo-img:last-child{margin-right:0}.dialog-wrapper.memo-card-dialog>.dialog-container>.memo-card-container>.memo-container>.images-wrapper>.memo-img>img{width:auto;max-height:128px;border-radius:8px}.dialog-wrapper.memo-card-dialog>.dialog-container>.memo-card-container>.normal-text{margin-top:8px;font-size:var(--font-ui-small);color:gray}.dialog-wrapper.memo-card-dialog>.dialog-container>.memo-card-container>.layer-container,.dialog-wrapper.memo-card-dialog>.dialog-container>.memo-card-container>.background-layer-container{position:absolute;bottom:-3px;left:3px;width:calc(100% - 6px);height:100%;border-radius:8px;z-index:-1;background-color:var(--memos-bg-paper-yellow);border-bottom:1px solid var(--memos-bg-lightgray)}.dialog-wrapper.memo-card-dialog>.dialog-container>.memo-card-container>.layer-container{z-index:0;background-color:var(--memos-bg-paper-yellow);border:1px solid var(--memos-bg-lightgray);width:100%;height:100%;position:absolute;top:0;left:0}.dialog-wrapper.memo-card-dialog>.dialog-container>.linked-memos-wrapper{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;width:512px;max-width:100%;margin-top:8px;padding:12px 24px;border-radius:8px;background-color:var(--memos-memo-bg)}.dialog-wrapper.memo-card-dialog>.dialog-container>.linked-memos-wrapper:last-child{margin-bottom:36px}.dialog-wrapper.memo-card-dialog>.dialog-container>.linked-memos-wrapper>.normal-text{font-size:var(--font-ui-small)}.dialog-wrapper.memo-card-dialog>.dialog-container>.linked-memos-wrapper>.linked-memo-container{font-size:var(--font-ui-small);line-height:24px;margin-top:8px;cursor:pointer;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dialog-wrapper.memo-card-dialog>.dialog-container>.linked-memos-wrapper>.linked-memo-container:hover{opacity:.8}.dialog-wrapper.memo-card-dialog>.dialog-container>.linked-memos-wrapper>.linked-memo-container>.time-text{color:gray;font-family:ubuntu-mono,SFMono-Regular,Menlo,Consolas,PT Mono,Liberation Mono,Courier,monospace}@media only screen and (max-width: 875px){div[data-type=thino_view] .dialog-wrapper.memo-card-dialog{padding:64px 16px 24px}}div[data-type=thino_view] .markdown-rendered hr{width:100%}div[data-type=thino_view] .memo-content-text{-webkit-user-select:text;user-select:text;height:100%;word-wrap:break-word;font-family:var(--font-text)}div[data-type=thino_view] .memo-content-text.raw-content{display:flex!important;flex-direction:column}div[data-type=thino_view] .memo-content-text.raw-content button{width:80px;margin-bottom:10px}div[data-type=thino_view] .memo-content-text.raw-content textarea{height:600px}div[data-type=thino_view] .thino-collapse-shadowOverlay{background-image:linear-gradient(transparent,var(--thino-background-primary));width:100%;height:40px;margin-top:-40px}div[data-type=thino_view] .memos-chat-view .chat-view:is(.fluent-style,.inline-style) .thino-collapse-shadowOverlay{background-image:unset;width:100%;height:40px;margin-top:-40px}div[data-type=thino_view] button:not(.clickable-icon).thino-collapse-button{box-shadow:none;color:var(--color-green);padding-left:0;padding-right:0;font-weight:600}div[data-type=thino_view] button:not(.clickable-icon).thino-collapse-button:hover{background:inherit;color:var(--memos-text-accent)}div[data-type=thino_view] .chat-view:is(.fluent-style,.inline-style) button:not(.clickable-icon).thino-collapse-button{color:var(--text-normal);font-size:var(--font-ui-small);border-radius:var(--button-radius);background:var(--thino-background-secondary);padding:var(--size-4-1) var(--size-4-3);height:var(--input-height);font-weight:var(--input-font-weight);cursor:var(--cursor);box-shadow:var(--input-shadow)}div[data-type=thino_view] .daily-memo-wrapper .memo-content-text,div[data-type=thino_view] .daily-memo-wrapper .memo-comment-text{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;width:100%;word-wrap:break-word;word-break:break-word;white-space:pre-wrap;color:var(--memos-text-black);-webkit-user-select:text;user-select:text}div[data-type=thino_view] .daily-memo-wrapper .memo-content-text>p,div[data-type=thino_view] .daily-memo-wrapper .memo-comment-text>p{display:inline-block;width:100%;height:auto;margin-bottom:4px;font-size:var(--font-ui-medium);line-height:24px;min-height:24px;white-space:pre-wrap;color:var(--memos-text-black)}div[data-type=thino_view] .daily-memo-wrapper .memo-content-text>p>a,div[data-type=thino_view] .daily-memo-wrapper .memo-comment-text>p>a{overflow:hidden;text-overflow:ellipsis;word-break:break-all;white-space:nowrap}div[data-type=thino_view] .daily-memo-wrapper .memo-content-text>p>a.external-link,div[data-type=thino_view] .daily-memo-wrapper .memo-comment-text>p>a.external-link{white-space:unset;display:inline;width:100%}div[data-type=thino_view] .daily-memo-wrapper .memo-content-text>p>a.tag,div[data-type=thino_view] .daily-memo-wrapper .memo-comment-text>p>a.tag{white-space:unset}div[data-type=thino_view] .daily-memo-wrapper .memo-content-text .callout,div[data-type=thino_view] .daily-memo-wrapper .memo-comment-text .callout{width:100%}div[data-type=thino_view] .daily-memo-wrapper .memo-content-text .tag-span,div[data-type=thino_view] .daily-memo-wrapper .memo-comment-text .tag-span{display:inline-block;width:auto;padding-left:4px;padding-right:6px;margin-left:4px;line-height:24px;font-size:var(--font-ui-small);border:none;border-radius:4px;background-color:var(--memos-bg-light-blue);cursor:pointer;vertical-align:bottom}div[data-type=thino_view] .daily-memo-wrapper .memo-content-text .tag-span:hover,div[data-type=thino_view] .daily-memo-wrapper .memo-comment-text .tag-span:hover{background-color:var(--memos-text-blue);color:var(--memos-text-hover)}div[data-type=thino_view] .daily-memo-wrapper .memo-content-text .memo-link-text,div[data-type=thino_view] .daily-memo-wrapper .memo-comment-text .memo-link-text{display:inline-block;color:var(--memos-text-blue);font-weight:700;border-bottom:none;text-decoration:none;cursor:pointer}div[data-type=thino_view] .daily-memo-wrapper .memo-content-text .memo-link-text:hover,div[data-type=thino_view] .daily-memo-wrapper .memo-comment-text .memo-link-text:hover{opacity:.8}div[data-type=thino_view] .daily-memo-wrapper .memo-content-text .counter-block,div[data-type=thino_view] .daily-memo-wrapper .memo-comment-text .counter-block,div[data-type=thino_view] .daily-memo-wrapper .memo-content-text .todo-block,div[data-type=thino_view] .daily-memo-wrapper .memo-comment-text .todo-block{display:inline-block;text-align:center;width:1.4rem;font-family:ubuntu-mono,SFMono-Regular,Menlo,Consolas,PT Mono,Liberation Mono,Courier,monospace}div[data-type=thino_view] .daily-memo-wrapper .memo-content-text pre,div[data-type=thino_view] .daily-memo-wrapper .memo-comment-text pre{width:100%;margin:4px 0;padding:8px 12px;border-radius:4px;font-size:var(--font-ui-medium);line-height:1.5;background:var(--code-background);white-space:pre-wrap}div[data-type=thino_view] .memolist-wrapper .memo-content-text{width:100%;overflow-wrap:break-word;display:block;-webkit-user-select:text;user-select:text;overflow-x:scroll}div[data-type=thino_view] .memolist-wrapper .memo-content-text::-webkit-scrollbar{width:0;height:0;cursor:pointer}div[data-type=thino_view] .memolist-wrapper .memo-content-text::-webkit-scrollbar-thumb{width:0;height:0;border-radius:8px;background-color:#d5d5d5}div[data-type=thino_view] .memolist-wrapper .memo-content-text::-webkit-scrollbar-thumb:hover{background-color:#ccc}div[data-type=thino_view] .memolist-wrapper .memo-content-text::-webkit-scrollbar{display:none}div[data-type=thino_view] .memolist-wrapper .memo-content-text.is-selecting-text{-webkit-user-select:text;user-select:text}div[data-type=thino_view] .memolist-wrapper .memo-content-text.mobile-view>p{font-size:var(--font-ui-medium);line-height:26px;min-height:26px}div[data-type=thino_view] .memolist-wrapper .memo-content-text.mobile-view .tag-span{line-height:26px;font-size:var(--thino-ui-small)}div[data-type=thino_view] .memolist-wrapper .memo-content-text .tag-span{display:inline-block;width:auto;padding-left:4px;padding-right:6px;margin-left:4px;line-height:24px;font-size:var(--font-ui-small);border:none;border-radius:4px;background-color:var(--memos-bg-light-blue);cursor:pointer;vertical-align:bottom}div[data-type=thino_view] .memolist-wrapper .memo-content-text .tag-span:hover{background-color:var(--memos-text-blue);color:var(--memos-text-hover)}div[data-type=thino_view] .memolist-wrapper .memo-content-text .memo-link-text{display:inline-block;color:var(--memos-text-blue);font-weight:700;border-bottom:none;text-decoration:none;cursor:pointer}div[data-type=thino_view] .memolist-wrapper .memo-content-text .memo-link-text:hover{opacity:.8}div[data-type=thino_view] .memolist-wrapper .memo-content-text .counter-block,div[data-type=thino_view] .memolist-wrapper .memo-content-text .todo-block{display:inline-block;text-align:center;width:1.4rem;font-family:ubuntu-mono,SFMono-Regular,Menlo,Consolas,PT Mono,Liberation Mono,Courier,monospace}div[data-type=thino_view] .memolist-wrapper .memo-content-text pre{width:100%;margin:4px 0;padding:8px 12px;border-radius:4px;font-size:var(--font-ui-medium);line-height:1.5;background:var(--code-background);white-space:pre-wrap}div[data-type=thino_view] .memolist-wrapper .memo-content-text ul.contains-task-list{margin-top:0;margin-bottom:0;margin-block-start:calc(var(--p-spacing) * 1 / 2);margin-block-end:calc(var(--p-spacing) * 1 / 2);line-height:14px}div[data-type=thino_view] .memolist-wrapper .memo-content-text ul.contains-task-list li.task-list-item .task-list-item-checkbox{vertical-align:bottom}div[data-type=thino_view] .memolist-wrapper .memo-content-text ul.contains-task-list li{line-height:1.4}div[data-type=thino_view] .memolist-wrapper .memo-content-text ul,div[data-type=thino_view] .memolist-wrapper .memo-content-text ol{margin-block-start:calc(var(--p-spacing) / 2);margin-block-end:calc(var(--p-spacing) / 2)}div[data-type=thino_view] .memolist-wrapper .memo-content-text>ul{margin-top:0;margin-bottom:0;margin-block-start:0;margin-block-end:0;line-height:14px}div[data-type=thino_view] .memolist-wrapper .memo-content-text>ul li{line-height:1.4}div[data-type=thino_view] .memolist-wrapper .memo-content-text>p{display:inline-block;width:100%;height:auto;font-size:var(--font-ui-medium);line-height:26px;min-height:26px;margin-block-start:calc(var(--p-spacing) / 2);margin-block-end:calc(var(--p-spacing) / 2);color:var(--memos-text-black)}div[data-type=thino_view] .memolist-wrapper .memo-content-text>p>a{overflow:hidden;text-overflow:ellipsis;word-break:break-all;white-space:nowrap}div[data-type=thino_view] .memolist-wrapper .memo-content-text>p>a.external-link{white-space:unset;display:inline;width:100%}div[data-type=thino_view] .memolist-wrapper .memo-content-text>p>a.tag{white-space:unset}div[data-type=thino_view] .memolist-wrapper .memo-content-text>p:has(+ol,+ul)+ol,div[data-type=thino_view] .memolist-wrapper .memo-content-text>p:has(+ol,+ul)+ul{margin-block-start:0;margin-block-end:0}.theme-dark div[data-type=thino_view].mobile-view .memolist-wrapper .memo-content-text{color:var(--memos-text-black)}.theme-dark div[data-type=thino_view].mobile-view .memolist-wrapper .memo-content-text>p{font-size:var(--font-ui-medium);line-height:26px;min-height:26px;color:var(--memos-text-black)}.theme-dark div[data-type=thino_view].mobile-view .memolist-wrapper .memo-content-text .tag-span{line-height:26px;font-size:var(--thino-ui-small)}div[data-type=thino_view] .memo-wrapper,.thino-hover-popover .memo-wrapper,.block-language-thino .thino-embed-container .memo-wrapper{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;width:100%;padding:12px 18px;background-color:var(--memos-memo-bg);border-radius:8px;border:1px solid var(--memos-memo-border);position:relative}div[data-type=thino_view] .memo-wrapper:hover,.thino-hover-popover .memo-wrapper:hover,.block-language-thino .thino-embed-container .memo-wrapper:hover{border-color:var(--memos-memo-border-hover)}div[data-type=thino_view] .memo-wrapper:hover>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.unpinned-btn,.thino-hover-popover .memo-wrapper:hover>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.unpinned-btn,.block-language-thino .thino-embed-container .memo-wrapper:hover>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.unpinned-btn{transition:opacity .3s ease-in-out;opacity:1}div[data-type=thino_view] .memo-wrapper:hover>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.source-type-btn,.thino-hover-popover .memo-wrapper:hover>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.source-type-btn,.block-language-thino .thino-embed-container .memo-wrapper:hover>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.source-type-btn{transition:opacity .3s ease-in-out;opacity:1}div[data-type=thino_view] .memo-wrapper.mobile-view .memo-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container,.thino-hover-popover .memo-wrapper.mobile-view .memo-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container,.block-language-thino .thino-embed-container .memo-wrapper.mobile-view .memo-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container{line-height:0}div[data-type=thino_view] .memo-wrapper.mobile-view .waterfall-view .time-text,.thino-hover-popover .memo-wrapper.mobile-view .waterfall-view .time-text,.block-language-thino .thino-embed-container .memo-wrapper.mobile-view .waterfall-view .time-text{max-width:75px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper,.thino-hover-popover .memo-wrapper>.memo-top-wrapper,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper{display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%;height:24px;margin-bottom:var(--size-2-1);cursor:grab}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper.dragging,.thino-hover-popover .memo-wrapper>.memo-top-wrapper.dragging,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper.dragging{cursor:grabbing}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper .drag-handler,.thino-hover-popover .memo-wrapper>.memo-top-wrapper .drag-handler,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper .drag-handler{visibility:hidden;font-size:18px}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-left-wrapper,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-left-wrapper,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-left-wrapper{display:flex;flex-direction:row;justify-content:flex-start;align-items:center}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-left-wrapper>.time-text,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-left-wrapper>.time-text,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-left-wrapper>.time-text{font-size:var(--font-ui-small);line-height:24px;color:var(--memos-text-faint);flex-shrink:0;cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-left-wrapper>.time-text.source-path,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-left-wrapper>.time-text.source-path,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-left-wrapper>.time-text.source-path{margin-left:var(--size-2-2)}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-left-wrapper>.time-text:hover,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-left-wrapper>.time-text:hover,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-left-wrapper>.time-text:hover{color:var(--memos-text-muted)}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-left-wrapper>.memo-type-img,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-left-wrapper>.memo-type-img,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-left-wrapper>.memo-type-img{height:20px;margin-left:var(--size-2-2);--checkbox-size: 14px}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper{display:flex;flex-direction:row;justify-content:flex-end;align-items:center}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.comment-button-wrapper,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.comment-button-wrapper,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.comment-button-wrapper{display:flex;flex-direction:row;justify-content:center;align-items:center;font-size:var(--font-ui-smaller);width:40%;height:21px;margin-right:4px}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;position:relative;flex-shrink:0}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container .pinned-btn,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container .pinned-btn,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container .pinned-btn{padding:var(--size-2-2);border-radius:var(--radius-s);width:var(--size-4-7);opacity:.5;color:var(--memos-text-muted)}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container .pinned-btn:hover,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container .pinned-btn:hover,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container .pinned-btn:hover{background-color:var(--memos-memo-bg-hover);opacity:1}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container .source-type-btn,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container .source-type-btn,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container .source-type-btn{margin-right:var(--size-2-2);opacity:0;padding:var(--size-2-2);border-radius:var(--radius-s);width:var(--size-4-7)}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container .source-type-btn:hover,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container .source-type-btn:hover,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container .source-type-btn:hover{opacity:1;background-color:var(--memos-memo-bg-hover)}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container .fix-memo-btn,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container .fix-memo-btn,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container .fix-memo-btn{margin-right:var(--size-2-2);padding:var(--size-2-2);border-radius:var(--radius-s);width:var(--size-4-7)}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container .fix-memo-btn:hover,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container .fix-memo-btn:hover,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container .fix-memo-btn:hover{opacity:1;background-color:var(--memos-memo-bg-hover);color:var(--memos-accent-hover)}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container .unpinned-btn,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container .unpinned-btn,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container .unpinned-btn{padding:var(--size-2-2);border-radius:var(--radius-s);width:var(--size-4-7);opacity:0}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container .unpinned-btn:hover,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container .unpinned-btn:hover,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container .unpinned-btn:hover{background-color:var(--memos-memo-bg-hover);color:var(--memos-accent-hover);opacity:1}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper{display:flex;flex-direction:column;justify-content:flex-start;align-items:center;flex-wrap:nowrap;width:auto;height:auto;padding:12px;z-index:1;min-width:140px}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container{width:100%;height:auto;line-height:18px;padding:var(--size-2-2);padding-left:var(--size-2-3);white-space:nowrap;border-radius:var(--memos-radius-m);background-color:var(--memos-more-action-bg);box-shadow:var(--memos-memo-shadow);z-index:1}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container>hr,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container>hr,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container>hr{color:var(--memos-bg-lightgray)}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-btn-group.more-action-menu-item,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-btn-group.more-action-menu-item,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-btn-group.more-action-menu-item{display:flex;justify-content:space-between;align-items:center;width:100%;padding:var(--size-2-2) var(--size-4-1) var(--size-4-1)}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-btn-group.more-action-menu-item>.more-action-item-icon,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-btn-group.more-action-menu-item>.more-action-item-icon,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-btn-group.more-action-menu-item>.more-action-item-icon{display:flex;justify-content:center;padding:var(--size-2-2);width:34%;border-radius:var(--memos-radius-m);cursor:pointer;--icon-size: 18px}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-btn-group.more-action-menu-item>.more-action-item-icon:hover,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-btn-group.more-action-menu-item>.more-action-item-icon:hover,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-btn-group.more-action-menu-item>.more-action-item-icon:hover{background-color:var(--memos-memo-bg-hover);color:var(--memos-accent-hover)}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-btn-group.more-action-menu-item:hover,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-btn-group.more-action-menu-item:hover,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-btn-group.more-action-menu-item:hover{background-color:unset;color:inherit}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .text-count-item.more-action-menu-item,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .text-count-item.more-action-menu-item,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .text-count-item.more-action-menu-item{display:flex;justify-content:center;align-items:center;width:100%;cursor:unset}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .text-count-item.more-action-menu-item:hover,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .text-count-item.more-action-menu-item:hover,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .text-count-item.more-action-menu-item:hover{background-color:inherit;color:inherit}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item{display:flex;justify-content:flex-start;align-items:center;gap:var(--size-2-2);padding-left:var(--size-4-3);color:var(--memos-text-muted);border-radius:var(--memos-radius-s);cursor:pointer}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item>.more-action-item-icon,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item>.more-action-item-icon,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item>.more-action-item-icon{display:flex;--icon-size: 18px}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item>.btn,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item>.btn,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item>.btn{width:100%;padding:8px 0 8px 6px;border-radius:4px;height:unset;line-height:unset;justify-content:flex-start}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item>.btn.text-count-btn,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item>.btn.text-count-btn,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item>.btn.text-count-btn{justify-content:flex-end}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item>.btn.delete-btn,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item>.btn.delete-btn,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item>.btn.delete-btn{color:var(--memos-text-light-red)}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item>.btn.delete-btn.final-confirm,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item>.btn.delete-btn.final-confirm,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item>.btn.delete-btn.final-confirm{font-weight:700}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item.archive-menu-item,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item.archive-menu-item,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item.archive-menu-item,div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item.delete-menu-item,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item.delete-menu-item,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item.delete-menu-item{color:var(--memos-text-light-red)}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item.archive-menu-item:hover,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item.archive-menu-item:hover,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item.archive-menu-item:hover,div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item.delete-menu-item:hover,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item.delete-menu-item:hover,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item.delete-menu-item:hover{color:var(--memos-text-light-red)}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item:hover,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item:hover,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item:hover{background-color:var(--memos-memo-bg-hover);color:var(--memos-text-hover)}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container .btn,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container .btn,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container .btn{display:flex;flex-direction:row;justify-content:center;align-items:center;margin-right:var(--size-2-2);font-size:var(--font-ui-small);border-radius:4px;color:var(--memos-text-muted);--icon-size: 18px}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container .btn.more-action-btn,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container .btn.more-action-btn,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container .btn.more-action-btn{width:28px;margin-right:-6px;opacity:.8}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container .btn.more-action-btn>.icon-img,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container .btn.more-action-btn>.icon-img,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container .btn.more-action-btn>.icon-img{width:16px;height:16px}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container .btn.more-action-btn:hover,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container .btn.more-action-btn:hover,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container .btn.more-action-btn:hover{background-color:unset;color:var(--memos-accent-hover)}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper:hover .drag-handler,.thino-hover-popover .memo-wrapper>.memo-top-wrapper:hover .drag-handler,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper:hover .drag-handler{visibility:visible}div[data-type=thino_view] .memo-wrapper>.images-wrapper,.thino-hover-popover .memo-wrapper>.images-wrapper,.block-language-thino .thino-embed-container .memo-wrapper>.images-wrapper{display:flex;flex-direction:row;justify-content:flex-start;align-items:flex-start;margin-top:8px;width:100%;overflow-x:auto;overflow-y:hidden;padding-bottom:4px}div[data-type=thino_view] .memo-wrapper>.images-wrapper::-webkit-scrollbar,.thino-hover-popover .memo-wrapper>.images-wrapper::-webkit-scrollbar,.block-language-thino .thino-embed-container .memo-wrapper>.images-wrapper::-webkit-scrollbar{width:0;height:2px;cursor:pointer}div[data-type=thino_view] .memo-wrapper>.images-wrapper::-webkit-scrollbar-thumb,.thino-hover-popover .memo-wrapper>.images-wrapper::-webkit-scrollbar-thumb,.block-language-thino .thino-embed-container .memo-wrapper>.images-wrapper::-webkit-scrollbar-thumb{width:0;height:2px;border-radius:8px;background-color:#d5d5d5}div[data-type=thino_view] .memo-wrapper>.images-wrapper::-webkit-scrollbar-thumb:hover,.thino-hover-popover .memo-wrapper>.images-wrapper::-webkit-scrollbar-thumb:hover,.block-language-thino .thino-embed-container .memo-wrapper>.images-wrapper::-webkit-scrollbar-thumb:hover{background-color:#ccc}div[data-type=thino_view] .memo-wrapper>.images-wrapper>.memo-img,.thino-hover-popover .memo-wrapper>.images-wrapper>.memo-img,.block-language-thino .thino-embed-container .memo-wrapper>.images-wrapper>.memo-img{margin-right:8px;width:auto;height:128px;flex-shrink:0;flex-grow:0;overflow-y:hidden}div[data-type=thino_view] .memo-wrapper>.images-wrapper>.memo-img::-webkit-scrollbar,.thino-hover-popover .memo-wrapper>.images-wrapper>.memo-img::-webkit-scrollbar,.block-language-thino .thino-embed-container .memo-wrapper>.images-wrapper>.memo-img::-webkit-scrollbar{width:0;height:0;cursor:pointer}div[data-type=thino_view] .memo-wrapper>.images-wrapper>.memo-img::-webkit-scrollbar-thumb,.thino-hover-popover .memo-wrapper>.images-wrapper>.memo-img::-webkit-scrollbar-thumb,.block-language-thino .thino-embed-container .memo-wrapper>.images-wrapper>.memo-img::-webkit-scrollbar-thumb{width:0;height:0;border-radius:8px;background-color:#d5d5d5}div[data-type=thino_view] .memo-wrapper>.images-wrapper>.memo-img::-webkit-scrollbar-thumb:hover,.thino-hover-popover .memo-wrapper>.images-wrapper>.memo-img::-webkit-scrollbar-thumb:hover,.block-language-thino .thino-embed-container .memo-wrapper>.images-wrapper>.memo-img::-webkit-scrollbar-thumb:hover{background-color:#ccc}div[data-type=thino_view] .memo-wrapper>.images-wrapper>.memo-img::-webkit-scrollbar,.thino-hover-popover .memo-wrapper>.images-wrapper>.memo-img::-webkit-scrollbar,.block-language-thino .thino-embed-container .memo-wrapper>.images-wrapper>.memo-img::-webkit-scrollbar{display:none}div[data-type=thino_view] .memo-wrapper>.images-wrapper>.memo-img:hover,.thino-hover-popover .memo-wrapper>.images-wrapper>.memo-img:hover,.block-language-thino .thino-embed-container .memo-wrapper>.images-wrapper>.memo-img:hover{border-color:var(--memos-bg-lightgray)}div[data-type=thino_view] .memo-wrapper>.images-wrapper>.memo-img:last-child,.thino-hover-popover .memo-wrapper>.images-wrapper>.memo-img:last-child,.block-language-thino .thino-embed-container .memo-wrapper>.images-wrapper>.memo-img:last-child{margin-right:0}div[data-type=thino_view] .memo-wrapper>.images-wrapper>.memo-img>img,.thino-hover-popover .memo-wrapper>.images-wrapper>.memo-img>img,.block-language-thino .thino-embed-container .memo-wrapper>.images-wrapper>.memo-img>img{width:auto;max-height:128px;border-radius:8px;cursor:pointer}div[data-type=thino_view] .memo-wrapper>.memo-comment-wrapper,.thino-hover-popover .memo-wrapper>.memo-comment-wrapper,.block-language-thino .thino-embed-container .memo-wrapper>.memo-comment-wrapper{width:100%}div[data-type=thino_view] .memo-wrapper>.memo-comment-wrapper>.memo-comment-list,.thino-hover-popover .memo-wrapper>.memo-comment-wrapper>.memo-comment-list,.block-language-thino .thino-embed-container .memo-wrapper>.memo-comment-wrapper>.memo-comment-list{border-top:1px solid var(--memos-bg-gray);margin-top:8px;overflow-y:auto;max-height:300px}div[data-type=thino_view] .memo-wrapper>.memo-comment-wrapper>.memo-comment-list::-webkit-scrollbar,.thino-hover-popover .memo-wrapper>.memo-comment-wrapper>.memo-comment-list::-webkit-scrollbar,.block-language-thino .thino-embed-container .memo-wrapper>.memo-comment-wrapper>.memo-comment-list::-webkit-scrollbar{width:0;height:0;cursor:pointer}div[data-type=thino_view] .memo-wrapper>.memo-comment-wrapper>.memo-comment-list::-webkit-scrollbar-thumb,.thino-hover-popover .memo-wrapper>.memo-comment-wrapper>.memo-comment-list::-webkit-scrollbar-thumb,.block-language-thino .thino-embed-container .memo-wrapper>.memo-comment-wrapper>.memo-comment-list::-webkit-scrollbar-thumb{width:0;height:0;border-radius:8px;background-color:#d5d5d5}div[data-type=thino_view] .memo-wrapper>.memo-comment-wrapper>.memo-comment-list::-webkit-scrollbar-thumb:hover,.thino-hover-popover .memo-wrapper>.memo-comment-wrapper>.memo-comment-list::-webkit-scrollbar-thumb:hover,.block-language-thino .thino-embed-container .memo-wrapper>.memo-comment-wrapper>.memo-comment-list::-webkit-scrollbar-thumb:hover{background-color:#ccc}div[data-type=thino_view] .memo-wrapper>.memo-comment-wrapper>.memo-comment-list::-webkit-scrollbar,.thino-hover-popover .memo-wrapper>.memo-comment-wrapper>.memo-comment-list::-webkit-scrollbar,.block-language-thino .thino-embed-container .memo-wrapper>.memo-comment-wrapper>.memo-comment-list::-webkit-scrollbar{display:none}div[data-type=thino_view] .memo-wrapper>.memo-comment-wrapper>.memo-comment-list .memo-comment,.thino-hover-popover .memo-wrapper>.memo-comment-wrapper>.memo-comment-list .memo-comment,.block-language-thino .thino-embed-container .memo-wrapper>.memo-comment-wrapper>.memo-comment-list .memo-comment{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start}div[data-type=thino_view] .memo-wrapper>.memo-comment-wrapper>.memo-comment-list .memo-comment .memo-comment-time,.thino-hover-popover .memo-wrapper>.memo-comment-wrapper>.memo-comment-list .memo-comment .memo-comment-time,.block-language-thino .thino-embed-container .memo-wrapper>.memo-comment-wrapper>.memo-comment-list .memo-comment .memo-comment-time{font-size:var(--font-ui-smaller);line-height:24px;color:var(--memos-text-muted);flex-shrink:0;cursor:pointer}div[data-type=thino_view] .memo-wrapper>.memo-comment-wrapper>.memo-comment-list .memo-comment .memo-comment-text,.thino-hover-popover .memo-wrapper>.memo-comment-wrapper>.memo-comment-list .memo-comment .memo-comment-text,.block-language-thino .thino-embed-container .memo-wrapper>.memo-comment-wrapper>.memo-comment-list .memo-comment .memo-comment-text{width:100%;font-size:var(--font-ui-smaller)}div[data-type=thino_view] .memo-wrapper>.memo-comment-wrapper>.memo-comment-inputer>.common-editor-wrapper,.thino-hover-popover .memo-wrapper>.memo-comment-wrapper>.memo-comment-inputer>.common-editor-wrapper,.block-language-thino .thino-embed-container .memo-wrapper>.memo-comment-wrapper>.memo-comment-inputer>.common-editor-wrapper{border:1px solid var(--memos-bg-gray);margin-top:8px;border-radius:8px;padding-bottom:10px;padding-top:8px}div[data-type=thino_view] .memo-wrapper>.memo-comment-wrapper>.memo-comment-inputer>.common-editor-wrapper>.common-editor-inputer,.thino-hover-popover .memo-wrapper>.memo-comment-wrapper>.memo-comment-inputer>.common-editor-wrapper>.common-editor-inputer,.block-language-thino .thino-embed-container .memo-wrapper>.memo-comment-wrapper>.memo-comment-inputer>.common-editor-wrapper>.common-editor-inputer{font-size:var(--font-ui-smaller)}div[data-type=thino_view] .memo-wrapper>.memo-comment-wrapper .confirm-btn,.thino-hover-popover .memo-wrapper>.memo-comment-wrapper .confirm-btn,.block-language-thino .thino-embed-container .memo-wrapper>.memo-comment-wrapper .confirm-btn{transform:scale(.9)}.memo-context-menu{min-width:100px}.memo-context-menu .menu-item{gap:var(--size-4-3)}.minimal-thino div[data-type=thino_view] .common-editor-wrapper .common-editor-inputer,.minimal-thino .thino-editor-modal .common-editor-wrapper .common-editor-inputer{min-height:80px;max-height:300px}.minimal-thino aside.memos-sidebar-wrapper{display:none}.minimal-thino div[data-type=thino_view] #page-wrapper{justify-content:center}.minimal-thino div[data-type=thino_view] .section-header-container,.minimal-thino div[data-type=thino_view] .memos-header-container{display:none}.minimal-thino div[data-type=thino_view] #page-wrapper>.content-wrapper{padding-top:25%}.minimal-thino div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper{display:none}.minimal-thino div[data-type=thino_view] .memo-wrapper{min-height:80px}.minimal-thino div[data-type=thino_view] .common-editor-wrapper>.common-tools-wrapper,.minimal-thino .thino-editor-modal .common-editor-wrapper>.common-tools-wrapper{display:none}.minimal-thino div[data-type=thino_view] .memolist-wrapper .memolist-container .list-view .masonry-memolist-grid_column>*:nth-child(1){opacity:1}.minimal-thino div[data-type=thino_view] .memolist-wrapper .memolist-container .list-view .masonry-memolist-grid_column>*:nth-child(2){opacity:.9}.minimal-thino div[data-type=thino_view] .memolist-wrapper .memolist-container .list-view .masonry-memolist-grid_column>*:nth-child(3){opacity:.6}.minimal-thino div[data-type=thino_view] .memolist-wrapper .memolist-container .list-view .masonry-memolist-grid_column>*:nth-child(4){opacity:.2}.minimal-thino div[data-type=thino_view] .memolist-wrapper .memolist-container .list-view .masonry-memolist-grid_column>*:nth-child(5){opacity:.1}.minimal-thino div[data-type=thino_view] .memolist-wrapper .memolist-container .list-view .masonry-memolist-grid_column>*:nth-child(n+6){opacity:.05}.minimal-thino div[data-type=thino_view] .memolist-wrapper .memolist-container .list-view .masonry-memolist-grid_column>*:nth-child(n):hover{opacity:1}div[data-type=thino_view] .usage-heat-map-wrapper,.block-language-thino .usage-heat-map-wrapper,.thino-canvas-menu .usage-heat-map-wrapper{display:flex;flex-direction:row;justify-content:center;align-items:center;width:100%;height:116px;padding-right:24px;padding-bottom:6px}div[data-type=thino_view] .usage-heat-map-wrapper:hover>.day-tip-text-container,.block-language-thino .usage-heat-map-wrapper:hover>.day-tip-text-container,.thino-canvas-menu .usage-heat-map-wrapper:hover>.day-tip-text-container{visibility:visible}div[data-type=thino_view] .usage-heat-map-wrapper>.day-tip-text-container,.block-language-thino .usage-heat-map-wrapper>.day-tip-text-container,.thino-canvas-menu .usage-heat-map-wrapper>.day-tip-text-container{display:flex;flex-direction:column;justify-content:space-between;align-items:center;width:24px;height:100%;padding-bottom:2px;flex-wrap:wrap;visibility:hidden}div[data-type=thino_view] .usage-heat-map-wrapper>.day-tip-text-container>.tip-text,.block-language-thino .usage-heat-map-wrapper>.day-tip-text-container>.tip-text,.thino-canvas-menu .usage-heat-map-wrapper>.day-tip-text-container>.tip-text{font-size:10px;line-height:16px;padding-right:2px;width:100%;text-align:right;color:gray;font-family:ubuntu-mono,SFMono-Regular,Menlo,Consolas,PT Mono,Liberation Mono,Courier,monospace}div[data-type=thino_view] .usage-heat-map-wrapper>.usage-heat-map,.block-language-thino .usage-heat-map-wrapper>.usage-heat-map,.thino-canvas-menu .usage-heat-map-wrapper>.usage-heat-map{width:192px;height:100%;flex-wrap:wrap;display:grid;grid-template-rows:repeat(7,1fr);grid-template-columns:repeat(12,1fr);grid-auto-flow:column;justify-items:center;align-items:center}div[data-type=thino_view] .usage-heat-map-wrapper>.usage-heat-map>.stat-container,.block-language-thino .usage-heat-map-wrapper>.usage-heat-map>.stat-container,.thino-canvas-menu .usage-heat-map-wrapper>.usage-heat-map>.stat-container{display:block;width:13px;height:13px;background-color:var(--memos-bg-lightgray);border-radius:var(--radius-s);margin-bottom:2px;cursor:pointer}div[data-type=thino_view] .usage-heat-map-wrapper>.usage-heat-map>.stat-container.null,.block-language-thino .usage-heat-map-wrapper>.usage-heat-map>.stat-container.null,.thino-canvas-menu .usage-heat-map-wrapper>.usage-heat-map>.stat-container.null{background-color:var(--memos-stat-day-L0-bg)}div[data-type=thino_view] .usage-heat-map-wrapper>.usage-heat-map>.stat-container.stat-day-L1-bg,.block-language-thino .usage-heat-map-wrapper>.usage-heat-map>.stat-container.stat-day-L1-bg,.thino-canvas-menu .usage-heat-map-wrapper>.usage-heat-map>.stat-container.stat-day-L1-bg{background-color:var(--memos-stat-day-L1-bg)}div[data-type=thino_view] .usage-heat-map-wrapper>.usage-heat-map>.stat-container.stat-day-L2-bg,.block-language-thino .usage-heat-map-wrapper>.usage-heat-map>.stat-container.stat-day-L2-bg,.thino-canvas-menu .usage-heat-map-wrapper>.usage-heat-map>.stat-container.stat-day-L2-bg{background-color:var(--memos-stat-day-L2-bg)}div[data-type=thino_view] .usage-heat-map-wrapper>.usage-heat-map>.stat-container.stat-day-L3-bg,.block-language-thino .usage-heat-map-wrapper>.usage-heat-map>.stat-container.stat-day-L3-bg,.thino-canvas-menu .usage-heat-map-wrapper>.usage-heat-map>.stat-container.stat-day-L3-bg{background-color:var(--memos-stat-day-L3-bg)}div[data-type=thino_view] .usage-heat-map-wrapper>.usage-heat-map>.stat-container.stat-day-L4-bg,.block-language-thino .usage-heat-map-wrapper>.usage-heat-map>.stat-container.stat-day-L4-bg,.thino-canvas-menu .usage-heat-map-wrapper>.usage-heat-map>.stat-container.stat-day-L4-bg{background-color:var(--memos-stat-day-L4-bg)}div[data-type=thino_view] .usage-heat-map-wrapper>.usage-heat-map>.stat-container.today,.block-language-thino .usage-heat-map-wrapper>.usage-heat-map>.stat-container.today,.thino-canvas-menu .usage-heat-map-wrapper>.usage-heat-map>.stat-container.today{border:1px solid var(--memos-text-black)}div[data-type=thino_view] .usage-heat-map-wrapper>.usage-detail-container,.block-language-thino .usage-heat-map-wrapper>.usage-detail-container,.thino-canvas-menu .usage-heat-map-wrapper>.usage-detail-container{position:absolute;left:0;top:0;margin-left:9px;transform:translate(-50%);margin-top:-36px;background-color:var(--memos-memo-bg-primary);color:var(--memos-text-hover);padding:6px 8px;border-radius:4px;font-size:var(--font-ui-smaller);line-height:1.6;z-index:2;-webkit-user-select:none;user-select:none;white-space:nowrap}div[data-type=thino_view] .usage-heat-map-wrapper>.usage-detail-container>.date-text,.block-language-thino .usage-heat-map-wrapper>.usage-detail-container>.date-text,.thino-canvas-menu .usage-heat-map-wrapper>.usage-detail-container>.date-text{color:var(--memos-text-hover)}div[data-type=thino_view] .usage-heat-map-wrapper>.usage-detail-container:before,.block-language-thino .usage-heat-map-wrapper>.usage-detail-container:before,.thino-canvas-menu .usage-heat-map-wrapper>.usage-detail-container:before{content:"";position:absolute;bottom:-4px;left:calc(50% - 6px);border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid var(--memos-memo-bg)}@media only screen and (max-width: 875px){div[data-type=thino_view] .usage-heat-map-wrapper,.block-language-thino .usage-heat-map-wrapper,.thino-canvas-menu .usage-heat-map-wrapper{height:160px;padding:12px 0 8px!important}div[data-type=thino_view] .usage-heat-map-wrapper>.day-tip-text-container,.block-language-thino .usage-heat-map-wrapper>.day-tip-text-container,.thino-canvas-menu .usage-heat-map-wrapper>.day-tip-text-container{visibility:visible;width:48px;padding-bottom:4px}div[data-type=thino_view] .usage-heat-map-wrapper>.day-tip-text-container>.tip-text,.block-language-thino .usage-heat-map-wrapper>.day-tip-text-container>.tip-text,.thino-canvas-menu .usage-heat-map-wrapper>.day-tip-text-container>.tip-text{padding-right:6px;font-size:var(--font-ui-smaller);line-height:unset!important}div[data-type=thino_view] .usage-heat-map-wrapper>.usage-heat-map,.block-language-thino .usage-heat-map-wrapper>.usage-heat-map,.thino-canvas-menu .usage-heat-map-wrapper>.usage-heat-map{width:var(--memos-sidebar-width)}div[data-type=thino_view] .usage-heat-map-wrapper>.usage-heat-map>.stat-container,.block-language-thino .usage-heat-map-wrapper>.usage-heat-map>.stat-container,.thino-canvas-menu .usage-heat-map-wrapper>.usage-heat-map>.stat-container{width:16px;height:16px;margin-bottom:4px}div[data-type=thino_view] .usage-heat-map-wrapper>.usage-detail-container,.block-language-thino .usage-heat-map-wrapper>.usage-detail-container,.thino-canvas-menu .usage-heat-map-wrapper>.usage-detail-container{margin-top:-32px;margin-left:16px;font-size:10px}div[data-type=thino_view] .usage-heat-map-wrapper>.usage-detail-container:before,.block-language-thino .usage-heat-map-wrapper>.usage-detail-container:before,.thino-canvas-menu .usage-heat-map-wrapper>.usage-detail-container:before{left:calc(50% - 4px)}}div[data-type=thino_view].mobile-view .usage-heat-map-wrapper,.is-phone .block-language-thino .usage-heat-map-wrapper,.is-phone .thino-canvas-menu .usage-heat-map-wrapper{height:160px;padding:12px 0 8px!important}div[data-type=thino_view].mobile-view .usage-heat-map-wrapper>.day-tip-text-container,.is-phone .block-language-thino .usage-heat-map-wrapper>.day-tip-text-container,.is-phone .thino-canvas-menu .usage-heat-map-wrapper>.day-tip-text-container{visibility:visible;width:48px;padding-bottom:4px}div[data-type=thino_view].mobile-view .usage-heat-map-wrapper>.day-tip-text-container>.tip-text,.is-phone .block-language-thino .usage-heat-map-wrapper>.day-tip-text-container>.tip-text,.is-phone .thino-canvas-menu .usage-heat-map-wrapper>.day-tip-text-container>.tip-text{padding-right:6px;font-size:var(--font-ui-smaller);line-height:unset!important}div[data-type=thino_view].mobile-view .usage-heat-map-wrapper>.usage-heat-map,.is-phone .block-language-thino .usage-heat-map-wrapper>.usage-heat-map,.is-phone .thino-canvas-menu .usage-heat-map-wrapper>.usage-heat-map{width:var(--memos-sidebar-width)}div[data-type=thino_view].mobile-view .usage-heat-map-wrapper>.usage-heat-map>.stat-container,.is-phone .block-language-thino .usage-heat-map-wrapper>.usage-heat-map>.stat-container,.is-phone .thino-canvas-menu .usage-heat-map-wrapper>.usage-heat-map>.stat-container{width:16px;height:16px;margin-bottom:4px}div[data-type=thino_view].mobile-view .usage-heat-map-wrapper>.usage-detail-container,.is-phone .block-language-thino .usage-heat-map-wrapper>.usage-detail-container,.is-phone .thino-canvas-menu .usage-heat-map-wrapper>.usage-detail-container{margin-top:-32px;margin-left:16px;font-size:10px}div[data-type=thino_view].mobile-view .usage-heat-map-wrapper>.usage-detail-container:before,.is-phone .block-language-thino .usage-heat-map-wrapper>.usage-detail-container:before,.is-phone .thino-canvas-menu .usage-heat-map-wrapper>.usage-detail-container:before{left:calc(50% - 4px)}div[data-type=thino_view] .usage-daily-progress-wrapper,.thino-canvas-menu .usage-daily-progress-wrapper{display:flex;align-items:center;justify-content:center;width:80%;margin-left:var(--size-4-6);gap:var(--size-2-2)}div[data-type=thino_view] .usage-daily-progress-wrapper .daily-progress-bar,.thino-canvas-menu .usage-daily-progress-wrapper .daily-progress-bar{width:100%;height:var(--size-2-3);background-color:var(--memos-bg-lightgray);border-radius:var(--memos-radius-m);overflow:hidden}div[data-type=thino_view] .usage-daily-progress-wrapper .daily-progress-bar .daily-progress-bar-inner,.thino-canvas-menu .usage-daily-progress-wrapper .daily-progress-bar .daily-progress-bar-inner{height:100%;background-color:var(--memos-stat-day-L1-bg)}div[data-type=thino_view] .usage-daily-progress-wrapper .daily-progress-target,.thino-canvas-menu .usage-daily-progress-wrapper .daily-progress-target{display:flex;align-items:center;justify-content:center;padding:var(--size-2-2);border-radius:var(--memos-radius-m);cursor:pointer;color:var(--memos-text-muted);--icon-size: 18px}div[data-type=thino_view] .usage-daily-progress-wrapper .daily-progress-target:hover,.thino-canvas-menu .usage-daily-progress-wrapper .daily-progress-target:hover{background-color:var(--memos-memo-bg-primary);color:var(--memos-accent-hover)}div[data-type=thino_view] .usage-daily-progress-wrapper .switch-calendar-type-btn,.thino-canvas-menu .usage-daily-progress-wrapper .switch-calendar-type-btn{display:flex;align-items:center;justify-content:center;padding:var(--size-2-2);border-radius:var(--memos-radius-m);cursor:pointer;color:var(--memos-text-muted);--icon-size: 18px}div[data-type=thino_view] .usage-daily-progress-wrapper .switch-calendar-type-btn:hover,.thino-canvas-menu .usage-daily-progress-wrapper .switch-calendar-type-btn:hover{background-color:var(--memos-memo-bg-primary);color:var(--memos-accent-hover)}div[data-type=thino_view].mobile-view .usage-daily-progress-wrapper,.is-phone .thino-canvas-menu .usage-daily-progress-wrapper{margin-left:0;width:100%;padding-left:var(--size-4-4)}.heatmap-date-picker-wrapper{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;width:100%;color:var(--memos-text-faint);border-radius:var(--memos-radius-m)}.heatmap-date-picker-wrapper>.date-picker-header{display:flex;flex-direction:row;justify-content:center;align-items:center;width:100%;color:var(--memos-text-muted)}.heatmap-date-picker-wrapper>.date-picker-header>.btn-text{width:24px;height:24px;border-radius:4px;cursor:pointer;-webkit-user-select:none;user-select:none;display:flex;align-items:center;justify-content:center;--icon-size: var(--size-4-4)}.heatmap-date-picker-wrapper>.date-picker-header>.btn-text>.icon-img{width:100%;height:auto}.heatmap-date-picker-wrapper>.date-picker-header>.btn-text:hover{background-color:var(--memos-bg-lightgray)}.heatmap-date-picker-wrapper>.date-picker-header>.normal-text{display:flex;gap:var(--size-2-2);margin:0 4px;line-height:24px;font-size:var(--thino-ui-small);position:relative}.heatmap-date-picker-wrapper>.date-picker-header>.normal-text>.btn{gap:var(--size-2-2)}.heatmap-date-picker-wrapper>.date-picker-header>.normal-text>.btn:hover{text-decoration:underline}.heatmap-date-picker-wrapper>.date-picker-header>.normal-text>.year-picker-wrapper{position:absolute;top:var(--size-4-6);left:0;width:140px;height:auto;padding:var(--size-4-2);background:var(--memos-more-action-bg);border-radius:var(--memos-radius-m);box-shadow:var(--memos-memo-shadow)}.heatmap-date-picker-wrapper>.date-picker-header>.normal-text>.year-picker-wrapper .year-picker-header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--memos-text-faint);padding-bottom:var(--size-2-2);padding-left:var(--size-4-3)}.heatmap-date-picker-wrapper>.date-picker-header>.normal-text>.year-picker-wrapper .year-picker-header .year-picker-header-btns{display:flex;flex-direction:row;align-items:center;justify-content:center}.heatmap-date-picker-wrapper>.date-picker-header>.normal-text>.year-picker-wrapper .year-picker-header .year-picker-header-btns>.btn{padding:var(--size-2-1);border-radius:var(--memos-radius-s);cursor:pointer}.heatmap-date-picker-wrapper>.date-picker-header>.normal-text>.year-picker-wrapper .year-picker-header .year-picker-header-btns>.btn:hover{background-color:var(--memos-bg-lightgray)}.heatmap-date-picker-wrapper>.date-picker-header>.normal-text>.year-picker-wrapper .year-picker-body{margin-top:var(--size-2-2)}.heatmap-date-picker-wrapper>.date-picker-header>.normal-text>.year-picker-wrapper .year-picker-body .year-picker-body-list{display:grid;grid-template-columns:repeat(2,1fr);justify-items:center;align-items:center;gap:var(--size-2-2)}.heatmap-date-picker-wrapper>.date-picker-header>.normal-text>.year-picker-wrapper .year-picker-body .year-picker-body-list .year-picker-body-item{padding:var(--size-2-2);cursor:pointer;width:100%;height:100%;text-align:center;border-radius:var(--memos-radius-m)}.heatmap-date-picker-wrapper>.date-picker-header>.normal-text>.year-picker-wrapper .year-picker-body .year-picker-body-list .year-picker-body-item.selected{border:2px dashed var(--memos-bg-accent)}.heatmap-date-picker-wrapper>.date-picker-header>.normal-text>.year-picker-wrapper .year-picker-body .year-picker-body-list .year-picker-body-item:hover{background-color:var(--memos-bg-lightgray)}.heatmap-date-picker-wrapper>.date-picker-header>.normal-text>.month-picker-wrapper{position:absolute;top:var(--size-4-6);left:0;width:120px;height:auto;padding:var(--size-4-2);background:var(--memos-more-action-bg);border-radius:var(--memos-radius-m);box-shadow:var(--memos-memo-shadow)}.heatmap-date-picker-wrapper>.date-picker-header>.normal-text>.month-picker-wrapper .month-picker-header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--memos-text-faint);padding-bottom:var(--size-2-2);padding-left:var(--size-4-3)}.heatmap-date-picker-wrapper>.date-picker-header>.normal-text>.month-picker-wrapper .month-picker-header .month-picker-header-btns{display:flex;flex-direction:row;align-items:center;justify-content:center}.heatmap-date-picker-wrapper>.date-picker-header>.normal-text>.month-picker-wrapper .month-picker-header .month-picker-header-btns>.btn{padding:var(--size-2-1);border-radius:var(--memos-radius-s);cursor:pointer}.heatmap-date-picker-wrapper>.date-picker-header>.normal-text>.month-picker-wrapper .month-picker-header .month-picker-header-btns>.btn:hover{background-color:var(--memos-bg-lightgray)}.heatmap-date-picker-wrapper>.date-picker-header>.normal-text>.month-picker-wrapper .month-picker-body{margin-top:var(--size-2-2)}.heatmap-date-picker-wrapper>.date-picker-header>.normal-text>.month-picker-wrapper .month-picker-body .month-picker-body-list{display:grid;grid-template-columns:repeat(2,1fr);justify-items:center;align-items:center;gap:var(--size-2-2)}.heatmap-date-picker-wrapper>.date-picker-header>.normal-text>.month-picker-wrapper .month-picker-body .month-picker-body-list .month-picker-body-item{padding:var(--size-2-2);cursor:pointer;width:100%;height:100%;text-align:center;border-radius:var(--memos-radius-m)}.heatmap-date-picker-wrapper>.date-picker-header>.normal-text>.month-picker-wrapper .month-picker-body .month-picker-body-list .month-picker-body-item.selected{border:2px dashed var(--memos-bg-accent)}.heatmap-date-picker-wrapper>.date-picker-header>.normal-text>.month-picker-wrapper .month-picker-body .month-picker-body-list .month-picker-body-item:hover{background-color:var(--memos-bg-lightgray)}.heatmap-date-picker-wrapper>.date-picker-day-container{display:flex;flex-direction:row;justify-content:flex-start;align-items:flex-start;width:100%;flex-wrap:wrap;padding:0 var(--size-4-4)}.heatmap-date-picker-wrapper>.date-picker-day-container>.date-picker-day-header{display:flex;flex-direction:row;justify-content:space-around;align-items:center;width:100%;color:var(--memos-text-muted)}.heatmap-date-picker-wrapper>.date-picker-day-container>.date-picker-day-header>.day-item{display:flex;flex-direction:column;justify-content:center;align-items:center;width:var(--size-4-6);height:var(--size-4-6);-webkit-user-select:none;user-select:none;font-size:11px;gap:var(--size-2-1)}.heatmap-date-picker-wrapper>.date-picker-day-container>.date-picker-day-content{display:grid;width:100%;grid-template-columns:repeat(7,1fr);gap:1px}.heatmap-date-picker-wrapper>.date-picker-day-container>.date-picker-day-content>.day-item{display:flex;flex-direction:column;justify-content:flex-start;align-items:center;padding-top:var(--size-2-2);width:100%;height:var(--size-4-8);border-radius:var(--memos-radius-m);font-size:var(--thino-ui-small);-webkit-user-select:none;user-select:none;cursor:pointer;margin:1px}.heatmap-date-picker-wrapper>.date-picker-day-container>.date-picker-day-content>.day-item.stat-day-L4-bg>.day-item-text{color:var(--memos-stat-day-L4-bg)}.heatmap-date-picker-wrapper>.date-picker-day-container>.date-picker-day-content>.day-item.stat-day-L3-bg>.day-item-text{color:var(--memos-stat-day-L3-bg)}.heatmap-date-picker-wrapper>.date-picker-day-container>.date-picker-day-content>.day-item.stat-day-L2-bg>.day-item-text{color:var(--memos-stat-day-L2-bg)}.heatmap-date-picker-wrapper>.date-picker-day-container>.date-picker-day-content>.day-item.stat-day-L1-bg>.day-item-text{color:var(--memos-stat-day-L1-bg)}.heatmap-date-picker-wrapper>.date-picker-day-container>.date-picker-day-content>.day-item>.day-item-dots{display:flex;flex-direction:row;justify-content:center;align-items:center}.heatmap-date-picker-wrapper>.date-picker-day-container>.date-picker-day-content>.day-item>.day-item-dots>.day-item-dot{width:3px;height:3px;border-radius:50%;background-color:var(--memos-text-hover);margin:0 2px}.heatmap-date-picker-wrapper>.date-picker-day-container>.date-picker-day-content>.day-item>.day-item-dots>.day-item-dot.stat-day-L4-bg{background-color:var(--memos-stat-day-L4-bg)}.heatmap-date-picker-wrapper>.date-picker-day-container>.date-picker-day-content>.day-item>.day-item-dots>.day-item-dot.stat-day-L3-bg{background-color:var(--memos-stat-day-L3-bg)}.heatmap-date-picker-wrapper>.date-picker-day-container>.date-picker-day-content>.day-item>.day-item-dots>.day-item-dot.stat-day-L2-bg{background-color:var(--memos-stat-day-L2-bg)}.heatmap-date-picker-wrapper>.date-picker-day-container>.date-picker-day-content>.day-item>.day-item-dots>.day-item-dot.stat-day-L1-bg{background-color:var(--memos-stat-day-L1-bg)}.heatmap-date-picker-wrapper>.date-picker-day-container>.date-picker-day-content>.day-item:hover{background-color:var(--memos-bg-lightgray)}.heatmap-date-picker-wrapper>.date-picker-day-container>.date-picker-day-content>.day-item.current{background-color:var(--memos-bg-light-blue);font-size:var(--thino-ui-small);color:var(--memos-text-blue);font-weight:700}.heatmap-date-picker-wrapper>.date-picker-day-container>.date-picker-day-content>.day-item.selected{outline:1px dashed var(--memos-bg-accent)}.heatmap-date-picker-wrapper>.date-picker-day-container>.date-picker-day-content>.day-item.null{background-color:unset;cursor:unset}.thino-hover-popover{display:flex;align-items:center;justify-content:center}.thino-hover-popover .thino-hover-popover-content{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:var(--size-4-2);width:92px;height:100%;font-size:var(--font-ui-small)}.thino-hover-popover .thino-hover-popover-content .thino-task-item{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:var(--size-4-2)}.thino-hover-popover .thino-hover-popover-content .thino-task-item .thino-task-item-title-text{font-size:11px}.thino-hover-popover .thino-hover-popover-content .thino-list-item{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:var(--size-4-2)}.thino-hover-popover .thino-hover-popover-content .thino-list-item .thino-list-item-title-text{font-size:11px}.thino-hover-popover .memo-wrapper{border:unset!important}.thino-hover-popover:has(.memo-wrapper){height:fit-content;width:400px}div[data-type=thino_view]:has(.filter-query-container.thino-hidden) .day-item.selected{outline:unset}div[data-type=thino_view].mobile-view .heatmap-date-picker-wrapper{padding-left:var(--size-2-2)}div[data-type=thino_view] .memolist-wrapper{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;flex-grow:1;width:100%;overflow-y:scroll;overflow-x:hidden;gap:8px}div[data-type=thino_view] .memolist-wrapper::-webkit-scrollbar{width:0;height:0;cursor:pointer}div[data-type=thino_view] .memolist-wrapper::-webkit-scrollbar-thumb{width:0;height:0;border-radius:8px;background-color:#d5d5d5}div[data-type=thino_view] .memolist-wrapper::-webkit-scrollbar-thumb:hover{background-color:#ccc}div[data-type=thino_view] .memolist-wrapper::-webkit-scrollbar{display:none}div[data-type=thino_view] .memolist-wrapper .memolist-container{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;flex-grow:1;width:100%;gap:8px}div[data-type=thino_view] .memolist-wrapper .memolist-container::-webkit-scrollbar{width:0;height:0;cursor:pointer}div[data-type=thino_view] .memolist-wrapper .memolist-container::-webkit-scrollbar-thumb{width:0;height:0;border-radius:8px;background-color:#d5d5d5}div[data-type=thino_view] .memolist-wrapper .memolist-container::-webkit-scrollbar-thumb:hover{background-color:#ccc}div[data-type=thino_view] .memolist-wrapper .memolist-container::-webkit-scrollbar{display:none}div[data-type=thino_view] .memolist-wrapper .status-text-container{display:flex;flex-direction:column;justify-content:flex-start;align-items:center;width:100%;margin-top:16px;margin-bottom:16px}div[data-type=thino_view] .memolist-wrapper .status-text-container.completed{margin-bottom:64px}div[data-type=thino_view] .memolist-wrapper .status-text-container.invisible{visibility:hidden}div[data-type=thino_view] .memolist-wrapper .status-text-container>.status-text{font-size:var(--font-ui-small);color:gray}div[data-type=thino_view].mobile-view .memolist-wrapper{padding:0 12px}div[data-type=thino_view].mobile-view .memolist-wrapper .memolist-container .list-view.masonry-memolist{width:100%}div[data-type=thino_view] .memolist-wrapper .memolist-container .masonry-memolist{transition:display .2s ease-in-out}div[data-type=thino_view] .memolist-wrapper .memolist-container .calendar-view{width:100%;height:100%;padding-top:1px}div[data-type=thino_view] .memolist-wrapper .memolist-container .chat-view{display:-webkit-box;display:-ms-flexbox;display:flex;flex-direction:column-reverse;width:auto;min-width:100%;max-width:100%;gap:var(--size-4-2)}div[data-type=thino_view] .memolist-wrapper .memolist-container .list-view.masonry-memolist{display:-webkit-box;display:-ms-flexbox;display:flex;width:auto;min-width:100%;max-width:100%}div[data-type=thino_view] .memolist-wrapper .memolist-container .list-view .masonry-memolist-grid_column{background-clip:padding-box;display:flex;gap:var(--size-4-2);flex-direction:column}div[data-type=thino_view] .memolist-wrapper .memolist-container .list-view .masonry-memolist-grid_column:not(:has(.day-mark~.day-mark)) .day-mark:not(.PINNED){display:none}div[data-type=thino_view] .memolist-wrapper .memolist-container .waterfall-view.masonry-memolist{display:-webkit-box;display:-ms-flexbox;display:flex;width:auto;min-width:100%;max-width:100%;gap:10px}div[data-type=thino_view] .memolist-wrapper .memolist-container .waterfall-view.masonry-memolist>.masonry-memolist-grid_column:first-child{margin-left:0}div[data-type=thino_view] .memolist-wrapper .memolist-container .waterfall-view .masonry-memolist-grid_column{background-clip:padding-box;width:calc((100% - 20px) / 3)!important}div[data-type=thino_view] .memolist-wrapper .memolist-container .waterfall-view .masonry-memolist-grid_column>div{margin-bottom:8px}div[data-type=thino_view] .memolist-wrapper .memolist-container .day-mark{display:flex;align-items:center;justify-content:center;color:var(--memos-text-faint);font-size:var(--font-ui-small);width:100%;cursor:pointer;min-height:var(--size-2-2);transition:height 1s ease-in-out}div[data-type=thino_view] .memolist-wrapper .memolist-container .day-mark .day-mark-text{color:var(--memos-text-faint);opacity:.7}div[data-type=thino_view] .memolist-wrapper .memolist-container .day-mark .day-mark-text:hover{color:var(--memos-text-muted);opacity:1}div[data-type=thino_view] .memolist-wrapper .memolist-container .day-mark:hover{color:var(--memos-text-muted)}div[data-type=thino_view] .memolist-wrapper .memolist-container .day-mark.folded:before,div[data-type=thino_view] .memolist-wrapper .memolist-container .day-mark.folded:after{content:"";flex:1;height:1px}div[data-type=thino_view] .memolist-wrapper .memolist-container .day-mark.folded:before{background:linear-gradient(to right,var(--thino-divider),var(--thino-divider-hover))}div[data-type=thino_view] .memolist-wrapper .memolist-container .day-mark.folded:after{background:linear-gradient(to right,var(--thino-divider-hover),var(--thino-divider))}div[data-type=thino_view] .memolist-wrapper .memolist-container .day-mark.folded:before{margin-right:10px;margin-left:var(--size-2-2)}div[data-type=thino_view] .memolist-wrapper .memolist-container .day-mark.folded:after{margin-left:10px;margin-right:var(--size-2-2)}div[data-type=thino_view] .memolist-wrapper .memolist-container:has(.day-mark+.waterfall-view) .day-mark{justify-content:flex-start;padding-left:var(--size-4-2)}div[data-type=thino_view] .memolist-wrapper .memolist-container:has(.day-mark+.waterfall-view) .day-mark .day-mark-text{color:var(--memos-text-faint);opacity:.7}div[data-type=thino_view] .memolist-wrapper .memolist-container:has(.day-mark+.waterfall-view) .day-mark .day-mark-text:hover{color:var(--memos-text-muted);opacity:1}div[data-type=thino_view] .memolist-wrapper .memolist-container:has(.day-mark+.waterfall-view) .day-mark:hover{color:var(--memos-text-muted)}div[data-type=thino_view] .memolist-wrapper .memolist-container:has(.day-mark+.waterfall-view) .day-mark.folded:before{content:unset;height:0;background:unset;margin-left:unset;margin-right:unset}div[data-type=thino_view] .memolist-wrapper .memolist-container:has(.day-mark+.waterfall-view) .day-mark.folded:after{content:"";flex:1;height:1px}div[data-type=thino_view] .memolist-wrapper .memolist-container:has(.day-mark+.waterfall-view) .day-mark.folded:after{background:linear-gradient(to right,var(--thino-divider-hover),var(--thino-divider))}div[data-type=thino_view] .memolist-wrapper .memolist-container:has(.day-mark+.waterfall-view) .day-mark.folded:after{margin-left:10px;margin-right:var(--size-2-2)}div[data-type=thino_view] .rbc-btn{color:inherit;font:inherit;margin:0}div[data-type=thino_view] .memos-calendar-view .memolist-container{height:100%}div[data-type=thino_view] .rbc-agenda-event-cell .memo-wrapper{padding:0;border:unset}div[data-type=thino_view] .calendar-view .thino-popup-container{height:fit-content;width:400px;z-index:99}div[data-type=thino_view] .calendar-view .thino-popup-container>.memo-wrapper{box-shadow:var(--memos-memo-shadow-s)}div[data-type=thino_view] .rbc-calendar{-webkit-box-sizing:border-box;box-sizing:border-box;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:center}div[data-type=thino_view] .rbc-calendar *,div[data-type=thino_view] .rbc-calendar:before,div[data-type=thino_view] .rbc-calendar:after{-webkit-box-sizing:inherit;box-sizing:inherit}div[data-type=thino_view] .rbc-calendar button{box-shadow:none}div[data-type=thino_view] .rbc-calendar button.rbc-btn{overflow:visible;text-transform:none;-webkit-appearance:button;cursor:pointer}div[data-type=thino_view] .rbc-calendar button.rbc-button-link{color:inherit;background:none;margin:0;padding:0;border:none;cursor:pointer;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}div[data-type=thino_view] .rbc-calendar button[disabled].rbc-btn{cursor:not-allowed}div[data-type=thino_view] .rbc-calendar button.rbc-input::-moz-focus-inner{border:0;padding:0}div[data-type=thino_view] .rbc-calendar .rbc-agenda-view{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-flex:1;-ms-flex:1 0 0px;flex:1 0 0;overflow:auto;padding-bottom:var(--size-2-1)}div[data-type=thino_view] .rbc-calendar .rbc-agenda-view .memo-content-text{overflow:hidden}div[data-type=thino_view] .rbc-calendar .rbc-agenda-view table .memo-wrapper{background-color:unset}div[data-type=thino_view] .rbc-calendar .rbc-agenda-view table.rbc-agenda-table{width:100%;border:1px solid var(--memos-bg-lightgray);background:var(--thino-background-primary);border-spacing:0;border-collapse:collapse}div[data-type=thino_view] .rbc-calendar .rbc-agenda-view table.rbc-agenda-table tbody>tr>td{padding:5px 10px;vertical-align:top}div[data-type=thino_view] .rbc-calendar .rbc-agenda-view table.rbc-agenda-table tbody>tr>td+td{border-left:1px solid var(--memos-bg-lightgray)}div[data-type=thino_view] .rbc-calendar .rbc-agenda-view table.rbc-agenda-table tbody>tr+tr{border-top:1px solid var(--memos-bg-lightgray)}div[data-type=thino_view] .rbc-calendar .rbc-agenda-view table.rbc-agenda-table thead>tr>th:not(.rbc-header){padding:3px 5px;text-align:left;border-bottom:1px solid var(--memos-bg-lightgray)}div[data-type=thino_view] .rbc-calendar .rbc-agenda-view table.rbc-agenda-table .rbc-agenda-time-cell{padding-left:15px;padding-right:15px;text-transform:lowercase;border-left:1px solid var(--memos-bg-lightgray)}div[data-type=thino_view] .rbc-calendar .rbc-agenda-view .rbc-agenda-empty{display:flex;align-items:center;justify-content:center;height:100%}div[data-type=thino_view] .rbc-rtl .rbc-agenda-view table.rbc-agenda-table tbody>tr>td+td{border-left-width:0;border-right:1px solid var(--memos-bg-lightgray)}div[data-type=thino_view] .rbc-rtl .rbc-agenda-view table.rbc-agenda-table thead>tr>th{text-align:right}div[data-type=thino_view] .rbc-abs-full,div[data-type=thino_view] .rbc-row-bg{overflow:hidden;position:absolute;top:0;left:0;right:0;bottom:0}div[data-type=thino_view] .rbc-ellipsis,div[data-type=thino_view] .rbc-show-more,div[data-type=thino_view] .rbc-row-segment .rbc-event-content,div[data-type=thino_view] .rbc-event-label{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}div[data-type=thino_view] .rbc-rtl{direction:rtl}div[data-type=thino_view] .rbc-off-range{color:#999}div[data-type=thino_view] .rbc-off-range-bg{background:var(--thino-background-secondary)}div[data-type=thino_view] .rbc-header{overflow:hidden;-webkit-box-flex:1;-ms-flex:1 0 0%;flex:1 0 0%;text-overflow:ellipsis;white-space:nowrap;padding:0 3px;text-align:center;vertical-align:middle;font-weight:700;font-size:90%;min-height:0;border-bottom:1px solid var(--memos-bg-lightgray)}div[data-type=thino_view] .rbc-header+.rbc-header{border-left:1px solid var(--memos-bg-lightgray)}div[data-type=thino_view] .rbc-rtl .rbc-header+.rbc-header{border-left-width:0;border-right:1px solid var(--memos-bg-lightgray)}div[data-type=thino_view] .rbc-header>a,div[data-type=thino_view] .rbc-header>a:active,div[data-type=thino_view] .rbc-header>a:visited{color:inherit;text-decoration:none}div[data-type=thino_view] .rbc-row-content{position:relative;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-select:none;z-index:4}div[data-type=thino_view] .rbc-row-content-scrollable{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:100%}div[data-type=thino_view] .rbc-row-content-scrollable .rbc-row-content-scroll-container{height:100%;overflow-y:scroll;-ms-overflow-style:none;scrollbar-width:none}div[data-type=thino_view] .rbc-row-content-scrollable .rbc-row-content-scroll-container::-webkit-scrollbar{display:none}div[data-type=thino_view] .rbc-today{background-color:var(--memos-memo-border)}div[data-type=thino_view] .rbc-toolbar{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:10px;font-size:16px;width:100%}div[data-type=thino_view] .rbc-toolbar .rbc-toolbar-label{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;padding:0 10px;text-align:center;position:relative}div[data-type=thino_view] .rbc-toolbar .rbc-toolbar-label>.calendar-btn{cursor:pointer;color:var(--memos-text-muted);margin:auto;width:fit-content}div[data-type=thino_view] .rbc-toolbar .rbc-toolbar-label>.calendar-btn:hover{color:var(--memos-text-faint)}div[data-type=thino_view] .rbc-toolbar .rbc-toolbar-label .menu-btns-popup{display:flex;flex-direction:row;justify-content:flex-start;align-items:flex-start;position:absolute;top:36px;left:calc(var(--size-4-8) * -1);padding:4px;width:auto;border-radius:8px;z-index:20;box-shadow:var(--memos-memo-shadow);background-color:var(--memos-memo-bg);margin-left:-92px}div[data-type=thino_view] .rbc-toolbar .rbc-toolbar-label .menu-btns-popup .quick-date-btn-group{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;height:100%;width:92px;font-size:var(--font-ui-smaller);gap:var(--size-4-2);padding-top:var(--size-4-2);padding-left:var(--size-2-2);padding-right:var(--size-2-2);color:var(--memos-text-muted)}div[data-type=thino_view] .rbc-toolbar .rbc-toolbar-label .menu-btns-popup .quick-date-btn-group>.quick-date-btn{width:100%;padding:var(--size-2-1);padding-top:var(--size-2-2);padding-bottom:var(--size-2-2);border-radius:var(--memos-radius-m)}div[data-type=thino_view] .rbc-toolbar .rbc-toolbar-label .menu-btns-popup .quick-date-btn-group>.quick-date-btn:hover{background:var(--memos-bg-lightgray)}div[data-type=thino_view] .rbc-toolbar .rbc-toolbar-label .menu-btns-popup .calendar-date-picker{background-color:var(--memos-memo-bg);padding:var(--size-2-2)}div[data-type=thino_view] .rbc-toolbar .rbc-toolbar-label .menu-btns-popup:has(.quick-date-btn-group) .calendar-date-picker{border-radius:unset;border-left:1px solid var(--memos-bg-lightgray)}div[data-type=thino_view] .rbc-toolbar button{color:var(--memos-text-muted);display:inline-flex;margin:0;text-align:center;vertical-align:middle;background:none;background-image:none;border:1px solid var(--memos-bg-lightgray);padding:.375rem 1rem;border-radius:4px;line-height:normal;white-space:nowrap}div[data-type=thino_view] .rbc-toolbar button:active,div[data-type=thino_view] .rbc-toolbar button.rbc-active{background-image:none;color:var(--memos-text-muted);background-color:var(--memos-memo-bg-primary);border-color:var(--memos-text-faint)}div[data-type=thino_view] .rbc-toolbar button:active+button,div[data-type=thino_view] .rbc-toolbar button.rbc-active+button{border-left:1px solid var(--memos-text-faint)}div[data-type=thino_view] .rbc-toolbar button:active:hover,div[data-type=thino_view] .rbc-toolbar button.rbc-active:hover{color:var(--memos-text-muted);background-color:var(--memos-memo-bg-primary);border-color:var(--memos-memo-border-hover)}div[data-type=thino_view] .rbc-toolbar button:active:focus,div[data-type=thino_view] .rbc-toolbar button.rbc-active:focus{color:var(--memos-text-muted);background-color:var(--memos-memo-bg-primary);border-color:var(--memos-text-faint)}div[data-type=thino_view] .rbc-toolbar button:focus{color:var(--memos-text-muted);background-color:var(--memos-memo-bg-primary);border-color:var(--memos-text-faint)}div[data-type=thino_view] .rbc-toolbar button:hover{color:var(--memos-text-muted);background-color:var(--memos-memo-bg-primary);border-color:var(--memos-text-faint)}div[data-type=thino_view] .rbc-btn-group{display:inline-block;white-space:nowrap}div[data-type=thino_view] .rbc-btn-group>button:first-child:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}div[data-type=thino_view] .rbc-btn-group>button:last-child:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}div[data-type=thino_view] .rbc-rtl .rbc-btn-group>button:first-child:not(:last-child){border-radius:0 4px 4px 0}div[data-type=thino_view] .rbc-rtl .rbc-btn-group>button:last-child:not(:first-child){border-radius:4px 0 0 4px}div[data-type=thino_view] .rbc-btn-group>button:not(:first-child):not(:last-child){border-radius:0}div[data-type=thino_view] .rbc-btn-group button+button{margin-left:-1px}div[data-type=thino_view] .rbc-rtl .rbc-btn-group button+button{margin-left:0;margin-right:-1px}div[data-type=thino_view] .rbc-btn-group+.rbc-btn-group,div[data-type=thino_view] .rbc-btn-group+button{margin-left:10px}@media (max-width: 767px){div[data-type=thino_view] .rbc-toolbar{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}}div[data-type=thino_view] .rbc-event,div[data-type=thino_view] .rbc-day-slot .rbc-background-event{border:none;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-box-shadow:none;margin:0;padding:2px 5px;background-color:var(--memos-bg-whitegray);border-radius:var(--memos-radius-s);color:var(--memos-text-muted);cursor:pointer;width:100%;text-align:left;box-shadow:var(--memos-memo-shadow)}div[data-type=thino_view] .rbc-event .rbc-event-renderer,div[data-type=thino_view] .rbc-day-slot .rbc-background-event .rbc-event-renderer{display:flex;flex-direction:row;align-items:flex-start;justify-content:flex-start;gap:var(--size-2-2);--icon-size: var(--size-4-4);font-size:var(--thino-ui-small)}div[data-type=thino_view] .rbc-event .rbc-event-renderer .rbc-event-icon-group,div[data-type=thino_view] .rbc-day-slot .rbc-background-event .rbc-event-renderer .rbc-event-icon-group{display:flex}div[data-type=thino_view] .rbc-event .rbc-event-renderer .rbc-event-icon-group .rbc-event-icon,div[data-type=thino_view] .rbc-day-slot .rbc-background-event .rbc-event-renderer .rbc-event-icon-group .rbc-event-icon{display:flex;align-items:center;justify-content:center}div[data-type=thino_view] .rbc-event .rbc-event-renderer .rbc-event-icon-group .rbc-event-icon:hover+.rbc-event-time.thino-hidden,div[data-type=thino_view] .rbc-day-slot .rbc-background-event .rbc-event-renderer .rbc-event-icon-group .rbc-event-icon:hover+.rbc-event-time.thino-hidden{display:flex!important}div[data-type=thino_view] .rbc-event .rbc-event-renderer .rbc-event-icon-group .rbc-event-time,div[data-type=thino_view] .rbc-day-slot .rbc-background-event .rbc-event-renderer .rbc-event-icon-group .rbc-event-time{position:absolute;margin-top:-24px;margin-left:-12px;padding:var(--size-2-1);padding-left:var(--size-4-2);padding-right:var(--size-4-2);background:var(--memos-bg-lightgray);border-radius:var(--radius-s);font-size:var(--thino-ui-small);box-shadow:var(--memos-memo-shadow)}div[data-type=thino_view] .rbc-event:focus,div[data-type=thino_view] .rbc-day-slot .rbc-background-event:focus{outline:5px auto var(--memos-text-faint)}div[data-type=thino_view] .rbc-event:hover,div[data-type=thino_view] .rbc-day-slot .rbc-background-event:hover{color:var(--memos-bg-black)}div[data-type=thino_view] .rbc-event:has(span[data-thino-type=JOURNAL]),div[data-type=thino_view] .rbc-day-slot .rbc-background-event:has(span[data-thino-type=JOURNAL]){background-color:var(--memos-bg-light-blue)}div[data-type=thino_view] .rbc-event:has(span[data-thino-type^=TASK]),div[data-type=thino_view] .rbc-day-slot .rbc-background-event:has(span[data-thino-type^=TASK]){background-color:var(--memos-bg-paper-yellow)}div[data-type=thino_view] .rbc-slot-selecting .rbc-event,div[data-type=thino_view] .rbc-slot-selecting .rbc-day-slot .rbc-background-event,div[data-type=thino_view] .rbc-day-slot .rbc-slot-selecting .rbc-background-event{cursor:inherit;pointer-events:none}div[data-type=thino_view] .rbc-event.rbc-selected,div[data-type=thino_view] .rbc-day-slot .rbc-selected.rbc-background-event{background-color:var(--memos-bg-lightgray);color:var(--memos-text-muted)}div[data-type=thino_view] .rbc-day-slot .rbc-background-event:focus{outline:5px auto #3b99fc}div[data-type=thino_view] .rbc-event-label{font-size:80%}div[data-type=thino_view] .rbc-event-overlaps{-webkit-box-shadow:-1px 1px 5px 0px rgba(51,51,51,.5);box-shadow:-1px 1px 5px #33333380}div[data-type=thino_view] .rbc-event-continues-prior{border-top-left-radius:0;border-bottom-left-radius:0}div[data-type=thino_view] .rbc-event-continues-after{border-top-right-radius:0;border-bottom-right-radius:0}div[data-type=thino_view] .rbc-event-continues-earlier{border-top-left-radius:0;border-top-right-radius:0}div[data-type=thino_view] .rbc-event-continues-later{border-bottom-left-radius:0;border-bottom-right-radius:0}div[data-type=thino_view] .rbc-row{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}div[data-type=thino_view] .rbc-row-segment{padding:0 1px 1px}div[data-type=thino_view] .rbc-selected-cell{background-color:#0000001a}div[data-type=thino_view] .rbc-show-more{background-color:#ffffff4d;z-index:4;font-weight:700;font-size:85%;height:auto;line-height:normal;color:#3174ad}div[data-type=thino_view] .rbc-show-more:hover,div[data-type=thino_view] .rbc-show-more:focus{color:#265985}div[data-type=thino_view] .rbc-month-view{position:relative;border:1px solid var(--memos-bg-lightgray);background:var(--thino-background-primary);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-flex:1;-ms-flex:1 0 0px;flex:1 0 0;width:100%;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-select:none;height:100%}div[data-type=thino_view] .rbc-month-header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}div[data-type=thino_view] .rbc-month-row{display:-webkit-box;display:-ms-flexbox;display:flex;position:relative;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-flex:1;-ms-flex:1 0 0px;flex:1 0 0;-ms-flex-preferred-size:0px;flex-basis:0px;overflow:hidden;height:100%}div[data-type=thino_view] .rbc-month-row+.rbc-month-row{border-top:1px solid var(--memos-bg-lightgray)}div[data-type=thino_view] .rbc-date-cell{-webkit-box-flex:1;-ms-flex:1 1 0px;flex:1 1 0;min-width:0;padding-right:5px;text-align:right}div[data-type=thino_view] .rbc-date-cell.rbc-now{font-weight:700}div[data-type=thino_view] .rbc-date-cell>a,div[data-type=thino_view] .rbc-date-cell>a:active,div[data-type=thino_view] .rbc-date-cell>a:visited{color:inherit;text-decoration:none}div[data-type=thino_view] .rbc-row-bg{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-flex:1;-ms-flex:1 0 0px;flex:1 0 0;overflow:hidden}div[data-type=thino_view] .rbc-day-bg{-webkit-box-flex:1;-ms-flex:1 0 0%;flex:1 0 0%}div[data-type=thino_view] .rbc-day-bg+.rbc-day-bg{border-left:1px solid var(--memos-bg-lightgray)}div[data-type=thino_view] .rbc-rtl .rbc-day-bg+.rbc-day-bg{border-left-width:0;border-right:1px solid var(--memos-bg-lightgray)}div[data-type=thino_view] .rbc-overlay{position:absolute;z-index:5;border:1px solid #e5e5e5;background-color:#fff;-webkit-box-shadow:0 5px 15px rgba(0,0,0,.25);box-shadow:0 5px 15px #00000040;padding:10px}div[data-type=thino_view] .rbc-overlay>*+*{margin-top:1px}div[data-type=thino_view] .rbc-overlay-header{border-bottom:1px solid #e5e5e5;margin:-10px -10px 5px;padding:2px 10px}div[data-type=thino_view] .rbc-agenda-time-cell{text-transform:lowercase}div[data-type=thino_view] .rbc-agenda-time-cell .rbc-continues-after:after{content:" »"}div[data-type=thino_view] .rbc-agenda-time-cell .rbc-continues-prior:before{content:"« "}div[data-type=thino_view] .rbc-agenda-date-cell,div[data-type=thino_view] .rbc-agenda-time-cell{white-space:nowrap}div[data-type=thino_view] .rbc-agenda-event-cell{width:100%}div[data-type=thino_view] .rbc-time-column{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;min-height:100%}div[data-type=thino_view] .rbc-time-column .rbc-timeslot-group{-webkit-box-flex:1;-ms-flex:1;flex:1}div[data-type=thino_view] .rbc-timeslot-group{border-bottom:1px solid var(--memos-bg-lightgray);min-height:40px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-flow:column nowrap;flex-flow:column nowrap}div[data-type=thino_view] .rbc-time-gutter,div[data-type=thino_view] .rbc-header-gutter{-webkit-box-flex:0;-ms-flex:none;flex:none}div[data-type=thino_view] .rbc-label{padding:0 5px}div[data-type=thino_view] .rbc-day-slot{position:relative}div[data-type=thino_view] .rbc-day-slot .rbc-events-container{bottom:0;left:0;position:absolute;right:0;margin-right:10px;top:0}div[data-type=thino_view] .rbc-day-slot .rbc-events-container.rbc-rtl{left:10px;right:0}div[data-type=thino_view] .rbc-day-slot .rbc-event,div[data-type=thino_view] .rbc-day-slot .rbc-background-event{border:1px solid var(--memos-bg-accent);display:-webkit-box;display:-ms-flexbox;display:flex;max-height:100%;min-height:20px;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-flow:column wrap;flex-flow:column wrap;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;overflow:hidden;position:absolute}div[data-type=thino_view] .rbc-day-slot .rbc-background-event{opacity:.75}div[data-type=thino_view] .rbc-day-slot .rbc-event-label{-webkit-box-flex:0;-ms-flex:none;flex:none;padding-right:5px;width:auto;display:none}div[data-type=thino_view] .rbc-day-slot .rbc-event-content{width:100%;-webkit-box-flex:1;-ms-flex:1 1 0px;flex:1 1 0;word-wrap:break-word;line-height:1;height:100%;min-height:1em}div[data-type=thino_view] .rbc-day-slot .rbc-time-slot{border-top:1px solid var(--memos-bg-lightgray)}div[data-type=thino_view] .rbc-time-view-resources .rbc-time-gutter,div[data-type=thino_view] .rbc-time-view-resources .rbc-time-header-gutter{position:sticky;left:0;background-color:#fff;border-right:1px solid var(--memos-bg-lightgray);z-index:10;margin-right:-1px}div[data-type=thino_view] .rbc-time-view-resources .rbc-time-header{overflow:hidden}div[data-type=thino_view] .rbc-time-view-resources .rbc-time-header-content{min-width:auto;-webkit-box-flex:1;-ms-flex:1 0 0px;flex:1 0 0;-ms-flex-preferred-size:0px;flex-basis:0px}div[data-type=thino_view] .rbc-time-view-resources .rbc-time-header-cell-single-day{display:none}div[data-type=thino_view] .rbc-time-view-resources .rbc-day-slot{min-width:140px}div[data-type=thino_view] .rbc-time-view-resources .rbc-header,div[data-type=thino_view] .rbc-time-view-resources .rbc-day-bg{width:140px;-webkit-box-flex:1;-ms-flex:1 1 0px;flex:1 1 0;-ms-flex-preferred-size:0px;flex-basis:0px}div[data-type=thino_view] .rbc-time-header-content+.rbc-time-header-content{margin-left:-1px}div[data-type=thino_view] .rbc-time-slot{-webkit-box-flex:1;-ms-flex:1 0 0px;flex:1 0 0}div[data-type=thino_view] .rbc-time-slot.rbc-now{font-weight:700}div[data-type=thino_view] .rbc-day-header{text-align:center}div[data-type=thino_view] .rbc-slot-selection{z-index:10;position:absolute;background-color:#00000080;color:#fff;font-size:75%;width:100%;padding:3px}div[data-type=thino_view] .rbc-slot-selecting{cursor:move}div[data-type=thino_view] .rbc-time-view{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-flex:1;-ms-flex:1 0 0;flex:1 0 0;width:100%;border:1px solid var(--memos-bg-lightgray);min-height:0}div[data-type=thino_view] .rbc-time-view .rbc-time-gutter{white-space:nowrap;text-align:right}div[data-type=thino_view] .rbc-time-view .rbc-allday-cell{-webkit-box-sizing:content-box;box-sizing:content-box;width:100%;height:100%;position:relative}div[data-type=thino_view] .rbc-time-view .rbc-allday-cell+.rbc-allday-cell{border-left:1px solid var(--memos-bg-lightgray)}div[data-type=thino_view] .rbc-time-view .rbc-allday-events{position:relative;z-index:4}div[data-type=thino_view] .rbc-time-view .rbc-row{-webkit-box-sizing:border-box;box-sizing:border-box;min-height:20px;height:var(--size-4-9)}div[data-type=thino_view] .rbc-time-header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;margin-right:0!important}div[data-type=thino_view] .rbc-time-header.rbc-overflowing{border-right:1px solid var(--memos-bg-lightgray)}div[data-type=thino_view] .rbc-rtl .rbc-time-header.rbc-overflowing{border-right-width:0;border-left:1px solid var(--memos-bg-lightgray)}div[data-type=thino_view] .rbc-time-header>.rbc-row:first-child{border-bottom:1px solid var(--memos-bg-lightgray)}div[data-type=thino_view] .rbc-time-header>.rbc-row.rbc-row-resource{border-bottom:1px solid var(--memos-bg-lightgray)}div[data-type=thino_view] .rbc-time-header-cell-single-day{display:none}div[data-type=thino_view] .rbc-time-header-content{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;min-width:0;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;border-left:1px solid var(--memos-bg-lightgray)}div[data-type=thino_view] .rbc-rtl .rbc-time-header-content{border-left-width:0;border-right:1px solid var(--memos-bg-lightgray)}div[data-type=thino_view] .rbc-time-header-content>.rbc-row.rbc-row-resource{border-bottom:1px solid var(--memos-bg-lightgray);-ms-flex-negative:0;flex-shrink:0}div[data-type=thino_view] .rbc-time-content{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1 0 0%;flex:1 0 0%;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;width:100%;border-top:2px solid var(--memos-bg-lightgray);overflow-y:auto;position:relative;padding-bottom:var(--size-4-2)}div[data-type=thino_view] .rbc-time-content::-webkit-scrollbar{display:none}div[data-type=thino_view] .rbc-time-content>.rbc-time-gutter{-webkit-box-flex:0;-ms-flex:none;flex:none}div[data-type=thino_view] .rbc-time-content>*+*>*{border-left:1px solid var(--memos-bg-lightgray)}div[data-type=thino_view] .rbc-rtl .rbc-time-content>*+*>*{border-left-width:0;border-right:1px solid var(--memos-bg-lightgray)}div[data-type=thino_view] .rbc-time-content>.rbc-day-slot{width:100%;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-select:none}div[data-type=thino_view] .rbc-current-time-indicator{position:absolute;z-index:3;left:0;right:0;height:1px;background-color:#74ad31;pointer-events:none}@media screen and (min-width: 1200px){.rbc-month-view{max-width:950px}}div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view .table-search-bar{padding:var(--size-4-2);font-size:var(--size-4-3);border:1px solid var(--memos-memo-border);margin-bottom:var(--size-4-2);width:200px}div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view>.table-nav-bar{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:var(--size-4-2)}div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view>.table-nav-bar>button.prev-start-btn,div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view>.table-nav-bar>button.next-end-btn{padding:var(--size-4-2);font-size:var(--size-4-4);border-radius:var(--memos-radius-m);box-shadow:var(--memos-memo-shadow-s);border:1px solid var(--memos-memo-border);cursor:pointer}div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view>.table-nav-bar>button.prev-start-btn:hover,div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view>.table-nav-bar>button.next-end-btn:hover{background-color:var(--memos-bg-lightgray)}div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view>.table-nav-bar>button.prev-btn,div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view>.table-nav-bar>button.next-btn{padding:var(--size-4-2);font-size:var(--size-4-4);border-radius:var(--memos-radius-m);box-shadow:var(--memos-memo-shadow-s);border:1px solid var(--memos-memo-border);cursor:pointer}div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view>.table-nav-bar>button.prev-btn:hover,div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view>.table-nav-bar>button.next-btn:hover{background-color:var(--memos-bg-lightgray)}div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view>.table-nav-bar>.table-page-info{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:var(--size-4-1)}div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view>.table-nav-bar>.table-page-info>input{padding:var(--size-4-2);font-size:var(--size-4-4);border-radius:var(--memos-radius-m);box-shadow:var(--memos-memo-shadow-s);border:1px solid var(--memos-memo-border)}div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view>.table-nav-bar>.table-page-info>button{padding:var(--size-4-2);font-size:var(--size-4-4);border-radius:var(--memos-radius-m);box-shadow:var(--memos-memo-shadow-s);border:1px solid var(--memos-memo-border)}div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view>.table-nav-bar>.table-page-jump>.jump-inputer{width:var(--size-4-16);padding:var(--size-4-2);font-size:var(--size-4-4);border-radius:var(--memos-radius-m);box-shadow:var(--memos-memo-shadow-s);border:1px solid var(--memos-memo-border)}div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view>table{border:1px solid var(--memos-bg-lightgray);background:var(--thino-background-primary)}div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view>table>tbody{border-bottom:1px solid var(--memos-bg-lightgray)}div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view>table>tbody>tr>td>span{width:fit-content;margin:auto;display:flex;justify-content:center}div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view>table>tbody>tr>td>span.pinned-status{--icon-size: 18px}div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view>table>tbody>tr>td>span.pinned-status.pinned{color:var(--memos-text-faint)}div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view>table>tbody>tr>td>span.pinned-status.pinned:hover{color:var(--memos-text-muted)}div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view>table>tbody>tr>td>span.pinned-status.not-pinned{visibility:hidden}div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view>table>tbody>tr>td>span.source-thino:hover{text-decoration:underline}div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view>table>tbody>tr>td>span.source-type-icon{padding:var(--size-2-2)}div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view>table>tbody>tr>td>span.source-type-icon:hover{background-color:var(--memos-bg-lightgray)}div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view>table>tbody>tr>td:hover span.pinned-status.not-pinned{visibility:visible}div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view>table>tbody>tr.pinned{background-color:var(--memos-bg-whitegray)}div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view>table>tbody td{border-bottom:1px solid var(--memos-bg-lightgray);border-right:1px solid var(--memos-bg-lightgray)}div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view>table>tbody td .memo-wrapper{padding:var(--size-4-2);padding-top:var(--size-2-1);padding-bottom:var(--size-2-1);border:unset;background-color:unset}div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view>table>tbody td .memo-wrapper:hover{border:unset}div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view>table>tbody td:has(input.thino-type-status){text-align:center}div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view>table>tbody td:has(input.thino-type-status) input[type=checkbox]{margin-inline-end:0}div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view th{border-bottom:1px solid var(--memos-bg-lightgray);border-right:1px solid var(--memos-bg-lightgray);padding:2px 4px;min-width:96px}div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view th:has(.thino-header-cell){min-width:120px}div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view th:has(.create-at-header-cell){min-width:144px}div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view th .table-header{color:var(--memos-text-muted)}div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view th .table-header:hover{color:var(--memos-text-faint)}div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view th .filter-header{cursor:pointer;-webkit-user-select:none;user-select:none;margin-bottom:var(--size-2-2)}div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view th .filter-input-group{display:flex;margin-right:var(--size-2-1)}div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view th .filter-input-group .filter-input-short{width:96px;border:1px solid var(--memos-bg-lightgray);border-radius:var(--memos-radius-m)}div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view th .filter-input-long{width:100%;min-width:144px;border:1px solid var(--memos-bg-lightgray);border-radius:var(--memos-radius-m)}div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view tfoot{color:gray}div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view tfoot th{font-weight:400}div[data-type=thino_view] .memolist-wrapper .memolist-container:has(.table-view){overflow-x:scroll}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view:is(.fluent-style,.inline-style) .thino-bubble.right .wrap>.content:has(:is(.callout,img)){background:var(--memos-memo-bg);border:1px solid #98e970}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view:is(.fluent-style,.inline-style) .thino-bubble.right .wrap>.content:has(:is(.callout,img)):before{background:var(--memos-memo-bg);border-right:1px solid #98e970;border-bottom:1px solid #98e970}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view:is(.fluent-style,.inline-style) .thino-bubble.right .content .memo-content-text:has(:is(.callout,img))>*{color:unset}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view:is(.fluent-style,.inline-style) .thino-bubble.right .content .memo-content-text:has(:is(.callout,img)) a{color:var(--memos-text-hover)}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view:is(.fluent-style,.inline-style) .thino-bubble.right .content .memo-content-text a:hover{color:var(--memos-text-accent-hover);border-radius:var(--memos-radius-m);opacity:.6}div[data-type=thino_view] .memo-content-text .image-embed{display:inline-table;vertical-align:bottom;padding:4px}div[data-type=thino_view] .memo-content-text p .image-embed:only-child img:not([width]){width:auto;height:220px;max-width:100%;min-width:auto}div[data-type=thino_view] .memo-content-text p>.image-embed:only-of-type img:not([width]){width:auto;height:220px;max-width:100%;min-width:auto}div[data-type=thino_view] .memo-content-text div.image-embed img:only-child{width:auto;height:220px;max-width:100%;min-width:auto}div[data-type=thino_view] .memo-content-text .image-embed img:not([width]){width:auto;height:150px;max-width:150px;min-width:150px;object-fit:cover}div[data-type=thino_view] .view-content:not(.images-wrapper) .memo-content-text p>img:not([width]){max-width:25%;height:150px;display:inline-table;vertical-align:bottom;padding:4px}div[data-type=thino_view].mobile-view .view-content:not(.images-wrapper) .memo-content-text p>img:not([width]){max-width:150px}div[data-type=thino_view] .view-content:not(.images-wrapper) .memo-content-text p>img:not([width]):only-of-type{height:220px;max-width:100%;display:inline-table;vertical-align:bottom;object-fit:cover}div[data-type=thino_view] .memo-content-text>p>img+br{display:none}div[data-type=thino_view] .memo-content-text>p>.image-embed+br{display:none}div[data-type=thino_view] .memo-content-text>p br:last-child{display:inline}div[data-type=thino_view] .view-content:not(.images-wrapper) .markdown-source-view img:not([width]),.memo-editor-wrapper .markdown-source-view img:not([width]){max-width:70%;max-height:260px}div[data-type=thino_view] .chat-view:is(.fluent-style,.inline-style) .memo-content-text p a[href^="#收集"]{display:block;position:absolute;right:65px;top:calc(100% + 6px);font-size:var(--thino-ui-tiny);padding-top:2px;padding-bottom:2px;color:var(--tag-color)}div[data-type=thino_view] .chat-view:is(.default-style) .memo-content-text p a[href^="#收集"]{display:block;position:absolute;right:0;top:calc(100% + 4px);font-size:10px;padding-top:4px;padding-bottom:4px;color:var(--tag-color)}div[data-type=thino_view] .chat-view:is(.default-style) .wrap:has(a[href^="#收集"]){padding-bottom:14px}div[data-type=thino_view] .moments-view .memo-content-text p a[href^="#收集"]{display:block;position:absolute;left:220px;top:calc(100% - 31px);font-size:10px;padding-top:4px;padding-bottom:4px;color:var(--tag-color)}div[data-type=thino_view] .memo-content-text.markdown-rendered{position:unset}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view .thino-bubble.right .memo-content-text>p:has(img){text-align:right}div[data-type=thino_view] .memos-chat-view .content-wrapper{padding-bottom:var(--size-4-2)}div[data-type=thino_view].mobile-view .memolist-wrapper:has(.chat-view){padding-left:var(--size-2-2);padding-right:var(--size-2-2)}div[data-type=thino_view] #page-wrapper.memos-chat-view>.content-wrapper:has(.chat-view.inline-style,.chat-view.fluent-style) .memo-editor-wrapper{margin-top:25px}div[data-type=thino_view] .memos-chat-view:has(.chat-view.fluent-style) .content-wrapper>.memo-editor-wrapper{margin-top:25px}div[data-type=thino_view] .memos-chat-view:has(.chat-view.fluent-style) .content-wrapper>.memo-editor-wrapper.edit-ing .common-editor-wrapper>.common-tools-wrapper>.common-tools-container>.action-btn{top:-62px}div[data-type=thino_view] .memos-chat-view:has(.chat-view.fluent-style) .content-wrapper>.memo-editor-wrapper.edit-ing .common-editor-wrapper>.common-tools-wrapper>.btns-container>.cancel-btn{position:absolute;right:-88px;bottom:40px;border-radius:100%;height:45px;width:45px;padding:0 12px;background-color:var(--memos-text-red);color:var(--memos-editor-save-btn-color)}div[data-type=thino_view] .memos-chat-view:has(.chat-view.fluent-style) .content-wrapper>.memo-editor-wrapper.edit-ing .common-editor-wrapper>.common-tools-wrapper>.btns-container>.cancel-btn:before{content:"";display:inline-block;width:1.5em;height:1.5em;background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjwhRE9DVFlQRSBzdmcgIFBVQkxJQyAnLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4nICAnaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkJz48c3ZnIGhlaWdodD0iNTEycHgiIGlkPSJMYXllcl8xIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA1MTIgNTEyOyIgdmVyc2lvbj0iMS4xIiB2aWV3Qm94PSIwIDAgNTEyIDUxMiIgd2lkdGg9IjUxMnB4IiB4bWw6c3BhY2U9InByZXNlcnZlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj48cGF0aCBkPSJNNDQzLjYsMzg3LjFMMzEyLjQsMjU1LjRsMTMxLjUtMTMwYzUuNC01LjQsNS40LTE0LjIsMC0xOS42bC0zNy40LTM3LjZjLTIuNi0yLjYtNi4xLTQtOS44LTRjLTMuNywwLTcuMiwxLjUtOS44LDQgIEwyNTYsMTk3LjhMMTI0LjksNjguM2MtMi42LTIuNi02LjEtNC05LjgtNGMtMy43LDAtNy4yLDEuNS05LjgsNEw2OCwxMDUuOWMtNS40LDUuNC01LjQsMTQuMiwwLDE5LjZsMTMxLjUsMTMwTDY4LjQsMzg3LjEgIGMtMi42LDIuNi00LjEsNi4xLTQuMSw5LjhjMCwzLjcsMS40LDcuMiw0LjEsOS44bDM3LjQsMzcuNmMyLjcsMi43LDYuMiw0LjEsOS44LDQuMWMzLjUsMCw3LjEtMS4zLDkuOC00LjFMMjU2LDMxMy4xbDEzMC43LDEzMS4xICBjMi43LDIuNyw2LjIsNC4xLDkuOCw0LjFjMy41LDAsNy4xLTEuMyw5LjgtNC4xbDM3LjQtMzcuNmMyLjYtMi42LDQuMS02LjEsNC4xLTkuOEM0NDcuNywzOTMuMiw0NDYuMiwzODkuNyw0NDMuNiwzODcuMXoiLz48L3N2Zz4=);background-size:100% 100%;background-repeat:no-repeat}div[data-type=thino_view] .memos-chat-view:has(.chat-view.inline-style) .content-wrapper>.memo-editor-wrapper{margin-top:25px}div[data-type=thino_view] .memos-chat-view:has(.chat-view.inline-style) .content-wrapper>.memo-editor-wrapper.edit-ing .common-editor-wrapper>.common-tools-wrapper>.common-tools-container>.action-btn{top:-62px}div[data-type=thino_view] .memos-chat-view:has(.chat-view.inline-style) .content-wrapper>.memo-editor-wrapper.edit-ing .common-editor-wrapper>.common-tools-wrapper>.common-tools-container>.action-btn.location-wrapper{right:10rem}div[data-type=thino_view] .memos-chat-view:has(.chat-view.inline-style) .content-wrapper>.memo-editor-wrapper.edit-ing .common-editor-wrapper>.common-tools-wrapper>.common-tools-container>.action-btn.file-upload{right:6.6rem}div[data-type=thino_view] .memos-chat-view:has(.chat-view.inline-style) .content-wrapper>.memo-editor-wrapper.edit-ing .common-editor-wrapper>.common-tools-wrapper>.btns-container>.cancel-btn{border-radius:100%;height:45px;width:45px;padding:0 12px;background-color:var(--memos-text-red);color:var(--memos-editor-save-btn-color)}div[data-type=thino_view] .memos-chat-view:has(.chat-view.inline-style) .content-wrapper>.memo-editor-wrapper.edit-ing .common-editor-wrapper>.common-tools-wrapper>.btns-container>.cancel-btn:before{content:"";display:inline-block;width:1.5em;height:1.5em;background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjwhRE9DVFlQRSBzdmcgIFBVQkxJQyAnLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4nICAnaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkJz48c3ZnIGhlaWdodD0iNTEycHgiIGlkPSJMYXllcl8xIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA1MTIgNTEyOyIgdmVyc2lvbj0iMS4xIiB2aWV3Qm94PSIwIDAgNTEyIDUxMiIgd2lkdGg9IjUxMnB4IiB4bWw6c3BhY2U9InByZXNlcnZlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj48cGF0aCBkPSJNNDQzLjYsMzg3LjFMMzEyLjQsMjU1LjRsMTMxLjUtMTMwYzUuNC01LjQsNS40LTE0LjIsMC0xOS42bC0zNy40LTM3LjZjLTIuNi0yLjYtNi4xLTQtOS44LTRjLTMuNywwLTcuMiwxLjUtOS44LDQgIEwyNTYsMTk3LjhMMTI0LjksNjguM2MtMi42LTIuNi02LjEtNC05LjgtNGMtMy43LDAtNy4yLDEuNS05LjgsNEw2OCwxMDUuOWMtNS40LDUuNC01LjQsMTQuMiwwLDE5LjZsMTMxLjUsMTMwTDY4LjQsMzg3LjEgIGMtMi42LDIuNi00LjEsNi4xLTQuMSw5LjhjMCwzLjcsMS40LDcuMiw0LjEsOS44bDM3LjQsMzcuNmMyLjcsMi43LDYuMiw0LjEsOS44LDQuMWMzLjUsMCw3LjEtMS4zLDkuOC00LjFMMjU2LDMxMy4xbDEzMC43LDEzMS4xICBjMi43LDIuNyw2LjIsNC4xLDkuOCw0LjFjMy41LDAsNy4xLTEuMyw5LjgtNC4xbDM3LjQtMzcuNmMyLjYtMi42LDQuMS02LjEsNC4xLTkuOEM0NDcuNywzOTMuMiw0NDYuMiwzODkuNyw0NDMuNiwzODcuMXoiLz48L3N2Zz4=);background-size:100% 100%;background-repeat:no-repeat}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container{border-left:1px solid var(--memos-memo-border);border-right:1px solid var(--memos-memo-border);border-radius:var(--memos-radius-l);padding-top:var(--size-4-2)}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view .thino-chat-day-mark{display:flex;justify-content:center;align-items:center}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view .thino-chat-day-mark .day-mark-bubble{padding:4px 8px;border-radius:4px;background-color:var(--memos-bg-lightgray);color:var(--memos-text-muted);font-size:var(--font-ui-smaller);line-height:16px}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view .thino-bubble{padding:6px;overflow:hidden;position:relative}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view .thino-bubble .memo-wrapper{background-color:unset;border:unset;padding:var(--size-4-2)}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view .thino-bubble .memo-wrapper .memo-top-wrapper{display:none}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view .thino-bubble .memo-wrapper p{margin-block-start:0;margin-block-end:0}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view .thino-bubble .content:not(.task){width:auto;max-width:-webkit-fill-available;font-size:16px;border-radius:6px;border:1px solid;position:relative;display:inline-block}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view .thino-bubble .content:not(.task):before{content:"";display:inline-block;box-sizing:border-box;width:12px;height:12px;border:1px solid transparent;border-radius:3px;position:absolute;background-color:inherit;border-right-color:inherit;border-bottom-color:inherit}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view .thino-bubble .content.task{background:var(--memos-memo-bg);border-color:var(--divider-color);text-align:left;padding:.7em .5em;font-size:16px;border-radius:6px;border:1px solid;position:relative;display:inline-block}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view .thino-bubble .content.task:before{content:"";display:inline-block;box-sizing:border-box;width:12px;height:12px;border:1px solid transparent;border-radius:3px;position:absolute;background-color:inherit;border-right-color:inherit;border-bottom-color:inherit}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view .thino-bubble a.avatar,div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view .thino-bubble .icon-img{display:block;height:40px;width:40px;margin-top:var(--size-2-1);margin-right:var(--size-2-1);border-radius:2px;overflow:hidden;--icon-size: 20px}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view .thino-bubble a.avatar>img,div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view .thino-bubble .icon-img>img{width:100%;height:100%}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view .thino-bubble .icon-img{display:flex;justify-content:center;align-items:center;border-radius:9999px;border:1px solid var(--memos-memo-border);color:var(--memos-bg-accent)}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view .thino-bubble.left{text-align:left}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view .thino-bubble.left .content{background:#fafafa;border-color:#c6c6c6}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view .thino-bubble.left .content:before{left:-6px;top:16px;transform:rotate(135deg)}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view .thino-bubble.left a.avatar,div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view .thino-bubble.left .icon-img{float:left}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view .thino-bubble.left .wrap{margin-left:56px;margin-right:56px}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view .thino-bubble.right{text-align:right}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view .thino-bubble.right .content:not(.task){background:var(--memos-memo-bg);border-color:var(--divider-color);text-align:left}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view .thino-bubble.right .content:not(.task) .time-stamp{display:none;position:absolute;right:calc(100% + 4px);font-size:var(--font-ui-smaller);width:fit-content;text-align:right;text-wrap:nowrap;top:calc(100% - 14px);color:var(--memos-text-faint)}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view .thino-bubble.right .content:not(.task):before{right:-6px;top:16px;transform:rotate(-45deg)}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view .thino-bubble.right .content.task{display:inline-flex;align-items:center;padding:.2em .5em;border:1px solid var(--memos-bg-accent)}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view .thino-bubble.right .content.task .time-stamp{display:none;position:absolute;right:calc(100% + 4px);font-size:var(--font-ui-smaller);width:fit-content;text-align:right;text-wrap:nowrap;top:calc(100% - 14px);color:var(--memos-text-faint)}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view .thino-bubble.right .content.task .task-inputer{display:flex;justify-content:center;align-items:center;position:absolute;top:0;right:calc(100% + 8px)}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view .thino-bubble.right .content.task .task-inputer input[type=checkbox]{margin-inline-end:0}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view .thino-bubble.right .content.task:before{content:unset}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view .thino-bubble.right a.avatar,div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view .thino-bubble.right .icon-img{float:right;background-repeat:no-repeat;background-size:cover;background-position:center}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view .thino-bubble.right .wrap{margin-right:56px;margin-left:40px}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view .thino-bubble.right .wrap:hover .time-stamp{display:block}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view .thino-bubble:after{clear:both;content:""}div[data-type=thino_view] .memolist-wrapper.completed:has(.chat-view){padding-bottom:0}div[data-type=thino_view] .memolist-wrapper.completed:has(.chat-view) .status-text-container{display:none}div[data-type=thino_view] .memos-chat-view .memos-header-container{border-bottom:var(--memos-memo-border) 1px solid;padding-bottom:var(--size-2-2)}div[data-type=thino_view] .memos-chat-view .content-wrapper .memo-editor-wrapper .common-editor-inputer{min-height:80px;max-height:360px}div[data-type=thino_view] .memos-chat-view{--memos-bg-accent: #3db16b;--memos-bg-accent-cancel: #f44336;--memos-editor-save-btn-color: white}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view.inline-style .thino-bubble.right .wrap>.content{background:#98e970}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view.inline-style .thino-bubble.right .content.task{border-color:#98e970}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view.inline-style .thino-bubble.right .content.task .task-inputer{display:block;position:absolute;right:0;top:100%;line-height:1.7}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view.inline-style .thino-bubble.right .content.task .time-stamp{display:block;position:absolute;right:18px;top:100%;line-height:2.1}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view.inline-style .thino-bubble.right .content .memo-content-text>*{color:#000}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view.inline-style .thino-bubble.right .content .memo-content-text a{color:#205e3d}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view.inline-style .thino-bubble.right .content .memo-content-text a:hover{background-color:var(--memos-text-lightgray)}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view.inline-style .thino-bubble.right .content:not(.task) .time-stamp{display:block;position:absolute;right:0;top:100%;line-height:2.1}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view.inline-style .thino-bubble{padding-bottom:24px}div[data-type=thino_view] .memos-chat-view .chat-view.inline-style .task-inputer input[type=checkbox]{border:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='white' d='M3 6a3 3 0 0 1 3-3h8a3 3 0 0 1 3 3v8a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3zm3-2a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2z'/%3E%3C/svg%3E");filter:invert(50%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%)}div[data-type=thino_view] .memos-chat-view .chat-view.inline-style .task-inputer input[type=checkbox]:checked{border:none;background-image:url('data:image/svg+xml; utf8, ');background-color:unset;filter:invert(50%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%)}div[data-type=thino_view] .memos-chat-view .chat-view.inline-style .task-inputer input[type=checkbox]:checked:after{display:none}div[data-type=thino_view] .memos-chat-view .chat-view.inline-style .task-inputer input[type=checkbox]:hover{filter:invert(70%)}div[data-type=thino_view] .memos-chat-view:has(.chat-view.inline-style) .content-wrapper>.memo-editor-wrapper .common-editor-wrapper>.common-tools-wrapper>.btns-container>.confirm-btn>.icon-text{margin-left:0;display:inline-block;width:3em;height:3em;background-repeat:no-repeat;background-size:100% 100%;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='white' d='M15.964.686a.5.5 0 0 0-.65-.65L.767 5.855H.766l-.452.18a.5.5 0 0 0-.082.887l.41.26l.001.002l4.995 3.178l3.178 4.995l.002.002l.26.41a.5.5 0 0 0 .886-.083zm-1.833 1.89L6.637 10.07l-.215-.338a.5.5 0 0 0-.154-.154l-.338-.215l7.494-7.494l1.178-.471z'/%3E%3C/svg%3E")}div[data-type=thino_view] .memos-chat-view:has(.chat-view.inline-style) .content-wrapper>.memo-editor-wrapper .common-editor-wrapper>.common-tools-wrapper>.common-tools-container>.action-btn.file-upload{position:absolute;right:3rem;top:unset;cursor:pointer;border-radius:100%;height:45px;width:45px;padding:0 12px;background-color:var(--memos-text-lightgray);color:var(--memos-editor-save-btn-color);filter:none}div[data-type=thino_view] .memos-chat-view:has(.chat-view.inline-style) .content-wrapper>.memo-editor-wrapper .common-editor-wrapper>.common-tools-wrapper>.common-tools-container>.action-btn.location-wrapper{position:absolute;right:6rem;top:unset;cursor:pointer;border-radius:100%;height:45px;width:45px;padding:0 12px;background-color:var(--memos-text-lightgray);color:var(--memos-editor-save-btn-color);filter:none}div[data-type=thino_view] .memos-chat-view:has(.chat-view.inline-style) .content-wrapper>.memo-editor-wrapper .common-editor-wrapper>.common-tools-wrapper>.common-tools-container>.action-btn{position:absolute;filter:invert(50%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%);cursor:pointer;border-radius:100%;top:-40px;color:var(--memos-editor-save-btn-color)}div[data-type=thino_view] .memos-chat-view:has(.chat-view.inline-style) .content-wrapper>.memo-editor-wrapper .common-editor-wrapper>.common-tools-wrapper>.common-tools-container>.action-btn.add-tag{right:calc(100% - 10px)}div[data-type=thino_view] .memos-chat-view:has(.chat-view.inline-style) .content-wrapper>.memo-editor-wrapper .common-editor-wrapper>.common-tools-wrapper>.common-tools-container>.action-btn.list-or-task{right:calc(100% - 32px)}div[data-type=thino_view] .memos-chat-view:has(.chat-view.inline-style) .content-wrapper>.memo-editor-wrapper .common-editor-wrapper>.common-tools-wrapper>.common-tools-container>.action-btn.show-editor{right:calc(100% - 55px)}div[data-type=thino_view] .memos-chat-view:has(.chat-view.inline-style) .content-wrapper>.memo-editor-wrapper .common-editor-wrapper>.common-tools-wrapper>.common-tools-container>.action-btn.split-line{display:none}div[data-type=thino_view]:has(.chat-view.inline-style) .content-wrapper>.memo-editor-wrapper .common-editor-wrapper>.common-tools-wrapper>.btns-container>.confirm-btn{border-radius:100%;height:45px;width:45px}.theme-dark div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view.inline-style .thino-bubble.right .wrap>.content{background:#3eb575;border-color:#369e66}div[data-type=thino_view] .memos-chat-view:has(.chat-view.inline-style) .content-wrapper .memo-editor-wrapper .common-editor-inputer{min-height:80px;max-height:160px}div[data-type=thino_view] .memos-chat-view{--memos-bg-accent: #3db16b;--memos-editor-save-btn-color: white}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view.fluent-style .thino-bubble.right .wrap>.content{background:#98e970}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view.fluent-style .thino-bubble.right .content.task{border-color:#98e970}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view.fluent-style .thino-bubble.right .content.task .task-inputer{display:block;position:absolute;right:0;top:100%;line-height:1.7}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view.fluent-style .thino-bubble.right .content.task .time-stamp{display:block;position:absolute;right:18px;top:100%;line-height:2.1}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view.fluent-style .thino-bubble.right .content .memo-content-text>*{color:#000}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view.fluent-style .thino-bubble.right .content .memo-content-text a{color:#205e3d}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view.fluent-style .thino-bubble.right .content .memo-content-text a:hover{background-color:var(--memos-text-lightgray)}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view.fluent-style .thino-bubble.right .content:not(.task) .time-stamp{display:block;position:absolute;right:0;top:100%;line-height:2.1}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view.fluent-style .thino-bubble{padding-bottom:24px}div[data-type=thino_view] .memos-chat-view .chat-view.fluent-style .task-inputer input[type=checkbox]{border:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='white' d='M3 6a3 3 0 0 1 3-3h8a3 3 0 0 1 3 3v8a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3zm3-2a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2z'/%3E%3C/svg%3E");filter:invert(50%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%)}div[data-type=thino_view] .memos-chat-view .chat-view.fluent-style .task-inputer input[type=checkbox]:checked{border:none;background-image:url('data:image/svg+xml; utf8, ');background-color:unset;filter:invert(50%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%)}div[data-type=thino_view] .memos-chat-view .chat-view.fluent-style .task-inputer input[type=checkbox]:checked:after{display:none}div[data-type=thino_view] .memos-chat-view .chat-view.fluent-style .task-inputer input[type=checkbox]:hover{filter:invert(70%)}div[data-type=thino_view] .memos-chat-view:has(.chat-view.fluent-style) .content-wrapper>.memo-editor-wrapper .common-editor-wrapper>.common-tools-wrapper>.btns-container>.confirm-btn>.icon-text{margin-left:0;display:inline-block;width:3em;height:3em;background-repeat:no-repeat;background-size:100% 100%;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='white' d='M15.964.686a.5.5 0 0 0-.65-.65L.767 5.855H.766l-.452.18a.5.5 0 0 0-.082.887l.41.26l.001.002l4.995 3.178l3.178 4.995l.002.002l.26.41a.5.5 0 0 0 .886-.083zm-1.833 1.89L6.637 10.07l-.215-.338a.5.5 0 0 0-.154-.154l-.338-.215l7.494-7.494l1.178-.471z'/%3E%3C/svg%3E")}div[data-type=thino_view] .memos-chat-view:has(.chat-view.fluent-style) .content-wrapper>.memo-editor-wrapper .common-editor-wrapper>.common-tools-wrapper>.common-tools-container>.action-btn{position:absolute;filter:invert(50%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%);cursor:pointer;border-radius:100%;top:-40px;color:var(--memos-editor-save-btn-color)}div[data-type=thino_view] .memos-chat-view:has(.chat-view.fluent-style) .content-wrapper>.memo-editor-wrapper .common-editor-wrapper>.common-tools-wrapper>.common-tools-container>.action-btn.add-tag{right:calc(100% - 10px)}div[data-type=thino_view] .memos-chat-view:has(.chat-view.fluent-style) .content-wrapper>.memo-editor-wrapper .common-editor-wrapper>.common-tools-wrapper>.common-tools-container>.action-btn.list-or-task{right:calc(100% - 32px)}div[data-type=thino_view] .memos-chat-view:has(.chat-view.fluent-style) .content-wrapper>.memo-editor-wrapper .common-editor-wrapper>.common-tools-wrapper>.common-tools-container>.action-btn.show-editor{right:calc(100% - 55px)}div[data-type=thino_view] .memos-chat-view:has(.chat-view.fluent-style) .content-wrapper>.memo-editor-wrapper .common-editor-wrapper>.common-tools-wrapper>.common-tools-container>.action-btn.split-line{display:none}div[data-type=thino_view] .memos-chat-view:has(.chat-view.fluent-style) .content-wrapper>.memo-editor-wrapper .common-editor-wrapper>.common-tools-wrapper>.common-tools-container>.action-btn.file-upload{right:calc(100% - 80px)}div[data-type=thino_view] .memos-chat-view:has(.chat-view.fluent-style) .content-wrapper>.memo-editor-wrapper .common-editor-wrapper>.common-tools-wrapper>.common-tools-container>.action-btn.location-wrapper{right:calc(100% - 110px);margin-top:-3px;background-color:unset;box-shadow:none}div[data-type=thino_view] .memos-chat-view:has(.chat-view.fluent-style) .content-wrapper>.memo-editor-wrapper .common-editor-wrapper>.common-tools-wrapper>.btns-container>.confirm-btn{position:absolute;right:-80px;bottom:-15px;border-radius:100%;height:45px;width:45px}.theme-dark div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view.fluent-style .thino-bubble.right .wrap>.content{background:#3eb575;border-color:#369e66}div[data-type=thino_view] .memos-chat-view .content-wrapper:has(.chat-view.fluent-style)>.memo-editor-wrapper .common-editor-inputer{min-height:80px;max-height:160px}div[data-type=thino_view] .memos-chat-view:has(.chat-view.fluent-style) .content-wrapper>.memo-editor-wrapper{width:calc(100% - 80px)}div[data-type=thino_view].mobile-view .memos-chat-view:has(.chat-view.fluent-style) .content-wrapper>.memo-editor-wrapper{margin-top:25px}div[data-type=thino_view].mobile-view .memos-chat-view:has(.chat-view.inline-style) .content-wrapper>.memo-editor-wrapper{margin-top:25px}div[data-type=thino_view] .memo-trash-wrapper{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;width:100%;height:100%;flex-grow:1;overflow-y:scroll}div[data-type=thino_view] .memo-trash-wrapper::-webkit-scrollbar{width:0;height:0;cursor:pointer}div[data-type=thino_view] .memo-trash-wrapper::-webkit-scrollbar-thumb{width:0;height:0;border-radius:8px;background-color:#d5d5d5}div[data-type=thino_view] .memo-trash-wrapper::-webkit-scrollbar-thumb:hover{background-color:#ccc}div[data-type=thino_view] .memo-trash-wrapper::-webkit-scrollbar{display:none}div[data-type=thino_view] .memo-trash-wrapper>.section-header-container{width:100%;height:40px;margin-bottom:var(--size-4-4);color:var(--memos-text-black)}div[data-type=thino_view] .memo-trash-wrapper>.section-header-container>.title-text{font-weight:700;font-size:var(--font-ui-medium);color:var(--memos-text-black)}div[data-type=thino_view] .memo-trash-wrapper>.section-header-container>.title-text>.go-home-btn{margin-left:8px;color:var(--memos-text-muted);background-color:var(--memos-memo-border);padding-left:6px;padding-right:6px;font-size:var(--font-ui-small);border-radius:4px;cursor:pointer}div[data-type=thino_view] .memo-trash-wrapper>.section-header-container>.title-text>.go-home-btn:hover{color:var(--memos-accent-hover)}div[data-type=thino_view] .memo-trash-wrapper>.section-header-container>.title-text>.menu-popup-btn{display:flex;justify-content:center;align-items:center;margin-left:8px}div[data-type=thino_view] .memo-trash-wrapper>.tip-text-container{width:100%;height:128px;display:flex;flex-direction:column;justify-content:center;align-items:center}div[data-type=thino_view] .memo-trash-wrapper>.deleted-memos-container{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;flex-grow:1;width:100%;overflow-y:scroll;color:var(--memos-text-black);padding-bottom:64px;gap:var(--size-4-2)}div[data-type=thino_view] .memo-trash-wrapper>.deleted-memos-container::-webkit-scrollbar{width:0;height:0;cursor:pointer}div[data-type=thino_view] .memo-trash-wrapper>.deleted-memos-container::-webkit-scrollbar-thumb{width:0;height:0;border-radius:8px;background-color:#d5d5d5}div[data-type=thino_view] .memo-trash-wrapper>.deleted-memos-container::-webkit-scrollbar-thumb:hover{background-color:#ccc}div[data-type=thino_view] .memo-trash-wrapper>.deleted-memos-container::-webkit-scrollbar{display:none}div[data-type=thino_view] .memo-trash-wrapper>.deleted-memos-container>.memo-wrapper>.memo-content-text{font-size:var(--font-ui-medium);line-height:24px}div[data-type=thino_view] .memo-trash-wrapper:has(.filter-query-container:not(.thino-hidden)) .menu-popup-btn{display:none}div[data-type=thino_view].mobile-view .deleted-memos-container{padding:0 12px}div[data-type=thino_view].mobile-view .memo-trash-wrapper{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;width:100%;height:100%;flex-grow:1;overflow-y:scroll}div[data-type=thino_view].mobile-view .memo-trash-wrapper::-webkit-scrollbar{width:0;height:0;cursor:pointer}div[data-type=thino_view].mobile-view .memo-trash-wrapper::-webkit-scrollbar-thumb{width:0;height:0;border-radius:8px;background-color:#d5d5d5}div[data-type=thino_view].mobile-view .memo-trash-wrapper::-webkit-scrollbar-thumb:hover{background-color:#ccc}div[data-type=thino_view].mobile-view .memo-trash-wrapper::-webkit-scrollbar{display:none}div[data-type=thino_view].mobile-view .memo-trash-wrapper>.section-header-container{width:100%;height:58px;margin-bottom:0}div[data-type=thino_view].mobile-view .memo-trash-wrapper>.section-header-container>.title-text{font-weight:700;font-size:var(--font-ui-medium);color:var(--memos-text-black)}div[data-type=thino_view] .memo-trash-wrapper .memo-wrapper{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;width:100%;padding:12px 18px;background-color:var(--memos-memo-bg);border-radius:8px;border:1px solid var(--memos-memo-border)}div[data-type=thino_view] .memo-trash-wrapper .memo-wrapper:hover{border-color:var(--memos-bg-gray)}div[data-type=thino_view] .memo-trash-wrapper .memo-wrapper>.memo-top-wrapper{display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%;height:24px}div[data-type=thino_view] .memo-trash-wrapper .memo-wrapper>.memo-top-wrapper>.time-text{font-size:var(--font-ui-small);line-height:24px;color:var(--memos-text-muted);flex-shrink:0;cursor:pointer}div[data-type=thino_view] .memo-trash-wrapper .memo-wrapper>.memo-top-wrapper>.btns-container{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;position:relative;flex-shrink:0}div[data-type=thino_view] .memo-trash-wrapper .memo-wrapper>.memo-top-wrapper>.btns-container>.more-action-btns-wrapper{display:flex;flex-direction:column;justify-content:flex-start;align-items:center;position:absolute;flex-wrap:nowrap;top:calc(100% - 14px);right:-16px;width:auto;height:auto;padding:12px;z-index:1;display:none;min-width:140px}div[data-type=thino_view] .memo-trash-wrapper .memo-wrapper>.memo-top-wrapper>.btns-container>.more-action-btns-wrapper:hover{display:flex}div[data-type=thino_view] .memo-trash-wrapper .memo-wrapper>.memo-top-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container{display:flex;width:100%;height:auto;padding:var(--size-4-2);white-space:nowrap;border-radius:8px;background-color:var(--memos-memo-bg);box-shadow:var(--memos-memo-shadow);z-index:1;flex-direction:column}div[data-type=thino_view] .memo-trash-wrapper .memo-wrapper>.memo-top-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item{display:flex;justify-content:flex-start;align-items:center;gap:var(--size-2-2);padding-left:var(--size-4-2);padding-right:var(--size-4-2)}div[data-type=thino_view] .memo-trash-wrapper .memo-wrapper>.memo-top-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item>.more-action-item-icon{display:flex}div[data-type=thino_view] .memo-trash-wrapper .memo-wrapper>.memo-top-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item>.more-action-item-icon>svg{height:var(--size-4-4)}div[data-type=thino_view] .memo-trash-wrapper .memo-wrapper>.memo-top-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item>.btn{width:100%;padding:8px 0 8px 6px;border-radius:4px;height:unset;line-height:unset;justify-content:flex-start}div[data-type=thino_view] .memo-trash-wrapper .memo-wrapper>.memo-top-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item>.btn.delete-btn{color:var(--memos-text-red)}div[data-type=thino_view] .memo-trash-wrapper .memo-wrapper>.memo-top-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item>.btn.delete-btn:hover{color:var(--memos-text-light-red)}div[data-type=thino_view] .memo-trash-wrapper .memo-wrapper>.memo-top-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item>.btn.delete-btn.final-confirm{font-weight:700}div[data-type=thino_view] .memo-trash-wrapper .memo-wrapper>.memo-top-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item.archive-menu-item,div[data-type=thino_view] .memo-trash-wrapper .memo-wrapper>.memo-top-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item.delete-menu-item{color:var(--memos-text-red)}div[data-type=thino_view] .memo-trash-wrapper .memo-wrapper>.memo-top-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item.archive-menu-item:hover,div[data-type=thino_view] .memo-trash-wrapper .memo-wrapper>.memo-top-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item.delete-menu-item:hover{color:var(--memos-text-light-red)}div[data-type=thino_view] .memo-trash-wrapper .memo-wrapper>.memo-top-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item:hover{background-color:var(--memos-bg-lightgray)}div[data-type=thino_view] .memo-trash-wrapper .memo-wrapper>.memo-top-wrapper>.btns-container .btn{display:flex;flex-direction:row;justify-content:center;align-items:center;width:100%;height:var(--size-4-6);font-size:var(--font-ui-small);border-radius:4px}div[data-type=thino_view] .memo-trash-wrapper .memo-wrapper>.memo-top-wrapper>.btns-container .btn:hover{background-color:var(--memos-bg-lightgray)}div[data-type=thino_view] .memo-trash-wrapper .memo-wrapper>.memo-top-wrapper>.btns-container .btn.more-action-btn{width:28px;cursor:unset;margin-right:-6px;opacity:.8}div[data-type=thino_view] .memo-trash-wrapper .memo-wrapper>.memo-top-wrapper>.btns-container .btn.more-action-btn>.icon-img{width:16px;height:16px}div[data-type=thino_view] .memo-trash-wrapper .memo-wrapper>.memo-top-wrapper>.btns-container .btn.more-action-btn:hover{background-color:unset}div[data-type=thino_view] .memo-trash-wrapper .memo-wrapper>.memo-top-wrapper>.btns-container .btn.more-action-btn:hover+.more-action-btns-wrapper{display:flex}div[data-type=thino_view] .memo-trash-wrapper .memo-wrapper>.memo-content-text{width:100%}div[data-type=thino_view] .memo-trash-wrapper .memo-wrapper>.images-wrapper{display:flex;flex-direction:row;justify-content:flex-start;align-items:flex-start;margin-top:8px;width:100%;overflow-x:auto;overflow-y:hidden;padding-bottom:4px}div[data-type=thino_view] .memo-trash-wrapper .memo-wrapper>.images-wrapper::-webkit-scrollbar{width:0;height:2px;cursor:pointer}div[data-type=thino_view] .memo-trash-wrapper .memo-wrapper>.images-wrapper::-webkit-scrollbar-thumb{width:0;height:2px;border-radius:8px;background-color:#d5d5d5}div[data-type=thino_view] .memo-trash-wrapper .memo-wrapper>.images-wrapper::-webkit-scrollbar-thumb:hover{background-color:#ccc}div[data-type=thino_view] .memo-trash-wrapper .memo-wrapper>.images-wrapper>.memo-img{margin-right:8px;width:auto;height:128px;flex-shrink:0;flex-grow:0;overflow-y:hidden}div[data-type=thino_view] .memo-trash-wrapper .memo-wrapper>.images-wrapper>.memo-img::-webkit-scrollbar{width:0;height:0;cursor:pointer}div[data-type=thino_view] .memo-trash-wrapper .memo-wrapper>.images-wrapper>.memo-img::-webkit-scrollbar-thumb{width:0;height:0;border-radius:8px;background-color:#d5d5d5}div[data-type=thino_view] .memo-trash-wrapper .memo-wrapper>.images-wrapper>.memo-img::-webkit-scrollbar-thumb:hover{background-color:#ccc}div[data-type=thino_view] .memo-trash-wrapper .memo-wrapper>.images-wrapper>.memo-img::-webkit-scrollbar{display:none}div[data-type=thino_view] .memo-trash-wrapper .memo-wrapper>.images-wrapper>.memo-img:hover{border-color:var(--memos-memo-border)}div[data-type=thino_view] .memo-trash-wrapper .memo-wrapper>.images-wrapper>.memo-img:last-child{margin-right:0}div[data-type=thino_view] .memo-trash-wrapper .memo-wrapper>.images-wrapper>.memo-img>img{width:auto;max-height:128px;border-radius:8px}.selector-wrapper{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;position:relative;height:28px;color:var(--memos-text-hover)}.selector-wrapper>.current-value-container{display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%;height:100%;border:1px solid var(--memos-bg-gray);border-radius:4px;padding:0 4px 0 8px;background-color:var(--memos-memo-bg);cursor:pointer;-webkit-user-select:none;user-select:none}.selector-wrapper>.current-value-container:hover,.selector-wrapper>.current-value-container.active{background-color:var(--memos-bg-whitegray)}.selector-wrapper>.current-value-container.active>.arrow-text{transform:rotate(90deg)}.selector-wrapper>.current-value-container>.value-text{margin-right:0;font-size:var(--font-ui-small);line-height:32px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:calc(100% - 20px)}.selector-wrapper>.current-value-container>.arrow-text{display:flex;flex-direction:row;justify-content:center;align-items:center;width:16px;flex-shrink:0}.selector-wrapper>.current-value-container>.arrow-text>.icon-img{width:16px;height:auto;opacity:.6;transform:rotate(90deg)}.selector-wrapper>.items-wrapper{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;position:absolute;top:100%;left:0;width:auto;min-width:calc(100% + 16px);max-height:256px;padding:4px;overflow:auto;margin-top:2px;margin-left:-8px;z-index:1;background-color:var(--memos-memo-bg);border-radius:8px;box-shadow:var(--memos-memo-shadow)}.selector-wrapper>.items-wrapper::-webkit-scrollbar{width:0;height:0;cursor:pointer}.selector-wrapper>.items-wrapper::-webkit-scrollbar-thumb{width:0;height:0;border-radius:8px;background-color:#d5d5d5}.selector-wrapper>.items-wrapper::-webkit-scrollbar-thumb:hover{background-color:#ccc}.selector-wrapper>.items-wrapper::-webkit-scrollbar{display:none}.selector-wrapper>.items-wrapper>.item-container{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;width:100%;padding-left:12px;line-height:30px;white-space:nowrap;font-size:var(--font-ui-small);cursor:pointer;border-radius:4px;-webkit-user-select:none;user-select:none}.selector-wrapper>.items-wrapper>.item-container:hover{background-color:var(--memos-bg-whitegray)}.selector-wrapper>.items-wrapper>.item-container.selected{color:var(--memos-text-green)}.create-query-dialog>.dialog-container{width:420px}.create-query-dialog>.dialog-container>.dialog-content-container{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start}.create-query-dialog>.dialog-container>.dialog-content-container>.form-item-container{display:flex;flex-direction:row;justify-content:flex-start;align-items:flex-start;width:100%;margin-top:8px;padding:4px 0}.create-query-dialog>.dialog-container>.dialog-content-container>.form-item-container>.normal-text{display:block;flex-shrink:0;width:40px;margin-right:12px;text-align:right;color:gray;font-size:var(--font-ui-small);line-height:32px}.create-query-dialog>.dialog-container>.dialog-content-container>.form-item-container>.title-input{width:100%;padding:0 8px;font-size:var(--font-ui-small);line-height:32px;border-radius:4px;border:1px solid var(--memos-bg-gray);resize:none}.create-query-dialog>.dialog-container>.dialog-content-container>.form-item-container>.filters-wrapper{width:calc(100% - 56px);display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start}.create-query-dialog>.dialog-container>.dialog-content-container>.form-item-container>.filters-wrapper>.create-filter-btn{color:var(--memos-text-green);font-size:var(--font-ui-small);line-height:32px;cursor:pointer}.create-query-dialog>.dialog-container>.dialog-footer-container{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;width:100%;margin-top:0}.create-query-dialog>.dialog-container>.dialog-footer-container>.btns-container{display:flex;flex-direction:row;justify-content:flex-start;align-items:center}.create-query-dialog>.dialog-container>.dialog-footer-container>.btns-container>.btn{padding:6px 16px;font-size:var(--font-ui-small);border-radius:4px}.create-query-dialog>.dialog-container>.dialog-footer-container>.btns-container>.btn:hover{color:var(--memos-text-hover);background-color:var(--memos-bg-accent)}.create-query-dialog>.dialog-container>.dialog-footer-container>.btns-container>.btn.save-btn{background-color:var(--interactive-normal);color:var(--memos-text-muted)}.create-query-dialog>.dialog-container>.dialog-footer-container>.btns-container>.btn.save-btn:hover{color:var(--memos-text-hover);background-color:var(--memos-bg-accent)}.create-query-dialog>.dialog-container>.dialog-footer-container>.btns-container>.btn.mod-cta{background-color:var(--interactive-normal);margin-right:var(--size-4-2)}.create-query-dialog>.dialog-container>.dialog-footer-container>.btns-container>.btns-group-container{display:flex;flex-direction:row;justify-content:flex-start;align-items:center}.create-query-dialog>.dialog-container>.dialog-footer-container>.btns-container>.btns-group-container>.tip-text{font-size:var(--font-ui-small);color:gray;margin-right:8px;white-space:nowrap}.create-query-dialog>.dialog-container>.dialog-footer-container>.btns-container>.btns-group-container>.btn{padding:6px 16px;font-size:var(--font-ui-small);border-radius:4px}.create-query-dialog>.dialog-container>.dialog-footer-container>.btns-container>.btns-group-container>.btn:hover{opacity:.8}.create-query-dialog>.dialog-container>.dialog-footer-container>.btns-container>.btns-group-container>.btn.disabled{color:var(--memos-text-muted);cursor:not-allowed}.create-query-dialog>.dialog-container>.dialog-footer-container>.btns-container>.btns-group-container>.btn.save-btn{background-color:var(--memos-bg-accent);color:var(--memos-text-hover)}.create-query-dialog>.dialog-container>.dialog-footer-container>.btns-container>.btns-group-container>.btn.save-btn.requesting{cursor:wait;opacity:.8}.create-query-dialog>.dialog-container>.dialog-footer-container>.btns-container>.btns-group-container>.btn.mod-cta{margin-right:var(--size-4-2)}.memo-filter-input-wrapper{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;width:100%;margin-top:8px;flex-shrink:0}.memo-filter-input-wrapper:first-of-type{margin-top:0}.memo-filter-input-wrapper>.selector-wrapper{margin-right:4px;height:34px;flex-grow:0;flex-shrink:0}.memo-filter-input-wrapper>.selector-wrapper.relation-selector{width:48px;margin-left:-52px}.memo-filter-input-wrapper>.selector-wrapper.type-selector{width:62px}.memo-filter-input-wrapper>.selector-wrapper.operator-selector{width:62px}.memo-filter-input-wrapper>.selector-wrapper.value-selector{flex-grow:1;max-width:calc(100% - 152px)}.memo-filter-input-wrapper>input.value-inputer{max-width:calc(100% - 152px);height:34px;padding:0 8px;flex-shrink:0;flex-grow:1;margin-right:4px;border-radius:4px;border:1px solid var(--memos-bg-gray);background-color:transparent}.memo-filter-input-wrapper>input.value-inputer:hover{background-color:var(--memos-bg-lightgray)}.memo-filter-input-wrapper>input.value-inputer:has(+input.value-inputer){max-width:20%!important}.memo-filter-input-wrapper>input.value-inputer:has(+input.value-inputer)+input.value-inputer{max-width:32%!important}.memo-filter-input-wrapper>.date-inputer{position:relative}.memo-filter-input-wrapper>.date-inputer>.calendar-btn{position:absolute;left:var(--size-4-2);top:var(--size-4-2);width:16px;height:auto;cursor:pointer;opacity:.8;margin-right:var(--size-4-2)}.memo-filter-input-wrapper>.date-inputer>.calendar-btn:hover{opacity:.6}.memo-filter-input-wrapper>.date-inputer .menu-btns-popup{display:flex;flex-direction:row;justify-content:flex-start;align-items:flex-start;position:absolute;top:36px;left:calc(var(--size-4-8) * -1);padding:4px;width:auto;border-radius:8px;z-index:20;box-shadow:var(--memos-memo-shadow);background-color:var(--memos-memo-bg)}.memo-filter-input-wrapper>.date-inputer .menu-btns-popup .quick-date-btn-group{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;height:100%;width:92px;font-size:var(--font-ui-smaller);gap:var(--size-4-2);padding-top:var(--size-4-2);padding-left:var(--size-2-2);padding-right:var(--size-2-2);color:var(--memos-text-muted)}.memo-filter-input-wrapper>.date-inputer .menu-btns-popup .quick-date-btn-group>.quick-date-btn{width:100%;padding:var(--size-2-1);padding-top:var(--size-2-2);padding-bottom:var(--size-2-2);border-radius:var(--memos-radius-m)}.memo-filter-input-wrapper>.date-inputer .menu-btns-popup .quick-date-btn-group>.quick-date-btn:hover{background:var(--memos-bg-lightgray)}.memo-filter-input-wrapper>.date-inputer .menu-btns-popup .calendar-date-picker{background-color:var(--memos-memo-bg);padding:var(--size-2-2)}.memo-filter-input-wrapper>.date-inputer .menu-btns-popup:has(.quick-date-btn-group) .calendar-date-picker{border-radius:unset;border-left:1px solid var(--memos-bg-lightgray)}.memo-filter-input-wrapper>.date-inputer>input.value-inputer{max-width:calc(100% - var(--size-2-2));height:34px;padding-left:var(--size-4-8);padding-right:var(--size-4-2);flex-shrink:0;flex-grow:1;margin-right:calc(var(--size-2-2) * -1);border-radius:4px;border:1px solid var(--memos-bg-gray);background-color:transparent}.memo-filter-input-wrapper>.date-inputer>input.value-inputer:hover{background-color:var(--memos-bg-lightgray)}.memo-filter-input-wrapper>.remove-btn{width:16px;height:auto;cursor:pointer;opacity:.8}.memo-filter-input-wrapper>.remove-btn:hover{opacity:.6}@media only screen and (max-width: 875px){.dialog-wrapper.create-query-dialog{padding:64px 16px 24px;justify-content:unset;overflow-x:hidden}.dialog-wrapper.create-query-dialog::-webkit-scrollbar{display:none}}.theme-dark .create-query-dialog>.dialog-container>.dialog-content-container>.form-item-container>.filters-wrapper>.create-filter-btn{color:var(--memos-text-light-red)}.theme-dark .create-query-dialog>.dialog-container>.dialog-footer-container>.btns-container>.btn.save-btn{background-color:var(--memos-bg-accent);color:var(--memos-memo-bg)}div[data-type=thino_view] .queries-wrapper{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;width:100%;padding:0 8px;height:auto;flex-wrap:nowrap}div[data-type=thino_view] .queries-wrapper::-webkit-scrollbar{width:0;height:0;cursor:pointer}div[data-type=thino_view] .queries-wrapper::-webkit-scrollbar-thumb{width:0;height:0;border-radius:8px;background-color:#d5d5d5}div[data-type=thino_view] .queries-wrapper::-webkit-scrollbar-thumb:hover{background-color:#ccc}div[data-type=thino_view] .queries-wrapper::-webkit-scrollbar{display:none}div[data-type=thino_view] .queries-wrapper>.title-text{display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%;padding:4px 16px;margin-bottom:4px}div[data-type=thino_view] .queries-wrapper>.title-text>*{font-size:var(--font-ui-smaller);line-height:24px;color:var(--memos-text-black);opacity:.5}div[data-type=thino_view] .queries-wrapper>.title-text>.create-query-btn{display:none}div[data-type=thino_view] .queries-wrapper>.title-text:hover>.create-query-btn,div[data-type=thino_view] .queries-wrapper>.title-text:active>.create-query-btn{display:flex;align-items:center;justify-content:center;color:var(--memos-accent-hover);cursor:pointer}div[data-type=thino_view] .queries-wrapper>.create-query-btn-container{display:flex;flex-direction:row;justify-content:center;align-items:center;width:100%;margin-top:8px;margin-bottom:12px}div[data-type=thino_view] .queries-wrapper>.create-query-btn-container>.btn{display:flex;padding:4px 8px;border:1px dashed var(--memos-bg-blue);border-radius:8px;font-size:var(--font-ui-small)}div[data-type=thino_view] .queries-wrapper>.create-query-btn-container>.btn:hover{background-color:var(--memos-bg-light-blue);color:var(--memos-text-hover)}div[data-type=thino_view] .queries-wrapper>.queries-container{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;position:relative;width:100%;height:auto;flex-wrap:nowrap;margin-bottom:8px}div[data-type=thino_view] .queries-wrapper>.queries-container>.query-item-container{display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%;height:40px;padding:0 16px;margin-top:4px;border-radius:8px;font-size:var(--thino-ui-small);cursor:pointer;flex-shrink:0;-webkit-user-select:none;user-select:none}div[data-type=thino_view] .queries-wrapper>.queries-container>.query-item-container:hover{background-color:var(--thino-modifier-hover)}div[data-type=thino_view] .queries-wrapper>.queries-container>.query-item-container:hover>.btns-container{display:flex}div[data-type=thino_view] .queries-wrapper>.queries-container>.query-item-container.active>.query-text-container{font-weight:700}div[data-type=thino_view] .queries-wrapper>.queries-container>.query-item-container.active>.query-text-container>*{color:var(--memos-text-green)}div[data-type=thino_view] .queries-wrapper>.queries-container>.query-item-container>.query-text-container{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;max-width:calc(100% - 24px);color:var(--memos-text-black);overflow:hidden;text-overflow:ellipsis;flex-shrink:0;line-height:20px}div[data-type=thino_view] .queries-wrapper>.queries-container>.query-item-container>.query-text-container>.icon-text{display:flex;justify-content:center;align-items:center;flex-shrink:0;margin-right:var(--size-4-2);--icon-size: 16px}div[data-type=thino_view] .queries-wrapper>.queries-container>.query-item-container>.query-text-container>.query-text{flex-shrink:0}div[data-type=thino_view] .queries-wrapper>.queries-container>.query-item-container>.btns-container{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;display:none}div[data-type=thino_view] .queries-wrapper>.queries-container>.query-item-container>.btns-container>.action-btn{display:flex;flex-direction:row;justify-content:center;align-items:center;width:24px;height:24px;flex-shrink:0}div[data-type=thino_view] .queries-wrapper>.queries-container>.query-item-container>.btns-container>.action-btn>.icon-img{width:18px;height:auto}div[data-type=thino_view] .queries-wrapper>.queries-container>.query-item-container>.btns-container>.action-btns-wrapper{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;position:absolute;right:0;width:auto;height:auto;padding:8px;transform:translateY(60px);z-index:1}div[data-type=thino_view] .queries-wrapper>.queries-container>.query-item-container>.btns-container>.action-btns-wrapper>.action-btns-container{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;width:86px;height:auto;white-space:nowrap;border-radius:6px;padding:4px;background-color:var(--memos-memo-bg);box-shadow:var(--memos-memo-shadow)}div[data-type=thino_view] .queries-wrapper>.queries-container>.query-item-container>.btns-container>.action-btns-wrapper>.action-btns-container>.btn{display:flex;flex-direction:row;justify-content:center;align-items:center;gap:var(--size-4-2);width:100%;padding:6px 0;border-radius:4px;font-size:var(--font-ui-small);height:unset;line-height:unset;text-align:left;--icon-size: var(--size-4-4)}div[data-type=thino_view] .queries-wrapper>.queries-container>.query-item-container>.btns-container>.action-btns-wrapper>.action-btns-container>.btn .icon-text{display:flex;flex-direction:row;justify-content:center;align-items:center}div[data-type=thino_view] .queries-wrapper>.queries-container>.query-item-container>.btns-container>.action-btns-wrapper>.action-btns-container>.btn:hover{background-color:var(--memos-bg-whitegray)}div[data-type=thino_view] .queries-wrapper>.queries-container>.query-item-container>.btns-container>.action-btns-wrapper>.action-btns-container>.btn.delete-btn{color:var(--memos-text-red)}div[data-type=thino_view] .queries-wrapper>.queries-container>.query-item-container>.btns-container>.action-btns-wrapper>.action-btns-container>.btn.delete-btn.final-confirm{font-weight:700}div[data-type=thino_view].mobile-view .queries-wrapper{padding-left:var(--size-2-2)}div[data-type=thino_view].mobile-view .queries-container{height:auto}div[data-type=thino_view].mobile-view .queries-container:last-child{flex-grow:1}div[data-type=thino_view].mobile-view .queries-container>.title-text{font-size:var(--font-ui-small);margin-bottom:4px}div[data-type=thino_view].mobile-view .queries-container>.query-item-container{font-size:var(--font-ui-medium)}div[data-type=thino_view] .tags-wrapper{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;width:100%;height:auto;flex-wrap:nowrap;padding:0 8px 16px;flex-grow:1}div[data-type=thino_view] .tags-wrapper::-webkit-scrollbar{width:0;height:0;cursor:pointer}div[data-type=thino_view] .tags-wrapper::-webkit-scrollbar-thumb{width:0;height:0;border-radius:8px;background-color:#d5d5d5}div[data-type=thino_view] .tags-wrapper::-webkit-scrollbar-thumb:hover{background-color:#ccc}div[data-type=thino_view] .tags-wrapper::-webkit-scrollbar{display:none}div[data-type=thino_view] .tags-wrapper>.tags-header{display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%;padding:4px 16px;font-size:var(--font-ui-smaller);line-height:24px;color:var(--memos-text-muted);margin-bottom:4px}div[data-type=thino_view] .tags-wrapper>.tags-header>.tags-sort-btn{display:flex;flex-direction:row;justify-content:center;align-items:center;cursor:pointer;-webkit-user-select:none;user-select:none;width:var(--size-4-5);height:var(--size-4-5);padding:var(--size-2-1);border-radius:var(--memos-radius-m);opacity:0}div[data-type=thino_view] .tags-wrapper>.tags-header:hover>.tags-sort-btn{opacity:.5}div[data-type=thino_view] .tags-wrapper>.tags-header:hover>.tags-sort-btn:hover{background:var(--memos-bg-lightgray)}div[data-type=thino_view] .tags-wrapper>.tags-container{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;position:relative;width:100%;height:auto;flex-wrap:nowrap;margin-bottom:8px}div[data-type=thino_view] .tags-wrapper>.tags-container .subtags-container{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;width:calc(100% - 18px);min-width:80px;height:auto;margin-top:4px;margin-left:18px;border-left:2px solid var(--memos-bg-gray)}div[data-type=thino_view] .tags-wrapper>.tags-container .subtags-container>.tag-item-container:first-child{margin-top:0}div[data-type=thino_view] .tags-wrapper>.tags-container .tag-item-container{display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%;height:fit-content;min-height:40px;padding:0 14px;margin-left:var(--size-2-1);margin-top:4px;border-radius:8px;font-size:var(--thino-ui-small);cursor:pointer;flex-shrink:0;-webkit-user-select:none;user-select:none;gap:var(--size-4-2)}div[data-type=thino_view] .tags-wrapper>.tags-container .tag-item-container:hover{background-color:var(--thino-modifier-hover)}div[data-type=thino_view] .tags-wrapper>.tags-container .tag-item-container.active>.tag-text-container>*{color:var(--memos-text-green);font-weight:700}div[data-type=thino_view] .tags-wrapper>.tags-container .tag-item-container>.tag-text-container{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;color:var(--memos-text-black);overflow:hidden;text-overflow:ellipsis;line-height:20px}div[data-type=thino_view] .tags-wrapper>.tags-container .tag-item-container>.tag-text-container>.tag-btn{display:flex;align-items:center;justify-content:center;margin-right:var(--size-4-2);flex-shrink:0;--icon-size: 14px}div[data-type=thino_view] .tags-wrapper>.tags-container .tag-item-container>.tag-text-container>.tag-text{word-wrap:break-word;overflow:hidden;text-overflow:ellipsis}div[data-type=thino_view] .tags-wrapper>.tags-container .tag-item-container>.btns-container{display:flex;flex-direction:row;justify-content:flex-end;align-items:center}div[data-type=thino_view] .tags-wrapper>.tags-container .tag-item-container>.btns-container>.action-btn{display:flex;flex-direction:row;justify-content:center;align-items:center;flex-shrink:0;transition:all .1s linear;transform:rotate(0);margin-right:-8px;margin-left:var(--size-2-2)}div[data-type=thino_view] .tags-wrapper>.tags-container .tag-item-container>.btns-container>.action-btn.shown{transform:rotate(90deg)}div[data-type=thino_view] .tags-wrapper>.tags-container>.tag-tip-container{width:100%;margin-top:8px;padding-left:16px;font-size:var(--font-ui-smaller);line-height:1.6;color:gray}div[data-type=thino_view] .tags-wrapper>.tags-container>.tag-tip-container>.code-text{color:var(--memos-text-blue);padding:4px;margin:0 2px;white-space:pre-line;background-color:var(--memos-bg-light-blue);border-radius:4px}.rename-tag-dialog>.dialog-container{width:320px}.rename-tag-dialog>.dialog-container>.dialog-content-container{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start}.rename-tag-dialog>.dialog-container>.dialog-content-container>.tag-text{margin-bottom:8px;font-size:var(--thino-ui-small)}.rename-tag-dialog>.dialog-container>.dialog-content-container>.text-input{width:100%;padding:8px 12px;border:1px solid var(--memos-text-lightgray);border-radius:4px;font-size:var(--thino-ui-small);margin-bottom:12px}.rename-tag-dialog>.dialog-container>.dialog-content-container>.btns-container{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;width:100%}.rename-tag-dialog>.dialog-container>.dialog-content-container>.btns-container>.btn-text{font-size:var(--thino-ui-small);margin-left:12px;cursor:pointer}.rename-tag-dialog>.dialog-container>.dialog-content-container>.btns-container>.btn-text:hover{opacity:.8}.rename-tag-dialog>.dialog-container>.dialog-content-container>.btns-container>.btn-text.cancel-btn{color:var(--memos-text-gray)}.rename-tag-dialog>.dialog-container>.dialog-content-container>.btns-container>.btn-text.confirm-btn{background-color:var(--memos-text-green);color:var(--memos-text-hover);padding:4px 12px;border-radius:4px}div[data-type=thino_view].mobile-view .tags-wrapper,div[data-type=thino_view].mobile-view .tags-wrapper-mobile-emulate{background-color:var(--memos-memo-bg);padding-left:var(--size-2-2)}div[data-type=thino_view].mobile-view .tags-wrapper>.tags-container,div[data-type=thino_view].mobile-view .tags-wrapper-mobile-emulate>.tags-container{height:auto}div[data-type=thino_view].mobile-view .tags-wrapper>.tags-container:last-child,div[data-type=thino_view].mobile-view .tags-wrapper-mobile-emulate>.tags-container:last-child{flex-grow:1}.mobile-view .rename-tag-dialog,.mobile-view .rename-tag-dialog-mobile-emulate{padding-top:64px}div[data-type=thino_view] .classic .memos-sidebar-wrapper .user-banner-container .userinfo-header-container{padding-right:var(--size-4-4)}.memos-sidebar-wrapper{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;width:var(--memos-sidebar-width);height:100%;padding-top:24px;overflow-x:hidden;overflow-y:auto;flex-shrink:0;gap:var(--size-2-1)}.memos-sidebar-wrapper::-webkit-scrollbar{width:0;height:0;cursor:pointer}.memos-sidebar-wrapper::-webkit-scrollbar-thumb{width:0;height:0;border-radius:8px;background-color:#d5d5d5}.memos-sidebar-wrapper::-webkit-scrollbar-thumb:hover{background-color:#ccc}.memos-sidebar-wrapper::-webkit-scrollbar{display:none}.memos-sidebar-wrapper>*{flex-shrink:0}.memos-sidebar-wrapper-display{display:none;flex-direction:column;justify-content:flex-start;align-items:flex-start;width:var(--memos-sidebar-width);height:100%;padding:16px 0;overflow-x:hidden;overflow-y:auto;flex-shrink:0}.mobile-show-sidebar .mobile-view #page-wrapper>.memos-sidebar-wrapper{transform:translate(0);box-shadow:var(--memos-memo-shadow)}.mobile-view .memos-sidebar-wrapper{display:flex;flex-direction:column;justify-content:flex-start;align-items:center;z-index:99;position:absolute;top:0;left:0;width:310px;height:100%;padding:0;background-color:var(--memos-memo-bg);transition:all .4s ease;transform:translate(-340px)}.mobile-view .memos-sidebar-wrapper>*,.mobile-view .memos-sidebar-wrapper .queries-wrapper,.mobile-view .memos-sidebar-wrapper .path-entry-wrapper,.mobile-view .memos-sidebar-wrapper .tags-wrapper{width:320px;max-width:95%;flex-shrink:0;padding-left:32px}.path-entry-wrapper{display:flex;padding:var(--size-2-2) var(--size-4-2);gap:var(--size-2-2);flex-direction:column;width:100%}.path-entry-wrapper>.path-entry-container{padding:var(--size-4-2) 16px;border-radius:var(--radius-m);color:var(--memos-text-muted);font-size:var(--font-ui-small);width:100%;cursor:pointer;--icon-size: 18px}.path-entry-wrapper>.path-entry-container>.path-entry-icon{margin-right:var(--size-4-2);vertical-align:middle}.path-entry-wrapper>.path-entry-container:hover{color:var(--memos-accent-hover);background-color:var(--thino-modifier-hover)}.path-entry-wrapper>.path-entry-container.active{color:var(--memos-text-green)}div[data-type=thino_view].mobile-view .path-entry-wrapper{padding-left:var(--size-2-2)}div[data-type=thino_view].mobile-view .view-content{padding-top:var(--size-4-4)}div[data-type=thino_view] .view-content{padding:var(--size-2-1);overflow-y:hidden;overflow-x:hidden}div[data-type=thino_view]:not(.mobile-view) #page-wrapper.memos-waterfall-view{width:var(--memos-masonry-width);transition:width .3s ease-in-out}div[data-type=thino_view]:not(.mobile-view) #page-wrapper.memos-waterfall-view>.content-wrapper{width:var(--memos-masonry-content-width);max-width:calc(100% - var(--memos-sidebar-width))}div[data-type=thino_view]:not(.mobile-view) #page-wrapper.memos-list-view{width:var(--memos-list-width);transition:width .3s ease-in-out}div[data-type=thino_view]:not(.mobile-view) #page-wrapper.memos-list-view>.content-wrapper{width:var(--memos-list-content-width)}div[data-type=thino_view]:not(.mobile-view) #page-wrapper.memos-table-view{width:var(--memos-table-width);transition:width .3s ease-in-out}div[data-type=thino_view]:not(.mobile-view) #page-wrapper.memos-table-view>.content-wrapper{width:var(--memos-table-content-width)}div[data-type=thino_view]:not(.mobile-view) #page-wrapper.memos-chat-view{width:var(--memos-chat-width);transition:width .3s ease-in-out}div[data-type=thino_view]:not(.mobile-view) #page-wrapper.memos-chat-view>.content-wrapper{width:var(--memos-chat-content-width);max-width:calc(100% - var(--memos-sidebar-width))}div[data-type=thino_view]:not(.mobile-view) #page-wrapper.memos-calendar-view{width:var(--memos-calendar-width);transition:width .3s ease-in-out}div[data-type=thino_view]:not(.mobile-view) #page-wrapper.memos-calendar-view>.content-wrapper{width:var(--memos-calendar-content-width)}div[data-type=thino_view] #page-wrapper{display:flex;flex-direction:row;justify-content:flex-start;align-items:flex-start;width:var(--memos-list-width);max-width:100%;height:100%;margin:auto;margin-top:calc(var(--size-4-2) * -1)}div[data-type=thino_view] #page-wrapper>.content-wrapper{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;position:relative;padding-top:15px;padding-left:10px;width:600px;transition:width .3s ease-in-out;height:100%;gap:8px}div[data-type=thino_view] #page-wrapper>.content-wrapper .memo-show-editor-button{position:absolute;bottom:12%;left:46%;color:var(--memos-text-blue);cursor:pointer;--icon-size: 32px}div[data-type=thino_view] #page-wrapper>.content-wrapper-padding-fix{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;position:relative;margin-top:0;width:var(--memos-list-content-width);height:100%;overflow-y:hidden;padding-left:34px;gap:8px}div[data-type=thino_view] #page-wrapper:has(.memolist-container>.waterfall-view){justify-content:center}div[data-type=thino_view].mobile-view .mobile-show-sidebar #page-wrapper>.content-wrapper{transform:translate(320px)}div[data-type=thino_view].mobile-view #page-wrapper{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;width:100%;height:100%;padding:0;transform:translate(0);margin-top:calc(var(--size-4-2) * -1)}div[data-type=thino_view].mobile-view #page-wrapper>.content-wrapper{width:100%;height:100%;margin-left:0;padding-top:0;padding-left:0;margin-top:0;transition:all .3s ease;transform:translate(0)}div[data-type=thino_view].mobile-view #page-wrapper.memos-list-view.classic:has(.memo-editor-wrapper:not(.mod-editor-bottom)) .content-wrapper{padding-top:var(--size-4-3)}.is-mobile:has(.mobile-navbar) div[data-type=thino_view] #page-wrapper>.content-wrapper:has(.mod-editor-bottom){height:calc(100% - var(--safe-area-inset-bottom) - var(--icon-l) - var(--size-4-2));padding-bottom:var(--size-4-2)}.is-mobile:has(.mobile-navbar) div[data-type=thino_view] #page-wrapper>.content-wrapper:has(.mod-editor-bottom.thino-hidden){height:100%}div[data-type=thino_view] #page-wrapper:has(.thino-verify-component){display:flex;justify-content:center;align-items:center;width:100%;height:100%}div[data-type=thino_view]:not(.mobile-view) .modern#page-wrapper:is(.memos-chat-view,.memos-moments-view,.memos-list-view,.memos-table-view,.memos-calendar-view,.memos-waterfall-view) .content-wrapper{width:var(--memos-list-width)}div[data-type=thino_view]:not(.mobile-view) .modern#page-wrapper:has(.status-text-container.sidebar) .status-text-container.banner{display:none}div[data-type=thino_view]:not(.mobile-view) .memos-moments-view.modern#page-wrapper:has(.section-header-container~.filter-query-container:not(.thino-hidden)) .content-wrapper{padding-top:0}div[data-type=thino_view]:not(.mobile-view):has(.memos-waterfall-view,.memos-table-view) .view-content{overflow-x:scroll}div[data-type=thino_view]:not(.mobile-view):has(.memos-waterfall-view,.memos-table-view) .view-content::-webkit-scrollbar{width:0;height:0;cursor:pointer}div[data-type=thino_view]:not(.mobile-view):has(.memos-waterfall-view,.memos-table-view) .view-content::-webkit-scrollbar-thumb{width:0;height:0;border-radius:8px;background-color:#d5d5d5}div[data-type=thino_view]:not(.mobile-view):has(.memos-waterfall-view,.memos-table-view) .view-content::-webkit-scrollbar-thumb:hover{background-color:#ccc}div[data-type=thino_view]:not(.mobile-view):has(.memos-waterfall-view,.memos-table-view) .view-content::-webkit-scrollbar{display:none}div[data-type=thino_view]:not(.mobile-view):has(.memos-waterfall-view,.memos-table-view) .view-content .modern#page-wrapper{max-width:100%;width:fit-content;min-width:fit-content}div[data-type=thino_view]:not(.mobile-view) .modern#page-wrapper:is(.memos-chat-view,.memos-list-view,.memos-table-view,.memos-calendar-view,.memos-waterfall-view) .content-wrapper{padding-left:var(--size-4-2);padding-right:var(--size-4-2)}div[data-type=thino_view]:not(.mobile-view) .modern#page-wrapper .status-text-container.sidebar{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:8px;width:100%;padding:0 8px;height:auto;flex-wrap:nowrap}div[data-type=thino_view]:not(.mobile-view) .modern#page-wrapper .status-text-container.sidebar::-webkit-scrollbar{width:0;height:0;cursor:pointer}div[data-type=thino_view]:not(.mobile-view) .modern#page-wrapper .status-text-container.sidebar::-webkit-scrollbar-thumb{width:0;height:0;border-radius:8px;background-color:#d5d5d5}div[data-type=thino_view]:not(.mobile-view) .modern#page-wrapper .status-text-container.sidebar::-webkit-scrollbar-thumb:hover{background-color:#ccc}div[data-type=thino_view]:not(.mobile-view) .modern#page-wrapper .status-text-container.sidebar::-webkit-scrollbar{display:none}div[data-type=thino_view]:not(.mobile-view) .modern#page-wrapper .status-text-container.sidebar .status-sidebar-header.title-text{display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%;padding:4px 16px;margin-bottom:4px;font-size:var(--font-ui-smaller);line-height:24px;color:var(--memos-text-black);opacity:.5}div[data-type=thino_view]:not(.mobile-view) .modern#page-wrapper .status-text-container.sidebar .status-sidebar-wrapper{display:grid;grid-template-columns:repeat(2,1fr);padding-left:var(--size-4-4);grid-column-gap:8px;grid-row-gap:8px;width:100%}div[data-type=thino_view]:not(.mobile-view) .modern#page-wrapper .status-text-container.sidebar .status-sidebar-wrapper .status-text{display:flex;flex-direction:column;gap:4px;padding:var(--size-4-2);background-color:var(--memos-memo-bg);border-radius:var(--memos-radius-m)}div[data-type=thino_view]:not(.mobile-view) .modern#page-wrapper .status-text-container.sidebar .status-sidebar-wrapper .status-text .type-text{font-size:11px;font-weight:700;color:var(--memos-text-faint)}div[data-type=thino_view]:not(.mobile-view) .modern#page-wrapper .status-text-container.sidebar .status-sidebar-wrapper .status-text .amount-text{font-size:16px;color:var(--memos-text-muted)}div[data-type=thino_view]:not(.mobile-view) .modern#page-wrapper .status-text-container.sidebar .status-sidebar-wrapper .status-text:hover{background-color:var(--thino-background-secondary);color:var(--memos-text-muted)}div[data-type=thino_view]:not(.mobile-view) .modern#page-wrapper .status-text-container.sidebar .status-sidebar-wrapper .status-text.most-active-day-text{cursor:pointer}div[data-type=thino_view] .modern#page-wrapper:is(.memos-chat-view,.memos-moments-view,.memos-list-view,.memos-table-view,.memos-calendar-view,.memos-waterfall-view){background-color:var(--thino-modern-primary);box-shadow:var(--shadow-s);border-radius:16px;margin-top:unset;padding-right:var(--size-4-4);gap:15px;width:fit-content}div[data-type=thino_view] .modern#page-wrapper:is(.memos-chat-view,.memos-moments-view,.memos-list-view,.memos-table-view,.memos-calendar-view,.memos-waterfall-view) .content-wrapper{padding-left:1px;padding-right:1px;padding-top:10px;background-color:var(--thino-modern-secondary)}div[data-type=thino_view] .modern#page-wrapper:is(.memos-chat-view,.memos-moments-view,.memos-list-view,.memos-table-view,.memos-calendar-view,.memos-waterfall-view) .content-wrapper .daily-thinos-view-container{background-color:var(--thino-modern-secondary)}div[data-type=thino_view] .modern#page-wrapper:is(.memos-chat-view,.memos-moments-view,.memos-list-view,.memos-table-view,.memos-calendar-view,.memos-waterfall-view) .content-wrapper .section-header-container .title-text:not(:has(.go-home-btn)),div[data-type=thino_view] .modern#page-wrapper:is(.memos-chat-view,.memos-moments-view,.memos-list-view,.memos-table-view,.memos-calendar-view,.memos-waterfall-view) .content-wrapper .memos-header-container .title-text:not(:has(.go-home-btn)){display:none}div[data-type=thino_view] .modern#page-wrapper:is(.memos-chat-view,.memos-moments-view,.memos-list-view,.memos-table-view,.memos-calendar-view,.memos-waterfall-view) .content-wrapper .section-header-container .memos-header-search-section,div[data-type=thino_view] .modern#page-wrapper:is(.memos-chat-view,.memos-moments-view,.memos-list-view,.memos-table-view,.memos-calendar-view,.memos-waterfall-view) .content-wrapper .memos-header-container .memos-header-search-section{width:100%}div[data-type=thino_view] .modern#page-wrapper:is(.memos-chat-view,.memos-moments-view,.memos-list-view,.memos-table-view,.memos-calendar-view,.memos-waterfall-view) .content-wrapper .section-header-container .memos-header-search-section .search-bar-container,div[data-type=thino_view] .modern#page-wrapper:is(.memos-chat-view,.memos-moments-view,.memos-list-view,.memos-table-view,.memos-calendar-view,.memos-waterfall-view) .content-wrapper .memos-header-container .memos-header-search-section .search-bar-container{width:100%}div[data-type=thino_view] .modern#page-wrapper:is(.memos-chat-view,.memos-moments-view,.memos-list-view,.memos-table-view,.memos-calendar-view,.memos-waterfall-view) .content-wrapper .section-header-container .memos-header-search-section .search-bar-container .search-bar-inputer,div[data-type=thino_view] .modern#page-wrapper:is(.memos-chat-view,.memos-moments-view,.memos-list-view,.memos-table-view,.memos-calendar-view,.memos-waterfall-view) .content-wrapper .memos-header-container .memos-header-search-section .search-bar-container .search-bar-inputer{background-color:var(--memos-memo-bg)}div[data-type=thino_view] .modern#page-wrapper:is(.memos-chat-view,.memos-moments-view,.memos-list-view,.memos-table-view,.memos-calendar-view,.memos-waterfall-view) .content-wrapper .section-header-container .memos-header-search-section .search-bar-container:has(.search-bar-inputer:focus-within),div[data-type=thino_view] .modern#page-wrapper:is(.memos-chat-view,.memos-moments-view,.memos-list-view,.memos-table-view,.memos-calendar-view,.memos-waterfall-view) .content-wrapper .memos-header-container .memos-header-search-section .search-bar-container:has(.search-bar-inputer:focus-within){width:100%;max-width:unset}div[data-type=thino_view] .modern#page-wrapper:is(.memos-chat-view,.memos-moments-view,.memos-list-view,.memos-table-view,.memos-calendar-view,.memos-waterfall-view) .content-wrapper .memolist-wrapper .memolist-container{background-color:var(--thino-modern-secondary)}div[data-type=thino_view].mobile-view .modern#page-wrapper:is(.memos-chat-view,.memos-moments-view,.memos-list-view,.memos-table-view,.memos-calendar-view,.memos-waterfall-view){padding-right:0;min-width:unset;border-radius:unset;margin-top:calc(var(--size-4-2) * -1);width:100%}div[data-type=thino_view].mobile-view .modern#page-wrapper:is(.memos-chat-view,.memos-moments-view,.memos-list-view,.memos-table-view,.memos-calendar-view,.memos-waterfall-view) .memos-sidebar-wrapper{padding-top:14px}div[data-type=thino_view].mobile-view .modern#page-wrapper:is(.memos-chat-view,.memos-moments-view,.memos-list-view,.memos-table-view,.memos-calendar-view,.memos-waterfall-view) .memos-sidebar-wrapper.right-sidebar{display:none}div[data-type=thino_view].mobile-view .modern#page-wrapper:is(.memos-chat-view,.memos-moments-view,.memos-list-view,.memos-table-view,.memos-calendar-view,.memos-waterfall-view) .memos-sidebar-wrapper.right-sidebar .user-banner-container,div[data-type=thino_view].mobile-view .modern#page-wrapper:is(.memos-chat-view,.memos-moments-view,.memos-list-view,.memos-table-view,.memos-calendar-view,.memos-waterfall-view) .memos-sidebar-wrapper.right-sidebar .path-entry-wrapper,div[data-type=thino_view].mobile-view .modern#page-wrapper:is(.memos-chat-view,.memos-moments-view,.memos-list-view,.memos-table-view,.memos-calendar-view,.memos-waterfall-view) .memos-sidebar-wrapper.right-sidebar .queries-wrapper{display:none}div[data-type=thino_view].mobile-view .modern#page-wrapper:is(.memos-chat-view,.memos-moments-view,.memos-list-view,.memos-table-view,.memos-calendar-view,.memos-waterfall-view) .memos-sidebar-wrapper.right-sidebar .tags-wrapper{padding:0 0 16px}div[data-type=thino_view].mobile-view .modern#page-wrapper:is(.memos-chat-view,.memos-moments-view,.memos-list-view,.memos-table-view,.memos-calendar-view,.memos-waterfall-view) .memos-sidebar-wrapper.right-sidebar .tags-wrapper .tags-container{display:flex;flex-direction:row;flex-wrap:wrap;padding-left:var(--size-4-4);padding-right:var(--size-4-4);gap:var(--size-2-1)}div[data-type=thino_view].mobile-view .modern#page-wrapper:is(.memos-chat-view,.memos-moments-view,.memos-list-view,.memos-table-view,.memos-calendar-view,.memos-waterfall-view) .memos-sidebar-wrapper.right-sidebar .tags-wrapper .tags-container .tag-item-container{padding:6px;width:fit-content;height:fit-content;margin-top:0;gap:var(--size-2-2)}div[data-type=thino_view].mobile-view .modern#page-wrapper:is(.memos-chat-view,.memos-moments-view,.memos-list-view,.memos-table-view,.memos-calendar-view,.memos-waterfall-view) .memos-sidebar-wrapper.right-sidebar .tags-wrapper .tags-container .tag-item-container .tag-text-container{width:fit-content;max-width:unset}div[data-type=thino_view].mobile-view .modern#page-wrapper:is(.memos-chat-view,.memos-moments-view,.memos-list-view,.memos-table-view,.memos-calendar-view,.memos-waterfall-view) .memos-sidebar-wrapper.right-sidebar .tags-wrapper .tags-container .tag-item-container .tag-text-container .tag-btn{margin-right:0}div[data-type=thino_view].mobile-view .modern#page-wrapper:is(.memos-chat-view,.memos-moments-view,.memos-list-view,.memos-table-view,.memos-calendar-view,.memos-waterfall-view) .memos-sidebar-wrapper.right-sidebar .tags-wrapper .tags-container .tag-item-container .btns-container .tag-count{vertical-align:bottom;height:100%;display:flex;align-items:flex-end;padding-top:var(--size-2-1);color:var(--thino-modern-tag-count)}div[data-type=thino_view].mobile-view .modern#page-wrapper:is(.memos-chat-view,.memos-moments-view,.memos-list-view,.memos-table-view,.memos-calendar-view,.memos-waterfall-view) .memos-sidebar-wrapper.right-sidebar .tags-wrapper .tags-container .tag-item-container:has(.action-btn){padding-right:var(--size-4-4)}div[data-type=thino_view].mobile-view .modern#page-wrapper:is(.memos-chat-view,.memos-moments-view,.memos-list-view,.memos-table-view,.memos-calendar-view,.memos-waterfall-view) .memos-sidebar-wrapper.right-sidebar .tags-wrapper .tags-container .tag-item-container:has(.action-btn.shown){background-color:var(--thino-modifier-hover)}div[data-type=thino_view].mobile-view .modern#page-wrapper:is(.memos-chat-view,.memos-moments-view,.memos-list-view,.memos-table-view,.memos-calendar-view,.memos-waterfall-view) .memos-sidebar-wrapper.right-sidebar .tags-wrapper .tags-container .subtags-container .tag-item-container{width:100%}div[data-type=thino_view].mobile-view .modern#page-wrapper:is(.memos-chat-view,.memos-moments-view,.memos-list-view,.memos-table-view,.memos-calendar-view,.memos-waterfall-view) .content-wrapper{padding-top:10px;padding-left:unset}div[data-type=thino_view].mobile-view .modern#page-wrapper:is(.memos-chat-view,.memos-moments-view,.memos-list-view,.memos-table-view,.memos-calendar-view,.memos-waterfall-view) .content-wrapper .section-header-container .title-text,div[data-type=thino_view].mobile-view .modern#page-wrapper:is(.memos-chat-view,.memos-moments-view,.memos-list-view,.memos-table-view,.memos-calendar-view,.memos-waterfall-view) .content-wrapper .memos-header-container .title-text{display:inherit}div[data-type=thino_view]:not(.mobile-view) .modern#page-wrapper .memos-sidebar-wrapper{padding-top:14px}div[data-type=thino_view]:not(.mobile-view) .modern#page-wrapper .memos-sidebar-wrapper.left-sidebar .user-banner-container{height:fit-content}div[data-type=thino_view]:not(.mobile-view) .modern#page-wrapper .memos-sidebar-wrapper.left-sidebar .user-banner-container .status-text-container{display:none}div[data-type=thino_view]:not(.mobile-view) .modern#page-wrapper .memos-sidebar-wrapper.left-sidebar .heatmap-default,div[data-type=thino_view]:not(.mobile-view) .modern#page-wrapper .memos-sidebar-wrapper.left-sidebar .heatmap-date-picker-wrapper,div[data-type=thino_view]:not(.mobile-view) .modern#page-wrapper .memos-sidebar-wrapper.left-sidebar .usage-daily-progress-wrapper,div[data-type=thino_view]:not(.mobile-view) .modern#page-wrapper .memos-sidebar-wrapper.left-sidebar .tags-wrapper{display:none}div[data-type=thino_view]:not(.mobile-view) .modern#page-wrapper .memos-sidebar-wrapper.right-sidebar{padding-top:var(--size-4-4)}div[data-type=thino_view]:not(.mobile-view) .modern#page-wrapper .memos-sidebar-wrapper.right-sidebar .usage-heat-map-wrapper{margin-top:10px}div[data-type=thino_view]:not(.mobile-view) .modern#page-wrapper .memos-sidebar-wrapper.right-sidebar:has(.heatmap-date-picker-wrapper) .user-banner-container,div[data-type=thino_view]:not(.mobile-view) .modern#page-wrapper .memos-sidebar-wrapper.right-sidebar .path-entry-wrapper,div[data-type=thino_view]:not(.mobile-view) .modern#page-wrapper .memos-sidebar-wrapper.right-sidebar .queries-wrapper{display:none}div[data-type=thino_view]:not(.mobile-view) .modern#page-wrapper .memos-sidebar-wrapper.right-sidebar:has(.usage-heat-map-wrapper) .user-banner-container{height:fit-content}div[data-type=thino_view]:not(.mobile-view) .modern#page-wrapper .memos-sidebar-wrapper.right-sidebar .user-banner-container .userinfo-header-container{display:none}div[data-type=thino_view]:not(.mobile-view) .modern#page-wrapper .memos-sidebar-wrapper.right-sidebar .tags-wrapper{padding:0 0 16px}div[data-type=thino_view]:not(.mobile-view) .modern#page-wrapper .memos-sidebar-wrapper.right-sidebar .tags-wrapper .tags-container{display:flex;flex-direction:row;flex-wrap:wrap;padding-left:var(--size-4-4);padding-right:var(--size-4-4);gap:var(--size-2-1)}div[data-type=thino_view]:not(.mobile-view) .modern#page-wrapper .memos-sidebar-wrapper.right-sidebar .tags-wrapper .tags-container .tag-item-container{padding:6px;width:fit-content;height:fit-content;margin-top:0;gap:var(--size-2-2)}div[data-type=thino_view]:not(.mobile-view) .modern#page-wrapper .memos-sidebar-wrapper.right-sidebar .tags-wrapper .tags-container .tag-item-container .tag-text-container{width:fit-content;max-width:unset}div[data-type=thino_view]:not(.mobile-view) .modern#page-wrapper .memos-sidebar-wrapper.right-sidebar .tags-wrapper .tags-container .tag-item-container .tag-text-container .tag-btn{margin-right:0}div[data-type=thino_view]:not(.mobile-view) .modern#page-wrapper .memos-sidebar-wrapper.right-sidebar .tags-wrapper .tags-container .tag-item-container .btns-container .tag-count{vertical-align:bottom;height:100%;display:flex;align-items:flex-end;padding-top:var(--size-2-1);color:var(--thino-modern-tag-count)}div[data-type=thino_view]:not(.mobile-view) .modern#page-wrapper .memos-sidebar-wrapper.right-sidebar .tags-wrapper .tags-container .tag-item-container:has(.action-btn){padding-right:var(--size-4-4)}div[data-type=thino_view]:not(.mobile-view) .modern#page-wrapper .memos-sidebar-wrapper.right-sidebar .tags-wrapper .tags-container .tag-item-container:has(.action-btn.shown){background-color:var(--thino-modifier-hover)}div[data-type=thino_view]:not(.mobile-view) .modern#page-wrapper .memos-sidebar-wrapper.right-sidebar .tags-wrapper .tags-container .subtags-container .tag-item-container{width:100%}div[data-type=thino_view].mobile-view .modern#page-wrapper:is(.memos-chat-view,.memos-moments-view,.memos-list-view,.memos-table-view,.memos-calendar-view,.memos-waterfall-view){margin-top:unset}div[data-type=thino_view] .locked-screen-wrapper{width:100%;height:100%}div[data-type=thino_view] .locked-screen-wrapper .locked-screen-content{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;height:80%}div[data-type=thino_view] .locked-screen-wrapper .locked-screen-content .locked-screen-header{display:flex;flex-direction:row;justify-content:center;align-items:center;height:60px;width:100%;padding:0 20px;border-bottom:var(--border-width) solid var(--border);color:var(--foreground);font-size:20px;font-weight:500}div[data-type=thino_view] .locked-screen-wrapper .locked-screen-content .locked-screen-body{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;height:200px;padding:20px;color:var(--memos-text-muted);font-size:16px;font-weight:400}div[data-type=thino_view] .locked-screen-wrapper .locked-screen-content .locked-screen-body .locked-screen-body-content{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:var(--size-4-2)}div[data-type=thino_view] .locked-screen-wrapper .locked-screen-content .locked-screen-body .locked-screen-body-content .locked-screen-body-content-text .locked-screen-body-content-text-title{font-size:20px;font-weight:500}div[data-type=thino_view] .locked-screen-wrapper .locked-screen-content .locked-screen-body .locked-screen-body-content .locked-screen-body-content-inputer{display:flex;flex-direction:row;justify-content:center;align-items:center;gap:var(--size-4-2)}div[data-type=thino_view] .locked-screen-wrapper .locked-screen-content .locked-screen-body .locked-screen-body-content .locked-screen-body-content-inputer .locked-screen-body-content-input{border:var(--border-width) solid var(--divider-color)}div[data-type=thino_view] .onboarding-view-container{display:flex;align-items:flex-start;width:100%;margin-top:5%;height:72%;padding:var(--size-4-6)}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper{display:flex;align-items:flex-start;justify-content:flex-start;width:80%;max-width:900px;margin:auto;height:100%;padding:var(--size-4-6);border-radius:var(--radius-l);background:var(--thino-background-secondary)}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content{width:100%;height:100%;display:flex;flex-direction:column;align-items:flex-start}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-step-heading{display:flex;width:100%;justify-content:space-between}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-step-heading .onboarding-step-count{color:var(--memos-text-faint);font-size:var(--font-ui-small)}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-step-heading .close-btn button{box-shadow:none;background:transparent;color:var(--memos-text-faint);padding:unset}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-step-heading .close-btn button:hover{color:var(--memos-text-black)}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details{display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;width:100%;height:100%;gap:var(--size-4-6)}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content{width:100%;height:100%;display:flex;flex-direction:column;gap:var(--size-4-2)}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form{display:flex;flex-direction:column;width:100%;height:100%}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form .theme-selector-group{display:flex;flex-direction:row;justify-content:space-around;width:100%;height:90%;padding:var(--size-4-4);gap:var(--size-4-8)}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form .theme-selector-group .theme-selector{display:flex;flex-direction:column;justify-content:space-between;width:100%;background-color:var(--thino-background-primary);border-radius:var(--memos-radius-l);padding:var(--size-4-4);gap:var(--size-4-2)}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form .theme-selector-group .theme-selector .theme-selector-header-component{min-height:25%}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form .theme-selector-group .theme-selector .theme-selector-header-component .theme-selector-header{font-size:20px;font-weight:700}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form .theme-selector-group .theme-selector .theme-selector-header-component .theme-selector-description{font-size:var(--font-ui-smaller);color:var(--thino-modern-text-faint)}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form .theme-selector-group .theme-selector .theme-selector-content{display:flex;flex-direction:row;justify-content:center;height:100%;width:100%;padding-left:var(--size-4-2);padding-right:var(--size-4-2);gap:var(--size-2-2)}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form .theme-selector-group .theme-selector .theme-selector-content .left-column{width:25%;height:100%}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form .theme-selector-group .theme-selector .theme-selector-content .center-column{width:40%;height:100%}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form .theme-selector-group .theme-selector .theme-selector-content .right-column{width:25%;height:100%}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form .theme-selector-group .theme-selector .theme-selector-content .column-component{background-color:var(--thino-background-secondary);border-radius:var(--memos-radius-s);min-height:80px}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form .theme-selector-group .theme-selector .theme-selector-footer{display:flex;justify-content:center;align-items:center}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form .theme-selector-group .theme-selector.selected{border:1px solid var(--color-accent)}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form .thino-user-preview-wrapper{width:100%;height:120px;display:flex;justify-content:center;align-items:flex-start}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form .thino-user-preview-wrapper .userinfo-container{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:var(--size-4-2);height:80px;width:260px;border-radius:var(--radius-l);box-shadow:var(--shadow-s);padding:var(--size-4-4);background:var(--thino-background-primary)}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form .thino-user-preview-wrapper .userinfo-container .thino-user-icon{display:flex;align-items:center;justify-content:center;width:48px;height:48px;--icon-size: 18px;border-radius:var(--size-4-2);min-width:48px;min-height:48px;background-position:center;background-repeat:no-repeat;background-size:cover}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form .thino-user-preview-wrapper .userinfo-container .thino-user-icon:has(svg){border:1px solid var(--memos-memo-border);background-color:var(--memos-memo-bg);box-shadow:var(--shadow-s)}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form .thino-user-preview-wrapper .userinfo-container .thino-user-info{display:flex;flex-direction:column;height:100%;gap:var(--size-2-1);justify-content:space-evenly}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form .thino-user-preview-wrapper .userinfo-container .thino-user-info>.username-container{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:var(--size-2-2)}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form .thino-user-preview-wrapper .userinfo-container .thino-user-info>.username-container>.username-text{font-weight:700;font-size:var(--font-ui-medium);line-height:20px;color:var(--memos-text-black);overflow:hidden;text-overflow:ellipsis;cursor:pointer;flex-shrink:0;white-space:nowrap}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form .thino-user-preview-wrapper .userinfo-container .thino-user-info>.username-container>.user-pro-badge{padding:var(--size-2-1) var(--size-2-2);cursor:pointer;border-radius:var(--memos-radius-m);color:var(--memos-text-white);opacity:.7;font-size:var(--thino-ui-tiny);font-weight:700;background:var(--memos-bg-gray)}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form .thino-user-preview-wrapper .userinfo-container .thino-user-info>.username-container>.user-pro-badge.activated{color:var(--memos-text-lightgray);background:var(--memos-bg-blue);opacity:1}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form .thino-user-preview-wrapper .userinfo-container .thino-user-info>.thino-user-quote{font-size:var(--thino-ui-small);color:var(--memos-text-faint);font-weight:700;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%;max-width:160px}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form:has(.theme-selector-group){justify-content:flex-start}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form:has(.daily-note-plugin-status){display:flex;justify-content:space-between;flex-direction:row;gap:var(--size-4-6)}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form:has(.daily-note-plugin-status) .daily-note-plugin-status{width:40%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:space-between;background:var(--thino-background-primary);padding:var(--size-4-4);border-radius:var(--radius-m);gap:var(--size-4-4)}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form:has(.daily-note-plugin-status) .daily-note-plugin-status .daily-note-plugin-status-header{display:flex;flex-direction:column;width:100%;align-items:center;gap:var(--size-4-2)}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form:has(.daily-note-plugin-status) .daily-note-plugin-status .daily-note-plugin-status-header .plugin-status-header{font-size:20px;font-weight:700}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form:has(.daily-note-plugin-status) .daily-note-plugin-status .daily-note-plugin-status-header .plugin-status-description{font-size:var(--font-ui-smaller);color:var(--thino-modern-text-faint)}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form:has(.daily-note-plugin-status) .daily-note-plugin-status .daily-note-plugin-status-content{display:flex;width:100%;height:100%}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form:has(.daily-note-plugin-status) .daily-note-plugin-status .daily-note-plugin-status-footer{display:flex;width:100%;height:fit-content;justify-content:center;align-items:center}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form:has(.daily-note-plugin-status) .daily-note-plugin-status .daily-note-plugin-status-footer .notice-click{font-size:var(--font-ui-smaller);color:var(--thino-modern-text-faint)}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form:has(.daily-note-plugin-status) .thino-daily-settings-wrapper{width:60%}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form:has(.thino-congrats){display:flex;justify-content:flex-start;align-items:center;padding-top:var(--size-4-8)}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form:has(.thino-congrats) .thino-congrats{display:flex;justify-content:center;align-items:center;flex-direction:column;gap:var(--size-4-4)}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form:has(.thino-congrats) .thino-congrats .congrats-title{font-size:20px;font-weight:700}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form:has(.thino-congrats) .thino-congrats .final-congrats-text{font-size:20px;padding-left:10%;padding-right:10%;width:100%}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form:has(.thino-congrats) .thino-congrats .final-congrats-text .ready-use{font-weight:500}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form:has(.thino-congrats) .thino-congrats .final-congrats-text .start-to-use{font-size:var(--font-ui-small);font-weight:unset;color:var(--memos-text-faint)}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form:has(.thino-congrats) .thino-congrats .next-btns-group{display:flex;gap:var(--size-4-5)}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-footer{display:flex;justify-content:space-between;align-items:center;width:100%;height:fit-content}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-footer .navigate-btns-group{display:flex;flex-direction:row;justify-content:center;align-items:center;gap:var(--size-4-2)}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-footer .navigate-btns-group:has(.details-settings-btn){flex-direction:row-reverse}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-footer:has(.details-settings-btn){justify-content:center}div[data-type=thino_view] .onboarding-view-container input{border:var(--input-border-width) solid var(--background-modifier-border)}div[data-type=thino_view].mobile-view .onboarding-view-container{height:fit-content;min-height:100%;margin-top:unset}div[data-type=thino_view].mobile-view .onboarding-view-container .onboarding-view-wrapper{width:100%;margin:unset;margin-left:auto;margin-right:auto}div[data-type=thino_view].mobile-view .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form .theme-selector-group{flex-direction:column;justify-content:flex-start}div[data-type=thino_view].mobile-view .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form .theme-selector-group .theme-selector .theme-selector-header-component{min-height:unset}div[data-type=thino_view].mobile-view .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form .theme-selector-group .theme-selector .theme-selector-content{min-height:80px}div[data-type=thino_view].mobile-view .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form:has(.daily-note-plugin-status){flex-direction:column;width:100%}div[data-type=thino_view].mobile-view .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form:has(.daily-note-plugin-status) .daily-note-plugin-status{width:100%;min-height:240px}div[data-type=thino_view].mobile-view .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form:has(.daily-note-plugin-status) .thino-daily-settings-wrapper{width:100%}div[data-type=thino_view].mobile-view .view-content:has(.onboarding-view-container){overflow-y:scroll}div[data-type=thino_view].mobile-view .view-content:has(.onboarding-view-container)::-webkit-scrollbar{width:0;height:0;cursor:pointer}div[data-type=thino_view].mobile-view .view-content:has(.onboarding-view-container)::-webkit-scrollbar-thumb{width:0;height:0;border-radius:8px;background-color:#d5d5d5}div[data-type=thino_view].mobile-view .view-content:has(.onboarding-view-container)::-webkit-scrollbar-thumb:hover{background-color:#ccc}div[data-type=thino_view].mobile-view .view-content:has(.onboarding-view-container)::-webkit-scrollbar{display:none}div[data-type=thino_view].mobile-view .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-footer{flex-direction:column-reverse;gap:var(--size-4-2)}div[data-type=thino_view].mobile-view .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-footer .skip-btn{justify-content:flex-start;width:100%;display:flex}div[data-type=thino_view].mobile-view .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-footer .navigate-btns-group{width:100%;justify-content:flex-end}div[data-type=thino_view].mobile-view .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-footer .navigate-btns-group:has(button:nth-child(2)){justify-content:space-between}.theme-dark div[data-type=thino_view] .onboarding-view-container{--thino-background-secondary: var(--titlebar-background-focused)}.introjs-overlay{position:absolute;box-sizing:content-box;z-index:999999;opacity:0;transition:all .3s ease-out}.introjs-showElement{z-index:9999999!important}tr.introjs-showElement>td{z-index:9999999!important;position:relative}tr.introjs-showElement>th{z-index:9999999!important;position:relative}.introjs-disableInteraction{z-index:99999999!important;position:absolute;background-color:#fff;opacity:0}.introjs-relativePosition{position:relative}.introjs-helperLayer{box-sizing:content-box;position:absolute;z-index:9999998;border-radius:4px;transition:all .3s ease-out}.introjs-helperLayer *{box-sizing:content-box}.introjs-helperLayer :before{box-sizing:content-box}.introjs-helperLayer :after{box-sizing:content-box}.introjs-tooltipReferenceLayer{font-family:Helvetica Neue,Inter,ui-sans-serif,"Apple Color Emoji",Helvetica,Arial,sans-serif;box-sizing:content-box;position:absolute;visibility:hidden;z-index:100000000;background-color:transparent;transition:all .3s ease-out}.introjs-tooltipReferenceLayer *{font-family:Helvetica Neue,Inter,ui-sans-serif,"Apple Color Emoji",Helvetica,Arial,sans-serif}.introjs-helperNumberLayer{font-family:Helvetica Neue,Inter,ui-sans-serif,"Apple Color Emoji",Helvetica,Arial,sans-serif;color:#9e9e9e;text-align:center;padding-top:10px;padding-bottom:10px}.introjs-arrow{border:5px solid transparent;content:"";position:absolute}.introjs-arrow.top{top:-10px;left:10px;border-bottom-color:#fff}.introjs-arrow.top-right{top:-10px;right:10px;border-bottom-color:#fff}.introjs-arrow.top-middle{top:-10px;left:50%;margin-left:-5px;border-bottom-color:#fff}.introjs-arrow.right{right:-10px;top:10px;border-left-color:#fff}.introjs-arrow.right-bottom{bottom:10px;right:-10px;border-left-color:#fff}.introjs-arrow.bottom{bottom:-10px;left:10px;border-top-color:#fff}.introjs-arrow.bottom-right{bottom:-10px;right:10px;border-top-color:#fff}.introjs-arrow.bottom-middle{bottom:-10px;left:50%;margin-left:-5px;border-top-color:#fff}.introjs-arrow.left{left:-10px;top:10px;border-right-color:#fff}.introjs-arrow.left-bottom{left:-10px;bottom:10px;border-right-color:#fff}.introjs-tooltip{box-sizing:content-box;position:absolute;visibility:visible;background-color:#fff;min-width:250px;max-width:300px;border-radius:5px;box-shadow:0 3px 30px #2121214d;transition:opacity .1s ease-out}.introjs-tooltiptext{padding:20px}.introjs-dontShowAgain{padding-left:20px;padding-right:20px}.introjs-dontShowAgain input{padding:0;margin:0 0 2px;display:inline;width:10px;height:10px}.introjs-dontShowAgain label{font-size:14px;display:inline-block;font-weight:400;margin:0 0 0 5px;padding:0;background-color:#fff;color:#616161;-webkit-user-select:none;user-select:none}.introjs-tooltip-title{font-size:18px;width:90%;min-height:1.5em;margin:0;padding:0;font-weight:700;line-height:1.5}.introjs-tooltip-header{position:relative;padding-left:20px;padding-right:20px;padding-top:10px;min-height:1.5em}.introjs-tooltipbuttons{border-top:1px solid #e0e0e0;padding:10px;text-align:right;white-space:nowrap}.introjs-tooltipbuttons:after{content:"";visibility:hidden;display:block;height:0;clear:both}.introjs-button{box-sizing:content-box;position:relative;overflow:visible;padding:.5rem 1rem;border:1px solid #bdbdbd;text-decoration:none;text-shadow:1px 1px 0 #fff;font-size:14px;color:#424242;white-space:nowrap;cursor:pointer;outline:0;background-color:#f4f4f4;border-radius:.2em;zoom:1;display:inline}.introjs-button:hover{outline:0;text-decoration:none;border-color:#9e9e9e;background-color:#e0e0e0;color:#212121}.introjs-button:focus{outline:0;text-decoration:none;background-color:#eee;box-shadow:0 0 0 .2rem #9e9e9e80;border:1px solid #616161;color:#212121}.introjs-button:active{outline:0;text-decoration:none;background-color:#e0e0e0;border-color:#9e9e9e;color:#212121}.introjs-button::-moz-focus-inner{padding:0;border:0}.introjs-skipbutton{position:absolute;top:0;right:0;display:inline-block;width:45px;height:45px;line-height:45px;color:#616161;font-size:22px;cursor:pointer;font-weight:700;text-align:center;text-decoration:none}.introjs-skipbutton:focus,.introjs-skipbutton:hover{color:#212121;outline:0;text-decoration:none}.introjs-prevbutton{float:left}.introjs-nextbutton{float:right}.introjs-disabled{color:#9e9e9e;border-color:#bdbdbd;box-shadow:none;cursor:default;background-color:#f4f4f4;background-image:none;text-decoration:none}.introjs-disabled:focus,.introjs-disabled:hover{color:#9e9e9e;border-color:#bdbdbd;box-shadow:none;cursor:default;background-color:#f4f4f4;background-image:none;text-decoration:none}.introjs-hidden{display:none}.introjs-bullets{text-align:center;padding-top:10px;padding-bottom:10px}.introjs-bullets ul{box-sizing:content-box;clear:both;margin:0 auto;padding:0;display:inline-block}.introjs-bullets ul li{box-sizing:content-box;list-style:none;float:left;margin:0 2px}.introjs-bullets ul li a{transition:width .1s ease-in;box-sizing:content-box;display:block;width:6px;height:6px;background:#ccc;border-radius:10px;text-decoration:none;cursor:pointer}.introjs-bullets ul li a:focus,.introjs-bullets ul li a:hover{width:15px;background:#999;text-decoration:none;outline:0}.introjs-bullets ul li a.active{width:15px;background:#999}.introjs-progress{box-sizing:content-box;overflow:hidden;height:10px;margin:10px;border-radius:4px;background-color:#e0e0e0}.introjs-progressbar{box-sizing:content-box;float:left;width:0%;height:100%;font-size:10px;line-height:10px;text-align:center;background-color:#08c}.introjsFloatingElement{position:absolute;height:0;width:0;left:50%;top:50%}.introjs-fixedTooltip{position:fixed}.introjs-hint{box-sizing:content-box;position:absolute;background:0 0;width:20px;height:15px;cursor:pointer}.introjs-hint:focus{border:0;outline:0}.introjs-hint:hover>.introjs-hint-pulse{background-color:#3c3c3c91}.introjs-hidehint{display:none}.introjs-fixedhint{position:fixed}@keyframes introjspulse{0%{transform:scale(.95);box-shadow:0 0 #000000b3}70%{transform:scale(1);box-shadow:0 0 0 10px transparent}to{transform:scale(.95);box-shadow:0 0 0 0 transparent}}.introjs-hint-pulse{box-sizing:content-box;width:15px;height:15px;border-radius:30px;background-color:#8888883d;z-index:10;position:absolute;transition:all .2s ease-out;animation:introjspulse 2s infinite}.introjs-hint-no-anim .introjs-hint-pulse{animation:none}.introjs-hint-dot{box-sizing:content-box;background:0 0;border-radius:60px;height:50px;width:50px;position:absolute;top:-18px;left:-18px;z-index:1;opacity:0}.theme-dark .introjs-tooltipReferenceLayer *{--thino-background-secondary: var(--titlebar-background-focused);border-color:var(--thino-modifier-border);background-color:var(--thino-background-secondary)}.theme-dark .introjs-helperLayer{box-shadow:#f7f7f7cc 0 0 1px 2px,#21212180 0 0 0 5000px!important}.preferences-section-container>.demo-content-container{padding:16px;border-radius:8px;border:2px solid #e4e4e4;margin:12px 0}.preferences-section-container>.form-label{height:28px;cursor:pointer}.preferences-section-container>.form-label>.icon-img{width:16px;height:16px;margin:0 8px}.preferences-section-container>.form-label:hover{opacity:.8}.preferences-section-container>.btn-container{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;width:100%;margin:4px 0}.preferences-section-container>.btn-container .btn{height:28px;padding:0 12px;margin-right:8px;border:1px solid gray;border-radius:8px;cursor:pointer}.preferences-section-container>.btn-container .btn:hover{opacity:.8}div[data-type=thino_view] .preference-wrapper{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;width:100%;height:100%;flex-grow:1;overflow-y:scroll}div[data-type=thino_view] .preference-wrapper::-webkit-scrollbar{width:0;height:0;cursor:pointer}div[data-type=thino_view] .preference-wrapper::-webkit-scrollbar-thumb{width:0;height:0;border-radius:8px;background-color:#d5d5d5}div[data-type=thino_view] .preference-wrapper::-webkit-scrollbar-thumb:hover{background-color:#ccc}div[data-type=thino_view] .preference-wrapper::-webkit-scrollbar{display:none}div[data-type=thino_view] .preference-wrapper>.section-header-container{width:100%;height:40px;margin-bottom:0}div[data-type=thino_view] .preference-wrapper>.section-header-container>.title-text{font-weight:700;font-size:18px;color:var(--memos-text-black)}div[data-type=thino_view] .preference-wrapper>.tip-text-container{width:100%;height:128px;display:flex;flex-direction:column;justify-content:center;align-items:center}div[data-type=thino_view] .preference-wrapper>.sections-wrapper{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;flex-grow:1;width:100%;overflow-y:scroll;padding-bottom:64px}div[data-type=thino_view] .preference-wrapper>.sections-wrapper::-webkit-scrollbar{width:0;height:0;cursor:pointer}div[data-type=thino_view] .preference-wrapper>.sections-wrapper::-webkit-scrollbar-thumb{width:0;height:0;border-radius:8px;background-color:#d5d5d5}div[data-type=thino_view] .preference-wrapper>.sections-wrapper::-webkit-scrollbar-thumb:hover{background-color:#ccc}div[data-type=thino_view] .preference-wrapper>.sections-wrapper::-webkit-scrollbar{display:none}div[data-type=thino_view] .preference-wrapper>.sections-wrapper>.section-container{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;width:100%;background-color:#fff;margin:8px 0;padding:16px 16px 8px;border-radius:8px}div[data-type=thino_view] .preference-wrapper>.sections-wrapper>.section-container>.title-text{font-size:var(--font-ui-medium);color:var(--memos-text-black);font-weight:700;margin-bottom:8px}div[data-type=thino_view] .preference-wrapper>.sections-wrapper>.section-container>.form-label{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;width:100%;font-size:var(--thino-ui-small);line-height:20px;margin-bottom:8px}div[data-type=thino_view] .preference-wrapper>.sections-wrapper>.section-container>.form-label>.normal-text{flex-shrink:0}@media only screen and (max-width: 875px){div[data-type=thino_view] .sections-wrapper{padding:0 12px}}div[data-type=thino_view] .section-header-container,div[data-type=thino_view] .memos-header-container{display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%;height:40px;flex-wrap:nowrap;margin-top:var(--size-2-2);flex-shrink:0}div[data-type=thino_view] .section-header-container>.memos-header-search-section,div[data-type=thino_view] .memos-header-container>.memos-header-search-section{display:flex;align-items:center;justify-content:flex-end;gap:var(--size-4-2)}div[data-type=thino_view] .section-header-container>.memos-header-search-section .memos-view-switcher-wrapper,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .memos-view-switcher-wrapper{display:flex;align-items:center;border:1px solid var(--thino-wrapper-border);color:var(--memos-text-muted);padding:var(--size-2-2);border-radius:var(--memos-radius-m);cursor:pointer;--icon-size: 18px}div[data-type=thino_view] .section-header-container>.memos-header-search-section .memos-view-switcher-wrapper:hover,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .memos-view-switcher-wrapper:hover{color:var(--memos-accent-hover);background:var(--thino-wrapper-background-hover)}div[data-type=thino_view] .section-header-container>.memos-header-search-section .thino-inline-filter-wrapper,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-wrapper{display:flex;align-items:center;border:1px solid var(--thino-wrapper-border);color:var(--memos-text-muted);padding:var(--size-2-2);border-radius:var(--memos-radius-m);cursor:pointer;--icon-size: 18px}div[data-type=thino_view] .section-header-container>.memos-header-search-section .thino-inline-filter-wrapper:hover,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-wrapper:hover{color:var(--memos-accent-hover);background:var(--thino-wrapper-background-hover)}div[data-type=thino_view] .section-header-container>.memos-header-search-section .memos-review-entry-wrapper,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .memos-review-entry-wrapper{display:flex;align-items:center;border:1px solid var(--thino-wrapper-border);color:var(--memos-text-muted);padding:var(--size-2-2);border-radius:var(--memos-radius-m);cursor:pointer;--icon-size: 18px}div[data-type=thino_view] .section-header-container>.memos-header-search-section .memos-review-entry-wrapper:hover,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .memos-review-entry-wrapper:hover{color:var(--memos-accent-hover);background:var(--thino-wrapper-background-hover)}div[data-type=thino_view] .section-header-container>.memos-header-search-section .thino-inline-filter-container,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-container{position:absolute;width:400px;height:fit-content;z-index:99;background-color:var(--thino-background-primary);box-shadow:0 0 8px #0000001a;padding:var(--size-4-2);border-radius:var(--memos-radius-m)}div[data-type=thino_view] .section-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;width:100%;-webkit-user-select:text;user-select:text}div[data-type=thino_view] .section-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container>.form-item-container,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container>.form-item-container{display:flex;flex-direction:row;justify-content:flex-start;align-items:flex-start;width:100%;padding:var(--size-2-2) var(--size-4-2);border-bottom:1px solid var(--memos-bg-lightgray);margin-bottom:var(--size-4-2)}div[data-type=thino_view] .section-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container>.form-item-container>.normal-text,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container>.form-item-container>.normal-text{display:block;flex-shrink:0;width:40px;margin-right:12px;text-align:right;color:gray;font-size:var(--font-ui-small);line-height:32px}div[data-type=thino_view] .section-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container>.form-item-container>.title-input,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container>.form-item-container>.title-input{width:100%;padding:0 8px;font-size:var(--font-ui-small);line-height:32px;border-radius:4px;border:1px solid var(--memos-bg-gray);resize:none}div[data-type=thino_view] .section-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container>.form-item-container>.filters-wrapper,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container>.form-item-container>.filters-wrapper{width:100%;display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start}div[data-type=thino_view] .section-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container>.form-item-container>.filters-wrapper>.create-filter-btn,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container>.form-item-container>.filters-wrapper>.create-filter-btn{color:var(--memos-text-green);font-size:var(--font-ui-small);line-height:32px;cursor:pointer}div[data-type=thino_view] .section-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container .selector-wrapper>.current-value-container,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container .selector-wrapper>.current-value-container{margin-right:var(--size-2-2)}div[data-type=thino_view] .section-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>input.value-inputer,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>input.value-inputer{border:1px solid var(--memos-bg-gray);background-color:transparent}div[data-type=thino_view] .section-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>input.value-inputer,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>input.value-inputer{max-width:100%;width:calc(100% - 152px);height:34px;padding-left:var(--size-4-2);padding-right:var(--size-4-2);margin-right:var(--size-2-2);border-radius:4px;border:1px solid var(--memos-bg-gray);background-color:transparent}div[data-type=thino_view] .section-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>input.value-inputer:hover,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>input.value-inputer:hover{background-color:var(--memos-bg-lightgray)}div[data-type=thino_view] .section-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer{position:relative}div[data-type=thino_view] .section-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer>input.value-inputer,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer>input.value-inputer{width:100%;height:34px;padding-left:var(--size-4-8);padding-right:var(--size-4-2);margin-right:var(--size-2-2);border-radius:4px;border:1px solid var(--memos-bg-gray);background-color:transparent}div[data-type=thino_view] .section-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer>input.value-inputer:hover,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer>input.value-inputer:hover{background-color:var(--memos-bg-lightgray)}div[data-type=thino_view] .section-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer>.calendar-btn,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer>.calendar-btn{position:absolute;left:var(--size-4-2);top:var(--size-4-2);width:16px;height:auto;cursor:pointer;opacity:.8;margin-right:var(--size-4-2)}div[data-type=thino_view] .section-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer>.calendar-btn:hover,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer>.calendar-btn:hover{opacity:.6}div[data-type=thino_view] .section-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer .menu-btns-popup,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer .menu-btns-popup{display:flex;flex-direction:row;justify-content:flex-start;align-items:flex-start;position:absolute;top:36px;left:calc(var(--size-4-8) * -1);padding:4px;width:auto;border-radius:8px;z-index:20;box-shadow:var(--memos-memo-shadow);background-color:var(--memos-memo-bg)}div[data-type=thino_view] .section-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer .menu-btns-popup .quick-date-btn-group,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer .menu-btns-popup .quick-date-btn-group{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;height:100%;width:92px;font-size:var(--font-ui-smaller);gap:var(--size-4-2);padding-top:var(--size-4-2);padding-left:var(--size-2-2);padding-right:var(--size-2-2);color:var(--memos-text-muted)}div[data-type=thino_view] .section-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer .menu-btns-popup .quick-date-btn-group>.quick-date-btn,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer .menu-btns-popup .quick-date-btn-group>.quick-date-btn{width:100%;padding:var(--size-2-1);padding-top:var(--size-2-2);padding-bottom:var(--size-2-2);border-radius:var(--memos-radius-m)}div[data-type=thino_view] .section-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer .menu-btns-popup .quick-date-btn-group>.quick-date-btn:hover,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer .menu-btns-popup .quick-date-btn-group>.quick-date-btn:hover{background:var(--memos-bg-lightgray)}div[data-type=thino_view] .section-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer .menu-btns-popup .calendar-date-picker,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer .menu-btns-popup .calendar-date-picker{background-color:var(--memos-memo-bg);padding:var(--size-2-2)}div[data-type=thino_view] .section-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer .menu-btns-popup:has(.quick-date-btn-group) .calendar-date-picker,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer .menu-btns-popup:has(.quick-date-btn-group) .calendar-date-picker{border-radius:unset;border-left:1px solid var(--memos-bg-lightgray)}div[data-type=thino_view] .section-header-container>.memos-header-search-section .thino-inline-filter-container>.dialog-footer-container,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-container>.dialog-footer-container{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;width:100%;margin-top:0}div[data-type=thino_view] .section-header-container>.memos-header-search-section .thino-inline-filter-container>.dialog-footer-container>.btns-container,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-container>.dialog-footer-container>.btns-container{display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%}div[data-type=thino_view] .section-header-container>.memos-header-search-section .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btn,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btn{padding:6px 16px;font-size:var(--font-ui-small);border-radius:4px}div[data-type=thino_view] .section-header-container>.memos-header-search-section .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btn:hover,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btn:hover{color:var(--memos-text-hover);background-color:var(--memos-bg-accent)}div[data-type=thino_view] .section-header-container>.memos-header-search-section .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btn.save-btn,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btn.save-btn{background-color:var(--interactive-normal);color:var(--memos-text-muted)}div[data-type=thino_view] .section-header-container>.memos-header-search-section .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btn.save-btn:hover,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btn.save-btn:hover{color:var(--memos-text-hover);background-color:var(--memos-bg-accent)}div[data-type=thino_view] .section-header-container>.memos-header-search-section .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btn.mod-cta,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btn.mod-cta{background-color:var(--interactive-normal);margin-right:var(--size-4-2)}div[data-type=thino_view] .section-header-container>.memos-header-search-section .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container{display:flex;flex-direction:row;justify-content:flex-start;align-items:center}div[data-type=thino_view] .section-header-container>.memos-header-search-section .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container>.tip-text,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container>.tip-text{font-size:var(--font-ui-small);color:gray;margin-right:8px;white-space:nowrap}div[data-type=thino_view] .section-header-container>.memos-header-search-section .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container>.btn,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container>.btn{padding:6px 16px;font-size:var(--font-ui-small);border-radius:4px}div[data-type=thino_view] .section-header-container>.memos-header-search-section .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container>.btn:hover,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container>.btn:hover{opacity:.8}div[data-type=thino_view] .section-header-container>.memos-header-search-section .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container>.btn.disabled,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container>.btn.disabled{color:var(--memos-text-muted);cursor:not-allowed}div[data-type=thino_view] .section-header-container>.memos-header-search-section .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container>.btn.save-btn,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container>.btn.save-btn{background-color:var(--memos-bg-accent);color:var(--memos-text-hover)}div[data-type=thino_view] .section-header-container>.memos-header-search-section .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container>.btn.save-btn.requesting,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container>.btn.save-btn.requesting{cursor:wait;opacity:.8}div[data-type=thino_view] .section-header-container>.memos-header-search-section .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container>.btn.mod-cta,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container>.btn.mod-cta{margin-right:var(--size-4-2)}div[data-type=thino_view] .section-header-container>.title-text,div[data-type=thino_view] .memos-header-container>.title-text{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;font-weight:700;font-size:18px;line-height:40px;color:var(--memos-text-black);margin-right:8px;overflow:hidden;text-overflow:ellipsis;flex-shrink:0;cursor:pointer}div[data-type=thino_view] .section-header-container>.title-text>.action-btn,div[data-type=thino_view] .memos-header-container>.title-text>.action-btn{display:flex;flex-direction:row;justify-content:center;align-items:center;width:24px;height:24px;margin-right:4px;flex-shrink:0;background-color:unset;box-shadow:unset}div[data-type=thino_view] .section-header-container>.title-text>.action-btn:hover,div[data-type=thino_view] .memos-header-container>.title-text>.action-btn:hover{background-color:var(--memos-bg-gray)}div[data-type=thino_view] .section-header-container>.title-text>.action-btn>.icon-img,div[data-type=thino_view] .memos-header-container>.title-text>.action-btn>.icon-img{width:18px;height:18px}div[data-type=thino_view] .section-header-container>.btns-container,div[data-type=thino_view] .memos-header-container>.btns-container{display:flex;flex-direction:row;justify-content:flex-end;align-items:center}div[data-type=thino_view] .section-header-container .refresh-icon,div[data-type=thino_view] .memos-header-container .refresh-icon{width:var(--size-4-6);height:var(--size-4-6);margin-left:var(--size-2-2);padding:var(--size-2-2);border-radius:var(--size-2-2);flex-shrink:0;display:flex;align-items:center;color:var(--memos-icon-hover);--icon-size: 18px}div[data-type=thino_view] .section-header-container .refresh-icon:hover,div[data-type=thino_view] .memos-header-container .refresh-icon:hover{color:var(--memos-accent-hover);background-color:var(--memos-icon-hover)}div[data-type=thino_view].mobile-view .section-header-container,div[data-type=thino_view].mobile-view .memos-header-container{height:auto;margin-top:4px;margin-bottom:0;padding:0 12px 8px}div[data-type=thino_view].mobile-view .section-header-container>.title-text,div[data-type=thino_view].mobile-view .memos-header-container>.title-text{color:var(--memos-text-black)}div[data-type=thino_view].mobile-view .section-header-container>.title-text>.normal-text,div[data-type=thino_view].mobile-view .memos-header-container>.title-text>.normal-text{display:none}div[data-type=thino_view].mobile-view .section-header-container>.title-text>.action-btn,div[data-type=thino_view].mobile-view .memos-header-container>.title-text>.action-btn{display:flex;flex-direction:row;justify-content:center;align-items:center;width:30px;height:32px;margin-right:var(--size-2-1);margin-left:calc(var(--size-2-1));padding:0;flex-shrink:0;background-color:unset}div[data-type=thino_view].mobile-view .section-header-container>.title-text>.action-btn>.icon-img,div[data-type=thino_view].mobile-view .memos-header-container>.title-text>.action-btn>.icon-img{width:18px;height:18px;color:var(--memos-text-accent)}.modal-content:has(.thino-inline-filter-container){display:flex;align-items:center;justify-content:flex-start;padding:var(--size-4-2)}.modal-content:has(.thino-inline-filter-container) .thino-inline-filter-container{width:100%;height:fit-content;z-index:99;padding:var(--size-4-2);border-radius:var(--memos-radius-l)}.modal-content:has(.thino-inline-filter-container) .thino-inline-filter-container .dialog-content-container{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;width:100%;-webkit-user-select:text;user-select:text}.modal-content:has(.thino-inline-filter-container) .thino-inline-filter-container .dialog-content-container>.form-item-container{display:flex;flex-direction:row;justify-content:flex-start;align-items:flex-start;width:100%;padding:var(--size-2-2) var(--size-4-2);border-bottom:1px solid var(--memos-bg-lightgray);margin-bottom:var(--size-4-2)}.modal-content:has(.thino-inline-filter-container) .thino-inline-filter-container .dialog-content-container>.form-item-container>.normal-text{display:block;flex-shrink:0;width:40px;margin-right:12px;text-align:right;color:gray;font-size:var(--font-ui-small);line-height:32px}.modal-content:has(.thino-inline-filter-container) .thino-inline-filter-container .dialog-content-container>.form-item-container>.title-input{width:100%;padding:0 8px;font-size:var(--font-ui-small);line-height:32px;border-radius:4px;border:1px solid var(--memos-bg-gray);resize:none}.modal-content:has(.thino-inline-filter-container) .thino-inline-filter-container .dialog-content-container>.form-item-container>.filters-wrapper{width:100%;display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start}.modal-content:has(.thino-inline-filter-container) .thino-inline-filter-container .dialog-content-container>.form-item-container>.filters-wrapper>.create-filter-btn{color:var(--memos-text-green);font-size:var(--font-ui-small);line-height:32px;cursor:pointer}.modal-content:has(.thino-inline-filter-container) .thino-inline-filter-container .dialog-content-container .selector-wrapper>.current-value-container{margin-right:var(--size-2-2)}.modal-content:has(.thino-inline-filter-container) .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>input.value-inputer{border:1px solid var(--memos-bg-gray);background-color:transparent}.modal-content:has(.thino-inline-filter-container) .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>input.value-inputer{max-width:100%;width:40%;height:34px;padding-left:var(--size-4-2);padding-right:var(--size-4-2);margin-right:var(--size-2-2);border-radius:4px;border:1px solid var(--memos-bg-gray);background-color:transparent}.modal-content:has(.thino-inline-filter-container) .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>input.value-inputer:hover{background-color:var(--memos-bg-lightgray)}.modal-content:has(.thino-inline-filter-container) .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer{position:relative}.modal-content:has(.thino-inline-filter-container) .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer>input.value-inputer{width:100%;height:34px;padding-left:var(--size-4-8);padding-right:var(--size-4-2);margin-right:var(--size-2-2);border-radius:4px;border:1px solid var(--memos-bg-gray);background-color:transparent}.modal-content:has(.thino-inline-filter-container) .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer>input.value-inputer:hover{background-color:var(--memos-bg-lightgray)}.modal-content:has(.thino-inline-filter-container) .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer>.calendar-btn{position:absolute;left:var(--size-4-2);top:var(--size-4-2);width:16px;height:auto;cursor:pointer;opacity:.8;margin-right:var(--size-4-2)}.modal-content:has(.thino-inline-filter-container) .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer>.calendar-btn:hover{opacity:.6}.modal-content:has(.thino-inline-filter-container) .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer .menu-btns-popup{display:flex;flex-direction:row;justify-content:flex-start;align-items:flex-start;position:absolute;top:36px;left:calc(var(--size-4-8) * -1);padding:4px;width:auto;border-radius:8px;z-index:20;box-shadow:var(--memos-memo-shadow);background-color:var(--memos-memo-bg)}.modal-content:has(.thino-inline-filter-container) .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer .menu-btns-popup .quick-date-btn-group{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;height:100%;width:92px;font-size:var(--font-ui-smaller);gap:var(--size-4-2);padding-top:var(--size-4-2);padding-left:var(--size-2-2);padding-right:var(--size-2-2);color:var(--memos-text-muted)}.modal-content:has(.thino-inline-filter-container) .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer .menu-btns-popup .quick-date-btn-group>.quick-date-btn{width:100%;padding:var(--size-2-1);padding-top:var(--size-2-2);padding-bottom:var(--size-2-2);border-radius:var(--memos-radius-m)}.modal-content:has(.thino-inline-filter-container) .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer .menu-btns-popup .quick-date-btn-group>.quick-date-btn:hover{background:var(--memos-bg-lightgray)}.modal-content:has(.thino-inline-filter-container) .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer .menu-btns-popup .calendar-date-picker{background-color:var(--memos-memo-bg);padding:var(--size-2-2)}.modal-content:has(.thino-inline-filter-container) .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer .menu-btns-popup:has(.quick-date-btn-group) .calendar-date-picker{border-radius:unset;border-left:1px solid var(--memos-bg-lightgray)}.modal-content:has(.thino-inline-filter-container) .thino-inline-filter-container>.dialog-footer-container{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;width:100%;margin-top:0}.modal-content:has(.thino-inline-filter-container) .thino-inline-filter-container>.dialog-footer-container>.btns-container{display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%}.modal-content:has(.thino-inline-filter-container) .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btn{padding:6px 16px;font-size:var(--font-ui-small);border-radius:4px}.modal-content:has(.thino-inline-filter-container) .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btn:hover{color:var(--memos-text-hover);background-color:var(--memos-bg-accent);opacity:.8}.modal-content:has(.thino-inline-filter-container) .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btn.save-btn{background-color:var(--interactive-normal);color:var(--memos-text-muted)}.modal-content:has(.thino-inline-filter-container) .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btn.save-btn:hover{color:var(--memos-text-hover);background-color:var(--memos-bg-accent)}.modal-content:has(.thino-inline-filter-container) .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btn.mod-cta{background-color:var(--interactive-normal);margin-right:var(--size-4-2)}.modal-content:has(.thino-inline-filter-container) .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btn.mod-cta:hover{color:var(--memos-text-hover);background-color:var(--memos-bg-accent)}.modal-content:has(.thino-inline-filter-container) .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container{display:flex;flex-direction:row;justify-content:flex-start;align-items:center}.modal-content:has(.thino-inline-filter-container) .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container>.tip-text{font-size:var(--font-ui-small);color:gray;margin-right:8px;white-space:nowrap}.modal-content:has(.thino-inline-filter-container) .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container>.btn{padding:6px 16px;font-size:var(--font-ui-small);border-radius:4px}.modal-content:has(.thino-inline-filter-container) .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container>.btn:hover{opacity:.8}.modal-content:has(.thino-inline-filter-container) .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container>.btn.disabled{color:#d3d3d3;cursor:not-allowed}.modal-content:has(.thino-inline-filter-container) .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container>.btn.save-btn{background-color:var(--memos-bg-accent);color:var(--memos-text-hover)}.modal-content:has(.thino-inline-filter-container) .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container>.btn.save-btn.requesting{cursor:wait;opacity:.8}.modal-content:has(.thino-inline-filter-container) .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container>.btn.mod-cta{margin-right:var(--size-4-2)}div[data-type=thino_view] .memo-review-wrapper{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;width:100%;height:100%;flex-grow:1;overflow-y:scroll}div[data-type=thino_view] .memo-review-wrapper::-webkit-scrollbar{width:0;height:0;cursor:pointer}div[data-type=thino_view] .memo-review-wrapper::-webkit-scrollbar-thumb{width:0;height:0;border-radius:8px;background-color:#d5d5d5}div[data-type=thino_view] .memo-review-wrapper::-webkit-scrollbar-thumb:hover{background-color:#ccc}div[data-type=thino_view] .memo-review-wrapper::-webkit-scrollbar{display:none}div[data-type=thino_view] .memo-review-wrapper>.section-header-container{width:100%;height:40px;margin-bottom:var(--size-4-4);color:var(--memos-text-black)}div[data-type=thino_view] .memo-review-wrapper>.section-header-container>.title-wrapper{font-weight:700;font-size:var(--font-ui-medium);color:var(--memos-text-black);display:flex;justify-content:space-between;width:100%}div[data-type=thino_view] .memo-review-wrapper>.section-header-container>.title-wrapper>.title-btns-left-wrapper{display:flex;align-items:center;gap:var(--size-4-2)}div[data-type=thino_view] .memo-review-wrapper>.section-header-container>.title-wrapper>.title-btns-left-wrapper>.refresh-icon{padding:var(--size-2-2);width:var(--size-4-6);height:var(--size-4-6);border-radius:var(--size-2-2);color:var(--memos-memo-bg-primary);cursor:pointer}div[data-type=thino_view] .memo-review-wrapper>.section-header-container>.title-wrapper>.title-btns-left-wrapper>.refresh-icon:hover{color:var(--memos-accent-hover);background-color:var(--memos-icon-hover)}div[data-type=thino_view] .memo-review-wrapper>.section-header-container>.title-wrapper>.title-btns-right-wrapper{display:flex;align-items:center;justify-content:center}div[data-type=thino_view] .memo-review-wrapper>.section-header-container>.title-wrapper>.title-btns-right-wrapper>.go-home-btn{margin-left:8px;color:var(--memos-text-muted);background-color:var(--memos-icon);padding:6px;font-size:var(--font-ui-small);border-radius:4px;cursor:pointer}div[data-type=thino_view] .memo-review-wrapper>.section-header-container>.title-wrapper>.title-btns-right-wrapper>.go-home-btn:hover{color:var(--memos-accent-hover)}div[data-type=thino_view] .memo-review-wrapper>.tip-text-container{width:100%;height:128px;display:flex;flex-direction:column;justify-content:center;align-items:center}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;flex-grow:1;font-size:var(--font-ui-medium);width:100%;overflow-y:scroll;padding-bottom:64px;color:var(--memos-text-black);gap:var(--size-4-2)}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container::-webkit-scrollbar{width:0;height:0;cursor:pointer}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container::-webkit-scrollbar-thumb{width:0;height:0;border-radius:8px;background-color:#d5d5d5}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container::-webkit-scrollbar-thumb:hover{background-color:#ccc}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container::-webkit-scrollbar{display:none}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container .memo-wrapper{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;width:100%;padding:12px 18px;background-color:var(--memos-memo-bg);border-radius:8px;border:1px solid var(--memos-memo-border)}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container .memo-wrapper:hover{border-color:var(--memos-memo-border-hover)}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container .memo-wrapper>.memo-top-wrapper{display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%;height:24px}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container .memo-wrapper>.memo-top-wrapper>.time-text{font-size:var(--font-ui-small);line-height:24px;color:var(--memos-text-muted);flex-shrink:0;cursor:pointer}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container .memo-wrapper>.memo-top-wrapper>.time-text:hover{color:var(--memos-text-hover)}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container .memo-wrapper>.memo-top-wrapper>.btns-container{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;position:relative;flex-shrink:0}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container .memo-wrapper>.memo-top-wrapper>.btns-container>.more-action-btns-wrapper{display:flex;flex-direction:column;justify-content:flex-start;align-items:center;position:absolute;flex-wrap:nowrap;top:calc(100% - 14px);right:-16px;width:auto;height:auto;padding:12px;z-index:1;display:none;min-width:140px}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container .memo-wrapper>.memo-top-wrapper>.btns-container>.more-action-btns-wrapper:hover{display:flex}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container .memo-wrapper>.memo-top-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container{display:flex;width:100%;height:auto;padding:var(--size-4-2);white-space:nowrap;border-radius:8px;background-color:var(--memos-memo-bg);box-shadow:var(--memos-memo-shadow);z-index:1;flex-direction:column}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container .memo-wrapper>.memo-top-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item{display:flex;justify-content:flex-start;align-items:center;gap:var(--size-2-2);padding-left:var(--size-4-2);padding-right:var(--size-4-2)}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container .memo-wrapper>.memo-top-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item>.more-action-item-icon{display:flex}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container .memo-wrapper>.memo-top-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item>.more-action-item-icon>svg{height:var(--size-4-4)}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container .memo-wrapper>.memo-top-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item>.btn{width:100%;padding:8px 0 8px 6px;border-radius:4px;height:unset;line-height:unset;justify-content:flex-start}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container .memo-wrapper>.memo-top-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item>.btn.delete-btn{color:var(--memos-text-red)}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container .memo-wrapper>.memo-top-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item>.btn.delete-btn.final-confirm{font-weight:700}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container .memo-wrapper>.memo-top-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item.archive-menu-item,div[data-type=thino_view] .memo-review-wrapper>.review-memos-container .memo-wrapper>.memo-top-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item.delete-menu-item{color:var(--memos-text-red)}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container .memo-wrapper>.memo-top-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item:hover{background-color:var(--memos-bg-lightgray)}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container .memo-wrapper>.memo-top-wrapper>.btns-container .btn{display:flex;flex-direction:row;justify-content:center;align-items:center;width:100%;height:var(--size-4-6);font-size:var(--font-ui-small);border-radius:4px}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container .memo-wrapper>.memo-top-wrapper>.btns-container .btn:hover{background-color:var(--memos-bg-lightgray)}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container .memo-wrapper>.memo-top-wrapper>.btns-container .btn.more-action-btn{width:var(--size-4-6);cursor:unset;margin-right:-6px;opacity:.8}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container .memo-wrapper>.memo-top-wrapper>.btns-container .btn.more-action-btn>.icon-img{width:16px;height:16px}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container .memo-wrapper>.memo-top-wrapper>.btns-container .btn.more-action-btn:hover{background-color:unset}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container .memo-wrapper>.memo-top-wrapper>.btns-container .btn.more-action-btn:hover+.more-action-btns-wrapper{display:flex}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container .memo-wrapper>.images-wrapper{display:flex;flex-direction:row;justify-content:flex-start;align-items:flex-start;margin-top:8px;width:100%;overflow-x:auto;overflow-y:hidden;padding-bottom:4px}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container .memo-wrapper>.images-wrapper::-webkit-scrollbar{width:0;height:2px;cursor:pointer}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container .memo-wrapper>.images-wrapper::-webkit-scrollbar-thumb{width:0;height:2px;border-radius:8px;background-color:#d5d5d5}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container .memo-wrapper>.images-wrapper::-webkit-scrollbar-thumb:hover{background-color:#ccc}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container .memo-wrapper>.images-wrapper>.memo-img{margin-right:8px;width:auto;height:128px;flex-shrink:0;flex-grow:0;overflow-y:hidden}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container .memo-wrapper>.images-wrapper>.memo-img::-webkit-scrollbar{width:0;height:0;cursor:pointer}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container .memo-wrapper>.images-wrapper>.memo-img::-webkit-scrollbar-thumb{width:0;height:0;border-radius:8px;background-color:#d5d5d5}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container .memo-wrapper>.images-wrapper>.memo-img::-webkit-scrollbar-thumb:hover{background-color:#ccc}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container .memo-wrapper>.images-wrapper>.memo-img::-webkit-scrollbar{display:none}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container .memo-wrapper>.images-wrapper>.memo-img:hover{border-color:var(--memos-memo-border-hover)}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container .memo-wrapper>.images-wrapper>.memo-img:last-child{margin-right:0}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container .memo-wrapper>.images-wrapper>.memo-img>img{width:auto;max-height:128px;border-radius:8px}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container>.memo-wrapper>.memo-content-text{width:100%;font-size:var(--font-ui-medium);line-height:24px}div[data-type=thino_view] .memo-review-wrapper:has(.filter-query-container:not(.thino-hidden)) .menu-popup-btn{display:none}div[data-type=thino_view].mobile-view .review-memos-container{padding:0 12px;gap:var(--size-4-2)}div[data-type=thino_view].mobile-view .memo-review-wrapper{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;width:100%;height:100%;flex-grow:1;overflow-y:scroll}div[data-type=thino_view].mobile-view .memo-review-wrapper::-webkit-scrollbar{width:0;height:0;cursor:pointer}div[data-type=thino_view].mobile-view .memo-review-wrapper::-webkit-scrollbar-thumb{width:0;height:0;border-radius:8px;background-color:#d5d5d5}div[data-type=thino_view].mobile-view .memo-review-wrapper::-webkit-scrollbar-thumb:hover{background-color:#ccc}div[data-type=thino_view].mobile-view .memo-review-wrapper::-webkit-scrollbar{display:none}div[data-type=thino_view].mobile-view .memo-review-wrapper>.section-header-container{width:100%;height:58px;margin-bottom:0}div[data-type=thino_view].mobile-view .memo-review-wrapper>.section-header-container>.title-text{font-weight:700;font-size:var(--font-ui-medium);color:var(--memos-text-black)}div[data-type=thino_view] .daily-thinos-list-wrapper{width:100%;height:100%;padding-bottom:var(--size-4-12)}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container{width:100%;height:40px;margin-bottom:var(--size-4-4);color:var(--memos-text-black)}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.title-text{font-weight:700;font-size:var(--font-ui-medium);color:var(--memos-text-black)}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.title-text>.go-home-btn{color:var(--memos-text-accent);background-color:var(--memos-memo-border);padding-left:6px;padding-right:6px;font-size:var(--font-ui-small);border-radius:4px;cursor:pointer}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.title-text>.go-home-btn:hover{color:var(--memos-accent-hover)}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section{display:flex;flex-direction:row;justify-content:flex-end;gap:var(--size-2-2)}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .btns-container{display:flex;gap:var(--size-4-2);padding-right:var(--size-4-2);padding-left:var(--size-4-2)}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .btns-container .btn.generating{-webkit-animation:spin 1s linear 1s 5 alternate;animation:spin 1s linear infinite}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .thino-inline-filter-wrapper{display:flex;align-items:center;border:1px solid var(--thino-wrapper-border);color:var(--memos-text-muted);padding:var(--size-2-2);border-radius:var(--memos-radius-m);cursor:pointer;--icon-size: 18px}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .thino-inline-filter-wrapper:hover{color:var(--memos-accent-hover);background:var(--thino-wrapper-background-hover)}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .thino-inline-filter-container{position:absolute;width:400px;height:fit-content;z-index:99;background-color:var(--thino-background-primary);box-shadow:0 0 8px #0000001a;padding:var(--size-4-2);border-radius:var(--memos-radius-m)}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .thino-inline-filter-container .dialog-content-container{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;width:100%;-webkit-user-select:text;user-select:text}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .thino-inline-filter-container .dialog-content-container>.form-item-container{display:flex;flex-direction:row;justify-content:flex-start;align-items:flex-start;width:100%;padding:var(--size-2-2) var(--size-4-2);border-bottom:1px solid var(--memos-bg-lightgray);margin-bottom:var(--size-4-2)}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .thino-inline-filter-container .dialog-content-container>.form-item-container>.normal-text{display:block;flex-shrink:0;width:40px;margin-right:12px;text-align:right;color:gray;font-size:var(--font-ui-small);line-height:32px}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .thino-inline-filter-container .dialog-content-container>.form-item-container>.title-input{width:100%;padding:0 8px;font-size:var(--font-ui-small);line-height:32px;border-radius:4px;border:1px solid var(--memos-bg-gray);resize:none}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .thino-inline-filter-container .dialog-content-container>.form-item-container>.filters-wrapper{width:100%;display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .thino-inline-filter-container .dialog-content-container>.form-item-container>.filters-wrapper>.create-filter-btn{color:var(--memos-text-green);font-size:var(--font-ui-small);line-height:32px;cursor:pointer}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .thino-inline-filter-container .dialog-content-container .selector-wrapper>.current-value-container{margin-right:var(--size-2-2)}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>input.value-inputer{border:1px solid var(--memos-bg-gray);background-color:transparent}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>input.value-inputer{max-width:100%;width:calc(100% - 152px);height:34px;padding-left:var(--size-4-2);padding-right:var(--size-4-2);margin-right:var(--size-2-2);border-radius:4px;border:1px solid var(--memos-bg-gray);background-color:transparent}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>input.value-inputer:hover{background-color:var(--memos-bg-lightgray)}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer{position:relative}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer>input.value-inputer{width:100%;height:34px;padding-left:var(--size-4-8);padding-right:var(--size-4-2);margin-right:var(--size-2-2);border-radius:4px;border:1px solid var(--memos-bg-gray);background-color:transparent}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer>input.value-inputer:hover{background-color:var(--memos-bg-lightgray)}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer>.calendar-btn{position:absolute;left:var(--size-4-2);top:var(--size-4-2);width:16px;height:auto;cursor:pointer;opacity:.8;margin-right:var(--size-4-2)}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer>.calendar-btn:hover{opacity:.6}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer .menu-btns-popup{display:flex;flex-direction:row;justify-content:flex-start;align-items:flex-start;position:absolute;top:36px;left:calc(var(--size-4-8) * -1);padding:4px;width:auto;border-radius:8px;z-index:20;box-shadow:var(--memos-memo-shadow);background-color:var(--memos-memo-bg)}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer .menu-btns-popup .quick-date-btn-group{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;height:100%;width:92px;font-size:var(--font-ui-smaller);gap:var(--size-4-2);padding-top:var(--size-4-2);padding-left:var(--size-2-2);padding-right:var(--size-2-2);color:var(--memos-text-muted)}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer .menu-btns-popup .quick-date-btn-group>.quick-date-btn{width:100%;padding:var(--size-2-1);padding-top:var(--size-2-2);padding-bottom:var(--size-2-2);border-radius:var(--memos-radius-m)}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer .menu-btns-popup .quick-date-btn-group>.quick-date-btn:hover{background:var(--memos-bg-lightgray)}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer .menu-btns-popup .calendar-date-picker{background-color:var(--memos-memo-bg);padding:var(--size-2-2)}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer .menu-btns-popup:has(.quick-date-btn-group) .calendar-date-picker{border-radius:unset;border-left:1px solid var(--memos-bg-lightgray)}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .thino-inline-filter-container>.dialog-footer-container{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;width:100%;margin-top:0}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .thino-inline-filter-container>.dialog-footer-container>.btns-container{display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btn{padding:6px 16px;font-size:var(--font-ui-small);border-radius:4px}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btn:hover{color:var(--memos-text-hover);background-color:var(--memos-bg-accent)}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btn.save-btn{background-color:var(--interactive-normal);color:var(--memos-text-muted)}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btn.save-btn:hover{color:var(--memos-text-hover);background-color:var(--memos-bg-accent)}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btn.mod-cta{background-color:var(--interactive-normal);margin-right:var(--size-4-2)}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container{display:flex;flex-direction:row;justify-content:flex-start;align-items:center}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container>.tip-text{font-size:var(--font-ui-small);color:gray;margin-right:8px;white-space:nowrap}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container>.btn{padding:6px 16px;font-size:var(--font-ui-small);border-radius:4px}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container>.btn:hover{opacity:.8}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container>.btn.disabled{color:var(--memos-text-muted);cursor:not-allowed}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container>.btn.save-btn{background-color:var(--memos-bg-accent);color:var(--memos-text-hover)}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container>.btn.save-btn.requesting{cursor:wait;opacity:.8}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container>.btn.mod-cta{margin-right:var(--size-4-2)}div[data-type=thino_view] .daily-thinos-list-wrapper .tip-container{width:100%;height:100%;display:flex;justify-content:center;align-items:flex-start;margin:auto;padding:16px 0}div[data-type=thino_view] .daily-thinos-list-wrapper .tip-container>.tip-text{font-style:italic;text-align:center}div[data-type=thino_view] .daily-thinos-list-wrapper .daily-thinos-view-wrapper{height:100%;width:100%;overflow-x:hidden;overflow-y:scroll}div[data-type=thino_view] .daily-thinos-list-wrapper .daily-thinos-view-wrapper::-webkit-scrollbar{width:0;height:0;cursor:pointer}div[data-type=thino_view] .daily-thinos-list-wrapper .daily-thinos-view-wrapper::-webkit-scrollbar-thumb{width:0;height:0;border-radius:8px;background-color:#d5d5d5}div[data-type=thino_view] .daily-thinos-list-wrapper .daily-thinos-view-wrapper::-webkit-scrollbar-thumb:hover{background-color:#ccc}div[data-type=thino_view] .daily-thinos-list-wrapper .daily-thinos-view-wrapper::-webkit-scrollbar{display:none}div[data-type=thino_view] .daily-thinos-list-wrapper .daily-thinos-view-wrapper .daily-thinos-view-container{height:auto;width:100%;overflow-x:hidden;overflow-y:hidden;padding-left:var(--size-2-1);padding-right:var(--size-2-2)}div[data-type=thino_view] .daily-thinos-list-wrapper .daily-thinos-view-wrapper .daily-thinos-view-container::-webkit-scrollbar{width:0;height:0;cursor:pointer}div[data-type=thino_view] .daily-thinos-list-wrapper .daily-thinos-view-wrapper .daily-thinos-view-container::-webkit-scrollbar-thumb{width:0;height:0;border-radius:8px;background-color:#d5d5d5}div[data-type=thino_view] .daily-thinos-list-wrapper .daily-thinos-view-wrapper .daily-thinos-view-container::-webkit-scrollbar-thumb:hover{background-color:#ccc}div[data-type=thino_view] .daily-thinos-list-wrapper .daily-thinos-view-wrapper .daily-thinos-view-container::-webkit-scrollbar{display:none}div[data-type=thino_view] .daily-thinos-list-wrapper .daily-thinos-view-wrapper .daily-thinos-view-container .date-card-container{display:flex;flex-direction:column;justify-content:center;align-items:center;margin:auto;padding-bottom:24px;z-index:1;-webkit-user-select:none;user-select:none;width:100%;gap:var(--size-4-2)}div[data-type=thino_view] .daily-thinos-list-wrapper .daily-thinos-view-wrapper .daily-thinos-view-container .date-card-container>.date-container-details{display:flex;justify-content:space-between;width:100%;align-items:center}div[data-type=thino_view] .daily-thinos-list-wrapper .daily-thinos-view-wrapper .daily-thinos-view-container .date-card-container>.date-container-details .details-text{display:flex;font-size:28px;justify-content:flex-start;gap:var(--size-4-2);font-weight:500;word-wrap:normal}div[data-type=thino_view] .daily-thinos-list-wrapper .daily-thinos-view-wrapper .daily-thinos-view-container .date-card-container>.date-container-details .details-text .day-text{display:flex;width:fit-content}div[data-type=thino_view] .daily-thinos-list-wrapper .daily-thinos-view-wrapper .daily-thinos-view-container .date-card-container>.date-container-details .details-text .date-text{display:flex;color:var(--thino-modern-text-faint);word-wrap:normal;width:90px}div[data-type=thino_view] .daily-thinos-list-wrapper .daily-thinos-view-wrapper .daily-thinos-view-container .date-card-container>.date-container-details .details-text:hover{color:var(--memos-text-muted)}div[data-type=thino_view] .daily-thinos-list-wrapper .daily-thinos-view-wrapper .daily-thinos-view-container .date-card-container>.date-container-details .details-text:hover .date-text{color:var(--memos-text-muted)}div[data-type=thino_view] .daily-thinos-list-wrapper .daily-thinos-view-wrapper .daily-thinos-view-container .date-card-container>.date-container-details .details-logo-text{display:flex;justify-content:center;align-items:center;color:var(--thino-modern-text-faint-hover);font-size:var(--font-ui-small);width:90px;padding:6px;padding-left:var(--size-4-2);padding-right:var(--size-4-2);background-color:var(--thino-button-background);border-radius:var(--memos-radius-m)}div[data-type=thino_view] .daily-thinos-list-wrapper .daily-thinos-view-wrapper .daily-thinos-view-container .date-card-container>.date-container-info{display:flex;font-size:18px;justify-content:space-between;width:100%;color:var(--thino-modern-text-faint)}div[data-type=thino_view] .daily-thinos-list-wrapper .daily-thinos-view-wrapper .daily-thinos-view-container .date-card-container>.date-container-info .date-container-info-text{display:flex;flex-direction:row;gap:var(--size-2-2);width:100%}div[data-type=thino_view] .daily-thinos-list-wrapper .daily-thinos-view-wrapper .daily-thinos-view-container .date-card-container>.date-container-info:hover{color:var(--memos-text-muted)}div[data-type=thino_view] .daily-thinos-list-wrapper .daily-thinos-view-wrapper .daily-thinos-view-container .date-card-container:has(~.date-picker-wrapper:not(.thino-hidden)){padding-bottom:12px}div[data-type=thino_view] .daily-thinos-list-wrapper .daily-thinos-view-wrapper .daily-thinos-view-container .date-picker{border:1px solid var(--memos-bg-lightgray);border-radius:8px;margin:0 auto 24px;background-color:unset}div[data-type=thino_view] .daily-thinos-list-wrapper .daily-thinos-view-wrapper .daily-thinos-view-container .daily-thinos-list-container{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;padding-top:8px;padding-bottom:24px;width:100%;height:100%}div[data-type=thino_view] .daily-thinos-list-wrapper .daily-thinos-view-wrapper .daily-thinos-view-container .daily-thinos-list-container .daily-thino-wrapper{display:flex;flex-direction:row;justify-content:flex-start;align-items:flex-start;position:relative;width:100%;margin-left:24px;padding:0 0 24px;border:none;border-left:2px solid var(--thino-wrapper-border-hover)}div[data-type=thino_view] .daily-thinos-list-wrapper .daily-thinos-view-wrapper .daily-thinos-view-container .daily-thinos-list-container .daily-thino-wrapper:last-child{border-left:none;padding-bottom:0;padding-left:2px}div[data-type=thino_view] .daily-thinos-list-wrapper .daily-thinos-view-wrapper .daily-thinos-view-container .daily-thinos-list-container .daily-thino-wrapper>.time-wrapper{display:flex;flex-direction:column;justify-content:center;align-items:center;position:relative;left:-24px;margin-top:-2px;flex-shrink:0;width:48px;height:28px;border-radius:6px;background-color:var(--thino-wrapper-background);color:var(--thino-button-text-faint);-webkit-user-select:none;user-select:none}div[data-type=thino_view] .daily-thinos-list-wrapper .daily-thinos-view-wrapper .daily-thinos-view-container .daily-thinos-list-container .daily-thino-wrapper>.time-wrapper>.normal-text{margin:0 auto;font-size:var(--font-ui-small);line-height:24px}div[data-type=thino_view] .daily-thinos-list-wrapper .daily-thinos-view-wrapper .daily-thinos-view-container .daily-thinos-list-container .daily-thino-wrapper>.time-wrapper:hover{background-color:var(--thino-divider-hover);color:var(--memos-text-muted)}div[data-type=thino_view] .daily-thinos-list-wrapper .daily-thinos-view-wrapper .daily-thinos-view-container .daily-thinos-list-container .daily-thino-wrapper>.daily-thino-container{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;width:100%;margin-left:-12px;padding:0 24px 0 0;font-size:16px;margin-top:-3px;vertical-align:center}div[data-type=thino_view] .daily-thinos-list-wrapper .daily-thinos-view-wrapper .daily-thinos-view-container .daily-thinos-list-container .daily-thino-wrapper>.daily-thino-container .memo-wrapper{padding:0;border:unset;background-color:unset;padding-right:var(--size-4-2)}div[data-type=thino_view] .daily-thinos-list-wrapper .daily-thinos-view-wrapper .daily-thinos-view-container .daily-thinos-list-container .daily-thino-wrapper>.daily-thino-container .memo-wrapper .memo-top-wrapper{display:none}div[data-type=thino_view] .daily-thinos-list-wrapper .daily-thinos-view-wrapper .daily-thinos-view-container .daily-thinos-list-container .daily-thino-wrapper>.daily-thino-container .memo-wrapper .memo-content-text{width:100%;word-wrap:normal}div[data-type=thino_view] .daily-thinos-list-wrapper .daily-thinos-view-wrapper .daily-thinos-view-container .daily-thinos-list-container .daily-thino-wrapper>.daily-thino-container .memo-wrapper .memo-content-text p:first-child{margin-block-start:0}div[data-type=thino_view] .daily-thinos-list-wrapper .daily-thinos-view-wrapper .daily-thinos-view-container .daily-thinos-list-container .daily-thino-wrapper>.daily-thino-container .memo-wrapper .memo-content-text p{margin-block-start:calc(var(--p-spacing) * .5);margin-block-end:calc(var(--p-spacing) * .5)}div[data-type=thino_view] .daily-thinos-list-wrapper .daily-thinos-view-wrapper .daily-thinos-view-container .daily-thinos-list-container .daily-thino-wrapper>.daily-thino-container .memo-wrapper:hover{border:unset}div[data-type=thino_view] .daily-thinos-list-wrapper .daily-thinos-view-wrapper .daily-thinos-view-container .daily-thinos-list-container .daily-thino-wrapper>.daily-thino-container .memo-wrapper:has(.memo-editor-wrapper){padding:var(--size-4-3);border:1px solid var(--memos-memo-border)}div[data-type=thino_view] .daily-thinos-list-wrapper .daily-thinos-view-wrapper .daily-thinos-view-container .daily-thinos-list-container .daily-thino-wrapper>.daily-thino-container .memo-wrapper:has(.memo-editor-wrapper):hover{border-color:var(--memos-memo-border-hover)}div[data-type=thino_view] .daily-thinos-list-wrapper:has(.filter-query-container:not(.thino-hidden)~.daily-thinos-view-wrapper) .daily-thinos-view-wrapper{padding-top:12px}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(360deg)}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}div[data-type=thino_view]:has(.daily-thinos-view-wrapper) .heatmap-default{display:none}div[data-type=thino_view]:has(.daily-thinos-view-wrapper) .status-text-container{display:flex}div[data-type=thino_view]:has(.daily-thinos-view-wrapper) .user-banner-container{height:140px}.thino-date-selector .suggestion{max-height:fit-content;min-height:200px}.thino-date-selector .suggestion-item{padding:0}.thino-date-selector .suggestion-item .date-picker-wrapper{background-color:var(--memos-memo-bg)}.thino-date-selector .suggestion-item.is-selected{background-color:unset}.thino-canvas-menu-btn{left:var(--size-4-2);top:var(--size-4-2);display:flex;flex-direction:column;position:absolute;z-index:var(--layer-cover)}.thino-canvas-menu-btn .btn-container{height:34px;width:34px;display:flex;line-height:1;font-size:inherit;align-items:center;justify-content:center;cursor:var(--cursor);padding:var(--size-4-2);color:var(--text-muted);--icon-stroke: var(--icon-s-stroke-width);--icon-size: 18px;border-radius:var(--radius-s);box-shadow:var(--shadow-s);background-color:var(--background-primary);border:1px solid var(--background-modifier-border);overflow:hidden}.thino-canvas-menu-btn .thino-canvas-menu{display:flex;flex-direction:column;align-items:center;gap:var(--size-4-2);padding:var(--size-4-2);background-color:var(--background-primary);border-radius:var(--radius-s);box-shadow:var(--input-shadow);overflow:hidden;margin-top:var(--size-2-2);max-width:240px;width:240px}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group{display:flex;flex-direction:row;justify-content:space-between;gap:var(--size-4-2);width:100%}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .thino-inline-filter-wrapper{display:flex;align-items:center;justify-content:center;color:var(--memos-text-muted);padding:var(--size-2-2);border-radius:var(--memos-radius-m);cursor:pointer;width:40px;height:40px;--icon-size: 18px}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .thino-inline-filter-wrapper:hover{color:var(--memos-accent-hover);background:var(--thino-wrapper-background-hover)}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .thino-inline-filter-container{position:absolute;width:400px;height:fit-content;z-index:99;background-color:var(--thino-background-primary);box-shadow:0 0 8px #0000001a;padding:var(--size-4-2);border-radius:var(--memos-radius-m)}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .thino-inline-filter-container .dialog-content-container{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;width:100%;-webkit-user-select:text;user-select:text}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .thino-inline-filter-container .dialog-content-container>.form-item-container{display:flex;flex-direction:row;justify-content:flex-start;align-items:flex-start;width:100%;padding:var(--size-2-2) var(--size-4-2);border-bottom:1px solid var(--memos-bg-lightgray);margin-bottom:var(--size-4-2)}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .thino-inline-filter-container .dialog-content-container>.form-item-container>.normal-text{display:block;flex-shrink:0;width:40px;margin-right:12px;text-align:right;color:gray;font-size:var(--font-ui-small);line-height:32px}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .thino-inline-filter-container .dialog-content-container>.form-item-container>.title-input{width:100%;padding:0 8px;font-size:var(--font-ui-small);line-height:32px;border-radius:4px;border:1px solid var(--memos-bg-gray);resize:none}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .thino-inline-filter-container .dialog-content-container>.form-item-container>.filters-wrapper{width:100%;display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .thino-inline-filter-container .dialog-content-container>.form-item-container>.filters-wrapper>.create-filter-btn{color:var(--memos-text-green);font-size:var(--font-ui-small);line-height:32px;cursor:pointer}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .thino-inline-filter-container .dialog-content-container .selector-wrapper>.current-value-container{margin-right:var(--size-2-2)}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>input.value-inputer{border:1px solid var(--memos-bg-gray);background-color:transparent}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>input.value-inputer{max-width:100%;width:calc(100% - 152px);height:34px;padding-left:var(--size-4-2);padding-right:var(--size-4-2);margin-right:var(--size-2-2);border-radius:4px;border:1px solid var(--memos-bg-gray);background-color:transparent}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>input.value-inputer:hover{background-color:var(--memos-bg-lightgray)}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer{position:relative}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer>input.value-inputer{width:100%;height:34px;padding-left:var(--size-4-8);padding-right:var(--size-4-2);margin-right:var(--size-2-2);border-radius:4px;border:1px solid var(--memos-bg-gray);background-color:transparent}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer>input.value-inputer:hover{background-color:var(--memos-bg-lightgray)}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer>.calendar-btn{position:absolute;left:var(--size-4-2);top:var(--size-4-2);width:16px;height:auto;cursor:pointer;opacity:.8;margin-right:var(--size-4-2)}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer>.calendar-btn:hover{opacity:.6}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer .menu-btns-popup{display:flex;flex-direction:row;justify-content:flex-start;align-items:flex-start;position:absolute;top:36px;left:calc(var(--size-4-8) * -1);padding:4px;width:auto;border-radius:8px;z-index:20;box-shadow:var(--memos-memo-shadow);background-color:var(--memos-memo-bg)}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer .menu-btns-popup .quick-date-btn-group{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;height:100%;width:92px;font-size:var(--font-ui-smaller);gap:var(--size-4-2);padding-top:var(--size-4-2);padding-left:var(--size-2-2);padding-right:var(--size-2-2);color:var(--memos-text-muted)}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer .menu-btns-popup .quick-date-btn-group>.quick-date-btn{width:100%;padding:var(--size-2-1);padding-top:var(--size-2-2);padding-bottom:var(--size-2-2);border-radius:var(--memos-radius-m)}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer .menu-btns-popup .quick-date-btn-group>.quick-date-btn:hover{background:var(--memos-bg-lightgray)}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer .menu-btns-popup .calendar-date-picker{background-color:var(--memos-memo-bg);padding:var(--size-2-2)}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer .menu-btns-popup:has(.quick-date-btn-group) .calendar-date-picker{border-radius:unset;border-left:1px solid var(--memos-bg-lightgray)}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .thino-inline-filter-container>.dialog-footer-container{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;width:100%;margin-top:0}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .thino-inline-filter-container>.dialog-footer-container>.btns-container{display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btn{padding:6px 16px;font-size:var(--font-ui-small);border-radius:4px}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btn:hover{color:var(--memos-text-hover);background-color:var(--memos-bg-accent)}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btn.save-btn{background-color:var(--interactive-normal);color:var(--memos-text-muted)}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btn.save-btn:hover{color:var(--memos-text-hover);background-color:var(--memos-bg-accent)}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btn.mod-cta{background-color:var(--interactive-normal);margin-right:var(--size-4-2)}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container{display:flex;flex-direction:row;justify-content:flex-start;align-items:center}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container>.tip-text{font-size:var(--font-ui-small);color:gray;margin-right:8px;white-space:nowrap}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container>.btn{padding:6px 16px;font-size:var(--font-ui-small);border-radius:4px}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container>.btn:hover{opacity:.8}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container>.btn.disabled{color:var(--memos-text-muted);cursor:not-allowed}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container>.btn.save-btn{background-color:var(--memos-bg-accent);color:var(--memos-text-hover)}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container>.btn.save-btn.requesting{cursor:wait;opacity:.8}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container>.btn.mod-cta{margin-right:var(--size-4-2)}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .search-bar-container{background-color:var(--memos-memo-bg);width:100%}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .search-bar-container .search-bar-inputer{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;border:1px solid var(--memos-bg-searchbar-lightgray);background-color:unset;width:100%;height:40px;padding:4px 16px;border-radius:8px}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .search-bar-container .search-bar-inputer input[type=text]{border:unset}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .search-bar-container .search-bar-inputer:has(.search-bar-inputer:focus-within){max-width:unset}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .search-bar-container .quickly-action-wrapper{top:76px;left:44px}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .clear-query{display:flex;align-items:center;justify-content:center;color:var(--memos-text-muted);padding:var(--size-2-2);border-radius:var(--memos-radius-m);cursor:pointer;width:40px;height:40px}.thino-canvas-menu-btn .thino-canvas-menu .usage-heat-map-wrapper{align-items:center;justify-content:center;padding-right:0}.memos-settings .memos-setting-header{border-bottom:var(--thino-setting-border) 0px solid}.memos-settings .memos-setting-title{display:flex;justify-content:space-between;align-items:center}.memos-settings .memos-setting-tab-group{display:flex;justify-content:flex-start}.memos-settings .memos-navigation-item{display:flex;align-items:flex-start;gap:3px;margin-right:10px;margin-bottom:2px;padding:6px 5px 4px;border-radius:5px;cursor:pointer}.memos-settings .memos-navigation-item-selected{background-color:var(--interactive-accent);color:var(--thino-text-on-accent)}.memos-settings .memo-save-location-setting{border-top:3px dashed var(--thino-modifier-border)}.memos-settings .memo-save-location-setting .setting-item-info{margin-right:unset}.memos-settings .memo-save-location-setting .setting-item-name{display:flex;align-items:center;justify-content:center}.memos-settings .memo-save-location-setting .setting-item-name .memo-save-location-title{font-size:var(--font-ui-medium)}.memos-settings .memo-save-location-setting .memo-save-location-desc{width:100%;height:fit-content;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:10px;align-items:center;justify-items:center}.memos-settings .memo-save-location-setting .memo-save-location-desc .memo-save-location-desc-item{width:100%;height:120px;position:relative;background:var(--thino-background-secondary);border-radius:var(--radius-m);border:1px solid var(--background-modifier-border);display:flex;align-items:center;justify-content:center;gap:var(--size-2-2);font-size:var(--thino-ui-small)}.memos-settings .memo-save-location-setting .memo-save-location-desc .memo-save-location-desc-item>.memo-save-location-desc-item-toggle{position:absolute;right:var(--size-4-3);bottom:var(--size-2-3)}.memos-settings .memo-save-location-setting .memo-save-location-desc .memo-save-location-desc-item>.memo-save-location-desc-item-setting{position:absolute;left:var(--size-2-3);bottom:var(--size-2-3);cursor:pointer}.memos-settings .memo-save-location-setting .memo-save-location-desc .memo-save-location-desc-item>.memo-save-location-desc-item-setting>.clickable-icon{color:var(--memos-text-lightgray)}.memos-settings .memo-save-location-setting .memo-save-location-desc .memo-save-location-desc-item>.memo-save-location-desc-item-setting>*{cursor:pointer}.memos-settings .memo-save-location-setting .memo-save-location-desc .memo-save-location-desc-item>.memo-save-location-desc-item-pro.user-pro-badge{position:absolute;right:var(--size-4-3);top:var(--size-2-3);padding:var(--size-2-2);cursor:pointer;border-radius:var(--memos-radius-m);color:var(--memos-text-white);opacity:.7;font-size:9px;font-weight:700;background:var(--memos-bg-lightgray)}.memos-settings .memo-save-location-setting .memo-save-location-desc .memo-save-location-desc-item>.memo-save-location-desc-item-pro.user-pro-badge.activated{color:var(--memos-text-lightgray);background:var(--memos-bg-blue);opacity:1}.memos-settings .memo-save-location-setting .setting-item-control{display:none}.theme-light .memos-settings .memo-save-location-setting .memo-save-location-desc .memo-save-location-desc-item,.theme-light .memos-settings .memo-save-location-setting .memo-save-location-desc .memo-save-location-desc-item .memo-save-location-desc-item-setting .clickable-icon{color:var(--memos-text-gray)}.thino-activation{display:flex;justify-content:center;align-items:center}.thino-activation .thino-verify-component{padding:var(--size-4-4);border-radius:var(--radius-m);background:var(--thino-background-secondary);display:flex;flex-direction:column;align-items:flex-end;border:1px solid var(--background-modifier-border);width:360px;gap:var(--size-4-4)}.thino-activation .thino-verify-component .thino-verify-component-title{font-size:16px;width:100%;display:flex;justify-content:center;align-items:center}.thino-activation .thino-verify-component .thino-verify-content{width:100%;display:flex;flex-direction:column;align-items:center;gap:var(--size-4-4)}.thino-activation .thino-verify-component .thino-verify-content .thino-verified-text{font-weight:bolder;color:var(--memos-text-accent)}.thino-activation .thino-verify-component .thino-verify-content p{margin-block-end:0}.thino-activation .thino-verify-component .thino-verify-content.verified p{margin-block-start:0;margin-block-end:0}.thino-activation .thino-verify-component .thino-verify-textarea{border:1px solid var(--memos-bg-black);width:100%;height:120px;resize:none}.thino-activation .thino-verify-component .thino-button-group{display:flex;flex-direction:row;align-items:center;gap:var(--size-2-3)}.thino-activation .thino-verify-component .thino-button-container{display:flex;flex-direction:column;align-items:center}.thino-activation .thino-verify-component .thino-description-link{display:flex;flex-direction:row;align-items:flex-start;width:100%}.thino-activation .thino-verify-component .thino-description-link p{padding:0;font-size:var(--size-4-3);margin-block-end:0}.thino-activation .thino-verify-component button{background:var(--memos-bg-whitegray)}.setting-item-info:has(.setting-item-name.thino-activation-title){width:100%}.thino-activation-setting:has(.verified)+.setting-item{display:flex}.thino-activation-setting+.setting-item{display:none}@media screen and (max-width: 768px){.is-phone .setting-item:not(.mod-toggle):not(.setting-item-heading) .setting-item-control{margin-top:0}.memos-settings .memo-save-location-setting .memo-save-location-desc{display:flex;flex-direction:column;align-items:center;justify-content:center;height:480px;width:100%}.memos-settings .memo-save-location-setting .memo-save-location-desc .setting-item-info{width:100%}.memos-setting-tab-group .memos-navigation-item:not(.memos-navigation-item-selected)>span{display:none}}.theme-dark .memo-save-location-desc-item>.user-pro-badge.activated{color:var(--memos-text-black);background:var(--memos-bg-light-blue);opacity:1}.memo-save-location-modal .modal-title{display:flex;align-items:center;justify-content:center}.memo-save-location-modal .modal-desc{display:flex;justify-content:center;align-items:center;text-align:center;margin-bottom:var(--size-4-6);font-size:var(--font-ui-small)}.memo-save-location-modal .setting-item-control{gap:0}.memo-save-location-modal .button-group{display:flex;align-items:center;justify-content:space-around;gap:var(--size-2-2);margin-top:var(--size-4-4)}.cm-mini-toolbar{width:auto;height:auto;padding:3px;display:flex;-webkit-user-select:none;user-select:none;border-radius:6px;flex-wrap:wrap;align-items:center;justify-content:flex-start;z-index:var(--layer-menu);border:1px solid var(--thino-modifier-border);background-color:var(--thino-background-primary)}.cm-mini-toolbar button{margin:2px;border:none;display:flex;cursor:pointer;padding:5px;box-shadow:none;position:relative;border-radius:3px;font-size:var(--editor-font-size);background-color:var(--thino-background-primary-alt)}.cm-mini-toolbar .mini-toolbar-icon-with-text{padding:0;margin-left:6px;margin-bottom:-6px;margin-right:-2px}.cm-mini-toolbar .mini-toolbar-highlight-icon,.cm-mini-toolbar .mini-toolbar-icon-with-icon{padding:0;margin-bottom:-6px}.is-phone .thino-changelog-modal .modal{max-height:90vh}.theme-light{--memos-masonry-width: 1400px;--memos-masonry-content-width: 1000px;--memos-list-width: 848px;--memos-list-content-width: 600px;--memos-calendar-width: 1200px;--memos-calendar-content-width: 1000px;--memos-table-width: 1200px;--memos-table-content-width: 1000px;--memos-chat-width: 1200px;--memos-chat-content-width: 1000px;--memos-sidebar-width: 260px;--memos-text-accent: var(--text-accent);--memos-text-accent-hover: var(--text-accent-hover);--memos-text-muted: var(--text-muted);--memos-text-faint: var(--text-faint);--memos-text-hover: var(--text-normal);--memos-accent: var(--memos-stat-day-L4-bg);--memos-accent-hover: var(--memos-stat-day-L3-bg);--memos-radius-s: 2px;--memos-radius-m: var(--radius-s);--memos-radius-l: var(--radius-m);--memos-radius-xl: var(--radius-l);--memos-radius-full: var(--radius-xl);--memos-text-black: #37352f;--memos-text-gray: #52504b;--memos-text-lightgray: #d4d4d4;--memos-text-blue: #5783f7;--memos-text-unresolved-blue: #8fa2d6;--memos-text-green: #16a34a;--memos-text-red: #d28653;--memos-text-light-red: #d24c42;--memos-memo-bg: var(--color-base-00);--memos-memo-bg-primary: var(--color-base-30);--memos-memo-modal-bg: var(--background-modifier-cover);--memos-more-action-bg: var(--memos-memo-bg);--memos-location-wrapper-bg: var(--memos-memo-bg);--memos-memo-border: var(--color-base-20);--memos-memo-bg-hover: var(--background-modifier-hover);--memos-dialog-cover: var(--background-modifier-cover);--memos-memo-border-hover: var(--background-modifier-border-hover);--memos-memo-shadow: 0 0 8px 0 rgba(0, 0, 0, .2);--memos-memo-shadow-s: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px -1px rgb(0 0 0 / .1);--memos-share-memo-shadow-webkit: 15px 15px 27px #e1e1e3, -15px -15px 27px #ffffff;--memos-share-memo-shadow: 15px 15px 27px #c1c1c1, -15px -15px 27px #e2e2e2;--memos-time-text-color: var(--memos-bg-whitegray);--memos-editor-save-btn-bg: var(--memos-text-green);--memos-editor-save-btn-color: var(--memos-bg-lightgray);--memos-editor-suggest-color: var(--memos-text-green);--memos-filter-bg: var(--memos-bg-gray);--memos-filter-hover-filter: contrast(1) brightness(1) invert(.5);--memos-filter-save-btn-bg: var(--memos-text-green);--memos-bg-black: #2f3437;--memos-bg-gray: #e4e4e4;--memos-bg-whitegray: #f8f8f8;--memos-bg-searchbar-lightgray: var(--background-secondary);--memos-bg-lightgray: #eaeaea;--memos-bg-blue: #3b82f6;--memos-bg-yellow: yellow;--memos-bg-light-blue: #eef3fe;--memos-bg-paper-yellow: #fbf4de;--memos-bg-accent: var(--color-accent);--memos-icon: var(--color-base-20);--memos-icon-hover: var(--color-base-30);--memos-show-editor-btn: opacity(30%);--memos-stat-day-L0-bg: var(--color-base-10);--rdp-border-color: #9b9b9b;--rdp-text-color: var(--text-muted);--rdp-cell-size: 40px;--rdp-accent-color: #0000ff;--rdp-background-color: #e7edff;--rdp-accent-color-dark: #3003e1;--rdp-background-color-dark: #180270;--rdp-outline: 2px solid var(--rdp-accent-color);--rdp-outline-selected: 2px solid rgba(0, 0, 0, .75);--thino-text-on-accent: var(--text-on-accent);--thino-modern-primary: var(--thino-background-muted);--thino-modern-secondary: var(--thino-background-primary);--thino-setting-border: var(--color-base-40);--thino-modern-text-faint: var(--color-base-50);--thino-modern-text-faint-hover: var(--color-base-70);--thino-button-text-faint: var(--color-base-20);--thino-divider: var(--color-base-10);--thino-divider-hover: var(--color-base-30);--thino-wrapper-border: var(--color-base-20);--thino-wrapper-border-hover: var(--color-base-60);--thino-button-background: var(--color-base-30);--thino-wrapper-background: var(--color-base-60);--thino-wrapper-background-hover: var(--color-base-30);--thino-background-primary: var(--background-primary);--thino-background-secondary: var(--background-secondary);--thino-background-primary-alt: var(--background-primary-alt);--thino-modifier-cover: var(--background-modifier-cover);--thino-modifier-hover: var(--background-modifier-hover);--thino-modifier-border: var(--background-modifier-border);--thino-modifier-border-hover: var(--background-modifier-border-hover);--thino-ui-small: 14px;--thino-ui-tiny: 10px;--thino-share-background-color: rgba(255, 255, 255, .5)}.theme-dark{--memos-masonry-width: 1400px;--memos-masonry-content-width: 1000px;--memos-list-width: 848px;--memos-list-content-width: 600px;--memos-calendar-width: 1200px;--memos-calendar-content-width: 1000px;--memos-table-width: 1200px;--memos-table-content-width: 1000px;--memos-chat-width: 1200px;--memos-chat-content-width: 1000px;--memos-sidebar-width: 260px;--memos-text-accent: var(--text-accent);--memos-text-accent-hover: var(--text-accent-hover);--memos-text-muted: var(--text-muted);--memos-text-hover: var(--text-normal);--memos-text-faint: var(--text-faint);--memos-text-green: #35e06f;--memos-accent: var(--memos-stat-day-L3-bg);--memos-accent-hover: var(--memos-stat-day-L4-bg);--memos-radius-s: 2px;--memos-radius-m: var(--radius-s);--memos-radius-l: var(--radius-m);--memos-radius-xl: var(--radius-l);--memos-radius-full: var(--radius-xl);--memos-text-black: #d2d1cd;--memos-text-gray: #c7c4bb;--memos-text-lightgray: #525252;--memos-text-blue: #bbbec7;--memos-text-unresolved-blue: #8c92a1;--memos-text-red: #940b01;--memos-text-light-red: #d24c42;--memos-memo-bg: var(--background-secondary);--memos-memo-bg-primary: var(--color-base-30);--memos-bg-searchbar-lightgray: var(--background-modifier-hover);--memos-memo-modal-bg: var(--background-modifier-cover);--memos-more-action-bg: var(--memos-memo-bg-primary);--memos-location-wrapper-bg: var(--memos-memo-bg-primary);--memos-memo-bg-hover: var(--background-modifier-hover);--memos-dialog-cover: var(--background-modifier-cover);--memos-memo-border: var(--color-base-20);--memos-memo-border-hover: var(--background-modifier-border-hover);--memos-memo-shadow: 0 0 8px 0 rgba(0, 0, 0, .2);--memos-memo-shadow-s: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px -1px rgb(0 0 0 / .1);--memos-share-memo-shadow-webkit: 15px 15px 27px #666666, -15px -15px 27px #3a3a3a;--memos-share-memo-shadow: 6px 4px 4px 2px #383333, 5px 2px 4px 2px #444444;--memos-time-text-color: #b9b9b9;--memos-editor-save-btn-bg: var(--memos-text-red);--memos-editor-save-btn-color: var(--memos-text-hover);--memos-editor-suggest-color: var(--memos-text-red);--memos-filter-bg: var(--memos-memo-bg);--memos-filter-hover-filter: contrast(1) brightness(1) invert(.9);--memos-filter-save-btn-bg: var(--memos-text-red);--memos-bg-black: #cacdcf;--memos-bg-gray: #353535;--memos-bg-whitegray: #808080;--memos-bg-lightgray: #727171;--memos-bg-Search-lightgray: #302e2e;--memos-bg-blue: #1e3a8a;--memos-bg-yellow: #777777;--memos-bg-light-blue: #6f8f9b;--memos-bg-paper-yellow: #5f5f5f;--memos-icon: var(--color-base-30);--memos-icon-hover: var(--color-base-40);--memos-bg-accent: var(--color-accent);--memos-show-editor-btn: invert(.8) opacity(65%);--memos-stat-day-L0-bg: var(--color-base-90);--rdp-border-color: #9b9b9b;--rdp-text-color: var(--text-muted);--rdp-dark-cell-size: 40px;--rdp-dark-accent-color: #494949;--rdp-dark-background-color: #838383;--rdp-dark-accent-color-dark: #050505;--rdp-dark-background-color-dark: #7e7e7e;--rdp-dark-outline: 2px solid var(--rdp-accent-color);--rdp-dark-outline-selected: 2px solid rgba(255, 255, 255, .75);--thino-text-on-accent: var(--text-on-accent);--thino-layout-color-primary: var(--background-primary-alt);--thino-layout-color-secondary: var(--background-secondary);--thino-setting-border: var(--color-base-40);--thino-modern-text-faint: var(--color-base-50);--thino-modern-text-faint-hover: var(--color-base-70);--thino-button-text-faint: var(--color-base-20);--thino-divider: var(--color-base-10);--thino-divider-hover: var(--color-base-30);--thino-wrapper-border: var(--color-base-20);--thino-wrapper-border-hover: var(--color-base-60);--thino-button-background: var(--color-base-30);--thino-wrapper-background: var(--color-base-60);--thino-wrapper-background-hover: var(--color-base-30);--thino-background-primary: var(--background-primary);--thino-background-secondary: var(--background-secondary);--thino-background-primary-alt: var(--background-primary-alt);--thino-modifier-cover: var(--background-modifier-cover);--thino-modifier-hover: var(--background-modifier-hover);--thino-modifier-border: var(--background-modifier-border);--thino-modifier-border-hover: var(--background-modifier-border-hover);--thino-ui-small: 14px;--thino-ui-tiny: 10px;--thino-share-background-color: rgba(45, 45, 45, 0);--thino-modern-primary: var(--thino-background-secondary);--thino-modern-secondary: var(--thino-background-secondary)}.theme-light .heatmap-default{--memos-stat-day-L1-bg: #9be9a8;--memos-stat-day-L2-bg: #40c463;--memos-stat-day-L3-bg: #30a14e;--memos-stat-day-L4-bg: #216e39}.theme-dark .heatmap-default{--memos-stat-day-L4-bg: #f75205;--memos-stat-day-L3-bg: #e03a07;--memos-stat-day-L2-bg: #bf2104;--memos-stat-day-L1-bg: #940b01}.theme-light .heatmap-gray{--memos-stat-day-L1-bg: #a09da6;--memos-stat-day-L2-bg: #7d7986;--memos-stat-day-L3-bg: #464251;--memos-stat-day-L4-bg: #26222e}.theme-dark .heatmap-gray{--memos-stat-day-L1-bg: #26222e;--memos-stat-day-L2-bg: #464251;--memos-stat-day-L3-bg: #7d7986;--memos-stat-day-L4-bg: #a09da6}.theme-light .heatmap-grass{--memos-stat-day-L1-bg: #a0eaab;--memos-stat-day-L2-bg: #40c463;--memos-stat-day-L3-bg: #30a14e;--memos-stat-day-L4-bg: #216e39}.theme-dark .heatmap-grass{--memos-stat-day-L4-bg: #9be9a8;--memos-stat-day-L3-bg: #40c463;--memos-stat-day-L2-bg: #30a14e;--memos-stat-day-L1-bg: #216e39}.theme-light .heatmap-flame{--memos-stat-day-L1-bg: #f75205;--memos-stat-day-L2-bg: #e03a07;--memos-stat-day-L3-bg: #bf2104;--memos-stat-day-L4-bg: #940b01}.theme-dark .heatmap-flame{--memos-stat-day-L4-bg: #f75205;--memos-stat-day-L3-bg: #e03a07;--memos-stat-day-L2-bg: #bf2104;--memos-stat-day-L1-bg: #940b01}.theme-light .heatmap-olive{--memos-stat-day-L1-bg: #9cc069;--memos-stat-day-L2-bg: #78a851;--memos-stat-day-L3-bg: #648b3f;--memos-stat-day-L4-bg: #4f6e30}.theme-dark .heatmap-olive{--memos-stat-day-L4-bg: #9cc069;--memos-stat-day-L3-bg: #78a851;--memos-stat-day-L2-bg: #648b3f;--memos-stat-day-L1-bg: #4f6e30}.theme-light .heatmap-ice{--memos-stat-day-L1-bg: #82bbf0;--memos-stat-day-L2-bg: #5da2eb;--memos-stat-day-L3-bg: #3889e6;--memos-stat-day-L4-bg: #126fe0}.theme-dark .heatmap-ice{--memos-stat-day-L4-bg: #82bbf0;--memos-stat-day-L3-bg: #5da2eb;--memos-stat-day-L2-bg: #3889e6;--memos-stat-day-L1-bg: #126fe0}.theme-light .heatmap-magenta{--memos-stat-day-L1-bg: #fa9fb5;--memos-stat-day-L2-bg: #ea4e9c;--memos-stat-day-L3-bg: #ae017e;--memos-stat-day-L4-bg: #610070}.theme-dark .heatmap-magenta{--memos-stat-day-L4-bg: #fa9fb5;--memos-stat-day-L3-bg: #ea4e9c;--memos-stat-day-L2-bg: #ae017e;--memos-stat-day-L1-bg: #610070}.mono-font-family{font-family:ubuntu-mono,SFMono-Regular,Menlo,Consolas,PT Mono,Liberation Mono,Courier,monospace}.hide-scroll-bar::-webkit-scrollbar{width:0;height:0;cursor:pointer}.hide-scroll-bar::-webkit-scrollbar-thumb{width:0;height:0;border-radius:8px;background-color:#d5d5d5}.hide-scroll-bar::-webkit-scrollbar-thumb:hover{background-color:#ccc}.hide-scroll-bar::-webkit-scrollbar{display:none} +div[data-type=thino_view] #root{display:flex;flex-direction:row;justify-content:flex-start;align-items:flex-start;width:100%;height:100%}div[data-type=thino_view]{font-family:var(--font-interface),-apple-system,BlinkMacSystemFont,"PingFang SC","Noto Sans","Noto Sans CJK SC","Microsoft YaHei UI","Microsoft YaHei","WenQuanYi Micro Hei",sans-serif,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";-webkit-font-smoothing:subpixel-antialiased}body.hide-pro .pro{display:none!important}body.hide-pro .user-pro-badge{visibility:hidden!important}div[data-type=thino_view] .view-content:not(.images-wrapper) img{max-width:100%;cursor:pointer;border-radius:var(--radius-s)}div[data-type=thino_view] .view-content:has(>.modern){padding:var(--size-4-4)}div[data-type=thino_view].mobile-view .view-content:has(>.modern){padding:var(--size-2-2)}div[data-type=thino_view]{margin:0;padding:0;box-sizing:border-box;color:var(--memos-text-hover);-webkit-tap-highlight-color:transparent}div[data-type=thino_view] .callout{border:unset}div[data-type=thino_view] code{font-family:ubuntu-mono,SFMono-Regular,Menlo,Consolas,PT Mono,Liberation Mono,Courier,monospace;padding:2px 4px;border-radius:4px}div[data-type=thino_view] pre,div[data-type=thino_view] pre *{font-family:ubuntu-mono,SFMono-Regular,Menlo,Consolas,PT Mono,Liberation Mono,Courier,monospace}div[data-type=thino_view] textarea{resize:none}div[data-type=thino_view] label,div[data-type=thino_view] input:not([type=checkbox]),div[data-type=thino_view] button:not(.rdp,.mod-cta),div[data-type=thino_view] textarea,div[data-type=thino_view] img{background-color:transparent;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;border:none;outline:none}div[data-type=thino_view] input:not([type=checkbox]):-webkit-autofill,div[data-type=thino_view] input:not([type=checkbox]):-webkit-autofill:hover,div[data-type=thino_view] input:not([type=checkbox]):-webkit-autofill:focus,div[data-type=thino_view] input:not([type=checkbox]):-webkit-autofill:active{box-shadow:0 0 0 30px var(--memos-memo-bg) inset!important}div[data-type=thino_view] a:not(:has(svg)){cursor:pointer;text-underline-offset:2px}div[data-type=thino_view] a:not(:has(svg)):hover{background-color:var(--memos-bg-lightgray)}div[data-type=thino_view] a.tag{border:unset}div[data-type=thino_view] a.is-unresolved{cursor:pointer;color:var(--memos-text-unresolved-blue);text-underline-offset:2px}div[data-type=thino_view] a.is-unresolved:hover{background-color:var(--memos-bg-gray)}div[data-type=thino_view] .btn:not(.mod-cta){border:unset;background-color:unset;font-size:unset;-webkit-user-select:none;user-select:none;cursor:pointer;text-align:center;display:flex;align-items:center;justify-content:center}div[data-type=thino_view] hr.menu-hr{border-top:1px solid;margin:0}.thino-hidden{display:none!important}.dialog-wrapper .btn-group,.dialog-wrapper .btns-container{fill:var(--memos-memo-bg-primary);display:flex;align-items:center;justify-content:center;gap:var(--size-2-2)}.dialog-wrapper button.btn{box-shadow:none}.dialog-wrapper .btn{border:unset;background-color:unset;font-size:unset;-webkit-user-select:none;user-select:none;cursor:pointer;text-align:center;display:flex;align-items:center;justify-content:center}.dialog-wrapper hr.menu-hr{margin:0}.dialog-wrapper svg:not(.svg-icon){fill:var(--memos-text-muted)}.thino-url{text-decoration:underline;color:var(--memos-text-blue)}.thino-inline-widget{display:inline-block;vertical-align:middle}.suggestion-container:has(.thino-image-suggest-item){width:200px;min-width:200px}.suggestion-container:has(.thino-image-suggest-item) .thino-image-suggest-item{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:var(--size-2-2)}.suggestion-container:has(.thino-image-suggest-item) .thino-image-suggest-item .suggestion-name{font-size:var(--thino-ui-small);color:var(--memos-text-black)}.suggestion-container:has(.thino-image-suggest-item) .thino-image-suggest-item .suggestion-path{font-size:var(--font-ui-smaller);color:var(--memos-text-faint)}.is-mobile div[data-type=thino_view].tiny-view .view-header-nav-buttons,.is-mobile div[data-type=thino_view].tiny-view .view-actions{display:none}.is-mobile div[data-type=thino_view].tiny-view .view-header-title-container .memos-review-entry-wrapper{display:none!important}.is-mobile div[data-type=thino_view].tiny-view .section-header-container>.memos-header-search-section .thino-inline-filter-container,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-container{position:fixed}.is-mobile div[data-type=thino_view].mobile-view .search-bar-container>.quickly-action-wrapper{position:fixed}.is-mobile div[data-type=thino_view].tiny-view .view-content .memos-header-container{display:none}.is-mobile div[data-type=thino_view].mobile-view .view-header-title-container .memos-header-container{padding:0;margin:0}.is-mobile div[data-type=thino_view].mobile-view:has(section[data-path="/archive"]#page-wrapper,section[data-path="/recycle"]#page-wrapper,section[data-path="/review"]#page-wrapper) .view-header-title-container .memos-header-container{visibility:hidden}.is-mobile div[data-type=thino_view].mobile-view .search-bar-container>.search-bar-inputer{background-color:var(--memos-bg-gray)}.is-mobile div[data-type=thino_view].tiny-view .section-header-container>.title-text,div[data-type=thino_view] .memos-header-container>.title-text{margin-right:0}.is-mobile div[data-type=thino_view].tiny-view .section-header-container>.memos-header-search-section .thino-inline-filter-wrapper,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-wrapper{border-color:var(--memos-bg-gray)}.is-mobile div[data-type=thino_view].tiny-view .section-header-container>.memos-header-search-section .memos-view-switcher-wrapper,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .memos-view-switcher-wrapper{border-color:var(--memos-bg-gray)}.thino-changelog-modal img{width:100%;max-width:100%}.thino-changelog-modal .thino-changelog-title{display:flex;justify-content:center;align-items:center}.thino-changelog-modal .thino-changelog-title .thino-changelog-version{margin-left:var(--size-4-4);padding:var(--size-2-2);border-radius:var(--memos-radius-m);background-color:var(--thino-background-secondary);font-size:var(--thino-ui-medium);color:var(--memos-text-muted)}.thino-input-dialog .modal{height:270px}.thino-input-dialog .modal .modal-content{display:flex;flex-direction:column}.thino-input-dialog .modal .modal-content input{width:100%}body.thino-focus div[data-type=thino_view] .memos-sidebar-wrapper,body.thino-focus div[data-type=thino_view] .memolist-wrapper,body.thino-focus div[data-type=thino_view] .section-header-container{float:left;background-repeat:no-repeat;background-position:center;background-size:cover;-webkit-filter:blur(6px);-moz-filter:blur(6px);-o-filter:blur(6px);-ms-filter:blur(6px);filter:blur(6px)}body.thino-focus div[data-type=thino_view] .memo-editor-wrapper{border:1px solid var(--memos-bg-accent);box-shadow:var(--shadow-l)}body.thino-focus div[data-type=thino_view] .memo-editor-wrapper .common-editor-wrapper .common-editor-inputer{min-height:120px;max-height:400px}body.thino-hide-side-bar div[data-type=thino_view]:not(.mobile-view) aside.memos-sidebar-wrapper{display:none}body.thino-hide-side-bar div[data-type=thino_view]:not(.mobile-view) #page-wrapper:is(.memos-waterfall-view,.memos-table-view,.memos-calendar-view){width:90%}body.thino-hide-side-bar div[data-type=thino_view]:not(.mobile-view) #page-wrapper:is(.memos-waterfall-view,.memos-table-view,.memos-calendar-view) .content-wrapper{width:100%;max-width:100%}body.thino-hide-side-bar div[data-type=thino_view]:not(.mobile-view) #page-wrapper{justify-content:center}body.thino-hide-side-bar div[data-type=thino_view]:not(.mobile-view) #page-wrapper .content-wrapper{padding-left:0;width:500px}body.thino-hide-side-bar div[data-type=thino_view]:not(.mobile-view) .memos-list-view.modern{padding-right:unset!important}body.thino-hide-tags div[data-type=thino_view] .tags-container,body.thino-hide-query-list div[data-type=thino_view] .queries-container{display:none!important}body.thino-share-page div[data-type=thino_view] #page-wrapper:not(.modern) .memolist-wrapper .memolist-container{background-color:var(--thino-background-primary)!important}body.thino-share-page div[data-type=thino_view] .daily-thinos-view-wrapper .daily-thinos-view-container{background-color:var(--thino-background-primary)!important}div[data-type=thino_view] button:not(.rdp,.mod-cta).scroll-to-bottom-button{background-color:var(--thino-background-secondary)}div[data-type=thino_view] button:not(.rdp,.mod-cta).scroll-to-bottom-button.to-bottom{right:48%;border-radius:var(--radius-m);bottom:5px;cursor:pointer;width:60px;height:30px;outline:0px;position:absolute;box-shadow:var(--shadow-s)}div[data-type=thino_view] button:not(.rdp,.mod-cta).scroll-to-bottom-button.to-bottom:before{content:"Bottom"}div[data-type=thino_view] button:not(.rdp,.mod-cta).scroll-to-bottom-button.to-top{right:48%;border-radius:var(--radius-m);bottom:5px;cursor:pointer;width:60px;height:30px;outline:0px;position:absolute;box-shadow:var(--shadow-s)}div[data-type=thino_view] button:not(.rdp,.mod-cta).scroll-to-bottom-button.to-top:before{content:"Top"}div[data-type=thino_view] .memolist-scrollview::-webkit-scrollbar{width:0;height:0;cursor:pointer}div[data-type=thino_view] .memolist-scrollview::-webkit-scrollbar-thumb{width:0;height:0;border-radius:8px;background-color:#d5d5d5}div[data-type=thino_view] .memolist-scrollview::-webkit-scrollbar-thumb:hover{background-color:#ccc}div[data-type=thino_view] .memolist-scrollview::-webkit-scrollbar{display:none}body.thino-show-status div[data-type=thino_view]:not(:has(.daily-thinos-view-wrapper)):has(.memos-sidebar-wrapper .heatmap-date-picker-wrapper) .user-banner-container .status-text-container{display:flex}body.thino-show-status div[data-type=thino_view]:has(.heatmap-date-picker-wrapper) .user-banner-container{height:140px}.dialog-wrapper{display:flex;flex-direction:column;justify-content:flex-start;align-items:center;position:fixed;top:0;left:0;width:100%;height:100%;background-color:transparent;z-index:50;transition:all .2s ease;overflow-x:hidden;overflow-y:scroll;padding:64px 0}.dialog-wrapper::-webkit-scrollbar{width:0;height:0;cursor:pointer}.dialog-wrapper::-webkit-scrollbar-thumb{width:0;height:0;border-radius:8px;background-color:#d5d5d5}.dialog-wrapper::-webkit-scrollbar-thumb:hover{background-color:#ccc}.dialog-wrapper::-webkit-scrollbar{display:none}.dialog-wrapper .callout{border:unset}.dialog-wrapper.showup{background-color:var(--memos-dialog-cover)}.dialog-wrapper.showoff{display:none}.dialog-wrapper>.dialog-container{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;background-color:var(--memos-memo-bg);padding:16px;border-radius:8px}.dialog-wrapper>.dialog-container>.dialog-header-container{display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%;margin-bottom:16px}.dialog-wrapper>.dialog-container>.dialog-header-container>.title-text>.icon-text{margin-right:6px;font-size:var(--font-ui-medium)}.dialog-wrapper>.dialog-container>.dialog-header-container .btn{width:24px;height:24px;padding:0;margin-right:0;border-radius:4px;background-color:transparent;cursor:pointer}.dialog-wrapper>.dialog-container>.dialog-header-container .btn>.icon-img{width:20px;height:20px}.dialog-wrapper>.dialog-container>.dialog-header-container .btn:hover{background-color:var(--memos-memo-bg-primary)}.dialog-wrapper>.dialog-container>.dialog-header-container .btn.copying svg{animation:rotate-infinite 2s linear infinite}.dialog-wrapper>.dialog-container>.dialog-content-container{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;width:100%;-webkit-user-select:text;user-select:text}.dialog-wrapper>.dialog-container>.dialog-footer-container{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;width:100%;margin-top:16px}@keyframes rotate-infinite{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media only screen and (max-width: 875px){.dialog-wrapper{width:100%;padding:0 16px}.dialog-wrapper>.dialog-container{max-width:100%}.dialog-wrapper>.dialog-container>.dialog-content-container{width:100%!important}}.about-site-dialog>.dialog-container{width:420px}.about-site-dialog>.dialog-container>.dialog-content-container{line-height:1.8}.about-site-dialog>.dialog-container>.dialog-content-container>p{margin:2px 0}.about-site-dialog>.dialog-container>.dialog-content-container>hr{margin:4px 0;width:100%;height:1px;background-color:#d3d3d3;border:none}.about-site-dialog>.dialog-container>.dialog-content-container .normal-text{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;font-size:var(--font-ui-small);color:gray;white-space:pre-wrap;font-family:ubuntu-mono,SFMono-Regular,Menlo,Consolas,PT Mono,Liberation Mono,Courier,monospace}.about-site-dialog>.dialog-container>.dialog-content-container .pre-text{font-family:ubuntu-mono,SFMono-Regular,Menlo,Consolas,PT Mono,Liberation Mono,Courier,monospace}@media only screen and (max-width: 875px){.dialog-wrapper.about-site-dialog{padding:64px 16px 24px}}div[data-type=thino_view] .menu-btns-popup{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;position:absolute;margin-top:4px;margin-left:90px;padding:4px;width:180px;border-radius:8px;z-index:20;box-shadow:var(--memos-memo-shadow);background-color:var(--memos-memo-bg)}div[data-type=thino_view] .menu-btns-popup:hover{display:flex}div[data-type=thino_view] .menu-btns-popup>.btn{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;width:100%;padding:8px 4px;font-size:var(--thino-ui-small);line-height:1.6;border-radius:4px;text-align:left;box-shadow:none;background-color:var(--memos-memo-bg);--icon-size: 16px}div[data-type=thino_view] .menu-btns-popup>.btn>.icon{display:flex;justify-content:center;align-items:center;width:28px;text-align:center;margin-right:4px;font-size:var(--thino-ui-small)}div[data-type=thino_view] .menu-btns-popup>.btn:hover{background-color:var(--memos-bg-whitegray)}div[data-type=thino_view].mobile-view .menu-btns-popup{margin-left:64px;margin-top:-10px}.menu.more-action-btns-wrapper .menu-item:has(.menu-item-title){gap:var(--size-4-3)}.menu.more-action-btns-wrapper .menu-item:has(.menu-item-title).is-disabled{padding:0;padding-right:var(--size-4-1)}.menu.more-action-btns-wrapper .menu-item:has(.menu-item-title).is-disabled .menu-item-title{text-align:end;color:var(--memos-text-faint);font-size:var(--font-ui-small)}.menu.more-action-btns-wrapper .menu-item.more-action-menu-item.more-action-btn-group.more-action-menu-item{gap:var(--size-2-1);padding:var(--size-2-1) var(--size-4-1)}.menu.more-action-btns-wrapper .menu-item.more-action-menu-item.more-action-btn-group.more-action-menu-item.selected{background-color:unset}div[data-type=thino_view] .user-banner-container{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;width:100%;height:140px;padding:var(--size-2-2) var(--size-4-2);padding-bottom:var(--size-4-2);gap:var(--size-4-3)}div[data-type=thino_view] .user-banner-container>.userinfo-header-container{display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%;padding:0 0 0 12px;flex-wrap:nowrap;margin-bottom:4px}div[data-type=thino_view] .user-banner-container>.userinfo-header-container>.userinfo-container{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:var(--size-4-2)}div[data-type=thino_view] .user-banner-container>.userinfo-header-container>.userinfo-container .thino-user-icon{display:flex;align-items:center;justify-content:center;width:32px;height:32px;--icon-size: 18px;border-radius:var(--size-4-2);min-width:32px;min-height:32px;background-position:center;background-repeat:no-repeat;background-size:cover}div[data-type=thino_view] .user-banner-container>.userinfo-header-container>.userinfo-container .thino-user-icon:has(svg){border:1px solid var(--memos-memo-border);background-color:var(--memos-memo-bg);box-shadow:var(--shadow-s)}div[data-type=thino_view] .user-banner-container>.userinfo-header-container>.userinfo-container .thino-user-info{max-width:120px;display:flex;flex-direction:column;height:100%;gap:var(--size-2-1)}div[data-type=thino_view] .user-banner-container>.userinfo-header-container>.userinfo-container .thino-user-info>.username-container{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:var(--size-2-2)}div[data-type=thino_view] .user-banner-container>.userinfo-header-container>.userinfo-container .thino-user-info>.username-container>.username-text{max-width:110px;font-weight:700;font-size:var(--font-ui-small);line-height:20px;color:var(--memos-text-black);overflow:hidden;text-overflow:ellipsis;cursor:pointer;flex-shrink:0;white-space:nowrap}div[data-type=thino_view] .user-banner-container>.userinfo-header-container>.userinfo-container .thino-user-info>.username-container>.user-pro-badge{padding:var(--size-2-1) var(--size-2-2);cursor:pointer;border-radius:var(--memos-radius-m);color:var(--memos-text-white);opacity:.7;font-size:var(--thino-ui-tiny);font-weight:700;background:var(--memos-bg-gray)}div[data-type=thino_view] .user-banner-container>.userinfo-header-container>.userinfo-container .thino-user-info>.username-container>.user-pro-badge.activated{color:var(--memos-text-lightgray);background:var(--memos-bg-blue);opacity:1}div[data-type=thino_view] .user-banner-container>.userinfo-header-container>.userinfo-container .thino-user-info>.thino-user-quote{font-size:var(--thino-ui-tiny);color:var(--memos-text-faint);font-weight:700;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:120px}div[data-type=thino_view] .user-banner-container>.userinfo-header-container>.btn-group{display:flex;gap:var(--size-4-2)}div[data-type=thino_view] .user-banner-container>.userinfo-header-container>.btn-group .refresh-icon{padding:var(--size-2-2);border-radius:var(--size-2-2);flex-shrink:0;display:flex;align-items:center;justify-content:center;color:var(--memos-text-faint);--icon-size: 18px}div[data-type=thino_view] .user-banner-container>.userinfo-header-container>.btn-group .refresh-icon:hover{color:var(--memos-accent-hover);background-color:var(--memos-icon-hover)}div[data-type=thino_view] .user-banner-container>.userinfo-header-container>.btn-group .action-btn{flex-shrink:0;-webkit-user-select:none;user-select:none;border:none;background-color:unset;box-shadow:unset}div[data-type=thino_view] .user-banner-container>.userinfo-header-container>.btn-group .action-btn.menu-popup-btn{display:flex;flex-direction:column;justify-content:center;align-items:center;--icon-size: 18px;cursor:pointer}div[data-type=thino_view] .user-banner-container>.userinfo-header-container>.btn-group .action-btn.menu-popup-btn>.icon-img{width:20px;height:auto}div[data-type=thino_view] .user-banner-container>.status-text-container{display:flex;flex-direction:row;justify-content:space-between;align-items:flex-start;padding:0 24px;width:100%;-webkit-user-select:none;user-select:none}div[data-type=thino_view] .user-banner-container>.status-text-container>.status-text{display:flex;flex-direction:column;justify-content:flex-start;align-items:center}div[data-type=thino_view] .user-banner-container>.status-text-container>.status-text>.amount-text{font-weight:700;font-size:28px;line-height:1.8;color:var(--memos-text-black);opacity:.8}div[data-type=thino_view] .user-banner-container>.status-text-container>.status-text>.type-text{color:gray;font-size:var(--font-ui-smaller);font-family:ubuntu-mono,SFMono-Regular,Menlo,Consolas,PT Mono,Liberation Mono,Courier,monospace}div[data-type=thino_view] .user-banner-container>.status-text-container>.duration-text{cursor:pointer}div[data-type=thino_view] .user-banner-container>.status-text-container.text-overflow .amount-text{font-size:22px;padding-bottom:6px}@media only screen and (max-width: 875px){div[data-type=thino_view] .user-banner-container{height:170px;z-index:1;padding-top:16px!important}div[data-type=thino_view] .user-banner-container>.userinfo-header-container{padding:0 16px}div[data-type=thino_view] .user-banner-container>.userinfo-header-container>.action-btn{width:60px}div[data-type=thino_view] .user-banner-container>.userinfo-header-container>.username-container>.username-text{font-size:16px}div[data-type=thino_view] .user-banner-container>.status-text-container{padding:0 16px}div[data-type=thino_view] .user-banner-container>.status-text-container>.status-text>.amount-text{font-size:32px}div[data-type=thino_view] .user-banner-container>.status-text-container>.status-text>.type-text{font-size:var(--thino-ui-small)}}.block-language-thino .thino-embed-container .status-text-container{display:flex;flex-direction:row;justify-content:space-between;align-items:flex-start;gap:var(--size-4-8);padding:0 24px;width:100%;-webkit-user-select:none;user-select:none}.block-language-thino .thino-embed-container .status-text-container>.status-text{display:flex;flex-direction:column;justify-content:flex-start;align-items:center}.block-language-thino .thino-embed-container .status-text-container>.status-text>.amount-text{font-weight:700;font-size:28px;line-height:1.8;color:var(--memos-text-black);opacity:.8}.block-language-thino .thino-embed-container .status-text-container>.status-text>.type-text{color:gray;font-size:var(--font-ui-smaller);font-family:ubuntu-mono,SFMono-Regular,Menlo,Consolas,PT Mono,Liberation Mono,Courier,monospace}.block-language-thino .thino-embed-container .status-text-container>.duration-text{cursor:pointer}.block-language-thino .thino-embed-container .status-text-container.text-overflow .amount-text{font-size:22px;padding-bottom:6px}div[data-type=thino_view].mobile-view .user-banner-container{height:170px;z-index:1;padding-top:16px!important;padding-left:var(--size-2-2)}div[data-type=thino_view].mobile-view .user-banner-container>.userinfo-header-container{padding:0 16px}div[data-type=thino_view].mobile-view .user-banner-container>.userinfo-header-container>.action-btn{width:60px}div[data-type=thino_view].mobile-view .user-banner-container>.userinfo-header-container>.username-container>.username-text{font-size:18px}div[data-type=thino_view].mobile-view .user-banner-container>.status-text-container{padding:0 16px}div[data-type=thino_view].mobile-view .user-banner-container>.status-text-container>.status-text>.amount-text{font-size:32px}div[data-type=thino_view].mobile-view .user-banner-container>.status-text-container>.status-text>.type-text{font-size:var(--thino-ui-small)}div[data-type=thino_view].mobile-view .user-banner-container>.status-text-container.text-overflow .amount-text{font-size:22px;padding-bottom:6px}.theme-dark div[data-type=thino_view] .user-banner-container .user-pro-badge.activated{color:var(--memos-text-muted)!important;background:var(--memos-bg-light-blue)!important;opacity:1}div[data-type=thino_view]:not(:has(.daily-thinos-view-wrapper)):has(.memos-sidebar-wrapper .heatmap-date-picker-wrapper) .user-banner-container .status-text-container{display:none}div[data-type=thino_view]:not(:has(.daily-thinos-view-wrapper)):has(.heatmap-date-picker-wrapper) .user-banner-container:hover{height:140px}div[data-type=thino_view]:not(:has(.daily-thinos-view-wrapper)):has(.heatmap-date-picker-wrapper) .user-banner-container:hover .status-text-container{display:flex}div[data-type=thino_view]:has(.heatmap-date-picker-wrapper) .user-banner-container{height:auto}div[data-type=thino_view] .search-bar-container,.thino-canvas-filter-group .search-bar-container{width:160px;transition:width .3s ease-in-out;display:flex}div[data-type=thino_view] .search-bar-container>.search-bar-inputer,.thino-canvas-filter-group .search-bar-container>.search-bar-inputer{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;background-color:var(--memos-bg-searchbar-lightgray);width:100%;height:40px;padding:4px 16px;border-radius:8px}div[data-type=thino_view] .search-bar-container>.search-bar-inputer>.icon-img,.thino-canvas-filter-group .search-bar-container>.search-bar-inputer>.icon-img{margin-right:var(--size-2-2);width:var(--size-4-4);height:auto;opacity:.6}div[data-type=thino_view] .search-bar-container>.search-bar-inputer>.text-input,.thino-canvas-filter-group .search-bar-container>.search-bar-inputer>.text-input{width:100%;font-size:var(--font-ui-medium);color:var(--memos-text-hover)}div[data-type=thino_view] .search-bar-container>.search-bar-inputer>.text-input:focus-visible,.thino-canvas-filter-group .search-bar-container>.search-bar-inputer>.text-input:focus-visible{box-shadow:unset}div[data-type=thino_view] .search-bar-container>.search-bar-inputer:hover+.quickly-action-wrapper,.thino-canvas-filter-group .search-bar-container>.search-bar-inputer:hover+.quickly-action-wrapper{display:flex}div[data-type=thino_view] .search-bar-container>.quickly-action-wrapper,.thino-canvas-filter-group .search-bar-container>.quickly-action-wrapper{display:none;position:absolute;top:50px;right:-7px;z-index:12;padding:8px;width:320px}div[data-type=thino_view] .search-bar-container>.quickly-action-wrapper>.quickly-action-container,.thino-canvas-filter-group .search-bar-container>.quickly-action-wrapper>.quickly-action-container{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;width:100%;background-color:var(--memos-memo-bg);padding:8px 16px;border-radius:8px;box-shadow:var(--memos-memo-shadow)}div[data-type=thino_view] .search-bar-container>.quickly-action-wrapper>.quickly-action-container>.title-text,.thino-canvas-filter-group .search-bar-container>.quickly-action-wrapper>.quickly-action-container>.title-text{color:var(--memos-text-hover);font-size:var(--font-ui-smaller)}div[data-type=thino_view] .search-bar-container>.quickly-action-wrapper>.quickly-action-container>.types-container,.thino-canvas-filter-group .search-bar-container>.quickly-action-wrapper>.quickly-action-container>.types-container{display:flex;flex-direction:row;justify-content:flex-start;align-items:flex-start;width:100%;font-size:var(--font-ui-small);margin-top:8px}div[data-type=thino_view] .search-bar-container>.quickly-action-wrapper>.quickly-action-container>.types-container>.section-text,.thino-canvas-filter-group .search-bar-container>.quickly-action-wrapper>.quickly-action-container>.types-container>.section-text{color:gray;margin-right:4px;flex-shrink:0;line-height:26px}div[data-type=thino_view] .search-bar-container>.quickly-action-wrapper>.quickly-action-container>.types-container>.values-container,.thino-canvas-filter-group .search-bar-container>.quickly-action-wrapper>.quickly-action-container>.types-container>.values-container{display:flex;flex-direction:row;justify-content:flex-start;align-items:flex-start;flex-wrap:wrap;-webkit-user-select:none;user-select:none}div[data-type=thino_view] .search-bar-container>.quickly-action-wrapper>.quickly-action-container>.types-container>.values-container>div,.thino-canvas-filter-group .search-bar-container>.quickly-action-wrapper>.quickly-action-container>.types-container>.values-container>div{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;line-height:26px}div[data-type=thino_view] .search-bar-container>.quickly-action-wrapper>.quickly-action-container>.types-container>.values-container>div .type-item,.thino-canvas-filter-group .search-bar-container>.quickly-action-wrapper>.quickly-action-container>.types-container>.values-container>div .type-item{cursor:pointer;padding:0 4px;border-radius:6px}div[data-type=thino_view] .search-bar-container>.quickly-action-wrapper>.quickly-action-container>.types-container>.values-container>div .type-item:hover,.thino-canvas-filter-group .search-bar-container>.quickly-action-wrapper>.quickly-action-container>.types-container>.values-container>div .type-item:hover{background-color:var(--memos-bg-whitegray)}div[data-type=thino_view] .search-bar-container>.quickly-action-wrapper>.quickly-action-container>.types-container>.values-container>div .type-item.selected,.thino-canvas-filter-group .search-bar-container>.quickly-action-wrapper>.quickly-action-container>.types-container>.values-container>div .type-item.selected{background-color:var(--memos-text-green);color:var(--memos-text-hover)}div[data-type=thino_view] .search-bar-container>.quickly-action-wrapper>.quickly-action-container>.types-container>.values-container>div .split-text,.thino-canvas-filter-group .search-bar-container>.quickly-action-wrapper>.quickly-action-container>.types-container>.values-container>div .split-text{color:var(--memos-text-lightgray);margin:0 2px}div[data-type=thino_view] .search-bar-container>.quickly-action-wrapper:hover,.thino-canvas-filter-group .search-bar-container>.quickly-action-wrapper:hover{display:flex}div[data-type=thino_view] .search-bar-container:has(.search-bar-inputer:focus-within),.thino-canvas-filter-group .search-bar-container:has(.search-bar-inputer:focus-within){width:100%;max-width:300px;transition:width .3s ease-in-out}div[data-type=thino_view].mobile-view .search-bar-container,.is-phone .thino-canvas-filter-group .search-bar-container{width:120px;transition:width .3s ease-in-out}div[data-type=thino_view].mobile-view .search-bar-container>.search-bar-inputer,.is-phone .thino-canvas-filter-group .search-bar-container>.search-bar-inputer{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;background-color:var(--memos-bg-searchbar-lightgray);height:40px;padding:var(--size-2-2) var(--size-4-3);border-radius:8px;width:120%}div[data-type=thino_view].mobile-view .search-bar-container>.search-bar-inputer>.text-input,.is-phone .thino-canvas-filter-group .search-bar-container>.search-bar-inputer>.text-input{width:100%;font-size:var(--font-ui-medium);color:var(--memos-text-hover)}div[data-type=thino_view].mobile-view .search-bar-container>.search-bar-inputer:hover+.quickly-action-wrapper,.is-phone .thino-canvas-filter-group .search-bar-container>.search-bar-inputer:hover+.quickly-action-wrapper{display:flex}div[data-type=thino_view].mobile-view .search-bar-container>.quickly-action-wrapper,.is-phone .thino-canvas-filter-group .search-bar-container>.quickly-action-wrapper{display:none;position:absolute;top:42px;z-index:12;padding:8px 20px 8px 8px;width:320px}div[data-type=thino_view].mobile-view .search-bar-container>.quickly-action-wrapper>.quickly-action-container,.is-phone .thino-canvas-filter-group .search-bar-container>.quickly-action-wrapper>.quickly-action-container{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;width:100%;background-color:var(--memos-memo-bg);padding:8px 16px;border-radius:8px;box-shadow:var(--memos-memo-shadow)}div[data-type=thino_view].mobile-view .search-bar-container>.quickly-action-wrapper>.quickly-action-container>.title-text,.is-phone .thino-canvas-filter-group .search-bar-container>.quickly-action-wrapper>.quickly-action-container>.title-text{color:gray;font-size:var(--font-ui-smaller)}div[data-type=thino_view].mobile-view .search-bar-container>.quickly-action-wrapper>.quickly-action-container>.types-container,.is-phone .thino-canvas-filter-group .search-bar-container>.quickly-action-wrapper>.quickly-action-container>.types-container{display:flex;flex-direction:row;justify-content:flex-start;align-items:flex-start;width:100%;font-size:var(--font-ui-small);margin-top:8px}div[data-type=thino_view].mobile-view .search-bar-container>.quickly-action-wrapper>.quickly-action-container>.types-container>.section-text,.is-phone .thino-canvas-filter-group .search-bar-container>.quickly-action-wrapper>.quickly-action-container>.types-container>.section-text{color:gray;margin-right:4px;flex-shrink:0;line-height:26px}div[data-type=thino_view].mobile-view .search-bar-container>.quickly-action-wrapper>.quickly-action-container>.types-container>.values-container,.is-phone .thino-canvas-filter-group .search-bar-container>.quickly-action-wrapper>.quickly-action-container>.types-container>.values-container{display:flex;flex-direction:row;justify-content:flex-start;align-items:flex-start;flex-wrap:wrap;-webkit-user-select:none;user-select:none}div[data-type=thino_view].mobile-view .search-bar-container>.quickly-action-wrapper>.quickly-action-container>.types-container>.values-container>div,.is-phone .thino-canvas-filter-group .search-bar-container>.quickly-action-wrapper>.quickly-action-container>.types-container>.values-container>div{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;line-height:26px}div[data-type=thino_view].mobile-view .search-bar-container>.quickly-action-wrapper>.quickly-action-container>.types-container>.values-container>div .type-item,.is-phone .thino-canvas-filter-group .search-bar-container>.quickly-action-wrapper>.quickly-action-container>.types-container>.values-container>div .type-item{cursor:pointer;padding:0 4px;border-radius:6px}div[data-type=thino_view].mobile-view .search-bar-container>.quickly-action-wrapper>.quickly-action-container>.types-container>.values-container>div .type-item:hover,.is-phone .thino-canvas-filter-group .search-bar-container>.quickly-action-wrapper>.quickly-action-container>.types-container>.values-container>div .type-item:hover{background-color:var(--memos-bg-lightgray)}div[data-type=thino_view].mobile-view .search-bar-container>.quickly-action-wrapper>.quickly-action-container>.types-container>.values-container>div .type-item.selected,.is-phone .thino-canvas-filter-group .search-bar-container>.quickly-action-wrapper>.quickly-action-container>.types-container>.values-container>div .type-item.selected{background-color:var(--memos-text-green);color:var(--memos-text-hover)}div[data-type=thino_view].mobile-view .search-bar-container>.quickly-action-wrapper>.quickly-action-container>.types-container>.values-container>div .split-text,.is-phone .thino-canvas-filter-group .search-bar-container>.quickly-action-wrapper>.quickly-action-container>.types-container>.values-container>div .split-text{color:#d3d3d3;margin:0 2px}div[data-type=thino_view].mobile-view .search-bar-container>.quickly-action-wrapper:hover,.is-phone .thino-canvas-filter-group .search-bar-container>.quickly-action-wrapper:hover{display:flex}div[data-type=thino_view].mobile-view .search-bar-container:has(.search-bar-inputer:focus-within),.is-phone .thino-canvas-filter-group .search-bar-container:has(.search-bar-inputer:focus-within){width:100%;max-width:300px;transition:width .3s ease-in-out}.theme-dark .search-bar-container .search-bar-inputer{border:var(--memos-text-muted)}div[data-type=thino_view] .common-editor-inputer .thino-editor-placeholder:before{content:attr(data-ph);color:var(--memos-text-faint);position:absolute}div[data-type=thino_view] .common-editor-inputer .cm-table-widget .thino-editor-placeholder:before{content:unset}div[data-type=thino_view] .common-editor-wrapper,.thino-editor-modal .common-editor-wrapper{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;position:relative;width:100%;height:auto;background-color:var(--memos-memo-bg)}div[data-type=thino_view] .common-editor-wrapper .common-editor-inputer,.thino-editor-modal .common-editor-wrapper .common-editor-inputer{display:inline-block;width:100%;min-height:48px;max-height:300px;font-size:var(--font-ui-medium);line-height:24px;resize:none;overflow-x:hidden;background-color:transparent;z-index:1;margin-bottom:4px;white-space:pre-wrap}div[data-type=thino_view] .common-editor-wrapper .common-editor-inputer::-webkit-scrollbar,.thino-editor-modal .common-editor-wrapper .common-editor-inputer::-webkit-scrollbar{width:0;height:0;cursor:pointer}div[data-type=thino_view] .common-editor-wrapper .common-editor-inputer::-webkit-scrollbar-thumb,.thino-editor-modal .common-editor-wrapper .common-editor-inputer::-webkit-scrollbar-thumb{width:0;height:0;border-radius:8px;background-color:#d5d5d5}div[data-type=thino_view] .common-editor-wrapper .common-editor-inputer::-webkit-scrollbar-thumb:hover,.thino-editor-modal .common-editor-wrapper .common-editor-inputer::-webkit-scrollbar-thumb:hover{background-color:#ccc}div[data-type=thino_view] .common-editor-wrapper .common-editor-inputer::-webkit-scrollbar,.thino-editor-modal .common-editor-wrapper .common-editor-inputer::-webkit-scrollbar{display:none}div[data-type=thino_view] .common-editor-wrapper .common-editor-inputer .markdown-source-view.mod-cm6 .cm-editor,.thino-editor-modal .common-editor-wrapper .common-editor-inputer .markdown-source-view.mod-cm6 .cm-editor{height:100%;min-height:fit-content}div[data-type=thino_view] .common-editor-wrapper .common-editor-inputer .markdown-source-view.mod-cm6 .cm-editor .cm-gutters,.thino-editor-modal .common-editor-wrapper .common-editor-inputer .markdown-source-view.mod-cm6 .cm-editor .cm-gutters{display:none}div[data-type=thino_view] .common-editor-wrapper .common-editor-inputer .markdown-source-view.mod-cm6 .cm-editor .cm-content,.thino-editor-modal .common-editor-wrapper .common-editor-inputer .markdown-source-view.mod-cm6 .cm-editor .cm-content{padding-bottom:0!important}div[data-type=thino_view] .common-editor-wrapper .common-editor-inputer::placeholder,.thino-editor-modal .common-editor-wrapper .common-editor-inputer::placeholder{padding-left:2px}div[data-type=thino_view] .common-editor-wrapper .common-editor-inputer:focus::placeholder,.thino-editor-modal .common-editor-wrapper .common-editor-inputer:focus::placeholder{color:var(--memos-text-lightgray)}div[data-type=thino_view] .common-editor-wrapper>.common-tools-wrapper,.thino-editor-modal .common-editor-wrapper>.common-tools-wrapper{display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%}div[data-type=thino_view] .common-editor-wrapper>.common-tools-wrapper>.common-tools-container,.thino-editor-modal .common-editor-wrapper>.common-tools-wrapper>.common-tools-container{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;cursor:pointer;gap:var(--size-2-1)}div[data-type=thino_view] .common-editor-wrapper>.common-tools-wrapper>.common-tools-container .show-editor,.thino-editor-modal .common-editor-wrapper>.common-tools-wrapper>.common-tools-container .show-editor{margin-right:var(--size-2-1);padding:1px;display:flex;align-items:center;justify-content:center}div[data-type=thino_view] .common-editor-wrapper>.common-tools-wrapper>.common-tools-container .action-btn.split-line,.thino-editor-modal .common-editor-wrapper>.common-tools-wrapper>.common-tools-container .action-btn.split-line{padding:unset;cursor:default;height:100%;transform:rotate(90deg);margin-left:calc(var(--size-4-1) * -1);margin-right:calc(var(--size-2-1) * -1)}div[data-type=thino_view] .common-editor-wrapper>.common-tools-wrapper>.common-tools-container .action-btn.split-line:before,.thino-editor-modal .common-editor-wrapper>.common-tools-wrapper>.common-tools-container .action-btn.split-line:before{content:"";display:block;width:var(--icon-size);height:1px;background-color:var(--memos-text-faint)}div[data-type=thino_view] .common-editor-wrapper>.common-tools-wrapper>.common-tools-container .location-wrapper,.thino-editor-modal .common-editor-wrapper>.common-tools-wrapper>.common-tools-container .location-wrapper{height:26px;align-items:center;box-shadow:var(--input-shadow);color:var(--memos-text-muted);background-color:var(--memos-location-wrapper-bg);border-radius:var(--radius-s);cursor:pointer}div[data-type=thino_view] .common-editor-wrapper>.common-tools-wrapper>.common-tools-container .location-wrapper.action-btn,.thino-editor-modal .common-editor-wrapper>.common-tools-wrapper>.common-tools-container .location-wrapper.action-btn{box-shadow:0 0 0 1px var(--memos-memo-bg-hover);padding:var(--size-2-2)}div[data-type=thino_view] .common-editor-wrapper>.common-tools-wrapper>.common-tools-container .location-wrapper .file-location-btn,.thino-editor-modal .common-editor-wrapper>.common-tools-wrapper>.common-tools-container .location-wrapper .file-location-btn{display:flex}div[data-type=thino_view] .common-editor-wrapper>.common-tools-wrapper>.common-tools-container .location-wrapper:hover,.thino-editor-modal .common-editor-wrapper>.common-tools-wrapper>.common-tools-container .location-wrapper:hover{color:var(--memos-text-accent);box-shadow:var(--input-shadow-hover)}div[data-type=thino_view] .common-editor-wrapper>.common-tools-wrapper>.common-tools-container>.action-btn,.thino-editor-modal .common-editor-wrapper>.common-tools-wrapper>.common-tools-container>.action-btn{display:flex;align-items:center;justify-content:center;margin-right:var(--size-2-1);padding:1px;border:none;-webkit-user-select:none;user-select:none;cursor:pointer;--icon-size: 18px}div[data-type=thino_view] .common-editor-wrapper>.common-tools-wrapper>.common-tools-container>.action-btn:hover,.thino-editor-modal .common-editor-wrapper>.common-tools-wrapper>.common-tools-container>.action-btn:hover{opacity:.8}div[data-type=thino_view] .common-editor-wrapper>.common-tools-wrapper>.common-tools-container>.action-btn.show-editor,.thino-editor-modal .common-editor-wrapper>.common-tools-wrapper>.common-tools-container>.action-btn.show-editor{margin-right:var(--size-2-1);padding:1px;display:flex;align-items:center;justify-content:center}div[data-type=thino_view] .common-editor-wrapper>.common-tools-wrapper>.common-tools-container>svg:hover,.thino-editor-modal .common-editor-wrapper>.common-tools-wrapper>.common-tools-container>svg:hover{color:var(--memos-accent-hover)}div[data-type=thino_view] .common-editor-wrapper>.common-tools-wrapper>.btns-container,.thino-editor-modal .common-editor-wrapper>.common-tools-wrapper>.btns-container{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;flex-grow:0;flex-shrink:0}div[data-type=thino_view] .common-editor-wrapper>.common-tools-wrapper>.btns-container>.cancel-btn,.thino-editor-modal .common-editor-wrapper>.common-tools-wrapper>.btns-container>.cancel-btn{color:var(--memos-text-muted);background-color:transparent;margin-right:8px;line-height:18px;cursor:pointer}div[data-type=thino_view] .common-editor-wrapper>.common-tools-wrapper>.btns-container>.confirm-btn,.thino-editor-modal .common-editor-wrapper>.common-tools-wrapper>.btns-container>.confirm-btn{cursor:pointer;padding:0 12px;height:var(--size-4-8);background-color:var(--memos-bg-accent);color:var(--memos-editor-save-btn-color)}div[data-type=thino_view] .common-editor-wrapper>.common-tools-wrapper>.btns-container>.confirm-btn:disabled,.thino-editor-modal .common-editor-wrapper>.common-tools-wrapper>.btns-container>.confirm-btn:disabled{cursor:not-allowed;opacity:.6}div[data-type=thino_view] .common-editor-wrapper>.common-tools-wrapper>.btns-container>.confirm-btn>.icon-text,.thino-editor-modal .common-editor-wrapper>.common-tools-wrapper>.btns-container>.confirm-btn>.icon-text{margin-left:4px}div[data-type=thino_view] .scroll::-webkit-scrollbar,.thino-editor-modal .scroll::-webkit-scrollbar{display:none}div[data-type=thino_view] .memo-editor-wrapper .confirm-btn,.thino-editor-modal .memo-editor-wrapper .confirm-btn{margin-right:unset}.thino-editor-modal .common-editor-wrapper .common-editor-inputer{min-height:320px;max-height:600px;border:1px solid var(--memos-memo-border)}div[data-type=thino_view] .memo-editor-wrapper .cm-scroller::-webkit-scrollbar{display:none}.rta{position:relative;font-size:var(--font-ui-medium);width:100%;height:100%;z-index:10}.rta>::-webkit-scrollbar{width:2px;height:16px;background-color:var(--memos-bg-whitegray)}.rta>::-webkit-scrollbar-track{background-color:var(--memos-bg-whitegray)}.rta ::-webkit-scrollbar-thumb{background-color:var(--memos-bg-black)}.rta ::-webkit-scrollbar-track-piece{background-color:var(--memos-memo-bg)}.rta__loader.rta__loader--empty-suggestion-data{display:none;border-radius:3px;box-shadow:0 0 5px var(--memos-memo-bg-primary);padding:5px}.rta--loading .rta__loader.rta__loader--suggestion-data{display:none;position:absolute;top:0;left:0;width:100%;height:100%;background:var(--memos-memo-bg)}.rta--loading .rta__loader.rta__loader--suggestion-data>*{display:none;position:relative;top:50%}.rta__textarea{width:100%;height:100%;font-size:1em}.rta__autocomplete{position:absolute;display:block;margin-top:1em}.rta__autocomplete--top{margin-top:0;margin-bottom:1em}.rta__list{margin:0;padding:0;background:var(--memos-memo-bg);border:1px solid var(--memos-memo-bg-primary);border-radius:0;box-shadow:0 0 10px var(--memos-memo-bg-primary);list-style:none}.rta__entity{background:var(--memos-memo-bg);width:100%;text-align:left;outline:none}.rta__entity:hover{cursor:pointer}.rta__item{text-overflow:"ellipsis";line-height:30px}.rta__item:first-child{border-radius:8px 8px 0 0}.rta__item:not(:last-child){border-bottom:1px solid var(--memos-bg-whitegray)}.rta__item:last-child{border-radius:0}.rta__entity>*{padding-left:4px;padding-right:4px}.rta__entity--selected{color:var(--memos-memo-bg);text-decoration:none;background:var(--memos-editor-suggest-color)}div[data-type=thino_view].mobile-view .rta__textarea{max-height:140px;overflow-y:scroll}.thino-suggestion{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:var(--size-2-1);padding:var(--size-4-2)}.thino-suggestion .thino-suggestion-time{color:var(--memos-text-lightgray);font-size:var(--font-ui-smaller)}.thino-suggestion .thino-suggestion-container{height:var(--size-4-12)}.thino-suggestion .thino-suggestion-container .thino-suggestion-content{margin-top:var(--size-2-2);font-size:var(--font-ui-small);max-height:var(--size-4-12);max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:normal;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical}div[data-type=thino_view] .memo-editor-wrapper,.thino-editor-modal .memo-editor-wrapper{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;position:relative;width:100%;height:auto;background-color:var(--memos-memo-bg);padding:16px;border-radius:8px;border:1px solid var(--memos-bg-lightgray)}div[data-type=thino_view] .memo-editor-wrapper.edit-ing,.thino-editor-modal .memo-editor-wrapper.edit-ing{border-color:var(--memos-text-blue)}div[data-type=thino_view] .memo-editor-wrapper.fullscreen-editor,.thino-editor-modal .memo-editor-wrapper.fullscreen-editor,div[data-type=thino_view] .memo-editor-wrapper.fullscreen-editor .memo-editor,.thino-editor-modal .memo-editor-wrapper.fullscreen-editor .memo-editor{height:100%}div[data-type=thino_view] .memo-editor-wrapper.fullscreen-editor .memo-editor .common-editor-inputer,.thino-editor-modal .memo-editor-wrapper.fullscreen-editor .memo-editor .common-editor-inputer{height:100%;min-height:unset;max-height:unset}div[data-type=thino_view] .memo-editor-wrapper>.tip-text,.thino-editor-modal .memo-editor-wrapper>.tip-text{font-size:var(--font-ui-smaller);line-height:20px;margin-top:0;color:var(--memos-text-lightgray)}div[data-type=thino_view] .memo-editor-wrapper>.memo-editor,.thino-editor-modal .memo-editor-wrapper>.memo-editor{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;position:relative;width:100%;height:auto;background-color:var(--memos-memo-bg)}div[data-type=thino_view] .memo-editor-wrapper>.date-picker,.thino-editor-modal .memo-editor-wrapper>.date-picker{position:absolute;z-index:20}.is-mobile:has(.mobile-navbar) div[data-type=thino_view].mobile-view .memo-editor-wrapper.fullscreen-editor{height:calc(100% - max() - var(--icon-l));padding-bottom:var(--size-4-2)}.is-mobile:not(.is-tablet):has(.mobile-toolbar) .thino-editor-modal{padding-bottom:var(--size-4-9)}div[data-type=thino_view].mobile-view .memo-editor-wrapper{width:calc(100% - 24px);margin:auto}div[data-type=thino_view].mobile-view .memos-chat-view:has(.chat-view.fluent-style) .memo-editor-wrapper{margin:unset}.rotate-hidden{animation:rotateAndHide .4s forwards}@keyframes rotateAndHide{0%{transform:rotate(0)}to{transform:rotate(180deg)}}.thino-editor-modal .memo-editor-wrapper{padding:0;border:unset}.theme-dark div[data-type=thino_view] .memo-editor-wrapper,.theme-dark .thino-editor-modal .memo-editor-wrapper{border:1px solid var(--memos-bg-gray)}.thino-editor-modal{padding-top:var(--size-4-6)}.thino-editor-modal .action-btn.show-editor{display:none!important}.thino-editor-modal .modal-close-button{z-index:99}.thino-editor-modal .markdown-source-view{min-height:200px}.block-language-thino .thino-editor-modal{padding-top:0}.thino-embed-container.thino-editor-modal{padding-top:16px}.thino-embed-container.thino-editor-modal .memo-editor-wrapper{padding:16px;border:1px solid var(--memos-bg-lightgray)}.thino-embed-container.thino-editor-modal .memo-editor-wrapper .common-editor-inputer{min-height:120px}.thino-editor-codeblock{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:var(--size-4-4)}.thino-editor-codeblock.view-error{display:flex;justify-content:center;align-items:center;padding:var(--size-4-4);color:var(--text-error)}.block-language-thino{display:grid;grid-template-columns:repeat(2,1fr);grid-column-gap:8px;grid-row-gap:8px;width:100%}.block-language-thino .thino-embed-container{width:100%;display:flex;align-items:center;justify-content:center;padding:var(--size-4-4);border:1px solid var(--memos-bg-lightgray);background:var(--memos-memo-bg);flex-direction:column;gap:var(--size-4-2)}.block-language-thino .thino-embed-container>div:first-child{justify-content:center}.block-language-thino>:only-child{grid-column:1 / -1}div[data-embed-type=daily].thino-embed-container,div[data-embed-type=list].thino-embed-container{display:flex;justify-content:flex-start;max-height:400px;overflow-y:scroll;overflow-x:hidden}div[data-embed-type=daily].thino-embed-container::-webkit-scrollbar,div[data-embed-type=list].thino-embed-container::-webkit-scrollbar{width:0;height:0;cursor:pointer}div[data-embed-type=daily].thino-embed-container::-webkit-scrollbar-thumb,div[data-embed-type=list].thino-embed-container::-webkit-scrollbar-thumb{width:0;height:0;border-radius:8px;background-color:#d5d5d5}div[data-embed-type=daily].thino-embed-container::-webkit-scrollbar-thumb:hover,div[data-embed-type=list].thino-embed-container::-webkit-scrollbar-thumb:hover{background-color:#ccc}div[data-embed-type=daily].thino-embed-container::-webkit-scrollbar,div[data-embed-type=list].thino-embed-container::-webkit-scrollbar{display:none}div[data-embed-type=daily].thino-embed-container .thino-list-container,div[data-embed-type=list].thino-embed-container .thino-list-container{display:flex;justify-content:flex-start;flex-direction:column;width:100%;gap:var(--size-4-2)}div[data-embed-type=daily].thino-embed-container .thino-list-container::-webkit-scrollbar,div[data-embed-type=list].thino-embed-container .thino-list-container::-webkit-scrollbar{width:0;height:0;cursor:pointer}div[data-embed-type=daily].thino-embed-container .thino-list-container::-webkit-scrollbar-thumb,div[data-embed-type=list].thino-embed-container .thino-list-container::-webkit-scrollbar-thumb{width:0;height:0;border-radius:8px;background-color:#d5d5d5}div[data-embed-type=daily].thino-embed-container .thino-list-container::-webkit-scrollbar-thumb:hover,div[data-embed-type=list].thino-embed-container .thino-list-container::-webkit-scrollbar-thumb:hover{background-color:#ccc}div[data-embed-type=daily].thino-embed-container .thino-list-container::-webkit-scrollbar,div[data-embed-type=list].thino-embed-container .thino-list-container::-webkit-scrollbar{display:none}div[data-type=thino_view] .memo-wrapper .memo-editor-wrapper{padding:0;border:unset}div[data-type=thino_view] .memo-wrapper .memo-editor-wrapper .action-btn.show-editor{display:none!important}div[data-type=thino_view] .memo-editor-wrapper .embedded-backlinks{display:none}div[data-type=thino_view] .memo-editor-wrapper influx-element{display:none}.rdp{margin:1em;border-style:solid;border-width:1px;border-color:var(--rdp-border-color);color:var(--rdp-text-color);overflow:auto}.rdp .rdp-vhidden{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:absolute!important;top:0;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(1px,1px,1px,1px)!important}.rdp .rdp-button_reset{appearance:none;position:relative;margin:0;padding:0;cursor:default;color:inherit;outline:none;background:none;font:inherit;-moz-appearance:none;-webkit-appearance:none}.rdp .rdp-button{border:2px solid transparent}.rdp .rdp-button[disabled]{opacity:.25}.rdp .rdp-button:not([disabled]){cursor:pointer}.rdp .rdp-button:focus:not([disabled]),.rdp .rdp-button:active:not([disabled]){color:inherit;border:var(--rdp-outline);background-color:var(--rdp-background-color)}.rdp .rdp-button:hover:not([disabled]){background-color:var(--rdp-background-color)}.rdp .rdp-months{display:flex;background:var(--memos-memo-bg);padding:4px}.rdp .rdp-month{margin:0 1em}.rdp .rdp-month:first-child{margin-left:0}.rdp .rdp-month:last-child{margin-right:0}.rdp .rdp-table{margin:0;max-width:calc(var(--rdp-cell-size) * 7);border-collapse:collapse}.rdp .rdp-with_weeknumber .rdp-table{max-width:calc(var(--rdp-cell-size) * 8);border-collapse:collapse}.rdp .rdp-caption{display:flex;align-items:center;justify-content:space-between;padding:0;text-align:left}.rdp .rdp-multiple_months .rdp-caption{position:relative;display:block;text-align:center}.rdp .rdp-caption_dropdowns{position:relative;display:inline-flex}.rdp .rdp-caption_label{position:relative;z-index:1;display:inline-flex;align-items:center;margin:0;padding:0 .25em;white-space:nowrap;color:currentColor;border:2px solid transparent;font-family:inherit;font-size:140%;font-weight:700}.rdp .rdp-nav{white-space:nowrap}.rdp .rdp-multiple_months .rdp-caption_start .rdp-nav{position:absolute;top:50%;left:0;transform:translateY(-50%)}.rdp .rdp-multiple_months .rdp-caption_end .rdp-nav{position:absolute;top:50%;right:0;transform:translateY(-50%)}.rdp .rdp-nav_button{display:inline-flex;align-items:center;justify-content:center;width:var(--rdp-cell-size);height:var(--rdp-cell-size);padding:.25em;border-radius:100%}.rdp .rdp-dropdown_year,.rdp .rdp-dropdown_month{position:relative;display:inline-flex;align-items:center}.rdp .rdp-dropdown{-webkit-appearance:none;-moz-appearance:none;appearance:none;position:absolute;z-index:2;top:0;bottom:0;left:0;width:100%;margin:0;padding:0;cursor:inherit;opacity:0;border:none;background-color:transparent;font-family:inherit;font-size:inherit;line-height:inherit}.rdp .rdp-dropdown[disabled]{opacity:unset;color:unset}.rdp .rdp-dropdown:focus:not([disabled])+.rdp-caption_label,.rdp .rdp-dropdown:active:not([disabled])+.rdp-caption_label{border:var(--rdp-outline);border-radius:6px;background-color:var(--rdp-background-color)}.rdp .rdp-dropdown_icon{margin:0 0 0 5px}.rdp .rdp-head{border:0}.rdp .rdp-head_row,.rdp .rdp-row{height:100%}.rdp .rdp-head_cell{vertical-align:middle;text-transform:uppercase;font-size:.75em;font-weight:700;text-align:center;height:var(--rdp-cell-size);padding:0}.rdp .rdp-tbody{border:0}.rdp .rdp-foot{margin:.5em}.rdp .rdp-cell{width:var(--rdp-cell-size);height:var(--rdp-cell-size);padding:0;text-align:center}.rdp .rdp-weeknumber{font-size:.75em}.rdp .rdp-weeknumber,.rdp .rdp-day{display:flex;overflow:hidden;align-items:center;justify-content:center;box-sizing:border-box;width:var(--rdp-cell-size);max-width:var(--rdp-cell-size);height:var(--rdp-cell-size);margin:0;border:2px solid transparent;border-radius:100%}.rdp .rdp-day_today:not(.rdp-day_outside){font-weight:700}.rdp .rdp-day_selected:not([disabled]),.rdp .rdp-day_selected:focus:not([disabled]),.rdp .rdp-day_selected:active:not([disabled]),.rdp .rdp-day_selected:hover:not([disabled]){color:var(--memos-memo-bg);background-color:var(--rdp-accent-color)}.rdp .rdp-day_selected:focus:not([disabled]){border:var(--rdp-outline-selected)}.rdp .rdp:not([dir=rtl]) .rdp-day_range_start:not(.rdp-day_range_end){border-top-right-radius:0;border-bottom-right-radius:0}.rdp .rdp:not([dir=rtl]) .rdp-day_range_end:not(.rdp-day_range_start){border-top-left-radius:0;border-bottom-left-radius:0}.rdp .rdp[dir=rtl] .rdp-day_range_start:not(.rdp-day_range_end){border-top-left-radius:0;border-bottom-left-radius:0}.rdp .rdp[dir=rtl] .rdp-day_range_end:not(.rdp-day_range_start){border-top-right-radius:0;border-bottom-right-radius:0}.rdp .rdp-day_range_end.rdp-day_range_start{border-radius:100%}.rdp .rdp-day_range_middle{border-radius:0}.date-picker-wrapper{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;padding:16px;color:var(--memos-text-hover);background-color:var(--memos-memo-bg-primary);border-radius:var(--memos-radius-m)}.date-picker-wrapper>.date-picker-header{display:flex;flex-direction:row;justify-content:center;align-items:center;width:100%}.date-picker-wrapper>.date-picker-header>.btn-text{width:24px;height:24px;border-radius:4px;cursor:pointer;-webkit-user-select:none;user-select:none;display:flex;align-items:center;justify-content:center}.date-picker-wrapper>.date-picker-header>.btn-text>.icon-img{width:100%;height:auto}.date-picker-wrapper>.date-picker-header>.btn-text:hover{background-color:var(--memos-bg-lightgray)}.date-picker-wrapper>.date-picker-header>.normal-text{display:flex;gap:var(--size-2-2);margin:0 4px;line-height:24px;font-size:var(--thino-ui-small);position:relative}.date-picker-wrapper>.date-picker-header>.normal-text>.btn{gap:var(--size-2-2)}.date-picker-wrapper>.date-picker-header>.normal-text>.btn:hover{text-decoration:underline}.date-picker-wrapper>.date-picker-header>.normal-text>.year-picker-wrapper{position:absolute;top:var(--size-4-6);left:0;width:140px;height:auto;padding:var(--size-4-2);background:var(--memos-more-action-bg);border-radius:var(--memos-radius-m);box-shadow:var(--memos-memo-shadow)}.date-picker-wrapper>.date-picker-header>.normal-text>.year-picker-wrapper .year-picker-header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--memos-text-faint);padding-bottom:var(--size-2-2);padding-left:var(--size-4-3)}.date-picker-wrapper>.date-picker-header>.normal-text>.year-picker-wrapper .year-picker-header .year-picker-header-btns{display:flex;flex-direction:row;align-items:center;justify-content:center}.date-picker-wrapper>.date-picker-header>.normal-text>.year-picker-wrapper .year-picker-header .year-picker-header-btns>.btn{padding:var(--size-2-1);border-radius:var(--memos-radius-s);cursor:pointer}.date-picker-wrapper>.date-picker-header>.normal-text>.year-picker-wrapper .year-picker-header .year-picker-header-btns>.btn:hover{background-color:var(--memos-bg-lightgray)}.date-picker-wrapper>.date-picker-header>.normal-text>.year-picker-wrapper .year-picker-body{margin-top:var(--size-2-2)}.date-picker-wrapper>.date-picker-header>.normal-text>.year-picker-wrapper .year-picker-body .year-picker-body-list{display:grid;grid-template-columns:repeat(2,1fr);justify-items:center;align-items:center;gap:var(--size-2-2)}.date-picker-wrapper>.date-picker-header>.normal-text>.year-picker-wrapper .year-picker-body .year-picker-body-list .year-picker-body-item{padding:var(--size-2-2);cursor:pointer;width:100%;height:100%;text-align:center;border-radius:var(--memos-radius-m)}.date-picker-wrapper>.date-picker-header>.normal-text>.year-picker-wrapper .year-picker-body .year-picker-body-list .year-picker-body-item.selected{border:2px dashed var(--memos-bg-accent)}.date-picker-wrapper>.date-picker-header>.normal-text>.year-picker-wrapper .year-picker-body .year-picker-body-list .year-picker-body-item:hover{background-color:var(--memos-bg-lightgray)}.date-picker-wrapper>.date-picker-header>.normal-text>.month-picker-wrapper{position:absolute;top:var(--size-4-6);left:0;width:120px;height:auto;padding:var(--size-4-2);background:var(--memos-more-action-bg);border-radius:var(--memos-radius-m);box-shadow:var(--memos-memo-shadow)}.date-picker-wrapper>.date-picker-header>.normal-text>.month-picker-wrapper .month-picker-header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--memos-text-faint);padding-bottom:var(--size-2-2);padding-left:var(--size-4-3)}.date-picker-wrapper>.date-picker-header>.normal-text>.month-picker-wrapper .month-picker-header .month-picker-header-btns{display:flex;flex-direction:row;align-items:center;justify-content:center}.date-picker-wrapper>.date-picker-header>.normal-text>.month-picker-wrapper .month-picker-header .month-picker-header-btns>.btn{padding:var(--size-2-1);border-radius:var(--memos-radius-s);cursor:pointer}.date-picker-wrapper>.date-picker-header>.normal-text>.month-picker-wrapper .month-picker-header .month-picker-header-btns>.btn:hover{background-color:var(--memos-bg-lightgray)}.date-picker-wrapper>.date-picker-header>.normal-text>.month-picker-wrapper .month-picker-body{margin-top:var(--size-2-2)}.date-picker-wrapper>.date-picker-header>.normal-text>.month-picker-wrapper .month-picker-body .month-picker-body-list{display:grid;grid-template-columns:repeat(2,1fr);justify-items:center;align-items:center;gap:var(--size-2-2)}.date-picker-wrapper>.date-picker-header>.normal-text>.month-picker-wrapper .month-picker-body .month-picker-body-list .month-picker-body-item{padding:var(--size-2-2);cursor:pointer;width:100%;height:100%;text-align:center;border-radius:var(--memos-radius-m)}.date-picker-wrapper>.date-picker-header>.normal-text>.month-picker-wrapper .month-picker-body .month-picker-body-list .month-picker-body-item.selected{border:2px dashed var(--memos-bg-accent)}.date-picker-wrapper>.date-picker-header>.normal-text>.month-picker-wrapper .month-picker-body .month-picker-body-list .month-picker-body-item:hover{background-color:var(--memos-bg-lightgray)}.date-picker-wrapper>.date-picker-day-container{display:flex;flex-direction:row;justify-content:flex-start;align-items:flex-start;width:280px;flex-wrap:wrap;margin:auto}.date-picker-wrapper>.date-picker-day-container>.date-picker-day-header{display:flex;flex-direction:row;justify-content:space-around;align-items:center;width:100%}.date-picker-wrapper>.date-picker-day-container>.date-picker-day-header>.day-item{display:flex;flex-direction:column;justify-content:center;align-items:center;width:36px;height:36px;-webkit-user-select:none;user-select:none;color:gray;font-size:var(--font-ui-small);margin:2px 0}.date-picker-wrapper>.date-picker-day-container>.date-picker-day-content{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));grid-template-rows:repeat(5,1fr);grid-column-gap:4px;grid-row-gap:4px;justify-items:center;width:100%}.date-picker-wrapper>.date-picker-day-container>.date-picker-day-content>.day-item{display:flex;flex-direction:column;justify-content:center;align-items:center;width:36px;height:36px;border-radius:50%;font-size:var(--thino-ui-small);-webkit-user-select:none;user-select:none;cursor:pointer;margin:2px}.date-picker-wrapper>.date-picker-day-container>.date-picker-day-content>.day-item>.day-item-dots{display:flex;flex-direction:row;justify-content:center;align-items:center}.date-picker-wrapper>.date-picker-day-container>.date-picker-day-content>.day-item>.day-item-dots>.day-item-dot{width:2px;height:2px;border-radius:50%;background-color:var(--memos-text-hover);margin:0 2px}.date-picker-wrapper>.date-picker-day-container>.date-picker-day-content>.day-item:hover{background-color:var(--memos-bg-lightgray)}.date-picker-wrapper>.date-picker-day-container>.date-picker-day-content>.day-item.current{background-color:var(--memos-bg-light-blue);font-size:16px;color:var(--memos-text-blue);font-weight:700}.date-picker-wrapper>.date-picker-day-container>.date-picker-day-content>.day-item.selected{border:1px dashed var(--memos-bg-accent)}.date-picker-wrapper>.date-picker-day-container>.date-picker-day-content>.day-item.null{background-color:unset;cursor:unset}.is-mobile .suggestion-container:has(.date-picker-wrapper){height:fit-content;max-height:fit-content}.suggestion-container:has(.date-picker-wrapper){height:fit-content;max-height:fit-content}.suggestion-container:has(.date-picker-wrapper) .date-picker-wrapper{padding:0}.suggestion-container:has(.date-picker-wrapper) .date-picker-wrapper>.date-picker-day-content{grid-column-gap:1px;grid-row-gap:1px}.suggestion-container:has(.date-picker-wrapper) .date-picker-wrapper>.date-picker-day-content .day-item{width:var(--size-4-4);height:var(--size-4-4)}.modal-content:has(.date-picker-wrapper){align-items:center;flex-direction:row}.modal-content:has(.date-picker-wrapper) .quick-date-btn-group{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;height:100%;width:92px;font-size:var(--font-ui-smaller);gap:var(--size-4-2);padding-top:var(--size-4-2);padding-left:var(--size-2-2);padding-right:var(--size-2-2);color:var(--memos-text-muted)}.modal-content:has(.date-picker-wrapper) .quick-date-btn-group>.quick-date-btn{width:100%;padding:var(--size-2-1);padding-top:var(--size-2-2);padding-bottom:var(--size-2-2);border-radius:var(--memos-radius-m)}.modal-content:has(.date-picker-wrapper) .quick-date-btn-group>.quick-date-btn:hover{background:var(--memos-bg-lightgray)}.modal-content .date-picker-wrapper{background-color:unset}.modal-content .date-picker-wrapper .date-picker-day-container{width:100%;margin:0}div[data-type=thino_view] .filter-query-container{display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%;flex-wrap:wrap;padding:4px 12px;font-size:var(--font-ui-small);line-height:1.8}div[data-type=thino_view] .filter-query-container>.filter-query{display:flex;flex-direction:row;justify-content:flex-start;align-items:flex-start}div[data-type=thino_view] .filter-query-container>.filter-query>.tip-text{padding:2px 0;margin-left:-6px;margin-right:3px;color:var(--memos-text-black)}div[data-type=thino_view] .filter-query-container>.filter-query>.filter-item-container{display:flex;flex-direction:row;justify-content:center;align-items:center;padding:2px 8px 2px 4px;margin-right:6px;cursor:pointer;background-color:var(--memos-filter-bg);border-radius:4px;max-width:200px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}div[data-type=thino_view] .filter-query-container>.filter-query>.filter-item-container>.icon-text{letter-spacing:2px}div[data-type=thino_view] .filter-query-container>.filter-query>.filter-item-container>.path-text{color:var(--memos-text-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}div[data-type=thino_view] .filter-query-container>.filter-query>.filter-item-container>.btn{--icon-size: var(--size-4-4);margin-left:var(--size-2-1)}div[data-type=thino_view] .filter-query-container>.filter-query>.filter-item-container>.day-picker-component-group{display:flex;flex-direction:row;justify-content:center;align-items:center;gap:var(--size-2-1)}div[data-type=thino_view] .filter-query-container>.filter-query>.filter-item-container>.day-picker-component-group .text-btn.calendar-btn{text-decoration:underline;cursor:pointer}div[data-type=thino_view] .filter-query-container>.filter-query>.filter-item-container>.day-picker-component-group .text-btn.calendar-btn:hover{color:var(--memos-text-muted)}div[data-type=thino_view] .filter-query-container>.filter-query>.filter-item-container>.day-picker-component-group .menu-btns-popup{display:flex;flex-direction:row;justify-content:flex-start;align-items:flex-start;position:fixed;margin-top:unset;margin-left:unset;padding:4px;width:auto;border-radius:8px;z-index:20;box-shadow:var(--memos-memo-shadow);background-color:var(--memos-memo-bg)}div[data-type=thino_view] .filter-query-container>.filter-query>.filter-item-container>.day-picker-component-group .menu-btns-popup .quick-date-btn-group{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;height:100%;width:92px;font-size:var(--font-ui-smaller);gap:var(--size-4-2);padding-top:var(--size-4-2);padding-left:var(--size-2-2);padding-right:var(--size-2-2);color:var(--memos-text-muted)}div[data-type=thino_view] .filter-query-container>.filter-query>.filter-item-container>.day-picker-component-group .menu-btns-popup .quick-date-btn-group>.quick-date-btn{width:100%;padding:var(--size-2-1);padding-top:var(--size-2-2);padding-bottom:var(--size-2-2);border-radius:var(--memos-radius-m)}div[data-type=thino_view] .filter-query-container>.filter-query>.filter-item-container>.day-picker-component-group .menu-btns-popup .quick-date-btn-group>.quick-date-btn:hover{background:var(--memos-bg-lightgray)}div[data-type=thino_view] .filter-query-container>.filter-query>.filter-item-container>.day-picker-component-group .menu-btns-popup .calendar-date-picker{background-color:var(--memos-memo-bg);padding:var(--size-2-2)}div[data-type=thino_view] .filter-query-container>.filter-query>.filter-item-container>.day-picker-component-group .menu-btns-popup:has(.quick-date-btn-group) .calendar-date-picker{border-radius:unset;border-left:1px solid var(--memos-bg-lightgray)}div[data-type=thino_view] .filter-query-container>.filter-query>.filter-item-container:not(:has(.day-picker-component-group)):hover{text-decoration:line-through}div[data-type=thino_view] .filter-query-container>.filter-query>.filter-item-container:has(.btn.close-btn:hover){text-decoration:line-through}div[data-type=thino_view] .filter-query-container>.filter-query>.filter-item-container[data-filter-type=tag]{justify-content:flex-start}div[data-type=thino_view] .filter-query-container>.thino-filter-items{display:flex;flex-direction:row;justify-content:center;align-items:center;gap:var(--size-4-2)}div[data-type=thino_view] .filter-query-container>.thino-filter-items>.thinos-count{font-size:var(--font-ui-small)}div[data-type=thino_view] .filter-query-container>.thino-filter-items>.copy-memo{padding-right:6px;cursor:pointer;--icon-size: var(--size-4-4)}div[data-type=thino_view] .filter-query-container>.thino-filter-items>.copy-memo:hover{opacity:.8;filter:contrast(1) brightness(1) invert(.5)}div[data-type=thino_view].mobile-view .filter-query-container{padding-left:20px}.thino-bulk-action-dialog .modal{width:400px}.thino-bulk-action-dialog .modal-content{display:flex;justify-content:space-around;align-items:center;gap:var(--size-4-2)}div[data-type=thino_view] .memolist-container.share-image .memo-content-text{overflow-x:hidden;overflow-y:hidden}div[data-type=thino_view] .memos-moments-view .content-wrapper:has(.share-image) .thino-moment-wrapper{border-bottom:1px solid var(--memos-memo-border)}.thino-bulk-action-dialog.tag-actions .thino-tag-operation{display:flex;flex-direction:column;padding:20px;border-radius:8px;width:100%}.thino-bulk-action-dialog.tag-actions .thino-tag-operation .tag-operation-title{font-size:24px;text-align:center;color:var(--memos-text-muted)}.thino-bulk-action-dialog.tag-actions .thino-tag-operation .tag-operation-content{display:flex;flex-direction:column}.thino-bulk-action-dialog.tag-actions .thino-tag-operation .tag-operation-content .tag-operation-content-title{color:var(--memos-text-muted);margin:10px 0}.thino-bulk-action-dialog.tag-actions .thino-tag-operation .tag-operation-content .tag-operation-content-title .name{font-size:18px}.thino-bulk-action-dialog.tag-actions .thino-tag-operation .tag-operation-content .tag-operation-content-title .desc{font-size:var(--font-ui-smaller)}.thino-bulk-action-dialog.tag-actions .thino-tag-operation .tag-operation-content .tag-operation-content-title.selected-tags{padding-top:var(--size-4-2);border-top:1px solid var(--memos-bg-lightgray)}.thino-bulk-action-dialog.tag-actions .thino-tag-operation .tag-operation-content .tag-operation-content-tags{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:15px;color:var(--memos-text-muted)}.thino-bulk-action-dialog.tag-actions .thino-tag-operation .tag-operation-content .tag-operation-content-tags .tag-operation-content-tag{display:inline-flex;align-items:center;padding:5px 10px;background-color:var(--memos-bg-whitegray);border-radius:4px;cursor:pointer;transition:background-color .3s}.thino-bulk-action-dialog.tag-actions .thino-tag-operation .tag-operation-content .tag-operation-content-tags .tag-operation-content-tag:hover{background-color:var(--memos-bg-accent)}.thino-bulk-action-dialog.tag-actions .thino-tag-operation .tag-operation-content .tag-operation-content-tags .tag-operation-content-tag-removed{background-color:var(--memos-bg-accent);text-decoration:line-through}.thino-bulk-action-dialog.tag-actions .thino-tag-operation .tag-operation-content .tag-operation-content-inputer{margin-bottom:15px}.thino-bulk-action-dialog.tag-actions .thino-tag-operation .tag-operation-content .tag-operation-content-inputer input{width:100%;padding:8px;border:1px solid #ccc;border-radius:4px}.thino-bulk-action-dialog.tag-actions .thino-tag-operation .tag-operation-content .tag-operation-settings{padding-top:var(--size-4-2);border-top:1px solid var(--memos-bg-lightgray)}.thino-bulk-action-dialog.tag-actions .thino-tag-operation .tag-operation-content .tag-operation-content-btn-group{display:flex;justify-content:flex-end;gap:10px}.thino-bulk-action-dialog.tag-actions .thino-tag-operation .tag-operation-content .tag-operation-content-btn-group button{padding:8px 16px;border:none;border-radius:4px;cursor:pointer;transition:background-color .3s}.thino-bulk-action-dialog.tag-actions .thino-tag-operation .tag-operation-content .tag-operation-content-btn-group button.cancel-btn{background-color:var(--memos-bg-light-blue)}.thino-bulk-action-dialog.tag-actions .thino-tag-operation .tag-operation-content .tag-operation-content-btn-group button.cancel-btn:hover{background-color:var(--memos-bg-gray)}.thino-bulk-action-dialog.tag-actions .thino-tag-operation .tag-operation-content .tag-operation-content-btn-group button.save-btn{background-color:var(--memos-editor-save-btn-bg);color:var(--memos-editor-save-btn-color)}.thino-bulk-action-dialog.tag-actions .thino-tag-operation .tag-operation-content .tag-operation-content-btn-group button.save-btn:hover{background-color:var(--memos-editor-save-btn-bg)}.thino-bulk-action-dialog.tag-actions .thino-tag-operation:has(.tag-operation-content:not(:has(.exist-tags))) .tag-operation-title{margin-bottom:0}.thino-bulk-action-dialog.tag-actions .setting-item{border-top:unset}.preview-image-dialog{padding:0}.preview-image-dialog>.dialog-container{display:flex;flex-direction:column;justify-content:center;align-items:center;position:relative;width:100%;height:100%;background-color:var(--memos-memo-modal-bg);padding:0}.preview-image-dialog>.dialog-container>.close-btn{position:fixed;top:36px;right:36px;width:40px;height:40px;padding:4px;cursor:pointer;border-radius:4px;background-color:var(--memos-text-lightgray);z-index:1}.preview-image-dialog>.dialog-container>.close-btn>.icon-img{width:28px;height:28px;fill:var(--memos-text-muted)}.preview-image-dialog>.dialog-container>.close-btn:hover{opacity:.8}.preview-image-dialog>.dialog-container>.img-container{width:100%;height:100%;display:flex;flex-direction:column;overflow:auto}.preview-image-dialog>.dialog-container>.img-container::-webkit-scrollbar{width:0;height:0;cursor:pointer}.preview-image-dialog>.dialog-container>.img-container::-webkit-scrollbar-thumb{width:0;height:0;border-radius:8px;background-color:#d5d5d5}.preview-image-dialog>.dialog-container>.img-container::-webkit-scrollbar-thumb:hover{background-color:#ccc}.preview-image-dialog>.dialog-container>.img-container::-webkit-scrollbar{display:none}.preview-image-dialog>.dialog-container>.img-container>img{padding:16px;width:auto;max-width:300%;margin:auto;-webkit-user-drag:none}.preview-image-dialog>.dialog-container>.img-container>.loading-text{color:var(--memos-text-hover);font-size:24px;margin:auto;border-bottom:2px solid var(--memos-memo-border);padding:8px 4px}.preview-image-dialog>.dialog-container>.action-btns-container{display:flex;flex-direction:row;justify-content:center;align-items:center;position:fixed;bottom:36px;z-index:1}.preview-image-dialog>.dialog-container>.action-btns-container>.btn{display:flex;flex-direction:row;justify-content:center;align-items:center;width:48px;height:48px;font-size:20px;margin-right:16px;border-radius:4px;background-color:var(--memos-text-lightgray);box-shadow:var(--memos-memo-shadow)}.preview-image-dialog>.dialog-container>.action-btns-container>.btn:last-child{margin-right:0}.preview-image-dialog>.dialog-container>.action-btns-container>.btn:hover,.preview-image-dialog>.dialog-container>.action-btns-container>.btn:active{opacity:.8}@media only screen and (max-width: 875px){.preview-image-dialog{padding:0}.preview-image-dialog>.dialog-container{max-width:100%}.preview-image-dialog>.dialog-container>.img-container>img{padding:6px}}.share-memo-image-dialog>.dialog-container{width:max(32%,480px);padding:0;background-color:var(--memos-bg-lightgray)}.share-memo-image-dialog>.dialog-container>.dialog-header-container{padding:8px 16px 8px 24px;margin-bottom:0;background-color:var(--memos-memo-bg);border-top-left-radius:8px;border-top-right-radius:8px;font-family:RobotoDraft,Roboto,sans-serif;-webkit-font-smoothing:antialiased}.share-memo-image-dialog>.dialog-container>.dialog-content-container{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;position:relative;width:100%;min-height:128px}.share-memo-image-dialog>.dialog-container>.dialog-content-container>.setting-item{display:flex;align-items:center;padding:8px 24px;width:100%;background:var(--memos-memo-bg);border-bottom:1px solid var(--background-modifier-border);border-top:unset}.share-memo-image-dialog>.dialog-container>.dialog-content-container>.tip-words-container{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;width:100%;border-bottom:1px solid var(--memos-bg-lightgray);background-color:var(--memos-memo-bg);padding:0 24px 8px}.share-memo-image-dialog>.dialog-container>.dialog-content-container>.tip-words-container>.tip-text{color:var(--memos-text-gray);font-size:var(--font-ui-small);line-height:24px}.share-memo-image-dialog>.dialog-container>.dialog-content-container>.tip-words-container.loading>.tip-text{animation:1s linear 1s infinite alternate breathing}@keyframes breathing{0%{opacity:1}to{opacity:.4}}.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container{display:flex;flex-direction:column;justify-content:flex-start;width:100%;max-width:100%;height:auto;-webkit-user-select:none;user-select:none;position:relative;align-items:center;padding:var(--size-4-6);padding-top:28px;padding-bottom:var(--size-4-8);background:var(--thino-background-primary)}.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-shortcut-img{position:absolute;top:0;left:0;z-index:1;width:100%;height:auto;border-bottom-left-radius:8px;border-bottom-right-radius:8px}.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background{display:flex;justify-content:center;align-items:center;width:100%;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;position:relative;border-radius:16px;overflow:hidden;-webkit-box-shadow:var(--memos-share-memo-shadow-webkit);box-shadow:var(--shadow-s)}.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.property-image{height:6em;width:100%;position:Absolute;top:0}.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.time-text{width:100%;padding:20px 24px 0;font-size:var(--font-ui-small);color:var(--memos-time-text-color);background-color:var(--memos-bg-lightgray)}.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.background-container{height:6em;background:transparent}.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.thino-user-header{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;padding-left:var(--size-4-6);width:100%;font-size:var(--font-ui-small);background:var(--memos-memo-bg);color:var(--memos-text-faint);padding-top:var(--size-4-3)}.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.thino-user-header .thino-user-icon{display:flex;border-radius:100%;width:34px;height:34px;--icon-size: 18px;background-position:center;background-repeat:no-repeat;background-size:cover;align-items:center;justify-content:center}.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.thino-user-header .thino-user-icon:has(svg:only-child){border:1px solid var(--thino-modifier-border)}.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.thino-user-header .thino-user-info{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;height:100%;width:fit-content;margin-left:var(--size-4-3);gap:var(--size-4-1)}.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.thino-user-header .thino-user-info .thino-user-name{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;height:100%;width:100%;font-size:var(--thino-ui-small);color:var(--memos-text-muted)}.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.thino-user-header .thino-user-info .thino-user-quote{display:flex;flex-direction:column;justify-content:flex-start;align-items:center;height:100%;width:100%;font-size:var(--font-ui-smaller)}.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.thino-time-footer{display:flex;align-items:center;justify-content:flex-end;padding-right:var(--size-4-6);width:100%;font-size:var(--font-ui-small);background:var(--memos-memo-bg);color:var(--memos-text-faint)}.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.memo-content-text{padding-right:8%;padding-bottom:12px;padding-left:9%;padding-top:var(--size-4-1);width:100%;word-wrap:break-word;font-size:var(--font-ui-medium);background-color:var(--memos-memo-bg)}.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.memo-content-text>p:has(img){display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;width:100%;height:auto}.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.memo-content-text>p:has(img)::-webkit-scrollbar{width:0;height:0;cursor:pointer}.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.memo-content-text>p:has(img)::-webkit-scrollbar-thumb{width:0;height:0;border-radius:8px;background-color:#d5d5d5}.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.memo-content-text>p:has(img)::-webkit-scrollbar-thumb:hover{background-color:#ccc}.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.memo-content-text>p:has(img)::-webkit-scrollbar{display:none}.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.memo-content-text>p:has(img)>img{width:100%;height:auto;border-radius:4px}.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.images-container{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;width:100%;height:auto;padding:0 20px 8px;background-color:var(--memos-memo-bg)}.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.images-container::-webkit-scrollbar{width:0;height:0;cursor:pointer}.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.images-container::-webkit-scrollbar-thumb{width:0;height:0;border-radius:8px;background-color:#d5d5d5}.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.images-container::-webkit-scrollbar-thumb:hover{background-color:#ccc}.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.images-container::-webkit-scrollbar{display:none}.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.images-container>img{width:100%;height:auto;margin-bottom:8px;border-radius:4px}.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.watermark-container{display:flex;flex-direction:row;justify-content:space-between;align-items:center;flex-wrap:nowrap;width:100%;padding:16px 26px;height:64px;font-size:10px;background:var(--memos-memo-bg)}.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.watermark-container>.normal-text.footer-start{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;width:100%;font-size:var(--font-ui-smaller);line-height:20px;color:var(--memos-bg-lightgray)}.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.watermark-container>.normal-text.footer-start .property-social-icons{width:1em;height:1em;background-color:var(--memos-bg-black)}.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.watermark-container>.normal-text.footer-start>.name-text{font-size:var(--font-ui-small);color:var(--memos-text-black);margin-left:8px;line-height:20px;text-wrap:nowrap}.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.watermark-container>.normal-text.footer-start>.icon-text{font-size:var(--font-ui-medium);margin-right:6px}.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.watermark-container>.normal-text.footer-end{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;width:100%;font-size:var(--font-ui-smaller);line-height:20px;color:var(--memos-text-gray)}.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.watermark-container>.normal-text.footer-end>.name-text{font-size:var(--font-ui-small);color:var(--memos-text-black);margin-left:4px;line-height:20px;text-wrap:nowrap}.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.watermark-container>.normal-text.footer-end>.icon-text{font-size:var(--font-ui-medium);margin-right:6px}.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container a.tag{border:unset}.share-memo-image-dialog>.dialog-container>.dialog-content-container.minimal .property-image{display:none}.share-memo-image-dialog>.dialog-container>.dialog-content-container.minimal .background-container{display:none}.share-memo-image-dialog>.dialog-container>.dialog-content-container.minimal .memo-container>.memo-background>.thino-user-header{padding-top:var(--size-4-5)}.share-memo-image-dialog>.dialog-container>.dialog-content-container.clean{position:relative}.share-memo-image-dialog>.dialog-container>.dialog-content-container.clean .background-container{display:none}.share-memo-image-dialog>.dialog-container>.dialog-content-container.clean .memo-container>.memo-shortcut-img{z-index:2}.share-memo-image-dialog>.dialog-container>.dialog-content-container.clean .memo-container>.memo-background{z-index:1}.share-memo-image-dialog>.dialog-container>.dialog-content-container.clean .memo-container>.memo-background .property-image{position:absolute;width:100%;height:100%;object-fit:cover;opacity:.2;background-size:cover;background-repeat:no-repeat;background-position:center;z-index:10}.share-memo-image-dialog>.dialog-container>.dialog-content-container.clean .memo-container>.memo-background>.thino-user-header{padding-top:var(--size-4-5);background:var(--thino-share-background-color);z-index:20}.share-memo-image-dialog>.dialog-container>.dialog-content-container.clean .memo-container>.memo-background>.thino-time-footer{background:var(--thino-share-background-color);z-index:20}.share-memo-image-dialog>.dialog-container>.dialog-content-container.clean .memo-container>.memo-background>.memo-content-text{background:var(--thino-share-background-color);z-index:20}.share-memo-image-dialog>.dialog-container>.dialog-content-container.clean .memo-container>.memo-background>.watermark-container{background:var(--thino-share-background-color);z-index:20}.share-memo-image-dialog>.dialog-container>.dialog-content-container.gradient .property-image{display:none}.share-memo-image-dialog>.dialog-container>.dialog-content-container.gradient .background-container{display:none}.share-memo-image-dialog>.dialog-container>.dialog-content-container.gradient .memo-container{background:linear-gradient(to bottom right,#ffc3a0,#ffafbd)}.share-memo-image-dialog>.dialog-container>.dialog-content-container.gradient .memo-container>.memo-background{background:#fffc;opacity:.8}.share-memo-image-dialog>.dialog-container>.dialog-content-container.gradient .memo-container>.memo-background>.thino-user-header{padding-top:var(--size-4-5)}.is-phone .dialog-wrapper.share-memo-image-dialog{padding:64px 16px 24px;justify-content:unset}.is-phone .dialog-wrapper.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.time-text{font-size:var(--font-ui-smaller)}.is-phone .dialog-wrapper.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.thino-user-header{padding-left:var(--size-4-4);padding-right:var(--size-4-4)}.is-phone .dialog-wrapper.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.thino-user-header .thino-user-icon{width:32px;height:32px;min-width:32px;min-height:32px}.is-phone .dialog-wrapper.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.thino-user-header .thino-user-info .thino-user-name{font-size:var(--font-ui-smaller)}.is-phone .dialog-wrapper.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.thino-user-header .thino-user-info .thino-user-quote{font-size:11px}.is-phone .dialog-wrapper.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.memo-content-text{word-break:break-all;font-size:var(--font-size-small)}.is-phone .dialog-wrapper.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.thino-time-footer{font-size:var(--font-ui-smaller)}.is-phone .dialog-wrapper.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.watermark-container{padding:16px 20px}.is-phone .dialog-wrapper.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.watermark-container .normal-text.footer-start .property-social-icons{width:.8rem;height:.8rem}.is-phone .dialog-wrapper.share-memo-image-dialog>.dialog-container>.dialog-content-container>.memo-container>.memo-background>.watermark-container .normal-text .name-text{font-size:var(--font-ui-smaller)}.is-phone .dialog-wrapper.share-memo-image-dialog::-webkit-scrollbar{display:none}div[data-type=thino_view] .content-wrapper:has(.moments-view:not(.show-editor)) .memo-editor-wrapper:not(.mod-editor-bottom){display:none}div[data-type=thino_view] .content-wrapper:has(.moments-view:not(.show-editor)) .section-header-container{display:none}div[data-type=thino_view] .memos-moments-view#page-wrapper .memolist-wrapper .memolist-container .day-mark{justify-content:flex-end}div[data-type=thino_view] .memos-moments-view#page-wrapper .memolist-wrapper .memolist-container .day-mark.folded:before{width:100%}div[data-type=thino_view] .memos-moments-view#page-wrapper .memolist-wrapper .memolist-container .day-mark.folded:after{display:none}div[data-type=thino_view] .thino-moment-container:has(.memo-wrapper>.memo-editor-wrapper) .thino-moment-user-name{display:none}div[data-type=thino_view]:not(.mobile-view) .content-wrapper:has(.moments-view:not(.show-editor)) .section-header-container{display:inherit}div[data-type=thino_view]:not(.mobile-view) .memos-moments-view .section-header-container.memos-header-container{opacity:0;height:4px;transition:.3s all ease-in .2s}div[data-type=thino_view]:not(.mobile-view) .memos-moments-view .section-header-container.memos-header-container:has(~.memo-editor-wrapper:not(.edit-ing)):has(~.filter-query-container.thino-hidden):has(~.memolist-wrapper .moments-view-background-wrapper:hover){height:40px;opacity:1;transition:.6s all ease-in .2s}div[data-type=thino_view]:not(.mobile-view) .memos-moments-view .section-header-container.memos-header-container:hover{height:40px;opacity:1}div[data-type=thino_view].mobile-view .content-wrapper:has(.moments-view:not(.show-editor)){padding-top:var(--size-2-2)}div[data-type=thino_view].mobile-view .content-wrapper:has(.moments-view:not(.show-editor)) .section-header-container{display:flex;padding-left:12px;padding-right:12px;padding-bottom:0}div[data-type=thino_view].mobile-view .content-wrapper:has(.moments-view:not(.show-editor)) .memo-editor-wrapper:not(.mod-editor-bottom){display:none}.is-mobile:not(.is-tablet) div[data-type=thino_view].mobile-view .content-wrapper:has(.moments-view:not(.show-editor)) .memo-editor-wrapper:not(.mod-editor-bottom){display:none}.is-mobile:not(.is-tablet) div[data-type=thino_view].mobile-view .content-wrapper:has(.moments-view:not(.show-editor)) .section-header-container{display:none}div[data-type=thino_view].mobile-view .memolist-wrapper:has(.moments-view){padding-left:0;padding-right:0}div[data-type=thino_view].mobile-view .view-content:has(.moments-view){padding-left:0;padding-right:0}.is-mobile:not(.is-tablet) div[data-type=thino_view].mobile-view .view-content:not(:has(.show-editor.moments-view)){padding-top:0}.is-mobile div[data-type=thino_view].mobile-view .view-content:has(.filter-query-container:not(.thino-hidden)){padding-top:var(--size-4-3)}div[data-type=thino_view].mobile-view .view-content:not(:has(.show-editor.moments-view)){padding-top:var(--size-4-2)}div[data-type=thino_view].mobile-view .thino-moment-wrapper{padding-left:var(--size-4-2);padding-right:var(--size-4-2)}div[data-type=thino_view].tiny-view .moments-view .moments-view-background-wrapper .moments-view-background{height:220px!important}div[data-type=thino_view] .moments-view{width:100%;display:flex;flex-direction:column;gap:var(--size-4-2)}div[data-type=thino_view] .moments-view .moments-view-background-wrapper{position:relative;width:100%;height:fit-content}div[data-type=thino_view] .moments-view .moments-view-background-wrapper .moments-show-editor-btn{--icon-size: var(--size-4-6);color:var(--thino-modern-text-faint-hover);position:absolute;display:flex;align-items:center;justify-content:center;right:var(--size-4-8);top:var(--size-4-4)}div[data-type=thino_view] .moments-view .moments-view-background-wrapper .moments-view-background{width:100%;height:290px;background-repeat:no-repeat;background-size:cover;background-position:center}div[data-type=thino_view] .moments-view .moments-view-background-wrapper .moments-view-background-overlay{margin-right:var(--size-4-4);margin-top:-72px;display:flex;flex-direction:column;align-items:flex-end;justify-content:flex-end;gap:var(--size-4-2);margin-bottom:var(--size-4-3)}div[data-type=thino_view] .moments-view .moments-view-background-wrapper .moments-view-background-overlay .moments-view-user-idea{font-weight:500;min-height:18px}div[data-type=thino_view] .moments-view .moments-view-background-wrapper .moments-view-background-overlay .moments-view-user-info{display:flex;flex-direction:row;margin-top:32px;gap:var(--size-4-2);align-items:center}div[data-type=thino_view] .moments-view .moments-view-background-wrapper .moments-view-background-overlay .moments-view-user-info .moments-view-user-name{white-space:nowrap;margin-right:var(--size-4-2);font-size:var(--thino-ui-small);color:var(--thino-modern-text-faint-hover);font-weight:700;padding-bottom:var(--size-4-2)}div[data-type=thino_view] .moments-view .moments-view-background-wrapper .moments-view-background-overlay .moments-view-user-info .moments-view-user-icon{width:52px;height:52px;background-repeat:no-repeat;background-size:cover;border-radius:var(--memos-radius-l);background-position:center;display:flex;align-items:center;justify-content:center;background-color:var(--memos-memo-bg-primary);--icon-size: 22px}div[data-type=thino_view] .moments-view .thino-moment-wrapper{display:flex;flex-direction:row;width:100%;min-height:105px;gap:var(--size-4-2);padding-top:var(--size-2-2);padding-bottom:var(--size-4-2);padding-left:var(--size-2-2);padding-right:var(--size-2-2);position:relative}div[data-type=thino_view] .moments-view .thino-moment-wrapper .thino-moment-icon{width:32px;min-width:32px;height:var(--size-4-8);background-repeat:no-repeat;background-size:cover;border-radius:var(--radius-m);display:flex;align-items:center;justify-content:center;background-color:var(--memos-memo-bg-primary);--icon-size: 14px}div[data-type=thino_view] .moments-view .thino-moment-wrapper .thino-moment-container{width:100%;padding-top:var(--size-2-1);display:flex;flex-direction:column}div[data-type=thino_view] .moments-view .thino-moment-wrapper .thino-moment-container .thino-moment-user-name{color:var(--color-blue-tint);font-size:var(--thino-ui-small);font-weight:700}div[data-type=thino_view] .moments-view .thino-moment-wrapper .thino-moment-container .thino-moment-user-content{display:flex;height:100%;flex-direction:column}div[data-type=thino_view] .moments-view .thino-moment-wrapper .thino-moment-container .thino-moment-user-content .memo-wrapper{height:100%;flex-direction:column-reverse;border:unset;padding-left:0;padding-right:0;padding-bottom:0;padding-top:var(--size-2-2);background-color:unset}div[data-type=thino_view] .moments-view .thino-moment-wrapper .thino-moment-container .thino-moment-user-content .memo-wrapper .memo-content-text{padding-bottom:var(--size-4-3)}div[data-type=thino_view] .moments-view .thino-moment-wrapper .thino-moment-container .thino-moment-user-content .memo-wrapper p:first-child{margin-block-start:0}div[data-type=thino_view] .moments-view .thino-moment-wrapper .thino-moment-container .thino-moment-user-content .memo-wrapper p{margin-block-start:calc(var(--p-spacing) * .5);margin-block-end:calc(var(--p-spacing) * .5)}div[data-type=thino_view] .moments-view .thino-moment-wrapper .thino-moment-container .thino-moment-user-content .memo-wrapper .memo-top-wrapper .time-text{font-size:13px;color:var(--thino-modern-text-faint);font-weight:500}div[data-type=thino_view] .moments-view .thino-moment-wrapper .thino-moment-container .thino-moment-user-content .memo-wrapper .memo-top-wrapper .time-text:hover{color:var(--memos-text-muted)}div[data-type=thino_view] .moments-view .thino-moment-wrapper .thino-moment-container .thino-moment-user-content .memo-wrapper .memo-top-wrapper .btn.more-action-btn{background-color:var(--thino-button-text-faint);padding:var(--size-2-1);border-radius:var(--memos-radius-m)}div[data-type=thino_view] .moments-view .thino-moment-wrapper .thino-moment-container .thino-moment-user-content .memo-wrapper .memo-top-wrapper .btns-container{gap:var(--size-4-2)}div[data-type=thino_view] .moments-view .thino-moment-wrapper .thino-moment-container .thino-moment-user-content .memo-wrapper .memo-top-wrapper .btns-container>.btn{margin-right:0;color:var(--memos-text-faint)}div[data-type=thino_view] .moments-view .thino-moment-wrapper .thino-moment-container .thino-moment-user-content .memo-wrapper .memo-top-wrapper .btns-container>.more-action-btns-wrapper{top:calc(100% - 14px);right:-10px}div[data-type=thino_view] .moments-view .thino-moment-wrapper .thino-moment-container .thino-moment-user-content .memo-wrapper:hover{border:unset}div[data-type=thino_view] .moments-view .thino-moment-wrapper .thino-moment-container .thino-moment-time-menu-group{display:flex;justify-content:space-between;width:100%;align-items:center}div[data-type=thino_view] .moments-view .thino-moment-wrapper .thino-moment-container .thino-moment-time-menu-group .thino-moment-time{font-size:13px;color:var(--thino-modern-text-faint);font-weight:700}div[data-type=thino_view] .moments-view .thino-moment-wrapper .thino-moment-container .thino-moment-time-menu-group .thino-moment-menu{background-color:var(--thino-background-primary);padding:var(--size-2-2);border-radius:var(--memos-radius-m)}div[data-type=thino_view] .moments-view .thino-moment-wrapper .thino-moment-container .thino-moment-time-menu-group .thino-moment-menu .thino-moment-menu-icon{display:flex}div[data-type=thino_view] .moments-view .thino-moment-wrapper:after{display:block;width:100%;content:"";flex:1;height:1px;background:linear-gradient(to right,var(--thino-divider),var(--thino-divider-hover) 50%,var(--thino-divider));position:absolute;bottom:0}.dialog-wrapper.memo-card-dialog>.dialog-container{padding:var(--size-4-4);background-color:transparent}.dialog-wrapper.memo-card-dialog>.dialog-container>*{flex-shrink:0}.dialog-wrapper.memo-card-dialog>.dialog-container>.memo-card-container{position:relative;display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;width:512px;min-height:64px;max-width:100%;padding:12px 24px;margin-bottom:12px;border-radius:8px;background-color:var(--memos-bg-paper-yellow)}.dialog-wrapper.memo-card-dialog>.dialog-container>.memo-card-container>*{z-index:1}.dialog-wrapper.memo-card-dialog>.dialog-container>.memo-card-container>.header-container{display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%;height:auto;padding-bottom:0;margin-bottom:0;margin-top:0}.dialog-wrapper.memo-card-dialog>.dialog-container>.memo-card-container>.header-container>.time-text{font-size:var(--thino-ui-small);color:gray;font-family:ubuntu-mono,SFMono-Regular,Menlo,Consolas,PT Mono,Liberation Mono,Courier,monospace}.dialog-wrapper.memo-card-dialog>.dialog-container>.memo-card-container>.header-container>.btns-container{display:flex;flex-direction:row;justify-content:flex-end;align-items:center}.dialog-wrapper.memo-card-dialog>.dialog-container>.memo-card-container>.header-container>.btns-container>.btn{background-color:transparent;padding:var(--size-2-2);width:var(--size-4-6);margin-right:var(--size-4-2)}.dialog-wrapper.memo-card-dialog>.dialog-container>.memo-card-container>.header-container>.btns-container>.btn:hover{background-color:var(--memos-memo-bg)}.dialog-wrapper.memo-card-dialog>.dialog-container>.memo-card-container>.header-container>.btns-container>.btn>.icon-img{width:20px;height:20px}.dialog-wrapper.memo-card-dialog>.dialog-container>.memo-card-container>.memo-container{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;width:100%;padding-top:8px}.dialog-wrapper.memo-card-dialog>.dialog-container>.memo-card-container>.memo-container>.memo-content-text{width:100%;font-size:16px;line-height:1.6;word-wrap:break-word;word-break:break-all;padding-top:4px}.dialog-wrapper.memo-card-dialog>.dialog-container>.memo-card-container>.memo-container>.memo-content-text .tag-span{font-size:var(--thino-ui-small);color:var(--memos-text-blue);background-color:unset;padding:0 6px 0 4px;margin:0 0 0 4px;cursor:unset}.dialog-wrapper.memo-card-dialog>.dialog-container>.memo-card-container>.memo-container>.images-wrapper{display:flex;flex-direction:row;justify-content:flex-start;align-items:flex-start;margin-top:8px;width:100%;overflow-x:auto;overflow-y:hidden;padding-bottom:2px}.dialog-wrapper.memo-card-dialog>.dialog-container>.memo-card-container>.memo-container>.images-wrapper::-webkit-scrollbar{width:0;height:2px;cursor:pointer}.dialog-wrapper.memo-card-dialog>.dialog-container>.memo-card-container>.memo-container>.images-wrapper::-webkit-scrollbar-thumb{width:0;height:2px;border-radius:8px;background-color:#d5d5d5}.dialog-wrapper.memo-card-dialog>.dialog-container>.memo-card-container>.memo-container>.images-wrapper::-webkit-scrollbar-thumb:hover{background-color:#ccc}.dialog-wrapper.memo-card-dialog>.dialog-container>.memo-card-container>.memo-container>.images-wrapper>.memo-img{margin-right:8px;width:auto;height:128px;flex-shrink:0;flex-grow:0;overflow-y:hidden}.dialog-wrapper.memo-card-dialog>.dialog-container>.memo-card-container>.memo-container>.images-wrapper>.memo-img::-webkit-scrollbar{width:0;height:0;cursor:pointer}.dialog-wrapper.memo-card-dialog>.dialog-container>.memo-card-container>.memo-container>.images-wrapper>.memo-img::-webkit-scrollbar-thumb{width:0;height:0;border-radius:8px;background-color:#d5d5d5}.dialog-wrapper.memo-card-dialog>.dialog-container>.memo-card-container>.memo-container>.images-wrapper>.memo-img::-webkit-scrollbar-thumb:hover{background-color:#ccc}.dialog-wrapper.memo-card-dialog>.dialog-container>.memo-card-container>.memo-container>.images-wrapper>.memo-img::-webkit-scrollbar{display:none}.dialog-wrapper.memo-card-dialog>.dialog-container>.memo-card-container>.memo-container>.images-wrapper>.memo-img:hover{border-color:var(--memos-bg-lightgray)}.dialog-wrapper.memo-card-dialog>.dialog-container>.memo-card-container>.memo-container>.images-wrapper>.memo-img:last-child{margin-right:0}.dialog-wrapper.memo-card-dialog>.dialog-container>.memo-card-container>.memo-container>.images-wrapper>.memo-img>img{width:auto;max-height:128px;border-radius:8px}.dialog-wrapper.memo-card-dialog>.dialog-container>.memo-card-container>.normal-text{margin-top:8px;font-size:var(--font-ui-small);color:gray}.dialog-wrapper.memo-card-dialog>.dialog-container>.memo-card-container>.layer-container,.dialog-wrapper.memo-card-dialog>.dialog-container>.memo-card-container>.background-layer-container{position:absolute;bottom:-3px;left:3px;width:calc(100% - 6px);height:100%;border-radius:8px;z-index:-1;background-color:var(--memos-bg-paper-yellow);border-bottom:1px solid var(--memos-bg-lightgray)}.dialog-wrapper.memo-card-dialog>.dialog-container>.memo-card-container>.layer-container{z-index:0;background-color:var(--memos-bg-paper-yellow);border:1px solid var(--memos-bg-lightgray);width:100%;height:100%;position:absolute;top:0;left:0}.dialog-wrapper.memo-card-dialog>.dialog-container>.linked-memos-wrapper{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;width:512px;max-width:100%;margin-top:8px;padding:12px 24px;border-radius:8px;background-color:var(--memos-memo-bg)}.dialog-wrapper.memo-card-dialog>.dialog-container>.linked-memos-wrapper:last-child{margin-bottom:36px}.dialog-wrapper.memo-card-dialog>.dialog-container>.linked-memos-wrapper>.normal-text{font-size:var(--font-ui-small)}.dialog-wrapper.memo-card-dialog>.dialog-container>.linked-memos-wrapper>.linked-memo-container{font-size:var(--font-ui-small);line-height:24px;margin-top:8px;cursor:pointer;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dialog-wrapper.memo-card-dialog>.dialog-container>.linked-memos-wrapper>.linked-memo-container:hover{opacity:.8}.dialog-wrapper.memo-card-dialog>.dialog-container>.linked-memos-wrapper>.linked-memo-container>.time-text{color:gray;font-family:ubuntu-mono,SFMono-Regular,Menlo,Consolas,PT Mono,Liberation Mono,Courier,monospace}@media only screen and (max-width: 875px){div[data-type=thino_view] .dialog-wrapper.memo-card-dialog{padding:64px 16px 24px}}div[data-type=thino_view] .markdown-rendered hr{width:100%}div[data-type=thino_view] .memo-content-text{-webkit-user-select:text;user-select:text;height:100%;word-wrap:break-word;font-family:var(--font-text)}div[data-type=thino_view] .memo-content-text.raw-content{display:flex!important;flex-direction:column}div[data-type=thino_view] .memo-content-text.raw-content button{width:80px;margin-bottom:10px}div[data-type=thino_view] .memo-content-text.raw-content textarea{height:600px}div[data-type=thino_view] .thino-collapse-shadowOverlay{background-image:linear-gradient(transparent,var(--thino-background-primary));width:100%;height:40px;margin-top:-40px}div[data-type=thino_view] .memos-chat-view .chat-view:is(.fluent-style,.inline-style) .thino-collapse-shadowOverlay{background-image:unset;width:100%;height:40px;margin-top:-40px}div[data-type=thino_view] button:not(.clickable-icon).thino-collapse-button{box-shadow:none;color:var(--color-green);padding-left:0;padding-right:0;font-weight:600}div[data-type=thino_view] button:not(.clickable-icon).thino-collapse-button:hover{background:inherit;color:var(--memos-text-accent)}div[data-type=thino_view] .chat-view:is(.fluent-style,.inline-style) button:not(.clickable-icon).thino-collapse-button{color:var(--text-normal);font-size:var(--font-ui-small);border-radius:var(--button-radius);background:var(--thino-background-secondary);padding:var(--size-4-1) var(--size-4-3);height:var(--input-height);font-weight:var(--input-font-weight);cursor:var(--cursor);box-shadow:var(--input-shadow)}div[data-type=thino_view] .daily-memo-wrapper .memo-content-text,div[data-type=thino_view] .daily-memo-wrapper .memo-comment-text{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;width:100%;word-wrap:break-word;word-break:break-word;white-space:pre-wrap;color:var(--memos-text-black);-webkit-user-select:text;user-select:text}div[data-type=thino_view] .daily-memo-wrapper .memo-content-text>p,div[data-type=thino_view] .daily-memo-wrapper .memo-comment-text>p{display:inline-block;width:100%;height:auto;margin-bottom:4px;font-size:var(--font-ui-medium);line-height:24px;min-height:24px;white-space:pre-wrap;color:var(--memos-text-black)}div[data-type=thino_view] .daily-memo-wrapper .memo-content-text>p>a,div[data-type=thino_view] .daily-memo-wrapper .memo-comment-text>p>a{overflow:hidden;text-overflow:ellipsis;word-break:break-all;white-space:nowrap}div[data-type=thino_view] .daily-memo-wrapper .memo-content-text>p>a.external-link,div[data-type=thino_view] .daily-memo-wrapper .memo-comment-text>p>a.external-link{white-space:unset;display:inline;width:100%}div[data-type=thino_view] .daily-memo-wrapper .memo-content-text>p>a.tag,div[data-type=thino_view] .daily-memo-wrapper .memo-comment-text>p>a.tag{white-space:unset}div[data-type=thino_view] .daily-memo-wrapper .memo-content-text .callout,div[data-type=thino_view] .daily-memo-wrapper .memo-comment-text .callout{width:100%}div[data-type=thino_view] .daily-memo-wrapper .memo-content-text .tag-span,div[data-type=thino_view] .daily-memo-wrapper .memo-comment-text .tag-span{display:inline-block;width:auto;padding-left:4px;padding-right:6px;margin-left:4px;line-height:24px;font-size:var(--font-ui-small);border:none;border-radius:4px;background-color:var(--memos-bg-light-blue);cursor:pointer;vertical-align:bottom}div[data-type=thino_view] .daily-memo-wrapper .memo-content-text .tag-span:hover,div[data-type=thino_view] .daily-memo-wrapper .memo-comment-text .tag-span:hover{background-color:var(--memos-text-blue);color:var(--memos-text-hover)}div[data-type=thino_view] .daily-memo-wrapper .memo-content-text .memo-link-text,div[data-type=thino_view] .daily-memo-wrapper .memo-comment-text .memo-link-text{display:inline-block;color:var(--memos-text-blue);font-weight:700;border-bottom:none;text-decoration:none;cursor:pointer}div[data-type=thino_view] .daily-memo-wrapper .memo-content-text .memo-link-text:hover,div[data-type=thino_view] .daily-memo-wrapper .memo-comment-text .memo-link-text:hover{opacity:.8}div[data-type=thino_view] .daily-memo-wrapper .memo-content-text .counter-block,div[data-type=thino_view] .daily-memo-wrapper .memo-comment-text .counter-block,div[data-type=thino_view] .daily-memo-wrapper .memo-content-text .todo-block,div[data-type=thino_view] .daily-memo-wrapper .memo-comment-text .todo-block{display:inline-block;text-align:center;width:1.4rem;font-family:ubuntu-mono,SFMono-Regular,Menlo,Consolas,PT Mono,Liberation Mono,Courier,monospace}div[data-type=thino_view] .daily-memo-wrapper .memo-content-text pre,div[data-type=thino_view] .daily-memo-wrapper .memo-comment-text pre{width:100%;margin:4px 0;padding:8px 12px;border-radius:4px;font-size:var(--font-ui-medium);line-height:1.5;background:var(--code-background);white-space:pre-wrap}div[data-type=thino_view] .memolist-wrapper .memo-content-text{width:100%;overflow-wrap:break-word;display:block;-webkit-user-select:text;user-select:text;overflow-x:scroll}div[data-type=thino_view] .memolist-wrapper .memo-content-text::-webkit-scrollbar{width:0;height:0;cursor:pointer}div[data-type=thino_view] .memolist-wrapper .memo-content-text::-webkit-scrollbar-thumb{width:0;height:0;border-radius:8px;background-color:#d5d5d5}div[data-type=thino_view] .memolist-wrapper .memo-content-text::-webkit-scrollbar-thumb:hover{background-color:#ccc}div[data-type=thino_view] .memolist-wrapper .memo-content-text::-webkit-scrollbar{display:none}div[data-type=thino_view] .memolist-wrapper .memo-content-text.is-selecting-text{-webkit-user-select:text;user-select:text}div[data-type=thino_view] .memolist-wrapper .memo-content-text.mobile-view>p{font-size:var(--font-ui-medium);line-height:26px;min-height:26px}div[data-type=thino_view] .memolist-wrapper .memo-content-text.mobile-view .tag-span{line-height:26px;font-size:var(--thino-ui-small)}div[data-type=thino_view] .memolist-wrapper .memo-content-text .tag-span{display:inline-block;width:auto;padding-left:4px;padding-right:6px;margin-left:4px;line-height:24px;font-size:var(--font-ui-small);border:none;border-radius:4px;background-color:var(--memos-bg-light-blue);cursor:pointer;vertical-align:bottom}div[data-type=thino_view] .memolist-wrapper .memo-content-text .tag-span:hover{background-color:var(--memos-text-blue);color:var(--memos-text-hover)}div[data-type=thino_view] .memolist-wrapper .memo-content-text .memo-link-text{display:inline-block;color:var(--memos-text-blue);font-weight:700;border-bottom:none;text-decoration:none;cursor:pointer}div[data-type=thino_view] .memolist-wrapper .memo-content-text .memo-link-text:hover{opacity:.8}div[data-type=thino_view] .memolist-wrapper .memo-content-text .counter-block,div[data-type=thino_view] .memolist-wrapper .memo-content-text .todo-block{display:inline-block;text-align:center;width:1.4rem;font-family:ubuntu-mono,SFMono-Regular,Menlo,Consolas,PT Mono,Liberation Mono,Courier,monospace}div[data-type=thino_view] .memolist-wrapper .memo-content-text pre{width:100%;margin:4px 0;padding:8px 12px;border-radius:4px;font-size:var(--font-ui-medium);line-height:1.5;background:var(--code-background);white-space:pre-wrap}div[data-type=thino_view] .memolist-wrapper .memo-content-text ul.contains-task-list{margin-top:0;margin-bottom:0;margin-block-start:calc(var(--p-spacing) * 1 / 2);margin-block-end:calc(var(--p-spacing) * 1 / 2);line-height:14px}div[data-type=thino_view] .memolist-wrapper .memo-content-text ul.contains-task-list li.task-list-item .task-list-item-checkbox{vertical-align:bottom}div[data-type=thino_view] .memolist-wrapper .memo-content-text ul.contains-task-list li{line-height:1.4}div[data-type=thino_view] .memolist-wrapper .memo-content-text ul,div[data-type=thino_view] .memolist-wrapper .memo-content-text ol{margin-block-start:calc(var(--p-spacing) / 2);margin-block-end:calc(var(--p-spacing) / 2)}div[data-type=thino_view] .memolist-wrapper .memo-content-text>ul{margin-top:0;margin-bottom:0;margin-block-start:0;margin-block-end:0;line-height:14px}div[data-type=thino_view] .memolist-wrapper .memo-content-text>ul li{line-height:1.4}div[data-type=thino_view] .memolist-wrapper .memo-content-text>p{display:inline-block;width:100%;height:auto;font-size:var(--font-ui-medium);line-height:26px;min-height:26px;margin-block-start:calc(var(--p-spacing) / 2);margin-block-end:calc(var(--p-spacing) / 2);color:var(--memos-text-black)}div[data-type=thino_view] .memolist-wrapper .memo-content-text>p>a{overflow:hidden;text-overflow:ellipsis;word-break:break-all;white-space:nowrap}div[data-type=thino_view] .memolist-wrapper .memo-content-text>p>a.external-link{white-space:unset;display:inline;width:100%}div[data-type=thino_view] .memolist-wrapper .memo-content-text>p>a.tag{white-space:unset}div[data-type=thino_view] .memolist-wrapper .memo-content-text>p:has(+ol,+ul)+ol,div[data-type=thino_view] .memolist-wrapper .memo-content-text>p:has(+ol,+ul)+ul{margin-block-start:0;margin-block-end:0}.theme-dark div[data-type=thino_view].mobile-view .memolist-wrapper .memo-content-text{color:var(--memos-text-black)}.theme-dark div[data-type=thino_view].mobile-view .memolist-wrapper .memo-content-text>p{font-size:var(--font-ui-medium);line-height:26px;min-height:26px;color:var(--memos-text-black)}.theme-dark div[data-type=thino_view].mobile-view .memolist-wrapper .memo-content-text .tag-span{line-height:26px;font-size:var(--thino-ui-small)}div[data-type=thino_view] .memo-wrapper,.thino-hover-popover .memo-wrapper,.block-language-thino .thino-embed-container .memo-wrapper{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;width:100%;padding:12px 18px;background-color:var(--memos-memo-bg);border-radius:8px;border:1px solid var(--memos-memo-border);position:relative}div[data-type=thino_view] .memo-wrapper:hover,.thino-hover-popover .memo-wrapper:hover,.block-language-thino .thino-embed-container .memo-wrapper:hover{border-color:var(--memos-memo-border-hover)}div[data-type=thino_view] .memo-wrapper:hover>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.unpinned-btn,.thino-hover-popover .memo-wrapper:hover>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.unpinned-btn,.block-language-thino .thino-embed-container .memo-wrapper:hover>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.unpinned-btn{transition:opacity .3s ease-in-out;opacity:1}div[data-type=thino_view] .memo-wrapper:hover>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.source-type-btn,.thino-hover-popover .memo-wrapper:hover>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.source-type-btn,.block-language-thino .thino-embed-container .memo-wrapper:hover>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.source-type-btn{transition:opacity .3s ease-in-out;opacity:1}div[data-type=thino_view] .memo-wrapper.mobile-view .memo-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container,.thino-hover-popover .memo-wrapper.mobile-view .memo-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container,.block-language-thino .thino-embed-container .memo-wrapper.mobile-view .memo-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container{line-height:0}div[data-type=thino_view] .memo-wrapper.mobile-view .waterfall-view .time-text,.thino-hover-popover .memo-wrapper.mobile-view .waterfall-view .time-text,.block-language-thino .thino-embed-container .memo-wrapper.mobile-view .waterfall-view .time-text{max-width:75px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper,.thino-hover-popover .memo-wrapper>.memo-top-wrapper,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper{display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%;height:24px;margin-bottom:var(--size-2-1);cursor:grab}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper.dragging,.thino-hover-popover .memo-wrapper>.memo-top-wrapper.dragging,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper.dragging{cursor:grabbing}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper .drag-handler,.thino-hover-popover .memo-wrapper>.memo-top-wrapper .drag-handler,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper .drag-handler{visibility:hidden;font-size:18px}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-left-wrapper,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-left-wrapper,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-left-wrapper{display:flex;flex-direction:row;justify-content:flex-start;align-items:center}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-left-wrapper>.time-text,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-left-wrapper>.time-text,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-left-wrapper>.time-text{font-size:var(--font-ui-small);line-height:24px;color:var(--memos-text-faint);flex-shrink:0;cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-left-wrapper>.time-text.source-path,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-left-wrapper>.time-text.source-path,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-left-wrapper>.time-text.source-path{margin-left:var(--size-2-2)}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-left-wrapper>.time-text:hover,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-left-wrapper>.time-text:hover,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-left-wrapper>.time-text:hover{color:var(--memos-text-muted)}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-left-wrapper>.memo-type-img,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-left-wrapper>.memo-type-img,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-left-wrapper>.memo-type-img{height:20px;margin-left:var(--size-2-2);--checkbox-size: 14px}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper{display:flex;flex-direction:row;justify-content:flex-end;align-items:center}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.comment-button-wrapper,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.comment-button-wrapper,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.comment-button-wrapper{display:flex;flex-direction:row;justify-content:center;align-items:center;font-size:var(--font-ui-smaller);width:40%;height:21px;margin-right:4px}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;position:relative;flex-shrink:0}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container .pinned-btn,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container .pinned-btn,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container .pinned-btn{padding:var(--size-2-2);border-radius:var(--radius-s);width:var(--size-4-7);opacity:.5;color:var(--memos-text-muted)}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container .pinned-btn:hover,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container .pinned-btn:hover,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container .pinned-btn:hover{background-color:var(--memos-memo-bg-hover);opacity:1}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container .source-type-btn,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container .source-type-btn,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container .source-type-btn{margin-right:var(--size-2-2);opacity:0;padding:var(--size-2-2);border-radius:var(--radius-s);width:var(--size-4-7)}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container .source-type-btn:hover,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container .source-type-btn:hover,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container .source-type-btn:hover{opacity:1;background-color:var(--memos-memo-bg-hover)}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container .fix-memo-btn,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container .fix-memo-btn,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container .fix-memo-btn{margin-right:var(--size-2-2);padding:var(--size-2-2);border-radius:var(--radius-s);width:var(--size-4-7)}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container .fix-memo-btn:hover,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container .fix-memo-btn:hover,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container .fix-memo-btn:hover{opacity:1;background-color:var(--memos-memo-bg-hover);color:var(--memos-accent-hover)}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container .unpinned-btn,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container .unpinned-btn,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container .unpinned-btn{padding:var(--size-2-2);border-radius:var(--radius-s);width:var(--size-4-7);opacity:0}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container .unpinned-btn:hover,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container .unpinned-btn:hover,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container .unpinned-btn:hover{background-color:var(--memos-memo-bg-hover);color:var(--memos-accent-hover);opacity:1}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper{display:flex;flex-direction:column;justify-content:flex-start;align-items:center;flex-wrap:nowrap;width:auto;height:auto;padding:12px;z-index:1;min-width:140px}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container{width:100%;height:auto;line-height:18px;padding:var(--size-2-2);padding-left:var(--size-2-3);white-space:nowrap;border-radius:var(--memos-radius-m);background-color:var(--memos-more-action-bg);box-shadow:var(--memos-memo-shadow);z-index:1}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container>hr,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container>hr,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container>hr{color:var(--memos-bg-lightgray)}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-btn-group.more-action-menu-item,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-btn-group.more-action-menu-item,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-btn-group.more-action-menu-item{display:flex;justify-content:space-between;align-items:center;width:100%;padding:var(--size-2-2) var(--size-4-1) var(--size-4-1)}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-btn-group.more-action-menu-item>.more-action-item-icon,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-btn-group.more-action-menu-item>.more-action-item-icon,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-btn-group.more-action-menu-item>.more-action-item-icon{display:flex;justify-content:center;padding:var(--size-2-2);width:34%;border-radius:var(--memos-radius-m);cursor:pointer;--icon-size: 18px}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-btn-group.more-action-menu-item>.more-action-item-icon:hover,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-btn-group.more-action-menu-item>.more-action-item-icon:hover,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-btn-group.more-action-menu-item>.more-action-item-icon:hover{background-color:var(--memos-memo-bg-hover);color:var(--memos-accent-hover)}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-btn-group.more-action-menu-item:hover,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-btn-group.more-action-menu-item:hover,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-btn-group.more-action-menu-item:hover{background-color:unset;color:inherit}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .text-count-item.more-action-menu-item,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .text-count-item.more-action-menu-item,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .text-count-item.more-action-menu-item{display:flex;justify-content:center;align-items:center;width:100%;cursor:unset}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .text-count-item.more-action-menu-item:hover,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .text-count-item.more-action-menu-item:hover,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .text-count-item.more-action-menu-item:hover{background-color:inherit;color:inherit}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item{display:flex;justify-content:flex-start;align-items:center;gap:var(--size-2-2);padding-left:var(--size-4-3);color:var(--memos-text-muted);border-radius:var(--memos-radius-s);cursor:pointer}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item>.more-action-item-icon,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item>.more-action-item-icon,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item>.more-action-item-icon{display:flex;--icon-size: 18px}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item>.btn,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item>.btn,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item>.btn{width:100%;padding:8px 0 8px 6px;border-radius:4px;height:unset;line-height:unset;justify-content:flex-start}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item>.btn.text-count-btn,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item>.btn.text-count-btn,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item>.btn.text-count-btn{justify-content:flex-end}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item>.btn.delete-btn,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item>.btn.delete-btn,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item>.btn.delete-btn{color:var(--memos-text-light-red)}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item>.btn.delete-btn.final-confirm,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item>.btn.delete-btn.final-confirm,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item>.btn.delete-btn.final-confirm{font-weight:700}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item.archive-menu-item,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item.archive-menu-item,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item.archive-menu-item,div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item.delete-menu-item,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item.delete-menu-item,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item.delete-menu-item{color:var(--memos-text-light-red)}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item.archive-menu-item:hover,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item.archive-menu-item:hover,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item.archive-menu-item:hover,div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item.delete-menu-item:hover,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item.delete-menu-item:hover,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item.delete-menu-item:hover{color:var(--memos-text-light-red)}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item:hover,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item:hover,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item:hover{background-color:var(--memos-memo-bg-hover);color:var(--memos-text-hover)}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container .btn,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container .btn,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container .btn{display:flex;flex-direction:row;justify-content:center;align-items:center;margin-right:var(--size-2-2);font-size:var(--font-ui-small);border-radius:4px;color:var(--memos-text-muted);--icon-size: 18px}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container .btn.more-action-btn,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container .btn.more-action-btn,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container .btn.more-action-btn{width:28px;margin-right:-6px;opacity:.8}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container .btn.more-action-btn>.icon-img,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container .btn.more-action-btn>.icon-img,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container .btn.more-action-btn>.icon-img{width:16px;height:16px}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container .btn.more-action-btn:hover,.thino-hover-popover .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container .btn.more-action-btn:hover,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper>.memo-top-right-wrapper>.btns-container .btn.more-action-btn:hover{background-color:unset;color:var(--memos-accent-hover)}div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper:hover .drag-handler,.thino-hover-popover .memo-wrapper>.memo-top-wrapper:hover .drag-handler,.block-language-thino .thino-embed-container .memo-wrapper>.memo-top-wrapper:hover .drag-handler{visibility:visible}div[data-type=thino_view] .memo-wrapper>.images-wrapper,.thino-hover-popover .memo-wrapper>.images-wrapper,.block-language-thino .thino-embed-container .memo-wrapper>.images-wrapper{display:flex;flex-direction:row;justify-content:flex-start;align-items:flex-start;margin-top:8px;width:100%;overflow-x:auto;overflow-y:hidden;padding-bottom:4px}div[data-type=thino_view] .memo-wrapper>.images-wrapper::-webkit-scrollbar,.thino-hover-popover .memo-wrapper>.images-wrapper::-webkit-scrollbar,.block-language-thino .thino-embed-container .memo-wrapper>.images-wrapper::-webkit-scrollbar{width:0;height:2px;cursor:pointer}div[data-type=thino_view] .memo-wrapper>.images-wrapper::-webkit-scrollbar-thumb,.thino-hover-popover .memo-wrapper>.images-wrapper::-webkit-scrollbar-thumb,.block-language-thino .thino-embed-container .memo-wrapper>.images-wrapper::-webkit-scrollbar-thumb{width:0;height:2px;border-radius:8px;background-color:#d5d5d5}div[data-type=thino_view] .memo-wrapper>.images-wrapper::-webkit-scrollbar-thumb:hover,.thino-hover-popover .memo-wrapper>.images-wrapper::-webkit-scrollbar-thumb:hover,.block-language-thino .thino-embed-container .memo-wrapper>.images-wrapper::-webkit-scrollbar-thumb:hover{background-color:#ccc}div[data-type=thino_view] .memo-wrapper>.images-wrapper>.memo-img,.thino-hover-popover .memo-wrapper>.images-wrapper>.memo-img,.block-language-thino .thino-embed-container .memo-wrapper>.images-wrapper>.memo-img{margin-right:8px;width:auto;height:128px;flex-shrink:0;flex-grow:0;overflow-y:hidden}div[data-type=thino_view] .memo-wrapper>.images-wrapper>.memo-img::-webkit-scrollbar,.thino-hover-popover .memo-wrapper>.images-wrapper>.memo-img::-webkit-scrollbar,.block-language-thino .thino-embed-container .memo-wrapper>.images-wrapper>.memo-img::-webkit-scrollbar{width:0;height:0;cursor:pointer}div[data-type=thino_view] .memo-wrapper>.images-wrapper>.memo-img::-webkit-scrollbar-thumb,.thino-hover-popover .memo-wrapper>.images-wrapper>.memo-img::-webkit-scrollbar-thumb,.block-language-thino .thino-embed-container .memo-wrapper>.images-wrapper>.memo-img::-webkit-scrollbar-thumb{width:0;height:0;border-radius:8px;background-color:#d5d5d5}div[data-type=thino_view] .memo-wrapper>.images-wrapper>.memo-img::-webkit-scrollbar-thumb:hover,.thino-hover-popover .memo-wrapper>.images-wrapper>.memo-img::-webkit-scrollbar-thumb:hover,.block-language-thino .thino-embed-container .memo-wrapper>.images-wrapper>.memo-img::-webkit-scrollbar-thumb:hover{background-color:#ccc}div[data-type=thino_view] .memo-wrapper>.images-wrapper>.memo-img::-webkit-scrollbar,.thino-hover-popover .memo-wrapper>.images-wrapper>.memo-img::-webkit-scrollbar,.block-language-thino .thino-embed-container .memo-wrapper>.images-wrapper>.memo-img::-webkit-scrollbar{display:none}div[data-type=thino_view] .memo-wrapper>.images-wrapper>.memo-img:hover,.thino-hover-popover .memo-wrapper>.images-wrapper>.memo-img:hover,.block-language-thino .thino-embed-container .memo-wrapper>.images-wrapper>.memo-img:hover{border-color:var(--memos-bg-lightgray)}div[data-type=thino_view] .memo-wrapper>.images-wrapper>.memo-img:last-child,.thino-hover-popover .memo-wrapper>.images-wrapper>.memo-img:last-child,.block-language-thino .thino-embed-container .memo-wrapper>.images-wrapper>.memo-img:last-child{margin-right:0}div[data-type=thino_view] .memo-wrapper>.images-wrapper>.memo-img>img,.thino-hover-popover .memo-wrapper>.images-wrapper>.memo-img>img,.block-language-thino .thino-embed-container .memo-wrapper>.images-wrapper>.memo-img>img{width:auto;max-height:128px;border-radius:8px;cursor:pointer}div[data-type=thino_view] .memo-wrapper>.memo-comment-wrapper,.thino-hover-popover .memo-wrapper>.memo-comment-wrapper,.block-language-thino .thino-embed-container .memo-wrapper>.memo-comment-wrapper{width:100%}div[data-type=thino_view] .memo-wrapper>.memo-comment-wrapper>.memo-comment-list,.thino-hover-popover .memo-wrapper>.memo-comment-wrapper>.memo-comment-list,.block-language-thino .thino-embed-container .memo-wrapper>.memo-comment-wrapper>.memo-comment-list{border-top:1px solid var(--memos-bg-gray);margin-top:8px;overflow-y:auto;max-height:300px}div[data-type=thino_view] .memo-wrapper>.memo-comment-wrapper>.memo-comment-list::-webkit-scrollbar,.thino-hover-popover .memo-wrapper>.memo-comment-wrapper>.memo-comment-list::-webkit-scrollbar,.block-language-thino .thino-embed-container .memo-wrapper>.memo-comment-wrapper>.memo-comment-list::-webkit-scrollbar{width:0;height:0;cursor:pointer}div[data-type=thino_view] .memo-wrapper>.memo-comment-wrapper>.memo-comment-list::-webkit-scrollbar-thumb,.thino-hover-popover .memo-wrapper>.memo-comment-wrapper>.memo-comment-list::-webkit-scrollbar-thumb,.block-language-thino .thino-embed-container .memo-wrapper>.memo-comment-wrapper>.memo-comment-list::-webkit-scrollbar-thumb{width:0;height:0;border-radius:8px;background-color:#d5d5d5}div[data-type=thino_view] .memo-wrapper>.memo-comment-wrapper>.memo-comment-list::-webkit-scrollbar-thumb:hover,.thino-hover-popover .memo-wrapper>.memo-comment-wrapper>.memo-comment-list::-webkit-scrollbar-thumb:hover,.block-language-thino .thino-embed-container .memo-wrapper>.memo-comment-wrapper>.memo-comment-list::-webkit-scrollbar-thumb:hover{background-color:#ccc}div[data-type=thino_view] .memo-wrapper>.memo-comment-wrapper>.memo-comment-list::-webkit-scrollbar,.thino-hover-popover .memo-wrapper>.memo-comment-wrapper>.memo-comment-list::-webkit-scrollbar,.block-language-thino .thino-embed-container .memo-wrapper>.memo-comment-wrapper>.memo-comment-list::-webkit-scrollbar{display:none}div[data-type=thino_view] .memo-wrapper>.memo-comment-wrapper>.memo-comment-list .memo-comment,.thino-hover-popover .memo-wrapper>.memo-comment-wrapper>.memo-comment-list .memo-comment,.block-language-thino .thino-embed-container .memo-wrapper>.memo-comment-wrapper>.memo-comment-list .memo-comment{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start}div[data-type=thino_view] .memo-wrapper>.memo-comment-wrapper>.memo-comment-list .memo-comment .memo-comment-time,.thino-hover-popover .memo-wrapper>.memo-comment-wrapper>.memo-comment-list .memo-comment .memo-comment-time,.block-language-thino .thino-embed-container .memo-wrapper>.memo-comment-wrapper>.memo-comment-list .memo-comment .memo-comment-time{font-size:var(--font-ui-smaller);line-height:24px;color:var(--memos-text-muted);flex-shrink:0;cursor:pointer}div[data-type=thino_view] .memo-wrapper>.memo-comment-wrapper>.memo-comment-list .memo-comment .memo-comment-text,.thino-hover-popover .memo-wrapper>.memo-comment-wrapper>.memo-comment-list .memo-comment .memo-comment-text,.block-language-thino .thino-embed-container .memo-wrapper>.memo-comment-wrapper>.memo-comment-list .memo-comment .memo-comment-text{width:100%;font-size:var(--font-ui-smaller)}div[data-type=thino_view] .memo-wrapper>.memo-comment-wrapper>.memo-comment-inputer>.common-editor-wrapper,.thino-hover-popover .memo-wrapper>.memo-comment-wrapper>.memo-comment-inputer>.common-editor-wrapper,.block-language-thino .thino-embed-container .memo-wrapper>.memo-comment-wrapper>.memo-comment-inputer>.common-editor-wrapper{border:1px solid var(--memos-bg-gray);margin-top:8px;border-radius:8px;padding-bottom:10px;padding-top:8px}div[data-type=thino_view] .memo-wrapper>.memo-comment-wrapper>.memo-comment-inputer>.common-editor-wrapper>.common-editor-inputer,.thino-hover-popover .memo-wrapper>.memo-comment-wrapper>.memo-comment-inputer>.common-editor-wrapper>.common-editor-inputer,.block-language-thino .thino-embed-container .memo-wrapper>.memo-comment-wrapper>.memo-comment-inputer>.common-editor-wrapper>.common-editor-inputer{font-size:var(--font-ui-smaller)}div[data-type=thino_view] .memo-wrapper>.memo-comment-wrapper .confirm-btn,.thino-hover-popover .memo-wrapper>.memo-comment-wrapper .confirm-btn,.block-language-thino .thino-embed-container .memo-wrapper>.memo-comment-wrapper .confirm-btn{transform:scale(.9)}.memo-context-menu{min-width:100px}.memo-context-menu .menu-item{gap:var(--size-4-3)}.minimal-thino div[data-type=thino_view] .common-editor-wrapper .common-editor-inputer,.minimal-thino .thino-editor-modal .common-editor-wrapper .common-editor-inputer{min-height:80px;max-height:300px}.minimal-thino aside.memos-sidebar-wrapper{display:none}.minimal-thino div[data-type=thino_view] #page-wrapper{justify-content:center}.minimal-thino div[data-type=thino_view] .section-header-container,.minimal-thino div[data-type=thino_view] .memos-header-container{display:none}.minimal-thino div[data-type=thino_view] #page-wrapper>.content-wrapper{padding-top:25%}.minimal-thino div[data-type=thino_view] .memo-wrapper>.memo-top-wrapper{display:none}.minimal-thino div[data-type=thino_view] .memo-wrapper{min-height:80px}.minimal-thino div[data-type=thino_view] .common-editor-wrapper>.common-tools-wrapper,.minimal-thino .thino-editor-modal .common-editor-wrapper>.common-tools-wrapper{display:none}.minimal-thino div[data-type=thino_view] .memolist-wrapper .memolist-container .list-view .masonry-memolist-grid_column>*:nth-child(1){opacity:1}.minimal-thino div[data-type=thino_view] .memolist-wrapper .memolist-container .list-view .masonry-memolist-grid_column>*:nth-child(2){opacity:.9}.minimal-thino div[data-type=thino_view] .memolist-wrapper .memolist-container .list-view .masonry-memolist-grid_column>*:nth-child(3){opacity:.6}.minimal-thino div[data-type=thino_view] .memolist-wrapper .memolist-container .list-view .masonry-memolist-grid_column>*:nth-child(4){opacity:.2}.minimal-thino div[data-type=thino_view] .memolist-wrapper .memolist-container .list-view .masonry-memolist-grid_column>*:nth-child(5){opacity:.1}.minimal-thino div[data-type=thino_view] .memolist-wrapper .memolist-container .list-view .masonry-memolist-grid_column>*:nth-child(n+6){opacity:.05}.minimal-thino div[data-type=thino_view] .memolist-wrapper .memolist-container .list-view .masonry-memolist-grid_column>*:nth-child(n):hover{opacity:1}div[data-type=thino_view] .usage-heat-map-wrapper,.block-language-thino .usage-heat-map-wrapper,.thino-canvas-menu .usage-heat-map-wrapper{display:flex;flex-direction:row;justify-content:center;align-items:center;width:100%;height:116px;padding-right:24px;padding-bottom:6px}div[data-type=thino_view] .usage-heat-map-wrapper:hover>.day-tip-text-container,.block-language-thino .usage-heat-map-wrapper:hover>.day-tip-text-container,.thino-canvas-menu .usage-heat-map-wrapper:hover>.day-tip-text-container{visibility:visible}div[data-type=thino_view] .usage-heat-map-wrapper>.day-tip-text-container,.block-language-thino .usage-heat-map-wrapper>.day-tip-text-container,.thino-canvas-menu .usage-heat-map-wrapper>.day-tip-text-container{display:flex;flex-direction:column;justify-content:space-between;align-items:center;width:24px;height:100%;padding-bottom:2px;flex-wrap:wrap;visibility:hidden}div[data-type=thino_view] .usage-heat-map-wrapper>.day-tip-text-container>.tip-text,.block-language-thino .usage-heat-map-wrapper>.day-tip-text-container>.tip-text,.thino-canvas-menu .usage-heat-map-wrapper>.day-tip-text-container>.tip-text{font-size:10px;line-height:16px;padding-right:2px;width:100%;text-align:right;color:gray;font-family:ubuntu-mono,SFMono-Regular,Menlo,Consolas,PT Mono,Liberation Mono,Courier,monospace}div[data-type=thino_view] .usage-heat-map-wrapper>.usage-heat-map,.block-language-thino .usage-heat-map-wrapper>.usage-heat-map,.thino-canvas-menu .usage-heat-map-wrapper>.usage-heat-map{width:192px;height:100%;flex-wrap:wrap;display:grid;grid-template-rows:repeat(7,1fr);grid-template-columns:repeat(12,1fr);grid-auto-flow:column;justify-items:center;align-items:center}div[data-type=thino_view] .usage-heat-map-wrapper>.usage-heat-map>.stat-container,.block-language-thino .usage-heat-map-wrapper>.usage-heat-map>.stat-container,.thino-canvas-menu .usage-heat-map-wrapper>.usage-heat-map>.stat-container{display:block;width:13px;height:13px;background-color:var(--memos-bg-lightgray);border-radius:var(--radius-s);margin-bottom:2px;cursor:pointer}div[data-type=thino_view] .usage-heat-map-wrapper>.usage-heat-map>.stat-container.null,.block-language-thino .usage-heat-map-wrapper>.usage-heat-map>.stat-container.null,.thino-canvas-menu .usage-heat-map-wrapper>.usage-heat-map>.stat-container.null{background-color:var(--memos-stat-day-L0-bg)}div[data-type=thino_view] .usage-heat-map-wrapper>.usage-heat-map>.stat-container.stat-day-L1-bg,.block-language-thino .usage-heat-map-wrapper>.usage-heat-map>.stat-container.stat-day-L1-bg,.thino-canvas-menu .usage-heat-map-wrapper>.usage-heat-map>.stat-container.stat-day-L1-bg{background-color:var(--memos-stat-day-L1-bg)}div[data-type=thino_view] .usage-heat-map-wrapper>.usage-heat-map>.stat-container.stat-day-L2-bg,.block-language-thino .usage-heat-map-wrapper>.usage-heat-map>.stat-container.stat-day-L2-bg,.thino-canvas-menu .usage-heat-map-wrapper>.usage-heat-map>.stat-container.stat-day-L2-bg{background-color:var(--memos-stat-day-L2-bg)}div[data-type=thino_view] .usage-heat-map-wrapper>.usage-heat-map>.stat-container.stat-day-L3-bg,.block-language-thino .usage-heat-map-wrapper>.usage-heat-map>.stat-container.stat-day-L3-bg,.thino-canvas-menu .usage-heat-map-wrapper>.usage-heat-map>.stat-container.stat-day-L3-bg{background-color:var(--memos-stat-day-L3-bg)}div[data-type=thino_view] .usage-heat-map-wrapper>.usage-heat-map>.stat-container.stat-day-L4-bg,.block-language-thino .usage-heat-map-wrapper>.usage-heat-map>.stat-container.stat-day-L4-bg,.thino-canvas-menu .usage-heat-map-wrapper>.usage-heat-map>.stat-container.stat-day-L4-bg{background-color:var(--memos-stat-day-L4-bg)}div[data-type=thino_view] .usage-heat-map-wrapper>.usage-heat-map>.stat-container.today,.block-language-thino .usage-heat-map-wrapper>.usage-heat-map>.stat-container.today,.thino-canvas-menu .usage-heat-map-wrapper>.usage-heat-map>.stat-container.today{border:1px solid var(--memos-text-black)}div[data-type=thino_view] .usage-heat-map-wrapper>.usage-detail-container,.block-language-thino .usage-heat-map-wrapper>.usage-detail-container,.thino-canvas-menu .usage-heat-map-wrapper>.usage-detail-container{position:absolute;left:0;top:0;margin-left:9px;transform:translate(-50%);margin-top:-36px;background-color:var(--memos-memo-bg-primary);color:var(--memos-text-hover);padding:6px 8px;border-radius:4px;font-size:var(--font-ui-smaller);line-height:1.6;z-index:2;-webkit-user-select:none;user-select:none;white-space:nowrap}div[data-type=thino_view] .usage-heat-map-wrapper>.usage-detail-container>.date-text,.block-language-thino .usage-heat-map-wrapper>.usage-detail-container>.date-text,.thino-canvas-menu .usage-heat-map-wrapper>.usage-detail-container>.date-text{color:var(--memos-text-hover)}div[data-type=thino_view] .usage-heat-map-wrapper>.usage-detail-container:before,.block-language-thino .usage-heat-map-wrapper>.usage-detail-container:before,.thino-canvas-menu .usage-heat-map-wrapper>.usage-detail-container:before{content:"";position:absolute;bottom:-4px;left:calc(50% - 6px);border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid var(--memos-memo-bg)}@media only screen and (max-width: 875px){div[data-type=thino_view] .usage-heat-map-wrapper,.block-language-thino .usage-heat-map-wrapper,.thino-canvas-menu .usage-heat-map-wrapper{height:160px;padding:12px 0 8px!important}div[data-type=thino_view] .usage-heat-map-wrapper>.day-tip-text-container,.block-language-thino .usage-heat-map-wrapper>.day-tip-text-container,.thino-canvas-menu .usage-heat-map-wrapper>.day-tip-text-container{visibility:visible;width:48px;padding-bottom:4px}div[data-type=thino_view] .usage-heat-map-wrapper>.day-tip-text-container>.tip-text,.block-language-thino .usage-heat-map-wrapper>.day-tip-text-container>.tip-text,.thino-canvas-menu .usage-heat-map-wrapper>.day-tip-text-container>.tip-text{padding-right:6px;font-size:var(--font-ui-smaller);line-height:unset!important}div[data-type=thino_view] .usage-heat-map-wrapper>.usage-heat-map,.block-language-thino .usage-heat-map-wrapper>.usage-heat-map,.thino-canvas-menu .usage-heat-map-wrapper>.usage-heat-map{width:var(--memos-sidebar-width)}div[data-type=thino_view] .usage-heat-map-wrapper>.usage-heat-map>.stat-container,.block-language-thino .usage-heat-map-wrapper>.usage-heat-map>.stat-container,.thino-canvas-menu .usage-heat-map-wrapper>.usage-heat-map>.stat-container{width:16px;height:16px;margin-bottom:4px}div[data-type=thino_view] .usage-heat-map-wrapper>.usage-detail-container,.block-language-thino .usage-heat-map-wrapper>.usage-detail-container,.thino-canvas-menu .usage-heat-map-wrapper>.usage-detail-container{margin-top:-32px;margin-left:16px;font-size:10px}div[data-type=thino_view] .usage-heat-map-wrapper>.usage-detail-container:before,.block-language-thino .usage-heat-map-wrapper>.usage-detail-container:before,.thino-canvas-menu .usage-heat-map-wrapper>.usage-detail-container:before{left:calc(50% - 4px)}}div[data-type=thino_view].mobile-view .usage-heat-map-wrapper,.is-phone .block-language-thino .usage-heat-map-wrapper,.is-phone .thino-canvas-menu .usage-heat-map-wrapper{height:160px;padding:12px 0 8px!important}div[data-type=thino_view].mobile-view .usage-heat-map-wrapper>.day-tip-text-container,.is-phone .block-language-thino .usage-heat-map-wrapper>.day-tip-text-container,.is-phone .thino-canvas-menu .usage-heat-map-wrapper>.day-tip-text-container{visibility:visible;width:48px;padding-bottom:4px}div[data-type=thino_view].mobile-view .usage-heat-map-wrapper>.day-tip-text-container>.tip-text,.is-phone .block-language-thino .usage-heat-map-wrapper>.day-tip-text-container>.tip-text,.is-phone .thino-canvas-menu .usage-heat-map-wrapper>.day-tip-text-container>.tip-text{padding-right:6px;font-size:var(--font-ui-smaller);line-height:unset!important}div[data-type=thino_view].mobile-view .usage-heat-map-wrapper>.usage-heat-map,.is-phone .block-language-thino .usage-heat-map-wrapper>.usage-heat-map,.is-phone .thino-canvas-menu .usage-heat-map-wrapper>.usage-heat-map{width:var(--memos-sidebar-width)}div[data-type=thino_view].mobile-view .usage-heat-map-wrapper>.usage-heat-map>.stat-container,.is-phone .block-language-thino .usage-heat-map-wrapper>.usage-heat-map>.stat-container,.is-phone .thino-canvas-menu .usage-heat-map-wrapper>.usage-heat-map>.stat-container{width:16px;height:16px;margin-bottom:4px}div[data-type=thino_view].mobile-view .usage-heat-map-wrapper>.usage-detail-container,.is-phone .block-language-thino .usage-heat-map-wrapper>.usage-detail-container,.is-phone .thino-canvas-menu .usage-heat-map-wrapper>.usage-detail-container{margin-top:-32px;margin-left:16px;font-size:10px}div[data-type=thino_view].mobile-view .usage-heat-map-wrapper>.usage-detail-container:before,.is-phone .block-language-thino .usage-heat-map-wrapper>.usage-detail-container:before,.is-phone .thino-canvas-menu .usage-heat-map-wrapper>.usage-detail-container:before{left:calc(50% - 4px)}div[data-type=thino_view] .usage-daily-progress-wrapper,.thino-canvas-menu .usage-daily-progress-wrapper{display:flex;align-items:center;justify-content:center;width:80%;margin-left:var(--size-4-6);gap:var(--size-2-2)}div[data-type=thino_view] .usage-daily-progress-wrapper .daily-progress-bar,.thino-canvas-menu .usage-daily-progress-wrapper .daily-progress-bar{width:100%;height:var(--size-2-3);background-color:var(--memos-bg-lightgray);border-radius:var(--memos-radius-m);overflow:hidden}div[data-type=thino_view] .usage-daily-progress-wrapper .daily-progress-bar .daily-progress-bar-inner,.thino-canvas-menu .usage-daily-progress-wrapper .daily-progress-bar .daily-progress-bar-inner{height:100%;background-color:var(--memos-stat-day-L1-bg)}div[data-type=thino_view] .usage-daily-progress-wrapper .daily-progress-target,.thino-canvas-menu .usage-daily-progress-wrapper .daily-progress-target{display:flex;align-items:center;justify-content:center;padding:var(--size-2-2);border-radius:var(--memos-radius-m);cursor:pointer;color:var(--memos-text-muted);--icon-size: 18px}div[data-type=thino_view] .usage-daily-progress-wrapper .daily-progress-target:hover,.thino-canvas-menu .usage-daily-progress-wrapper .daily-progress-target:hover{background-color:var(--memos-memo-bg-primary);color:var(--memos-accent-hover)}div[data-type=thino_view] .usage-daily-progress-wrapper .switch-calendar-type-btn,.thino-canvas-menu .usage-daily-progress-wrapper .switch-calendar-type-btn{display:flex;align-items:center;justify-content:center;padding:var(--size-2-2);border-radius:var(--memos-radius-m);cursor:pointer;color:var(--memos-text-muted);--icon-size: 18px}div[data-type=thino_view] .usage-daily-progress-wrapper .switch-calendar-type-btn:hover,.thino-canvas-menu .usage-daily-progress-wrapper .switch-calendar-type-btn:hover{background-color:var(--memos-memo-bg-primary);color:var(--memos-accent-hover)}div[data-type=thino_view].mobile-view .usage-daily-progress-wrapper,.is-phone .thino-canvas-menu .usage-daily-progress-wrapper{margin-left:0;width:100%;padding-left:var(--size-4-4)}.heatmap-date-picker-wrapper{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;width:100%;color:var(--memos-text-faint);border-radius:var(--memos-radius-m)}.heatmap-date-picker-wrapper>.date-picker-header{display:flex;flex-direction:row;justify-content:center;align-items:center;width:100%;color:var(--memos-text-muted)}.heatmap-date-picker-wrapper>.date-picker-header>.btn-text{width:24px;height:24px;border-radius:4px;cursor:pointer;-webkit-user-select:none;user-select:none;display:flex;align-items:center;justify-content:center;--icon-size: var(--size-4-4)}.heatmap-date-picker-wrapper>.date-picker-header>.btn-text>.icon-img{width:100%;height:auto}.heatmap-date-picker-wrapper>.date-picker-header>.btn-text:hover{background-color:var(--memos-bg-lightgray)}.heatmap-date-picker-wrapper>.date-picker-header>.normal-text{display:flex;gap:var(--size-2-2);margin:0 4px;line-height:24px;font-size:var(--thino-ui-small);position:relative}.heatmap-date-picker-wrapper>.date-picker-header>.normal-text>.btn{gap:var(--size-2-2)}.heatmap-date-picker-wrapper>.date-picker-header>.normal-text>.btn:hover{text-decoration:underline}.heatmap-date-picker-wrapper>.date-picker-header>.normal-text>.year-picker-wrapper{position:absolute;top:var(--size-4-6);left:0;width:140px;height:auto;padding:var(--size-4-2);background:var(--memos-more-action-bg);border-radius:var(--memos-radius-m);box-shadow:var(--memos-memo-shadow)}.heatmap-date-picker-wrapper>.date-picker-header>.normal-text>.year-picker-wrapper .year-picker-header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--memos-text-faint);padding-bottom:var(--size-2-2);padding-left:var(--size-4-3)}.heatmap-date-picker-wrapper>.date-picker-header>.normal-text>.year-picker-wrapper .year-picker-header .year-picker-header-btns{display:flex;flex-direction:row;align-items:center;justify-content:center}.heatmap-date-picker-wrapper>.date-picker-header>.normal-text>.year-picker-wrapper .year-picker-header .year-picker-header-btns>.btn{padding:var(--size-2-1);border-radius:var(--memos-radius-s);cursor:pointer}.heatmap-date-picker-wrapper>.date-picker-header>.normal-text>.year-picker-wrapper .year-picker-header .year-picker-header-btns>.btn:hover{background-color:var(--memos-bg-lightgray)}.heatmap-date-picker-wrapper>.date-picker-header>.normal-text>.year-picker-wrapper .year-picker-body{margin-top:var(--size-2-2)}.heatmap-date-picker-wrapper>.date-picker-header>.normal-text>.year-picker-wrapper .year-picker-body .year-picker-body-list{display:grid;grid-template-columns:repeat(2,1fr);justify-items:center;align-items:center;gap:var(--size-2-2)}.heatmap-date-picker-wrapper>.date-picker-header>.normal-text>.year-picker-wrapper .year-picker-body .year-picker-body-list .year-picker-body-item{padding:var(--size-2-2);cursor:pointer;width:100%;height:100%;text-align:center;border-radius:var(--memos-radius-m)}.heatmap-date-picker-wrapper>.date-picker-header>.normal-text>.year-picker-wrapper .year-picker-body .year-picker-body-list .year-picker-body-item.selected{border:2px dashed var(--memos-bg-accent)}.heatmap-date-picker-wrapper>.date-picker-header>.normal-text>.year-picker-wrapper .year-picker-body .year-picker-body-list .year-picker-body-item:hover{background-color:var(--memos-bg-lightgray)}.heatmap-date-picker-wrapper>.date-picker-header>.normal-text>.month-picker-wrapper{position:absolute;top:var(--size-4-6);left:0;width:120px;height:auto;padding:var(--size-4-2);background:var(--memos-more-action-bg);border-radius:var(--memos-radius-m);box-shadow:var(--memos-memo-shadow)}.heatmap-date-picker-wrapper>.date-picker-header>.normal-text>.month-picker-wrapper .month-picker-header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--memos-text-faint);padding-bottom:var(--size-2-2);padding-left:var(--size-4-3)}.heatmap-date-picker-wrapper>.date-picker-header>.normal-text>.month-picker-wrapper .month-picker-header .month-picker-header-btns{display:flex;flex-direction:row;align-items:center;justify-content:center}.heatmap-date-picker-wrapper>.date-picker-header>.normal-text>.month-picker-wrapper .month-picker-header .month-picker-header-btns>.btn{padding:var(--size-2-1);border-radius:var(--memos-radius-s);cursor:pointer}.heatmap-date-picker-wrapper>.date-picker-header>.normal-text>.month-picker-wrapper .month-picker-header .month-picker-header-btns>.btn:hover{background-color:var(--memos-bg-lightgray)}.heatmap-date-picker-wrapper>.date-picker-header>.normal-text>.month-picker-wrapper .month-picker-body{margin-top:var(--size-2-2)}.heatmap-date-picker-wrapper>.date-picker-header>.normal-text>.month-picker-wrapper .month-picker-body .month-picker-body-list{display:grid;grid-template-columns:repeat(2,1fr);justify-items:center;align-items:center;gap:var(--size-2-2)}.heatmap-date-picker-wrapper>.date-picker-header>.normal-text>.month-picker-wrapper .month-picker-body .month-picker-body-list .month-picker-body-item{padding:var(--size-2-2);cursor:pointer;width:100%;height:100%;text-align:center;border-radius:var(--memos-radius-m)}.heatmap-date-picker-wrapper>.date-picker-header>.normal-text>.month-picker-wrapper .month-picker-body .month-picker-body-list .month-picker-body-item.selected{border:2px dashed var(--memos-bg-accent)}.heatmap-date-picker-wrapper>.date-picker-header>.normal-text>.month-picker-wrapper .month-picker-body .month-picker-body-list .month-picker-body-item:hover{background-color:var(--memos-bg-lightgray)}.heatmap-date-picker-wrapper>.date-picker-day-container{display:flex;flex-direction:row;justify-content:flex-start;align-items:flex-start;width:100%;flex-wrap:wrap;padding:0 var(--size-4-4)}.heatmap-date-picker-wrapper>.date-picker-day-container>.date-picker-day-header{display:flex;flex-direction:row;justify-content:space-around;align-items:center;width:100%;color:var(--memos-text-muted)}.heatmap-date-picker-wrapper>.date-picker-day-container>.date-picker-day-header>.day-item{display:flex;flex-direction:column;justify-content:center;align-items:center;width:var(--size-4-6);height:var(--size-4-6);-webkit-user-select:none;user-select:none;font-size:11px;gap:var(--size-2-1)}.heatmap-date-picker-wrapper>.date-picker-day-container>.date-picker-day-content{display:grid;width:100%;grid-template-columns:repeat(7,1fr);gap:1px}.heatmap-date-picker-wrapper>.date-picker-day-container>.date-picker-day-content>.day-item{display:flex;flex-direction:column;justify-content:flex-start;align-items:center;padding-top:var(--size-2-2);width:100%;height:var(--size-4-8);border-radius:var(--memos-radius-m);font-size:var(--thino-ui-small);-webkit-user-select:none;user-select:none;cursor:pointer;margin:1px}.heatmap-date-picker-wrapper>.date-picker-day-container>.date-picker-day-content>.day-item.stat-day-L4-bg>.day-item-text{color:var(--memos-stat-day-L4-bg)}.heatmap-date-picker-wrapper>.date-picker-day-container>.date-picker-day-content>.day-item.stat-day-L3-bg>.day-item-text{color:var(--memos-stat-day-L3-bg)}.heatmap-date-picker-wrapper>.date-picker-day-container>.date-picker-day-content>.day-item.stat-day-L2-bg>.day-item-text{color:var(--memos-stat-day-L2-bg)}.heatmap-date-picker-wrapper>.date-picker-day-container>.date-picker-day-content>.day-item.stat-day-L1-bg>.day-item-text{color:var(--memos-stat-day-L1-bg)}.heatmap-date-picker-wrapper>.date-picker-day-container>.date-picker-day-content>.day-item>.day-item-dots{display:flex;flex-direction:row;justify-content:center;align-items:center}.heatmap-date-picker-wrapper>.date-picker-day-container>.date-picker-day-content>.day-item>.day-item-dots>.day-item-dot{width:3px;height:3px;border-radius:50%;background-color:var(--memos-text-hover);margin:0 2px}.heatmap-date-picker-wrapper>.date-picker-day-container>.date-picker-day-content>.day-item>.day-item-dots>.day-item-dot.stat-day-L4-bg{background-color:var(--memos-stat-day-L4-bg)}.heatmap-date-picker-wrapper>.date-picker-day-container>.date-picker-day-content>.day-item>.day-item-dots>.day-item-dot.stat-day-L3-bg{background-color:var(--memos-stat-day-L3-bg)}.heatmap-date-picker-wrapper>.date-picker-day-container>.date-picker-day-content>.day-item>.day-item-dots>.day-item-dot.stat-day-L2-bg{background-color:var(--memos-stat-day-L2-bg)}.heatmap-date-picker-wrapper>.date-picker-day-container>.date-picker-day-content>.day-item>.day-item-dots>.day-item-dot.stat-day-L1-bg{background-color:var(--memos-stat-day-L1-bg)}.heatmap-date-picker-wrapper>.date-picker-day-container>.date-picker-day-content>.day-item:hover{background-color:var(--memos-bg-lightgray)}.heatmap-date-picker-wrapper>.date-picker-day-container>.date-picker-day-content>.day-item.current{background-color:var(--memos-bg-light-blue);font-size:var(--thino-ui-small);color:var(--memos-text-blue);font-weight:700}.heatmap-date-picker-wrapper>.date-picker-day-container>.date-picker-day-content>.day-item.selected{outline:1px dashed var(--memos-bg-accent)}.heatmap-date-picker-wrapper>.date-picker-day-container>.date-picker-day-content>.day-item.null{background-color:unset;cursor:unset}.thino-hover-popover{display:flex;align-items:center;justify-content:center}.thino-hover-popover .thino-hover-popover-content{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:var(--size-4-2);width:92px;height:100%;font-size:var(--font-ui-small)}.thino-hover-popover .thino-hover-popover-content .thino-task-item{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:var(--size-4-2)}.thino-hover-popover .thino-hover-popover-content .thino-task-item .thino-task-item-title-text{font-size:11px}.thino-hover-popover .thino-hover-popover-content .thino-list-item{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:var(--size-4-2)}.thino-hover-popover .thino-hover-popover-content .thino-list-item .thino-list-item-title-text{font-size:11px}.thino-hover-popover .memo-wrapper{border:unset!important}.thino-hover-popover:has(.memo-wrapper){height:fit-content;width:400px}div[data-type=thino_view]:has(.filter-query-container.thino-hidden) .day-item.selected{outline:unset}div[data-type=thino_view].mobile-view .heatmap-date-picker-wrapper{padding-left:var(--size-2-2)}div[data-type=thino_view] .memolist-wrapper{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;flex-grow:1;width:100%;overflow-y:scroll;overflow-x:hidden;gap:8px}div[data-type=thino_view] .memolist-wrapper::-webkit-scrollbar{width:0;height:0;cursor:pointer}div[data-type=thino_view] .memolist-wrapper::-webkit-scrollbar-thumb{width:0;height:0;border-radius:8px;background-color:#d5d5d5}div[data-type=thino_view] .memolist-wrapper::-webkit-scrollbar-thumb:hover{background-color:#ccc}div[data-type=thino_view] .memolist-wrapper::-webkit-scrollbar{display:none}div[data-type=thino_view] .memolist-wrapper .memolist-container{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;flex-grow:1;width:100%;gap:8px}div[data-type=thino_view] .memolist-wrapper .memolist-container::-webkit-scrollbar{width:0;height:0;cursor:pointer}div[data-type=thino_view] .memolist-wrapper .memolist-container::-webkit-scrollbar-thumb{width:0;height:0;border-radius:8px;background-color:#d5d5d5}div[data-type=thino_view] .memolist-wrapper .memolist-container::-webkit-scrollbar-thumb:hover{background-color:#ccc}div[data-type=thino_view] .memolist-wrapper .memolist-container::-webkit-scrollbar{display:none}div[data-type=thino_view] .memolist-wrapper .status-text-container{display:flex;flex-direction:column;justify-content:flex-start;align-items:center;width:100%;margin-top:16px;margin-bottom:16px}div[data-type=thino_view] .memolist-wrapper .status-text-container.completed{margin-bottom:64px}div[data-type=thino_view] .memolist-wrapper .status-text-container.invisible{visibility:hidden}div[data-type=thino_view] .memolist-wrapper .status-text-container>.status-text{font-size:var(--font-ui-small);color:gray}div[data-type=thino_view].mobile-view .memolist-wrapper{padding:0 12px}div[data-type=thino_view].mobile-view .memolist-wrapper .memolist-container .list-view.masonry-memolist{width:100%}div[data-type=thino_view] .memolist-wrapper .memolist-container .masonry-memolist{transition:display .2s ease-in-out}div[data-type=thino_view] .memolist-wrapper .memolist-container .calendar-view{width:100%;height:100%;padding-top:1px}div[data-type=thino_view] .memolist-wrapper .memolist-container .chat-view{display:-webkit-box;display:-ms-flexbox;display:flex;flex-direction:column-reverse;width:auto;min-width:100%;max-width:100%;gap:var(--size-4-2)}div[data-type=thino_view] .memolist-wrapper .memolist-container .list-view.masonry-memolist{display:-webkit-box;display:-ms-flexbox;display:flex;width:auto;min-width:100%;max-width:100%}div[data-type=thino_view] .memolist-wrapper .memolist-container .list-view .masonry-memolist-grid_column{background-clip:padding-box;display:flex;gap:var(--size-4-2);flex-direction:column}div[data-type=thino_view] .memolist-wrapper .memolist-container .list-view .masonry-memolist-grid_column:not(:has(.day-mark~.day-mark)) .day-mark:not(.PINNED){display:none}div[data-type=thino_view] .memolist-wrapper .memolist-container .waterfall-view.masonry-memolist{display:-webkit-box;display:-ms-flexbox;display:flex;width:auto;min-width:100%;max-width:100%;gap:10px}div[data-type=thino_view] .memolist-wrapper .memolist-container .waterfall-view.masonry-memolist>.masonry-memolist-grid_column:first-child{margin-left:0}div[data-type=thino_view] .memolist-wrapper .memolist-container .waterfall-view .masonry-memolist-grid_column{background-clip:padding-box;width:calc((100% - 20px) / 3)!important}div[data-type=thino_view] .memolist-wrapper .memolist-container .waterfall-view .masonry-memolist-grid_column>div{margin-bottom:8px}div[data-type=thino_view] .memolist-wrapper .memolist-container .day-mark{display:flex;align-items:center;justify-content:center;color:var(--memos-text-faint);font-size:var(--font-ui-small);width:100%;cursor:pointer;min-height:var(--size-2-2);transition:height 1s ease-in-out}div[data-type=thino_view] .memolist-wrapper .memolist-container .day-mark .day-mark-text{color:var(--memos-text-faint);opacity:.7}div[data-type=thino_view] .memolist-wrapper .memolist-container .day-mark .day-mark-text:hover{color:var(--memos-text-muted);opacity:1}div[data-type=thino_view] .memolist-wrapper .memolist-container .day-mark:hover{color:var(--memos-text-muted)}div[data-type=thino_view] .memolist-wrapper .memolist-container .day-mark.folded:before,div[data-type=thino_view] .memolist-wrapper .memolist-container .day-mark.folded:after{content:"";flex:1;height:1px}div[data-type=thino_view] .memolist-wrapper .memolist-container .day-mark.folded:before{background:linear-gradient(to right,var(--thino-divider),var(--thino-divider-hover))}div[data-type=thino_view] .memolist-wrapper .memolist-container .day-mark.folded:after{background:linear-gradient(to right,var(--thino-divider-hover),var(--thino-divider))}div[data-type=thino_view] .memolist-wrapper .memolist-container .day-mark.folded:before{margin-right:10px;margin-left:var(--size-2-2)}div[data-type=thino_view] .memolist-wrapper .memolist-container .day-mark.folded:after{margin-left:10px;margin-right:var(--size-2-2)}div[data-type=thino_view] .memolist-wrapper .memolist-container:has(.day-mark+.waterfall-view) .day-mark{justify-content:flex-start;padding-left:var(--size-4-2)}div[data-type=thino_view] .memolist-wrapper .memolist-container:has(.day-mark+.waterfall-view) .day-mark .day-mark-text{color:var(--memos-text-faint);opacity:.7}div[data-type=thino_view] .memolist-wrapper .memolist-container:has(.day-mark+.waterfall-view) .day-mark .day-mark-text:hover{color:var(--memos-text-muted);opacity:1}div[data-type=thino_view] .memolist-wrapper .memolist-container:has(.day-mark+.waterfall-view) .day-mark:hover{color:var(--memos-text-muted)}div[data-type=thino_view] .memolist-wrapper .memolist-container:has(.day-mark+.waterfall-view) .day-mark.folded:before{content:unset;height:0;background:unset;margin-left:unset;margin-right:unset}div[data-type=thino_view] .memolist-wrapper .memolist-container:has(.day-mark+.waterfall-view) .day-mark.folded:after{content:"";flex:1;height:1px}div[data-type=thino_view] .memolist-wrapper .memolist-container:has(.day-mark+.waterfall-view) .day-mark.folded:after{background:linear-gradient(to right,var(--thino-divider-hover),var(--thino-divider))}div[data-type=thino_view] .memolist-wrapper .memolist-container:has(.day-mark+.waterfall-view) .day-mark.folded:after{margin-left:10px;margin-right:var(--size-2-2)}div[data-type=thino_view] .rbc-btn{color:inherit;font:inherit;margin:0}div[data-type=thino_view] .memos-calendar-view .memolist-container{height:100%}div[data-type=thino_view] .rbc-agenda-event-cell .memo-wrapper{padding:0;border:unset}div[data-type=thino_view] .calendar-view .thino-popup-container{height:fit-content;width:400px;z-index:99}div[data-type=thino_view] .calendar-view .thino-popup-container>.memo-wrapper{box-shadow:var(--memos-memo-shadow-s)}div[data-type=thino_view] .rbc-calendar{-webkit-box-sizing:border-box;box-sizing:border-box;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:center}div[data-type=thino_view] .rbc-calendar *,div[data-type=thino_view] .rbc-calendar:before,div[data-type=thino_view] .rbc-calendar:after{-webkit-box-sizing:inherit;box-sizing:inherit}div[data-type=thino_view] .rbc-calendar button{box-shadow:none}div[data-type=thino_view] .rbc-calendar button.rbc-btn{overflow:visible;text-transform:none;-webkit-appearance:button;cursor:pointer}div[data-type=thino_view] .rbc-calendar button.rbc-button-link{color:inherit;background:none;margin:0;padding:0;border:none;cursor:pointer;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}div[data-type=thino_view] .rbc-calendar button[disabled].rbc-btn{cursor:not-allowed}div[data-type=thino_view] .rbc-calendar button.rbc-input::-moz-focus-inner{border:0;padding:0}div[data-type=thino_view] .rbc-calendar .rbc-agenda-view{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-flex:1;-ms-flex:1 0 0px;flex:1 0 0;overflow:auto;padding-bottom:var(--size-2-1)}div[data-type=thino_view] .rbc-calendar .rbc-agenda-view .memo-content-text{overflow:hidden}div[data-type=thino_view] .rbc-calendar .rbc-agenda-view table .memo-wrapper{background-color:unset}div[data-type=thino_view] .rbc-calendar .rbc-agenda-view table.rbc-agenda-table{width:100%;border:1px solid var(--memos-bg-lightgray);background:var(--thino-background-primary);border-spacing:0;border-collapse:collapse}div[data-type=thino_view] .rbc-calendar .rbc-agenda-view table.rbc-agenda-table tbody>tr>td{padding:5px 10px;vertical-align:top}div[data-type=thino_view] .rbc-calendar .rbc-agenda-view table.rbc-agenda-table tbody>tr>td+td{border-left:1px solid var(--memos-bg-lightgray)}div[data-type=thino_view] .rbc-calendar .rbc-agenda-view table.rbc-agenda-table tbody>tr+tr{border-top:1px solid var(--memos-bg-lightgray)}div[data-type=thino_view] .rbc-calendar .rbc-agenda-view table.rbc-agenda-table thead>tr>th:not(.rbc-header){padding:3px 5px;text-align:left;border-bottom:1px solid var(--memos-bg-lightgray)}div[data-type=thino_view] .rbc-calendar .rbc-agenda-view table.rbc-agenda-table .rbc-agenda-time-cell{padding-left:15px;padding-right:15px;text-transform:lowercase;border-left:1px solid var(--memos-bg-lightgray)}div[data-type=thino_view] .rbc-calendar .rbc-agenda-view .rbc-agenda-empty{display:flex;align-items:center;justify-content:center;height:100%}div[data-type=thino_view] .rbc-rtl .rbc-agenda-view table.rbc-agenda-table tbody>tr>td+td{border-left-width:0;border-right:1px solid var(--memos-bg-lightgray)}div[data-type=thino_view] .rbc-rtl .rbc-agenda-view table.rbc-agenda-table thead>tr>th{text-align:right}div[data-type=thino_view] .rbc-abs-full,div[data-type=thino_view] .rbc-row-bg{overflow:hidden;position:absolute;top:0;left:0;right:0;bottom:0}div[data-type=thino_view] .rbc-ellipsis,div[data-type=thino_view] .rbc-show-more,div[data-type=thino_view] .rbc-row-segment .rbc-event-content,div[data-type=thino_view] .rbc-event-label{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}div[data-type=thino_view] .rbc-rtl{direction:rtl}div[data-type=thino_view] .rbc-off-range{color:#999}div[data-type=thino_view] .rbc-off-range-bg{background:var(--thino-background-secondary)}div[data-type=thino_view] .rbc-header{overflow:hidden;-webkit-box-flex:1;-ms-flex:1 0 0%;flex:1 0 0%;text-overflow:ellipsis;white-space:nowrap;padding:0 3px;text-align:center;vertical-align:middle;font-weight:700;font-size:90%;min-height:0;border-bottom:1px solid var(--memos-bg-lightgray)}div[data-type=thino_view] .rbc-header+.rbc-header{border-left:1px solid var(--memos-bg-lightgray)}div[data-type=thino_view] .rbc-rtl .rbc-header+.rbc-header{border-left-width:0;border-right:1px solid var(--memos-bg-lightgray)}div[data-type=thino_view] .rbc-header>a,div[data-type=thino_view] .rbc-header>a:active,div[data-type=thino_view] .rbc-header>a:visited{color:inherit;text-decoration:none}div[data-type=thino_view] .rbc-row-content{position:relative;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-select:none;z-index:4}div[data-type=thino_view] .rbc-row-content-scrollable{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:100%}div[data-type=thino_view] .rbc-row-content-scrollable .rbc-row-content-scroll-container{height:100%;overflow-y:scroll;-ms-overflow-style:none;scrollbar-width:none}div[data-type=thino_view] .rbc-row-content-scrollable .rbc-row-content-scroll-container::-webkit-scrollbar{display:none}div[data-type=thino_view] .rbc-today{background-color:var(--memos-memo-border)}div[data-type=thino_view] .rbc-toolbar{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:10px;font-size:16px;width:100%}div[data-type=thino_view] .rbc-toolbar .rbc-toolbar-label{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;padding:0 10px;text-align:center;position:relative}div[data-type=thino_view] .rbc-toolbar .rbc-toolbar-label>.calendar-btn{cursor:pointer;color:var(--memos-text-muted);margin:auto;width:fit-content}div[data-type=thino_view] .rbc-toolbar .rbc-toolbar-label>.calendar-btn:hover{color:var(--memos-text-faint)}div[data-type=thino_view] .rbc-toolbar .rbc-toolbar-label .menu-btns-popup{display:flex;flex-direction:row;justify-content:flex-start;align-items:flex-start;position:absolute;top:36px;left:calc(var(--size-4-8) * -1);padding:4px;width:auto;border-radius:8px;z-index:20;box-shadow:var(--memos-memo-shadow);background-color:var(--memos-memo-bg);margin-left:-92px}div[data-type=thino_view] .rbc-toolbar .rbc-toolbar-label .menu-btns-popup .quick-date-btn-group{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;height:100%;width:92px;font-size:var(--font-ui-smaller);gap:var(--size-4-2);padding-top:var(--size-4-2);padding-left:var(--size-2-2);padding-right:var(--size-2-2);color:var(--memos-text-muted)}div[data-type=thino_view] .rbc-toolbar .rbc-toolbar-label .menu-btns-popup .quick-date-btn-group>.quick-date-btn{width:100%;padding:var(--size-2-1);padding-top:var(--size-2-2);padding-bottom:var(--size-2-2);border-radius:var(--memos-radius-m)}div[data-type=thino_view] .rbc-toolbar .rbc-toolbar-label .menu-btns-popup .quick-date-btn-group>.quick-date-btn:hover{background:var(--memos-bg-lightgray)}div[data-type=thino_view] .rbc-toolbar .rbc-toolbar-label .menu-btns-popup .calendar-date-picker{background-color:var(--memos-memo-bg);padding:var(--size-2-2)}div[data-type=thino_view] .rbc-toolbar .rbc-toolbar-label .menu-btns-popup:has(.quick-date-btn-group) .calendar-date-picker{border-radius:unset;border-left:1px solid var(--memos-bg-lightgray)}div[data-type=thino_view] .rbc-toolbar button{color:var(--memos-text-muted);display:inline-flex;margin:0;text-align:center;vertical-align:middle;background:none;background-image:none;border:1px solid var(--memos-bg-lightgray);padding:.375rem 1rem;border-radius:4px;line-height:normal;white-space:nowrap}div[data-type=thino_view] .rbc-toolbar button:active,div[data-type=thino_view] .rbc-toolbar button.rbc-active{background-image:none;color:var(--memos-text-muted);background-color:var(--memos-memo-bg-primary);border-color:var(--memos-text-faint)}div[data-type=thino_view] .rbc-toolbar button:active+button,div[data-type=thino_view] .rbc-toolbar button.rbc-active+button{border-left:1px solid var(--memos-text-faint)}div[data-type=thino_view] .rbc-toolbar button:active:hover,div[data-type=thino_view] .rbc-toolbar button.rbc-active:hover{color:var(--memos-text-muted);background-color:var(--memos-memo-bg-primary);border-color:var(--memos-memo-border-hover)}div[data-type=thino_view] .rbc-toolbar button:active:focus,div[data-type=thino_view] .rbc-toolbar button.rbc-active:focus{color:var(--memos-text-muted);background-color:var(--memos-memo-bg-primary);border-color:var(--memos-text-faint)}div[data-type=thino_view] .rbc-toolbar button:focus{color:var(--memos-text-muted);background-color:var(--memos-memo-bg-primary);border-color:var(--memos-text-faint)}div[data-type=thino_view] .rbc-toolbar button:hover{color:var(--memos-text-muted);background-color:var(--memos-memo-bg-primary);border-color:var(--memos-text-faint)}div[data-type=thino_view] .rbc-btn-group{display:inline-block;white-space:nowrap}div[data-type=thino_view] .rbc-btn-group>button:first-child:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}div[data-type=thino_view] .rbc-btn-group>button:last-child:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}div[data-type=thino_view] .rbc-rtl .rbc-btn-group>button:first-child:not(:last-child){border-radius:0 4px 4px 0}div[data-type=thino_view] .rbc-rtl .rbc-btn-group>button:last-child:not(:first-child){border-radius:4px 0 0 4px}div[data-type=thino_view] .rbc-btn-group>button:not(:first-child):not(:last-child){border-radius:0}div[data-type=thino_view] .rbc-btn-group button+button{margin-left:-1px}div[data-type=thino_view] .rbc-rtl .rbc-btn-group button+button{margin-left:0;margin-right:-1px}div[data-type=thino_view] .rbc-btn-group+.rbc-btn-group,div[data-type=thino_view] .rbc-btn-group+button{margin-left:10px}@media (max-width: 767px){div[data-type=thino_view] .rbc-toolbar{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}}div[data-type=thino_view] .rbc-event,div[data-type=thino_view] .rbc-day-slot .rbc-background-event{border:none;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-box-shadow:none;margin:0;padding:2px 5px;background-color:var(--memos-bg-whitegray);border-radius:var(--memos-radius-s);color:var(--memos-text-muted);cursor:pointer;width:100%;text-align:left;box-shadow:var(--memos-memo-shadow)}div[data-type=thino_view] .rbc-event .rbc-event-renderer,div[data-type=thino_view] .rbc-day-slot .rbc-background-event .rbc-event-renderer{display:flex;flex-direction:row;align-items:flex-start;justify-content:flex-start;gap:var(--size-2-2);--icon-size: var(--size-4-4);font-size:var(--thino-ui-small)}div[data-type=thino_view] .rbc-event .rbc-event-renderer .rbc-event-icon-group,div[data-type=thino_view] .rbc-day-slot .rbc-background-event .rbc-event-renderer .rbc-event-icon-group{display:flex}div[data-type=thino_view] .rbc-event .rbc-event-renderer .rbc-event-icon-group .rbc-event-icon,div[data-type=thino_view] .rbc-day-slot .rbc-background-event .rbc-event-renderer .rbc-event-icon-group .rbc-event-icon{display:flex;align-items:center;justify-content:center}div[data-type=thino_view] .rbc-event .rbc-event-renderer .rbc-event-icon-group .rbc-event-icon:hover+.rbc-event-time.thino-hidden,div[data-type=thino_view] .rbc-day-slot .rbc-background-event .rbc-event-renderer .rbc-event-icon-group .rbc-event-icon:hover+.rbc-event-time.thino-hidden{display:flex!important}div[data-type=thino_view] .rbc-event .rbc-event-renderer .rbc-event-icon-group .rbc-event-time,div[data-type=thino_view] .rbc-day-slot .rbc-background-event .rbc-event-renderer .rbc-event-icon-group .rbc-event-time{position:absolute;margin-top:-24px;margin-left:-12px;padding:var(--size-2-1);padding-left:var(--size-4-2);padding-right:var(--size-4-2);background:var(--memos-bg-lightgray);border-radius:var(--radius-s);font-size:var(--thino-ui-small);box-shadow:var(--memos-memo-shadow)}div[data-type=thino_view] .rbc-event:focus,div[data-type=thino_view] .rbc-day-slot .rbc-background-event:focus{outline:5px auto var(--memos-text-faint)}div[data-type=thino_view] .rbc-event:hover,div[data-type=thino_view] .rbc-day-slot .rbc-background-event:hover{color:var(--memos-bg-black)}div[data-type=thino_view] .rbc-event:has(span[data-thino-type=JOURNAL]),div[data-type=thino_view] .rbc-day-slot .rbc-background-event:has(span[data-thino-type=JOURNAL]){background-color:var(--memos-bg-light-blue)}div[data-type=thino_view] .rbc-event:has(span[data-thino-type^=TASK]),div[data-type=thino_view] .rbc-day-slot .rbc-background-event:has(span[data-thino-type^=TASK]){background-color:var(--memos-bg-paper-yellow)}div[data-type=thino_view] .rbc-slot-selecting .rbc-event,div[data-type=thino_view] .rbc-slot-selecting .rbc-day-slot .rbc-background-event,div[data-type=thino_view] .rbc-day-slot .rbc-slot-selecting .rbc-background-event{cursor:inherit;pointer-events:none}div[data-type=thino_view] .rbc-event.rbc-selected,div[data-type=thino_view] .rbc-day-slot .rbc-selected.rbc-background-event{background-color:var(--memos-bg-lightgray);color:var(--memos-text-muted)}div[data-type=thino_view] .rbc-day-slot .rbc-background-event:focus{outline:5px auto #3b99fc}div[data-type=thino_view] .rbc-event-label{font-size:80%}div[data-type=thino_view] .rbc-event-overlaps{-webkit-box-shadow:-1px 1px 5px 0px rgba(51,51,51,.5);box-shadow:-1px 1px 5px #33333380}div[data-type=thino_view] .rbc-event-continues-prior{border-top-left-radius:0;border-bottom-left-radius:0}div[data-type=thino_view] .rbc-event-continues-after{border-top-right-radius:0;border-bottom-right-radius:0}div[data-type=thino_view] .rbc-event-continues-earlier{border-top-left-radius:0;border-top-right-radius:0}div[data-type=thino_view] .rbc-event-continues-later{border-bottom-left-radius:0;border-bottom-right-radius:0}div[data-type=thino_view] .rbc-row{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}div[data-type=thino_view] .rbc-row-segment{padding:0 1px 1px}div[data-type=thino_view] .rbc-selected-cell{background-color:#0000001a}div[data-type=thino_view] .rbc-show-more{background-color:#ffffff4d;z-index:4;font-weight:700;font-size:85%;height:auto;line-height:normal;color:#3174ad}div[data-type=thino_view] .rbc-show-more:hover,div[data-type=thino_view] .rbc-show-more:focus{color:#265985}div[data-type=thino_view] .rbc-month-view{position:relative;border:1px solid var(--memos-bg-lightgray);background:var(--thino-background-primary);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-flex:1;-ms-flex:1 0 0px;flex:1 0 0;width:100%;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-select:none;height:100%}div[data-type=thino_view] .rbc-month-header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}div[data-type=thino_view] .rbc-month-row{display:-webkit-box;display:-ms-flexbox;display:flex;position:relative;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-flex:1;-ms-flex:1 0 0px;flex:1 0 0;-ms-flex-preferred-size:0px;flex-basis:0px;overflow:hidden;height:100%}div[data-type=thino_view] .rbc-month-row+.rbc-month-row{border-top:1px solid var(--memos-bg-lightgray)}div[data-type=thino_view] .rbc-date-cell{-webkit-box-flex:1;-ms-flex:1 1 0px;flex:1 1 0;min-width:0;padding-right:5px;text-align:right}div[data-type=thino_view] .rbc-date-cell.rbc-now{font-weight:700}div[data-type=thino_view] .rbc-date-cell>a,div[data-type=thino_view] .rbc-date-cell>a:active,div[data-type=thino_view] .rbc-date-cell>a:visited{color:inherit;text-decoration:none}div[data-type=thino_view] .rbc-row-bg{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-flex:1;-ms-flex:1 0 0px;flex:1 0 0;overflow:hidden}div[data-type=thino_view] .rbc-day-bg{-webkit-box-flex:1;-ms-flex:1 0 0%;flex:1 0 0%}div[data-type=thino_view] .rbc-day-bg+.rbc-day-bg{border-left:1px solid var(--memos-bg-lightgray)}div[data-type=thino_view] .rbc-rtl .rbc-day-bg+.rbc-day-bg{border-left-width:0;border-right:1px solid var(--memos-bg-lightgray)}div[data-type=thino_view] .rbc-overlay{position:absolute;z-index:5;border:1px solid #e5e5e5;background-color:#fff;-webkit-box-shadow:0 5px 15px rgba(0,0,0,.25);box-shadow:0 5px 15px #00000040;padding:10px}div[data-type=thino_view] .rbc-overlay>*+*{margin-top:1px}div[data-type=thino_view] .rbc-overlay-header{border-bottom:1px solid #e5e5e5;margin:-10px -10px 5px;padding:2px 10px}div[data-type=thino_view] .rbc-agenda-time-cell{text-transform:lowercase}div[data-type=thino_view] .rbc-agenda-time-cell .rbc-continues-after:after{content:" »"}div[data-type=thino_view] .rbc-agenda-time-cell .rbc-continues-prior:before{content:"« "}div[data-type=thino_view] .rbc-agenda-date-cell,div[data-type=thino_view] .rbc-agenda-time-cell{white-space:nowrap}div[data-type=thino_view] .rbc-agenda-event-cell{width:100%}div[data-type=thino_view] .rbc-time-column{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;min-height:100%}div[data-type=thino_view] .rbc-time-column .rbc-timeslot-group{-webkit-box-flex:1;-ms-flex:1;flex:1}div[data-type=thino_view] .rbc-timeslot-group{border-bottom:1px solid var(--memos-bg-lightgray);min-height:40px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-flow:column nowrap;flex-flow:column nowrap}div[data-type=thino_view] .rbc-time-gutter,div[data-type=thino_view] .rbc-header-gutter{-webkit-box-flex:0;-ms-flex:none;flex:none}div[data-type=thino_view] .rbc-label{padding:0 5px}div[data-type=thino_view] .rbc-day-slot{position:relative}div[data-type=thino_view] .rbc-day-slot .rbc-events-container{bottom:0;left:0;position:absolute;right:0;margin-right:10px;top:0}div[data-type=thino_view] .rbc-day-slot .rbc-events-container.rbc-rtl{left:10px;right:0}div[data-type=thino_view] .rbc-day-slot .rbc-event,div[data-type=thino_view] .rbc-day-slot .rbc-background-event{border:1px solid var(--memos-bg-accent);display:-webkit-box;display:-ms-flexbox;display:flex;max-height:100%;min-height:20px;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-flow:column wrap;flex-flow:column wrap;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;overflow:hidden;position:absolute}div[data-type=thino_view] .rbc-day-slot .rbc-background-event{opacity:.75}div[data-type=thino_view] .rbc-day-slot .rbc-event-label{-webkit-box-flex:0;-ms-flex:none;flex:none;padding-right:5px;width:auto;display:none}div[data-type=thino_view] .rbc-day-slot .rbc-event-content{width:100%;-webkit-box-flex:1;-ms-flex:1 1 0px;flex:1 1 0;word-wrap:break-word;line-height:1;height:100%;min-height:1em}div[data-type=thino_view] .rbc-day-slot .rbc-time-slot{border-top:1px solid var(--memos-bg-lightgray)}div[data-type=thino_view] .rbc-time-view-resources .rbc-time-gutter,div[data-type=thino_view] .rbc-time-view-resources .rbc-time-header-gutter{position:sticky;left:0;background-color:#fff;border-right:1px solid var(--memos-bg-lightgray);z-index:10;margin-right:-1px}div[data-type=thino_view] .rbc-time-view-resources .rbc-time-header{overflow:hidden}div[data-type=thino_view] .rbc-time-view-resources .rbc-time-header-content{min-width:auto;-webkit-box-flex:1;-ms-flex:1 0 0px;flex:1 0 0;-ms-flex-preferred-size:0px;flex-basis:0px}div[data-type=thino_view] .rbc-time-view-resources .rbc-time-header-cell-single-day{display:none}div[data-type=thino_view] .rbc-time-view-resources .rbc-day-slot{min-width:140px}div[data-type=thino_view] .rbc-time-view-resources .rbc-header,div[data-type=thino_view] .rbc-time-view-resources .rbc-day-bg{width:140px;-webkit-box-flex:1;-ms-flex:1 1 0px;flex:1 1 0;-ms-flex-preferred-size:0px;flex-basis:0px}div[data-type=thino_view] .rbc-time-header-content+.rbc-time-header-content{margin-left:-1px}div[data-type=thino_view] .rbc-time-slot{-webkit-box-flex:1;-ms-flex:1 0 0px;flex:1 0 0}div[data-type=thino_view] .rbc-time-slot.rbc-now{font-weight:700}div[data-type=thino_view] .rbc-day-header{text-align:center}div[data-type=thino_view] .rbc-slot-selection{z-index:10;position:absolute;background-color:#00000080;color:#fff;font-size:75%;width:100%;padding:3px}div[data-type=thino_view] .rbc-slot-selecting{cursor:move}div[data-type=thino_view] .rbc-time-view{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-flex:1;-ms-flex:1 0 0;flex:1 0 0;width:100%;border:1px solid var(--memos-bg-lightgray);min-height:0}div[data-type=thino_view] .rbc-time-view .rbc-time-gutter{white-space:nowrap;text-align:right}div[data-type=thino_view] .rbc-time-view .rbc-allday-cell{-webkit-box-sizing:content-box;box-sizing:content-box;width:100%;height:100%;position:relative}div[data-type=thino_view] .rbc-time-view .rbc-allday-cell+.rbc-allday-cell{border-left:1px solid var(--memos-bg-lightgray)}div[data-type=thino_view] .rbc-time-view .rbc-allday-events{position:relative;z-index:4}div[data-type=thino_view] .rbc-time-view .rbc-row{-webkit-box-sizing:border-box;box-sizing:border-box;min-height:20px;height:var(--size-4-9)}div[data-type=thino_view] .rbc-time-header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;margin-right:0!important}div[data-type=thino_view] .rbc-time-header.rbc-overflowing{border-right:1px solid var(--memos-bg-lightgray)}div[data-type=thino_view] .rbc-rtl .rbc-time-header.rbc-overflowing{border-right-width:0;border-left:1px solid var(--memos-bg-lightgray)}div[data-type=thino_view] .rbc-time-header>.rbc-row:first-child{border-bottom:1px solid var(--memos-bg-lightgray)}div[data-type=thino_view] .rbc-time-header>.rbc-row.rbc-row-resource{border-bottom:1px solid var(--memos-bg-lightgray)}div[data-type=thino_view] .rbc-time-header-cell-single-day{display:none}div[data-type=thino_view] .rbc-time-header-content{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;min-width:0;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;border-left:1px solid var(--memos-bg-lightgray)}div[data-type=thino_view] .rbc-rtl .rbc-time-header-content{border-left-width:0;border-right:1px solid var(--memos-bg-lightgray)}div[data-type=thino_view] .rbc-time-header-content>.rbc-row.rbc-row-resource{border-bottom:1px solid var(--memos-bg-lightgray);-ms-flex-negative:0;flex-shrink:0}div[data-type=thino_view] .rbc-time-content{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1 0 0%;flex:1 0 0%;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;width:100%;border-top:2px solid var(--memos-bg-lightgray);overflow-y:auto;position:relative;padding-bottom:var(--size-4-2)}div[data-type=thino_view] .rbc-time-content::-webkit-scrollbar{display:none}div[data-type=thino_view] .rbc-time-content>.rbc-time-gutter{-webkit-box-flex:0;-ms-flex:none;flex:none}div[data-type=thino_view] .rbc-time-content>*+*>*{border-left:1px solid var(--memos-bg-lightgray)}div[data-type=thino_view] .rbc-rtl .rbc-time-content>*+*>*{border-left-width:0;border-right:1px solid var(--memos-bg-lightgray)}div[data-type=thino_view] .rbc-time-content>.rbc-day-slot{width:100%;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-select:none}div[data-type=thino_view] .rbc-current-time-indicator{position:absolute;z-index:3;left:0;right:0;height:1px;background-color:#74ad31;pointer-events:none}@media screen and (min-width: 1200px){.rbc-month-view{max-width:950px}}div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view .table-search-bar{padding:var(--size-4-2);font-size:var(--size-4-3);border:1px solid var(--memos-memo-border);margin-bottom:var(--size-4-2);width:200px}div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view>.table-nav-bar{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:var(--size-4-2)}div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view>.table-nav-bar>button.prev-start-btn,div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view>.table-nav-bar>button.next-end-btn{padding:var(--size-4-2);font-size:var(--size-4-4);border-radius:var(--memos-radius-m);box-shadow:var(--memos-memo-shadow-s);border:1px solid var(--memos-memo-border);cursor:pointer}div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view>.table-nav-bar>button.prev-start-btn:hover,div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view>.table-nav-bar>button.next-end-btn:hover{background-color:var(--memos-bg-lightgray)}div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view>.table-nav-bar>button.prev-btn,div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view>.table-nav-bar>button.next-btn{padding:var(--size-4-2);font-size:var(--size-4-4);border-radius:var(--memos-radius-m);box-shadow:var(--memos-memo-shadow-s);border:1px solid var(--memos-memo-border);cursor:pointer}div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view>.table-nav-bar>button.prev-btn:hover,div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view>.table-nav-bar>button.next-btn:hover{background-color:var(--memos-bg-lightgray)}div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view>.table-nav-bar>.table-page-info{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:var(--size-4-1)}div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view>.table-nav-bar>.table-page-info>input{padding:var(--size-4-2);font-size:var(--size-4-4);border-radius:var(--memos-radius-m);box-shadow:var(--memos-memo-shadow-s);border:1px solid var(--memos-memo-border)}div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view>.table-nav-bar>.table-page-info>button{padding:var(--size-4-2);font-size:var(--size-4-4);border-radius:var(--memos-radius-m);box-shadow:var(--memos-memo-shadow-s);border:1px solid var(--memos-memo-border)}div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view>.table-nav-bar>.table-page-jump>.jump-inputer{width:var(--size-4-16);padding:var(--size-4-2);font-size:var(--size-4-4);border-radius:var(--memos-radius-m);box-shadow:var(--memos-memo-shadow-s);border:1px solid var(--memos-memo-border)}div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view>table{border:1px solid var(--memos-bg-lightgray);background:var(--thino-background-primary)}div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view>table>tbody{border-bottom:1px solid var(--memos-bg-lightgray)}div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view>table>tbody>tr>td>span{width:fit-content;margin:auto;display:flex;justify-content:center}div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view>table>tbody>tr>td>span.pinned-status{--icon-size: 18px}div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view>table>tbody>tr>td>span.pinned-status.pinned{color:var(--memos-text-faint)}div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view>table>tbody>tr>td>span.pinned-status.pinned:hover{color:var(--memos-text-muted)}div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view>table>tbody>tr>td>span.pinned-status.not-pinned{visibility:hidden}div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view>table>tbody>tr>td>span.source-thino:hover{text-decoration:underline}div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view>table>tbody>tr>td>span.source-type-icon{padding:var(--size-2-2)}div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view>table>tbody>tr>td>span.source-type-icon:hover{background-color:var(--memos-bg-lightgray)}div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view>table>tbody>tr>td:hover span.pinned-status.not-pinned{visibility:visible}div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view>table>tbody>tr.pinned{background-color:var(--memos-bg-whitegray)}div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view>table>tbody td{border-bottom:1px solid var(--memos-bg-lightgray);border-right:1px solid var(--memos-bg-lightgray)}div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view>table>tbody td .memo-wrapper{padding:var(--size-4-2);padding-top:var(--size-2-1);padding-bottom:var(--size-2-1);border:unset;background-color:unset}div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view>table>tbody td .memo-wrapper:hover{border:unset}div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view>table>tbody td:has(input.thino-type-status){text-align:center}div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view>table>tbody td:has(input.thino-type-status) input[type=checkbox]{margin-inline-end:0}div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view th{border-bottom:1px solid var(--memos-bg-lightgray);border-right:1px solid var(--memos-bg-lightgray);padding:2px 4px;min-width:96px}div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view th:has(.thino-header-cell){min-width:120px}div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view th:has(.create-at-header-cell){min-width:144px}div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view th .table-header{color:var(--memos-text-muted)}div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view th .table-header:hover{color:var(--memos-text-faint)}div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view th .filter-header{cursor:pointer;-webkit-user-select:none;user-select:none;margin-bottom:var(--size-2-2)}div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view th .filter-input-group{display:flex;margin-right:var(--size-2-1)}div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view th .filter-input-group .filter-input-short{width:96px;border:1px solid var(--memos-bg-lightgray);border-radius:var(--memos-radius-m)}div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view th .filter-input-long{width:100%;min-width:144px;border:1px solid var(--memos-bg-lightgray);border-radius:var(--memos-radius-m)}div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view tfoot{color:gray}div[data-type=thino_view] .memolist-wrapper .memolist-container .table-view tfoot th{font-weight:400}div[data-type=thino_view] .memolist-wrapper .memolist-container:has(.table-view){overflow-x:scroll}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view:is(.fluent-style,.inline-style) .thino-bubble.right .wrap>.content:has(:is(.callout,img)){background:var(--memos-memo-bg);border:1px solid #98e970}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view:is(.fluent-style,.inline-style) .thino-bubble.right .wrap>.content:has(:is(.callout,img)):before{background:var(--memos-memo-bg);border-right:1px solid #98e970;border-bottom:1px solid #98e970}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view:is(.fluent-style,.inline-style) .thino-bubble.right .content .memo-content-text:has(:is(.callout,img))>*{color:unset}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view:is(.fluent-style,.inline-style) .thino-bubble.right .content .memo-content-text:has(:is(.callout,img)) a{color:var(--memos-text-hover)}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view:is(.fluent-style,.inline-style) .thino-bubble.right .content .memo-content-text a:hover{color:var(--memos-text-accent-hover);border-radius:var(--memos-radius-m);opacity:.6}div[data-type=thino_view] .memo-content-text .image-embed{display:inline-table;vertical-align:bottom;padding:4px}div[data-type=thino_view] .memo-content-text p .image-embed:only-child img:not([width]){width:auto;height:220px;max-width:100%;min-width:auto}div[data-type=thino_view] .memo-content-text p>.image-embed:only-of-type img:not([width]){width:auto;height:220px;max-width:100%;min-width:auto}div[data-type=thino_view] .memo-content-text div.image-embed img:only-child{width:auto;height:220px;max-width:100%;min-width:auto}div[data-type=thino_view] .memo-content-text .image-embed img:not([width]){width:auto;height:150px;max-width:150px;min-width:150px;object-fit:cover}div[data-type=thino_view] .view-content:not(.images-wrapper) .memo-content-text p>img:not([width]){max-width:25%;height:150px;display:inline-table;vertical-align:bottom;padding:4px}div[data-type=thino_view].mobile-view .view-content:not(.images-wrapper) .memo-content-text p>img:not([width]){max-width:150px}div[data-type=thino_view] .view-content:not(.images-wrapper) .memo-content-text p>img:not([width]):only-of-type{height:220px;max-width:100%;display:inline-table;vertical-align:bottom;object-fit:cover}div[data-type=thino_view] .memo-content-text>p>img+br{display:none}div[data-type=thino_view] .memo-content-text>p>.image-embed+br{display:none}div[data-type=thino_view] .memo-content-text>p br:last-child{display:inline}div[data-type=thino_view] .view-content:not(.images-wrapper) .markdown-source-view img:not([width]),.memo-editor-wrapper .markdown-source-view img:not([width]){max-width:70%;max-height:260px}div[data-type=thino_view] .chat-view:is(.fluent-style,.inline-style) .memo-content-text p a[href^="#收集"]{display:block;position:absolute;right:65px;top:calc(100% + 6px);font-size:var(--thino-ui-tiny);padding-top:2px;padding-bottom:2px;color:var(--tag-color)}div[data-type=thino_view] .chat-view:is(.default-style) .memo-content-text p a[href^="#收集"]{display:block;position:absolute;right:0;top:calc(100% + 4px);font-size:10px;padding-top:4px;padding-bottom:4px;color:var(--tag-color)}div[data-type=thino_view] .chat-view:is(.default-style) .wrap:has(a[href^="#收集"]){padding-bottom:14px}div[data-type=thino_view] .moments-view .memo-content-text p a[href^="#收集"]{display:block;position:absolute;left:220px;top:calc(100% - 31px);font-size:10px;padding-top:4px;padding-bottom:4px;color:var(--tag-color)}div[data-type=thino_view] .memo-content-text.markdown-rendered{position:unset}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view .thino-bubble.right .memo-content-text>p:has(img){text-align:right}div[data-type=thino_view] .memos-chat-view .content-wrapper{padding-bottom:var(--size-4-2)}div[data-type=thino_view].mobile-view .memolist-wrapper:has(.chat-view){padding-left:var(--size-2-2);padding-right:var(--size-2-2)}div[data-type=thino_view] #page-wrapper.memos-chat-view>.content-wrapper:has(.chat-view.inline-style,.chat-view.fluent-style) .memo-editor-wrapper{margin-top:25px}div[data-type=thino_view] .memos-chat-view:has(.chat-view.fluent-style) .content-wrapper>.memo-editor-wrapper{margin-top:25px}div[data-type=thino_view] .memos-chat-view:has(.chat-view.fluent-style) .content-wrapper>.memo-editor-wrapper.edit-ing .common-editor-wrapper>.common-tools-wrapper>.common-tools-container>.action-btn{top:-62px}div[data-type=thino_view] .memos-chat-view:has(.chat-view.fluent-style) .content-wrapper>.memo-editor-wrapper.edit-ing .common-editor-wrapper>.common-tools-wrapper>.btns-container>.cancel-btn{position:absolute;right:-88px;bottom:40px;border-radius:100%;height:45px;width:45px;padding:0 12px;background-color:var(--memos-text-red);color:var(--memos-editor-save-btn-color)}div[data-type=thino_view] .memos-chat-view:has(.chat-view.fluent-style) .content-wrapper>.memo-editor-wrapper.edit-ing .common-editor-wrapper>.common-tools-wrapper>.btns-container>.cancel-btn:before{content:"";display:inline-block;width:1.5em;height:1.5em;background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjwhRE9DVFlQRSBzdmcgIFBVQkxJQyAnLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4nICAnaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkJz48c3ZnIGhlaWdodD0iNTEycHgiIGlkPSJMYXllcl8xIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA1MTIgNTEyOyIgdmVyc2lvbj0iMS4xIiB2aWV3Qm94PSIwIDAgNTEyIDUxMiIgd2lkdGg9IjUxMnB4IiB4bWw6c3BhY2U9InByZXNlcnZlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj48cGF0aCBkPSJNNDQzLjYsMzg3LjFMMzEyLjQsMjU1LjRsMTMxLjUtMTMwYzUuNC01LjQsNS40LTE0LjIsMC0xOS42bC0zNy40LTM3LjZjLTIuNi0yLjYtNi4xLTQtOS44LTRjLTMuNywwLTcuMiwxLjUtOS44LDQgIEwyNTYsMTk3LjhMMTI0LjksNjguM2MtMi42LTIuNi02LjEtNC05LjgtNGMtMy43LDAtNy4yLDEuNS05LjgsNEw2OCwxMDUuOWMtNS40LDUuNC01LjQsMTQuMiwwLDE5LjZsMTMxLjUsMTMwTDY4LjQsMzg3LjEgIGMtMi42LDIuNi00LjEsNi4xLTQuMSw5LjhjMCwzLjcsMS40LDcuMiw0LjEsOS44bDM3LjQsMzcuNmMyLjcsMi43LDYuMiw0LjEsOS44LDQuMWMzLjUsMCw3LjEtMS4zLDkuOC00LjFMMjU2LDMxMy4xbDEzMC43LDEzMS4xICBjMi43LDIuNyw2LjIsNC4xLDkuOCw0LjFjMy41LDAsNy4xLTEuMyw5LjgtNC4xbDM3LjQtMzcuNmMyLjYtMi42LDQuMS02LjEsNC4xLTkuOEM0NDcuNywzOTMuMiw0NDYuMiwzODkuNyw0NDMuNiwzODcuMXoiLz48L3N2Zz4=);background-size:100% 100%;background-repeat:no-repeat}div[data-type=thino_view] .memos-chat-view:has(.chat-view.inline-style) .content-wrapper>.memo-editor-wrapper{margin-top:25px}div[data-type=thino_view] .memos-chat-view:has(.chat-view.inline-style) .content-wrapper>.memo-editor-wrapper.edit-ing .common-editor-wrapper>.common-tools-wrapper>.common-tools-container>.action-btn{top:-62px}div[data-type=thino_view] .memos-chat-view:has(.chat-view.inline-style) .content-wrapper>.memo-editor-wrapper.edit-ing .common-editor-wrapper>.common-tools-wrapper>.common-tools-container>.action-btn.location-wrapper{right:10rem}div[data-type=thino_view] .memos-chat-view:has(.chat-view.inline-style) .content-wrapper>.memo-editor-wrapper.edit-ing .common-editor-wrapper>.common-tools-wrapper>.common-tools-container>.action-btn.file-upload{right:6.6rem}div[data-type=thino_view] .memos-chat-view:has(.chat-view.inline-style) .content-wrapper>.memo-editor-wrapper.edit-ing .common-editor-wrapper>.common-tools-wrapper>.btns-container>.cancel-btn{border-radius:100%;height:45px;width:45px;padding:0 12px;background-color:var(--memos-text-red);color:var(--memos-editor-save-btn-color)}div[data-type=thino_view] .memos-chat-view:has(.chat-view.inline-style) .content-wrapper>.memo-editor-wrapper.edit-ing .common-editor-wrapper>.common-tools-wrapper>.btns-container>.cancel-btn:before{content:"";display:inline-block;width:1.5em;height:1.5em;background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjwhRE9DVFlQRSBzdmcgIFBVQkxJQyAnLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4nICAnaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkJz48c3ZnIGhlaWdodD0iNTEycHgiIGlkPSJMYXllcl8xIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA1MTIgNTEyOyIgdmVyc2lvbj0iMS4xIiB2aWV3Qm94PSIwIDAgNTEyIDUxMiIgd2lkdGg9IjUxMnB4IiB4bWw6c3BhY2U9InByZXNlcnZlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj48cGF0aCBkPSJNNDQzLjYsMzg3LjFMMzEyLjQsMjU1LjRsMTMxLjUtMTMwYzUuNC01LjQsNS40LTE0LjIsMC0xOS42bC0zNy40LTM3LjZjLTIuNi0yLjYtNi4xLTQtOS44LTRjLTMuNywwLTcuMiwxLjUtOS44LDQgIEwyNTYsMTk3LjhMMTI0LjksNjguM2MtMi42LTIuNi02LjEtNC05LjgtNGMtMy43LDAtNy4yLDEuNS05LjgsNEw2OCwxMDUuOWMtNS40LDUuNC01LjQsMTQuMiwwLDE5LjZsMTMxLjUsMTMwTDY4LjQsMzg3LjEgIGMtMi42LDIuNi00LjEsNi4xLTQuMSw5LjhjMCwzLjcsMS40LDcuMiw0LjEsOS44bDM3LjQsMzcuNmMyLjcsMi43LDYuMiw0LjEsOS44LDQuMWMzLjUsMCw3LjEtMS4zLDkuOC00LjFMMjU2LDMxMy4xbDEzMC43LDEzMS4xICBjMi43LDIuNyw2LjIsNC4xLDkuOCw0LjFjMy41LDAsNy4xLTEuMyw5LjgtNC4xbDM3LjQtMzcuNmMyLjYtMi42LDQuMS02LjEsNC4xLTkuOEM0NDcuNywzOTMuMiw0NDYuMiwzODkuNyw0NDMuNiwzODcuMXoiLz48L3N2Zz4=);background-size:100% 100%;background-repeat:no-repeat}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container{border-left:1px solid var(--memos-memo-border);border-right:1px solid var(--memos-memo-border);border-radius:var(--memos-radius-l);padding-top:var(--size-4-2)}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view .thino-chat-day-mark{display:flex;justify-content:center;align-items:center}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view .thino-chat-day-mark .day-mark-bubble{padding:4px 8px;border-radius:4px;background-color:var(--memos-bg-lightgray);color:var(--memos-text-muted);font-size:var(--font-ui-smaller);line-height:16px}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view .thino-bubble{padding:6px;overflow:hidden;position:relative}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view .thino-bubble .memo-wrapper{background-color:unset;border:unset;padding:var(--size-4-2)}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view .thino-bubble .memo-wrapper .memo-top-wrapper{display:none}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view .thino-bubble .memo-wrapper p{margin-block-start:0;margin-block-end:0}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view .thino-bubble .content:not(.task){width:auto;max-width:-webkit-fill-available;font-size:16px;border-radius:6px;border:1px solid;position:relative;display:inline-block}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view .thino-bubble .content:not(.task):before{content:"";display:inline-block;box-sizing:border-box;width:12px;height:12px;border:1px solid transparent;border-radius:3px;position:absolute;background-color:inherit;border-right-color:inherit;border-bottom-color:inherit}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view .thino-bubble .content.task{background:var(--memos-memo-bg);border-color:var(--divider-color);text-align:left;padding:.7em .5em;font-size:16px;border-radius:6px;border:1px solid;position:relative;display:inline-block}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view .thino-bubble .content.task:before{content:"";display:inline-block;box-sizing:border-box;width:12px;height:12px;border:1px solid transparent;border-radius:3px;position:absolute;background-color:inherit;border-right-color:inherit;border-bottom-color:inherit}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view .thino-bubble a.avatar,div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view .thino-bubble .icon-img{display:block;height:40px;width:40px;margin-top:var(--size-2-1);margin-right:var(--size-2-1);border-radius:2px;overflow:hidden;--icon-size: 20px}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view .thino-bubble a.avatar>img,div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view .thino-bubble .icon-img>img{width:100%;height:100%}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view .thino-bubble .icon-img{display:flex;justify-content:center;align-items:center;border-radius:9999px;border:1px solid var(--memos-memo-border);color:var(--memos-bg-accent)}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view .thino-bubble.left{text-align:left}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view .thino-bubble.left .content{background:#fafafa;border-color:#c6c6c6}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view .thino-bubble.left .content:before{left:-6px;top:16px;transform:rotate(135deg)}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view .thino-bubble.left a.avatar,div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view .thino-bubble.left .icon-img{float:left}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view .thino-bubble.left .wrap{margin-left:56px;margin-right:56px}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view .thino-bubble.right{text-align:right}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view .thino-bubble.right .content:not(.task){background:var(--memos-memo-bg);border-color:var(--divider-color);text-align:left}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view .thino-bubble.right .content:not(.task) .time-stamp{display:none;position:absolute;right:calc(100% + 4px);font-size:var(--font-ui-smaller);width:fit-content;text-align:right;text-wrap:nowrap;top:calc(100% - 14px);color:var(--memos-text-faint)}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view .thino-bubble.right .content:not(.task):before{right:-6px;top:16px;transform:rotate(-45deg)}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view .thino-bubble.right .content.task{display:inline-flex;align-items:center;padding:.2em .5em;border:1px solid var(--memos-bg-accent)}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view .thino-bubble.right .content.task .time-stamp{display:none;position:absolute;right:calc(100% + 4px);font-size:var(--font-ui-smaller);width:fit-content;text-align:right;text-wrap:nowrap;top:calc(100% - 14px);color:var(--memos-text-faint)}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view .thino-bubble.right .content.task .task-inputer{display:flex;justify-content:center;align-items:center;position:absolute;top:0;right:calc(100% + 8px)}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view .thino-bubble.right .content.task .task-inputer input[type=checkbox]{margin-inline-end:0}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view .thino-bubble.right .content.task:before{content:unset}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view .thino-bubble.right a.avatar,div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view .thino-bubble.right .icon-img{float:right;background-repeat:no-repeat;background-size:cover;background-position:center}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view .thino-bubble.right .wrap{margin-right:56px;margin-left:40px}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view .thino-bubble.right .wrap:hover .time-stamp{display:block}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view .thino-bubble:after{clear:both;content:""}div[data-type=thino_view] .memolist-wrapper.completed:has(.chat-view){padding-bottom:0}div[data-type=thino_view] .memolist-wrapper.completed:has(.chat-view) .status-text-container{display:none}div[data-type=thino_view] .memos-chat-view .memos-header-container{border-bottom:var(--memos-memo-border) 1px solid;padding-bottom:var(--size-2-2)}div[data-type=thino_view] .memos-chat-view .content-wrapper .memo-editor-wrapper .common-editor-inputer{min-height:80px;max-height:360px}div[data-type=thino_view] .memos-chat-view{--memos-bg-accent: #3db16b;--memos-bg-accent-cancel: #f44336;--memos-editor-save-btn-color: white}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view.inline-style .thino-bubble.right .wrap>.content{background:#98e970}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view.inline-style .thino-bubble.right .content.task{border-color:#98e970}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view.inline-style .thino-bubble.right .content.task .task-inputer{display:block;position:absolute;right:0;top:100%;line-height:1.7}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view.inline-style .thino-bubble.right .content.task .time-stamp{display:block;position:absolute;right:18px;top:100%;line-height:2.1}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view.inline-style .thino-bubble.right .content .memo-content-text>*{color:#000}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view.inline-style .thino-bubble.right .content .memo-content-text a{color:#205e3d}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view.inline-style .thino-bubble.right .content .memo-content-text a:hover{background-color:var(--memos-text-lightgray)}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view.inline-style .thino-bubble.right .content:not(.task) .time-stamp{display:block;position:absolute;right:0;top:100%;line-height:2.1}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view.inline-style .thino-bubble{padding-bottom:24px}div[data-type=thino_view] .memos-chat-view .chat-view.inline-style .task-inputer input[type=checkbox]{border:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='white' d='M3 6a3 3 0 0 1 3-3h8a3 3 0 0 1 3 3v8a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3zm3-2a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2z'/%3E%3C/svg%3E");filter:invert(50%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%)}div[data-type=thino_view] .memos-chat-view .chat-view.inline-style .task-inputer input[type=checkbox]:checked{border:none;background-image:url('data:image/svg+xml; utf8, ');background-color:unset;filter:invert(50%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%)}div[data-type=thino_view] .memos-chat-view .chat-view.inline-style .task-inputer input[type=checkbox]:checked:after{display:none}div[data-type=thino_view] .memos-chat-view .chat-view.inline-style .task-inputer input[type=checkbox]:hover{filter:invert(70%)}div[data-type=thino_view] .memos-chat-view:has(.chat-view.inline-style) .content-wrapper>.memo-editor-wrapper .common-editor-wrapper>.common-tools-wrapper>.btns-container>.confirm-btn>.icon-text{margin-left:0;display:inline-block;width:3em;height:3em;background-repeat:no-repeat;background-size:100% 100%;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='white' d='M15.964.686a.5.5 0 0 0-.65-.65L.767 5.855H.766l-.452.18a.5.5 0 0 0-.082.887l.41.26l.001.002l4.995 3.178l3.178 4.995l.002.002l.26.41a.5.5 0 0 0 .886-.083zm-1.833 1.89L6.637 10.07l-.215-.338a.5.5 0 0 0-.154-.154l-.338-.215l7.494-7.494l1.178-.471z'/%3E%3C/svg%3E")}div[data-type=thino_view] .memos-chat-view:has(.chat-view.inline-style) .content-wrapper>.memo-editor-wrapper .common-editor-wrapper>.common-tools-wrapper>.common-tools-container>.action-btn.file-upload{position:absolute;right:3rem;top:unset;cursor:pointer;border-radius:100%;height:45px;width:45px;padding:0 12px;background-color:var(--memos-text-lightgray);color:var(--memos-editor-save-btn-color);filter:none}div[data-type=thino_view] .memos-chat-view:has(.chat-view.inline-style) .content-wrapper>.memo-editor-wrapper .common-editor-wrapper>.common-tools-wrapper>.common-tools-container>.action-btn.location-wrapper{position:absolute;right:6rem;top:unset;cursor:pointer;border-radius:100%;height:45px;width:45px;padding:0 12px;background-color:var(--memos-text-lightgray);color:var(--memos-editor-save-btn-color);filter:none}div[data-type=thino_view] .memos-chat-view:has(.chat-view.inline-style) .content-wrapper>.memo-editor-wrapper .common-editor-wrapper>.common-tools-wrapper>.common-tools-container>.action-btn{position:absolute;filter:invert(50%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%);cursor:pointer;border-radius:100%;top:-40px;color:var(--memos-editor-save-btn-color)}div[data-type=thino_view] .memos-chat-view:has(.chat-view.inline-style) .content-wrapper>.memo-editor-wrapper .common-editor-wrapper>.common-tools-wrapper>.common-tools-container>.action-btn.add-tag{right:calc(100% - 10px)}div[data-type=thino_view] .memos-chat-view:has(.chat-view.inline-style) .content-wrapper>.memo-editor-wrapper .common-editor-wrapper>.common-tools-wrapper>.common-tools-container>.action-btn.list-or-task{right:calc(100% - 32px)}div[data-type=thino_view] .memos-chat-view:has(.chat-view.inline-style) .content-wrapper>.memo-editor-wrapper .common-editor-wrapper>.common-tools-wrapper>.common-tools-container>.action-btn.show-editor{right:calc(100% - 55px)}div[data-type=thino_view] .memos-chat-view:has(.chat-view.inline-style) .content-wrapper>.memo-editor-wrapper .common-editor-wrapper>.common-tools-wrapper>.common-tools-container>.action-btn.split-line{display:none}div[data-type=thino_view]:has(.chat-view.inline-style) .content-wrapper>.memo-editor-wrapper .common-editor-wrapper>.common-tools-wrapper>.btns-container>.confirm-btn{border-radius:100%;height:45px;width:45px}.theme-dark div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view.inline-style .thino-bubble.right .wrap>.content{background:#3eb575;border-color:#369e66}div[data-type=thino_view] .memos-chat-view:has(.chat-view.inline-style) .content-wrapper .memo-editor-wrapper .common-editor-inputer{min-height:80px;max-height:160px}div[data-type=thino_view] .memos-chat-view{--memos-bg-accent: #3db16b;--memos-editor-save-btn-color: white}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view.fluent-style .thino-bubble.right .wrap>.content{background:#98e970}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view.fluent-style .thino-bubble.right .content.task{border-color:#98e970}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view.fluent-style .thino-bubble.right .content.task .task-inputer{display:block;position:absolute;right:0;top:100%;line-height:1.7}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view.fluent-style .thino-bubble.right .content.task .time-stamp{display:block;position:absolute;right:18px;top:100%;line-height:2.1}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view.fluent-style .thino-bubble.right .content .memo-content-text>*{color:#000}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view.fluent-style .thino-bubble.right .content .memo-content-text a{color:#205e3d}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view.fluent-style .thino-bubble.right .content .memo-content-text a:hover{background-color:var(--memos-text-lightgray)}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view.fluent-style .thino-bubble.right .content:not(.task) .time-stamp{display:block;position:absolute;right:0;top:100%;line-height:2.1}div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view.fluent-style .thino-bubble{padding-bottom:24px}div[data-type=thino_view] .memos-chat-view .chat-view.fluent-style .task-inputer input[type=checkbox]{border:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='white' d='M3 6a3 3 0 0 1 3-3h8a3 3 0 0 1 3 3v8a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3zm3-2a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2z'/%3E%3C/svg%3E");filter:invert(50%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%)}div[data-type=thino_view] .memos-chat-view .chat-view.fluent-style .task-inputer input[type=checkbox]:checked{border:none;background-image:url('data:image/svg+xml; utf8, ');background-color:unset;filter:invert(50%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%)}div[data-type=thino_view] .memos-chat-view .chat-view.fluent-style .task-inputer input[type=checkbox]:checked:after{display:none}div[data-type=thino_view] .memos-chat-view .chat-view.fluent-style .task-inputer input[type=checkbox]:hover{filter:invert(70%)}div[data-type=thino_view] .memos-chat-view:has(.chat-view.fluent-style) .content-wrapper>.memo-editor-wrapper .common-editor-wrapper>.common-tools-wrapper>.btns-container>.confirm-btn>.icon-text{margin-left:0;display:inline-block;width:3em;height:3em;background-repeat:no-repeat;background-size:100% 100%;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='white' d='M15.964.686a.5.5 0 0 0-.65-.65L.767 5.855H.766l-.452.18a.5.5 0 0 0-.082.887l.41.26l.001.002l4.995 3.178l3.178 4.995l.002.002l.26.41a.5.5 0 0 0 .886-.083zm-1.833 1.89L6.637 10.07l-.215-.338a.5.5 0 0 0-.154-.154l-.338-.215l7.494-7.494l1.178-.471z'/%3E%3C/svg%3E")}div[data-type=thino_view] .memos-chat-view:has(.chat-view.fluent-style) .content-wrapper>.memo-editor-wrapper .common-editor-wrapper>.common-tools-wrapper>.common-tools-container>.action-btn{position:absolute;filter:invert(50%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%);cursor:pointer;border-radius:100%;top:-40px;color:var(--memos-editor-save-btn-color)}div[data-type=thino_view] .memos-chat-view:has(.chat-view.fluent-style) .content-wrapper>.memo-editor-wrapper .common-editor-wrapper>.common-tools-wrapper>.common-tools-container>.action-btn.add-tag{right:calc(100% - 10px)}div[data-type=thino_view] .memos-chat-view:has(.chat-view.fluent-style) .content-wrapper>.memo-editor-wrapper .common-editor-wrapper>.common-tools-wrapper>.common-tools-container>.action-btn.list-or-task{right:calc(100% - 32px)}div[data-type=thino_view] .memos-chat-view:has(.chat-view.fluent-style) .content-wrapper>.memo-editor-wrapper .common-editor-wrapper>.common-tools-wrapper>.common-tools-container>.action-btn.show-editor{right:calc(100% - 55px)}div[data-type=thino_view] .memos-chat-view:has(.chat-view.fluent-style) .content-wrapper>.memo-editor-wrapper .common-editor-wrapper>.common-tools-wrapper>.common-tools-container>.action-btn.split-line{display:none}div[data-type=thino_view] .memos-chat-view:has(.chat-view.fluent-style) .content-wrapper>.memo-editor-wrapper .common-editor-wrapper>.common-tools-wrapper>.common-tools-container>.action-btn.file-upload{right:calc(100% - 80px)}div[data-type=thino_view] .memos-chat-view:has(.chat-view.fluent-style) .content-wrapper>.memo-editor-wrapper .common-editor-wrapper>.common-tools-wrapper>.common-tools-container>.action-btn.location-wrapper{right:calc(100% - 110px);margin-top:-3px;background-color:unset;box-shadow:none}div[data-type=thino_view] .memos-chat-view:has(.chat-view.fluent-style) .content-wrapper>.memo-editor-wrapper .common-editor-wrapper>.common-tools-wrapper>.btns-container>.confirm-btn{position:absolute;right:-80px;bottom:-15px;border-radius:100%;height:45px;width:45px}.theme-dark div[data-type=thino_view] .memos-chat-view .memolist-wrapper .memolist-container .chat-view.fluent-style .thino-bubble.right .wrap>.content{background:#3eb575;border-color:#369e66}div[data-type=thino_view] .memos-chat-view .content-wrapper:has(.chat-view.fluent-style)>.memo-editor-wrapper .common-editor-inputer{min-height:80px;max-height:160px}div[data-type=thino_view] .memos-chat-view:has(.chat-view.fluent-style) .content-wrapper>.memo-editor-wrapper{width:calc(100% - 80px)}div[data-type=thino_view].mobile-view .memos-chat-view:has(.chat-view.fluent-style) .content-wrapper>.memo-editor-wrapper{margin-top:25px}div[data-type=thino_view].mobile-view .memos-chat-view:has(.chat-view.inline-style) .content-wrapper>.memo-editor-wrapper{margin-top:25px}div[data-type=thino_view] .memo-trash-wrapper{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;width:100%;height:100%;flex-grow:1;overflow-y:scroll}div[data-type=thino_view] .memo-trash-wrapper::-webkit-scrollbar{width:0;height:0;cursor:pointer}div[data-type=thino_view] .memo-trash-wrapper::-webkit-scrollbar-thumb{width:0;height:0;border-radius:8px;background-color:#d5d5d5}div[data-type=thino_view] .memo-trash-wrapper::-webkit-scrollbar-thumb:hover{background-color:#ccc}div[data-type=thino_view] .memo-trash-wrapper::-webkit-scrollbar{display:none}div[data-type=thino_view] .memo-trash-wrapper>.section-header-container{width:100%;height:40px;margin-bottom:var(--size-4-4);color:var(--memos-text-black)}div[data-type=thino_view] .memo-trash-wrapper>.section-header-container>.title-text{font-weight:700;font-size:var(--font-ui-medium);color:var(--memos-text-black)}div[data-type=thino_view] .memo-trash-wrapper>.section-header-container>.title-text>.go-home-btn{margin-left:8px;color:var(--memos-text-muted);background-color:var(--memos-memo-border);padding-left:6px;padding-right:6px;font-size:var(--font-ui-small);border-radius:4px;cursor:pointer}div[data-type=thino_view] .memo-trash-wrapper>.section-header-container>.title-text>.go-home-btn:hover{color:var(--memos-accent-hover)}div[data-type=thino_view] .memo-trash-wrapper>.section-header-container>.title-text>.menu-popup-btn{display:flex;justify-content:center;align-items:center;margin-left:8px}div[data-type=thino_view] .memo-trash-wrapper>.tip-text-container{width:100%;height:128px;display:flex;flex-direction:column;justify-content:center;align-items:center}div[data-type=thino_view] .memo-trash-wrapper>.deleted-memos-container{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;flex-grow:1;width:100%;overflow-y:scroll;color:var(--memos-text-black);padding-bottom:64px;gap:var(--size-4-2)}div[data-type=thino_view] .memo-trash-wrapper>.deleted-memos-container::-webkit-scrollbar{width:0;height:0;cursor:pointer}div[data-type=thino_view] .memo-trash-wrapper>.deleted-memos-container::-webkit-scrollbar-thumb{width:0;height:0;border-radius:8px;background-color:#d5d5d5}div[data-type=thino_view] .memo-trash-wrapper>.deleted-memos-container::-webkit-scrollbar-thumb:hover{background-color:#ccc}div[data-type=thino_view] .memo-trash-wrapper>.deleted-memos-container::-webkit-scrollbar{display:none}div[data-type=thino_view] .memo-trash-wrapper>.deleted-memos-container>.memo-wrapper>.memo-content-text{font-size:var(--font-ui-medium);line-height:24px}div[data-type=thino_view] .memo-trash-wrapper:has(.filter-query-container:not(.thino-hidden)) .menu-popup-btn{display:none}div[data-type=thino_view].mobile-view .deleted-memos-container{padding:0 12px}div[data-type=thino_view].mobile-view .memo-trash-wrapper{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;width:100%;height:100%;flex-grow:1;overflow-y:scroll}div[data-type=thino_view].mobile-view .memo-trash-wrapper::-webkit-scrollbar{width:0;height:0;cursor:pointer}div[data-type=thino_view].mobile-view .memo-trash-wrapper::-webkit-scrollbar-thumb{width:0;height:0;border-radius:8px;background-color:#d5d5d5}div[data-type=thino_view].mobile-view .memo-trash-wrapper::-webkit-scrollbar-thumb:hover{background-color:#ccc}div[data-type=thino_view].mobile-view .memo-trash-wrapper::-webkit-scrollbar{display:none}div[data-type=thino_view].mobile-view .memo-trash-wrapper>.section-header-container{width:100%;height:58px;margin-bottom:0}div[data-type=thino_view].mobile-view .memo-trash-wrapper>.section-header-container>.title-text{font-weight:700;font-size:var(--font-ui-medium);color:var(--memos-text-black)}div[data-type=thino_view] .memo-trash-wrapper .memo-wrapper{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;width:100%;padding:12px 18px;background-color:var(--memos-memo-bg);border-radius:8px;border:1px solid var(--memos-memo-border)}div[data-type=thino_view] .memo-trash-wrapper .memo-wrapper:hover{border-color:var(--memos-bg-gray)}div[data-type=thino_view] .memo-trash-wrapper .memo-wrapper>.memo-top-wrapper{display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%;height:24px}div[data-type=thino_view] .memo-trash-wrapper .memo-wrapper>.memo-top-wrapper>.time-text{font-size:var(--font-ui-small);line-height:24px;color:var(--memos-text-muted);flex-shrink:0;cursor:pointer}div[data-type=thino_view] .memo-trash-wrapper .memo-wrapper>.memo-top-wrapper>.btns-container{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;position:relative;flex-shrink:0}div[data-type=thino_view] .memo-trash-wrapper .memo-wrapper>.memo-top-wrapper>.btns-container>.more-action-btns-wrapper{display:flex;flex-direction:column;justify-content:flex-start;align-items:center;position:absolute;flex-wrap:nowrap;top:calc(100% - 14px);right:-16px;width:auto;height:auto;padding:12px;z-index:1;display:none;min-width:140px}div[data-type=thino_view] .memo-trash-wrapper .memo-wrapper>.memo-top-wrapper>.btns-container>.more-action-btns-wrapper:hover{display:flex}div[data-type=thino_view] .memo-trash-wrapper .memo-wrapper>.memo-top-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container{display:flex;width:100%;height:auto;padding:var(--size-4-2);white-space:nowrap;border-radius:8px;background-color:var(--memos-memo-bg);box-shadow:var(--memos-memo-shadow);z-index:1;flex-direction:column}div[data-type=thino_view] .memo-trash-wrapper .memo-wrapper>.memo-top-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item{display:flex;justify-content:flex-start;align-items:center;gap:var(--size-2-2);padding-left:var(--size-4-2);padding-right:var(--size-4-2)}div[data-type=thino_view] .memo-trash-wrapper .memo-wrapper>.memo-top-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item>.more-action-item-icon{display:flex}div[data-type=thino_view] .memo-trash-wrapper .memo-wrapper>.memo-top-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item>.more-action-item-icon>svg{height:var(--size-4-4)}div[data-type=thino_view] .memo-trash-wrapper .memo-wrapper>.memo-top-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item>.btn{width:100%;padding:8px 0 8px 6px;border-radius:4px;height:unset;line-height:unset;justify-content:flex-start}div[data-type=thino_view] .memo-trash-wrapper .memo-wrapper>.memo-top-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item>.btn.delete-btn{color:var(--memos-text-red)}div[data-type=thino_view] .memo-trash-wrapper .memo-wrapper>.memo-top-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item>.btn.delete-btn:hover{color:var(--memos-text-light-red)}div[data-type=thino_view] .memo-trash-wrapper .memo-wrapper>.memo-top-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item>.btn.delete-btn.final-confirm{font-weight:700}div[data-type=thino_view] .memo-trash-wrapper .memo-wrapper>.memo-top-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item.archive-menu-item,div[data-type=thino_view] .memo-trash-wrapper .memo-wrapper>.memo-top-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item.delete-menu-item{color:var(--memos-text-red)}div[data-type=thino_view] .memo-trash-wrapper .memo-wrapper>.memo-top-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item.archive-menu-item:hover,div[data-type=thino_view] .memo-trash-wrapper .memo-wrapper>.memo-top-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item.delete-menu-item:hover{color:var(--memos-text-light-red)}div[data-type=thino_view] .memo-trash-wrapper .memo-wrapper>.memo-top-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item:hover{background-color:var(--memos-bg-lightgray)}div[data-type=thino_view] .memo-trash-wrapper .memo-wrapper>.memo-top-wrapper>.btns-container .btn{display:flex;flex-direction:row;justify-content:center;align-items:center;width:100%;height:var(--size-4-6);font-size:var(--font-ui-small);border-radius:4px}div[data-type=thino_view] .memo-trash-wrapper .memo-wrapper>.memo-top-wrapper>.btns-container .btn:hover{background-color:var(--memos-bg-lightgray)}div[data-type=thino_view] .memo-trash-wrapper .memo-wrapper>.memo-top-wrapper>.btns-container .btn.more-action-btn{width:28px;cursor:unset;margin-right:-6px;opacity:.8}div[data-type=thino_view] .memo-trash-wrapper .memo-wrapper>.memo-top-wrapper>.btns-container .btn.more-action-btn>.icon-img{width:16px;height:16px}div[data-type=thino_view] .memo-trash-wrapper .memo-wrapper>.memo-top-wrapper>.btns-container .btn.more-action-btn:hover{background-color:unset}div[data-type=thino_view] .memo-trash-wrapper .memo-wrapper>.memo-top-wrapper>.btns-container .btn.more-action-btn:hover+.more-action-btns-wrapper{display:flex}div[data-type=thino_view] .memo-trash-wrapper .memo-wrapper>.memo-content-text{width:100%}div[data-type=thino_view] .memo-trash-wrapper .memo-wrapper>.images-wrapper{display:flex;flex-direction:row;justify-content:flex-start;align-items:flex-start;margin-top:8px;width:100%;overflow-x:auto;overflow-y:hidden;padding-bottom:4px}div[data-type=thino_view] .memo-trash-wrapper .memo-wrapper>.images-wrapper::-webkit-scrollbar{width:0;height:2px;cursor:pointer}div[data-type=thino_view] .memo-trash-wrapper .memo-wrapper>.images-wrapper::-webkit-scrollbar-thumb{width:0;height:2px;border-radius:8px;background-color:#d5d5d5}div[data-type=thino_view] .memo-trash-wrapper .memo-wrapper>.images-wrapper::-webkit-scrollbar-thumb:hover{background-color:#ccc}div[data-type=thino_view] .memo-trash-wrapper .memo-wrapper>.images-wrapper>.memo-img{margin-right:8px;width:auto;height:128px;flex-shrink:0;flex-grow:0;overflow-y:hidden}div[data-type=thino_view] .memo-trash-wrapper .memo-wrapper>.images-wrapper>.memo-img::-webkit-scrollbar{width:0;height:0;cursor:pointer}div[data-type=thino_view] .memo-trash-wrapper .memo-wrapper>.images-wrapper>.memo-img::-webkit-scrollbar-thumb{width:0;height:0;border-radius:8px;background-color:#d5d5d5}div[data-type=thino_view] .memo-trash-wrapper .memo-wrapper>.images-wrapper>.memo-img::-webkit-scrollbar-thumb:hover{background-color:#ccc}div[data-type=thino_view] .memo-trash-wrapper .memo-wrapper>.images-wrapper>.memo-img::-webkit-scrollbar{display:none}div[data-type=thino_view] .memo-trash-wrapper .memo-wrapper>.images-wrapper>.memo-img:hover{border-color:var(--memos-memo-border)}div[data-type=thino_view] .memo-trash-wrapper .memo-wrapper>.images-wrapper>.memo-img:last-child{margin-right:0}div[data-type=thino_view] .memo-trash-wrapper .memo-wrapper>.images-wrapper>.memo-img>img{width:auto;max-height:128px;border-radius:8px}.selector-wrapper{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;position:relative;height:28px;color:var(--memos-text-hover)}.selector-wrapper>.current-value-container{display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%;height:100%;border:1px solid var(--memos-bg-gray);border-radius:4px;padding:0 4px 0 8px;background-color:var(--memos-memo-bg);cursor:pointer;-webkit-user-select:none;user-select:none}.selector-wrapper>.current-value-container:hover,.selector-wrapper>.current-value-container.active{background-color:var(--memos-bg-whitegray)}.selector-wrapper>.current-value-container.active>.arrow-text{transform:rotate(90deg)}.selector-wrapper>.current-value-container>.value-text{margin-right:0;font-size:var(--font-ui-small);line-height:32px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:calc(100% - 20px)}.selector-wrapper>.current-value-container>.arrow-text{display:flex;flex-direction:row;justify-content:center;align-items:center;width:16px;flex-shrink:0}.selector-wrapper>.current-value-container>.arrow-text>.icon-img{width:16px;height:auto;opacity:.6;transform:rotate(90deg)}.selector-wrapper>.items-wrapper{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;position:absolute;top:100%;left:0;width:auto;min-width:calc(100% + 16px);max-height:256px;padding:4px;overflow:auto;margin-top:2px;margin-left:-8px;z-index:1;background-color:var(--memos-memo-bg);border-radius:8px;box-shadow:var(--memos-memo-shadow)}.selector-wrapper>.items-wrapper::-webkit-scrollbar{width:0;height:0;cursor:pointer}.selector-wrapper>.items-wrapper::-webkit-scrollbar-thumb{width:0;height:0;border-radius:8px;background-color:#d5d5d5}.selector-wrapper>.items-wrapper::-webkit-scrollbar-thumb:hover{background-color:#ccc}.selector-wrapper>.items-wrapper::-webkit-scrollbar{display:none}.selector-wrapper>.items-wrapper>.item-container{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;width:100%;padding-left:12px;line-height:30px;white-space:nowrap;font-size:var(--font-ui-small);cursor:pointer;border-radius:4px;-webkit-user-select:none;user-select:none}.selector-wrapper>.items-wrapper>.item-container:hover{background-color:var(--memos-bg-whitegray)}.selector-wrapper>.items-wrapper>.item-container.selected{color:var(--memos-text-green)}.create-query-dialog>.dialog-container{width:420px}.create-query-dialog>.dialog-container>.dialog-content-container{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start}.create-query-dialog>.dialog-container>.dialog-content-container>.form-item-container{display:flex;flex-direction:row;justify-content:flex-start;align-items:flex-start;width:100%;margin-top:8px;padding:4px 0}.create-query-dialog>.dialog-container>.dialog-content-container>.form-item-container>.normal-text{display:block;flex-shrink:0;width:40px;margin-right:12px;text-align:right;color:gray;font-size:var(--font-ui-small);line-height:32px}.create-query-dialog>.dialog-container>.dialog-content-container>.form-item-container>.title-input{width:100%;padding:0 8px;font-size:var(--font-ui-small);line-height:32px;border-radius:4px;border:1px solid var(--memos-bg-gray);resize:none}.create-query-dialog>.dialog-container>.dialog-content-container>.form-item-container>.filters-wrapper{width:calc(100% - 56px);display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start}.create-query-dialog>.dialog-container>.dialog-content-container>.form-item-container>.filters-wrapper>.create-filter-btn{color:var(--memos-text-green);font-size:var(--font-ui-small);line-height:32px;cursor:pointer}.create-query-dialog>.dialog-container>.dialog-footer-container{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;width:100%;margin-top:0}.create-query-dialog>.dialog-container>.dialog-footer-container>.btns-container{display:flex;flex-direction:row;justify-content:flex-start;align-items:center}.create-query-dialog>.dialog-container>.dialog-footer-container>.btns-container>.btn{padding:6px 16px;font-size:var(--font-ui-small);border-radius:4px}.create-query-dialog>.dialog-container>.dialog-footer-container>.btns-container>.btn:hover{color:var(--memos-text-hover);background-color:var(--memos-bg-accent)}.create-query-dialog>.dialog-container>.dialog-footer-container>.btns-container>.btn.save-btn{background-color:var(--interactive-normal);color:var(--memos-text-muted)}.create-query-dialog>.dialog-container>.dialog-footer-container>.btns-container>.btn.save-btn:hover{color:var(--memos-text-hover);background-color:var(--memos-bg-accent)}.create-query-dialog>.dialog-container>.dialog-footer-container>.btns-container>.btn.mod-cta{background-color:var(--interactive-normal);margin-right:var(--size-4-2)}.create-query-dialog>.dialog-container>.dialog-footer-container>.btns-container>.btns-group-container{display:flex;flex-direction:row;justify-content:flex-start;align-items:center}.create-query-dialog>.dialog-container>.dialog-footer-container>.btns-container>.btns-group-container>.tip-text{font-size:var(--font-ui-small);color:gray;margin-right:8px;white-space:nowrap}.create-query-dialog>.dialog-container>.dialog-footer-container>.btns-container>.btns-group-container>.btn{padding:6px 16px;font-size:var(--font-ui-small);border-radius:4px}.create-query-dialog>.dialog-container>.dialog-footer-container>.btns-container>.btns-group-container>.btn:hover{opacity:.8}.create-query-dialog>.dialog-container>.dialog-footer-container>.btns-container>.btns-group-container>.btn.disabled{color:var(--memos-text-muted);cursor:not-allowed}.create-query-dialog>.dialog-container>.dialog-footer-container>.btns-container>.btns-group-container>.btn.save-btn{background-color:var(--memos-bg-accent);color:var(--memos-text-hover)}.create-query-dialog>.dialog-container>.dialog-footer-container>.btns-container>.btns-group-container>.btn.save-btn.requesting{cursor:wait;opacity:.8}.create-query-dialog>.dialog-container>.dialog-footer-container>.btns-container>.btns-group-container>.btn.mod-cta{margin-right:var(--size-4-2)}.memo-filter-input-wrapper{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;width:100%;margin-top:8px;flex-shrink:0}.memo-filter-input-wrapper:first-of-type{margin-top:0}.memo-filter-input-wrapper>.selector-wrapper{margin-right:4px;height:34px;flex-grow:0;flex-shrink:0}.memo-filter-input-wrapper>.selector-wrapper.relation-selector{width:48px;margin-left:-52px}.memo-filter-input-wrapper>.selector-wrapper.type-selector{width:62px}.memo-filter-input-wrapper>.selector-wrapper.operator-selector{width:62px}.memo-filter-input-wrapper>.selector-wrapper.value-selector{flex-grow:1;max-width:calc(100% - 152px)}.memo-filter-input-wrapper>input.value-inputer{max-width:calc(100% - 152px);height:34px;padding:0 8px;flex-shrink:0;flex-grow:1;margin-right:4px;border-radius:4px;border:1px solid var(--memos-bg-gray);background-color:transparent}.memo-filter-input-wrapper>input.value-inputer:hover{background-color:var(--memos-bg-lightgray)}.memo-filter-input-wrapper>input.value-inputer:has(+input.value-inputer){max-width:20%!important}.memo-filter-input-wrapper>input.value-inputer:has(+input.value-inputer)+input.value-inputer{max-width:32%!important}.memo-filter-input-wrapper>.date-inputer{position:relative}.memo-filter-input-wrapper>.date-inputer>.calendar-btn{position:absolute;left:var(--size-4-2);top:var(--size-4-2);width:16px;height:auto;cursor:pointer;opacity:.8;margin-right:var(--size-4-2)}.memo-filter-input-wrapper>.date-inputer>.calendar-btn:hover{opacity:.6}.memo-filter-input-wrapper>.date-inputer .menu-btns-popup{display:flex;flex-direction:row;justify-content:flex-start;align-items:flex-start;position:absolute;top:36px;left:calc(var(--size-4-8) * -1);padding:4px;width:auto;border-radius:8px;z-index:20;box-shadow:var(--memos-memo-shadow);background-color:var(--memos-memo-bg)}.memo-filter-input-wrapper>.date-inputer .menu-btns-popup .quick-date-btn-group{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;height:100%;width:92px;font-size:var(--font-ui-smaller);gap:var(--size-4-2);padding-top:var(--size-4-2);padding-left:var(--size-2-2);padding-right:var(--size-2-2);color:var(--memos-text-muted)}.memo-filter-input-wrapper>.date-inputer .menu-btns-popup .quick-date-btn-group>.quick-date-btn{width:100%;padding:var(--size-2-1);padding-top:var(--size-2-2);padding-bottom:var(--size-2-2);border-radius:var(--memos-radius-m)}.memo-filter-input-wrapper>.date-inputer .menu-btns-popup .quick-date-btn-group>.quick-date-btn:hover{background:var(--memos-bg-lightgray)}.memo-filter-input-wrapper>.date-inputer .menu-btns-popup .calendar-date-picker{background-color:var(--memos-memo-bg);padding:var(--size-2-2)}.memo-filter-input-wrapper>.date-inputer .menu-btns-popup:has(.quick-date-btn-group) .calendar-date-picker{border-radius:unset;border-left:1px solid var(--memos-bg-lightgray)}.memo-filter-input-wrapper>.date-inputer>input.value-inputer{max-width:calc(100% - var(--size-2-2));height:34px;padding-left:var(--size-4-8);padding-right:var(--size-4-2);flex-shrink:0;flex-grow:1;margin-right:calc(var(--size-2-2) * -1);border-radius:4px;border:1px solid var(--memos-bg-gray);background-color:transparent}.memo-filter-input-wrapper>.date-inputer>input.value-inputer:hover{background-color:var(--memos-bg-lightgray)}.memo-filter-input-wrapper>.remove-btn{width:16px;height:auto;cursor:pointer;opacity:.8}.memo-filter-input-wrapper>.remove-btn:hover{opacity:.6}@media only screen and (max-width: 875px){.dialog-wrapper.create-query-dialog{padding:64px 16px 24px;justify-content:unset;overflow-x:hidden}.dialog-wrapper.create-query-dialog::-webkit-scrollbar{display:none}}.theme-dark .create-query-dialog>.dialog-container>.dialog-content-container>.form-item-container>.filters-wrapper>.create-filter-btn{color:var(--memos-text-light-red)}.theme-dark .create-query-dialog>.dialog-container>.dialog-footer-container>.btns-container>.btn.save-btn{background-color:var(--memos-bg-accent);color:var(--memos-memo-bg)}div[data-type=thino_view] .queries-wrapper{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;width:100%;padding:0 8px;height:auto;flex-wrap:nowrap}div[data-type=thino_view] .queries-wrapper::-webkit-scrollbar{width:0;height:0;cursor:pointer}div[data-type=thino_view] .queries-wrapper::-webkit-scrollbar-thumb{width:0;height:0;border-radius:8px;background-color:#d5d5d5}div[data-type=thino_view] .queries-wrapper::-webkit-scrollbar-thumb:hover{background-color:#ccc}div[data-type=thino_view] .queries-wrapper::-webkit-scrollbar{display:none}div[data-type=thino_view] .queries-wrapper>.title-text{display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%;padding:4px 16px;margin-bottom:4px}div[data-type=thino_view] .queries-wrapper>.title-text>*{font-size:var(--font-ui-smaller);line-height:24px;color:var(--memos-text-black);opacity:.5}div[data-type=thino_view] .queries-wrapper>.title-text>.create-query-btn{display:none}div[data-type=thino_view] .queries-wrapper>.title-text:hover>.create-query-btn,div[data-type=thino_view] .queries-wrapper>.title-text:active>.create-query-btn{display:flex;align-items:center;justify-content:center;color:var(--memos-accent-hover);cursor:pointer}div[data-type=thino_view] .queries-wrapper>.create-query-btn-container{display:flex;flex-direction:row;justify-content:center;align-items:center;width:100%;margin-top:8px;margin-bottom:12px}div[data-type=thino_view] .queries-wrapper>.create-query-btn-container>.btn{display:flex;padding:4px 8px;border:1px dashed var(--memos-bg-blue);border-radius:8px;font-size:var(--font-ui-small)}div[data-type=thino_view] .queries-wrapper>.create-query-btn-container>.btn:hover{background-color:var(--memos-bg-light-blue);color:var(--memos-text-hover)}div[data-type=thino_view] .queries-wrapper>.queries-container{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;position:relative;width:100%;height:auto;flex-wrap:nowrap;margin-bottom:8px}div[data-type=thino_view] .queries-wrapper>.queries-container>.query-item-container{display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%;height:40px;padding:0 16px;margin-top:4px;border-radius:8px;font-size:var(--thino-ui-small);cursor:pointer;flex-shrink:0;-webkit-user-select:none;user-select:none}div[data-type=thino_view] .queries-wrapper>.queries-container>.query-item-container:hover{background-color:var(--thino-modifier-hover)}div[data-type=thino_view] .queries-wrapper>.queries-container>.query-item-container:hover>.btns-container{display:flex}div[data-type=thino_view] .queries-wrapper>.queries-container>.query-item-container.active>.query-text-container{font-weight:700}div[data-type=thino_view] .queries-wrapper>.queries-container>.query-item-container.active>.query-text-container>*{color:var(--memos-text-green)}div[data-type=thino_view] .queries-wrapper>.queries-container>.query-item-container>.query-text-container{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;max-width:calc(100% - 24px);color:var(--memos-text-black);overflow:hidden;text-overflow:ellipsis;flex-shrink:0;line-height:20px}div[data-type=thino_view] .queries-wrapper>.queries-container>.query-item-container>.query-text-container>.icon-text{display:flex;justify-content:center;align-items:center;flex-shrink:0;margin-right:var(--size-4-2);--icon-size: 16px}div[data-type=thino_view] .queries-wrapper>.queries-container>.query-item-container>.query-text-container>.query-text{flex-shrink:0}div[data-type=thino_view] .queries-wrapper>.queries-container>.query-item-container>.btns-container{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;display:none}div[data-type=thino_view] .queries-wrapper>.queries-container>.query-item-container>.btns-container>.action-btn{display:flex;flex-direction:row;justify-content:center;align-items:center;width:24px;height:24px;flex-shrink:0}div[data-type=thino_view] .queries-wrapper>.queries-container>.query-item-container>.btns-container>.action-btn>.icon-img{width:18px;height:auto}div[data-type=thino_view] .queries-wrapper>.queries-container>.query-item-container>.btns-container>.action-btns-wrapper{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;position:absolute;right:0;width:auto;height:auto;padding:8px;transform:translateY(60px);z-index:1}div[data-type=thino_view] .queries-wrapper>.queries-container>.query-item-container>.btns-container>.action-btns-wrapper>.action-btns-container{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;width:86px;height:auto;white-space:nowrap;border-radius:6px;padding:4px;background-color:var(--memos-memo-bg);box-shadow:var(--memos-memo-shadow)}div[data-type=thino_view] .queries-wrapper>.queries-container>.query-item-container>.btns-container>.action-btns-wrapper>.action-btns-container>.btn{display:flex;flex-direction:row;justify-content:center;align-items:center;gap:var(--size-4-2);width:100%;padding:6px 0;border-radius:4px;font-size:var(--font-ui-small);height:unset;line-height:unset;text-align:left;--icon-size: var(--size-4-4)}div[data-type=thino_view] .queries-wrapper>.queries-container>.query-item-container>.btns-container>.action-btns-wrapper>.action-btns-container>.btn .icon-text{display:flex;flex-direction:row;justify-content:center;align-items:center}div[data-type=thino_view] .queries-wrapper>.queries-container>.query-item-container>.btns-container>.action-btns-wrapper>.action-btns-container>.btn:hover{background-color:var(--memos-bg-whitegray)}div[data-type=thino_view] .queries-wrapper>.queries-container>.query-item-container>.btns-container>.action-btns-wrapper>.action-btns-container>.btn.delete-btn{color:var(--memos-text-red)}div[data-type=thino_view] .queries-wrapper>.queries-container>.query-item-container>.btns-container>.action-btns-wrapper>.action-btns-container>.btn.delete-btn.final-confirm{font-weight:700}div[data-type=thino_view].mobile-view .queries-wrapper{padding-left:var(--size-2-2)}div[data-type=thino_view].mobile-view .queries-container{height:auto}div[data-type=thino_view].mobile-view .queries-container:last-child{flex-grow:1}div[data-type=thino_view].mobile-view .queries-container>.title-text{font-size:var(--font-ui-small);margin-bottom:4px}div[data-type=thino_view].mobile-view .queries-container>.query-item-container{font-size:var(--font-ui-medium)}div[data-type=thino_view] .tags-wrapper{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;width:100%;height:auto;flex-wrap:nowrap;padding:0 8px 16px;flex-grow:1}div[data-type=thino_view] .tags-wrapper::-webkit-scrollbar{width:0;height:0;cursor:pointer}div[data-type=thino_view] .tags-wrapper::-webkit-scrollbar-thumb{width:0;height:0;border-radius:8px;background-color:#d5d5d5}div[data-type=thino_view] .tags-wrapper::-webkit-scrollbar-thumb:hover{background-color:#ccc}div[data-type=thino_view] .tags-wrapper::-webkit-scrollbar{display:none}div[data-type=thino_view] .tags-wrapper>.tags-header{display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%;padding:4px 16px;font-size:var(--font-ui-smaller);line-height:24px;color:var(--memos-text-muted);margin-bottom:4px}div[data-type=thino_view] .tags-wrapper>.tags-header>.tags-sort-btn{display:flex;flex-direction:row;justify-content:center;align-items:center;cursor:pointer;-webkit-user-select:none;user-select:none;width:var(--size-4-5);height:var(--size-4-5);padding:var(--size-2-1);border-radius:var(--memos-radius-m);opacity:0}div[data-type=thino_view] .tags-wrapper>.tags-header:hover>.tags-sort-btn{opacity:.5}div[data-type=thino_view] .tags-wrapper>.tags-header:hover>.tags-sort-btn:hover{background:var(--memos-bg-lightgray)}div[data-type=thino_view] .tags-wrapper>.tags-container{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;position:relative;width:100%;height:auto;flex-wrap:nowrap;margin-bottom:8px}div[data-type=thino_view] .tags-wrapper>.tags-container .subtags-container{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;width:calc(100% - 18px);min-width:80px;height:auto;margin-top:4px;margin-left:18px;border-left:2px solid var(--memos-bg-gray)}div[data-type=thino_view] .tags-wrapper>.tags-container .subtags-container>.tag-item-container:first-child{margin-top:0}div[data-type=thino_view] .tags-wrapper>.tags-container .tag-item-container{display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%;height:fit-content;min-height:40px;padding:0 14px;margin-left:var(--size-2-1);margin-top:4px;border-radius:8px;font-size:var(--thino-ui-small);cursor:pointer;flex-shrink:0;-webkit-user-select:none;user-select:none;gap:var(--size-4-2)}div[data-type=thino_view] .tags-wrapper>.tags-container .tag-item-container:hover{background-color:var(--thino-modifier-hover)}div[data-type=thino_view] .tags-wrapper>.tags-container .tag-item-container.active>.tag-text-container>*{color:var(--memos-text-green);font-weight:700}div[data-type=thino_view] .tags-wrapper>.tags-container .tag-item-container>.tag-text-container{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;color:var(--memos-text-black);overflow:hidden;text-overflow:ellipsis;line-height:20px}div[data-type=thino_view] .tags-wrapper>.tags-container .tag-item-container>.tag-text-container>.tag-btn{display:flex;align-items:center;justify-content:center;margin-right:var(--size-4-2);flex-shrink:0;--icon-size: 14px}div[data-type=thino_view] .tags-wrapper>.tags-container .tag-item-container>.tag-text-container>.tag-text{word-wrap:break-word;overflow:hidden;text-overflow:ellipsis}div[data-type=thino_view] .tags-wrapper>.tags-container .tag-item-container>.btns-container{display:flex;flex-direction:row;justify-content:flex-end;align-items:center}div[data-type=thino_view] .tags-wrapper>.tags-container .tag-item-container>.btns-container>.action-btn{display:flex;flex-direction:row;justify-content:center;align-items:center;flex-shrink:0;transition:all .1s linear;transform:rotate(0);margin-right:-8px;margin-left:var(--size-2-2)}div[data-type=thino_view] .tags-wrapper>.tags-container .tag-item-container>.btns-container>.action-btn.shown{transform:rotate(90deg)}div[data-type=thino_view] .tags-wrapper>.tags-container>.tag-tip-container{width:100%;margin-top:8px;padding-left:16px;font-size:var(--font-ui-smaller);line-height:1.6;color:gray}div[data-type=thino_view] .tags-wrapper>.tags-container>.tag-tip-container>.code-text{color:var(--memos-text-blue);padding:4px;margin:0 2px;white-space:pre-line;background-color:var(--memos-bg-light-blue);border-radius:4px}.rename-tag-dialog>.dialog-container{width:320px}.rename-tag-dialog>.dialog-container>.dialog-content-container{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start}.rename-tag-dialog>.dialog-container>.dialog-content-container>.tag-text{margin-bottom:8px;font-size:var(--thino-ui-small)}.rename-tag-dialog>.dialog-container>.dialog-content-container>.text-input{width:100%;padding:8px 12px;border:1px solid var(--memos-text-lightgray);border-radius:4px;font-size:var(--thino-ui-small);margin-bottom:12px}.rename-tag-dialog>.dialog-container>.dialog-content-container>.btns-container{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;width:100%}.rename-tag-dialog>.dialog-container>.dialog-content-container>.btns-container>.btn-text{font-size:var(--thino-ui-small);margin-left:12px;cursor:pointer}.rename-tag-dialog>.dialog-container>.dialog-content-container>.btns-container>.btn-text:hover{opacity:.8}.rename-tag-dialog>.dialog-container>.dialog-content-container>.btns-container>.btn-text.cancel-btn{color:var(--memos-text-gray)}.rename-tag-dialog>.dialog-container>.dialog-content-container>.btns-container>.btn-text.confirm-btn{background-color:var(--memos-text-green);color:var(--memos-text-hover);padding:4px 12px;border-radius:4px}div[data-type=thino_view].mobile-view .tags-wrapper,div[data-type=thino_view].mobile-view .tags-wrapper-mobile-emulate{background-color:var(--memos-memo-bg);padding-left:var(--size-2-2)}div[data-type=thino_view].mobile-view .tags-wrapper>.tags-container,div[data-type=thino_view].mobile-view .tags-wrapper-mobile-emulate>.tags-container{height:auto}div[data-type=thino_view].mobile-view .tags-wrapper>.tags-container:last-child,div[data-type=thino_view].mobile-view .tags-wrapper-mobile-emulate>.tags-container:last-child{flex-grow:1}.mobile-view .rename-tag-dialog,.mobile-view .rename-tag-dialog-mobile-emulate{padding-top:64px}div[data-type=thino_view] .classic .memos-sidebar-wrapper .user-banner-container .userinfo-header-container{padding-right:var(--size-4-4)}.memos-sidebar-wrapper{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;width:var(--memos-sidebar-width);height:100%;padding-top:24px;overflow-x:hidden;overflow-y:auto;flex-shrink:0;gap:var(--size-2-1)}.memos-sidebar-wrapper::-webkit-scrollbar{width:0;height:0;cursor:pointer}.memos-sidebar-wrapper::-webkit-scrollbar-thumb{width:0;height:0;border-radius:8px;background-color:#d5d5d5}.memos-sidebar-wrapper::-webkit-scrollbar-thumb:hover{background-color:#ccc}.memos-sidebar-wrapper::-webkit-scrollbar{display:none}.memos-sidebar-wrapper>*{flex-shrink:0}.memos-sidebar-wrapper-display{display:none;flex-direction:column;justify-content:flex-start;align-items:flex-start;width:var(--memos-sidebar-width);height:100%;padding:16px 0;overflow-x:hidden;overflow-y:auto;flex-shrink:0}.mobile-show-sidebar .mobile-view #page-wrapper>.memos-sidebar-wrapper{transform:translate(0);box-shadow:var(--memos-memo-shadow)}.mobile-view .memos-sidebar-wrapper{display:flex;flex-direction:column;justify-content:flex-start;align-items:center;z-index:99;position:absolute;top:0;left:0;width:310px;height:100%;padding:0;background-color:var(--memos-memo-bg);transition:all .4s ease;transform:translate(-340px)}.mobile-view .memos-sidebar-wrapper>*,.mobile-view .memos-sidebar-wrapper .queries-wrapper,.mobile-view .memos-sidebar-wrapper .path-entry-wrapper,.mobile-view .memos-sidebar-wrapper .tags-wrapper{width:320px;max-width:95%;flex-shrink:0;padding-left:32px}.path-entry-wrapper{display:flex;padding:var(--size-2-2) var(--size-4-2);gap:var(--size-2-2);flex-direction:column;width:100%}.path-entry-wrapper>.path-entry-container{padding:var(--size-4-2) 16px;border-radius:var(--radius-m);color:var(--memos-text-muted);font-size:var(--font-ui-small);width:100%;cursor:pointer;--icon-size: 18px}.path-entry-wrapper>.path-entry-container>.path-entry-icon{margin-right:var(--size-4-2);vertical-align:middle}.path-entry-wrapper>.path-entry-container:hover{color:var(--memos-accent-hover);background-color:var(--thino-modifier-hover)}.path-entry-wrapper>.path-entry-container.active{color:var(--memos-text-green)}div[data-type=thino_view].mobile-view .path-entry-wrapper{padding-left:var(--size-2-2)}div[data-type=thino_view].mobile-view .view-content{padding-top:var(--size-4-4)}div[data-type=thino_view] .view-content{padding:var(--size-2-1);overflow-y:hidden;overflow-x:hidden}div[data-type=thino_view]:not(.mobile-view) #page-wrapper.memos-waterfall-view{width:var(--memos-masonry-width);transition:width .3s ease-in-out}div[data-type=thino_view]:not(.mobile-view) #page-wrapper.memos-waterfall-view>.content-wrapper{width:var(--memos-masonry-content-width);max-width:calc(100% - var(--memos-sidebar-width))}div[data-type=thino_view]:not(.mobile-view) #page-wrapper.memos-list-view{width:var(--memos-list-width);transition:width .3s ease-in-out}div[data-type=thino_view]:not(.mobile-view) #page-wrapper.memos-list-view>.content-wrapper{width:var(--memos-list-content-width)}div[data-type=thino_view]:not(.mobile-view) #page-wrapper.memos-table-view{width:var(--memos-table-width);transition:width .3s ease-in-out}div[data-type=thino_view]:not(.mobile-view) #page-wrapper.memos-table-view>.content-wrapper{width:var(--memos-table-content-width)}div[data-type=thino_view]:not(.mobile-view) #page-wrapper.memos-chat-view{width:var(--memos-chat-width);transition:width .3s ease-in-out}div[data-type=thino_view]:not(.mobile-view) #page-wrapper.memos-chat-view>.content-wrapper{width:var(--memos-chat-content-width);max-width:calc(100% - var(--memos-sidebar-width))}div[data-type=thino_view]:not(.mobile-view) #page-wrapper.memos-calendar-view{width:var(--memos-calendar-width);transition:width .3s ease-in-out}div[data-type=thino_view]:not(.mobile-view) #page-wrapper.memos-calendar-view>.content-wrapper{width:var(--memos-calendar-content-width)}div[data-type=thino_view] #page-wrapper{display:flex;flex-direction:row;justify-content:flex-start;align-items:flex-start;width:var(--memos-list-width);max-width:100%;height:100%;margin:auto;margin-top:calc(var(--size-4-2) * -1)}div[data-type=thino_view] #page-wrapper>.content-wrapper{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;position:relative;padding-top:15px;padding-left:10px;width:600px;transition:width .3s ease-in-out;height:100%;gap:8px}div[data-type=thino_view] #page-wrapper>.content-wrapper .memo-show-editor-button{position:absolute;bottom:12%;left:46%;color:var(--memos-text-blue);cursor:pointer;--icon-size: 32px}div[data-type=thino_view] #page-wrapper>.content-wrapper-padding-fix{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;position:relative;margin-top:0;width:var(--memos-list-content-width);height:100%;overflow-y:hidden;padding-left:34px;gap:8px}div[data-type=thino_view] #page-wrapper:has(.memolist-container>.waterfall-view){justify-content:center}div[data-type=thino_view].mobile-view .mobile-show-sidebar #page-wrapper>.content-wrapper{transform:translate(320px)}div[data-type=thino_view].mobile-view #page-wrapper{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;width:100%;height:100%;padding:0;transform:translate(0);margin-top:calc(var(--size-4-2) * -1)}div[data-type=thino_view].mobile-view #page-wrapper>.content-wrapper{width:100%;height:100%;margin-left:0;padding-top:0;padding-left:0;margin-top:0;transition:all .3s ease;transform:translate(0)}div[data-type=thino_view].mobile-view #page-wrapper.memos-list-view.classic:has(.memo-editor-wrapper:not(.mod-editor-bottom)) .content-wrapper{padding-top:var(--size-4-3)}.is-mobile:has(.mobile-navbar) div[data-type=thino_view] #page-wrapper>.content-wrapper:has(.mod-editor-bottom){height:calc(100% - var(--safe-area-inset-bottom) - var(--icon-l) - var(--size-4-2));padding-bottom:var(--size-4-2)}.is-mobile:has(.mobile-navbar) div[data-type=thino_view] #page-wrapper>.content-wrapper:has(.mod-editor-bottom.thino-hidden){height:100%}div[data-type=thino_view] #page-wrapper:has(.thino-verify-component){display:flex;justify-content:center;align-items:center;width:100%;height:100%}div[data-type=thino_view]:not(.mobile-view) .modern#page-wrapper:is(.memos-chat-view,.memos-moments-view,.memos-list-view,.memos-table-view,.memos-calendar-view,.memos-waterfall-view) .content-wrapper{width:var(--memos-list-width)}div[data-type=thino_view]:not(.mobile-view) .modern#page-wrapper:has(.status-text-container.sidebar) .status-text-container.banner{display:none}div[data-type=thino_view]:not(.mobile-view) .memos-moments-view.modern#page-wrapper:has(.section-header-container~.filter-query-container:not(.thino-hidden)) .content-wrapper{padding-top:0}div[data-type=thino_view]:not(.mobile-view):has(.memos-waterfall-view,.memos-table-view) .view-content{overflow-x:scroll}div[data-type=thino_view]:not(.mobile-view):has(.memos-waterfall-view,.memos-table-view) .view-content::-webkit-scrollbar{width:0;height:0;cursor:pointer}div[data-type=thino_view]:not(.mobile-view):has(.memos-waterfall-view,.memos-table-view) .view-content::-webkit-scrollbar-thumb{width:0;height:0;border-radius:8px;background-color:#d5d5d5}div[data-type=thino_view]:not(.mobile-view):has(.memos-waterfall-view,.memos-table-view) .view-content::-webkit-scrollbar-thumb:hover{background-color:#ccc}div[data-type=thino_view]:not(.mobile-view):has(.memos-waterfall-view,.memos-table-view) .view-content::-webkit-scrollbar{display:none}div[data-type=thino_view]:not(.mobile-view):has(.memos-waterfall-view,.memos-table-view) .view-content .modern#page-wrapper{max-width:100%;width:fit-content;min-width:fit-content}div[data-type=thino_view]:not(.mobile-view) .modern#page-wrapper:is(.memos-chat-view,.memos-list-view,.memos-table-view,.memos-calendar-view,.memos-waterfall-view) .content-wrapper{padding-left:var(--size-4-2);padding-right:var(--size-4-2)}div[data-type=thino_view]:not(.mobile-view) .modern#page-wrapper .status-text-container.sidebar{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:8px;width:100%;padding:0 8px;height:auto;flex-wrap:nowrap}div[data-type=thino_view]:not(.mobile-view) .modern#page-wrapper .status-text-container.sidebar::-webkit-scrollbar{width:0;height:0;cursor:pointer}div[data-type=thino_view]:not(.mobile-view) .modern#page-wrapper .status-text-container.sidebar::-webkit-scrollbar-thumb{width:0;height:0;border-radius:8px;background-color:#d5d5d5}div[data-type=thino_view]:not(.mobile-view) .modern#page-wrapper .status-text-container.sidebar::-webkit-scrollbar-thumb:hover{background-color:#ccc}div[data-type=thino_view]:not(.mobile-view) .modern#page-wrapper .status-text-container.sidebar::-webkit-scrollbar{display:none}div[data-type=thino_view]:not(.mobile-view) .modern#page-wrapper .status-text-container.sidebar .status-sidebar-header.title-text{display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%;padding:4px 16px;margin-bottom:4px;font-size:var(--font-ui-smaller);line-height:24px;color:var(--memos-text-black);opacity:.5}div[data-type=thino_view]:not(.mobile-view) .modern#page-wrapper .status-text-container.sidebar .status-sidebar-wrapper{display:grid;grid-template-columns:repeat(2,1fr);padding-left:var(--size-4-4);grid-column-gap:8px;grid-row-gap:8px;width:100%}div[data-type=thino_view]:not(.mobile-view) .modern#page-wrapper .status-text-container.sidebar .status-sidebar-wrapper .status-text{display:flex;flex-direction:column;gap:4px;padding:var(--size-4-2);background-color:var(--memos-memo-bg);border-radius:var(--memos-radius-m)}div[data-type=thino_view]:not(.mobile-view) .modern#page-wrapper .status-text-container.sidebar .status-sidebar-wrapper .status-text .type-text{font-size:11px;font-weight:700;color:var(--memos-text-faint)}div[data-type=thino_view]:not(.mobile-view) .modern#page-wrapper .status-text-container.sidebar .status-sidebar-wrapper .status-text .amount-text{font-size:16px;color:var(--memos-text-muted)}div[data-type=thino_view]:not(.mobile-view) .modern#page-wrapper .status-text-container.sidebar .status-sidebar-wrapper .status-text:hover{background-color:var(--thino-background-secondary);color:var(--memos-text-muted)}div[data-type=thino_view]:not(.mobile-view) .modern#page-wrapper .status-text-container.sidebar .status-sidebar-wrapper .status-text.most-active-day-text{cursor:pointer}div[data-type=thino_view].mobile-view .modern#page-wrapper:is(.memos-chat-view,.memos-moments-view,.memos-list-view,.memos-table-view,.memos-calendar-view,.memos-waterfall-view){box-shadow:unset}div[data-type=thino_view] .modern#page-wrapper:is(.memos-chat-view,.memos-moments-view,.memos-list-view,.memos-table-view,.memos-calendar-view,.memos-waterfall-view){background-color:var(--thino-modern-primary);box-shadow:var(--shadow-s);border-radius:16px;margin-top:unset;padding-right:var(--size-4-4);gap:15px;width:fit-content}div[data-type=thino_view] .modern#page-wrapper:is(.memos-chat-view,.memos-moments-view,.memos-list-view,.memos-table-view,.memos-calendar-view,.memos-waterfall-view) .content-wrapper{padding-left:1px;padding-right:1px;padding-top:10px;background-color:var(--thino-modern-secondary)}div[data-type=thino_view] .modern#page-wrapper:is(.memos-chat-view,.memos-moments-view,.memos-list-view,.memos-table-view,.memos-calendar-view,.memos-waterfall-view) .content-wrapper .daily-thinos-view-container{background-color:var(--thino-modern-secondary)}div[data-type=thino_view] .modern#page-wrapper:is(.memos-chat-view,.memos-moments-view,.memos-list-view,.memos-table-view,.memos-calendar-view,.memos-waterfall-view) .content-wrapper .section-header-container .title-text:not(:has(.go-home-btn)),div[data-type=thino_view] .modern#page-wrapper:is(.memos-chat-view,.memos-moments-view,.memos-list-view,.memos-table-view,.memos-calendar-view,.memos-waterfall-view) .content-wrapper .memos-header-container .title-text:not(:has(.go-home-btn)){display:none}div[data-type=thino_view] .modern#page-wrapper:is(.memos-chat-view,.memos-moments-view,.memos-list-view,.memos-table-view,.memos-calendar-view,.memos-waterfall-view) .content-wrapper .section-header-container .memos-header-search-section,div[data-type=thino_view] .modern#page-wrapper:is(.memos-chat-view,.memos-moments-view,.memos-list-view,.memos-table-view,.memos-calendar-view,.memos-waterfall-view) .content-wrapper .memos-header-container .memos-header-search-section{width:100%}div[data-type=thino_view] .modern#page-wrapper:is(.memos-chat-view,.memos-moments-view,.memos-list-view,.memos-table-view,.memos-calendar-view,.memos-waterfall-view) .content-wrapper .section-header-container .memos-header-search-section .search-bar-container,div[data-type=thino_view] .modern#page-wrapper:is(.memos-chat-view,.memos-moments-view,.memos-list-view,.memos-table-view,.memos-calendar-view,.memos-waterfall-view) .content-wrapper .memos-header-container .memos-header-search-section .search-bar-container{width:100%}div[data-type=thino_view] .modern#page-wrapper:is(.memos-chat-view,.memos-moments-view,.memos-list-view,.memos-table-view,.memos-calendar-view,.memos-waterfall-view) .content-wrapper .section-header-container .memos-header-search-section .search-bar-container .search-bar-inputer,div[data-type=thino_view] .modern#page-wrapper:is(.memos-chat-view,.memos-moments-view,.memos-list-view,.memos-table-view,.memos-calendar-view,.memos-waterfall-view) .content-wrapper .memos-header-container .memos-header-search-section .search-bar-container .search-bar-inputer{background-color:var(--memos-memo-bg)}div[data-type=thino_view] .modern#page-wrapper:is(.memos-chat-view,.memos-moments-view,.memos-list-view,.memos-table-view,.memos-calendar-view,.memos-waterfall-view) .content-wrapper .section-header-container .memos-header-search-section .search-bar-container:has(.search-bar-inputer:focus-within),div[data-type=thino_view] .modern#page-wrapper:is(.memos-chat-view,.memos-moments-view,.memos-list-view,.memos-table-view,.memos-calendar-view,.memos-waterfall-view) .content-wrapper .memos-header-container .memos-header-search-section .search-bar-container:has(.search-bar-inputer:focus-within){width:100%;max-width:unset}div[data-type=thino_view] .modern#page-wrapper:is(.memos-chat-view,.memos-moments-view,.memos-list-view,.memos-table-view,.memos-calendar-view,.memos-waterfall-view) .content-wrapper .memolist-wrapper .memolist-container{background-color:var(--thino-modern-secondary)}div[data-type=thino_view].mobile-view .modern#page-wrapper:is(.memos-chat-view,.memos-moments-view,.memos-list-view,.memos-table-view,.memos-calendar-view,.memos-waterfall-view){padding-right:0;min-width:unset;border-radius:unset;margin-top:calc(var(--size-4-2) * -1);width:100%}div[data-type=thino_view].mobile-view .modern#page-wrapper:is(.memos-chat-view,.memos-moments-view,.memos-list-view,.memos-table-view,.memos-calendar-view,.memos-waterfall-view) .memos-sidebar-wrapper{padding-top:14px}div[data-type=thino_view].mobile-view .modern#page-wrapper:is(.memos-chat-view,.memos-moments-view,.memos-list-view,.memos-table-view,.memos-calendar-view,.memos-waterfall-view) .memos-sidebar-wrapper.right-sidebar{display:none}div[data-type=thino_view].mobile-view .modern#page-wrapper:is(.memos-chat-view,.memos-moments-view,.memos-list-view,.memos-table-view,.memos-calendar-view,.memos-waterfall-view) .memos-sidebar-wrapper.right-sidebar .user-banner-container,div[data-type=thino_view].mobile-view .modern#page-wrapper:is(.memos-chat-view,.memos-moments-view,.memos-list-view,.memos-table-view,.memos-calendar-view,.memos-waterfall-view) .memos-sidebar-wrapper.right-sidebar .path-entry-wrapper,div[data-type=thino_view].mobile-view .modern#page-wrapper:is(.memos-chat-view,.memos-moments-view,.memos-list-view,.memos-table-view,.memos-calendar-view,.memos-waterfall-view) .memos-sidebar-wrapper.right-sidebar .queries-wrapper{display:none}div[data-type=thino_view].mobile-view .modern#page-wrapper:is(.memos-chat-view,.memos-moments-view,.memos-list-view,.memos-table-view,.memos-calendar-view,.memos-waterfall-view) .memos-sidebar-wrapper.right-sidebar .tags-wrapper{padding:0 0 16px}div[data-type=thino_view].mobile-view .modern#page-wrapper:is(.memos-chat-view,.memos-moments-view,.memos-list-view,.memos-table-view,.memos-calendar-view,.memos-waterfall-view) .memos-sidebar-wrapper.right-sidebar .tags-wrapper .tags-container{display:flex;flex-direction:row;flex-wrap:wrap;padding-left:var(--size-4-4);padding-right:var(--size-4-4);gap:var(--size-2-1)}div[data-type=thino_view].mobile-view .modern#page-wrapper:is(.memos-chat-view,.memos-moments-view,.memos-list-view,.memos-table-view,.memos-calendar-view,.memos-waterfall-view) .memos-sidebar-wrapper.right-sidebar .tags-wrapper .tags-container .tag-item-container{padding:6px;width:fit-content;height:fit-content;margin-top:0;gap:var(--size-2-2)}div[data-type=thino_view].mobile-view .modern#page-wrapper:is(.memos-chat-view,.memos-moments-view,.memos-list-view,.memos-table-view,.memos-calendar-view,.memos-waterfall-view) .memos-sidebar-wrapper.right-sidebar .tags-wrapper .tags-container .tag-item-container .tag-text-container{width:fit-content;max-width:unset}div[data-type=thino_view].mobile-view .modern#page-wrapper:is(.memos-chat-view,.memos-moments-view,.memos-list-view,.memos-table-view,.memos-calendar-view,.memos-waterfall-view) .memos-sidebar-wrapper.right-sidebar .tags-wrapper .tags-container .tag-item-container .tag-text-container .tag-btn{margin-right:0}div[data-type=thino_view].mobile-view .modern#page-wrapper:is(.memos-chat-view,.memos-moments-view,.memos-list-view,.memos-table-view,.memos-calendar-view,.memos-waterfall-view) .memos-sidebar-wrapper.right-sidebar .tags-wrapper .tags-container .tag-item-container .btns-container .tag-count{vertical-align:bottom;height:100%;display:flex;align-items:flex-end;padding-top:var(--size-2-1);color:var(--thino-modern-tag-count)}div[data-type=thino_view].mobile-view .modern#page-wrapper:is(.memos-chat-view,.memos-moments-view,.memos-list-view,.memos-table-view,.memos-calendar-view,.memos-waterfall-view) .memos-sidebar-wrapper.right-sidebar .tags-wrapper .tags-container .tag-item-container:has(.action-btn){padding-right:var(--size-4-4)}div[data-type=thino_view].mobile-view .modern#page-wrapper:is(.memos-chat-view,.memos-moments-view,.memos-list-view,.memos-table-view,.memos-calendar-view,.memos-waterfall-view) .memos-sidebar-wrapper.right-sidebar .tags-wrapper .tags-container .tag-item-container:has(.action-btn.shown){background-color:var(--thino-modifier-hover)}div[data-type=thino_view].mobile-view .modern#page-wrapper:is(.memos-chat-view,.memos-moments-view,.memos-list-view,.memos-table-view,.memos-calendar-view,.memos-waterfall-view) .memos-sidebar-wrapper.right-sidebar .tags-wrapper .tags-container .subtags-container .tag-item-container{width:100%}div[data-type=thino_view].mobile-view .modern#page-wrapper:is(.memos-chat-view,.memos-moments-view,.memos-list-view,.memos-table-view,.memos-calendar-view,.memos-waterfall-view) .content-wrapper{padding-top:10px;padding-left:unset}div[data-type=thino_view].mobile-view .modern#page-wrapper:is(.memos-chat-view,.memos-moments-view,.memos-list-view,.memos-table-view,.memos-calendar-view,.memos-waterfall-view) .content-wrapper .section-header-container .title-text,div[data-type=thino_view].mobile-view .modern#page-wrapper:is(.memos-chat-view,.memos-moments-view,.memos-list-view,.memos-table-view,.memos-calendar-view,.memos-waterfall-view) .content-wrapper .memos-header-container .title-text{display:inherit}div[data-type=thino_view]:not(.mobile-view) .modern#page-wrapper .memos-sidebar-wrapper{padding-top:14px}div[data-type=thino_view]:not(.mobile-view) .modern#page-wrapper .memos-sidebar-wrapper.left-sidebar .user-banner-container{height:fit-content}div[data-type=thino_view]:not(.mobile-view) .modern#page-wrapper .memos-sidebar-wrapper.left-sidebar .user-banner-container .status-text-container{display:none}div[data-type=thino_view]:not(.mobile-view) .modern#page-wrapper .memos-sidebar-wrapper.left-sidebar .heatmap-default,div[data-type=thino_view]:not(.mobile-view) .modern#page-wrapper .memos-sidebar-wrapper.left-sidebar .heatmap-date-picker-wrapper,div[data-type=thino_view]:not(.mobile-view) .modern#page-wrapper .memos-sidebar-wrapper.left-sidebar .usage-daily-progress-wrapper,div[data-type=thino_view]:not(.mobile-view) .modern#page-wrapper .memos-sidebar-wrapper.left-sidebar .tags-wrapper{display:none}div[data-type=thino_view]:not(.mobile-view) .modern#page-wrapper .memos-sidebar-wrapper.right-sidebar{padding-top:var(--size-4-4)}div[data-type=thino_view]:not(.mobile-view) .modern#page-wrapper .memos-sidebar-wrapper.right-sidebar .usage-heat-map-wrapper{margin-top:10px}div[data-type=thino_view]:not(.mobile-view) .modern#page-wrapper .memos-sidebar-wrapper.right-sidebar:has(.heatmap-date-picker-wrapper) .user-banner-container,div[data-type=thino_view]:not(.mobile-view) .modern#page-wrapper .memos-sidebar-wrapper.right-sidebar .path-entry-wrapper,div[data-type=thino_view]:not(.mobile-view) .modern#page-wrapper .memos-sidebar-wrapper.right-sidebar .queries-wrapper{display:none}div[data-type=thino_view]:not(.mobile-view) .modern#page-wrapper .memos-sidebar-wrapper.right-sidebar:has(.usage-heat-map-wrapper) .user-banner-container{height:fit-content}div[data-type=thino_view]:not(.mobile-view) .modern#page-wrapper .memos-sidebar-wrapper.right-sidebar .user-banner-container .userinfo-header-container{display:none}div[data-type=thino_view]:not(.mobile-view) .modern#page-wrapper .memos-sidebar-wrapper.right-sidebar .tags-wrapper{padding:0 0 16px}div[data-type=thino_view]:not(.mobile-view) .modern#page-wrapper .memos-sidebar-wrapper.right-sidebar .tags-wrapper .tags-container{display:flex;flex-direction:row;flex-wrap:wrap;padding-left:var(--size-4-4);padding-right:var(--size-4-4);gap:var(--size-2-1)}div[data-type=thino_view]:not(.mobile-view) .modern#page-wrapper .memos-sidebar-wrapper.right-sidebar .tags-wrapper .tags-container .tag-item-container{padding:6px;width:fit-content;height:fit-content;margin-top:0;gap:var(--size-2-2)}div[data-type=thino_view]:not(.mobile-view) .modern#page-wrapper .memos-sidebar-wrapper.right-sidebar .tags-wrapper .tags-container .tag-item-container .tag-text-container{width:fit-content;max-width:unset}div[data-type=thino_view]:not(.mobile-view) .modern#page-wrapper .memos-sidebar-wrapper.right-sidebar .tags-wrapper .tags-container .tag-item-container .tag-text-container .tag-btn{margin-right:0}div[data-type=thino_view]:not(.mobile-view) .modern#page-wrapper .memos-sidebar-wrapper.right-sidebar .tags-wrapper .tags-container .tag-item-container .btns-container .tag-count{vertical-align:bottom;height:100%;display:flex;align-items:flex-end;padding-top:var(--size-2-1);color:var(--thino-modern-tag-count)}div[data-type=thino_view]:not(.mobile-view) .modern#page-wrapper .memos-sidebar-wrapper.right-sidebar .tags-wrapper .tags-container .tag-item-container:has(.action-btn){padding-right:var(--size-4-4)}div[data-type=thino_view]:not(.mobile-view) .modern#page-wrapper .memos-sidebar-wrapper.right-sidebar .tags-wrapper .tags-container .tag-item-container:has(.action-btn.shown){background-color:var(--thino-modifier-hover)}div[data-type=thino_view]:not(.mobile-view) .modern#page-wrapper .memos-sidebar-wrapper.right-sidebar .tags-wrapper .tags-container .subtags-container .tag-item-container{width:100%}div[data-type=thino_view].mobile-view .modern#page-wrapper:is(.memos-chat-view,.memos-moments-view,.memos-list-view,.memos-table-view,.memos-calendar-view,.memos-waterfall-view){margin-top:unset}div[data-type=thino_view] .locked-screen-wrapper{width:100%;height:100%}div[data-type=thino_view] .locked-screen-wrapper .locked-screen-content{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;height:80%}div[data-type=thino_view] .locked-screen-wrapper .locked-screen-content .locked-screen-header{display:flex;flex-direction:row;justify-content:center;align-items:center;height:60px;width:100%;padding:0 20px;border-bottom:var(--border-width) solid var(--border);color:var(--foreground);font-size:20px;font-weight:500}div[data-type=thino_view] .locked-screen-wrapper .locked-screen-content .locked-screen-body{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;height:200px;padding:20px;color:var(--memos-text-muted);font-size:16px;font-weight:400}div[data-type=thino_view] .locked-screen-wrapper .locked-screen-content .locked-screen-body .locked-screen-body-content{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:var(--size-4-2)}div[data-type=thino_view] .locked-screen-wrapper .locked-screen-content .locked-screen-body .locked-screen-body-content .locked-screen-body-content-text .locked-screen-body-content-text-title{font-size:20px;font-weight:500}div[data-type=thino_view] .locked-screen-wrapper .locked-screen-content .locked-screen-body .locked-screen-body-content .locked-screen-body-content-inputer{display:flex;flex-direction:row;justify-content:center;align-items:center;gap:var(--size-4-2)}div[data-type=thino_view] .locked-screen-wrapper .locked-screen-content .locked-screen-body .locked-screen-body-content .locked-screen-body-content-inputer .locked-screen-body-content-input{border:var(--border-width) solid var(--divider-color)}div[data-type=thino_view] .onboarding-view-container{display:flex;align-items:flex-start;width:100%;margin-top:5%;height:72%;padding:var(--size-4-6)}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper{display:flex;align-items:flex-start;justify-content:flex-start;width:80%;max-width:900px;margin:auto;height:100%;padding:var(--size-4-6);border-radius:var(--radius-l);background:var(--thino-background-secondary)}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content{width:100%;height:100%;display:flex;flex-direction:column;align-items:flex-start}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-step-heading{display:flex;width:100%;justify-content:space-between}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-step-heading .onboarding-step-count{color:var(--memos-text-faint);font-size:var(--font-ui-small)}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-step-heading .close-btn button{box-shadow:none;background:transparent;color:var(--memos-text-faint);padding:unset}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-step-heading .close-btn button:hover{color:var(--memos-text-black)}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details{display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;width:100%;height:100%;gap:var(--size-4-6)}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content{width:100%;height:100%;display:flex;flex-direction:column;gap:var(--size-4-2)}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form{display:flex;flex-direction:column;width:100%;height:100%}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form .theme-selector-group{display:flex;flex-direction:row;justify-content:space-around;width:100%;height:90%;padding:var(--size-4-4);gap:var(--size-4-8)}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form .theme-selector-group .theme-selector{display:flex;flex-direction:column;justify-content:space-between;width:100%;background-color:var(--thino-background-primary);border-radius:var(--memos-radius-l);padding:var(--size-4-4);gap:var(--size-4-2)}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form .theme-selector-group .theme-selector .theme-selector-header-component{min-height:25%}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form .theme-selector-group .theme-selector .theme-selector-header-component .theme-selector-header{font-size:20px;font-weight:700}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form .theme-selector-group .theme-selector .theme-selector-header-component .theme-selector-description{font-size:var(--font-ui-smaller);color:var(--thino-modern-text-faint)}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form .theme-selector-group .theme-selector .theme-selector-content{display:flex;flex-direction:row;justify-content:center;height:100%;width:100%;padding-left:var(--size-4-2);padding-right:var(--size-4-2);gap:var(--size-2-2)}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form .theme-selector-group .theme-selector .theme-selector-content .left-column{width:25%;height:100%}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form .theme-selector-group .theme-selector .theme-selector-content .center-column{width:40%;height:100%}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form .theme-selector-group .theme-selector .theme-selector-content .right-column{width:25%;height:100%}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form .theme-selector-group .theme-selector .theme-selector-content .column-component{background-color:var(--thino-background-secondary);border-radius:var(--memos-radius-s);min-height:80px}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form .theme-selector-group .theme-selector .theme-selector-footer{display:flex;justify-content:center;align-items:center}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form .theme-selector-group .theme-selector.selected{border:1px solid var(--color-accent)}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form .thino-user-preview-wrapper{width:100%;height:120px;display:flex;justify-content:center;align-items:flex-start}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form .thino-user-preview-wrapper .userinfo-container{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:var(--size-4-2);height:80px;width:260px;border-radius:var(--radius-l);box-shadow:var(--shadow-s);padding:var(--size-4-4);background:var(--thino-background-primary)}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form .thino-user-preview-wrapper .userinfo-container .thino-user-icon{display:flex;align-items:center;justify-content:center;width:48px;height:48px;--icon-size: 18px;border-radius:var(--size-4-2);min-width:48px;min-height:48px;background-position:center;background-repeat:no-repeat;background-size:cover}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form .thino-user-preview-wrapper .userinfo-container .thino-user-icon:has(svg){border:1px solid var(--memos-memo-border);background-color:var(--memos-memo-bg);box-shadow:var(--shadow-s)}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form .thino-user-preview-wrapper .userinfo-container .thino-user-info{display:flex;flex-direction:column;height:100%;gap:var(--size-2-1);justify-content:space-evenly}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form .thino-user-preview-wrapper .userinfo-container .thino-user-info>.username-container{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:var(--size-2-2)}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form .thino-user-preview-wrapper .userinfo-container .thino-user-info>.username-container>.username-text{font-weight:700;font-size:var(--font-ui-medium);line-height:20px;color:var(--memos-text-black);overflow:hidden;text-overflow:ellipsis;cursor:pointer;flex-shrink:0;white-space:nowrap}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form .thino-user-preview-wrapper .userinfo-container .thino-user-info>.username-container>.user-pro-badge{padding:var(--size-2-1) var(--size-2-2);cursor:pointer;border-radius:var(--memos-radius-m);color:var(--memos-text-white);opacity:.7;font-size:var(--thino-ui-tiny);font-weight:700;background:var(--memos-bg-gray)}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form .thino-user-preview-wrapper .userinfo-container .thino-user-info>.username-container>.user-pro-badge.activated{color:var(--memos-text-lightgray);background:var(--memos-bg-blue);opacity:1}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form .thino-user-preview-wrapper .userinfo-container .thino-user-info>.thino-user-quote{font-size:var(--thino-ui-small);color:var(--memos-text-faint);font-weight:700;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%;max-width:160px}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form:has(.theme-selector-group){justify-content:flex-start}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form:has(.daily-note-plugin-status){display:flex;justify-content:space-between;flex-direction:row;gap:var(--size-4-6)}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form:has(.daily-note-plugin-status) .daily-note-plugin-status{width:40%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:space-between;background:var(--thino-background-primary);padding:var(--size-4-4);border-radius:var(--radius-m);gap:var(--size-4-4)}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form:has(.daily-note-plugin-status) .daily-note-plugin-status .daily-note-plugin-status-header{display:flex;flex-direction:column;width:100%;align-items:center;gap:var(--size-4-2)}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form:has(.daily-note-plugin-status) .daily-note-plugin-status .daily-note-plugin-status-header .plugin-status-header{font-size:20px;font-weight:700}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form:has(.daily-note-plugin-status) .daily-note-plugin-status .daily-note-plugin-status-header .plugin-status-description{font-size:var(--font-ui-smaller);color:var(--thino-modern-text-faint)}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form:has(.daily-note-plugin-status) .daily-note-plugin-status .daily-note-plugin-status-content{display:flex;width:100%;height:100%}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form:has(.daily-note-plugin-status) .daily-note-plugin-status .daily-note-plugin-status-footer{display:flex;width:100%;height:fit-content;justify-content:center;align-items:center}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form:has(.daily-note-plugin-status) .daily-note-plugin-status .daily-note-plugin-status-footer .notice-click{font-size:var(--font-ui-smaller);color:var(--thino-modern-text-faint)}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form:has(.daily-note-plugin-status) .thino-daily-settings-wrapper{width:60%}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form:has(.thino-congrats){display:flex;justify-content:flex-start;align-items:center;padding-top:var(--size-4-8)}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form:has(.thino-congrats) .thino-congrats{display:flex;justify-content:center;align-items:center;flex-direction:column;gap:var(--size-4-4)}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form:has(.thino-congrats) .thino-congrats .congrats-title{font-size:20px;font-weight:700}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form:has(.thino-congrats) .thino-congrats .final-congrats-text{font-size:20px;padding-left:10%;padding-right:10%;width:100%}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form:has(.thino-congrats) .thino-congrats .final-congrats-text .ready-use{font-weight:500}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form:has(.thino-congrats) .thino-congrats .final-congrats-text .start-to-use{font-size:var(--font-ui-small);font-weight:unset;color:var(--memos-text-faint)}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form:has(.thino-congrats) .thino-congrats .next-btns-group{display:flex;gap:var(--size-4-5)}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-footer{display:flex;justify-content:space-between;align-items:center;width:100%;height:fit-content}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-footer .navigate-btns-group{display:flex;flex-direction:row;justify-content:center;align-items:center;gap:var(--size-4-2)}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-footer .navigate-btns-group:has(.details-settings-btn){flex-direction:row-reverse}div[data-type=thino_view] .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-footer:has(.details-settings-btn){justify-content:center}div[data-type=thino_view] .onboarding-view-container input{border:var(--input-border-width) solid var(--background-modifier-border)}div[data-type=thino_view].mobile-view .onboarding-view-container{height:fit-content;min-height:100%;margin-top:unset}div[data-type=thino_view].mobile-view .onboarding-view-container .onboarding-view-wrapper{width:100%;margin:unset;margin-left:auto;margin-right:auto}div[data-type=thino_view].mobile-view .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form .theme-selector-group{flex-direction:column;justify-content:flex-start}div[data-type=thino_view].mobile-view .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form .theme-selector-group .theme-selector .theme-selector-header-component{min-height:unset}div[data-type=thino_view].mobile-view .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form .theme-selector-group .theme-selector .theme-selector-content{min-height:80px}div[data-type=thino_view].mobile-view .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form:has(.daily-note-plugin-status){flex-direction:column;width:100%}div[data-type=thino_view].mobile-view .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form:has(.daily-note-plugin-status) .daily-note-plugin-status{width:100%;min-height:240px}div[data-type=thino_view].mobile-view .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-content .onboarding-form:has(.daily-note-plugin-status) .thino-daily-settings-wrapper{width:100%}div[data-type=thino_view].mobile-view .view-content:has(.onboarding-view-container){overflow-y:scroll}div[data-type=thino_view].mobile-view .view-content:has(.onboarding-view-container)::-webkit-scrollbar{width:0;height:0;cursor:pointer}div[data-type=thino_view].mobile-view .view-content:has(.onboarding-view-container)::-webkit-scrollbar-thumb{width:0;height:0;border-radius:8px;background-color:#d5d5d5}div[data-type=thino_view].mobile-view .view-content:has(.onboarding-view-container)::-webkit-scrollbar-thumb:hover{background-color:#ccc}div[data-type=thino_view].mobile-view .view-content:has(.onboarding-view-container)::-webkit-scrollbar{display:none}div[data-type=thino_view].mobile-view .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-footer{flex-direction:column-reverse;gap:var(--size-4-2)}div[data-type=thino_view].mobile-view .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-footer .skip-btn{justify-content:flex-start;width:100%;display:flex}div[data-type=thino_view].mobile-view .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-footer .navigate-btns-group{width:100%;justify-content:flex-end}div[data-type=thino_view].mobile-view .onboarding-view-container .onboarding-view-wrapper .onboarding-view-content .onboarding-view-details .details-footer .navigate-btns-group:has(button:nth-child(2)){justify-content:space-between}.theme-dark div[data-type=thino_view] .onboarding-view-container{--thino-background-secondary: var(--titlebar-background-focused)}.introjs-overlay{position:absolute;box-sizing:content-box;z-index:999999;opacity:0;transition:all .3s ease-out}.introjs-showElement{z-index:9999999!important}tr.introjs-showElement>td{z-index:9999999!important;position:relative}tr.introjs-showElement>th{z-index:9999999!important;position:relative}.introjs-disableInteraction{z-index:99999999!important;position:absolute;background-color:#fff;opacity:0}.introjs-relativePosition{position:relative}.introjs-helperLayer{box-sizing:content-box;position:absolute;z-index:9999998;border-radius:4px;transition:all .3s ease-out}.introjs-helperLayer *{box-sizing:content-box}.introjs-helperLayer :before{box-sizing:content-box}.introjs-helperLayer :after{box-sizing:content-box}.introjs-tooltipReferenceLayer{font-family:Helvetica Neue,Inter,ui-sans-serif,"Apple Color Emoji",Helvetica,Arial,sans-serif;box-sizing:content-box;position:absolute;visibility:hidden;z-index:100000000;background-color:transparent;transition:all .3s ease-out}.introjs-tooltipReferenceLayer *{font-family:Helvetica Neue,Inter,ui-sans-serif,"Apple Color Emoji",Helvetica,Arial,sans-serif}.introjs-helperNumberLayer{font-family:Helvetica Neue,Inter,ui-sans-serif,"Apple Color Emoji",Helvetica,Arial,sans-serif;color:#9e9e9e;text-align:center;padding-top:10px;padding-bottom:10px}.introjs-arrow{border:5px solid transparent;content:"";position:absolute}.introjs-arrow.top{top:-10px;left:10px;border-bottom-color:#fff}.introjs-arrow.top-right{top:-10px;right:10px;border-bottom-color:#fff}.introjs-arrow.top-middle{top:-10px;left:50%;margin-left:-5px;border-bottom-color:#fff}.introjs-arrow.right{right:-10px;top:10px;border-left-color:#fff}.introjs-arrow.right-bottom{bottom:10px;right:-10px;border-left-color:#fff}.introjs-arrow.bottom{bottom:-10px;left:10px;border-top-color:#fff}.introjs-arrow.bottom-right{bottom:-10px;right:10px;border-top-color:#fff}.introjs-arrow.bottom-middle{bottom:-10px;left:50%;margin-left:-5px;border-top-color:#fff}.introjs-arrow.left{left:-10px;top:10px;border-right-color:#fff}.introjs-arrow.left-bottom{left:-10px;bottom:10px;border-right-color:#fff}.introjs-tooltip{box-sizing:content-box;position:absolute;visibility:visible;background-color:#fff;min-width:250px;max-width:300px;border-radius:5px;box-shadow:0 3px 30px #2121214d;transition:opacity .1s ease-out}.introjs-tooltiptext{padding:20px}.introjs-dontShowAgain{padding-left:20px;padding-right:20px}.introjs-dontShowAgain input{padding:0;margin:0 0 2px;display:inline;width:10px;height:10px}.introjs-dontShowAgain label{font-size:14px;display:inline-block;font-weight:400;margin:0 0 0 5px;padding:0;background-color:#fff;color:#616161;-webkit-user-select:none;user-select:none}.introjs-tooltip-title{font-size:18px;width:90%;min-height:1.5em;margin:0;padding:0;font-weight:700;line-height:1.5}.introjs-tooltip-header{position:relative;padding-left:20px;padding-right:20px;padding-top:10px;min-height:1.5em}.introjs-tooltipbuttons{border-top:1px solid #e0e0e0;padding:10px;text-align:right;white-space:nowrap}.introjs-tooltipbuttons:after{content:"";visibility:hidden;display:block;height:0;clear:both}.introjs-button{box-sizing:content-box;position:relative;overflow:visible;padding:.5rem 1rem;border:1px solid #bdbdbd;text-decoration:none;text-shadow:1px 1px 0 #fff;font-size:14px;color:#424242;white-space:nowrap;cursor:pointer;outline:0;background-color:#f4f4f4;border-radius:.2em;zoom:1;display:inline}.introjs-button:hover{outline:0;text-decoration:none;border-color:#9e9e9e;background-color:#e0e0e0;color:#212121}.introjs-button:focus{outline:0;text-decoration:none;background-color:#eee;box-shadow:0 0 0 .2rem #9e9e9e80;border:1px solid #616161;color:#212121}.introjs-button:active{outline:0;text-decoration:none;background-color:#e0e0e0;border-color:#9e9e9e;color:#212121}.introjs-button::-moz-focus-inner{padding:0;border:0}.introjs-skipbutton{position:absolute;top:0;right:0;display:inline-block;width:45px;height:45px;line-height:45px;color:#616161;font-size:22px;cursor:pointer;font-weight:700;text-align:center;text-decoration:none}.introjs-skipbutton:focus,.introjs-skipbutton:hover{color:#212121;outline:0;text-decoration:none}.introjs-prevbutton{float:left}.introjs-nextbutton{float:right}.introjs-disabled{color:#9e9e9e;border-color:#bdbdbd;box-shadow:none;cursor:default;background-color:#f4f4f4;background-image:none;text-decoration:none}.introjs-disabled:focus,.introjs-disabled:hover{color:#9e9e9e;border-color:#bdbdbd;box-shadow:none;cursor:default;background-color:#f4f4f4;background-image:none;text-decoration:none}.introjs-hidden{display:none}.introjs-bullets{text-align:center;padding-top:10px;padding-bottom:10px}.introjs-bullets ul{box-sizing:content-box;clear:both;margin:0 auto;padding:0;display:inline-block}.introjs-bullets ul li{box-sizing:content-box;list-style:none;float:left;margin:0 2px}.introjs-bullets ul li a{transition:width .1s ease-in;box-sizing:content-box;display:block;width:6px;height:6px;background:#ccc;border-radius:10px;text-decoration:none;cursor:pointer}.introjs-bullets ul li a:focus,.introjs-bullets ul li a:hover{width:15px;background:#999;text-decoration:none;outline:0}.introjs-bullets ul li a.active{width:15px;background:#999}.introjs-progress{box-sizing:content-box;overflow:hidden;height:10px;margin:10px;border-radius:4px;background-color:#e0e0e0}.introjs-progressbar{box-sizing:content-box;float:left;width:0%;height:100%;font-size:10px;line-height:10px;text-align:center;background-color:#08c}.introjsFloatingElement{position:absolute;height:0;width:0;left:50%;top:50%}.introjs-fixedTooltip{position:fixed}.introjs-hint{box-sizing:content-box;position:absolute;background:0 0;width:20px;height:15px;cursor:pointer}.introjs-hint:focus{border:0;outline:0}.introjs-hint:hover>.introjs-hint-pulse{background-color:#3c3c3c91}.introjs-hidehint{display:none}.introjs-fixedhint{position:fixed}@keyframes introjspulse{0%{transform:scale(.95);box-shadow:0 0 #000000b3}70%{transform:scale(1);box-shadow:0 0 0 10px transparent}to{transform:scale(.95);box-shadow:0 0 0 0 transparent}}.introjs-hint-pulse{box-sizing:content-box;width:15px;height:15px;border-radius:30px;background-color:#8888883d;z-index:10;position:absolute;transition:all .2s ease-out;animation:introjspulse 2s infinite}.introjs-hint-no-anim .introjs-hint-pulse{animation:none}.introjs-hint-dot{box-sizing:content-box;background:0 0;border-radius:60px;height:50px;width:50px;position:absolute;top:-18px;left:-18px;z-index:1;opacity:0}.theme-dark .introjs-tooltipReferenceLayer *{--thino-background-secondary: var(--titlebar-background-focused);border-color:var(--thino-modifier-border);background-color:var(--thino-background-secondary)}.theme-dark .introjs-helperLayer{box-shadow:#f7f7f7cc 0 0 1px 2px,#21212180 0 0 0 5000px!important}.preferences-section-container>.demo-content-container{padding:16px;border-radius:8px;border:2px solid #e4e4e4;margin:12px 0}.preferences-section-container>.form-label{height:28px;cursor:pointer}.preferences-section-container>.form-label>.icon-img{width:16px;height:16px;margin:0 8px}.preferences-section-container>.form-label:hover{opacity:.8}.preferences-section-container>.btn-container{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;width:100%;margin:4px 0}.preferences-section-container>.btn-container .btn{height:28px;padding:0 12px;margin-right:8px;border:1px solid gray;border-radius:8px;cursor:pointer}.preferences-section-container>.btn-container .btn:hover{opacity:.8}div[data-type=thino_view] .preference-wrapper{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;width:100%;height:100%;flex-grow:1;overflow-y:scroll}div[data-type=thino_view] .preference-wrapper::-webkit-scrollbar{width:0;height:0;cursor:pointer}div[data-type=thino_view] .preference-wrapper::-webkit-scrollbar-thumb{width:0;height:0;border-radius:8px;background-color:#d5d5d5}div[data-type=thino_view] .preference-wrapper::-webkit-scrollbar-thumb:hover{background-color:#ccc}div[data-type=thino_view] .preference-wrapper::-webkit-scrollbar{display:none}div[data-type=thino_view] .preference-wrapper>.section-header-container{width:100%;height:40px;margin-bottom:0}div[data-type=thino_view] .preference-wrapper>.section-header-container>.title-text{font-weight:700;font-size:18px;color:var(--memos-text-black)}div[data-type=thino_view] .preference-wrapper>.tip-text-container{width:100%;height:128px;display:flex;flex-direction:column;justify-content:center;align-items:center}div[data-type=thino_view] .preference-wrapper>.sections-wrapper{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;flex-grow:1;width:100%;overflow-y:scroll;padding-bottom:64px}div[data-type=thino_view] .preference-wrapper>.sections-wrapper::-webkit-scrollbar{width:0;height:0;cursor:pointer}div[data-type=thino_view] .preference-wrapper>.sections-wrapper::-webkit-scrollbar-thumb{width:0;height:0;border-radius:8px;background-color:#d5d5d5}div[data-type=thino_view] .preference-wrapper>.sections-wrapper::-webkit-scrollbar-thumb:hover{background-color:#ccc}div[data-type=thino_view] .preference-wrapper>.sections-wrapper::-webkit-scrollbar{display:none}div[data-type=thino_view] .preference-wrapper>.sections-wrapper>.section-container{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;width:100%;background-color:#fff;margin:8px 0;padding:16px 16px 8px;border-radius:8px}div[data-type=thino_view] .preference-wrapper>.sections-wrapper>.section-container>.title-text{font-size:var(--font-ui-medium);color:var(--memos-text-black);font-weight:700;margin-bottom:8px}div[data-type=thino_view] .preference-wrapper>.sections-wrapper>.section-container>.form-label{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;width:100%;font-size:var(--thino-ui-small);line-height:20px;margin-bottom:8px}div[data-type=thino_view] .preference-wrapper>.sections-wrapper>.section-container>.form-label>.normal-text{flex-shrink:0}@media only screen and (max-width: 875px){div[data-type=thino_view] .sections-wrapper{padding:0 12px}}div[data-type=thino_view] .section-header-container,div[data-type=thino_view] .memos-header-container{display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%;height:40px;flex-wrap:nowrap;margin-top:var(--size-2-2);flex-shrink:0}div[data-type=thino_view] .section-header-container>.memos-header-search-section,div[data-type=thino_view] .memos-header-container>.memos-header-search-section{display:flex;align-items:center;justify-content:flex-end;gap:var(--size-4-2)}div[data-type=thino_view] .section-header-container>.memos-header-search-section .memos-view-switcher-wrapper,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .memos-view-switcher-wrapper{display:flex;align-items:center;border:1px solid var(--thino-wrapper-border);color:var(--memos-text-muted);padding:var(--size-2-2);border-radius:var(--memos-radius-m);cursor:pointer;--icon-size: 18px}div[data-type=thino_view] .section-header-container>.memos-header-search-section .memos-view-switcher-wrapper:hover,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .memos-view-switcher-wrapper:hover{color:var(--memos-accent-hover);background:var(--thino-wrapper-background-hover)}div[data-type=thino_view] .section-header-container>.memos-header-search-section .thino-inline-filter-wrapper,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-wrapper{display:flex;align-items:center;border:1px solid var(--thino-wrapper-border);color:var(--memos-text-muted);padding:var(--size-2-2);border-radius:var(--memos-radius-m);cursor:pointer;--icon-size: 18px}div[data-type=thino_view] .section-header-container>.memos-header-search-section .thino-inline-filter-wrapper:hover,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-wrapper:hover{color:var(--memos-accent-hover);background:var(--thino-wrapper-background-hover)}div[data-type=thino_view] .section-header-container>.memos-header-search-section .memos-review-entry-wrapper,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .memos-review-entry-wrapper{display:flex;align-items:center;border:1px solid var(--thino-wrapper-border);color:var(--memos-text-muted);padding:var(--size-2-2);border-radius:var(--memos-radius-m);cursor:pointer;--icon-size: 18px}div[data-type=thino_view] .section-header-container>.memos-header-search-section .memos-review-entry-wrapper:hover,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .memos-review-entry-wrapper:hover{color:var(--memos-accent-hover);background:var(--thino-wrapper-background-hover)}div[data-type=thino_view] .section-header-container>.memos-header-search-section .thino-inline-filter-container,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-container{position:absolute;width:400px;height:fit-content;z-index:99;background-color:var(--thino-background-primary);box-shadow:0 0 8px #0000001a;padding:var(--size-4-2);border-radius:var(--memos-radius-m)}div[data-type=thino_view] .section-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;width:100%;-webkit-user-select:text;user-select:text}div[data-type=thino_view] .section-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container>.form-item-container,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container>.form-item-container{display:flex;flex-direction:row;justify-content:flex-start;align-items:flex-start;width:100%;padding:var(--size-2-2) var(--size-4-2);border-bottom:1px solid var(--memos-bg-lightgray);margin-bottom:var(--size-4-2)}div[data-type=thino_view] .section-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container>.form-item-container>.normal-text,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container>.form-item-container>.normal-text{display:block;flex-shrink:0;width:40px;margin-right:12px;text-align:right;color:gray;font-size:var(--font-ui-small);line-height:32px}div[data-type=thino_view] .section-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container>.form-item-container>.title-input,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container>.form-item-container>.title-input{width:100%;padding:0 8px;font-size:var(--font-ui-small);line-height:32px;border-radius:4px;border:1px solid var(--memos-bg-gray);resize:none}div[data-type=thino_view] .section-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container>.form-item-container>.filters-wrapper,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container>.form-item-container>.filters-wrapper{width:100%;display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start}div[data-type=thino_view] .section-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container>.form-item-container>.filters-wrapper>.create-filter-btn,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container>.form-item-container>.filters-wrapper>.create-filter-btn{color:var(--memos-text-green);font-size:var(--font-ui-small);line-height:32px;cursor:pointer}div[data-type=thino_view] .section-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container .selector-wrapper>.current-value-container,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container .selector-wrapper>.current-value-container{margin-right:var(--size-2-2)}div[data-type=thino_view] .section-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>input.value-inputer,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>input.value-inputer{border:1px solid var(--memos-bg-gray);background-color:transparent}div[data-type=thino_view] .section-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>input.value-inputer,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>input.value-inputer{max-width:100%;width:calc(100% - 152px);height:34px;padding-left:var(--size-4-2);padding-right:var(--size-4-2);margin-right:var(--size-2-2);border-radius:4px;border:1px solid var(--memos-bg-gray);background-color:transparent}div[data-type=thino_view] .section-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>input.value-inputer:hover,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>input.value-inputer:hover{background-color:var(--memos-bg-lightgray)}div[data-type=thino_view] .section-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer{position:relative}div[data-type=thino_view] .section-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer>input.value-inputer,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer>input.value-inputer{width:100%;height:34px;padding-left:var(--size-4-8);padding-right:var(--size-4-2);margin-right:var(--size-2-2);border-radius:4px;border:1px solid var(--memos-bg-gray);background-color:transparent}div[data-type=thino_view] .section-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer>input.value-inputer:hover,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer>input.value-inputer:hover{background-color:var(--memos-bg-lightgray)}div[data-type=thino_view] .section-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer>.calendar-btn,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer>.calendar-btn{position:absolute;left:var(--size-4-2);top:var(--size-4-2);width:16px;height:auto;cursor:pointer;opacity:.8;margin-right:var(--size-4-2)}div[data-type=thino_view] .section-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer>.calendar-btn:hover,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer>.calendar-btn:hover{opacity:.6}div[data-type=thino_view] .section-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer .menu-btns-popup,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer .menu-btns-popup{display:flex;flex-direction:row;justify-content:flex-start;align-items:flex-start;position:absolute;top:36px;left:calc(var(--size-4-8) * -1);padding:4px;width:auto;border-radius:8px;z-index:20;box-shadow:var(--memos-memo-shadow);background-color:var(--memos-memo-bg)}div[data-type=thino_view] .section-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer .menu-btns-popup .quick-date-btn-group,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer .menu-btns-popup .quick-date-btn-group{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;height:100%;width:92px;font-size:var(--font-ui-smaller);gap:var(--size-4-2);padding-top:var(--size-4-2);padding-left:var(--size-2-2);padding-right:var(--size-2-2);color:var(--memos-text-muted)}div[data-type=thino_view] .section-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer .menu-btns-popup .quick-date-btn-group>.quick-date-btn,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer .menu-btns-popup .quick-date-btn-group>.quick-date-btn{width:100%;padding:var(--size-2-1);padding-top:var(--size-2-2);padding-bottom:var(--size-2-2);border-radius:var(--memos-radius-m)}div[data-type=thino_view] .section-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer .menu-btns-popup .quick-date-btn-group>.quick-date-btn:hover,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer .menu-btns-popup .quick-date-btn-group>.quick-date-btn:hover{background:var(--memos-bg-lightgray)}div[data-type=thino_view] .section-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer .menu-btns-popup .calendar-date-picker,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer .menu-btns-popup .calendar-date-picker{background-color:var(--memos-memo-bg);padding:var(--size-2-2)}div[data-type=thino_view] .section-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer .menu-btns-popup:has(.quick-date-btn-group) .calendar-date-picker,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer .menu-btns-popup:has(.quick-date-btn-group) .calendar-date-picker{border-radius:unset;border-left:1px solid var(--memos-bg-lightgray)}div[data-type=thino_view] .section-header-container>.memos-header-search-section .thino-inline-filter-container>.dialog-footer-container,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-container>.dialog-footer-container{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;width:100%;margin-top:0}div[data-type=thino_view] .section-header-container>.memos-header-search-section .thino-inline-filter-container>.dialog-footer-container>.btns-container,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-container>.dialog-footer-container>.btns-container{display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%}div[data-type=thino_view] .section-header-container>.memos-header-search-section .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btn,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btn{padding:6px 16px;font-size:var(--font-ui-small);border-radius:4px}div[data-type=thino_view] .section-header-container>.memos-header-search-section .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btn:hover,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btn:hover{color:var(--memos-text-hover);background-color:var(--memos-bg-accent)}div[data-type=thino_view] .section-header-container>.memos-header-search-section .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btn.save-btn,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btn.save-btn{background-color:var(--interactive-normal);color:var(--memos-text-muted)}div[data-type=thino_view] .section-header-container>.memos-header-search-section .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btn.save-btn:hover,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btn.save-btn:hover{color:var(--memos-text-hover);background-color:var(--memos-bg-accent)}div[data-type=thino_view] .section-header-container>.memos-header-search-section .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btn.mod-cta,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btn.mod-cta{background-color:var(--interactive-normal);margin-right:var(--size-4-2)}div[data-type=thino_view] .section-header-container>.memos-header-search-section .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container{display:flex;flex-direction:row;justify-content:flex-start;align-items:center}div[data-type=thino_view] .section-header-container>.memos-header-search-section .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container>.tip-text,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container>.tip-text{font-size:var(--font-ui-small);color:gray;margin-right:8px;white-space:nowrap}div[data-type=thino_view] .section-header-container>.memos-header-search-section .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container>.btn,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container>.btn{padding:6px 16px;font-size:var(--font-ui-small);border-radius:4px}div[data-type=thino_view] .section-header-container>.memos-header-search-section .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container>.btn:hover,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container>.btn:hover{opacity:.8}div[data-type=thino_view] .section-header-container>.memos-header-search-section .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container>.btn.disabled,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container>.btn.disabled{color:var(--memos-text-muted);cursor:not-allowed}div[data-type=thino_view] .section-header-container>.memos-header-search-section .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container>.btn.save-btn,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container>.btn.save-btn{background-color:var(--memos-bg-accent);color:var(--memos-text-hover)}div[data-type=thino_view] .section-header-container>.memos-header-search-section .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container>.btn.save-btn.requesting,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container>.btn.save-btn.requesting{cursor:wait;opacity:.8}div[data-type=thino_view] .section-header-container>.memos-header-search-section .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container>.btn.mod-cta,div[data-type=thino_view] .memos-header-container>.memos-header-search-section .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container>.btn.mod-cta{margin-right:var(--size-4-2)}div[data-type=thino_view] .section-header-container>.title-text,div[data-type=thino_view] .memos-header-container>.title-text{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;font-weight:700;font-size:18px;line-height:40px;color:var(--memos-text-black);margin-right:8px;overflow:hidden;text-overflow:ellipsis;flex-shrink:0;cursor:pointer}div[data-type=thino_view] .section-header-container>.title-text>.action-btn,div[data-type=thino_view] .memos-header-container>.title-text>.action-btn{display:flex;flex-direction:row;justify-content:center;align-items:center;width:24px;height:24px;margin-right:4px;flex-shrink:0;background-color:unset;box-shadow:unset}div[data-type=thino_view] .section-header-container>.title-text>.action-btn:hover,div[data-type=thino_view] .memos-header-container>.title-text>.action-btn:hover{background-color:var(--memos-bg-gray)}div[data-type=thino_view] .section-header-container>.title-text>.action-btn>.icon-img,div[data-type=thino_view] .memos-header-container>.title-text>.action-btn>.icon-img{width:18px;height:18px}div[data-type=thino_view] .section-header-container>.btns-container,div[data-type=thino_view] .memos-header-container>.btns-container{display:flex;flex-direction:row;justify-content:flex-end;align-items:center}div[data-type=thino_view] .section-header-container .refresh-icon,div[data-type=thino_view] .memos-header-container .refresh-icon{width:var(--size-4-6);height:var(--size-4-6);margin-left:var(--size-2-2);padding:var(--size-2-2);border-radius:var(--size-2-2);flex-shrink:0;display:flex;align-items:center;color:var(--memos-icon-hover);--icon-size: 18px}div[data-type=thino_view] .section-header-container .refresh-icon:hover,div[data-type=thino_view] .memos-header-container .refresh-icon:hover{color:var(--memos-accent-hover);background-color:var(--memos-icon-hover)}div[data-type=thino_view].mobile-view .section-header-container,div[data-type=thino_view].mobile-view .memos-header-container{height:auto;margin-top:4px;margin-bottom:0;padding:0 12px 8px}div[data-type=thino_view].mobile-view .section-header-container>.title-text,div[data-type=thino_view].mobile-view .memos-header-container>.title-text{color:var(--memos-text-black)}div[data-type=thino_view].mobile-view .section-header-container>.title-text>.normal-text,div[data-type=thino_view].mobile-view .memos-header-container>.title-text>.normal-text{display:none}div[data-type=thino_view].mobile-view .section-header-container>.title-text>.action-btn,div[data-type=thino_view].mobile-view .memos-header-container>.title-text>.action-btn{display:flex;flex-direction:row;justify-content:center;align-items:center;width:30px;height:32px;margin-right:var(--size-2-1);margin-left:calc(var(--size-2-1));padding:0;flex-shrink:0;background-color:unset}div[data-type=thino_view].mobile-view .section-header-container>.title-text>.action-btn>.icon-img,div[data-type=thino_view].mobile-view .memos-header-container>.title-text>.action-btn>.icon-img{width:18px;height:18px;color:var(--memos-text-accent)}.modal-content:has(.thino-inline-filter-container){display:flex;align-items:center;justify-content:flex-start;padding:var(--size-4-2)}.modal-content:has(.thino-inline-filter-container) .thino-inline-filter-container{width:100%;height:fit-content;z-index:99;padding:var(--size-4-2);border-radius:var(--memos-radius-l)}.modal-content:has(.thino-inline-filter-container) .thino-inline-filter-container .dialog-content-container{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;width:100%;-webkit-user-select:text;user-select:text}.modal-content:has(.thino-inline-filter-container) .thino-inline-filter-container .dialog-content-container>.form-item-container{display:flex;flex-direction:row;justify-content:flex-start;align-items:flex-start;width:100%;padding:var(--size-2-2) var(--size-4-2);border-bottom:1px solid var(--memos-bg-lightgray);margin-bottom:var(--size-4-2)}.modal-content:has(.thino-inline-filter-container) .thino-inline-filter-container .dialog-content-container>.form-item-container>.normal-text{display:block;flex-shrink:0;width:40px;margin-right:12px;text-align:right;color:gray;font-size:var(--font-ui-small);line-height:32px}.modal-content:has(.thino-inline-filter-container) .thino-inline-filter-container .dialog-content-container>.form-item-container>.title-input{width:100%;padding:0 8px;font-size:var(--font-ui-small);line-height:32px;border-radius:4px;border:1px solid var(--memos-bg-gray);resize:none}.modal-content:has(.thino-inline-filter-container) .thino-inline-filter-container .dialog-content-container>.form-item-container>.filters-wrapper{width:100%;display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start}.modal-content:has(.thino-inline-filter-container) .thino-inline-filter-container .dialog-content-container>.form-item-container>.filters-wrapper>.create-filter-btn{color:var(--memos-text-green);font-size:var(--font-ui-small);line-height:32px;cursor:pointer}.modal-content:has(.thino-inline-filter-container) .thino-inline-filter-container .dialog-content-container .selector-wrapper>.current-value-container{margin-right:var(--size-2-2)}.modal-content:has(.thino-inline-filter-container) .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>input.value-inputer{border:1px solid var(--memos-bg-gray);background-color:transparent}.modal-content:has(.thino-inline-filter-container) .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>input.value-inputer{max-width:100%;width:40%;height:34px;padding-left:var(--size-4-2);padding-right:var(--size-4-2);margin-right:var(--size-2-2);border-radius:4px;border:1px solid var(--memos-bg-gray);background-color:transparent}.modal-content:has(.thino-inline-filter-container) .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>input.value-inputer:hover{background-color:var(--memos-bg-lightgray)}.modal-content:has(.thino-inline-filter-container) .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer{position:relative}.modal-content:has(.thino-inline-filter-container) .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer>input.value-inputer{width:100%;height:34px;padding-left:var(--size-4-8);padding-right:var(--size-4-2);margin-right:var(--size-2-2);border-radius:4px;border:1px solid var(--memos-bg-gray);background-color:transparent}.modal-content:has(.thino-inline-filter-container) .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer>input.value-inputer:hover{background-color:var(--memos-bg-lightgray)}.modal-content:has(.thino-inline-filter-container) .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer>.calendar-btn{position:absolute;left:var(--size-4-2);top:var(--size-4-2);width:16px;height:auto;cursor:pointer;opacity:.8;margin-right:var(--size-4-2)}.modal-content:has(.thino-inline-filter-container) .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer>.calendar-btn:hover{opacity:.6}.modal-content:has(.thino-inline-filter-container) .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer .menu-btns-popup{display:flex;flex-direction:row;justify-content:flex-start;align-items:flex-start;position:absolute;top:36px;left:calc(var(--size-4-8) * -1);padding:4px;width:auto;border-radius:8px;z-index:20;box-shadow:var(--memos-memo-shadow);background-color:var(--memos-memo-bg)}.modal-content:has(.thino-inline-filter-container) .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer .menu-btns-popup .quick-date-btn-group{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;height:100%;width:92px;font-size:var(--font-ui-smaller);gap:var(--size-4-2);padding-top:var(--size-4-2);padding-left:var(--size-2-2);padding-right:var(--size-2-2);color:var(--memos-text-muted)}.modal-content:has(.thino-inline-filter-container) .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer .menu-btns-popup .quick-date-btn-group>.quick-date-btn{width:100%;padding:var(--size-2-1);padding-top:var(--size-2-2);padding-bottom:var(--size-2-2);border-radius:var(--memos-radius-m)}.modal-content:has(.thino-inline-filter-container) .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer .menu-btns-popup .quick-date-btn-group>.quick-date-btn:hover{background:var(--memos-bg-lightgray)}.modal-content:has(.thino-inline-filter-container) .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer .menu-btns-popup .calendar-date-picker{background-color:var(--memos-memo-bg);padding:var(--size-2-2)}.modal-content:has(.thino-inline-filter-container) .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer .menu-btns-popup:has(.quick-date-btn-group) .calendar-date-picker{border-radius:unset;border-left:1px solid var(--memos-bg-lightgray)}.modal-content:has(.thino-inline-filter-container) .thino-inline-filter-container>.dialog-footer-container{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;width:100%;margin-top:0}.modal-content:has(.thino-inline-filter-container) .thino-inline-filter-container>.dialog-footer-container>.btns-container{display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%}.modal-content:has(.thino-inline-filter-container) .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btn{padding:6px 16px;font-size:var(--font-ui-small);border-radius:4px}.modal-content:has(.thino-inline-filter-container) .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btn:hover{color:var(--memos-text-hover);background-color:var(--memos-bg-accent);opacity:.8}.modal-content:has(.thino-inline-filter-container) .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btn.save-btn{background-color:var(--interactive-normal);color:var(--memos-text-muted)}.modal-content:has(.thino-inline-filter-container) .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btn.save-btn:hover{color:var(--memos-text-hover);background-color:var(--memos-bg-accent)}.modal-content:has(.thino-inline-filter-container) .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btn.mod-cta{background-color:var(--interactive-normal);margin-right:var(--size-4-2)}.modal-content:has(.thino-inline-filter-container) .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btn.mod-cta:hover{color:var(--memos-text-hover);background-color:var(--memos-bg-accent)}.modal-content:has(.thino-inline-filter-container) .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container{display:flex;flex-direction:row;justify-content:flex-start;align-items:center}.modal-content:has(.thino-inline-filter-container) .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container>.tip-text{font-size:var(--font-ui-small);color:gray;margin-right:8px;white-space:nowrap}.modal-content:has(.thino-inline-filter-container) .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container>.btn{padding:6px 16px;font-size:var(--font-ui-small);border-radius:4px}.modal-content:has(.thino-inline-filter-container) .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container>.btn:hover{opacity:.8}.modal-content:has(.thino-inline-filter-container) .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container>.btn.disabled{color:#d3d3d3;cursor:not-allowed}.modal-content:has(.thino-inline-filter-container) .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container>.btn.save-btn{background-color:var(--memos-bg-accent);color:var(--memos-text-hover)}.modal-content:has(.thino-inline-filter-container) .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container>.btn.save-btn.requesting{cursor:wait;opacity:.8}.modal-content:has(.thino-inline-filter-container) .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container>.btn.mod-cta{margin-right:var(--size-4-2)}div[data-type=thino_view] .memo-review-wrapper{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;width:100%;height:100%;flex-grow:1;overflow-y:scroll}div[data-type=thino_view] .memo-review-wrapper::-webkit-scrollbar{width:0;height:0;cursor:pointer}div[data-type=thino_view] .memo-review-wrapper::-webkit-scrollbar-thumb{width:0;height:0;border-radius:8px;background-color:#d5d5d5}div[data-type=thino_view] .memo-review-wrapper::-webkit-scrollbar-thumb:hover{background-color:#ccc}div[data-type=thino_view] .memo-review-wrapper::-webkit-scrollbar{display:none}div[data-type=thino_view] .memo-review-wrapper>.section-header-container{width:100%;height:40px;margin-bottom:var(--size-4-4);color:var(--memos-text-black)}div[data-type=thino_view] .memo-review-wrapper>.section-header-container>.title-wrapper{font-weight:700;font-size:var(--font-ui-medium);color:var(--memos-text-black);display:flex;justify-content:space-between;width:100%}div[data-type=thino_view] .memo-review-wrapper>.section-header-container>.title-wrapper>.title-btns-left-wrapper{display:flex;align-items:center;gap:var(--size-4-2)}div[data-type=thino_view] .memo-review-wrapper>.section-header-container>.title-wrapper>.title-btns-left-wrapper>.refresh-icon{padding:var(--size-2-2);width:var(--size-4-6);height:var(--size-4-6);border-radius:var(--size-2-2);color:var(--memos-memo-bg-primary);cursor:pointer}div[data-type=thino_view] .memo-review-wrapper>.section-header-container>.title-wrapper>.title-btns-left-wrapper>.refresh-icon:hover{color:var(--memos-accent-hover);background-color:var(--memos-icon-hover)}div[data-type=thino_view] .memo-review-wrapper>.section-header-container>.title-wrapper>.title-btns-right-wrapper{display:flex;align-items:center;justify-content:center}div[data-type=thino_view] .memo-review-wrapper>.section-header-container>.title-wrapper>.title-btns-right-wrapper>.go-home-btn{margin-left:8px;color:var(--memos-text-muted);background-color:var(--memos-icon);padding:6px;font-size:var(--font-ui-small);border-radius:4px;cursor:pointer}div[data-type=thino_view] .memo-review-wrapper>.section-header-container>.title-wrapper>.title-btns-right-wrapper>.go-home-btn:hover{color:var(--memos-accent-hover)}div[data-type=thino_view] .memo-review-wrapper>.tip-text-container{width:100%;height:128px;display:flex;flex-direction:column;justify-content:center;align-items:center}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;flex-grow:1;font-size:var(--font-ui-medium);width:100%;overflow-y:scroll;padding-bottom:64px;color:var(--memos-text-black);gap:var(--size-4-2)}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container::-webkit-scrollbar{width:0;height:0;cursor:pointer}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container::-webkit-scrollbar-thumb{width:0;height:0;border-radius:8px;background-color:#d5d5d5}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container::-webkit-scrollbar-thumb:hover{background-color:#ccc}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container::-webkit-scrollbar{display:none}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container .memo-wrapper{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;width:100%;padding:12px 18px;background-color:var(--memos-memo-bg);border-radius:8px;border:1px solid var(--memos-memo-border)}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container .memo-wrapper:hover{border-color:var(--memos-memo-border-hover)}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container .memo-wrapper>.memo-top-wrapper{display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%;height:24px}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container .memo-wrapper>.memo-top-wrapper>.time-text{font-size:var(--font-ui-small);line-height:24px;color:var(--memos-text-muted);flex-shrink:0;cursor:pointer}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container .memo-wrapper>.memo-top-wrapper>.time-text:hover{color:var(--memos-text-hover)}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container .memo-wrapper>.memo-top-wrapper>.btns-container{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;position:relative;flex-shrink:0}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container .memo-wrapper>.memo-top-wrapper>.btns-container>.more-action-btns-wrapper{display:flex;flex-direction:column;justify-content:flex-start;align-items:center;position:absolute;flex-wrap:nowrap;top:calc(100% - 14px);right:-16px;width:auto;height:auto;padding:12px;z-index:1;display:none;min-width:140px}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container .memo-wrapper>.memo-top-wrapper>.btns-container>.more-action-btns-wrapper:hover{display:flex}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container .memo-wrapper>.memo-top-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container{display:flex;width:100%;height:auto;padding:var(--size-4-2);white-space:nowrap;border-radius:8px;background-color:var(--memos-memo-bg);box-shadow:var(--memos-memo-shadow);z-index:1;flex-direction:column}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container .memo-wrapper>.memo-top-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item{display:flex;justify-content:flex-start;align-items:center;gap:var(--size-2-2);padding-left:var(--size-4-2);padding-right:var(--size-4-2)}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container .memo-wrapper>.memo-top-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item>.more-action-item-icon{display:flex}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container .memo-wrapper>.memo-top-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item>.more-action-item-icon>svg{height:var(--size-4-4)}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container .memo-wrapper>.memo-top-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item>.btn{width:100%;padding:8px 0 8px 6px;border-radius:4px;height:unset;line-height:unset;justify-content:flex-start}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container .memo-wrapper>.memo-top-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item>.btn.delete-btn{color:var(--memos-text-red)}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container .memo-wrapper>.memo-top-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item>.btn.delete-btn.final-confirm{font-weight:700}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container .memo-wrapper>.memo-top-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item.archive-menu-item,div[data-type=thino_view] .memo-review-wrapper>.review-memos-container .memo-wrapper>.memo-top-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item.delete-menu-item{color:var(--memos-text-red)}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container .memo-wrapper>.memo-top-wrapper>.btns-container>.more-action-btns-wrapper>.more-action-btns-container .more-action-menu-item:hover{background-color:var(--memos-bg-lightgray)}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container .memo-wrapper>.memo-top-wrapper>.btns-container .btn{display:flex;flex-direction:row;justify-content:center;align-items:center;width:100%;height:var(--size-4-6);font-size:var(--font-ui-small);border-radius:4px}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container .memo-wrapper>.memo-top-wrapper>.btns-container .btn:hover{background-color:var(--memos-bg-lightgray)}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container .memo-wrapper>.memo-top-wrapper>.btns-container .btn.more-action-btn{width:var(--size-4-6);cursor:unset;margin-right:-6px;opacity:.8}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container .memo-wrapper>.memo-top-wrapper>.btns-container .btn.more-action-btn>.icon-img{width:16px;height:16px}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container .memo-wrapper>.memo-top-wrapper>.btns-container .btn.more-action-btn:hover{background-color:unset}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container .memo-wrapper>.memo-top-wrapper>.btns-container .btn.more-action-btn:hover+.more-action-btns-wrapper{display:flex}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container .memo-wrapper>.images-wrapper{display:flex;flex-direction:row;justify-content:flex-start;align-items:flex-start;margin-top:8px;width:100%;overflow-x:auto;overflow-y:hidden;padding-bottom:4px}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container .memo-wrapper>.images-wrapper::-webkit-scrollbar{width:0;height:2px;cursor:pointer}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container .memo-wrapper>.images-wrapper::-webkit-scrollbar-thumb{width:0;height:2px;border-radius:8px;background-color:#d5d5d5}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container .memo-wrapper>.images-wrapper::-webkit-scrollbar-thumb:hover{background-color:#ccc}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container .memo-wrapper>.images-wrapper>.memo-img{margin-right:8px;width:auto;height:128px;flex-shrink:0;flex-grow:0;overflow-y:hidden}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container .memo-wrapper>.images-wrapper>.memo-img::-webkit-scrollbar{width:0;height:0;cursor:pointer}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container .memo-wrapper>.images-wrapper>.memo-img::-webkit-scrollbar-thumb{width:0;height:0;border-radius:8px;background-color:#d5d5d5}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container .memo-wrapper>.images-wrapper>.memo-img::-webkit-scrollbar-thumb:hover{background-color:#ccc}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container .memo-wrapper>.images-wrapper>.memo-img::-webkit-scrollbar{display:none}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container .memo-wrapper>.images-wrapper>.memo-img:hover{border-color:var(--memos-memo-border-hover)}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container .memo-wrapper>.images-wrapper>.memo-img:last-child{margin-right:0}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container .memo-wrapper>.images-wrapper>.memo-img>img{width:auto;max-height:128px;border-radius:8px}div[data-type=thino_view] .memo-review-wrapper>.review-memos-container>.memo-wrapper>.memo-content-text{width:100%;font-size:var(--font-ui-medium);line-height:24px}div[data-type=thino_view] .memo-review-wrapper:has(.filter-query-container:not(.thino-hidden)) .menu-popup-btn{display:none}div[data-type=thino_view].mobile-view .review-memos-container{padding:0 12px 24px;gap:var(--size-4-2)}div[data-type=thino_view].mobile-view .memo-review-wrapper{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;width:100%;height:100%;flex-grow:1;overflow-y:scroll}div[data-type=thino_view].mobile-view .memo-review-wrapper::-webkit-scrollbar{width:0;height:0;cursor:pointer}div[data-type=thino_view].mobile-view .memo-review-wrapper::-webkit-scrollbar-thumb{width:0;height:0;border-radius:8px;background-color:#d5d5d5}div[data-type=thino_view].mobile-view .memo-review-wrapper::-webkit-scrollbar-thumb:hover{background-color:#ccc}div[data-type=thino_view].mobile-view .memo-review-wrapper::-webkit-scrollbar{display:none}div[data-type=thino_view].mobile-view .memo-review-wrapper>.section-header-container{width:100%;height:58px;margin-bottom:0}div[data-type=thino_view].mobile-view .memo-review-wrapper>.section-header-container>.title-text{font-weight:700;font-size:var(--font-ui-medium);color:var(--memos-text-black)}div[data-type=thino_view] .daily-thinos-list-wrapper{width:100%;height:100%;padding-bottom:var(--size-4-12)}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container{width:100%;height:40px;margin-bottom:var(--size-4-4);color:var(--memos-text-black)}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.title-text{font-weight:700;font-size:var(--font-ui-medium);color:var(--memos-text-black)}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.title-text>.go-home-btn{color:var(--memos-text-accent);background-color:var(--memos-memo-border);padding-left:6px;padding-right:6px;font-size:var(--font-ui-small);border-radius:4px;cursor:pointer}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.title-text>.go-home-btn:hover{color:var(--memos-accent-hover)}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section{display:flex;flex-direction:row;justify-content:flex-end;gap:var(--size-2-2)}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .btns-container{display:flex;gap:var(--size-4-2);padding-right:var(--size-4-2);padding-left:var(--size-4-2)}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .btns-container .btn.generating{-webkit-animation:spin 1s linear 1s 5 alternate;animation:spin 1s linear infinite}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .thino-inline-filter-wrapper{display:flex;align-items:center;border:1px solid var(--thino-wrapper-border);color:var(--memos-text-muted);padding:var(--size-2-2);border-radius:var(--memos-radius-m);cursor:pointer;--icon-size: 18px}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .thino-inline-filter-wrapper:hover{color:var(--memos-accent-hover);background:var(--thino-wrapper-background-hover)}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .thino-inline-filter-container{position:absolute;width:400px;height:fit-content;z-index:99;background-color:var(--thino-background-primary);box-shadow:0 0 8px #0000001a;padding:var(--size-4-2);border-radius:var(--memos-radius-m)}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .thino-inline-filter-container .dialog-content-container{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;width:100%;-webkit-user-select:text;user-select:text}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .thino-inline-filter-container .dialog-content-container>.form-item-container{display:flex;flex-direction:row;justify-content:flex-start;align-items:flex-start;width:100%;padding:var(--size-2-2) var(--size-4-2);border-bottom:1px solid var(--memos-bg-lightgray);margin-bottom:var(--size-4-2)}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .thino-inline-filter-container .dialog-content-container>.form-item-container>.normal-text{display:block;flex-shrink:0;width:40px;margin-right:12px;text-align:right;color:gray;font-size:var(--font-ui-small);line-height:32px}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .thino-inline-filter-container .dialog-content-container>.form-item-container>.title-input{width:100%;padding:0 8px;font-size:var(--font-ui-small);line-height:32px;border-radius:4px;border:1px solid var(--memos-bg-gray);resize:none}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .thino-inline-filter-container .dialog-content-container>.form-item-container>.filters-wrapper{width:100%;display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .thino-inline-filter-container .dialog-content-container>.form-item-container>.filters-wrapper>.create-filter-btn{color:var(--memos-text-green);font-size:var(--font-ui-small);line-height:32px;cursor:pointer}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .thino-inline-filter-container .dialog-content-container .selector-wrapper>.current-value-container{margin-right:var(--size-2-2)}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>input.value-inputer{border:1px solid var(--memos-bg-gray);background-color:transparent}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>input.value-inputer{max-width:100%;width:calc(100% - 152px);height:34px;padding-left:var(--size-4-2);padding-right:var(--size-4-2);margin-right:var(--size-2-2);border-radius:4px;border:1px solid var(--memos-bg-gray);background-color:transparent}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>input.value-inputer:hover{background-color:var(--memos-bg-lightgray)}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer{position:relative}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer>input.value-inputer{width:100%;height:34px;padding-left:var(--size-4-8);padding-right:var(--size-4-2);margin-right:var(--size-2-2);border-radius:4px;border:1px solid var(--memos-bg-gray);background-color:transparent}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer>input.value-inputer:hover{background-color:var(--memos-bg-lightgray)}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer>.calendar-btn{position:absolute;left:var(--size-4-2);top:var(--size-4-2);width:16px;height:auto;cursor:pointer;opacity:.8;margin-right:var(--size-4-2)}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer>.calendar-btn:hover{opacity:.6}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer .menu-btns-popup{display:flex;flex-direction:row;justify-content:flex-start;align-items:flex-start;position:absolute;top:36px;left:calc(var(--size-4-8) * -1);padding:4px;width:auto;border-radius:8px;z-index:20;box-shadow:var(--memos-memo-shadow);background-color:var(--memos-memo-bg)}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer .menu-btns-popup .quick-date-btn-group{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;height:100%;width:92px;font-size:var(--font-ui-smaller);gap:var(--size-4-2);padding-top:var(--size-4-2);padding-left:var(--size-2-2);padding-right:var(--size-2-2);color:var(--memos-text-muted)}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer .menu-btns-popup .quick-date-btn-group>.quick-date-btn{width:100%;padding:var(--size-2-1);padding-top:var(--size-2-2);padding-bottom:var(--size-2-2);border-radius:var(--memos-radius-m)}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer .menu-btns-popup .quick-date-btn-group>.quick-date-btn:hover{background:var(--memos-bg-lightgray)}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer .menu-btns-popup .calendar-date-picker{background-color:var(--memos-memo-bg);padding:var(--size-2-2)}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer .menu-btns-popup:has(.quick-date-btn-group) .calendar-date-picker{border-radius:unset;border-left:1px solid var(--memos-bg-lightgray)}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .thino-inline-filter-container>.dialog-footer-container{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;width:100%;margin-top:0}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .thino-inline-filter-container>.dialog-footer-container>.btns-container{display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btn{padding:6px 16px;font-size:var(--font-ui-small);border-radius:4px}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btn:hover{color:var(--memos-text-hover);background-color:var(--memos-bg-accent)}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btn.save-btn{background-color:var(--interactive-normal);color:var(--memos-text-muted)}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btn.save-btn:hover{color:var(--memos-text-hover);background-color:var(--memos-bg-accent)}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btn.mod-cta{background-color:var(--interactive-normal);margin-right:var(--size-4-2)}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container{display:flex;flex-direction:row;justify-content:flex-start;align-items:center}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container>.tip-text{font-size:var(--font-ui-small);color:gray;margin-right:8px;white-space:nowrap}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container>.btn{padding:6px 16px;font-size:var(--font-ui-small);border-radius:4px}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container>.btn:hover{opacity:.8}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container>.btn.disabled{color:var(--memos-text-muted);cursor:not-allowed}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container>.btn.save-btn{background-color:var(--memos-bg-accent);color:var(--memos-text-hover)}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container>.btn.save-btn.requesting{cursor:wait;opacity:.8}div[data-type=thino_view] .daily-thinos-list-wrapper>.section-header-container>.header-right-section .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container>.btn.mod-cta{margin-right:var(--size-4-2)}div[data-type=thino_view] .daily-thinos-list-wrapper .tip-container{width:100%;height:100%;display:flex;justify-content:center;align-items:flex-start;margin:auto;padding:16px 0}div[data-type=thino_view] .daily-thinos-list-wrapper .tip-container>.tip-text{font-style:italic;text-align:center}div[data-type=thino_view] .daily-thinos-list-wrapper .daily-thinos-view-wrapper{height:100%;width:100%;overflow-x:hidden;overflow-y:scroll}div[data-type=thino_view] .daily-thinos-list-wrapper .daily-thinos-view-wrapper::-webkit-scrollbar{width:0;height:0;cursor:pointer}div[data-type=thino_view] .daily-thinos-list-wrapper .daily-thinos-view-wrapper::-webkit-scrollbar-thumb{width:0;height:0;border-radius:8px;background-color:#d5d5d5}div[data-type=thino_view] .daily-thinos-list-wrapper .daily-thinos-view-wrapper::-webkit-scrollbar-thumb:hover{background-color:#ccc}div[data-type=thino_view] .daily-thinos-list-wrapper .daily-thinos-view-wrapper::-webkit-scrollbar{display:none}div[data-type=thino_view] .daily-thinos-list-wrapper .daily-thinos-view-wrapper .daily-thinos-view-container{height:auto;width:100%;overflow-x:hidden;overflow-y:hidden;padding-left:var(--size-2-1);padding-right:var(--size-2-2)}div[data-type=thino_view] .daily-thinos-list-wrapper .daily-thinos-view-wrapper .daily-thinos-view-container::-webkit-scrollbar{width:0;height:0;cursor:pointer}div[data-type=thino_view] .daily-thinos-list-wrapper .daily-thinos-view-wrapper .daily-thinos-view-container::-webkit-scrollbar-thumb{width:0;height:0;border-radius:8px;background-color:#d5d5d5}div[data-type=thino_view] .daily-thinos-list-wrapper .daily-thinos-view-wrapper .daily-thinos-view-container::-webkit-scrollbar-thumb:hover{background-color:#ccc}div[data-type=thino_view] .daily-thinos-list-wrapper .daily-thinos-view-wrapper .daily-thinos-view-container::-webkit-scrollbar{display:none}div[data-type=thino_view] .daily-thinos-list-wrapper .daily-thinos-view-wrapper .daily-thinos-view-container .date-card-container{display:flex;flex-direction:column;justify-content:center;align-items:center;margin:auto;padding-bottom:24px;z-index:1;-webkit-user-select:none;user-select:none;width:100%;gap:var(--size-4-2)}div[data-type=thino_view] .daily-thinos-list-wrapper .daily-thinos-view-wrapper .daily-thinos-view-container .date-card-container>.date-container-details{display:flex;justify-content:space-between;width:100%;align-items:center}div[data-type=thino_view] .daily-thinos-list-wrapper .daily-thinos-view-wrapper .daily-thinos-view-container .date-card-container>.date-container-details .details-text{display:flex;font-size:28px;justify-content:flex-start;gap:var(--size-4-2);font-weight:500;word-wrap:normal}div[data-type=thino_view] .daily-thinos-list-wrapper .daily-thinos-view-wrapper .daily-thinos-view-container .date-card-container>.date-container-details .details-text .day-text{display:flex;width:fit-content}div[data-type=thino_view] .daily-thinos-list-wrapper .daily-thinos-view-wrapper .daily-thinos-view-container .date-card-container>.date-container-details .details-text .date-text{display:flex;color:var(--thino-modern-text-faint);word-wrap:normal;width:90px}div[data-type=thino_view] .daily-thinos-list-wrapper .daily-thinos-view-wrapper .daily-thinos-view-container .date-card-container>.date-container-details .details-text:hover{color:var(--memos-text-muted)}div[data-type=thino_view] .daily-thinos-list-wrapper .daily-thinos-view-wrapper .daily-thinos-view-container .date-card-container>.date-container-details .details-text:hover .date-text{color:var(--memos-text-muted)}div[data-type=thino_view] .daily-thinos-list-wrapper .daily-thinos-view-wrapper .daily-thinos-view-container .date-card-container>.date-container-details .details-logo-text{display:flex;justify-content:center;align-items:center;color:var(--thino-modern-text-faint-hover);font-size:var(--font-ui-small);width:90px;padding:6px;padding-left:var(--size-4-2);padding-right:var(--size-4-2);background-color:var(--thino-button-background);border-radius:var(--memos-radius-m)}div[data-type=thino_view] .daily-thinos-list-wrapper .daily-thinos-view-wrapper .daily-thinos-view-container .date-card-container>.date-container-info{display:flex;font-size:18px;justify-content:space-between;width:100%;color:var(--thino-modern-text-faint)}div[data-type=thino_view] .daily-thinos-list-wrapper .daily-thinos-view-wrapper .daily-thinos-view-container .date-card-container>.date-container-info .date-container-info-text{display:flex;flex-direction:row;gap:var(--size-2-2);width:100%}div[data-type=thino_view] .daily-thinos-list-wrapper .daily-thinos-view-wrapper .daily-thinos-view-container .date-card-container>.date-container-info:hover{color:var(--memos-text-muted)}div[data-type=thino_view] .daily-thinos-list-wrapper .daily-thinos-view-wrapper .daily-thinos-view-container .date-card-container:has(~.date-picker-wrapper:not(.thino-hidden)){padding-bottom:12px}div[data-type=thino_view] .daily-thinos-list-wrapper .daily-thinos-view-wrapper .daily-thinos-view-container .date-picker{border:1px solid var(--memos-bg-lightgray);border-radius:8px;margin:0 auto 24px;background-color:unset}div[data-type=thino_view] .daily-thinos-list-wrapper .daily-thinos-view-wrapper .daily-thinos-view-container .daily-thinos-list-container{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;padding-top:8px;padding-bottom:24px;width:100%;height:100%}div[data-type=thino_view] .daily-thinos-list-wrapper .daily-thinos-view-wrapper .daily-thinos-view-container .daily-thinos-list-container .daily-thino-wrapper{display:flex;flex-direction:row;justify-content:flex-start;align-items:flex-start;position:relative;width:100%;margin-left:24px;padding:0 0 24px;border:none;border-left:2px solid var(--thino-wrapper-border-hover)}div[data-type=thino_view] .daily-thinos-list-wrapper .daily-thinos-view-wrapper .daily-thinos-view-container .daily-thinos-list-container .daily-thino-wrapper:last-child{border-left:none;padding-bottom:0;padding-left:2px}div[data-type=thino_view] .daily-thinos-list-wrapper .daily-thinos-view-wrapper .daily-thinos-view-container .daily-thinos-list-container .daily-thino-wrapper>.time-wrapper{display:flex;flex-direction:column;justify-content:center;align-items:center;position:relative;left:-24px;margin-top:-2px;flex-shrink:0;width:48px;height:28px;border-radius:6px;background-color:var(--thino-wrapper-background);color:var(--thino-button-text-faint);-webkit-user-select:none;user-select:none}div[data-type=thino_view] .daily-thinos-list-wrapper .daily-thinos-view-wrapper .daily-thinos-view-container .daily-thinos-list-container .daily-thino-wrapper>.time-wrapper>.normal-text{margin:0 auto;font-size:var(--font-ui-small);line-height:24px}div[data-type=thino_view] .daily-thinos-list-wrapper .daily-thinos-view-wrapper .daily-thinos-view-container .daily-thinos-list-container .daily-thino-wrapper>.time-wrapper:hover{background-color:var(--thino-divider-hover);color:var(--memos-text-muted)}div[data-type=thino_view] .daily-thinos-list-wrapper .daily-thinos-view-wrapper .daily-thinos-view-container .daily-thinos-list-container .daily-thino-wrapper>.daily-thino-container{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;width:100%;margin-left:-12px;padding:0 24px 0 0;font-size:16px;margin-top:-3px;vertical-align:center}div[data-type=thino_view] .daily-thinos-list-wrapper .daily-thinos-view-wrapper .daily-thinos-view-container .daily-thinos-list-container .daily-thino-wrapper>.daily-thino-container .memo-wrapper{padding:0;border:unset;background-color:unset;padding-right:var(--size-4-2)}div[data-type=thino_view] .daily-thinos-list-wrapper .daily-thinos-view-wrapper .daily-thinos-view-container .daily-thinos-list-container .daily-thino-wrapper>.daily-thino-container .memo-wrapper .memo-top-wrapper{display:none}div[data-type=thino_view] .daily-thinos-list-wrapper .daily-thinos-view-wrapper .daily-thinos-view-container .daily-thinos-list-container .daily-thino-wrapper>.daily-thino-container .memo-wrapper .memo-content-text{width:100%;word-wrap:normal}div[data-type=thino_view] .daily-thinos-list-wrapper .daily-thinos-view-wrapper .daily-thinos-view-container .daily-thinos-list-container .daily-thino-wrapper>.daily-thino-container .memo-wrapper .memo-content-text p:first-child{margin-block-start:0}div[data-type=thino_view] .daily-thinos-list-wrapper .daily-thinos-view-wrapper .daily-thinos-view-container .daily-thinos-list-container .daily-thino-wrapper>.daily-thino-container .memo-wrapper .memo-content-text p{margin-block-start:calc(var(--p-spacing) * .5);margin-block-end:calc(var(--p-spacing) * .5)}div[data-type=thino_view] .daily-thinos-list-wrapper .daily-thinos-view-wrapper .daily-thinos-view-container .daily-thinos-list-container .daily-thino-wrapper>.daily-thino-container .memo-wrapper:hover{border:unset}div[data-type=thino_view] .daily-thinos-list-wrapper .daily-thinos-view-wrapper .daily-thinos-view-container .daily-thinos-list-container .daily-thino-wrapper>.daily-thino-container .memo-wrapper:has(.memo-editor-wrapper){padding:var(--size-4-3);border:1px solid var(--memos-memo-border)}div[data-type=thino_view] .daily-thinos-list-wrapper .daily-thinos-view-wrapper .daily-thinos-view-container .daily-thinos-list-container .daily-thino-wrapper>.daily-thino-container .memo-wrapper:has(.memo-editor-wrapper):hover{border-color:var(--memos-memo-border-hover)}div[data-type=thino_view] .daily-thinos-list-wrapper:has(.filter-query-container:not(.thino-hidden)~.daily-thinos-view-wrapper) .daily-thinos-view-wrapper{padding-top:12px}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(360deg)}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}div[data-type=thino_view]:has(.daily-thinos-view-wrapper) .heatmap-default{display:none}div[data-type=thino_view]:has(.daily-thinos-view-wrapper) .status-text-container{display:flex}div[data-type=thino_view]:has(.daily-thinos-view-wrapper) .user-banner-container{height:140px}.thino-date-selector .suggestion{max-height:fit-content;min-height:200px}.thino-date-selector .suggestion-item{padding:0}.thino-date-selector .suggestion-item .date-picker-wrapper{background-color:var(--memos-memo-bg)}.thino-date-selector .suggestion-item.is-selected{background-color:unset}.thino-canvas-menu-btn{left:var(--size-4-2);top:var(--size-4-2);display:flex;flex-direction:column;position:absolute;z-index:var(--layer-cover)}.thino-canvas-menu-btn .btn-container{height:34px;width:34px;display:flex;line-height:1;font-size:inherit;align-items:center;justify-content:center;cursor:var(--cursor);padding:var(--size-4-2);color:var(--text-muted);--icon-stroke: var(--icon-s-stroke-width);--icon-size: 18px;border-radius:var(--radius-s);box-shadow:var(--shadow-s);background-color:var(--background-primary);border:1px solid var(--background-modifier-border);overflow:hidden}.thino-canvas-menu-btn .thino-canvas-menu{display:flex;flex-direction:column;align-items:center;gap:var(--size-4-2);padding:var(--size-4-2);background-color:var(--background-primary);border-radius:var(--radius-s);box-shadow:var(--input-shadow);overflow:hidden;margin-top:var(--size-2-2);max-width:240px;width:240px}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group{display:flex;flex-direction:row;justify-content:space-between;gap:var(--size-4-2);width:100%}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .thino-inline-filter-wrapper{display:flex;align-items:center;justify-content:center;color:var(--memos-text-muted);padding:var(--size-2-2);border-radius:var(--memos-radius-m);cursor:pointer;width:40px;height:40px;--icon-size: 18px}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .thino-inline-filter-wrapper:hover{color:var(--memos-accent-hover);background:var(--thino-wrapper-background-hover)}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .thino-inline-filter-container{position:absolute;width:400px;height:fit-content;z-index:99;background-color:var(--thino-background-primary);box-shadow:0 0 8px #0000001a;padding:var(--size-4-2);border-radius:var(--memos-radius-m)}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .thino-inline-filter-container .dialog-content-container{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;width:100%;-webkit-user-select:text;user-select:text}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .thino-inline-filter-container .dialog-content-container>.form-item-container{display:flex;flex-direction:row;justify-content:flex-start;align-items:flex-start;width:100%;padding:var(--size-2-2) var(--size-4-2);border-bottom:1px solid var(--memos-bg-lightgray);margin-bottom:var(--size-4-2)}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .thino-inline-filter-container .dialog-content-container>.form-item-container>.normal-text{display:block;flex-shrink:0;width:40px;margin-right:12px;text-align:right;color:gray;font-size:var(--font-ui-small);line-height:32px}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .thino-inline-filter-container .dialog-content-container>.form-item-container>.title-input{width:100%;padding:0 8px;font-size:var(--font-ui-small);line-height:32px;border-radius:4px;border:1px solid var(--memos-bg-gray);resize:none}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .thino-inline-filter-container .dialog-content-container>.form-item-container>.filters-wrapper{width:100%;display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .thino-inline-filter-container .dialog-content-container>.form-item-container>.filters-wrapper>.create-filter-btn{color:var(--memos-text-green);font-size:var(--font-ui-small);line-height:32px;cursor:pointer}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .thino-inline-filter-container .dialog-content-container .selector-wrapper>.current-value-container{margin-right:var(--size-2-2)}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>input.value-inputer{border:1px solid var(--memos-bg-gray);background-color:transparent}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>input.value-inputer{max-width:100%;width:calc(100% - 152px);height:34px;padding-left:var(--size-4-2);padding-right:var(--size-4-2);margin-right:var(--size-2-2);border-radius:4px;border:1px solid var(--memos-bg-gray);background-color:transparent}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>input.value-inputer:hover{background-color:var(--memos-bg-lightgray)}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer{position:relative}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer>input.value-inputer{width:100%;height:34px;padding-left:var(--size-4-8);padding-right:var(--size-4-2);margin-right:var(--size-2-2);border-radius:4px;border:1px solid var(--memos-bg-gray);background-color:transparent}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer>input.value-inputer:hover{background-color:var(--memos-bg-lightgray)}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer>.calendar-btn{position:absolute;left:var(--size-4-2);top:var(--size-4-2);width:16px;height:auto;cursor:pointer;opacity:.8;margin-right:var(--size-4-2)}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer>.calendar-btn:hover{opacity:.6}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer .menu-btns-popup{display:flex;flex-direction:row;justify-content:flex-start;align-items:flex-start;position:absolute;top:36px;left:calc(var(--size-4-8) * -1);padding:4px;width:auto;border-radius:8px;z-index:20;box-shadow:var(--memos-memo-shadow);background-color:var(--memos-memo-bg)}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer .menu-btns-popup .quick-date-btn-group{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;height:100%;width:92px;font-size:var(--font-ui-smaller);gap:var(--size-4-2);padding-top:var(--size-4-2);padding-left:var(--size-2-2);padding-right:var(--size-2-2);color:var(--memos-text-muted)}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer .menu-btns-popup .quick-date-btn-group>.quick-date-btn{width:100%;padding:var(--size-2-1);padding-top:var(--size-2-2);padding-bottom:var(--size-2-2);border-radius:var(--memos-radius-m)}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer .menu-btns-popup .quick-date-btn-group>.quick-date-btn:hover{background:var(--memos-bg-lightgray)}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer .menu-btns-popup .calendar-date-picker{background-color:var(--memos-memo-bg);padding:var(--size-2-2)}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .thino-inline-filter-container .dialog-content-container .memo-filter-input-wrapper>.date-inputer .menu-btns-popup:has(.quick-date-btn-group) .calendar-date-picker{border-radius:unset;border-left:1px solid var(--memos-bg-lightgray)}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .thino-inline-filter-container>.dialog-footer-container{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;width:100%;margin-top:0}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .thino-inline-filter-container>.dialog-footer-container>.btns-container{display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btn{padding:6px 16px;font-size:var(--font-ui-small);border-radius:4px}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btn:hover{color:var(--memos-text-hover);background-color:var(--memos-bg-accent)}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btn.save-btn{background-color:var(--interactive-normal);color:var(--memos-text-muted)}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btn.save-btn:hover{color:var(--memos-text-hover);background-color:var(--memos-bg-accent)}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btn.mod-cta{background-color:var(--interactive-normal);margin-right:var(--size-4-2)}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container{display:flex;flex-direction:row;justify-content:flex-start;align-items:center}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container>.tip-text{font-size:var(--font-ui-small);color:gray;margin-right:8px;white-space:nowrap}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container>.btn{padding:6px 16px;font-size:var(--font-ui-small);border-radius:4px}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container>.btn:hover{opacity:.8}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container>.btn.disabled{color:var(--memos-text-muted);cursor:not-allowed}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container>.btn.save-btn{background-color:var(--memos-bg-accent);color:var(--memos-text-hover)}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container>.btn.save-btn.requesting{cursor:wait;opacity:.8}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .thino-inline-filter-container>.dialog-footer-container>.btns-container>.btns-group-container>.btn.mod-cta{margin-right:var(--size-4-2)}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .search-bar-container{background-color:var(--memos-memo-bg);width:100%}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .search-bar-container .search-bar-inputer{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;border:1px solid var(--memos-bg-searchbar-lightgray);background-color:unset;width:100%;height:40px;padding:4px 16px;border-radius:8px}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .search-bar-container .search-bar-inputer input[type=text]{border:unset}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .search-bar-container .search-bar-inputer:has(.search-bar-inputer:focus-within){max-width:unset}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .search-bar-container .quickly-action-wrapper{top:76px;left:44px}.thino-canvas-menu-btn .thino-canvas-menu .thino-canvas-filter-group .clear-query{display:flex;align-items:center;justify-content:center;color:var(--memos-text-muted);padding:var(--size-2-2);border-radius:var(--memos-radius-m);cursor:pointer;width:40px;height:40px}.thino-canvas-menu-btn .thino-canvas-menu .usage-heat-map-wrapper{align-items:center;justify-content:center;padding-right:0}.memos-settings .memos-setting-header{border-bottom:var(--thino-setting-border) 0px solid}.memos-settings .memos-setting-title{display:flex;justify-content:space-between;align-items:center}.memos-settings .memos-setting-tab-group{display:flex;justify-content:flex-start}.memos-settings .memos-navigation-item{display:flex;align-items:flex-start;gap:3px;margin-right:10px;margin-bottom:2px;padding:6px 5px 4px;border-radius:5px;cursor:pointer}.memos-settings .memos-navigation-item-selected{background-color:var(--interactive-accent);color:var(--thino-text-on-accent)}.memos-settings .memo-save-location-setting{border-top:3px dashed var(--thino-modifier-border)}.memos-settings .memo-save-location-setting .setting-item-info{margin-right:unset}.memos-settings .memo-save-location-setting .setting-item-name{display:flex;align-items:center;justify-content:center}.memos-settings .memo-save-location-setting .setting-item-name .memo-save-location-title{font-size:var(--font-ui-medium)}.memos-settings .memo-save-location-setting .memo-save-location-desc{width:100%;height:fit-content;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:10px;align-items:center;justify-items:center}.memos-settings .memo-save-location-setting .memo-save-location-desc .memo-save-location-desc-item{width:100%;height:120px;position:relative;background:var(--thino-background-secondary);border-radius:var(--radius-m);border:1px solid var(--background-modifier-border);display:flex;align-items:center;justify-content:center;gap:var(--size-2-2);font-size:var(--thino-ui-small)}.memos-settings .memo-save-location-setting .memo-save-location-desc .memo-save-location-desc-item>.memo-save-location-desc-item-toggle{position:absolute;right:var(--size-4-3);bottom:var(--size-2-3)}.memos-settings .memo-save-location-setting .memo-save-location-desc .memo-save-location-desc-item>.memo-save-location-desc-item-setting{position:absolute;left:var(--size-2-3);bottom:var(--size-2-3);cursor:pointer}.memos-settings .memo-save-location-setting .memo-save-location-desc .memo-save-location-desc-item>.memo-save-location-desc-item-setting>.clickable-icon{color:var(--memos-text-lightgray)}.memos-settings .memo-save-location-setting .memo-save-location-desc .memo-save-location-desc-item>.memo-save-location-desc-item-setting>*{cursor:pointer}.memos-settings .memo-save-location-setting .memo-save-location-desc .memo-save-location-desc-item>.memo-save-location-desc-item-pro.user-pro-badge{position:absolute;right:var(--size-4-3);top:var(--size-2-3);padding:var(--size-2-2);cursor:pointer;border-radius:var(--memos-radius-m);color:var(--memos-text-white);opacity:.7;font-size:9px;font-weight:700;background:var(--memos-bg-lightgray)}.memos-settings .memo-save-location-setting .memo-save-location-desc .memo-save-location-desc-item>.memo-save-location-desc-item-pro.user-pro-badge.activated{color:var(--memos-text-lightgray);background:var(--memos-bg-blue);opacity:1}.memos-settings .memo-save-location-setting .setting-item-control{display:none}.theme-light .memos-settings .memo-save-location-setting .memo-save-location-desc .memo-save-location-desc-item,.theme-light .memos-settings .memo-save-location-setting .memo-save-location-desc .memo-save-location-desc-item .memo-save-location-desc-item-setting .clickable-icon{color:var(--memos-text-gray)}.thino-activation{display:flex;justify-content:center;align-items:center}.thino-activation .thino-verify-component{padding:var(--size-4-4);border-radius:var(--radius-m);background:var(--thino-background-secondary);display:flex;flex-direction:column;align-items:flex-end;border:1px solid var(--background-modifier-border);width:360px;gap:var(--size-4-4)}.thino-activation .thino-verify-component .thino-verify-component-title{font-size:16px;width:100%;display:flex;justify-content:center;align-items:center}.thino-activation .thino-verify-component .thino-verify-content{width:100%;display:flex;flex-direction:column;align-items:center;gap:var(--size-4-4)}.thino-activation .thino-verify-component .thino-verify-content .thino-verified-text{font-weight:bolder;color:var(--memos-text-accent)}.thino-activation .thino-verify-component .thino-verify-content p{margin-block-end:0}.thino-activation .thino-verify-component .thino-verify-content.verified p{margin-block-start:0;margin-block-end:0}.thino-activation .thino-verify-component .thino-verify-textarea{border:1px solid var(--memos-bg-black);width:100%;height:120px;resize:none}.thino-activation .thino-verify-component .thino-button-group{display:flex;flex-direction:row;align-items:center;gap:var(--size-2-3)}.thino-activation .thino-verify-component .thino-button-container{display:flex;flex-direction:column;align-items:center}.thino-activation .thino-verify-component .thino-description-link{display:flex;flex-direction:row;align-items:flex-start;width:100%}.thino-activation .thino-verify-component .thino-description-link p{padding:0;font-size:var(--size-4-3);margin-block-end:0}.thino-activation .thino-verify-component button{background:var(--memos-bg-whitegray)}.setting-item-info:has(.setting-item-name.thino-activation-title){width:100%}.thino-activation-setting:has(.verified)+.setting-item{display:flex}.thino-activation-setting+.setting-item{display:none}@media screen and (max-width: 768px){.is-phone .setting-item:not(.mod-toggle):not(.setting-item-heading) .setting-item-control{margin-top:0}.memos-settings .memo-save-location-setting .memo-save-location-desc{display:flex;flex-direction:column;align-items:center;justify-content:center;height:480px;width:100%}.memos-settings .memo-save-location-setting .memo-save-location-desc .setting-item-info{width:100%}.memos-setting-tab-group .memos-navigation-item:not(.memos-navigation-item-selected)>span{display:none}}.theme-dark .memo-save-location-desc-item>.user-pro-badge.activated{color:var(--memos-text-black);background:var(--memos-bg-light-blue);opacity:1}.memo-save-location-modal .modal-title{display:flex;align-items:center;justify-content:center}.memo-save-location-modal .modal-desc{display:flex;justify-content:center;align-items:center;text-align:center;margin-bottom:var(--size-4-6);font-size:var(--font-ui-small)}.memo-save-location-modal .setting-item-control{gap:0}.memo-save-location-modal .button-group{display:flex;align-items:center;justify-content:space-around;gap:var(--size-2-2);margin-top:var(--size-4-4)}.cm-mini-toolbar{width:auto;height:auto;padding:3px;display:flex;-webkit-user-select:none;user-select:none;border-radius:6px;flex-wrap:wrap;align-items:center;justify-content:flex-start;z-index:var(--layer-menu);border:1px solid var(--thino-modifier-border);background-color:var(--thino-background-primary)}.cm-mini-toolbar button{margin:2px;border:none;display:flex;cursor:pointer;padding:5px;box-shadow:none;position:relative;border-radius:3px;font-size:var(--editor-font-size);background-color:var(--thino-background-primary-alt)}.cm-mini-toolbar .mini-toolbar-icon-with-text{padding:0;margin-left:6px;margin-bottom:-6px;margin-right:-2px}.cm-mini-toolbar .mini-toolbar-highlight-icon,.cm-mini-toolbar .mini-toolbar-icon-with-icon{padding:0;margin-bottom:-6px}.is-phone .thino-changelog-modal .modal{max-height:90vh}.theme-light{--memos-masonry-width: 1400px;--memos-masonry-content-width: 1000px;--memos-list-width: 848px;--memos-list-content-width: 600px;--memos-calendar-width: 1200px;--memos-calendar-content-width: 1000px;--memos-table-width: 1200px;--memos-table-content-width: 1000px;--memos-chat-width: 1200px;--memos-chat-content-width: 1000px;--memos-sidebar-width: 260px;--memos-text-accent: var(--text-accent);--memos-text-accent-hover: var(--text-accent-hover);--memos-text-muted: var(--text-muted);--memos-text-faint: var(--text-faint);--memos-text-hover: var(--text-normal);--memos-accent: var(--memos-stat-day-L4-bg);--memos-accent-hover: var(--memos-stat-day-L3-bg);--memos-radius-s: 2px;--memos-radius-m: var(--radius-s);--memos-radius-l: var(--radius-m);--memos-radius-xl: var(--radius-l);--memos-radius-full: var(--radius-xl);--memos-text-black: #37352f;--memos-text-gray: #52504b;--memos-text-lightgray: #d4d4d4;--memos-text-blue: #5783f7;--memos-text-unresolved-blue: #8fa2d6;--memos-text-green: #16a34a;--memos-text-red: #d28653;--memos-text-light-red: #d24c42;--memos-memo-bg: var(--color-base-00);--memos-memo-bg-primary: var(--color-base-30);--memos-memo-modal-bg: var(--background-modifier-cover);--memos-more-action-bg: var(--memos-memo-bg);--memos-location-wrapper-bg: var(--memos-memo-bg);--memos-memo-border: var(--color-base-20);--memos-memo-bg-hover: var(--background-modifier-hover);--memos-dialog-cover: var(--background-modifier-cover);--memos-memo-border-hover: var(--background-modifier-border-hover);--memos-memo-shadow: 0 0 8px 0 rgba(0, 0, 0, .2);--memos-memo-shadow-s: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px -1px rgb(0 0 0 / .1);--memos-share-memo-shadow-webkit: 15px 15px 27px #e1e1e3, -15px -15px 27px #ffffff;--memos-share-memo-shadow: 15px 15px 27px #c1c1c1, -15px -15px 27px #e2e2e2;--memos-time-text-color: var(--memos-bg-whitegray);--memos-editor-save-btn-bg: var(--memos-text-green);--memos-editor-save-btn-color: var(--memos-bg-lightgray);--memos-editor-suggest-color: var(--memos-text-green);--memos-filter-bg: var(--memos-bg-gray);--memos-filter-hover-filter: contrast(1) brightness(1) invert(.5);--memos-filter-save-btn-bg: var(--memos-text-green);--memos-bg-black: #2f3437;--memos-bg-gray: #e4e4e4;--memos-bg-whitegray: #f8f8f8;--memos-bg-searchbar-lightgray: var(--background-secondary);--memos-bg-lightgray: #eaeaea;--memos-bg-blue: #3b82f6;--memos-bg-yellow: yellow;--memos-bg-light-blue: #eef3fe;--memos-bg-paper-yellow: #fbf4de;--memos-bg-accent: var(--color-accent);--memos-icon: var(--color-base-20);--memos-icon-hover: var(--color-base-30);--memos-show-editor-btn: opacity(30%);--memos-stat-day-L0-bg: var(--color-base-10);--rdp-border-color: #9b9b9b;--rdp-text-color: var(--text-muted);--rdp-cell-size: 40px;--rdp-accent-color: #0000ff;--rdp-background-color: #e7edff;--rdp-accent-color-dark: #3003e1;--rdp-background-color-dark: #180270;--rdp-outline: 2px solid var(--rdp-accent-color);--rdp-outline-selected: 2px solid rgba(0, 0, 0, .75);--thino-text-on-accent: var(--text-on-accent);--thino-modern-primary: var(--thino-background-muted);--thino-modern-secondary: var(--thino-background-primary);--thino-setting-border: var(--color-base-40);--thino-modern-text-faint: var(--color-base-50);--thino-modern-text-faint-hover: var(--color-base-70);--thino-button-text-faint: var(--color-base-20);--thino-divider: var(--color-base-10);--thino-divider-hover: var(--color-base-30);--thino-wrapper-border: var(--color-base-20);--thino-wrapper-border-hover: var(--color-base-60);--thino-button-background: var(--color-base-30);--thino-wrapper-background: var(--color-base-60);--thino-wrapper-background-hover: var(--color-base-30);--thino-background-primary: var(--background-primary);--thino-background-secondary: var(--background-secondary);--thino-background-primary-alt: var(--background-primary-alt);--thino-modifier-cover: var(--background-modifier-cover);--thino-modifier-hover: var(--background-modifier-hover);--thino-modifier-border: var(--background-modifier-border);--thino-modifier-border-hover: var(--background-modifier-border-hover);--thino-ui-small: 14px;--thino-ui-tiny: 10px;--thino-share-background-color: rgba(255, 255, 255, .5)}.theme-dark{--memos-masonry-width: 1400px;--memos-masonry-content-width: 1000px;--memos-list-width: 848px;--memos-list-content-width: 600px;--memos-calendar-width: 1200px;--memos-calendar-content-width: 1000px;--memos-table-width: 1200px;--memos-table-content-width: 1000px;--memos-chat-width: 1200px;--memos-chat-content-width: 1000px;--memos-sidebar-width: 260px;--memos-text-accent: var(--text-accent);--memos-text-accent-hover: var(--text-accent-hover);--memos-text-muted: var(--text-muted);--memos-text-hover: var(--text-normal);--memos-text-faint: var(--text-faint);--memos-text-green: #35e06f;--memos-accent: var(--memos-stat-day-L3-bg);--memos-accent-hover: var(--memos-stat-day-L4-bg);--memos-radius-s: 2px;--memos-radius-m: var(--radius-s);--memos-radius-l: var(--radius-m);--memos-radius-xl: var(--radius-l);--memos-radius-full: var(--radius-xl);--memos-text-black: #d2d1cd;--memos-text-gray: #c7c4bb;--memos-text-lightgray: #525252;--memos-text-blue: #bbbec7;--memos-text-unresolved-blue: #8c92a1;--memos-text-red: #940b01;--memos-text-light-red: #d24c42;--memos-memo-bg: var(--background-secondary);--memos-memo-bg-primary: var(--color-base-30);--memos-bg-searchbar-lightgray: var(--background-modifier-hover);--memos-memo-modal-bg: var(--background-modifier-cover);--memos-more-action-bg: var(--memos-memo-bg-primary);--memos-location-wrapper-bg: var(--memos-memo-bg-primary);--memos-memo-bg-hover: var(--background-modifier-hover);--memos-dialog-cover: var(--background-modifier-cover);--memos-memo-border: var(--color-base-20);--memos-memo-border-hover: var(--background-modifier-border-hover);--memos-memo-shadow: 0 0 8px 0 rgba(0, 0, 0, .2);--memos-memo-shadow-s: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px -1px rgb(0 0 0 / .1);--memos-share-memo-shadow-webkit: 15px 15px 27px #666666, -15px -15px 27px #3a3a3a;--memos-share-memo-shadow: 6px 4px 4px 2px #383333, 5px 2px 4px 2px #444444;--memos-time-text-color: #b9b9b9;--memos-editor-save-btn-bg: var(--memos-text-red);--memos-editor-save-btn-color: var(--memos-text-hover);--memos-editor-suggest-color: var(--memos-text-red);--memos-filter-bg: var(--memos-memo-bg);--memos-filter-hover-filter: contrast(1) brightness(1) invert(.9);--memos-filter-save-btn-bg: var(--memos-text-red);--memos-bg-black: #cacdcf;--memos-bg-gray: #353535;--memos-bg-whitegray: #808080;--memos-bg-lightgray: #727171;--memos-bg-Search-lightgray: #302e2e;--memos-bg-blue: #1e3a8a;--memos-bg-yellow: #777777;--memos-bg-light-blue: #6f8f9b;--memos-bg-paper-yellow: #5f5f5f;--memos-icon: var(--color-base-30);--memos-icon-hover: var(--color-base-40);--memos-bg-accent: var(--color-accent);--memos-show-editor-btn: invert(.8) opacity(65%);--memos-stat-day-L0-bg: var(--color-base-90);--rdp-border-color: #9b9b9b;--rdp-text-color: var(--text-muted);--rdp-dark-cell-size: 40px;--rdp-dark-accent-color: #494949;--rdp-dark-background-color: #838383;--rdp-dark-accent-color-dark: #050505;--rdp-dark-background-color-dark: #7e7e7e;--rdp-dark-outline: 2px solid var(--rdp-accent-color);--rdp-dark-outline-selected: 2px solid rgba(255, 255, 255, .75);--thino-text-on-accent: var(--text-on-accent);--thino-layout-color-primary: var(--background-primary-alt);--thino-layout-color-secondary: var(--background-secondary);--thino-setting-border: var(--color-base-40);--thino-modern-text-faint: var(--color-base-50);--thino-modern-text-faint-hover: var(--color-base-70);--thino-button-text-faint: var(--color-base-20);--thino-divider: var(--color-base-10);--thino-divider-hover: var(--color-base-30);--thino-wrapper-border: var(--color-base-20);--thino-wrapper-border-hover: var(--color-base-60);--thino-button-background: var(--color-base-30);--thino-wrapper-background: var(--color-base-60);--thino-wrapper-background-hover: var(--color-base-30);--thino-background-primary: var(--background-primary);--thino-background-secondary: var(--background-secondary);--thino-background-primary-alt: var(--background-primary-alt);--thino-modifier-cover: var(--background-modifier-cover);--thino-modifier-hover: var(--background-modifier-hover);--thino-modifier-border: var(--background-modifier-border);--thino-modifier-border-hover: var(--background-modifier-border-hover);--thino-ui-small: 14px;--thino-ui-tiny: 10px;--thino-share-background-color: rgba(45, 45, 45, 0);--thino-modern-primary: var(--thino-background-secondary);--thino-modern-secondary: var(--thino-background-secondary)}.theme-light .heatmap-default{--memos-stat-day-L1-bg: #9be9a8;--memos-stat-day-L2-bg: #40c463;--memos-stat-day-L3-bg: #30a14e;--memos-stat-day-L4-bg: #216e39}.theme-dark .heatmap-default{--memos-stat-day-L4-bg: #f75205;--memos-stat-day-L3-bg: #e03a07;--memos-stat-day-L2-bg: #bf2104;--memos-stat-day-L1-bg: #940b01}.theme-light .heatmap-gray{--memos-stat-day-L1-bg: #a09da6;--memos-stat-day-L2-bg: #7d7986;--memos-stat-day-L3-bg: #464251;--memos-stat-day-L4-bg: #26222e}.theme-dark .heatmap-gray{--memos-stat-day-L1-bg: #26222e;--memos-stat-day-L2-bg: #464251;--memos-stat-day-L3-bg: #7d7986;--memos-stat-day-L4-bg: #a09da6}.theme-light .heatmap-grass{--memos-stat-day-L1-bg: #a0eaab;--memos-stat-day-L2-bg: #40c463;--memos-stat-day-L3-bg: #30a14e;--memos-stat-day-L4-bg: #216e39}.theme-dark .heatmap-grass{--memos-stat-day-L4-bg: #9be9a8;--memos-stat-day-L3-bg: #40c463;--memos-stat-day-L2-bg: #30a14e;--memos-stat-day-L1-bg: #216e39}.theme-light .heatmap-flame{--memos-stat-day-L1-bg: #f75205;--memos-stat-day-L2-bg: #e03a07;--memos-stat-day-L3-bg: #bf2104;--memos-stat-day-L4-bg: #940b01}.theme-dark .heatmap-flame{--memos-stat-day-L4-bg: #f75205;--memos-stat-day-L3-bg: #e03a07;--memos-stat-day-L2-bg: #bf2104;--memos-stat-day-L1-bg: #940b01}.theme-light .heatmap-olive{--memos-stat-day-L1-bg: #9cc069;--memos-stat-day-L2-bg: #78a851;--memos-stat-day-L3-bg: #648b3f;--memos-stat-day-L4-bg: #4f6e30}.theme-dark .heatmap-olive{--memos-stat-day-L4-bg: #9cc069;--memos-stat-day-L3-bg: #78a851;--memos-stat-day-L2-bg: #648b3f;--memos-stat-day-L1-bg: #4f6e30}.theme-light .heatmap-ice{--memos-stat-day-L1-bg: #82bbf0;--memos-stat-day-L2-bg: #5da2eb;--memos-stat-day-L3-bg: #3889e6;--memos-stat-day-L4-bg: #126fe0}.theme-dark .heatmap-ice{--memos-stat-day-L4-bg: #82bbf0;--memos-stat-day-L3-bg: #5da2eb;--memos-stat-day-L2-bg: #3889e6;--memos-stat-day-L1-bg: #126fe0}.theme-light .heatmap-magenta{--memos-stat-day-L1-bg: #fa9fb5;--memos-stat-day-L2-bg: #ea4e9c;--memos-stat-day-L3-bg: #ae017e;--memos-stat-day-L4-bg: #610070}.theme-dark .heatmap-magenta{--memos-stat-day-L4-bg: #fa9fb5;--memos-stat-day-L3-bg: #ea4e9c;--memos-stat-day-L2-bg: #ae017e;--memos-stat-day-L1-bg: #610070}.mono-font-family{font-family:ubuntu-mono,SFMono-Regular,Menlo,Consolas,PT Mono,Liberation Mono,Courier,monospace}.hide-scroll-bar::-webkit-scrollbar{width:0;height:0;cursor:pointer}.hide-scroll-bar::-webkit-scrollbar-thumb{width:0;height:0;border-radius:8px;background-color:#d5d5d5}.hide-scroll-bar::-webkit-scrollbar-thumb:hover{background-color:#ccc}.hide-scroll-bar::-webkit-scrollbar{display:none} diff --git a/.obsidian/plugins/obsidian-read-it-later/main.js b/.obsidian/plugins/obsidian-read-it-later/main.js index 53662a73..4ca40465 100644 --- a/.obsidian/plugins/obsidian-read-it-later/main.js +++ b/.obsidian/plugins/obsidian-read-it-later/main.js @@ -3,10 +3,10 @@ THIS IS A GENERATED/BUNDLED FILE BY ESBUILD if you want to view the source, please visit the github repository of this plugin */ -var Tn=Object.create;var pt=Object.defineProperty;var Nn=Object.getOwnPropertyDescriptor;var An=Object.getOwnPropertyNames;var En=Object.getPrototypeOf,_n=Object.prototype.hasOwnProperty;var we=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),wn=(e,t)=>{for(var i in t)pt(e,i,{get:t[i],enumerable:!0})},Ki=(e,t,i,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of An(t))!_n.call(e,o)&&o!==i&&pt(e,o,{get:()=>t[o],enumerable:!(r=Nn(t,o))||r.enumerable});return e};var He=(e,t,i)=>(i=e!=null?Tn(En(e)):{},Ki(t||!e||!e.__esModule?pt(i,"default",{value:e,enumerable:!0}):i,e)),Sn=e=>Ki(pt({},"__esModule",{value:!0}),e);var rr=we((tr,ir)=>{(function(e){if(typeof tr=="object")ir.exports=e();else if(typeof define=="function"&&define.amd)define(e);else{var t;try{t=window}catch(i){t=self}t.SparkMD5=e()}})(function(e){"use strict";var t=function(p,g){return p+g&4294967295},i=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"];function r(p,g,l,s,h,c){return g=t(t(g,p),t(s,c)),t(g<>>32-h,l)}function o(p,g){var l=p[0],s=p[1],h=p[2],c=p[3];l+=(s&h|~s&c)+g[0]-680876936|0,l=(l<<7|l>>>25)+s|0,c+=(l&s|~l&h)+g[1]-389564586|0,c=(c<<12|c>>>20)+l|0,h+=(c&l|~c&s)+g[2]+606105819|0,h=(h<<17|h>>>15)+c|0,s+=(h&c|~h&l)+g[3]-1044525330|0,s=(s<<22|s>>>10)+h|0,l+=(s&h|~s&c)+g[4]-176418897|0,l=(l<<7|l>>>25)+s|0,c+=(l&s|~l&h)+g[5]+1200080426|0,c=(c<<12|c>>>20)+l|0,h+=(c&l|~c&s)+g[6]-1473231341|0,h=(h<<17|h>>>15)+c|0,s+=(h&c|~h&l)+g[7]-45705983|0,s=(s<<22|s>>>10)+h|0,l+=(s&h|~s&c)+g[8]+1770035416|0,l=(l<<7|l>>>25)+s|0,c+=(l&s|~l&h)+g[9]-1958414417|0,c=(c<<12|c>>>20)+l|0,h+=(c&l|~c&s)+g[10]-42063|0,h=(h<<17|h>>>15)+c|0,s+=(h&c|~h&l)+g[11]-1990404162|0,s=(s<<22|s>>>10)+h|0,l+=(s&h|~s&c)+g[12]+1804603682|0,l=(l<<7|l>>>25)+s|0,c+=(l&s|~l&h)+g[13]-40341101|0,c=(c<<12|c>>>20)+l|0,h+=(c&l|~c&s)+g[14]-1502002290|0,h=(h<<17|h>>>15)+c|0,s+=(h&c|~h&l)+g[15]+1236535329|0,s=(s<<22|s>>>10)+h|0,l+=(s&c|h&~c)+g[1]-165796510|0,l=(l<<5|l>>>27)+s|0,c+=(l&h|s&~h)+g[6]-1069501632|0,c=(c<<9|c>>>23)+l|0,h+=(c&s|l&~s)+g[11]+643717713|0,h=(h<<14|h>>>18)+c|0,s+=(h&l|c&~l)+g[0]-373897302|0,s=(s<<20|s>>>12)+h|0,l+=(s&c|h&~c)+g[5]-701558691|0,l=(l<<5|l>>>27)+s|0,c+=(l&h|s&~h)+g[10]+38016083|0,c=(c<<9|c>>>23)+l|0,h+=(c&s|l&~s)+g[15]-660478335|0,h=(h<<14|h>>>18)+c|0,s+=(h&l|c&~l)+g[4]-405537848|0,s=(s<<20|s>>>12)+h|0,l+=(s&c|h&~c)+g[9]+568446438|0,l=(l<<5|l>>>27)+s|0,c+=(l&h|s&~h)+g[14]-1019803690|0,c=(c<<9|c>>>23)+l|0,h+=(c&s|l&~s)+g[3]-187363961|0,h=(h<<14|h>>>18)+c|0,s+=(h&l|c&~l)+g[8]+1163531501|0,s=(s<<20|s>>>12)+h|0,l+=(s&c|h&~c)+g[13]-1444681467|0,l=(l<<5|l>>>27)+s|0,c+=(l&h|s&~h)+g[2]-51403784|0,c=(c<<9|c>>>23)+l|0,h+=(c&s|l&~s)+g[7]+1735328473|0,h=(h<<14|h>>>18)+c|0,s+=(h&l|c&~l)+g[12]-1926607734|0,s=(s<<20|s>>>12)+h|0,l+=(s^h^c)+g[5]-378558|0,l=(l<<4|l>>>28)+s|0,c+=(l^s^h)+g[8]-2022574463|0,c=(c<<11|c>>>21)+l|0,h+=(c^l^s)+g[11]+1839030562|0,h=(h<<16|h>>>16)+c|0,s+=(h^c^l)+g[14]-35309556|0,s=(s<<23|s>>>9)+h|0,l+=(s^h^c)+g[1]-1530992060|0,l=(l<<4|l>>>28)+s|0,c+=(l^s^h)+g[4]+1272893353|0,c=(c<<11|c>>>21)+l|0,h+=(c^l^s)+g[7]-155497632|0,h=(h<<16|h>>>16)+c|0,s+=(h^c^l)+g[10]-1094730640|0,s=(s<<23|s>>>9)+h|0,l+=(s^h^c)+g[13]+681279174|0,l=(l<<4|l>>>28)+s|0,c+=(l^s^h)+g[0]-358537222|0,c=(c<<11|c>>>21)+l|0,h+=(c^l^s)+g[3]-722521979|0,h=(h<<16|h>>>16)+c|0,s+=(h^c^l)+g[6]+76029189|0,s=(s<<23|s>>>9)+h|0,l+=(s^h^c)+g[9]-640364487|0,l=(l<<4|l>>>28)+s|0,c+=(l^s^h)+g[12]-421815835|0,c=(c<<11|c>>>21)+l|0,h+=(c^l^s)+g[15]+530742520|0,h=(h<<16|h>>>16)+c|0,s+=(h^c^l)+g[2]-995338651|0,s=(s<<23|s>>>9)+h|0,l+=(h^(s|~c))+g[0]-198630844|0,l=(l<<6|l>>>26)+s|0,c+=(s^(l|~h))+g[7]+1126891415|0,c=(c<<10|c>>>22)+l|0,h+=(l^(c|~s))+g[14]-1416354905|0,h=(h<<15|h>>>17)+c|0,s+=(c^(h|~l))+g[5]-57434055|0,s=(s<<21|s>>>11)+h|0,l+=(h^(s|~c))+g[12]+1700485571|0,l=(l<<6|l>>>26)+s|0,c+=(s^(l|~h))+g[3]-1894986606|0,c=(c<<10|c>>>22)+l|0,h+=(l^(c|~s))+g[10]-1051523|0,h=(h<<15|h>>>17)+c|0,s+=(c^(h|~l))+g[1]-2054922799|0,s=(s<<21|s>>>11)+h|0,l+=(h^(s|~c))+g[8]+1873313359|0,l=(l<<6|l>>>26)+s|0,c+=(s^(l|~h))+g[15]-30611744|0,c=(c<<10|c>>>22)+l|0,h+=(l^(c|~s))+g[6]-1560198380|0,h=(h<<15|h>>>17)+c|0,s+=(c^(h|~l))+g[13]+1309151649|0,s=(s<<21|s>>>11)+h|0,l+=(h^(s|~c))+g[4]-145523070|0,l=(l<<6|l>>>26)+s|0,c+=(s^(l|~h))+g[11]-1120210379|0,c=(c<<10|c>>>22)+l|0,h+=(l^(c|~s))+g[2]+718787259|0,h=(h<<15|h>>>17)+c|0,s+=(c^(h|~l))+g[9]-343485551|0,s=(s<<21|s>>>11)+h|0,p[0]=l+p[0]|0,p[1]=s+p[1]|0,p[2]=h+p[2]|0,p[3]=c+p[3]|0}function n(p){var g=[],l;for(l=0;l<64;l+=4)g[l>>2]=p.charCodeAt(l)+(p.charCodeAt(l+1)<<8)+(p.charCodeAt(l+2)<<16)+(p.charCodeAt(l+3)<<24);return g}function a(p){var g=[],l;for(l=0;l<64;l+=4)g[l>>2]=p[l]+(p[l+1]<<8)+(p[l+2]<<16)+(p[l+3]<<24);return g}function m(p){var g=p.length,l=[1732584193,-271733879,-1732584194,271733878],s,h,c,P,W,K;for(s=64;s<=g;s+=64)o(l,n(p.substring(s-64,s)));for(p=p.substring(s-64),h=p.length,c=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],s=0;s>2]|=p.charCodeAt(s)<<(s%4<<3);if(c[s>>2]|=128<<(s%4<<3),s>55)for(o(l,c),s=0;s<16;s+=1)c[s]=0;return P=g*8,P=P.toString(16).match(/(.*?)(.{0,8})$/),W=parseInt(P[2],16),K=parseInt(P[1],16)||0,c[14]=W,c[15]=K,o(l,c),l}function d(p){var g=p.length,l=[1732584193,-271733879,-1732584194,271733878],s,h,c,P,W,K;for(s=64;s<=g;s+=64)o(l,a(p.subarray(s-64,s)));for(p=s-64>2]|=p[s]<<(s%4<<3);if(c[s>>2]|=128<<(s%4<<3),s>55)for(o(l,c),s=0;s<16;s+=1)c[s]=0;return P=g*8,P=P.toString(16).match(/(.*?)(.{0,8})$/),W=parseInt(P[2],16),K=parseInt(P[1],16)||0,c[14]=W,c[15]=K,o(l,c),l}function f(p){var g="",l;for(l=0;l<4;l+=1)g+=i[p>>l*8+4&15]+i[p>>l*8&15];return g}function b(p){var g;for(g=0;g>16)+(g>>16)+(l>>16);return s<<16|l&65535}),typeof ArrayBuffer!="undefined"&&!ArrayBuffer.prototype.slice&&function(){function p(g,l){return g=g|0||0,g<0?Math.max(g+l,0):Math.min(g,l)}ArrayBuffer.prototype.slice=function(g,l){var s=this.byteLength,h=p(g,s),c=s,P,W,K,pe;return l!==e&&(c=p(l,s)),h>c?new ArrayBuffer(0):(P=c-h,W=new ArrayBuffer(P),K=new Uint8Array(W),pe=new Uint8Array(this,h,P),K.set(pe),W)}}();function S(p){return/[\u0080-\uFFFF]/.test(p)&&(p=unescape(encodeURIComponent(p))),p}function I(p,g){var l=p.length,s=new ArrayBuffer(l),h=new Uint8Array(s),c;for(c=0;c>2]|=g.charCodeAt(s)<<(s%4<<3);return this._finish(h,l),c=b(this._hash),p&&(c=L(c)),this.reset(),c},N.prototype.reset=function(){return this._buff="",this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},N.prototype.getState=function(){return{buff:this._buff,length:this._length,hash:this._hash.slice()}},N.prototype.setState=function(p){return this._buff=p.buff,this._length=p.length,this._hash=p.hash,this},N.prototype.destroy=function(){delete this._hash,delete this._buff,delete this._length},N.prototype._finish=function(p,g){var l=g,s,h,c;if(p[l>>2]|=128<<(l%4<<3),l>55)for(o(this._hash,p),l=0;l<16;l+=1)p[l]=0;s=this._length*8,s=s.toString(16).match(/(.*?)(.{0,8})$/),h=parseInt(s[2],16),c=parseInt(s[1],16)||0,p[14]=h,p[15]=c,o(this._hash,p)},N.hash=function(p,g){return N.hashBinary(S(p),g)},N.hashBinary=function(p,g){var l=m(p),s=b(l);return g?L(s):s},N.ArrayBuffer=function(){this.reset()},N.ArrayBuffer.prototype.append=function(p){var g=O(this._buff.buffer,p,!0),l=g.length,s;for(this._length+=p.byteLength,s=64;s<=l;s+=64)o(this._hash,a(g.subarray(s-64,s)));return this._buff=s-64>2]|=g[h]<<(h%4<<3);return this._finish(s,l),c=b(this._hash),p&&(c=L(c)),this.reset(),c},N.ArrayBuffer.prototype.reset=function(){return this._buff=new Uint8Array(0),this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},N.ArrayBuffer.prototype.getState=function(){var p=N.prototype.getState.call(this);return p.buff=x(p.buff),p},N.ArrayBuffer.prototype.setState=function(p){return p.buff=I(p.buff,!0),N.prototype.setState.call(this,p)},N.ArrayBuffer.prototype.destroy=N.prototype.destroy,N.ArrayBuffer.prototype._finish=N.prototype._finish,N.ArrayBuffer.hash=function(p,g){var l=d(new Uint8Array(p)),s=b(l);return g?L(s):s},N})});var lr=we(X=>{"use strict";Object.defineProperty(X,"__esModule",{value:!0});X.toSeconds=X.end=X.parse=X.pattern=void 0;var Ge="\\d+",ei="".concat(Ge,"(?:[\\.,]").concat(Ge,")?"),Mn="(".concat(Ge,"Y)?(").concat(Ge,"M)?(").concat(Ge,"W)?(").concat(Ge,"D)?"),On="T(".concat(ei,"H)?(").concat(ei,"M)?(").concat(ei,"S)?"),kn="P(?:".concat(Mn,"(?:").concat(On,")?)"),Fn=["years","months","weeks","days","hours","minutes","seconds"],or=Object.freeze({years:0,months:0,weeks:0,days:0,hours:0,minutes:0,seconds:0});X.pattern=new RegExp(kn);var Un=function(e){var t=e.replace(/,/g,".").match(X.pattern);if(!t)throw new RangeError("invalid duration: ".concat(e));var i=t.slice(1);if(i.filter(function(r){return r!=null}).length===0)throw new RangeError("invalid duration: ".concat(e));if(i.filter(function(r){return/\./.test(r||"")}).length>1)throw new RangeError("only the smallest unit can be fractional");return i.reduce(function(r,o,n){return r[Fn[n]]=parseFloat(o||"0")||0,r},{})};X.parse=Un;var Bn=function(e,t){t===void 0&&(t=new Date);var i=Object.assign({},or,e),r=t.getTime(),o=new Date(r);o.setFullYear(o.getFullYear()+i.years),o.setMonth(o.getMonth()+i.months),o.setDate(o.getDate()+i.days);var n=i.hours*3600*1e3,a=i.minutes*60*1e3;return o.setMilliseconds(o.getMilliseconds()+i.seconds*1e3+n+a),o.setDate(o.getDate()+i.weeks*7),o};X.end=Bn;var Hn=function(e,t){t===void 0&&(t=new Date);var i=Object.assign({},or,e),r=t.getTime(),o=new Date(r),n=(0,X.end)(i,o),a=t.getTimezoneOffset(),m=n.getTimezoneOffset(),d=(a-m)*60,f=(n.getTime()-o.getTime())/1e3;return f+d};X.toSeconds=Hn;X.default={end:X.end,toSeconds:X.toSeconds,pattern:X.pattern,parse:X.parse}});var mi=we((gi,pi)=>{(function(e,t){typeof gi=="object"&&typeof pi!="undefined"?pi.exports=t():typeof define=="function"&&define.amd?define(t):(e=typeof globalThis!="undefined"?globalThis:e||self,e.DOMPurify=t())})(gi,function(){"use strict";function e(T){"@babel/helpers - typeof";return e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(A){return typeof A}:function(A){return A&&typeof Symbol=="function"&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A},e(T)}function t(T,A){return t=Object.setPrototypeOf||function(C,G){return C.__proto__=G,C},t(T,A)}function i(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(T){return!1}}function r(T,A,D){return i()?r=Reflect.construct:r=function(G,ne,re){var ue=[null];ue.push.apply(ue,ne);var Ne=Function.bind.apply(G,ue),Ke=new Ne;return re&&t(Ke,re.prototype),Ke},r.apply(null,arguments)}function o(T){return n(T)||a(T)||m(T)||f()}function n(T){if(Array.isArray(T))return d(T)}function a(T){if(typeof Symbol!="undefined"&&T[Symbol.iterator]!=null||T["@@iterator"]!=null)return Array.from(T)}function m(T,A){if(T){if(typeof T=="string")return d(T,A);var D=Object.prototype.toString.call(T).slice(8,-1);if(D==="Object"&&T.constructor&&(D=T.constructor.name),D==="Map"||D==="Set")return Array.from(T);if(D==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(D))return d(T,A)}}function d(T,A){(A==null||A>T.length)&&(A=T.length);for(var D=0,C=new Array(A);D1?D-1:0),G=1;G/gm),Pe=N(/\${[\w\W]*}/gm),me=N(/^data-[\-\w.\u00B7-\uFFFF]/),Ye=N(/^aria-[\-\w]+$/),Xe=N(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),$r=N(/^(?:\w+script|data):/i),zr=N(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),qr=N(/^html$/i),jr=N(/^[a-z][.\w]*(-[.\w]+)+$/i),Yr=function(){return typeof window=="undefined"?null:window},Xr=function(A,D){if(e(A)!=="object"||typeof A.createPolicy!="function")return null;var C=null,G="data-tt-policy-suffix";D.currentScript&&D.currentScript.hasAttribute(G)&&(C=D.currentScript.getAttribute(G));var ne="dompurify"+(C?"#"+C:"");try{return A.createPolicy(ne,{createHTML:function(ue){return ue},createScriptURL:function(ue){return ue}})}catch(re){return console.warn("TrustedTypes policy "+ne+" could not be created."),null}};function wi(){var T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Yr(),A=function(u){return wi(u)};if(A.version="2.5.6",A.removed=[],!T||!T.document||T.document.nodeType!==9)return A.isSupported=!1,A;var D=T.document,C=T.document,G=T.DocumentFragment,ne=T.HTMLTemplateElement,re=T.Node,ue=T.Element,Ne=T.NodeFilter,Ke=T.NamedNodeMap,Jr=Ke===void 0?T.NamedNodeMap||T.MozNamedAttrMap:Ke,Zr=T.HTMLFormElement,Qr=T.DOMParser,nt=T.trustedTypes,at=ue.prototype,en=k(at,"cloneNode"),tn=k(at,"nextSibling"),rn=k(at,"childNodes"),Lt=k(at,"parentNode");if(typeof ne=="function"){var It=C.createElement("template");It.content&&It.content.ownerDocument&&(C=It.content.ownerDocument)}var se=Xr(nt,D),Ct=se?se.createHTML(""):"",st=C,Pt=st.implementation,nn=st.createNodeIterator,an=st.createDocumentFragment,sn=st.getElementsByTagName,on=D.importNode,Si={};try{Si=le(C).documentMode?C.documentMode:{}}catch(E){}var he={};A.isSupported=typeof Lt=="function"&&Pt&&Pt.createHTMLDocument!==void 0&&Si!==9;var Mt=ce,Ot=rt,kt=Pe,ln=me,cn=Ye,un=$r,Di=zr,hn=jr,Ft=Xe,z=null,Ri=R({},[].concat(o(be),o(xe),o(Le),o(Te),o(Ce))),q=null,xi=R({},[].concat(o(ye),o(qe),o(je),o(te))),F=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Je=null,Ut=null,Li=!0,Bt=!0,Ii=!1,Ci=!0,Me=!1,Ht=!0,Ae=!1,Gt=!1,Vt=!1,Oe=!1,ot=!1,lt=!1,Pi=!0,Mi=!1,gn="user-content-",Wt=!0,Ze=!1,ke={},Fe=null,Oi=R({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),ki=null,Fi=R({},["audio","video","img","source","image","track"]),$t=null,Ui=R({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ct="http://www.w3.org/1998/Math/MathML",ut="http://www.w3.org/2000/svg",fe="http://www.w3.org/1999/xhtml",Ue=fe,zt=!1,qt=null,pn=R({},[ct,ut,fe],K),Ee,mn=["application/xhtml+xml","text/html"],fn="text/html",j,Be=null,dn=C.createElement("form"),Bi=function(u){return u instanceof RegExp||u instanceof Function},jt=function(u){Be&&Be===u||((!u||e(u)!=="object")&&(u={}),u=le(u),Ee=mn.indexOf(u.PARSER_MEDIA_TYPE)===-1?Ee=fn:Ee=u.PARSER_MEDIA_TYPE,j=Ee==="application/xhtml+xml"?K:W,z="ALLOWED_TAGS"in u?R({},u.ALLOWED_TAGS,j):Ri,q="ALLOWED_ATTR"in u?R({},u.ALLOWED_ATTR,j):xi,qt="ALLOWED_NAMESPACES"in u?R({},u.ALLOWED_NAMESPACES,K):pn,$t="ADD_URI_SAFE_ATTR"in u?R(le(Ui),u.ADD_URI_SAFE_ATTR,j):Ui,ki="ADD_DATA_URI_TAGS"in u?R(le(Fi),u.ADD_DATA_URI_TAGS,j):Fi,Fe="FORBID_CONTENTS"in u?R({},u.FORBID_CONTENTS,j):Oi,Je="FORBID_TAGS"in u?R({},u.FORBID_TAGS,j):{},Ut="FORBID_ATTR"in u?R({},u.FORBID_ATTR,j):{},ke="USE_PROFILES"in u?u.USE_PROFILES:!1,Li=u.ALLOW_ARIA_ATTR!==!1,Bt=u.ALLOW_DATA_ATTR!==!1,Ii=u.ALLOW_UNKNOWN_PROTOCOLS||!1,Ci=u.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Me=u.SAFE_FOR_TEMPLATES||!1,Ht=u.SAFE_FOR_XML!==!1,Ae=u.WHOLE_DOCUMENT||!1,Oe=u.RETURN_DOM||!1,ot=u.RETURN_DOM_FRAGMENT||!1,lt=u.RETURN_TRUSTED_TYPE||!1,Vt=u.FORCE_BODY||!1,Pi=u.SANITIZE_DOM!==!1,Mi=u.SANITIZE_NAMED_PROPS||!1,Wt=u.KEEP_CONTENT!==!1,Ze=u.IN_PLACE||!1,Ft=u.ALLOWED_URI_REGEXP||Ft,Ue=u.NAMESPACE||fe,F=u.CUSTOM_ELEMENT_HANDLING||{},u.CUSTOM_ELEMENT_HANDLING&&Bi(u.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(F.tagNameCheck=u.CUSTOM_ELEMENT_HANDLING.tagNameCheck),u.CUSTOM_ELEMENT_HANDLING&&Bi(u.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(F.attributeNameCheck=u.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),u.CUSTOM_ELEMENT_HANDLING&&typeof u.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(F.allowCustomizedBuiltInElements=u.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Me&&(Bt=!1),ot&&(Oe=!0),ke&&(z=R({},o(Ce)),q=[],ke.html===!0&&(R(z,be),R(q,ye)),ke.svg===!0&&(R(z,xe),R(q,qe),R(q,te)),ke.svgFilters===!0&&(R(z,Le),R(q,qe),R(q,te)),ke.mathMl===!0&&(R(z,Te),R(q,je),R(q,te))),u.ADD_TAGS&&(z===Ri&&(z=le(z)),R(z,u.ADD_TAGS,j)),u.ADD_ATTR&&(q===xi&&(q=le(q)),R(q,u.ADD_ATTR,j)),u.ADD_URI_SAFE_ATTR&&R($t,u.ADD_URI_SAFE_ATTR,j),u.FORBID_CONTENTS&&(Fe===Oi&&(Fe=le(Fe)),R(Fe,u.FORBID_CONTENTS,j)),Wt&&(z["#text"]=!0),Ae&&R(z,["html","head","body"]),z.table&&(R(z,["tbody"]),delete Je.tbody),L&&L(u),Be=u)},Hi=R({},["mi","mo","mn","ms","mtext"]),Gi=R({},["foreignobject","annotation-xml"]),vn=R({},["title","style","font","a","script"]),ht=R({},xe);R(ht,Le),R(ht,it);var Yt=R({},Te);R(Yt,Ie);var bn=function(u){var v=Lt(u);(!v||!v.tagName)&&(v={namespaceURI:Ue,tagName:"template"});var y=W(u.tagName),M=W(v.tagName);return qt[u.namespaceURI]?u.namespaceURI===ut?v.namespaceURI===fe?y==="svg":v.namespaceURI===ct?y==="svg"&&(M==="annotation-xml"||Hi[M]):!!ht[y]:u.namespaceURI===ct?v.namespaceURI===fe?y==="math":v.namespaceURI===ut?y==="math"&&Gi[M]:!!Yt[y]:u.namespaceURI===fe?v.namespaceURI===ut&&!Gi[M]||v.namespaceURI===ct&&!Hi[M]?!1:!Yt[y]&&(vn[y]||!ht[y]):!!(Ee==="application/xhtml+xml"&&qt[u.namespaceURI]):!1},ae=function(u){P(A.removed,{element:u});try{u.parentNode.removeChild(u)}catch(v){try{u.outerHTML=Ct}catch(y){u.remove()}}},gt=function(u,v){try{P(A.removed,{attribute:v.getAttributeNode(u),from:v})}catch(y){P(A.removed,{attribute:null,from:v})}if(v.removeAttribute(u),u==="is"&&!q[u])if(Oe||ot)try{ae(v)}catch(y){}else try{v.setAttribute(u,"")}catch(y){}},Vi=function(u){var v,y;if(Vt)u=""+u;else{var M=pe(u,/^[\r\n\t ]+/);y=M&&M[0]}Ee==="application/xhtml+xml"&&Ue===fe&&(u=''+u+"");var ie=se?se.createHTML(u):u;if(Ue===fe)try{v=new Qr().parseFromString(ie,Ee)}catch(Y){}if(!v||!v.documentElement){v=Pt.createDocument(Ue,"template",null);try{v.documentElement.innerHTML=zt?Ct:ie}catch(Y){}}var J=v.body||v.documentElement;return u&&y&&J.insertBefore(C.createTextNode(y),J.childNodes[0]||null),Ue===fe?sn.call(v,Ae?"html":"body")[0]:Ae?v.documentElement:J},Wi=function(u){return nn.call(u.ownerDocument||u,u,Ne.SHOW_ELEMENT|Ne.SHOW_COMMENT|Ne.SHOW_TEXT|Ne.SHOW_PROCESSING_INSTRUCTION|Ne.SHOW_CDATA_SECTION,null,!1)},$i=function(u){return u instanceof Zr&&(typeof u.nodeName!="string"||typeof u.textContent!="string"||typeof u.removeChild!="function"||!(u.attributes instanceof Jr)||typeof u.removeAttribute!="function"||typeof u.setAttribute!="function"||typeof u.namespaceURI!="string"||typeof u.insertBefore!="function"||typeof u.hasChildNodes!="function")},Qe=function(u){return e(re)==="object"?u instanceof re:u&&e(u)==="object"&&typeof u.nodeType=="number"&&typeof u.nodeName=="string"},de=function(u,v,y){he[u]&&h(he[u],function(M){M.call(A,v,y,Be)})},zi=function(u){var v;if(de("beforeSanitizeElements",u,null),$i(u)||B(/[\u0080-\uFFFF]/,u.nodeName))return ae(u),!0;var y=j(u.nodeName);if(de("uponSanitizeElement",u,{tagName:y,allowedTags:z}),u.hasChildNodes()&&!Qe(u.firstElementChild)&&(!Qe(u.content)||!Qe(u.content.firstElementChild))&&B(/<[/\w]/g,u.innerHTML)&&B(/<[/\w]/g,u.textContent)||y==="select"&&B(/